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
// 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 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 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 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 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 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 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 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 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) { |
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
// See https://www.cise.ufl.edu/~manuel/obfuscate/pi.c | |
#include <stdio.h> | |
// Increase area for 1. | |
// If heading unary operator '-' does not exist, increase dia for 1. | |
#define _ (area++) < 0 ? 0 : dia++; | |
long area = 0; | |
long dia = 0; |