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
# Really simple upgrade script for Ubuntu 14.10 to upgrade postgres from 9.3 to LATEST STABLE | |
# Add the deb package | |
sudo echo "deb http://apt.postgresql.org/pub/repos/apt/ utopic-pgdg main" > /etc/apt/sources.list.d/pgdg.list | |
# Add the key | |
wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add - | |
#Refresh the repo list |
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
diff --git a/app/demo/components/App.jsx b/app/demo/components/App.jsx | |
index 97f1917..7cc4836 100644 | |
--- a/app/demo/components/App.jsx | |
+++ b/app/demo/components/App.jsx | |
@@ -59,10 +59,6 @@ class App extends React.Component { | |
this.resetTheme = this.resetTheme.bind(this) | |
} | |
- static childContextTypes = { | |
- rebass: React.PropTypes.object |
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
import React from 'react' | |
class HelloWorld extends React.Component{ | |
render() { | |
return ( | |
<h1>Hello World</h1> | |
) | |
} | |
} |
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
import React from 'react' | |
export default () => { | |
return ( | |
<h1>Hello World</h1> | |
) | |
} |
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
import React from 'react' | |
var HelloWorld = React.createClass({ | |
render: function() { | |
return ( | |
<h1>Hello World</h1> | |
) | |
} | |
}) |
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
import React from 'react' | |
class HelloWorld2 extends React.Component{ | |
render() { | |
return ( | |
<h1>{this.props.title}</h1> | |
) | |
} | |
} |
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
import React from 'react' | |
import {mount} from 'react-mounter'; | |
import HelloWorld2Container from './HelloWorld2Container' | |
mount(HelloWorld2Container, {someOther: '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
npm install --save-dev sass-material-colors |
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
footer{ | |
background-color: material-color('grey', '50'); | |
} | |
header{ | |
background-color: material-color('light-blue', '600'); | |
} |