Skip to content

Instantly share code, notes, and snippets.

Patrick Debois jedi4ever

View GitHub Profile
View gist:e2e621a4f3f22a8b9f591e398e1e1881
fabric-activate: clean simulator-build
-xcrun simctl terminate 6A6D30C8-AA08-4A55-A95A-0D5983AE33B2 $(BUNDLE_ID)
-xcrun simctl shutdown 6A6D30C8-AA08-4A55-A95A-0D5983AE33B2
-xcrun simctl erase 6A6D30C8-AA08-4A55-A95A-0D5983AE33B2
-xcrun simctl boot 6A6D30C8-AA08-4A55-A95A-0D5983AE33B2
-xcrun simctl install 6A6D30C8-AA08-4A55-A95A-0D5983AE33B2 $(XCODE_APP_FILE)
-xcrun simctl launch 6A6D30C8-AA08-4A55-A95A-0D5983AE33B2 $(BUNDLE_ID)
jedi4ever / index.js
Created Dec 6, 2015 — forked from joshhunt/index.js live reload for Apple TV TVML app
View index.js
import 'babel-polyfill';
import firstView from 'views/first';
import * as liveReload from 'lib/liveReload';
App.onLaunch((launchOptions) => {
jedi4ever /
Last active Aug 29, 2015 — forked from mediabounds/
A small bash script to re-sign iOS applications.
# !/bin/bash
# Copyright (c) 2011 Float Mobile Learning
# Permission is hereby granted, free of charge, to any person obtaining
# a copy of this software and associated documentation files (the "Software"),
# to deal in the Software without restriction, including without limitation
# the rights to use, copy, modify, merge, publish, distribute, sublicense,
# and/or sell copies of the Software, and to permit persons to whom the
View Notes on downloading devopsdays vimeo archive
Created vm ubuntu 14.04
Tried installing via apt-get install youtube-dl
- kept getting errors on Unable to download webpage: <urlopen error [Errno 8] _ssl.c:510: EOF occurred in violation of protocol>
- this is a bug when using python2 (default on ubuntu)
- So remove the apt package
Install via pip:
- apt-get install pip
- alias python=`/usr/bin/python3`
- pip install youtube-dl
jedi4ever / gist:b6013f313aacdac844bf
Created May 19, 2015
redis - redis sentinel - docker setup
View gist:b6013f313aacdac844bf
DOCKER_IP=$(ip addr show docker0|grep "inet "|sed -e 's/^[ ]*//g'| cut -d ' ' -f 2| cut -d '/' -f 1)
docker stop redis_0
docker stop redis_1
docker stop sentinel_0
docker stop sentinel_1
docker stop sentinel_2
jedi4ever /
Created May 19, 2015
Redis - Redis Sentinel - Docker
DOCKER_IP=$(ip addr show docker0|grep "inet "|sed -e 's/^[ ]*//g'| cut -d ' ' -f 2| cut -d '/' -f 1)
docker stop redis_0
docker stop redis_1
docker stop sentinel_0
docker stop sentinel_1
docker stop sentinel_2
View gist:5d916c1b1c2d767f3f65
Looking for the correct syntax
rsync -avz <host-dir> | docker exec rsync --server --daemon <inside-container-dir>
jedi4ever / gist:8da590c05d66ffbdcffb
Last active Aug 29, 2015
monkey patch net.connect nodejs to support SRV records
View gist:8da590c05d66ffbdcffb
// Proof of concept of monkey patching net.connect to make it support SRV records
// If require a monkey patched connect function before any other requires we can make a generic fix for handling SRV records
// We need of course to handle a few different cases & more robust error handling
// We can require a lib and even specify a filter for which hosts to resolve SRV and which not
var net = require('net');
var dns = require('dns');
// Set a specific Nameserver to be used
jedi4ever / gist:c910b487f515a07a488c
Created Mar 30, 2015
coreos cloudinit for etcd/fleet/consul/registrator/ambassador
View gist:c910b487f515a07a488c
- path: /etc/systemd/system/docker.service.d/increase-ulimit.conf
owner: core:core
permissions: 0644
content: |
- path: /etc/ntp.conf
jedi4ever /
Created Dec 1, 2014
release engineering - devops definitions

I was asked to get some feedback on the following definition:

Dear Mr. Debois,

I would like to ask you for some feedback on the following definition drafts for the terms release engineering and DevOps.

Here, at RWTH Aachen University in Germany, we try to find definitions for those terms as part of a seminar in software engineering. Moreover, in my work, I try to point out the differences between release

You can’t perform that action at this time.