Changes with .dev domains in
mind.
Create /etc/pf.anchors/dev, containing:
rdr pass inet proto tcp from any to any port 80 -> 127.0.0.1 port 8080
rdr pass inet proto tcp from any to any port 443 -> 127.0.0.1 port 8443
| #!/bin/zsh | |
| if [[ $# -gt 1 ]]; then | |
| echo "USAGE: paste [File]" | |
| return 1 | |
| fi | |
| file=$1 | |
| if [[ -z $file ]]; then | |
| file=$(find $PWD -type f | fzf) |
Changes with .dev domains in
mind.
Create /etc/pf.anchors/dev, containing:
rdr pass inet proto tcp from any to any port 80 -> 127.0.0.1 port 8080
rdr pass inet proto tcp from any to any port 443 -> 127.0.0.1 port 8443
| - Error while resolving doc type "*/": Unknown type name "*/" at position 0. | |
| - Error while resolving doc type "*/": Unknown type name "*/" at position 0. | |
| - Error while resolving doc type "[type]": Unknown type name "[" at position 0. | |
| - Error while resolving doc type "[type]": Unknown type name "[" at position 0. | |
| - Error while resolving doc type "[type]": Unknown type name "[" at position 0. | |
| - Error while resolving doc type "[type]": Unknown type name "[" at position 0. | |
| [ErrorException] | |
| Warning: json_encode(): Invalid UTF-8 sequence in argument in /home/scrutinizer-worker/app/releases/20140205164645/vendor/jms/serializer/src/JMS/Serializer/JsonSerializationVisitor.php line 29 |