2009-12-29

CVS over SSH

Accessing a Remote Repository via a Network (http://www.felixgers.de/teaching/cvs/remote.html) has the following juicy tidbit [HTML3 elements replaced w/ XHTML elements -ed]


Connecting with rsh or ssh:

CVS uses the rsh of ssh protocol to access a remote repository.

CVS uses the contents of the CVS_RSH variable to determine the name of the remote shell command to use when starting a CVS server. If this variable is not set then ‘rsh’ is used. To use ssh set: 

 shell> export CVS_RSH=ssh

Example:  Supposing you want to access the module ’foo‘ in the repository ‘/cvsroot/’, on machine ‘gnu.org’: 

 cvs -d :ext:bach@gnu.org/cvsroot checkout foo

The ‘bach@’ can be omitted if the username is the same on both the local and remote hosts.

2009-12-17

Firebug and JIT

~robcee/ blogs about Mozilla Firefox and related topics.

In the 15 Dec post entitled Firebug and the JIT, cee talks about SpiderMonkey (the Mozilla Javascript engine built in to Firefox) and some potential performance issues with using the Firebug debugging tool addon in Firefox 3.5 & 3.6

Downloadable Web Page Fonts

The article from hacks.mozilla.org is entitled Web Open Font Format for Firefox 3.6

This article discusses using Web Open Font Format (WOFF) font files with CSS to specify fonts for use in web pages. WOFF files are stored on the web server, and downloaded to the client browser based on URL specified by the @font-family CSS rule(s).

From the article: 

This format has two main advantages over raw TrueType or OpenType fonts.
  1. It is compressed, which means that you will typically see much smaller download sizes compared with raw TrueType or OpenType fonts.
  2. It contains information that allows you to see where the font came from – without DRM or labeling for a specific domain – which means it has support from a large number of font creators and font foundries.

2009-12-07

Esspresso - Javacript Mode for Emacs

Esspresso is an Emacs eLisp library for manipulating Javascript source code.

CPP is the GNU C Preprocessor.

How sick is this (FtA):

Just configure your web server to pipe Javascript through GNU cpp:

/usr/bin/cpp -P -undef -Wundef -std=c99 -nostdinc -Wtrigraphs -fdollars-in-identifiers -C

before minifying and compressing it for transmission.

2009-12-01

XHTML Forms Processing using Javascript

http://www.javascript-coder.com/ has some fairly easy-to-understand example Javascript for doing interesting things with the HTML DOM using Javascript.

The site has a number of articles worth noting: