Skip to content

Instantly share code, notes, and snippets.

View matthieualouis's full-sized avatar

Matthieu Louis matthieualouis

  • Stepsize
  • London
View GitHub Profile
@matthieualouis
matthieualouis / div_tag.html
Last active April 6, 2016 08:01 — forked from jaredjburgess/div_tag.html
Shortcut to create closed the div tags.
<div></div>
@matthieualouis
matthieualouis / script_tag_javascript.html
Created April 6, 2016 07:59 — forked from jaredjburgess/script_tag_javascript.html
Shortcut to create a closed javascript script tag.
<script type="text/javascript"></script>
@matthieualouis
matthieualouis / window_load.js
Last active April 6, 2016 08:58 — forked from jaredjburgess/window_load.js
JQuery window load.
$(window).load(function() {
// placeholder
});
@matthieualouis
matthieualouis / document_ready.js
Last active April 6, 2016 08:57 — forked from jaredjburgess/document_ready.js
JQuery document ready.
$(document).ready(function() {
// placeholder
});
@app.route('/<version>/users')
def users(version):
# do something
return jsonify(response)
https://m.popkey.co/74b5ca/GyGe.gif
@matthieualouis
matthieualouis / sassy_yeah
Last active April 2, 2016 20:39
Sassy yeah gif
https://m.popkey.co/227e4b/9Y6jg.gif
@matthieualouis
matthieualouis / Check if all keys are in dict.py
Last active April 1, 2016 12:11
Check if all keys are in a given dict
fields = ('display_id', 'feedback')
if all(key in dict for key in fields):
@app.route('/<version>/users')
def users(version):
# do somethingnuiuiuhiuh
return jsonify(response)
@app.route('/<version>/users')
def users(version):
# do something
return jsonify(response)