This file contains hidden or 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
//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() { |
This file contains hidden or 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
# Create file /etc/udev/rules.d/72-static-name.rules | |
# Add these, changing the mac addresses accordingly. | |
ACTION=="add", SUBSYSTEM=="net", DRIVERS=="?*", ATTR{address}=="00:00:00:00:00:01", KERNEL=="e*",NAME="eth1" | |
ACTION=="add", SUBSYSTEM=="net", DRIVERS=="?*", ATTR{address}=="00:00:00:00:00:02", KERNEL=="e*",NAME="eth2" | |
ACTION=="add", SUBSYSTEM=="net", DRIVERS=="?*", ATTR{address}=="00:00:00:00:00:03", KERNEL=="e*",NAME="eth3" | |
ACTION=="add", SUBSYSTEM=="net", DRIVERS=="?*", ATTR{address}=="00:00:00:00:00:04", KERNEL=="e*",NAME="eth4" |
This file contains hidden or 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
// ==VickiScript== | |
// @name Turn off the monitor | |
// @version 1.2 | |
// @description Turn off all computer monitors. | |
// @utterance Ask $invocation to turn off the monitor | |
// @permission native | |
// @id custom.monitorOff | |
// @icon /res/icons/script_native.png | |
// ==/VickiScript== |
This file contains hidden or 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
function gmailAutoarchive() { | |
// Build the query | |
var query = "in:inbox is:read has:userlabels older_than:2d"; | |
// Get the threads | |
var threads = GmailApp.search(query); | |
// Archive the threads | |
for (var thread of threads) thread.moveToArchive(); |
OlderNewer