Journey of Life
June 29, 2012
Command line tools on Linux to beautify CSS ,Javascript, and PHP
›
For CSS, I use "csstidy", the C++ version. I added CSS 3.0 support to it and also added a default "indented" template. Y...
3 comments:
June 18, 2012
php.ini send email on Linux
›
If you just want to send email (not receiving email) from your PHP server, and you have a SMTP Email server, here is how you do it: (First...
June 15, 2012
CentOS or RHEL enable PHP to make TCP Connect
›
setsebool -P httpd_can_network_connect 1
June 7, 2012
RHEL/Centos sysconfig network scripts
›
The /etc/sysconfig/network-scripts/ifcfg-ethN files File configurations for each network device you may have or want to add on your sy...
May 25, 2012
xargs argument replacement
›
This is how xargs works: cat listfile | xargs ls but if you want to use the argument in the middle, such as "mv", you need to...
1 comment:
May 18, 2012
Windows 7 IKEv2 with StrongSwan Certificate Generation Guide
›
Windows 7 supports IPSec IKEv2 with machine certificate authentication. Using StrongSwan on Linux for server, this is a good solution for Ro...
17 comments:
May 4, 2012
[Solved] apt-get “is to be installed” errors in Debian
›
Fortunately, you can force the version in apt-get: sudo apt-get install deluge-common=1.3.0-0ubuntu1 Source: http://www.absolut...
March 21, 2012
use vimdiff for hg diff
›
put the following to your ~/.hgrc file [extensions] hgext.extdiff = [extdiff] cmd.vimdiff = [alias] vi = vimdiff vim = vimdiff
March 12, 2012
ubuntu update issue
›
If your ubuntu is failing to update/install software, make sure you have the ubuntu update repository set in your apt source.list file: ...
February 23, 2012
FINDDUPE: Duplicate file detector and eliminator
›
FINDDUPE: Duplicate file detector and eliminator This tools is cool. Especially the hard-linking feature: Freeing hard drive spac...
1 comment:
February 1, 2012
IE and IPv6 address
›
To use IPv6 address in your IE8/IE9 address bar, you have to add a square bracket to the beginning and the end of the IP address. Your IPv6 ...
January 24, 2012
Change WireShark Dispaly Time to GMT/UTC or other timezone
›
On Windows: 1. Open a CMD window 2. set TZ=GMT or TZ=GMT10 or set TZ=GMT-5 (whatever you want your timezone to be) 3. lunch wireshar...
3 comments:
January 13, 2012
rsync using a different ssh port
›
# rsync -avz -e "ssh -p $portNumber" user@remoteip:/path/to/files/ /local/path/
December 30, 2011
Disable Windows Temporary IPv6 Address
›
In a "cmd" window with administrative rights, run the following commands: netsh interface ipv6 set privacy state=disabled st...
December 29, 2011
Shrew Soft VPN client group auth key auth-mutual-psk
›
If you are provided with a shrew-soft Windows VPN client from your company, and you would like to run a VPN client on Linux. You can either ...
1 comment:
December 28, 2011
Running User Mode Linux as normal non-root user
›
User Mode Linux (UML) is running linux over linux. The guest linux OS runs as a regular process on the host CPU. UML has been around for a w...
December 23, 2011
StrongSwan Configuration Guide
›
Recently I got a chance to study strongswan and its configurations. This document intends to record the findings, in the hope to help myself...
6 comments:
December 15, 2011
ubuntu kvm KSM high cpu usage
›
Source: http://www.interphero.com/?p=219 If you use KVM virtualization, under Ubuntu 10.04 Server LTS, with more than one virtual host r...
1 comment:
December 13, 2011
Net-snmp debug token list
›
http://net-snmp.sourceforge.net/wiki/index.php/Debug_tokens_5.4.2.1 For example: register_mib is an useful token for debugging SNMP AGENTX...
December 7, 2011
crontab for non-root user
›
If you could not get your crontab file to work with non-root user, and you have made sure the crond is running and your crontab syntax is co...
‹
›
Home
View web version