- Copy the stack folder from
aws-stacks/{stack_name}
tocompute/ecs/services/{stack_name}
. - Update provider sections to be inline with other services in that repo (Add
version
to providers and key tos3
backend config). - Add
modules/ecs/service/background
module and supporting terraform data to be used in the module. - Run
t plan
in assume-role container. - Note down path for any resources that already exist (KMS, dynamoDB, SQS etc).
- Look up resource in terraform docs and find out syntax for import, KMS example:
t import path.to.kms.key.resource arn::for::kms::key
. - Create resource with
t apply -auto-approve
. - Go to repo of service, and the following to the
Dockerfile
:
- Added simple
docker-compose
support for running a cluster of 4neo-go
nodes to start working on consensus and eventually form part of the integration tests - nspcc-dev/neo-go#74. - Looked into issue which seemed to be the user having an issue with
neo-python
notneo-go
😂 - nspcc-dev/neo-go#75.
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
0xecc6b20d3ccac1ee9ef109af5a7cdb85706b1df9 |
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
package main | |
import ( | |
"fmt" | |
"net/http" | |
"sync" | |
"time" | |
) | |
func main() { |
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 Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
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
{ | |
"Version": "2008-10-17", | |
"Id": "AlarmTopicPolicy", | |
"Statement": [ | |
{ | |
"Sid": "Allow-Publish-Subscribe-AlarmTopicPolicy", | |
"Effect": "Allow", | |
"Principal": { | |
"AWS": "*" | |
}, |
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 'terminal-notifier-guard' | |
# Simple guard file for running go tests | |
guard :shell do | |
watch(/(.*).go/) do |m| | |
`go test`.tap do |output| | |
if $? == 0 | |
TerminalNotifier::Guard.success("\u2705 All tests passed") | |
else | |
TerminalNotifier::Guard.failed("\u26D4 Some tests failed") |
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
<?php | |
class Test | |
{ | |
protected $item = array('test'); | |
public function output() | |
{ | |
echo "Item without {}: $this->item[0]\n"; | |
echo "item with {}: {$item[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
[default] | |
aws_access_key_id=blah | |
aws_secret_access_key=blah | |
region=eu-west-1 |
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
echo "Removing file.." | |
rm -rf $1 | |
while [ ! -f $1 ] | |
do | |
echo "File not available, sleeping..." | |
sleep 1 | |
done | |
echo "File available, output below: \n" | |
tail -f $1 |
NewerOlder