- Test
- Test2
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
<select name="time" id="time"> | |
<option value="00:00">12:00 AM</option> | |
<option value="00:15">12:15 AM</option> | |
<option value="00:30">12:30 AM</option> | |
<option value="00:45">12:45 AM</option> | |
<option value="01:00">01:00 AM</option> | |
<option value="01:15">01:15 AM</option> | |
<option value="01:30">01:30 AM</option> | |
<option value="01:45">01:45 AM</option> | |
<option value="02:00">02:00 AM</option> |
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 | |
function usage () { | |
echo "$0 [CA section name] [username]" | |
exit 1 | |
} | |
if [ $# -ne 2 ] | |
then | |
usage |
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
# This example exports a regional rule, targeted for importing into cloudfront | |
aws wafv2 get-ip-set --scope REGIONAL --output=json --name=my-ip-set --id foo | jq -c '.IPSet | del(.Id,.ARN) + {Scope: "CLOUDFRONT"}' > my-ip-set.json | |
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
eb printenv guilded-server-dev | tr '\n' ' ' | sed 's/Environment Variables:/ /g' | sed 's/ */ /g' | sed 's/ = /=/g' > /tmp/envvars.txt | |
# Make sure /tmp/envvars.txt looks good | |
# see https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/eb3-setenv.html | |
pbcopy < /tmp/envvars.txt | |
eb setenv -e eb-env-name<paste> |
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 | |
function usage () { | |
echo "$0 [CA section name] [username]" | |
exit 1 | |
} | |
if [ $# -ne 2 ] | |
then | |
usage |
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
server { | |
listen 443 default_server ssl; | |
root /var/www; | |
index index.html index.htm index.php; | |
error_log /var/log/nginx/testconfg.log debug; | |
ssl on; | |
ssl_certificate /etc/ssl/testconfg/certs/server.crt; |
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 | |
function usage () { | |
echo "$0 [CA section name]" | |
exit 1 | |
} | |
if [ $# -ne 1 ] | |
then | |
usage |
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 | |
function usage () { | |
echo "$0 [CA section name]" | |
exit 1 | |
} | |
if [ $# -ne 1 ] | |
then | |
usage |
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 | |
if [[ "$1" != "" ]]; then | |
S3BUCKETNAME="$1" | |
else | |
echo ERROR: Failed to supply S3 bucket name | |
exit 1 | |
fi | |
for old in dist/*.gz; do mv $old ${old%%.gz*}; done |
NewerOlder