Skip to content

Instantly share code, notes, and snippets.

View edouard-lopez's full-sized avatar
🏠
Working from home

Édouard Lopez edouard-lopez

🏠
Working from home
View GitHub Profile
set color_success (set_color green)
set color_error (set_color --bold red)
set color_white (set_color white)
set color_normal (set_color normal)
function pure::set_fish_config_path
printf "\tSet environment variable: %s\n" "\$FISH_CONFIG_DIR"
if test (count $argv) -ge 1
set -gx FISH_CONFIG_DIR $argv[1]
else
@edouard-lopez
edouard-lopez / pgmodeler.mk
Last active May 18, 2018 18:27
Compiling pgmodeler `0.8.0-alpha1` on Ubuntu/Linux Mint (14.04) → http://pgmodeler.com.br/
#!/usr/bin/env make
# DESCRIPTION
# Compiling pgmodeler
#
# USAGE
# sudo make postgres && make pgmodeler && ./build/start-pgmodeler.sh
#
# @author: Édouard Lopez <dev+pgmodeler@edouard-lopez.com>
# force use of Bash
@edouard-lopez
edouard-lopez / keybase.md
Created February 19, 2018 13:46
keybase.md

Keybase proof

I hereby claim:

  • I am edouard-lopez on github.
  • I am edouard_lopez (https://keybase.io/edouard_lopez) on keybase.
  • I have a public key whose fingerprint is 7E13 8DF0 7ACC 7837 459F 65AD 0F90 A96C 5FEB 6076

To claim this, I am signing this object:

@edouard-lopez
edouard-lopez / 01-before.bash
Last active February 6, 2018 16:43
Using bash array and parameter expansion to have multiline command.
sudo apt-get install -y git python python-dev \
python-setuptools libxml2-dev libxslt-dev zlib1g-dev \
postgresql postgresql-client python-psycopg2
@edouard-lopez
edouard-lopez / slides.md
Last active January 15, 2018 22:38
IPFS: InterPlanetary File System presentation http://slides.com/edouard-lopez/ipfs
@edouard-lopez
edouard-lopez / main.js
Last active December 25, 2017 14:40
D3js draw line with latitude/longitude from a CSV file
(function (window, document, L, undefined) {
'use strict';
/* create leaflet map */
var map = L.map('map', {
center: [44.8997, -0.8157],
zoom: 9
});
/**
@edouard-lopez
edouard-lopez / gironde-epci.topo.json
Last active December 14, 2017 19:04
D3 + TopoJSON + Leaflet
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@edouard-lopez
edouard-lopez / lsf.json
Created November 9, 2017 13:13
lsf.json
[
{
"key": "abbaye",
"label": "Abbaye",
"video": "http://lsf.education.fr/videos/abbaye.flv"
},
{
"key": "abdiquer",
"label": "Abdiquer",
"video": "http://lsf.education.fr/videos/abdiquer.flv"