Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@l3ender
l3ender / Dockerfile-context.md
Last active April 9, 2023 20:39
Dockerfile-context.md

Create following file (source):

FROM busybox

RUN mkdir /tmp/build/
# Add context to /tmp/build/
COPY . /tmp/build/
RUN ls -la /tmp/build
@l3ender
l3ender / sqlserver-cert.groovy
Created October 6, 2021 22:21 — forked from MichaelNesterenko/sqlserver-cert.groovy
sql server certificate chain
package mn
import java.nio.ByteBuffer
import java.nio.channels.SocketChannel
import java.security.cert.Certificate
import java.security.cert.CertificateException
import java.security.cert.X509Certificate
import javax.net.ssl.SSLContext
import javax.net.ssl.SSLEngine
@l3ender
l3ender / new_ansible_venv.md
Last active June 20, 2022 00:23
new_ansible_venv.md

Steps to create a new virtual environment and install Ansible on Mac:

python3 -m venv venv
. venv/bin/activate
pip3 install --upgrade pip
pip3 install ansible ansible-lint

# one line:
python3 -m venv venv && . venv/bin/activate && pip3 install --upgrade pip && && pip3 install ansible ansible-lint