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
TARGET_NAME = "Rivals" | |
RELEASE_OUTPUT_PATH = File.expand_path("~/proged/releases/#{TARGET_NAME}") | |
CONFIGURATION = ENV['CONFIGURATION'] || "Release" | |
SDK_VERSION = ENV['SDK'] || 'iphoneos3.1' | |
desc "Build main target and zip the release bundle (also bumps all versions)." | |
task :release => ['bump:all'] do | |
puts "* Building #{CONFIGURATION} release." | |
`xcodebuild -target #{TARGET_NAME} -configuration #{CONFIGURATION} -sdk #{SDK_VERSION}` |
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
#!/usr/bin/env ruby | |
# Changelog: | |
# - added zip support | |
# - added support for cmd-line list of bundles to update | |
git_bundles = [ | |
"http://github.com/astashov/vim-ruby-debugger.git", | |
#"http://github.com/msanders/snipmate.vim.git", | |
"http://github.com/scrooloose/nerdtree.git", |
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/bash | |
# Shell script to mount SSHFS while MacFusion is defunctional | |
# original idea by: renatojf | |
# written by: [email protected] | |
# Split the $1 for useful information | |
usr=${1/@*/} | |
usr=${usr:=$USER} | |
[[ $1 =~ ":" ]] && dst=${1/*:/} |
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/bash | |
# Function to connect to SMTP and send mail to it | |
# returns: | |
# 0 - SUCCESS | |
# 1 - FAILURE: unable to complete session to DATA command | |
# 2 - FAILURE: problems after DATA command (server did not enqueue the message) | |
function bash_mail(){ | |
# Default configuration | |
# Can be overridden by ARGV in order: TO, SUBJECT, MESSAGE, FROM, SERVER |
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
#!/usr/bin/env sh | |
# main.command | |
# AutomatorFFmpeg | |
# Created by Laas Toom on 17.03.10. | |
# Copyright (c) 2010 Laas Toom, All Rights Reserved. | |
mypath=$(dirname $0) | |
if [[ -z "$ffmpeg_bin" ]]; then ffmpeg_bin=$(which ffmpeg); fi |
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
class RobinHood | |
# Ask for skills: RobinHood.can_shoot_bow? | |
SKILLS=[:fight_with_sword, :shoot_bow, :ride_on_horseback, | |
:sneak, :survive_in_forest, :get_the_word_out, | |
:speak_english] | |
# Ask for personality: RobinHood.seeks_problems? | |
PERSONALITY = [:seeks_problems, :gets_things_done, :has_fun, | |
:loves_adrenaline, :has_style, :outlaw] |
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
require 'test_helper' | |
require 'mocha' | |
class MmoTest < ActiveSupport::TestCase | |
# Set up equivalence classes for the tests | |
def setup | |
# Equivalence classes | |
@styles = { | |
"video" => { |
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 -e | |
#/ Usage: pow [on|off] | |
#/ Toggle between running Pow (http://pow.cx) and Apache on Mac OS X. | |
# Show Usage | |
function usage { | |
grep '^#/' "$0" | cut -c4- | |
exit 2 | |
} | |
[ -z "$1" -o "$1" = "--help" ] && usage |
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
run ->(e){ n=e['PATH_INFO'][1..-1]; [200, {'Content-type'=>'text/html'}, ["Hello #{n}!"]] } |
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
# encoding: utf-8 | |
et: | |
errors: | |
messages: | |
expired: "on aegunud, palun küsi uus" | |
not_found: "ei leitud" | |
already_confirmed: "on juba kinnitatud, proovi sisse logida" | |
not_locked: "ei olnud lukus" | |
not_saved: |
OlderNewer