Steps to deploy Node.js to VPS using PM2 and Github Actions
XZ Backdoor symbol deobfuscation. Updated as i make progress |
# for bash (macOS) | |
POSH_THEMES_PATH=$(brew --prefix oh-my-posh)/themes | |
eval "$(oh-my-posh completion bash)" | |
eval "$(oh-my-posh init bash --config "$POSH_THEMES_PATH"/clean-detailed.omp.json | sed 's|\[\[ -v MC_SID \]\]|[[ -n "$MC_SID" ]]|')" |
#! /bin/bash | |
# Usage: | |
# ./git-move.sh path1/ path2/... path/to/destination/repo | |
args=("$@") | |
# All but last argument: | |
paths=("${args[@]::${#args[@]}-1}") | |
# Last argument: | |
dest="${args[${#args[@]}-1]}" |
import asyncio | |
from contextvars import ContextVar | |
from opentelemetry import trace | |
from opentelemetry.sdk.trace import TracerProvider | |
from opentelemetry.sdk.trace.export import BatchSpanProcessor, ConsoleSpanExporter | |
from opentelemetry.semconv.trace import SpanAttributes | |
from opentelemetry.trace import get_tracer, SpanKind | |
from opentelemetry.context import attach, detach | |
from opentelemetry.propagate import extract |
#!/bin/bash | |
# Source: https://docs.aws.amazon.com/general/latest/gr/sigv4-signed-request-examples.html | |
[[ -n "${AWS_ACCESS_KEY_ID}" ]] || { echo "AWS_ACCESS_KEY_ID required" >&2; exit 1; } | |
[[ -n "${AWS_SECRET_ACCESS_KEY}" ]] || { echo "AWS_SECRET_ACCESS_KEY required" >&2; exit 1; } | |
readonly parameterName="SlawekTestParam" | |
readonly method="POST" |
const MY_DOMAIN = "agodrich.com" | |
const START_PAGE = "https://www.notion.so/gatsby-starter-notion-2c5e3d685aa341088d4cd8daca52fcc2" | |
const DISQUS_SHORTNAME = "agodrich" | |
addEventListener('fetch', event => { | |
event.respondWith(fetchAndApply(event.request)) | |
}) | |
const corsHeaders = { | |
"Access-Control-Allow-Origin": "*", |
*.tfbackup | |
.terraform/ | |
*.tfstate | |
.terraform.tfstate.lock.info |
์์ฆ๋ค์ด "~๋ก ๋ก๊ทธ์ธํ๊ธฐ" ๊ฐ ๋ง์์ง๊ณ ์๋ค. ํ์ด์ค๋ถ์ด๋ ๊ตฌ๊ธ์ด ๋ํ์ ์ด๊ณ , ํ๊ตญ์์๋ ๋ค์ด๋ฒ๋ ๋ง์ด ์ฌ์ฉํ๋ฉฐ ๊ฐ๋ฐ์ ๊ด๋ จ ์น์์๋ ๊นํ๋ธ๋ ๊ปด์๋ ๊ฒฝ์ฐ๊ฐ ๋ง๋ค. ์ด๋ฐ ์์ ๋ค๋ฅธ ์๋น์ค๋ฅผ ํตํด ์ธ์ฆํ๋ ๋ฐฉ์์, OAuth ์ธ์ฆ ๋ฐฉ์์ด๋ผ๊ณ ํ๋ ๋ชจ์์ด๋ค. ๋ด๊ฐ ํ์ฌ ์ ๋ฌด๋ฅผ ์ํด ์ฌ์ฉํ๋ ๋ช๋ช ์ํํธ์จ์ด๋ ์ด๋ฌํ ์ธ์ฆ์ ์ง์ํ๋ ๊ฒฝ์ฐ๊ฐ ๋ง๋ค. ์ด ๊ธ์์๋ ๊ทธ๋ฌํ ์ธ์ฆ์ ๊ตฌํํ์ง๋๊ฒ ์๋๋ผ ๊ทธ๋ฌํ ์ธ์ฆ์ ์ฌ์ฉํด ๋ณด์๋ ๊ฒ์ ๋ชฉ์ ์ ๋๋ค. ์ด๋ค ๋ฐฉ์์ผ๋ก ์ธ์ฆํ๋์ง๋ฅผ ์ง์ ์ฌ์ฉํด๋ณด๊ณ OAuth๋ฐฉ์ ์ธ์ฆ์ ์ ์ฐจ๋ฅผ ์์๋ณด๋ ๊ธฐํ๋ ๋ ๊ฒ์ด๋ค.
์์ ๊ฐ์ด ๋ฒํผ์ ๋๋ฅด๋ฉด Github์์ ์ธ์ฆ์ ์คํํ๊ณ ๊ด๋ จ ๋ฐ์ดํฐ๋ฅผ ๋ฐ์์ค๋ ๋์์ ๊ตฌํํด ๋ณผ ๊ฒ์ด๋ค.
AWS ํ์ต ๋งํฌ์ง ์๋ฆฌ์ฆ
- AWS ํธ๋ ์ด๋ ๋ฐ ์๊ฒฉ์ฆ ์๊ฐ http://bit.ly/aws-tnc-intro
- AWS ํ์ต ์๋ฃ์ง http://bit.ly/aws-study-resource
- AWS ๊ณต์ธ ์๋ฃจ์ ์ค ์ํคํ ํธ - ์ด์์์์ดํธ ์ํ ๊ฐ์ด๋ http://bit.ly/sacertguide
- AWS ๊ณต์ธ ๊ฐ๋ฐ์ - ์ด์์์์ดํธ ์ํ ๊ฐ์ด๋ http://bit.ly/devcertguide
- AWS ๋ณด์ ๊ด๋ จ ์ปจํ ์ธ ๋ชจ์์ง http://bit.ly/secontents
- AWS ๊ธฐ๋ฐ ๋น ๋ฐ์ดํฐ ํ์ต์๋ฃ์ง http://bit.ly/bdonaws
- AWS ๋ฅ๋ฌ๋ ํ์ต ์๋ฃ ๋ชจ์์ง http://bit.ly/dlonaws
- 2019๋ re:Invent ์์ ๊ณต๊ฐ๋ AI/ML๊ด๋ จ ์๋น์ค ์๊ฐ http://bit.ly/2019-ml-recap