A free, self-hosted alternative to Heroku
This file contains 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
// d2xdy2 - reply to: | |
// http://www.reddit.com/r/node/comments/2qcewl/ | |
// This is a prime candidate for /r/shittyprogramming | |
var request = require('request'); | |
var cheerio = require('cheerio'); | |
var url = process.argv[2]; // lets just pass that url via args | |
var linkQueue = []; // we'll store parsed links here |
This file contains 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
❯ docker run -it ruby:alpine /bin/sh | |
/ # apk add build-base | |
fetch http://dl-cdn.alpinelinux.org/alpine/v3.10/main/x86_64/APKINDEX.tar.gz | |
fetch http://dl-cdn.alpinelinux.org/alpine/v3.10/community/x86_64/APKINDEX.tar.gz | |
(1/15) Installing binutils (2.32-r0) | |
(2/15) Installing libmagic (5.37-r1) | |
(3/15) Installing file (5.37-r1) | |
(4/15) Installing isl (0.18-r0) | |
(5/15) Installing libgomp (8.3.0-r0) | |
(6/15) Installing libatomic (8.3.0-r0) |
This file contains 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
### Keybase proof | |
I hereby claim: | |
* I am dydx on github. | |
* I am jpsandlin (https://keybase.io/jpsandlin) on keybase. | |
* I have a public key ASDMPl37aLQF-PzznNDYPkNOysDEfohlOvVER1HQi6f3ago | |
To claim this, I am signing this object: |
This file contains 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
<?php | |
namespace App\Http\Controllers; | |
use Illuminate\Http\Request; | |
use App\Todo; | |
class TodosController extends Controller | |
{ |
This file contains 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
kill $(ps aux | grep ruby | awk '{ print $2 }') |
This file contains 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
/* | |
Theme Name: Parallax Pro Theme | |
Theme URI: http://my.studiopress.com/themes/parallax/ | |
Description: A mobile responsive and HTML5 theme built for the Genesis Framework. | |
Author: StudioPress | |
Author URI: http://www.studiopress.com/ | |
Version: 1.2.1 | |
Tags: black, white, blue, green, orange, pink, one-column, two-columns, responsive-layout, custom-header, custom-menu, full-width-template, sticky-post, theme-options, threaded-comments, translation-ready, premise-landing-page |
This file contains 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
#include <Ping.h> | |
Ping ping = Ping(12, 0, 0); | |
boolean is_calibrated = false; | |
float calibration_distance = 0.00; | |
float current_distance = 0.00; | |
int alarm_pin = 13; | |
// because my IO shield is fubar | |
// and has H/L mixed |
This file contains 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
/** | |
Two LEDs triggered by tilting of accelerometer | |
along Y axis. | |
Arduino Diecimila and Memsic 2125 | |
*/ | |
int ledPins[] = {6,7}; | |
int yPin = 10; | |
int yRaw; |
This file contains 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
" LAUNCH CONFIG | |
execute pathogen#infect() | |
" EDIT VIMRC | |
nmap ,ev :tabedit $MYVIMRC<cr> | |
" Auto Commands | |
augroup autosourcing | |
autocmd! | |
autocmd BufWritePost .vimrc source % |
NewerOlder