March 2011
1 post
1 tag
January 2011
2 posts
Use presence | Ola Bini: Programming Language... →
1 tag
attr_accessor_with_default
rubyquicktips:
Here’s a method I haven’t seen before: attr_accessor_with_default
This ActiveSupport method allows you to set a default value for an attribute accessor:
class Person
attr_accessor_with_default :age, 25
end
some_person.age # => 25
some_person.age = 26
some_person.age # => 26
You can even pass in a block.
October 2010
2 posts
1 tag
The essentials of writing high quality Javascript →
dancroak:
Long, but looks like it contains some good nuggets.
2 tags
bash-it: A community bash framework in the spirit... →
thechangelog:
Robby Russell’s zsh framework indeed made us say oh-my-zsh!. With over forty themes and a dozen plugins, oh-my-zsh makes it easy to pimp your zsh.
If you’re perfectly happy with bash and things like right side prompts, smart tab completions, and shared session history aren’t your bag, then check out bash-it from Robert Evans. Like oh-my-zsh, bash-it provides a community framework...
August 2010
6 posts
1 tag
GithubFinder: JavaScript-powered Github repo... →
thechangelog:
For those times you need to quickly browse a GitHub repo but don’t want to clone it locally, check out GitHubFinder from Alex Le.
Modeled after the Mac OSX finder, GitHubFinder provides a familiar drill-down navigation to browse all the files in a given repo. The project has a plugin-based architecture for extensibility and includes keyboard navigation, file diffs, basic...
2 tags
facebook-ios-sdk: Drop Facebook into your iOS... →
thechangelog:
Facebook loves iOS developers. First, they gave us Three20, a nice iOS app framework extracted from their popular native app. Now they’ve released the Facebook iOS SDK which lets you easily add authorization, API calls, and Facebook dialogs to your iOS apps.
Authorization
To authorize a user using OAuth2 you can simply create the Facebook client and call authorize
facebook =...
2 tags
Building Large jQuery Applications
View more presentations from Rebecca Murphey.
2 tags
The Changelog - Open Source moves fast. Keep up.:... →
Well as some of you have noticed, things have been a bit quiet around here this week. Fear not, we’re not about to stop covering the fast-moving world of open source. We’ve just been working to give The Changelog a fresh coat of paint. We love Tumblr, but creating custom themes isn’t the…
Fumblr looks fantastic. Can’t believe I didn’t look for something like this the other...
3 tags
Chris Eppstein's HAML/SASS Progress Bar
Awesome.
2 tags
dancroak:
Postgres as a secret weapon in Rails apps.
July 2010
2 posts
3 tags
HOWTO: Stream Your User Group Meetings
This should help anyone who wants to get a simple public live stream setup for a meeting of any type and record segments for future use. These instructions are Mac specific.
I’ve used this setup for several user group meetings and it’s worked out really
well. Here’s an example video from @commondream last year:
Setup
Download and install CamTwist (direct link)
Create an...
2 tags
June 2010
2 posts
2 tags
2 tags
May 2010
1 post
4 tags
Speed up Paperclip in tests
module Paperclip
def self.run cmd, params = "", expected_outcodes = 0
case cmd
when "identify"
return "100x100"
when "convert"
return
else
super
end
end
end
class Paperclip::Attachment
def post_process
end
end
via Pivotal
April 2010
2 posts
3 tags
iPad Orientation CSS →
webkitbits:
Cloud Four shows how it’s possible to change your CSS on the iPad based on orientation using media query declarations:
<link rel="stylesheet" media="all and (orientation:portrait)" href="portrait.css">
<link rel="stylesheet" media="all and (orientation:landscape)" href="landscape.css">
3 tags
February 2010
1 post
3 tags
January 2010
4 posts
3 tags
HTML5 Forms
I wasn’t aware of this, but here’s how the iPhone is able to display different keyboards based on Mobile Safari form fields:
The iPhone does not have a physical keyboard. All “typing” is done by tapping on an on-screen keyboard that pops up at appropriate times, like when you focus a form field in a web page. Apple did something very clever in the iPhone’s web browser. It...
1 tag
Be always at war with your vices, at peace with your neighbors, and let each new...
– Benjamin Frankiln (via rulesformyunbornson)
4 tags
Ryan Singer gives an extremly insightful talk on design for normal people.
Books Mentioned
Domain-Driven Design: Tackling Complexity in the Heart of Software
The Visual Display of Quantitative Information, 2nd edition
5 tags