A couple weeks ago I have published a post about Bigtable backup and restore on Egnyte's engineering blog.
Blog post tag query results for "Python":
This tag's blog posts feed
Saturday, February 22, 2020
Bigtable backup and restore
By czka on Saturday, February 22, 2020, 21:26
Wednesday, November 16, 2016
Arch Linux Docker base image build setup based on bootstrap tarball
By czka on Wednesday, November 16, 2016, 17:52
To build an Arch Linux Docker image you would typically take the mkimage-arch.sh + mkimage-arch-pacman.conf as described on the Wiki, and run it as root on an Arch machine. This poses 2 issues: you may not have root access, and what if you want to build Arch Linux image on eg. Ubuntu? So I came up with a setup (Dockerfile, Python script, .dockerignore file) that lets you build Arch Linux Docker images on any Linux host running Docker, as a regular user (if your Docker instance allows that, but please mind there are good reasons why it shouldn't), FROM scratch, using bootstrap tarballs, which are published alongside Arch Linux ISO installation media every 4 weeks.
Monday, September 26, 2016
Python workout: fix missing MicroDVD stop-frames
By czka on Monday, September 26, 2016, 19:43
I have this bunch of half-broken MicroDVD subtitle files. Their stop-frames are not defined. Like in these example few lines - the curly braces in the second row are missing their content. Only start-frames are there:
{100}{}Chwila.<snip>
{225}{}Ładnie.
{275}{}Przyniosłem ci coś.
{32100}{}Dobrze.
{32275}{}/- Och, Jack!|/- Och, Judy!
{32550}{}Tłumaczenie: Cholek
Thursday, May 19, 2016
Korekty globalne PUWG 1965 w gridach NTv2
By czka on Thursday, May 19, 2016, 15:33
Niestety poprawne odwzorowanie teoretyczne tego układu nie daje wystarczającej dokładności w opracowaniach wielkoskalowych. Układ 1965 był zrealizowany w praktyce z istotnymi odchyleniami w stosunku do założeń teoretycznych. Realizację tą często nazywa się układem "empirycznym", "katalogowym" dla odróżnienia od układu "teoretycznego", "matematycznego". Różnice współrzędnych tych samych punktów w obu układach sięgają kilkudziesięciu centymetrów.