Skip to content

Instantly share code, notes, and snippets.

View xdamman's full-sized avatar

Xavier Damman xdamman

View GitHub Profile
View gist:041809a1e6fe1b6d46aa408f0ca6ab68
This post links my 3Box profile to my Github account! Web3 social profiles by 3Box.
✅ did:3:bafyreihgp45kh3pfp6b7lygvqk7mjgeeoc7h5enb5ha7v5lpl5qa323uku ✅
Create your profile today to start building social connection and trust online at
xdamman /
Created July 19, 2019 17:57
Tool for transparent funding (donations / expenses)

Transparency is important, especially when it comes to funding. As the [Extinction Rebellion] movement grows internationally, everyone should be able to know at all times how much has been raised at the global level and how is the money used to develop the movement. First, I'll share our experience at XR Belgium, then I'll share a proposal for the movement in general.

How we do it at XR Belgium

We are using Open Collective. See

People can donate money online or by bank transfer. Every time anyone needs money (for supplies and material, renting a place for our general assemblies, etc.), they simply submit the expense or the invoice of the vendor to the collective. All expenses are public and transparent (see

xdamman / gist:9a6774d758c1333e651947ad5e104860
Created February 7, 2019 15:46
npx semantic-release mediumexporter
View gist:9a6774d758c1333e651947ad5e104860
npx semantic-release
[4:44:39 PM] [semantic-release] › ℹ Running semantic-release version 15.13.3
[4:44:40 PM] [semantic-release] › ✔ Loaded plugin "verifyConditions" from "@semantic-release/npm"
[4:44:40 PM] [semantic-release] › ✔ Loaded plugin "verifyConditions" from "@semantic-release/github"
[4:44:40 PM] [semantic-release] › ✔ Loaded plugin "analyzeCommits" from "@semantic-release/commit-analyzer"
[4:44:40 PM] [semantic-release] › ✔ Loaded plugin "generateNotes" from "@semantic-release/release-notes-generator"
[4:44:40 PM] [semantic-release] › ✔ Loaded plugin "prepare" from "@semantic-release/npm"
[4:44:40 PM] [semantic-release] › ✔ Loaded plugin "publish" from "@semantic-release/npm"
[4:44:40 PM] [semantic-release] › ✔ Loaded plugin "publish" from "@semantic-release/github"
[4:44:40 PM] [semantic-release] › ✔ Loaded plugin "success" from "@semantic-release/github"
xdamman /
Created August 25, 2018 09:27
Simple program to add two numbers and say them for my 5 y/o daughter.
run() {
Q1="Enter a first number:"
echo $Q1
say $Q1
read A
say $A
Q2="Enter a second number $1:"
echo $Q2
say $Q2
read B
View blockstack
Verifying my Blockstack ID is secured with the address 1KNrgdqojAyFDx7tWVhsDN2Fbt5YJ2dZMt
xdamman / .profile
Last active December 15, 2016 12:20
View .profile
alias reload="source ~/.profile"
#function ssh {
# ~/.scripts/iterm-setName $1
# /usr/bin/ssh $1
# git alias
alias gco="git commit -am"
alias glog='git log --date-order --all --graph --format="%C(green)%h%Creset %C(yellow)%an%Creset %C(blue bold)%ar%Creset %C(red bold)%d %Creset%s"'
xdamman /
Created July 2, 2014 21:03
Install latest ffmpeg on ubuntu 12.04 or 14.04
# Bash script to install latest version of ffmpeg and its dependencies on Ubuntu 12.04 or 14.04
# Inspired from
# Remove any existing packages:
sudo apt-get -y remove ffmpeg x264 libav-tools libvpx-dev libx264-dev
# Get the dependencies (Ubuntu Server or headless users):
sudo apt-get update
View gist:e3387e1adf51aeb021d0

Compile avconv on Ubuntu

This guide supports Ubuntu Precise Pangolin 12.04, Ubuntu Oneiric Ocelot 11.10, Ubuntu Natty Narwhal 11.04, and Ubuntu Maverick Meerkat 10.10. Separate guides are available for Ubuntu Lucid Lynx 10.04 and Ubuntu Hardy Heron 8.04. This guide will enable several external encoding and decoding libraries: libfaac (AAC encoder), libfdk-aac (AAC encoder), libmp3lame (MP3 encoder), libopencore-amr (AMR encoder/decoder), librtmp (for additional RTMP protocols), libtheora (Theora encoder), libvorbis (Vorbis encoder), libvpx (VP8 encoder/decoder), and libx264 (H.264 encoder). These are optional and may be omitted if desired. This guide will also install many filters (see the filter list in the Filtering Guide).

Note: Copy and paste the whole code box


Keybase proof

I hereby claim:

  • I am xdamman on github.
  • I am xdamman ( on keybase.
  • I have a public key whose fingerprint is 44A7 D05F F1F6 D0B8 0F79 15A6 1426 1B13 FD43 0CDC

To claim this, I am signing this object:

xdamman / install ghost on macosx
Last active December 30, 2015 08:09
How to install on your local machine (MacOSX 10.9)
View install ghost on macosx
git clone
cd Ghost
git submodule update --init
sudo gem install sass && sudo gem install sass
sudo npm install -g grunt-cli
npm install
grunt init
npm start
open "http://localhost:2368/ghost/"