Skip to content

Instantly share code, notes, and snippets.

Avatar
Working from space

Emile HanEmile

Working from space
View GitHub Profile
@HanEmile
HanEmile / configuration.nix
Created January 17, 2023 09:03
my mail nix configuration
View configuration.nix
# Edit this configuration file to define what should be installed on
# your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running ‘nixos-help’).
{ config, pkgs, ... }:
{
imports =
[ # Include the results of the hardware scan.
./hardware-configuration.nix
@HanEmile
HanEmile / mail.nix
Created January 17, 2023 09:00
minimal simple-nixos-mailserver config
View mail.nix
{ config, pkgs, ... }:
let
release = "nixos-21.11";
in {
imports = [
(builtins.fetchTarball {
# Pick a commit from the branch you are interested in
url = "https://gitlab.com/simple-nixos-mailserver/nixos-mailserver/-/archive/${release}/nixos-mailserver-${release}.tar.gz";
# And set its hash
sha256 = "1i56llz037x416bw698v8j6arvv622qc0vsycd20lx3yx8n77n44";
@HanEmile
HanEmile / writeup.md
Last active November 15, 2021 19:20
Labortage CTF 2021 writeup pwn license-one (ghidra edition)
View writeup.md
View README.md

README

You should read this. Actually, you should read all READMEs.

@HanEmile
HanEmile / keybase.md
Created July 25, 2019 19:23
keybase prove
View keybase.md

Keybase proof

I hereby claim:

  • I am hanemile on github.
  • I am hanemile (https://keybase.io/hanemile) on keybase.
  • I have a public key ASAm9UcS-pUA4F-o7P1T1NOdOYqyrFA8X3lAwd5Ra9kmNwo

To claim this, I am signing this object:

@HanEmile
HanEmile / hashing.py
Created January 10, 2019 22:14
HHU AlDat Blatt 11 Aufgabe 1 a)
View hashing.py
#!/usr/bin/env python3
import itertools
import math
goallist = [8, 31, 44, 55, 3, 47, 64]
combination = []
def quersumme(x):
@HanEmile
HanEmile / gist:9091ba5bc510c70066fc23b967e5b1a6
Created October 11, 2018 20:04
Pseudocode: Calculate all the forces in a galaxy
View gist:9091ba5bc510c70066fc23b967e5b1a6
starsArray = []Stars
starsArray.ImportData("data.csv")
starsArray.CalcAllForces()
starsArray.Draw("out.png")