To view installed packages by size:
% dpkg-query -W --showformat='${Installed-Size} ${Package}\n' | sort -nr | less
When you want to remove packages remember to use purge
% apt-get remove --purge package name
Wednesday, August 8, 2007
Sunday, August 5, 2007
mac fonts to ttf
I was very interesting in the font used in Eclipse IDE under MacOS, so I was thinking how could I used that font in my web.
After googling, I found out this utility called fondu, http://fondu.sourceforge.net. I downloaded it the macos version then installed it as usual pkg installation. Little bit confusion after installation. Where was the fondu? Looking around in Application found nothing. But, when typing in terminal it did exist there!
The font used by Eclipse IDE called Monaco.dfont. to transfer to ttf, just type:
% cd /System/Library/Fonts
% sudo fondu -show Monaco.dfont
-show is to see what fonts are created using fondu.
sudo needs as you try to create a new file in the System directory where your user does not allow to do so.
should you want to create .afm, just add -afm flag,
% sudo fondu -show -afm Monaco.dfont
Now, I could embed it to the html/css....[next]
After googling, I found out this utility called fondu, http://fondu.sourceforge.net. I downloaded it the macos version then installed it as usual pkg installation. Little bit confusion after installation. Where was the fondu? Looking around in Application found nothing. But, when typing in terminal it did exist there!
The font used by Eclipse IDE called Monaco.dfont. to transfer to ttf, just type:
% cd /System/Library/Fonts
% sudo fondu -show Monaco.dfont
-show is to see what fonts are created using fondu.
sudo needs as you try to create a new file in the System directory where your user does not allow to do so.
should you want to create .afm, just add -afm flag,
% sudo fondu -show -afm Monaco.dfont
Now, I could embed it to the html/css....[next]
Saturday, August 4, 2007
wifi, how dangerous it is?
I forgot the link where I read it, but just for a precautions, should you connect to the Internet through a wifi connection, you need to be carefull!
Someone has just show how vulnerable is a wifi connection, he can stole your cookies then play it back later to login to your gmail account, or other webmail.
One of the solution is to login through an https, for google https://mail.google.com
Someone has just show how vulnerable is a wifi connection, he can stole your cookies then play it back later to login to your gmail account, or other webmail.
One of the solution is to login through an https, for google https://mail.google.com
Subscribe to:
Posts (Atom)