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 | |
# Usage | |
# ./show-docker-ports.py https://adminuser:[email protected] | |
import sys | |
import json | |
import requests | |
base_url=sys.argv[1] |
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
package main | |
import ( | |
"fmt" | |
"math/rand" | |
"time" | |
) | |
var number = []string{ | |
"ein-", |
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 sys | |
import re | |
import signal | |
f = sys.argv[1] | |
def signal_handler(sig, frame): |
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
package main | |
import ( | |
"os" | |
"fmt" | |
"bytes" | |
"log" | |
"strconv" | |
"net/http" | |
) |
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 sys | |
import json | |
import math | |
space = [] | |
def convert_size(size_bytes): | |
if size_bytes == 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
#53 deg 54' 1.50" N - 27 deg 33' 4.92" E | |
# sexagonial 2 dezimal | |
lonsex2dec <- function(degree, minute, second) { | |
declon <- degree + (minute / 60) + (second / 3600) | |
return(declon) | |
} |
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 | |
# -*- coding: utf-8 -*- | |
import signal | |
import threading | |
import time | |
def login(): | |
k = threading.Thread(target=keyboard) | |
r = threading.Thread(target=rfid) |
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 | |
# -*- coding: utf-8 -*- | |
import os | |
import html | |
import feedparser | |
import datetime | |
import random | |
import urllib.request | |
from PIL import Image, ImageDraw, ImageFont |
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
library(plotKML) | |
library(maps) | |
library(ggmap) | |
# Settings | |
activities_folder = "/Users/noqqe/Downloads/activities/" | |
output_folder = "/Users/noqqe/Downloads/" | |
center_map_on = "Nuremberg" | |
zoom_depth = 8 # 1 - 21 | |
routes_color = "#FF000022" |
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 warnings | |
import json | |
warnings.filterwarnings('ignore', 'Unverified HTTPS request') | |
loginurl='https://192.168.178.X/login.cgi' | |
s = requests.Session() |
NewerOlder