Header Shadow Image


Author Archive

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 < […]

The current theme does not natively support menus

The current theme does not natively support menus, but you can use the "Custom Menu" widget to add any menus you create here to the theme's sidebar. “Your theme supports 0 menus. Select which menu appears in each location” Reading further on the following pages, we can enable the menus using these functions: http://codex.wordpress.org/Function_Reference/register_nav_menu http://codex.wordpress.org/Function_Reference/register_nav_menus […]

Empty pages after installing WP Super Cache and HTML Minifi

After enabling the wordpress WP Super Cache and the HTML Minifi plugin for the WP Super Cache plugin (That's right, a plugin for a plugin) I get empty pages on /localhost/wp/ (Or https://www.microdevsys.com/wp/) which obviously isn't so good for the readers.  So i download the plugin to my local server LAMP installation and test it […]

Error 105 (net::ERR_NAME_NOT_RESOLVED): Unable to resolve the server’s DNS address.

Sure enough we baught outselves a Nexus 7 tablet and of course what's a PC, miniature or not, without some sort of web access.  My router is setup with MAC address filtering which prevented initial connection unless I get the MAC address of the device to begin with.  Unfortunately, Nexus 7 won't let you into […]

The pages do not match! Timestamps differ or were not found!

WP Super Cache sometimes prints out this message.  Cliking on the link revealed a 403 forbidden error wehn we did try. Test your cached website by clicking the test button below. Fetching https://www.microdevsys.com/wp/ to prime cache: OK Fetching first copy of https://www.microdevsys.com/wp/: OK (1.html) Fetching second copy of https://www.microdevsys.com/wp/: OK (2.html) The pages do not […]

google results don’t match the search string

Google, I love that company but sometimes it puzzles me.  I'll search for: ckeditor links.js getSelectedLink but google returns this link: http://ckeditor.com/forums/CKEditor-3.x/Tutorial-how-modify-Links-Plugin-link-cms-pages (HINT: There's nothing on that page for getSelectedLink, not even in the source code of the page) but what I needed was: https://gist.github.com/3940239 but that doesn't appear in any of the search results.  […]

Error client Files Does Not Exist: 404 Not Found Page

While setting up my LAMP configuration on my HTPC, I get this error while trying to replicate my hosting environment for a future site upgrade: [error] [client ::1] File does not exist: /var/www/html/wp/download-rpm-package-using-yum-without-installing, referer: http://localhost/wp/ [error] [client ::1] File does not exist: /var/www/html/wp/how-to-find-the-mac-address-of-an-ethernet-or-wireless-card, referer: http://localhost/wp/ No matter what I tried, I couldn't get the links […]

How to find the MAC address of an ethernet or wireless card.

To find the MAC address of an ethernet or wireless card is generally straight forward for straight forward configurations.  The MAC address is a unique identifier for every NIC (Network Interface Card) that uniquely identifies that card amongst all others. There's several commands that can be used for this depending on your network configuration and […]

List contents of an uninstalled RPM package.

To list the contents of an uninstalled RPM package issue one of the following: # less kmod-compat-wireless-3.5.4-1.sn.el6.elrepo.x86_64.rpm 2>&1|grep 9170 or issue: # rpm -qpl kmod-compat-wireless-3.5.4-1.sn.el6.elrepo.x86_64.rpm


     
  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.