Skip to content

Instantly share code, notes, and snippets.

View mathisve's full-sized avatar
☁️
Code & Cloud

Mathis Van Eetvelde mathisve

☁️
Code & Cloud
View GitHub Profile
@mathisve
mathisve / LambdaUploader.sh
Created August 26, 2020 13:23
Upload python codebase & libraries to AWS Lambda
#!/usr/bin/env bash
# pip3 install --target ./package Pillow
cd package
zip -r9 ${OLDPWD}/archive.zip .
cd $OLDPWD
zip -g archive.zip main.py chromedriver
echo "UPLOADING archive.zip to AWS"
aws lambda update-function-code --function-name pythontest --zip-file fileb://archive.zip
@JoeyBurzynski
JoeyBurzynski / 55-bytes-of-css.md
Last active June 2, 2024 11:24
58 bytes of css to look great nearly everywhere

58 bytes of CSS to look great nearly everywhere

When making this website, i wanted a simple, reasonable way to make it look good on most displays. Not counting any minimization techniques, the following 58 bytes worked well for me:

main {
  max-width: 38rem;
  padding: 2rem;
  margin: auto;
}