Skip to content

Instantly share code, notes, and snippets.

View benperove's full-sized avatar

Benjamin Perove benperove

View GitHub Profile
@benperove
benperove / RT2870STA.dat.patch
Last active September 23, 2017 09:26
Patch for mt7610u
--- RT2870STA.dat 2017-09-23 08:54:31.420814114 +0000
+++ RT2870STA.new.dat 2017-09-23 08:57:37.350198404 +0000
@@ -4,9 +4,9 @@
CountryRegionABand=7
CountryCode=
ChannelGeography=1
-SSID=11n-AP
+SSID=
NetworkType=Infra
-WirelessMode=5
@benperove
benperove / hashiup.py
Last active June 17, 2019 22:44
A python script to automatically update/install Terraform, Consul, Vault, Nomad, Vagrant, or Packer binaries on linux
#!/usr/bin/env python
#benperove@gmail.com
import os, re, requests, argparse
def upgrade(args):
p = os.uname()[0].lower()
a = os.uname()[4]
h = {
'x86' : '386',