Rx

[Rx] Trim CSS Fat Using Win7 Grunt

[Rx] Trim CSS Fat Using Win7 Grunt

Back in the day, you didn’t have to worry about “devices.” Now, we’re all modern. We have stylish CSS that makes HTML look hipster-good on any screen size you can imagine. To do all this you need css code, lots of code.

You  can punch the code-masters ticket and roll your own CSS or you can attach everything to a CSS framework ( Bootstrap, Foundation, etc.).

These frameworks don’t know what you want, so they give you EVERYTHING. You have a screen the size of you large toenail? Not a problem, but the typical websites uses less than 80% of all the framework css code.

The price you pay for a kitchen sink framework is speed. Luckily, if you have a need for speed, you can trim out the CSS fat using unCSS.

[Rx] VM Virtualbox and AVIRA Antivirus Conflict

[Rx] VM Virtualbox and AVIRA Antivirus Conflict

Virtualbox (current version 5.0.10)  is free software for  creating  virtual machines, VMs. These are other computer operating systems and programs running in a self-contained window on your operating system.

Avira 15.0.15 is a free antivirus software that I’ve used for years (now using the built-in Windows Defender).

The long and short of this post is that there is a conflict with these versions causing error messages to pop up.

[Rx] Jupyter Notebook - Select Browser

[Rx] Jupyter Notebook - Select Browser

Jupyter Notebook is an interactive computational environment to run code, add rich text, compute mathematics, draw plots, and add rich media–all in the comfort of your browser.

I have a variation of Firefox, Palemoon, running as my default browser. When I run Jupyter Notebook, I wanted it to open in the Chrome browser.

It looked like a simple command line switch would do the job:

Jupyter Notebook -–browser=”chrome”

That doesn’t work. I tried it without quotes and single quotes. I’ve got a bald spot on the side of my head trying to figure this one out. There’s not much on the web. Here is how to do it…

[Rx] Error with VirtualBox Start-Up File

I downloaded an .iso of Ubuntu Server 14.04.3 LTS for a VM in VirtualBox. After applying all the settings for a new VM, I hit the green arrow Show icon to run on the top menu (with Ubuntu highlighted below). There was a list of OS iso files, but none were the right one. I pressed the little folder icon to select the file and got an error message.

The workaround is to go back into VirtualBox and hit the golden cog Settings icon.  Select Storage. There’s a little CD with a down arrow icon on the right. Click that and select you .iso file. Now, everything should work like a champ.

[Rx] Fried Spam with a Side of WP Comments

[Rx] Fried Spam with a Side of WP Comments

I had WordPress comments turned on for awhile and had a ton of spam about penis enlargement, Nigerian relatives, and how Candy wanted to make my wildest fantasies come true. I didn’t think these added much value (sorry, Candy), so I found a WordPress plug-in that turned off ALL the comments, appropriately named Disable Comments.

This adds a new item under the WP dashboard settings. I selected to disable comments everywhere. Harsh? Tell me about it.

Okay, I kept this one cause of the art. 🙂

Square3_thumb

[Rx] How to Create a Screen Readable PDF

[Rx] How to Create a Screen Readable PDF

AFTER DISSECTING A FEW online magazines, I came up with a reasonable copy for readable online PDFs.

FONTS & FONT SIZES

  • Title Font: 20th Century MT Condensed Extra Bold, 36 pt, Blue (R68-G84-R106)
  • Subtitle Font: Arial, 18 pt, Blue (R68-G84-R106), Spacing After 8 pt
  • Base Font: Open Sans, 11 pt, Black, Spacing: Single

Square3_thumb