Skip to content

Instantly share code, notes, and snippets.

Jay Freeman (saurik) saurik

Block or report user

Report or block saurik

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
View keybase.md

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 Apr 18, 2012
setuid login wrapper that let's you only be you
View relogin.c
#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 — forked from balupton/README.md
JavaScript VS CoffeeScript
View example1-readable.coffee
# 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'
You can’t perform that action at this time.