Journey of Life
September 19, 2012
Resolve IP Fragmentation, MTU, MSS, and PMTUD Issues with GRE and IPSEC
›
Resolve IP Fragmentation, MTU, MSS, and PMTUD Issues with GRE and IPSEC Excerpt: Avoiding IP Fragmentation: What TCP MSS Does and H...
September 18, 2012
vboxheadless does not listen on VRDE port
›
vboxheadless in virtualbox is really good, but it does not report error messages very well. If you see it running but does not listen on the...
September 14, 2012
debug udev rules
›
To deb ug yo ur udev rules, just run udevd as: udevd --debug Keep in mind that some udevd cannot detect changes in rule files so make su...
Qt embedded Linux usb keyboard auto detect
›
Qt in embedded Linux can detect the plug/unplug of an USB Mouse and enable it when USB mouse is plugged in. For USB keyboard, it does not su...
September 7, 2012
Makefile and autoconf/automake gcc version check
›
Makefile : GCC_VERSION_GE_45 := $(shell g++ -dumpversion | gawk '{print $$1>=4.5?"1":"0"}') ifeq ($(GCC_VE...
3 comments:
September 6, 2012
buffer overflow example and gcc flags
›
If you want to try some buffer overflow examples online, make sure you compile your C code with the gcc flag: -mno-accumulate-outgoin...
August 30, 2012
hg serve multiple projects
›
1. Create a file under the parent directory of the multiple project hg directories Example: #> cat webconf [collections] repos/ = . ...
debian add key
›
sudo gpg --keyserver subkeys.pgp.net --recv-keys 55BE302B sudo gpg -a --export 55BE302B | sudo apt-key add -
August 29, 2012
vim man page skip command line
›
In vim, when you want to get the man page of the word under the cursor, you can just type shift-k or "K". However, for some functi...
August 23, 2012
Flags to enable thorough and verbose g++ warnings
›
Flags to enable thorough and verbose g++ warnings -pedantic -Wall -Wextra -Wcast-align -Wcast-qual -Wctor-dtor-privacy -Wdisabled-opt...
August 2, 2012
Windows 7 change alt-tab preview deplay
›
Open Registry Editor and create the following registry key: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\AltTab. ...
Give regular user right to start/stop service in Windows 7
›
Download and install SubInACL.exe run "C:\Program Files\Windows Resource Kits\Tools\subinacl" /service Spooler /grant=<usern...
1 comment:
July 27, 2012
How to Resolve “mount error(12): Cannot allocate memory” on a Windows Share
›
From: http://jlcoady.net/windows/how-to-resolve-mount-error12-cannot-allocate-memory-windows-share If you mount a Windows 7 s...
July 18, 2012
__USE_GNU (use GNU specific feature)
›
Directly define __USE_GNU is wrong, __USE_GNU is glibc internal macro that shouldn't be ever defined by apps. The way to select GNU fe...
July 16, 2012
VirtualBox USB from the command line
›
Credit: http://richardhorwood.com/108/virtualbox-usb-from-the-command-line/ How to add a USB device using vboxmanage Ensure you actua...
1 comment:
July 13, 2012
Import certificate and key into java key store using keytool
›
If you have the certificate and key in pkcs12 format you can directly import it into an existing java key store: keytool -importkeystore -s...
July 2, 2012
Windows VPN: this connection requires an active internet connection
›
Even though selecting Start>Connect To won't let you connect, this will: - Go to Control Panel > Network and Sharing center - C...
1 comment:
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
‹
›
Home
View web version