- You want to run guard
- You want use Sublime plugins (like RSpec or Guard plugins)
Brew aka Homebrew is a package management system for Mac OSX.
Brew aka Homebrew is a package management system for Mac OSX.
| import React from 'react'; | |
| import { TextInput, View } from 'react-native'; | |
| // Try it: https://snack.expo.io/ByW4CFPx- | |
| export default class GrowingTextInput extends React.Component { | |
| static defaultProps = { | |
| minHeight: 30, | |
| }; | |
| constructor(props, context) { |
| import { LayoutAnimation, Keyboard, Platform } from 'react-native'; | |
| export default class KeyboardEventListener { | |
| static subscribe(callback) { | |
| const listener = new KeyboardEventListener(callback); | |
| return () => { | |
| listener.unsubscribe(); | |
| }; | |
| } |
docker exec -i mysql_container mysqldump -uroot -proot --databases database_name --skip-comments > /path/to/my/dump.sqldump.sql file in your host machine. Awesome, eh?--compact on your dump. This will make MySQL check your constraints which will cause troubles when reading your file (damm you MySQL). And don't use --force to fix this scenario: recreate your dump without --compact ¯_(ツ)_/¯| # Backup | |
| docker exec CONTAINER /usr/bin/mysqldump -u root --password=root DATABASE > backup.sql | |
| # Restore | |
| cat backup.sql | docker exec -i CONTAINER /usr/bin/mysql -u root --password=root DATABASE | |