Skip to content

Instantly share code, notes, and snippets.

View irubnich's full-sized avatar
🦆

Ilya Rubnich irubnich

🦆
View GitHub Profile
@irubnich
irubnich / importer.py
Last active November 23, 2022 22:42
[DEPRECATED] Script to suspend instances from the PaulaToThePeople list
# 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.
@irubnich
irubnich / memes.js
Last active May 22, 2020 01:22
dumb meme test
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');
@irubnich
irubnich / keybase.md
Created March 31, 2014 14:16
I'm Verified!

Keybase proof

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: