Senduran's Blog

Wednesday, November 1, 2023

How to Search and Replace the First Letter to Upper Case in GEdit

›
Following is the Find and Replace with syntax,  make sure the Regular expression is selected  Find:                  (\w)(\w+) Replace with:...
Tuesday, March 1, 2022

Setting up Jupyter Notebook for python virtual environment

›
 Create a virtual environment (my-env) $ python3 -m venv my-env $ source my-env/bin/activate (my-env) $ Install ipykernel module $ pip insta...
Sunday, December 19, 2021

Reducing image size with GIMP in batch mode

›
  First we define a function which contains all the needed procedures. and save the script in ~/.gimp-2.8/scripts with  .scm  extension. In ...
Sunday, May 17, 2020

JavaScript Arrow Function, Spread & Rest Operators And Destructuring Syntax

›
With ECMAScript6 (ES6) JavaScript got new syntax. Followings are some of the new syntax. Arrow Functions New syntax for defining a function ...
Sunday, May 3, 2020

How to draw a quarter circle in HTML Canvas

›
A circle can be drawn in the Canvas element using the arc  function. For example < html > < body > < canvas ...
1 comment:
Wednesday, April 8, 2020

Invoking a C function from Java using JNI

›
This is our C function which we need to invoke from Java hello.c #include <stdio.h> void sayHello() { printf( "Hello...
Sunday, January 28, 2018

WSO2 ESB - Sample Class Mediator

›
In WSO2 ESB / EI when we want to write our own logic of mediation, class mediators are very helpful. A class mediator can be written by e...
›
Home
View web version

About Me

My photo
Senduran
I am currently working as a Software Engineer in WSO2. I studied at University of Peradeniya
View my complete profile
Powered by Blogger.