Skip to content

Instantly share code, notes, and snippets.

View vhbui02's full-sized avatar

VH vhbui02

View GitHub Profile
@aviris
aviris / Tab out of Autocomplete Pairs
Created November 12, 2013 23:24
Tab out of paired characters in Sublime Text (e.g. "",{},[],(),**,__, etc.).
[
{ "keys": ["tab"], "command": "move", "args": {"by": "characters", "forward": true}, "context":
[
{ "key": "following_text", "operator": "regex_contains", "operand": "^[)\"\\]*_}]", "match_all": true },
{ "key": "auto_complete_visible", "operator": "equal", "operand": false }
]
}
]
@egel
egel / auto-remove-sublime-license-popup
Last active April 14, 2025 09:58
Auto-remove Sublime's license popup
#!/usr/bin/python
# -*- coding: utf-8 -*-
import sublime_plugin
import subprocess
from time import sleep
import sys
cl = lambda line: subprocess.Popen(line, shell=True, stdout=subprocess.PIPE).communicate()[0].strip()
log = lambda message: sys.stderr.write("Log: %s\n" % message)
@lukas-h
lukas-h / license-badges.md
Last active July 19, 2025 06:56
Markdown License Badges for your Project

Markdown License badges

Collection of License badges for your Project's README file.
This list includes the most common open source and open data licenses.
Easily copy and paste the code under the badges into your Markdown files.

Notes

  • The badges do not fully replace the license informations for your projects, they are only emblems for the README, that the user can see the License at first glance.

Translations: (No guarantee that the translations are up-to-date)

@wojteklu
wojteklu / clean_code.md
Last active July 20, 2025 15:35
Summary of 'Clean code' by Robert C. Martin

Code is clean if it can be understood easily – by everyone on the team. Clean code can be read and enhanced by a developer other than its original author. With understandability comes readability, changeability, extensibility and maintainability.


General rules

  1. Follow standard conventions.
  2. Keep it simple stupid. Simpler is always better. Reduce complexity as much as possible.
  3. Boy scout rule. Leave the campground cleaner than you found it.
  4. Always find root cause. Always look for the root cause of a problem.

Design rules

@bmaupin
bmaupin / free-backend-hosting.md
Last active July 11, 2025 09:31
Free backend hosting
@s-leroux
s-leroux / file
Last active July 14, 2025 04:15
AWK one-liners support file
CREDITS,EXPDATE,USER,GROUPS
99,01 jun 2018,sylvain,team:::admin
52,01 dec 2018,sonia,team
52,01 dec 2018,sonia,team
25,01 jan 2019,sonia,team
10,01 jan 2019,sylvain,team:::admin
8,12 jun 2018,öle,team:support
@bmaupin
bmaupin / free-database-hosting.md
Last active July 20, 2025 14:55
Free database hosting
@abstractvector
abstractvector / Dockerfile
Last active April 20, 2025 16:49
Lightweight node.js Dockerfile
ARG ALPINE_VERSION=3.11
ARG NODE_VERSION=15.5.1
##########################
# Cache-preserving image #
##########################
FROM alpine:${ALPINE_VERSION} AS deps
RUN apk --no-cache add jq
@burkeholland
burkeholland / 4.1.chatmode.md
Last active July 20, 2025 15:16
4.1 Beast Mode v2
description tools
4.1 Beast Mode
changes
codebase
editFiles
extensions
fetch
findTestFiles
githubRepo
new
openSimpleBrowser
problems
readCellOutput
runCommands
runNotebooks
runTasks
runTests
search
searchResults
terminalLastCommand
terminalSelection
testFailure
updateUserPreferences
usages
vscodeAPI

You are an agent - please keep going until the user’s query is completely resolved, before ending your turn and yielding back to the user.

@burkeholland
burkeholland / ainstall.md
Last active July 20, 2025 15:16
Beast Mode v3

Beast Mode v3

Beast Mode is a custom chat mode for VS Code agent that adds an opinionated workflow to the agent, including use of a todo list, extensive internet research capabilities, planning, tool usage instructions and more. Designed to be used with 4.1, although it will work with any model.

Installation Instructions

  • Go to the "agent" dropdown in VS Code chat sidebar and select "Configure Modes".
  • Select "Create new custom chat mode file"
  • Select "User Data Folder"
  • Give it a name (Beast Mode)