Skip to content

Instantly share code, notes, and snippets.

View ssharker21's full-sized avatar

Summit ssharker21

View GitHub Profile
@alexeyknorre
alexeyknorre / stargazer_fix.r
Created May 31, 2022 04:50
Quick fix for stargazer <= 5.2.3 is.na() issue with long model names in R >= 4.2
## Quick fix for stargazer <= 5.2.3 is.na() issue with long model names in R >= 4.2
# Unload stargazer if loaded
detach("package:stargazer",unload=T)
# Delete it
remove.packages("stargazer")
# Download the source
download.file("https://cran.r-project.org/src/contrib/stargazer_5.2.3.tar.gz", destfile = "stargazer_5.2.3.tar.gz")
# Unpack
untar("stargazer_5.2.3.tar.gz")
# Read the sourcefile with .inside.bracket fun
@ssharker21
ssharker21 / Self-Bot.py
Created May 4, 2021 23:30
Discord Self-Bot (created by jpark9013)
import asyncio
import json
import logging
import random
import string
import typing
from datetime import datetime
import discord
from discord import Embed, Colour