Skip to content

Instantly share code, notes, and snippets.

View kostasdizas's full-sized avatar

Kostas Dizas kostasdizas

  • Torstone Technology
View GitHub Profile
@kostasdizas
kostasdizas / README.md
Last active December 21, 2018 13:16 — forked from mjamieson/README.md
forecast.io for Dashing

Description

Dashing widget to display weather from forecast.io.

##Usage

To use this widget, copy forecast.coffee, forecast.html, and forecast.scss into the /widgets/forecast directory. Put the forecast.rb file in your /jobs folder.

To include the widget in a dashboard, add the following to your dashboard layout file:

@kostasdizas
kostasdizas / create_git.sh
Last active August 29, 2015 14:03 — forked from anonymous/create.sh
Script for creating an auto updating git repo on a remote server
#!/bin/sh
#
# source: http://stackoverflow.com/questions/279169/deploy-a-project-using-git-push
name="new_project"
mkdir $name
cd $name
git init
git config receive.denyCurrentBranch ignore
curl https://gist.githubusercontent.com/kostasdizas/f76dad08cc3a724b0971/raw/344a590af350b997db3819fa21426dfe8bc140f4/post-update > .git/hooks/post-update