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
#!/usr/bin/python3 | |
# SPDX-License-Identifier: CC0-1.0 | |
# | |
# One-time Rhythmbox to Tauon playcount migration tool | |
import os | |
import pickle | |
import shutil | |
import urllib.parse as urlparser | |
import xml.etree.ElementTree as ET |
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
Windows Registry Editor Version 5.00 | |
; This file is documented at: | |
; https://www.ctrl.blog/entry/windows-delivery-optimization.html | |
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\DeliveryOptimization] | |
"DODelayBackgroundDownloadFromHttp"=dword:e10 | |
"DODelayForegroundDownloadFromHttp"=dword:12C | |
"DOMinFileSizeToCache"=dword:2 | |
"DOMinDiskSizeAllowedToPeer"=dword:10 |
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
0 1 2: 0 0 0 0; | |
0: 1 9 0 0; | |
2: 1 63 0 0 ; | |
1: 1 63 0 0 ; | |
0: 10 63 0 0; |
This file has been truncated, but you can view the full file.
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
Redirect 301 /en/question/9369/network-manager-not-detecting-3g-modem-after-installing-mobilepartner-app/ https://web.archive.org/web/20190517/https://askbot.fedoraproject.org/en/question/9369/network-manager-not-detecting-3g-modem-after-installing-mobilepartner-app/ | |
Redirect 301 /en/question/10303/no-option-for-gnome-desktop-at-start-up-newbie/ https://web.archive.org/web/20190517/https://askbot.fedoraproject.org/en/question/10303/no-option-for-gnome-desktop-at-start-up-newbie/ | |
Redirect 301 /en/question/54800/how-to-remove-a-font-installed-on-fedora-20/ https://web.archive.org/web/20190517/https://askbot.fedoraproject.org/en/question/54800/how-to-remove-a-font-installed-on-fedora-20/ | |
Redirect 301 /en/question/104551/is-there-a-source-of-older-gcc-packages-for-fedora-25/ https://web.archive.org/web/20190517/https://askbot.fedoraproject.org/en/question/104551/is-there-a-source-of-older-gcc-packages-for-fedora-25/ | |
Redirect 301 /en/question/10923/how-to-force-all-gnome-applications-to-use-the-dark-adwaita-theme/ |
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
from os.path import isfile | |
from urllib.request import urlopen | |
import concurrent.futures | |
import socket | |
import dns.resolver | |
import time | |
from urllib.request import urlopen, Request | |
import multiprocessing as mp | |
import os | |
import sys |
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
Tranco RNXW List Rank | Dat archive | domain name | availability | |
---|---|---|---|---|
0149929 | dat://d82084b53fce5f07696c2acf98a363601ec9410d06c633513269979786464eb3 | ar.al | available | |
0406174 | dat://4bc5d5651d95e89348663fa71dd62de9bb2cdb247c7c02414e7d0ba917d95c2c | evertpot.com | unavailable | |
0417810 | dat://ba81c9746d6183f3d5c05d51279ff3e0fed06369d0e17a3bbd4ac76e7303b418 | ind.ie | available | |
0505161 | dat://47a6d1ac8084cdbeba2def34eb3528fe7c23add67442c516314acaa47937db26 | staltz.com | unavailable | |
0742962 | dat://8bb99a0ac0d56131e61bd4bfea74ced9bc2c603e78e4eb72e8dd2fd6f33743cd | beakerbrowser.com | available | |
0848744 | dat://54cb4accdabc258240d76df28ee66c0900aeaadddb822e2b99e0cef113ae128b | bernsteinbear.com | unavailable | |
0874829 | dat://8dd20f73e70b5a467eabefd2c3ef6e0d39668afea90190e498e7cc396a1bea07 | inkdroid.org | available | |
0887990 | dat://cff13e4cc797f46d453d4b2d7472dd481d7fd2f0a1c6e4eab425327f48c396fd | macwright.org | unavailable | |
1167327 | dat://676db9db2e04a604ea6dbc798bb0d327a335c19b4856ac496ae4bb34e367633a | freedombone.net | unavailable |
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
Date.prototype.getUnixTime = function() { | |
return this.getTime()/1000|0; | |
}; | |
Date.prototype.getUnixMicroUnixTime = function() { | |
return this.getUnixTime()*1000000; | |
}; | |
var date = new Date(); | |
date.setMonth(date.getMonth() - 9); |
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
/* | |
Tracking links that use hashes rather than query parameters. | |
Improves privacy by not including campaign data in referral-out links. | |
Improves CDN/proxy privacy by not sharing campaign data with them. Also improves caching! | |
Tracking links can (optionally) be removed from URLbar/history without a redirect. | |
Example links: | |
/document#s:feed | |
/document#s:email | |
*/ |
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
# Download and unzip Alexa Top 1 Million websites | |
# http://s3.amazonaws.com/alexa-static/top-1m.csv.zip | |
# Run this script. | |
from os.path import isfile | |
from urllib.request import urlopen | |
import concurrent.futures | |
import socket | |
import dns.resolver | |
import time |
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
if (document.querySelector("html[amp],html[⚡]")) { | |
var amp = document.head.querySelector("link[rel='amphtml'][href]"), | |
canon = document.head.querySelector("link[rel='canonical'][href^='https://'],\ | |
link[rel='canonical'][href^='http://']"); | |
if (null != canon && amp != canon) { | |
document.location = canon.href; | |
} } |
NewerOlder