Discovered this javascript MVC framework SpineJS. The ToDo app is extremely impressive. Try and manipulate items as quickly as possible. Tthen close and reopen the browser. Nice.
via Asynchronous UIs – the future of web user interfaces.
Discovered this javascript MVC framework SpineJS. The ToDo app is extremely impressive. Try and manipulate items as quickly as possible. Tthen close and reopen the browser. Nice.
via Asynchronous UIs – the future of web user interfaces.
This post describes a step by step guide on how to combine multiple Subversion repositories whilst keeping individual history (and commit messages).
Exporting from pagefeedbacktool repository the /trunk/public folder and integrating that into the services repository under /trunk/public/pagefeedback:
Dump the repository including only /trunk/public as follows:
E:\Repositories\pagefeedbacktool>svnadmin dump .| svndumpfilter include --drop-empty-revs --renumber-revs trunk/public > ..\services\filtered.dump
However as pathnames are stored as part of the dump (and replacing the path with a texteditor corrupts the dump), we have to include the full path under a different parent directory:
In VisualSVN create a /trunk/public/pagefeedback/trunk/public folder structure (try without the final public if import fails) then load the dump as follows:
E:\Repositories\services>svnadmin load . --parent-dir "trunk/public/pagefeedback" < filtered.dump
The dump is successful but at the wrong path:
currently: /trunk/public/pagefeedback/trunk/public
should be: /trunk/public/pagefeedback/
Open two Windows Explorer windows with both paths side by side, select all the files that should be moved, then RIGHT click drag them to the destination folder and choose SVN Move versioned files here...
Commit from the repository root.
It is now safe to remove the trunk/public folders under /trunk/public/pagefeedback/
Commit again.
Here are some of the most useful coding and workflow tools released recently.
via Useful Coding Tools and JavaScript Libraries For Web Developers
I was fedup with the poor experience of editing my host file, which is often needed when developing websites. So I quickly created an AutoHotkey script for the purpose.
15:03:50 – me: anyone knows a host editor app that works under windows 7
15:04:51 – me: fed up trying to first find the hosts file, then not being able to save because I again forgot to run notepad with admin privileges.
Download @ Host Editor 7 – Hassle free host editing for Win7-XP – DonationCoder.com.
After publishing the previous article about serve.sh – the shell script I created to easily serve websites in development – I made some changes to make it easier to run it from the terminal, for example over ssh. I thought I’d share it with you.
One of the problems with the original script was that it was optimized for a GUI setting – ie. start the script by clicking on it from the desktop. However usually I want to run it from the terminal. I don’t like typing so I added code to make the script available from any directory to the ~/.bashrc:
export PATH=$PATH:~/bin
Then moved it to that path and renamed it to shave another 3 characters off the syntax:
mv ~/Desktop/serve.sh ~/bin/serve
In addition I noticed that prompting which site should be served was just a workaround for commandline arguments, which are now added. It doesn’t check that you entered an argument though. So the new script now requires you to specify which directory you want to serve: to serve the current directory simply run:
serve .
Latest script contents:
#!/bin/bash my_path=`readlink -f $1` sudo rm /var/www sudo ln -s $my_path /var/www echo Now serving $my_path...