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
--- | |
stages: | |
- testing | |
- qa | |
phpstan: | |
image: | |
name: hyperized/phpstan:latest | |
entrypoint: [""] | |
stage: testing |
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 declare(strict_types=1); | |
namespace Hyperized\File\Safe; | |
use Hyperized\File\Exceptions\CouldNotGetGroupId; | |
/** | |
* @param string $filename | |
* @return int | |
* @throws CouldNotGetGroupId |
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 | |
# Run like: ./temperature.sh & | |
# Requires sensors and smartctl | |
while true; do | |
tput sc | |
tput cup 0 $(($(tput cols)-74)) | |
cpu=$(sensors | grep temp1 | awk '{print $2}') |
OlderNewer