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
/* box layout */ | |
.pop_rwbox { | |
/* | |
top: 20%; | |
left: 20%; | |
transform: translate(-20%, -20%); | |
*/ | |
left: 8%; | |
right: 8%; |
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
Settings on Twidere: | |
API URL Format: https://your-host/[DOMAIN.]twitter.com/ | |
Uncheck "Same OAuth signing URL" | |
Uncheck "No verion suffix" | |
Password login recommended. |
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
javascript:void( | |
(function(w, d, j) { | |
// Header | |
j('.header.gist-header').remove(); | |
j('.gist-detail-intro.gist-banner').remove(); | |
// Main Head | |
j('.pagehead.repohead').remove(); | |
// Main Container | |
j('.repository-meta').remove(); | |
j('.file-header').remove() |
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
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
def archive_to_bytes(archive): | |
def to_seconds(s): | |
SECONDS_IN_A = { | |
's': 1, | |
'm': 1 * 60, | |
'h': 1 * 60 * 60, |