Thought Bucket
Welcome to John's Thought Bucket. This is where he comes to dump all of his stray thoughts so that they won't be lost. Please feel free to peruse the thoughts that John has so graciously left for the whole world to see.
View Thoughts
Login
 

<<Prev | 1-10 | 11-20 | 21-30 | 31-34 | Next>>

Public Creating Self Signed Apache Cert 2008-11-13 13:11:10 Unix Admin Howto John
openssl genrsa -des3 -out server.key 4096
openssl req -new -key server.key -out server.csr
openssl x509 -req -days 365 -in server.csr -signkey server.key -out server.crt
openssl rsa -in server.key -out server.key.insecure

 

Public Converting EPS to PDF 2008-09-17 19:13:27 Unix Admin Howto John
gs -q -dBATCH -dAutoFilterColorImages=false -sColorImageFilter=FlateEncode -dNOPAUSE -sDEVICE=pdfwrite -r72 -g${WIDTH}x${HEIGHT} -sOutputFile=${FILE}.pdf ${FILE}.eps

${WIDTH} = 72 * inches width
${HEIGHT} = 72 * inches height
${FILE} = You should get this part... It's the filename, eh?

 

Public Mapping Caps Lock to CTRL 2008-09-16 10:59:42 Unix Admin Howto John
In:
Section "InputDevice"

Add:
Option "XkbOptions" "ctrl:nocaps"

 

Public Checking Temperature with /proc 2008-09-04 14:51:13 Unix Admin Howto John
cat /proc/acpi/thermal_zone/*/temperature

 

Public wget command line 2008-09-04 14:49:33 Unix Admin Howto John
wget --recursive --no-clobber --page-requisites --html-extensions --convert-links --restrict-file-names=windows --domains SITE.NET --no-parent www.SITE.NET/path/to/site

 

Public syslinux command 2008-09-03 16:40:46 Unix Admin Howto John
syslinux -sf /dev/sdx1

 

Public Adding MP3 Ring Tone to Motorazr 2008-08-26 13:59:42 Phone Notes John
Putting mp3 ringtone on Motorazr V3xx

Max bitrate: 256
Max size: 600k (might be 500k)

Copy the mp3 to the phone using the USB cable. Put it in /MOUNT_POINT/mobile/audio/
Go to My Stuff | Media Finder | Music | All Songs
Highlight the new song.
Go to Options | Manage | Move
Select Phone

Once the song is on the phone, then set it up as a ring tone:
Settings | Audio | [RING STYLE] Detail
Select call type.
Go to Music | All Songs
Select new song.

Profit!

 

Public Modifying gnome-terminal Default 2008-08-01 15:21:24 Unix Admin Howto John
/usr/share/vte/termcap/xterm

xterm-xfree86|xterm-new|xterm terminal emulator (XFree86):
:am:km:mi:ms:xn:
:co#80:it#8:li#24:

:co#80 specifies 80 columns, and li#24 specifies 24 lines. Change this to 120 and 30 or whatever you want. Now all terminals should open for this default size.

 

Public OpenSSL Base64 Notes 2008-06-12 13:46:40 Unix Admin Howto John
Encode:
$ openssl enc -base64 -in myfile -out myfile.b64

Decode:
$ openssl enc -d -base64 -in myfile.b64 -out myfile.decrypt

 

Public Extracting Single File From RPM 2008-02-19 14:22:04 Unix Admin Howto John
rpm2cpio tcl-8.0.2-16.i386.rpm | cpio -icduv *libtcl.so

 

<<Prev | 1-10 | 11-20 | 21-30 | 31-34 | Next>>