Skip to content

Instantly share code, notes, and snippets.

PotatoCurry /
Last active May 15, 2021 — forked from dotcomboom/
Discord Weather RPC
import os
import time
import requests
from pypresence import Presence
def main():
API_KEY = os.environ["WEATHERBIT_API_KEY"] # get a key at
CLIENT_ID = 704435320808276108
volcanoauthors /
Last active Jul 13, 2022
How to install Ubuntu Linux on an Acer Spin 1 SP111-32N

How to install Ubuntu Linux on an Acer Spin 1 SP111-32N


The first thing you encounter is how to get into the BIOS. Hold down the little blue Fn key, and press F2. If you do this as soon as you press the power button, then keep pressing F2 a lot, it gets into the BIOS reliably.

In the BIOS, you don’t need to change the Secure Boot settings (yet). Just remember that you have to hold down the little blue Fn key to change the boot order with F5 and F6.

The live USB should boot up just fine. Do not select “Install ubuntu” from the GRUB menu. Let the default option start up, “Try ubuntu without installing.”

Live USB

tenox7 / wrp.go
Last active May 29, 2019
WRP Go Prototype
View wrp.go
package main
import (
OneEyedKnight /
Last active Jul 25, 2021 — forked from EvieePy/
A Cogs Example for the rewrite version of -
import discord
from discord.ext import commands
import sys, traceback
"""This is a multi file example showcasing many features of the command extension and the use of cogs.
These are examples only and are not intended to be used as a fully functioning bot. Rather they should give you a basic
understanding and platform for creating your own bot.
These examples make use of Python 3.6.2 and the rewrite version on the lib.
richardg867 /
Last active May 27, 2022
Comic Chat fixer
# Comic Chat fixer MITM proxy: fixes Comic Chat to (sort of) work with modern
# IRC servers. Tested with Microsoft Chat 2.5 on Windows XP, 8 and 10
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
# This program is distributed in the hope that it will be useful,