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
# coding: utf-8 | |
# # Face Generation | |
# In this project, you'll use generative adversarial networks to generate new images of faces. | |
# ### Get the Data | |
# You'll be using two datasets in this project: | |
# - MNIST | |
# - CelebA | |
# |
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
let numbers = [2, 3, 4, 5, 6, 7] | |
let doubled = numbers.map((n) => n * 2); | |
console.log(doubled); | |
let person = { | |
name: 'Ryan', | |
hobbies: ['Robots', 'Computers', 'Internet'], |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width"> | |
<title>JS Bin</title> | |
</head> | |
<body> | |
<script id="jsbin-javascript"> |
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
// section 1 | |
// let sum = function(...args) { | |
// return args.reduce((prev,curr)=>prev + curr) | |
// }; | |
// console.log(sum(2,3,4,5)) | |
// section 2 | |
// let multiply = (mul, ...numbers) => { | |
// console.log(mul,numbers) |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width"> | |
<title>JS Bin</title> | |
<script src="https://fb.me/react-with-addons-15.1.0.js"></script> | |
<script src="https://fb.me/react-dom-15.1.0.js"></script> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/redux/3.0.4/redux.js"></script> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/expect/1.20.2/expect.js"></script> |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width"> | |
<title>JS Bin</title> | |
<script src="https://fb.me/react-with-addons-15.1.0.js"></script> | |
<script src="https://fb.me/react-dom-15.1.0.js"></script> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/redux/3.0.4/redux.js"></script> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/expect/1.20.2/expect.js"></script> |
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
/** | |
* Created by Owen Ju on 22/05/2017. | |
*/ | |
import React, {Component} from 'react' | |
import {AppRegistry, View, Text, StyleSheet, SectionList} from 'react-native' | |
// build mock data | |
const sections = [ | |
{ |
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
/** | |
* Created by Owen Ju on 22/05/2017. | |
*/ | |
import React, {Component} from 'react' | |
import {AppRegistry, View, Text, StyleSheet, Image} from 'react-native' | |
export default class ConfDetail extends Component { | |
render() { | |
return ( |
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
# 安装 cli | |
pip install -U floyd-cli | |
# 登录账户 | |
floyd login | |
# 拷贝授权码到终端 | |
# 输入登录命令后会提示你授权码页面将打开您的浏览器,是否打开,输入y 即可 | |
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, { Component } from 'react' | |
import { AppRegistry, View } from 'react-native' | |
import { connect } from 'react-redux' | |
import { actionCreators } from './todoListRedux' | |
import List from './List' | |
import Input from './Input' | |
import Title from './Title' | |
const mapStateToProps = (state) => ({ |