<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss'><id>tag:blogger.com,1999:blog-22299226</id><updated>2009-09-10T14:20:07.869-04:00</updated><title type='text'>Cardboard Box</title><subtitle type='html'>A place to store useful snippets of code, links and other such geek stuffs.</subtitle><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/22299226/posts/default'/><link rel='alternate' type='text/html' href='http://digital-penguin.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://digital-penguin.com/atom.xml'/><author><name>Don</name><uri>http://www.blogger.com/profile/17684253102735741932</uri><email>noreply@blogger.com</email></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>17</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-22299226.post-5335504451910514502</id><published>2009-06-24T13:12:00.002-04:00</published><updated>2009-06-24T13:13:32.784-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Geek'/><category scheme='http://www.blogger.com/atom/ns#' term='Mac'/><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><title type='text'>Examine x509 Certificate</title><content type='html'>I've noted uses of the "openssl" command before.  Here is another.&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;A quick way to examine a certificate in plain text.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;blockquote&gt;openssl x509 -text -in cert.pem&lt;/blockquote&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/22299226-5335504451910514502?l=digital-penguin.com'/&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.blogger.com/feeds/22299226/5335504451910514502/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://digital-penguin.com/2009/06/examine-x509-certificate.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/22299226/posts/default/5335504451910514502'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/22299226/posts/default/5335504451910514502'/><link rel='alternate' type='text/html' href='http://digital-penguin.com/2009/06/examine-x509-certificate.html' title='Examine x509 Certificate'/><author><name>Don</name><uri>http://www.blogger.com/profile/17684253102735741932</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='10377152971532356921'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-22299226.post-3599304607306714</id><published>2009-06-04T11:21:00.003-04:00</published><updated>2009-06-04T11:34:50.567-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Geek'/><category scheme='http://www.blogger.com/atom/ns#' term='Mac'/><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><title type='text'>Convert Seperate Key/Cert Files to PFX</title><content type='html'>The reverse of the process of &lt;a href="http://www.digital-penguin.com/2008/12/convert-pfx-to-separate-keycert-files.html"&gt;extracting the key/certs from a PFX&lt;/a&gt; can be achieved via the following:&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;blockquote&gt;openssl pkcs12 -export -in [certificate.crt] -inkey [private.key] -out [package.pfx]&lt;/blockquote&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/22299226-3599304607306714?l=digital-penguin.com'/&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.blogger.com/feeds/22299226/3599304607306714/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://digital-penguin.com/2009/06/convert-seperate-keycert-files-to-pfx.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/22299226/posts/default/3599304607306714'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/22299226/posts/default/3599304607306714'/><link rel='alternate' type='text/html' href='http://digital-penguin.com/2009/06/convert-seperate-keycert-files-to-pfx.html' title='Convert Seperate Key/Cert Files to PFX'/><author><name>Don</name><uri>http://www.blogger.com/profile/17684253102735741932</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='10377152971532356921'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-22299226.post-8435575517860877064</id><published>2009-04-20T09:46:00.004-04:00</published><updated>2009-04-20T09:57:01.487-04:00</updated><title type='text'>Recover MySQL Root Password</title><content type='html'>To recover the password for the root account on a MySQL server use the following steps.  Essentially, it can be done by restarting the daemon without the grant tables.&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;blockquote&gt;&lt;div&gt;1. Stop the currently mysql daemon&lt;/div&gt;&lt;div&gt;# /etc/init.d/mysql stop&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;2. Start the daemon without the grant tables&lt;/div&gt;&lt;div&gt;# mysqld_safe --skip-grant-tables &amp;amp;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;3. Login to mysql as the root user ... it will have a blank password&lt;/div&gt;&lt;div&gt;# mysql -u root&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;4. Reset the root account password&lt;/div&gt;&lt;div&gt;mysql&gt; use mysql;&lt;/div&gt;&lt;div&gt;mysql&gt; update user set password=PASSWORD("NEW-PASSWORD") where User='root';&lt;/div&gt;&lt;div&gt;mysql&gt; flush privileges;&lt;/div&gt;&lt;div&gt;mysql&gt; quit&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;5. Stop &amp;amp; restart the daemon&lt;/div&gt;&lt;div&gt;# /etc/init.d/mysql stop&lt;/div&gt;&lt;div&gt;# /etc/init.d/mysql start&lt;/div&gt;&lt;/blockquote&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;I found this tip &lt;a href="http://www.cyberciti.biz/tips/recover-mysql-root-password.html"&gt;here&lt;/a&gt;.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/22299226-8435575517860877064?l=digital-penguin.com'/&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.blogger.com/feeds/22299226/8435575517860877064/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://digital-penguin.com/2009/04/recover-mysql-root-password.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/22299226/posts/default/8435575517860877064'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/22299226/posts/default/8435575517860877064'/><link rel='alternate' type='text/html' href='http://digital-penguin.com/2009/04/recover-mysql-root-password.html' title='Recover MySQL Root Password'/><author><name>Don</name><uri>http://www.blogger.com/profile/17684253102735741932</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='10377152971532356921'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-22299226.post-2455169071555431462</id><published>2009-04-10T15:18:00.005-04:00</published><updated>2009-04-10T15:41:46.306-04:00</updated><title type='text'>Content-Disposition Header</title><content type='html'>In situations where you want a file linked to from within a website to present a 'Save As' dialog rather than simply displaying the content ... you can inject a Content-Disposition header into the HTTP connection to prompt the browser to do so.  I recently had a situation where I was linking to an uncommon file extension through a reverse-proxy and Internet Explorer 6 wanted to include extra URI information in the 'Save As' file name.  You can force the saved file name with this header as well.&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;In PHP, the header is introduced as follows...&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;blockquote&gt;&lt;div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;header('Content-type: text/plain');&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;header('Content-Disposition: attachment; filename=myfile.ext');&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Additional information, and my source for this information, can be found &lt;a href="http://www.jtricks.com/bits/content_disposition.html"&gt;here&lt;/a&gt;.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/22299226-2455169071555431462?l=digital-penguin.com'/&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.blogger.com/feeds/22299226/2455169071555431462/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://digital-penguin.com/2009/04/content-disposition-header.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/22299226/posts/default/2455169071555431462'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/22299226/posts/default/2455169071555431462'/><link rel='alternate' type='text/html' href='http://digital-penguin.com/2009/04/content-disposition-header.html' title='Content-Disposition Header'/><author><name>Don</name><uri>http://www.blogger.com/profile/17684253102735741932</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='10377152971532356921'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-22299226.post-5248841188762449633</id><published>2009-03-25T11:31:00.004-04:00</published><updated>2009-03-25T11:41:01.035-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Mac'/><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><category scheme='http://www.blogger.com/atom/ns#' term='Shell'/><title type='text'>Upper To Lower To Upper Case Command Line</title><content type='html'>Nice trick to pipe command line data through to convert it's alpha characters to upper or lower case.  Most people dont even realize the 'tr' command exists on most linux/shell releases.&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;blockquote&gt;&lt;div&gt;From UPPER to lower: tr [:upper:] [:lower:]&lt;/div&gt;&lt;div&gt;From lower to UPPER: tr [:lower:] [:upper:]&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Example: ls /directory | tr [:lower:] [:upper:] | sort&lt;/div&gt;&lt;/blockquote&gt;&lt;div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/22299226-5248841188762449633?l=digital-penguin.com'/&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.blogger.com/feeds/22299226/5248841188762449633/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://digital-penguin.com/2009/03/upper-to-lower-to-upper-case-command.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/22299226/posts/default/5248841188762449633'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/22299226/posts/default/5248841188762449633'/><link rel='alternate' type='text/html' href='http://digital-penguin.com/2009/03/upper-to-lower-to-upper-case-command.html' title='Upper To Lower To Upper Case Command Line'/><author><name>Don</name><uri>http://www.blogger.com/profile/17684253102735741932</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='10377152971532356921'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-22299226.post-9139328857941985881</id><published>2009-01-22T16:44:00.003-05:00</published><updated>2009-01-22T16:47:50.746-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><title type='text'>Mount ISO (.iso) In Linux</title><content type='html'>To mount an ISO (.iso) on a Linux system...&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;blockquote&gt;mount -t iso9660 -o ro,loop /path-to-file/file.iso /path-to-mount-point&lt;/blockquote&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;In many cases you will not have to specify the "-t iso9660" as most Linux distributions will auto detect that.  The "ro" in the "-o ro,loop" tell this system to mount it ISO read-only.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/22299226-9139328857941985881?l=digital-penguin.com'/&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.blogger.com/feeds/22299226/9139328857941985881/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://digital-penguin.com/2009/01/mount-iso-iso-in-linux.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/22299226/posts/default/9139328857941985881'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/22299226/posts/default/9139328857941985881'/><link rel='alternate' type='text/html' href='http://digital-penguin.com/2009/01/mount-iso-iso-in-linux.html' title='Mount ISO (.iso) In Linux'/><author><name>Don</name><uri>http://www.blogger.com/profile/17684253102735741932</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='10377152971532356921'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-22299226.post-5646963281385008314</id><published>2009-01-15T10:57:00.003-05:00</published><updated>2009-01-15T11:01:15.499-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Mac'/><title type='text'>Enable Syntax Highlighting In Vim (vi), Mac OSX (Leopard)</title><content type='html'>To enable the syntax highlight feature of Vim on a Mac OSX (Leopard) system, edit the /usr/share/vim/vimrc file and add the "syntax on" config.&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;To do this from Terminal.app...&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;blockquote&gt;sudo vi /usr/share/vim/vimrc&lt;/blockquote&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;...add a new config, "syntax on" and then save and close the file.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/22299226-5646963281385008314?l=digital-penguin.com'/&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.blogger.com/feeds/22299226/5646963281385008314/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://digital-penguin.com/2009/01/enable-syntax-highlighting-in-vim-vi.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/22299226/posts/default/5646963281385008314'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/22299226/posts/default/5646963281385008314'/><link rel='alternate' type='text/html' href='http://digital-penguin.com/2009/01/enable-syntax-highlighting-in-vim-vi.html' title='Enable Syntax Highlighting In Vim (vi), Mac OSX (Leopard)'/><author><name>Don</name><uri>http://www.blogger.com/profile/17684253102735741932</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='10377152971532356921'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-22299226.post-320271426619633317</id><published>2009-01-12T15:35:00.001-05:00</published><updated>2009-01-12T15:35:37.121-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Geek'/><category scheme='http://www.blogger.com/atom/ns#' term='Windows'/><title type='text'>Remotely Reboot Windows XP</title><content type='html'>&lt;p style="clear: both"&gt;Using a remote desktop client to connect to a Windows XP box will not provide you with the option to reboot or restart the remote machine. To do this from the command line, open a command prompt (Start-&gt;Run-&gt;Cmd.exe) and use the command:&lt;/p&gt;&lt;blockquote style="clear: both"&gt;&lt;p&gt;shutdown -r -t 0&lt;/p&gt;&lt;/blockquote&gt;&lt;p style="clear: both"&gt;...to open a gui interface to manage the reboot:&lt;/p&gt;&lt;blockquote style="clear: both"&gt;&lt;p&gt;shutdown -i&lt;/p&gt;&lt;/blockquote&gt;&lt;br class='final-break' style='clear: both' /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/22299226-320271426619633317?l=digital-penguin.com'/&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.blogger.com/feeds/22299226/320271426619633317/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://digital-penguin.com/2009/01/remotely-reboot-windows-xp.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/22299226/posts/default/320271426619633317'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/22299226/posts/default/320271426619633317'/><link rel='alternate' type='text/html' href='http://digital-penguin.com/2009/01/remotely-reboot-windows-xp.html' title='Remotely Reboot Windows XP'/><author><name>Don</name><uri>http://www.blogger.com/profile/17684253102735741932</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='10377152971532356921'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-22299226.post-5295581178708255989</id><published>2008-12-28T17:17:00.002-05:00</published><updated>2008-12-28T17:28:43.010-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Web'/><category scheme='http://www.blogger.com/atom/ns#' term='Geek'/><title type='text'>Web Based Design Tools</title><content type='html'>Some great online tools for a web designer or content creator.  I frequently use the &lt;a href="http://tools.dynamicdrive.com/imageoptimizer/"&gt;Image Optimizer&lt;/a&gt; to cheat some load time off my site's images.&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;a href="http://tools.dynamicdrive.com/"&gt;http://tools.dynamicdrive.com&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/22299226-5295581178708255989?l=digital-penguin.com'/&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.blogger.com/feeds/22299226/5295581178708255989/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://digital-penguin.com/2008/12/web-based-design-tools.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/22299226/posts/default/5295581178708255989'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/22299226/posts/default/5295581178708255989'/><link rel='alternate' type='text/html' href='http://digital-penguin.com/2008/12/web-based-design-tools.html' title='Web Based Design Tools'/><author><name>Don</name><uri>http://www.blogger.com/profile/17684253102735741932</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='10377152971532356921'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-22299226.post-6815759318679842124</id><published>2008-12-27T17:45:00.007-05:00</published><updated>2008-12-28T11:34:00.884-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Mac'/><title type='text'>Mac Keyboard Shortcuts For Symbols</title><content type='html'>Mac OSX keyboard shortcut combinations for many common symbols.&lt;div&gt;&lt;/div&gt;&lt;blockquote&gt;&lt;div&gt;™ (trademark) = Option + 2&lt;/div&gt;&lt;div&gt;£ (pound) = Option + 3&lt;/div&gt;&lt;div&gt;¢ (cent) = Option + 4&lt;/div&gt;&lt;div&gt;∞ (infinity) = Option + 5&lt;/div&gt;&lt;div&gt;§ (section) = Option + 6&lt;/div&gt;&lt;div&gt;¶ (paragraph) = Option + 7&lt;/div&gt;&lt;div&gt;• (dot) = Option + 8&lt;/div&gt;&lt;div&gt;€ (euro) = Shift + Option + 2&lt;/div&gt;&lt;div&gt;° (degree) = Shift + Option + 8&lt;/div&gt;&lt;div&gt;¥ (yen) = Option + y&lt;/div&gt;&lt;div&gt;÷ (division) = Option + /&lt;/div&gt;&lt;div&gt;± (plus/minus) = Option + =&lt;/div&gt;&lt;div&gt;≥ (greater than or equal to) = Option + &gt;&lt;/div&gt;&lt;div&gt;≤ (less than or equal to) = Option + &lt;&lt;/div&gt;&lt;div&gt;√ (square root) = Option + v&lt;/div&gt;&lt;div&gt;π (pi) = Option + p&lt;/div&gt;&lt;div&gt;≈ (approx.) = Option + x&lt;/div&gt;&lt;div&gt;∆ (delta) = Option + j&lt;/div&gt;&lt;div&gt;∑ (sum) = Option + w&lt;/div&gt;&lt;div&gt;Ω (ohm) = Option + z&lt;/div&gt;&lt;div&gt;µ (micro) = Option + m&lt;/div&gt;&lt;div&gt;© (copyright) = Option + g&lt;/div&gt;&lt;div&gt;® (registered) = Option + r&lt;/div&gt;&lt;div&gt;† (dagger) = Option + t&lt;/div&gt;&lt;/blockquote&gt;&lt;div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/22299226-6815759318679842124?l=digital-penguin.com'/&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.blogger.com/feeds/22299226/6815759318679842124/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://digital-penguin.com/2008/12/mac-keyboard-shortcuts-for-symbols.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/22299226/posts/default/6815759318679842124'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/22299226/posts/default/6815759318679842124'/><link rel='alternate' type='text/html' href='http://digital-penguin.com/2008/12/mac-keyboard-shortcuts-for-symbols.html' title='Mac Keyboard Shortcuts For Symbols'/><author><name>Don</name><uri>http://www.blogger.com/profile/17684253102735741932</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='10377152971532356921'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-22299226.post-2987816053335901690</id><published>2008-12-23T12:24:00.009-05:00</published><updated>2008-12-28T17:28:42.211-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Geek'/><category scheme='http://www.blogger.com/atom/ns#' term='Mac'/><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><title type='text'>Convert PFX to Separate Key/Cert Files</title><content type='html'>Using openssl to extract key and certificate files from a .pfx&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;To extract the private key...&lt;/div&gt;&lt;div&gt;&lt;blockquote&gt;openssl pkcs12 -in [name.pfx] &lt;filename.pfx&gt;-nocerts -out [private.key]&lt;private.key&gt;&lt;/private.key&gt;&lt;/filename.pfx&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;To extract the certificate...&lt;/div&gt;&lt;div&gt;&lt;blockquote&gt;openssl pkcs12 -in [name.pfx]&lt;filename.pfx&gt; -clcerts -nokeys -out [certificate.crt]&lt;certificate.crt&gt;&lt;/certificate.crt&gt;&lt;/filename.pfx&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;To decrypt the private key...&lt;/div&gt;&lt;div&gt;&lt;blockquote&gt;openssl rsa -in [private.key]&lt;private.key&gt; -out [decrypted.key]&lt;/private.key&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/22299226-2987816053335901690?l=digital-penguin.com'/&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.blogger.com/feeds/22299226/2987816053335901690/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://digital-penguin.com/2008/12/convert-pfx-to-separate-keycert-files.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/22299226/posts/default/2987816053335901690'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/22299226/posts/default/2987816053335901690'/><link rel='alternate' type='text/html' href='http://digital-penguin.com/2008/12/convert-pfx-to-separate-keycert-files.html' title='Convert PFX to Separate Key/Cert Files'/><author><name>Don</name><uri>http://www.blogger.com/profile/17684253102735741932</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='10377152971532356921'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-22299226.post-1721321650153668385</id><published>2008-12-04T13:46:00.011-05:00</published><updated>2008-12-28T17:28:42.212-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Mac'/><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><category scheme='http://www.blogger.com/atom/ns#' term='Shell'/><title type='text'>Strip Leading Zeros In Shell</title><content type='html'>Nice trick to strip leading zeros from an IP address at the command line.&lt;div&gt;(ie turn 002.203.017.001 to 2.203.17.1)&lt;div&gt;&lt;blockquote&gt;echo 002.203.017.001 | awk -F"." '{print int($1)"."int($2)"."int($3)"."int($4)}'&lt;/blockquote&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/22299226-1721321650153668385?l=digital-penguin.com'/&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.blogger.com/feeds/22299226/1721321650153668385/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://digital-penguin.com/2008/12/strip-leading-zeros-in-shell.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/22299226/posts/default/1721321650153668385'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/22299226/posts/default/1721321650153668385'/><link rel='alternate' type='text/html' href='http://digital-penguin.com/2008/12/strip-leading-zeros-in-shell.html' title='Strip Leading Zeros In Shell'/><author><name>Don</name><uri>http://www.blogger.com/profile/17684253102735741932</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='10377152971532356921'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-22299226.post-7633439620823530573</id><published>2008-11-10T10:00:00.010-05:00</published><updated>2008-12-28T17:28:42.214-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Geek'/><category scheme='http://www.blogger.com/atom/ns#' term='Mac'/><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><title type='text'>HTTPS PUT w/Basic Authentication Via Curl</title><content type='html'>Need to use a secure HTTP PUT over SSL using Basic Auth?&lt;br /&gt;&lt;div&gt;&lt;blockquote&gt;curl -T test.txt -u &lt;username&gt; https://[hostname]&lt;host&gt;/[uri]&lt;uri&gt;&lt;br /&gt;&lt;/uri&gt;&lt;/host&gt;&lt;/username&gt;&lt;/blockquote&gt;Add a -v to see that connection with verbose output.&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/22299226-7633439620823530573?l=digital-penguin.com'/&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.blogger.com/feeds/22299226/7633439620823530573/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://digital-penguin.com/2008/11/https-put-wbasic-authentication-via.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/22299226/posts/default/7633439620823530573'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/22299226/posts/default/7633439620823530573'/><link rel='alternate' type='text/html' href='http://digital-penguin.com/2008/11/https-put-wbasic-authentication-via.html' title='HTTPS PUT w/Basic Authentication Via Curl'/><author><name>Don</name><uri>http://www.blogger.com/profile/17684253102735741932</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='10377152971532356921'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-22299226.post-8652910536625290534</id><published>2008-09-19T10:45:00.004-04:00</published><updated>2008-09-19T10:49:09.290-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Mac'/><title type='text'>Flush DNS Cache, Mac OSX (Leopard)</title><content type='html'>As a DNS admin, I frequently need to flush my local DNS cache in order to confirm that a change I made on a DNS server worked.  To do this on a Mac OSX (Leopard), open your Terminal.app and run the following command...&lt;blockquote&gt;dscacheutil -flushcache&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/22299226-8652910536625290534?l=digital-penguin.com'/&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.blogger.com/feeds/22299226/8652910536625290534/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://digital-penguin.com/2008/09/flush-dns-cache-mac-osx-leopard.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/22299226/posts/default/8652910536625290534'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/22299226/posts/default/8652910536625290534'/><link rel='alternate' type='text/html' href='http://digital-penguin.com/2008/09/flush-dns-cache-mac-osx-leopard.html' title='Flush DNS Cache, Mac OSX (Leopard)'/><author><name>Don</name><uri>http://www.blogger.com/profile/17684253102735741932</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='10377152971532356921'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-22299226.post-9157249684807204582</id><published>2008-09-02T13:22:00.005-04:00</published><updated>2009-09-10T14:20:07.876-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Mac'/><title type='text'>Home &amp; End Keys, Mac OSX (Leopard)</title><content type='html'>Using Terminal.app on Mac OSX (Leopard) to connect to an Linux system and work in &lt;a href="http://www.vim.org/"&gt;Vim&lt;/a&gt; is a bit of hassle when it comes to the Home and End keys.  To remap these such that the 'End' key will take you to the end of the current line and 'Home' the beginning, remap the keys in Terminal-&gt;Preferences-&gt;Settings-&gt;Keyboard to the following...&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;End: ctrl + [, [, 4, ~&lt;span class="Apple-tab-span" style="white-space:pre"&gt;  &lt;/span&gt;it should look like this \033[1~&lt;/div&gt;&lt;div&gt;Home: ctrl + [, [, 1, ~&lt;span class="Apple-tab-span" style="white-space:pre"&gt;  &lt;/span&gt;it should look like this \033[4~&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;This tip and others were found &lt;a href="http://tech.inhelsinki.nl/gnu_developement_under_mac_os_x/"&gt;here&lt;/a&gt;.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/22299226-9157249684807204582?l=digital-penguin.com'/&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.blogger.com/feeds/22299226/9157249684807204582/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://digital-penguin.com/2008/09/home-end-keys-mac-osx-leopard.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/22299226/posts/default/9157249684807204582'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/22299226/posts/default/9157249684807204582'/><link rel='alternate' type='text/html' href='http://digital-penguin.com/2008/09/home-end-keys-mac-osx-leopard.html' title='Home &amp; End Keys, Mac OSX (Leopard)'/><author><name>Don</name><uri>http://www.blogger.com/profile/17684253102735741932</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='10377152971532356921'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-22299226.post-6653578433381055922</id><published>2008-01-15T10:04:00.001-05:00</published><updated>2008-12-28T17:28:42.215-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Web'/><category scheme='http://www.blogger.com/atom/ns#' term='Geek'/><title type='text'>Web Based Color Scheme Generator</title><content type='html'>Whenever I'm building a web based tool, the aesthetic design part is usually what slows me down the most as it takes me a while to find the "look" I'm going for.  I was therefore happy to find a very simple web based color scheme generator that created color schemes that I liked ... &lt;a href="http://www.hypergurl.com/colormatch.php"&gt;http://www.hypergurl.com/colormatch.php&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/22299226-6653578433381055922?l=digital-penguin.com'/&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.blogger.com/feeds/22299226/6653578433381055922/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://digital-penguin.com/2008/01/web-based-color-scheme-generator.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/22299226/posts/default/6653578433381055922'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/22299226/posts/default/6653578433381055922'/><link rel='alternate' type='text/html' href='http://digital-penguin.com/2008/01/web-based-color-scheme-generator.html' title='Web Based Color Scheme Generator'/><author><name>Don</name><uri>http://www.blogger.com/profile/17684253102735741932</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='10377152971532356921'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-22299226.post-114019334057730197</id><published>2006-02-17T11:20:00.002-05:00</published><updated>2008-12-28T11:40:10.224-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Perl'/><title type='text'>URL Snippet (Perl)</title><content type='html'>Perl snippet of code to URL encode or decode a string.&lt;br /&gt;&lt;br /&gt;URL Encode:&lt;br /&gt;$str =~ s/([^A-Za-z0-9])/sprintf("%%%02X", ord($1))/seg;&lt;br /&gt;&lt;br /&gt;URL Decode:&lt;br /&gt;$str =~ s/\%([A-Fa-f0-9]{2})/pack('C', hex($1))/seg;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/22299226-114019334057730197?l=digital-penguin.com'/&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.blogger.com/feeds/22299226/114019334057730197/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://digital-penguin.com/2006/02/url-snippet-perl.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/22299226/posts/default/114019334057730197'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/22299226/posts/default/114019334057730197'/><link rel='alternate' type='text/html' href='http://digital-penguin.com/2006/02/url-snippet-perl.html' title='URL Snippet (Perl)'/><author><name>Don</name><uri>http://www.blogger.com/profile/17684253102735741932</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='10377152971532356921'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry></feed>