Skip to content

Instantly share code, notes, and snippets.

View LeinahI's full-sized avatar

Nathaniel Gatpandan LeinahI

View GitHub Profile
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;
; Opinion Lexicon: Positive
;
; This file contains a list of POSITIVE opinion words (or sentiment words).
;
; This file and the papers can all be downloaded from
; http://www.cs.uic.edu/~liub/FBS/sentiment-analysis.html
;
; If you use this list, please cite one of the following two papers:
@LeinahI
LeinahI / windows_activation.md
Created October 2, 2024 03:58
Activate Windows for free

For Windows 10

Step 1 - Open PowerShell or Command Prompt as administrator

Step 2 - Install KMS client key

slmgr /ipk your_license_key

Replace your_license_key with following volumn license keys according to Windows Edition:

@LeinahI
LeinahI / WinKeys.txt
Created October 2, 2024 03:58
Windows Product Keys
``````````````````````````````````````````
Windows Product Keys for Getting Past Setup
Windows XP - Windows 11
Home product keys are currently not added.
THESE WILL ONLY HELP YOU GET PAST SETUP AND WILL NOT
ACTIVATE WHEN YOU CONNECT TO THE INTERNET. THESE JUST
LET YOU INSTALL WINDOWS TO YOUR HARDDISK UNACTIVATED
``````````````````````````````````````````
@LeinahI
LeinahI / clean_code.md
Created August 4, 2024 04:37 — forked from wojteklu/clean_code.md
Summary of 'Clean code' by Robert C. Martin

Code is clean if it can be understood easily – by everyone on the team. Clean code can be read and enhanced by a developer other than its original author. With understandability comes readability, changeability, extensibility and maintainability.


General rules

  1. Follow standard conventions.
  2. Keep it simple stupid. Simpler is always better. Reduce complexity as much as possible.
  3. Boy scout rule. Leave the campground cleaner than you found it.
  4. Always find root cause. Always look for the root cause of a problem.

Design rules

@LeinahI
LeinahI / grokking_to_leetcode.md
Created February 1, 2024 23:53 — forked from tykurtz/grokking_to_leetcode.md
Grokking the coding interview equivalent leetcode problems

GROKKING NOTES

I liked the way Grokking the coding interview organized problems into learnable patterns. However, the course is expensive and the majority of the time the problems are copy-pasted from leetcode. As the explanations on leetcode are usually just as good, the course really boils down to being a glorified curated list of leetcode problems.

So below I made a list of leetcode problems that are as close to grokking problems as possible.

Pattern: Sliding Window

@LeinahI
LeinahI / Genshin Impact 3.x Wish URL Android.md
Created April 4, 2023 10:49 — forked from jogerj/Genshin Impact 5.x Wish URL Android.md
Get Wish URL in Genshin Impact 3.x on Android using Android Debugging Tools

Using Termux on Android 10 or above

  1. Open and Download Termux (Do not download from Play Store as it is not up-to-date)
  2. Enable Wireless Debugging on your Android phone
  3. Open Termux and run pkg update && pkg install android-tools termux-api (if failed, run apt update && apt install android-tools termux-api instead)
  4. Open Settings > System > Developer Options > Wireless Debugging. Open the app switcher then tap and hold the Settings app icon. Select "Split top", then select Termux as the bottom half.
  5. Tap on "Pair device with pairing code" and a window will appear. Go to Termux and run adb pair localhost:12345 replacing 12345 with the port number shown in the window (192.168.x.x:12345). Enter the pairing code when prompted, DO NOT CLOSE PAIRING CODE PROMPT the pairing window will close automatically.
  6. Run adb connect localhost:23456 replacing 23456 with the port number show