Roger's woze

April 30, 2008

ie woe

Filed under: Uncategorized — rogerdpack @ 1:38 am

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 :)

firebug console for IE

Filed under: Uncategorized — rogerdpack @ 1:37 am

http://www.getfirebug.com/lite.html

xp woe

Filed under: Uncategorized — rogerdpack @ 12:57 am

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

Filed under: Uncategorized — rogerdpack @ 12:44 am

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

April 29, 2008

css border in one

Filed under: Uncategorized — rogerdpack @ 3:55 am

border: 20px double rgb(250,0,255);

April 28, 2008

google spreadsheet formula

Filed under: Uncategorized — rogerdpack @ 3:28 pm

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)

April 27, 2008

mysql woe

Filed under: Uncategorized — rogerdpack @ 1:57 am

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.

April 25, 2008

rmagick on mac os x leopard port

Filed under: Uncategorized — rogerdpack @ 12:18 am

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
>>

April 23, 2008

git see what you are about to push

Filed under: Uncategorized — rogerdpack @ 8:05 pm
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 

April 19, 2008

how to do arbitrary textures [transparent] in seashore

Filed under: Uncategorized — rogerdpack @ 5:25 am

convert to grayscale, then use the new texture on the transparency level–it might work!

Older Posts »

Powered by WordPress