Skip to content

Instantly share code, notes, and snippets.

View francoispeyret's full-sized avatar
🦏

fpeyret francoispeyret

🦏
View GitHub Profile
@bpongy
bpongy / variables.scss
Last active February 9, 2017 11:10
Project guideline
$bold: 700;
$light: 300;
$brand-secondary: #CD5334;
// taille de la gouttière
$grid-gutter-width: 20px;
// taille du container desktop
$container-large-desktop: 1144px + $grid-gutter-width;
// arrondi des boutons, champs, etc
@stevecordle
stevecordle / hooks.php
Last active October 14, 2021 18:17
Disable ajax on all gravity forms
/*
Gravity Forms => 1.9
*/
add_filter('gform_form_args', 'no_ajax_on_all_forms', 10, 1);
function no_ajax_on_all_forms($args){
$args['ajax'] = false;
return $args;
}
@davidbauer
davidbauer / gist:11055010
Created April 18, 2014 17:22
Python script to download images from a CSV of image urls
#!/usr/bin/env python
# assuming a csv file with a name in column 0 and the image url in column 1
import urllib
filename = "images"
# open file to read
with open("{0}.csv".format(filename), 'r') as csvfile: