Method | Side effects1 | State updates2 | Example uses |
---|---|---|---|
Mounting | |||
componentWillMount |
✓ | Constructor equivalent for createClass |
|
render |
Create and return element(s) | ||
componentDidMount |
✓ | ✓ | DOM manipulations, network requests, etc. |
Updating | |||
componentWillReceiveProps |
✓ | Update state based on changed props |
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
# -*- encoding: utf-8 -*- | |
#http://en.wiktionary.org/wiki/Index:Chinese_radical | |
ua_cn = { | |
'а' => '开', | |
'б' => '石', | |
'в' => '阝', | |
'г' => '厂', | |
'ґ' => '广', |
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
#!/usr/bin/env python | |
import sys | |
sys.path.insert(0, '/System/Library/PrivateFrameworks/LLDB.framework/Resources/Python') | |
import lldb | |
dbg = lldb.SBDebugger.Create() | |
dbg.SetAsync(False) |
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
#!/usr/bin/env ruby | |
# API Documentation at http://api.wikia.com/wiki/LyricWiki_API | |
require 'open-uri' | |
require 'json' | |
require 'tmpdir' | |
ARTIST = "Johnny Cash" |
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
I had a dream. Like there is ahead | |
And endless, empty and the wildest plane. | |
And I stand there, held by iron chain, | |
Under the tall rock made from finest granite | |
And next to me are thousands just like me. | |
The face of everyone is marked by woe and sorrow, | |
And eyes of everyone contain fervor of love. | |
And hands of everyone are chained with snakes of iron, | |
And every shoulder's bent low to the ground, |
I use Namecheap.com as a registrar, and they resale SSL Certs from a number of other companies, including Comodo.
These are the steps I went through to set up an SSL cert.