I hereby claim:
- I am mattppal on github.
- I am mattpal (https://keybase.io/mattpal) on keybase.
- I have a public key ASBfnIHosWHQoLHsRCA2EYCBU2IciVwWejo5UrXYkZlENAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| #!/bin/bash | |
| # Prompt for project name | |
| read -p "Enter your project name: " project_name | |
| read -p "What components would you like to install (space delimited, enter for none)? " components | |
| # Create Vite React project | |
| npm create vite@latest $project_name -- --template react |
| osascript \ | |
| -e 'tell application "Google Chrome"' \ | |
| -e 'set b to bounds of front window' \ | |
| -e 'set h to (item 4 of b) - (item 2 of b)' \ | |
| -e 'set v to execute active tab of front window javascript "JSON.stringify([window.innerWidth, window.innerHeight])"' \ | |
| -e 'set AppleScript'"'"'s text item delimiters to ","' \ | |
| -e 'set vList to text items of (text 2 thru -2 of v)' \ | |
| -e 'set vW to item 1 of vList as number' \ | |
| -e 'set vH to item 2 of vList as number' \ | |
| -e 'set chromeH to h - vH' \ |
| # /// script | |
| # dependencies = [ | |
| # "google-genai", | |
| # "pillow", | |
| # "pathlib", | |
| # "python-dotenv", | |
| # ] | |
| # /// | |
| # Description: Generate variations of a person image using Google Gemini AI and create a GIF |
| Security Measure | Description | |
|---|---|---|
| ☐ | Use HTTPS everywhere | Prevents basic eavesdropping and man-in-the-middle attacks |
| ☐ | Input validation and sanitization | Prevents XSS attacks by validating all user inputs |
| ☐ | Don't store sensitive data in the browser | No secrets in localStorage or client-side code |
| ☐ | CSRF protection | Implement anti-CSRF tokens for forms and state-changing requests |
| ☐ | Never expose API keys in frontend | API credentials should always remain server-side |