Archive for category Code

Convert DVD to mp4 for Free with HandBrake

If you need to convert videos to mp4, mkv or avi. Use HandBrake: http://handbrake.fr/?article=download

Its great for getting those videos converted.

No Comments

Open Source Video Compression w/ Film Redux

The need to compress video continues to grow.However so does the number of programs that help you do this… but why pay. Open source is your friend.

Instructions for the future, as there is a problem right now : Follow this blog to see about updates and progress.

http://forums.macrumors.com/showthread.php?t=584869&page=3

If you own a mac and have xcode installed. Go here: http://transcoderredux.svn.sourceforge.net/viewvc/ then click film redux, scroll to the bottom, download the tar ball.

After that extract the contents. Navigate to /transcoderreduc/FilmRedux/FilmReduc.xcoderproj

Double click it, let XCode start. Then click build and Go.

You will then find the program @ ( /transcoderreduc/FilmRedux/build/Release/filmredux) which you can then move to your applications directory.

No Comments

CakePHP: ACL Menu Component

Once again Mark Story saves the day: ACL Menu Component

No Comments

Share your code = Good Karma

So GitHub is a place for people upload share and collaborate on code:
http://github.com/

No Comments

CakePHP - Configuring ACL, Setting User Groups integration with Auth

I started with Cake about a year ago and was mostly just playing around with it. Well i ended up building a website using it, but of course i didn’t understand a lot about Cake. So i am now needing to retrofit it with all the pieces i should have initially configured.

I recently got Sessions working which was pretty simple just following [FUTURE POST].

Now, i am in the process of Configuring the ACL component and getting it to work with the Auth Component. [FUTURE POST]

So of course where do i start: Always IRC. irc.freenode.net #cakephp.
From inside there i was pointed to a few resources.

I decided to go with Mark Story’s version as his simple enough and would suffice and I had no clue about which one was better to go with.

At this point i learn about Baking. I can’ t believe how simple life can be with Cake. Wish i would have know about that earlier. Sad thing is that i will have to do a bunch of work to update all the things that were not done correctly the first time.

More Soon

Using the Cake Console to Assing ARO’s.
So to set my self to have the same access as Admin: ./cake acl create aro Admins User.4

No Comments

Installing a Code Syntx Highlighter for Word Press

I started to play with Syntax Highlighting today:
I came across this : http://wordpress.org/extend/plugins/wp-syntax/ Seems to work nicely but you have to be in HTML Mode and if you switch back and forth you can loose your code snippet.

I ended up disabling the Visual Editor, which of course i can re enable for future posts.
Below is a Test:

<div id="foo">
<?php
  function foo() {
    echo "Hello World!\\n";
  }
?>
</div>
No Comments