sudo apt-get install git build-essential devscripts debhelper pkg-config libgtk2.0-dev libfuse-dev nasm libappindicator-dev bash-completion
sudo apt-get install fakeroot
remove
{ | |
"name": "Wistia auto-speed", | |
"version": "1.0", | |
"description": "Automatically speed up Wistia embeds to 1.5x, and select the best quality.", | |
"content_scripts": [ | |
{ | |
"matches": [ | |
"*://*.wistia.com/medias/*", | |
"*://fast.wistia.net/embed/iframe/*" | |
], |
{ | |
"name": "TED YouTube embed", | |
"version": "1.0", | |
"description": "Replace the TED player with the equivalent YouTube video.", | |
"content_scripts": [ | |
{ | |
"matches": ["*://www.ted.com/talks/*"], | |
"js": ["replace.js"], | |
"run_at": "document_end" | |
} |
--[[ | |
Twitch.tv extension v0.0.2 by Stefan Sundin | |
https://gist.github.com/stefansundin/c200324149bb00001fef5a252a120fc2 | |
The only thing that this extension does is to act as a helper to seek to the | |
correct time when you open a twitch.tv url that contains a timestamp. | |
You must have the playlist parser installed as well! | |
Usage: | |
1. Install the playlist parser: https://addons.videolan.org/p/1167220/ |
# http://docs.python-requests.org/en/master/api/ | |
import requests | |
class RequestsApi: | |
def __init__(self, base_url, **kwargs): | |
self.base_url = base_url | |
self.session = requests.Session() | |
for arg in kwargs: | |
if isinstance(kwargs[arg], dict): | |
kwargs[arg] = self.__deep_merge(getattr(self.session, arg), kwargs[arg]) |
#!/usr/bin/env ruby | |
# https://code.google.com/archive/schema | |
# https://storage.googleapis.com/google-code-archive/v2/code.google.com/altdrag/project.json | |
require "httparty" | |
class CodeParty | |
include HTTParty | |
base_uri "https://storage.googleapis.com/google-code-archive/v2/code.google.com" |
source "https://rubygems.org" | |
gem "rack" |
{ | |
"name": "SweClockers YouTube embed", | |
"version": "1.1", | |
"description": "Trött på dålig videospelare?", | |
"content_scripts": [ | |
{ | |
"matches": ["*://www.sweclockers.com/*"], | |
"js": ["replace.js"], | |
"run_at": "document_end" | |
} |
// The subsequent requests for the videofiles fails, but it was fun to test. | |
// http://www.oppetarkiv.se/ | |
// https://developer.chrome.com/extensions/webRequest | |
chrome.webRequest.onBeforeRequest.addListener( | |
function(info) { | |
console.log(`Intercepted ${info.url}`); | |
return {redirectUrl: 'data:application/json,{"inSweden":true}'}; | |
}, | |
{ |
#!/usr/bin/env ruby | |
# gem install httparty | |
require "httparty" | |
trap "SIGINT" do | |
STDERR.write "\nBye!" | |
exit 1 | |
end | |
while true |