Archive for September, 2009
Wednesday, September 30th, 2009 by Jesper Rønn-Jensen
Here is a short one-liner that really annoyed my colleagues today. I set my mac to read aloud all changes in the repository since yesterday: git log –pretty=format:”%an commit %s, %ad.” –date=relative –since=yesterday |say if you remove the “say” command in the end it’s actually pretty readable: pagerbak commit VA17, 34 minutes ago. pagerbak commit […]
Tags: Code, git, Humor, logging
Posted in Code, git, Humor, Web Development | 1 Comment »
Tuesday, September 29th, 2009 by Jesper Rønn-Jensen
I learned this nice little hack to bypass the standard browser setting that normally prevents background images from being printed. The hack makes use of converting the background-image to a list item with an image. /* Hack, to trick the browser to print another logo Unfortunetaly, Firefox on Windows doesn’t show logo on print — […]
Tags: CSS, hack, webdevelopment
Posted in Code, CSS, Web Development | 8 Comments »
Monday, September 28th, 2009 by Jesper Rønn-Jensen
I had to clean up a public Trac ticket db where anonymous tickets are allowed. I had to issue commands like this: trac-admin . ticket remove 58 I keep forgetting the shell syntax for doing a loop over numbers. But actually a ruby script was just right for the task: ruby -e “(49..75).each{|i| %x(sudo -u […]
Posted in justaddwater.dk | 2 Comments »
Wednesday, September 23rd, 2009 by Jesper Rønn-Jensen
This post is probably highly irrelevant unless you work at Capgemini and want to use the internal nordic applications in Firefox. Read on if you want to access systems like CTR (time reporting), Event calendar, Skills database, PDR, Project forms or similar applications in Firefox. Problem is that the systems are not accessible at all […]
Tags: Accessibility, capgemini, firefox, greasemonkey, login, workaround
Posted in Accessibility, Browser, capgemini | 1 Comment »
Monday, September 21st, 2009 by Jesper Rønn-Jensen
Sometimes, when doing web development, we forget that not everybody are as familiar with the web jargon as ourselves. This example from Pixum (internet photo developer) shows a good detail: The status message from Pixum gives immediate feedback that makes it easy to go to next step Note that the status message contains a link […]
Tags: e-commerce, Usability, User experience
Posted in Usability, User experience, Web Development | 7 Comments »
Friday, September 18th, 2009 by Jesper Rønn-Jensen
After running into some trouble with getting a Greasemonkey to work, I just wanted to share this list with you of things to look out for when your Greasemonkey script does not seem to run. What are the common pitfalls you see around. I’ll gladly add them here. I am trying to get a Greasemonkey […]
Tags: greasemonkey, Web Development
Posted in Web Development | Comments Off on Greasemonkey Debugging Tips: How to Determine Why your Script Is Not Running
Wednesday, September 16th, 2009 by Jesper Rønn-Jensen
I ran into the challenge the other day to style a<button> element to make it look like a link (with underline and everything). Unfortunately, the <button> element does not react to text-decoration: underline; But according to a discussion at the CSS Creator forum, there is a way out: I was just messing around with it […]
Tags: button, CSS, HTML, input, Web Standards
Posted in CSS, Web Development, Web Standards | 1 Comment »
Wednesday, September 2nd, 2009 by Jesper Rønn-Jensen
I was reading up on the good old HTML specification and discovered a feature I had always wanted — and it’s already there:
Creating widths of columns that will work like percentages, but will also pay attention to any small, fixed-width columns.
Take a look at HTML’s proportional widths and amount alignment features.
Tags: HTML, tables, Web Development, Web Standards
Posted in HTML, Web Standards | 15 Comments »
Tuesday, September 1st, 2009 by Jesper Rønn-Jensen
I made this addition today after (once again) struggling with option groups for a nested Rails model. My solution: create a new tag for FormOptionsHelper: grouped_select http://gist.github.com/179075
Tags: Code, rails, Ruby on Rails, Web Development
Posted in Code, Ruby on Rails | 1 Comment »