Updates from January, 2011 Toggle Comment Threads | Keyboard Shortcuts

  • tech0x20 9:27 am on January 19, 2011 Permalink | Reply
    Tags: bookmarklets, ,   

    Perl Documentation Bookmarklets 

    Below are some bookmarklets to quick link to CPAN documentation… Click and drag the links to your bookmark bar or use the included source code to create the bookmarklets.

    They will generate a prompt something like this when clicked:

    Bookmarklet to search for a keyword in CPAN documentation: Search CPAN

    Source:

    javascript:{x=prompt("Search%20for%20module");window.location='http://search.cpan.org/search?mode=module;query='+x;}

    Bookmarklet to bring up specific module page [case-sensitive, e.g., GetOpt::Long]: CPAN Page

    Source:

    javascript:{x=prompt("Enter%20Perldoc%20keyword");window.location='http://search.cpan.org/perldoc/'+x;}

    Inspired by

     
  • tech0x20 9:34 am on January 17, 2011 Permalink | Reply
    Tags: desktop,   

    How to disable “There are unused items on your desktop” 

    Right-click on your desktop background and select [Properties].

    From the “Display Properties” window, select the [Desktop] tab.

    Select the [Customize Desktop…] button at the bottom.

    Uncheck the “Run Desktop Cleanup Wizard every 60 days” box and click the [OK] button, and then click the [OK] button on the display properties window.

    That should be it!

     
  • tech0x20 9:55 am on January 14, 2011 Permalink | Reply
    Tags: , julian, ,   

    Formatting a Julian Date [Julian Day / Day of Year] in Unix 

    This is one of those commands that’s so simple once you recall it that you’ll smack yourself for not knowing it.

    If you’re ever in doubt, man date.

    # displays the 2-digit year + day of the year, Jan 14, 2011 = "11014"
    date +%y%j

    1. sets filename to MyFilename + 2-digit year + day of the year
    2. Jan 14, 2011 = MyFilename11014

    filename=MyFilename`date +%y%j`

    Remember to use lowercase ‘y’. Uppercase ‘Y’ will give you a 4-digit year.

     
c
Compose new post
j
Next post/Next comment
k
Previous post/Previous comment
r
Reply
e
Edit
o
Show/Hide comments
t
Go to top
l
Go to login
h
Show/Hide help
shift + esc
Cancel
%d bloggers like this: