PROfile
All time reputation: 64
Achievement
johnloy's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
« Prev [Page 1 of 2] Next »
JavaScript javascript
Way in JS to call singleton library methods within a namespace without fully qualifying the namespace in references
posted on March 21, 2010 by johnloy
JavaScript regex javascript
parseUri 1.2: Split URLs in JavaScript
posted on March 7, 2010 by johnloy
Apache css Firefox fonts font-face saved by 1 person
.htaccess rule to allow cross-site embedded font sharing in Firefox
posted on March 4, 2010 by johnloy
JavaScript javascript oop
Custom error objects in Javascript
posted on February 26, 2010 by johnloy
CSS css effects ui saved by 2 people
Cross-browser image-less drop-shadow with box shadow
posted on February 24, 2010 by johnloy
CSS css hack ie html safari Firefox chrome saved by 1 person
List of CSS browser hacks
posted on February 24, 2010 by johnloy
CSS css hack ie html
Use IE conditional comments to apply classes to body tag
posted on February 24, 2010 by johnloy
JavaScript javascript debugging firebug saved by 1 person
Prevent error messages in the cases where a console object doesn't exist
posted on February 14, 2010 by johnloy
Other textmate Shell ruby
open ruby ri documentation in Safari as html
posted on October 24, 2009 by johnloy
Other email textmate Shell perl smtp
using sendEmail perl script and Gmail SMTP server to send email
posted on October 22, 2009 by johnloy
Other css textmate mobile CSS3 iphone saved by 1 person
css media queries for determining iphone orientation
posted on October 7, 2009 by johnloy
Other ajax javascript textmate saved by 1 person
import function to synchronously load external javascript files
posted on October 5, 2009 by johnloy
Other ajax javascript textmate performance optimization saved by 2 people
asynchronous loading of javascripts
posted on August 5, 2009 by johnloy
Other svn textmate subversion
partial svn checkout using sparse checkout (--depth) in svn 1.5
posted on July 14, 2009 by johnloy
Other css textmate saved by 2 people
css to color selection text and background in FF and Safari
posted on July 8, 2009 by johnloy
Other javascript textmate browsers IE8
sniffing ie8 with js object detection
posted on July 5, 2009 by johnloy
Other css textmate template layout saved by 2 people
Page footer that sticks to viewport bottom unless content is beyond viewport
posted on May 26, 2009 by johnloy
Other css menu textmate template layout saved by 1 person
Perfectly centered tabs, cross-browser, no-hacks, no inline-block
posted on May 26, 2009 by johnloy
Other php textmate Shell cli authentication
Interactive CLI promt with PHP without echoing to terminal
posted on May 26, 2009 by johnloy
Other css textmate debug design
Debug css to find elements with a style attribute
posted on May 18, 2009 by johnloy
Other css javascript hack textmate images Trick saved by 1 person
Fluid high-quality image scaling with CSS and JS
posted on May 15, 2009 by johnloy
Other javascript textmate jquery saved by 2 people
JQuery plugin to add a hover class to an element
posted on May 11, 2009 by johnloy
Other css textmate tricks
Way to specify the width of an element as percentage pixels
posted on April 23, 2009 by johnloy
Other textmate browser safari debugging webkit
turn on debugging in safari browser
posted on April 23, 2009 by johnloy
Other textmate Shell unix browsers Installer webkit
shell script to download webkit nightly build
posted on April 23, 2009 by johnloy
JavaScript javascript strings utility
commafy a number in javascript
posted on April 16, 2009 by johnloy
Other css javascript textmate typography
detect a browser's font-size using javascript
posted on April 16, 2009 by johnloy
Other javascript textmate jquery design-patterns
Implementation of a publisher-subscriber pattern in JQuery to poll network availability
posted on March 2, 2009 by johnloy
Other javascript textmate jquery saved by 6 people
Skeleton for a JQuery plugin
posted on March 2, 2009 by johnloy
Other javascript textmate design-patterns
Way to programmatically override a config object for a module pattern
posted on March 2, 2009 by johnloy
Other javascript textmate design-patterns saved by 1 person
Dustin Diaz's Publisher class to achieve a publisher-subscriber pattern in javascript
posted on March 2, 2009 by johnloy
Other textmate
Class to implement publisher
posted on March 2, 2009 by johnloy
Other javascript textmate design-pattern saved by 3 people
variations of the Javascript module pattern
posted on February 17, 2009 by johnloy
Other textmate
Shared singleton pattern for sharing utility methods across pages
posted on February 17, 2009 by johnloy
Other css textmate template
CSS for a simple fixed-width page without wrapper DIVs
posted on February 11, 2009 by johnloy
Other css javascript textmate image-replacement saved by 1 person
State Scope switching Javascript
posted on February 11, 2009 by johnloy
Other css textmate mobile saved by 1 person
antiscreen css technique for styling pages for mobile devices
posted on February 9, 2009 by johnloy
Other textmate expression-engine
Example Expression Engine conditional to put edit button on public site for site publishers
posted on January 16, 2009 by johnloy
Other css textmate saved by 2 people
starter CSS structure
posted on December 12, 2008 by johnloy
Other javascript textmate optimization
Fastest way to code a loop in Javascript
posted on November 10, 2008 by johnloy