Varia

Picture of computer hardware components: http://sonic840.deviantart.com/art/Computer-hardware-poster-1-7-111402099

Other useful stuffs.

Links: http://blog.backblaze.com/2009/09/01/petabytes-on-a-budget-how-to-build-cheap-cloud-storage/

Permanently add the Task Manager to your system tray: The first option is that you can go into the System32 directory and make a shortcut of the file taskmgr.exe. Then, cut and paste this shortcut into the Startup folder (Go to Start | Programs | Startup. Right-click on Startup and click Open. Then paste the taskmgr.exe shortcut in there.). Next, right-click on the taskmgr.exe icon in the Startup folder and click Properties. Under the Run option, select Minimized.

Earnings: http://biz.yahoo.com/research/earncal/20100812.html

Self-Verifying Page Objects: http://code.google.com/p/selenium/wiki/PageObjects http://patrickwilsonwelsh.com/?p=343 http://knorrium.info/2010/08/31/using-testng-to-launch-your-tests-and-the-selenium-server/

Modal: http://drupal.org/project/modal_noderef http://drupal.org/project/modalframe_cck_editor http://drupal.org/project/popups_subedit http://drupal.org/project/popups_reference http://drupal.org/project/nodereference_views

Gallery: http://drupal.org/project/node_gallery

Allow anyone to access your calendar: http://www.uwec.edu/help/Outlook07/CAL-permissions.htm

Recognize sample music: http://www.redcode.nl/blog/2010/06/creating-shazam-in-java/ http://laplacian.wordpress.com/2009/01/10/how-shazam-works/

Statistics module http://drupal.org/project/statspro

selenium: http://luizfar.wordpress.com/2010/09/29/page-objects/ http://www.seleniumwiki.com/software-testing/getting-the-browser-details-in-selenium/

CCK: http://kyle.mathews2000.com/blog/2010/11/19/creating-cck-field-module-invisible-widget http://www.darcynorman.net/2008/05/02/creating-a-custom-compound-field-for-cck/

DEV: Create custom event in rule http://treehouseagency.com/blog/thomas-wysocki/2010/12/17/rules-creating-and-customizing-events http://nodeone.se/blogg/learn-rules-with-nodeone-part-11-rules-scheduler-cck-fields

http://tiger-fish.com/blog/drupal-6-debugging-php-windows-eclipse-and-xdebug

Chinese keyboard: 郑码输入法, the other one is 五笔打字

Multi-Step Form: http://public-action.org/content/drupal-7-form-api-modify-and-delete-record-operations-drupal-7-multi-step-form-fapi

link in view http://drupal.org/project/views_linkarea

The Programmer's File and Data Resource: Specification of file format http://www.wotsit.org/list.asp?fc=0

Learning algorithm for click through stats.: http://stevehanov.ca/blog/index.php?id=132

Smiley in SVG format: http://commons.wikimedia.org/wiki/Category:SVG_smilies

Audacity

Issue:Can't hear the playback but was able to hear the exported mp3 using mplayer Solution: Go to Edit->Preferences, select the default Alsa playback device from Audio I/O section.

Browsers

Firefox

Add proxy info in Firefox

  1. Go to Tool->Options->Advanced->Network.
  2. Under the Connection section, click on Settings... button.
  3. Add your proxy info.

Hotkeys in Firefox

Here all the useful hotkeys in Firefox:

Ctrl+w
Close current tab
Ctrl+Tab
Switch to next tab
Ctrl+Shift+Tab
Switch to previous tab

English

// Correct use of the word 'information'. It is invariable.
All the information is provided.

Exercise: Pronounce words ending with ed

Click on the link below to practice the pronunciation of ed at the end of the words. Exercise: Pronounce words ending with ed

Get a Google maps api key

Instructions to get a Google maps api key.

  1. Click here to sign in or get a Google account.
  2. Read this FAQ to know what to put in the URL.
  3. Go here to generate a key.

Good applications

InstallWatch records modifications made to your PC during the installation of software, hardware, or configuration changes.

IsoBuster is a highly specialized and easy to use CD, DVD and blu-ray (BD, HD DVD) data recovery tool.

Install network driver of IBM ThinkCenter 8183-CTO

  1. Obviously, you need a computer that have access to the internet before going through these instructions.
  2. Go to http://www-307.ibm.com/pc/support/site.wss/document.do?lndocid=MIGR-55649.
  3. Download q37z47us.exe
  4. Double-click on q37z47us.exe and follow the instructions.
  5. Execute C:\IBMTOOLS\DRIVERS\Q37Z47US\APPS\SETUP\SETUPBD\W98-WS32\SetupBD.exe.

Info about the computer: http://www-307.ibm.com/pc/support/site.wss/document.do?lndocid=MIGR-51078

MS Windows

Don't map network folder as network drive

Don't map network folder as network drive because when you want to share the folder link, it is a pain to get the full path of the network folder. Instead, use Add a network location. It will always show the full path in the Address bar of your Windows Explorer.

Add a network location

  1. Open Windows Explorer.
  2. Right-click on the Computer icon located above the C drive.
  3. Select Add a network location and follow the instructions.

Reference: http://answers.microsoft.com/en-us/windows/forum/windows_7-desktop/how-do-i-get-to-my-network-places-in-windows-7/02f34043-8115-415e-a94e-e2d41c98b8a8

Get the full path of network drive

  1. Open Command Prompt.
  2. Execute net use.

Mantisbt Administrator's password

The default Administrator password is root.

Microsoft Virtual PC

Microsoft Virtual PC shutdowns by itself for no apparent reason

When Microsoft Virtual PC shutdowns by itself for no apparent reason, check for the following error message in Control Panel->Administrative Tools->Event Viewer->Application: Faulting application Virtual PC.exe, version 6.0.192.0, time stamp 0x4822fe31, faulting module Virtual PC.exe, version 6.0.192.0, time stamp 0x4822fe31, exception code 0xc0000005, fault offset 0x000424e2, process id 0xc58, application start time 0x01cabc27053164bc. If you find that error message, then simply set the Virtual PC.exe process to use only 1 CPU. You can do it by doing the followings:

  1. Open the Windows Task Manager.
  2. Go to the Processes tab, right-click on Virtual PC.exe and select Set Affinity....
  3. Select only 1 of the CPUs.

List of Windows images from Microsoft

Internet Explorer Application Compatibility VPC Image http://www.microsoft.com/download/en/details.aspx?id=11575

Newlines characters

Platform CharacterStringHexadecimal
DOS / Windows CR LF\r\n 0x0D 0x0A
Unix / Linux LF \n 0x0A
Mac (early)CR \r 0x0D

PDF manipulation using Sejda

@REM Get detail help of <command>
sejda-console.bat simplesplit -h

@REM Split all pages of the PDF into the current directory
sejda-console.bat simplesplit -f filename.pdf -o . -s all

@REM Merge PDF files
sejda-console.bat merge -f *.pdf -o newFile.pdf

@REM Rotate PDF 180 degree. Note: folderName is required.
sejda-console.bat rotate -r "all:180" -f filename.pdf -o folderName

RAR command line

SET Unique=%date%_%time%
SET Unique=%Unique:/=.%
SET Unique=%Unique::=.%
SET Unique=%Unique: =%
SET Unique=%Unique:Mon=%
SET Unique=%Unique:Tue=%
SET Unique=%Unique:Wed=%
SET Unique=%Unique:Thu=%
SET Unique=%Unique:Fri=%
SET Unique=%Unique:Sat=%
SET Unique=%Unique:Sun=%

REM -k: Lock archive. Prevent accidental modification from RAR.
REM -rr10: Add 10% recovery records.
REM -m5: Max compression
rar a -k -m5 -rr10 -hpYOUR_PASSWORD tax_%Unique%.rar tax
 
