Skip to content

Instantly share code, notes, and snippets.

View Pepijn98's full-sized avatar
👽
Writing out of this world code

Pepijn van den Broek Pepijn98

👽
Writing out of this world code
View GitHub Profile
@Pepijn98
Pepijn98 / channelPoints.user.js
Last active September 12, 2020 11:06
Twitch.tv Channel Points Auto-clicker
// Moved to https://github.com/Pepijn98/twitch-points-autoclicker
// ==UserScript==
// @name YTLC Auto Switch
// @namespace ytlc-auto-switch
// @version 1.0.2
// @description Just auto switches to live chat instead of top chat
// @author Pepijn98
// @match https://www.youtube.com/*
// @grant none
// @homepageURL https://github.com/Pepijn98
#!/bin/bash env
cd $GAMEDIR/drive_c/Program\ Files/Genshin\ Impact/Genshin\ Impact\ game/
bash $CACHE/gi-patch/161/patch.sh
bash $CACHE/gi-patch/161/patch_anti_logincrash.sh
echo "PRESS KEY TO FINISH"
read key
env __NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia DXVK_HUD=1 WINEARCH=win64 WINEPREFIX=$GAMEDIR $HOME/.local/share/lutris/runners/wine/lutris-6.10-5-x86_64/bin/wine cmd /c launcher.bat
@Pepijn98
Pepijn98 / StaggeredVerticalGrid.kt
Created May 21, 2022 18:48
Vertical grid with staggered items (does not lazily load items)
package dev.vdbroek.nekos.components
/**
* Original source: https://github.com/android/compose-samples/blob/1630f6b35ac9e25fb3cd3a64208d7c9afaaaedc5/Owl/app/src/main/java/com/example/owl/ui/courses/FeaturedCourses.kt#L161
*/
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import androidx.compose.ui.layout.Layout
import androidx.compose.ui.unit.Dp