January 2011
3 posts
Snow leopart halted on boot
Suddenly this morning my osx stop working. From booting darwin with -v, I found something wrong with the disk. Something like fsck things.
As suggested by someone on board, I boot with SL install disk and run disk utility to fix the permission error. Unfortunately this won’t fix the problem. I still can’t get into the system.
I tried with safe mode too, -x. Still, it doesn’t...
Converting text with different charset, utf8 and...
This one is a common problem that I could not solved months ago or even more than a year ago. I usually give up with mixing charset problem that occur in database. Lucky, in past few days I’m working with Arabic, Dutch and French websites. It give me some knowledge (and problem too) how to deal with them.
Okay … here is a few line of codes that I’m looking for so long and...
December 2010
7 posts
Looking for svn export git equivalent command
So apparently the answer is “no.”
—
Basic command:
git archive master | tar -x -C /somewhere/else
git archive master | bzip2 >source-tree.tar.bz2
—
Add exclude:
git archive —format=tar —prefix=myproject-${VERSION}/ ${RELEASETAG} | bzip2 -9 > ${CURRENTDIR}/myproject-${RELEASE}.tar.bz2
.gitattributes export-ignore .gitignore export-ignore
—
...
Completely moving from svn to git
Thanks to github that introduce to better version control called git. After two weeks working on it, I feel confident to move completely from svn to git. I wish I can host my projects solely with github. But the pricing for private project force me to find alternative solution.
I found a few names as alternative. They are :
Unfuddle
Codebase
Assembla
XP-Dev
CodaSet
Repository Hosting
...
Forking project on github
What I really like about github compared with other similar services is that it allow to fork someone else project / repositore. Forking project give full control as if it is your own without worrying about writing permission.
On top of that, as the owner of original project, he has ability to see what changes are made by forked project. The great thing about this is that he can commit the...
November 2010
6 posts
ddlang, php language engine
I develop my own php language engine as a result of getting frustrating of compiling gettext files. I love gettext and its tools. But I hate to compile it everything I made changes. It also bothering and confusing many clients.
ddlang still using gettext .po file, but rather than compile to .mo file, ddlang with read .po file directly. As an advantage we can see immediate result of changes we...
ddcurl on github.com, a web scraping wrapper
My first repository of Git (version control) on GitHub.com. Everything look good, compared with svn, git is so much easier. But I miss a good TortoiseSVN tool. I wish in future, git has similar tool like TortoiseSVN. Now I use both. Git for open source project and svn for paid project.
Here is my codes that usually I use to scrape the web. It offer normal fetching (GET), form POST-ing, and login...
i just realized that tumblr doesn’t have zip file uploader … too bad
tes2
another post for fb
testing tamblerr .. look nice so far