Install, build and debug a react native app in WSL2 (Windows Subsystem for Linux) and Ubuntu.
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
package main | |
import ( | |
"crypto/rand" | |
"crypto/hmac" | |
"crypto/sha1" | |
"encoding/base32" | |
"time" | |
"fmt" | |
) |
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
# ... | |
# https://github.com/exAspArk/batch-loader | |
gem 'batch-loader' |
이 글을 이해하기 위한 선행지식
- React
- NPM
- curl이나 request모듈과 같은 요청관련 지식
- Javascript에 대한 지식
- FCM은 https혹은 localhost에서만 동작하며 http에서는 동작하지 않습니다.
많은 회사들이 웹앱을 구축할 때 React를 사용하고 있습니다. 솔직히 우리나라는 아직도 frontend 프레임워크보다는 전통적인 방식의 웹을 선호하는 경향이 있는 것 같지만 스타트업과 같은 많은 젊은 회사들이 React를 사용합니다. 그럴 경우 빠른 웹 구축을 위해 Google이나 AWS의 서비스를 많은 사용하는데요, FCM도 push notification을 빠르게 구축할 수 있게 해주는 Firebase 서비스의 하나입니다. 이름부터 Firebase Cloud Messaging(FCM)이죠. 이 글을 통해서는 아주 간단한 알림서비스 구축에 대해서 다뤄보도록 하겠습니다. 천천히 한번 알아보도록 하죠.
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
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
--[[ | |
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 |
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
#!/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 |
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
<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> |
NOTE: This is outdated. Check the comments below for more up-to-date forks of this gist.
Improved YARD CHEATSHEET http://yardoc.org
forked from https://gist.github.com/chetan/1827484 which is from early 2012 and contains outdated information.
NewerOlder