I hereby claim:
- I am crawsible on github.
- I am crawsible (https://keybase.io/crawsible) on keybase.
- I have a public key ASDUhGG8taQm7l0cHmaO2BI-aaIkj_5umEs7usIFNfC0-wo
To claim this, I am signing this object:
# Obtaining the App GUID required when writing the credential to credhub in order to ensure only that App can access the credential. | |
# 1. Push an application that displays the contents of the VCAP_SERVICES environment variable: | |
cf target -o apps -s app | |
cf push credapp | |
# 2. Fetch the app guid of the pushed app: | |
cf app credapp --guid | |
# > <app-guid> |
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/env bash | |
OLD_KBOPTS=`gsettings get org.gnome.libgnomekbd.keyboard options` | |
TOGGLE_OP="altwin\taltwin:swap_alt_win" | |
if [[ $OLD_KBOPTS == *"$TOGGLE_OP"* ]] | |
then | |
OP="-" | |
echo "Unswapping alt and win..." | |
else |
#!/usr/bin/env ruby | |
File.readlines(ARGV[0]).each do |line| | |
branch = line.split(/\s/).first | |
puts "current branch:" | |
puts branch | |
puts `git log #{branch} --pretty=fuller -1` | |
puts "delete? Y/n" | |
res = $stdin.gets.chomp.downcase |
PgSearch.multisearch_options = { | |
using: { | |
tsearch: { prefix: true } | |
} | |
} |
Sassteroid.prototype.updateVelocity = function (that, maxDimensions) { | |
var dotProd = Sassteroids.Utils.dotProduct; | |
var perpVec = Array(2); | |
var uSpeed = Math.sqrt(dotProd(this.vel, this.vel)); | |
var vSpeed = Math.sqrt(dotProd(that.vel, that.vel)); | |
var posVector = Array(2); | |
for (var i = 0; i < 2; i++) { | |
posVector[i] = that.pos[i] - this.pos[i]; |
def parse_www_encoded_form(www_encoded_form) | |
URI.decode_www_form(www_encoded_form).each do |pair| | |
# returns array of names between '[' and ']' characters | |
key_parts = pair.first.split(/\]\[|\[|\]/) | |
current_hash = @params | |
new_key = key_parts.shift | |
# this does not run unless key_parts.count > 1 | |
until key_parts.empty? do |
#!/usr/bin/python3 | |
import time | |
from random import randint | |
from subprocess import call | |
DIRECTION_ICONS = ["∩", "⊂", "∪", "⊃"] | |
DIRECTION_ICONS_ACTIVE = ["▲", "◀︎", "▼", "▶︎"] | |
SIZE = 19 |
#!/usr/local/bin/python3 | |
import sys | |
import csv | |
BUYER_CONSTANTS = ('WTB', 'Wtb', 'WANTED', 'Wanted', 'wanted', 'LOOKING FOR', | |
'Looking for', 'looking for', 'TO BUY', 'to buy') | |
class TitleParser(object): |