These are my links for 29 nov 2012 from 15:24 to 16:55:
PowerShell Commands (CMDLETs) for Active Directory by Quest – The ActiveRoles Management Shell for Active Directory is a set of free, predefined commands for Windows PowerShell, the powerful command line and scripting language developed by Microsoft. These commands are designed to help administrators automate common, repetitive and bulk management tasks for Active Directory, such as creating, removing or updating objects in AD.
ksh_timer – An interface to evaluate function execution time in shell script in each function or in user-defined sections
Summary: ksh_timer helps ksh script developers or administrators to find out quickly and with minimal change in their script, what functions or user-defined sections are time consuming. By default, ksh_timer will time the overall script and each function defined and used in the script. Users can define additional sections of the scripts they need to be timed.
bash ini parser | /var/log/ajdiaz – In some situations i like to use INI files as configuration files, as python do. But bash do not provide a parser for these files, obviously you can use a awk code or a couple of sed calls, but if you are bash-priest and do not want to use nothing more, then you can try the following obscure code:
Jugg Monkey: VMWare HA Agent had an error – I recently had a problem with one hoste in a 3 node VMWare ESX 3. 5 cluster. For some reason, the HA Agent would not start after I applied outstanding software updates. I kept receiving "VMWare HA Agent had an error" in the alerts after the host came online. I had recently needed to change the IP address of the VMWare 3.5 ESX host, so I figured that was the root cause.
These are my links for 9 dic 2011 through 13 dic 2011:
BAT file tips | Alex @ Net – Let's play with BAT files a little. As you may know, BAT files are intended to be run and processed by the MS command processor, named cmd.exe, and the programming language they are created with is very close to BASIC. The early versions of the BAT-files language (which comes from famous Windows ancestor, MS-DOS) were very limited. Nowadays it has more features and a few days ago I created a small collection of interesting tricks, related to BAT file programming. You can check the following examples that demonstrate which execution flow controlling statements BAT-file language has and show their analogs in PHP.
10 Tools To Add Some Spice To Your UNIX Shell Scripts – here are some misconceptions that shell scripts are only for a CLI environment. You can easily use various tools to write GUI and/or network (socket) scripts under KDE or Gnome desktops. Shell scripts can make use of some of the GUI widget (menus, warning boxs, progress bars etc). You can always control the final output, cursor position on screen, various output effects, and so on. With the following tools you can build powerful, interactive, user friendly UNIX / Linux bash shell scripts.
Nagios plugin for ASE – SybaseWiki – When you are using Nagios (http://www.nagios.org) as a monitoring tool, it's real easy to implement your own checks for Sybase servers. Here's a sample check to see if your ASE server is up and connectable.
These are my links for 8 nov 2011 from 15:36 to 21:57:
10 Ruby One Liners to Impress Your Friends – Someone came up with a list of 10 one-liner examples that are meant to showcase Scala’s expressiveness. A CoffeeScript version quickly emerged, so I thought I’d publish a Ruby one. I find Ruby’s syntax to be a bit cleaner than Scala’s, but the substance (at least as far as these examples are concerned) is relatively similar.
Ruby development for system administrators | Linux User – Most Linux and UNIX system administrators use a diverse mix of shell scripts and tools like grep, awk, cut and so on. The classical approach has proven its merits, but these scripts are generally not easy to read or to maintain. One solution is to use a real programming language for system administration tasks. In a complex environment, system administration can become much easier with a real programming language instead of shell scripts. Traditionally, Perl has been very popular among sysadmins, but some people maintain that this is not much better than shell.
In this article, we choose Ruby, a feature-rich but simple object-oriented programming language known from the popular web application framework Ruby on Rails. T
[ Ruby! Ruby! Ruby! ]
Modern Perl, by chromatic – Onyx Neon Press – Modern Perl is one way to describe how experienced and effective Perl 5 programmers work. They use language idioms. They take advantage of the CPAN. They're recognizably Perlish, and they show good taste and craftsmanship and a full understanding of Perl.
You can learn this too, whether you've dabbled with Perl for a decade or someone just handed you this book and said "Fix this code by Friday."
Useful commands for Windows administrators – Managing a Windows 2000 Active Directory with about 100 servers, over 1500 computers and 35 sites, the following commands often helped me answer questions or solve problems. Most commands are "one-liners", but for some I had to make an exception and go to the right directory first.
These commands could all be used in batch files, though some may need some "parsing" with FOR /F to retrieve only the required substrings from the displayed information.