Sunday, December 27, 2015

Best Pocket Knife EVER

In my opinion, and after 20+ years of carrying a pocket knife, I believe that the Victorinox Swiss Army Knife Lockblade (Model# 54848) is the best all around pocket knife (and tool set) to be had.
 

I've been carrying this same knife, every day, for over five years now. It was given to me by a long-time family friend, the late Rick Martin. One of the most lasting and thoughtful gifts I've received; my thanks goes out to him, as I use this tool daily.


Some of the Pros of this knife:

Great balance of tools - not too many, not too few. Tools include: 3¼" locking blade; a very good 3¼" stagger-toothed saw; a can opener with phillips-screw blade-point; a bottle opener with straight-screw blade; [flimsy] tweezers; a good plastic toothpick / point; a cork screw; a nice awl, and a lanyard attachment point.

It's not too fat! Because it has the right balance of carefully selected tools, it's no "fatter" than most other standard pocket knives. A lot of swiss army knives try to cram way too much into the body, making it awkwardly thick, and not very pocket friendly. This knife, with all its tools, is only ¾" thick:

The locking blade is very nice! You don't see this often in the typical "swiss army knife" The saw does not lock, but the knife blade does - and that's where you need it most. The release is a bit non-standard index-finger slider on the opposite side:

• This knife is not "tactical" looking. It's not a black / quick-open / tactical / fighting knife with all the PC-negative-stigma that goes along with that. While this knife is certainly capable in a knife fight, it looks like an old timer's pocket tool, and it is disarming / disalarming in that way. This is an important point. It's like urban camo.

• This specific knife is highly recommended by the Woods Master himself, the late Ron Hood. This is a guy that I have a lot of respect for, and has a college-level DVD course on woodcraft and survival (www.Survival.com). Here's a still from from Hoods Woods, volume five:
We sure will miss this guy (link).


You can sometimes find this knife on Ebay and Amazon sells a newer version of it too:
http://www.amazon.com/dp/B004VUJGHS/?tag=intellections-20

I've not used the newer one, but I personally like the original look best.

Wednesday, December 23, 2015

Full Screen Web Page Display Appliance via Raspberry Pi 2

I have a need for a small PC/Appliance to boot up, and display a web page (and update / reload this page at a set interval).

One would think this would be easier than it is, and granted it's easier today than it's ever been, but it's still not trivial.

To start out, I want to give credit where credit is due. Probably the most helpful site I used in this build was Dan Purdy's Raspberry Pi Kiosk Screen Tutorial page:
https://www.danpurdy.co.uk/web-development/raspberry-pi-kiosk-screen-tutorial/
The content is great, as well as the comments helpful.


To start out, you have to purchase a Raspberry Pi 2 (RPi2). I got one from Amazon for around $38.

I didn't bother to get a case right away; as I wanted to be sure this was going to work first, with the least about of investment.

I didn't buy their $10 Power Supply (PS). Who doesn't have a USB micro PS transformer laying around these days? Especially since it seems to be the standard charger-of-choice for all non-Apple cell phones.
  • USB Volt / Amp Meter; reading 5.07 volts and 0.39 ampsQuick note about power / consumption of the Raspberry Pi 2: In all my testing, even running a basic version of Minecraft on the Pi (which ran surprisingly well) the Pi never had a current draw greater than 0.57 amps (at ~5.07 volts).

With the Pi in hand and an 8 GB SD card I already had, I need to get bootable Linux on the SD card to start-up the Pi2.


I chose to download Raspbian Jessie (Full desktop image based on Debian Jessie) available here:
https://www.raspberrypi.org/downloads/raspbian/

Then I had to use Win32 Disk Imager to write the .IMG file to the SD card in Windows (and create the boot sector and all that good jazz):
http://sourceforge.net/projects/win32diskimager/?source=typ_redirect
This worked impressively well.
However, turns out that the IMG on an 8GB SD card is FAT formatted, and leaves ~3.7 GB of the card unallocated. The main partition, with the Full Debian Jessie desktop image, has only 2% free space on the disk at boot up! This leaves basically no room to add anything else.

I tried several different ways to add the unallocated space back into the primary partition, including Windows 7 partition manager, but eventually stumbled upon a much easier solution: Once you boot the Pi, goto [Start]Menu → Preferences → Raspberry Pi Configuration. The first tab, first option, is "Expand Filesystem". One click there, and a reboot, and it's done! The working drive goes from 2% free, to 52% free! Now, we've got some space to work with.
(Note: use command "df" to check disk free space in Linux terminal.)


The next problem I ran into is the web browser. This Raspbian Debian Jessie OS comes with the Epiphany Web Browser. This seems like a nice browser, and would probably be usable, IF there was a way to start it up in Full Screen (F11-style) mode. But there isn't:


Chromium browser (the generic / open-source? version of Chrome) does have a -kiosk switch that can do this. Snag: Chromium is not in the repositories on Jessie. So you have to get in manually:
wget https://dl.dropboxusercontent.com/u/87113035/chromium-browser-l10n_45.0.2454.85-0ubuntu0.15.04.1.1181_all.deb
    wget https://dl.dropboxusercontent.com/u/87113035/chromium-browser_45.0.2454.85-0ubuntu0.15.04.1.1181_armhf.deb
    wget https://dl.dropboxusercontent.com/u/87113035/chromium-codecs-ffmpeg-extra_45.0.2454.85-0ubuntu0.15.04.1.1181_armhf.deb
    sudo dpkg -i chromium-codecs-ffmpeg-extra_45.0.2454.85-0ubuntu0.15.04.1.1181_armhf.deb
    sudo dpkg -i chromium-browser-l10n_45.0.2454.85-0ubuntu0.15.04.1.1181_all.deb chromium-browser_45.0.2454.85-0ubuntu0.15.04.1.1181_armhf.deb
(Source: https://www.raspberrypi.org/forums/viewtopic.php?t=121195&p=818455)

Once that is installed, you can launch a full screen browser window, from the command line:
$ chromium-browser --kiosk www.google.com




Unless you're going to keep this isolated by wrapping it in a receipt for a while (like I did), you're going to need a case for your RPi2. I got this one:
http://www.amazon.com/dp/B00MQLB1N6

I'm impressed with how well this worked, and how good the tolerances are. The only drawback to this design I see, is that it should have a removable cover for the GPIO pins, if you're not using them (like me). Otherwise they're just all hanging out in the open for no good reason.



I was able to find a very small USB wireless NIC card/adapter for this that worked.

I first tried one from X-Media USA - their XM-WN1200. It did not work natively in the RPi2, nor in a full desktop install of Linux Mint 17.1.
I looked on their included mini-CD, and no Linux drivers.
I contacted their support department, and they said: "Please download Linux driver for XM-WN1200 from link below, choose MT7601U USB driver for Linux." and gave me the link:
http://mediatek.com/en/downloads1/downloads/
I tried this, but could not get it to work.
Sent them a follow-up email, and their final response was, "We do not have driver installation of Linux for XM-WN1200 as we only advertised this product supported Windows.  Even though the chipset does support Linux, please search online for any help."

So I purchased an Edimax 150Mbps Wireless 802.11b/g/n nano USB adapter (EW-7811Un):
http://www.amazon.com/dp/B003MTTJOY
And this device seems to work great with Linux.
With Linux Mint 17.1, it installed quickly, and was up and running with in a minute or two.
With the RPi2, it took longer, and I even had to do a reboot before it started working correctly.
But it's running good now.



Unless you have a large work space for testing these kinds of things, you will quickly tire of needing to have another full size keyboard and mouse to work your RPi2. I found this clever little micro keyboard and trackpad (mouse) combo that solved that problem nicely.
Rii 2015 Mini Wireless 2.4GHz Keyboard with Mouse Touchpad (mini X1):
http://www.amazon.com/dp/B00I5SW8MC

As an added bonus, it also combines both the keyboard and mouse to a single USB-nano adapter, freeing up another USB port on the RPi2. This kb/mouse is as big as the average TV remote. It also worked with RPi2, desktop Linux Mint 17.1, and Windows 7 (although the driver find / download / install on Windows took much longer). I can see myself using this a LOT for test PCs, and will probably be getting another one of these soon.



After hours of research and testing the numerous ways to "autostart" an application in this flavor of Linux (it should NOT be this hard -- this is why Linux has to fight for traction with mainstream users) I finally got Chromium to autostart on boot.
Had to create a file called chromium.desktop in the ~/.config/autostart/ folder, but launching nano.
In that file, you need to put:
[Desktop Entry]
Encoding=UTF-8
Name=Connect
Comment=Checks internet connectivity
Exec=/usr/bin/chromium-browser --kiosk --disable-restore-session-state www.GOOGLE.com

Problem: This does not prevent the "Restore pages?" bubble.



To keep the screen from blanking:
All that you should have to do is to open the file:
/etc/kbd/config
And in there set
BLANK_TIME=0

Problem is; this doesn't work.
And apparently it's a known bug.
However, you should set this anyway, as it's expected to be fixed in the future (test!).

So the work-around for now seems to be to set
consoleblank=0
in the
/boot/cmdline.txt
Testing this now... and it doesn't work either...

Still hunting for a solution for this...



---The rest of this is just random notes to myself, as this is still a work in progress for me---


Screen is still blanking... around 10-15m intervals...




% read all the other comments to main article first for ideas.




Next we need a way to remote into the RPi2.

(Ref: http://www.raspians.com/knowledgebase/?knowledgebase=setting-up-a-remote-desktop-view-the-pi-on-your-windows-pc/ )

We need to download Xming on our Windows PC:

http://sourceforge.net/projects/xming/

Install that...




Sunday, December 13, 2015

Parental Time Limits on Linux Mint

How to add time limits (parental guidance) to Linux Mint (&/or Ubuntu):

sudo add-apt-repository ppa:mjasnik/ppa
sudo apt-get update
sudo apt-get install timekpr

So far this program, seems to be the best for setting both time limits on total minutes of PC use, and hours of operation.

 

(Special thanks to this site for pointing me in the right direction.)

Tuesday, December 08, 2015

Promiscuous USB

I was in the ER the other day (as a visitor, not a patient), with my iPhone at 6% battery left, when I spied the USB ports on the back of the room PC:

I was very tempted to sip a little 5-volt juice from their port, as life-support for my dying phone. And I probably would have, IF I had a data blocker with me:
(This blocks the two data wires, but allows the two power wires to connect. So you can safely charge your phone. This works both ways: safe for you and your phone, but also safe for the PC owner too.)

I can imagine that many, many people just plug their ramdom hackdroids into hospital equipment all the time. This mus be a nightmare for their IT staff. Indeed, there's an article out today USB Ports Pose Hidden Risk for Medical Facilities.
Full Article: http://www.scmagazine.com/usb-ports-pose-hidden-risk-for-medical-facilities/article/458298

Everybody should have a data-blocker in their urban EDC. ;)

Thursday, August 13, 2015

Adobe Flash Soon to be Unsupported in Chrome

I just saw this:
Adobe Flash Player is "soon to be unsupported" in Chrome.


This is the best news I've heard all morning! :)

Saturday, August 08, 2015

Windows 10 has to 'phone home' for You to change Your password!

Did you know?

Windows 10 has to "phone home" for you to change your own PC login password:



If you don't have internet, you can't change your own login password on Windows 10.

I feel like this is "innovation" in the wrong direction...


Tuesday, May 12, 2015

XP to XP Embedded

To start with, this is a bad idea.
You really need to get off of Windows XP (where the "XP" now stands for "eXPired").

There are better Operating System(s) out there now, even those that are free.
Example: Linux Mint - http://www.linuxmint.com/

But if you have to run XP, then at least initiate this 'hack' to maybe, possibly, get a few more updates from MS that might work with XP. Of course it comes with the standard disclaimer from Microsoft:
The security updates that could be installed are intended for Windows Embedded and Windows Server 2003 customers and do not fully protect Windows XP customers. Windows XP customers also run a significant risk of functionality issues with their machines if they install these updates, as they are not tested against Windows XP. The best way for Windows XP customers to protect their systems is to upgrade to a more modern operating system, like Windows 7 or Windows 8.1.

So here's how you do it:
[1] Create a text file on the desktop.
[2] Make sure you can see the .txt extension. If you can't, refer to here on how to turn it on.
[3] Open the TXT document, and Copy the following into it:
Windows Registry Editor Version 5.00 
[HKEY_LOCAL_MACHINE\SYSTEM\WPA\PosReady] 
"Installed"=dword:00000001
[4] Close and Save the TXT.
[5] With the TXT highlighted on your desktop, press [F2] to rename it to "embed.reg"
[6] Confirm you want to rename the TXT file to a REG file.
[7] Run the file and merge the setting with your registry.
[8] You're done! Go run Windows Updates now.




Monday, May 11, 2015

How to Turn On Extensions for Known Types (Windows)


  • Reveal file extensions for known file types.
    • This is a feature bug in Windows where Microsoft does not display the [usually 3-character]  extension of a file. This has been used in the double-extension exploit:
    • Excerpt: A way to trick users into opening a virus. Many people have learned that text files (.TXT) and image files (.GIF, .JPG, etc.) are safe to launch because they are data and not executable software. They have learned to be leery of .EXE, .VBS and other extensions that are executed immediately. Thus, virus writers try to trick more people using double extensions, so "I LOVE YOU.TXT.vbs" is really not a .TXT file, but a .vbs file, a Visual Basic Script that is executed immediately
    • Open Windows Explorer [Win]+[E]:
      • Press [Alt] to make the menus appear
      • Tools --> Folder Options..
      • Go to the View tab
      • Check "Always show menus"
      • Uncheck "Hide extentions for known types"

100th Post!

This is the 100th Blogger Post for me.
Yea! ;)

Note: Some past posts have been deleted. Example: content they linked to was no longer available.

Thursday, March 12, 2015

The Ideal Case for an iPhone

The ideal case for a seasoned iPhone (like the iPhone 5) would be at least this:
• Should be similar-to / strong-as an OtterBox.
• Should have it's own (non-stick) screen protector, like the OtterBox Defender.
• Should have it's own battery to supplement the phone's.
• It's lightning connector to the phone should be MFi certified w Apple.
• Should have a Qi wireless charging coil built-in.
• Should have a wired charging port, either USB micro or Apple lightning.


Nice optional, but not critical features would be:
• Would have both charging ports available to accept either USB micro or Apple lighting.
• An independent on-the-case LED battery meter for the case battery.
• An independent on-the-case LED flashlight.
• A UBS power out port, so you could charge something else.


Thursday, February 26, 2015

R.I.P. GTalk

One of Google's best products, Google Talk for Windows died today.

Sad because this was really the best all-around IM client for Windows. Short sided of Google to try to push everyone to their "hangouts". Why can't they co-exist?

Wednesday, January 14, 2015

Don't Trust Wireless Keyboards

Yet another reason not to trust wireless keyboards.


Don't trust wired ones either - regularly look for passive dongles between your kb and your PC.