Skip to content

Instantly share code, notes, and snippets.

View misaalanshori's full-sized avatar
💭
wait, how do i use this thing?

M Isa Al Anshori misaalanshori

💭
wait, how do i use this thing?
View GitHub Profile
@misaalanshori
misaalanshori / README.md
Last active January 11, 2023 07:59
Archive of Our Own Scripts

Archive of Our Own Scripts

Some scripts to do some stuff on AO3. These are not very good, but it works good enough for me, so whatever.

Also for these you will need to open AO3, make sure you're logged in, open a specific page (the history page for example), and then open and run the script in the Developer Tools console.

Scripts

• History Scraper

Scrapes a bunch of data from works in your history. You need to be in the history page

@misaalanshori
misaalanshori / makeapersonalserver.md
Created February 22, 2023 14:22
Minecraft server stuff

Make a quick Minecraft Paper Server

Notes for me to make a very quick Minecraft server on a VPS

Steps

1. Install Java

Install Java JRE (for example, for jre 17): sudo apt install openjdk-17-jre

2. Download Paper MC jar

Get the PaperMC jar from https://papermc.io/downloads, and rename it to just paper.jar

Install Oracle 11g di Docker

Ini langkah langkah setup Docker dan Oracle 11G di Windows

Langkah-langkah

1. Download dan Install Docker Desktop

Download Docker Desktop disini: https://www.docker.com/products/docker-desktop/ Nanti mungkin ditanya mau pake WSL 2 atau Hyper-V, pilih WSL 2 aja, kalau gagal baru coba lagi dengan Hyper-V

Kalian mungkin diminta untuk menginstall Kernel WSL 2 image

@misaalanshori
misaalanshori / Dockerfile
Last active August 4, 2023 13:38
Ubuntu Docker for building Buildroot (Specifically for the ESP32-S3)
# Use Ubuntu 22.04 as the base image
FROM ubuntu:22.04
# Install required packages and cache them
# Some of these packages might be unnecessary, but whatever...
RUN apt-get update && apt-get install -y \
git wget curl tar make cmake gcc g++ python3 libncurses-dev build-essential \
libssl-dev bc xz-utils unzip rsync flex bison gettext libglib2.0-dev libfdt-dev \
libpixman-1-dev zlib1g-dev autoconf texinfo help2man gperf libtool-bin gawk \
python3-pip tmux sudo
#! /bin/bash -x
github_url="https://github.com/misaalanshori"
SET_BAUDRATE='-b 921600'
if [ ! -d autoconf-2.71/root/bin ] ; then
wget https://ftp.gnu.org/gnu/autoconf/autoconf-2.71.tar.xz
tar -xf autoconf-2.71.tar.xz
pushd autoconf-2.71
./configure --prefix=`pwd`/root
make && make install
@misaalanshori
misaalanshori / ao3reader_userscript.user.js
Last active August 11, 2023 15:33
AO3 Reader - Patched
// ==UserScript==
// @name AO3 Reader - Vite
// @namespace https://misa.pw
// @version 0.0.0
// @author monkey
// @icon https://www.google.com/s2/favicons?sz=64&domain=archiveofourown.org
// @match https://archiveofourown.org/*
// @require https://cdn.jsdelivr.net/npm/[email protected]/dist/preact.min.js
// @connect download.archiveofourown.org
// @grant GM.deleteValue