One Unified Global Perspective
Communications with a Global Perspective
Home
Intro
Contact Us
Voice over IP
PBX Solutions
Services
Support
Glossary
Open Source
Blog
Forum

WebMail





2007 Jun 24 - Sun

Perl Tools

In an earlier article, I wrote about an IP Address Management database. To manage the data framework through the web, I'm thinking it might be well to use Catalyst Web Framework, a Perl based Model/View/Controller designed for data based web infrastructures. An Introductory Article introduces Catalyst use along with Ajax.

In another vein, there is an article on how to do Perl Scripts for Perl-Less People from Cygwin. It looks to be as simple as doing:

perlcc -o foo.exe foo.pl

and then running the result to find the dependent dlls.... then packaging the exe and dlls together and shipping them off to the poor soul who needed the solution in the first place.

[/OpenSource] permanent link


Cygwin Customizations

The default shell for Cygwin uses a DOS command shell, which has limited usefulness. To enhance the console experience, here are some customizations. To enhance the shell prompt, use the Cygwin installer to install 'rxvt'.

The icon that the Cygwin installer puts on your desktop has a link to a start up file. I've put the following into my startup file in order to start up rxvt as the default terminal. As you see, I've also installed 'nano' and set it as the default editor.

@echo off
C:
chdir C:\cygwin\bin
set EDITOR=nano
set VISUAL=nano
set CYGWIN=codepage:oem tty binmode title
rxvt -fg green -fn "Lucida Console-12" -geometry 80x50 -sl 1000 -sb -e bash --login -i

The installer may or may not place a few other relevant files in your home drive: .bash_profile, .bashrc, and .inputrc. These can be found in /etc/skel and should be copied to your home directory. They can then be edited to taste.

For copying text in the rxvt terminal window, simply highlight the text while holding the left mouse button. It will be automatically copied to the clipboard once the mouse button is released. To paste the text, hold the shift key while pressing the left mouse button. This is slightly different from putty, which does not require the shift key to be held. To select a range of words you can double click on the first word, then set the mouse cursor to the right of the last word or letter you want copied, and right-click.

Here is a Cygwin Prompt Here method.

Use cygwin to run crontab jobs.

The following can be added to .bashrc to pipe any command to less (so ls):

#A function to pipe any command to less:
function so {
eval "$@" |less -I~
}

A Cygwin FAQ has some useful comments regarding mkpasswd, Octave, enhanced Bash profiles, X, and csh.

[/OpenSource] permanent link


TACACS + Linux

Up till now, I thought that TACACS use was limited to authentication/authorization of logins and commands on Cisco devices. There is an article at Freemode.net regarding TACACS + Linux for authentication.

[/OpenSource/Linux] permanent link


Trading Site of the Day -- Blog on Blogs: The 24/7 Wall St. Twenty-Five Best Financial Blogs

A site called 24/7 Wall Street, which features "Insightful Analysis and Commentary for U.S. and Global Equity Investors", has an article called The 24/7 Wall St. Twenty-Five Best Financial Blogs. These are good starting off points for further research into the daily markets.

[/Trading/SiteOfTheDay/D200706] permanent link


Debian Sample Network Configuration

For my future reference.

######################################################################
# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
# See the interfaces(5) manpage for information on what options are
# available.
######################################################################

# We always want the loopback interface.
#
auto lo
iface lo inet loopback

# To use dhcp:
#
# auto eth0
# iface eth0 inet dhcp

# An example static IP setup: (broadcast and gateway are optional)
#
# auto eth0
# iface eth0 inet static
#     address 192.168.0.42
#     network 192.168.0.0
#     netmask 255.255.255.0
#     broadcast 192.168.0.255
#     gateway 192.168.0.1

[/OpenSource/Debian] permanent link


Linux Backup Application: Mondo

Mondo, Mindo. To be expounded on shortly.

[/OpenSource] permanent link


Installing XWindows/KDE on Debian

For the initial installation of Debian, I simply do a 'standard' install. No desktop. I may also add database (which is PostgreSQL 8.1), dns, and web server (which is Apache 2.0).

After the reboot, I'll install some basic packages to get KDE running: apt-get install xserver-xorg-core apt-get install x-window-system apt-get install xserver-xfree86 apt-get install xserver-xorg apt-get install x-window-system-core apt-get install kde-core

Running the command 'startx &' will get XWindows going and the KDE personalizer started.

Putting 'startkde' in .xinitrc in my home directory sets the preference for kde. Other possible window managers include gnome, xfce4, icewm, fluxbox, fvwm (loosely ordered by decreasing order of preference).

[/OpenSource/Debian] permanent link



Blog Content ©2008
Ray Burkholder
All Rights Reserved
ray@oneunified.net
(441) 505 7293
Available for Contract Work
Resume

RSS: Click to see the XML version of this web page.

View Ray 
Burkholder's profile on LinkedIn
technorati
Add to Technorati Favorites



June
Su Mo Tu We Th Fr Sa
         
24


Main Links:
Monitoring Server
SSH Tools
QuantDeveloper Code

Special Links:
Frink

Blog Links:
Sergey Solyanik
Marc Andreessen
HotGigs
Micro Persuasion
... Reasonable ...
Chris Donnan
BeyondVC
lifehacker
Trader Mike
Ticker Sense
HeadRush
TraderFeed
Stock Bandit
The Daily WTF
Guy Kawaski
J. Brant Arseneau
Steve Pavlina
Matt Cutts
Kevin Scaldeferri
Joel On Software
Quant Recruiter
Blosxom User Group
Wesner Moise
Julian Dunn
Steve Yegge

2007
Months
Jun




Mason HQ

Disclaimer: This site may include market analysis. All ideas, opinions, and/or forecasts, expressed or implied herein, are for informational purposes only and should not be construed as a recommendation to invest, trade, and/or speculate in the markets. Any investments, trades, and/or speculations made in light of the ideas, opinions, and/or forecasts, expressed or implied herein, are committed at your own risk, financial or otherwise.