HTMLgen is a class library for the generation of HTML documents with
Python scripts. It's used when you want to create HTML pages
containing information which changes from time to time. For example
you might want to have a page which provides an overall system summary
of data collected nightly. Or maybe you have a catalog of data and
images that you would like formed into a spiffy set of web pages for
the world to browse. Python is a great scripting language for these
tasks and with HTMLgen it's very straightforward to construct objects
which are rendered into consistently structured web pages. Of course,
CGI scripts written in Python can take advantage of these classes as
well.
Tclwebtest is a tool to write automated tests for web applications.
It provides a simple API for issuing http requests, dealing with the
result and assume specific response values, while taking care of the
details such as redirects and cookies.
It has some basic html parsing functionality, to provide access to
elements of the result html page that are needed for testing.
TclWebtest should be suitable for testing larger chains of user
interaction on a web application, for example a full ecommerce
ordering session.
Tclwebtest could visit an ecommerce site as
anonymous user, add some products to its shopping cart, check out
the cart, register itself as user and enter a test address etc.
The test script could also include the administration part of the
interaction, by explicitely logging in as site admin, reviewing and
processing the order, nuking the test user etc.
Turn tabs of your choice into permanent tabs. PermaTabs can't be closed
accidentally no matter what you click (even actions like "Close other tabs"
will not affect them) and will stick around between sessions.
Ideal for keeping URLs you use often, always one tab away. Also, ideal
for picking up specific articles where you left off during a previous session.
From first installation PermaTabs includes three random sample tabs
(from a built in list) to get you started. Maybe you'll discover a useful site
you never knew about?
Adding or removing a permatab is simple - right click a site's tab,
and check/uncheck "Permanent Tab".
Must read: one of the default permatabs installed on first installation
is an affiliate URL to eBay.com. You can of course remove this and the other
sample permatabs, and create your own (which is the whole idea).
Torbutton 通过一键点击的方式来启用和禁用 Tor。它向状态栏添加一个面板,“Tor Enabled”
(绿色)或“tor Disabled”(红色)。用户可以点击来切换状态。如果用户(或者是其他扩展)改
变了代理设置,改变会自动反映在状态栏上。
有些用户也许会选择一个工具栏按钮,而不是一个状态栏面板。这样的按钮已经包含在内了,要添加
它可以在工具栏上右击,选择“定制....”,然后拖动 Torbutton 图标到工具栏上。在首选项里有
一个选择用来隐藏状态栏面板(工具->附加软件,选择 Torbutton,点击首选项)。
较新版本的 Firefox 能通过 socks 代理来发送 DNS 解析,如果该特性可用,Torbutton 也会
利用这一特性。
Author: Scott Squires
bdfresize - a tool for resizing BDF format font
Bdfresize is a command to magnify or reduce fonts which are described
with the standard BDF format. If bdf-file is not specified, it reads
from stdin. Bdfresize outputs the result to stdout in BDF format. Some
COMMENT lines are inserted to the result font. FONT name is modified
depending on the resize factor if the name is described in XLFD format.
SIZE, FONTBOUNDINGBIX, SWIDTH, DWIDTH, BBX and some property lines are
also modified. Other lines are copied from source. If a syntax error
occurs in a source font, bdfresize notices it and stops the whole
process.
Bdfresize is a free software under the terms of the GNU Lesser General
Public License version 2. See the COPYING file for details.
Hiroto Kagotani <kagotani@cs.titech.ac.jp> made the original version
(1.4).
Gtk2 has a powerful, but complex MVC (Model, View, Controller) system
used to implement list and tree widgets. Gtk2::Ex::Simple::List
automates the complex setup work and allows you to treat the list model
as a more natural list of lists structure.
After creating a new Gtk2::Ex::Simple::List object with the desired
columns you may set the list data with a simple Perl array assignment.
Rows may be added or deleted with all of the normal array operations.
You can treat the data member of the Simple::List object as an array
reference, and manipulate the list data with perl's normal array
operators.
A mechanism has also been put into place allowing columns to be Perl
scalars. The scalar is converted to text through Perl's normal
mechanisms and then displayed in the list. This same mechanism can be
expanded by defining arbitrary new column types before calling the new
function.
Prima is an extensible Perl toolkit for multi-platform GUI development.
Platforms supported include Linux, Windows NT/9x/2K, OS/2 and UNIX/X11
workstations ( FreeBSD, IRIX, SunOS, Solaris and others). The toolkit
contains a rich set of standard widgets and has emphasis on 2D image
processing tasks. A Perl program using PRIMA looks and behaves identically
on X, Win32 and OS/2 PM. The toolkit includes a visual builder ( VB ) and
a graphic pod viewer utility ( podview ). The examples are installed into
perl site in Prima/examples directory.
A 'hello world' code is as simple as follows:
use Prima qw(Application Buttons);
Prima::Window-> create(
text => 'Hello world!',
size => [ 200, 200],
)-> insert( Button =>
centered => 1,
text => 'Hello world!',
onClick => sub { $::application-> close },
);
run Prima;
The purpose of keyboardcast is to allow you to send keystrokes to multiple
X windows at once. This allows you, for example, to control a number of
terminals connected to different but similar hosts for purposes of mass-
administration.
You can also select non-terminals. If you come up with a reasonable use
for this ability I'd be interested in hearing about it.
The program can select windows to send to either by matching their titles
(using a substring) or by clicking on them (in a method similar to GIMP's
screenshot feature).
The program also features the ability to spawn off multiple instances of
gnome-terminal executing a single command on multiple arguments (for example
executing 'ssh' on several hosts). The gnome-terminals are invoked with
the profile 'keyboardcast' if it exists (so, for example, your font size
can be smaller).
Class to transparently deal with the conversion between filters, wavelength,
frequency and other methods of specifying a location in the electro-magentic
spectrum.
Astro::WaveBand tries to determine the natural form of the numbers such that a
request for a summary of the object when it contains 2.2 microns would return
the filter name but would return the wavelength if it was not a standard filter.
In ambiguous cases an instrument name is required to decide what to return. In
really ambiguous cases the user can specify the unit in which to display the
numbers on stringification.
Used mainly as a way of storing a single number in a database table but using
logic to determine the number that an observer is most likely to understand.
Numerical comparison operators can be used to compare two Astro::WaveBand
objects. When checking equality, the "natural" and "instrument" methods are
used, so if two Astro::WaveBand objects return the same value from those
methods, they are considered to be equal. When checking other comparisons such
as greater than, the wavelength is used.
WavPack is a completely open audio compression format providing lossless,
high-quality lossy, and a unique hybrid compression mode. Although the
technology is loosely based on previous versions of WavPack, the new version
4 format has been designed from the ground up to offer unparalleled
performance and functionality.
In the default lossless mode WavPack acts just like a WinZip compressor for
audio files. However, unlike MP3 or WMA encoding which can affect the sound
quality, not a single bit of the original information is lost, so there's no
chance of degradation. This makes lossless mode ideal for archiving audio
material or any other situation where quality is paramount. The compression
ratio depends on the source material, but generally is between 30% and 70%
(generally lower for typical popular music and somewhat better for classical
music and other sources with greater dynamic range).
The hybrid mode provides all the advantages of lossless compression with an
additional bonus. Instead of creating a single file, this mode creates both
a relatively small, high-quality lossy file that can be used all by itself,
and a "correction" file that (when combined with the lossy file) provides
full lossless restoration. For some users this means never having to choose
between lossless and lossy compression!