Recent Notes

Displaying keyword search results 1 - 10
Created by voodoo on September 21, 2014 14:54:22    Last update: September 21, 2014 22:29:56
Find out the wireless interface name: # ifconfig I don't know if this helps, but it doesn't hurt: # ifconfig wlan0 up Just to see if wifi works, scan for available wireless networks: # iwlist wlan0 scan Connect (replace SSID with actual id and WIFI_KEY with actual key): # iwconfig wlan0 essid <SSID> key s:<WIFI_KEY> This command failed for me with error: Error for wireless request "Set Encode" (8B2A) : ... The reason being that iwconfig expects a WEP key, but my wifi runs WPA. So, I need to run wpa_supplicant . With no patience to find out how to do it the Ubuntu way, I created a conf file for wpa_supplicant : network={ ssid="example" proto=WPA ... But before running my wpa_supplicant , I...
Created by voodoo on August 13, 2014 22:17:56    Last update: August 13, 2014 22:17:56
Actually install-sh existed in the current directory but the execute bit was not on. Alternatively, this command should bring back any missing install-sh : autoreconf -f -i -Wall,no-obsolete
Created by woolf on June 29, 2014 17:55:44    Last update: June 29, 2014 17:55:44
This is the command: $ git remote show origin
Created by Dr. Xi on April 15, 2014 12:03:45    Last update: April 15, 2014 12:03:45
To show the file type identified by vim for the file you are currently editing, type " :set filetype " in vim command. From vim Help, this is how vim identifies file type: Detail: The ":filetype on" command will load one o...
Created by Dr. Xi on April 15, 2014 11:32:50    Last update: April 15, 2014 11:32:50
You can set (shell) environment variables $VIM and $VIMRUNTIME and vim will honor them. But there are default values that vim takes if you don't set them. Here are some methods to find the default values. Enter :verson vim command. It displays all compilation flags used to compile vim, including "fall-back for $VIM". Enter :set runtimepath vim command (or shorthand :set rtp ) Run this command in shell: vim -e -T dumb --cmd 'exe "set t_cm=\<C-M>"|echo $...
Created by voodoo on December 12, 2013 13:19:42    Last update: December 12, 2013 13:19:42
You can use the command locate to find files on a Linux box. For example, find : $ locate
Created by Dr. Xi on September 24, 2013 15:01:38    Last update: September 24, 2013 15:01:38
Use od to hex-encode a binary string: $ echo 0wj4wDU5EiZXLdQI5bJdrsLoienVCIaMZy6/VSrykAA...
Created by freyo on August 19, 2013 15:23:20    Last update: August 19, 2013 15:23:20
The route command was so hard to figure out. Here's how I did it by trial and error. Delete the existing gateway: # ip route del all repeat it if there's more than one line is displayed via " ip route show ". Add new route: # ip route add default via dev eth0 Show the new route: # ip route show Of course you need root to do this.
Created by magnum on January 06, 2013 20:15:00    Last update: April 05, 2013 09:59:12
nslookup : $ nslookup Server: ... dig : $ dig +noall +answer host $ host has addres... About the use of reverse DNS from : Many things use reverse DNS. An example is anti-spam email software. Before delivering an email, it is common for anti-spam software to perform a reverse DNS lookup on the IP address of the source mail server. It then checks that the reverse DNS entry matches the SPF record provided by the name server of the source email domain. If it does not match, it may flag the email as spam.
Created by Dr. Xi on March 08, 2013 11:40:49    Last update: March 08, 2013 11:40:49
From Version Control with Subversion, Chapter 4. Branching and Merging In Subversion, a global revision number N names a tree in the repository: it's the way the repository looked after the N th commit. It's also the name of an implicit changeset: if you compare tree N with tree N-1 , you can derive the exact patch that was committed. For this reason, it's easy to think of revision N as not just a tree, but a changeset as well. If you use an issue tracker to manage bugs, you can use the revision numbers to refer to particular patches that fix bugs—for example, “this issue was fixed by r9238.” Somebody can then run svn log -r 9238 to read about the exact changeset that...
Previous  1 2 3 4 5 6 7 8 9 10 Next