Skip to content

Instantly share code, notes, and snippets.

View bawanyadam's full-sized avatar

Adam Goehrig-Bawany bawanyadam

  • Seattle, WA
  • 10:40 (UTC -07:00)
View GitHub Profile
@pojntfx
pojntfx / main.sh
Last active May 18, 2024 07:53
Bluesky/AT Protocol: cURL API Interaction Cheatsheet
#!/bin/bash
# This script resolves a DID, retrieves an API key, fetches a user's feed,
# and posts a "Hello, world" message to the user's feed.
# Resolve DID for handle
HANDLE='felicitas.pojtinger.com'
DID_URL="https://bsky.social/xrpc/com.atproto.identity.resolveHandle"
export DID=$(curl -G \
--data-urlencode "handle=$HANDLE" \
@gboudreau
gboudreau / AuthyToOtherAuthenticator.md
Last active May 30, 2024 04:21 — forked from Ingramz/AuthyToOtherAuthenticator.md
Export TOTP tokens from Authy
@ck-on
ck-on / ocp.php
Last active May 18, 2024 22:35
OCP - Opcache Control Panel (aka Zend Optimizer+ Control Panel for PHP)#ocp #php #opcache #opcode #cache #zend #optimizerplus #optimizer+
<?php
/*
OCP - Opcache Control Panel (aka Zend Optimizer+ Control Panel for PHP)
Author: _ck_ (with contributions by GK, stasilok)
Version: 0.1.7
Free for any kind of use or modification, I am not responsible for anything, please share your improvements
* revision history
0.1.7 2015-09-01 regex fix for PHP7 phpinfo
0.1.6 2013-04-12 moved meta to footer so graphs can be higher and reduce clutter