Fullasagoog

Show all feed information | Ping Blog Update

Adding a global ignore file for git 3 months ago

Quick setup of ignore files for Git. You can of course set these up per repo, but that gets a little old. Instead you can setup a single ignore file and link to it so that every repo refers to it. For example, create a git ignore file in your home directory: ~/.gitignore_global Fill it [...]

Showing hidden files in Finder on mac osx 3 months ago

Short and sweet, MAC OSX has this annoying trait where hidden files (dotfiles) are not visible by default in Finder. No probs, I’ll just go to the “View” menu and turn them on. Nope…nada, zip. Turns out you have to enter a command in the terminal, nice. Here it is for …

Downloading youtube videos 4 months ago

I wanted to grab some youtube videos for the kids and found this cool CLI utility called youtube-dl to handle it. I downloaded it from the website (you may need to chmod 755): wget https://github.com/downloads/rg3/youtube-dl/youtube-dl -O /usr/local/bin/youtube-dl However you can get it via brew …

JSON undefined issues on IE8 and IE9 5 months ago

I had some issues today while testing in IE, where “JSON” was undefined. This was happening in IE8 and IE9, which is strange because the JSON functions are in those IE versions. The problem was IE’s compatibility view, which triggers rendering in sort-of-IE7 mode. Classy. This …

Generating a powerset in ColdFusion 7 months ago

I recently needed to generate a powerset (a set of all subsets) of 3 HTML select boxes. The idea was that a user could choose 1-many options from each box, and they had to choose a value from all 3 boxes (none could be empty). Select #1 had 4 values Select #2 had 7 values [...]

Modifying FW/1 variables.framework properties 7 months ago

FW/1 gives you a nice, clean way to manage framework configuration properties. They’re all wrapped up inside Application.cfc in a structure called variables.framework, you can read more about them here under Configuring FW/1 Applications. Our applications often have a need to use different …

Preventing FW/1 from reinitialising an app via the URL 7 months ago

One of the things that FW/1 allows you to do is configure a reload “key” and “password” which you can use to reinit your application via URL. So inside your Application.cfc you might have: variables.framework = {   reload = 'reinit',   password = …

Adding a mail server to a Railo instance 7 months ago

We turn off all GUI based administration consoles in our production environments, this includes Railo’s admin area. If you need to configure your Railo instance to include an SMTP server, you can add a line in WEB-INF/railo/railo-web.xml.cfm Open up that file (probably as sudo), look for …

Installing new fonts on Ubuntu server 7 months ago

I had some new fonts to install on our test server that runs Ubuntu server. Pretty simple really, just noting it down here for next time: Upload/ssh the font(s) to your home folder on the server Copy font to the system fonts folder, this way it can be used by all users on the system [...]

Whitespace issues in cfscript based functions 7 months ago

Ok now we all know that ColdFusion is kind of lame when it comes to whitespace management, unless you specifically have “whitespace management” turned on for your server. I have a function that is used to build the href value of a hyperlink. Nothing special there. However when I …