I started playing with vue.js and used vue-cli to scaffold a new project. It all worked well until I tried npm run build. Then I got the following error:
ERROR in build.js from UglifyJs
SyntaxError: Unexpected token punc «(», expected punc «:» [build.js:8643,6]
It took me a while...
Today I came across a weird bug on a client's wordpress site that broke Visual Composer. The Javascript console was reporting a a.poplight[href^=#] syntax err which seemed to indicate that popups were not working. Indeed, there was a section of the page with tabs that showed...
This morning I got a notification that mysqld was consuming on average 35% of the CPU on one my servers. This was strange because this particular server doesn't even use MySQL regularly. It's there only to serve a rarely used legacy table. A quick look...
My latest project on my model railroad is this waterfall. I've patterned it after McArthur-Burney falls in Northern California. It's still a work in progress, but I'm liking how it is turning out.
...
A passenger local crosses the Island Mountain Bridge on the Redwoods and Pacific Railroad. The bridge is kitbashed from two Vollmer 2546 Kastenbrücke kits. The passenger cars are by Roundhouse and Model Power and the locomotive is a Sunset brass engine.
...
I recently needed to extract a TTF version of a Mac font suitcase and after trying a bunch of different methods, I found a tool called Resource Finagler.app. It is available from this page on StackOverflow:
Using OS 9 resource fork fonts in CSS
Basically, you open...
I was helping a friend install a new Brother HL-L2340DW laser printer today and I had a heck of a time getting the WIFI to work on it. All the Macs and my iPhone could see the wireless network just fine, but the printer and...
I recently created a form where one of the questions was asking for a specific code (specifically, a NAICS code). The problem was that there are almost 20,000 codes to choose from, so it was not practical to use a pulldown. I hit upon the...
I had an old Fedora 8 server running legacy code that I needed to patch for the Shellshock Bash bug. I proved that bash was vunerable by running this command:
env X="() { :; } ; echo busted" /bin/bash -c "echo stuff"
I saw the word "busted"...
I get about 3000 emails a month (a lot of them are server notifications if you are wondering) and I like to keep all my email because I do frequently refer to older emails. I think of my emails as a database that I can...
I needed a quick way to check for XML well-formedness in a Perl Nagios script and I found that Test::XML has a test called is_well_formed_xml($xml) that does the job nicely. The only problem was that as part of the Test::More framework, Test::XML outputs test results...
I recently updated a client's Wordpress to 3.9.2. There was a page on that Wordpress that served as the PayPal notify_url and it had been working fine up until I updated. The page simply used a shortcode that I created in the functions.php file to...
Mike Oskin (@mikeoskin) from U.C. Davis tweeted on late Sunday that PhD students Alex Morelan and Chad Trexler had gone out in the field in the Napa area and mapped several surface ruptures related to the South Napa earthquake of Aug 24, 2014. Additional tweets...
I monitor a number of servers using nagios and I always thought it would be neat to be able to have some sort of ambient device light up when there was a critical problem.
Yes, I get email and text alerts, and nagios is always up...
Every so often I have the opportunity to help a friend with a seemingly intractable computer problem. More often than not, the problem is not really a problem at all, it is just plain awful design. Case in point:
My friend was using Safari and this...
The term minimalism is also used to describe a trend in design and architecture where in the subject is reduced to its necessary elements. Minimalist design has been highly influenced by Japanese traditional design and architecture. In addition, the work of De Stijl artists is...
The term minimalism is also used to describe a trend in design and architecture where in the subject is reduced to its necessary elements. Minimalist design has been highly influenced by Japanese traditional design and architecture. In addition, the work of De Stijl artists is...
The term minimalism is also used to describe a trend in design and architecture where in the subject is reduced to its necessary elements. Minimalist design has been highly influenced by Japanese traditional design and architecture. In addition, the work of De Stijl artists is...
The term minimalism is also used to describe a trend in design and architecture where in the subject is reduced to its necessary elements. Minimalist design has been highly influenced by Japanese traditional design and architecture. In addition, the work of De Stijl artists is...
The term minimalism is also used to describe a trend in design and architecture where in the subject is reduced to its necessary elements. Minimalist design has been highly influenced by Japanese traditional design and architecture. In addition, the work of De Stijl artists is...