if
statement
if condition:
# code to execute if condition is true
if-else
statement
venv | |
cohort-cases |
#!/bin/sh | |
STREAM=$(aws --output=text logs describe-log-streams --log-group-name /aws/lambda/elektrum-development | tail -1 | awk '{print $7}') | |
aws --output=text logs get-log-events --log-group-name /aws/lambda/elektrum-development --log-stream-name ${STREAM} |
.is-first-product-block>.productDetails>.product-quantity-input { | |
display: none; | |
visibility: hidden; | |
} |
# -*- mode: python -*- | |
#Uncomment this if you have a completed build and only want to rebuild | |
#updated modules instead of everything: | |
# | |
#build_policy = "updated-deps" | |
#Select one of these, or use a different one: Do keep the directories | |
#separate for stable and unstable as they have different | |
#dependencies. You can use 2.3.x for svn builds. |
<?xml version="1.0" encoding="utf-8"?> | |
<!DOCTYPE moduleset SYSTEM "moduleset.dtd"> | |
<?xml-stylesheet type="text/xsl" href="moduleset.xsl"?> | |
<moduleset> | |
<repository type="tarball" name="ftp.gnome.org" default="yes" | |
href="http://ftp.gnome.org/pub/GNOME/sources/"/> | |
<repository type="tarball" name="kernel.org" | |
href="http://www.kernel.org/pub/linux/"/> | |
<repository type='tarball' name='ftp.gnu.org' |
--- | |
## Usage: | |
## ansible-playbook s3-playbook.yml | |
- hosts: localhost | |
connection: local | |
gather_facts: False | |
vars: | |
buckets: | |
'<BucketName>' : '<BucketARN>' | |
'com.example.bucket' : 'arn:aws:s3:::com.example.bucket' |