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 poppler, os.path | |
| import os | |
| filenames = [] | |
| handels = "ABCDEFGHIJKLMNOPQRSTUVWXYZ" | |
| for name in os.listdir('.'): | |
| if name[-4:] == ".pdf": |
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/bash | |
| # this script goes to /etc/NetworkManager/dispatcher.d/ | |
| IF=$1 | |
| STATUS=$2 | |
| case "$2" in | |
| up) | |
| if [ "$CONNECTION_ID" == "WIFIonICE" ] |
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 | |
| import json | |
| import time | |
| import sys | |
| import os | |
| from colorama import init | |
| init(strip=not sys.stdout.isatty()) # strip colors if stdout is redirected |
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
| server { | |
| access_log off; | |
| listen 80 default_server; | |
| listen [::]:80 default_server; | |
| # enforce https | |
| return 301 https://$host$request_uri; | |
| } | |
| server { | |
| access_log off; |
OlderNewer