Skip to content

Instantly share code, notes, and snippets.

View yjb94's full-sized avatar
🍐
Lucky pear

JB Paul yjb94

🍐
Lucky pear
View GitHub Profile
@yjb94
yjb94 / josa.js
Created January 18, 2019 09:59
이/κ°€ 을/λ₯Ό 은/λŠ” κ³Ό/와 이여/μ—¬ 으둜/둜 쑰사 포함 λ¬Έμžμ—΄ λ°˜ν™˜ μ½”λ“œ
/**
* @crated JongBae Yun <[email protected]>
* @license MIT
*/
import * as hangul from 'hangul-js';
export const josa = (function() {
return {
iGa: (input) => {
return hangul.endsWithConsonant(input) ? `${input}이` : `${input}κ°€`;
🌞 Morning 105 commits β–ˆβ–ˆβ–Œβ–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘ 12.3%
πŸŒ† Daytime 382 commits β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘ 44.8%
πŸŒƒ Evening 285 commits β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘ 33.5%
πŸŒ™ Night 80 commits β–ˆβ–‰β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘ 9.4%
@yjb94
yjb94 / @intercom+intercom-react-native+8.4.0.patch
Last active May 16, 2025 04:56
[@intercom/Intercom-react-native] prevent unhandled setDeviceToken error
diff --git a/node_modules/@intercom/intercom-react-native/ios/IntercomModule.m b/node_modules/@intercom/intercom-react-native/ios/IntercomModule.m
index 5db7318..bfca3ef 100644
--- a/node_modules/@intercom/intercom-react-native/ios/IntercomModule.m
+++ b/node_modules/@intercom/intercom-react-native/ios/IntercomModule.m
@@ -82,12 +82,19 @@ RCT_EXPORT_METHOD(sendTokenToIntercom:(NSString *)token
resolver:(RCTPromiseResolveBlock)resolve
rejecter:(RCTPromiseRejectBlock)reject) {
@try {
+ __block BOOL isSettled = NO;
NSData *data = [self dataFromHexString:token];