Fonts for coders

guda | J October, 2009 | 12:19 am

guda@guda-laptop:~$ sudo mkdir /usr/share/fonts/myfonts
guda@guda-laptop:~$ cd myfonts/
guda@guda-laptop:~/myfonts$ sudo cp *.ttf /usr/share/fonts/myfonts/
guda@guda-laptop:~/myfonts$ sudo fc-cache -f
guda@guda-laptop:~/myfonts$

Font sources:

 

Make X11 fonts available to Java

Perform one of the following:

  1. Open /etc/profile and add a new environment variableJAVA_FONTS=/usr/share/fonts/truetype
    export JAVA_FONTS
  2. Open font.properties file under jre/lib directory, uncommnent and set to the appropriate font directoryappendedfontpath=/usr/share/fonts/truetype

http://www.hongkiat.com/blog/category/inspiration/

guda | J October, 2009 | 5:35 pm

http://www.hongkiat.com/blog/category/inspiration/

Mod Rewrite, mod_rewrite

guda | J October, 2009 | 11:56 am

Found great summary of mod rewrite here

http://stackoverflow.com/questions/286004/hidden-features-of-modrewrite

 

I aways forget the params for mod_rewrite so here is the summary

  • [R] force a redirect (default 301)
  • [R=302] force a 302 redirect
  • [L] stop rewriting process (see note below in common pitfalls)
  • [NC] case insensitive matches

CSS round corner box – the easy way :)

guda | J October, 2009 | 5:52 pm

http://www.neuroticweb.com/recursos/css-rounded-box/