This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/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}" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # 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")) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package template; | |
| import db.DataAccess; | |
| import java.util.ArrayList; | |
| import javax.servlet.http.HttpSession; | |
| import model.Category; | |
| /** | |
| * | |
| * @author HP |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| create table files | |
| ( | |
| file_name varchar2(30), | |
| file_data blob | |
| ); |