Skip to content

Instantly share code, notes, and snippets.

View 10ij's full-sized avatar

Ismail 10ij

  • 20:40 (UTC +01:00)
View GitHub Profile
@10ij
10ij / code.gs
Last active February 4, 2026 18:34
Automation for Decoris Diamonds
function sendBookingEmailsByDate() {
const sheet = SpreadsheetApp.getActiveSpreadsheet().getSheetByName('Clients');
const data = sheet.getDataRange().getValues();
const headers = data[0];
const nameCol = headers.indexOf('Client Name');
const titleCol = headers.indexOf('Calendar Event Title');
const sentCol = headers.indexOf('Email Sent?');
const timestampCol = headers.indexOf('Timestamp');
const now = new Date();
@10ij
10ij / main.vb
Last active January 5, 2026 19:37
Upgraded version that now downscales images to 720p and jpegs are better for file sizes
Imports System
Module Program
Sub Main()
dim i as integer
dim temp1, temp2, temp3 as string
temp1 = "gui/main_custom/vid/frame_"
temp2 = ".jpg"
temp3 = "pause 0.05"
for i = 1 to 125
@10ij
10ij / main.vb
Created January 5, 2026 17:52
vb.net script to avoid me manually having to write out each frame for an animation
Module Program
Sub Main()
dim i as integer
dim temp1, temp2, temp3 as string
temp1 = "gui/main_custom/vid/frame_"
temp2 = ".png"
temp3 = "pause 0.05"
for i = 1 to 125
if i < 10 Then
console.writeline("""" & temp1 & "000" & i & temp2 & """")