Notes by voodoo
Displaying keyword search results 1 - 10
Created by voodoo on September 25, 2012 19:33:02 Last update: September 25, 2012 19:33:02
This a step-by-step example of how to create the files for GNU automake. Put the C source file in directory src ( cat src/hello.c ):
#include <config.h> #include <stdio.h> ...Run autoscan to generate configure.scan . Rename configure.scan :
mv configure.scan configure.acEdit autoscan.ac . Update this line:
AC_INIT([FULL-PACKAGE-NAME], [VERSION] , [BUG-REP...Add this line after AC_INIT :
AM_INIT_AUTOMAKE([foreign -Wall -Werror])Add this line before AC_OUTPUT :
AC_CONFIG_FILES([Makefile src/Makefile])Create file Makefile.am ( cat Makefile.am ):
SUBDIRS = srcCreate file src/Makefile.am ( cat src/Makefile.am ):
bin_PROGRAMS = hello hello_SOURCES = hello.cRun these commands:
$ aclocal $ autoheader $ automake --add-miss...The file configure is generated after autoconf is run. Build with:
$ ./configure $ makeCreate tarball for distribution with:
$ make dist...
Created by voodoo on September 25, 2012 19:10:19 Last update: September 25, 2012 19:10:19
Here is a list of the most useful targets that the GNU Coding Standards specify (from automake manual ). make all Build programs, libraries, documentation, etc. (same as make). make install Install what needs to be installed, copying the files from the package's tree to system-wide directories. make install-strip Same as make install, then strip debugging symbols. Some users like to trade space for useful bug reports... make uninstall The opposite of make install: erase the installed files. (This needs to be run from the same build tree that was installed.) make clean Erase from the build tree the files built by make all. make distclean Additionally erase anything ./configure created. make check Run the test suite, if any. make installcheck Check the installed programs...
Created by voodoo on February 17, 2012 10:40:43 Last update: February 17, 2012 10:40:43
When a certificate is "untrusted" by IE (such as a self-signed certificate), it displays a "Certificate error" icon next to the address bar. It used to be that you can click on that icon, "View certificates", then install it. On Windows 7, because of UAC , the "Install Certificate..." button is no longer displayed. In order to see the button, you have to start IE9 with administrator privileges: right click on the IE9 shortcut icon and select " Run as administrator... ". To save the certificate to a file, click the Details tab on the Certificate dialog, then click " Copy to File... ".
Created by voodoo on July 14, 2010 23:37:46 Last update: November 16, 2011 12:00:33
Run gpedit.msc Find Administrative Templates -> Windows Components -> Terminal Services -> Limit Maximum color depth. Right click on "Limit maximum color depth", click "Properties", then select "Client Compatible". Update: for Windows 7 the color depth policy was moved to Administrative Templates -> Windows Components -> Remote Desktop Services -> Remote Desktop Session Host -> Remote Session Environment
Created by voodoo on August 12, 2011 12:21:39 Last update: August 12, 2011 12:21:39
For OpenSSH , use the -X or -Y switch to enable X11 forwarding (GUI applications can be launched transparently):
ssh -X -l username ssh_host # or ssh -Y -l u...This works only if the server side sshd is configured to allow X11 forwarding.
Created by voodoo on March 23, 2011 15:57:52 Last update: March 23, 2011 15:57:52
In the "Program search" (or Run) box, enter lusrmgr.msc to bring up the "Local Users and Groups" dialog. Double click the user name you want to set password never expire.
Created by voodoo on March 23, 2011 11:40:54 Last update: March 23, 2011 11:47:41
To grant a user "logon as a service" right on Windows 7: Enter secpol.msc into the "Search programs and files" box (the Run box for previous Windows versions) and press enter. Locate "Local Policies" and "User Rights Assignment", then double click "Logon as a service" in the right panel. Add the user or group
Created by voodoo on March 10, 2011 11:08:45 Last update: March 10, 2011 11:09:18
Looks like for Linux fdisk , cylinders as display units was deprecated, using sectors is the new way.
# fdisk -v fdisk (util-linux-ng 2.18) # ...Notice that cylinder numbers actually overlap for the last 2 partitions.
Created by voodoo on March 03, 2011 21:15:12 Last update: March 03, 2011 21:15:12
I built BartPE on a USB drive but it couldn't see the hard drives. Turned out I needed drivers for the SATA drives on my new PC. These were the steps: Extract/install the DriverPacks Base program to C:\DPsBase\ Download the latest Mass Storage DriverPack directly to the DriverPacks folder: C:\DPsBase\DriverPacks\ Run C:\DPsBase\DPs_BASE.exe Detailed instructions: http://driverpacks.net/docs/Miscellaneous%20guides/driverpacks-base-bartpe-guide
Created by voodoo on February 25, 2011 14:00:41 Last update: February 25, 2011 14:03:46
Suddenly my Windows XP failed to boot with this error message on a blank screen:
missing or corrupt <windows root>\system32\hal.dllI took out the hard drive, put it in a USB enclosure and attached it to another PC. Then I ran CHKDSK and it fixed some file system errors. But I did find that hal.dll was intact, so hal.dll was not missing or corrupt . It turned out that the file that was really missing was C:\boot.ini . It is a hidden file, so you have to use attrib boot.ini to see it. The file is missing if attrib boot.ini returns nothing (run in the root folder C:\). In my case I reconstructed the boot.ini file:
[boot loader] timeout=30 default=multi(0)dis...and changed the attributes back...