Skip to content

Instantly share code, notes, and snippets.

@guyjin
guyjin / top-brew-packages.txt
Created August 17, 2022 13:55 — forked from pmkay/top-brew-packages.txt
Top homebrew packages
node: Platform built on V8 to build network applications
git: Distributed revision control system
wget: Internet file retriever
yarn: JavaScript package manager
python3: Interpreted, interactive, object-oriented programming language
coreutils: GNU File, Shell, and Text utilities
pkg-config: Manage compile and link flags for libraries
chromedriver: Tool for automated testing of webapps across many browsers
awscli: Official Amazon AWS command-line interface
automake: Tool for generating GNU Standards-compliant Makefiles
@guyjin
guyjin / npm_scripts_build_tool.md
Created December 1, 2023 20:06 — forked from lukewang1024/npm_scripts_build_tool.md
Notes from egghead.io course: How to Use npm Scripts as Your Build Tool

Use npm scripts as your build tool

Basic dev task composition

// Dev tasks
{
  "scripts": {
    "eslint": "eslint --cache --fix ./",
    "stylelint": "stylelint '**/*.scss' --syntax scss",
@guyjin
guyjin / make_thumbs.sh
Created July 14, 2025 15:36
Batch create thumbnails with ImageMagick in zsh
#!/bin/zsh
# ^ Changed shebang to /bin/zsh
# Output directory for thumbnails
OUTPUT_DIR=".thumbs"
FORCE=0
DRY_RUN=0
THUMBNAIL_DIMENSIONS="200x150" # Default size for landscape/portrait images
# ANSI colors