Skip to content

Instantly share code, notes, and snippets.

View nguyenhuucam91's full-sized avatar
🏠
Working from home

Nguyễn Hữu Cầm nguyenhuucam91

🏠
Working from home
View GitHub Profile
output_buffering=Off
...
[Xdebug]
zend_extension = "c:\xampp\php\ext\php_xdebug-2.5.0-7.1-vc14.dll"
xdebug.remote_autostart = 1
xdebug.profiler_append = 0
xdebug.profiler_enable = 0
xdebug.profiler_enable_trigger = 0
xdebug.profiler_output_dir = "c:\xampp\tmp"
;xdebug.profiler_output_name = "cachegrind.out.%t-%s"
1. Create CMDER_ROOT environment variable and point to cmder_mini
2. Ctrl + Alt + S -> Terminal -> Shell_path: "cmd.exe" /k ""%CMDER_ROOT%\vendor\init.bat""
TwitterInc
200 User License
EA7E-890007
1D77F72E 390CDD93 4DCBA022 FAF60790
61AA12C0 A37081C5 D0316412 4584D136
94D7F7D4 95BC8C1C 527DA828 560BB037
D1EDDD8C AE7B379F 50C9D69D B35179EF
2FE898C4 8E4277A8 555CE714 E1FB0E43
D5D52613 C3D12E98 BC49967F 7652EED2
9D2D2E61 67610860 6D338B72 5CF95C69
@nguyenhuucam91
nguyenhuucam91 / Balsamiq mockups 3.5.15 fullcrack serial
Last active March 19, 2019 16:20
Balsamiq mockups 3.5.15 fullcrack serial
Name: Flash
Serial: eNrzzU/OLi0odswsqnHLSSzOqDGoca7JKCkpsNLXLy8v1ytJTczVLUotKNFLzs8FAJHYETc=
if anyone wants to thank ETH: 0x527c2aB55b744D6167dc981576318af96ed26676
Thank you!
@nguyenhuucam91
nguyenhuucam91 / docker-compose.yml
Last active May 9, 2020 09:50
Cấu hình Docker-compose yml chạy Nginx / Php / Mysql / Redis
version: '2'
services:
web:
container_name: docker-nginx-latest
image: nginx:latest
restart: always
ports:
- "80:80"
volumes:
- ./code:/var/www
@nguyenhuucam91
nguyenhuucam91 / cloudSettings
Last active December 22, 2020 15:19
Visual Studio Code Settings Sync Gist
{"lastUpload":"2020-12-22T15:19:14.786Z","extensionVersion":"v3.4.3"}
@nguyenhuucam91
nguyenhuucam91 / MySQL_5-7_macOS.md
Created March 19, 2019 16:19 — forked from robhrt7/MySQL_5-7_macOS.md
Install MySQL 5.7 on macOS using Homebrew

This is a fork of original gist https://gist.github.com/nrollr/3f57fc15ded7dddddcc4e82fe137b58e, with slight changes on pointing to 5.7 version branch, instead of 8 (latest default of MySQL in Hombrew).

Install MySQL 5.7 on macOS

This procedure explains how to install MySQL using Homebrew on macOS (Sierra 10.12 and up)

Install Homebrew

  • 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.
@nguyenhuucam91
nguyenhuucam91 / Uninstall mysql
Created March 19, 2019 16:22
Uninstall mysql Homebrew
ps -ax | grep mysql
stop and kill any MySQL processes
brew remove mysql
brew cleanup
sudo rm /usr/local/mysql
sudo rm -rf /usr/local/var/mysql
sudo rm -rf /usr/local/mysql*
sudo rm ~/Library/LaunchAgents/homebrew.mxcl.mysql.plist
sudo rm -rf /Library/StartupItems/MySQLCOM
sudo rm -rf /Library/PreferencePanes/My*
@nguyenhuucam91
nguyenhuucam91 / Mongo git terminal
Last active March 12, 2021 03:45
Mongo git terminal
use petshops;
(function() {
var names = [
'Yolanda',
'Iska',
'Malone',
'Frank',
'Foxton',
'Pirate',
'Poppelhoffen',
use petshop
db.pets.insertOne({"name": "Mikey", "species": "Gerbil"});
db.pets.insertOne({"name": "Davey Bungooligan", "species": "Piranha"});
db.pets.insertOne({"name": "Suzy B", "species": "Cat"});
db.pets.insertOne({"name": "Mikey", "species": "Hotdog"});
db.pets.insertOne({"name": "Terrence", "species": "Sausagedog"});
db.pets.insertOne({"name": "Philomena Jones", "species": "Cat"});