Built with SASSMEISTER on http://t.co/SQObX9GVZO
This file contains 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
// Eloquent Javascript | |
http://eloquentjavascript.net/2nd_edition/preview/ | |
// Object Oriented Javascript | |
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Introduction_to_Object-Oriented_JavaScript |
This file contains 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 express = require('express'); | |
var sys = require('sys'); | |
var oauth = require('oauth'); | |
var app = express.createServer(); | |
var _twitterConsumerKey = "YOURTWITTERCONSUMERKEY"; | |
var _twitterConsumerSecret = "YOURTWITTERCONSUMERSECRET"; | |
function consumer() { |
This file contains 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
doctype html | |
html | |
head | |
title Curios | |
script(src="../bower_components/jquery/dist/jquery.js") | |
script(src="../bower_components/bootstrap/dist/js/bootstrap.js") | |
link(rel="stylesheet", type="text/css", href="../bower_components/bootstrap/dist/css/bootstrap.css") | |
link(rel="stylesheet", type="text/css", href="main.css") | |
body |
This file contains 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
// app/components/add-todo.js | |
import Ember from 'ember'; | |
export default Ember.Component.extend({ | |
actions: { | |
submit() { | |
const text = this.get('text'); | |
this.get('onAdd')(text); |
This file contains 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
<!DOCTYPE html> | |
<html lang="en" class="no-js"> | |
<head><script type="text/javascript"> | |
/* iubenda ws plugin */ | |
/* app7 */ | |
</script> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> | |
<meta class="swiftype" name="tags" data-type="string" content="en"> |