Skip to content

Instantly share code, notes, and snippets.


Evgeny Pogrebnyak epogrebnyak

View GitHub Profile
Bodigrim / cabal.project
Last active March 20, 2022 12:07
Template cabal.project with text-2.0 support
View cabal.project
packages: .
constraints: text >= 2.0
dutc /
Created March 3, 2021 02:50
`pandas` problem of the day: analysis (with `numpy.meshgrid`‽)
from pandas import Series
s = Series({
4: 89.00,
6: 109.99,
8: 149.14,
10: 218.99,
12: 239.09,
14: 279.99,
16: 329.99,
18: 409.99,
GhostofGoes / .gitignore
Created October 4, 2018 04:29
Basic .gitignore template for Python projects
View .gitignore
# Editors
# Vagrant
# Mac/OSX
dvf /
Last active December 6, 2022 13:20
Running Python locally without driving yourself insane

This is my highly opinionated way of developing with Python locally. Use it, don't use it. But you probably know that it's a PITA to manage different projects with different dependencies targeting different Python versions, and there are different ways of installing Python too:

  • Using the interpreters preinstalled in the OS 😵
  • Using brew (or apt etc.) 😅
  • Using the binaries from 😫
  • Using pyenv 😎
briandominick / asciidoc-static.adoc
Last active March 22, 2023 19:20
Static Site Generators with AsciiDoc Support
View asciidoc-static.adoc

There are 24 static site generators that support AsciiDoc sourcing.

glasslion /
Last active March 26, 2023 10:12
This script convert youtube subtitle file(vtt) to plain text.
Convert YouTube subtitles(vtt) to human readable text.
Download only subtitles from YouTube with youtube-dl:
youtube-dl --skip-download --convert-subs vtt <video_url>
Note that default subtitle format provided by YouTube is ass, which is hard
to process with simple regex. Luckily youtube-dl can convert ass to vtt, which
is easier to process.
bmaupin /
Last active March 30, 2023 11:39
Free backend hosting
sliceofbytes /
Created February 14, 2018 22:16
Add Text Files as Google Keep Notes
#Import a directory of text files as google keep notes.
#Text Filename is used for the title of the note.
import gkeepapi, os
username = ''
password = 'your app password'
keep = gkeepapi.Keep()
success = keep.login(username,password)
ljvmiranda921 / Makefile
Last active September 10, 2018 10:58
Contains a minimal workflow for compiling LaTeX documents
View Makefile
# A Simple Makefile for LaTeX
# Author: Lester James V. Miranda
# E-mail:
# Default variables which can be edited via the terminal
BUILDDIR = _build
COMPILER = pdflatex
PROJECT = main
BIBLIOGRAPHY = bibliography