Header Shadow Image


Archive for the 'NIX Posts' Category

Enabling RDP on Windows 7 Home Premium Edition

Windows 7 Home Premium edition doesn't come with RDP enabled by default.  Luckily, there is a set of files available out there if you wish to enable it.  However, keep in mind, this is a workaround to lack of RDP on Windows 7 Home Premium so naturally there are risks associated (see the site disclaimer).   […]

change mysql password for root when lost or forgot

To change your mysql password for any user, use the following procedure, in case the password is lost or forgotten.  For this post, we'll be changing it for the root user.  

OpenStack Cloud Computing Platform: Installation and Configuration

In our quest to install OpenStack, we run into this thingy  # keystone user-list Expecting authentication method via    either a service token, –token or env[SERVICE_TOKEN],    or credentials, –os-username or env[OS_USERNAME]. #  

Disable autosave in WordPress

To disable autosaves in WordPress comment out the following in wp-admin/post.php:         // wp_enqueue_script('autosave'); Cheers, TK

Error writing bytes to client Transport endpoint is not connected

  While transferring a large file, I've disconnected then disabled the WIRELESS port only to receive these messages in /var/log/messages on the HTPC server.  No connection was possible from the Windows 7 desktops to the server at this point even waiting a bit didn't help.  Looked like something crashed during the disabling of the wireless […]

Waiting for sound system to respond error on linux with pulseaudio

When trying to launch System -> Preferences -> Sound you get the following message in a panel: Waiting for sound system to respond In this case, this was the result of my tinkering with the sound system, in an attempt to try to make multiple applications use the sound drivers simultaneously instead of the sound […]

Fatal error: Unknown: Cannot use output buffering in output buffering display handlers in Unknown on line 0

While uploading images to the blog, I run into this little error: Fatal error: Unknown: Cannot use output buffering in output buffering display handlers in Unknown on line 0 The solutionw as to disable WP Super Cache temporarily while I try to figure out the real root case. Cheers, TK

ksh and ksh93: line arithmetic syntax error

While using associative arrays, I run into this little issue using this sample KSH93 code: #!/bin/ksh93u+ function scmp {         typeset -A IPAA;         # Load First File.         for KEY in $(cat 1.rip); do                 IPA1[KEY]=1;         done         # Load Second File.         for KEY in $(cat 2.rip); do                 IPA2[KEY]=1;         done […]

ksh and ksh93: 0: not found [No such file or directory]

When assigning values to an associative array in KSH, it's important to note the significance of the $ value:   # typeset -A ABCD; $(( ABCD[“moi”]=0 )); $(( ABCD[“moi”]++ )); $(( ABCD[“moi”]++ )); $(( ABCD[“moi”]++ )); print ${ABCD[“moi”]}; /bin/ksh93u+: 0: not found [No such file or directory] /bin/ksh93u+: 0: not found [No such file or […]

RANDOM numbers in ksh or ksh93

Here's are an example of a random number generator in KSH or it's newer counterpart KSH93.  For this post, we'll use the latest KSH from AT&T Labs: Generate a random set of integers between 0 – 256 and use them to create a random set of IP type entries: #!/bin/ksh93u+ for (( KEY=0; KEY < […]


     
  Copyright © 2003 - 2025 Tom Kacperski (microdevsys.com). All rights reserved.

Creative Commons License
This work is licensed under a Creative Commons Attribution 3.0 Unported License

 

The IT Development and Technology Mini Vault | MicroDevSys.com
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.