Archives for: "July 2016"
The complete list of Alexa commands
July 28th, 2016The complete list of Alexa commands more »
Enabling CTRL-ALT-DEL in Windows 7 over Synergy
July 28th, 2016Go to the Local Group Policy Editor (Type "gpedit.msc" in the run menu)
Dig down to Computer Configuration -> Administrative Templates -> Windows Components -> Windows Logon Options
Open up the "Disable or enable software Secure Attention… more »
Faster Samba (SMB / CIFS) Share Performance
July 28th, 2016
# FORCE THE DISK SYSTEM TO ALLOCATE REAL STORAGE BLOCKS WHEN # A FILE IS CREATED OR EXTENDED TO BE A GIVEN SIZE. # THIS IS ONLY A GOOD OPTION FOR FILE SYSTEMS THAT SUPPORT # UNWRITTEN EXTENTS LIKE XFS, EXT4, BTRFS, OCS2. # IF YOU USE A FILE SYSTEM… more »
Clink - Powerful Bash-style command line editing for cmd.exe
July 28th, 2016Clink combines the native Windows shell cmd.exe with the powerful command line editing features of the GNU Readline library, which provides rich completion, history, and line-editing capabilities. Readline is best known for its use in the well-known… more »
StExBar: The ultimate tool for Windows Explorer
July 28th, 2016StExBar provides many useful commands for your everyday use of Windows explorer. And you can add as many custom commands on your own as you like. more »
Caffeine
July 28th, 2016If you have problems with your PC locking or going to sleep, caffeine will keep it awake. It works by simulating a keypress once every 59 seconds, so your machine thinks you're still working at the keyboard, so won't lock the screen or activate the… more »
Execute a Perl code without ".pl" extension
July 28th, 2016How to execute perl without having to type the .pl extension
For Windows you'll need to add ";.pl" to the PATHEXT environment variable. (given that the .pl extension is associated with the perl executable, which is always the case with a normal Active… more »
Ford Part Numbering Chart
July 28th, 2016Ford Part Numbering Chart more »
How to Make Pasta in the Microwave
July 28th, 2016Get a microwave safe bowl and add 1/2 cup to 1 cup of pasta of your choice. Add water to the bowl so the pasta is a couple of inches deep. Remember that the pasta will grow in size, so be sure to have enough water. You can always drain out the extra if… more »
find - exec rm vs -delete
July 28th, 2016Explanation of the differences between find 'exec rm' and 'delete' options. more »
How to use the find command to search for multiple extensions
July 28th, 2016find . -name '*.jpg' -o -name '*.png' find . -mtime -7 \( '*.jpg' -o -name '*.png' \) # all .jpg or .png images modified in the past week find -regex '.*\.\(jpg\|png\)' find -regextype posix-extended -regex '.*\.(jpg|png)' find -E . -regex… more »
How to fix a 'dead' INSTEON EZFlora
July 28th, 2016This resolved an issue for me where my INSTEON EZFlora was dead.
http://forum.smartenit.com/viewtopic.php?f=3&t=1031 Repair of 2413S PLM When the Power Supply Fails more »
How To Tether Free on AT&T Android 4.4.2
July 28th, 2016Information on how To Tether Free on AT&T Android 4.4.2 more »
Carrier IQ removal
July 28th, 2016Info on removing Carrier IQ from Android phones more »
PEAR MDB2 info and installation instructions
July 28th, 2016pear install MDB2-2.5.0b5 more »
How to Create a Self-Signed Digital Certificate in Microsoft Office 2010
July 27th, 2016Detailed steps on creating a Self-Signed Digital Certificate for Microsoft Office 2010. more »
How-To: Replace a MKIV ALH Diesel Injection Pump without Changing the Timing Belt
July 27th, 2016This "How-To" can be applied to the exchange or replacement of either the 10‑mm or 11‑mm injection pump on an ALH engine, though the instructions will be slanted toward a manual transmission TDI. more »
Performance tuning 3ware 9000 Series Cards
July 27th, 2016Good article on performance tuning the 3ware 9000 series cards. more »
How to recursively process files through directories
July 27th, 2016use File::Find;
sub eachFile {
my $filename = $_;
my $fullpath = $File::Find::name;
#remember that File::Find changes your CWD,
#so you can call open with just $_
if (-e $filename) { print "$filename exists!\n"; }
}
find (\&eachFile,… more »
How to pass X11 display rights to "su"
July 27th, 20161. Log in to the system, issue the following commands and save their output for further reference
echo "$DISPLAY" xauth listYou will see something similar to this:
% echo $DISPLAY localhost:10.0 % xauth list ubuntu/unix:12 MIT-MAGIC-COOKIE-1… more »
Add a prefix string to beginning of each line
July 27th, 2016Various ways to add a prefix to every line in a file. more »
M1 Basic Training
July 27th, 2016Webinar for the Elk-M1 alarm system. more »
Installing Recessed sensors in doors and windows
July 27th, 2016Nice recommendations for installing alarm sensors. more »
Installing fun plug (FFP) on D-Link DNS 320, 323, 325, 323, 343 and 345
July 27th, 2016Good instructions on installing fun plug to extend the D-Link NAS devices. more »
Automatically run program on startup under linux ubuntu
July 27th, 2016sudo mv /filename /etc/init.d/
sudo chmod +x /etc/init.d/filename
sudo update-rc.d filename defaults more »
How to set up bash completion for command arguments
July 27th, 2016Here are a couple of links to the information that actually helped me create some bash completion functions.
How do I set up bash completion for command arguments? Writing your own Bash Completion Function more »
How to process a multiline string line at a time
July 27th, 2016foreach (split(/\n/, $str)) { if (/START/../END/) { next if /START/ || /END/; print; } } more »
UNIX find for finding file names NOT ending in specific extensions
July 27th, 2016without ( and the need to escape it:
find . -not -name "*.exe" -not -name "*.dll"
and to also exclude the listing of directories
find . -not -name "*.exe" -not -name "*.dll" -not -type d
or in positive logic ;-)
find . -not -name "*.exe" -not -name… more »
HP-UX Porting and Archive Centre
July 27th, 2016This is the HP-UX Porting and Archive Center - pre-built packages for HP-UX 11i more »
Exclude directory from find . command
July 27th, 2016Single Directory:
find . -path ./misc -prune -o -name '*.txt' -print
Multiple Directories:
find . -type d \( -path dir1 -o -path dir2 -o -path dir3 \) -prune -o -print more »
Find directories that DON'T contain a file
July 27th, 2016Exact file:
find base_dir -mindepth 2 -maxdepth 2 -type d '!' -exec test -e "{}/cover.jpg" ';' -print
Multiple Extensions:
find base_dir -mindepth 2 -maxdepth 2 -type d '!' -exec sh -c 'ls -1 "{}"|egrep -i -q "^cover\.(jpg|png)$"' ';' -print more »
tar/gzip and gunzip/untar in the same pipe
July 27th, 2016tar/gzip
tar cvf - files_to_tar | gzip > tarfile.tar.gz
gunzip/untar
gzip -d < tarfile.tar.gz | tar xvf - more »
