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
// ==UserScript== | |
// @name Doodle Countries | |
// @namespace https://gist.github.com/oldherl | |
// @version 0.1.1 | |
// @description Extract and display list of countries of Doodles | |
// @author oldherl (with Copilot) | |
// @match https://doodles.google/doodle/* | |
// @grant none | |
// ==/UserScript== |
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
/down/moz |
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
<?xml version="1.0"?> | |
<!DOCTYPE fontconfig SYSTEM "fonts.dtd"> | |
<fontconfig> | |
<alias> | |
<family>serif</family> | |
<prefer> | |
<family>Source Han Serif SC</family> | |
<family>Noto Serif CJK SC</family> | |
<family>Source Han Serif</family> | |
<family>Jigmo</family> |
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
@font-face { | |
font-family: 'oldherl-songti'; | |
font-weight: bold; | |
src: local('STZhongsong'); | |
} | |
@font-face { | |
font-family: 'oldherl-songti'; | |
font-weight: 500; | |
src: local('STZhongsong'); | |
} |
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
[ColorEffects:Disabled] | |
Color=56,56,56 | |
ColorAmount=0 | |
ColorEffect=0 | |
ContrastAmount=0.65 | |
ContrastEffect=1 | |
IntensityAmount=0.1 | |
IntensityEffect=2 | |
[ColorEffects:Inactive] |
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
@-moz-document domain("github.com") { | |
/* no round avatars */ | |
.avatar-user { | |
border-radius: 0 !important; | |
} | |
/* only slightly round buttons */ | |
.btn { | |
border-radius: 2px; | |
} |
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 comment_parser import comment_parser as cmp | |
from googletrans import Translator as Tr | |
# pip install ansicolors | |
from colors import color | |
def print_item(item): | |
print(color("Original (%s):" % item.src, fg="red", style="underline+bold")) | |
print(item.origin) | |
print(color("Translated (%s):" % item.dest, fg="green", style="underline+bold")) |
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
notify_net_usage() { | |
notify-send -t 5000 -i network-transmit-receive "$1" "`ifconfig $1 | grep packets`" | |
} | |
loop_notify_wifi() { | |
while true; do | |
notify_net_usage wlp2s0 | |
sleep 30 | |
done | |
} |