Skip to content

Instantly share code, notes, and snippets.

View mykmelez's full-sized avatar

Myk Melez mykmelez

View GitHub Profile
@mykmelez
mykmelez / lmdb-test.c
Created June 21, 2019 06:43
LMDB test program
#include <stdio.h>
#include <stdlib.h>
#include "lmdb.h"
#define E(expr) CHECK((rc = (expr)) == MDB_SUCCESS, #expr)
#define CHECK(test, msg) ((test) ? (void)0 : ((void)fprintf(stderr, \
"%s:%d: %s: %s\n", __FILE__, __LINE__, msg, mdb_strerror(rc)), abort()))
int main(int argc,char * argv[])
{
0 info it worked if it ends with ok
1 verbose cli [ '/usr/local/Cellar/node/9.10.1/bin/node',
1 verbose cli '/usr/local/bin/npm',
1 verbose cli 'install',
1 verbose cli '-g' ]
2 info using npm@5.8.0
3 info using node@v9.10.1
4 verbose npm-session d07c551126bd71bf
5 silly install loadCurrentTree
6 silly install readGlobalPackageData
@mykmelez
mykmelez / spidernode-glossary.md
Last active September 9, 2016 20:37
SpiderNode Glossary

Glossary

On GitHub issues you'll sometimes come across abbreviations.

We try to list some of them here which are related to the project.

D

DYLD

+Native["com/sun/cldc/isolate/Isolate.waitStatus.(I)V"] = function(ctx, stack) {
+ var maxStatus = stack.pop(), _this = stack.pop();
+ if (_this.status < maxStatus) {
+ _this.waitStatusFunc = function() {
+ if (_this.status >= maxStatus) {
+ delete _this.waitStatusFunc;
+ ctx.resume();
+ }
+ };
+ throw VM.Pause;
Native["com/sun/cldc/isolate/Isolate.waitStatus.(I)V"] = function(ctx, stack) {
var maxStatus = stack.pop(), _this = stack.pop();
var checkStatus = function() {
if (_this.status < maxStatus) {
window.setZeroTimeout(checkStatus);
} else {
ctx.resume();
}
};
if (_this.status < maxStatus) {