Install Oracle Client with SQL Loader in RHEL / CentOS

Submitted by Dickens A S on Sat, 04/23/2022 - 02:49

This article explains how to install oracle client using RPM files

which ever version you want to choose you can choose for example 21.6

oracle-instantclient-basic-21.6.0.0.0-1.x86_64.rpm
oracle-instantclient-devel-21.6.0.0.0-1.x86_64.rpm
oracle-instantclient-jdbc-21.6.0.0.0-1.x86_64.rpm
oracle-instantclient-sqlplus-21.6.0.0.0-1.x86_64.rpm
oracle-instantclient-tools-21.6.0.0.0-1.x86_64.rpm

Download all these and issue the below RPM command lines

sqlldr
sqlplus
imp
exp
RHEL
CentOS
Oracle
Client
Install
Linux

Windows 10 Docker Engine Installation with Minikube

Submitted by Dickens A S on Fri, 04/22/2022 - 05:01

Docker Engine is available as open source https://docs.docker.com/engine

Docker is licensed under the Apache License, Version 2.0

To make the docker engine work properly in windows 10 there are few features we need to enable

To do that, launch "Turn Windows features on or off" from control panel

And enable the below features

  • Containers
  • Hyper-V
  • Virtual Machine Platform
  • Windows Hypervisor Platform
  • Windows Subsystem for Linux

Then go to docker exe download site for windows

Docker
Docker Engine
Windows
Windows 10
Installation
Hyper-V
Ubuntu

Node modules from a different path using NODE_PATH

Submitted by Dickens A S on Sat, 04/09/2022 - 15:41

This article explains how to use node.js modules from different folder, for example you have installed "express" in a different folder and want to use it another application without installing inside local node_modules

How to do it

1.) Install express in a different folder

Example c:\dev\test1

npm install express

Now you have c:\dev\test1\node_modules created

2.) Go to another folder and create your index.js

Example c:\dev\test2

Node.JS
NODE_PATH

Android Concurrent Executor Interface

Submitted by Dickens A S on Sat, 03/26/2022 - 14:33

This article demonstrates how to use Core Java in android for concurrent Executor,

Question: Why we should use Core Java Executor? why not AsyncTask?

Answer: The reason is android based SDK announced AsyncTask is Deprecated

Question: So simple core java Runnable is good?

Answer: Not really, But in combination with java.util.concurrent.Executor Runnable is good

Question: Is this told by android SDK documentation

Answer: Yes, As shown below

Concurrent
Executor
Interface
Java
Android

Convert SVG to PNG using R programming

Submitted by Dickens A S on Sun, 10/03/2021 - 08:39
cygwin tools
------------
make
curl

cygwin libraries
--------------
libfftw3-devel
libsndfile-devel
libuv-devel
libxml2-devel
librsvg2-devel
libMagick-devel
libtirpc-devel
libicu-devel
libpcre2-devel
libcurl-devel
libncurses-devel
libbz2-devel
zlib-devel
lzma-devel
libiconv-devel
gmp-devel
mpfr-devel
gettext-devel
gcc-core
gcc-g++

Then within cygwin terminal type "R" in the terminal it will give you a prompt and issue the below commands

R
Cygwin
librsvg
ImageMagic
PNG
SVG

Plotting graph in R with X11 window system using Cygwin

Submitted by Dickens A S on Tue, 09/07/2021 - 03:02

This article demonstrates how to show a simple graph with help X11 system available in Cygwin/X

1.) How to install X11 in Cygwin

Double click the setup and launch the list of software shown in the previous article

choose the below two softwares

xinit

xorg-server  

Compete the installation 

2.) How to start the X11

Go to Start Menu

Click on "XWin Server"

Wait for 30 seconds

in your taskbar you will see two icons as below

R
Cygwin
Windows
Plot
X11