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 / eathquake.mml
Created Jun 1, 2015
eathquake kosmtik
View eathquake.mml
{
"bounds": [
-180,
-85.0511,
180,
85.0511
],
"center": [
0,
0,
View remparts_brest.geojson
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@brunob
brunob / transfert_backup.sh
Last active Aug 29, 2015
transfert des fichiers de backup
View transfert_backup.sh
#!/bin/sh
# generation des dates
date=$(date +%Y%m%d)
old=$(date +%Y%m%d -d '7 days ago')
# parametres
backup="/var/state/"$date
host=ftp.domain.tld
login=login-ftp
@brunob
brunob / backup.sh
Created Dec 8, 2014
génération des fichiers de backup
View backup.sh
#!/bin/bash
# Generation de la date du jour
date=$(date +%Y%m%d)
###
# Pamrametres du script
###
# Chemin du repertoire de la sauvegarde
View xss-owasp-cheatsheet
#
# https://www.owasp.org/index.php/XSS_Filter_Evasion_Cheat_Sheet
# based on the RSnake original http://ha.ckers.org/xss.html
# Retrieved on 2013-11-20
# Much of this wildly obsolete
#
# XSS Locator 2
'';!--"<XSS>=&{()}
@brunob
brunob / prettycss.conf
Last active Apr 26, 2019
Personal config file for PrettyCSS https://github.com/fidian/PrettyCSS/
View prettycss.conf
{
"cssLevel": 3,
"autocorrect": "",
"propertiesLowerCase": "",
"valuesLowerCase": "",
"at_pre": "",
"at_whitespace": " ",
"at_post": "\n",
"atblock_pre": " {\n\t",
"atblock_post": "\r}",
@brunob
brunob / main.py
Last active Aug 29, 2015
quolibet/browsers/coverlist
View main.py
# -*- coding: utf-8 -*-
# Copyright 2004-2007 Joe Wreschnig, Michael Urman, Iñigo Serna
# 2009-2010 Steven Robertson
# 2012-2013 Nick Boultbee
# 2009-2014 Christoph Reiter
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation
@brunob
brunob / scoopit.html
Last active Feb 8, 2017
Un squelette SPIP qui prend l'url d'un flux RSS issu de scoopit en paramètre pour renvoyer le flux dans lequel les liens sont remplacés par les liens direct vers les ressources, cf http://seenthis.net/messages/202408
View scoopit.html
[(#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/"
>
<channel[ xml:lang="(#LANG)"]><BOUCLE_channel(DATA){source xml, #ENV{url}}{datapath channel}>
[<title>(#VALEUR{title/0}|textebrut|texte_backend)</title>]
[<link>(#VALEUR{link/0})</link>]
[<description>(#VALEUR{description/0}|supprimer_tags|texte_backend))</description>]
View lpggl.html
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<title>Leaflet-plugins Google Tile</title>
<link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.6.4/leaflet.css" />
<link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.6.4/leaflet.ie.css" />
<script src="http://cdn.leafletjs.com/leaflet-0.6.4/leaflet.js"></script>
@brunob
brunob / index.html
Created Sep 22, 2012 — forked from ZJONSSON/index.html
testing circles in Leaflet.js (working)
View index.html
<!DOCTYPE html>
<html>
<head>
<title>Testing d3.js in Leaflet.js</title>
<link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.4/leaflet.css"></link>
<script src="http://mbostock.github.com/d3/d3.v2.js?2.8.1"></script>
<script src="http://cdn.leafletjs.com/leaflet-0.4/leaflet.js"></script>
<style type="text/css">
svg , g
You can’t perform that action at this time.