π€ͺ
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) |
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
/** | |
λ΄λΆμμ μ¬μ©λλ ν¨ν€μ§ λͺ¨λμ© λ©μλ νλ‘μμ ν νλ¦Ώμ λλ€. | |
νΈλμμ κ³Ό μμΈ μ²λ¦¬κΈ°κ° μμ΅λλ€. | |
νλ‘μμ μ΄λ¦, μλ μ£Όμκ³Ό v_tag, v_summary, v_detailμ μμ ν ν μ¬μ©νμ¬ μ£ΌμΈμ. | |
*/ | |
create | |
definer = MES_DHSol@`%` procedure Package_Module_Method( | |
) | |
comment '~νλ νλ‘μμ ' | |
begin |
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
/** | |
λ΄λΆμμ μ¬μ©λλ ν¨ν€μ§ λͺ¨λμ© λ©μλ ν¨μ ν νλ¦Ώμ λλ€. | |
νΈλμμ κ³Ό μμΈ μ²λ¦¬κΈ°κ° μμ΅λλ€. | |
ν¨μ μ΄λ¦, μλ μ£Όμκ³Ό v_tag, v_summary, v_detailμ μμ ν ν μ¬μ©νμ¬ μ£ΌμΈμ. | |
*/ | |
create | |
definer = MES_DHSol@`%` function Package_Module_Method( | |
) returns varchar(32) | |
comment '~νλ ν¨μ' | |
begin |
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
const fs = require('fs').promises; | |
const path = require('path'); | |
const { randomUUID } = require('crypto'); | |
async function getDataSource(channelName) { | |
const channelNameSanitized = channelName.replace(/\//g, '').replace(/\./g, '').trim(); | |
if (!channelNameSanitized) { | |
throw new Error(`Invalid channel name: [${channelName}]`); | |
} |
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
Zv65DvZ4uip59etBkYX2eVt5gDWosL2+U7Ll0BdQ41tZv2MrD6pQQ3VzomCiQkJgruU/wAZnG3NY0HJRevAVGttC3dU5+s3km2r6Cf2k4UaN37wKMz7JZIu6wMJ4kqFDW73hIeieTEZW8DZki66cvO++W+fuz9Kajio2k/ZslbSSZ3BkzNp3E12Gb99m9v18rZpROWQ5xMPbnZkLMNW68yMHeNGcWMJuiN++FyRDCSRu3PwTmVZBkWC9pi+n1BYqTacnd3cbboYrWG6M4uFn1p7X28X5seDVKlx3S+t4xbwJJAOIWDG3BNyAuWmTM9tXNShnWhjs/nLgAtHmuEo4Q5FQwMtYVrcNlAd92G9FC605vkZazXvG1q31PmpHKRUOOi25w7jKrl3NzbJsiHyf7Es/VGtKse/26SE/oVOZeI10jL9BAfGzLdFtpwYaVZqT58vo8Ld0YCEaIzZ7dVDQQbg5AAso5U29QE+AxAHZQxYzBn6BBKlde0e0E32uIwBocWZNMtY6y5dHuDLpaZ/gXvYA/23l92mwKcC8rhVfUXVrIIHsA2I5fAhdUKp3atNgdugu+M9o5N1laB8fT1KqwFulbsCrG2v5AuUiuza1XYrQFb2k6JPOgLYOT3nftQqEPyiD4rViXlzbCZ/BzZ/vKUw1EEOFq1WXAo+X6o1EZ8lJwRVCdtZJbVaEdv8iSLTs9qaFPxu/Jkw+vcevINoCFr+R8vGn0OKVM+EjEJpospH7TDHVe7rVeinLbjbmSZQd3QBdqYo8U8K8QQEpqqXUgA/qxGdG11qOGP7lBtX5719QOGJCRIkJpLBaEaWYdW8mkm+ediAI9GhvedTK8TUsqr1FbVkvgpS5W/3K8wYTpfR41xKWbQi0qiH5E3wlI90TDCNM9HMS7Xo1WONJyaAeVQ== |
NewerOlder