curl -L https://gist.github.com/emersion/c95d210fc9123f2c30f99112b0c913c0/raw/install-micro.sh | bash
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
This Gist confirms the Linked Identity in my OpenPGP key, and links it to this GitHub account. | |
Token for proof: | |
[Verifying my OpenPGP key: openpgp4fpr:34ff9526cfef0e97a340e2e40fde7be0e88f5e48] |
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
Counting objects: 6, done. | |
Delta compression using up to 4 threads. | |
Compressing objects: 100% (6/6), done. | |
Writing objects: 100% (6/6), 1.28 KiB | 0 bytes/s, done. | |
Total 6 (delta 5), reused 0 (delta 0) | |
remote: Resolving deltas: 100% (5/5), completed with 5 local objects. | |
remote: ruby-jemalloc: symbol lookup error: /data/github/current/vendor/gems/2.1.7/ruby/2.1.0/gems/json-1.8.3/lib/json/ext/generator.so: undefined symbol: rb_data_typed_object_alloc | |
To git@github.com:ProtonMail/Desktop-Bridge.git | |
! [remote rejected] master -> master (pre-receive hook declined) | |
error: failed to push some refs to 'git@github.com:ProtonMail/Desktop-Bridge.git' |
* CAPABILITY IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ MAILBOX-REFERRALS NAMESPACE UIDPLUS ID NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND BINARY SORT THREAD=ORDEREDSUBJECT THREAD=REFERENCES ANNOTATEMORE IDLE AUTH=OTP SASL-IR
* CAPABILITY IMAP4 IMAP4rev1 LITERAL+ ID LOGINDISABLED ACL RIGHTS=kxte QUOTA MAILBOX-REFERRALS NAMESPACE UIDPLUS NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND BINARY SORT SORT=MODSEQ THREAD=ORDEREDSUBJECT THREAD=REFERENCES ANNOTATEMORE CATENATE CONDSTORE IDLE URLAUTH
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 bash | |
set -e | |
echo "" > coverage.txt | |
retval=0 | |
for d in $(find . -maxdepth 10 \( -path ./vendor -o -path './.*' -o -name '_*' \) -prune -o -type d -print); do | |
if ls $d/*.go &> /dev/null; then | |
go test -v -coverprofile=profile.out -covermode=atomic $d |
I hereby claim:
- I am emersion on github.
- I am emersion (https://keybase.io/emersion) on keybase.
- I have a public key whose fingerprint is 34FF 9526 CFEF 0E97 A340 E2E4 0FDE 7BE0 E88F 5E48
To claim this, I am signing this object:
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
DECLARE @start INT = 1; | |
DECLARE @end INT = 100; | |
WITH numbers AS ( | |
SELECT @start AS number | |
UNION ALL | |
SELECT number + 1 | |
FROM numbers | |
WHERE number < @end | |
) |
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
<div class="valign" style="height: 500px;"> | |
<div> | |
Hi!<br> | |
My name is... JOHN CENA!!1 | |
</div> | |
</div> |
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
$.fn.serializeObject = function () { | |
var arr = this.serializeArray(); | |
var obj = {}; | |
for (var i = 0; i < arr.length; i++) { | |
var item = arr[i]; | |
obj[item.name] = item.value; | |
} | |
return obj; |