Skip to content

Instantly share code, notes, and snippets.

View radinreth's full-sized avatar
👨‍💻
Hello World!

Radin Reth radinreth

👨‍💻
Hello World!
View GitHub Profile
@radinreth
radinreth / free_ebooks.txt
Created May 12, 2017 10:24 — forked from dasgoll/free_ebooks.txt
Free ebooks
http://www.allitebooks.com/
it-ebooks.info
www.it-ebooks.com
@radinreth
radinreth / free_oreilly_ebooks.sh
Created May 12, 2017 10:24 — forked from rnelson/free_oreilly_ebooks.sh
O'Reilly Gives Away Free Programming Ebooks
#!/bin/sh
# http://www.oreilly.com/programming/free/
# https://news.slashdot.org/comments.pl?sid=9752765&cid=53044369
# https://news.slashdot.org/comments.pl?sid=9752765&cid=53045853
curl 'http://www.oreilly.com/business/free/' | grep '\.csp' | sed 's/^.*href="//' | sed 's/free\/\(.*\).csp.*">/free\/files\/\1.pdf/' | tr -d '\r' | xargs wget
curl 'http://www.oreilly.com/data/free/' | grep '\.csp' | sed 's/^.*href="//' | sed 's/free\/\(.*\).csp.*">/free\/files\/\1.pdf/' | tr -d '\r' | xargs wget
curl 'http://www.oreilly.com/design/free/' | grep '\.csp' | sed 's/^.*href="//' | sed 's/free\/\(.*\).csp.*">/free\/files\/\1.pdf/' | tr -d '\r' | xargs wget
curl 'http://www.oreilly.com/iot/free/' | grep '\.csp' | sed 's/^.*href="//' | sed 's/free\/\(.*\).csp.*">/free\/files\/\1.pdf/' | tr -d '\r' | xargs wget
curl 'http://www.oreilly.com/programming/free/' | grep '\.csp' | sed 's/^.*href="//' | sed 's/free\/\(.*\).csp.*">/free\/files\/\1.pdf/' | tr -d '\r' | xargs wget
@radinreth
radinreth / 0_reuse_code.js
Created May 23, 2017 15:17
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console

Deploying Yeoman apps to Heroku

Prerequisites

This assumes you already have a Yeoman app and are ready for publishing

Build for Production

Create production directory & assets

@radinreth
radinreth / README.md
Created April 23, 2020 14:53 — forked from napcs/README.md
Deploying Rails to Linode

Deploying Rails to Linode

Installing Ruby Enterprise Edition, Apache, MySQL, and Passenger for deploying Rails 3.0 applications.

Get a Linode, and set it up with Ubuntu 10.04 LTS so that you have till April 2013 to get updates. Once the Linode is formatted, boot it and continue on.

Set up an 'A' record in your DNS, pointing to the IP of your Linode. I'm using demo.napcs.com here.

Initial setup