Skip to content

Instantly share code, notes, and snippets.

View matt-bertoncello's full-sized avatar

Matt Bertoncello matt-bertoncello

  • Sydney, Australia
View GitHub Profile
@matt-bertoncello
matt-bertoncello / example_html.html
Created May 18, 2020 08:05
CSS and HTML implementation of a div that is the size of the user's window. If the content in div is bigger, the container will expand.
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" type="text/css" href="/stylesheets/windowsized_container.css" />
</head>
<nav></nav>
<body>
<div class='full-page'>
Test.
@matt-bertoncello
matt-bertoncello / Dockerfile
Created May 18, 2020 07:54
Dockerfile and python script to run selenium with headless chromedriver in debian docker container.
# define base image as python slim-buster.
FROM python:3.7-slim-buster as base
## start builder stage.
# this is the first stage of the build.
# it will install all requirements.
FROM base as builder
# install all packages for chromedriver: https://gist.github.com/varyonic/dea40abcf3dd891d204ef235c6e8dd79