Skip to content

Instantly share code, notes, and snippets.

View sacarino's full-sized avatar

Shane sacarino

View GitHub Profile
@sacarino
sacarino / country-code-to-flag-emoji.js
Created July 21, 2023 01:48
nstead of showing country codes (ie US, CH, NL), show the flag emojis, 🇺🇸 🇨🇭 and 🇳🇱
// thanks to https://dev.to/jorik/country-code-to-flag-emoji-a21
function getFlagEmoji(countryCode) {
const codePoints = countryCode
.toUpperCase()
.split('')
.map(char => 127397 + char.charCodeAt());
return String.fromCodePoint(...codePoints);
}
@sacarino
sacarino / AcceptableUsePolicy.md
Last active June 6, 2025 21:16
Example SOC II Type I policy types needed for an early-stage startup (you need to actually fill these in yourself)

Purpose:
To ensure responsible use of company-provided systems, devices, and data.

Policy:
Use of company resources should be for business purposes only. Use that introduces risk (e.g., file sharing of sensitive data via unapproved platforms) is prohibited.