Skip to content

Instantly share code, notes, and snippets.

Stéphane Lepin Palakis

  • France
Block or report user

Report or block Palakis

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
@Palakis
Palakis / globalbrowsersource.lua
Last active Mar 20, 2018
OBS Studio - Global Browser Source (Downstream Keyer)
View globalbrowsersource.lua
ffi = require "ffi"
obs = obslua
globalSource = nil -- Null pointer
outputIndex = 63 -- Last index
function script_description()
return "Plays a media source as a global source.\nSelect a file, reload the script and enjoy."
end
@Palakis
Palakis / globalmediasource.lua
Last active Mar 20, 2018
OBS Studio - Global media source
View globalmediasource.lua
obs = obslua
mediaSource = nil -- Null pointer
outputIndex = 63 -- Last index
-- A function named script_description returns the description shown to
-- the user
function script_description()
return "Plays a media source as a global source.\nSelect a file, reload the script and enjoy."
end
View keybase.md

Keybase proof

I hereby claim:

  • I am Palakis on github.
  • I am stephanel (https://keybase.io/stephanel) on keybase.
  • I have a public key whose fingerprint is 8A7D BCC4 DD16 4B9A 6E49 7B4B 713E EDE3 9114 AFB1

To claim this, I am signing this object:

View PartyHardStrand.ino
#include <FastLED.h>
#define LED_PIN 6
#define NUM_LEDS 20
#define BRIGHTNESS 255
#define LED_TYPE WS2811
#define COLOR_ORDER GRB
CRGB leds[NUM_LEDS];
#define UPDATES_PER_SECOND 50
View RGBFade.ino
#define ROUGE 9
#define VERT 10
#define BLEU 11
#define ROUGE2 3
#define VERT2 5
#define BLEU2 6
#define DELAI 50
#define PAUSE 0
@Palakis
Palakis / classeamericaine
Last active Jan 18, 2017
Fichier fortune des répliques de La Classe Américaine
View classeamericaine
Attention, ce flim n'est pas un flim sur le cyclimse. Merci de votre compréhension.
-*- Le narrateur - La Classe Américaine -*-
%
Monde de merde.
-*- George Abitbol - La Classe Américaine -*-
%
Ecoute-moi bien, mon petit José. Tu baises les ménagères ? Bien ! tu dois avoir le cul qui brille. Mais c'est pas ça qu'on appelle la classe.
-*- George Abitbol - La Classe Américaine -*-
%
Tu n'es vraiment pas très sympa.
@Palakis
Palakis / ffos_repackage.js
Created Aug 13, 2015
Cordova < 3.7.0 : repackage Firefox OS app (because the integrated method produces corrupted archives)
View ffos_repackage.js
#!/usr/bin/env node
// Put this file in the hooks/after_compile folder and give it execution rights
var fs = require('fs');
var rootdir = process.argv[2];
if(rootdir) {
var platforms = (process.env.CORDOVA_PLATFORMS ? process.env.CORDOVA_PLATFORMS.split(',') : []);
for(var x = 0; x < platforms.length; x++) {
try {
var platform = platforms[x].trim().toLowerCase();
@Palakis
Palakis / ddns.py
Last active Aug 29, 2015
Behind-NAT-style Dynamic DNS script, designed to run on Ubiquiti EdgeRouter hardware
View ddns.py
#!/usr/bin/python
import socket
import fcntl
import struct
import httplib
import json
import sys
from base64 import b64encode
from urllib import urlencode
View gist:daadcd052095316d5a2d
#!/usr/bin/env python
import sys
import time
import telnetlib
if len(sys.argv) < 3:
print "Usage : "+__file__+" <host> <port> <client to kill>"
exit()
host = sys.argv[1]
You can’t perform that action at this time.