Skip to content

Instantly share code, notes, and snippets.

View loleg's full-sized avatar

Oleg Lavrovsky loleg

View GitHub Profile
{
"basics": {
"name": "Thomas Edison",
"label": "Inventor and Businessman",
"picture": "https://example.com/photo.jpg",
"email": "thomas.edison@example.com",
"phone": "(123) 456-7890",
"website": "https://thomasedison.com",
"summary": "Prolific inventor and businessman known for developing many devices that greatly influenced life around the world, including the phonograph, the motion picture camera, and the electric light bulb.",
"location": {
@loleg
loleg / Filtering Nodes
Created November 22, 2024 13:06 — forked from colbenkharrl/Filtering Nodes
Filtering Nodes on Force-Directed Graphs (D3 V4)
Click to view more!
@loleg
loleg / docker-compose.yml
Last active September 19, 2024 22:03
Docker Compose for Ghost 5 on Alpine Linux with MySQL 8
services:
ghost:
image: ghost:5-alpine
container_name: ghost
restart: always
depends_on:
- mysql
ports:
- 8368:2368
@loleg
loleg / asciidoc-blog.adoc
Last active November 6, 2024 23:58
A blog post in AsciiDoc about an AsciiDoc workshop

Documenting with AsciiDoc

These are my notes from the Software Documentation with AsciiDoc session at the Workshop-Days of CH Open on September 2, 2024. The workshop was run by Christian Heitzmann, a highly experienced software developer who runs SimplexaCode AG in Lucerne. As a technical writer, he regularly documents the software architectures for companies, teaches university courses in Machine Learning, and regularly writes articles for IT journals.

Documenting Python Code - PyCon Italia 2024 is a recent presentation Christian gave that serves as an excellent overview of the themes of his work and attention to documentation as a critical facet of the software developer’s work.

Here is the workshop description, translated with help from DeepL:

— Christian Heitzmann
@loleg
loleg / datapackage.json
Last active June 21, 2024 11:57
World Refugee Day 2024 - Everyday Solutions - Dribdat projects
{"contributors":[{"path":"https://github.com/loleg","role":"author","title":"loleg"}],"created":"2024-06-21T11:57","description":"This site was created on occasion of **World Refugee Day 2024**. The goal is to map out some areas of concern and opportunities to help, from the perspective of technical support & digital rights for refugees in Switzerland. Inspired by this year's call for \"everyday solutions\", in the challenges above we try to open doors to meaningful starting points for hands-on activities. \r\n\r\nIf you would like to help do more, please leave a comment or [get in touch](https://welcome.dribdat.cc/project/6/comment).\r\n\r\n<iframe width=\"560\" height=\"315\" src=\"https://www.youtube.com/embed/iX_uG7UTCI8?si=e81vBoecyVn9G6kx\" title=\"YouTube video player\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen></iframe>\r\n\r\n---\r\n\r\n### Links to

DRIBD(at): a brief history

👋 Hello, world! The goal of this document is to put a timeline of the origins of the dribdat open source platform and DRIBD@ collective, together with aspirations for the future. To weave the 'red thread', so to speak - and share some perspective.

Contributing

  1. Join the OpenCollective
  2. Start a pull request on Codeberg
  3. Drop a bio into the People section below
@loleg
loleg / README.md
Last active December 3, 2023 22:38
#ODAdvent #4

Swiss Toy Shops

A dataset of the locations of toy shops around Switzerland.

Last update: 3.12.2023

@loleg
loleg / kiosk.service
Created November 3, 2023 10:57
Startup script for the digital signage based on Raspberry Pi Zero
[Unit]
Description=Kiosk
PartOf=graphical-session.target
After=graphical-session.target
[Service]
Environment=DISPLAY=:0.0
Environment=XAUTHORITY=/home/pi/.Xauthority
ExecStart=/bin/bash /home/pi/kiosk.sh
Restart=always
@loleg
loleg / analysis.md
Created August 24, 2023 08:34
Notes for Stakeholder Analysis at Hackathons

Stakeholder Analysis

A Hack:Org:X project. See https://hackorgx.dribdat.cc/project/12

Motivations

Identify your internal stakeholders and set expectations. Hackathons are cross-functional. No hackathon is run by a community person alone. It is important to ensure everyone is aligned on the goals, what is required to achieve them, and that the necessary resources are committed.

-- Hackathon Guide (opensource.com)

@loleg
loleg / example-frictionless.r
Created March 20, 2023 18:43
R example usage of Frictionless Data library
library(frictionless) # https://docs.ropensci.org/frictionless/
library(readr) # https://readr.tidyverse.org/reference/problems.html
# Read contents of a Data Package
package_local <- read_package("velozuerich/datapackage.json")
resources(package_local)
resource_local = read_resource(package_local, "velonetz-csv")
# Preview the first few rows
head(resource_local)