A ZSH theme optimized for people who use:
- Solarized
- Git
- Unicode-compatible fonts and terminals (I use iTerm2 + Menlo)
For Mac users, I highly recommend iTerm 2 + Solarized Dark
package | |
{ | |
import flash.display.MovieClip; | |
import com.codeazur.as3swf.SWF; | |
import com.codeazur.as3swf.tags.ITag; | |
import com.codeazur.as3swf.tags.TagDefineText; | |
import com.codeazur.as3swf.data.SWFTextRecord; | |
import com.codeazur.as3swf.data.SWFGlyphEntry; | |
import com.codeazur.as3swf.tags.TagDefineFont2; |
var mediaJSON = { "categories" : [ { "name" : "Movies", | |
"videos" : [ | |
{ "description" : "Big Buck Bunny tells the story of a giant rabbit with a heart bigger than himself. When one sunny day three rodents rudely harass him, something snaps... and the rabbit ain't no bunny anymore! In the typical cartoon tradition he prepares the nasty rodents a comical revenge.\n\nLicensed under the Creative Commons Attribution license\nhttp://www.bigbuckbunny.org", | |
"sources" : [ "http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4" ], | |
"subtitle" : "By Blender Foundation", | |
"thumb" : "images/BigBuckBunny.jpg", | |
"title" : "Big Buck Bunny" | |
}, | |
{ "description" : "The first Blender Open Movie from 2006", | |
"sources" : [ "http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/ElephantsDream.mp4" ], |
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
// | |
// main.swift | |
// pggrep - updated 12/4/15 | |
// Created by Erica Sadun on 6/17/15. | |
// Copyright © 2015 Erica Sadun. All rights reserved. | |
// | |
import Foundation | |
extension String { |
// | |
// BorderedView.swift | |
// Guinder | |
// | |
// Created by Andre Siviero on 02/07/15. | |
// Copyright (c) 2015 Resultate. All rights reserved. | |
// License: MIT | |
import Foundation | |
import UIKit |
If you use atom... download & install the following packages:
1) If applicable, list available formats for this asset. | |
youtube-dl -F <url> | |
... then get URL to m3u8 for selected format | |
youtube-dl -f <format name> -g <url> | |
2) Download all the segments in the m3u8. Now you have a bag of transport stream segments. | |
The file names are probably increasing but not necessarily sequentially. | |
You can do the download with youtube-dl (which automatically re-assembles the results), | |
but it doesn't support parallel operation. You might find that parallelizing this download |
import React from 'react' | |
import { withRouter, Link } from 'react-router-dom' | |
import { graphql, compose } from 'react-apollo' | |
import { Formik } from 'formik' | |
import Yup from 'yup' | |
import FormWideError from '../elements/form/FormWideError' | |
import TextInput from '../elements/form/TextInput' | |
import Button from '../elements/form/Button' | |
import { H2 } from '../elements/text/Headings' |