Skip to content

Instantly share code, notes, and snippets.

@bluerise
bluerise / armmake
Last active Dec 21, 2017
Wrapper to have make use the correct cross compiler
View armmake
#!/bin/ksh
MACHINE=armv7
MACHINE_ARCH=arm
MACHINE_COMP=armv7
VERSION=1.0
#this is true for most archs
MACHINE_CPU=${MACHINE_ARCH}
TARGET=${MACHINE}
HOST=$(uname -m)
@bluerise
bluerise / swizzle.c
Created Jul 19, 2017
Swizzle extraction toolkit
View swizzle.c
#include <stdio.h>
#include <stdint.h>
#include <stdlib.h>
#include <sys/types.h>
#include <sys/uio.h>
#include <unistd.h>
#include <sys/fcntl.h>
#include <sys/stat.h>
int check(uint8_t *);
@bluerise
bluerise / gist:5099891
Created Mar 6, 2013
On OSX we need AC_CONFIG_HEADERS instead of AM_CONFIG_HEADER.
View gist:5099891
diff --git a/configure.ac b/configure.ac
index 260d2f7..d127601 100644
--- a/configure.ac
+++ b/configure.ac
@@ -31,7 +31,7 @@ AM_MAINTAINER_MODE
AC_CONFIG_SRCDIR([libusb/core.c])
AC_CONFIG_MACRO_DIR([m4])
-AM_CONFIG_HEADER([config.h])
+AC_CONFIG_HEADERS([config.h])
@bluerise
bluerise / htaccess
Created Dec 14, 2011 — forked from dave1010/htaccess
HTTP Status Cats Apache (htaccess) config
View htaccess
# HTTP Status Cats
# Apache (htaccess) config created by @dave1010
# Licensed CC BY 2.0
# Images CC BY 2.0, from GirlieMac's photostream:
# http://www.flickr.com/photos/girliemac/sets/72157628409467125/with/6508023065/
# Usage: copy save this file as .htaccess or add it to your httpd.conf
ErrorDocument 404 '<a href="http://www.flickr.com/photos/girliemac/6508022985/" title="404 - Not Found by GirlieMac, on Flickr"><img src="http://farm8.staticflickr.com/7172/6508022985_b22200ced0.jpg" width="500" height="400" alt="404 - Not Found"></a>'
View OpenSSH 6.6p1 keychain support
diff --git a/Makefile.in b/Makefile.in
index 28a8ec4..81e4705 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -58,6 +58,7 @@ SED=@SED@
ENT=@ENT@
XAUTH_PATH=@XAUTH_PATH@
LDFLAGS=-L. -Lopenbsd-compat/ @LDFLAGS@
+KEYCHAIN_LDFLAGS=@KEYCHAIN_LDFLAGS@
EXEEXT=@EXEEXT@
View keybase
### Keybase proof
I hereby claim:
* I am Bluerise on github.
* I am bluerise (https://keybase.io/bluerise) on keybase.
* I have the public key with fingerprint DAB0&nbsp;D2BB&nbsp;5359&nbsp;C52A&nbsp;5AAE&nbsp;&nbsp;5DC3&nbsp;21AE&nbsp;4D77&nbsp;C92B&nbsp;55CA
To claim this, I am signing this object:
You can’t perform that action at this time.