Skip to content

Instantly share code, notes, and snippets.

View rick4470's full-sized avatar

Rick rick4470

View GitHub Profile
@rick4470
rick4470 / remove-origin
Last active August 29, 2015 14:22
Remove origin from git
git remote rm origin
git remote add origin https://github.com/user/repo.git
@rick4470
rick4470 / gist:747fc2e14170e541b459
Created July 3, 2015 19:36
Markdown Blog Post Cheat Sheet
<pre></pre>
@rick4470
rick4470 / forever-node-processes
Last active August 29, 2015 14:24
Forever useful commands
--- List the task's that run forever
forever list
--- Stops a selected task
forever stop 1
@rick4470
rick4470 / workflow_node
Created July 15, 2015 19:58
Startup node applications with NPM workflow
git clone [email protected]/some/place/app
cd app
npm install
npm test
npm start
@rick4470
rick4470 / brackets_bash
Created July 16, 2015 20:52
Install Command Line Shortcut in Brackets Example of a BASH program
#!/bin/bash
# The actual location of the symlink is passed
# in $0. We first get the correct target from the
# symlink and then go about finding the enclosing
# app. Once a .app is found, we plainly pass the
# location of the app to open command with a -a
# as an argument. Note that readlink works differntly
# on mac.
@rick4470
rick4470 / angular_include
Created July 17, 2015 02:00
Include angular with HTML
<script src="./angular.min.js"></script>
@rick4470
rick4470 / angular_cdn
Created July 17, 2015 02:00
Include Angular via CDN
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.4.3/angular.min.js"></script>
@rick4470
rick4470 / ng-bower
Created July 17, 2015 02:02
Include angular with bower
bower install angular#1.4.3
@rick4470
rick4470 / ng-npm
Created July 17, 2015 02:03
Include angular with npm
npm install [email protected]
@rick4470
rick4470 / ng-check
Last active August 29, 2015 14:25
Check if angular is installed
<script>
console.log(angular);
</script>