Skip to content

Instantly share code, notes, and snippets.

Bruno De Bondt brunodbo

Block or report user

Report or block brunodbo

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
brunodbo / import.php
Created Apr 29, 2019 — forked from mikecrittenden/import.php
Importing Drupal 8 config programmatically
View import.php
// Import arbitrary config from a variable.
$config = \Drupal::service('config.factory')->getEditable('filter.format.basic_html');
// Or, re-import the default config for a module or profile, etc.
\Drupal::service('config.installer')->installDefaultConfig('module', 'my_custom_module');
// Or, import YAML config an arbitrary directory.
brunodbo / mymodule.libraries.yml
Created May 12, 2017 — forked from steffenr/mymodule.libraries.yml
Attach a CSS or JS library to a View in Drupal 8
View mymodule.libraries.yml
css/custom_view.css: {}
brunodbo / composer.json
Created Apr 10, 2017 — forked from joelpittet/composer.json
D8 Composer & Patches
View composer.json
"name": "drupal-composer/drupal-project",
"description": "Project template for Drupal 8 projects with composer",
"type": "project",
"license": "GPL-2.0+",
"authors": [
"name": "",
"role": ""
brunodbo / firefox-developer-edition.desktop
Last active Sep 13, 2015 — forked from jaywink/firefox-developer-edition.desktop
Firefox Developer Edition (or any edition), separate Unity launcher icon (Ubuntu 14.04)
View firefox-developer-edition.desktop
[Desktop Entry]
Name=Firefox Developer Edition
Exec=/opt/firefox/firefox --class="firefox-developer" -P dev-edition-default %u
View timecapsule-handler
# This program is free software. It comes without any warranty, to
# the extent permitted by applicable law. You can redistribute it
# and/or modify it under the terms of the Do What The Fuck You Want
# To Public License, Version 2, as published by Sam Hocevar. See
# for more details.
# Version 3, enhanced for Ubuntu 13.X+, Fedora 19+, and similar distros.
brunodbo / Ubuntu audio
Last active Jan 11, 2016
Collection of links related to making music on a Ubuntu system
View Ubuntu audio
- How to install Timidity++:
- Fix issues to get Ardour running (add user to audio group):
- Fix issues to get Ardour running (mv /etc/security/audio.conf.disabled to /etc/security/audio.conf):
- Setup MIDI in Jack:
Ardour plugins
brunodbo / git-php-webhook.php
Created Aug 20, 2014
A basic webhook for deploying updates to repos on Github to your local server
View git-php-webhook.php
* This script is for easily deploying updates to Github repos to your local server. It will automatically git clone or
* git pull in your repo directory every time an update is pushed to your $BRANCH (configured below).
* 1. Edit the variables below
* 2. Upload this script to your server somewhere it can be publicly accessed
* 3. Make sure the apache user owns this script (e.g., sudo chown www-data:www-data webhook.php)
* 4. (optional) If the repo already exists on the server, make sure the same apache user from step 3 also owns that
brunodbo / gist:7622091
Created Nov 24, 2013
Leaflet onEachFeature() function to show polygon coordinates in a popup. Useful for cleaning a up geodata file.
View gist:7622091
function onEachFeature(feature, layer) {
var coordinates = feature.geometry.coordinates[0];
var coordinatesString = '';
$.each(coordinates, function(key, value) {
coordinatesString = coordinatesString + '[' + value + ']';
var popup = L.popup().setContent(coordinatesString);
You can’t perform that action at this time.