View mrliar.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 multiprocessing | |
import multiprocessing.pool | |
import time | |
class TimeMeasurement(object): | |
def __init__(self, operation, printStd=True): | |
self._t0 = 0 | |
self._t1 = 0 | |
self._operation = operation |
View BCPlus.js
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
// ==UserScript== | |
// @name BisaChat Plus | |
// @namespace http://projects.0xleon.com/userscripts/bcplus | |
// @version 4.0.0.dev1 | |
// @description Make BisaChat Great Again | |
// @author Stefan Hahn | |
// @match https://bisachat.bisafans.de/index.php?room/* | |
// @grant none | |
// @run-at document-end | |
// ==/UserScript== |
View Records.txt
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
A Day to Remember - Bad Vibrations | |
A Day to Remember - What Separates Me from You | |
A Day to Remember - You're Welcome | |
As I Lay Dying - An Ocean Between Us | |
As I Lay Dying - Frail World Collapse | |
As I Lay Dying - Shaped by Fire | |
As I Lay Dying - The Powerless Rise | |
blink-182 - California | |
blink-182 - Nine | |
Heaven Shall Burn - Antigone |
View FileSize.js
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
[...$$('html > body > pre')[0].textContent.matchAll(/\d+$/gm)].map((a) => parseInt(a[0])).reduce((acc, val) => acc + val) / Math.pow(1024, 3) |
View FlipRowsColumns.bas
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
Sub FlipRows() | |
Dim vTop As Variant | |
Dim vEnd As Variant | |
Dim iStart As Integer | |
Dim iEnd As Integer | |
Application.ScreenUpdating = False | |
Application.Calculation = xlCalculationManual | |
iStart = 1 |
View BCPlus.user.js
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
// ==UserScript== | |
// @name BisaChat Plus | |
// @namespace http://projects.0xleon.com/userscripts/bcplus | |
// @version 4.0.0.dev1 | |
// @description Make BisaChat Great Again | |
// @author Stefan Hahn | |
// @match https://bisachat.bisafans.de/index.php?room/* | |
// @grant none | |
// @run-at document-end | |
// ==/UserScript== |
View PointCloudDensity.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
""" | |
Provides methods for calculating point cloud densities. | |
All methods can handle instances of PLYObject or list or ndarray instances of lists of vertices. | |
""" | |
import numpy as np | |
import scipy.spatial | |
def getRealDensityFromPlane(ply, planeParams): | |
""" |
View BCChromeFullscreenFix.user.js
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
// ==UserScript== | |
// @name BisaChat Chrome Fullscreen Fix | |
// @namespace http://projects.0xleon.com/userscripts/bc-chrome-full-fix | |
// @version 1.0.0 | |
// @description Fixes a BisaChat fullscreen bug in Chrome. | |
// @author Stefan Hahn | |
// @copyright 2018, Stefan Hahn | |
// @match https://bisachat.bisafans.de/index.php?room/*/ | |
// @grant unswafeWindow | |
// @run-at document-body |
View calibrate.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 argparse | |
import glob | |
import multiprocessing.dummy | |
import os | |
import sys | |
import cv2 as cv | |
import numpy as np |
View DECSCA-Validation.mag
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
// Prime Field Size | |
p := 0x8CB91E82A3386D280F5D6F7E50E641DF152F7109ED5456B412B1DA197FB71123ACD3A729901D1A71874700133107EC53; | |
// Curve Parameter One | |
a := 0x7BC382C63D8C150C3C72080ACE05AFA0C2BEA28E4FB22787139165EFBA91F90F8AA5814A503AD4EB04A8C7DD22CE2826; | |
// Curve Parameter Two | |
b := 0x04A8C7DD22CE28268B39B55416F0447C2FB77DE107DCD2A62E880EA53EEB62D57CB4390295DBC9943AB78696FA504C11; | |
// Cofactor | |
h := 0x01; | |
// Curve Base Point X |
NewerOlder