Skip to content

Instantly share code, notes, and snippets.

View spawnrider's full-sized avatar

Yohann Ciurlik spawnrider

View GitHub Profile
#!/bin/sh
#################################################################
# DON'T: steal without credit
#
# DO: Put this in your ~/SiriProxy directory &
# Run with rvmsudo sh siriproxy.sh {start|keepalive|stop}
#
# start will run SiriProxy in the background
#
@spawnrider
spawnrider / fix_symlinks_fmk_ios.sh
Created July 26, 2013 11:52
This script recreate corrupted Symlinks into iOS Frameworks
@spawnrider
spawnrider / WiringPi
Last active August 29, 2015 14:07
Install WiringPi on Raspberry Pi
cd ~/
git clone git://git.drogon.net/wiringPi
cd wiringPi
./build
@spawnrider
spawnrider / 433Utils
Created September 29, 2014 20:45
Install 433Utils on Raspberry Pi
cd ~/
git clone git://github.com/ninjablocks/433Utils.git
cd 433Utils/RPi_utils
make
@spawnrider
spawnrider / sendOTIO.cpp
Created September 29, 2014 21:06
Send RF commands to OTIO receivers
/*
Auteur : Yohann Ciurlik
Codes commandes OTIO 433MHz Ref. 09HA02
Ces codes peuvent etre utilisés avec la libraire RC-Switch disponible sur :
http://code.google.com/p/rc-switch/
-----------------------------------------------
Mode: 32 bit
@spawnrider
spawnrider / 0_reuse_code.js
Last active August 29, 2015 14:11
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@spawnrider
spawnrider / Camunda Authentication Filter for OpenAM SSO
Created June 19, 2015 08:59
Camunda Authentication Filter for OpenAM SSO authentication
package your.domain.bpm.webapp.impl.security.auth;
import static org.camunda.bpm.engine.authorization.Permissions.ACCESS;
import static org.camunda.bpm.engine.authorization.Resources.APPLICATION;
import java.io.IOException;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.Iterator;
import java.util.List;
<?xml version="1.0" encoding="utf-8" ?>
<mappings>
<mapping type="urlmapservice">
<value> http://sampleserver6.arcgisonline.com/arcgis/rest/services/USA/MapServer</value>
</mapping>
<mapping type="selectablelayer">
<value>joined_pipe</value>
</mapping>
</mappings>
@spawnrider
spawnrider / Chrome_SyncDisabled.reg
Created August 3, 2015 12:52
Enable Google Chrome Profile synchronization when synchronization is disabled by your administrator
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Chrome]
"SyncDisabled"=dword:00000000
@spawnrider
spawnrider / cap_aw2015_global_calendar.json
Last active September 23, 2015 13:43
Capgemini Architecture Week 2015 Global Calendar
[
{"id":1, "town":"Munich", "coord": {"lat": 48.1351253, "lng": 11.5819806}, "country":"Germany", "date":"2015-09-28", "flag": "http://flags.fmcdn.net/data/flags/small/de.png"},
{"id":2, "town":"Hambourg", "coord": {"lat": 53.5510846, "lng": 9.9936818}, "country":"Germany", "date":"2015-09-28", "flag": "http://flags.fmcdn.net/data/flags/small/de.png"},
{"id":3, "town":"New York", "coord" : {"lat": 40.7127837, "lng": -74.0059413}, "country":"USA", "date":"2015-09-28", "flag":"http://flags.fmcdn.net/data/flags/small/us.png"},
{"id":4, "town":"Utrecht", "coord": {"lat": 52.09073739999999, "lng": 5.1214201}, "country":"Nederland", "date":"2015-09-29", "flag":"http://flags.fmcdn.net/data/flags/small/nl.png"},
{"id":5, "town":"Diegem", "coord": {"lat": 50.8940397, "lng": 4.4362628}, "country":"Belgium", "date":"2015-09-29", "flag":"http://flags.fmcdn.net/data/flags/small/be.png"},
{"id":6, "town":"Melbourne", "coord": {"lat": -37.814107, "lng": 144.96328}, "country":"Australia", "date":"2015-09-29",