- Go to Digital Ocean
- Create new droplet
- London
- Ubuntu
- No apps
- Add SSH keys
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<link rel="import" href="../core-drawer-panel/core-drawer-panel.html"> | |
<link rel="import" href="../core-icon-button/core-icon-button.html"> | |
<link rel="import" href="../core-toolbar/core-toolbar.html"> | |
<link rel="import" href="../core-header-panel/core-header-panel.html"> | |
<link rel="import" href="../paper-button/paper-button.html"> | |
<link rel="import" href="../core-icons/core-icons.html"> | |
<link rel="import" href="../core-icons/av-icons.html"> | |
<link rel="import" href="../paper-fab/paper-fab.html"> | |
<link rel="import" href="../core-pages/core-pages.html"> | |
<link rel="import" href="../core-menu/core-submenu.html"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<link rel="import" href="../polymer/polymer.html"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
:host { | |
position: absolute; | |
width: 100%; | |
height: 100%; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Ember from 'ember'; | |
export default Ember.Component.extend({ | |
actions: { | |
complete: function() { | |
this.get('todo').set('isDone', true); | |
this.notifyPropertyChange('todo'); | |
}, | |
/* click on this twice and will show alert. Happens @ some later point in time when the run loop has finished */ | |
destroy: function() { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
defmodule CodeCorps.Post do | |
use CodeCorps.Web, :model | |
alias CodeCorps.MarkdownRenderer | |
schema "posts" do | |
field :body, :string | |
field :markdown, :string | |
field :number, :integer | |
field :post_type, :string |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
digraph G { ratio = "auto" 0 [shape=box, style=solid, colorscheme="rdylbu9", color=5, label=" 0 | |
AutoprefixerFilter | |
self time (243ms) | |
total time (56214ms) | |
"] | |
1 -> 0[penwidth=3 ] | |
1 [shape=circle, style=dashed, colorscheme="rdylbu9", color=7, label=" 1 | |
TreeMerger | |
(allTrees) | |
self time (11ms) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "bsrs-ember", | |
"dependencies": { | |
"ember": "~2.7.1", | |
"ember-cli-shims": "~0.1.1", | |
"ember-qunit-notifications": "0.1.0", | |
"ember-qunit": "0.4.16", | |
"fauxjax-toranb": "1.9.0", | |
"lodash": "^2.4.0", | |
"bootstrap-datepicker": "~1.4.0", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var fs = require('fs'); | |
var stream = fs.createReadStream('./test.mp4'); | |
stream.on('data', function(data) { | |
console.log('loaded part of the file'); | |
}); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var fs = require('fs'); | |
var stream = fs.createReadStream('./test.mp4'); | |
stream.on('data', function(data) { | |
console.log('loaded part of the file'); | |
}); |
OlderNewer