Kotlin WIN32 DirectX 9 Off Screen Surface Gradient Direct Pixel Access

Submitted by Dickens A S on Sun, 11/29/2020 - 12:08

Code DirectX 9 using kotlin

Kickstart Kotlin DirectX using WIN32 API's, DirectX SDK 2010

GitHub: https://github.com/dickensas/kotlin-gradle-templates/tree/master/win32-directx

Output window with WIN32 API

Kotlin DirectX 9

Around 150 line of Kotlin code

Cucumber text copy paste editor automation

Submitted by Dickens A S on Thu, 10/08/2020 - 18:58

Kick start notepad or text editor automation in cucumber

GitHub https://github.com/dickensas/kotlin-gradle-templates/tree/master/cucumber-cpp

You need to keep a notepad or any other text editor with some text and keep you cursor any one line

The automation will press the below sequence of keys to do a entire line copy paste 

  1. HOME
  2. SHIFT + END
  3. CTRL + C
  4. END
  5. ENTER
  6. CTRL + V


Use FTP with MVS 3.8 TK MAINFRAME in windows

Submitted by Dickens A S on Thu, 09/10/2020 - 05:11

It is easy to use FTP with the MVS 3.8 Turnkey in windows

first enable command mode in windows

open command prompt and goto "unattended" folder


And issue the below commands

C:\MyFiles\mvs>cd unattended


Hercules console mode activated for unattended operations (mvs.bat)
Press any key to continue...

C:\MyFiles\mvs\unattended>cd ..

Then start mvs from the same command prompt

Smart Lexer

Submitted by Dickens A S on Sat, 08/29/2020 - 10:31

This is a small application/library initiative to use Lexical analysis to transform source codes to one format to another format

Example Use Case (SQL)

I have chosen SQL to transform from SQL server function to PLSL function

CHARINDEX('t', 'Customer') INSTR('Customer', 't')

In case if the function name only needs to be replaced, then it is easy

But, here the parameter 1 becomes 2 and 2 becomes 1