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
| { | |
| "name": "my-project", | |
| "private": true, | |
| "version": "0.9.0", | |
| "description": "what my project does", | |
| "main": "index.js", | |
| "scripts": { | |
| "hunt.only": "dot-only-hunter tests", | |
| "deploy:dev": "sls deploy -s dev -v", | |
| "deploy:production": "sls deploy -v -s production", |
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
| npm info NPM_PKG_MAME versions --json | grep -E "\d+.\d+.\d+\"" | tail -1 | sed -e 's/[ \"]//g' |
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 | |
| unlink('/tmp/request.txt'); | |
| ?> |
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 | |
| $requests=file('/tmp/request.txt'); | |
| $lines = count($requests); | |
| echo $lines; | |
| ?> |
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 | |
| date_default_timezone_set ( "Europe/Berlin" ); | |
| $data = file_get_contents('php://input'); | |
| $timestamp = date('Y-m-d H:i:s'); | |
| $log = $timestamp . ' ' . $data; | |
| file_put_contents("/tmp/request.txt", $log . "\n", FILE_APPEND); | |
| echo $log |