Note: These are my currently maintained applications. For for retired apps click here.
CGIC / AJAX - File Upload Status Hack
|
|||
|
This is a quick and dirty hack that allows to obtain status of an ongoing file upload to a multipart/form-data submit via
CGIC library and cgiFormFileName() function. It's an unofficial patch with
limited functionality and obvious security implications. The hack is implemented via SysV shared memory. While one CGIC
based application is receiving a form file, it updates a variable siting in the shared memory. An asynchronous AJAX call to
another CGIC app (or function in the same app) will query for the shared value. This is currently limited to a single
upload input and will not work on Windows natively (requires SysV IPC, may work on Interix or Cygwin). Attached is CGIC
2.05 patch (diff), sample HTML/AJAX page and SHM cgi handler.
|
|
|
cucm2csv - Cisco Unified Communications Manager - Dial Plan Export Utility
|
|||||||||
|
cucm2csv is a tiny utility that allows to dump the dial plan report (phone directory) from CUCM in a CSV format.
While the exact same function is available in the web interface, this utility can do it from the command line, batch or shell script,
so that the current extension to person mapping can be captured and used in a CDR analysis, database or integration
with Active Directory (eg to update the Outlook Address Book). The utility requires IP address and port
of the CUCM server, AXL role enabled username and a file name to output to. Source code is provided
under GPL. Windows version comes in with the required OpenSSL libraries.
|
|
|||||||
homeown - reset Windows home folder ownership/permissions
|
||||
|
homeown is a tiny Windows application that allows system administrators to automate
following tedious task: take ownership, recursively reset permissions to Domain Admins:
Full Control and Owner: Modify.
This is a command line utility that takes full folder path as a parameter and extracts last part as
the username (so the last folder name in the path should equal to actual username). You need to have Domain
Admin rights to execute it. Included is full source code.
|
|
||
Joy2TX - Sample Joystick to PCBUDDY interface application |
|||||
|
Joy2TX
is a simple application that demonstrates how to communicate
with a PC to TX interface, such as PCBUDDY
or SC-8000RF (possibly
SC-8000P/SP)
and controll an RC device (UAV, airplane, robot, etc.) using PC with a
Joystick. The Joystick inputs are converted and send through serial/USB port to
the interface. The basic application allows to control 3 channels using
X/Y/Z joystick axes, it is however very easy to enable the rest unused
channels and use some additional input devices such as rudder pedals or a mouse. NEW: Joy2TX 2.0 BETA Version. Now you have a customizable configuration file and binary exe version. No need for recompile.Get it here.
|
|
|||
MPK - Email Multiple Attachments From Command Line |
|||||||||||||||||
|
MPK
allows to send email attachments from Unix command line or a shell script.
Unlike mpack
and mmencode from metamail
it allows you to encode multiple attachments in to a single mail message. You specify attachment filenames as arguments (wildcards allowed) and optionaly (with -m) provide a text message on the standard input (use the < operator to get it from a file or redirect from a pipe). A base64 encoded multipart message stream is produced to the standard output.
From version 1.3 mpk allows to send SMTP email directly via local MTA. Use -t for
echo "See the attached pictures" | mpk -m -t a@b.c -s "JPEG Pictures" *.jpg
|
|
|||||||||||||||
NCSA Telnet like .screenrc
|
|||||
|
Have you ever used NCSA Telnet for DOS? I certainly liked it's status line with different
switchable screens and few other features. I always wanted to make my GNU Screen look alike.
Here it is! My .screenrc features a nice green status bar, CPU load info and a clock.
Screens are switchable by F (function) keys like virtual consoles, F9/F10 is for Next/Prev,
F8 - Swap, F11 - Detach and F12 - Quit all.
![]()
|
|
|||
Passgen - Password Generator Shell Script
|
||
|
Passgen - A password generation utility written entirely in BASH (Bourne Again Shell).
One day I needed this for a customized adduser script. It can be used standalone or
included as a bash function/procedure. This utility is featured (and further explained) in
Advanced Bash Scripting Guide (HOWTO).
Somebody asked me for a commercial KSH version. It's avaiable as well. Also recently
needed a function in AWK that does the same. Included is AWK script.
Available here: passgen.sh [ Requires BASH 2+ ]
KSH version: passgen.ksh [ Requires KSH88+ ] GAWK version: passgen.awk [ Requires GAWK3 ] |
|
REGLN - Windows Registry Linking Utility
|
||||||||||
|
REGLN is a small command line utility that allows to create Windows Registry
Symbolic Links.
Links are similar in functionality to UNIX/NT filesystem links or Windows file shortcuts.
The best example of a registry link is HKLM\SYSTEM\CurrentControlSet key
which links to one of the ControlSets. The utility accepts
Win32 key names or NT Namespace Paths as parameters. It uses "undocumented"
Native API (NTAPI) functions and yes - it uses the once mysterious REG_LINK value type. Available
are: compiled Windows executables (command line) for Intel (32/64 bit), AMD, DEC Alpha, MIPS and PowerPC
processors, documentation and source code. All distributed under GPL.
|
|
||||||||
say.exe - speak text from command line
|
||||
|
say.exe is a tiny Windows application that speaks out it's own command line.
It's influenced by Mac OS X say(1) command that does exactly same thing.
You can use it in batch jobs, auto start (run key in registry) etc. Required is
Windows XP/2003 or above. For older versions you'll need to install Speech SDK.
|
|
||
TTG - SNMP Text Traffic Grapher
|
||||||||||||||||||||||
|
TTG is a small command line utility that displays current throughput (bandwidth usage)
on an interface of a remote device such as router, switch, firewall, etc., over SNMP.
You can think of TTG as command
line version of STG or a high-interval/ad-hoc query/test tool
for MRTG, etc. The output is very similar to ping(1) command.
You can use it to quickly check/measure traffic before waiting 5 minute cycle when configuring MRTG, as a
means of using the data in text form (eg. copy&paste in to an email or spreadsheet) or just a
general purpose command line network administration aid.
Version 2.1 source code:
TTG allows you to specify: SI prefix k/M/G (default is auto), units bits/bytes (b/B), size of "kilo" which can be either 1000 or 1024 depending on a personal opinion (default is 1000), interval in seconds and count limit. Finally the utility also allows you to list all interfaces of the device and can take interface name, such as "FastEthernet1/1" or it's abbreviation ("fa1/1") instead of OID name/number as the parameter. See the example above.
Statically linked binaries for your flavour:
Statically linked binaries for Itanium IA-64 systems:
Q: Where does the OpenVMS Net-SNMP port come from? A: Tanks to Siemens AG from here. Q: I get zero values every second line of output or more often, or inaccurate readings, eg:
[11:38:26] current throughput: in 0.0 Mb/s out 0.0 Mb/s [11:38:36] current throughput: in 40.9 Mb/s out 39.4 Mb/s [11:38:46] current throughput: in 0.0 Mb/s out 0.0 Mb/s |
|
||||||||||||||||||||
Cisco IPCC / UCCX Full Screen Wallboard
|
|||||||
|
There are several different wallboard applications for Cisco IPCC/UCCX, this one however has a number of unique features.
Namely, instead of being an ASP web page, it's a stand alone Windows executable application that connects to a remote
Contact Center server (or servers) via ODBC. It displays only one specific queue in a full screen mode.
It's main purpose is to be run on an airport style display per each team. And it's free.
Download (v2.3 for UCCX 7.x ONLY):
The wallboard comes in with a configuration file in where you can specify the queue name, odbc source, database credentials, colors, fonts, etc. Included are also installation instructions. Version 2.3 also includes over threshold blinking fields, beep sound alert and an option of arbitrary position on the screen to run several instances on the same LCD panel.
NEW: Wallboard 3.7.2 BETA is available for testing. It supports UCCX 8.x through the IBM Informix ODBC driver. UCCX 9 is not yet supported. The latest version allows to configure 12h or 24h time format and customize panel captions so you can localize them to your needs (eg a non-English language). Available here: wallboard372BETA.zip Feedback: tenox@tenox.tc
Support note: if you are having issues setting it up please download
SqlDbx Personal and connect to the same ODBC source as you defined in the wallboard config file. Make sure
to use the same login credentials. If you are able to connect and browse RtCSQsSummary table then the problem is with Wallboard. If you cannot connect with SqlDbx then you have not configured UCCX or ODBC Driver correctly.
|
|
|||||