May 2012
8 posts
git log pimping
PIMP IT YO git log --graph --pretty="%n[%C(yellow)%h%Creset][%C(red)%cn%Creset] %s - %Cgreen%cr%Creset" git log --graph --pretty="------------------------------------------------%n[%C(yellow)%h%Creset][%C(red)%cn%Creset] - %Cgreen%cr%Creset%n%n%Cblue%s%Creset%n%n%b" -U
May 30th
Responsive Tables →
May 18th
Three quick Rails console tips - (37signals) →
May 18th
Achievement: Andrew Krespanis
So today, due to Flippa redesign, I got introduced to Andrew Krespanis. Don’t know who he is? well, if you’re a front-end engineer I’m sure you’ve seen his code more than a couple of times in your life, he’s the author of the “star hard reset”: * { margin:0; padding:0; } So yeah, achievement unlocked. Recommended read: The History of CSS Reset
May 16th
jQuery Knob →
Interesting graphs.
May 10th
1 note
ActiveSupport::Concern →
AS::Concern will look for modules named ClassMethods and InstanceMethods and bootstrap them as you normally would like. @pda: @Kuroir ActiveSupport::Concern is great. But there’s no need to specify an InstanceMethods module. Just methods, and a ClassMethods module.
May 4th
iOS Text Gestures.
It’s blow your mind time. Ready? Double-tap any text you are editing in order to select a word. That also allows you to drag the endpoints. Tapping with two fingers selects the whole paragraph. In short: Tapping places the cursor (and brings up the keyboard if it isn’t already up), double-tapping selects a word, tapping with two fingers selects a paragraph. I couldn’t find any other gestures. If...
May 4th
“sudo ln -sf /usr/share/zoneinfo/Australia/Victoria /etc/timezone”
May 2nd
Maps Stamen →
May 1st
Styled Google Maps  →
May 1st
April 2012
13 posts
The Google attack: How I attacked myself using... →
Apr 26th
“Sometimes you want the UI to be frictionless (i.e. buying something) Sometimes...”
– Mark Harbottle
Apr 24th
Image Magic Crop and Center
Just use the command line (even in PHP). /usr/local/bin/convert -resize 100x -resize 'x100<' -resize 50% -gravity center -crop 50x50+0+0 +repage $in $out 2>&1
Apr 22nd
1 note
“Hey, just wanted to tell you that I’m exceedingly fond of your theme and...”
– Andrey Terantsov, on Kuroir Theme
Apr 19th
Demonstrating Responsive Design →
Apr 13th
before: after: ie7 →
Apr 10th
All The Cheat Sheets An Up To Date Web Designer... →
Apr 9th
“DevTools APIs summary”
– chrome.devtools.panels - Google Chrome Extensions - Google Code
Apr 7th
Clutch.io →
Apr 5th
lazerwalker/Mobile-Safari-Inspector →
Golden.
Apr 2nd
1 note
LukeW | Multi-Device Layout Patterns →
Apr 1st
March 2012
4 posts
An explanation of the CSS animation on Apple's... →
Mar 10th
We are Colorblind →
Mar 10th
Compass user-select:none
Use it via: @import "compass/css3/user-interface"; @mixin user-select(none); Documentation: Here.
Mar 9th
How I Helped Destroy Star Wars Galaxies » Medium... →
This would be awesome to read on Ragnarok Online.
Mar 8th
February 2012
11 posts
“Making good-looking graphs shouldn’t be hard. Morris.js is a lightweight...”
– Morris.js
Feb 28th
“y – Yes, add this hunk n – No, don’t add this hunk d – No, don’t add this hunk...”
– git add —patch and —interactive
Feb 26th
Valid JavaScript variable names →
Feb 22nd
“Essential JavaScript Design Patterns For Beginners”
– Essential JavaScript Design Patterns For Beginners
Feb 18th
1 note
jQuery UI Bootstrap- GitHub →
Feb 18th
WatchWatch
(via Designing better user interfaces)
Feb 17th
JavaScript Array Remove →
Feb 16th
10 Usability Tips Based on Research Studies →
Forget the “Three-Click Rule” Enable Content Skimming By Using an F-Shaped Pattern Don’t Make Users Wait: Speed Up Your Website Make Your Content Easily Readable Don’t Worry About “The Fold” and Vertical Scrolling Place Important Content on the Left of a Web Page Whitespace of Text Affects Readability Small Details Make a Huge Difference
Feb 8th
3 notes
Best way to generate slugs (human-readable IDs) in... →
Feb 6th
Recursive Search with Path/File exclusion
:) function search() { find . \( -path \*/SCCS -o -path \*/RCS -o -path \*/CVS -o -path \*/MCVS \ -o -path \*/.svn -o -path \*/.git -o -path \*/.hg -o -path \*/.bzr \ -o -path \*/_MTN -o -path \*/_darcs -o -path \*/\{arch\} -o -path \*/ul -o -path \*/templates_cached -o -path \*/cache \) \ -prune -o \ \( -name .\#\* -o -name \*.o -o -name \*\~ -o -name \*.bin -o...
Feb 3rd
1 note
“find . -type f -exec grep -il 'Mario' {} +”
Feb 2nd
January 2012
9 posts
Sublime.
Good Stuff for SublimeText2 { "keys": ["ctrl+super+g"], "command": "find_all_under" }, { "keys": ["super+d"], "command": "find_under_expand" }, { "keys": ["ctrl+s"], "command": "show_overlay", "args": {"overlay": "goto", "text": "#"} },
Jan 31st
“The thing about being a manager is you are involved in a lot more stuff at once,...”
–  Awesome Manager
Jan 20th
2 notes
Jan 20th
8,559 notes
Android Design - Welcome →
Jan 13th
Jan 11th
Container and Image
Something as simple as a a tag wrapping an image can be some times frustrating when you don’t know how to work around them. Today making the a fit perfectly over the child ( a img tag) made me think for a minute there. Leaving this note to myself to avoid having to think about it again: Annoying spacing huh? Anyway to fix it just add vertical-align:middle to the child and it will...
Jan 9th
“aria2 Command Line Download Utility”
– aria2 project
Jan 9th
Profiling CSS for fun and profit. Optimization... →
Jan 6th
Subtle Patterns | Free textures for your next web... →
Jan 3rd
December 2011
11 posts
“sudo hostname”
– terminal.app - Hostname issue in Mac OS X Lion - Super User
Dec 28th
All Functions | Compass Documentation →
Dec 21st
5 tags
Compass: ie-hex-str()
There are times where you need to provide “support” for gradients, on the shitty internet explorer 7-8. And doing it with Sass mixins is not as simple as one would want. It’ll work some times, and other times won’t work. Problems occur when you put colors that can be minified, like #FFFFFF which Sass will minify to #FFF. What happens if you use #FFF on a IE filter?...
Dec 21st
4 notes
Developing Grammar Files on Sublime →
Dec 18th
1 note
Golden Ratio Mixin — Gist →
Dec 18th