-
mkdir with intermediate directories and rails generate view spec
I’ve been running into a lot of cases where I need to build intermediate directories for a path. Apparently, the correct option is -p mkdir -p dir/tree/to/make From the mkdir man page: -p Create intermediate directories as required. If this option is not specified, the full path prefix of each operand must already exist. On…
-
Preventing tinyMCE 4 from inserting <br /> within <code> blocks.
Problem I was trying to hook in TinyMCE 4 as a editor that allows me to specify code blocks. However, in visual editing mode, <code> blocks ended up having embedded <br /> tags that displayed when rendered. There is an old plugin, Pre Element Fix, that may have done what I wanted it to do, but…
-
Experiences so far with the cheap 39″ Seiki 4k display as a monitor
$389 for a 39″ Seiki 4k display I bought the 39″ Seiki 4k display on a whim as it was only $389 at Amazon and Newegg (purchased June 7, 2014), after reading a post from another programmer about using it as a coding display. My initial findings and notes: Update: Seiki 4k Setting Tweaking I…
