Skip to content

Instantly share code, notes, and snippets.

View kernel-memory-dump's full-sized avatar
💼
Software Architecture is Love, Software Architecture is Life

Sebastian Novak kernel-memory-dump

💼
Software Architecture is Love, Software Architecture is Life
View GitHub Profile
@kernel-memory-dump
kernel-memory-dump / travis.yml
Last active January 31, 2018 19:38 — forked from ryanjones/travis.yml
Create db/user for test db in travis yml
before_script:
- psql -c "CREATE USER the_user WITH PASSWORD 'passw0000rd' CREATEDB;" -U postgres
- psql -c 'CREATE database the_db_test;' -U postgres
- psql -c 'ALTER DATABASE the_db_test OWNER TO the_user' -U postgres
@kernel-memory-dump
kernel-memory-dump / curltest.c
Created March 14, 2017 13:27 — forked from aaronhurt/curltest.c
example code using libcurl and json-c to post and parse a return from http://jsonplaceholder.typicode.com
/**
* example C code using libcurl and json-c
* to post and return a payload using
* http://jsonplaceholder.typicode.com
*
* Requirements:
*
* json-c - https://github.com/json-c/json-c
* libcurl - http://curl.haxx.se/libcurl/c
*