Skip to content

Instantly share code, notes, and snippets.

b_b brunob

Block or report user

Report or block brunob

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
@brunob
brunob / backup.sh
Last active Dec 4, 2019
backup geodiv v2020
View backup.sh
#!/bin/bash
# Generation des dates
date=$(date +%Y%m%d)
old=$(date +%Y%m%d -d '8 days ago')
###
# Pamrametres du script
###
@brunob
brunob / 2019_09_07.json
Last active Sep 25, 2019
Boat animated track - 2019_09_07
View 2019_09_07.json
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@brunob
brunob / 2019_08_31.json
Last active Sep 25, 2019
Boat animated track - 2019_08_31
View 2019_08_31.json
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@brunob
brunob / snapcraft.yaml
Last active May 17, 2018
Timeline snap
View snapcraft.yaml
name: timeline # you probably want to 'snapcraft register <name>'
version: '1.17.0'
summary: Timeline
description: |
Timeline is a cross-platform application for displaying and navigating events on a timeline
grade: devel # must be 'stable' to release into candidate/stable channels
confinement: devmode # use 'strict' once you have the right plugs and slots
apps:
@brunob
brunob / data.csv
Last active Feb 5, 2018
initiatives accueil migrants
View data.csv
We can make this file beautiful and searchable if this error is corrected: It looks like row 3 should actually have 22 columns, instead of 3. in line 2.
nom,adresse,contact,site,facebook,categories,ville,echelle,description,latitude,longitude,result_label,result_score,result_type,result_id,result_housenumber,result_name,result_street,result_postcode,result_city,result_context,result_citycode
Français Langue d'Accueil,"28 rue de l'Aqueduc, 75010 Paris",,http://francais-langue-daccueil.org/,https://www.facebook.com/FrancaisLangueDacuueil,"Formation,Activités socio-culturelles,Insertion,Santé",Paris,Locale,"Français Langue d'Accueil est une association qui a pour objectif de favoriser l'insertion des réfugiés et demandeurs d'asiles à travers l'apprentissage du français principalement, ainsi que des ateliers d'insertion professionnelle, des activités socio-culturelles et l'accès à la santé.",48.881562,2.362265,28 Rue de l'Aqueduc 75010 Paris,0.79,housenumber,ADRNIVX_0000000270727495,28,Rue de l'Aqueduc,,75010,Paris,"75, Île-de-France",75110
Le Goût de l'Autre - Réseau Chrétien Immigrés,"Mairie du IVe, 2 Place Baudoyer, 75004 Paris", reseau-chretien-immigres@noos.
@brunob
brunob / .block
Last active Feb 24, 2017
Quotas départementaux grands cormorans & couloirs de migration
View .block
license: mit
border: none
height: 630
@brunob
brunob / Fireworks.desktop
Last active Feb 17, 2017
Ubuntu launcher for Fireworks using wine / handling open with for jpeg and png files :)
View Fireworks.desktop
#!/usr/bin/env xdg-open
[Desktop Entry]
Version=1.0
Type=Application
Terminal=false
Exec=env XMODIFIERS='' sh -c "winepath -w -0 %F | xargs -0 wine '/home/bb/.wine/drive_c/Program Files/Macromedia/Fireworks 8/Fireworks.exe'"
MimeType=image/png;image/jpeg;image/gif;
Name=Fireworks
Icon=/home/bb/.wine/drive_c/Program Files/Macromedia/Fireworks 8/FW9.png
@brunob
brunob / cleanrss.html
Last active Feb 8, 2017
Un squelette SPIP qui prend l'url d'un flux RSS non valide en paramètre pour renvoyer le flux au propre. Pratique pour syndiquer certains flux WordPress (odgprod par exemple) dans Nextcoud. https://seenthis.net/messages/568088
View cleanrss.html
#CACHE{0}
[(#HTTP_HEADER{Content-type: text/xml[; charset=(#CHARSET)]})]<?xml
version="1.0"[ encoding="(#CHARSET)"]?>
<rss version="2.0" [(#REM) rss 2.0.9)]
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
>
[(#SET{channel,#ENV{url}|analyser_site})]
<channel[ xml:lang="(#LANG)"]>
[<title>(#GET{channel}|table_valeur{nom_site}|textebrut|texte_backend)</title>]
@brunob
brunob / .block
Last active Feb 1, 2017
Quotas départementaux grands cormorans
View .block
license: mit
border: none
height: 600
@brunob
brunob / phpcs.xml
Created Dec 8, 2015
PHP_CodeSniffer pour SPIP
View phpcs.xml
<?xml version="1.0"?>
<ruleset name="SPIP">
<!--
Liens utiles
https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards
https://github.com/ucfcdl/fuelphp-phpcs/tree/master/Standards/FuelPHP
https://github.com/vanilla/addons/tree/master/standards/Vanilla
-->
<description>Coding rules for SPIP</description>
You can’t perform that action at this time.