Skip to content

Instantly share code, notes, and snippets.

@ddsimoes
ddsimoes / malluco.c
Created July 12, 2023 13:25
Try to allocate the max amount of dynamic memory to probe OS behaviour. Mostly for 32bit systems.
#include <stdio.h>
#include <stdlib.h>
#ifdef __MINGW32__
#define printf __mingw_printf
#endif
int main() {
size_t base_size = 0;
### Keybase proof
I hereby claim:
* I am ddsimoes on github.
* I am ddsimoes (https://keybase.io/ddsimoes) on keybase.
* I have a public key ASDaujbfjUyGRbuj7cHOYcpqwsoVIYMKqgBi5v_xqVMxaAo
To claim this, I am signing this object:
@ddsimoes
ddsimoes / Code.gs
Last active August 29, 2015 14:19
Google script para automatizar a criação de evento de devolução de livros para as bibliotecas da UNICAMP no Calendar
/*
-- Format of message body --
Bla bla bla
Bla bla bla
...
...
Bla bla bla
----------------------------------------------------------<br />
Autor: Burden, Richard L.<br />
@ddsimoes
ddsimoes / tlc.lua
Created October 17, 2012 18:05 — forked from seclorum/tlc.lua
LuaJIT ObjC bridge
-- TLC - The Tiny Lua Cocoa bridge
-- Note: Only tested on x86_64 with OS X >=10.7.3 & iPhone 4 with iOS 5
-- Copyright (c) 2012, Fjölnir Ásgeirsson
-- Permission to use, copy, modify, and/or distribute this software for any
-- purpose with or without fee is hereby granted, provided that the above
-- copyright notice and this permission notice appear in all copies.
-- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES