Miner Phil

The place where I unearth useful bits



Zend Framework

February 28th, 2013

So, I took the plunge today into the Zend Framework

http://framework.zend.com/manual/1.12/en/learning.quickstart.intro.html

Read the rest of this entry »

Some Minecraft Seeds

February 8th, 2013

I had the hankering to play some Minecraft today. So, I started generating survival maps and found this one with a village nearby (first time I ever found a village!). Just turn east you’ll see it from where you spawn:
Read the rest of this entry »

JQuery Bootstrap: Better than Sliced Bread

February 3rd, 2013

This weekend, I learned a lot about life. I learned about GRAILS’ native security plugin, I learned about how Netbeans is just like pre-Windows XP (just reinstall when it stops working!), but most importantly, I learned about a really awesome JQuery plugin called Bootstrap.

The website describes it as a “Sleek, intuitive, and powerful front-end framework for faster and easier web development.” And my oh my, is it ever! To put this in perspective, I spent the greater part of yesterday simply battling CSS and handling multiple resolutions when all I had to do was include this framework in my project and BLAMMO, insta-kill.

I’ve given up on the project, but I’ve considered it a lesson learned: use Bootstrap! You won’t regret it!

Groovy in Netbeans

January 30th, 2013

Not too long ago, I started using a framework called GRAILS, which meant learning Groovy. To my delight, Groovy is a groovy language!

I’ll save my explanation for a later post. For now, I leave you with this article describing how to use Groovy in a classic Java program using Netbeans. Enjoy!

http://netbeans.org/kb/docs/java/groovy-quickstart.html

Python Enumerate

January 7th, 2013

I find myself programming in a variety of languages these days. Today, I found a nugget of information pertaining to retrieving the index of a for-each-loop’s iteration.

 Python |  copy code |? 
1
data = ( 'a', 'b', 'c' )
2
for i, f in enumerate( data ):
3
    print "%d => %s" % ( i, f )

From:
http://zerokspot.com/weblog/2007/03/12/for-loop-with-index-in-python/

Remote Laptop Video Chat Station

December 16th, 2012

So, a while ago, I blogged about a Remote Laptop Carrier made out of Lego’s and controlled using a Lego Mindstorms NXT to be used for my family’s New Years’ Eve party this year.

I had a bit of a reconsideration to the design after thinking about the amount of space this thing would need to run around. Simply put, there isn’t enough room for 25 people and a klunky remotely-controlled robot in my parents’ home. So, I brainstormed a bit, and came up with this:
Read the rest of this entry »

Card Cataloger

December 14th, 2012

I have a lot of Magic: the Gathering cards. A LOT. Okay, so I exaggerate, but it’s more than I care to manually catalog myself.

So, on a recent 10-hour trip back home from vacation, I brainstormed on how I can accomplish this without painstakingly pawing through each card.
Read the rest of this entry »

Tutorial: A Blog?! How You Do Dat?!

December 10th, 2012

A friend recently asked me how I started my own blog. Good question!

Before you even think about starting a website, figure out what it is you’re wanting to do. You could start a blog, manage a forum, sell your vintage tube socks, the sky’s the limit!

I decided on a blog because that best suited how I was going to use it. I write posts, categorize them by subject matter, and publish them. This doesn’t mean I can’t change my blog into a forum later, but it does give me a direction to start moving in.
Read the rest of this entry »

Tutorial: Help! My Computer is Dying!

December 8th, 2012

No, not my computer. This is something I hear said a lot. Generally, what happens is someone has a computer that hasn’t been opened in a while and still has the original bloatware installed from when it was first bought.
Read the rest of this entry »

PC Games I Currently Enjoy

December 5th, 2012

Here are a few games I still enjoy in some regard.
Read the rest of this entry »