Skip to content

Instantly share code, notes, and snippets.

View VTzy137's full-sized avatar
🐣
Life's sweet like cherries

Truong Yun VTzy137

🐣
Life's sweet like cherries
View GitHub Profile
@VTzy137
VTzy137 / update_cursor.sh
Last active April 27, 2025 10:05
Script auto check and update cursor ai with app image in linux. You can manual click downloads from web, so it get that appImage from downloads and do all remaining. Link cursor AppImage to application for create app icon. paste this script info app_dir, in this is opt/cursor-ai/
#!/bin/bash
# === Config ===
APP_DIR="/opt/cursor-ai"
APP_FILE="$APP_DIR/AppRun"
APPIMAGE_FILE="$APP_DIR/Cursor.AppImage"
VERSION_FILE="$APP_DIR/cursor-version"
DESKTOP_FILE="$HOME/.local/share/applications/cursor.desktop"
mv ~/Downloads/Cursor* /opt/cursor-ai/
@VTzy137
VTzy137 / userChrome.css
Last active May 13, 2025 04:28
`Auto hide address bar in firefox. Add this too about:support profile directory. often at ~/snap/firefox/common/.mozilla/firefox/xrdkwua7.default/chrome
@keyframes navbar {
0% {height: 40px; max-height: 40px; min-height: 40px;}
93% {height: 40px; max-height: 40px; min-height: 40px;}
100% {height: 0; max-height: 0; min-height: 0;}
}
@keyframes navbarHover {
100% {height: 40px; max-height: 40px; min-height: 40px;}
}
@VTzy137
VTzy137 / f8-debugger.txt
Last active May 13, 2025 04:31
click f8 for debugger stop dom in tampermokey
// ==UserScript==
// @name f8 debugger
// @namespace http://tampermonkey.net/
// @version 2025-05-13
// @description try to take over the world!
// @author You
// @match *://*/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=tampermonkey.net
// @grant none
// ==/UserScript==