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
alias gr="git log --all --oneline --graph --decorate" | |
alias stopa2="sudo /etc/init.d/apache2 stop" | |
alias stopsql="sudo service mysql stop" | |
alias startxampp="sudo /opt/lampp/lampp start" | |
alias starter="stopa2 && stopsql && startxampp" | |
alias laras="php artisan serve" | |
alias codela="code . && laras" | |
alias sshlangkah="ssh [email protected]" | |
alias sshyasa="ssh [email protected]" | |
alias startmongo="sudo systemctl start mongod" |
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
server { | |
listen 80; | |
server_name said-fullstack.oceancods.com; | |
root /var/www/mjp-said/mjp-challenge/public; | |
add_header X-Frame-Options "SAMEORIGIN"; | |
add_header X-XSS-Protection "1; mode=block"; | |
add_header X-Content-Type-Options "nosniff"; | |
index index.php; |
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
$imgPay = $this->input->post('uploadImgPayText'); | |
$explodeImgPay = explode('data:image/', $imgPay); | |
$explodeImgPay = explode(';base64,', $explodeImgPay[1]); | |
$imgExt = $explodeImgPay[0]; | |
$imgPay = $explodeImgPay[1]; | |
$imgName = 'public/images/pay/' . $user_id . '-' . time() . '.' . $imgExt; | |
$file = file_put_contents('./' . $imgName, base64_decode($imgPay)); |
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
{"lastUpload":"2021-07-18T07:40:00.368Z","extensionVersion":"v3.4.3"} |
NewerOlder