By: @BTroncone
Also check out my lesson @ngrx/store in 10 minutes on egghead.io!
Update: Non-middleware examples have been updated to ngrx/store v2. More coming soon!
Table of Contents
By: @BTroncone
Also check out my lesson @ngrx/store in 10 minutes on egghead.io!
Update: Non-middleware examples have been updated to ngrx/store v2. More coming soon!
Table of Contents
require 'net/http' | |
require 'json' | |
require 'uri' | |
@token = '' | |
def list_files | |
ts_to = (Time.now - 30 * 24 * 60 * 60).to_i # 30 days ago | |
params = { | |
token: @token, |
#!/bin/bash | |
# This script can be used in "run & hope" mode or you can use it as a recipe to | |
# do things manually - you probably want the latter if you really care about | |
# the data in your databases. | |
# Happy hacking | |
# /Eoin/ | |
# Tell bash to stop if something goes wrong | |
set -e |
Create droplet of your liking (ubuntu 12.10 x32)
ssh to root in terminal with your server ip
ssh [email protected]
Add ssh fingerprint and enter password provided in email
Choose: Tools > New Plugin
Paste in the contents of "timestamp.py" below
Save as timestamp.py in ~/Library/Application Support/Sublime Text 2/Packages/User/
(should be the default directory that pops up when you save)
Choose: Sublime Text 2 > Preferences > Key Bindings - User
Add:
{ "keys": ["super+ctrl+t"], "command": "timestamp" }
To make command+ctrl+t perform the insertion.
Make sure to add a comma after the previous keymap entry, if present.
$:.unshift File.expand_path(File.dirname(__FILE__)) | |
require "viz" | |
run Sinatra::Application |