This file contains hidden or 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: "0.2" | |
env: | |
shell: bash | |
phases: | |
install: | |
commands: | |
- curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y | |
- source $HOME/.cargo/env |
This file contains hidden or 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": "2012-10-17", | |
"Statement": [ | |
{ | |
"Sid": "Source", | |
"Effect": "Allow", | |
"Action": [ | |
"s3:ListBucket", | |
"s3:GetReplicationConfiguration", | |
"s3:GetObjectVersionForReplication", |
This file contains hidden or 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
--add-exports jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED | |
--add-exports jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED | |
--add-exports jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED | |
--add-exports jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED | |
--add-exports jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED |
This file contains hidden or 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
FROM centos:8 | |
CMD ["/sbin/init"] | |
STOPSIGNAL SIGRTMIN+3 | |
RUN systemctl mask systemd-remount-fs.service dev-hugepages.mount sys-fs-fuse-connections.mount systemd-logind.service getty.target console-getty.service systemd-udev-trigger.service systemd-udevd.service systemd-random-seed.service systemd-machine-id-commit.service kdump.service | |
RUN dnf -y install procps-ng && dnf clean all |
This file contains hidden or 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
--- | |
env: | |
es2020: true | |
jest/globals: true | |
parser: '@typescript-eslint/parser' | |
parserOptions: | |
project: ./tsconfig.json | |
plugins: | |
- jest | |
- '@typescript-eslint' |
This file contains hidden or 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 digraph homebrew '{' | |
while read formula; do | |
while read dependent; do | |
echo " \"$dependent\" -> \"$formula\"" | |
done < <(brew uses $formula --installed) | |
done < <(brew list --formulae) |
This file contains hidden or 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 strict'; | |
const fs = require('fs'); | |
const axios = require('axios').default; | |
const client = axios.create({ | |
baseURL: 'https://start.spring.io', | |
}); | |
(async () => { |
This file contains hidden or 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
--- | |
env: | |
es2020: true | |
jest/globals: true | |
parser: '@typescript-eslint/parser' | |
parserOptions: | |
project: ./tsconfig.json | |
plugins: | |
- jest | |
- '@typescript-eslint' |
This file contains hidden or 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 org.dacci; | |
import com.amazonaws.services.lambda.runtime.LambdaLogger; | |
import com.amazonaws.services.lambda.runtime.LambdaRuntime; | |
import com.amazonaws.services.lambda.runtime.LambdaRuntimeInternal; | |
import ch.qos.logback.classic.spi.ILoggingEvent; | |
import ch.qos.logback.core.UnsynchronizedAppenderBase; | |
import ch.qos.logback.core.encoder.Encoder; |
This file contains hidden or 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": "2012-10-17", | |
"Statement": [ | |
{ | |
"Sid": "AllowViewAccountInfo", | |
"Effect": "Allow", | |
"Action": [ | |
"iam:ListAccountAliases", | |
"iam:ListVirtualMFADevices", | |
"iam:GetAccountSummary" |