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
| key <AE01> {[ exclam, 1, bar, exclamdown ]}; | |
| key <AE02> {[ quotedbl, 2, at, twosuperior ]}; | |
| key <AE03> {[ periodcentered, 3, numbersign, sterling ]}; | |
| key <AE04> {[ dollar, 4, asciitilde, dollar ]}; | |
| key <AE05> {[ percent, 5, brokenbar, fiveeighths ]}; | |
| key <AE06> {[ ampersand, 6, notsign, fiveeighths ]}; | |
| key <AE07> {[ slash, 7, onehalf, seveneighths ]}; | |
| key <AE08> {[ parenleft, 8, oneeighth, threeeighths ]}; | |
| key <AE09> {[ parenright, 9, asciicircum ]}; | |
| key <AE10> {[ equal, 0, grave, dead_doubleacute ]}; |
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
| wget -O phpstan.phar https://github.com/phpstan/phpstan/raw/master/phpstan.phar | |
| chmod a+x phpstan.phar | |
| sudo mv phpstan.phar /usr/local/bin/phpstan | |
| phpstan |
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
| # ~/.bashrc: executed by bash(1) for non-login shells. | |
| # see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) | |
| # for examples | |
| # If not running interactively, don't do anything | |
| case $- in | |
| *i*) ;; | |
| *) return;; | |
| esac |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
| # sgrep php 'helloworldinphp' | |
| # sgrep js 'helloworldinjs | |
| sgrep() { | |
| length=$(($#-2)) | |
| parameters=${@:1:$length} | |
| beforelast=$(($#-1)) | |
| grep -nr --color $parameters "${!#}" --include=*."${!beforelast}" | |
| } |
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
| phpl() { | |
| parameters=${@} | |
| find $parameters -type f -name '*.php' -exec php -l {} \; | (! grep -v "No syntax errors detected" ) | |
| } |