Skip to content

Instantly share code, notes, and snippets.

View 537's full-sized avatar
🎯
Focusing

537

🎯
Focusing
View GitHub Profile
@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.

@ivan
ivan / grab-anchor-episode.sh
Last active May 16, 2024 22:16
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.
#
@munificent
munificent / generate.c
Last active May 14, 2024 05:30
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
@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

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'
@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.

@IanColdwater
IanColdwater / twittermute.txt
Last active May 23, 2024 18:37
Here are some terms to mute on Twitter to clean your timeline up a bit.
Mute these words in your settings here: https://twitter.com/settings/muted_keywords
ActivityTweet
generic_activity_highlights
generic_activity_momentsbreaking
RankedOrganicTweet
suggest_activity
suggest_activity_feed
suggest_activity_highlights
suggest_activity_tweet
@typokign
typokign / zoomsucks.md
Last active September 8, 2023 05:06
Zoom Sucks

Zoom Sucks

  • Zoom abuses the installer flow on MacOS to bypass permissions dialogs (source)
  • Zoom sends identifying device info to Facebook, even when users don't have a Facebook account (source) (fixed)
  • A bug in Zoom sent identifying information (including email addresses and profile pictures) of thousands of users to strangers (source)
  • Zoom claims that meetings are end-to-end encrypted in their white paper and marketing materials, but meetings are only encrypted in transit, and are available in plaintext to Zoom servers and employees. (source)
  • zoomAutenticationTool can be used to escalat
int[][] result;
float t, c;
float ease(float p) {
return 3*p*p - 2*p*p*p;
}
float ease(float p, float g) {
if (p < 0.5)
return 0.5 * pow(2*p, g);
@tejasvi
tejasvi / solarized_light.theme
Created June 28, 2020 05:28
Solarized light for Windows 10
; Copyleft (ɔ) github/tejasvi
[Theme]
; High Contrast White - IDS_THEME_DISPLAYNAME_HCWHITE
DisplayName=Solarized Light
ThemeId={E8520960-0633-4E7A-837D-FR2004778FE2}
; Computer - SHIDI_SERVER
[CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\DefaultIcon]
DefaultValue=%SystemRoot%\System32\imageres.dll,-109