Skip to content

Instantly share code, notes, and snippets.

View virbo's full-sized avatar
💭
I may be slow to respond.

Yusuf Ayuba virbo

💭
I may be slow to respond.
View GitHub Profile
@virbo
virbo / ganttchart_chatgpt.html
Created October 7, 2024 03:17
ganttchart chatgpt
<!DOCTYPE html>
<html>
<head>
<title>Gantt Chart Example</title>
<script src="https://cdn.dhtmlx.com/gantt/edge/dhtmlxgantt.js"></script>
<link href="https://cdn.dhtmlx.com/gantt/edge/dhtmlxgantt.css" rel="stylesheet">
<style>
html, body {
height: 100%;
padding: 0;
@virbo
virbo / install-patch-neofeeder.sh
Last active April 2, 2022 14:33
Bash Script Auto install PATCH Neo Feeder
#!/bin/bash
# bash script auto install patch NeoFeeder (Apps)
# Author: Yusuf Ayuba
#-----------------------------------------------------------#
# Inisial variable
# IMAGE_ID = ID Image neofeeder
# EXT_PATCH = (7z, zip)
# FILE_PATCH = nama file patch (without ext)
# FOLDER_NEOFEEDER = folder tempat neofeeder berada
@virbo
virbo / lempp-ubuntu.md
Last active January 22, 2024 07:01
Install Linux Ubuntu 21.04, Nginx, MariaDB, Postgres, PHP 8.0

Update and Upgrade Package

apt -y update && apt -y upgrade
reboot

Install NGINX

Install dependency

@virbo
virbo / lempp.md
Last active April 3, 2025 17:54
Install Linux Centos 7, Nginx, MySQL, Postgres, PHP 8.0

Update LANG

Edit environtment vi /etc/environment add these lines...

LANG=en_US.utf-8
LC_ALL=en_US.utf-8
@virbo
virbo / locale.md
Created September 8, 2020 12:11
Fix Error "WARNING! Your environment specifies an invalid locale. on Ubuntu 16.04"

Edit file /etc/default/locale

nano /etc/default/locale

paste this

LC_CTYPE=en_US.UTF-8
LC_ALL=en_US.UTF-8
LANG=en_US.UTF-8
@virbo
virbo / backup.sh
Last active May 1, 2023 04:33
Bash Script Backup DB and File Website to Kilat Storage
#!/bin/bash
# Backup Mysql DB, Wordpress (https://dutainformasi)
# Author Yusuf Ayuba ([email protected])
#override endpoint aws amazone s3 with endpoint s3 kilatstorage
alias aws='aws --endpoint-url https://s3-id-jkt-1.kilatstorage.id'
# inisial variabel
tgl=$(date +'%H:%M:%S_%d-%m-%Y')
USER_DB="user_db"
@virbo
virbo / public-private-pem.md
Last active February 1, 2023 16:46
Create public.pem and private.pem for using with JWT

Create Private Key

openssl genrsa -out private_key.pem 2048

Create Public key

openssl rsa -in private_key.pem -pubout -out public_key.pem
@virbo
virbo / centos-virtualmin.md
Last active August 2, 2022 19:27
Install Virtualmin di Centos 7
@virbo
virbo / installasi.md
Last active February 19, 2020 03:45
All about Django - Python2 - Python3

SETUP VIRTUAL ENV

pip install virtualenvwrapper

SETUP ENV PATH

nano .bash_profile