Plugin's Last Updated Column

A New Plugin – Plugin’s Last Updated Column

So Karissa asked me at WordPressKc’s Meetup group if I knew of a plugin that would show when plugins were last updated on the admin plugin’s page.  Right now you’d have to search up the plugin on wordpress.org to find this information.  I didn’t know of a plugin with this functionality, so Karissa suggested that would be a good idea for a plugin.  I told her I would look into this when I get some time.

I finally had some time yesterday to sit down and figure this out.  3 Hours after I started, it was done.  I’ve submitted this to WordPress.org’s plugin repository.

https://wordpress.org/plugins/plugins-last-updated-column/

More information can be found: http://stevenkohlmeyer.com/plugins-last-updated-column/

IMG_20140817_000216-MOTION

Airport Novels, Bone Spur & MJP

Last night I went to Davey’s Uptown in Midtown Kansas City and saw a great show last night. Unfortunately, I was too late to see Airport Novels.  However, I heard they put on a hell of a show from people that did see them play.  I did see Bone Spur and MJP play though.  For my first time seeing these bands, I thoroughly enjoyed both bands.

As well as my first time seeing these bands, it was also my first time going to Davey’s Uptown.  I’m not sure if it’s a Davey’s Uptown thing, or just this evening, but the sets were about an hour long a piece of which I thoroughly enjoyed.

IMG_20140816_225040-MOTION

Bone Spur was super entertaining.  I knew it was going to be a great show the moment I saw 4 guys walk on stage dressed like backwoods hillbillies.

IMG_20140816_225055-EFFECTS

 

They had many great songs, some of which involved lyrics about monster trucks and a Camaro.  They also did some great covers including Hall & Oates, Eddie Money and Van Halen.

IMG_20140817_000216-MOTION

MJP headlined the show.  Their energy was well felt throughout Davey’s.  They put on a great show and Chaz’s (Lead Vocals) energy was very high.  

IMG_20140817_000220

I would recommend seeing these bands to anyone, and it was very well worth the $6 cover at Davey’s.

If anybody is interested in seeing the same line up again, there is another show scheduled for Oct 18th at Davey’s Uptown.

Airport Novels:

 

xinput-list-highlight-touchpad

Fixing Palm Detect on Ubuntu 14.04

For some awful reason, palm detect is off by default, even though it appears to be on in the system settings.  The problem occurs while I’m typing lots of code, or responding to an email.  I’ll be typing along. not paying close attention to where my cursor is.  All of a sudden, everything I just typed, highlights in the midst of me typing, and disappears because my cursor just selected everything and erased it.

After weeks of trying different start up scripts, and changing different settings, I think I have finally come to a conclusion on this issue.  Here are the steps I took to fix this:

First you need to figure out what type of touch pad device you are using according to xinput.  This is done by running:

xinput list

xinput-list

Look for the keyword ‘touchpad’.

xinput-list-highlight-touchpad

Copy the entire text with the word touchpad in it.  This is the name of your touchpad device, as far as Ubuntu is concerned.
Make note of the ‘id’

Now list the properties of your touchpad with the command:

xinput list-props [touchpad name]
xinput list-props {id}

x-input-list-props-touchpad

You’re looking for 2 lines here,  Palm Detection and Palm Dimensions.  As you can see, my Palm Detection is already set to 1, and Palm Dimensions are already set to small numbers.  These are the things you’re looking to change.

To change these settings, you want to type into terminal:

xinput set-prop "[device name]" "Synaptics Palm Detection" 1
xinput set-prop {id} "Synaptics Palm Detection" 1

xinput set-prop "{id}" "Synaptics Palm Dimensions" 5, 5

Obviously, replace the [device name] with you’re specific device name, and also replace “Synaptics Palm Dimensions” with whatever is in your terminal.  Mine was defaulted at 10, 100 for palm dimensions, which wasn’t even close to right.  You’re going to want to keep running setting the palm dimensions until you find something that works for your specific touchpad.

You’re almost done.  Once you find the settings that work for you, you’re going to want to save these settings so they don’t get reset to what they were before on your next restart.  This is done by opening your Dash menu (super button).  Type: Start, and click Startup Applications.

