thecrumb

developer | thinker | tinkerer

Articles


Wake-on-LAN

When you are too lazy to reach under your desk to turn on your computer.





Gitlab Jenkins Property Generator

We use Gitlab at work and I've recently been working on improving our deployments. We have several old monolithic applications which are a challenge to deploy for QA especially as we are getting into the habit of using feature branches to manage our code. What happens is Joe will deploy feature/ABC-253 to our QA server. Then Sally will need to get feature/ABC-764 tested as well. The developers can certainly hop on the server and easily switch branches but I wanted our QA person (who isn't that technical) to be able to do this as well. Digging through the …

Poor Man's T-SQL Formatter

I'm a bit OCD about my SQL code. Frequently I'll see something like select firstname, lastname, address1, address2, city, state, zip, homephone, cellphone, business-address1, business-address2, business-city, business-state, business-zip, business-phone, business-fax, etc. You get the idea. This drives me nuts. I'd much rather see SELECT firstname ,lastname ,address1 ,address2 ,city ,STATE ,zip ,homephone ,cellphone ,business-address1 ,business-address2 ,business-city ,business-STATE ,business-zip ,business-phone ,business-fax ,etc. Sometimes I'm in my SQL editor and have a code formatter available but sometimes I'm editing code on a wiki or a Word document for …

CFSSH (Secure FTP) In Lucee

We have been migrating a lot of scheduled tasks from an old ColdFusion server to Lucee. A coworker recently asked me for help because they noticed that one particular task which used CFFTP was failing. Apparently Lucee doesn't natively support the 'secure' attribute of CFFTP. My co-worked had done some research and found CFSSH but was having some issues getting it to work. There are a few old forum posts that mention this tag but they seem a bit outdated. Not sure if the tag or Lucee (Railo) changed but I thought I'd post what I did here for reference …

Mechanical Keyboards

Lately I've been in the mood for a change in my keyboard situation. When I first started coding I had one of the original mechanical keyboards from one of my family's first computer, an old Leading Edge. At some point I switched to the original Microsoft Natural keyboard and have been using variations of it (Natural, Keyboard Pro, Multimedia, 4000) since. I change my mouse every year or two switching between trackballs and mice. But I've been using my Microsoft 4000 keyboard a long time and have been on the hunt for a new keyboard. I'd like: ergo - I do …

Running ColdFusion/Railo On The Command Line with ConEmu

Everytime I talk to Dan Wilson (who is quite smart) he mentions I should run my ColdFusion servers on the command line so I can see what's going on behind the curtain. I've always been too lazy to actually do this but while troubleshooting a recent problem I finally broke down and setup ConEmu to run ColdFusion and Railo. If you aren't using Conemu read this. Setting up ConEmu was simply a matter of configuring a few extra 'tasks' as they are called in Conemu. I setup the following tasks with these commands: ColdFusion = C:\ColdFusion9\runtime\bin\jrun.exe …