Is this you? As a journalist, you can create a free Muck Rack account to customize your profile, list your contact preferences, and upload a portfolio of your best work.
Claim your profile
Articles by Marijan Nikic
Azure Information Protection (AIP) Labelling in VBscript
This tip provides a solution to the problem of automatizing Excel file creation without Azure bugging the user to manually select the protection label. Introduction This article solves the problem of automatizing Excel file creation without Azure bugging the user to manually select the protection label.
Cron expression parser in AWS Lambda
This is an example of a simple API on AWS Lambda, with full instructions on how to create a simple webpage and connect it to API, all in AWS console. The services used: AWS Lambda, AWS API Gateway, AWS Amplify. The code for the Lambda function is written in Node.js. It is a cron expression parser that gives you the next time a given cron expression will fire an event. Download index.html.zip - 884 B Download index.js.txt.zip - 3.1 KB Introduction This project was a bit of an exercise for me.
Regex for cron expressions
Introduction Cron is a time-based job scheduler in Unix-like systems. It executes jobs based on specification in a so-called crontab file, which is edited by using crontab command in Unix. Each line of this file represents a time schedule for running a specific command. The POSIX standard version of cron expression matches job schedule to minute, hour, day of the month, month and day of the week, respectively.
Windows-based version of grep in C#
Download wingrep.zip - 6.5 KB Introduction I think there is no need to say much about this one, as the name speaks enough for itself – this is a Windows-based version of the very popular GNU Unix utility grep, written in C#. Basically, I needed to use the functionality of grep utility in Windows environment, so I decided to create a solution of my own. For those who don't know about grep – grep is a command-line utility for searching plain-text data sets for lines that match a regular expression.
A pure CSS Solar system
Download SolarSystem.zip - 7.1 KB Introduction This project has no practical purpose, it's merely my attempt to play around with CSS, learning different CSS techniques. I am not a web designer and have only had a couple of takes on CSS – in other words I am a complete newbie to CSS, so please bear this in mind. That being said – this is exactly what it says in the title – a pure CSS model of Solar system, with the Sun, the planets, simulation of rotation, planet tilts, textures, etc.
Prepare emails with HTML body to be sent from Outlook
A convenient and simple solution for preparing (without sending) emails from Windows in Outlook Download preparemail.zip - 899 B Introduction I was struggling for a while now to find a perfect solution for preparing emails from Windows using Windows batch. I was mostly using mailto command, but it has many limitations, the most annoying of which was always that it was clipping my messages (seems to withstand only a limited number of characters) + it does not support HTML.
Comparing 2 files line by line
This is a small Windows batch utility written in VBscript to read and compare 2 text files line by line. It can read multiple files if folders are provided. It also supports sorting (.NET required) prior to comparison. Download compare_line_by_line.zip - 1.4 KB Introduction This is a small and simple Windows batch utility that reads and compares two textual files line by line. It takes in 2 parameters (path1 and path2), which can be either file or folder paths.
A simple, yet powerful and fast Windows Forms app for batch renaming files
Download FileRenamerAdvanced.zip - 43.1 KB Introduction This is a simple, yet powerful and fast Windows Forms app for batch renaming files. Batch renaming here means that you can edit all the files from a chosen folder at the same time based on certain criteria. The idea is to allow the users whenever they have a large number of files with similar names to be able to edit the filenames all at once.
Wheel of fortune in Java
A class that draws a fully animated rotatable wheel with sections containing strings. The wheel once spun, rotates for a certain period and stops at a random point, which gives the selected string.
Fractal tree with lines/polygons written in Java
This is a simple Java program that draws a fractal tree by using either lines or filled polygons. It contains two JFrames, the first one for drawing the shape, and the second one for changing some control parameters. Download control - 29.5 KB Introduction This is a simple Java program that draws a fractal tree by using either lines (classic fractal tree) or filled polygons ("upgraded" fractal tree).
A simple utility for drawing function curves
A small utility that takes a formula of f(x) function from a textbox, calculates points in background using VBS, and draws a graph based on this function in a PictureBox control, with gridline and coordinate system. The utility also enables the user to zoom in and out of the graph, to move it around, and also can show specific points of the curve using the mouse. Download GraphPlotterSimple.zip - 62.9 KB Introduction This is a simple 2D graph plotting Windows Forms application written in C#.
A Small Utility for Synchronization Between Two Folders
A small command-line utility for synchronization of files and subfolders between two folders. It scans all the files and folders within both locations and synchronizes differences – copies missing files/folders (one-way or both), deletes missing and overwrites based on file size (only one way option). Download source - 40.4 KB Disclaimer This utility is used to change the file/folder structure of selected folders on your disk(s).
MovieTracker - HTA for Tracking Movies & TV Shows
Download MovieTracker_v2.hta.txt.zip (please remove ".txt") - 7.2 KB Introduction The Movie Tracker app is a simple HTA application written mostly in Javascript (and partly in VBscript) that tracks a list of movies and/or series that are sorted by their release date. It gets the movie info by parsing an IMDb HTML response based on the URL entered by the user. The data is extracted from the IMDb's JSON script and is stored inside the HTML code itself, also as JSON script.
Image Canvas Border Editor
Download source - 39.6 KB Introduction This is a simple tool that adds borders (edges) to a bitmap image to prepare it for printing on canvas. The edges are needed because the printed canvas picture is mounted onto wooden frames, so you need some extra edges to be able to attach it to the frame.
Canvas Border Editor
Download source - 39.6 KB Introduction This is a simple tool that adds borders (edges) to a bitmap image to prepare it for printing on canvas. The edges are needed because the printed canvas picture is mounted onto wooden frames, so you need some extra edges to be able to attach it to the frame.
Smart Partition File Exchange
Download SmartPartitionFileExchange.zip - 1.1 MB Introduction The Smart Partition File Exchange is a Windows utility that automatizes process of swapping the data between two different partitions in the file system. It is particularly useful for automatization of file exchange process between partitions that are very close to full in capacity – in fact, this was the main goal of this project in the first place.
Prepare (Oracle) SQL for spooling
Download prepare_sql_for_spool.zip - 5 KB Introduction Many times, there is a need to extract large sets of data from a database. In these cases, most DB tools often fail, either with out-of-memory exceptions, buffer problems, memory access violations or they simply stop responding. Thus a need emerges to extract the data in the cleanest possible way - by spooling it directly to a text file, mostly as comma-separated values.
HTML line numbering using textarea
Download line_numbering_example.zip - 1.3 KB Introduction This is a simple solution for numbering lines in a text in HTML page (ie. code writing). Since, to my knowledge, there is no HTML element that is offering this possibility by default, I created a small and simple code that perfectly and effectively does the trick, even for very long texts.
MovieTracker - HTA for tracking movie release dates
Download movieTracker.zip - 3.5 KB Introduction The Movie Tracker app is a simple HTA application (VB script) that keeps a list of movies that are sorted by their release date. It gets the movie info by parsing an IMDb HTML response based on the URL entered by the user. Here is a screenshot of how it looks like: <img src="/KB/vbscript/5157449/Capture.PNG"> The 3rd column (days until release) is updated each time the app is opened, and the movies are always sorted by their release date.
System.IO.Directory Alternative using WinAPI
Download System.IO.DirectoryAlternative.dll.zip - 3.2 KB Download System.IO.DirectoryAlternative.zip - 22.6 KB Introduction Recently I was working on a project that needed to read the contents of a Windows directory, so I used the .NET provided System.IO.Directory class' EnumerateDirectories, EnumerateFiles and EnumerateFileSystemEntries methods.
Movie and TV show name resolver
Download resolve_video.zip - 6.9 KB Introduction This VBScript code was written for rather a specific purpose, so maybe it won't be very reusable in its original form, though I am sure with some recoding, it could be very useful for some other purpose, or at least some of its parts/subs. To explain the purpose of this code, I first have to explain the problem/challenge I was facing.
Simple AES Encryption using C#
Download source - 39.9 KB Introduction This is a very simple encryption tool written in C# as a Windows Form project. It uses AES symmetric encryption based on a password provided by the user. I created the tool because I needed some very simple and fast solution for encryption of textual files, opposed to tools found throughout the Internet that are frequently more comprehensive and complex.
Show More
loading
Actions
Is this you?
As a journalist, you can create a free Muck Rack account to customize your profile, list your contact preferences, and upload a portfolio of your best work.Get in touch with Marijan
Contact Marijan, search articles and posts on X, monitor coverage, and track replies from one place.
Learn more about Muck Rack