I hereby claim:
- I am c0deh4cker on github.
- I am c0deh4cker (https://keybase.io/c0deh4cker) on keybase.
- I have a public key ASDAYDYtqJGjVHyfmEJDXA3gw4geCBLvgpynNHx7M2t1Wgo
To claim this, I am signing this object:
R'Hello, di'\ | |
+'!snoisnem'/ | |
O.........../ |
// | |
// wordshift.cpp | |
// WordShift | |
// | |
// Created by C0deH4cker on 2/11/15. | |
// Copyright (c) 2015 C0deH4cker. All rights reserved. | |
// | |
#include <iostream> | |
#include <fstream> |
#include <stdlib.h> | |
/*! Frees the pointer pointed to by the parameter and then sets it to NULL */ | |
#define destroy(pptr) do { \ | |
__typeof__(*(pptr)) volatile* _pptr = (pptr); \ | |
if(!_pptr) { \ | |
break; \ | |
} \ | |
free(*_pptr); \ | |
*_pptr = NULL; \ |
#!/usr/bin/env python | |
import sys, os | |
import subprocess | |
from shutil import copyfile | |
def main(): | |
mnt = os.path.expanduser("~/mnt") | |
snap = mnt + "/snapchat" |
#include <iostream> | |
#include <vector> | |
#include <cstdio> | |
using namespace std; | |
struct Block { | |
vector<vector<bool> > grid; | |
int size; |
#include <stdio.h> | |
// Even making the pointer volatile doesn't help | |
__thread int* tl_ptr; | |
int main(void) { | |
int x = 0xDEAD; | |
// Put a breakpoint on the following line | |
tl_ptr = &x; |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <stdbool.h> | |
#include <stdint.h> | |
#include <unistd.h> | |
#include <fcntl.h> | |
#include <sys/mman.h> | |
#include <mach-o/loader.h> | |
/* Get the next load command from the current one */ |
// | |
// Property.h | |
// | |
// Created by C0deH4cker on 2/2/14. | |
// Copyright (c) 2014 C0deH4cker. All rights reserved. | |
// | |
#ifndef _PROPERTY_H_ | |
#define _PROPERTY_H_ |
// Part 1 | |
extension UInt { | |
public init(bytes: Bytes) { | |
self = 0 | |
for byte in bytes { | |
self <<= 8 | |
self |= UInt(byte) | |
} | |
} | |
} |
I hereby claim:
To claim this, I am signing this object: