I hereby claim:
- I am jasonmc on github.
- I am jasonmc (https://keybase.io/jasonmc) on keybase.
- I have a public key whose fingerprint is 83F3 83F5 616B D29E 3B4F 25D4 C6F3 D30A 81DF 7C70
To claim this, I am signing this object:
(* | |
Copyright 2018 Google LLC | |
Licensed under the Apache License, Version 2.0 (the "License"); | |
you may not use this file except in compliance with the License. | |
You may obtain a copy of the License at | |
https://www.apache.org/licenses/LICENSE-2.0 | |
Unless required by applicable law or agreed to in writing, software | |
distributed under the License is distributed on an "AS IS" BASIS, | |
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
(* | |
Copyright 2017 Google LLC | |
Licensed under the Apache License, Version 2.0 (the "License"); | |
you may not use this file except in compliance with the License. | |
You may obtain a copy of the License at | |
https://www.apache.org/licenses/LICENSE-2.0 | |
Unless required by applicable law or agreed to in writing, software |
curl -s "http://httpbin.org/get?a=echo%20'you%20moron'" | jq '.args.a' | tr -d '"' | bash |
I hereby claim:
To claim this, I am signing this object:
(require 'package) | |
;; (add-to-list 'package-archives | |
;; '("marmalade" . "http://marmalade-repo.org/packages/") t) | |
(setq package-archives '(("gnu" . "http://elpa.gnu.org/packages/") | |
("marmalade" . "http://marmalade-repo.org/packages/") | |
("melpa" . "http://melpa.milkbox.net/packages/") | |
("org" . "http://orgmode.org/elpa/"))) |
import subprocess | |
from mercurial import commands | |
from mercurial import ui | |
from mercurial import localrepo | |
def sha_string(hash): | |
import base64 | |
return base64.b16encode(hash).lower() | |
from mercurial import commands, ui, localrepo | |
import sys | |
# default git branch name | |
cfg_master='master' | |
origin_name='' | |
def get_branch(name): | |
# 'HEAD' is the result of a bug in mutt's cvs->hg conversion, |
package main | |
import ( | |
"os" | |
"log" | |
"fmt" | |
"path/filepath" | |
"strconv" | |
"strings" | |
) |
(defn buildMap [fl] | |
(cond | |
(.isDirectory fl) | |
(let [subfiles (filter (complement nil?) (map buildMap (.listFiles fl)))] | |
(list (.getAbsolutePath fl) subfiles (reduce + (map last subfiles))) | |
) | |
(.isFile fl) | |
(list (.getAbsolutePath fl) (.length fl)) | |
) | |
) |
#!/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 | |
# |