Skip to content

Instantly share code, notes, and snippets.

View ubermuda's full-sized avatar

Geoffrey Bachelet ubermuda

View GitHub Profile
@ubermuda
ubermuda / gitifiy.sh
Created December 30, 2014 05:58
Weapon of Mass Gitification
for i in *; do
cd $i
git init
git add -A
git commit -m "initial commit"
git remote add origin git@github.com:ubermuda/docker-$i
git push -u origin master
cd -
done
@ubermuda
ubermuda / 00-README.md
Last active August 29, 2015 14:12
Build system for the Discovering Docker book

CONSTITUTION

PRÉAMBULE

Le peuple français proclame solennellement son attachement aux Droits de l’Homme et aux principes de la souveraineté nationale tels qu’ils ont été définis par la Déclaration de 1789, confirmée et complétée par le préambule de la Constitution de 1946, ainsi qu’aux droits et devoirs définis dans la Charte de l’environnement de 2004.

En vertu de ces principes et de celui de la libre détermination des peuples, la République offre aux territoires d’outre-mer qui manifestent la volonté d’y adhérer des institutions nouvelles fondées sur l’idéal commun de liberté, d’égalité et de fraternité et conçues en vue de leur évolution démocratique.

Article 1er

Manger

@ubermuda
ubermuda / foo.html.twig
Created August 12, 2014 16:16
I was looking for a way to do this, turns out twig has exactly this feature! http://twig.sensiolabs.org/doc/tags/embed.html
{# hypothetic twig tag "with" #}
{% with 'panel.html.twig' %}
{% block panel_title %}This is the panel title{% endblock %}
{% block panel_body%}
<p>This is the panel body</p>
{% endblock %}
{% endwith %}
#!/bin/bash
/usr/bin/mysqld_safe > /dev/null 2>&1 &
RET=1
while [[ RET -ne 0 ]]; do
sleep 1;
mysql -e 'exit' > /dev/null 2>&1; RET=$?
done
{
"name": "stage1/stage1",
"license": "MIT",
"type": "project",
"description": "Automated staging platform",
"autoload": {
"psr-0": {
"": "src/"
}
},
@ubermuda
ubermuda / .stage1.yml
Last active August 29, 2015 14:04
Examples of using NPM in a http://stage1.io build
build:
- apt-get update -y
- apt-get install -y software-properties-common python-software-properties python g++ make
- apt-add-repository ppa:chris-lea/node.js
- apt-get update -y
- apt-get install -y nodejs
- npm install -g bower
- bower install --allow-root
- composer install --ansi --no-progress --dev --prefer-dist --no-interaction
- app/console doctrine:schema:update --force
build:
- mysqladmin create openl10n
- apt-get update -y
- apt-get install -y software-properties-common python-software-properties python g++ make
- apt-add-repository ppa:chris-lea/node.js
- apt-get update -y
- apt-get install -y nodejs
- composer install --ansi --no-progress --dev --prefer-dist --no-interaction
- app/console doctrine:schema:update --force
- app/console assets:install web/

Here are all the TV series people recommended on Twitter / IRC (including those I already watched or those I'm not going to watch).

  • 24
  • Banshee
  • Battlestar Galactica
  • Believe
  • Black mirror
  • Breaking Bad
  • Falling Skies
  • Fargo