Advertisement :)
- pica - high quality and fast image resize in browser.
- babelfish - developer friendly i18n with plurals support and easy syntax.
You will like those projects!
#!/usr/bin/env ruby | |
# encoding: utf-8 | |
require 'stemmify' | |
require 'forwardable' | |
require 'command_line_reporter' | |
STP_FILE = File.join File.dirname(__FILE__), 'stp.txt' | |
TEXT_FILE = File.join File.dirname(__FILE__), 'metin.txt' |
#!/usr/bin/env ruby | |
require 'rake/clean' | |
begin | |
require 'highline/import' | |
require 'command_line_reporter' | |
rescue LoadError | |
$stderr.puts( | |
'Aşağıdaki gemlerin kurulu olduğundan emin olun.', '', |
# munge PATH | |
pathmunge() { | |
case ":${PATH}:" in *:"$1":*) return 0 ;; esac | |
[ "$2" = after ] && PATH=$PATH:$1 || PATH=$1:$PATH | |
} |
#!/usr/bin/env ruby | |
# encoding: utf-8 | |
class Hash | |
def make_attr | |
each_pair do |key, value| | |
self.class.send :define_method, key.to_s, Proc.new { value } | |
end | |
end |
name: "<container-name>" | |
image: "<container-image>" | |
tag: "<container-tag>" | |
cmd: ["<cmd>", "[args..]"] | |
env: ["FOO=BAR"] | |
workdir: "<directory>" | |
files: | |
- "file-1" | |
- "file-2" | |
remote: |
name: "<container-name>" | |
image: "<container-image>" | |
tag: "<container-tag>" | |
cmd: ["<cmd>", "[args..]"] | |
env: ["FOO=BAR"] | |
workdir: "<directory>" | |
user: "<nick-name>" | |
email: "<email>" |