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 / 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
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 / 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
@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
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 / eathquake.mml
Created Jun 1, 2015
eathquake kosmtik
View eathquake.mml
{
"bounds": [
-180,
-85.0511,
180,
85.0511
],
"center": [
0,
0,
@brunob
brunob / backup.sh
Created Jul 22, 2015
Simple backup
View backup.sh
#!/bin/bash
date=$(date +%Y%m%d)
old=$(date +%Y%m%d -d '7 days ago')
###
# Pamrametres du script
###
# Chemin du repertoire de la sauvegarde
View open and close bubble patch
From 33fa68e80e0fd55241d0d515023a611dd3410129 Mon Sep 17 00:00:00 2001
From: brunob <brunobergot@gmail.com>
Date: Mon, 14 Nov 2011 00:04:44 +0100
Subject: [PATCH 2/3] done : add openBubble and closeBubble to openlayers api
---
source/mxn.openlayers.core.js | 59 ++++++++++++++++++-----------------------
1 files changed, 26 insertions(+), 33 deletions(-)
diff --git a/source/mxn.openlayers.core.js b/source/mxn.openlayers.core.js
@brunob
brunob / tilestache.cfg
Created Apr 23, 2012
tilestache config file
View tilestache.cfg
{
"cache":
{
"name": "Disk",
"path": "/tmp/stache",
"umask": "0000"
},
"layers":
{
"osm":
View TileLayer.TileJSON.js
L.TileLayer.TileJSON = L.TileLayer.Canvas.extend({
options: {
debug: false
},
tileSize: 256,
initialize: function (options) {
L.Util.setOptions(this, options);
You can’t perform that action at this time.