Skip to content

Instantly share code, notes, and snippets.

View BenQoder's full-sized avatar
🏠
Working from home

Adinnu Benedict BenQoder

🏠
Working from home
View GitHub Profile
@virbo
virbo / install-composer.sh
Last active October 1, 2019 12:58
Install Composer on CWP (Centos 7)
#!/bin/bash
# Install Composer on Centos, Ubuntu, Debian
# Author Yusuf Ayuba
user_allow="root"
if [ "$(whoami)" != $user_allow ]; then
echo "==================================================================="
echo " Installasi gagal. Install composer harus menggunakan user: "$user_allow" ="
echo "==================================================================="
@BenQoder
BenQoder / forge.sh
Created April 9, 2018 03:18
Laravel Forge Setup Script
#
# REQUIRES:
# - server (the forge server instance)
# - event (the forge event instance)
# - sudo_password (random password for sudo)
# - db_password (random password for database user)
# - callback (the callback URL)
#
@mes01
mes01 / LC_CTYPE.txt
Created October 31, 2017 16:27 — forked from thanksdanny/LC_CTYPE.txt
Centos warning: setlocale: LC_CTYPE: cannot change locale (UTF-8): No such file or directory
vi /etc/environment
add these lines...
LANG=en_US.utf-8
LC_ALL=en_US.utf-8