start-menu-startup-applications

Once you have this window open, click Add.

startup-applications-preferences

add-startup-command

You can set the name to be whatever you’d like.  I’d suggest making it simple so you remember what that command is.  In the command box, you paste your command that you have found works for your palm detect.  You’ll want to do this for Palm Detect and for Palm Dimensions.

Now restart your computer and test.  You can see if the changes took by running the xinput list-props [device] command again and seeing if your new settings are there.

I hope this helps you, please comment where it does or not.

PHP Cascading Object Inheritance Defaults

I’m still new to some aspects of object oriented programming.  I’ve been stuck on this one problem for quite a bit now.  I’d like to build a hierarchy of objects, where the child object inherit’s it’s parents and grandparents default property.

It seemed like such a simple thing to do, but the more I messed with it, the more it boggled my mind.  I was trying to extend a base classes and merge the defaults while i add more information to every extended class.   Take for example the following code:

I wanted class C to have the defaults of all parent classes. The above code works and outputs:

Array ( [a] => A [b] => B [c] => C )

Thanks to Stephan Miller for helping me figure this out.

IMG_20140517_235628

Powerman 5000

Powerman 5000 @ Aftershock, Merriam, KS May 17, 2014

I recently got to see Powerman 5000.  This was a good show.  If, you’re like me, and listened to a couple of their albums back in the day, but didn’t know they were still in existence.  Then this will be a pleasant surprise.  They put on a great show.  The energy is great, the opening bands were awesome.  All around this was a terrific evening at After Shock.

Powerman 5000 @ Aftershock, Merriam, KS May 17, 2014

Now, before I go to a show. I like to load up the headlining band’s discography and listen through all their music.  I like to familiarize myself with the music before the show.  So I made a play list on my Google Music account of every song they’ve done in order from newest, to oldest.  The newest single was pretty damn good, and sounded like the Powerman 5000 I knew.

I was super surprised to find the next album was comprised completely of 80’s hair band covers.  Some were pretty good, some were not.  Then the next album in line was mostly a rap album.  This kind of put me off, because this was not the Powerman 5000 I knew.  Well, needless to say I never finished the discography, but I went to the show and it was way better than I could have imagined.

Razor Wire Halo

Razor Wire Halo @ Aftershock, Merriam, KS May 17, 2014

As for the opening acts, Razor Wire Halo killed it.  They always put on a great show, and have lots of energy.  9 Electric was sound pretty good as well.  9 Volt Junkie definitely got the crowds attention and I thoroughly enjoyed their Killswitch Engage cover.

MySQL Current Configuration File

Windows 7 Partitioning

Having trouble getting a windows partitions bigger than 2 Terabytes?  It all comes down to cluster size.  For some reason my windows 7 is using 512 Byte cluster sizes.  When formatting a drive you can change the cluster size to be much larger than 512 Bytes.  They can be set up to 65,536 Bytes.

Cluster size Maximum NTFS Volume Size (bytes RAW)
512 2,199,023,255,040 (2TB)
1,024 4,398,046,510,080 (4TB)
2,048 8,796,093,020,160 (8TB)
4,096 17,592,186,040,320 (16TB)
8,192 35,184,372,080,640 (32TB)
16,384 70,368,744,161,280 (64TB)
32,768 140,737,488,322,560 (128TB)
65,536 281,474,976,645,120 (256TB)

 

To format a volume with an 8192 Byte cluster, use the following command:

format d: /fs:ntfs /a:8192

Replace 8192 with the cluster size you wish to use.

These commands must be ran as Administrator.

To check the cluster size of your current drive volumes, use:

fsutil fsinfo ntfsinfo c:

Replace c: with the volume you wish to check.

 

 

 

 

 

 

 

 

 

 

Source: http://support.microsoft.com/kb/302873

Run as Administrator

To run software with Admin privileges, simply hold ctrl+shift when you launch the application.  If you have UAC enabled, it will prompt you at this point before opening the software.

If you wish to use the mouse, simply locate the software in your start menu. Simply right click on the software and choose Run as Administrator.