Skip to content

Instantly share code, notes, and snippets.

View jnasoy's full-sized avatar

Joseph Nash Belandres jnasoy

View GitHub Profile
@jnasoy
jnasoy / .env.local
Created April 15, 2025 17:58 — forked from SuaYoo/.env.local
Uploading an image with Next.js and Blazeback B2 (AWS S3 alternative)
BACKBLAZE_BUCKET_ID='YOUR_BACKBLAZE_BUCKET_ID'
BACKBLAZE_KEY_ID='YOUR_BACKBLAZE_KEY_ID'
BACKBLAZE_APP_KEY='YOUR_BACKBLAZE_APP_KEY'
// Run this command to generate base config and vs code settings:
// pnpm dlx @antfu/eslint-config@latest
import antfu from "@antfu/eslint-config";
export default antfu({
type: "app",
typescript: true,
formatters: true,
stylistic: {
@jnasoy
jnasoy / README.md
Created July 14, 2017 00:56 — forked from oodavid/README.md
Deploy your site with git

Deploy your site with git

This gist assumes:

  • you have a local git repo
  • with an online remote repository (github / bitbucket etc)
  • and a cloud server (Rackspace cloud / Amazon EC2 etc)
    • your (PHP) scripts are served from /var/www/html/
    • your webpages are executed by apache
  • apache's home directory is /var/www/