I done gone made a scaffolding thing

Announcing [Scaf]foldr

Edgy off-kilter screen shot
Edgy off-kilter screen shot

The long version is over at scaffoldr.beetlejoose.co.uk but in short:

I’ve built a small application to turn an X-Tree like directory structure, drawn in an ASCII text file into a full application structure. The highlights:

  • Create directory structures from ascii files – without Right-Click, New Folder, Rename; Right-Click, New Folder, Rename
  • Basic file scaffolding for known file-types (html, js etc)
  • Include a comment in your scaffolded file, directly from the scaffold definition
  • Download and use external files, directly from the scaffold definition
  • Not Yeoman or Bower

Head over to scaffoldr.beetlejoose.co.uk to try it out. I might have even open-sourced it on BitBucket for others to contribute/make suggestions.

Make a directory and enter it with one command

I’m using the command line a lot more now that I’ve decided to finally learn Git and – powerful as it is – I’m still finding minor annoyances that are easily overcome with a little shell hacking.

Todays annoyance came from not being able to create a directory and automatically enter it with a single command. Easy:

1. Open up your shell’s config file:
[Bash Users]
nano ~/.bashsrc

[ZSH Users]

2. Add the following function:
[Bash Users]
mkcd () {
mkdir -p "$*" && cd "$*"

[ZSH Users]
mkcd () {
md "$*" && cd "$*"

3. Save / Close nano
Ctrl + O -> Enter -> Ctrl + X

4. Start a new bash session
CMD+W to close the current window, CMD+N for a new one

5. Test:
mkcd test1/test2

You should be now in the test2 directory

Notable New Features in the Recent Firefox Updates

Supposedly, 2010 is going to be the year that web developers (and hopefully designers) are going to embrace the power of HTML 5 & CSS 3 and obviously, in order for any of these cool new technologies to actually be visible to the user, our browsers are going to need to implement the rendering of them. As we all know, Firefox is ahead of the game when it comes to implementing new features – whether they’ve been approved by the W3C or not, those wonderful guys over at Mozilla tend to write the code if they like a feature. Safari/Chrome aren’t far behind either (WebKit being my favourite of the rendering engines) it’s only one browser that… do I even need to finish this sentence??

So last night Firefox 3.6 was released and as a diligent web developer, I headed over to firefox.com, downloaded it and added it to my ever-growing list of “browsers I need to keep to test my sites on.” This time, however, I read the FULL feature list rather than just skim reading the exciting stuff and this has prompted me to analyse the latest few versions, the upcoming “cool stuff” in HTML 5 and CSS 3 and draw comparisons, once again, between the different web browsers.

Continue reading “Notable New Features in the Recent Firefox Updates”