not much...
and so much more…
and so much more…
Jan 8th
Recently I in a very “intelligent” manner throwing terminal commands dropped a big Git stash that I had been working for the past… well… alot.
After a bit of googling here is the answer… more of a note-to-self really :p
List all past stashes:
git fsck --unreachable | grep commit | cut -d\ -f3 | xargs git log --merges --no-walk --grep=WIP
then apply stash by commit id to current branch:
git stash apply COMMIT_ID
Dec 11th
Lately at my current contract we have been using a very nice branching model for our Git project repo. Its called Git Flow, and In-My-Honest-Opinion it is a very nice divide-and-conquer process of managing your branching into “features”, “hotfixes”, “patches”… for your project team.
You should have a read: http://nvie.com/posts/a-successful-git-branching-model/
…and from the same nice guy, use: https://github.com/nvie/gitflow
Dec 11th
Here are a few helpful tips I collected online on how to setup your Git that little bit more nicely…
Global ignore file:
echo ".DS_Store" >> ~/.gitignore git config --global core.excludesfile ~/.gitignore
SVN-like shortcuts for often used commands:
git config --global alias.st status git config --global alias.ci commit git config --global alias.co checkout git config --global alias.br branch
Information about the author/commiter:
git config --global user.name "Your Name Comes Here" git config --global user.email you@yourdomain.example.com
Colorized output:
git config --global color.branch auto git config --global color.diff auto git config --global color.interactive auto git config --global color.status auto
TextMate as the default editor:
git config --global core.editor "mate -w"
Opendiff (FileMerge) to More >
Feb 3rd
This one is worth keeping an eye on… just came across http://code.google.com/p/flex-htmlfilter/ Its a neat project for something I was just on and on doing manually for a latest client project.
Some working examples from the author can be found here: http://stephen-m.appspot.com/htmlFilter
kudos to Stephen
Jan 19th
Now this is one that got me looping around for the last couple of hours :-S.
Basically I was trying to parse anchor links in a copy text coming from XML. These links open individual popups which contain detailed information of the word you clicked. All content is client managed, so I needed my links to pass some parameterised ID of the kind of popup to open( there are different kinds ), and the ID of the content it should display… still with me? …good.
So used to Flex 3′s “TextEvent.LINK” … I proceeded to use in my xml
<a href="event:myEventHandler">click me</a>
…which in More >
Nov 11th
var fontList:Object = systemManager.embeddedFontList; Alert.show( ObjectUtil.toString( fontList ) );
Nov 8th
find . -name ".svn" -type d -exec rm -rf {} \;
credit to the guys in this post: http://snippets.dzone.com/posts/show/2486
Sep 18th
Ok, this is a simple reminder for all the times I have to do time operations and always seems to screw something up..
Might aswell admit that Maths was never my strongest subject :-p
Total Milliseconds => hours : minutes : seconds hours = totalMilliseconds / ( 1000 * 60 * 60 ) minutes = ( totalMilliseconds % ( 1000 * 60 * 60 ) ) / ( 1000 * 60 ) seconds = ( ( totalMilliseconds % ( 1000 * 60 * 60 ) ) % ( 1000 * 60 ) ) / 1000
Total Seconds => hours : minutes : seconds More >
Aug 13th
While doing some research googling I just came across a great post about one of the many new Flex functionalities in the 4.0 SDK.
The UndoManager class as the author explains “is a part of the brand new shiny TextLayout framework, but, because it follows a basic Command design pattern, it’s very easy to adopt it to other aspects of your applications and allow functionality that users expect/demand.”.
Anyway… Ill leave you with the article and the great example… Im sure to play with this goody very soon
http://blog.onebyonedesign.com/actionscript/playing-around-with-the-new-undomanager/
Jun 23rd
Recently working on a videochat application I wanted to use my own VPS server for some real world testing.
Version 0.9 RC2 is the current available for Red5… and after fiddling trying to get things going, I found this cool tutorial which worked like a charm.
Credits of course to the original poster: http://www.videochat-scripts.com/install-red5-0-9-on-linux-ubuntu/
My VPS is currently running on Ubuntu “Lucid” 10.04.
First installed required packages one by one: apt-get install subversion apt-get install java-package apt-get install sun-java6-jdk apt-get install ant
Used arrows to browse to the Ok and confirm on jdk installation dialogs.
Verified installed java version: java -version
Downloaded latest Red5: mkdir -p ~/svn/red5 cd More >