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
    
  
  
    
  | # Python μ΄ μλ€λ©΄ μ€μΉ | |
| apk add --update --no-cache python3 python3-dev py3-pip build-base | |
| # aws-cli μ€μΉ | |
| AWSCLI_VERSION=2.24.14 | |
| export CFLAGS="-Wno-error=incompatible-pointer-types" # ruamel.yaml.clib λΉλ μλ¬ λλ¬Έμ νμ | |
| apk add --no-cache \ | |
| curl \ | |
| make \ | 
  
    
      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
    
  
  
    
  | ### key binding - Home, End, Ctrl-left, Ctrl-Right | |
| case $TERM in (xterm*) | |
| ## Common | |
| bindkey '^[[H' beginning-of-line | |
| bindkey '^[[F' end-of-line | |
| ## Linux | |
| bindkey ';5D' backward-word | |
| bindkey ';5C' forward-word | |
| bindkey '^[[3~' delete-char | |
| ## macOS | 
  
    
      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: "3.9" | |
| services: | |
| mongo: | |
| image: mongo:4.4 | |
| container_name: mongo | |
| networks: | |
| - mongo | |
| ports: | |
| - "27017:27017" | |
| volumes: | 
  
    
      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 admin | |
| db.createUser({ user: 'root', pwd: 'Hello#$', roles: ['root'] }); | |
| use bitcore | |
| db.createUser({ user: 'bitcore', pwd: 'Hello2024#$', roles: ['dbOwner'] }); | |
| # λΉλ°λ²νΈ λ³κ²½ | |
| db.changeUserPassword(username, password) | 
  
    
      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
    
  
  
    
  | ssh -ND 1080 root@somewhere-ssh-server -p 22 | |
| # μ΄ν μ°½μ λμ§ λ§κ³ μΌλλ€ | |
| # μ΄μ  MacOS, datagripμ ssh ν°λ μ€μ  λ±μμ | |
| # localhost, 1080 ν¬νΈλ‘ SOCK5 νλ‘μ μλ²μ μ λ ₯νλ©΄ λ¨ | 
  
    
      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: "3.9" | |
| services: | |
| nextcloud: | |
| image: arm64v8/nextcloud | |
| restart: always | |
| container_name: nextcloud | |
| ports: | |
| - "10000:80" | |
| networks: | 
  
    
      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
    
  
  
    
  | sudo apt install fcitx-hangul | |
| im-config μ€ν | |
| OK -> Yes λ₯Ό λλ¬ μ ννλ©΄ μ§μ | |
| fcitx μ ν ν OK -> OK | |
| .bashrc λλ .zshrc μ μλ λ΄μ© μΆκ° | |
| export QT_IM_MODULE=fcitx | |
| export GTK_IM_MODULE=fcitx | |
| export XMODIFIERS=@im=fcitx | 
  
    
      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
    
  
  
    
  | very_strong_password | 
  
    
      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
    
  
  
    
  | mysql -u root -p | |
| # 1. user μΆκ° | |
| create user 'μμ΄λ'@'%' identified by 'λΉλ°λ²νΈ'; | |
| grant all privileges on DBμ΄λ¦.* to 'μμ΄λ'@'%'; | |
| λλ | |
| grant select, insert, update on DBμ΄λ¦.* to 'μμ΄λ'@'%'; | |
| FLUSH PRIVILEGES; | 
  
    
      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
    
  
  
    
  | import { createECDH } from 'crypto'; | |
| import { p2wpkh } from 'bitcoinjs-lib/src/payments'; | |
| import { bitcoin } from 'bitcoinjs-lib/src/networks'; | |
| import { Buffer } from 'buffer'; | |
| import { encode } from 'wif'; | |
| const network = bitcoin; | |
| const ecdh = createECDH('secp256k1'); | |
| ecdh.generateKeys(); | 
NewerOlder