Skip to content

Instantly share code, notes, and snippets.

View J0s3f's full-sized avatar

Josef J0s3f

  • 10:37 (UTC +02:00)
View GitHub Profile
@J0s3f
J0s3f / Japanese style
Created May 27, 2011 15:37 — forked from endolith/Has weird right-to-left characters.txt
Unicode smileys emoticons
⨀_⨀
⨂_⨂
(/◔ ◡ ◔)/
°ﺑ°
(¬_¬)
(´・ω・`)
(ʘ_ʘ)
(ʘ‿ʘ)
(๏̯͡๏ )
(◕_◕)
@J0s3f
J0s3f / gist:6fba3168b9af65d7528e
Last active May 9, 2018 07:27
extreme-ip-lookup.com as alternative to geoplugin
<script type="text/javascript">function setupGeo(o) {
window.geoplugin_request = function() { return o.query; };
window.geoplugin_status = function() { return o.status == 'success' ? '200' : '500'; };
window.geoplugin_city = function() { return o.city; };
window.geoplugin_region = function() {return o.region; };
window.geoplugin_countryCode = function() { return o.countryCode; };
window.geoplugin_countryName = function() { return o.country; };
window.geoplugin_latitude = function() { return o.lat; };
window.geoplugin_longitude = function() { return o.lon; };

Keybase proof

I hereby claim:

  • I am j0s3f on github.
  • I am j0s (https://keybase.io/j0s) on keybase.
  • I have a public key whose fingerprint is CA77 342B 856C 9D5B B0B6 C23C 3140 E873 9BE4 5ED0

To claim this, I am signing this object:

@J0s3f
J0s3f / certs_install.sh
Created January 23, 2015 07:25
Install StartSSL certs to Java Keystore
#!/bin/sh
#
# Downloads and installs the startssl CA certs into the global java keystore
# Author: Klaus Reimer <k@ailis.de>
#
# Check if JAVA_HOME is set
if [ "$JAVA_HOME" = "" ]
then
echo "ERROR: JAVA_HOME must be set."
@J0s3f
J0s3f / DelZip179.cpp
Last active August 29, 2015 14:25
Dump DelZip179.dll passwords
#include <windows.h>
#include <stdio.h>
#include <fstream>
#include <string>
#pragma option -a1
union CallBackData
{
char FileNameOrMsg[512];
struct
@J0s3f
J0s3f / openpgp.txt
Created March 7, 2016 20:32
Verknüpfte OpenKeychain-Identität
Dieses Gist bestätigt die Verknüpfte-Identität innerhalb meines OpenPGP-Schlüssels und verknüpft es mit diesem GitHub-Benutzerkonto.
Token des Nachweises:
[Verifying my OpenPGP key: openpgp4fpr:ca77342b856c9d5bb0b6c23c3140e8739be45ed0]
@J0s3f
J0s3f / openpgp.txt
Created August 15, 2016 18:00
Verknüpfte OpenKeychain-Identität
Dieses Gist bestätigt die Verknüpfte-Identität innerhalb meines OpenPGP-Schlüssels und verknüpft es mit diesem GitHub-Benutzerkonto.
Token des Nachweises:
[Verifying my OpenPGP key: openpgp4fpr:ca77342b856c9d5bb0b6c23c3140e8739be45ed0]
@J0s3f
J0s3f / netztest.py
Created September 1, 2018 21:56
RTR Netztest python
from selenium import webdriver
from selenium.webdriver.support.ui import WebDriverWait
from selenium.webdriver.firefox.firefox_binary import FirefoxBinary
from selenium.webdriver.common.by import By
from selenium.webdriver.support import expected_conditions as EC
from selenium.common.exceptions import TimeoutException
import selenium.webdriver.firefox.webdriver as fwb
from selenium.common.exceptions import TimeoutException
import os,datetime,csv
Benchmark (value) Mode Cnt Score Error Units
PointBenchmark.benchmarkNewPoint 2318793235476 thrpt 10 20438893,149 ± 922745,202 ops/s
PointBenchmark.benchmarkOldPoint 2318793235476 thrpt 10 19683179,311 ± 336507,411 ops/s
PointBenchmark.benchmarkNewPoint 2318793235476 avgt 10 ≈ 10⁻⁷ s/op
PointBenchmark.benchmarkOldPoint 2318793235476 avgt 10 ≈ 10⁻⁷ s/op
PointBenchmark.benchmarkNewPoint 2318793235476 sample 3553398 ≈ 10⁻⁷ s/op
PointBenchmark.benchmarkNewPoint:benchmarkNewPoint·p0.00 2318793235476 sample ≈ 10⁻⁷ s/op
PointBenchmark.benchmarkNewPoint:benchmarkNewPoint·p0.50 2318793235476 sample ≈ 10⁻⁷ s/op
PointBenchmark.benchmark