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
php artisan down | |
git pull | |
composer install --no-dev | |
php artisan migrate --force | |
php artisan optimize:clear | |
php artisan optimize |
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
<?php | |
$supportedRegions = [ | |
'ap-east-1', | |
'ap-northeast-1', | |
'ap-northeast-2', | |
'ap-northeast-3', | |
'ap-south-1', | |
'ap-south-2', | |
'ap-southeast-1', |
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
nnoremap <silent> <C-z> :u<CR> | |
nnoremap <silent> <C-q> :q!<CR> | |
nnoremap <silent> <C-s> :w<CR> | |
call plug#begin() | |
Plug 'preservim/nerdtree' | |
nnoremap <silent> <C-b> :NERDTreeToggle<CR> | |
Plug 'fatih/vim-go', { 'do': ':GoUpdateBinaries' } |
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
<?php | |
/** | |
* @param $data | |
* @return string | |
*/ | |
function bpm_encrypt_enc_pan($data) | |
{ | |
return bin2hex(openssl_encrypt(hex2bin($data), 'des-ecb', hex2bin('2C7D202B960A96AA'), OPENSSL_NO_PADDING)); | |
} |