Skip to content

Instantly share code, notes, and snippets.

@munabedan
munabedan / .bashrc.sh
Created January 20, 2024 10:34
Making python virtual environments less of an annoyance to use
venv() {
# Check if already activated
if [[ "$VIRTUAL_ENV" != "" ]]; then
echo -e "\n\e[1;33mDeactivating current virtual environment...\e[0m"
deactivate
return
fi
# Check if the venv directory exists
if [ -d "venv" ]; then
@phocks
phocks / nytimes_unpaywall.js
Last active May 13, 2023 11:08
Removes NYTimes Paywall + restores metered content removed by the NYTimes.com JavaScript (run with Tampermonkey)
// ==UserScript==
// @name NYTimes unpaywall
// @namespace phocks
// @version 0.1.2
// @description no subcribe popover to bother reader on nytimes.com
// @author phocks
// @match *://www.nytimes.com/*
// @grant GM_addStyle
// @run-at document-start
// @licence MIT
@KGOrphanides
KGOrphanides / gist:931ca3d9ce743573d66ed9fb29a1f574
Created March 30, 2019 21:04
Mighty Owlbear Steam system info as of March 30 2019
Computer Information:
Manufacturer: Unknown
Model: Unknown
Form Factor: Desktop
No Touch Input Detected
Processor Information:
CPU Vendor: AuthenticAMD
CPU Brand: AMD Ryzen 5 1600 Six-Core Processor
CPU Family: 0x17
@KGOrphanides
KGOrphanides / steaminfo 20190124
Created January 24, 2019 20:25
Steam system info as of 24 Jan 2019
Computer Information:
Manufacturer: Unknown
Model: Unknown
Form Factor: Desktop
No Touch Input Detected
Processor Information:
CPU Vendor: AuthenticAMD
CPU Brand: AMD Ryzen 5 1600 Six-Core Processor
CPU Family: 0x17