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
| { | |
| "USD": { | |
| "symbol": "$", | |
| "name": "US Dollar", | |
| "symbol_native": "$", | |
| "decimal_digits": 2, | |
| "rounding": 0, | |
| "code": "USD", | |
| "name_plural": "US dollars" | |
| }, |
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
| var AWS = require('aws-sdk'), | |
| fs = require('fs'); | |
| // For dev purposes only | |
| AWS.config.update({ accessKeyId: '...', secretAccessKey: '...' }); | |
| // Read in the file, convert it to base64, store to S3 | |
| fs.readFile('del.txt', function (err, data) { | |
| if (err) { throw err; } |
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 | |
| rm /tmp/image-pull-secret.yaml | |
| login_cmd=$(aws ecr get-login) | |
| username=$(echo $login_cmd | cut -d " " -f 4) | |
| password=$(echo $login_cmd | cut -d " " -f 6) | |
| endpoint=$(echo $login_cmd | cut -d " " -f 9) | |
| auth=$(echo "$username:$password" | /usr/bin/base64) | |
| configjson="{ \"auths\": { \"${endpoint}\": { \"auth\": \"${auth}\" } } }" |
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
| # This is for ElasticBeanstalk with Amazon Linux 2023. For previous Linux 2 or Linux 1, see revisions for ideas | |
| packages: | |
| yum: | |
| cups-libs: [] | |
| libdrm: [] | |
| libXdamage: [] | |
| libXfixes: [] | |
| libXrandr: [] | |
| mesa-libgbm: [] | |
| libxkbcommon: [] |
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 | |
| # EB_APP_NAME = application name | |
| # EB_APP_ENV = application environment | |
| # S3_BUCKET = S3 bucket for ElasticBeanstalk | |
| # S3_KEY = S3 folder to upload built app | |
| # Zip up everything with the exception of node_modules (including dist), .git and zip files | |
| ts=`date +%s` | |
| fn="$EB_APP_NAME-$ts.zip" |
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 | |
| code --install-extension andys8.jest-snippets | |
| code --install-extension christian-kohler.npm-intellisense | |
| code --install-extension christian-kohler.path-intellisense | |
| code --install-extension cssho.vscode-svgviewer | |
| code --install-extension dbaeumer.vscode-eslint | |
| code --install-extension donjayamanne.githistory | |
| code --install-extension dracula-theme.theme-dracula | |
| code --install-extension eamodio.gitlens | |
| code --install-extension EditorConfig.EditorConfig |
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
| { | |
| "root": true, | |
| "parser": "@typescript-eslint/parser", | |
| "plugins": ["@typescript-eslint"], | |
| "extends": [ | |
| "eslint:recommended", | |
| "plugin:@typescript-eslint/eslint-recommended", | |
| "plugin:@typescript-eslint/recommended" | |
| ], | |
| "rules": { |
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
| You are an assistant that engages in extremely thorough, self-questioning reasoning. Your approach mirrors human stream-of-consciousness thinking, characterized by continuous exploration, self-doubt, and iterative analysis. | |
| ## Core Principles | |
| 1. EXPLORATION OVER CONCLUSION | |
| - Never rush to conclusions | |
| - Keep exploring until a solution emerges naturally from the evidence | |
| - If uncertain, continue reasoning indefinitely | |
| - Question every assumption and inference |