Skip to content

Instantly share code, notes, and snippets.

View shekohex's full-sized avatar
🦀
building a better world

shekohex

🦀
building a better world
View GitHub Profile
@superrnovae
superrnovae / DiscordAMDFix.md
Created March 4, 2021 22:32
Fix Discord crash on AMD hackintosh

Discord Crash Fix

Instructions

  1. Install Discord.

  2. Open Terminal.

  3. Copy-paste and execute one of the below methods (enter password if prompted).

Method - 1:

Serial Keys:
FU512-2DG1H-M85QZ-U7Z5T-PY8ZD
CU3MA-2LG1N-48EGQ-9GNGZ-QG0UD
GV7N2-DQZ00-4897Y-27ZNX-NV0TD
YZ718-4REEQ-08DHQ-JNYQC-ZQRD0
GZ3N0-6CX0L-H80UP-FPM59-NKAD4
YY31H-6EYEJ-480VZ-VXXZC-QF2E0
ZG51K-25FE1-H81ZP-95XGT-WV2C0
VG30H-2AX11-H88FQ-CQXGZ-M6AY4
@artizirk
artizirk / 0README.md
Last active September 26, 2022 01:46
Apple macOS Catalina under Linux KVM with GVT-g Intel GPU passthrough notes
@theramiyer
theramiyer / arch-arm-rpi3-b-plus.md
Last active April 23, 2024 21:11
Install Arch Linux (ARM) on Raspberry Pi 3 Model B+

Install Arch Linux (ARM) on Raspberry Pi B+

Created 17 Aug 2018

This is a simple installation that I did on my Raspberry Pi. Of course, this is only one of the many reasons to do it.

Here are my requirements:

@dikiaap
dikiaap / git-io-custom-url.md
Last active August 5, 2023 04:21
git.io custom URL

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

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
@fracz
fracz / memoize-expirable-decorator.spec.ts
Created January 14, 2017 11:54
Typescript memoize decorator with expiration time
import {memoize, clearMemoizedValue} from "./memoize";
describe("memoize", () => {
class MyClass {
@memoize(5)
getNumber() {
return Math.random();
}
}
@saranyan
saranyan / README.md
Created July 24, 2012 19:38 — forked from chrisjacob/README.md
How to: GitHub Pages "gh-pages" branch for User & Organization Pages

GitHub Pages "Normal" Setup for User & Organization Pages

Let’s say your GitHub username is “alice”. If you create a GitHub repository named alice.github.com, commit a file named index.html into the master branch, and push it to GitHub, then this file will be automatically published to http://alice.github.com/... The same works for organizations.

Read more here: http://pages.github.com/

However... the downside of this is that anyone that forks this repo won't get it as a GitHub Pages repo when they are working on it... because they have a different GitHub "username" (or "organisation name").

So the trick is to not use a master branch as the documentation tells you... rather, use a gh-pages branch, as you would for your other "Project Pages".