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 GitHub: White favicon | |
// @version 1.10.0 | |
// @author tobbez | |
// @match https://support.github.com/* | |
// @match https://github.blog/* | |
// @match https://opensource.guide/* | |
// @match https://www.githubstatus.com/* | |
// @match https://services.github.com/* | |
// @match https://desktop.github.com/* |
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 Twitter: Redirect to mobile | |
// @namespace http://ryara.net/ | |
// @version 0.1 | |
// @author tobbez | |
// @match https://twitter.com/* | |
// @grant none | |
// @run-at document-start | |
// @downloadURL https://gist.github.com/tobbez/21181ca2458219beef53f20e04c067ea/raw/twitter-redirect-mobile.user.js | |
// @updateURL https://gist.github.com/tobbez/21181ca2458219beef53f20e04c067ea/raw/twitter-redirect-mobile.user.js |
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
import re | |
import urllib2 | |
import logging | |
from flexget.plugins.plugin_urlrewriting import UrlRewritingError | |
from flexget.plugin import * | |
from flexget.utils.soup import get_soup | |
from flexget.utils.tools import urlopener | |
log = logging.getLogger('svtplay') |
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
<!doctype html> | |
<html> | |
<head> | |
<title>SSL localStorage migration proof of concept #2</title> | |
<script type="text/javascript"> | |
window.addEventListener('message', function (ev) { | |
var origin = ev.origin || event.originalEvent.origin; | |
if (origin !== 'http://' + document.location.host && origin != 'https://' + document.location.host) { | |
return; | |
} |
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 Twitter: Redirect media to :orig | |
// @namespace http://ryara.net/ | |
// @version 0.21 | |
// @author tobbez | |
// @match https://pbs.twimg.com/media/* | |
// @match https://pbs-h2.twimg.com/media/* | |
// @grant none | |
// @run-at document-start | |
// @downloadURL https://gist.github.com/tobbez/c23cd46ce37eade711d900ad653f05a4/raw/twitter-redirect-media-orig.user.js |
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
diff --git a/morituri/common/directory.py b/morituri/common/directory.py | |
index 47aac11..7af0df3 100644 | |
--- a/morituri/common/directory.py | |
+++ b/morituri/common/directory.py | |
@@ -22,34 +22,21 @@ | |
import os | |
+from xdg import BaseDirectory | |
+ |
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
<?php | |
/* | |
* API for WhatIMG | |
* Copyright (c) 2013, tobbez | |
* | |
* This program is free software: you can redistribute it and/or modify | |
* it under the terms of the GNU General Public License as published by | |
* the Free Software Foundation, either version 3 of the License, or | |
* (at your option) any later version. | |
* |
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
1 - Create a *private* GitHub/Bitbucket or similar git repo. Here I assume the repo is: | |
https://github.com/calkan/bash_history.git | |
2 - Create .history directory and initialize it for the repo: | |
mkdir $HOME/.history | |
cd $HOME/.history | |
git init | |
touch README.md |
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
<!doctype html> | |
<html> | |
<head> | |
<title>localStorage migration to SSL proof of concept</title> | |
<script type="text/javascript"> | |
function parseHash() { | |
if (document.location.hash === '') return new Map(); | |
var res = new Map(); | |
document.location.hash.substr(1).split('&').forEach(function(e) { | |
var kv = e.split('='); |
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
From 42d4cc728d6891b17eb515e229e7d90a8badf16d Mon Sep 17 00:00:00 2001 | |
From: =?UTF-8?q?Torbj=C3=B6rn=20L=C3=B6nnemark?= <tobbez@ryara.net> | |
Date: Wed, 16 Oct 2013 20:45:05 +0200 | |
Subject: [PATCH] Fixed Signer.sign for Python 3 | |
Closes #29 | |
--- | |
itsdangerous.py | 2 +- | |
1 file changed, 1 insertion(+), 1 deletion(-) |
NewerOlder