Skip to content

Instantly share code, notes, and snippets.

@bo33b
bo33b / tplink.user.js
Last active August 29, 2015 14:20
Disable TP-LINK router web interface location redirects and context menu blocking userscript for Greasemonkey
// ==UserScript==
// @name Username Filler
// @namespace bo33b
// @description Fill in a username in any login form
// @downloadURL https://gist.github.com/bo33b/962c2f2418933ab30918/raw/username.user.js
// @include https://accounts.google.com/ServiceLogin*
// @version 1.0
// @grant none
// ==/UserScript==
// ==UserScript==
// @name Google Dictionary
// @namespace bo33b
// @description Clean Google Dictionary
// @downloadURL https://gist.github.com/bo33b/41365a417f7fdf842f4d/raw/dictionary.user.js
// @version 5.1.1
// @include https://www.google.com/search?q=define+*
// @grant none
// ==/UserScript==
@bo33b
bo33b / vkmusic.user.js
Last active January 10, 2016 18:39
Simple and lightweight vk.com music download enabler userscript for Greasemonkey
// ==UserScript==
// @name VK Music Download
// @namespace bo33b
// @description Simple and lightweight VK music download enabler.
// @downloadURL https://gist.github.com/bo33b/092f3c0cdb47365ffd9d/raw/vkmusic.user.js
// @version 3.4
// @include http://vk.com/*
// @include https://vk.com/*
// @grant none
// ==/UserScript==
@bo33b
bo33b / markdown.css
Created March 6, 2016 16:01
Basic, clean, HTML styles
body {
color: #333;
font-family: 'Segoe UI', 'Lucida Grande', Helvetica, sans-serif;
line-height: 1.5;
margin: 50px auto;
max-width: 800px;
}
h1, h2, h3, h4, h5, h6 {
font-weight: normal;
[
{ "keys": ["ctrl+,"], "command": "toggle_side_bar" },
{ "keys": ["ctrl+."], "command": "toggle_minimap" },
{ "keys": ["ctrl+up"], "command": "scroll_lines", "args": {"amount": 6.0 } },
{ "keys": ["ctrl+down"], "command": "scroll_lines", "args": {"amount": -6.0 } },
{ "keys": ["f5"], "command": "sftp_upload_file" },
{ "keys": ["ctrl+f5"], "command": "sftp_upload_open_files" }
]
#https://web.archive.org/web/20160925022840/http://paste.osmc.io/raw/qiyekuvafe
#!/bin/sh
sudo apt-get update -y
sudo wget http://apt.osmc.tv/pool/main/a/a2dp-app-osmc/a2dp-app-osmc_1.0.7_all.deb -O a2dp.deb
sudo dpkg -i a2dp.deb
sudo apt-get -f -y install
sudo reboot
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>uuid one-liners</title>
<script src="https://cdnjs.cloudflare.com/ajax/libs/benchmark/1.0.0/benchmark.min.js"></script>
<script src="./suite.js"></script>
</head>
<body>
<h1>Open the console to view the results</h1>
//javascript:(function(d){d.head.appendChild(d.createElement('script')).src="https://rawgit.com/bo33b/dbe89054fe400d144b7b90961e586344/raw/iOS-userscripts.user.js"})(document);
(function(window, document) {
var host = window.location.host.split('.');
document.head.appendChild(document.createElement('script')).src = 'https://rawgit.com/bo33b/' + ({
duolingo() {
return '8485a04a0834a18bb1ceef71fad89b36/raw/duolingo.user.js'
},
ebay() {
// ==UserScript==
// @name Duolingo Russian
// @description Duolingo Russian
// @namespace bo33b
// @author bo33b
// @version 1.1
// @match https://www.duolingo.com/*
// @grant none
// ==/UserScript==