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 | |
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 \ |
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 | |
# @author Alireza Josheghani <[email protected]> | |
# @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 |
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
# 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 |
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
if which codecept; then | |
echo ">>> You have already codeception <<<" | |
else | |
if which composer; then | |
composer global require codeception/codeception |
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 | |
// 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 | |
NewerOlder