Skip to content

Instantly share code, notes, and snippets.

View FyeCobain's full-sized avatar
💭

Michel Bracam FyeCobain

💭
View GitHub Profile
@FyeCobain
FyeCobain / javascript.json
Created February 29, 2024 17:30
JavaScript User Snippets
{
"console.log()": {
"prefix": "clg",
"body": [
"console.log($1)",
],
"description": "Log output to console"
},
"TO-DO": {
@FyeCobain
FyeCobain / aliases.doskey
Last active April 22, 2024 17:52
Aliases for CMD commands
;= HKEY_CURRENT_USER\SOFTWARE\Microsoft\Command Processor
;= AutoRun (REG_SZ):
;= DOSKEY /MACROFILE="C:\doskey\aliases.doskey"
pn = pnpm $*
dlx = pnpm dlx $*
art = php artisan $*
dk = docker $*
dkc = docker compose $*
@FyeCobain
FyeCobain / centerRoot.pyw
Last active February 15, 2024 19:43
Python: Center Tkinter root
width, height, rise = 300, 250, 70
x, y = root.winfo_screenwidth()/2-width/2, root.winfo_screenheight()/2-height/2-rise
root.geometry('%dx%d+%d+%d' % (width, height, x, y))