Posts

Showing posts with the label html

Convert a Text File to HTML

Image
While considering how to make my shell scripts look better on the web, I started looking at freshmeat.net for programs that would convert source code to html. Then I thought, vim already has syntax highlighting. I wonder if it has a way to convert to html. Sure enough, it can be done with a single command: :runtime! syntax/2html.vim Convert Text File to HTML :runtime! syntax/2html.vim : convert txt to html :h 2html : help about 2html :wq! : write the new file The current file is converted, and an .html extension is added. Once the file is saved, it can be opened in a browser. For more vi tips, check out: http://systemnotesorg.blogspot.com/search/label/vi And the official vim site: http://www.vim.org/tips , Here is a beautiful example of C source code that was quickly converted to HTML, while preserving all of vim's color coding: http://systemnotes.org/download/matrix/matrix.c.html

Fresh release: Vim 7.1

Image
After one year and five days of waiting: a brand new Vim release! This is a stable version. There are many bug fixes and updated runtime files. No amazing new features. Upgrading from a previous version is highly recommended... Note that Vim works on Linux, Windows, Macintosh, and other systems. This is an excellent free editor with syntax highlighting that is great for programming, text manipulation, and HTML editing. If you plan to be a sysadmin, you have to learn vi. I use it for scripting, text editing, and blog posting, among other things. read more | digg story

Enhance your Website with Google Gadgets

Google has some excellent webmaster resources, and some fun and useful gadgets that can be quickly added to a website or blog. Just as with any good design, remember not to over do it. http://www.google.com/webmasters/gadgets/ Here is what Google says about their gadgets: ------------------------------------------------------------------------------ Enhance Your Own Website Add Google Gadgets to your webpage You can now use Google Gadgets to make your webpages even more interesting and useful to your visitors. For instance, you can add your city's current temperature or a quote of the day to your own page. Just pick the gadget you want from our directory of "Google Gadgets for your webpage," customize that gadget, and copy-and-paste the HTML into your page's source code. Then, reload to see the gadget on your page. Find gadgets for your webpage. ------------------------------------------------------------------------------ If you want to find something about cooking...

Top Free Web Site Analysis Programs

There are two basic categories for web site tracking. 1. Online (Embeded Tracking Code) 2. Log Analysis (Software) Onine This type of analysis has the advantage that nothing needs to be installed on the web server. The disadvantage is that every page requires modification. That is not much of a problem for blogs, or generated content, but it can be tedious to modify a large number of pages by hand. Google analytics is free, very simple to use, and produces excellent reports. Here are the instructions from their site: https://www.google.com/support/analytics/bin/answer.py?answer=27323&hl=en_US How do I track a new website? There are two simple steps required to start tracking a new website: the creation of a new website profile, and the addition of Analytics tracking code to all of the pages you wish to track. Create a new profile 1. From the Analytics Settings page, click Add Website Profile 2. Select Add a Profile for a new domain 3. Enter the URL of the site you will be tra...

Use Text Instead of Graphics

Sure we all want a nice looking website, but that doesn't mean you have to use lots of graphics and flash animation. It turns out, you'd be much better off using text instead of graphics. Here's the proof... Use text instead of graphics on your website Nowadays, it seems that every site owners knows how his site should look like: visually appealing, with a large amount of graphics (or even Flash) and, of course, with plenty of images of people, preferably women, preferably barely clothed (or naked). But reality is that what works isn't what people, who barely know anything about web design, think to work. read more | digg story

Absolutely HUGE List of Color Related Sites!

Someone put together a list of just about every color related resource (worth mentioning) in the known universe. Designers rejoice! http://www.colorschemes.org read more | digg story