May 3, 2016

SOLVED Error 1067: The process terminated unexpectedly

Just my little note about starting db2 failed because of iam using Macbook Pro Retina.



so the solution is :

turn off the vm
just add on your .vmx file these 2 line code :

monitor_control.enable_fullcpuid = TRUE
cpuid.4.4.eax = "0000:0000:0000:0000:0000:0000:0000:0000"

then turn on it, everything seems ok now..   :D

iam using vmware fusion 8.1.1

error said :

Windows could not start the DB2 – DB2COPY1 – DB2ADMIN service
Read more ...

Feb 10, 2016

Unified Communication (UC) solution


abstract

this solution is about implementation of Unified communication for bank industries. 

my doc about cisco UC implementation, integrate with IBM Domino and Oracle Web Portal

Unified Communication Features



Conference call



Insurance verification 

loan, mortgage, attorney , credit, donate, degree, hosting, claim

Chat and messaging  

 

trading, software, recovery, transfer




Read more ...

Sep 20, 2015

SOLVED OSSN MOD_REWRITE REQUIRED

just a simple note.

  1. ensure that you php enable mod_rewtite by a2enmod rewrite
  2. create file rewrite.php on base_dir, just put <?php print 1; ?>
  3. ensure that your base_dir ossn directory setting as below : 
       <Directory "/var/www/html/ossn">
                DirectoryIndex index.php
                Options FollowSymLinks
                AllowOverride All
                Require all granted
        </Directory>


Read more ...

May 2, 2015

ibm ispim configure email server

just another testing note to setup ibm ispim email relay configuration with opensource email server and smtp authentication, and also thunderbird email client setting.

its just simple setup on my own environment.

setup dns relay for email server host

its optional but sometimes, you will need it. because we need to make unique hostname per server for each services.

setup dns relay for email server host ibm ispim

setup email server ibm ispim

its depend on your host, either linux or windows-based installation. ensure that you create your own domain so we can create our smtp relay for it.

configure smtp and pop3 email server ibm ispim

 configure smtp and pop3 email server ibm ispim
on this test, i just need smtp and pop3 only. So i disbled imap.

setup email account

create your email account, or import it from your directory server. More advance you can create your own database for it.

configure open relay email server

just simple ways to make open relay, you just need to uncheck some option on smtp authentication.
configure open relay email server

check open relay email server

check open relay email server

telnet  regina-db.telkomsel.co.id 25
Trying 192.168.42.159...
Connected to regina-db.telkomsel.co.id.
Escape character is '^]'.
220 smtprelay.tekomsel.co.id ESMTP
helo telkomsel.co.id
250 Hello.
mail from:ithq_bhsam@telkomsel.co.id
250 OK
rcpt to:febru@telkomsel.co.id
250 OK


setup lotus domino email open relay smtp server

if you use lotus domino, you should configure as below :

setup lotus domino email open relay smtp server

for more detail you can check on this ibm paper

setup thunderbird email client ibm ispim

ibm ispim setup thunderbird email client ibm ispim


the last step, configure email relay on ibm ispim, go to : itim dashboard, configure, email server configuration.

Read more ...

Apr 27, 2015

python split multiple delimiter

i think, its basic but important to you get idea. Most basic function is use re library or just use split() function on string.

Python String Split


a = "ini budi, iwan dan ibu budi. Selain itu ini juga ada 'madu' budi." 
a.split(' ')
['ini', 'budi,', 'iwan', 'dan', 'ibu', 'budi.', 'Selain', 'itu', 'ini', 'juga', 'ada', "'madu'", 'budi.']


well, its just split on space or any other delimiter in split bracket parameter.

Python keep include delimiter

sometimes, you just need to process the text, then you want to return back or merge again after processing. Well, here's this :

import re
re.split('(\W)',a)
['ini', ' ', 'budi', ',', '', ' ', 'iwan', ' ', 'dan', ' ', 'ibu', ' ', 'budi', '.', '', ' ', 'Selain', ' ', 'itu', ' ', 'ini', ' ', 'juga', ' ', 'ada', ' ', '', "'", 'madu', "'", '', ' ', 'budi', '.', '']


Python split two characters or more delimiter


its different case, the splitter can be more than one delimiter. You can use Kennet's function :

def tsplit(string, delimiters):
    """Behaves str.split but supports multiple delimiters."""
   
    delimiters = tuple(delimiters)
    stack = [string,]
   
    for delimiter in delimiters:
        for i, substring in enumerate(stack):
            substack = substring.split(delimiter)
            stack.pop(i)
            for j, _substring in enumerate(substack):
                stack.insert(i+j, _substring)
           
    return stack



tsplit(a, (',', '/', '-',' ','.','\''))
['ini', 'budi', '', 'iwan', 'dan', 'ibu', 'budi', '', 'Selain', 'itu', 'ini', 'juga', 'ada', '', 'madu', '', 'budi', '']

 
other search terms such as :

python split multiple delimiters
python split string into list delimiter
python split on multiple characters
python split on different characters
python substring delimiter
python split separator
python split include delimiter
python split string into list delimiter
python split on different characters
python split two characters
python convert string to raw
regex find text between two strings

are solved with re, as simple as this  :

re.split('\W+',a)
['ini', 'budi', 'iwan', 'dan', 'ibu', 'budi', 'Selain', 'itu', 'ini', 'juga', 'ada', 'madu', 'budi', '']

Read more ...