View show-docker-ports.py
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:adminpass@nexus.acme.com | |
import sys | |
import json | |
import requests | |
base_url=sys.argv[1] |
View laschomat.go
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-", |
View identify-codeblocks.py
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): |
View maxupload.go
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" | |
) |
View nexus-analyze.py
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: |
View geoconversion.R
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) | |
} |
View blockingheiko.py
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) |
View instabehrliches.py
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 |
View gpx-visualization-per-year.R
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" |
View get_wifi_hosts.py
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