I hereby claim:
- I am philkeys on github.
- I am keys2design (https://keybase.io/keys2design) on keybase.
- I have a public key ASDV3kn66wXcwMfNlsiIwXiYTGXAr8zOnWOytbXpsDCEqgo
To claim this, I am signing this object:
-- code for https://youtu.be/tp_5c6jaNQE | |
create table users ( | |
id serial primary key, | |
first_name varchar(255) not null, | |
last_name text, | |
age int, | |
email text unique not null | |
); |
function ProviderComposer({ contexts, children }) { | |
return contexts.reduceRight( | |
(kids, parent) => | |
React.cloneElement(parent, { | |
children: kids, | |
}), | |
children | |
); | |
} |
I hereby claim:
To claim this, I am signing this object:
// ---- | |
// Sass (v3.3.0.rc.1) | |
// Compass (v0.13.alpha.10) | |
// ---- | |
$modal-border-color: #ddd; | |
$modal-max-width: 650px; | |
$modal-mobile-header: #27aae2; | |
$modal-layer: 999; // Set high z-index to appear above all other content |
Make an .eslintrc
file in your project directory:
// Use this file as a starting point for your project's .eslintrc.
// Copy this file, and add rule overrides as needed.
{
"extends": "airbnb"
}
Run this cmd
in your shell:
//////////////////// | |
// Partials Example | |
//////////////////// | |
<div class="weatherWidget"> | |
{{#each partials.weatherContext.locations}} | |
<div class="location"> | |
<h3>{{name}}</h3> | |
<a href="{{forecastUrl}}"> | |
<img src="{{iconUrl}}" alt="{{weather}}"> |
// setting up the standard layout | |
var handlebars = require('express-handlebars') | |
.create({defaultLayout: 'main' }); | |
// To use the default layout with a view | |
app.get('/foo', function(req, res) { | |
res.render('foo'); | |
}); |