I hereby claim:
- I am thomet on github.
- I am thomet (https://keybase.io/thomet) on keybase.
- I have a public key ASDpwfbPAs5cXKIzhPQKy1Lz8I_SC6dyTJbUTL9TTpZ3jgo
To claim this, I am signing this object:
namespace :i18n do | |
desc "Find and list translation keys that do not exist in all locales" | |
task :missing_keys => :environment do | |
finder = MissingKeysFinder.new(I18n.backend) | |
finder.find_missing_keys | |
end | |
end | |
class MissingKeysFinder |
DEVICE=`hdiutil attach -nomount ram://2048000` # 2GB Ramdisk | |
diskutil erasevolume HFS+ "ramdisk" $DEVICE # mounted automaticaly in /Volumes/ramdisk | |
BASE_DIR=/usr/local/opt/mysql # MySQL home installed via Homebrew | |
DATA_DIR=/Volumes/ramdisk # Ramdisk home | |
SOCKET=/tmp/mysql_ram.sock # SOcket for the new mysql server instance | |
PID_FILE=/tmp/mysql_ram.pid # Pid file for the mysql server | |
# Create mysql db in ramdisk dir | |
mysql_install_db --basedir="$BASE_DIR" --datadir="$DATA_DIR" |
* http://docker.com | |
* guides: https://docs.docker.com/installation/#installation | |
* Docker hub: http://hub.docker.com | |
# Useage of existiing images - jira example (all in one) | |
* docker pull cptactionhank/atlassian-jira:latest # pull the image from docker hub | |
* docker run -p 8080:8080 cptactionhank/atlassian-jira:latest # run's a container with a jira instance | |
* http://docker-host:8080/ | |
# Useage of existing images - wordpress example (db and webserver) |
#cloud-config | |
coreos: | |
units: | |
- name: format-ephemeral.service | |
command: start | |
content: | | |
[Unit] | |
Description=Formats the ephemeral drive | |
[Service] |
function sdiff() { | |
wdiff <(echo "$1") <(echo "$2") | colordiff | |
} |
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/env ruby | |
# | |
# <bitbar.title>Not reviewed open Github PR's</bitbar.title> | |
# <bitbar.version>v1.0</bitbar.version> | |
# <bitbar.author>Thomas Metzmacher</bitbar.author> | |
# <bitbar.author.github>thomet</bitbar.author.github> | |
# <bitbar.desc>Shows all not from you reviewed and open Github PR's for specific users.</bitbar.desc> | |
# <bitbar.dependencies>ruby</bitbar.dependencies> | |
# |
#!/usr/bin/env ruby | |
# | |
# <bitbar.title>Amount of Github PR's and Commits for a specific search term</bitbar.title> | |
# <bitbar.version>v1.0</bitbar.version> | |
# <bitbar.author>Thomas Metzmacher</bitbar.author> | |
# <bitbar.author.github>thomet</bitbar.author.github> | |
# <bitbar.desc>Shows the count of Github PR's and Commits which matches a specifc search term.</bitbar.desc> | |
# <bitbar.dependencies>ruby</bitbar.dependencies> | |
# |
#!/usr/bin/env ruby | |
require 'rubocop' | |
module DirtyCop | |
extend self # In your face, style guide! | |
def bury_evidence?(file, line) | |
!report_offense_at?(file, line) | |
end |
# Clone this repo into you $ZHS_CUSTOM/plguins folder and enable it as plugin in your ~/.zshrc | |
# | |
# Clone | |
# > git clone https://gist.github.com/729dbb4216c9461eeb77e7aa7bc3e748.git $ZSH_CUSTOM/plugins/gac_spec | |
# | |
# Enable plugin in ~/.zshrc (if you have other plugins enabled, add gac_spec to your list) | |
# plugins=(gac_spec) | |
function changed_ruby_files () { | |
if [ "$1" != "" ] |