View docker-compose.yml
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
version: '3' | |
services: | |
db: | |
image: mysql:5.7 | |
volumes: | |
- ./db_data:/var/lib/mysql | |
restart: always | |
environment: | |
MYSQL_ROOT_PASSWORD: password |
View @babel packages
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
@babel/cli | |
@babel/code-frame | |
@babel/core | |
@babel/generator | |
@babel/helper-annotate-as-pure | |
@babel/helper-bindify-decorators | |
@babel/helper-builder-binary-assignment-operator-visitor | |
@babel/helper-builder-react-jsx | |
@babel/helper-call-delegate | |
@babel/helper-define-map |
View .eslintrc react-native-app
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
create-react-native-app my-app | |
cd my-app | |
curl https://raw.githubusercontent.com/react-community/create-react-native-app/master/.eslintrc > .eslintrc | |
Add "lint": "eslint ." to package.json | |
npm install --save-dev eslint babel-eslint eslint-plugin-import eslint-plugin-flowtype eslint-plugin-react eslint-plugin-babel eslint-config-exponent | |
npm run lint |
View .eslintrc
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
{ | |
"env": { | |
"browser": true, | |
"node": true, | |
"es6": true | |
}, | |
"plugins": ["react"], | |
"ecmaFeatures": { |
View .hgignore
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
# .hgignore - List of filenames hg should ignore | |
# Filenames that should be ignored wherever they appear | |
~$ | |
\.py(c|o)$ | |
(?i)(^|/)TAGS$ | |
(^|/)ID$ | |
(^|/)\.DS_Store$ | |
\.pdb | |
\.egg-info |
View itebooks.py
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
#!/usr/bin/env python3 | |
import sys | |
import re | |
import shutil | |
import argparse | |
import binascii | |
pattern = b'''0a2f54797065202f416e6e6f740a2f53756274797065202f4c696e6b0a2f52656 | |
374205b20.*?205d0a2f426f7264657220.*?\n0a2f41203c3c0a2f54797065202f416374696f6e |