Skip to content

Instantly share code, notes, and snippets.

View AustineA's full-sized avatar
🎯
Focusing

Austine A. AustineA

🎯
Focusing
View GitHub Profile
@AustineA
AustineA / sha256-hmac.md
Created July 25, 2020 07:26 — forked from jasny/sha256-hmac.md
Hashing examples in different languages

Example inputs:

Variable Value
key the shared secret key here
message the message to hash here

Reference outputs for example inputs above:

| Type | Hash |

@AustineA
AustineA / StorageService.ts
Created February 15, 2023 16:59
ionic storage sqlite service
import { Storage, Drivers } from "@ionic/storage";
import * as CordovaSQLiteDriver from "localforage-cordovasqlitedriver";
export default class StoreageService {
storageReady = false;
store = new Storage({
driverOrder: [
CordovaSQLiteDriver._driver,
Drivers.IndexedDB,
@AustineA
AustineA / capscreen.md
Created March 15, 2023 19:21
Capacitor App Screenshop
  1. Install npm install --save-dev @capacitor/assets

  2. In your app root create assets folder and add the following

assets/
- logo.png
- splash-dark
- splash
//Don't for get to install this cap package. It works for iOS and Android
import { RateApp } from "capacitor-rate-app";
//Firts ask the user to rate your app
const OpenRating = () => {
presentAlert({
header: "Do you love what you see 😍?",
backdropDismiss: false,
subHeader:
@AustineA
AustineA / tw-background-hex.md
Created May 18, 2024 13:52 — forked from guvener/tw-background-hex.md
Tailwind background colors HEX codes