This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set :sync_directories, ["public/system/images"] | |
set :sync_backups, 3 | |
set :db_file, "mongoid.yml" | |
set :db_drop, '--drop' # drop database (rewrites everything) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
projectfile=`find -d . -name 'project.pbxproj'` | |
projectdir=`echo *.xcodeproj` | |
projectfile="${projectdir}/project.pbxproj" | |
tempfile="${projectdir}/project.pbxproj.out" | |
savefile="${projectdir}/project.pbxproj.mergesave" | |
cat $projectfile | grep -v "<<<<<<< HEAD" | grep -v "=======" | grep -v "^>>>>>>> " > $tempfile | |
cp $projectfile $savefile |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# addDebugSettingsChild.sh | |
# | |
# Simple script to inject a Debug menu in an iPhone Settings plist. | |
# | |
# created 10.15.2008 by Andy Mroczkowski, mrox.net | |
THIS="`basename $0`" | |
PLISTBUDDY="/usr/libexec/PlistBuddy -x" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// AutoLocalize.h | |
// AutoLocalize | |
// | |
// Created by Stefan Matthias Aust on 05.08.11. | |
// Copyright 2011 I.C.N.H. All rights reserved. | |
// | |
#import <UIKit/UIKit.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# rails new NAME -OJ -m https://gist.github.com/raw/903515/rails-template.rb | |
remove_file 'README' | |
remove_file 'public/index.html' | |
remove_file 'public/images/rails.png' | |
prepend_file 'config/boot.rb' do <<-RB | |
begin | |
require 'yaml' | |
YAML::ENGINE.yamler = 'syck' |