Skip to content

Instantly share code, notes, and snippets.

View roharon's full-sized avatar
๐Ÿ 
Working from home

Aaron (Aron) Roh roharon

๐Ÿ 
Working from home
View GitHub Profile
@jlia0
jlia0 / agent loop
Last active December 16, 2025 02:32
Manus tools and prompts
You are Manus, an AI agent created by the Manus team.
You excel at the following tasks:
1. Information gathering, fact-checking, and documentation
2. Data processing, analysis, and visualization
3. Writing multi-chapter articles and in-depth research reports
4. Creating websites, applications, and tools
5. Using programming to solve various problems beyond development
6. Various tasks that can be accomplished using computers and the internet
@charsyam
charsyam / timebased_otpcode_generator.go
Created January 13, 2021 13:54
Go Timebased OTP Code Generator
package main
import (
"crypto/rand"
"crypto/hmac"
"crypto/sha1"
"encoding/base32"
"time"
"fmt"
)
@bergmannjg
bergmannjg / rearct-native-app-in-wsl2.md
Last active December 15, 2025 00:41
Building a react native app in WSL2
@Harold2017
Harold2017 / github_actions_golang.md
Created September 16, 2019 09:56
github actions golang, build, test, codecov

build

name: build
on: [push]
jobs:

  build:
    name: Build
    runs-on: ubuntu-latest
@raihan2006i
raihan2006i / Gemfile
Created May 6, 2019 12:30 — forked from UsamaAshraf/Gemfile
N+1 Queries, Batch Loading and Active Model Serializers
# ...
# https://github.com/exAspArk/batch-loader
gem 'batch-loader'
@ninanung
ninanung / ReactAndFCM.md
Last active June 27, 2025 01:36
React์—์„œ FCM์„ ์‚ฌ์šฉํ•ด๋ด…์‹œ๋‹ค.

React์—์„œ FCM์‚ฌ์šฉํ•˜๊ธฐ

์ด ๊ธ€์„ ์ดํ•ดํ•˜๊ธฐ ์œ„ํ•œ ์„ ํ–‰์ง€์‹

  • React
  • NPM
  • curl์ด๋‚˜ request๋ชจ๋“ˆ๊ณผ ๊ฐ™์€ ์š”์ฒญ๊ด€๋ จ ์ง€์‹
  • Javascript์— ๋Œ€ํ•œ ์ง€์‹
  • FCM์€ httpsํ˜น์€ localhost์—์„œ๋งŒ ๋™์ž‘ํ•˜๋ฉฐ http์—์„œ๋Š” ๋™์ž‘ํ•˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค.

๋งŽ์€ ํšŒ์‚ฌ๋“ค์ด ์›น์•ฑ์„ ๊ตฌ์ถ•ํ•  ๋•Œ React๋ฅผ ์‚ฌ์šฉํ•˜๊ณ  ์žˆ์Šต๋‹ˆ๋‹ค. ์†”์งํžˆ ์šฐ๋ฆฌ๋‚˜๋ผ๋Š” ์•„์ง๋„ frontend ํ”„๋ ˆ์ž„์›Œํฌ๋ณด๋‹ค๋Š” ์ „ํ†ต์ ์ธ ๋ฐฉ์‹์˜ ์›น์„ ์„ ํ˜ธํ•˜๋Š” ๊ฒฝํ–ฅ์ด ์žˆ๋Š” ๊ฒƒ ๊ฐ™์ง€๋งŒ ์Šคํƒ€ํŠธ์—…๊ณผ ๊ฐ™์€ ๋งŽ์€ ์ Š์€ ํšŒ์‚ฌ๋“ค์ด React๋ฅผ ์‚ฌ์šฉํ•ฉ๋‹ˆ๋‹ค. ๊ทธ๋Ÿด ๊ฒฝ์šฐ ๋น ๋ฅธ ์›น ๊ตฌ์ถ•์„ ์œ„ํ•ด Google์ด๋‚˜ AWS์˜ ์„œ๋น„์Šค๋ฅผ ๋งŽ์€ ์‚ฌ์šฉํ•˜๋Š”๋ฐ์š”, FCM๋„ push notification์„ ๋น ๋ฅด๊ฒŒ ๊ตฌ์ถ•ํ•  ์ˆ˜ ์žˆ๊ฒŒ ํ•ด์ฃผ๋Š” Firebase ์„œ๋น„์Šค์˜ ํ•˜๋‚˜์ž…๋‹ˆ๋‹ค. ์ด๋ฆ„๋ถ€ํ„ฐ Firebase Cloud Messaging(FCM)์ด์ฃ . ์ด ๊ธ€์„ ํ†ตํ•ด์„œ๋Š” ์•„์ฃผ ๊ฐ„๋‹จํ•œ ์•Œ๋ฆผ์„œ๋น„์Šค ๊ตฌ์ถ•์— ๋Œ€ํ•ด์„œ ๋‹ค๋ค„๋ณด๋„๋ก ํ•˜๊ฒ ์Šต๋‹ˆ๋‹ค. ์ฒœ์ฒœํžˆ ํ•œ๋ฒˆ ์•Œ์•„๋ณด๋„๋ก ํ•˜์ฃ .

