๐คช
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 procedure sp_insert_something(in something varchar(255)) | |
begin | |
-- ...์๋ต... | |
if something = 'hello' then | |
insert into things set body = something; | |
end if; | |
-- ...์๋ต... | |
end; |
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
// Modify | |
(function () { | |
const originalFunction = window.originalFunction || NetFunnel_getTidChkEnter; | |
window.originalFunction = originalFunction; | |
NetFunnel_getTidChkEnter = function (options) { | |
if (options == null) { | |
console.error("์ต์ ์ด ์์ด??"); | |
return originalFunction(...arguments); | |
} |
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 combination(source, howMany = source.length) { | |
const result = []; | |
const sourceLength = source.length; | |
const pow = (workingCombo, currentIndex, remainingCount) => { | |
for (let i = currentIndex; i < sourceLength; i++) { | |
const nextWorkingCombo = [...workingCombo, source[i]]; | |
if (remainingCount === 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
def addPoly(a: list, b: list): | |
index_a = 0 | |
index_b = 0 | |
len_a = len(a) | |
len_b = len(b) | |
result = [] | |
while True: |
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 | |
mkdir ./CodePush | |
react-native ram-bundle --platform ios \ | |
--entry-file index.js \ | |
--bundle-output ./CodePush/main.jsbundle \ | |
--assets-dest ./CodePush \ | |
--indexed-ram-bundle \ | |
--dev 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 | |
DIR="$(dirname "$(realpath "$0")")" |
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 | |
echo "$(dirname "$(readlink -f "$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
git branch -m main master | |
git fetch origin | |
git branch -u origin/master master |
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
set tabstop=8 softtabstop=0 expandtab shiftwidth=4 smarttab |
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
/** | |
* ์คํธ๋ง์ delimiter๋ก ์๋ฆ ๋๋ค. | |
* strtok์ ๋น์ทํ๊ฒ ์์ง์ ๋๋ค. | |
* | |
* @param source ์๋ณธ ์คํธ๋ง. ์๋ณธ์ ์์ ์ ๊ฐํ๋ ์ฃผ์! | |
* @param delimiter ์๋ฅผ ๊ธฐ์ค์ด ๋๋ ๋ฌธ์. | |
* @return ์๋ฆฐ ์กฐ๊ฐ ์คํธ๋ง์ ์์ ์์น. | |
*/ | |
char *splitNext(char **source, char delimiter) { | |
if (!**source) { |