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 requests | |
import re | |
import time | |
import datetime | |
def get_page(): | |
url = 'https://www.ggdreisvaccinaties.nl/afspraak-maken' | |
headers = { |
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
[ | |
{ | |
"city": "New York", | |
"growth_from_2000_to_2013": "4.80%", | |
"latitude": 40.7127837, | |
"longitude": -74.0059413, | |
"population": 8405837, | |
"rank": 1, | |
"state": "New York", | |
"timezone": "America/New_York" |
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 python3 | |
import requests, json, sqlite3 | |
from xml.etree import ElementTree as ET | |
from urllib.parse import urlparse, parse_qs | |
blog_domain = 'tracks.tumblr.com' # change this | |
post_type = 'audio' # leave empty for all post types | |
posts_per_request = 50 # max is 50 |
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
swcdn.apple.com/content/downloads/46/29/091-99992/6qr5ncwub6vmlm9o0udlmml5n861n9c9gr/SecureBoot.pkg.integrityDataV1 | |
swcdn.apple.com/content/downloads/46/29/091-99992/6qr5ncwub6vmlm9o0udlmml5n861n9c9gr/EmbeddedOSFirmware.pkg.integrityDataV1 | |
swcdn.apple.com/content/downloads/46/29/091-99992/6qr5ncwub6vmlm9o0udlmml5n861n9c9gr/macOSUpd10.14.1Patch.pkg.integrityDataV1 | |
swcdn.apple.com/content/downloads/46/29/091-99992/6qr5ncwub6vmlm9o0udlmml5n861n9c9gr/macOSUpd10.14.1.RecoveryHDUpdate.pkg.integrityDataV1 | |
swcdn.apple.com/content/downloads/46/29/091-99992/6qr5ncwub6vmlm9o0udlmml5n861n9c9gr/FirmwareUpdate.pkg.integrityDataV1 | |
swcdn.apple.com/content/downloads/46/29/091-99992/6qr5ncwub6vmlm9o0udlmml5n861n9c9gr/FullBundleUpdate.pkg.integrityDataV1 | |
swcdn.apple.com/content/downloads/46/29/091-99992/6qr5ncwub6vmlm9o0udlmml5n861n9c9gr/macOSBrain.pkg.integrityDataV1 | |
swcdn.apple.com/content/downloads/46/29/091-99992/6qr5ncwub6vmlm9o0udlmml5n861n9c9gr/macOSUpd10.14.1.pkg.integrityDataV1 | |
swcdn.apple.com/content/downloads/35/53/0 |
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
8.34.208.0/20,8.35.192.0/21,8.35.200.0/23,108.59.80.0/20,108.170.192.0/20,108.170.208.0/21,108.170.216.0/22,108.170.220.0/23,108.170.222.0/24,35.224.0.0/13,162.216.148.0/22,162.222.176.0/21,173.255.112.0/20,192.158.28.0/22,199.192.112.0/22,199.223.232.0/22,199.223.236.0/23,23.236.48.0/20,23.251.128.0/19,35.204.0.0/14,35.208.0.0/14,107.167.160.0/19,107.178.192.0/18,146.148.2.0/23,146.148.4.0/22,146.148.8.0/21,146.148.16.0/20,146.148.32.0/19,146.148.64.0/18,35.203.0.0/17,35.203.128.0/18,35.203.192.0/19,35.203.240.0/20,130.211.8.0/21,130.211.16.0/20,130.211.32.0/19,130.211.64.0/18,130.211.128.0/17,104.154.0.0/15,104.196.0.0/14,208.68.108.0/23,35.184.0.0/14,35.188.0.0/15,35.202.0.0/16,35.190.0.0/17,35.190.128.0/18,35.190.192.0/19,35.235.224.0/20,35.192.0.0/14,35.196.0.0/15,35.198.0.0/16,35.199.0.0/17,35.199.128.0/18,35.200.0.0/15,35.212.0.0/16,35.190.224.0/20,35.232.0.0/15,35.234.0.0/16,35.235.0.0/17,35.235.192.0/20,35.236.0.0/14,35.240.0.0/15,35.203.232.0/21,130.211.4.0/22,35.220.0.0/14,35.242.0.0/15,35.244.0.0/ |
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
echo 'address=/localhost/127.0.0.1' | sudo tee /etc/NetworkManager/dnsmasq.d/development-tlds > /dev/null | |
echo 'address=/laravel/127.0.0.1' | sudo tee -a /etc/NetworkManager/dnsmasq.d/development-tlds > /dev/null | |
sudo service NetworkManager reload |
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
// Functions | |
let shuffle = (inArr, seed, unshuffle = false) => { | |
let outArr = Array.from(inArr), | |
len = inArr.length | |
let swap = (a, b) => [outArr[a], outArr[b]] = [outArr[b], outArr[a]] | |
for ( |
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/python2 | |
import sys, fontforge, string | |
allowed_chars = string.printable # ascii (32 -> 126) | |
if len(sys.argv) == 3: | |
font = fontforge.open(sys.argv[1]) | |
for char in allowed_chars.decode("UTF-8"): | |
font.selection[ord(char)] = True |
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
# https://youtu.be/RTSGm-a0h1Q | |
from gi.repository import Gtk, Gdk | |
from scipy import misc | |
import serial | |
FILENAME = '/home/isword/Pictures/jb.jpg' | |
DEVICE = '/dev/ttyACM0' | |
BAUDRATE = 115200 |
NewerOlder