Look at LSB init scripts for more information.
Copy to /etc/init.d
:
# replace "$YOUR_SERVICE_NAME" with your service's name (whenever it's not enough obvious)
Look at LSB init scripts for more information.
Copy to /etc/init.d
:
# replace "$YOUR_SERVICE_NAME" with your service's name (whenever it's not enough obvious)
# Raspberry Pi Model B+ v1.2 | |
# "Americanized" system | |
# Update keyboard layout | |
# Maxed out partition size | |
# Follow prompts | |
sudo raspi-config | |
sudo apt-get update |
/** | |
* @author Juan Orozco | |
*/ | |
var can = require('can'); | |
require('can/map/define/define'); | |
// The default map for the character item | |
// The type can be anything, it should be used to mark what the item is | |
// The value is the character |
node_modules* |
Sometimes you want to have a subdirectory on the master
branch be the root directory of a repository’s gh-pages
branch. This is useful for things like sites developed with Yeoman, or if you have a Jekyll site contained in the master
branch alongside the rest of your code.
For the sake of this example, let’s pretend the subfolder containing your site is named dist
.
Remove the dist
directory from the project’s .gitignore
file (it’s ignored by default by Yeoman).
# http://support.ghost.org/how-to-upgrade | |
# TODO | |
# ghost download root path | |
# ghost version | |
# webroot path | |
# download path | |
# backup path | |
# Make a backup |
//Still learning models... I'm wondering if this can be written better. | |
// This link explains how to cache the results to save on API calls... | |
// http://canjs.com/docs/can.Model.makeFindAll.html | |
var Posts = can.Model.extend({ | |
findAll: 'GET https://myblog.firebaseio.com/website/posts.json', | |
makeFindAll: function( findAllData ){ | |
var self = this; | |
return function(params, success, error){ | |
return findAllData(params).then(function(data){ |
// Juan Orozco | |
// I love Firebase for its simplicity and power. It's great for applications that | |
// need web socket functionality or live loading. I like to use the developer buckets | |
// for prototpying, learning, and, in some cases, simple storage. This is an example | |
// of that use case. | |
// I have a page on my machine running as localhost that can post new Haiku. But anyone | |
// can read and display the list of Haiku I have stored there. |
REM Clear the blinky | |
blink1-tool --off | |
REM Start 25 minutes | |
blink1-tool --rgb 255,255,255 | |
blink1-tool --blink 3 | |
blink1-tool --rgb 255,255,255 | |
PING 1.1.1.1 -n 1 -w 1200000 >NUL | |
blink1-tool --rgb 255,174,0 |