⌘T | go to file |
⌘⌃P | go to project |
⌘R | go to methods |
⌃G | go to line |
⌘KB | toggle side bar |
⌘⇧P | command prompt |
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 sh | |
## | |
# This is script with usefull tips taken from: | |
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx | |
# | |
# install it: | |
# curl -sL https://raw.github.com/gist/2108403/hack.sh | sh | |
# |
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
1. Install Zsh with Homebrew | |
brew install zsh | |
2. Add "/usr/local/bin/zsh" to "/etc/shells" file | |
sudo vim /etc/shells | |
3. Change to default login shell | |
chsh -s /usr/local/bin/zsh $USER | |
4. Make sure new version of Zsh is in active |
ror, scala, jetty, erlang, thrift, mongrel, comet server, my-sql, memchached, varnish, kestrel(mq), starling, gizzard, cassandra, hadoop, vertica, munin, nagios, awstats
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
INSERT INTO 'snippets' | |
select 487 as 'sid', ':musical_note:' as 'title', '🎵' as 'body', 'None' as 'syntax', 0 as 'usageCount' | |
union select 488, ':musical_score:', '🎼', 'None', 0 | |
union select 489, ':mute:', '🔇', 'None', 0 | |
union select 490, ':nail_care:', '💅', 'None', 0 | |
union select 491, ':name_badge:', '📛', 'None', 0 | |
union select 492, ':necktie:', '👔', 'None', 0 | |
union select 493, ':negative_squared_cross_mark:', '❎', 'None', 0 | |
union select 494, ':neutral_face:', '😐', 'None', 0 | |
union select 495, ':new:', '🆕', 'None', 0 |
I hereby claim:
- I am ngocphamm on github.
- I am ngocphamm (https://keybase.io/ngocphamm) on keybase.
- I have a public key ASDIZXf6G4v1aI7sAEUkQRzndpdVrgWxdpHaU_TfqfzStAo
To claim this, I am signing this object:
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
Last login: Thu May 16 16:03:02 on ttys017 | |
# zmodload zsh/zprof | |
# setopt SOURCE_TRACE | |
path=( | |
/usr/local/{bin,sbin} | |
$path, | |
$HOME/.composer/vendor/bin | |
) |
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
downloading xdebug-3.0.0.tgz ... | |
Starting to download xdebug-3.0.0.tgz (190,176 bytes) | |
.........................................done: 190,176 bytes | |
86 source files, building | |
running: phpize | |
Configuring for: | |
PHP Api Version: 20190902 | |
Zend Module Api No: 20190902 | |
Zend Extension Api No: 320190902 | |
building in /private/tmp/pear/temp/pear-build-root1P36H3/xdebug-3.0.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
~ » which pecl | |
/usr/local/bin/pecl | |
~ » which php | |
/usr/local/bin/php | |
~ » /usr/bin/php --version | |
PHP 7.3.11 (cli) (built: Jun 5 2020 23:50:40) ( NTS ) | |
Copyright (c) 1997-2018 The PHP Group | |
Zend Engine v3.3.11, Copyright (c) 1998-2018 Zend Technologies | |
~ » php --version | |
PHP 7.4.12 (cli) (built: Oct 29 2020 18:37:21) ( NTS ) |
OlderNewer