-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
18 changed files
with
235 additions
and
71 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,36 @@ | ||
# aws secretsmanager | ||
|
||
> μν¬λ¦Ώ μ 보 μ μ₯, κ΄λ¦¬, κ²μ. | ||
> μν¬λ¦Ώμ μ μ₯, κ΄λ¦¬ λ° κ²μ. | ||
> λ λ§μ μ 보: <https://docs.aws.amazon.com/cli/latest/reference/secretsmanager/>. | ||
- νμ¬ κ³μ μ μν¬λ¦Ώ μ 보 κ΄λ¦¬μκ° μ μ₯ν μν¬λ¦Ώ μ 보λ₯Ό νμ: | ||
- νμ¬ κ³μ μ μ μ₯λ μν¬λ¦Ώ νμ: | ||
|
||
`aws secretsmanager list-secrets` | ||
|
||
- μν¬λ¦Ώ μ 보 μμ±: | ||
- λͺ¨λ μν¬λ¦Ώ νμ (μν¬λ¦Ώ μ΄λ¦ λ° ARNλ§ νμ, 보기 μ¬μ): | ||
|
||
`aws secretsmanager create-secret --name {{μ΄λ¦}} --description "{{μν¬λ¦Ώ_μ 보}}" --secret-string {{μν¬λ¦Ώ}}` | ||
`aws secretsmanager list-secrets --query 'SecretList[*].{Name: Name, ARN: ARN}'` | ||
|
||
- μν¬λ¦Ώ μ 보 μμ : | ||
- μν¬λ¦Ώ μμ±: | ||
|
||
`aws secretsmanager delete-secret --secret-id {{name_or_arn}}` | ||
`aws secretsmanager create-secret --name {{μ΄λ¦}} --description "{{μν¬λ¦Ώ_μ€λͺ }}" --secret-string '{{μν¬λ¦Ώ}}'` | ||
|
||
- μν¬λ¦Ώ ν μ€νΈλ₯Ό μ μΈν μν¬λ¦Ώ μΈλΆμ 보 보기: | ||
- μν¬λ¦Ώ μμ (볡ꡬ μμ΄ μ¦μ μμ νλ €λ©΄ `--force-delete-without-recovery` μΆκ°): | ||
|
||
`aws secretsmanager describe-secret --secret-id {{name_or_arn}}` | ||
`aws secretsmanager delete-secret --secret-id {{μ΄λ¦|arn}}` | ||
|
||
- μν¬λ¦Ώμ μ 보 κ°μ κ²μ (μν¬λ¦Ώμ μ΅μ λ²μ μ μ»μΌλ €λ©΄ `--version-stage` μλ΅): | ||
- μν¬λ¦Ώ μΈλΆ μ 보 νμ (μν¬λ¦Ώ ν μ€νΈ μ μΈ): | ||
|
||
`aws secretsmanager get-secret-value --secret-id {{name_or_arn}} --version-stage {{μν¬λ¦Ώ_λ²μ }}` | ||
`aws secretsmanager describe-secret --secret-id {{μ΄λ¦|arn}}` | ||
|
||
- Lambda ν¨μλ₯Ό μ¬μ©νμ¬ μ¦μ μν¬λ¦Ώ μ 보 κ΅μ²΄: | ||
- μν¬λ¦Ώ κ° κ²μ (μ΅μ λ²μ μ μν¬λ¦Ώμ μ»μΌλ €λ©΄ `--version-stage` μλ΅): | ||
|
||
`aws secretsmanager rotate-secret --secret-id {{name_or_arn}} --rotation-lambda-arn {{arn_of_lambda_function}}` | ||
`aws secretsmanager get-secret-value --secret-id {{μ΄λ¦|arn}} --version-stage {{μν¬λ¦Ώ_λ²μ }}` | ||
|
||
- Lambda ν¨μλ₯Ό μ¬μ©νμ¬ 30μΌλ§λ€ μλμΌλ‘ 보μ μνΈ κ΅μ²΄: | ||
- μ¦μ μν¬λ¦Ώ κ΅μ²΄μ μν΄ λλ€ ν¨μ μ¬μ©: | ||
|
||
`aws secretsmanager rotate-secret --secret-id {{name_or_arn}} --rotation-lambda-arn {{arn_of_lambda_function}} --rotation-rules AutomaticallyAfterDays={{30}}` | ||
`aws secretsmanager rotate-secret --secret-id {{μ΄λ¦|arn}} --rotation-lambda-arn {{λλ€_ν¨μ_arn}}` | ||
|
||
- 30μΌλ§λ€ μλμΌλ‘ μν¬λ¦Ώ κ΅μ²΄μ μν΄ λλ€ ν¨μ μ¬μ©: | ||
|
||
`aws secretsmanager rotate-secret --secret-id {{μ΄λ¦|arn}} --rotation-lambda-arn {{λλ€_ν¨μ_arn}} --rotation-rules AutomaticallyAfterDays={{30}}` |
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,37 @@ | ||
# chisel | ||
|
||
> Chiselμ TCP ν°λμ μμ±νλ λꡬ. | ||
> ν΄λΌμ΄μΈνΈμ μλ² λͺ¨λ ν¬ν¨. | ||
> TCP/UDP ν°λ μμ±, HTTPλ₯Ό ν΅ν΄ μ μ‘, SSHλ₯Ό ν΅ν΄ 보μ. | ||
> λμΌν `chisel` μ€ν νμΌμ ν΄λΌμ΄μΈνΈμ μλ² λͺ¨λ ν¬ν¨λ©λλ€. | ||
> λ λ§μ μ 보: <https://github.com/jpillora/chisel>. | ||
- chisel μλ² μ€ν: | ||
- Chisel μλ² μ€ν: | ||
|
||
`chisel server` | ||
|
||
- νΉμ ν¬νΈλ₯Ό μμ νλ chisel μλ² μ€ν: | ||
- νΉμ ν¬νΈλ₯Ό μμ νλ Chisel μλ² μ€ν: | ||
|
||
`chisel server -p {{μλ²_ν¬νΈ}}` | ||
|
||
- μ¬μ©μ μ΄λ¦ λ° μνΈ μΈμ¦μ μ¬μ©νμ¬ μ°κ²°μ 보νΈνλ chisel μλ² μ€ν: | ||
- μ¬μ©μ μ΄λ¦ λ° μνΈ μΈμ¦μ μ¬μ©νμ¬ μ°κ²°μ 보νΈνλ Chisel μλ² μ€ν: | ||
|
||
`chisel server --auth {{μ¬μ©μμ΄λ¦}}:{{λΉλ°λ²νΈ}}` | ||
`chisel server --auth {{μ¬μ©μλͺ }}:{{λΉλ°λ²νΈ}}` | ||
|
||
- chisel μλ²μ μ°κ²°νκ³ νΉμ ν¬νΈλ₯Ό μ격 μλ² μ ν¬νΈμ ν°λλ§: | ||
- Chisel μλ²μ μ°κ²°νκ³ νΉμ ν¬νΈλ₯Ό μ격 μλ² μ ν¬νΈμ ν°λλ§: | ||
|
||
`chisel client {{μλ²_IP}}:{{μλ²_ν¬νΈ}} {{λ‘컬_ν¬νΈ}}:{{μ격_μλ²}}:{{μ격_ν¬νΈ}}` | ||
|
||
- chisel μλ²μ μ°κ²°νκ³ νΉμ νΈμ€νΈμ ν¬νΈλ₯Ό μ격 μλ² λ° ν¬νΈμ ν°λλ§: | ||
- Chisel μλ²μ μ°κ²°νκ³ νΉμ νΈμ€νΈμ ν¬νΈλ₯Ό μ격 μλ² λ° ν¬νΈμ ν°λλ§: | ||
|
||
`chisel client {{μλ²_IP}}:{{μλ²_ν¬νΈ}} {{λ‘컬_νΈμ€νΈ}}:{{λ‘컬_ν¬νΈ}}:{{μ격_μλ²}}:{{μ격_ν¬νΈ}}` | ||
|
||
- μ¬μ©μ μ΄λ¦ λ° μνΈ μΈμ¦μ μ¬μ©νμ¬ chisel μλ²μ μ°κ²°: | ||
- μ¬μ©μ μ΄λ¦ λ° μνΈ μΈμ¦μ μ¬μ©νμ¬ Chisel μλ²μ μ°κ²°: | ||
|
||
`chisel client --auth {{μ¬μ©μμ΄λ¦}}:{{λΉλ°λ²νΈ}} {{μλ²_IP}}:{{μλ²_ν¬νΈ}} {{local_port}}:{{μ격_μλ²}}:{{μ격_ν¬νΈ}}` | ||
`chisel client --auth {{μ¬μ©μλͺ }}:{{λΉλ°λ²νΈ}} {{μλ²_IP}}:{{μλ²_ν¬νΈ}} {{λ‘컬_ν¬νΈ}}:{{μ격_μλ²}}:{{μ격_ν¬νΈ}}` | ||
|
||
- νΉμ ν¬νΈμμ μλ°©ν₯ λͺ¨λλ‘ Chisel μλ² μ΄κΈ°ν, λν SOCKS5 νλ‘μ(ν¬νΈ 1080) κΈ°λ₯ νμ±ν: | ||
|
||
`chisel server -p {{μλ²_ν¬νΈ}} --reverse --socks5` | ||
|
||
- νΉμ IP λ° ν¬νΈμμ Chisel μλ²μ μ°κ²°νκ³ λ‘컬 SOCKS νλ‘μμ 맀νλ μλ°©ν₯ ν°λ μμ±: | ||
|
||
`chisel client {{μλ²_IP}}:{{μλ²_ν¬νΈ}} R:socks` |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,28 @@ | ||
# chown | ||
|
||
> νμΌκ³Ό λλ ν 리μ μ¬μ©μ λ° κ·Έλ£Ή μμ κΆμ λ³κ²½. | ||
> νμΌκ³Ό λλ ν 리μ μ¬μ©μ λ° κ·Έλ£Ή μμ κΆ λ³κ²½. | ||
> λ λ§μ μ 보: <https://www.gnu.org/software/coreutils/chown>. | ||
- νμΌ/λλ ν 리μ μμ μ¬μ©μ λ³κ²½: | ||
- νμΌ/λλ ν 리λ₯Ό μμ ν μ¬μ©μλ₯Ό λ³κ²½: | ||
|
||
`chown {{μ¬μ©μ}} {{κ²½λ‘/νμΌλͺ _λλ_λλ ν 리λͺ }}` | ||
`chown {{μ¬μ©μ}} {{κ²½λ‘/λμ/νμΌ_λλ_λλ ν 리}}` | ||
|
||
- νμΌ/λλ ν 리μ μμ μ¬μ©μ λ° κ·Έλ£Ή λ³κ²½: | ||
- νμΌ/λλ ν 리λ₯Ό μμ ν μ¬μ©μ λ° κ·Έλ£Ήμ λ³κ²½: | ||
|
||
`chown {{μ¬μ©μ}}:{{κ·Έλ£Ή}} {{κ²½λ‘/νμΌλͺ _λλ_λλ ν 리λͺ }}` | ||
`chown {{μ¬μ©μ}}:{{κ·Έλ£Ή}} {{κ²½λ‘/λμ/νμΌ_λλ_λλ ν 리}}` | ||
|
||
- λλ ν 리 μμ μμ κ·Έ λ΄μ©μ μ¬κ·μ μΌλ‘ λ³κ²½: | ||
- μμ ν μ¬μ©μ λ° κ·Έλ£Ήμ λͺ¨λ `μ¬μ©μ`λ‘ λ³κ²½: | ||
|
||
`chown -R {{μ¬μ©μ}} {{κ²½λ‘/λλ ν 리λͺ }}` | ||
`chown {{μ¬μ©μ}}: {{κ²½λ‘/λμ/νμΌ_λλ_λλ ν 리}}` | ||
|
||
- μ¬λ³Όλ¦ λ§ν¬μ μμ μ λ³κ²½: | ||
- λλ ν 리 λ° κ·Έ λ΄μ©μ μμ ν μ¬μ©μλ₯Ό μ¬κ·μ μΌλ‘ λ³κ²½: | ||
|
||
`chown -h {{μ¬μ©μ}} {{κ²½λ‘/μ¬λ³Όλ¦_λ§ν¬}}` | ||
`chown -R {{μ¬μ©μ}} {{κ²½λ‘/λμ/λλ ν 리}}` | ||
|
||
- μ°Έμ‘° νμΌκ³Ό μΌμΉνλλ‘ νμΌ/λλ ν 리 μμ μ λ³κ²½: | ||
- μ¬λ³Όλ¦ λ§ν¬μ μμ ν μ¬μ©μλ₯Ό λ³κ²½: | ||
|
||
`chown --reference={{κ²½λ‘/μ°Έμ‘°_νμΌλͺ }} {{κ²½λ‘/νμΌλͺ _λλ_λλ ν 리λͺ }}` | ||
`chown -h {{μ¬μ©μ}} {{μ¬λ³Όλ¦_λ§ν¬}}` | ||
|
||
- νμΌ/λλ ν 리μ μμ ν μ¬μ©μλ₯Ό μ°Έμ‘° νμΌκ³Ό μΌμΉμν€κΈ°: | ||
|
||
`chown --reference {{κ²½λ‘/λμ/μ°Έμ‘°_νμΌ}} {{κ²½λ‘/λμ/νμΌ_λλ_λλ ν 리}}` |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,37 @@ | ||
# chromium | ||
|
||
> ꡬκΈμμ μ 곡νλ μ€νμμ€ μΉ λΈλΌμ°μ . | ||
> ꡬκΈμμ μ£Όλνλ μ€νμμ€ μΉ λΈλΌμ°μ . | ||
> μ°Έκ³ : μνλ μΉ λΈλΌμ°μ λ‘ `chromium` λͺ λ Ήμ΄λ₯Ό λ체ν μ μμ΅λλ€. μλ₯Ό λ€μ΄ `brave`, `google-chrome`, `opera`, `vivaldi` λ±μ μ¬μ©ν μ μμ΅λλ€. | ||
> λ λ§μ μ 보: <https://www.chromium.org/developers/how-tos/run-chromium-with-flags/>. | ||
- νμΌ μ΄κΈ°: | ||
- νΉμ URL λλ νμΌ μ΄κΈ°: | ||
|
||
`chromium {{κ²½λ‘/νμΌλͺ .html}}` | ||
|
||
- URL μ΄κΈ°: | ||
|
||
`chromium {{example.com}}` | ||
`chromium {{https://example.com|κ²½λ‘/λμ/νμΌ.html}}` | ||
|
||
- μ΅λͺ μΌλ‘ μ΄κΈ°: | ||
|
||
`chromium --incognito {{example.com}}` | ||
|
||
- μ μ°½μμ μ΄κΈ°: | ||
- μ μ°½μΌλ‘ μ΄κΈ°: | ||
|
||
`chromium --new-window {{example.com}}` | ||
|
||
- μ± λͺ¨λλ‘ μ΄κΈ° (ν΄λ°, URL λ°, λ²νΌ λ± μ μΈ): | ||
|
||
`chromium --app='{{https://example.com}}'` | ||
`chromium --app={{https://example.com}}` | ||
|
||
- νλ‘μ μλ² μ¬μ©: | ||
|
||
`chromium --proxy-server="{{socks5://hostname:66}}" {{example.com}}` | ||
`chromium --proxy-server="{{socks5://νΈμ€νΈλͺ :ν¬νΈ}}" {{example.com}}` | ||
|
||
- μ¬μ©μ λ°μ΄ν° λλ ν 리 μ§μ : | ||
|
||
`chromium --user-data-dir={{κ²½λ‘/λμ/λλ ν 리}}` | ||
|
||
- CORS κ²μ¦ μμ΄ μ΄κΈ° (API ν μ€νΈ μ μ©): | ||
|
||
`chromium --user-data-dir={{κ²½λ‘/λμ/λλ ν 리}} --disable-web-security` | ||
|
||
- κ° νμ λν΄ DevTools μ°½ μ΄κΈ°: | ||
|
||
`chromium --auto-open-devtools-for-tabs` |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# Install-NodeVersion | ||
|
||
> `ps-nvm`μ λν Node.js λ°νμ λ²μ μ€μΉ. | ||
> μ΄ λͺ λ Ήμ΄λ `ps-nvm`μ μΌλΆμ΄λ©° PowerShellμμλ§ μ€νν μ μμ΅λλ€. | ||
> λ λ§μ μ 보: <https://github.com/aaronpowell/ps-nvm>. | ||
- νΉμ Node.js λ²μ μ€μΉ: | ||
|
||
`Install-NodeVersion {{λ Έλ_λ²μ }}` | ||
|
||
- μ¬λ¬ κ°μ Node.js λ²μ μ€μΉ: | ||
|
||
`Install-NodeVersion {{λ Έλ_λ²μ 1, λ Έλ_λ²μ 2, ...}}` | ||
|
||
- μ΅μ μ¬μ© κ°λ₯ν Node.js 20 λ²μ μ€μΉ: | ||
|
||
`Install-NodeVersion ^20` | ||
|
||
- x86 (x86 32-bit) / x64 (x86 64-bit) / arm64 (ARM 64-bit) λ²μ μ Node.js μ€μΉ: | ||
|
||
`Install-NodeVersion {{λ Έλ_λ²μ }} -Architecture {{x86|x64|arm64}}` | ||
|
||
- HTTP νλ‘μλ₯Ό μ¬μ©νμ¬ Node.js λ€μ΄λ‘λ: | ||
|
||
`Install-NodeVersion {{λ Έλ_λ²μ }} -Proxy {{http://example.com}}` |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# install | ||
|
||
> νμΌ λ³΅μ¬ λ° μμ± μ€μ . | ||
> νμΌ (μμ£Ό μ€ν κ°λ₯)μ μμ€ν μμΉ (μ: `/usr/local/bin`)μ 볡μ¬νκ³ μ μ ν κΆν/μμ κΆμ λΆμ¬ν©λλ€. | ||
> λ λ§μ μ 보: <https://www.gnu.org/software/coreutils/install>. | ||
- νμΌλ€μ λͺ©νμ 볡μ¬: | ||
|
||
`install {{κ²½λ‘/λμ/μλ³Έ_νμΌ1 κ²½λ‘/λμ/μλ³Έ_νμΌ2 ...}} {{κ²½λ‘/λμ/λͺ©ν}}` | ||
|
||
- νμΌλ€μ λͺ©νμ 볡μ¬νκ³ μμ κΆ μ€μ : | ||
|
||
`install --owner {{μ¬μ©μ}} {{κ²½λ‘/λμ/μλ³Έ_νμΌ1 κ²½λ‘/λμ/μλ³Έ_νμΌ2 ...}} {{κ²½λ‘/λμ/λͺ©ν}}` | ||
|
||
- νμΌλ€μ λͺ©νμ 볡μ¬νκ³ κ·Έλ£Ή μμ κΆ μ€μ : | ||
|
||
`install --group {{μ¬μ©μ}} {{κ²½λ‘/λμ/μλ³Έ_νμΌ1 κ²½λ‘/λμ/μλ³Έ_νμΌ2 ...}} {{κ²½λ‘/λμ/λͺ©ν}}` | ||
|
||
- `mode`λ₯Ό μ€μ νκ³ νμΌλ€μ λͺ©νμ 볡μ¬: | ||
|
||
`install --mode {{+x}} {{κ²½λ‘/λμ/μλ³Έ_νμΌ1 κ²½λ‘/λμ/μλ³Έ_νμΌ2 ...}} {{κ²½λ‘/λμ/λͺ©ν}}` | ||
|
||
- νμΌλ€μ λͺ©νμ 볡μ¬νκ³ μλ³Έμ μ κ·Ό/μμ μκ° μ μ©: | ||
|
||
`install --preserve-timestamps {{κ²½λ‘/λμ/μλ³Έ_νμΌ1 κ²½λ‘/λμ/μλ³Έ_νμΌ2 ...}} {{κ²½λ‘/λμ/λͺ©ν}}` | ||
|
||
- νμΌλ€μ λͺ©νμ 볡μ¬νκ³ λͺ©ν λλ ν λ¦¬κ° μμΌλ©΄ μμ±: | ||
|
||
`install -D {{κ²½λ‘/λμ/μλ³Έ_νμΌ1 κ²½λ‘/λμ/μλ³Έ_νμΌ2 ...}} {{κ²½λ‘/λμ/λͺ©ν}}` |
Oops, something went wrong.