Skip to content

Instantly share code, notes, and snippets.

View stevedylandev's full-sized avatar
🛰️
Building orbiter.host

Steve Simkins stevedylandev

🛰️
Building orbiter.host
View GitHub Profile
@rauchg
rauchg / p.sh
Last active April 15, 2025 22:40
Perplexity CLI in pure shell
#!/usr/bin/env bash
function p() {
jq -n \
--arg content "$*" \
'{
"model": "pplx-7b-online",
"messages": [
{
"role": "system",
"content": "Be precise and concise."
@radermacher
radermacher / boost.js
Last active August 28, 2023 10:55 — forked from b-nnett/boost.js
Arc ChatGPT Boost
// fork of https://gist.github.com/b-nnett/2749adb44566239e4c85ad1a8937c2bc
// origin by @B_nnett → https://twitter.com/joshm/status/1648346253355282432?s=20
/*
To set up this boost for chat.openai.com:
1) open Arc browser and login at chat.openai.com.
2) Head over to the + button in your sidebar and select New Boost.
Or hit + T and type New Boost into your Command Bar.
3) Click the `Code` button.
@polluterofminds
polluterofminds / base64_no_fs.js
Created November 11, 2021 19:16
Base64 Without File System
const { Readable } = require("stream");
const FormData = require("form-data");
const axios = require("axios");
(async () => {
try {
const base64 = "BASE64 FILE STRING;
const imgBuffer = Buffer.from(base64, "base64");
const stream = Readable.from(imgBuffer);
@polluterofminds
polluterofminds / upload.js
Created August 25, 2021 14:17
Pinata Upload JavaScript
const getApiConfig = async () => {
const config = {
headers: {
Authorization: `Bearer ${PinataJWT}`,
}
};
return config;
};
export const handleUpload = async (selectedFiles, customName, wrapWithDirectory) => {