This file contains 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 | |
disks=("/dev/mmcblk0p1" "/dev/mmcblk0p2") | |
names=("My First Disk" "My Disk #2") | |
i=0 | |
diskCount=${#disks[@]} | |
for (( i = 0; i < diskCount; i++ )); do | |
diskPath=${disks[$i]} | |
diskName=${names[$i]} |
This file contains 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
<?php | |
/* | |
* Return the status of the current PHP session in a JS readable format. | |
* | |
* Result from session_status() | JS Translation | |
* ------------------------------ --------------------------- | |
* PHP_SESSION_DISABLED 0 | none | |
* PHP_SESSION_NONE 1 | none | |
* PHP_SESSION_ACTIVE 2 | ok |
This file contains 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
PA | |
* This paragraph will compile a program and propose to run it. | |
* Author: dreller2034, Apr 13 2020. | |
* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | |
* Change the @PGMLIB to set the file which contains the program source. | |
SET @PGMLIB "DEVCORE.PGM" | |
* Change the @PGMNAME to set the program file to compile. | |
SET @PGMNAME "DC.CREATE.FILE.SUBR" | |
* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | |
CLR |