Info
Some of these instructions were not working in source so here are the updates:
- Kong - API Gateway https://hub.docker.com/_/kong/
- Konga - KONG UI - https://hub.docker.com/r/pantsel/konga/
Best way to use ssh keys is to add them to SSH Agent, this will will allow you use ssh without needing to specify pasword for your SSH key all the time. | |
To do this add these lines to you `.bash_profile` or `.profile` | |
```bash | |
SSHAGENT=/usr/bin/ssh-agent | |
SSHAGENTARGS="-s" | |
if [ -z "$SSH_AUTH_SOCK" -a -x "$SSHAGENT" ]; then | |
eval `$SSHAGENT $SSHAGENTARGS` | |
trap "kill $SSH_AGENT_PID" 0 |
function doSlingPost { | |
[CmdletBinding()] | |
Param ( | |
[Parameter(Mandatory=$true)] | |
[string]$Url="http://localhost:4502", | |
[Parameter(Mandatory)] | |
[ValidateNotNullOrEmpty()] | |
[ValidateSet('Post','Delete')] |
# Download and extract Filevault from https://github.com/aem-design/jackrabbit-filevault/releases run this in the extracted folder. | |
#equivalent of using localhost in docker container | |
Set-Variable -name SOURCE_HOST -value "localhost" | |
# TCP port SOURCE_CQ listens on | |
Set-Variable -name SOURCE_PORT -value "4502" | |
# AEM Admin user for SOURCE_HOST | |
Set-Variable -name SOURCE_AEM_USER -value "admin" | |
# AEM Admin password for SOURCE_HOST | |
Set-Variable -name SOURCE_AEM_PASSWORD -value "admin" |
function WaitForUrlContent { | |
[CmdletBinding()] | |
Param ( | |
[Parameter(Mandatory=$true)] | |
[string]$ResponseContentNoPresent, | |
[Parameter(Mandatory=$false)] | |
[string]$Url="http://localhost:4502", |
Some of these instructions were not working in source so here are the updates:
# Description: | |
# Basic SQUID proxy config for running Squid in Docker with Local and Docker LAN allowed | |
# | |
# Uage: | |
# docker run --name squid -d --restart=always --publish 3128:3128 --volume ${pwd}\squid.conf:/etc/squid/squid.conf sameersbn/squid | |
# | |
# TAG: acl | |
# Defining an Access List | |
acl SSL_ports port 443 |
docker run -v ${pwd}:/data pandoc/core -o test2.md --extract-media=./test2/ test2.docx |
"If you are looking to fix strings that look like urls in text and convert them to ulrs like this https://www.example.ru http://www.example.com www.example.com.au example.co.jp http://blog.example.app http://www.example.com/product http://www.example.com/products?id=1&page=2 http://www.example.com#up http://255.255.255.255 255.255.255.255 http:// www.site.com:8008 you can use Regex in javascript to replace strings with a format of you liking even if a url is at the end of your string like google.com".replace(/((\w+:\/\/\S+)|(\w+[\.:]\w+\S+))[^\s,\.]/mg,'<a href="$&" target="_blank">$&</a>') |
https://gist.githubusercontent.com/anudeepND/adac7982307fec6ee23605e281a57f1a/raw/5b8582b906a9497624c3f3187a49ebc23a9cf2fb/Test.txt | |
https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts | |
https://mirror1.malwaredomains.com/files/justdomains | |
http://sysctl.org/cameleon/hosts | |
https://zeustracker.abuse.ch/blocklist.php?download=domainblocklist | |
https://s3.amazonaws.com/lists.disconnect.me/simple_tracking.txt | |
https://s3.amazonaws.com/lists.disconnect.me/simple_ad.txt | |
https://hosts-file.net/ad_servers.txt | |
https://raw.githubusercontent.com/hectorm/hmirror/master/data/adaway.org/list.txt | |
https://raw.githubusercontent.com/hectorm/hmirror/master/data/adblock-nocoin-list/list.txt |
I hereby claim:
To claim this, I am signing this object: