Skip to content

Instantly share code, notes, and snippets.

View benharri's full-sized avatar
💭
why is this a thing

Ben Harris benharri

💭
why is this a thing
View GitHub Profile
@aamiaa
aamiaa / RevertNewLayout.md
Last active December 21, 2024 10:42
Revert New Discord Layout

The original snippet no longer works!

On 02/09/2024 at around 8pm UTC, Discord flipped an experiment (2023-09_mobile_redesign_override_toggles) which ignores the layout toggle that this script relied on.

If you want to continue using the old layout, you can either use a modded mobile client (such as Vendetta) to disable that experiment, or downgrade to an old version of the app.

Method 1 - Downgrading (Android)

Tip

Use this one if you want a fast, beginner-friendly solution and don't mind using a version from November 2023

  1. Download version 205.15 of Discord mobile app from ApkMirror
@dansup
dansup / .env
Last active August 31, 2019 01:13
PixelFed Alpha Installation
APP_NAME=PixelFed Test
APP_ENV=local
APP_KEY=
APP_DEBUG=true
APP_URL=http://localhost
ADMIN_DOMAIN="localhost"
APP_DOMAIN="localhost"
LOG_CHANNEL=stack
@umidjons
umidjons / youtube-dl-download-audio-only-on-best-quality.md
Last active November 14, 2024 21:20
Download Audio from YouTube with youtube-dl

Download Audio from YouTube

-i - ignore errors

-c - continue

-t - use video title as file name

--extract-audio - extract audio track

@vilmibm
vilmibm / ~usenet.md
Created November 1, 2014 18:19
tilde usenet with inn2 -- manual instructions

tilde usenet with inn2

This document describes how to configure inn2 on your server. I do not claim to be a usenet expert. These are just the things I picked up connecting tilde.town to tilde.club and others. All of this stuff is done for you if you use puppet-tilde.

Installation

Ensure that inn2 is installed on your system. It should be available as a package. These directions assume inn2 2.5.x.

@bear
bear / withknown.conf
Last active December 21, 2017 02:01
nginx config for Known
server {
listen :80;
server_name example.net;
access_log /var/log/nginx/example-access.log;
error_log /var/log/nginx/example-error.log error;
root /srv/known;
location ~ /\.ht {
deny all;
@korya
korya / Subfolder to git repo.md
Last active November 22, 2024 12:10
Convert subfolder into Git submodule
@quchen
quchen / trolling_haskell
Last active November 12, 2024 00:10
Trolling #haskell
13:15 <xQuasar> | HASKELL IS FOR FUCKIN FAGGOTS. YOU'RE ALL A BUNCH OF
| FUCKIN PUSSIES
13:15 <xQuasar> | JAVASCRIPT FOR LIFE FAGS
13:16 <luite> | hello
13:16 <ChongLi> | somebody has a mental illness!
13:16 <merijn> | Wow...I suddenly see the error of my ways and feel
| compelled to write Node.js!
13:16 <genisage> | hi
13:16 <luite> | you might be pleased to learn that you can compile
| haskell to javascript now