Using Flip to Clean Up PHP Files

April 16, 2009 · Posted in Nerdy Stuff · Comment 

Here’s another handy tool for editing .php files for WordPress themes. I suppose this could be used for any .php files, but editing WordPress themes is where I generally encounter this problem. The problem being .php files created by other people using some sort of Windows editor (ie. Notepad). These files can be extremely ugly to look at and a headache to edit.

Thankfully, there is a nice and easy way to fix this. While in the directory for whatever theme you are working on type the following command:
flip -u *.php
You may also want to do this for the style sheet. The code for this would be as follows:
flip -u style.css
It is best to specify which files you want to fix, rather than do a wild card flip (such as flip -u *). Doing a wild card flip could alter the code in files that don’t require changing which could then screw up the code in those files causing you to have a very bad day.

The Pirate Bay Spectrial ~ Final Days

March 19, 2009 · Posted in Nerdy Stuff · Comment 

I sort of got caught up in the “bullshit that is life sometimes” and didn’t get a chance to post any of the Pirate Bay trial updates for the final days. Nothing earth shattering happened and it is such old news now that I’m not even going to bother with updates.
You can read all you need to know at the TorrentFreak:
Pirate Bay Trial Day 9: BitTorrent Is Not Evil
The Pirate Bay Trial Day 10: Calls for Jail Time
The Final Day of The Pirate Bay Trial

The verdict is due on April 17th.

The Pirate Bay Spectrial ~ Day 8

March 3, 2009 · Posted in Nerdy Stuff · Comment 

Day 8 primarily focused on the music and movie industry executives detailing how the Pirate Bay was the cause of all of their monetary woes. You can read all of the whining at the torrentfreak.com.

There were a couple of comments from the day’s proceedings that stuck out for me. They were both from John Kennedy who is the CEO for IFPI (International Federation of the Phonographic Industry). I thought that it was interesting that Mr. Kennedy has no idea how the Pirate Bay even works. And yet he knows for a certainty that the Pirate Bay is to blame.

Kennedy was asked if IFPI has taken any action against the actual sharers of the music made available via TPB, as detailed in this case. He said he couldn’t say and didn’t know who these individuals are. He then admitted to not knowing how The Pirate Bay works so the defense lawyers put it to him – if you don’t understand how TPB works, how can you say they are to blame? Again he was pressed why he took no action against the actual sharers but he said he didn’t know and admitted “It’s probably unlikely we took action.”

The other tid-bit I found interesting was the amount of money the IFPI spends on the “War Against Piracy” – £75 million. Which equals US$105 million at the current exchange rate.

This caused me to take a little look into these two industries to see how bad things really were…
Read more

Facebook ~ Sucking up to its users?

February 26, 2009 · Posted in Nerdy Stuff · 1 Comment 

Once again, after logging into my Facebook account, I was greeted with another message regarding their policies. Apparently they are now seeking input from their members:

Today we announced new opportunities for users to play a meaningful role in determining the policies governing our site. We released the first proposals subject to these procedures – The Facebook Principles, a set of values that will guide the development of the service, and Statement of Rights and Responsibilities that governs Facebook’s operations. Users will have the opportunity to review, comment and vote on these documents over the coming weeks and, if they are approved, other future policy changes. We’ve posted the documents in separate groups and invite you to offer comments and suggestions. For more information and links to the two groups, check out the Facebook Blog.

I suppose they learned their lesson from the enormous amount of bad press they received from their last policy change.

The Pirate Bay Spectrial ~ Day 7: Update

February 24, 2009 · Posted in Nerdy Stuff · Comment 

I just checked out the news over at Wired.com (Threat Level) and read a few more details pertaining to the events in today’s court proceedings for the Pirate Bay trial. The prosecution made a slight altercation to the charges that have been filed against the four founders of the BitTorrent site.

Here is part of the original summons:

“The Pirate Bay consists of three sub-components: an index portal in the form of a website with search functionality, a database with related directory containing the torrent files, and a tracker feature. The tracker feature creates a ‘peer-to-peer’ network of users who want to share the same file. All components are necessary for the users of the service to share files between them.”

Prosecutor Roswall has removed the last statement; “All components are necessary for the users of the service to share files between them.” It is the opinion of some legal scholars that the removal of this statement may mean that the prosecution doesn’t believe that they can make all three of the above mentioned points stick.

Next Page »