Whatever it is that you choose to do, follow these two simple rules:
- Be friendly.
- Have fun.
#!/usr/bin/env ruby | |
# | |
# CHANGELOG generator | |
# | |
# Usage: | |
# | |
# $ changelog [SINCE UNTIL] | |
# | |
# This script collects git commits from a given range (SINCE and UNTIL | |
# are optional refs, SINCE defaults to the last tag, UNTIL to HEAD). |
Test |
tell application "Address Book" | |
activate | |
set thePeople to selection | |
repeat with thePerson in thePeople | |
set note of thePerson to "" | |
end repeat | |
save | |
end tell |
RewriteEngine On | |
RewriteBase / | |
# ensure the browser supports gzip encoding | |
RewriteCond %{HTTP:Accept-Encoding} \b(x-)?gzip\b | |
RewriteCond %{REQUEST_FILENAME}.gz -s | |
RewriteRule ^(.+) $1.gz [L] | |
# ensure correct Content-Type and add encoding header | |
<FilesMatch \.css\.gz$> |
#!/usr/bin/env ruby | |
# dependencies: | |
# - ffmpeg (`brew install ffmpeg`) | |
puts "Usage: plopp DIR" and exit unless dir = ARGV[0] | |
Dir["#{dir}/*.mov"].each do |input| | |
output = File.basename(input, '.mov') | |
system "ffmpeg -i '#{input}' -map 0:0 -vn -acodec copy #{output}-1.m4a -map 0:1 -vn -acodec copy #{output}-2.m4a" |
autoload -U colors && colors | |
autoload -Uz vcs_info | |
zstyle ':vcs_info:*' stagedstr '%F{green}●' | |
zstyle ':vcs_info:*' unstagedstr '%F{yellow}●' | |
zstyle ':vcs_info:*' check-for-changes true | |
zstyle ':vcs_info:*' enable git | |
theme_precmd () { | |
if [[ -z $(git ls-files --other --exclude-standard 2> /dev/null) ]] { |
# download and untar nginx | |
wget -O /tmp/nginx.tar.gz http://www.nginx.org/download/nginx-1.0.11.tar.gz | |
tar xzvf /tmp/nginx.tar.gz | |
rm /tmp/nginx.tar.gz | |
# download and untar extra modules | |
wget -O /tmp/nginx-echo-module.tar.gz https://github.com/agentzh/echo-nginx-module/tarball/v0.38rc1 | |
tar xzvf /tmp/nginx-echo-module.tar.gz | |
rm /tmp/nginx-echo-module.tar.gz |
# Helpers | |
def git_update(message) | |
git :add => ".", :commit => "-m '#{message}'" | |
end | |
def git_remove(file) | |
git :rm => file | |
end |
de: | |
errors: | |
messages: | |
not_found: "nicht gefunden" | |
already_confirmed: "wurde bereits bestätigt" | |
not_locked: "war nicht gesperrt" | |
devise: | |
omniauth_callbacks: | |
success: 'Sie wurden erfolgreich eingeloggt.' |