Skip to content

Instantly share code, notes, and snippets.

View hamburger1984's full-sized avatar

Andreas Krohn hamburger1984

  • Hamburg, Germany
View GitHub Profile
@hamburger1984
hamburger1984 / MinimalAPIs.md
Created November 13, 2021 16:33 — forked from davidfowl/MinimalAPIs.md
Minimal APIs at a glance
kglobalaccel-5.76.0-bin
-> glibc-2.32
-> kglobalaccel-5.76.0
-> qtbase-5.15.0
-> kconfig-5.76.0
-> kcoreaddons-5.76.0
-> kwindowsystem-5.76.0
-> kcrash-5.76.0
-> kdbusaddons-5.76.0
-> qtx11extras-5.15.0
@hamburger1984
hamburger1984 / analyze_build.py
Created December 3, 2020 15:21
A little python script to analyze nix build logs to aid understanding dependencies
# Author: Andreas Krohn
# Intended to help understanding dependencies by looking at (verbose) nix build outputs
import sys
import getopt
import re
def analyze(logfile):
hashNames = dict()
references = dict()
import java.util.Scanner;
public class Evaluate{
public static void main(String[] args){
String[] samples = new String[]{
" 5 + 6 * 7 /2",
"5/2",
"500/(3+2)",
"5^2/4"
};