@serithemage
serithemage / aws-study-resource.md
Last active October 4, 2025 21:25
AWS ํ•™์Šต ์ž๋ฃŒ์ง‘

AWS ํ•™์Šต ๋งํฌ์ง‘ ์‹œ๋ฆฌ์ฆˆ

  • AWS ํŠธ๋ ˆ์ด๋‹ ๋ฐ ์ž๊ฒฉ์ฆ ์†Œ๊ฐœ http://bit.ly/aws-tnc-intro
  • AWS ํ•™์Šต ์ž๋ฃŒ์ง‘ http://bit.ly/aws-study-resource
  • AWS ๊ณต์ธ ์†”๋ฃจ์…˜์Šค ์•„ํ‚คํ…ํŠธ - ์–ด์†Œ์‹œ์—์ดํŠธ ์ˆ˜ํ—˜ ๊ฐ€์ด๋“œ http://bit.ly/sacertguide
  • AWS ๊ณต์ธ ๊ฐœ๋ฐœ์ž - ์–ด์†Œ์‹œ์—์ดํŠธ ์ˆ˜ํ—˜ ๊ฐ€์ด๋“œ http://bit.ly/devcertguide
  • AWS ๋ณด์•ˆ ๊ด€๋ จ ์ปจํ…์ธ  ๋ชจ์Œ์ง‘ http://bit.ly/secontents
  • AWS ๊ธฐ๋ฐ˜ ๋น…๋ฐ์ดํ„ฐ ํ•™์Šต์ž๋ฃŒ์ง‘ http://bit.ly/bdonaws
  • AWS ๋”ฅ๋Ÿฌ๋‹ ํ•™์Šต ์ž๋ฃŒ ๋ชจ์Œ์ง‘ http://bit.ly/dlonaws
  • 2019๋…„ re:Invent ์—์„œ ๊ณต๊ฐœ๋œ AI/ML๊ด€๋ จ ์„œ๋น„์Šค ์†Œ๊ฐœ http://bit.ly/2019-ml-recap
@itamarhaber
itamarhaber / setbitrange.lua
Last active December 22, 2024 19:02
A somewhat optimized scripted approach to complementing Redis with a `SETBITRANGE` command
--[[
Sets a bitmap range
Bitmaps are stored as Strings in Redis. A range spans one or more bytes,
so we can call `SETRANGE` when entire bytes need to be set instead of flipping
individual bits. Also, to avoid multiple internal memory allocations in
Redis, we traverse in reverse.
Expected input:
KEYS[1] - bitfield key
@niw
niw / fetch_nike_puls_all_activities.bash
Last active November 8, 2025 23:39
A simple NikePlus API description to fetch past run metrics
#!/usr/bin/env bash
# fetch_nike_puls_all_activities.bash
# A simple bash script to fetch all activities and metrics from NikePlus.
# See `nike_plus_api.md` for the API details.
readonly bearer_token="$1"
if [[ -z "$bearer_token" ]]; then
echo "Usage: $0 bearer_token"
exit
@kyo504
kyo504 / AndroidManifest.xml
Last active July 17, 2020 13:20
Android native module
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.eegoma.RNAudioPlayer">
<uses-permission android:name="android.permission.INTERNET" />
<application
android:allowBackup="true">
</application>
</manifest>