Skip to content

Instantly share code, notes, and snippets.

View Silverbullet069's full-sized avatar

VH Silverbullet069

View GitHub Profile
@bmaupin
bmaupin / free-database-hosting.md
Last active November 15, 2024 23:54
Free database hosting
@s-leroux
s-leroux / file
Last active April 22, 2024 05:10
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-backend-hosting.md
Last active November 13, 2024 02:37
Free backend hosting
@wojteklu
wojteklu / clean_code.md
Last active November 15, 2024 07:19
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

@egel
egel / auto-remove-sublime-license-popup
Last active November 5, 2024 21:28
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)
@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 }
]
}
]