// posts, page 6 of 14

How I Learned to Code Part I

It’s Boulder Startup Week. With so many tech startups in town, there a lot of focus on code and coders. How do you become a developer? What developer career paths are there? Where do I find work? Etc. Etc.

BASH Autocompletion

A couple of posts back, I showed off some functions to pop up notifications when a host became pingable again or when a port became reachable. Today’s (semi) quick tip is how to use BASH’s autocomplete functionality add hostname autocomp...

Is the Server Up Yet?

I hate waiting, but I have to do a lot of it. Waiting for servers to restart. Waiting for services to come up. Waiting around for a Yes or a No. To that end I have a couple of BASH functions that can monitor a server and pop up a notific...

Using Signals to Display Process Status

A couple of posts back, I wrote about how you can get status info out of a long running dd process by sending it a signal. The functionally is something you can bring to your own Ruby scripts. It that post I looked at two signals, SIGINF...

Getting Uploaded Data *Out* of AWS S3

OK, so you know how to get data into AWS S3, what about getting it out? Previously, we uploaded entries from an imagined photo contest into a bucket. We sent a pair of files, a JSON file with the form data and the image. Let’s presume th...

That One Stupid dd Trick and the Ballad of SIGINFO

dd is the *NIX byte copying utility. It’s typically used for copying disks, creating disk images, or initializing disks from images. It can also be using to recover damaged files that can’t otherwise be copied. I mostly use it to make cr...

Uploading Form Data Directly to AWS S3

A couple of posts back, I walked through uploading an image to AWS S3 without the need for a server of your own. This has the advantage of being a fully standalone, browser client only solution. Of course images by themselves aren’t very...

Direct to S3 Uploads with AJAX Presigning

Previously, I covered uploading to S3 from a Rails app using a presigned-url. This works just fine, but means the data flows from the visitors computer to your server before heading to S3. I’ve previously showed how to upload the file di...

Uploading from Rails to AWS S3 with PreSigned URLs

Last time, I walked through directly uploading an image to an S3 bucket from the browser with no server involved. That last bit is important. If you are using a server, then PreSigned URLs are a better choice as they do not require a wor...