Skip to content

Instantly share code, notes, and snippets.

View surkin's full-sized avatar
🙃

Thomas Kobert surkin

🙃
View GitHub Profile
@surkin
surkin / gistUserScriptInstallLink.user.js
Last active December 9, 2019 07:18 — forked from LouCypher/gistUserScriptInstallLink.user.js
This userscript will add an 'Install' link to all userscript files (which end with .user.js by necessity).
@surkin
surkin / VLCPlugin.user.js
Last active December 2, 2021 20:38 — forked from tiffany352/gist:7266437
user script to replace HTML5 video player with VLC plugin
// ==UserScript==
// @name HTML5 video using VLC plugin
// @grant none
// @include *
// ==/UserScript==
function html5vlc(){
var videos = document.getElementsByTagName("video");
var embeds = new Array(videos.length);
for (var i = 0; i < videos.length; i++) {
var vlc = document.createElement("embed");
@surkin
surkin / gist:60406
Created February 8, 2009 15:06 — forked from peterc/gist:33337
rails 2.3 template on heroku
# Based on:
# SUPER DARING APP TEMPLATE 1.0
# By Peter Cooper
#
# Template for www.heroku.com with Rails 2.3 support
# Freeze gems of rails 2.3
rake('rails:freeze:gems')
# Delete unnecessary files