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
Show hidden characters
{ | |
"extends": "@tsconfig/node10/tsconfig.json", | |
"compilerOptions": { | |
"allowJs": true, | |
"allowSyntheticDefaultImports": true, | |
"alwaysStrict": true, | |
"checkJs": true, | |
"forceConsistentCasingInFileNames": true, | |
"moduleResolution": "node", |
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
{ | |
"compilerOptions": { | |
"allowJs": true, | |
"allowSyntheticDefaultImports": true, | |
"alwaysStrict": true, | |
"baseUrl": ".", | |
"forceConsistentCasingInFileNames": true, | |
"lib": ["es2018"], | |
"module": "commonjs", | |
"moduleResolution": "node", |
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
const b64toBlob = (b64Data, contentType='', sliceSize=512) => { | |
const byteCharacters = atob(b64Data); | |
const byteArrays = []; | |
for (let offset = 0; offset < byteCharacters.length; offset += sliceSize) { | |
const slice = byteCharacters.slice(offset, offset + sliceSize); | |
const byteNumbers = new Array(slice.length); | |
for (let i = 0; i < slice.length; i++) { | |
byteNumbers[i] = slice.charCodeAt(i); |
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
set nocompatible " be iMproved, required | |
filetype off " required | |
" set the runtime path to include Vundle and initialize | |
set rtp+=~/.vim/bundle/Vundle.vim | |
call vundle#begin() | |
" alternatively, pass a path where Vundle should install plugins | |
"call vundle#begin('~/some/path/here') | |
" let Vundle manage Vundle, required |
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
# Remap prefix from 'C-b' to 'C-a' | |
unbind C-b | |
set-option -g prefix C-a | |
bind-key C-a send-prefix | |
# Change split pane commands to more reasonable symbols | |
bind | split-window -h -c "#{pane_current_path}" | |
bind - split-window -v -c "#{pane_current_path}" | |
# Use vim key-bindings for buffer navigation |
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
{ | |
"BTTPresetName" : "vas3k v2", | |
"BTTPresetColor" : "211.650000, 97.570650, 48.679500, 255.000000", | |
"BTTPresetUUID" : "081348B2-3E70-4FAE-B382-335FB99EB0C6", | |
"BTTPresetContent" : [ | |
{ | |
"BTTAppBundleIdentifier" : "BT.G", | |
"BTTAppName" : "Global", | |
"BTTAppAutoInvertIcon" : 1, | |
"BTTAppSpecificSettings" : { |
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
{ | |
"BTTPresetName" : "Default", | |
"BTTPresetUUID" : "B31EB83F-F29E-4613-A5B1-B1A3AB948780", | |
"BTTPresetContent" : [ | |
{ | |
"BTTAppBundleIdentifier" : "BT.G", | |
"BTTAppName" : "Global", | |
"BTTAppAutoInvertIcon" : 1, | |
"BTTAppSpecificSettings" : { |
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
{ | |
"BTTPresetName" : "Default", | |
"BTTGeneralSettings" : { | |
"BTTPathSampleSize" : 100, | |
"BTTCMOnTop" : true, | |
"BTTForceForceClickPressure2F" : 700, | |
"BSTLeftHalfBlock" : true, | |
"BTTMinDrawingMovement" : 2, | |
"BTTTouchBarMouseModeClickBlock" : true, | |
"BSTRightHalfBlock" : true, |
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
foo = "{\"Statement\":[{\"Action\":\"sts:AssumeRoleWithWebIdentity\",\"Condition\":{\"StringEquals\":{\"https://oidc.eks.us-east-1.amazonaws.com/id/0383A7C7C3C76D5815152244768557CF:sub\":\"system:serviceaccount:default:default-aws-access\"}},\"Effect\":\"Allow\",\"Principal\":{\"Federated\":\"arn:aws:iam::279625905418:oidc-provider/oidc.eks.us-east-1.amazonaws.com/id/0383A7C7C3C76D5815152244768557CF\"}}],\"Version\":\"2012-10-17\"}" |
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
resource "aws_iam_policy" "billing_read_only" { | |
name = "billing-read-only" | |
policy = <<EOF | |
{ | |
"Version": "2012-10-17", | |
"Statement": [ | |
{ | |
"Action": [ | |
"aws-portal:ViewBilling", |
NewerOlder