- Semantic markup
- HTML standards mode and quirks mode
- HTML fundamentals
- Classes and IDs
- CSS fundamentals
- Selectors
- Resets and normalizers
- The box model
Hi Nicholas,
I saw you tweet about JSX yesterday. It seemed like the discussion devolved pretty quickly but I wanted to share our experience over the last year. I understand your concerns. I've made similar remarks about JSX. When we started using it Planning Center, I led the charge to write React without it. I don't imagine I'd have much to say that you haven't considered but, if it's helpful, here's a pattern that changed my opinion:
The idea that "React is the V in MVC" is disingenuous. It's a good pitch but, for many of us, it feels like in invitation to repeat our history of coupled views. In practice, React is the V and the C. Dan Abramov describes the division as Smart and Dumb Components. At our office, we call them stateless and container components (view-controllers if we're Flux). The idea is pretty simple: components can't
| #!/bin/bash | |
| # About: Bash script to create new Jekyll posts | |
| # Author: @AamnahAkram | |
| # URL: https://gist.github.com/aamnah/f89fca7906f66f6f6a12 | |
| # Description: This is a more advanced version of the script which can | |
| # - take options | |
| # - has color coded status messages | |
| # - improved code | |
| # - lowercase permalinks | |
| # - usage message |
##Setup your server (this would ideally be done with automated provisioning)
- add a deploy user with password-less ssh see this gist
- install forever
npm install -g forever
##Install flightplan
npm install -g flightplan- in your project folder
npm install flightplan --save-dev - create a flightplan.js file
| var Promise = require('es6-promise').Promise; | |
| function promisify(func) { | |
| // Already a Promise. | |
| if (func && typeof func.then === 'function') { | |
| return func; | |
| } | |
| return function () { | |
| var args = Array.prototype.slice.apply(arguments); |
This assumes you already have a Yeoman app and are ready for publishing
Create production directory & assets
| #!/bin/bash | |
| # Katie Harron - @pibby | |
| # This bash script will setup a new Jekyll blog post in Markdown and open it for editing in Sublime Text 2 | |
| echo "Post Title: " | |
| read title | |
| echo "Post Description: " | |
| read desc | |
| echo "Post Tags: " | |
| read tags |
| package main | |
| import ( | |
| "log" | |
| "myserver" | |
| "net/http" | |
| ) | |
| const addr = "localhost:12345" |
| #!/bin/sh | |
| # Convert a raw binary image into an ELF file suitable for loading into a disassembler | |
| cat > raw$$.ld <<EOF | |
| SECTIONS | |
| { | |
| EOF | |
| echo " . = $3;" >> raw$$.ld |