An Olde Time Photoshoot with Friends

 
0 Kudos
Don't
move!

We all showed up, hungover, at Tony’s Olde Time Photo and started picking out our outfits. Everyone picked whatever they wanted from the photos on the wall, got dressed, picked up two or three guns and lined up against the bar. HOLD IT!

Github Release: CiviCRM-PPI-PayMover-Payment-Plugin

 
0 Kudos
Don't
move!

For work, I had to develop a payment processor plugin for CiviCRM to integrate PPI PayMover into the eCommerce / CRM / Drupal system.

I’m not sure the need for this, because when I first built this, I couldn’t find a single thing on the Internet related to this project.  That is why I am releasing my code on github.

CiviCRM-PPI-PayMover-Payment-Plugin on Github

The project takes a little it of setting up.  You need the PHP SDK from PPI, those aren’t my files to share but you can get them if you have an account with PayMover.

Then you need to insert the payment process into the database, those instructions are included in the README file.

After that, place the PayMover.php file into your CiviCRM install.  Then enable the processor through the CiviCRM interface.

 

Github Release: TwitterRSS-Enhancer

 
0 Kudos
Don't
move!

Github page for TwitterRSS-Enhancer

My first release for Github, ever. Hooray!

A need came along for me to have an RSS for twitter status updates.  That was a tough enough challenge as Twitter decided to hide this feature.  After so digging I found you can get a Twitter RSS feed using this link:

http://api.twitter.com/1/statuses/user_timeline.rss?screen_name=cvanderlinden

As you can see by that twitter provided RSS, it includes the screen name at the front, and also doesn’t have any “twitter syntax highlighting.”

All my code does is, strip the first characters with the username because they are not needed.  Then takes all usernames, hashtags, and links and rewrites them as clickable links.

Here is an example of what the RSS feed looks like after having my code rewrite it:

http://cvanderlinden.com/wp-content/uploads/twitter.rss (not updated to current date – just an example)

Our SVN Development/Release Process

 
0 Kudos
Don't
move!

I’ve been working with my team to create a new development and release process for our Moodle 2.x code.  We’ve been using SVN for a number of years, so we can save the SVN Vs. GIT argument until another date.  For now, this process is based on SVN.

We developed a new two-week release process, in which every two weeks we have a new production release.  This makes our turn around time for releasing new features, bug fixes and enhancements quite quick, or at least quicker than it used to be.  I’ve created a graphic to show how our process works but that can actually be more confusing than me just explaining how we do things.

Step 0: Create a trunk

mkdir trunk
svnadmin create trunk

Step 1: Add all your files to the trunk, commit trunk

# cd trunk and add files
svn ci -m "Initial Commit"

Step 2: Create your first branch – copy trunk to new branch

svn copy svn+ssh://[email protected]/path/to/svn/trunk svn+ssh://[email protected]/path/to/svn/branches/dev-1 -m "Initial Branch for dev-1"

Now you have a trunk which in this process we are going to use for production releases, and a dev branch which we are going to use for development

After all the development on the dev branch has finished, we do a code freeze so we can push the code to beta for testing.

Step 3: Code freeze, create new branch from trunk, merge changes
First checkout your trunk and dev-1 branch and update them, if you’ve done this then just update them with svn up and skip this checkout phase

svn co svn+ssh://[email protected]/path/to/svn/trunk .
svn co svn+ssh://[email protected]/path/to/svn/branches/dev-1 .

Create new dev-2 branch

svn copy svn+ssh://[email protected]/path/to/svn/trunk svn+ssh://[email protected]/path/to/svn/branches/dev-2 -m "Initial Branch for dev-2"

Merge dev-1 branch to dev-2

cd branches/dev-2
svn merge svn+ssh://[email protected]/path/to/svn/branches/dev-1
svn ci -m "Merging changes from dev-1 to dev-2"

Resolve any conflicts

Now release your code from trunk to your beta server and test test test.

NOTE: It’s important to create your branches from trunk or else you might run into conflicts because the revision numbers won’t match

Step 4: Production release day, merge all changes and release

First checkout your trunk and dev-1 branch and update them, if you’ve done this then just update them with svn up and skip this checkout phase

svn co svn+ssh://[email protected]/path/to/svn/trunk .
svn co svn+ssh://[email protected]/path/to/svn/branches/dev-1 .
cd trunk
svn merge svn+ssh://[email protected]/path/to/svn/branches/dev-1
svn ci -m "Merging changes from dev-1 to trunk"

Resolve any conflicts

cd branches/dev-2
svn merge svn+ssh://[email protected]/path/to/svn/branches/dev-1
svn ci -m "Merging changes from dev-1 to dev-2"

Resolve any conflicts

Now you can release trunk to production.

Here is the confusing diagram that I have created for our two week SVN release/development process.

NOTE: I want to make it clear that this process is by no means the only way to do this, nor is it the best.  Please leave comments if you have any questions or just want to discuss this further.

 

Toasted Tuna Subway / Worst Night of My Life

 
1 Kudos
Don't
move!

We went to Subway for lunch yesterday and I switched up my usual Cold Cut Combo for a tuna on flat-bread.  I stole the idea from my roommate, Cam Kung.  Now, usually when I get my sandwiches I get them toasted, so as per usually the guy asked if I wanted it toasted, and before I even though about it, I replied “Yes.”  The sandwich artist then stared at me with a slightly confused look, and said, “With the tuna on it?”  “Sounds good.”

I sat down to eat this glorious sandwich, but decided I should only eat half, and then I can eat the other half later.  Well the day went buy I and I never ate the other half, not until almost six hours later.  This was obviously not a good idea.  The sub had been sitting at room temperature for too long and I think the bacteria started spawning on my sandwich.  I spent the entire night in pain, while trying to sleep.  I got maybe about an hour if you add up all the minutes, and remember hallucinating random things at night.  Switching between the cold shivers, and the hot sweats.  Finally at about 7 AM, after I exhausted my supply of Tums, I took two Ibuprofen which seem to be helping, which is why I can write this post without crying out in pain.  I am going to try to get some sleep now, hopefully I don’t wake up for a long time.

 

PHP, Perl, Python, Ruby

 
0 Kudos
Don't
move!

Just saw this article, and needed to share it. http://hyperpolyglot.org/scripting

A side by side reference sheet for PHP, Perl, Python, and Ruby.  Definitely useful since I know a lot more PHP than Ruby.  Easy to look up equivalents for each language.

Game of Thrones: Season 2

 
0 Kudos
Don't
move!

Game of Thrones, what else can be said at this point in time?  If you aren’t watching, you better start.  Of course, like all things, it’s not for everyone, but if you think buy CBD products like it, you probably will.  I live in a house with four male roommates all similar in age and yet I am the only one who has seen the first season, they decide to do other activities like sports or gardening using tools as battery chainsaws for this.  One, Jonny Lee, has read some of the first book but lost interest near the end and would rather advocate the series, The Sword of Truth.  The others have all expressed interest, but it’s hard to get everyone organized and take an hour out of their day, especially when Game of  Thrones is a show that you have to pay attention to, or else you’ll never know who they are talking about when they mention the name, “Daenerys Targaryen.”

After watching the first season, multiple times, I decided I would get the book and read through to get some extra info on the story before the season starts.  Wow, how closely related can the two be?  So far, 10 chapters in, it’s almost identical to the show.  A few extra bits thrown in, with extra dialog and more information about characters past, but for the most part, the same.  This is exactly what I was hoping for, I love the show and that is why I am reading the book after watching the show.  I have about 80 more chapters to read before the premiere of season two on April 1st, but I’ll be ready.

Product Review: X-mini II Capsule Speaker

 
0 Kudos
Don't
move!

Product Information

Sitting in my office with Mike when he suggested that we get some sort of iPod dock for the office to get some music in here.  He mentioned how his Bose Wave system might be a little bit of over kill for this 14 by 10 office, so I decided to look for something a little smaller… and cheaper.  My first stop is usually FutureShop.ca (Canadian) to check out what is readily available, if nothing good comes up at FutureShop I’ll usually look around some other sites like Amazon, or look for product reviews to find something decent.  I went to the Speaker Dock section and sorted it from price, Low to High.  The cheapest one, only $14, but looked like junk.  Then just the next one, with 5/5 reviews from all people reviewing it, I figured it had to be decent.  So just like that I ordered it, $28.

Skip forward over the weekend.

I arrived back at the office on Monday, and there was the package.  Super small, I was worried it was going to be a throw-away item.  Never judge a speaker by it’s size. I opened it up, and was immediately blown away by it’s compactness and cool look.  You can twist it close or open and can fit in your pocket, or your purse because we all know you can’t fit anything inside a girls pocket.  It comes with a USB charger with an extra 3.5mm input jack, plus the main 3.5mm input jack.  Over 8 hours of playback on one charge.  I plugged in my Android and started to blast some tunes. This little guy has some guts.  I didn’t turn the volume up past half way, and it was filling the room with some half-decent sound.  I’m not about to tell you it’s the best audio you’ll hear as it’s only a mono device, but it packs a decent punch and is definitely better than the little speaker in the back of my phone.  You can also daisy chain a bunch of them together to get greater sound.  I am super excited about my new little toy and just thinking of the possible uses.  Camping, beaches, pre-game pump-up music, singing in the bathroom.

The one thing I would like to see is wireless over Bluetooth, and guess what.  Coming soon… the new version with Bluetooth capabilities.

If you are looking for a cheap external speaker for your iPod/iPhone/Android/Windows Phone – You have to check out this X-mini II.

Grooveshark Playlist: fun.

 
0 Kudos
Don't
move!

I’m sure a lot of you have heard of the band fun. With their newest hit “We Are Young”

I wanted to share some music from their last album, Aim and Ignite.

Check out this grooveshark playlist I made for there songs, which also includes “We Are Young”.

GrooveShark Playlist: fun.

fun. – All Songs by CVanderlinden on Grooveshark

Time to set sail

 
0 Kudos
Don't
move!

I’ve decided that after these many years it’s time for me to have my own website.  I plan on posting a giant mix of things including Drupal and WordPress related things, but also music, images, videos and other completely unrelated things.  This ship is ready to leave the dock and sail into the blue yonder that is the Interwebs.