Skip to content

Instantly share code, notes, and snippets.

@fiatjaf
fiatjaf / activity-nostr-bridge-bounty.md
Last active September 30, 2023 05:48
ActivityPub bridge Nostr relay bounty
@wiverson
wiverson / modern-hosting-2021.md
Last active June 6, 2024 20:15
List of free hosting services (that also offer options to scale up for $) in 2021

Italics means the text/description is directly from the vendor, usually the slug line on their home page.

Non-italics means it's my comments/editorial.

Static Sites

  • Surge
    • Static web publishing for Front-End Developers
    • Simple, single-command web publishing. Publish HTML, CSS, and JS for free, without leaving the command line.
@xawos
xawos / _RPRND
Last active October 16, 2022 10:56
Rapiddisk RAM cache for Raspberry Pi USB2 disk
Raspberry Pi Rapiddisk Network Disk
Quick install script incuded ;)
This setup assumes you're running a Debian/Ubuntu OS on your Rpi/PC.
Also I assume you have a device on /dev/sda that want to cache with a bit of RAM.
Hack as needed.
@Ultrabenosaurus
Ultrabenosaurus / MotionEye-IFTTT-Webhook.sh
Last active December 1, 2022 04:51
A script to trigger IFTTT webhook applets from MotionEye software
#!/bin/bash
##
#
# MotionEye-IFTTT-Webhook.sh
# A script to trigger IFTTT webhook applets from MotionEye software
#
# author: Ultrabenosaurus
# license: BSD 3-Clause
# source: https://gist.github.com/Ultrabenosaurus/5916101463f5d00732f901e7a3d8a2c2
@Ra1d7
Ra1d7 / fbmkr.py
Created August 28, 2019 18:49
Facebook Mass Account Maker
import mechanize
import requests
import re
import logging
import argparse
import sys
reload(sys)
sys.setdefaultencoding('utf8')
@ivanfgm
ivanfgm / mail2telegram.js
Last active January 13, 2023 10:46
Small script to send received emails to a telegram bot, easy piece thanks to: node-telegram-bot-api and mail-listener2
const makeBot = require('node-telegram-bot-api');
const mailListener = require("mail-listener2");
const config = {
// First get your telegram bot
telegramToken: 'Obtain your token talking to BotFather on telegram',
// Send a message to the bot and paste here your chat id (the response)
// TODO: login to avoid this step and allow multiple users
chatID = 'Chat ID',
// Gmail or Gsuite settings
#facebook marketplace
from selenium import webdriver
from time import sleep
from selenium.webdriver.common.keys import Keys
from selenium.webdriver.support.ui import WebDriverWait
from selenium.webdriver.common.by import By
from selenium.webdriver.support import expected_conditions as EC
from pymongo import MongoClient
class App:
import paho.mqtt.client as mqtt
import paho.mqtt.publish as publish
import time
import datetime
import json
import ast
import requests
import Queue
import sys
import base64
var ipfsAPI = require('ipfs-api');
var ipfs = ipfsAPI('localhost', '5001', {protocol: 'http'});
const topic = 'general';
var five = require('johnny-five');
five.Board().on('ready', function(){
led = new five.Led(9);
console.log('Ready');
@mainnika
mainnika / gist:a07dbf2c136a04e9742032df50fec9e2
Created November 3, 2016 06:38
ok.ru auto add friends
// when «people you may know» window is open
function add_friends(){
var q = [];
return setInterval(function(){
var r = document.getElementsByName('button_save_rlshp')[0];
if (r) {
r.click();