Skip to content

Instantly share code, notes, and snippets.

@fichtennadel
fichtennadel / BinnenI.user.js
Last active May 26, 2023 22:21
Binnen-I be gone
// ==UserScript==
// @name Binnen-I be gone
// @namespace https://gist.github.com/fichtennadel/2fd33e35a34fcdd9ada68bb7133048c4
// @description Removes BinnenI
// @version 2.1
// @license CC by Attribution-Noncommercial-No Derivative Works 3.0 Unported (http://creativecommons.org/licenses/by-nc-nd/3.0/)
// @include *://d*standard.at/*
// @include *://*.d*standard.at/*
// ==/UserScript==
@lologhi
lologhi / 1.How to easily implement a REST API with oAuth2 presentation.md
Last active April 4, 2024 22:13
Symfony2 : How to easily implement a REST API with oAuth2 (for normal guys)

It's still a work in progress...

Intro

As William Durand was recently explaining in his SOS, he "didn't see any other interesting blog post about REST with Symfony recently unfortunately". After spending some long hours to implement an API strongly secured with oAuth, I thought it was time for me to purpose my simple explanation of how to do it.

Ok, you know the bundles

You might have already seen some good explanation of how to easily create a REST API with Symfony2. There are famous really good bundles a.k.a. :

@chikuzen
chikuzen / vsenc.py
Last active March 27, 2016 21:06
vapoursynth sample
#vsenc.py
#coding: utf-8
import sys
from subprocess import Popen, PIPE
import vapoursynth as vs
x264_binary_path = 'D:/tools/x86/x264.exe'
avconv_binary_path = 'D:/tools/x86/avconv.exe'