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 October 28, 2024 02:03
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 July 1, 2024 13:27
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 November 2, 2024 15:40
Youtube Premium Logo

YouTube Premium Logo

Description

The YouTube Premium Logo userscript replaces the YouTube logo with the YouTube Premium logo.
idk why you need this, but using an adblocker[^1] + this script, will give the appearance that you have YouTube Premium.

Note

This userscript just replaces the youtube logo you see on the navbar and
inside the collapsible menu. This will NOT grant you premium feature.

@Zackptg5
Zackptg5 / Manjaro_HyperV_Setup.md
Last active September 12, 2024 07:04
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 November 7, 2024 11:53
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

Note

If you want to use pure WSLg, you can try the new WSLg (XWayland) tutorial or the WSLg (Wayland) tutorial.

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 the desktop metapackage you want (GNOME, KDE, Xfce, Budgie, etc) and tigervnc-standalone-server.

For this setup, I will use Ubuntu (20.04, 22.04 and 24.04 are working), 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

@herpiko
herpiko / vortextab75.md
Last active November 2, 2024 03:10
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 October 3, 2024 20:31
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.