Skip to content

Instantly share code, notes, and snippets.



View GitHub Profile
View radxaGpioTest.c
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
#include <fcntl.h>
#include <time.h>
#include <termios.h>
#include <sys/time.h>
#include <sys/timeb.h>
#include <sys/types.h>
bymaximus / composer.json
Created May 19, 2019 — forked from mfurlend/composer.json
composer require git repository
View composer.json
"name": "my_vendor_name/my_package",
"description": "My Package Description",
"license": "GPL-3.0",
"autoload": {
"classmap": [ // search these directories for classes
"repositories": {
bymaximus / nginx.conf
Created Apr 19, 2016 — forked from chrisallenlane/nginx.conf
This is an nginx configuration that does the following: - Implements a RESTful API using CORS between `` and `` - Uses SSL - Reverse-proxies SSL traffic from port 443 to a NodeJS application running on port 8000 Adapted from this page, with thanks to the original author:
View nginx.conf
# Configure the reverse-proxy on port 443
server {
# general configs
keepalive_timeout 30;
listen ssl;
# ssl configs
ssl_certificate /path/to/api.crt;
ssl_certificate_key /path/to/api.key;