Skip to content
NinethSense oWnZ mE!

Praveen's CTO Blog

  • Home
  • CTO Dictionary
  • Home
  • CTO Dictionary
  • Code

    PHP PortPing script – check host connectivity

    June 6, 2020 - By Praveen Nair

    Here is a script in PHP I wrote to check if a remote host and port are open for you to connect. Do not mistake this as an equivalent to ping command because ping uses ICMP and I used TCP using PHP’s famous fsockopen() function, and a small piece of AJAX. You can get the latest source code from my GitHub code share page – https://github.com/ninethsense/code-share/ PHP: JavaScript:

    Continue Reading
  • Code

    A simple Folder Watcher for windows

    May 29, 2020 - By Praveen Nair

    Here is a simple file system watcher for windows. I wrote a script to monitor a folder for a specific purpose, but then thought to make this a generic tool so someone will benefit if I host in GitHub.   Find full project at https://github.com/ninethsense/FolderWatcher   Source Code:

    Continue Reading
  • Cloud Computing - Code

    Create AWS Lambda function with .NET Core / C# and create a HTTP API Gateway trigger | Part #2

    May 13, 2020 - By Praveen Nair

    In this Part #2 of blog I will be creating a new .NET Core function in local machine and will upload to AWS using console interface. There are different ways you can develop and deploy but I will be talking in this blog only about the CLI way. I am assuming you know how to create a Lambda function in AWS console already and if not, please read the Part #1 first. Open the Command prompt and follow below steps: Step 1: Install Lambda Templates for .NET Core dotnet new -i Amazon.Lambda.Templates Step 2: Create an empty function dotnet new…

    Continue Reading
  • Code - Database - Tips & Tricks

    Clone/Copy SQL Server Database with timestamp in name

    May 7, 2020 - By Praveen Nair

    This script works on Azure SQL Database also.

    Continue Reading
  • Code

    Loop multiple videos in HTML5 video tag

    December 18, 2019 - By Praveen Nair

    Continue Reading
  • Code

    Ajax file uploader using jQuery

    December 15, 2019 - By Praveen Nair

    Here is a sample code to upload multiple files using ajax, and without using the traditional <form> tags. Find the full source code in GitHub – https://github.com/ninethsense/code-share/tree/master/jQuery-File-Upload . Sample server code in PHP for the reference:

    Continue Reading
  • Code - Technology

    Join two XML files using XSL Transformation

    May 10, 2019 - By Praveen Nair

    This blog demonstrates how you can JOIN (yes, like in SQL) two xml (datasets) to one using a common ID (relationship). shop.xml price.xml main.xsl Resulting XML, after transformation should look like: Bonus code, if some .net developers want a transformation code:

    Continue Reading
  • Code - Technology

    Programming Puzzle #2 – Leet Converter

    March 4, 2019 - By Praveen Nair

    Write a program in a computer language of your choice to convert any given text to “leet format” in real time. Leet (or “1337”), is a system of modified spellings used primarily on the Internet. Input: “Translator” Output:”Tr4nsl4t0r”Input: “leet”, Output: “l33t”Input: “Good Morning”, Output: “G00d M0rn1ng” Evaluation criteria: Code Quality Standards OOAD/Object-Oriented Analysis & Design Application Logic Exception Handling Simplicity and Effectiveness of code Time: 0-30 minutes max.

    Continue Reading
  • Code - Technology

    Programming Puzzle #1–Find the critical path

    March 1, 2019 - By Praveen Nair

    Write a program in a language of your choice to find the critical path from a given set of tasks. A critical path is determined by identifying the longest stretch of dependent activities and measuring the time required to complete them from start to finish. Each circle (A-G) are tasks with specific duration (in Hours). Input: Array of task names and duration given in the diagram. Output 1. Longest path (Critical path) is A+G+B+F+C+D (42Hrs)2. Shortest path is A+B+C+D (26 Hrs)

    Continue Reading
  • Code - Technology

    PowerShell: Reading data from a file with special charecters in path

    July 27, 2018 - By Praveen Nair

    Find the PoserShell script:

    Continue Reading
 Older Posts
Newer Posts 

Categories

  • AI/ML (9)
  • Architecture (16)
  • Articles (10)
  • Automation (5)
  • Bookmark (23)
  • Business Intelligence (10)
  • Cloud Computing (20)
  • Code (45)
  • CTO (1)
  • Data (9)
  • Data Science (5)
  • Database (9)
  • Enterprise Architecture (2)
  • Events (34)
  • General (31)
  • Personal (37)
  • Product Design (11)
  • Technology (61)
  • Tips & Tricks (3)
  • Videos (3)
  • Vlog (12)

Tags

.net Agile AI Angular API Architecture auzre AWS Azure Business Intelligence C# Certification Certified Cloud Community Developer Dotnet event groovy IBM java JavaScript K-MUG Leadership learning malayalam microservices Microsoft Monitor openai Orion php pmp Power Apps Power Automate Power BI Power Platform PowerShell project management python Scrum SharePoint SQL training ux

Pages

  • CTO Dictionary

Archives

  • October 2025
  • September 2025
  • August 2025
  • July 2025
  • April 2025
  • March 2025
  • February 2025
  • January 2025
  • November 2024
  • September 2024
  • August 2024
  • July 2024
  • March 2024
  • February 2024
  • August 2023
  • July 2023
  • June 2023
  • March 2023
  • February 2023
  • January 2023
  • November 2022
  • October 2022
  • September 2022
  • August 2022
  • July 2022
  • May 2022
  • April 2022
  • March 2022
  • February 2022
  • January 2022
  • December 2021
  • November 2021
  • October 2021
  • September 2021
  • August 2021
  • July 2021
  • June 2021
  • May 2021
  • April 2021
  • March 2021
  • February 2021
  • January 2021
  • December 2020
  • November 2020
  • October 2020
  • September 2020
  • August 2020
  • July 2020
  • June 2020
  • May 2020
  • April 2020
  • March 2020
  • December 2019
  • November 2019
  • October 2019
  • July 2019
  • June 2019
  • May 2019
  • April 2019
  • March 2019
  • February 2019
  • November 2018
  • October 2018
  • September 2018
  • July 2018
  • June 2018
  • April 2018
  • March 2018
  • October 2017
  • September 2017
  • August 2017
  • July 2017
  • June 2017
Graceful Theme by Optima Themes