Blogs
tortoise svn 7.1 asking for password on windows 7
Last week I updated to tortoise svn 7.1 on my desktop. Everything seemed to be working right, but it kept asking for my password every time I connected to a ssh+svn repos even with a connection to the server via pageant (version .60). So I was forced to type in my password every time I connected to the server.
Turns out that I needed to update to pageant version .62 and problem solved.
CSS double border using box-shadow
Getting a double border with a different color doesn't leave you with may options.You can use border-style: double or outline: 1px solid blue. But I wanted the double border only on one side, so I decided to play around with the box-shadow rule. Check out the jsfiddle below. I'm using the x and y offset to achieve the effect. Depending on your target element you will have to adjust the x/y offset to match the border-width: width; Its not perfect but it might work in your layout/design
Overflow menu a jQuery UI Widget
I decided to turn an earlier post idea (See http://jebaird.com/blog/using-jquery-create-overflow-menu-seen-google-wave ) into a jQuery UI widget. Its based on the google wave menu.
formConditons - jQuery UI widget that maikes building dynamic forms easier
Creating dynamic forms can be time consuming. Hiding one field based on another field value is pretty easy. But when you have to set up a form with many inputs showing and hiding based on may different input values your code can get ugly really fast. formCondtions plugin attempts to make your life easier by providing a standard api to get your form code under control.
HTML5 Canvas Image Randomizer
I wanted to decrease the sizes of my pages on my blog with out changing my design. I had been using css sprites and gziped css + with base64 encoded images but due to my design my page size was 1500k on an empty cache. My blog was like this for over a year. But in the past few months my pages started to seem like they were loading slower and slower. So I decided to write a small script that randomly places images on an html5 canvas. It can also rotate, add color overlay and scale the images. You might find it useful to create a randomly generate header or footer to your site.
Trigger all events on an element using jQuery
triggerAll is a simple plugin that will allow you to trigger all the events attached to an element and or collection
(function($){
$.fn.triggerAll = function(){
return this.each(function(){
var $this = $(this);
$.each($this.data('events'),function( k, v){
$this.trigger( k );
})
});
}
})(jQuery);
Fixing exhaust / blower fan (ADDA Model AD2512LB)
I have a Li Lian v2100 plus case that i bought 5 years ago. Everything about the case screams quality except for the exhaust/blower fan( ADDA Model AD2512LB). The first blower that came with the case died about a year after I got the case. After looking for days I was unable to find a replacement. So for the next 3 years or so I ran with out it. Then I did another system build that produced a lot more heat than my last build so I was forced to try to find another replacement. I was lucky enough to find one on ebay for around 20 bucks. The replacement worked great for about a year till it started making a rattling noise. After trolling around looking for another replacement I decided to try to fix my self. Hopefully this might save you some of the trouble I went through.
Colorize - a PHP class to swap color in images
Colorize is a simple PHP class that allows you to supply template / source images and easily replace color(s) in them and save them as copies. It could be useful if you are building a theme generator for a site or framework. Or if you have to replace the same colors in images with another color.
Changing the background color of a ckeditor instance
ckeditor is great once you get past the steep learning curve. Lately I have been looking for a way to change the background color of the editor / where you enter in the content on the fly. If you google "ckeditor change background color" you will find that most results suggest changing the background color using a theme stylesheet witch works for most cases. For my use case this wasn't going to fly. So after exploring my ckeditor instance in firebug I stumbled across this.
Create your Instance
Dragtable - A jQuery UI Widget to re-arrange Table Columns via Drag & Drop
Being able to re-order table columns has been something that I have always wanted to do. Because of a tables' markup you can't just use the jQuery UI sortables widget. After seeing akottr's dragtable plugin I was inspired to create a jQuery UI widget similar to his plugin. I set out with a few design goals; Flexible API, very responsive column drag(works with well with tables that have +1000 cells) and a easy to customize css framework.