Skip to content

Instantly share code, notes, and snippets.

View makslevental's full-sized avatar
💩

Maksim Levental makslevental

💩
View GitHub Profile
@makslevental
makslevental / gist:2b3471318e6c25f24597cb24ed4b3570
Created May 11, 2022 21:40 — forked from doughgle/gist:e3a8c350dbf2370e69212f8b91fa4c88
Linux kernel 4.14 patch to disguise TracerPid in /proc/*/status
commit acc0182c3d3869802bc20c8bf4e04c3464936bcc
Author: Douglas Hellinger <[email protected]>
Date: Sun Nov 19 22:48:46 2017 +0800
Fix tracerPid=0 in /proc
diff --git a/fs/proc/array.c b/fs/proc/array.c
index 6f6fc16..bcf470d 100644
--- a/fs/proc/array.c
+++ b/fs/proc/array.c
@makslevental
makslevental / simplex.py
Created September 3, 2022 04:03 — forked from silverHugh/simplex.py
Implementation of Simplex method using python.
#!/usr/bin/python3
# Simplex method
# Author: HongXin
# 2016.11.17
import numpy as np
def xlpsol(c, A, b):
"""