๐
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
| function adjustEditorContainerMaxHeight(editorContainer) { | |
| const conditions = [ | |
| // ํ์ฌ ์๋ํฐ๊ฐ Cursor ์ค์ ํจ๋์ ํ์ํ๊ณ ์๋ค๋ฉด, max height๋ฅผ 7px ์ค์ ๋๋ค. | |
| editorContainer.querySelector(".cursor-settings-pane-outer-wrapper") !== null, | |
| // ํ์ฌ ์๋ํฐ๊ฐ Split View๋ฅผ ํ์ํ๊ณ ์๋ค๋ฉด(git diff view), max height๋ฅผ 7px ์ค์ ๋๋ค. | |
| editorContainer.querySelector(".monaco-split-view2") !== null | |
| ]; | |
| if (conditions.some(condition => condition)) { |
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
| { | |
| "window.commandCenter": true, | |
| "files.autoSave": "afterDelay", | |
| "workbench.iconTheme": "vscode-jetbrains-icon-theme-2023-auto", | |
| "editor.fontSize": 14, | |
| "workbench.colorTheme": "WebStorm New Dark", | |
| "git.openRepositoryInParentFolders": "always", | |
| "typescript.tsserver.nodePath": "node", | |
| "typescript.tsserver.maxTsServerMemory": 8192, | |
| "explorer.confirmDelete": false, |
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 | |
| # Colors | |
| RED='\033[0;31m' | |
| GREEN='\033[0;32m' | |
| YELLOW='\033[0;33m' | |
| BLUE='\033[0;34m' | |
| MAGENTA='\033[0;35m' | |
| CYAN='\033[0;36m' | |
| NC='\033[0m' # No Color |
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
| mkdir -p /Users/Shared/bin | |
| echo '''#!/bin/sh\nhidutil property --set '\'{\"UserKeyMapping\":\[\{\"HIDKeyboardModifierMappingSrc\":0x7000000e6,\"HIDKeyboardModifierMappingDst\":0x70000006d\}\]\}\''''' > /Users/Shared/bin/right-option-to-f18-key-mapping | |
| chmod 755 /Users/Shared/bin/right-option-to-f18-key-mapping | |
| sudo cat<<: >/Users/Shared/bin/right-option-to-f18-key-mapping.plist | |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
| <plist version="1.0"> | |
| <dict> | |
| <key>Label</key> | |
| <string>Right Alt(Option) to F18</string> |
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 | |
| [ "$(git symbolic-ref --short HEAD)" = "main" ] && echo "Pushing to main is not allowed." && exit 1 |
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 java.io.ByteArrayOutputStream; | |
| import java.io.File; | |
| import java.io.IOException; | |
| import java.nio.charset.Charset; | |
| import java.nio.file.Files; | |
| import java.nio.file.Path; | |
| import java.util.Comparator; | |
| import java.util.stream.Stream; | |
| class XorPerformer { |
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 java.io.IOException; | |
| import java.nio.charset.Charset; | |
| import java.nio.file.Files; | |
| import java.nio.file.Path; | |
| import java.util.Base64; | |
| class Scratch { | |
| public static void main(String[] args) throws IOException { | |
| String pathPrefix = "C:\\Users\\Administrator\\AppData\\Roaming\\Google\\AndroidStudio2023.1\\scratches"; | |
| String filename = "20240101-123์ฌ4567-X-10-1234678.TXT"; |
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
| /* | |
| Original source code from: https://www.nirfriedman.com/2018/04/29/unforgettable-factory/ | |
| */ | |
| #include <iostream> | |
| #include <string> | |
| #include <vector> | |
| template<class Base> | |
| class Factory { |
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
| curl 'http://airforce.mil.kr:8081/user/emailPicViewSameMembers.action?siteId=last2&searchName=์ก๋ณ์ค&searchBirth=19990211' -L -H 'User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.0.0 Safari/537.36' | grep "์ ํํ๊ธฐ" | sed -e 's/.*[^0-9]\([0-9]\+\)[^0-9]*$/\1/' |
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
| /** | |
| POP ํด๋ผ์ด์ธํธ๊ฐ ์ง์ ํธ์ถํ๋ public ํ๋ก์์ ํ ํ๋ฆฟ์ ๋๋ค. | |
| ๋ชจ๋ ์์ธ๊ฐ ์ฌ๊ธฐ์ ์กํ๋ฉฐ, ํธ๋์ญ์ ์ ๊ด๋ฆฌํฉ๋๋ค. | |
| ํ๋ก์์ ์ด๋ฆ, ์๋ ์ฃผ์๊ณผ v_tag, v_summary, v_detail์ ์์ ํ ํ ์ฌ์ฉํ์ฌ ์ฃผ์ธ์. | |
| */ | |
| create | |
| definer = MES_DHSol@`%` procedure sp_POP_GJ_BLAH_BLAH( | |
| in $EQP_MASTER_CD varchar(32), | |
| in $PRD_WO_CD varchar(32), | |
| in $EMP_CD varchar(32) |
NewerOlder