Skip to content

Instantly share code, notes, and snippets.

View cameronapak's full-sized avatar
🤓
Happy

Cameron Pak cameronapak

🤓
Happy
View GitHub Profile

Security Checklist (What can be done in CursorAI & software-level not infrastructure!)

Configuration Security

  • Detect secrets in code
  • Identify secrets committed to version control
  • Flag hardcoded credentials

Authentication & Authorization

  • Identify missing authentication checks
  • Detect improper authorization patterns
@cameronapak
cameronapak / christian-app-uri-schemes.md
Last active September 19, 2024 09:43
Christian App URI Schemes. The purpose of this directory of app scheme URI's is to make it easy for you to link from your app to other Christian apps, with the heart of unity.

image

App Scheme URI's for Christian Apps

The purpose of this directory of app scheme URI's is to make it easy for you to link from your app to other Christian apps, with the heart of unity.

Curated by https://faith.tools, the best place to find and distribute apps for Christians.

Share this list easily: https://dub.sh/ft-uri-schemes

Bible Bot Christian Companion AI Prompt

You can copy, translate, modify, and distribute this resource, without restriction, and without needing to ask permission.

skip to prompt

This post offers a Bible-focused AI prompt you can use or adapt for your projects! I believe AI can be a powerful tool for Christian growth, and I want to contribute to its development.

Here's the Background:

@cameronapak
cameronapak / alpine-fade-in-img-directive.js
Last active December 16, 2023 05:53
A potential way to easily fade in images using a custom Alpine directive. This helps prevent page jumping on image load.
function encodeSvg(svgString) {
// https://gist.github.com/jennyknuth/222825e315d45a738ed9d6e04c7a88d0?permalink_comment_id=4601690#gistcomment-4601690
return svgString.replace(/[<>#%{}"]/g, (x) => '%' + x.charCodeAt(0).toString(16));
}
function createLoadingSvg(loadingColor) {
return `<svg width="1" height="1" viewBox="0 0 1 1" fill="none" xmlns="http://www.w3.org/2000/svg"><rect width="1" height="1" fill="${loadingColor}"/></svg>`;
}
function getLoadingBackgroundImage(el, loadingColor) {