Monday, February 14, 2011
The GUI Dilemma
Wednesday, July 23, 2008
Page Saving Plugin for Firefox - Scrapbook
One thing I seriously miss in Firefox is to save a html page in its entirety as single file.
I tried spiders and downloaders. However nothing came close to the convenience of CHTML ( Compiled HTML ) made available by IE.
However my faith in humanity was restored when I encountered this great addon for Firefox - Scrapbook. Scrapbook Firefox addon page
A quick look at its features -
Major features are:
- Save Web page
- Save snippet of Web page
- Save Web site [ robot / spider ! ]
- Organize the collection in the same way as Bookmarks
- Full text search and quick filtering search of the collection
- Editing of the collected Web page
- Text/HTML edit feature resembling Opera's Notes
A little more technically scrapbook adds the "spider" feature to firefox allowing to save the pages in categories / folders with tags et al! Now if this isn't awesome I don't know what is. And since its a part of firefox it utilizes its cache to the hilt. No special / additional downloading ( except when you ask it to "follow" links on the page to a certain level. )
Now this goes waaaay beyond the capabilities of chtml. Infact its just perfect if you are a google scout like me and likes to keep notes of things all around. I love it. Give it a try and you'll never save a page like you did again !!
Tuesday, July 8, 2008
Code posting in Blogger
- Use SyntaxHighlighter. The downside to this - some random language would need a separate style sheet.
- Define a body pre.code { style in the blogger template and use the <pre class="code"> in the actual source
some random piece of code I want to paste. And any language !To get the above effect you need to define two things :
- Variable
<Variable name="codefont" description="Blog Code posting Font"
type="font" default="normal normal 110% , Monospace" value="normal normal 110% , Monospace"> - The actual style definition
body pre.code { margin:1em 0.8em 1em 0.8em ; padding:1em 1em 1em 1em; line-height:1.6em; font:$codefont; border:2px dotted green; }
This can be alleviated by doing a replace in any text editor for the < and > symbols and paste the converted html to the "Edit Html" box of blogger. You could even use txt2html if you use Linux ( Am using Ubuntu ).
Hope this helps.Friday, July 4, 2008
Better fonts in Ubuntu with freetype auto-hinter
<match target="pattern"> <edit name="autohint" mode="assign"> <bool>true</bool> </edit> </match>Please note that this text should go before the </fontconfig> tag. So your sample .fonts.conf might look like below :
<fontconfig> <match target="font"></match> <edit mode="assign" name="rgba"></edit> <const>none</const> <match target="font"></match> <edit mode="assign" name="hinting"></edit> <bool>true</bool> <match target="font"></match> <edit mode="assign" name="hintstyle"></edit> <const>hintmedium</const> <match target="font"></match> <edit mode="assign" name="antialias"></edit> <bool>true</bool> <match target="pattern"></match> <edit name="autohint" mode="assign"></edit> <bool>true</bool> </fontconfig>Thats it ! Log-out and log-in to experience the goodness of auto-hinter !