Skip to content

Instantly share code, notes, and snippets.

View plusreed's full-sized avatar

Reed plusreed

View GitHub Profile
@plusreed
plusreed / 0_reuse_code.js
Last active August 29, 2015 14:06
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@plusreed
plusreed / CiscoHidden.txt
Created November 6, 2015 20:12
linksys router pages
/Wireless_Advanced.asp -- advanced wireless settings
/Cysaja.asp -- shows router info (?)
/SysInfo.htm -- shows router info
/System.asp -- view router CPU usage, available memory, etc.
- /CBT_SystemArp.asp
- /CBT_SystemCpu.asp
- /CBT_SystemUpnp.asp

Keybase proof

I hereby claim:

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

To claim this, I am signing this object:

@plusreed
plusreed / centos_python_env_setup
Last active April 26, 2016 00:34 — forked from iDevPy/centos_python_env_setup
CentOS 7: Install Python 3.5.1, pip, virtualenv, and virtualenvwrapper on CentOS. Run this script as "root (sudo su -)" without sudo.
#!/bin/bash
#####################################################################
# DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
# Version 2, December 2004
# Copyright (C) 2015 Ivan Rivera
# Everyone is permitted to copy and distribute verbatim or modified
# copies of this license document, and changing it is allowed as long
# as the name is changed.
testing
description: Rack Mount Chassis
product: ThinkServer RD640
vendor: LENOVO
version: 70B0000LUX
serial: MJ01CCTK
width: 64 bits
capabilities: smbios-2.7 dmi-2.7 smp vsyscall32
configuration: boot=normal chassis=rackmount uuid=94F88111-8029-E411-BF71-70E28406F045
*-core
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 447.1G 0 disk
|-sda1 8:1 0 100M 0 part
`-sda2 8:2 0 447G 0 part
sdb 8:16 0 447.1G 0 disk
|-sdb1 8:17 0 100M 0 part
`-sdb2 8:18 0 447G 0 part
sdc 8:32 0 447.1G 0 disk
|-sdc1 8:33 0 100M 0 part
`-sdc2 8:34 0 447G 0 part
{
"active": true,
"atCapacity": false,
"showId": 2937,
"showType": "hq",
"startTime": "2018-01-26T02:00:00.000Z",
"nextShowTime": null,
"nextShowPrize": null,
"upcoming": [
{
@plusreed
plusreed / mtpc.sh
Created June 15, 2018 04:05
Check how many connections you have to your MTProxy server.
#!/bin/bash
PORT=941
if [ "$EUID" -ne 0 ]
then echo "Please run me as root or with sudo"
exit
fi
netstat -anp | grep ":${!PORT}" | grep "ESTABLISHED" | echo "Current MTProxy connections: $(wc -l)"