Skip to content

Instantly share code, notes, and snippets.

View jeffhigham-f3's full-sized avatar

Jeff Higham jeffhigham-f3

View GitHub Profile
@jeffhigham-f3
jeffhigham-f3 / App Clips + Google Play Instant + React Native - QR Code Reader.md
Last active July 9, 2024 16:57
App Clips + Google Play Instant + React Native - QR Code Reader

App Clips + Google Play Instant + React Native - QR Code Reader

This gist provides a basic implementation of handling QR codes with App Clips using SwiftUI and React Native for iOS, and Google Play Instant for Android.

Setup Instructions

iOS App Clips

1. Configuring Associated Domains

In Xcode, select your App Clip target and navigate to Signing & Capabilities. Add an Associated Domains entitlement, and include your domain in the format applinks:yourdomain.com.

# colorize - Colorizes text on terminal with ANSI escape sequences
# colorized-logs - tools for consuming logs with ANSI color
attr = bold,underscore
color = magenta # favorite one
exclude-random = black
omit-color-empty = yes
@jeffhigham-f3
jeffhigham-f3 / api.your-strapi-instance.com.conf
Last active November 29, 2023 18:03
Strapi Nginx Proxy + Certbot
server {
server_name api.your-strapi-instance.com;
listen [::]:443 ssl ipv6only=on; # managed by Certbot
listen 443 ssl; # managed by Certbot
ssl_certificate /etc/letsencrypt/live/api.your-strapi-instance.com/fullchain.pem; # managed by Certbot
ssl_certificate_key /etc/letsencrypt/live/api.your-strapi-instance.com/privkey.pem; # managed by Certbot
include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot
ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot
location / {
@jeffhigham-f3
jeffhigham-f3 / countries
Created August 30, 2021 11:17 — forked from kalinchernev/countries
Plain text list of countries
Afghanistan
Albania
Algeria
Andorra
Angola
Antigua & Deps
Argentina
Armenia
Australia
Austria
@jeffhigham-f3
jeffhigham-f3 / mysqlbackup.sh
Last active April 21, 2025 01:35
Mysql Database Backup & Rotation Script
#!/bin/bash
## Author: Jeff Higham <[email protected]>, <[email protected]>
## Gist: https://gist.github.com/jeffhigham-f3/3b94d508269e614f1f2e701ada8239cc
##
## Usage: mysqlbackup
##
## BEGIN EDITING
# timestamp for backups
@jeffhigham-f3
jeffhigham-f3 / auth.dart
Last active September 12, 2020 16:09 — forked from nikhilmufc7/auth.dart
Firebase Flutter Platform Exception Codes
// Error Codes for SignUp
ERROR_OPERATION_NOT_ALLOWED` - Indicates that Anonymous accounts are not enabled.
ERROR_WEAK_PASSWORD - If the password is not strong enough.
ERROR_INVALID_EMAIL` - If the email address is malformed.
ERROR_EMAIL_ALREADY_IN_USE - If the email is already in use by a different account.
ERROR_INVALID_CREDENTIAL` - If the [email] address is malformed.
// sending password reset email
ERROR_INVALID_EMAIL` - If the [email] address is malformed.