Skip to content

Instantly share code, notes, and snippets.

@werrpy
werrpy / rclone.conf
Last active May 19, 2021 21:27
rclone Unlimited Cloud Storage Script (Google Drive)
[media-local-secret]
type = crypt
remote = secret/media
filename_encryption = standard
password =
password2 =
[media-remote-secret]
type = crypt
remote = gdrive:path/to/media
@werrpy
werrpy / template.bbcode
Last active May 22, 2018 02:33
upload description template
[b]:information_source: [color=#2780e3]Source:[/color] RELEASE[/b]
[b]:dvd: [color=#2780e3]Disk:[/color] [url=https://example.com/]https://example.com/[/url][/b]
[b]:notepad_spiral: [color=#2780e3]Notes:[/color] Enjoy![/b]
[b]:camera: [color=#2780e3]Screens:[/color][/b]
@werrpy
werrpy / small-torrents-view.css
Created July 5, 2018 03:01
UNIT3D small screen torrents view cleanup
/* torrent stats */
html body div#hoeapp-wrapper.hoe-hide-lpanel div#hoeapp-container.hoe-minimized-lpanel section#main-content div#app div.container-fluid div.block:first-child,
/* line breaks */
html body div#hoeapp-wrapper.hoe-hide-lpanel div#hoeapp-container.hoe-minimized-lpanel section#main-content div#app div.container.box br:first-child,
html body div#hoeapp-wrapper.hoe-hide-lpanel div#hoeapp-container.hoe-minimized-lpanel section#main-content div#app div.container.box br:nth-child(2),
html body div#hoeapp-wrapper.hoe-hide-lpanel div#hoeapp-container.hoe-minimized-lpanel section#main-content div#app div.container.box br:nth-child(4),
html body div#hoeapp-wrapper.hoe-hide-lpanel div#hoeapp-container.hoe-minimized-lpanel section#main-content div#app div.container.box br:nth-child(5),
/* extra */
@werrpy
werrpy / imagez.py
Last active July 26, 2018 19:20
WIP imagez.to upload script
# production: python3 -O imagez.py
# debug: python3 imagez.py
import requests
from bs4 import BeautifulSoup
def get_embed(url):
# url is imagez post, ex. https://imagez.to/i/xksKbOSe
resp = requests.get(url).text
soup = BeautifulSoup(resp, 'html.parser')
:root {
--text-color: #CCCCCC;
--color-dark-magenta: hsl(300, 10%, 25%);
--color-dark-green: #EF6C00;
--color-dark-blue: #181818;
--color-dark-red: #181818;
--color-red: #EF6C00;
--color-light-red: hsl(0, 20%, 50%);
--color-green: #FF9800;
--color-light-green: #FFB74D;
@werrpy
werrpy / halloween-hd4.css
Last active September 30, 2018 19:38
Halloween Unofficial
/* 2014 material design colors from https://material.io/design/color/the-color-system.html#tools-for-picking-colors */
/*
Orange
50 #FFF3E0
100 #FFE0B2
200 #FFCC80
300 #FFB74D
400 #FFA726
500 #FF9800
:root {
--text-color: #CCCCCC;
--color-dark-magenta: hsl(300, 10%, 25%);
--color-dark-green: hsl(120, 10%, 25%);
--color-dark-blue: hsl(240, 10%, 30%);
--color-dark-red: hsl(0, 10%, 25%);
--color-red: hsl(0, 20%, 40%);
--color-light-red: hsl(0, 20%, 50%);
--color-green: hsl(120, 20%, 40%);
--color-light-green: hsl(120, 20%, 50%);
@werrpy
werrpy / dark-blue.css
Last active October 1, 2018 07:15
UNIT3D Dark Themes
/* 2014 material design colors from https://material.io/design/color/the-color-system.html#tools-for-picking-colors */
/*
Blue
50 #E3F2FD
100 #BBDEFB
200 #90CAF9
300 #64B5F6
400 #42A5F5
@werrpy
werrpy / xmas.css
Last active October 4, 2018 05:47
/* 2014 material design colors from https://material.io/design/color/the-color-system.html#tools-for-picking-colors */
/*
Green
50 #E8F5E9
100 #C8E6C9
200 #A5D6A7
300 #81C784
400 #66BB6A
500 #4CAF50
#!/bin/bash
#
# Backup Seed
#
# files to exclude
exclude="! -iname "*.mkv" ! -iname "*.mp4""
# backup