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
| <?php | |
| interface ClockInterface | |
| { | |
| public function currentTime(): DateTimeImmutable; | |
| } |
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
| #!/usr/bin/env bash | |
| swapsize=2048 | |
| grep -q "swapfile" /etc/fstab | |
| if [ $? -ne 0 ]; then | |
| echo 'swapfile not found. Adding swapfile.' | |
| fallocate -l ${swapsize}M /swapfile | |
| chmod 600 /swapfile |
OlderNewer