Create new folder and initialize new CDK sample app in Go
mkdir eks-cdk-go && cd eks-cdk-go
cdk init --language=go
go get
cdk synthReplace eks-cdk-go.go content with the one shared in gist.
Create new folder and initialize new CDK sample app in Go
mkdir eks-cdk-go && cd eks-cdk-go
cdk init --language=go
go get
cdk synthReplace eks-cdk-go.go content with the one shared in gist.
| # PopClip - Obsidian extension, markdown variant | |
| # Source https://forum.popclip.app/t/clip-selection-to-obsidian/359/4 | |
| name: OBSClipper | |
| icon: O | |
| options: | |
| - identifier: vault | |
| label: Vault Name | |
| type: string | |
| capture html: true # this is needed when we want markdown text | |
| javascript: | |
| # PopClip - DEVONthink 3 Add New Markdown | |
| name: DT3 Add New | |
| icon: symbol:asterisk | |
| capture html: true | |
| javascript: | | |
| let clipping = popclip.input.markdown | |
| if (popclip.context.browserUrl.length > 0) { | |
| let title = encodeURIComponent(popclip.context.browserTitle) | |
| let siteURL = popclip.context.browserUrl | |
| clipping += `\n[${popclip.context.browserTitle}](${popclip.context.browserUrl})\n#clipped` |
| public class App implements RequestHandler<Object, Object> { | |
| private final S3Client s3Client; | |
| public App() { | |
| s3Client = DependencyFactory.s3Client(); | |
| } | |
| @Override | |
| public Object handleRequest(final Object input, final Context | |
| context) { | |
| ListBucketResponse response = s3Client.listBuckets(); | |
| // Process the response. |
| public class App implements RequestHandler < Object, Object > { | |
| private final DynamoDbClient ddb = DynamoDbClient.builder() | |
| .credentialsProvider(EnvironmentVariableCredentialsProvider.create()) | |
| .region(System.getenv("AWS_REGION")) | |
| .httpClientBuilder(UrlConnectionHttpClient.builder()) | |
| .build(); | |
| private static final String tableName = System.getenv("DYNAMODB_TABLE_NAME"); | |
| public App() { | |
| ddb = getDynamoDBClient(); | |
| DescribeTableRequest request = DescribeTableRequest.builder() |
| #!/bin/bash | |
| cd ~/environment | |
| wget https://workshops.devax.academy/security-for-developers/module2/files/pipeline.zip | |
| unzip pipeline.zip -d pipeline | |
| cd ~/environment/pipeline/ | |
| python3 -m venv .venv | |
| source .venv/bin/activate | |
| pip install -r requirements.txt | |
| cp config.yaml.sample config.yaml | |
| cdk bootstrap |
| <html> | |
| <body> | |
| <input type="text" id="myinput"/> | |
| <button id="testBtn" onclick=test()>test</button> | |
| <button id="matchBtn" onclick=match()>match</button> | |
| <br/> | |
| <div> | |
| <span id="outputMatch"></span> | |
| </div> |
//regex
^[\u0621-\u064A\u0660-\u0669a-zA-Z0-9-_\s]{4,35}$
| version: 0.2 | |
| phases: | |
| install: | |
| runtime-versions: | |
| android: 29 | |
| java: corretto8 | |
| commands: | |
| - pwd | |
| pre_build: | |
| commands: |
If you have two days to learn the very basics of modelling, Domain-Driven Design, CQRS and Event Sourcing, here's what you should do:
In the evenings read the [Domain-Driven Design Quickly Minibook]{http://www.infoq.com/minibooks/domain-driven-design-quickly}. During the day watch following great videos (in this order):