This file contains hidden or 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
package main | |
import ( | |
"crypto/sha256" | |
"fmt" | |
"hash" | |
) | |
type Signer struct { | |
hash.Hash |
This file contains hidden or 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
asdf=6776f5e4b2f6971e9950b587dd87a530e9ec7585 |
This file contains hidden or 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/bash | |
echo -n "GitHub username: " | |
read username | |
echo -n "GitHub personal access token: " | |
read token | |
echo "Storing GitHub access token in keychain." | |
security add-generic-password -s github_access_token -a $username -w $token |
This file contains hidden or 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
def say(message) | |
`say -v cello #{message}` | |
end | |
def dhcp_refresh | |
system 'ipconfig set en0 DHCP' | |
end | |
def can_ping_google? | |
system('ping -c1 -t1 8.8.8.8') || system('ping -c1 -t1 8.8.8.8') |
This file contains hidden or 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
# This is the default .slate file. | |
# If no ~/.slate file exists this is the file that will be used. | |
config defaultToCurrentScreen true | |
config nudgePercentOf screenSize | |
config resizePercentOf screenSize | |
# Push Bindings | |
bind right:ctrl;cmd push right bar-resize:screenSizeX/3 | |
bind left:ctrl;cmd push left bar-resize:screenSizeX/3 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or 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
asdf |
This file contains hidden or 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 'cgi' | |
require 'base64' | |
require 'pp' | |
require 'ostruct' | |
def unmarshal(raw) | |
begin | |
Marshal.load raw | |
rescue ArgumentError => e | |
klass = e.message.split(' ').last.sub(/:+$/, '') |
This file contains hidden or 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 'octokit' | |
require 'parser/current' | |
Octokit.auto_paginate = true | |
Octokit.connection_options[:request] ||= {} | |
Octokit.connection_options[:request][:timeout] = 240 | |
API = Octokit::Client.new :access_token => ENV['GITHUB_ACCESS_TOKEN'] | |
def get_gems_for_org_repos(org) | |
notice "Finding repos in the '#{org}' org." |
This file contains hidden or 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
{ | |
"Afghanistan": { | |
"country_code": "+93", | |
"deliverability_rate": 77 | |
}, | |
"Albania": { | |
"country_code": "+355" | |
}, | |
"Algeria": { | |
"country_code": "+213", |