This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
make sure `cups-browsed` is running | |
open cups with `open http://localhost:631/` |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# make sure to always include last pdf as output file otherwise it will overwrite input pdf | |
pdfunite input1.pdf input2.pdf input3.pdf output.pdf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl "https://coincodex.com/api/coincodex/get_coin/eth" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl "https://api.coinpaprika.com/v1/tickers/usdc-ethereum" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# see order of binaires for go | |
echo $PATH | |
# remove local go | |
sudo rm -rf /usr/local/go |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -s "https://registry.npmjs.org/merkletreejs/latest" | jq '.version' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import fs from 'fs' | |
import path from 'path' | |
import pinataSDK from '@pinata/sdk' | |
require('dotenv').config() | |
const pinataApiKey = process.env.PINATA_API_KEY | |
const pinataSecretApiKey = process.env.PINATA_SECRET_API_KEY | |
export class IpfsUpload { | |
pinata = pinataSDK(pinataApiKey, pinataSecretApiKey) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import fetch from 'isomorphic-fetch' | |
require('dotenv').config() | |
const CLOUDFLARE_ZONE_ID = process.env.CLOUDFLARE_ZONE_ID | |
const CLOUDFLARE_TOKEN = process.env.CLOUDFLARE_TOKEN | |
export class Cloudflare { | |
async getRecordId(dnslinkDomain: string) { | |
const url = `https://api.cloudflare.com/client/v4/zones/${CLOUDFLARE_ZONE_ID}/dns_records?name=${dnslinkDomain}` | |
const res = await fetch(url, { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://www.google.com:81/ |