Skip to content

Instantly share code, notes, and snippets.


Forrest Fowler fcfowler

Block or report user

Report or block fcfowler

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
fcfowler / gist:8443033
Last active Jan 3, 2016
Get current weather with "weather" command in the terminal
View gist:8443033
Add the following to .bash_profile, replace 47401 with appropriate zip code :)
alias weather="curl --silent '' | grep -E '(Current Conditions:|F<BR)' | sed -e 's/Current Conditions://' -e 's/<br \/>//' -e 's/<b>//' -e 's/<\/b>//' -e 's/<BR \/>//' -e 's///' -e 's/<\/description>//'"
fcfowler / directive.js
Created Dec 9, 2013
Non gif loading directive using spin.js
View directive.js
app.directive('spinner', ['$window', function ($window) {
return {
scope: true,
link: function (scope, element, attr) {
scope.spinner = null;
function stopSpinner() {
if (scope.spinner) {
scope.spinner = null;
You can’t perform that action at this time.