This file contains hidden or 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
Infoa virtuaalimasiinasta | |
========================== | |
Käyttäjä ja salasana | |
---------------------- | |
user, userpassu | |
Vasemman palkin ohjelmat, ylhäältä alas. | |
----------------------------------------- |
This file contains hidden or 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
sudo su | |
apt-get install aptitude | |
aptitude install open-vm-tools git postgresql curl zsh | |
wget -qO- https://deb.nodesource.com/setup_4.x | sudo bash - | |
sudo apt-get install --yes nodejs |
This file contains hidden or 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 { createHistory } from 'history'; | |
let history = createHistory(); | |
const routes = ( | |
<Router history={history}> | |
<Route path="/" component={HelloWorldApp}> | |
<IndexRoute component={Index} /> | |
<Route path="/hello/:name" component={Greeter}></Route> | |
</Route> |
This file contains hidden or 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 { default as I, List, Map, Range, Repeat } from 'immutable'; | |
// Array literal | |
const losos = [ | |
{ | |
name: 'Panu', | |
age: 27, | |
visible: true, | |
generation: 2, | |
}, |
This file contains hidden or 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 body-parser |
This file contains hidden or 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 { default as React, PropTypes } from 'react'; | |
class Measurement extends React.Component { | |
static propTypes = { | |
value: PropTypes.number.isRequired, | |
unit: PropTypes.string.isRequired | |
}; | |
render() { |
This file contains hidden or 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
Kalenterisofta autokorjaamolle | |
------------------------------- | |
- Varaus | |
- Tekijä | |
- Auto | |
https://github.com/breerly/factory-girl-php |
This file contains hidden or 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
/** | |
* @ORM\Id | |
* @ORM\Column(type="integer") | |
* @ORM\generatedValue(strategy="AUTO") | |
*/ |
This file contains hidden or 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 cx from 'classnames'; | |
import { icons } from '../services/assets'; | |
import styles from './Icon.pcss'; | |
const Icon = props => { | |
const { name, size, flip, className } = props; | |
const classes = cx( | |
styles.icon, | |
styles.className, |