michaelfox + howto 233
Rake Tutorial | Jason Seifer
december 2010 by michaelfox
If you’re developing with Rails you’ve probably encountered rake once or twice. This blog post aims to walk you through where rake came from and an introduction on how to use it effectively in your Rails apps.
A Little Bit of History
Rake is the project of Jim Weirich. It’s a build tool. For a good laugh and an even more in depth history check out the "rational.rdoc" from the Rake documentation. Essentially, rake started as an idea for using Ruby inside of a Makefile. Though Jim doesn’t sound convinced from the tone in that document, it is a good idea.
programming
rails
ruby
tutorial
rake
make
build
tools
howto
A Little Bit of History
Rake is the project of Jim Weirich. It’s a build tool. For a good laugh and an even more in depth history check out the "rational.rdoc" from the Rake documentation. Essentially, rake started as an idea for using Ruby inside of a Makefile. Though Jim doesn’t sound convinced from the tone in that document, it is a good idea.
december 2010 by michaelfox
Editing the Quicksilver Shelf | russds.com
november 2010 by michaelfox
I’ve had various issues trying to edit the shelf in quicksilver. Some say to invoke QS, go to the shelf, then drag the item to the trash. This never seemed to work for me, so I sought out a better way. Here are two of them:
1. Invoke Quicksilver, then hit Command+Option+S. From there you can select the item you want to delete and then hit Delete or Backspace.
2. Edit the file: ~/Library/Application Support/Quicksilver/Shelves/General.qsshelf
quicksilver
shelf
tools
resources
hacks
fixes
reference
howto
1. Invoke Quicksilver, then hit Command+Option+S. From there you can select the item you want to delete and then hit Delete or Backspace.
2. Edit the file: ~/Library/Application Support/Quicksilver/Shelves/General.qsshelf
november 2010 by michaelfox
Introduction to using vim for Rails development ... - GIANT ROBOTS SMASHING INTO OTHER GIANT ROBOTS
november 2010 by michaelfox
Introduction to using vim for Rails development
Someone recently asked us to do “vim on Rails” screencasts.
So, we’re responding with this experiment. Let us know if this is valuable and we’ll try to improve things like audio quality.
rails
screencast
ide
screencasts
tutorial
ruby
development
editor
vim
linux
howto
video
environment
tools
resources
reference
dotfiles
config
setup
Someone recently asked us to do “vim on Rails” screencasts.
So, we’re responding with this experiment. Let us know if this is valuable and we’ll try to improve things like audio quality.
november 2010 by michaelfox
Integrating vim into your life - GIANT ROBOTS SMASHING INTO OTHER GIANT ROBOTS
november 2010 by michaelfox
More tips from thoughtbot about using vim, but this time with an emphasis on fitting it into your life.
vim
development
editor
howto
rails
reference
tips
command
cli
vimrc
settings
environment
tools
resources
ctags
keyboard
shortcuts
november 2010 by michaelfox
Cocoa Text System
october 2010 by michaelfox
Apple’s Cocoa text system is a complicated beast, but also extremely flexible, and with a bit of work, it can be molded to match many working styles. This how-to covers the 2 major ways of customizing the text input system: Default key bindings, and for still more control, input managers.
I’m writing this guide because nothing like it currently exists. There is incredible room for flexibility in customizing the Cocoa text environment, but most users—even power-users—have no idea of the available options. This is mostly because Apple’s documentation is 1) aimed at developers, and 2) often incomplete or ambiguous. Most users have no idea that they can look at a file which describes all of the shortcuts on the system, and that they can easily add their own shortcuts, or replace existing ones with differing functionality.
For instance, one of the most common complaints from new Windows and Linux/Unix switchers is that many of the shortcuts they are used to, such as using the Home and End keys to move to the beginning, respectively end, of a line or document, don’t work as they expect in OS X.
For new users, almost every text box you use is a Cocoa text box (or close enough to act the same as far as we’re concerned) — Safari web form boxes, the text field in iChat for sending new messages, the documents in Pages or TextEdit, the email composer in Mail, etc. Note: Some text boxes are not Cocoa however, so the tricks in this article still aren’t completely universal. Notably, Microsoft Word, Adobe applications, AppleWorks, and the text fields in Camino and Firefox won’t work with this hint.
I expect that all users of OS X can get something out of this guide. I’m starting with the basics, so that new users, unfamiliar with the terminal and the intricacies of OS X can be brought up to speed. But even the most experienced users should hopefully learn something from this article; I know I learned several new nifty things while writing it.
Disclaimer: it is possible, when mucking around with the text system, to send applications messages they aren’t expecting. This can cause them to crash. As long as you stick to standard text selectors, you should be fine, but I’m not responsible if your program crashes because of a binding you add.
bindings
cocoa
keybindings
keyboard
text
osx
mac
programming
development
textmate
input
editing
system
hack
productivity
editor
howto
tutorial
reference
★
I’m writing this guide because nothing like it currently exists. There is incredible room for flexibility in customizing the Cocoa text environment, but most users—even power-users—have no idea of the available options. This is mostly because Apple’s documentation is 1) aimed at developers, and 2) often incomplete or ambiguous. Most users have no idea that they can look at a file which describes all of the shortcuts on the system, and that they can easily add their own shortcuts, or replace existing ones with differing functionality.
For instance, one of the most common complaints from new Windows and Linux/Unix switchers is that many of the shortcuts they are used to, such as using the Home and End keys to move to the beginning, respectively end, of a line or document, don’t work as they expect in OS X.
For new users, almost every text box you use is a Cocoa text box (or close enough to act the same as far as we’re concerned) — Safari web form boxes, the text field in iChat for sending new messages, the documents in Pages or TextEdit, the email composer in Mail, etc. Note: Some text boxes are not Cocoa however, so the tricks in this article still aren’t completely universal. Notably, Microsoft Word, Adobe applications, AppleWorks, and the text fields in Camino and Firefox won’t work with this hint.
I expect that all users of OS X can get something out of this guide. I’m starting with the basics, so that new users, unfamiliar with the terminal and the intricacies of OS X can be brought up to speed. But even the most experienced users should hopefully learn something from this article; I know I learned several new nifty things while writing it.
Disclaimer: it is possible, when mucking around with the text system, to send applications messages they aren’t expecting. This can cause them to crash. As long as you stick to standard text selectors, you should be fine, but I’m not responsible if your program crashes because of a binding you add.
october 2010 by michaelfox
GIT Howto Index
september 2010 by michaelfox
Here is a collection of mailing list postings made by various people describing how they use git in their workflow.
*
maintain-git by Junio C Hamano <gitster@pobox.com>
Imagine that git development is racing along as usual, when our friendly neighborhood maintainer is struck down by a wayward bus. Out of the hordes of suckers (loyal developers), you have been tricked (chosen) to step up as the new maintainer. This howto will show you "how to" do it.
*
rebase-from-internal-branch by Junio C Hamano <gitster@pobox.com>
In this article, JC talks about how he rebases the public "pu" branch using the core GIT tools when he updates the "master" branch, and how "rebase" works. Also discussed is how this applies to individual developers who sends patches upstream.
*
rebuild-from-update-hook by Junio C Hamano <gitster@pobox.com>
In this how-to article, JC talks about how he uses the post-update hook to automate git documentation page shown at http://www.kernel.org/pub/software/scm/git/docs/.
*
recover-corrupted-blob-object by Linus Torvalds <torvalds@linux-foundation.org>
Some tricks to reconstruct blob objects in order to fix a corrupted repository.
*
revert-a-faulty-merge by Linus Torvalds <torvalds@linux-foundation.org>, Junio C Hamano <gitster@pobox.com>
Sometimes a branch that was already merged to the mainline is later found to be faulty. Linus and Junio give guidance on recovering from such a premature merge and continuing development after the offending branch is fixed.
*
revert-branch-rebase by Junio C Hamano <gitster@pobox.com>
In this article, JC gives a small real-life example of using git revert command, and using a temporary branch and tag for safety and easier sanity checking.
*
separating-topic-branches by Junio C Hamano <gitster@pobox.com>
In this article, JC describes how to separate topic branches.
*
setup-git-server-over-http by Rutger Nijlunsing <rutger@nospam.com>
*
update-hook-example by Junio C Hamano <gitster@pobox.com> and Carl Baldwin <cnb@fc.hp.com>
An example hooks/update script is presented to implement repository maintenance policies, such as who can push into which branch and who can make a tag.
*
use-git-daemon
*
using-merge-subtree by Sean <seanlkml@sympatico.ca>
In this article, Sean demonstrates how one can use the subtree merge strategy.
development
git
howto
tools
workflow
collection
reference
tutorial
tips
docs
documentation
resourc
*
maintain-git by Junio C Hamano <gitster@pobox.com>
Imagine that git development is racing along as usual, when our friendly neighborhood maintainer is struck down by a wayward bus. Out of the hordes of suckers (loyal developers), you have been tricked (chosen) to step up as the new maintainer. This howto will show you "how to" do it.
*
rebase-from-internal-branch by Junio C Hamano <gitster@pobox.com>
In this article, JC talks about how he rebases the public "pu" branch using the core GIT tools when he updates the "master" branch, and how "rebase" works. Also discussed is how this applies to individual developers who sends patches upstream.
*
rebuild-from-update-hook by Junio C Hamano <gitster@pobox.com>
In this how-to article, JC talks about how he uses the post-update hook to automate git documentation page shown at http://www.kernel.org/pub/software/scm/git/docs/.
*
recover-corrupted-blob-object by Linus Torvalds <torvalds@linux-foundation.org>
Some tricks to reconstruct blob objects in order to fix a corrupted repository.
*
revert-a-faulty-merge by Linus Torvalds <torvalds@linux-foundation.org>, Junio C Hamano <gitster@pobox.com>
Sometimes a branch that was already merged to the mainline is later found to be faulty. Linus and Junio give guidance on recovering from such a premature merge and continuing development after the offending branch is fixed.
*
revert-branch-rebase by Junio C Hamano <gitster@pobox.com>
In this article, JC gives a small real-life example of using git revert command, and using a temporary branch and tag for safety and easier sanity checking.
*
separating-topic-branches by Junio C Hamano <gitster@pobox.com>
In this article, JC describes how to separate topic branches.
*
setup-git-server-over-http by Rutger Nijlunsing <rutger@nospam.com>
*
update-hook-example by Junio C Hamano <gitster@pobox.com> and Carl Baldwin <cnb@fc.hp.com>
An example hooks/update script is presented to implement repository maintenance policies, such as who can push into which branch and who can make a tag.
*
use-git-daemon
*
using-merge-subtree by Sean <seanlkml@sympatico.ca>
In this article, Sean demonstrates how one can use the subtree merge strategy.
september 2010 by michaelfox
My Common Git Workflow « Katz Got Your Tongue?
september 2010 by michaelfox
A recent post that was highly ranked on Hacker News complained about common git workflows causing him serious pain. While I won’t get into the merit of his user experience complaints, I do want to talk about his specific use-case and how I personally work with it in git.
Best I can tell, Mike Taylor (the guy in the post) either tried to figure out a standard git workflow on his own, or he followed poor instructions that tried to bootstrap someone from an svn background while intentionally leaving out important information. In any event, I’ll step through my personal workflow for his scenario, contrasting with subversion as I go.
development
git
howto
svn
workflow
tips
Best I can tell, Mike Taylor (the guy in the post) either tried to figure out a standard git workflow on his own, or he followed poor instructions that tried to bootstrap someone from an svn background while intentionally leaving out important information. In any event, I’ll step through my personal workflow for his scenario, contrasting with subversion as I go.
september 2010 by michaelfox
How to Create Perfect Pre Tags • Perishable Press
august 2010 by michaelfox
If you operate a website that features lots of code examples, you know how important it is to spend some quality time styling the <pre> element. When left unstyled, wild <pre> tags will mangle your preformatted content and destroy your site’s layout. Different browsers treat the <pre> tag quite differently, varying greatly in their default handling of font-sizing, scrollbar-rendering, and word-wrapping. Indeed, getting your preformatted code to look consistent, usable, and stylish across browsers is no easy task, but it certainly can be done. In this article, I’ll show you everything you need to create perfect <pre> tags.
html
code
pre
formatting
syntax
highlighting
source
blog
tutorial
howto
august 2010 by michaelfox
+Sticky Footer HTML Code
april 2010 by michaelfox
This is the basic structure of the HTML code needed for this sticky footer solution;
css
html
footer
sticky
tutorial
howto
reference
april 2010 by michaelfox
BestTechVideos :: Tech Videos, Screencasts, Webinars, Techtalks, Tutorials
january 2010 by michaelfox
Best Tech Videos is a user driven social content website dedicated to finding the best educational videos for developers, designers, managers and other people in IT.
screencast
tutorial
tutorials
video
media
download
howto
january 2010 by michaelfox
Zend Framework :: Tech Videos, Screencasts, Webinars, Techtalks, Tutorials
january 2010 by michaelfox
Zend Framework Google data PHP Client Update. Getting Started with the Google Data PHP Client Library. Introduction to Zend Framework. PHP BootCamp Kick-off - Zend Framework. PHP & Zend Technologie...
videos
tutorials
howto
download
screencasts
zend
php
january 2010 by michaelfox
PHP Programming Videos for Advanced Viewers :: Tech Videos, Screencasts, Webinars, Techtalks, Tutorials
january 2010 by michaelfox
Facebook: Science and the Social Graph. Running PHP on the JVM with P8. PHP102: Language Fundamentals. Google Tech Talks: Web Services Middleware - All Grown Up! (PHP Programming Videos for Advance...
videos
tutorials
howto
download
screencasts
php
january 2010 by michaelfox
Javascript Videos - Small Thing, That Drives The World for Advanced Viewers :: Tech Videos, Screencasts, Webinars, Techtalks, Tutorials
january 2010 by michaelfox
Introduction to SproutCore. Interoperable JavaScript-Based Client/Server Web Applications. Developing JavaScript Desktop Applications. JavaScript: Measuring Performance, Games, and Distributed Test...
javascript
videos
tutorials
jquery
howto
download
screencasts
january 2010 by michaelfox
17 Hours of JavaScript from the Masters | Nettuts+
november 2009 by michaelfox
Douglas Crockford. John Resig. Peter-Paul Koch. Nicolas C. Zakas. If you recognize these names, you probably know what they all have in common: they're
javascript
video
tutorial
reference
download
jquery
development
webdev
videos
tutorials
howto
screencasts
november 2009 by michaelfox
related tags
*todo ⊕ addons ⊕ addressbook ⊕ admin ⊕ advice ⊕ airport ⊕ ajax ⊕ align ⊕ amazon ⊕ analytics ⊕ antivirus ⊕ apache ⊕ apartment ⊕ api ⊕ app ⊕ apple ⊕ applescript ⊕ apps ⊕ apt ⊕ architecture ⊕ arduino ⊕ array ⊕ art ⊕ article ⊕ asterisk ⊕ audio ⊕ automation ⊕ automator ⊕ background ⊕ backup ⊕ baseboards ⊕ bash ⊕ beginner ⊕ benchmarking ⊕ bestpractices ⊕ bindings ⊕ blog ⊕ book ⊕ bookmarklets ⊕ boot ⊕ boxee ⊕ browser ⊕ browsers ⊕ brushes ⊕ bugreport ⊕ bugs ⊕ build ⊕ bundle ⊕ business ⊕ buttons ⊕ c# ⊕ cache ⊕ calendar ⊕ candles ⊕ carousel ⊕ center ⊕ centering ⊕ chart ⊕ chat ⊕ cheatsheat ⊕ cheatsheet ⊕ clam ⊕ class ⊕ clean ⊕ cleaning ⊕ cli ⊕ clock ⊕ clone ⊕ cms ⊕ cocoa ⊕ code ⊕ codecomplete ⊕ coding ⊕ collaboration ⊕ collection ⊕ color ⊕ columns ⊕ command ⊕ commandline ⊕ community ⊕ compass ⊕ complaint ⊕ concrete ⊕ config ⊕ configuration ⊕ construction ⊕ consumerist ⊕ convert ⊕ corners ⊕ couchdb ⊕ countertop ⊕ cron ⊕ crontab ⊕ css ⊕ css3 ⊕ ctags ⊕ customer_service ⊕ customization ⊕ data ⊕ database ⊕ databaseobject ⊕ datarepresentation ⊕ debian ⊕ debug ⊕ decorating ⊕ demonstration ⊕ design ⊕ desk ⊕ development ⊕ dialin ⊕ distro ⊕ divx ⊕ diy ⊕ docs ⊕ documentation ⊕ dotfiles ⊕ dotmac ⊕ download ⊕ dropbox ⊕ dropdown ⊕ duplication ⊕ dvd ⊕ dvdrip ⊕ dynamic ⊕ ebooks ⊕ editing ⊕ editor ⊕ education ⊕ ee ⊕ email ⊕ environment ⊕ epub ⊕ equal-height-columns ⊕ equalheight ⊕ event ⊕ example ⊕ exercise ⊕ explanation ⊕ expressionengine ⊕ extension ⊕ fakeblood ⊕ faq ⊕ ffmpeg ⊕ film ⊕ filter ⊕ finance ⊕ find ⊕ firebug ⊕ firefox ⊕ firewall ⊕ fitness ⊕ fixes ⊕ float ⊕ food ⊕ footer ⊕ format ⊕ formatting ⊕ forms ⊕ forum ⊕ forums ⊕ framework ⊕ freebsd ⊕ frugal ⊕ furniture ⊕ gaim ⊕ gamedeveloping ⊕ games ⊕ gaming ⊕ garageband ⊕ gardening ⊕ geek ⊕ generator ⊕ gh-pages ⊕ GIMP ⊕ git ⊕ git-reference ⊕ github ⊕ glasses ⊕ glossy ⊕ google ⊕ googlewave ⊕ gradient ⊕ graph ⊕ graphics ⊕ green ⊕ grid ⊕ grunge ⊕ gui ⊕ guide ⊕ hack ⊕ hacks ⊕ hdd ⊕ HDTV ⊕ health ⊕ help ⊕ helpdesk ⊕ highlighting ⊕ home ⊕ homeautomation ⊕ homeowner ⊕ hometheater ⊕ hooks ⊕ hosting ⊕ house ⊕ household ⊕ howo ⊕ howto ⊖ htaccess ⊕ htmac ⊕ html ⊕ html5 ⊕ htpc ⊕ icons ⊕ ide ⊕ ie ⊕ ie6 ⊕ image ⊕ images ⊕ infrastructure ⊕ inline ⊕ input ⊕ inspiration ⊕ install ⊕ installation ⊕ interface ⊕ investing ⊕ iphone ⊕ irc ⊕ ISP ⊕ iterate ⊕ iterm ⊕ itunes ⊕ java ⊕ javascript ⊕ jflow ⊕ joomla ⊕ jquery ⊕ kernel ⊕ keybindings ⊕ keyboard ⊕ kindle ⊕ lamp ⊕ launchbar ⊕ layout ⊕ ldap ⊕ learning ⊕ library ⊕ lifehacker ⊕ limiter ⊕ linux ⊕ list ⊕ login ⊕ lua ⊕ mac ⊕ mac.cron ⊕ macmini ⊕ macosx ⊕ magazine ⊕ make ⊕ maker ⊕ md5 ⊕ media ⊕ mediacenter ⊕ menu ⊕ mini ⊕ mirror ⊕ mobile ⊕ mobileme ⊕ model ⊕ mod_rewrite ⊕ money ⊕ monitor ⊕ movies ⊕ mvc ⊕ mysql ⊕ mythtv ⊕ namespaces ⊕ NAS ⊕ navigation ⊕ network ⊕ networking ⊕ node ⊕ nodejs ⊕ notes ⊕ objective-c ⊕ objectivec ⊕ oo ⊕ oop ⊕ opensource ⊕ oreilly ⊕ organization ⊕ osx ⊕ outlook ⊕ package ⊕ pagination ⊕ paleo ⊕ paper ⊕ parse ⊕ password ⊕ patterns ⊕ paypal ⊕ pbx ⊕ performance ⊕ perl ⊕ phone ⊕ photo ⊕ photography ⊕ photoshop ⊕ php ⊕ pipes ⊕ plugin ⊕ plugins ⊕ positioning ⊕ poster ⊕ pre ⊕ presentation ⊕ productivity ⊕ programming ⊕ project ⊕ prompt ⊕ prototype ⊕ psd ⊕ publishing ⊕ pull-to-reload ⊕ pvr ⊕ query ⊕ quicksilver ⊕ raid ⊕ rails ⊕ rake ⊕ reference ⊕ regiestry ⊕ resourc ⊕ resources ⊕ reusablecode ⊕ reuse ⊕ revo ⊕ rewrite ⊕ rhino ⊕ rss ⊕ ruby ⊕ sandals ⊕ sass ⊕ scalability ⊕ scaling ⊕ scm ⊕ screencast ⊕ screencasting ⊕ screencasts ⊕ scripting ⊕ scripts ⊕ scss ⊕ search ⊕ security ⊕ server ⊕ settings ⊕ setup ⊕ shelf ⊕ shell ⊕ shoes ⊕ shortcodes ⊕ shortcuts ⊕ sitemap ⊕ slicing ⊕ slider ⊕ slides ⊕ slideshow ⊕ smell ⊕ snippet ⊕ snippets ⊕ snippits ⊕ sorting ⊕ source ⊕ sprite ⊕ sql ⊕ ssl ⊕ stackoverflow ⊕ standard ⊕ statistics ⊕ stats ⊕ sticky ⊕ stock ⊕ storage ⊕ style ⊕ stylesheets ⊕ sustainable ⊕ svn ⊕ syntax ⊕ sysadmin ⊕ system ⊕ table ⊕ table-cell ⊕ tableview ⊕ taxonomies ⊕ teaching ⊕ technique ⊕ techniques ⊕ technology ⊕ template ⊕ terminal ⊕ testing ⊕ text ⊕ textmate ⊕ texture ⊕ time ⊕ tips ⊕ toolkit ⊕ tools ⊕ toread ⊕ training ⊕ traveltech ⊕ trick ⊕ tricks ⊕ tutorial ⊕ tutorials ⊕ tv ⊕ tweetie ⊕ ubuntu ⊕ ubuntuserver ⊕ ui ⊕ unix ⊕ unix.find ⊕ urchin ⊕ usability ⊕ utility ⊕ validation ⊕ versioncontrol ⊕ vertical ⊕ vertical-center ⊕ video ⊕ videogames ⊕ videolan ⊕ videos ⊕ vim ⊕ vimrc ⊕ virus ⊕ visualhub ⊕ vlc ⊕ voip ⊕ wave ⊕ web ⊕ web2.0 ⊕ webdav ⊕ webdesign ⊕ webdev ⊕ webinars ⊕ website ⊕ widescreen ⊕ widget ⊕ wifi ⊕ wiki ⊕ windows ⊕ wordpress ⊕ work ⊕ workaround ⊕ workflow ⊕ workout ⊕ xbmc ⊕ xbox ⊕ xcode ⊕ xml ⊕ xna ⊕ xpi ⊕ xterm ⊕ yahoo ⊕ yui ⊕ zend ⊕ zendcon ⊕ zsh ⊕ ★ ⊕Copy this bookmark: