Skip to content

Instantly share code, notes, and snippets.

Cosmin Gorgovan lgeek

Block or report user

Report or block lgeek

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
lgeek / tgy.patch
Created Nov 5, 2017
Simonk config for brushless drive
View tgy.patch
diff --git a/tgy.asm b/tgy.asm
index d74b179..e348a83 100644
--- a/tgy.asm
+++ b/tgy.asm
@@ -165,7 +165,7 @@
.if !defined(COMP_PWM)
-.equ COMP_PWM = 0 ; During PWM off, switch high side on (unsafe on some boards!)
+.equ COMP_PWM = 1 ; During PWM off, switch high side on (unsafe on some boards!)
View kvm_null_dereference_poc.c
#include <stdlib.h>
#include <stdio.h>
#include <fcntl.h>
#include <assert.h>
#include <errno.h>
#include <linux/kvm.h>
#include <sys/ioctl.h>
int open_kvm() {
int ret;
lgeek / gist:1802068
Created Feb 11, 2012
Tor with obfsproxy on Amazon's AMI
View gist:1802068
# Dependencies:
sudo yum install autoconf automake gcc git make openssl-devel pkgconfig
# Libevent2:
tar xf libevent-2.0.16-stable.tar.gz
cd libevent-2.0.16-stable
sudo make install
You can’t perform that action at this time.