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
--- Debian history --- | |
Version 0.93R6 was released 1995-10-26 | |
235 days (0.64384 years) later came Version 1.1 (buzz) | |
178 days (0.48767 years) later came Version 1.2 (rex) | |
175 days (0.47945 years) later came Version 1.3 (bo) | |
414 days (1.13425 years) later came Version 2.0 (hamm) | |
228 days (0.62466 years) later came Version 2.1 (slink) | |
525 days (1.43836 years) later came Version 2.2 (potato) (freeze time: 212 days) | |
703 days (1.92603 years) later came Version 3.0 (woody) (freeze time: 383 days) | |
1053 days (2.88493 years) later came Version 3.1 (sarge) (freeze time: 34 days) |
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 ruby | |
# we do ECMA-48 / vt100 only - this may be portable or not... | |
TIOCGWINSZ = 0x5413 | |
Alternative = true | |
if !Alternative then | |
NormalPerson = [ | |
' o ', | |
'/O\\ ', |
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/python3 | |
import argparse | |
# pip install urlextract dnspython tldextract | |
import dns.name | |
import dns.resolver | |
import urlextract | |
import tldextract |
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/sh | |
user=$1 | |
pass=$2 | |
echo "Login..." | |
oldIFS="$IFS" | |
IFS=':' | |
set -- `curl -d "user=$user&password=$pass&version=9999" https://login.minecraft.net/` | |
IFS="$oldIFS" |
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
<VirtualHost 192.168.99.99:80 [2001:0002:6c::430]:80> | |
ServerName example.com | |
ServerAlias www.example.com host1.example.com host2.example.com | |
ServerAdmin tobias@example.com | |
AddDefaultCharset utf-8 | |
DocumentRoot /home/certmaster/webroot/ | |
RewriteEngine on | |
RewriteRule ^/.well-known/ - [L] | |
RewriteRule ^/(.*)$ https://%{HTTP_HOST}/$1 [R=301,L] | |
</VirtualHost> |
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
>mvn dependency:tree | |
[INFO] Scanning for projects... | |
[INFO] | |
[INFO] -----------------------------< test:test >------------------------------ | |
[INFO] Building test 1 | |
[INFO] --------------------------------[ jar ]--------------------------------- | |
[INFO] | |
[INFO] --- maven-dependency-plugin:2.8:tree (default-cli) @ test --- | |
[INFO] test:test:jar:1 | |
[INFO] \- org.eclipse.jetty:jetty-hazelcast:jar:9.4.15.v20190215:compile |
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 json | |
from werkzeug.wrappers import Request, Response | |
from werkzeug.middleware.proxy_fix import ProxyFix | |
@Request.application | |
def application(request): |
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/python3 | |
# Released into the public domain, where possible (http://creativecommons.org/publicdomain/zero/1.0/) | |
import sys | |
import re | |
import hashlib | |
fc = sys.argv[1] | |
parts = re.match('^(\d{4})-(\d{4})-(\d{4})$', fc) |
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
def call(Map params = [:], Closure inner) { | |
catchError { | |
inner.call() | |
} | |
def notifyCulprits = params.getOrDefault('notifyCulprits', true) | |
def extraMails = params.getOrDefault('extraMails', []) | |
if (shouldSendMail(currentBuild)) { | |
def providers = [] |
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
# Background: https://github.com/ThomasKaiser/Knowledge/blob/master/articles/A1_and_A2_rated_SD_cards.md | |
# Symptoms: Write speed seems to be capped at ~ 20MByte/s if controller does only support 3.3V | |
# To see if your controller supports higher speeds, enable these debug message: | |
echo "func mmc_set_ios +p" | sudo tee /sys/kernel/debug/dynamic_debug/control | |
echo "func mmc_set_initial_signal_voltage +p" | sudo tee /sys/kernel/debug/dynamic_debug/control | |
# Verify: | |
sudo grep mmc.*=p /sys/kernel/debug/dynamic_debug/control | |
# (this assumes debugfs under /sys/kernel/debug) | |
# On the next card insert, you should see power/speed debug messages in dmesg |