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(); |
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
| ## https://wiki.winehq.org/Ubuntu | |
| ## ์ ๋งํฌ๋ฅผ ํตํด ์๋ ์ค์น ๋ฐฉ๋ฒ์ด ์ต์ ์ธ์ง, ๋ฒ์ or OS์ ์ผ์นํ๋์ง ํ์ธํ ๊ฒ!! | |
| # apt ์ ์ฅ์ ์ถ๊ฐ (์ด์์ฒด์ ๋ณ ์์ด!!) | |
| sudo sh -c 'echo "deb https://dl.winehq.org/wine-builds/ubuntu/ focal main" > /etc/apt/sources.list.d/winehq.list' | |
| # gpg key ์ถ๊ฐ | |
| wget -qO - https://dl.winehq.org/wine-builds/winehq.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/winehq.gpg > /dev/null | |
| # winehq stable ์ค์น |
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
| # Create bookmark like | |
| ## name: (whatever you want) | |
| ## URL: (copy & paste codes below) | |
| javascript: (function () { | |
| var text = prompt('Search for:', ''); | |
| if (text == null || text.length == 0) return; | |
| var spans = document.getElementsByClassName('labnol'); | |
| if (spans) { | |
| for (var i = 0; i < spans.length; i++) { |
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
| Mohave๋ ๊ฑฐ์ ๋ฐ๋ก ๋์ง๋ง, Catalina๋ ์ ๋ณผ๊ฒ ์ข ๋ง๋ค.. | |
| ๊นํ ๋ ํฌ | |
| https://github.com/jloisel/t440p | |
| Kext ๋ณ๊ฒฝ ๋ด์ญ | |
| - AppleALC 1.2.8๋ก ๋ค์ด๊ทธ๋ ์ด๋ (์ ์๊ธฐ ์ ์ปค๋ํจ๋ ๋ฌธ์ ) | |
| https://github.com/acidanthera/AppleALC | |
| - BrcmPatch Catalina์ ๋ง๊ฒ ๊ต์ฒด : ..Data, ..RAM3, ..Injector (Catalina์์ DW1820A ๋ธ๋ฃจํฌ์ค/์์ดํ์ด ๋ฌธ์ ) |
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
| # install defaults | |
| brew install zsh | |
| # install oh-my-zsh | |
| sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" | |
| # zsh-autosuggestions | |
| git clone git://github.com/zsh-users/zsh-autosuggestions $ZSH_CUSTOM/plugins/zsh-autosuggestions | |
| # zsh-syntax-highlighting (๋ช ๋ น์ด ์์ ํ์ด๋ผ์ดํ ) |
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
| ######################################################## | |
| # | |
| ##### Overall Steps ##### | |
| # | |
| # (shutdown) | |
| # 1. ncloud ์ฝ์์์ "๋์คํฌ" ํฌ๊ธฐ ํ์ฅ | |
| # (boot, umount) | |
| # 2. ๋์คํฌ์ "ํํฐ์ " ํฌ๊ธฐ๋ฅผ ํ์ฅ๋ ๋์คํฌ ํฌ๊ธฐ๋งํผ ํค์ฐ๊ธฐ | |
| # 3. ํด๋น ํํฐ์ ์ "ํ์ผ ์์คํ " ํฌ๊ธฐ๋ฅผ ํ์ฅ๋ ํํฐ์ ํฌ๊ธฐ๋งํผ ํค์ฐ๊ธฐ | |
| # (mount) |
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
| # 2TiB ์ด์์ ํํฐ์ ์ ๊ธฐ์กด MBR ๋ฐฉ์์ ํํฐ์ ํ ์ด๋ธ์์ ์ธ์์ ๋ชปํจ. (fdisk์์ ์ง์ํ๋ ๋ฐฉ์) | |
| # ๋ฐ๋ผ์, GPT ๋ฐฉ์ ํํฐ์ ํ ์ด๋ธ์ ์์ฑํด์ค์ผํ๊ธฐ ๋๋ฌธ์ parted ์ ํธ๋ฆฌํฐ๋ฅผ ์ฌ์ฉํด์ผ ํจ | |
| # ๋์คํฌ ์ฐ๊ฒฐ | |
| # ๋์คํฌ, ํํฐ์ ํ์ธ | |
| fdisk -l | |
| # ๋์คํฌ ์ ๋ณด ํ์ธ (MBR or GPT) | |
| parted /dev/sdb print |
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
| ## Assume you are ROOT! | |
| vim /etc/ssh/sshd_config | |
| # ClientAliveInterval 300 | |
| # ClientAliveCountMax 6 | |
| service ssh status | |
| service ssh restart | |
| vim ~/.bashrc | |
| # HISTSIZE=-1 (์์ ) |