create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "[email protected]"
| #!/bin/bash | |
| # Requirements: | |
| # - homebrew: https://brew.sh/ | |
| # - homebrew tap: buo/cask-upgrade - https://github.com/buo/homebrew-cask-upgrade | |
| # - homebrew mas (Mac App Store command-line interface - https://github.com/mas-cli/mas) | |
| # Update, upgrade all and cleanup | |
| brew update && brew upgrade && brew cu --all --yes --cleanup && mas upgrade && brew cleanup | |
| # Dump all taps, apps, casks and mac apps into ~/Brewfile |
| # Stop all containers | |
| docker stop `docker ps -qa` | |
| # Remove all containers | |
| docker rm `docker ps -qa` | |
| # Remove all images | |
| docker rmi -f `docker images -qa ` | |
| # Remove all volumes |
| 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 |