Skip to content

Instantly share code, notes, and snippets.

View adrienjoly's full-sized avatar
☺️
In the flow

Adrien Joly adrienjoly

☺️
In the flow
View GitHub Profile
@adrienjoly
adrienjoly / trello-card-title-markdown.user.js
Last active December 1, 2017 17:03 — forked from gorbiz/trello-card-title-markdown.user.js
Add support for bold and emphasized Markdown in Trello card titles using a User Script.
// ==UserScript==
// @name Trello card title Markdown
// @version 0.4.0
// @homepage https://gist.github.com/gorbiz/6062481
// @description Add support for bold and emphasized Markdown in card titles
// @match https://trello.com/b/*
// @match http://trello.com/b/*
// ==/UserScript==
/***
// ES6 tl;dr; for beginners
// 1. variables
// `const` & `let` are scoped at the block level
if(true) {
let foo = "bar"
}
foo // ReferenceError
@adrienjoly
adrienjoly / .gitconfig
Last active August 29, 2015 14:19 — forked from yereby/.gitconfig
[user]
name = "Jérémy Giuseppi"
email = yereby@gmail.com
[credential]
helper = cache
[color]
branch = auto
diff = auto
interactive = auto
status = auto
@adrienjoly
adrienjoly / fb_helpers.py
Created November 17, 2011 18:05 — forked from droot/fb_helpers.py
facebook signed_request parsing in python
import base64
import hashlib
import hmac
import simplejson as json
def base64_url_decode(inp):
padding_factor = (4 - len(inp) % 4) % 4
inp += "="*padding_factor
return base64.b64decode(unicode(inp).translate(dict(zip(map(ord, u'-_'), u'+/'))))
@adrienjoly
adrienjoly / .git-config
Created June 25, 2011 18:25 — forked from mikeymckay/config
git config for auto push to gh-pages
[core]
repositoryformatversion = 0
filemode = true
bare = false
logallrefupdates = true
ignorecase = true
[remote "origin"]
url = git@github.com:adrienjoly/playem.git
fetch = +refs/heads/*:refs/remotes/origin/*
push = +refs/heads/*:refs/heads/*