Skip to content

Instantly share code, notes, and snippets.

View 537's full-sized avatar
🎯
Focusing

537

🎯
Focusing
View GitHub Profile
@gmolveau
gmolveau / twitter_reset.md
Last active January 23, 2023 14:49
Twitter reset scripts

Twitter Reset

Ces scripts permettent de vider le flux d'activité d'un compte twitter : RT, likes, tweets.

Those scripts will flush your twitter activity feed : likes, RT, tweets...

Ces scripts ne fonctionnent que pour twitter en langue anglaise. (https://twitter.com/settings/language)

Those scripts only work for twitter in english.

from github import Github # pip install github
# Github API Token
ACCESS_TOKEN= ''
# Github Users stars you want to hoard
githubUser = 'stankye'
# File name you want to save as
fileName = 'myStars.txt'
@thefranke
thefranke / RSS.md
Last active April 16, 2024 09:03
A list of RSS endpoints, readers and resources

The RSS Endpoint List

Please refer to this blogpost to get an overview.

Replace *-INSTANCE with one of the public instances listed in the scrapers section. Replace CAPITALIZED words with their corresponding identifiers on the website.

Social Media

Twitter

@munificent
munificent / generate.c
Last active May 1, 2024 20:06
A random dungeon generator that fits on a business card
#include <time.h> // Robert Nystrom
#include <stdio.h> // @munificentbob
#include <stdlib.h> // for Ginny
#define r return // 2008-2019
#define l(a, b, c, d) for (i y=a;y\
<b; y++) for (int x = c; x < d; x++)
typedef int i;const i H=40;const i W
=80;i m[40][80];i g(i x){r rand()%x;
}void cave(i s){i w=g(10)+5;i h=g(6)
+3;i t=g(W-w-2)+1;i u=g(H-h-2)+1;l(u
@ivan
ivan / grab-anchor-episode.sh
Last active June 14, 2023 19:54
Download a podcast episode from anchor.fm
#!/usr/bin/env bash
# Download a podcast episode from anchor.fm
#
# Usage:
# grab-anchor-episode "https://anchor.fm/emerge/episodes/Robert-MacNaughton---Learnings-from-the-Life-and-Death-of-the-Integral-Center-e31val" # (m4a example)
# grab-anchor-episode "https://anchor.fm/free-chapel/episodes/Are-You-Still-In-Love-With-Praise--Pastor-Jentezen-Franklin-e19u4i8" # (mp3 example)
#
# anchor.fm serves a list of m4a or mp3 files that need to be concatenated with ffmpeg.
#
@flying-press
flying-press / Undocumented-Documentation.md
Last active May 18, 2019 22:28
Incomplete documentation of Tumblr's blocks and variables based on the personal experimentation of bychloethemes on Tumblr. Original link here: https://bychloethemes.tumblr.com/undocs . Will update whenever or ifever bychloethemes updates the documentation.

Undocumented Documentation

This is a list of tumblr blocks and variables that are un-documented. Most were found in the new Optica default theme. You can find the official tumblr documentation here.

This is by no means comprehensive and is only from my personal experimentation. I take no responsibility for anything.

All that being said, this has taken me quite a few hours to put together. If you would like to donate to my paypal as a show of appreciation, it would be greatly appreciated. You can find my paypal here.

Examples are primarily taken from tumblr's Optica theme.

@johnhw
johnhw / umap_sparse.py
Last active January 6, 2024 16:09
1 million prime UMAP layout
### JHW 2018
import numpy as np
import umap
# This code from the excellent module at:
# https://stackoverflow.com/questions/4643647/fast-prime-factorization-module
import random
@nzec
nzec / README.MD
Last active February 23, 2024 01:08
DeezLoader Offical Page

Thanks to /u/zpoo32 for reporting several issues in this list!

Deemix

  • deemix: just the cli and the library
  • deemix-pyweb: the app with a GUI
  • deemix-server: just the server part of deemix-pyweb
@danielecook
danielecook / swot.py
Created February 1, 2018 11:14
Generate swot (domain --> school/university)
import os
import shutil
import pickle
from subprocess import Popen, PIPE
from collections import defaultdict
out, err = Popen(['git','clone','https://github.com/leereilly/swot'],
stdout=PIPE,
stderr=PIPE).communicate()
school_directory = defaultdict()
@Moutard3
Moutard3 / mp3-upload-direct-link.md
Last active April 15, 2024 07:06
Tutorials / Walkthrough for uploading & getting direct link of sound file (mp3, ogg, ...)