Skip to content

Instantly share code, notes, and snippets.

View paynecodes's full-sized avatar

Jarrod Payne paynecodes

View GitHub Profile
@paynecodes
paynecodes / myscript
Created February 19, 2021 21:42 — forked from neatshell/myscript
simple bash template that handles mandatory and optional arguments
#!/bin/bash
script="myscript"
#Declare the number of mandatory args
margs=2
# Common functions - BEGIN
function example {
echo -e "example: $script -m0 VAL -m1 VAL -o1 -o2 VAL"
}
@paynecodes
paynecodes / generate_self_signed_wildcard_cert.sh
Created April 23, 2018 17:47
Self-Signed Wildcard Certificate
openssl req \
-key example.com.pem\
-x509 \
-nodes \
-new \
-out example.com.crt \
-subj "/CN=*.example.com" \
-reqexts SAN \
-extensions SAN \
-config <(cat /System/Library/OpenSSL/openssl.cnf \
@paynecodes
paynecodes / Keybase.md
Last active July 24, 2019 00:36
Keybase.md

Keybase proof

I hereby claim:

  • I am paynecodes on github.
  • I am jpdesigndev (https://keybase.io/jpdesigndev) on keybase.
  • I have a public key whose fingerprint is 4AEB A0F9 8963 CCD2 342D 17A9 70C6 48C6 32CC 1EC2

To claim this, I am signing this object:

###Expose IIS or IISExpress running in a Parallels Windows 7/8 VM to your OS X host

####Rename your virtual machine In your Windows 7/8 VM, go to Control Panel > System > Advanced system settings > Computer Name and click Change. Name this whatever you like, e.g. windows. Restart your VM.

####Add an ACL rule Open CMD or Powershell as administrator. Add a URL ACL entry for your new name on the port of your choice, e.g.
netsh http add urlacl url=http://windows:8080/ user=everyone

####Add a firewall rule