Skip to content

Instantly share code, notes, and snippets.

@davirds
davirds / android-pipeline.yml
Created November 27, 2023 17:05
A pipeline for Android that builds and deploys the app using firebase app distribution
name: Pipeline
on:
push:
branches:
- 'main'
- 'development'
- 'feature/*'
- 'fix/*'
pull_request:
@davirds
davirds / secrets.ts
Created September 29, 2022 15:11
A RSA helper to generate keys, encrypt and decrypt message using TypeScript
const algorithm = {
name: 'RSA-OAEP',
modulusLength: 2048,
publicExponent: new Uint8Array([1, 0, 1]),
extractable: false,
hash: {
name: 'SHA-256',
},
}