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
=sum( | |
indirect( | |
"'sheet1'!B"&MATCH(query('sheet1'!A:A,"select A where A = '"&A2&"'"),'sheet1'!A:A,0) | |
): | |
indirect( | |
"'sheet1'!D"&MATCH(query('sheet1'!A:A,"select A where A = '"&A2&"'"),'sheet1'!A:A,0) | |
) | |
) |
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 'aws-sdk' | |
require 'json' | |
file = File.open "example.json" | |
data = JSON.load file | |
table = ARGV.shift | |
data["table"] = table || data["table"] | |
client = Aws::Lambda::Client.new |
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
class buildkite::install( | |
Pattern[/(\d+\.\d+\.\d+|installed)/] $agent_version = $buildkite::agent_version, | |
$agent_count = 1 | |
) { | |
# more puppet code | |
if $agent_count > 1 { | |
range('2', String($agent_count)).each |$extra_agent| { | |
file { "/usr/lib/systemd/system/buildkite-agent${extra_agent}.service": |
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
aws_xray_sdk | |
boto3 | |
datadog | |
doubles | |
flask | |
flask_ask |
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 | |
rm -rf modules || true | |
pip install -r requirements.txt -t modules |
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 | |
echo "Generatating python modules directory ..." | |
echo "-----------------------------------------" | |
echo "" | |
docker run -v ${PWD}:/working -it python_builder | |
echo "" | |
echo "Create code artifact ..." | |
echo "------------------------" |
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
# Use an official centos | |
FROM centos:7 | |
# Set the working directory to /working | |
WORKDIR /working | |
RUN yum -y update | |
RUN yum -y install yum-utils groupinstall development | |
RUN yum -y install https://centos7.iuscommunity.org/ius-release.rpm | |
RUN yum -y install python36u | |
RUN yum -y install python36u-pip | |
RUN yum -y install python36u-devel |
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
https://p.datadoghq.com/sb/c98e1bdd3-4dcfa46b4f |
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
--- | |
steps: | |
- type: "waiter" | |
- name: "Compile themes" | |
command: "bin/compile" | |
agents: | |
queue: design | |
- type: "waiter" |
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/sh | |
while [ 1 ]; do | |
mysql -e 'select count(id) from <table>;' -h <db host> -u admin -p<password> <db> | |
TZ="Australia/Brisbane" echo "`date`" | |
sleep 5 | |
done |
NewerOlder