Skip to content

Instantly share code, notes, and snippets.

View nerzh's full-sized avatar
💾
cmd+s

OleH. nerzh

💾
cmd+s
View GitHub Profile
@ditansu
ditansu / Dockerfile
Last active July 30, 2019 09:58
Docker base swift base for 4.2.4 + Dockerfile for use base docker
FROM path/to/your/registry/swift-image:4.2.4
WORKDIR /app
RUN apt-get update && \
apt-get -y install libxml2 libbsd0 tzdata libicu55 libcurl3 libatomic1 && \
rm -rf /var/lib/apt/lists/*
COPY .build/debug/Run ./Run
EXPOSE 8080
ENTRYPOINT ["./Run", "serve"]
@LoganGray
LoganGray / chromeinstall_ubu16.sh
Last active June 6, 2023 14:35
this worked to install selenium and google chrome on my Ubuntu 16 server.
#!/usr/bin/env bash
# used to install offical chrome and selenium on Ubuntu 16.04.1 LTS, 18.04, 20.04.1 LTS desktop, Jan 2021
# also tested and works on Elem OS 5.1 :)
#
# make sure script is run as root or sudo
if [[ $(whoami) != "root" ]] ; then
echo ; echo "This script, $0, SHOULD be run as ROOT. " ; echo
exit 1
fi
#