Quantcast
Channel: Adam Zwakk
Browsing all 10 articles
Browse latest View live

Query of the day: Meal Times

I have a table like this: id name starttime endtime 1 Breakfast 01:00:00 11:00:00 2 Lunch 11:00:00 16:00:00 3 Dinner 16:00:00 23:00:00 This query will figure out which time range the current time fits...

View Article



Use Media Queries in IE6+

Recently I had to use Media Queries to handle a responsive site so that it could be viewed in mobile. I really didn’t want to redo it all so it would work in IE, so I found this amazing time saving...

View Article

Login remotely to a MySQL server through terminal

You don’t need SSH access, just use this command: mysql -h db.server -u user -p dbname You’ll need mysql installed on your machine to run it. If you’re on a Mac, you can install mysql through homebrew...

View Article

Snippet: Remove item from Array in PHP

To find the string ‘foo’ inside the array $array and remove it, you can do this. unset($array[array_search('foo', $array)]);

View Article

Titanium: Application Installer abnormal process termination Android solution

Just want to post a solution to an error I was getting when I was trying to build my Titanium app for Android. I always got this error [ERROR] Application Installer abnormal process termination....

View Article


OpenELEC and Raspberry Pi

I’ve been an enthusiast of XBMC and HTPCs now for a couple years now and I’m almost always looking for a more efficient way to stream/watch my media across different devices in my apartment (my current...

View Article

Snippet: Group By with Collections in BackboneJS

Here’s a way to group your collection data via exact attribute values using BackboneJS and UnderscoreJS. this.categories = _.groupBy(this.collection.models, function(row) { return...

View Article

Microsoft Surface Pro, or how I learned to stop using Apple products

So, I quit my job about a month ago to start working at Digital Extremes (by the way, play Warframe) and finally I was able to rid myself of Apple devices. The only reason I had a Macbook pro in the...

View Article


Ripping Blu Rays and DVDs is a chore

I’ve been ripping a lot of my personal DVD and Blu-Ray collection to be put on my NAS system instead (see my multiple posts about how XBMC is awesome). I usually use Handbrake or MeGUI to encode to...

View Article


Image may be NSFW.
Clik here to view.

Gigabyte Brix Pro and Hyperspin vs GameEx

I recently acquired a Gigabyte Brix Pro (this one) and decided to turn it into an emulator/steam powerhouse. For what it is, its pretty impressive for its size. I’m able to fit an mSATA drive (64gb)...

View Article
Browsing all 10 articles
Browse latest View live




Latest Images