Windows Display Hot Keys on Mac

Windows has a few great hotkeys for window arrangement.  It is now possible to have those same key combinations on Mac (and much more, actually). Some basic examples from Windows would be…

  • Win+Left arrow: Snap to the left half of the screen
  • Win+RIght arrow: Snap to the right half of the screen
  • Win+Up arrow: Maximize the window
  • Win+Down arrow: Minimize/Restore if it’s maximized

To do this, grab a copy of Divvy by Mizage.  Once installed, you can set up all types of crazy arrangements.  And, to help get you started I’ve created a set of hot keys for you.  Just open the text file, from the link below, and paste the contents of the file (the URL) it into the “address” box in Safari (you must use Safari):

divvy-shortcuts-20151212.txt

You can grab a trial copy of Divvy from Mizage’s web site or buy it from the AppStore.  Here’s a link to the product page, just in case:

http://mizage.com/divvy

Enjoy!  =)

World’s Easiest Egg Salad-Like Stuff

If you’re gonna try this you should know two facts:

  1. I hate egg salad, hard boiled eggs, and any type of egg yolk; and,
  2. I have no idea what is used to make actual egg salad.

I just whipped this up one day and kept making it since.

 

Since I usually just toss all of this into a bowl, I have no idea about the actual measurements.  However, I shall show a few pics as I… well… toss it all into the bowl.

 

Two hard boiled eggs yields about enough for one large sandwich…

IMG_0003

Sprinkle in enough paprika to cover the eggs and bottom of bowl…

IMG_0004

Drizzle in some mustard…

IMG_0005

Somewhere around 3 to 5 splashes of Cholula Hot Sauce…

IMG_0006

Grind in a dusting of sea salt over any area covered by paprika…

IMG_0007

Do the same with the black pepper…

IMG_0008

Add a small scoop of mayo (about the size of one of the eggs)…

IMG_0009

Use a knife & fork to chop everything…

IMG_0010

Keep cutting & chopping until the chunks are small enough to mash with the fork…

IMG_0013

Mix and mash with the tines of the fork…

IMG_0019

That’s about it…

IMG_0020

Enjoy!  =)

Extract Photos from Google (and free up space)

I hate paying for online photo storage… Google, Apple, whomever.  So I normally let my phone backup the photos and then suck them down to a hard drive to save space.  And, while I normally use Dropbox for this, I recently found about 6GB of photos in Google that I had forgotten about.  Now, it is possible to setup Google Drive and Google Photo Backup to automatically sync with your Mac or PC, but there actually is an easier way:  Google Takeout

With Google Takeout you are able to select which items you want and pull down an archive of those items.  The best part is that there are no downloads or installs required.

Here’s a link to the Google Takeout Settings page to help get you started:

https://takeout.google.com/settings/takeout

I hope this helps.  =)

Change Network Type to Private in Windows 8.1 & Windows Server 2012 R2

This is one of the most annoying issues in Windows these days.  If you’re comfortable with PowerShell, changing the network type from “Public” to “Private” in Windows 8.1 and Windows Server 2012 R2 is relatively easy.

First, you will need to be an an elevated PowerShell session.  You can get there by right-clicking on the PowerShell icon, and selecting “Run as Administrator.”  However, if you are already in a non-elevated PowerShell session, you can spawn an elevated session using the following command:
Start-Process WindowsPowerShell.exe -verb RunAs
Next, we need to identify the network InterfaceIndex.  Let’s issue the command:
PSH> Get-NetConnectionProfile
…[snip]...
Name : Unidentified network
InterfaceAlias : vEthernet (Local-10)
InterfaceIndex : 18
NetworkCategory : Public
IPv4Connectivity : LocalNetwork
IPv6Connectivity : LocalNetwork
In this example, the interface has an index of 18.  To elevate this specific network to Private…
Set-NetConnectionProfile -InterfaceIndex 18 -NetworkCategory Private
That’s about it.  I hope this helps someone.

Prevent Sublime from Opening Old Windows

Whenever I use my “Open with Sublime” context menu (shortcut menu) to open a folder with Sublime Text, it has this annoying habit of opening a previous window behind the new one. There’s an easy fix for this.  Edit your User Settings (Preferences > Settings > User) and add the following values:

{
  "hot_exit": false,
  "remember_open_files": false
}

 

This is a quick screenshot of the problem this fixes:

Sublime Opening Multiple Windows

 

Once these settings are in place, the only window to open will be the window you want.

On a related note, here is the script to open any folder or file using the shortcut menu in Windows with Sublime Text 3:

Open with Sublime v3.bat (zipped file)

Privacy Policy

In short, this site contains factual information, personal opinions, and humorous posts from the author, Fredrick Lackey (Fred Lackey) and are considered public to the world.  Any comments or items you submit on this site are also considered public to the world.  Your comments are subject to moderation and will appear at the sole discretion of the site owner which, of course, is also Fred.

From Microsoft to MEAN Stack

Here’s one for the ether…

CodeSmith Templates (Including MEAN Web Service)

I’ll stick this here for right now, however the link points to a fairly useful set of templates to allow .NET developers, like me, to quickly bootstrap a complete MEAN Stack API web service from an existing SQL Server database.  I regularly make updates and have been using them without issue for months.

Some features the templates provide:

  • Generates full Mongoose / MongoDB models from SQL Server
  • Index-based proxy operations … no index = no method
    • Helps protect against wasteful ad-hoc queries
  • Identity to UID conversion
    • Use int / bigint during dev & UID in production
  • DTO & data field name alternates to minimize wasted bytes
  • Audit trail support including row version and user reference
  • Non-destructive deletes … locked away instead of blown away
  • And, oh yeah, convert SQL Server to MEAN Stack and JavaScript!

Anyway, they’re just floating around out there currently.  Eventually I’ll throw up a walkthrough video somewhere.  In the meantime, if you find them, feel free to use them.

 

Easier Dates for Programming

The past few months have found me seriously investigating open source technologies for development… more specifically, the MEAN Stack (MongoDB, ExpressJS, AngularJS, and NodeJS). I started on this path to find better front end technologies however, the more that I did, I am finding countless techniques to improve the dev experience in the Windows and .NET world as well. One prime example of this is the use of UNIX Dates.

All of us have been challenged with dates at one point or another. Whether we’re having to escape characters for a RESTful query or query string, or maybe trying to save space by switching from DateTime to Date in our SQL database, or even just parsing dates from a file, they can be a pain… or, at least, increase the hoops we have to jump through. In my opinion, UNIX Dates solve many of these issues… even in .NET and Windows.

Basically, a UNIX Date is an integer representation of the number of seconds between now and January 1, 1970 (notice I said “seconds” and not “milliseconds”). And, yes, this means using an integer will make them not as precise as a DateTime (using a decimal will take care of the milliseconds) and they won’t span the entire range of available values as a DateTime will within SQL Server. However, for most of today’s LOB apps, these integers cover a good 99% of what we commonly need.

From a space perspective, they have an immediate benefit within SQL Server: they provide precision and yet, when using an integer, take up half of the space compared to a DateTime value (4 bytes vs 8 bytes). For audit columns alone, this chops a load off of each table… especially those annoying association tables where the audit columns might constitute most of the space consumed.

The biggest benefit of UNIX Date stamps, in my opinion, is when it comes down to handling them. Math becomes a breeze since you’re calculating one numeric versus another. Formatting and parsing is simple compared to a date string… the value is either a valid number or it’s not. And, of course, any time you’re working on a cross-platform app, like something in AngularJS or NodeJS, libraries like MomentJS handle them as a first-class date object.

So, for me, even in SQL Server, unless I need ultra-precision, I’m gonna start using the UNIX Date format when storing dates. If I need something cosmetic, for a report or UI, I can easily parse it on a view or computed field.

Hey, Mr. DJ!

During the last few years of the 80’s I worked as a DJ.  That slice of my life was one big ego trip… being under age and working along adults, watching me control hundreds of club rats with every move of a fader, having someone in a new city recognize my voice from the radio.  I loved every second of it.  Unfortunately, as with many childhood and teenage hobbies, life decided they would be put on hold… indefinitely.  It’s now 27 years later (yes, “twenty seven”) and I’m starting to get the itch again.  Granted, there’s a 99.9% probability that it’ll all be for fun.  Still, why not?

So much has changed in the nearly-three decades that I’ve been out of it.  It’s almost impossible to find an instrumental or A capella track to mix with.  More genres exist that muddy the waters for actually finding music.  Every hack out there (which, I guess would include me right now) has access to the record pools where, back in the 80’s, I remember being proud when I was finally granted access to them.  Oh, and the biggest change of all is that virtually everyone has switched to digital formats with software replicating everything that was difficult to learn back when I was starting.

For me, as confusing as this is going to sound, the most challenging area is the actual music.  I remember countless moments where I’d hear something… a down-tempo song, a phrase, or even a jingle from a television commercial… and I’d instantly have various mixes pop into my head.  Some where comical.  Most because of a natural transition between two tracks.  They key is that there was no actually thought involved.  I was having fun.  I knew the music.  It all just kinda flowed.  Sadly, that’s not happening anymore.

There’s another change that I’m not sure how to describe.  I’m actually finding it challenging to understand some of today’s genres.  Several of them seem to blur.  Various record pools classify tracks in different genres than other pools.  Tracks with upbeat tempos show up in more relaxed or traditionally down-tempo genres.  Back in the ’87, I never gave the genre of a track a thought.  In fact, I don’t even recalling hearing the word “genre” until sometime in the mid-90’s.  Back then, I was just playing what I liked and what I heard.  It was a trip mixing songs together that had absolutely no business with another.  For example, I remember mixing a cardboard 45 (the small records for you kids out there) of a McDonald’s promo song with the instrumentals from artists like Tone Loc and Debie Deb.  And, although JJ Fad was “rap,” Salt-N-Pepa was “hip-hop,” and Jody Watley’s albums were on “R&B” charts, it was effortless to mix all and keep the party moving… all without ever having to worry about a single genre.

Wow.  I’m venting quite a bit here.  Not good.

Hmm… these are some fairly critical / fundamental issues to have.  Kinda pathetic actually.

On a more positive note, because of where I am in life, everything else is fairly easy.  Clearly, funds are not an issue at this stage in life, so I can afford good quality gear (starting out on a Pioneer DDJ-SZ with Serato DJ).  Because of the years spent working with audio, running sound, and playing in ProTools, the gear and software are incredibly simple to understand and work with.  And, thanks to the internet, Facebook, and folks like Johnathan Lewis (aka “Ellaskins” or “the DJ Tutor”), there is no shortage of instructional material and brainstorming forums.

So, where to begin?  I guess the correct answer is “everywhere.”  The challenges with the tracks and genres are from spending the past 27 years working in an office and basically losing touch with what’s out there.  The skills needed to run a controller are COMPLETELY different than using sampling keyboards, turntables, and tapes.  So, pretty much everything is gonna come down to actually doing it… continuously listening to what’s out there (and what’s COMING out) combined with hours each day of just playing and making mistakes.”

I guess that’s enough rambling for now.  If anyone finds this post, I’d happily welcome any advice or wisdom you’d care to impart.  Time to go practice and enjoy… after work, of course.  =/

Edit (October 2nd @ 11:44 AM)
Small correction to my rant.  The skills aren’t “completely” different.  That wasn’t the right choice of words.  I guess more accurately was HOW I am using the gear is different.  Back then I was mixing 90% of the time and dropping in an occasional sample.  Highly complex mixes where edited offline and then played back.  I guess what I’m trying to do now is more live and more complex in general… probably because of what I have at my disposal compared to back then.

 

Geek Love: PlayOn & PlayLater

This is THE tool that allowed me to remove cable TV and not miss it at all.  I absolutely love it.

Time-Sensitive Note:
At the time of this writing, PlayOn & PlayLater are being sold as a bundle for 50% of their normal price.  And, they have a 30-day money back guarantee.  With the 50% promo, the price of buying both products with a lifetime license is less than the cost of one month’s cable bill.  I would grab yourself copies ASAP before the promo ends.

Their ads say it best… watch cable TV shows without paying for cable… legally!  From a functionality perspective, that is exactly what PlayOn does.  However, what their ads do not tell you is how great the product and people actually are.  I love the combination of a well-designed application coupled with a dedicated team who are willing to bend over backwards to assist.  That combination… that polish… is the reason I am growing to love PlayOn and why I proudly purchased a lifetime license for all of their products.

First, there are two undocumented features I love most about their products…

Idiot-Proof Software
Maybe not the most politically correct term to use, but their software really is “idiot proof.”  I am confident that anyone with a 3rd grade education can install and use their software without ever reading a manual.  All of the complex logic is buried within the software and is hidden from the user.

