Warning.\n\nFill the fields to login.')
			return
		}

		User.signin(this.state)
			.then(this.props.userLogin)
			.catch(e => alert(`Error.\n\n${JSON.stringify(e)}`))
	}

	_signUp() {
		const { name, email, password } = this.state

		if (!name.trim() ||!email.trim() ||!password.trim()) {
			alert('Warning.\n\nFill the fields to sign up')
			return
		}

		User.signup({
			full_name: name,
			email: email,
			password: password
		})
			.then(this.props.userLogin)
			.catch(e => alert(`Error.\n\n${JSON.stringify(e)}`))
	}

	componentWillUnmount() {
		this.setState({
			name: '',
			email: '',
			password: '',
		})
	}
	
	render() {
		return (
			<View style={styles.container}>
				{!this.props.isLogin && (
					<TextInput
						placeholder="Name"
						returnKeyType="next"
						onSubmitEditing={() => this.emailInput.focus()}
						ref={input => (this.nameInput = input)}
						onChangeText={text => this.setState({ name: text })}
						style={styles.input}
					/>
				)}
				<TextInput
					placeholder="Email"
					keyboardType="email-address"
					autoCapitalize="none"
					returnKeyType="next"
					ref={input => (this.emailInput = input)}
					onSubmitEditing={() => this.passwordInput.focus()}
					onChangeText={text => this.setState({ email: text })}
					style={styles.input}
				/>
				<TextInput
					placeholder="Password"
					secureTextEntry={true}
					autoCapitalize="none"
					returnKeyType="done"
					ref={input => (this.passwordInput = input)}
					onChangeText={text => this.setState({ password: text })}
					style={styles.input}
				/>
				<TouchableOpacity onPress={() => this.login()}>
					<View style={styles.buttonContainer}>
						<Text style={styles.buttonLabel}>{this.props.isLogin? 'Log in' : 'Sign up'}</Text>
					</View>
				</TouchableOpacity>
			</View>
		)
	}
}

const mapStateToProps = (state) => ({
	isLogin: state.auth.isLogin,
	user: state.user
})

const mapDispatchToProps = (dispatch) => ({
	userLogin: user => dispatch(userLogin(user))
})

export default connect(mapStateToProps, mapDispatchToProps)(AuthForm)

const styles = StyleSheet.create({
	container: {
		flex: 1,
		justifyContent: 'flex-end',
	},
	input: {
		height: 50,
		borderRadius: 25,
		marginVertical: 5,
		marginHorizontal: 20,
		paddingVertical: 10,
		paddingHorizontal: 20,
		backgroundColor: '#eee',
		fontSize: 18,
	},
	buttonContainer: {
		height: 50,
		borderRadius: 25,
		backgroundColor: '#00e3cf',
		marginHorizontal: 20,
		marginVertical: 10,
		alignItems: 'center',
		justifyContent: 'center'
	},
	buttonLabel: {
		color: '#ffffff',
		fontSize: 20,
		fontWeight: '700'
	},
})
Solid State Chemistry
Indian Institute of Technology Kanpur via Swayam
- Provider
Swayam
- Cost
Free Online Course
- Session
Finished
- Language
- Certificate
Certificate Available
- Duration
12 weeks long
Overview
This course will go over the basics of solid state materials, primarily crystalline solids and describe features and properties of certain specific materials. Some of the basic topics included will be thermodynamics of solids, unit cells, lattice, crystals, symmetry, symmetry groups, defects, x-ray diffraction, microscopy. Following this, the discussion will move to specific materials like binary alloys, oxides, nitrides and sulphides, perovskites, spinels. The course will conclude with a discussion of band theory, band structure, electronic and optical properties.
PREREQUISITES: Basic physical chemistry including thermodynamics, kinetics and quantum chemistry, basic vector analysis and coordinate geometry.
Syllabus
Week 1 : Crystalline and amorphous solids, atomic and molecular solids, thermodynamics of solids, crystallization kinetics, nucleation, synthetic strategy
Week 2 : Unit Cell, Conventional unit cell, primitive unit cell, lattice and basis, Bravais lattices, lattice translation vectors.
Week 3 : Symmetry in crystals, rotations, reflections, inversions, rotoinversions, Schonflies and Hermann-Mauguin notations of symmetries.
Week 4 : Translational symmetry elements, glide plane, screw axis, relevance of symmetries.
Week 5 : Crystal systems, point groups, space groups.
Week 6 : Group notations, Schonflies notations, Hermann-Mauguin notations.
Week 7 : Coordination number, defects and voids in crystals, Schottky and Frenkel defects, interstitials.
Week 8 : Lattice planes, Miller indices, X-ray diffraction, Bragg's law, X-ray difraction, indexing of peaks
Week 9 : Powder X-ray diffractometers, single crystal X-ray diffractometers, X-ray crystallography, electron density maps, electron microscopy techniques.
Week 10 : Crystal structures of elements, alloys, binary compounds, nitrides, sulphides, perovskites, spinels.
Week 11 : Electronic structure of solids, origin of bands, band structure, density of states.
Week 12 : Band structure and electrical conductivity, band gap, optical properties.Sure but at that point the MOD has spent alot of money on them already just to find they sent sutible for the job.

Sure volunteering to do combat sports is stressful but you have chosen to do it and know what's going to happen. But half of training alone involves being sleep deprived and doing things you don't want to do when you least want to do them, like beyoneet training, being stood too at 3am with and hours sleep then bugging out in full CBRN kit for 5miles. 

The difference between controlled stress and uncontrolled stress is the key. 

Let alone when your on tour and the EN detonate and IED and a long contact. The stress alone can freeze the best of us let alone someone who needs to try and overcome an overload. It's not just the individual at risk but the team who has to bug out and help the individual.Q: Google Apps Script file upload (by HTML form) only works when script is "bound" (when standalone script tested, HTTP 403 error) To upload a local file to Google Drive, I have an HTML <form></form> (see code below) that displays in a modal overtop a Google Sheet the user has open. The HTML form has <input type="file" name="..."> in it, and when I click to send the form object, I successfully upload the file if this Google Apps Script is "bound" to a specific Sheets file (and was written using the Tools > Script Editor... menu).
If I save the script as a standalone script and then test it (installed and enabled) on a Sheets file of my choosing, then the <form>'s onclick action and the attempt to call google.script.run.aServerFunction(...) causes a "NetworkError: Connection failure due to HTTP 403". To clarify this is what I mean by creating a standalone script and testing it on a Sheets file: https://developers.google.com/apps-script/add-ons/#understand_the_development_cycle. In earlier code iterations I alternatively got a authorization scriptError of some kind. Same error when script is published privately for testers to use on a Sheet. Unfortunately, I think I need this as a standalone script that is later publishable as an add-on- not a side script bound to a single Sheet using the Tools > Script Editor... menu.
My first post to Stack Overflow- please forgive any jargon or typography mistakes, and thank you!
HTML adapted from tutorials:
    <!DOCTYPE html>
<html>
  <head>
    <base target="_top">
    <link rel="stylesheet" href="https://ssl.gstatic.com/docs/script/css/add-ons1.css">
    <script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js">
    </script>
    <script>
        function failed(event) {
          $("div.response").text(event);
          //google.script.run.selectStuff();
          //google.script.host.