I hereby claim:
- I am irubnich on github.
- I am ilya (https://keybase.io/ilya) on keybase.
- I have a public key whose fingerprint is 8965 BF7E E47B 15D8 6F69 C704 F6DF 153C 90B9 24CC
To claim this, I am signing this object:
# Note: this is deprecated in favor of https://github.com/irubnich/fediblock-importer | |
# This script suspends the instances from this list: https://joinfediverse.wiki/FediBlock | |
# HOW TO USE | |
# 1. Go to Preferences -> Development. | |
# 2. Create a new application. Name it anything you want and give it the "admin:write" scope. | |
# Leave all other defaults. | |
# 3. Click into your new application and note the client ID and secret. | |
# 4. Fill in the INSTANCE_URL, CLIENT_ID, and CLIENT_SECRET variables below. | |
# INSTANCE_URL should start with https:// and should not contain a trailing slash. |
const express = require('express'); | |
const app = express(); | |
const port = 3000; | |
const Jimp = require('jimp'); | |
const main = async (req, res) => { | |
const font = await Jimp.loadFont(Jimp.FONT_SANS_32_BLACK); | |
const image = await Jimp.read('https://i.imgur.com/anGvElY.jpg'); | |
const printedImage = image.print(font, 10, 10, 'puma'); |
I hereby claim:
To claim this, I am signing this object: