Skip to content

Instantly share code, notes, and snippets.

/tmp
❯ curl -I -H "Accept: image/avif,*/*" "https://flavortown.hackclub.com/assets/achievements/chepheus-b928fb8a.png"
HTTP/2 200
date: Sun, 21 Dec 2025 02:42:40 GMT
content-type: image/avif
cf-ray: 9b14070dbb204688-BOS
alt-svc: h3=":443"; ma=86400
cache-control: public, max-age=31536000
strict-transport-security: max-age=63072000; includeSubDomains
vary: Accept-Encoding
curl -I -H "Accept: image/png,*/*" "https://flavortown.hackclub.com/assets/achievements/chepheus-b928fb8a.png?cache=buster"
HTTP/2 200
date: Sun, 21 Dec 2025 01:22:20 GMT
content-type: image/png
cf-ray: 9b13915f7d2dc8e3-BOS
alt-svc: h3=":443"; ma=86400
cache-control: public, max-age=31556952
last-modified: Sun, 21 Dec 2025 00:38:45 GMT
strict-transport-security: max-age=63072000; includeSubDomains
vary: Accept-Encoding
/tmp
󰂃 9% ❯ curl -I -H "Accept: image/avif,image/webp,*/*" https://flavortown.hackclub.com/assets/achievements/chepheus-b928fb8a.png
HTTP/2 200
date: Sun, 21 Dec 2025 01:15:57 GMT
content-type: image/avif
cf-ray: 9b138803ad823e89-BOS
alt-svc: h3=":443"; ma=86400
cache-control: public, max-age=31536000
strict-transport-security: max-age=63072000; includeSubDomains
vary: Accept-Encoding
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Airtable Locations Map</title>
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/leaflet.css" />
<style>
body {
#!/bin/bash
# Script to show Docker container resource usage with Coolify project names
# Usage: ./coolify_resources.sh [--watch]
if [ "$1" = "--watch" ] || [ "$1" = "-w" ]; then
# Continuous monitoring mode
watch -n 2 "$0"
exit 0
fi
const commitFieldName = "TEMP: Git commits"
const slackChannel = "C06SBHMQU8G"
const Airtable = require('airtable');
Airtable.configure({
apiKey: process.env.AIRTABLE_API_KEY
})
@maxwofford
maxwofford / invite.sh
Created June 19, 2024 17:17
email inviter
#!/bin/bash
for email in $(cat $1); do
echo "inviting: $email"
curl -X POST 'https://arcadius.hackclub.com/slack-invite' \
-H 'Content-Type: application/json' \
-H "Authorization: Bearer $SLACK_KEY" \
-d "{\"email\":\"${email}\"}"
@maxwofford
maxwofford / xoxc.js
Created January 10, 2024 16:38
Pull the XOXC token from Slack
// open slack in the browser and paste this into your console for the XOXC token
localConfig = JSON.parse(localStorage.getItem('localConfig_v2'))
localConfig.teams[localConfig.lastActiveTeamId].token
first:
- Imagination
- Intelligence
- Integrity
- Innovation
- Inclusion
- Impact
- Curiosity
- Mystery
- Family
# frozen_string_literal: true
source "https://rubygems.org"
git_source(:github) { |repo| "https://github.com/#{repo}.git" }
ruby File.read(File.join(File.dirname(__FILE__), ".ruby-version")).strip
gem "dotenv-rails", groups: [:development, :test]
# gem 'sassc-rails' # required for rails 6