Skip to content

Instantly share code, notes, and snippets.

View ikr4-m's full-sized avatar
😁
I'm here!

Ikramullah Latif ikr4-m

😁
I'm here!
View GitHub Profile
@noaione
noaione / fuck_pse.md
Last active July 31, 2022 06:13
Circumventing Indonesia Stupidly Amazing Blocking System

Circumventing Indonesia Stupidly Amazing Blocking System

a.k.a you should go buy a VPN or setup a proper DNS resolver because it's DNS level blocking lmao (with some hijacking sprinkled)

Dalam Bahasa Indonesia

Easiest way out is to go get Simple DNSCrypt (https://simplednscrypt.org/) (Windows Only)

  1. Install it
  2. In Resolvers, deselect everything and select either cloudflare (doh) or Google resolver
  3. Disable Automatic mode in Resolvers
  4. Go to Advances settings, and enable DNS cache for faster resolving
@Chizaram-Igolo
Chizaram-Igolo / Re-sync Fork.txt
Last active March 7, 2024 12:31
Re-syncing a Fork that is Commit(s) ahead of Upstream/Master
If you ever get into out-of-sync trouble, clear your working tree on your fork (git add && git commit && git push) and
run the following:
git checkout master
// git fetch upstream (add this for a slightly safer solution)
git reset --hard upstream/master
git push --force
@MikuAuahDark
MikuAuahDark / pvz_kobo_names.lua
Last active May 14, 2022 04:23
Change PvZ Plant Names Without Modding
-- Cheat Engine Lua script to replace plant names in PvZ to names by Kobo Kanaeru.
-- Written by Miku AuahDark.
-- This file falls under Public Domain
-- To apply the plant names:
-- 1. Start PvZ and let it load until main menu
-- 2. Load 32-bit Cheat Engine and hook to PvZ process.
-- 3. Click Table -> Show Cheat Table Lua Script or press Ctrl+Alt+L
-- 4. Copy and paste this whole script then press "Execute Script"
-- 5. Cheat Engine may hang for a while, it's normal.
@reneklacan
reneklacan / aoe4-mp-fix.sh
Last active March 26, 2024 08:48
Script to fix AOE4 desync issues
#!/bin/bash
set -ex
STEAM_DIR=/home/$USER/.steam/steam/steamapps
AOE4_DIR=$STEAM_DIR/compatdata/1466860
AOE4_WIN_DIR=$AOE4_DIR/pfx/drive_c/windows
AOE4_WIN_SYS32_DIR=$AOE4_WIN_DIR/system32
AOE4_WIN_SYS64_DIR=$AOE4_WIN_DIR/syswow64
@ZerothAngel
ZerothAngel / Mouselook.ahk
Last active November 10, 2021 15:19
Mouselook AutoHotKey script that inverts the right mouse button when toggled on. Very useful for MMOs that lack an action-mouselook mode. As-is, it works with FFXIV but can be easily adapted by correctly setting the ahk_class.
#SingleInstance force
#NoEnv
SendMode Input
; Keybinds
AutoCenterToggle := "RWin"
MouseLook := "RButton"
; Config
CenterOffsetX := 100
@barraIhsan
barraIhsan / README.md
Last active May 23, 2024 21:09
Youtube Premium Logo

YouTube Premium Logo

Description

The YouTube Premium Logo userscript replaces the YouTube logo with the YouTube Premium for a customized visual experience. idk why you need this, but using an adblocker + this script, will give the appearance that you have YouTube Premium.

Before:

Before

@Zackptg5
Zackptg5 / Manjaro_HyperV_Setup.md
Last active October 22, 2023 11:50
Manjaro HyperV Install Guide

Deprecated - Microsoft quit updating vm tools in favor of WSL2, it's only a matter of time before this breaks untirely (if it isn't already).

Credits, the original guide which has strangely vanished but can still be found via wayback machine here

This is largely the same as the original but with some updates

  • Setup a new machine in HyperV Manager. Make sure you choose 'Generation 2' and assign default switch for networking (or whatever other adapter you use). Then go to the new VM's settings, disable secure boot, and attach the manjaro iso to it (at the time of writing this, gnome doesn't work).
  • Boot up the vm, you'll be meeting with a black screen or the cli will show it stopped around display starting or whatever. Drop into terminal with CTL + ALT+ F2.
  • Login and type: pacman -Sy && pacman -S xf86-video-fbdev
  • Then restart the display manager: `systemctl r
@tdcosta100
tdcosta100 / WSL2GUIXvnc-en.md
Last active June 10, 2024 08:01
A tutorial to use GUI in WSL2 replacing original XServer by Xvnc, allowing WSL to work like native Linux, including login screen

WSL2 with GUI using Xvnc

In this tutorial, we will setup GUI in WSL2, and access it using VNC. No additional software outside WSL (like VcXsrv) is required, except, of course, a VNC Viewer (RealVNC, TightVNC, TigerVNC, UVNC, etc, all of them might work flawlessly).

The key component we need to install is tigervnc-standalone-server.

For this setup, I will use Ubuntu 20.04 LTS (Focal Fossa, unfortunately 22.04 does not work), and install GNOME Desktop. Since the key components aren't bound to Ubuntu or GNOME, you can use your favorite distro and GUI. Check the Sample screenshots section for examples.

So let's go. First, we need a working WSL2 installation.

@herpiko
herpiko / vortextab75.md
Last active May 29, 2024 01:38
Vortex Tab 75 Programming

Programming

  • Plug in the cable, you need the LED to guide you
  • Pn + Left Ctrl to enter programming mode
  • Press the key that want to be programmed
  • Press the target key
  • Pn to apply
  • Pn + Left Ctrl to exit

It's possible to lose a key. Sometimes you need to backup it first.

@ld100
ld100 / ArchLinuxWSL2.md
Last active June 12, 2024 16:25
Steps for setting up Arch Linux on WSL2

Migrating from Ubuntu on WSL to ArchLinux on WSL2

Obsolete notice

This document was created back in 2020 and might not be actual nowadays. It is not supported anymore, so use thise information at your own risk.

Upgrading to WSL 2

  • Download WSL2 Kernel
  • run wsl --set-default-version 2 in windows command line, so that all future WSL machine will use WSL2.