I reinstalled my system this weekend. Thinks are running quite smoothly.
- Install OS X 10.6
- Google Chrome Dev [download]
- Google Chrome Beta [download]
- LaunchBar [download]
- Transmit 5 [download]
- The Unarchiver [download]
| #!/usr/bin/env ruby | |
| # Made by Pieter de Bie <[email protected]> | |
| # Based on a "Pastie" task by someone | |
| require "tempfile" | |
| GIST_URL = 'http://gist.github.com/gists' | |
| GIST_LOGIN_URL = 'https://gist.github.com/session' | |
| USERNAME = "pieter" | |
| TOKEN = "SweetTokenPower" |
| var anim = 1; | |
| if ( anim ){ | |
| UIView.beginAnimations_context(null, null); | |
| UIView.setAnimationDuration(0.4) | |
| } | |
| var orientation = 1; | |
| var x = TransitionView.image.image.size.width; |
| ====================================================== | |
| Setting up Django using Apache/mod_wsgi on Ubuntu 8.10 | |
| ====================================================== | |
| This article will cover setting up Django using Apache/mod_wsgi on Ubuntu | |
| 8.10. The article is targeted at a production environment, but keep in mind | |
| this is a more generalized environment. You may have different requirements, | |
| but this article should at least provide the stepping stones. | |
| The article will use distribution packages where nesscary. As of 8.10 the |
| # Build an inverted index for a full-text search engine with Redis. | |
| # Copyright (C) 2009 Salvatore Sanfilippo. Under the BSD License. | |
| # USAGE: | |
| # | |
| # ruby invertedindex.rb add somedir/*.c | |
| # ruby invertedindex.rb add somedir/*.txt | |
| # ruby search your query string | |
| require 'rubygems' | |
| require 'redis' |
I reinstalled my system this weekend. Thinks are running quite smoothly.
| #!/bin/bash | |
| # Author: Chmouel Boudjnah <[email protected]> | |
| # Not officially supported by Rackspace only as a best effort basis :) | |
| # Define yes to make it to copy to url to clipboard (via a shortened url | |
| # service) You need to have the software xclip installed in your system. | |
| COPY_URL_TO_CLIPBOARD=yes | |
| # Containers to ignore in the list | |
| CONTAINERS_TO_IGNORE=".CDN_ACCESS_LOGS" |
| #!/usr/bin/env bash | |
| # | |
| # url : https://gist.github.com/672684 | |
| # version : 2.0.2 | |
| # name : appify | |
| # description : Create the simplest possible mac app from a shell script. | |
| # usage : cat my-script.sh | appify MyApp | |
| # platform : Mac OS X | |
| # author : Thomas Aylott <[email protected]> |
| #!/bin/bash | |
| if [ "$1" = "-h" -o "$1" = "--help" -o -z "$1" ]; then cat <<EOF | |
| appify v3.0.1 for Mac OS X - http://mths.be/appify | |
| Creates the simplest possible Mac app from a shell script. | |
| Appify takes a shell script as its first argument: | |
| `basename "$0"` my-script.sh |
| git tag $(date +%Y-%m-%d_release) | |
| git push origin $(date +%Y-%m-%d_release) |