Magp.ie

A nest for the random, shiny, online tidbits I stumple across…

  • HOME
  • Code
  • Guides
  • Shortcuts

Posts Tagged ‘ tips ’

Textwrangler Tips – Compare files, keyboard shortcuts

  • June 16th, 2010
  • Posted in Shortcuts

A few quick TextWrangler tips. I never knew until recently that you can compare files in TextWrangler… and its easy. Simply highlight the 2 files you want to compare in the Documents drawer, right click on them and select the option ‘Compare Selected Documents‘. Now the 2 files will open into 2 windows with a [ READ MORE ]

Odd or Even Number

  • February 19th, 2010
  • Posted in Code

I love gems like this. I come across them from time to time but they never stick… then I do a search to find them again. Anyway a simple way to determine if a number is odd or even, use the following code. function is_odd( $number ) { return $number & 1; } Quick explanation [ READ MORE ]

Pages

  • About me…

Subscribe to this blog by email.

Top Rated

Content

aliases auto-select character set cookie cURL DOM storage encoding ExternalInterface Flash format xml HTTPS Authentication javascript jQuery Local Shared Objects LSO Mac OSX Microsoft SQL Server MySQL parse assignment value php plugin polldaddy polls Port forwarding pre tags PuTTY ratings regex regular expression revert revision rollback Service Broker SSH SVN terminal textwrangler tips UNIX Script UTF8 validate email validate url wordpress xkcd XML

Poll

Blog at WordPress.com. | Theme: Monochrome by mono-lab.