Unable to get a div or span to disappear in IE? or to have an effect fade in or what not? Double check to make sure you are closing all your <div></div>’s and <span></span>’s [the ending one, that it]. Appears IE is less lenient than FF for scruff
Monthly Archives: April 2008
firebug console for IE
http://www.getfirebug.com/lite.html
xp woe
gotntldr not found. press ctrl+alt+delete to restart.To fix: create windows xp [fat32] bootable floppy.Copy ntldr, boot.ini, ntdetect.com from the [now corrupt] C drive onto the new floppy.Boot with that floppy!
mounting in linux
to mount a ntfs drive run
sudo mkdir /mnt/ntfs sudo mount -t ntfs /dev/sda1 /mnt/ntfs for a fat32 floppy sudo mkdir /mnt/flop sudo mount -t vfat /dev/fd0 /mnt/flop
css border in one
border: 20px double rgb(250,0,255);
google spreadsheet formula
This one calculates the difference between two numbers and disregards whether one has passed a meridiani.e.
1:00 3:00 => 2 11:00 1:00 => 2 =IF(C1>=B1,(C1-B1)*24,(C1+.5-B1)*24)
mysql woe
mysql> insert into my_accounts (key) values (‘key’);
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘key) values (‘key’)’ at line 1
mysql> insert into my_accounts (zip) values (‘key’);
Query OK, 1 row affected (0.39 sec)
mysql> insert into my_accounts (first_name) values (‘key’);
Query OK, 1 row affected (0.26 sec)
mysql> insert into my_accounts (`key`) values (‘key’);
Query OK, 1 row affected (0.11 sec)
with the fix being the backticks.
rmagick on mac os x leopard port
after installing the gem it don’t work? try this
Rogers-little-PowerBook:mem roger$ sudo gem install rmagick
Building native extensions. This could take a while…
Successfully installed rmagick-2.3.0
1 gem installed
Rogers-little-PowerBook:mem roger$ irb -rubygems -r RMagick
/opt/local/lib/ruby/vendor_ruby/1.8/RMagick.rb:1200:TypeError: superclass mismatch for class ImageList
>> exit
Rogers-little-PowerBook:mem roger$ sudo mv /opt/local/lib/ruby/vendor_ruby/1.8/rmagick.rb /opt/local/lib/ruby/vendor_ruby/1.8/rmagick_bad.rb:
irRogers-little-PowerBook:mem roger$ irb
>> require ‘rmagick’
=> true
>>
git see what you are about to push
git fetch then git log origin/flexpro..flexpro [this after committing it to the local branch] or if you don't think anything has been changed git diff origin/flexpro..flexpro
how to do arbitrary textures [transparent] in seashore
convert to grayscale, then use the new texture on the transparency level–it might work!