Skip to content

Instantly share code, notes, and snippets.

Avatar
🏡
Working from Home

Justin Paul recklessop

🏡
Working from Home
View GitHub Profile
View gist:6baec578ab783ff68ed1577b67cdfa2b
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQCwXf+G4iEuy7faSUWeaSivGWkRuvKvSk1SSxTGvSgYp9/XNOKuK+LHHykwfB3rfZW5WB7zQkR9DVgZCHj6urw1jLZyX4e18AsYUx1Z3S0PGDCf4cgva9rQsfR+EpXTf18uvvjLg/qoHWi5WEBaKTTwiExAhFaGCf+6e0SLnfVG4DKOoDQjqfyqUkY3Q3xj3Y0zdYAEj2HC6vQrtP9eY9FBaovFHedk6ISIXxWDl0HpcdBXgfHNoZbW2ucxEiHlEd/Cr/F3+ErdFlhvusAftiwgCEAg88YvWgJ2+H2oC97TT0mJ6/Kl4XXVQbez+uFf1r2XQNOjY+vUvo3d3PuI6KkGJuAmmgtm5A9R3/Xy4mea88pPDpmbtm0IfgTc27kM87FJtMvjqchwUHkUNxLDLooi7Ke4JhYw1BX5fQ7r2Jwsoc+e0CNjaYyxJ6rJ3NfsL9HMY+nO2upJl2nvvNg6W1/arvThaj68BS4hSTl62eREXb+bEfCwKOMGJew5Zuew6SM= justin@Justins-MacBook-Pro.local
View gist:8d48d40f6ad01edcff8ecc7f93bf3f82
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDOqjX6aEGo3YSgFeQXlL2KQZt2OzrX3+k83YV9+Y0+KvYQ/XgUGOInhNA10PkT7tn0gGjzMUwdUryuIp3hYY/xpsFQI4Gp0GZBKpZ/FLoWfntbQ8CG4CKzPj6GDhCEyo4nzbK86JIu4xuRSzI7cxWbrEU6Y8I1U/flmrTOrYBdFMB/Q/RJC0OvGD8g1o76YZ029+aCzs2elH3uyrRq7qM52YgOrgsazVNJkEW00tn3KwgGmYx1zYy9RH4mo/Rai2XVyHQ7YERTxBV4q4BUqMmd+G1WUVAhNE8GllRkWslSs6bdjIsd22XDqlzZ6P6pOVbJ2fOTA/moFR9V0Es1gUAIj/J3EBPfuC5IRdf+Bxz0in7nnhwzVJdpPe83aVZnfupJ6EDBAdTI/Fy1NsuSdDeBnMJZJdja2K3XI3Rq/Q+r1a+XlwMxi7N/rNbD2Bh3eH7LJ0roYvGyn2MsSq6cVar6nd/CGwUYgbVZg29A5909/bIbsPNu++Q2MVZDP+o4Unw5mTUxQUx4OI6JSvqoe+BxY4eHT7/A2bePmV7eHj4e9k8QhxiKkBEr12/Ro1Y/0gOkN+IMuj/DE4Nc115qGnSZSLdSObfo7nS0EfymWzFHH8fjcs1OokkhoBigauR00KxAeyX9ySj6Z1zuvs9qFq5vqEfT08N6TJjKvlGvuGOcgw== justin@jpaul.io
View AllowInsecureSMBAccess.reg
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters]
"AllowInsecureGuestAuth"=dword:00000001
View keybase.md

Keybase proof

I hereby claim:

  • I am recklessop on github.
  • I am recklessop (https://keybase.io/recklessop) on keybase.
  • I have a public key ASCOZNr_ZAJuZZivlOrxTVGn5wsC1RSTL_IrJ7lLXdPP-Qo

To claim this, I am signing this object:

@recklessop
recklessop / sudo_bootstrap.sh
Created Jan 7, 2020
script to add a user to sudoers
View sudo_bootstrap.sh
#!/bin/sh
#
# Script for adding and removing user from /etc/sudoers file used by sudo
# for bootstrapping perl soap framework
# NOTES:
# This code assuming that user being added to sudo file has been already created
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin
export PATH
View Get-IgniteContent.ps1
# Author Rajesh Sitaraman
# @rjesh | rjesh.com
<#
.SYNOPSIS
Download Ignite 2019 session presentation slides and videos.
.EXAMPLE
PS C:\> .\Get-IgniteContent.ps1 -DownloadPath /Users/rajeshsitaraman/src/public/share/IG-2019 -Keyword "AI"
.EXAMPLE
PS C:\> .\Get-IgniteContent.ps1 -DownloadPath /Users/rajeshsitaraman/src/public/share/IG-2019 -Keyword "Teams" -IncludeVideos
View Zerto-Ports.md

ZVM Inbound Ports

  • 9989
  • 9969
  • 9779
  • 9080
  • 9081
  • 9000
  • 9180
@recklessop
recklessop / dailystats.py
Last active Feb 21, 2019
multi-threaded daily stats table generator
View dailystats.py
#!/usr/bin/python3
import pymysql.cursors
import threading
import time
import queue
import multiprocessing
exitFlag = 0
@recklessop
recklessop / install.sh
Created Feb 21, 2019
requirements for dailystats.py for zplanner
View install.sh
sudo apt install python3-pip3 -y
sudo pip install pymysql.cursors
@recklessop
recklessop / dailstats.sql
Created Feb 20, 2019
daily stats table structure
View dailstats.sql
-- phpMyAdmin SQL Dump
-- version 4.5.4.1deb2ubuntu2.1
-- http://www.phpmyadmin.net
--
-- Host: localhost
-- Generation Time: Feb 20, 2019 at 04:11 PM
-- Server version: 5.7.24-0ubuntu0.16.04.1
-- PHP Version: 7.0.32-0ubuntu0.16.04.1
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";