Quantcast
Channel: programming – Ascription is an Anathema to any Enthusiasm
Browsing latest articles
Browse All 13 View Live

Image may be NSFW.
Clik here to view.

Docker #4: Accessing a remote docker daemon using socat&ssh

Well!  This unix tool is pretty amazing.  Socat let’s you connect two things together, there the two things are pretty much anything that might behave like a stream.  There is a nice overview article...

View Article


Image may be NSFW.
Clik here to view.

Docker #5 – benchmark? not really…

Given a Docker image you can spin up a container in lots of places.  For example on my Mac under Boot2Docker, at Orchard, or on Digital Ocean.   I don’t have any bare metal at hand, so these all...

View Article


auth-source: getting my secrets out of my emacs init file

I do not reveal my emacs init file publicly because it has secrets in it. For passwords (particularly for various APIs), and decryption keys in it. But, the other day I discovered auth-source.   I used...

View Article

ssh-keyscan and waiting for servers to come online

Here’s a little trick.  Ssh-keyscan is useful for asking ssh daemons for their host keys.  People use it to provision their known_hosts file. You can also use it to poll a ssh daemon – very use when...

View Article

When ten commandments are not enough.

There are good reasons why people love a good set of rules about how to go about their jobs.  Here’s a new one:  12 Factor Micro-Services.  It’s part of the enthusiasm for containerizing everything,...

View Article


Frequency-hopping a server’s port

Here’s one of those ideas you have when you are not sleeping: why don’t we use frequency hopping to make it hard for attackers to find listeners to attack? In scenarios where you want to keep the port...

View Article

JMESPath is sweet

Back in 60s card images were the canonical format for data.  Unix inherited that and tools like, sed, awk, and even perl all have carry forward that legacy, though they call ’em lines. There have been...

View Article

Image may be NSFW.
Clik here to view.

Estimating is hard.

Guesstimate is a delightful first draft of a tool to help clarify why we don’t know the answer to your question.  Here for example the user has tried to get a handle on how: “Taking down the tree, how...

View Article


Tarsnap Notes

I set up tarsnap to backup one of my small small cloud servers.   Some notes on the hick-ups: Tarsnap’s install involves compiling it – that tells you about the overall tone :).  The compile requires...

View Article


Why FIFO?

Amazon’s AWS has a message queue system, aka SQS, to which they have recently started adding a variant which assures that your messages are delivered in the same order that they got sent.  I.e. first...

View Article
Browsing latest articles
Browse All 13 View Live