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
#!/bin/sh | |
set -e; | |
curl http://artpip.com/api/featured | | |
jq ".artworks[0].url" | | |
xargs -n1 curl > /tmp/wall.jpg && | |
feh --bg-fill /tmp/wall.jpg; |
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
// this is just unminified https://regex101.com/javascriptWorker.js | |
! function(e) { | |
function t(r) { | |
if (n[r]) return n[r].exports; | |
var o = n[r] = { | |
i: r, | |
l: !1, | |
exports: {} | |
}; |
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
import requests | |
from random import choice | |
from bs4 import BeautifulSoup | |
import json | |
import peewee | |
db = peewee.SqliteDatabase("lyricsgen.sqlite3") | |
parser = "html.parser" | |
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
curl -s "https://cs.wikipedia.org/wiki/Seznam_obc%C3%AD_v_%C4%8Cesku" | pup "#content #bodyContent #mw-content-text div table tbody tr td div a" | grep -v "<" | sed "s/^ //" | sort |
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
import re | |
import pyphen | |
NONBREAKABLE_WORDS = [ # nektera slova (napr. nazev firmy) se hodi nerozdelovat | |
"…", | |
"…" | |
] | |
def hyphens(text, lang): | |
""" |
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
rofi.color-enabled: true | |
rofi.color-window: #010101, #002b36, #000000 | |
rofi.color-normal: #010101, #eeeeee, #060606, #e2260b, #eee8d5 | |
rofi.color-active: #d64937, #fff5ce, #c93e2c, #f34e05, #fdf6e3 | |
rofi.color-urgent: #000000, #ff9a00, #010101, #ff2700, #fdf6e3 | |
rofi.font: Input Mono 10 | |
rofi.bw: 0 | |
rofi.padding: 2 | |
rofi.terminal: urxvtc | |
rofi.hide-scrollbar: true |
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
for i in `sed "s/@.*//" .meteor/versions`; do meteor update $i; done |
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
find: | |
(var|const) ([a-zA-Z]+) = require\((.+)\) | |
replace with: | |
import $2 from $3 |
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
linters: | |
Indentation: | |
severity: warning | |
width: 4 | |
LeadingZero: | |
enabled: true | |
style: include_zero | |
NestingDepth: | |
enabled: true | |
max_depth: 4 |
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
. |