I hereby claim:
- I am dschneider on github.
 - I am dschneider (https://keybase.io/dschneider) on keybase.
 - I have a public key whose fingerprint is FED7 7C45 B87E 8ABA D362 F678 4AE9 9923 616C 4C6E
 
To claim this, I am signing this object:
| tell application "Google Chrome" | |
| set windowList to every tab of every window whose URL starts with "https://mail.google.com" | |
| repeat with tabList in windowList | |
| set tabList to tabList as any | |
| repeat with tabItr in tabList | |
| set tabItr to tabItr as any | |
| delete tabItr | |
| end repeat | |
| end repeat | |
| end tell | 
| ;; This is a useful macro for clojure debugging | |
| (defmacro dbg[x] `(let [x# ~x] (println "dbg:" '~x "=" x#) x#)) | |
| ;; Use it anywhere in your expression like so: | |
| (defn factorial[n] (if (= n 0) 1 (* n (dbg (factorial (dec n)))))) | |
| ;; Taken from [stackoverflow](http://stackoverflow.com/a/2352280/789070) | 
| # pigz is "A parallel implementation of gzip for modern multi-processor, multi-core machines" | |
| # See http://zlib.net/pigz/ | |
| # On the receiving machine run this: | |
| nc -w 10 SENDING_MACHINE_IP 7878 | pigz -d | tar x | |
| # On the sending machine run this: | |
| tar c FILENAME_HERE | pigz | nc -l 7878 | |
| # You can compare the md5 checksum from both files after the transfer, | 
I hereby claim:
To claim this, I am signing this object:
| openssl req -x509 -newkey rsa:2048 -keyout key.pem -out cert.pem -days XXX | 
| # For each database: | |
| ALTER DATABASE database_name CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci; | |
| # For each table: | |
| ALTER TABLE table_name CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci; | |
| # For each column: | |
| ALTER TABLE table_name CHANGE column_name column_name VARCHAR(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci; | |
| # (Don’t blindly copy-paste this! The exact statement depends on the column type, maximum length, and other properties. The above line is just an example for a `VARCHAR` column.) | 
| using UnityEngine; | |
| using System.Collections; | |
| public class CameraMovement : MonoBehaviour { | |
| public float dampTime = 0.15f; | |
| private Vector3 velocity = Vector3.zero; | |
| private Transform target; | |
| // Use this for initialization | 
| #!/usr/bin/env sh | |
| ## | |
| # This is script with usefull tips taken from: | |
| # https://github.com/mathiasbynens/dotfiles/blob/master/.osx | |
| # | |
| # install it: | |
| # curl -sL https://raw.github.com/gist/2108403/hack.sh | sh | |
| # | 
| gst | grep modified | awk '{print $3}' | xargs vim | 
| credentials_hash = { | |
| aws_secret_access_key: "KEY", | |
| aws_access_key_id: "ID" | |
| } | |
| route53 = Fog::DNS::AWS.new(credentials_hash) | |
| resource_record_sets = route53.list_resource_record_sets("ZONE_ID") | |
| data = resource_record_sets.data[:body]["ResourceRecordSets"] | |
| redis_resource_record = data.detect { |record_set| record_set["Name"] == "record_name_with_a_dot_at_the_end." } | |
| former_cname_entry = redis_resource_record["ResourceRecords"].first |