Cowsay in Powershell

Luke Sampson
August 23, 2022

 I’ve been working on a command-line installer for Windows called Scoop, and I wanted to have some interesting programs to demo it with. Cowsay seemed like an obvious choice.

 ------------
< Try Scoop! >
 ------------
 \ ^__^
 \ (oo)\_______
 (__)\ )\/\
 ||----w |
 || . . .

Read More

This blog has moved

Luke Sampson
August 11, 2022

This blog has moved to smalltech.com.au/blog.

Read More

Figlet in Go

Luke Sampson
August 10, 2022

I’ve just finished porting Figlet to the Go programming language. Figlet is a program originally written in 1991 that prints out large ASCII-art letters from the plain text you provide, e.g:

 , _ _
/| | | | | | |
 |___| _ | | | | __ |
 | |\|/ |/ |/ / \_|
 | |/|__/|__/|__/\__/ o
. . .

Read More

Sudo for Windows

Luke Sampson
August 10, 2022

You know how you get this sort of permission error in Windows console?

PS> mkdir "c:\program files\new"
mkdir : Access to the path 'new' is denied.

And you know how the ‘solution’ is to start up a whole new console with Start > [program] > Right-click > ‘Run as . . .

Read More

Rust on Windows

Luke Sampson
August 10, 2022

The other day I wanted to try Rust on Windows but found it wasn't very straightforward.

I downloaded the GUI installer, clicked through it, typed rust, and got nothing but an exit code of -1073741515. Returning to the quick start I saw a note that I hadn't noticed the first time, mentioning that I need MinGW as well. But, . . .

Read More

Busybox for Windows

Common Unix utilities for Windows in one small executable

Luke Sampson
January 11, 2014

From the Busybox website:

Busybox combines tiny versions of many common UNIX utilities into a single small executable. [...] The utilities in BusyBox generally have fewer options than their full-featured GNU cousins; however, [they] behave very much like their GNU counterparts. (read more)

Busybox is used mainly in . . .

Read More

Named anchors with Posterous

Luke Sampson
January 17, 2011

Posterous automatically strips out id or name attributes that you apply to divs when you edit the HTML source of a post. One way around it is to add an empty anchor with a name attribute just before the section you want to name, like so:

<a name=”anchor_name”></a>

Then a #anchor_name fragment in the URL will work, . . .

Read More

Archive
   Subscribe by email and never miss a post.

This update link alerts you to new Silvrback admin blog posts. A green bubble beside the link indicates a new post. Click the link to the admin blog and the bubble disappears.

Got It!