TeachUComp: OneNote 2013 Tutorial Linked Notes Microsoft Training Lesson 13.1 (YouTube)

Video by TeachUComp 🙂

Share Button

Loel Phelps: How To Create Sticky (Post-it) Notes With OneNote 2013 (YouTube)

Video by Loel Phelps 🙂

Share Button

Video: From YAPC::2012 Tomas Doran Messaging, interoperability and log aggregation a new framework

Wouldn’t it be great to have a simple way of shipping logs, outputs, and so on to a central location with the option of pre-processing the data? Here is a good start. (There were technical issues in the first few minutes of the video)

Good job 🙂

Share Button

Video: Korn Shell A Little About Arrays/Lists

Video by bjamesm70

Share Button

Intro To Korn Shell – Lesson 7g – Pattern Matching *( )

Video by bjamesm70

Share Button

HOWTO: Korn Shell / BASH: How to determine if a string is numeric or not

Occasionally we run across something that should be simple. Checking whether a string is a number or not for example.

special_CHAR ‘(‘ pattern ‘)’

The special_CHAR is a prefix that changes the number of characters expected:

‘*’ for zero or more matches
‘+’ at least one match
‘@’ for exactly one match
‘?’ for zero or one matches
‘!’ for negation

The following will match one or more digits:


See POSIX Character Classes regarding the use of [:digit:]

Below is an example function to determine if a string is numeric written in Korn Shell 93 but will also work in BASH.

The criteria we’re using is based on the US standard of numbers:
and so on

Obviously we could expand this out to handle commas or other separators without too much difficulty.


function is_numeric {
    typeset TMP_STR="$1"
    typeset -i TMP_IS_NUMERIC

    if [[ "$TMP_STR" == +([[:digit:]])?(.*([[:digit:]])) ]]; then
        echo "'$TMP_STR' is numeric"
        echo "'$TMP_STR' is not numeric"

for TMP_STRING in "TEST_VAR" "22" "TRUE1" "TRUE3TRUE" "12.345" ""; do
    is_numeric "$TMP_STRING"


$ ./test_regex.ksh
'TEST_VAR' is not numeric
'22' is numeric
'TRUE1' is not numeric
'TRUE3TRUE' is not numeric
'12.345' is numeric
'' is not numeric

See Finnbarr P. Murphy’s blog for more examples of using regular expressions in Korn Shell 93

Share Button

IQ Error: The multiplex server ‘iq_node_3’ is not included in the multiplex – SOLVED

When you run SAP’s IQ Multiplex cluster for a while you start finding little gotchas that will just drive you to drink. If you don’t drink, you will wish you do. (Just like with any other cluster system)

In my latest foray into the murky waters of IQ Multiplex (v16), if one of the nodes if offline for a while, the coodinator node will mark the node as excluded so the cluster carries on. Not really a big deal until you try to bring up the problem node:

I. 02/09 10:31:45. Database server stopped at Tue Feb 09 2016 10:31
Unable to start specified database: autostarting database failed
Exception Thrown from stcxtlib/st_database.cxx:10050, Err# 21, tid 2 origtid 2
   O/S Err#: 0, ErrID: 5120 (st_databaseException); SQLCode: -1013113, SQLState: 'QNA49', Severity: 14
[22016]: The multiplex server 'iq_node_3' is not included in the multiplex.
-- (stcxtlib/st_database.cxx 10050)

Error: The multiplex server 'iq_node_3' is not included in the multiplex. The multiplex server 'iq_node_3' is not included in the multiplex.
Server failed to start

2016-02-09-10:31:46 Start of IQ instance iq_mpx_cluster1 failed

Log into the coordinator node, in my case iq_node_1, and run

select server_name, status, mpx_mode, inc_state from sp_iqmpxinfo();
server_name        status   mpx_mode         inc_state
iq_node_1          included coordinator      N/A
iq_node_2          included writer           active
iq_node_3          excluded unknown           timed_out

As you can see, the iq_node_3 node is excluded due to the connection to it from the coordinator timed out. What to do? Simple, first we re-include the node (on the coordinator):

alter multiplex server iq_node_3 status included;

Next we need to resync iq_node_3:

Resync IQ secondary node

The problem node should start up just fine now.

Share Button

Tweaking Microsoft Surface 3

I use a Microsoft Surface 3 Pro among other things at work. It’s growing on me. Here is a short video on how to tweak it

Video by Seon Ong

Share Button

Take effective meeting minutes using OneNote 2013

I’ve been getting into Microsoft OneNote for taking notes, getting organized and so on. Little things like taking notes in a meeting can save your backside (CYA). If there is a white board involved, make sure you use Microsoft’s Office Lens or similar to take a picture of the white board and embed it in your notes

Video by Business Productivity

Share Button