Showing posts with label tools. Show all posts
Showing posts with label tools. Show all posts

Sunday, September 9, 2018

Using 'host' while Bootstrapping Calm

I've been in the process of bootstrapping Calm (a new app I'm building out as part of my side hustle). Every time I set up a new project from scratch, I'm reminded of those things that I do only very rarely. Setting up the VM, nginx, ssh, firewalls... all of these are things I do rarely in comparison to the day to day development work that I do.

I'm always pleased to find a new small utility or tool along the way. Today I found the host command for verifying that the dns servers that I'm hitting from my house have the updated name servers I just adjusted with my domain registrar. It's an alternative to nslookup, and gives some really useful information.

For my needs, the following did the trick

host -t NS getcalm.io

The -t NS piece tells host to query for name servers, which was just the piece I needed. And yes, I was pleased to find that the new name servers had already propagated.

getcalm.io name server ns3.digitalocean.com.
getcalm.io name server ns1.digitalocean.com.
getcalm.io name server ns2.digitalocean.com.

Wednesday, April 15, 2009

Starting a new project

So, I'm starting a new project in my "off" hours at night. It's a scary scene...me, my lava lamp, in my basement, with XM radio on, and all of the lights are off save for a small lamp with a 40-Watt light bulb in it.

For my project I have chosen to to use MySQL, which I have never used before and am excited to explore. I've worked with Oracle and a tiny bit of MS SQL Server, and it's about time I play around with MySQL. One of the tools that I've chosen to use in this project is SQuirreL, otherwise known as the universal SQL client. I had the pleasure of being introduced to SQuirreL by a colleague during the past year while working on a project at work, and since then it has become my tool of choice if I have to attach to a database and do some work.

It's written entirely in Java and allows you to do pretty much whatever you need to do (or whatever I've needed to) administrative wise on a database, without any quirky restrictions often found in limited versions of pay-for tools (such as DBVisualizer). Oh, I didn't mention that it is freely available via an open source license. The latest version made a UI change that I like, and that is that Drivers and Aliases are now available as tabs on the left hand side of the application. It seems like in prior versions I always seemed to loose one or both of those, and had to go searching to pull them back up. You pretty much just have to point SQuirreL to the jdbc drivers for whatever database you want to attach to, and away you go.