Skip to content

Instantly share code, notes, and snippets.

View xanderim's full-sized avatar
👋

Xander Pokhylenko xanderim

👋
View GitHub Profile
@xanderim
xanderim / install chromium-chromedriver.md
Last active December 18, 2019 19:08
Install Chromium, chromedriver and Selenium (Python) on Ubuntu
Source https://stackoverflow.com/a/53590694 + minor updates

# install chromium, its driver, and selenium
apt-get update
apt install chromium-chromedriver
pip install selenium
@xanderim
xanderim / debug ssh key.md
Last active December 18, 2019 19:07
Generate / Debug SSH key

FWIW: I didn't produce the content presented here (the outline from Edmond Lau's book). I've just copy-pasted it from somewhere over the Internet, but I cannot remember what exactly the original source is. I was also not able to find the author's name, so I cannot give him/her the proper credits.


Effective Engineer - Notes

What's an Effective Engineer?

@xanderim
xanderim / docker-cleanup-resources.md
Created May 3, 2020 14:41 — forked from bastman/docker-cleanup-resources.md
docker cleanup guide: containers, images, volumes, networks

Docker - How to cleanup (unused) resources

Once in a while, you may need to cleanup resources (containers, volumes, images, networks) ...

delete volumes

// see: https://github.com/chadoe/docker-cleanup-volumes

$ docker volume rm $(docker volume ls -qf dangling=true)

$ docker volume ls -qf dangling=true | xargs -r docker volume rm

@xanderim
xanderim / System Design.md
Created May 17, 2022 10:30 — forked from vasanthk/System Design.md
System Design Cheatsheet

System Design Cheatsheet

Picking the right architecture = Picking the right battles + Managing trade-offs

Basic Steps

  1. Clarify and agree on the scope of the system
  • User cases (description of sequences of events that, taken together, lead to a system doing something useful)
    • Who is going to use it?
    • How are they going to use it?
@xanderim
xanderim / high_perfomance_django.md
Created October 19, 2022 12:01 — forked from icu0755/high_perfomance_django.md
High perfomance django notes
@xanderim
xanderim / Dockerfile
Created December 31, 2023 18:48
Dockerfile: atlas with atlas-provider-gorm example
# Start from golang base image
FROM golang:1.21-alpine as builder
# Set the current working directory inside the builder stage
WORKDIR /app
# copy go mod
COPY ./backend/go.mod ./backend/go.sum ./
# Install atlas gorm provider