Powerful
As of December, I’ve been writing software professionally for 31+ years.  Along the way I’ve had to find very creative ways to pull in content from places where, admittedly, nobody ever expected the content to come from.  As an expert in this area, I can tell you that these processes are incredibly complex and, quite often, a moving target.  Most applications importing content only do so from one or two sources.  And most of those products have a polished SDK or API to assist them.  Once you start doing what the team at PlayOn are doing the challenge and complexity increases tenfold.  Every source requires a whole new way of thinking and adds load of complexity.  Well, the folks at PlayOn have successfully done this almost 100 times just for these products alone!  The beauty is that they have neatly hidden this complex problem-solving logic behind the scenes so the user never has to think about it.

Basically, the company offers two products…

PlayOn : www.playon.tv
A small service that you install on a Windows PC.  It runs in the background and allows you to magically watch movies and cable TV shows in the rest of your home OR on your mobile device while you’re traveling.  Just install it, reboot your computer, turn on your TV, and start watching… even if you do not have cable.

PlayLater : www.playlater.tv
In short, PlayLater is a DVR for PlayOn.  Simply open it up, browse the channels and shows you are interested in, and click record.  PlayLater will pull down the movie or TV show and convert them for offline viewing.  If you’d like you can automatically import them into iTunes (or burn them to DVD, move them to a hard drive somewhere, etc., etc., etc.).

When I initially purchased PlayOn & PlayLater, my goal was to supplement the HD antenna I had recently installed.  After paying for satellite and cable for decades, I decided to cut the cord.  I installed an array of antennas to pull in HD channels along with dedicated Windows Media Center PCs, network tuners, and NAS for strong videos.  My family and I then convinced ourselves that we did not need the cable stations (National Geographic, History Channel, A&E, etc.).  Unfortunately, after hundreds of dollars and a week of work, we could not receive ABC.  And, although we could receive most of their content via Hulu, there were two shows that my family and I would miss.  My purchase of PlayOn & PlayLater was solely for us to receive the two shows from ABC that we did not want to do without.  However, since purchasing PlayOn & PlayLater we have not touched the antenna array or equipment even once.  It really is that good.

Since PlayOn & PlayLater were not meant to be primary services for us, not much money or time was invested in them.  In fact, they were basically installed on a laptop to play with them and never removed.  Both products require so little resources that there wasn’t any reason to move them to a high-powered computer.

The quality of the picture has also been great.  Our primary viewing area is a 120″ screen with a DLP projector.  Powering the projector is an AV receiver and an old Sony BDP-S790 blu ray player that we’ve had forever (again, not a lot of time or expense was put into PlayOn as it wasn’t meant to be the center of our entertainment).  Even at 120″ the picture quality is near perfect on everything we have watched.  (Note: It works with almost every device on the planet… every current game console, Smart TVs, mobile devices, Roku, etc., etc., etc.).

Speaking of perfection, let us talk about their support team…

Remember how I said how creative a software developer must be to pull in or acquire content from unusual and unexpected places?  And, remember how I mentioned that each source presents new challenges?  Keep this in mind for a second.  In short, every single time that a publisher or TV station tweaks their site, the team at PlayOn must adapt to the change.  They could work for days or weeks comparing every tiny detail of their notes or source code to determine what exact tweak from the publisher was responsible for breaking things.  Again, keep this in mind.  It will make sense in a moment.

A handful of episodes, from one specific TV show, from one specific station was giving me problems for a two days.  It happens to be a show that I love and I happen to be anal enough to want every episode downloaded (using PlayLater of course).  I spent two days clicking buttons, comparing content, tinkering with settings, and trying to understand why these few episodes were being such a pain.  For me, what made this tolerable is their team working with me every step of the way… even at 2 AM.

As a side note, there’s also something parents should take note of… built-in parental controls at the click of a button.

There’s not much more to say.  The product speaks for itself… HD quality cable TV, great features, powerful capabilities, incredibly easy to setup, and an outstanding support team.  In short, PlayOn and PlayLater make it easy to finally cut the cord and ditch your cable and satellite provider… without even needing an antenna.

Watch Internet Videos on your TV with PlayOn. 30 Day Money Back Guarantee.