I hereby claim:
- I am spacemacgyver on github.
- I am bwjustin (https://keybase.io/bwjustin) on keybase.
- I have a public key ASBffRBtIY8124vZ9UvAz79uIU7YJA2TzAbtRdNUoeTx1go
To claim this, I am signing this object:
const api = ffi.Library(dllPath, { | |
get_paradigm: ['char *', ['pointer']], | |
}); | |
function getParadigm() { | |
const paradigmPtr = api.get_paradigm(parser); | |
const paradigm = paradigmPtr.readCString(); | |
api.release_string(paradigmPtr); |
#[no_mangle] | |
pub extern "C" fn get_paradigm(parser: *mut Parser<f64>) -> *mut c_char { | |
if !parser.is_null() { | |
let parser = unsafe { &mut *parser }; | |
let paradigm = match parser.get_paradigm() { | |
Paradigm::Original => "original", | |
Paradigm::Generic => "generic", | |
}; |
I hereby claim:
To claim this, I am signing this object:
import {assoc, always, path, cond, mergeRight} from 'ramda'; | |
const leadingCase = value => value.replace(/^(.)/, s => s.toUpperCase()); | |
function createDuck(properties, slice) { | |
const propertyNames = Object.keys(properties); | |
const defaultState = propertyNames.reduce((memo, key) => { | |
const property = properties[key]; |
apt update | |
apt install -y software-properties-common | |
add-apt-repository -y ppa:cleishm/neo4j | |
apt update | |
apt install -y build-essential libssl-dev neo4j-client libneo4j-client-dev | |
mkdir /testing && cd /testing | |
cat <<EOF > test.c | |
#include <neo4j-client.h> |