Skip to content

Instantly share code, notes, and snippets.

View saurik's full-sized avatar

Jay Freeman (saurik) saurik

View GitHub Profile
@saurik
saurik / clang++_2020-01-22-194059_clipper.crash
Created January 23, 2020 03:55
Android NDK r21 SIGSEGV in http.cpp
Process: clang++ [52478]
Path: /Users/USER/Library/Android/*/clang++
Identifier: clang++
Version: 9.0.8 (9.0)
Code Type: X86-64 (Native)
Parent Process: clang++ [52477]
Responsible: clang++ [52478]
User ID: 501
Date/Time: 2020-01-22 19:40:54.442 -0800

Keybase proof

I hereby claim:

  • I am saurik on github.
  • I am saurik (https://keybase.io/saurik) on keybase.
  • I have a public key ASC8ckyiTPXpMSPcHcG-TDW4ZIceGE_EPBxBtmSgxVi2CQo

To claim this, I am signing this object:

@saurik
saurik / relogin.c
Created April 18, 2012 22:30
setuid login wrapper that let's you only be you
#include <pwd.h>
#include <stdlib.h>
#include <unistd.h>
#include <sys/types.h>
#include <stdio.h>
static void check(const char **name, const char *user) {
if (*name != NULL || user == NULL)
return;
@saurik
saurik / example1-readable.coffee
Created May 19, 2011 04:12 — forked from balupton/README.md
JavaScript VS CoffeeScript
# Generate
generate: (next) ->
# Check
if DocPad.genetating then return
else DocPad.generating = true
# Continue
path.exists DocPad.options.srcPath, (exists) ->
# Check
if not exists then throw Error 'Cannot generate website as the src dir was not found'