Tuesday, November 16, 2010

C3DL Build System - 0.2 Release

Well, today is the day to drop the second release version of the build system for the C3DL library. In this new version I've updated the build system to allow users to decide whether or not they want to include the debugging utilities when they download the library.

Now I've been having some permission issues with matrix, so the actual web interface may or may not work...
You can give it a try in my test box over here C3DL Build System Tester.

All the source code and library files can be found in my github repo over here: Github Repo
*In the coming days I plan to move the system into the main C3DL repo at Cathy's request*

Looking forward to 0.3 Release, I'm planning to allow for more customization in regards to which parts of the library you can include / exclude. More on this as it develops!

Tuesday, November 9, 2010

Spawning a google map from a web page

I looked through some of the google maps API tutorials and found this bit of sample code that you can change around and modify to suit your needs. I've also made it so you can make a map pop up when you click on an object on your web page. Check out my mini demo here:

Google Maps Demo

And if you want to delve deeper into the API check out their docs here:
Google Maps API Tutorial

Crash course in HTML5 Video

Thought this might be helpful for anyone looking to hop into HTML5 video quickly

HTML5 Video

Tuesday, November 2, 2010

Sorting Algorithm Animations

Just a cool little site I found while studying for DSA

Sorting Animations

Dreaded ^M problem

Just making a quick post for myself in case I encounter this problem in the future

vi -b myfile.sh
:1,$s/^M//g

Quick info: when moving files from windows to unix you may end up getting funny character information in the file. In order to see these characters in vi, we've got to use the -b switch. The second command listed above will automatically find those symbols and remove them.

**The ^M is actually [ctrl]+v and [ctrl]+M**
Source and more information

Thursday, October 21, 2010

C3DL Build System - 0.1 Released!

First of you can find the system at my github repo --------> Here
The project homepage can be found ----> Here

For this release, the build system incorporates two modes. One which downloads a full, human readable version of the C3DL library, and a minimized version which has had all the comments and white space removed for the sake of size.

If you want to test this system out for yourself, go to the git hub repo and download the system. Open up the web page contained within the download and choose to download the full or minimized version.

*Note this system is designed to be used on a linux system, so either host it on a linux server or run it local through your favourite distro*

**Also don't forget to set the permissions for the c3dlbuildbot or else you'll just end up with an error message!**

Update: Minimized version to be added in upcoming patch due to time constraints

Updating Local repos from Github

I had Steven contribute a web interface to my C3DL build bot the other day, so I had to get my git to update to the new changes on Github.

I'll make this a short post, I had a bit of trouble getting my local repo to update.

I tried using
- git fetch - This basically just ran but I saw no results, and nothing actually changed so not totally sure what happened.
- git push - This gave me an error message when I tried running it just like so:

So, finally I figured out my dilemma, if you've only created one repo it *should* be named "origin". To be sure use the command
git remote -v - This will give you a listing of all the current remote repos stored by Git, and their symbolic names in the first column that you can use.

So in my case by updating my push command, it ended up becoming
git pull origin master - Which to decipher means, I'm pulling from my origin remote repo and merging it with my local master branch, if you're using multiple branches here is where you would change master to whichever branch you're working on.

So much for short post ufta.