Skip to content

Instantly share code, notes, and snippets.

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Tooter</title>
<link rel="stylesheet" href="styles/main.css">
</head>
<body>
<div class="app-container">
<form class="js-toot-input">
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title></title>
<link rel="stylesheet" href="main.css">
</head>
<body>
<form>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title></title>
</head>
<body>
<div id="app"></div>
// Adds all the natural numbers below `end` that are multiples of any of the
// values in `multiples`
//
// end - The Number that is the upper limit
// multiples - An Array of Numbers that will be checked for divisibility
//
// Examples
//
// multiples(1000, [3, 5])
// // => 233168
#!/bin/bash
mkdir $1
cd $1
touch index.html
mkdir scripts
mkdir styles
touch scripts/main.js
touch styles/main.scss
cd styles
bourbon install
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title></title>
<link rel="stylesheet" href="bower_components/octicons/octicons/octicons.css">
</head>
<body>
<ul class="repositories">
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title></title>
<script src="bower_components/jquery/dist/jquery.js"></script>
<script src="main.js"></script>
</head>
<body>
var items = ['a', 'b', 'c', 'd', 'e'];
console.log(items);
function logItem(item) {
console.log(item);
}
items.forEach(logItem);
(function(){
'use strict';
window.ENV = window.ENV || {};
window.ENV['simple-auth-firebase'] = {
firebase: new Firebase("https://blistering-torch-3318.firebaseio.com/")
};
var defaults = {
firebase: null,
resourceName: 'users'
var email = "email";
var password = "password";
var data = {email: email, password: password};
Application.ref.createUser(data, function(error){
if(! error ){
ref.authWithPassword(data, function(error, authData){
if( ! error && authData ){
data.id = authData.uid;
var user = self.store.createRecord('user', data);