- For list services
brew services list
- For start services
brew services start mongodb
- For stop services
brew services stop mongodb
This procedure explains how to install MySQL using Homebrew on macOS Sierra 10.12
- Installing Homebrew is effortless, open Terminal and enter :
$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
- Note: Homebrew will download and install Command Line Tools for Xcode 8.0 as part of the installation process.
At this time of writing, Homebrew has MySQL version 5.7.15 as default formulae in its main repository :
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rm -fr ~/.expo/starter-app-cache |
- Change last commit message
git commit --amend
- Push without ci
git commit -m 'Change [ci skip]'
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"lastUpload":"2017-05-09T13:54:37.300Z","extensionVersion":"v2.7.0"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// @flow | |
import React, { Component } from 'react'; | |
import { | |
VirtualizedList, | |
View, | |
ScrollView, | |
StyleSheet, | |
// $FlowFixMe | |
findNodeHandle, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export function commaThousand(num) { | |
return num.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ","); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import i18n from 'react-native-i18n' | |
import Exponent from 'exponent' | |
import es from '../locales/es' | |
import en from '../locales/en' | |
i18n.fallbacks = true | |
const getLanguage = async () => { | |
i18n.locale = (await Exponent.Util.getCurrentLocaleAsync()).substring(0,2) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"prettier": "prettier --single-quote --print-width 80 --trailing-comma all --write '{src}/**/*.js'" |
Visit my blog or connect with me on Twitter
git init
or