Skip to content

Instantly share code, notes, and snippets.

@badboybeyer
badboybeyer / 3080FE_check_nvidia_stock_2020-10-08.py
Last active November 24, 2021 02:50
A script for checking availability of the RTX 3080FE on nvidia.com on 2020-10-08; uses selenium and firefox; sends a text message via twilio if stock found; edited to ignore the best buy stock option
#!/usr/bin/env python
"""
MIT License
Copyright (c) 2020 Erich Beyer
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
@jackblk
jackblk / squid_proxy_tutorial.md
Last active June 27, 2024 08:31
Tutorial on how to setup a squid proxy with authentication.

Note

This tutorial is for Ubuntu & Squid3. Use AWS, Google cloud, Digital Ocean or any services with Ubuntu to follow this tutorial.

Install squid & update

sudo apt-get update
sudo apt-get install squid3
sudo apt-get install apache2-utils
@matthewzring
matthewzring / markdown-text-101.md
Last active July 1, 2024 12:18
A guide to Markdown on Discord.

Markdown Text 101

Want to inject some flavor into your everyday text chat? You're in luck! Discord uses Markdown, a simple plain text formatting system that'll help you make your sentences stand out. Here's how to do it! Just add a few characters before & after your desired text to change your text! I'll show you some examples...

What this guide covers:

@devlim
devlim / 000-default.conf
Last active September 13, 2023 15:03
Apache default virtual host file, default ssl conf file. /etc/apache2/sites-available/000-default.conf /etc/apache2/sites-available/default-ssl.conf
<VirtualHost *:80>
# The ServerName directive sets the request scheme, hostname and port that
# the server uses to identify itself. This is used when creating
# redirection URLs. In the context of virtual hosts, the ServerName
# specifies what hostname must appear in the request's Host: header to
# match this virtual host. For the default virtual host (this file) this
# value is not decisive as it is used as a last resort host regardless.
# However, you must set it for any further virtual host explicitly.
#ServerName www.example.com
@davydany
davydany / IPTABLES-CHEATSHEET.md
Last active July 1, 2024 22:51
IP Tables (iptables) Cheat Sheet

IP Tables (iptables) Cheat Sheet

IPTables is the Firewall service that is available in a lot of different Linux Distributions. While modifiying it might seem daunting at first, this Cheat Sheet should be able to show you just how easy it is to use and how quickly you can be on your way mucking around with your firewall.

Resources

The following list is a great set of documentation for iptables. I used them to compile this documentation.

@yvanin
yvanin / Quick HTTP proxy on Windows.md
Last active December 16, 2022 10:27
HTTP proxy with basic authentication using Squid