create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "[email protected]"
import { useEffect, useState } from 'react' | |
import { API, graphqlOperation } from 'aws-amplify' | |
const ListTalks = ` | |
query { | |
listTalks { | |
items { | |
name | |
description | |
presenter { |
# Convert .wav to .flac | |
for i in *.wav; do ffmpeg -i "$i" "$i".flac ; done | |
# Convert .flac to .mp3 (lossless) | |
for f in *.flac; do ffmpeg -i "$f" -aq 1 "${f%flac}mp3"; done | |
# Convert .flac to .mp3, compress to ~ 120k | |
for f in *.flac; do ffmpeg -i "$f" -aq 5 "${f%flac}mp3"; done | |
# Convert .flac to mp3, compress to ~ 128k |
PASSWORD_VALIDATOR = /( # Start of group | |
(?: # Start of nonmatching group, 4 possible solutions | |
(?=.*[a-z]) # Must contain one lowercase character | |
(?=.*[A-Z]) # Must contain one uppercase character | |
(?=.*\W) # Must contain one non-word character or symbol | |
| # or... | |
(?=.*\d) # Must contain one digit from 0-9 | |
(?=.*[A-Z]) # Must contain one uppercase character | |
(?=.*\W) # Must contain one non-word character or symbol | |
| # or... |
create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "[email protected]"
import React, { Component } from 'react' | |
import PropTypes from 'react-proptypes' | |
import styles from './App.css' | |
class Wizard extends Component { | |
static childContextTypes = { | |
activeIndex: PropTypes.number.isRequired, | |
totalSteps: PropTypes.number.isRequired, | |
goToNextStep: PropTypes.func.isRequired, | |
goToPrevStep: PropTypes.func.isRequired |
100 - Thin | |
200 - Extra Light, Ultra Light | |
300 - Light | |
400 - Normal, Book, Regular | |
500 - Medium | |
600 - Semi Bold, Demi Bold | |
700 - Bold | |
800 - Extra Bold, Ultra Bold | |
900 - Black, Heavy |
#!/bin/sh | |
# iPhone 3.5" @2x $* | |
sips -Z 960 -c 960 640 Default-Input.png --out Images.xcassets/LaunchImage.launchimage/Default640x960.png $* | |
# iPhone 3.5" @1x $* | |
sips -Z 480 Images.xcassets/LaunchImage.launchimage/Default640x960.png --out Images.xcassets/LaunchImage.launchimage/Default320x480.png $* | |
# iPhone 4.0" @2x $* | |
sips -Z 1136 -c 1136 640 Default-Input.png --out Images.xcassets/LaunchImage.launchimage/Default640x1136.png $* | |
# iPhone 5.5" @3x - landscape | |
sips -Z 2208 -c 1242 2208 Default-Input.png --out Images.xcassets/LaunchImage.launchimage/Default2208x1242.png $* |
/** | |
* @providesModule PatientList | |
*/ | |
import NavigationBar from 'react-native-navbar'; | |
import NavigationButtons from 'NavigationButtons'; | |
import React, { ListView, Navigator, StyleSheet, Text, TextInput, TouchableHighlight, View } from 'react-native'; | |
import { connect } from 'react-redux/native' | |
@connect(state => ({ | |
patients: state.patients |