Skip to content

Instantly share code, notes, and snippets.

View mikebz's full-sized avatar
🎯
Focusing

Mike Borozdin mikebz

🎯
Focusing
View GitHub Profile
@mikebz
mikebz / effective_python.md
Created October 18, 2025 15:33
effective_python.md

Effective Python: 59 Specific Ways to Write Better Python

Instructions for Effective Python adapted from https://github.com/SigmaQuan/Better-Python-59-Ways

Chapter 1: Pythonic thinking

Item 1: Know which version of python you're using

    1. There are two major version of Python still in active use: Python 2 and Python 3.
    1. There are multiple popular runtimes for Python: CPython, Jython,
@mikebz
mikebz / go_agent.md
Last active September 16, 2025 16:46
go_agent.md

Forked from: https://github.com/pthethanh/effective-go

This page collects common comments made during reviews of Go code and some best practices collected from different sources.

You can view this as a supplement to Effective Go.

Gofmt

Run gofmt on your code to automatically fix the majority of mechanical style issues. Almost all Go code in the wild uses gofmt. The rest of this document addresses non-mechanical style points.

@mikebz
mikebz / .nanorc
Last active December 4, 2019 04:53
nanorc file
set constantshow
include "/usr/share/nano/*.nanorc"
@mikebz
mikebz / Dockerfile
Last active October 2, 2017 04:27
Dockerfile for Django, Python and Webpack static build
FROM python:3.6-slim
# install node
RUN apt-get -y update
RUN apt-get -y install curl
RUN curl -sL https://deb.nodesource.com/setup_8.x | bash
RUN apt-get -y install nodejs
WORKDIR /app