This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Gist UserScript Install Link | |
// @author Erik Vold | |
// @namespace gistUserScriptInstallLink | |
// @include https://gist.github.com/* | |
// @version 0.9 | |
// @license GPL version 3 or any later version; http://www.gnu.org/copyleft/gpl.html | |
// @description This userscript will add an 'Install' link to all userscript files (which end with .user.js by necessity). | |
// @downloadURL https://gist.github.com/surkin/ffbcaeb5afa6f155a8d6/raw/e62b203f2ef9233b1894552b7b53408115434051/gistUserScriptInstallLink.user.js | |
// @grant none |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==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"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |