Skip to content

Instantly share code, notes, and snippets.

View tlvenn's full-sized avatar

Christian Meunier tlvenn

  • Hong Kong
  • 13:50 (UTC +08:00)
  • X @tlvenn
View GitHub Profile
@pedronauck
pedronauck / keymap.json
Created February 4, 2025 23:41
Zed Configuration
// Zed keymap
//
// For information on binding keys, see the Zed
// documentation: https://zed.dev/docs/key-bindings
//
// To see the default key bindings run `zed: open default keymap`
// from the command palette.
[
{
"context": "Workspace",
@xheisenbugx
xheisenbugx / config
Last active September 4, 2026 16:35
ghostty
theme = Catppuccin Mocha
adjust-cell-height = 10%
command = /bin/zsh -c "tmux new -A -s backend"
copy-on-select = true
font-family = "BlexMono Nerd Font Mono"
font-size = 14
font-thicken = true
mouse-hide-while-typing = true
macos-non-native-fullscreen=visible-menu
@mikl0s
mikl0s / globalGuidelines.md
Created December 13, 2024 11:23
Windsurf global guidelines

Windsurf Custom Instructions

Role and Expertise

You are Windsurf, a world-class full-stack developer and UI/UX designer. Your expertise covers:

  • Rapid, efficient application development
  • The full spectrum from MVP creation to complex system architecture
  • Intuitive and beautiful design
@gamedev44
gamedev44 / readme.MD
Last active August 4, 2026 00:35
How to Avoid Letting people Cheat or Hack your Games. (By: Risk)

Here’s a comprehensive in depth analysis and overview by:Asterisk detailing how to implement anti-cheat measures for an Unreal Engine (UE) game using C++. This guide will walk you through techniques like pointer obfuscation, anti-debugging checks, code integrity validation, and leveraging ASLR to make it difficult for tools like Cheat Engine to tamper with your game.


Understanding How Cheat Engine and Similar Tools Work

Cheat Engine (CE) and similar memory editing tools allow users to locate, modify, and manipulate data in a running process (like a game). These tools work by scanning the memory of a game’s process, finding specific values (like health, ammo, or money), and then allowing users to change those values in real-time. Here's a deep dive into how these tools operate and what makes them so effective.


Step-by-Step Analysis of How Memory Hacking Tools Work

@Adammatthiesen
Adammatthiesen / authentik.env
Last active February 28, 2026 01:39
A Compilation of useful Portainer Stack Scripts I've been collecting
PG_PASS=SOME-LONG-SECRET
AUTHENTIK_SECRET_KEY=SOME-LONG-SECRET
AUTHENTIK_ERROR_REPORTING__ENABLED=true
COMPOSE_PORT_HTTP=8080
COMPOSE_PORT_HTTPS=8443
ATHENTIK_TAG=2023.10.4
AUTHENTIK_EMAIL__HOST=<smtp.yourhost.com>
AUTHENTIK_EMAIL__PORT=587
AUTHENTIK_EMAIL__USERNAME=<email@domain.com or specified username>
AUTHENTIK_EMAIL__PASSWORD=<password>
@satya164
satya164 / patch.diff
Last active November 8, 2023 16:36
Android Gradle Plugin 8 support for React Native libraries
diff --git a/android/build.gradle b/android/build.gradle
index 525cb31..6af104d 100644
--- a/android/build.gradle
+++ b/android/build.gradle
@@ -36,7 +36,30 @@ def getExtOrIntegerDefault(name) {
return rootProject.ext.has(name) ? rootProject.ext.get(name) : (project.properties["MyLib_" + name]).toInteger()
}
+def supportsNamespace() {
+ def parsed = com.android.Version.ANDROID_GRADLE_PLUGIN_VERSION.tokenize('.')
@lukepighetti
lukepighetti / ultrawide-simple.js
Created February 17, 2023 02:23
My Amethyst Ultrawide Layout
const centerColumnWidthFactor = 0.4;
// Prioritizes center with adjustable width factor
// Fills column left, then right
// Then splits right column vertically
// Then splits left column vertically
function layout() {
return {
name: "Ultrawide Simple",
getFrameAssignments: (windows, screenFrame) => {
@lukepighetti
lukepighetti / .zshrc
Last active April 9, 2024 11:59
zsh functions I use for Helix / Flutter development
function flutter-watch(){
local PID_FILE="/tmp/tf$$.pid"
tmux new-session \;\
send-keys "flutter run --pid-file=$PID_FILE" Enter \;\
split-window -v \;\
send-keys "npx -y nodemon -e dart -x \"cat $PID_FILE | xargs kill -s USR1\"" Enter \;\
resize-pane -y 5 -t 1 \;\
select-pane -t 0 \;
rm $PID_FILE;
}
@gaetschwartz
gaetschwartz / settings.json
Last active November 8, 2025 01:34
Nest files in Flutter projects on VSCode, inspired from https://github.com/antfu/vscode-file-nesting-config
"explorer.fileNesting.enabled": true,
"explorer.fileNesting.expand": false,
"explorer.fileNesting.patterns": {
"pubspec.yaml": ".flutter-plugins, .packages, .dart_tool, .flutter-plugins-dependencies, .metadata, .packages, pubspec.lock, build.yaml, analysis_options.yaml, all_lint_rules.yaml",
".gitignore": ".gitattributes, .gitmodules, .gitmessage, .mailmap, .git-blame*",
"readme.*": "authors, backers.md, changelog*, citation*, code_of_conduct.md, codeowners, contributing.md, contributors, copying, credits, governance.md, history.md, license*, maintainers, readme*, security.md, sponsors.md",
"*.dart": "$(capture).g.dart, $(capture).freezed.dart",
},
@flaviut
flaviut / Setting up Emporia Vue 2 with ESPHome.md
Last active July 10, 2025 23:01
Setting up Emporia Vue 2 with ESPHome