Skip to content

Instantly share code, notes, and snippets.

View a904guy's full-sized avatar
πŸ†š
π”Έπ•Ÿπ••π•£π•–π•¨ β„π•’π•¨π•œπ•šπ•Ÿπ•€

Andy Hawkins a904guy

πŸ†š
π”Έπ•Ÿπ••π•£π•–π•¨ β„π•’π•¨π•œπ•šπ•Ÿπ•€
View GitHub Profile

Keybase proof

I hereby claim:

  • I am a904guy on github.
  • I am a904guy (https://keybase.io/a904guy) on keybase.
  • I have a public key ASBYmBNvTOaNiCgXuP_FY0dMxMiK5U86IzCSy1tWbkCn_go

To claim this, I am signing this object:

@a904guy
a904guy / openpgp.txt
Created June 15, 2019 16:07
OpenKeychain Linked Identity
This Gist confirms the Linked Identity in my OpenPGP key, and links it to this GitHub account.
Token for proof:
[Verifying my OpenPGP key: openpgp4fpr:df67f345d4613586a2722cef296c7744216d05fd]
@a904guy
a904guy / benchmark.php
Created September 23, 2023 17:01
Quick Benchmark Function to Gather Execution Times in PHP.
<?php
register_tick_function('trackExecutionTime');
declare(ticks=1);
function trackExecutionTime()
{
global $executionTimes;
@a904guy
a904guy / bypass_local_vpn.py
Last active April 19, 2025 16:11
Bypass VPN on Computer by Binding to NON VPN Route
import socket
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
# On Windows type `route print` to get a list.
# On Linux type `ip route` to get a list.
# On Mac type `netstat -r -n` to get a list.
s.bind(('192.168.0.1', 0)) # Replace with the IP of the route interface you want to use