Public Gists by topfunky

Gravatar
Sat Oct 10 15:12:47 -0700 2009
1
2
3
# Convert xib files to Cappuccino cib files.
#
 
Gravatar
Mon Oct 05 13:11:27 -0700 2009
1
2
3
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
gist: 200001 Render After Effects diagra...
Gravatar
Fri Oct 02 11:59:11 -0700 2009
1
2
3
 
namespace :ae do
 
Gravatar
Fri Oct 02 11:58:38 -0700 2009
1
2
3
 
namespace :ae do
 
gist: 169876 Munin plugin for beanstalk ...
Gravatar
Tue Aug 18 11:45:37 -0700 2009
1
2
3
#!/opt/ruby-enterprise/bin/ruby
 
# MODIFIED: Minor fork to run smoothly under Ruby 1.8.6. Heredoc cleanup.
Gravatar
Thu Jul 16 12:24:57 -0700 2009
1
2
3
# Create a remote Mercurial repository and clone locally.
# Mercurial can manage an empty directory, so it can be done simply.
function hg-new {
Gravatar
Fri May 15 12:20:09 -0700 2009
1
2
3
#!/usr/bin/env ruby
 
# Textileise things.
Gravatar
Mon May 11 14:11:39 -0700 2009
1
2
3
if (Dir.exist?(NSBundle.mainBundle.privateFrameworksPath))
  $:.map! { |x| x.sub(/^\/Library\/Frameworks/, NSBundle.mainBundle.privateFrameworksPath) }
  $:.unshift NSBundle.mainBundle.resourcePath.fileSystemRepresentation
Gravatar
Mon Feb 23 21:16:47 -0800 2009
1
2
3
(defun enter-to-previous-line ()
  (interactive)
  (beginning-of-line)
Gravatar
Thu Feb 12 12:58:11 -0800 2009
1
2
3
#!/usr/bin/perl
 
# Graphical tree output of a filesystem
Gravatar
Sun Jan 25 12:19:17 -0800 2009
1
2
3
// And what about block-based contexts:
 
  NSString * myString = @"Bacon";
Gravatar
Mon Nov 24 09:57:48 -0800 2008
1
2
3
# DESCRIPTION: Cap task to setup the current (initialized) git directory as a remote repository.
#
# INSTALL: Copy to home directory as ~/.caprc
Gravatar
Thu Nov 20 12:18:39 -0800 2008
1
2
3
#!/bin/env ruby
 
##
Gravatar
Wed Nov 12 15:26:18 -0800 2008
1
2
3
desc "Uninstall all Merb gems for a fresh start"
task "merb:uninstall" do
  cmd = [
Gravatar
Tue Nov 04 15:05:01 -0800 2008
1
2
3
require 'rubygems'
require 'merb-core'
 
Gravatar
Tue Nov 04 13:07:00 -0800 2008
1
2
3
# OUTPUT
# Called with: foo : html : flatapp_rc5
# Called with: flatapp_rc5 : html : flatapp_rc5
Gravatar
Tue Nov 04 10:29:17 -0800 2008
1
2
3
irb> require 'rubygems'; require 'beanstalk-client';
irb> p = Beanstalk::Pool.new(['localhost:11300'])
EOFError: EOFError
Gravatar
Fri Oct 10 09:52:18 -0700 2008
1
2
3
 
desc "Install merb from the repository"
task :default do
Gravatar
Fri Oct 03 10:24:13 -0700 2008
1
2
3
  # Updated for current plugin
  def log_to_exceptional(exception)
    logger.info "Exception #{exception.inspect}"
Gravatar
Sat Sep 13 11:32:42 -0700 2008
1
2
3
# NOTE: See further development and a gem at http://github.com/topfunky/basic_model
 
require 'couchrest'