Skip to content

Instantly share code, notes, and snippets.

View limkhashing's full-sized avatar
:octocat:
When there is a challenge, there is an opportunity

Lim Kha Shing limkhashing

:octocat:
When there is a challenge, there is an opportunity
View GitHub Profile
@limkhashing
limkhashing / teams-active.sh
Last active June 19, 2025 08:17
Stay Active on Microsoft Teams!
#!/bin/bash
caffeinate -d &
while true;
do
osascript -e 'tell application "Microsoft Teams" to activate'
osascript -e 'tell application "System Events" to keystroke "2" using {command down}'
echo "Teams Status Refreshed"
sleep 300
done
@limkhashing
limkhashing / config.yaml
Created June 19, 2025 08:14
Tabby Config
version: 7
profiles: []
groups: []
configSync:
parts: {}
hotkeys:
toggle-window:
- Ctrl-Space
copy-current-path: []
ctrl-c:
@limkhashing
limkhashing / .zshrc
Last active June 20, 2025 16:44
ZSH config for Terminal
########## Shell Configuration ##########
if [[ -f "/opt/homebrew/bin/brew" ]] then
# If you're using macOS, you'll want this enabled
eval "$(/opt/homebrew/bin/brew shellenv)"
fi
# Set the directory we want to store zinit and plugins
ZINIT_HOME="${XDG_DATA_HOME:-${HOME}/.local/share}/zinit/zinit.git"
@limkhashing
limkhashing / deploy.yml
Last active June 19, 2025 08:14
Nginx config
name: Deploy Notes SpringBoot Backend
on:
push:
branches:
- master
jobs:
deploy:
runs-on: ubuntu-latest
@limkhashing
limkhashing / EdgeToEdgeDemo.kt
Created February 12, 2025 14:40
Handle Edge to Edge that was enforced on Android 15
@Composable
fun ScreenContent() {
EdgeToEdgeDemoTheme {
// Need to add Scaffold, and can apply Material 3 theme. Scaffold will automatically handle the window insets
Scaffold(
topBar = {
TopAppBar(
title = { Text("Hello world!") },
colors = TopAppBarDefaults.topAppBarColors(
containerColor = Color(0xFF37B362)
@limkhashing
limkhashing / Andoid XDA.md
Last active February 21, 2025 07:34
Android useful XDA resources for Modded app
@limkhashing
limkhashing / list_of_third_party_android_store.txt
Created February 5, 2025 18:24
List of 3rd party Android store
https://apkmody.mobi/
https://modder.me/
https://f-droid.org/en/
https://en.uptodown.com/
https://www.apkmonk.com/
https://en.aptoide.com/
https://apkpure.com/
https://www.apkmirror.com/
https://github.com/yeriomin/YalpStore
@limkhashing
limkhashing / revanced_extended_manager_settings.json
Created February 5, 2025 17:59
Revanced Extended Manager settings
{
"requireSuggestedAppVersionEnabled":false,
"savedPatches-com.google.android.apps.youtube.music":[
"{\"name\":\"Hide account menu\",\"description\":\"Adds the ability to hide account menu elements using a custom filter.\",\"excluded\":false,\"compatiblePackages\":[{\"name\":\"com.google.android.apps.youtube.music\",\"versions\":[]}],\"options\":[]}",
"{\"name\":\"Hide handle\",\"description\":\"Adds an option to hide the handle in the account menu.\",\"excluded\":false,\"compatiblePackages\":[{\"name\":\"com.google.android.apps.youtube.music\",\"versions\":[]}],\"options\":[]}",
"{\"name\":\"Hide terms container\",\"description\":\"Adds an option to hide the terms of service container in the account menu.\",\"excluded\":false,\"compatiblePackages\":[{\"name\":\"com.google.android.apps.youtube.music\",\"versions\":[]}],\"options\":[]}",
"{\"name\":\"Hide action bar component\",\"description\":\"Adds options to hide action bar components and replace the offline download button wit
@limkhashing
limkhashing / AppModule.kt
Last active January 30, 2025 08:51
Dagger-Hilt vs. Koin vs. Manual Dependency Injection
// Hilt
@Module
@InstallIn(SingletonComponent::class)
object AppModule {
@Provides
@Singleton
fun provideDatabase(@ApplicationContext context: Context): MyAppDatabase {
return MyAppDatabase(context)
}
}
@limkhashing
limkhashing / bypass_paywalls_clean_custom.json
Last active February 14, 2025 16:56
Bypass Paywall Custom Site
{
"Business Times":{
"block_js":1,
"domain":"businesstimes.com.sg",
"group":"businesstimes.com.sg"
},
"Lian He Zao bao":{
"block_js":1,
"domain":"zaobao.com.sg",
"group":"zaobao.com.sg"