Skip to content

Instantly share code, notes, and snippets.

View tareqmahmood's full-sized avatar
🎯
Focusing

Md. Tareq Mahmood tareqmahmood

🎯
Focusing
View GitHub Profile
#!/bin/bash
set -e
# Fetch the latest GitHub release info, extract tag name
JUST_VERSION=$(curl --silent "https://api.github.com/repos/casey/just/releases/latest" \
| grep '"tag_name":' \
| sed -E 's/.*"v?([^"]+)".*/\1/')
echo "Latest just version is ${JUST_VERSION}"
@tareqmahmood
tareqmahmood / formula.txt
Created January 22, 2024 22:17
CS 544 Office Hour Highlight
# highlight weekday column
=A$5=TEXT(TODAY(), "DDDD")
# highlight slot row
=TEXT(CEILING(NOW(), "00:30") - TIME(0,30,0), "h:mm AM/PM")=TEXT($A5, "h:mm AM/PM")
# highlight cell
=AND(TEXT(CEILING(NOW(), "00:30") - TIME(0,30,0), "h:mm AM/PM")=TEXT($A5, "h:mm AM/PM"), A$5=TEXT(TODAY(), "DDDD"))
package template;
import db.DataAccess;
import java.util.ArrayList;
import javax.servlet.http.HttpSession;
import model.Category;
/**
*
* @author HP
create table files
(
file_name varchar2(30),
file_data blob
);