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
et: | |
active_admin: | |
dashboard: Töölaud | |
dashboard_welcome: | |
welcome: "Tere tulemast Active Adminisse. See on vaikimisi töölaud." | |
call_to_action: "Et lisada töölauale sektsioonie, uuri 'app/admin/dashboard.rb'" | |
view: "Vaata" | |
edit: "Muuda" | |
delete: "Kustuta" | |
delete_confirmation: "Oled sa kindel, et soovid seda kustutada?" |
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 | |
# What git version to build | |
git_version="2.2.2" | |
# let's make sure we have all we need to proceed | |
sudo yum install curl-devel expat-devel gettext-devel openssl-devel zlib-devel autoconf | |
# Download sources | |
cd /tmp |
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
#!/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
# Mass-virtualhosting configuration for Nginx | |
# Sets up virtualhosts automatically, in the following way: | |
# test1.laas.tjs.ee -> /srv/laas/test1 | |
# app.tjs.ee -> /srv/prod/test1 | |
server { | |
# enable one of the following if you're on Linux or FreeBSD | |
listen 80 default deferred; # for Linux | |
# If you have IPv6, you'll likely want to have two separate listeners. |
OlderNewer