This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * 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 | |
| * |
NewerOlder