Skip to content

Instantly share code, notes, and snippets.

Avatar
👩‍💻
fucking irate

Aleksey Alekseyyy

👩‍💻
fucking irate
View GitHub Profile
View medium.self.012021.c2.py
# A brute force solution to the 25 Nov., 2020 @GWOMaths #dailymaths challenge
# ... and it's brute force cos I'm lazy like Homer Simpson :P
# By Aleksey (@EpsilonCalculus)
# Link to their problem:
# https://twitter.com/GWOMaths/status/133149281757551682
die_1 = [x for x in range(1, 7)]
die_2 = [x for x in range(1, 7)]
View medium.self.122020.cybercocaine.cs
/*
* Cybercocaine Programme
* This'll make ur computer higher than an airplane ;-)
* By Aleksey
* github.com/Alekseyyy
* twitter.com/EpsilonCalculus
*/
using System;
using System.Drawing;
View medium.self.122020.shitcsays.wittgenstein.py
from scipy.stats import t
from scipy.stats import norm
survival_tdist = 1 - t.cdf(197, 2)
survival_normal = 1 - norm.cdf(6.0625)
# - the "6.0625" is a z-score where x = 197, x-bar = 100 and s = 16
def bayesian(N, E_n, E_t):
# N = Prob(IQ ~ N), E_n = Prob(IQ ~ N | O'Brien IQ), E_t = Prob(not IQ ~ N | O'Brien IQ)
View medium.self.122020.shitcsays.rtrans.py
from scipy.stats import pearsonr
X = (4, 6, 1, 1, 0, 2, 5, 4, 0, 0)
Y = (201, 165, 145, 150, 160, 113, 140, 147, 83, 108)
Z = (15, 30, 28, 41, 18, 5, 7, 16, 15, 16)
print("Correlation between X and Y:", pearsonr(X, Y))
# Correlation between X and Y and p-value: (0.5258752464261707, 0.1184620607638331)
print("Correlation between Y and Z:", pearsonr(Y, Z))
View ctf.2020.decompetition.baby-go.go
// baby-go reconstruction
// by Aleksey
// - https://alekseyyy.github.io
// - @EpsilonCalculus / @EntropyThot
package main
import (
"fmt"
"os"
View ctf.2020.decompetition.fabulous.go
// fabulous reconstruction
// by Aleksey
// - https://alekseyyy.github.io
// - @EpsilonCalculus / @EntropyThot
// I stole some of my code from here...
// ... (like how brett keane stole that poem about his mum):
// https://www.thepolyglotdeveloper.com/2016/12/fibonacci-sequence-printed-golang/
package main
View ctf.2020.decompetition.prime.c
/*
* prime reconstruction
* by Aleksey (mostly with help from Ghidra's recompiler :P)
* - https://alekseyyy.github.io
* - @EpsilonCalculus / @EntropyThot
*/
#include <stdio.h>
#include <stdlib.h>
View ctf.2020.decompetition.jaccard.py
# "Quick and dirty" tool to compare similarity between two executables.
# By Aleksey, https://alekseyyy.github.io
# - @EpsilonCalculus on Twitter/Keybase
# - @EntropyThot on decompetition.io
# "Inspired" by Malware Data Science (2018, ch. 5)
import sys
J = lambda X, Y: float(len(X.intersection(Y))) / float(len(X.union(Y)))
View keybase.md

Keybase proof

I hereby claim:

To claim this, I am signing this object: