- http://stackoverflow.com/questions/804115 (
rebasevsmerge). - https://www.atlassian.com/git/tutorials/merging-vs-rebasing (
rebasevsmerge) - https://www.atlassian.com/git/tutorials/undoing-changes/ (
resetvscheckoutvsrevert) - http://stackoverflow.com/questions/2221658 (HEAD^ vs HEAD~) (See
git rev-parse) - http://stackoverflow.com/questions/292357 (
pullvsfetch) - http://stackoverflow.com/questions/39651 (
stashvsbranch) - http://stackoverflow.com/questions/8358035 (
resetvscheckoutvsrevert)
This file contains hidden or 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
| A: Hello | |
| BOT: Hello! Can I help you? | |
| A: I want to find a nearby restaurant | |
| BOT: Which type of food do you want to eat? | |
| A: pizza | |
| BOT: Please let me know where you are? (gửi location) | |
| A: send location | |
| Bot: Are you near here?.... Yes/No | |
| A: Yes | |
| BOT: |
This file contains hidden or 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
| <?php | |
| return [ | |
| 'Security' => [ | |
| 'salt' => '09af7be33b2ef8c91449a67ededf9bcb95343baa3bef7628c6f16cd2d34a9efa', | |
| ], | |
| 'Datasources' => [ | |
| 'default' => [ | |
| 'className' => 'Cake\Database\Connection', | |
| 'driver' => 'Cake\Database\Driver\Sqlite', |
We can make this file beautiful and searchable if this error is corrected: No commas found in this CSV file in line 0.
This file contains hidden or 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
| description | |
| Sang trọng | |
| Ăn vặt/vỉa hè | |
| Nhà hàng | |
| Café/Kem | |
| Quán ăn | |
| Bar/Pub | |
| Karaoke | |
| Tiệm bánh | |
| Khu du lịch |
This file contains hidden or 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
| // Place your settings in this file to overwrite default and user settings. | |
| { | |
| "react-native": { | |
| "simulator": { | |
| "device_name": "iPad Pro (9.7 inch)" | |
| } | |
| } | |
| } |
This file contains hidden or 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 dream from 'dreamjs' | |
| import PouchDB from 'pouchdb-react-native' | |
| import SQLite from 'react-native-sqlite-2' | |
| import SQLiteAdapterFactory from 'pouchdb-adapter-react-native-sqlite' | |
| const SQLiteAdapter = SQLiteAdapterFactory(SQLite) | |
| PouchDB | |
| .plugin(SQLiteAdapter) | |
| .plugin(require('pouchdb-adapter-asyncstorage').default) | |
| .plugin(require('pouchdb-find')) |
This file contains hidden or 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
| #!/bin/bash | |
| ##################################################### | |
| # Name: Bash CheatSheet for Mac OSX | |
| # | |
| # A little overlook of the Bash basics | |
| # | |
| # Usage: | |
| # | |
| # Author: J. Le Coupanec | |
| # Date: 2014/11/04 |
This file contains hidden or 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
| """ | |
| fbfeed2csv: a tool to download all posts from a user/group/page's facebook feed to a csv file | |
| yuzawa-san | |
| https://github.com/yuzawa-san | |
| """ | |
| import json | |
| import urllib2 | |
| import time | |
| import csv |
This file contains hidden or 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
| #!/bin/sh | |
| songId=$1 | |
| parseJson () { | |
| python -c "import json,sys;sys.stdout.write(json.dumps(json.load(sys.stdin)$1))"; | |
| } | |
| fetch () { | |
| local output=`wget -q --method GET --progress=dot --output-document - http://api.mp3.zing.vn/api/mobile/song/getsonginfo?requestdata={\"id\":\"$songId\"}` | |
| local link=$(echo $output | parseJson "['source']['320']") |
- https://www.youtube.com/watch?v=U4c17a4YYZ0
- https://www.youtube.com/watch?v=VOMCnQIG7qc
- https://www.youtube.com/watch?v=Xq1P3wY6xRs
- https://www.youtube.com/watch?v=wT8OqlphabQ
- https://www.youtube.com/watch?v=pGUhsTxIddE
- https://www.youtube.com/watch?v=YUsa412NimM
- https://www.youtube.com/watch?v=8zyX0OqfOd8
- https://www.youtube.com/watch?v=DNw1SsSODGw
- https://www.youtube.com/watch?v=qWNjJsr06JY
- https://www.youtube.com/watch?v=xKLa22UN6hI