rar a -k -m5 -rr10 lease_%Unique%.rar Lease

Salome TMF

-- Replace a string in the action steps.
UPDATE action_test SET description_action=REPLACE(description_action, 'Pubication', 'Publication');

Schedule shutdown of Windows XP

Schedule shutdown of Windows XP every day at 8h30 PM.

net start "task scheduler"
at 20:30 /every:M,T,W,Th,F,S,Su cmd /c shutdown -s -f -t 0

http://support.microsoft.com/kb/308569

REM For Win 7
REM Doesn't work: Access denied
REM http://support.microsoft.com/kb/904423
REM http://forums.techguy.org/networking/472904-solved-schtasks-upated-not-working.html
schtasks.exe /Create /RU "NT AUTHORITY\SYSTEM" /SC DAILY /TN "Shutdown daily" /TR "cmd /c shutdown -s -f -t 0" /ST 20:30:00

WinXP command line to shutdown

shutdown /s /t 0

Timesheet

Create Timesheet online.

AttachmentSize
File timesheet.css418 bytes
Plain text icon timesheet.js_.txt10.92 KB
HTML icon Timesheet.html2.45 KB

WinMerge useful setting

I don't know why, by default, WinMerge is set to show the difference on word level. It should be on Character level. Every time that I install it, I have to change this setting. The setting is located at Edit->Options->Editor->Line Difference Coloring. Then, check Character level.

TODOs

Remove Authcache, CacheRouter, Elysia Cron, Poormanscron, Handy actions, Action node created now Remove Authcache's settings from settings.php In evaluation to be removed: Nodewords

Read http://benbuckman.net/tech/10/06/debugging-php-xampp-macgdpp-and-textmate

Read http://chrisshattuck.com/blog/how-create-image-based-dynamic-countdown-timer-imagecache

http://finance.yahoo.com/gainers?e=us

http://drupal.org/node/44648

Install http://drupal.org/project/revisioning Install http://drupal.org/project/content_moderation

http://engineeredweb.com/blog/10/6/debugging-drupal-7

Install http://drupal.org/project/cck_fieldgroup_tabs

Install http://drupal.org/project/book_manager

How to duplicate book content type: http://drupal.org/node/186742

http://www.bywombats.com/blog/06-08-2010/building-rotating-image-banner-views

multiple field group + cck_fieldgroup_tabs = multiple version of the same subject.

Add title to breadcrumb: http://drupal.org/node/743366

Search

http://drupal.org/project/porterstemmer
Not real partial term search but close.
http://drupal.org/project/luceneapi
Similar to solr but without the need to install java. Have a lot of features(e.g. facet searching) and there a lot of extensions(e.g. DidYouMean).

Events

Country->Province->city Install http://drupal.org/project/hierarchical_select ??http://drupal.org/project/location?? ???http://drupal.org/project/addresses??? http://drupal.org/project/profile_location http://drupal.org/project/content_profile

From to dates Install http://drupal.org/project/date http://drupal.org/project/date_picker_formatter http://drupal.org/node/809528

To read: http://chrisshattuck.com/blog/how-create-release-drupal-module-httpdrupalorg-super-quick-guide

Create gallery: http://oliverdavies.co.uk/2010/08/11/create-a-better-photo-gallery-in-drupal-part-1 http://oliverdavies.co.uk/2010/08/17/create-a-better-photo-gallery-in-drupal-part-2 http://www.lullabot.com/articles/photo-galleries-views-attach

Approved modules: http://www.sas.upenn.edu/computing/drupal-approved-modules

Views tutorials: http://www.drupalove.com/article/100-drupal-views-tutorials-and-resources

Rules: http://chrisshattuck.com/blog/working-example-adding-conditional-rule-drupal-rules-module-checking-taxonomy-term

online SQL diagram designer: http://code.google.com/p/wwwsqldesigner/