Skip to content

Instantly share code, notes, and snippets.

View rwcitek's full-sized avatar

Robert Citek rwcitek

View GitHub Profile
@rwcitek
rwcitek / Anaconda.docker.md
Last active April 11, 2024 10:36
Anaconda in Docker

Build Anaconda in Docker

Build the image

cat <<'eof' > Dockerfile
FROM ubuntu:22.04

RUN apt-get update && \
    apt-get install -y \
      curl \
@rwcitek
rwcitek / 01-selenium.docker.md
Last active April 16, 2024 19:52
Building Selenium in Docker

Building Selenium in Docker

Create Dockerfile

cat <<'eof' > Dockerfile
# Use an Ubuntu as a parent image
FROM ubuntu:22.04

# Set the shell
@rwcitek
rwcitek / dockerfile.nbviewer.md
Last active August 10, 2023 03:48
Dockerfile for nbviewer

Dockerfile for nbviewer

cat <<'eof' > /tmp/Dockerfile.nbviewer
FROM ubuntu:22.04

ARG DEBIAN_FRONTEND=noninteractive
RUN apt-get update && \
    apt-get install -y \
 curl \
@rwcitek
rwcitek / tf.do.md
Last active September 8, 2023 21:10
Using Terraform with Digital Ocean
@rwcitek
rwcitek / cabq.data.mirror.md
Last active November 18, 2023 09:11
City of ABQ sites

Mirror the Albuquerque City or City data sites

# set site URL
## city website
site=www.cabq.gov/
url=https://"${site}"

## city data
site=data.cabq.gov/
@rwcitek
rwcitek / nushell.docker.md
Last active August 10, 2023 03:23
nushell in Docker

Running nushell in Docker

Discover latest version

elinks --dump https://github.com/nushell/nushell/releases |
grep -m1 -o https:.*x86_64-unknown-linux-gnu.tar.gz |
rev |
cut -d/ -f2 |
rev 
@rwcitek
rwcitek / homebrew.md
Last active April 16, 2024 19:57
Installing and running Homebrew under Ubuntu in Docker
@rwcitek
rwcitek / htmlq.docker.md
Last active June 1, 2023 00:34
Installing and running htmlq within Docker
@rwcitek
rwcitek / windows.wsl2.docker.md
Last active April 16, 2024 19:56
Installing Docker on Windows without Docker Desktop

Installing Docker on Windows without Docker Desktop

WSL2 [1]

Newer versions of Windows

Open PowerShell with Admin rights and run wsl --install -d Ubuntu-22.04.

Older versions of Windows

Digital Ocean cloud computing

Overview of steps

  • Setup ( one time )
    • Create a DO account
    • Create a public/private SSH key
    • Add the key to your DO account
  • Each time
    • Launch an instance configured with the public SSH key