A PHOTO

In OSX 10.7 (Lion) visible scrollbars was removed and it actually works quite well, with the introduction of desktop touchpads.

However one thing that doesn’t feel right is when you encounter websites that implements the css attribute overflow: scroll.

If you take a look at ekstrabladet.dk you will notice 3 colums when you scroll down the page. They actually implements overflow hidden and because of that you wont notice that they contain more data than what is shown because the scrollbars are not visible.

I personally think that overflow:scroll is bad for your html. If you want to have fixed height content but still would like the option to show more, then use a pager.

Is it OSX 10.7 that is broken? or is it scrollbars inline in html doc?

A PHOTO

I’ve for some time been trying to figure out a way to restart Apache from Alfredapp on OSX. Today I, thanks to @arnejoergensen, discovered osascript which let’s you fire commands with administrator privileges.

That said, you still need to type your password, but instead of doing it in a terminal you get a much more refined dialog to do so.

osascript -e “do shell script "apachectl restart" with administrator privileges”

echo “Apache was restarted”

Remember to tick Growl on advanced tab.

This could probably be done in a much more refined way, but it works :)

A VIDEO

Custom AR-15 Ejection Port

A TEXT POST

DrupalCon London

This weekend I attended DrupalCon London.

A VIDEO

EESA Zombie Multi-gun 2011 http://www.eesa.ca/

A PHOTO

I took the survey on http://alistapart.com