Skip to content

Instantly share code, notes, and snippets.

View koumaza's full-sized avatar

shanghai nyaa chan! koumaza

View GitHub Profile
koumaza / ancient-payton.xml
Last active August 15, 2020 10:21
local manifest for repo with payton
View ancient-payton.xml
<?xml version="1.0" encoding="UTF-8"?>
<remote name="sdm660"
fetch="" />
<remote name="lineage-17.1_payton"
fetch="" />
<remote name="pixel-device"
fetch="" />
gbrow004 /
Last active December 18, 2023 23:34
Ubuntu on Apple Macbook Pro 16-inch (2019)


This gist is out of date and I can no longer help much, as I got rid of my Mac.

Please visit T2 Linux website for more and better information:


This gist is just a compilation of the hard work that others have put in. I'm not a software developer, so if there are any mistakes or better ways of doing things, I'd appreciate any suggestions. Here's a list of the real heroes who made this possible:

qzm / aria2.conf
Last active February 18, 2024 12:41
Best aria2 Config
View aria2.conf
### Basic ###
# The directory to store the downloaded file.
# Downloads the URIs listed in FILE.
# Save error/unfinished downloads to FILE on exit.
# Save error/unfinished downloads to a file specified by --save-session option every SEC seconds. If 0 is given, file will be saved only when aria2 exits. Default: 0
# Set the maximum number of parallel downloads for every queue item. See also the --split option. Default: 5
Last active November 20, 2023 13:21
Guide: Running Arch on a 2018 MacBook Pro

Hardware Prerequisites

You'll need at least the following hardware:

  • At least 3 USB-A to USB-C converters or hub with enough ports for at least 3 USB devices if all your devices are USB-A then:
  • A USB drive
  • A USB keyboard
  • USB to Ethernet adapter, compatible USB dongle or USB tethering on a phone
aymericbeaumet /
Last active February 22, 2024 15:12
[Recipe] Delete all your likes/favorites from Twitter

Ever wanted to delete all your likes/favorites from Twitter but only found broken/expensive tools? You are in the right place.

  1. Go to:{username}/likes
  2. Open the console and run the following JavaScript code:
setInterval(() => {
  for (const d of document.querySelectorAll('div[data-testid="unlike"]')) {
artixnous /
Last active February 7, 2024 14:03
Fast convert systemd Arch to OpenRC Artix
# nous,2019-2022
# How to use
# wget
# chmod +x fucksystemd
# sudo ./fucksystemd
# Test Arch ISO installation:
# cfdisk /dev/sda
katabame / ConnectionTime.plugin.js
Last active August 10, 2021 17:26
VCに接続されている時間を表示するDiscordプラグイン | Discord plugin that displays how long connected to VC
View ConnectionTime.plugin.js
MIT License
Copyright (c) 2018 katabame
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
dikiaap /
Last active August 5, 2023 04:21 custom URL

Update: As of 11 January 2022, no longer accepts new URLs.


curl -i -F "url=" -F "code=YOUR_CUSTOM_NAME"

URLs that can be created is from:

  • https://*
seanh /
Last active February 5, 2024 07:28
HTML Tags You Can Use on GitHub

HTML Tags You Can Use on GitHub

Wherever HTML is rendered on GitHub (gists, README files in repos, comments on issues and pull requests, ...) you can use any of the HTML elements that GitHub Flavored Markdown (GFM) provides syntactic sugar for. You can either use the syntactic sugar that GFM (or other GitHub-supported markup language you're using) provides or, since Markdown can contain raw HTML, you can enter the HTML tags manually.

But GitHub also allows you to use a few HTML elements beyond what Markdown provides by entering the tags manually, and some of them are styled with CSS. Most raw HTML tags get stripped before rendering the HTML. Those tags that can be generated by GFM syntactic sugar, plus a few more, are whitelisted. These aren't documented anywhere that I can find. Here's what I've discovered so far:

<details> and <summary>

A `<detai