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
pacman -Qi | awk '/^Name/{name=$3} /^Installed Size/{print name " : " $4 $5}' | sort -h -k 3 |
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
:root { | |
--body-bg: #1e1e1e !important; | |
--nav-tooltip-text: white !important; | |
--nav-text: white !important; | |
--up-black: white !important; | |
--tab-active-bg-color: white !important; | |
--bg-inverse: #1e1e1e !important; | |
--skill-bg: #1e1e1e !important; | |
--skill-color: white !important; | |
--nav-dropdown-link-text: black; |
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
let stop = false | |
let amount = 5 | |
let delay = 10 | |
function pageScroll() { | |
window.scrollBy(0, amount); | |
if(!stop) | |
scrolldelay = setTimeout(pageScroll,delay); | |
} |
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
setTimeout( | |
function(){ | |
var bad_banner; | |
do { | |
bad_banner = document.querySelector('#cookie-banner-lgpd') | |
}while(!bad_banner); | |
bad_banner.remove() | |
document.querySelector('#app > div > div > div > header').remove().remove() | |
}, 1000) |
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 | |
from distutils.spawn import find_executable | |
import argparse | |
import os | |
import psutil | |
import requests | |
import signal | |
import subprocess | |
import sys | |
import telepot |
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 | |
from bs4 import BeautifulSoup | |
import requests | |
SIN_URL = 'https://www.sinonimos.com.br/' | |
ANT_URL = 'https://www.antonimos.com.br/' | |
def main(palavra): | |
sess = requests.session() |
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 | |
from bs4 import BeautifulSoup | |
import requests | |
import string | |
import json | |
base_url = 'http://www.portaldalinguaportuguesa.org' | |
syllables = base_url + '/index.php?action=syllables&act=list&letter=' | |
session = requests.session() | |
save_path = 'palavras-divisao-silabica.json' |
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 python2 | |
# original author: jason moiron | |
# http://jmoiron.net/blog/finding-images-binary-file-w-python/ | |
chunk = 1048576 * 4 | |
# http://www.obrador.com/essentialjpeg/headerinfo.htm | |
jfif_id = 'JFIF\x00' | |
diffie_quant_marker = '\xff\xdb' | |
diffie_huffman_marker = '\xff\xc4' | |
frame_marker = '\xff\xc0' |
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
#!/bin/bash | |
sudo sed -i /usr/etc/netbeans.conf -e 's/netbeans_default_options="/netbeans_default_options="-J-Dswing.aatext=true -J-Dawt.useSystemAAFontSettings=on /g' |
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
import atexit | |
import itertools | |
import os | |
import random | |
from collections import deque | |
import numpy as np | |
from keras import backend as K | |
from keras.layers import Dense | |
from keras.models import Sequential |
NewerOlder