(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
| 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; | |
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
| #!/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}" |
