JOSH KRAJNAK

Archive for the 'Developing' Category


Restoring Linux Desktop 0

Linux is a solid OS, and it has endless possibilites as far as customizing the appearance of your desktop. One possiblilty is botching your desktop making it practically useless or incredibly slow. Linux Journal had an article on how to wipe out all customizations and I opted to steal and share the command. Enjoy.

rm -rf .gnome .gnome2 .gconf .gconfd .metacity

Augment Reality 2

This was done with Papervision and FlarToolkit. Excuse the poor quality, my work logo is on the box, and I need to hang up my khakis… LOOK AT THE BOX!

 

Now Your Turn!

If you have a webcam and a printer…

  1. Print This: Marker
  2. Go Here:  Link
  3. Hold the paper up to the webcam and move it around

Custom Rich Text Editor Component 5

The generic Rich Text Editor that came with Flex 3 works, and it works well… But it also produces extra html that we dont need. Igor Costa provided methods that clean up the html in his blog post, I’m simply taking those methods and adding getters and setters so that we can use the component in multiple places without having to re-paste his code everywhere. Once the CustomRichTextEditor is in place, set “xhtml=’foo’ ” where “foo” will have the clean html. Enjoy, Reuse, Share.

Click the image for the demo.


Click To See Code

Firehose what? 0

Thats right… there is a firehose mode in SQL. It’s pretty much sweet.

Firehose

If anybody stumbles upon this gem, and is curious on how to proceed, its easy… Scroll to the bottom of the table you are viewing, and then scroll back up to where you want to edit. I know it makes no sense… but guess what… when your at the bottom of the table… you are no longer in firehose mode, so who cares =)