(You probably shouldn't do this)
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
public class PrimeyTimey | |
{ | |
/* John Godman - Program 2 | |
* Strazza Pd. 8 | |
*/ | |
// configuration constants | |
public static final int START = 2, | |
END = 250; |
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
/** | |
* STRAZZA Pd. 8 | |
* PGM 4 | |
* @author john | |
* @see Coffee | |
*/ | |
public class Barista | |
{ /** | |
* Input of coffee orders in an array. Graded data from Strazza. | |
*/ |
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 | |
FILE="${FILE:-"/etc/login.defs"}" | |
sed -i "s/^[^#]*PASS_MAX_DAYS.*$/PASS_MAX_DAYS 90/" "${FILE}" | |
sed -i "s/^[^#]*PASS_MIN_DAYS.*$/PASS_MIN_DAYS 7/" "${FILE}" | |
sed -i "s/^[^#]*PASS_WARN_AGE.*$/PASS_WARN_AGE 14/" "${FILE}" |
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
import java.io.*; | |
/** | |
* @author John Godman | |
* Simple file token parser. | |
*/ | |
public class Main | |
{ | |
public static final int BUF_SIZE = 80, |
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
function main(workbook: ExcelScript.Workbook) | |
{ | |
const days = workbook.getWorksheet("days"); | |
const out = workbook.getWorksheet("out"); | |
const dayRange: ExcelScript.Range = days.getRange("A2:B71"); // first sem | |
const outRange: ExcelScript.Range = out.getRange(); // whole sheet | |
let outIndex = 1; | |