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 / tw-background-hex.md
Created May 18, 2024 13:52 — forked from guvener/tw-background-hex.md
Tailwind background colors HEX codes
//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 / 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
@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 / 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 / Production Deployment Commands Ubuntu 18.04
Created March 31, 2020 18:34 — forked from Deanout/Production Deployment Commands Ubuntu 18.04
Deploy to production with nginx, passenger, capistrano, rails 6
These commands are meant to be followed in conjunction with:
https://www.youtube.com/watch?v=xpYpaRUFzTI
https://gorails.com/deploy/ubuntu/18.04
ssh [email protected]
adduser deploy
adduser deploy sudo
exit
ssh-copy-id [email protected]
ssh-copy-id [email protected]
@AustineA
AustineA / rails http status codes
Created July 7, 2019 19:20 — forked from mlanett/rails http status codes
HTTP status code symbols for Rails
HTTP status code symbols for Rails
Thanks to Cody Fauser for this list of HTTP responce codes and their Ruby on Rails symbol mappings.
Status Code Symbol
1xx Informational
100 :continue
101 :switching_protocols
102 :processing
@AustineA
AustineA / style.css
Last active January 11, 2019 09:47
AMANi Art CSS
/* VS Table */
.vc_tta-tabs-list{
list-style: none!important;
display: flex !important;
justify-content: center !important;
margin-top: 30px !important;
}
.wpb-js-composer .vc_tta.vc_general .vc_tta-tab>a{
<li>
{{measurement?.shoulder}}
</li>
<li>
{{measurement?.back_length}}
</li>
<form (submit)="updateUserMeasurement()" #f="ngForm">
<div class="container">
<ion-list no-lines>
<ion-item class="rounded">
<label color="divaGrey" >Shoulder</label><br>
<input
type="text"
name="shoulder"
[ngModel] = "shoulder"
placeholder="Enter your Shoulder length"