- 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.
Last login: Tue Sep 30 10:40:48 on ttys001 | |
Bettina-Hamelins-MacBook-Pro:~ bettinahamelin$ ~/Documents/Christian/LightHouseLabs/ | |
-bash: /Users/bettinahamelin/Documents/Christian/LightHouseLabs/: is a directory | |
Bettina-Hamelins-MacBook-Pro:~ bettinahamelin$ cd Vagrantfile | |
-bash: cd: Vagrantfile: Not a directory | |
Bettina-Hamelins-MacBook-Pro:~ bettinahamelin$ ls | |
AlbumData.xml | |
Applications | |
Attachments | |
Auto Import |
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.sql
dump.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 | |