Skip to content

Instantly share code, notes, and snippets.

View junosuarez's full-sized avatar
💭
hi hello

juno suárez junosuarez

💭
hi hello
View GitHub Profile
@junosuarez
junosuarez / gist:9554589
Created March 14, 2014 19:07
git status prompt
function parse_git_branch {
local W="\033[1;37m"
local ref=$(git symbolic-ref HEAD 2> /dev/null)
if [[ -z $ref ]]; then
return
fi
echo -e $W"/"${ref#refs/heads/}" "
}
function parse_git_status {

Keybase proof

I hereby claim:

  • I am jden on github.
  • I am jden (https://keybase.io/jden) on keybase.
  • I have a public key whose fingerprint is F356 1E2B CDB8 C1C5 69A7 E364 2FBB 5706 6DD9 F68B

To claim this, I am signing this object:

Hi Lynn (or Tawni - the name in your sig is different from your email "from" line),
Please find my resume attached. It includes my areas of significant expertise and industry leadership. Please let me know if this is relevant to your interests.
Thanks,
​​
Jason
On Thu, Mar 27, 2014 at 12:56 PM, <lynn@tanrg.com> wrote:
@junosuarez
junosuarez / gist:10012071
Created April 6, 2014 22:21
contra re weblogin
2:39 PM <•jden> contrahax: so critique weblogin
2:39 PM <•jden> tear it to shreds
2:39 PM <•jden> what am i getting wrong
2:40 PM <•contrahax> jden link again?
2:40 PM <•jden> https://github.com/jden/web-login
2:40 PM <•jden> basically the only thing your app gets back is a guid
2:40 PM <•jden> tell me why authentication needs more than that
2:40 PM <•contrahax> jden why a promise tho
2:40 PM <•jden> because web platform
2:40 PM <•contrahax> i wont even argue about that

<img src='http://g.gravizo.com/g? @startuml; ; actor User; participant "Client Side App"; participant Browser; participant "Identity Provider"; participant Server; ; User -> "Client Side App": Click login button;

@junosuarez
junosuarez / gist:11155937
Created April 21, 2014 20:43
Sample GeoJSON response from chab.us api
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@junosuarez
junosuarez / cv.txt
Created April 27, 2014 14:56
CV - see also http://jden.us
Jason Denizac
Writer
Chattanooga, Tennessee (Chattanooga, Tennessee Area)
Plastics
Current
fella at Code for America
@junosuarez
junosuarez / gist:81745f0aa678774564c7
Created May 1, 2014 00:48
internet archive metadata example
{ "created" : 1398865604,
"d1" : "ia600503.us.archive.org",
"d2" : "ia700503.us.archive.org",
"dir" : "/0/items/frenchenglishmed00gorduoft",
"files" : [ { "crc32" : "e46198d3",
"format" : "MARC",
"md5" : "f7ec6f558f81794407deac756f496adf",
"mtime" : "1206413132",
"name" : "frenchenglishmed00gorduoft_marc.xml",
"sha1" : "991b5a1af1e5bd035c26359cc372b45a14fc3a29",
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@junosuarez
junosuarez / gist:00d25d3d5fc3b061e2fa
Created May 2, 2014 17:06
make node lists arrays fer goodness sake
Object.getOwnPropertyNames(Array.prototype).filter(function (x) { return typeof Array.prototype[x] === 'function' }).forEach(function (x) { NodeList.prototype[x] = Array.prototype[x] })