Recent Notes

Displaying notes 21 - 30
Created by woolf on October 11, 2014 15:02:46    Last update: October 11, 2014 15:03:50
Set these environment variables to make git print verbose info. $ GIT_CURL_VERBOSE=1 GIT_DEBUG_LOOKUP=1 GIT_TRANSL...
Created by magnum on October 08, 2014 11:29:18    Last update: October 08, 2014 11:29:18
Example C code to set the "Type Of Service" (TOS) field, lifted from http://stackoverflow.com/questions/11429403/how-to-set-message-priority-using-tos . #include <string.h> #include <netdb.h> i...
Created by voodoo on September 23, 2014 22:33:08    Last update: September 23, 2014 22:36:21
I upgraded Ubuntu to 14.04 (accepted all defaults when prompted), but then the desktop just refused to start. It's flashing black screen and some desktop image. It won't even boot in recovery mode! I booted in command line to troubleshoot. After a day or two playing with it, I decided that might be caused by an incompatible video driver. Some good information is available here: https://wiki.ubuntu.com/X/Troubleshooting/VideoDriverDetection . I copied some text here for reference cause I can't say it better. Determine the PCI ID of the chip: $ lspci -nn | grep VGA 01:00.0 VGA compatible c... Here, the PCI ID is 1002:71c7 . Now look in the PCI ID registry to see which driver is used. (Drop the colon ':' when doing this.) $ grep -i 100271c7 /usr/share/xserver-xorg/pci/*.i......
Created by voodoo on September 23, 2014 21:27:31    Last update: September 23, 2014 21:27:31
If you downloaded a debian package to the local hard drive, use dpkg to install the package: $ sudo dpkg -i package_name.deb
Created by voodoo on September 21, 2014 22:47:48    Last update: September 23, 2014 21:18:18
Trust the Intel Graphics Installer: $ wget --no-check-certificate https://download.01.... $ wget --no-check-certificate https://download.01.... Download the installer debian package from https://01.org/linuxgraphics/downloads Install the debian package. Run intel-linux-graphics-installer Note: the --no-check-certificate option does not seem necessary since the website does have a valid SSL cert.
Created by voodoo on September 23, 2014 21:05:45    Last update: September 23, 2014 21:05:45
Press e at the boot menu to edit the grub cfg, change the end of the " linux /boot/vmlinuz... " line to "text 3": linux /boot/vmlinuz-2.6.32-28- ...... ro te... then press F10 to continue booting...
Created by magnum on September 22, 2014 22:13:18    Last update: September 22, 2014 22:13:18
Use dumpio_module to see the actual content transfered between the proxy server and the backend server. # load dumpio_module LoadModule dumpio_modu... Traffic between proxy and backend server will be logged in error.log .
Created by magnum on September 22, 2014 22:06:26    Last update: September 22, 2014 22:06:26
This config file sets up a reverse proxy from HTTPS to backend HTTPS, assuming mod_proxy and mod_proxy_http already loaded. <IfModule mod_ssl.c> <VirtualHost _default...
Created by magnum on September 22, 2014 22:23:25    Last update: September 22, 2014 20:33:52
Environment variables can be used in Apache ProxyPass and ProxyPassReverse directives. This example shows how to use mod_rewrite to set an environment variable, then use it in ProxyPassReverse . # turn on interpolation ProxyPassInterpolat... Apache will give a warning about SERVER_NAME not defined, but you can safely ignore it.
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...
Previous  1 2 3 4 5 6 7 8 9 10 Next