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
#!/usr/bin/env bash | |
set -e -o pipefail | |
FILENAME=$0 | |
FILENAME=$(basename "$FILENAME") | |
function usage { | |
echo "Invokes an AWS Lambda function and displays the logs for the invocation." | |
echo "usage: $FILENAME --function-name [--help] [--payload] [--wait] [<STDIN>]" | |
echo " --function-name the Lambda function name or ARN." |
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
<? | |
#require("server-functions.php"); | |
#Phircd v 0.1.0 - written by siron. | |
set_time_limit(0); | |
error_reporting(0); | |
/* reads the config file and defines commands | |
$cline = file("ircd.conf") or die("cannot find ircd.conf!"); | |
$cnum_lines = count($cline); | |
$conf = 0; |
OlderNewer