Category: Linux
-
Get photos off your Android phone with GPhoto2
Being an ardent Linux user, I researched how I could get photos off my Galaxy SII. This is not possible with MSD (mass storage device) mode which implies a FAT file system and also implies exclusive access to the file system (but your phone doesn’t stop running when you plug it in). You have to…
-
TechSNAP 162 Question on WiFi Roaming
Dear Marlene, Allen and Chris, Catching up on Episode 162 of TechSNAP I heard Marlene’s question. Doing conference style roaming on a small budget tends to be very frustrating, because there are a lot of moving parts that most WiFi-EAP (enterprise grade) systems are pre-assembled with. When you have to assemble your own components, you…
-
Happy Penguins at LinuxFest Northwest 2014 Party
I felt like I had a lot of camera issues at the start (which first was needing to go back home in order to retrieve all my SD cards, pppt.) Indoor pictures are always difficult, and as such, to make these look less like snapshots, I squirted a lot of Sriracha on these. Here are…
-
Keep that Laptop from Racing thru Battery
Linux and Laptops: a long, old story. However, one that with a bit homework, helps get the most out of your battery. Using powertop, you can see your energy usage profile and your device power settings. The downside to powertop is that you cannot “export as shell script.” (Seriously, y u no export?) To get…
-
Resilvering: Just what I want to see
I love replacing failed hard drives. Mostly, because I hate having hard drive failures. root@cholla ~ $ zpool attach -f tank ata-ST2000DM001-9YN164_W1E16BJB ata-ST2000DM001-1E6164_W1E5W99Y root@cholla ~ $ zpool status -v pool: tank state: ONLINE status: One or more devices is currently being resilvered. The pool will continue to function, possibly in a degraded state. action: Wait…
-
uh…remind me how to begin a perl script?
Don’t let me forget to do this at the start of my perl scripts at work: package main; use strict; use warnings; use Carp; $SIG{ __DIE__ } = sub { Carp::confess( @_ ) }; use Scalar::Util; #::looks_like_number; # Un-buffer output $| = 1; # this is pedantic necessity for the following use statements use lib…
-
PH7 Engine – is it really the fix?
This sounds very useful, especially if you consider that PHP is used in embedded environments like MonoWall and pfSense. My big question for larger installation is this: xcache already does a great job at bytecode caching. The largest slowdown in the majority of PHP applications is the relational engine sitting underneath it. After much profiling…
-
Deleting about 24,000 files takes about 5 minutes
$ wc -l zz*txt 24028 zz-discard-paths.txt 78968 zz-keep-paths.txt 102996 total
