Skip to content

Instantly share code, notes, and snippets.

🎹
Time off

Bastien bzg

Block or report user

Report or block bzg

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@bzg
bzg / bzg-find-variable-or-function-at-point
Created Jul 17, 2018
Emacs: find variable or function at point
View bzg-find-variable-or-function-at-point
(defun bzg-find-variable-or-function-at-point ()
(interactive)
(or (find-variable-at-point)
(find-function-at-point)
(message "No variable or function at point.")))
(global-set-key (kbd "C-:") 'bzg-find-variable-or-function-at-point)
View keybase.md

Keybase proof

I hereby claim:

  • I am bzg on github.
  • I am bzg (https://keybase.io/bzg) on keybase.
  • I have a public key whose fingerprint is 1BE1 5A5D 08A9 D595 9581 476B 1437 AC02 F73F 91A2

To claim this, I am signing this object:

@bzg
bzg / eig-nginx-proxy.conf
Created Mar 23, 2018
Exemple de configuration d'un site nginx qui redirige vers un service web d'un container ou d'une VM
View eig-nginx-proxy.conf
########################################################################
#
# Exemple de configuration d'un sous-domaine eig-forever.org
#
# Le container ou la machine virtuelle est sur 192.168.0.102.
# Le service du container ou de la VM est sur le port 8000.
# Il sera exposé sur sousdomaine.eig-forever.org:80 et sur
# sousdomaine.eig-forever.org:443.
# Redirection 301 de http vers https
@bzg
bzg / clojure-data-zip-xml.clj
Last active Apr 13, 2017
Make xml-> return empty strings instead of skipping non-matching nodes
View clojure-data-zip-xml.clj
(ns test
(:require [clojure.zip :as zip]
[clojure.data.xml :as xml]
[clojure.data.zip.xml :as zx]))
(def xml-example
"<top>
<id>
<desc>
<other>Something</other>
@bzg
bzg / Orgues
Last active Mar 18, 2017
Orgues - collecte site persos et collectivités
View Orgues
{
"type": "FeatureCollection",
"features": [
{
"type": "Feature",
"properties": {
"title": "St-Georges",
"description": "<a href=\"http://decouverte.orgue.free.fr/orgues/achenhei.htm\">St-Georges</a>"
},
"geometry": {
View orgues.bas-et-haut-rhin.geojson
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@bzg
bzg / orgues.normandie.geojson
Last active Mar 18, 2017
Orgues de Normandie
View orgues.normandie.geojson
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@bzg
bzg / orgues.finistere.geojson
Last active Mar 18, 2017
Orgues du Finistère
View orgues.finistere.geojson
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@bzg
bzg / orgue.saone-et-loire.geojson
Last active Mar 18, 2017
Orgues de Saône et Loire
View orgue.saone-et-loire.geojson
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@bzg
bzg / orgues.pays-de-loire.geojson
Last active Mar 18, 2017
Orgues des Pays de la Loire
View orgues.pays-de-loire.geojson
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
You can’t perform that action at this time.