Skip to content

Instantly share code, notes, and snippets.

View dotcomboom's full-sized avatar
:shipit:
at university of minnesota

dcb dotcomboom

:shipit:
at university of minnesota
View GitHub Profile
@aljbri
aljbri / mvcpp14.md
Created September 21, 2020 16:39
Microsoft Visual C++ 14.0 Build Tools

What is it about?

Sometimes while installing a new packages in Python we may get the following error:

error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": http://landinghub.visualstudio.com/visual-cpp-build-tools

In this tiny note, you can get the direct installer for the Microsoft Visual C++ Build Tools 14.0 and you can make an offline installer. Therefore, you can use it on a different computer

Before do anything, install or upgrade the Setuptools Python package. It contain compatibility improvements and add automatic use of compilers [source]

@PotatoCurry
PotatoCurry / weather-rpc.py
Last active May 15, 2021 20:02 — forked from dotcomboom/weather-rpc.py
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 https://www.weatherbit.io/account/create
CLIENT_ID = 704435320808276108
@volcanoauthors
volcanoauthors / Install-Linux-on-Acer-Spin-1-SP111-32N.md
Last active January 6, 2024 13:54
How to install Ubuntu Linux on an Acer Spin 1 SP111-32N

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

BIOS Key

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

@kirinelf
kirinelf / clock.html
Last active April 17, 2024 22:11 — forked from sam0737/clock.html
OBS Studio: A HTML page for showing current date and time in the video
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>A simple clock</title>
</head>
<body translate="no" >
@tenox7
tenox7 / wrp.go
Last active May 29, 2019 09:45
WRP Go Prototype
package main
import (
"context"
"flag"
"fmt"
"log"
"net/http"
"strconv"
"strings"
@jpanahon
jpanahon / bot_example.py
Last active July 25, 2021 05:57 — forked from EvieePy/bot_example.py
A Cogs Example for the rewrite version of - discord.py
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
richardg867 / proxy.py
Last active January 7, 2024 18:12
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,