Skip to content

Instantly share code, notes, and snippets.

View Apihplays's full-sized avatar
🏠
Working from home

Hafiz Mohamed Apihplays

🏠
Working from home
  • Shah Alam
View GitHub Profile
@Apihplays
Apihplays / SWEX on Android 7-11+ Rooted.md
Last active August 10, 2023 13:48 — forked from vdurante/readme.md
How to trust a System Certificate on rooted Android 11+ using Magisk module

Pre-Requisites

  • Windows - download cmder. I find it easier to use OpenSSL and nix comands through cmder without having to install anything. Just download, extract the zip, and run cmder.exe
  • Android - it must be rooted
  • Android - you need a file manager with root capabilities. I like using Amaze
  • Magisk module - Since android 7 up to android 11+ , system can not be R/W by any mean anymore unless you flash and forget this module to make thing easier. Go grab this Magisk OverlayFS

How-To

@Apihplays
Apihplays / Warframe Macros.ahk
Created December 31, 2021 00:34 — forked from KarlRamstedt/Warframe Macros.ahk
Spam macros for Slide-Attack, Ability, Primary-fire and Melee in Warframe. Including non-spam Contagion macro.
#NoEnv ; For performance and compatibility with future AutoHotkey releases
SendMode Input ; For speed and reliability
SetBatchLines -1 ; No script sleep, for more consistent timing behavior. Default behavior is 10ms execution then 10ms sleep
ListLines Off ; Increase performance by a few percent by not logging the lines of code that are executed
; Modifiers: [+ = Shift] [^ = Ctrl] [# = Win] [! = Alt] [* = Ignores unspecified modifiers] [~ = Doesn't block normal function] [$ = Forces hook, preventing hotkey self-trigger] More info here: https://www.autohotkey.com/docs/KeyList.htm
; Time values are in ms(MilliSeconds), 1/1000 of a second. 1000/delay = activationsPerSecond. I.e: 50ms delay -> 1000/50 = 20 per sec
; Time values are typically rounded up to a multiple of 10ms by the Windows time-keeping system. So there's no point to Timer/Sleep values that aren't multiples of 10. Higher precision may be achieved via Loop+DllCall, but is rarely relevant and certainly doesn't matter for this script
global slideDela
@Apihplays
Apihplays / 99-sysctl.conf
Created June 14, 2021 08:16
default TTL ipv4 and default hop limit ipv6. Usefull for me that using mobile data with unlimited internet but with quota hotspot , this setting bypass the quota limitation for the linux distro or android phone or anything that using linux kernel .
net.ipv4.ip_default_ttl=65
net.ipv6.conf.all.hop_limit=65
@Apihplays
Apihplays / appmanifest_230410.acf
Last active February 7, 2022 19:12
warframe manifest data on linux incase copying the game from windows10 NTFS partition to linux ext4. Copy the whole Steamapps/common/warframe folder and the acf to new drive and launch the warframe
"AppState"
{
"appid" "230410"
"Universe" "1"
"name" "Warframe"
"StateFlags" "4"
"installdir" "Warframe"
"LastUpdated" "1608036271"
"UpdateResult" "4"
"SizeOnDisk" "30288352722"
@Apihplays
Apihplays / enable_cmd_for_cu_update.reg
Created April 17, 2021 10:30 — forked from rahman541/enable_cmd_for_cu_update.reg
Enable right click "Open command window here.." option for windows 10
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Directory\shell\cmdprompt]
@="@shell32.dll,-8506"
"Extended"=""
"NoWorkingDirectory"=""
[HKEY_CLASSES_ROOT\Directory\shell\cmdprompt\command]
@="cmd.exe /s /k pushd \"%V\""
@Apihplays
Apihplays / pocket kingdown own the world
Last active October 31, 2022 15:40
pocket kingdom own the world uncomplete guide. Ripoff from gamefaq/gamespot and editted
please visit my website at http://pk.warcry.com/
==============================================================================
RANKING UP YOUR UNITS
==============================================================================
You can begin to rank up your units after you have completed the first map.
And you'll need to too, as the second boss is a real pain, and might very well
be impossible to defeat with only the most basic troops.
Once you complete the first map, your Lab will open. Visit the Lab from the
main kingdom menu and you will have an option to RankUp your units. In order
@Apihplays
Apihplays / megasendata_practice
Last active April 6, 2019 06:52
testing data sending using mega to nodemcu
//connect the rx<-0/tx->0 on nodemcu rx/tx after mega and nodemcu done uploading this code.
/*-----------------for mega------------------------*/
void setup() {
Serial.begin(115200);
}
void loop() {
Serial.write("0");
delay(500);
Serial.write("1");
@echo off
title Activate Microsoft Office 2016 ALL versions for FREE!&cls&echo ============================================================================&echo #Project: Activating Microsoft software products for FREE without software&echo ============================================================================&echo.&echo #Supported products:&echo - Microsoft Office Standard 2016&echo - Microsoft Office Professional Plus 2016&echo.&echo.&(if exist "%ProgramFiles%\Microsoft Office\Office16\ospp.vbs" cd /d "%ProgramFiles%\Microsoft Office\Office16")&(if exist "%ProgramFiles(x86)%\Microsoft Office\Office16\ospp.vbs" cd /d "%ProgramFiles(x86)%\Microsoft Office\Office16")&(for /f %%x in ('dir /b ..\root\Licenses16\proplusvl_kms*.xrm-ms') do cscript ospp.vbs /inslic:"..\root\Licenses16\%%x" >nul)&(for /f %%x in ('dir /b ..\root\Licenses16\proplusvl_mak*.xrm-ms') do cscript ospp.vbs /inslic:"..\root\Licenses16\%%x" >nul)&echo.&echo ============================================================================&ech