Skip to content

Instantly share code, notes, and snippets.

View Ramonymous's full-sized avatar
💭
Work

Rama Pamungkas Ramonymous

💭
Work
View GitHub Profile
@Ramonymous
Ramonymous / Centos 7 LAMP Stack.md
Last active February 13, 2024 15:01 — forked from fernandoaleman/mysql-8.0-gpg-fix.md
The GPG keys listed for the "MySQL 8.0 Community Server" repository are already installed but they are not correct for this package.

Centos 7 LAMP Stack with MYSQL-Server 8.0 & PHP 8.3

Updating Libs

sudo yum update

Installing HTTPD Service

sudo yum -y install httpd; systemctl start httpd; systemctl enable httpd; systemctl status httpd
@Ramonymous
Ramonymous / reset-ms
Created June 1, 2021 21:29
Script Name: reset-ms | Script Function : RESET Moonlight Sculptur Guest Account | Author : Ramonymous | Need Root : YES
#! /system/bin/bash
Cachedir=/sdcard/android/data/com.kakaogames.moonlightgb/cache
MSDir=/data/data/com.kakaogames.moonlightgb
KGDeviceID=/data/data/com.kakaogames.moonlightgb/shared_prefs/KGDeviceID.xml
echo "MS Guest Account Reset"
#checking pid
echo "Making sure if Moonlight Sculptur is Closed"
@Ramonymous
Ramonymous / fix_repos.sh
Created May 23, 2021 11:54
Fix forbidden termux repository
#!/usr/bin/bash
# Usage: The main termux repository fix
# Author: Ramonymous
clear
echo "Backuping the sources.list"
mv $PREFIX/etc/apt/sources.list $PREFIX/etc/apt/sources.list.bak
echo "Deleting sources.list"
rm -rf $PREFIX/etc/apt/sources.list
#!/bin/bash
#
# Automate mysql secure installation for debian-baed systems
#
# - You can set a password for root accounts.
# - You can remove root accounts that are accessible from outside the local host.
# - You can remove anonymous-user accounts.
# - You can remove the test database (which by default can be accessed by all users, even anonymous users),
# and privileges that permit anyone to access databases with names that start with test_.
@Ramonymous
Ramonymous / virtualhost.conf
Created June 6, 2019 13:18
Nginx virtualhost for running laravel with php 7.3
server {
server_name panel.ramonymous.store; ##change to your domain
root /var/www/panel/public/public/; ##change to your laravel project public dir
index index.php index.html index.htm;
location / {
try_files $uri $uri/ /index.php$is_args$args;
}
# pass the PHP scripts to FastCGI server listening on /var/run/php-fpm/php-fpm.sock
<?php
$configs = [
//Подключение к базе
'database' => [
'host' => '127.0.0.1',
'username' => 'mysql',
'password' => 'mysql',
'database' => 'pw',
],
@Ramonymous
Ramonymous / gist:5b9274dee7c66bd5c6a837004c6cceaf
Last active June 4, 2018 11:57
DAFTAR REPOSITORY LOKAL UBUNTU 14.04 LTS Update 2018
DAFTAR REPOSITORY LOKAL UBUNTU:
REPOSITORY UBUNTU 14.04 SERVER ITB (INSTITUT TEKNOLOGI BANDUNG)
deb ftp://ftp.itb.ac.id/pub/ubuntu trusty main restricted universe multiverse
deb ftp://ftp.itb.ac.id/pub/ubuntu trusty-updates main restricted universe multiverse
deb ftp://ftp.itb.ac.id/pub/ubuntu trusty-security main restricted universe multiverse
deb ftp://ftp.itb.ac.id/pub/ubuntu trusty-backports main restricted universe multiverse
deb ftp://ftp.itb.ac.id/pub/ubuntu trusty-proposed main restricted universe multiverse