Skip to content

Instantly share code, notes, and snippets.

Avatar
REPLACED THIS USER SUCCESSFULLY.

shanghai nyaa chan! koumaza

REPLACED THIS USER SUCCESSFULLY.
View GitHub Profile
@koumaza
koumaza / ancient-payton.xml
Last active Aug 15, 2020
local manifest for repo with payton
View ancient-payton.xml
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<remote name="sdm660"
fetch="https://github.com/moto-SDM660" />
<remote name="lineage-17.1_payton"
revision="refs/heads/lineage-17.1"
fetch="https://github.com" />
<remote name="pixel-device"
revision="ten"
fetch="https://github.com/PixelExperience-Devices" />
@gbrow004
gbrow004 / ubuntu-MBP-16.md
Last active Nov 26, 2021
Ubuntu on Apple Macbook Pro 16-inch (2019)
View ubuntu-MBP-16.md

Acknowledgements

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:

Kernel Patches: aunali (https://github.com/aunali1/)

T2 security chip bypass to allow access to the SSD, keyboard, and trackpad: MCMrARM (https://github.com/MCMrARM)

Audio: kevineinarsson

@qzm
qzm / aria2.conf
Last active Nov 24, 2021
Best aria2 Config
View aria2.conf
### Basic ###
# The directory to store the downloaded file.
dir=${HOME}/Downloads
# Downloads the URIs listed in FILE.
input-file=${HOME}/.aria2/aria2.session
# Save error/unfinished downloads to FILE on exit.
save-session=${HOME}/.aria2/aria2.session
# 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
save-session-interval=60
# Set the maximum number of parallel downloads for every queue item. See also the --split option. Default: 5
@TRPB
TRPB / arch-macbook2018.md
Last active Nov 30, 2021
Guide: Running Arch on a 2018 MacBook Pro
View arch-macbook2018.md

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
aymericbeaumet / delete-likes-from-twitter.md
Last active Nov 28, 2021
[Recipe] Delete all your likes/favorites from Twitter
View delete-likes-from-twitter.md

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: https://twitter.com/{username}/likes
  2. Open the console and run the following JavaScript code:
setInterval(() => {
  for (const d of document.querySelectorAll('div[data-testid="unlike"]')) {
    d.click()
  }
@artixnous
artixnous / fucktheskullofsystemd.sh
Last active Nov 15, 2021
Fast convert systemd Arch to OpenRC Artix
View fucktheskullofsystemd.sh
#!/bin/sh
# nous,2019-2020
# How to use
# wget https://tiny.cc/fucksystemd
# chmod +x fucksystemd
# sudo ./fucksystemd
# Test Arch ISO installation:
# cfdisk /dev/sda
@katabame
katabame / ConnectionTime.plugin.js
Last active Aug 10, 2021
VCに接続されている時間を表示するDiscordプラグイン | Discord plugin that displays how long connected to VC
View ConnectionTime.plugin.js
//META{"name":"ConnectionTime","website":"https://kataba.me/","source":"https://gist.github.com/katabame/ef65c6379c8d50af8702c5932c6dbf5b"}*//
/*
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
View git-io-custom-url.md

Command:

curl https://git.io/ -i -F "url=https://github.com/YOUR_GITHUB_URL" -F "code=YOUR_CUSTOM_NAME"

URLs that can be created is from:

  • https://github.com/*
  • https://*.github.com
  • https://*.github.com/*
  • https://*.github.io
@seanh
seanh / html_tags_you_can_use_on_github.md
Last active Oct 30, 2021
HTML Tags You Can Use on GitHub
View html_tags_you_can_use_on_github.md

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