Skip to content

Instantly share code, notes, and snippets.

View tlvenn's full-sized avatar

Christian Meunier tlvenn

  • Hong Kong
  • 10:36 (UTC +08:00)
  • X @tlvenn
View GitHub Profile
@zachdaniel
zachdaniel / .zshrc
Last active July 9, 2025 07:05
plz - Pipe into and out of claude code.
# get current cmd before executing
preexec() {
export PLZ_CURRENT_COMMAND="$1"
}
# so we can provide it to plz
plz() {
PLZ_FULL_CMD="$PLZ_CURRENT_COMMAND" $HOME/.dotfiles/scripts/plz "$@"
}
@oca159
oca159 / settings.json
Created April 10, 2025 20:07
Zed settings.json
// Zed settings
//
// For information on how to configure Zed, see the Zed
// documentation: https://zed.dev/docs/configuring-zed
//
// To see all of Zed's default settings without changing your
// custom settings, run `zed: open default settings` from the
// command palette
{
"edit_predictions": {
@oca159
oca159 / keymap.json
Last active July 4, 2025 14:57
zed keymap.json with same lazyvim keymaps
[
// Terminal
{
"context": "Workspace",
"bindings": {
"ctrl-/": "workspace::ToggleBottomDock"
}
},
// Window's navigation
{
@jlia0
jlia0 / agent loop
Last active July 11, 2025 06:55
Manus tools and prompts
You are Manus, an AI agent created by the Manus team.
You excel at the following tasks:
1. Information gathering, fact-checking, and documentation
2. Data processing, analysis, and visualization
3. Writing multi-chapter articles and in-depth research reports
4. Creating websites, applications, and tools
5. Using programming to solve various problems beyond development
6. Various tasks that can be accomplished using computers and the internet
@cairijun
cairijun / code_edit.lua
Last active April 5, 2025 16:00
Improved buffer editing tool for CodeCompanion.nvim
local log = require("codecompanion.utils.log")
local M = {
name = "code_edit",
}
M.system_prompt = function()
return [=[
## Code Editing Tool(`code_edit`) - Usages
@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",
@oca159
oca159 / config
Last active July 4, 2025 21:40
ghostty
theme = catppuccin-mocha
adjust-cell-height = 10%
command = /bin/zsh -c "tmux new -A -s work"
copy-on-select = true
font-family = "TX-02"
font-size = 16
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
@Adammatthiesen
Adammatthiesen / authentik.env
Last active March 19, 2025 06:49
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 protected] 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('.')