Skip to content

Instantly share code, notes, and snippets.


AJ Acevedo AJ-Acevedo

View GitHub Profile
mrandyclark / index.html
Created Jan 2, 2018
powerzone generator web version
View index.html
<!doctype html>
<html lang="en">
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="" integrity="sha384-Zug+QiDoJOrZ5t4lssLdxGhVrurbmBWopoEl+M6BdEfwnCJZtKxi1KgxUyJq13dy" crossorigin="anonymous">
AJ-Acevedo /
Created Jan 19, 2016
myIP - Show both the Public and Private IP Addresses on a Mac or Debian Linux system
#!/usr/bin/env bash
# myIP
# Description: Show both the Public and Private IP Addresses on a Mac or Debian Linux system.
# Usage: Drop this file in ~/bin, add ~/bin to your $PATH and just type myIP on the CLI. That's it!
# URL:
# Author: AJ Acevedo
# Copyright (c) 2016 AJ Acevedo
# License: MIT -
View Rails 4

Rails 4 Differences

Chapter 1

No differences.

Chapter 2

  • root :to => "dashboard#index" is now root "dashboard#index"`
  • Need to permit parameters within Subscribem::AccountsController
oodavid /
Last active Dec 22, 2020 — forked from aronwoost/
Deploy your site with git

Deploy your site with git

This gist assumes:

  • you have a local git repo
  • with an online remote repository (github / bitbucket etc)
  • and a cloud server (Rackspace cloud / Amazon EC2 etc)
    • your (PHP) scripts are served from /var/www/html/
    • your webpages are executed by apache
    • apache's home directory is /var/www/
You can’t perform that action at this time.