View mig.key
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
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDU3eJEHlQkCqxxcMFyK9zJV89avN1CWvEmtxYxjrXwSH3vr1OBEIU7IS5CPupQLA6MlqCmzm0psYzZ2irP1XeKzxZQ0uvG3ReuXll7tHfqjWoQgAXpKc5K8Voc2V3Amt2uYCV8h25PhHWTwtau9n+Fp4PSjPCVmhCKBq7Hj/gHoaZpnKQOHPgVF/Bzvw6A0JgBKz6s7P7PZ+2e1yMkUPcKHZX+1P9XUeqhz941jiKccYx/XHTa4/+etvsjXC36HsuhV9ORkG5ZfSQ2vxUs6Ld/t37QRB1zKxznfjp99x6rp17TflhQuK7EE3iDrKqvJMAEm2IEZTQtDXqjcFiGRLkt mig@galois 2001 |
View redmine-my-issues.1h.rb
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 | |
# <bitbar.title>Redmine My Issues</bitbar.title> | |
# <bitbar.version>v1.0.0</bitbar.version> | |
# <bitbar.author>mig</bitbar.author> | |
# <bitbar.author.github>migrs</bitbar.author.github> | |
# <bitbar.desc></bitbar.desc> | |
# <bitbar.image></bitbar.image> | |
# <bitbar.dependencies>ruby</bitbar.dependencies> | |
# <bitbar.abouturl>https://github.com/migrs</bitbar.abouturl> |
View github-notifications.10m.rb
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 | |
# <bitbar.title>GitHub Notifications</bitbar.title> | |
# <bitbar.version>v1.0.0</bitbar.version> | |
# <bitbar.author>mig</bitbar.author> | |
# <bitbar.author.github>migrs</bitbar.author.github> | |
# <bitbar.desc></bitbar.desc> | |
# <bitbar.image></bitbar.image> | |
# <bitbar.dependencies>ruby</bitbar.dependencies> | |
# <bitbar.abouturl>https://github.com/migrs</bitbar.abouturl> |
View akashi-stamp.rb
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 | |
# <bitbar.title>AKASHI Stamps</bitbar.title> | |
# <bitbar.version>v1.0.0</bitbar.version> | |
# <bitbar.author>mig</bitbar.author> | |
# <bitbar.author.github>migrs</bitbar.author.github> | |
# <bitbar.desc></bitbar.desc> | |
# <bitbar.image></bitbar.image> | |
# <bitbar.dependencies>ruby</bitbar.dependencies> | |
# <bitbar.abouturl>https://github.com/migrs</bitbar.abouturl> |
View update_ec2_hosts.rb
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 | |
require 'json' | |
require "optparse" | |
options = { update: true } | |
argv = [] | |
OptionParser.new do |opt| | |
opt.on("--dry-run") { |v| options[:update] = false } | |
argv = opt.parse!(ARGV) |
View Kernel.php
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
<?php namespace App\Http; | |
use Illuminate\Foundation\Http\Kernel as HttpKernel; | |
class Kernel extends HttpKernel | |
{ | |
protected $middleware = [ | |
\App\Http\Middleware\NewRelicPatch::class, | |
//... your other middlewares | |
]; |
View ec2-ssh
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 | |
set -e | |
ssh='ssh' | |
ec2din="ec2-describe-instances" | |
while [ $# -gt 0 ]; do | |
case $1 in | |
-*) | |
if [ -z "$2" ]; then | |
break |
View resque-web
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
ruby -rthin -rresque/server -e"Thin::Server.start('/tmp/resque-web.sock'){run Resque::Server.new}" |
View git-view
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 | |
git show $1 | vim -R +"f $1" +"filetype detect" - | |
# Install: | |
# copy to $PATH and chmod +x | |
# | |
# Usage: | |
# git view <revision>:<path/to/file> |
View delete-local-merged-branch
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
git branch --merged | grep feature | xargs git branch -d |
NewerOlder