Skip to content

Instantly share code, notes, and snippets.

View beck's full-sized avatar

Doug beck

View GitHub Profile
@xtrasmal
xtrasmal / create_icns.sh
Last active December 8, 2025 20:19
Create a .icns file and/or png placeholders. Uses imagick to create the placeholders.
#!/bin/bash
# Icons and names
ICONS=(
"icon_16x16.png:16x16"
"[email protected]:32x32"
"icon_32x32.png:32x32"
"[email protected]:64x64"
"icon_128x128.png:128x128"
"[email protected]:256x256"
@blaix
blaix / framework.md
Last active September 18, 2015 20:56
What I want in a web dev framework

What I want:

Single-purpose "action" objects.

I want to look at a project's file structure and see what it does. Something like actions/create_article.rb that has a CreateArticle class who's only job is to create articles.

No controllers/viewsets that handle an entire set of CRUD operations on a resource.

Don't push request/response stuff into the business logic layer.