Skip to content

Instantly share code, notes, and snippets.

Avatar

John Santiago Jr. jdsantiagojr

View GitHub Profile
@jdsantiagojr
jdsantiagojr / Dockerfile
Created Aug 2, 2017 — forked from andyshinn/Dockerfile
BusyBox cron container example
View Dockerfile
FROM gliderlabs/alpine:3.3
COPY myawesomescript /bin/myawesomescript
COPY root /var/spool/cron/crontabs/root
RUN chmod +x /bin/myawesomescript
CMD crond -l 2 -f
View 1-restify-server-cheatsheet.js
// Restify Server CheatSheet.
// More about the API: http://mcavage.me/node-restify/#server-api
// Install restify with npm install restify
// 1.1. Creating a Server.
// http://mcavage.me/node-restify/#Creating-a-Server
var restify = require('restify');
@jdsantiagojr
jdsantiagojr / gist.md
Created Dec 25, 2016 — forked from benbalter/gist.md
Example of how to embed a Gist on GitHub Pages using Jekyll.
View gist.md

Here's an example of how to embed a Gist on GitHub Pages:

{% gist 5555251 %}

All you need to do is copy and paste the Gist's ID from the URL (here 5555251), and add it to a gist tag surrounded by {% and %}.

You can’t perform that action at this time.