Skip to content

Instantly share code, notes, and snippets.

View rockavoldy's full-sized avatar

Akhmad Maulana Akbar rockavoldy

View GitHub Profile
@rockavoldy
rockavoldy / pptr.js
Last active January 24, 2020 15:39
BOT untuk pengisian angket otomatis
const puppeteer = require("puppeteer");
const NIM = ""; // isi dengan NIM
const PASS = ""; // isi dengan PASSWORD SIAK
puppeteer.launch().then(async browser => {
let beres = false;
let salah = false;
let respon = "";
while (!beres) {
const page = await browser.newPage();
@rockavoldy
rockavoldy / add-ssh-to-agent.sh
Created April 27, 2020 12:49
permissions needed for .ssh directory and inside
eval "$(ssh-agent -s)"
ssh-add $HOME/.ssh/id_rsa
@rockavoldy
rockavoldy / README.md
Last active October 30, 2022 16:37
(Maybe) better approach to get rid from rename _OSI to XOSI

SSDT-OSYS

This is (another) Windows spoofing patch to activate I2C over HID device for VoodooI2C work. The main different between _OSI to XOSI and SSDT-OSYS is this patch will be set global, so there is a chance to break your working trackpad as some laptop have more than one pointing devices in your DSDT and all of them will be activated and make VoodooI2C attached to wrong I2C Device.

@rockavoldy
rockavoldy / gebaar-fedora.md
Created October 19, 2020 13:15
Install gebaar-libinput for Fedora

Gebaar-libinput on Fedora

Repository: https://github.com/NICHOLAS85/gebaar-libinput

Pre-requisites

  1. Install cmake, make, and compiler $ sudo dnf install cmake make gcc gcc-c++
  2. Install devel packages for library needed to compile $ sudo dnf install libinput-devel systemd-devel

How to build

@rockavoldy
rockavoldy / InstallOdoo.md
Last active April 8, 2023 05:18
Install Odoo 13 on macOS 10.15.7 Catalina

Install Odoo 13 on macOS 10.15.7 Catalina

Requirements

  • Homebrew (for installing python)
  • Docker (for postgresql server, you can install postgre with homebrew too)
  • python3 (for installing virtualenv)
  • virtualenv (to run as python3.7, pillow 6.1.0 dependencies can be run with python3.5, 3.6, and 3.7)

Steps

  1. Install python3.7 with brew
@rockavoldy
rockavoldy / 99-fixcontroller.rules
Last active August 17, 2021 04:44
Fix knock-off china controller on linux
ACTION=="add", ATTRS{idProduct}=="028e", ATTRS{idVendor}=="045e", DRIVERS=="usb", RUN+="/opt/fixcontroller.py"
@rockavoldy
rockavoldy / mini-stc-t12-menu.md
Last active January 15, 2024 02:23
Menu P00-P11 on Mini STC T12 Controller

DIY T12 Soldering Station with Mini STC T12 Controller

So i have build myself an soldering station to replace my Dekko "Ol' reliable" 40w hand solder, it works and do the job, but it takes forever to meet the heat temperature. So i build a new one with around 300k IDR

The controller is Mini STC T12 rev 2.1 that can be found from ShopeeID around 130k IDR, or on aliexpress at around 8 USD. I pick the LED version since it's way more cheaper than OLED and STM32 edition, and i don't need any features other than variable temperature and standby mode.

For the handle, i got it from Tokopedia at around 130k IDR. This handle is for Hakko FX9501, but i only need the handle and the pin inside to connect with the T12 solder tips.

For the tips, i got it from aliexpress too, find cheap tips and pay it along with the voucher, so i just need to pay around 4 USD for 3pcs T12 soldering tips.

@rockavoldy
rockavoldy / rockavoldy.json
Created October 3, 2021 01:26
config.qmk.fm file to load my layout for KBD67
{
"version": 2,
"notes": "",
"documentation": "\"This file is a QMK Configurator export. You can import this at <https://config.qmk.fm>. It can also be used directly with QMK's source code.\n\nTo setup your QMK environment check out the tutorial: <https://docs.qmk.fm/#/newbs>\n\nYou can convert this file to a keymap.c using this command: `qmk json2c {keymap}`\n\nYou can compile this keymap using this command: `qmk compile {keymap}`\"\n",
"keyboard": "kbdfans/kbd67/rev2",
"keymap": "rockavoldy",
"layout": "LAYOUT_65_ansi_blocker",
"layers": [
[
"KC_GESC",
@rockavoldy
rockavoldy / note-pi0w.md
Last active September 8, 2023 14:47
Note Raspberry Pi Zero W

Some note (and maybe cheatsheet) for Pi Zero W

Enable SSH Access over USB Pi Zero W

  1. Create new file called ssh in boot partition
  2. Open config.txt file in boot partition, and add this to the bottom of the line
    dtoverlay=dwc2
    
  3. Open cmdline.txt file in boot partition, and add modules-load=dwc,g_ether to after to the end of the line and make sure there is space to separate the option
@rockavoldy
rockavoldy / flash-atmega328-using-raspi.md
Last active June 4, 2022 20:15
Flash atmega328p using Raspberry Pi

Flash atmega328p using Raspberry Pi

  1. Download avrdude, sudo apt install avrdude
  2. Copy avrdude.conf to home cp /etc/avrdude.conf ~/avrdude_gpio.conf
  3. Open avrdude_gpio.conf, and find linuxspi, then change baudrate to 115200
  4. Add below code to the bottom of that file
    # Linux GPIO configuration for avrdude.
    programmer
    

id = "pi_1";