Skip to content

Instantly share code, notes, and snippets.

View arnaud-zg's full-sized avatar
🎯
Focusing

Arnaud Zheng arnaud-zg

🎯
Focusing
View GitHub Profile
@arnaud-zg
arnaud-zg / introrx.md
Created March 28, 2023 13:28 — forked from staltz/introrx.md
The introduction to Reactive Programming you've been missing
@arnaud-zg
arnaud-zg / top-brew-packages.txt
Created December 9, 2022 12:37 — forked from r5v9/top-brew-packages.txt
Top homebrew packages
node: Platform built on V8 to build network applications
git: Distributed revision control system
wget: Internet file retriever
yarn: JavaScript package manager
python3: Interpreted, interactive, object-oriented programming language
python: Interpreted, interactive, object-oriented programming language
mysql: Open source relational database management system
coreutils: GNU File, Shell, and Text utilities
openssl: SSL/TLS cryptography library
postgresql: Object-relational database system
@arnaud-zg
arnaud-zg / asyncCheatsheet.js
Created September 10, 2022 19:47 — forked from jicking/asyncCheatsheet.js
async patterns cheatsheet
// hell
function hell() {
step1(a => {
step2(b => {
return a + b
})
})
}
// heaven
@arnaud-zg
arnaud-zg / guide.md
Created December 12, 2019 14:19 — forked from mindlapse/guide.md
A guide on how to use PaymentIntents with tipsi-stripe

Introduction

Card payments with Stripe should be performed with PaymentIntents.

This API was created to handle modern payments, where the cardholder's bank may require the user to authenticate themselves with the bank before a payment can be authorized.

Authentication requirements first started to appear with European banks regulated by PSD2 which introduced [Strong Customer Authentication

@arnaud-zg
arnaud-zg / KeychainStorage.js
Created December 16, 2018 20:23 — forked from patrickkempff/KeychainStorage.js
redux-persist react-native-keychain
import { AsyncStorage } from 'react-native'
import { setGenericPassword, getGenericPassword, resetGenericPassword } from 'react-native-keychain'
export default {
async getAllKeys (callback) {
try {
const keys = await AsyncStorage.getAllKeys()
if (callback) {
callback(null, keys)
}
@arnaud-zg
arnaud-zg / .gitlab-ci.yml
Created May 10, 2017 20:51 — forked from thornbill/.gitlab-ci.yml
Example Node GitLab CI Yamlfile
# Official framework image. Look for the different tagged releases at:
# https://hub.docker.com/r/library/node/tags/
image: node:6
before_script:
- npm install
# This folder is cached between builds
# http://docs.gitlab.com/ce/ci/yaml/README.html#cache
cache: