- Disable The System Integrity for access the relevant system database.
Reboot your Mac and hold Cmd+R on startup. This will bring up the Recovery Mode.
Open Utility -> Terminal from the menu bar and type csrutil disable
Reboot.
Reboot your Mac and hold Cmd+R on startup. This will bring up the Recovery Mode.
Open Utility -> Terminal from the menu bar and type csrutil disable
Reboot.
| #!/bin/bash | |
| wget http://de1.php.net/get/php-7.0.0.tar.bz2/from/this/mirror | |
| tar -xvjf mirror | |
| cd php-7.0.0/ | |
| ./configure \ | |
| --with-readline \ | |
| --enable-pcntl \ | |
| --with-gettext \ | |
| --enable-phpdbg \ | |
| --enable-phpdbg-webhelper \ |
| #!/bin/bash | |
| # @author Alireza Josheghani <josheghani.dev@gmail.com> | |
| # @since 26 Dec 2016 | |
| # @package Laravel queue service installer | |
| # download the source form github | |
| if [ ! -f develop.tar.gz ]; then | |
| wget https://github.com/iamalirezaj/laravel_queue_service/archive/develop.tar.gz | |
| fi |
| # Shell custom schema | |
| # export PS1='\W > ' | |
| PS1='\[\033[01;34m\]\W > \033[0m' | |
| # Artisan short commands | |
| alias art='php artisan' | |
| alias tinker='php artisan tinker' | |
| # Php Serve alias serve |
| if which codecept; then | |
| echo ">>> You have already codeception <<<" | |
| else | |
| if which composer; then | |
| composer global require codeception/codeception |
| <?php | |
| // Get UnixTime With php | |
| // with this function , you can get the current unix time in php | |
| function getUnixtime(){ | |
| $seconds = microtime(true); // true = float, false = weirdo "0.2342 123456" format | |