Skip to content

Instantly share code, notes, and snippets.

View johnnylemonny's full-sized avatar
🎯
Focusing

John johnnylemonny

🎯
Focusing
View GitHub Profile
@johnnylemonny
johnnylemonny / .gitconfig-aliases
Created April 16, 2026 12:00
10x Developer Git Aliases You'll Actually Use Every Day
# Append these to your ~/.gitconfig file under the [alias] section to save hours of typing.
[alias]
# Status & Commits
s = status -s
c = commit -m
ca = commit --amend --no-edit
# The ultimate git log: visual, colorful, and concise
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
@johnnylemonny
johnnylemonny / ci-node.yml
Created April 16, 2026 11:58
Reusable GitHub Actions Workflow for Node.js (Lint, Test, Build)
# A robust, reusable CI workflow for modern Node.js/TypeScript projects.
# Drop this into: .github/workflows/ci.yml
name: CI Pipeline
on:
push:
branches: [ "main", "master" ]
pull_request:
branches: [ "main", "master" ]
@johnnylemonny
johnnylemonny / quick-windows-health-check.ps1
Last active April 13, 2026 11:20
Quick Windows Health Check (PowerShell): A small PowerShell script for quick Windows health checks: uptime, disk space, selected services, and top CPU/memory processes.
<#
.SYNOPSIS
Quick Windows health check for admins.
.DESCRIPTION
Displays:
- Computer name and current user
- OS version and uptime
- Logical disks with free space
- Status of selected services