Category Archives: Rx

[Rx] Jupyter Notebook–-Select Browser

2015-10-28_091835Jupyter 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’s how to do it:

Continue reading »

[Rx] Adobe Brackets Missing Icons on Buttons

200px-Brackets_Icon.svgThere’s a really interest open source text editor built for web design called Brackets [http://brackets.io]. I installed it and started playing around. There were buttons with no icons or text.

The problem seems to come from installing a development version of Inkscape [https://inkscape.org/en/] that added a conflicting value in the registry for .svg vector graphic files.

The best bet would be to remove any old versions of Inkscape first and see if your problem is solved.

I fixed this by going into the WIN7 registry and searching for .svg in HKEY_CLASSES_ROOT and  deleting the “Content Type REG_SZ application/svg” entry. Now, this is the REGISTRY and you can screw up some things if you delete the wrong stuff.

After editing the Registry, I installed the latest version of Inkscape 0.91 without any problems with Brackets.

InstantWP–Change Default Browser

From the InstantWP FAQ:

IWP.logo

How can I get Instant WordPress to open in a browser other than Internet Explorer, such as Firefox or Chrome?

Adjusting the setting in the IWP server config file in the IWP folder at:

 iwpserver/pms_config.ini

You will find the line below setting the BrowserPath variable in the Browser section of the config file:

BrowserPath= ../system/InstantWP_GUI.exe

Change this to something like below, to the path of your browser:

BrowserPath= “C:\Program Files\Mozilla Firefox\firefox.exe”

I set this up using Chromium (Open Source Chrome). The normal InstantWP control panel came under a tab instead of a separate window.

2015-08-24_101759 

End_Sign.12_thumb1

[Rx] Install Vagrant Win7 Local Web Development

2015-08-23_203713The Vagrant tagline says, “Development environments made easy.” Install a couple of programs and run a few commands on the console. Maybe it’s just me, but once I type out DOS-like
commands, it never seems to go as advertised.

Vagrant is overkill for occasional development of WordPress sites. InstantWP is probably the software tool of choice for causal developers.

Continue reading »

[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.

Presentation1_cr

[Rx] Fried Spam with a Side of WP Comments

spam01I 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.

[Rx] Variations on a WP Theme

oldsite

I’ve been playing with the standard WordPress Twenty-Twelve theme and a variation based on Zurb Foundation, WP-Forge.

I played with some logo alternatives and manually entered the “Rx” graphic on the how-to post titles. It’s simple to do. In the title box, add your image location as:

<img src=”http://www.something.com/Rx_blue.png”> The is My Post Title

  This is My Post Title

It looked a bit ugly in the WP dashboard because the “<img etc…” code/title pops up in all the post title listings. I’m just going to add [Rx] as text in the title. Simpler.

[Rx] Hacking The Garmin Nuvi 265W GPS

Garmin Nuvi 265WI haven’t played with my GPS in a couple of years. I keep on getting notices that my maps are old and that I should update them since the one on the system is from around time of Columbus and there have been significant changes. I guess the earth is round or something.

To start, I planned to reinstall my old Garmin PC software, MapSource, which needed the original with serial to install. While I was poking around, I found that there is a new and improved PC-based mapping program from Garmin, BaseMap (free).

Continue reading »

[Rx] Convert Too Long Win7 File Names in 7-Zip

7z_rm01Sometimes MS-Windows really sucks. I unzipped a folder without reviewing the file names. Some joker had named each file longer than War and Peace. Of course, after installing, these files couldn’t be renamed or deleted.

I tried opening the terminal window and using the MS-command line.

Dir /x

This gives me the short name. Then, I can:

rename shortname newname

This is usually bulletproof. BUT, it didn’t work and sent an error message that the file could not be found. Bummer.

What did work was using 7-Zip:

  1. Open 7-Zip Program
  2. Navigate to the directory that has the “bad” files.
  3. Highlight a “bad” file
  4. Press F2 and rename to something shorter.

That’s all folks!