Tag “bash”
-
Comfortably Call make from Subfolders
28 Dec 2020
A little helper script allows for more comfort when working with make in projects with sub-folders.
-
Check Markdown Spelling with aspell
8 Dec 2020
The venerable aspell spell checking utility has gained some respectable powers over the last year. In this post we explore them to add easy spell checking to our Markdown pipeline.
-
Minimal contents of a .git folder
2 Dec 2013
What does a minimal usable .git folder look like? Let’s try it out!
-
A Makefile Rule for Generating Responsive Images from SVG
8 Feb 2013
This rule takes an SVG file as input and returns two PNGs. One is rendered with 72 dpi, which maps 1 SVG pixel to one output pixel. The other,
target@2.png
, is rendered with twice the solution to fit for Retina displays. -
Create CSS Sprites with ImageMagick
24 Jan 2011
After colorizing the SVG icons I needed to create images suitable for CSS sprites out of them. The first step is rasterizing the SVG files, as I described in the previous article. We now have a bundle of PNG files, which…
-
Colorizing Icons with `sed`
24 Jan 2011
Creating colorized versions of a base icon usuallycalls for heavy Photoshop actions.
Recently I created an SVG file with some simple black-and-white icons I wanted to use in an application. The file contains a red…