Skip to content

Instantly share code, notes, and snippets.

Home Collection were music compilations made by fans for fans
and sold as CDs on flea market in post-soviet Minsk. At that
time, which is around 2000, the internet was overly expensive,
the salaries were extremely low. Flavoring juice on the table
was a sign of a celebration. Normally we would rather count
cash and buy beer to socialize once in a few weeks.
* [ ] https://archive.org/
Home Collection was a way to discover new music, which was not
# public domain code
# useful for csv output etc.
def format_table(rows, headers):
"""Format list of tuples into equal width table with headers"""
maxlens = [len(h) for h in headers]
for r in rows:
for i, c in enumerate(r):
maxlens[i] = max(maxlens[i], len(c))
tpltpl = []
@abitrolly
abitrolly / tosca.notes
Last active January 25, 2022 19:06
TOSCA
TOSCA is a way to describe application infrastructure. Designed by comittee called OASIS.
If you want to look at it, start with Eclipse Winery.
Because Winery is a Java app, nobody runs online demo, so you need to run it yourself
(there is probably a fresh recorded demo somewhere, so post a link if you've seen one)
Winery is a UI that allows you to draw diagrams that are then saved as CSAR files.
CSAR files contain TOSCA diagrams in YAML format that defines infrastructure like
{
project(fullPath: "gitlab-org/gitlab") {
name
issues {
nodes {
iid
timelogs {
nodes {
spentAt
timeSpent
@abitrolly
abitrolly / busy.png
Last active July 30, 2021 15:39
Capacity Based Approach to DevOps
busy.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@abitrolly
abitrolly / gist:2fad741274d7620c1f6ca9cc0b8ddd8e
Last active April 29, 2021 10:01
Dependency Tracking / Mapping
Master thread - https://discourse.sustainoss.org/t/dependency-mapping-working-group/569 - see Agenda items there.
* https://deps.cloud/ - some initiative to detect and parse dependencies
* https://github.com/dependabot/dependabot-core - it somehow parses GitHub files
1 0.008 3
1 0.012 4
1 0.005 2
1 0.016 5
1 0.002 1
1 0.008 3
1 0.002 1
1 0.002 1
1 0.005 2
1 0.005 2
@abitrolly
abitrolly / Scraping.ipynb
Created March 1, 2021 12:03
Parsing Movies for Sex
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@abitrolly
abitrolly / gist:db35ac220347bebd01984b1377af3adc
Created February 25, 2021 08:30
Public Risks and Fears
An interesting thing about fears that they don't affect people if people
don't know about them. And the way they can lean to fear is basically
asking them about those. In that case researching those fears may be
similar to praying against COVID in churches. But it is important to study
fears, as this is one of the negative emotions that can lead to burnout.
And it also can spread.
Impostor syndrome. The fear of not being good enough. Trying oneself in
open source, gaining recognition, unable to leave. Suffering for no
payment.