Skip to content

Instantly share code, notes, and snippets.

View ch1c0t's full-sized avatar

Anatoly Chernov ch1c0t

View GitHub Profile
@ryanmoxsom-tech
ryanmoxsom-tech / variant-source-exercise.md
Last active November 17, 2026 23:52
Find the variant in the supplement: a public source checking exercise with answer notes

Find the variant in the supplement

A 15 minute source checking exercise for genetics trainees, biocurators and laboratory journal clubs.

Prepared by Ryan Moxsom, Paper Possum. You can complete the core exercise using the published source and a spreadsheet reader. No Paper Possum account is needed for those questions. The optional product trial requires an account and is free during beta.

What you will practise

Find an exact variant mention in a supplementary workbook, preserve enough context for someone else to find it, and distinguish a historical source label from a current interpretation. This exercise uses published material only and does not ask you to classify a patient variant.

# Deploy: modal deploy server.py
import subprocess
import time
import urllib.request
import modal
# ── Config ───────────────────────────────────────────────────────────────────
APP_NAME = "your-top-secret-server"
arch=`uname -m`
dest_kernel="hello-vmlinux.bin"
dest_rootfs="hello-rootfs.ext4"
image_bucket_url="https://s3.amazonaws.com/spec.ccfc.min/img/quickstart_guide/$arch"
if [ ${arch} = "x86_64" ]; then
kernel="${image_bucket_url}/kernels/vmlinux.bin"
rootfs="${image_bucket_url}/rootfs/bionic.rootfs.ext4"
elif [ ${arch} = "aarch64" ]; then
kernel="${image_bucket_url}/kernels/vmlinux.bin"
@radupotop
radupotop / 01-harden.conf
Created September 20, 2025 19:21
Jellyfin Systemd hardening override files
[Service]
# Prevent gaining extra privileges or executing setuid binaries.
NoNewPrivileges=yes
# Separate /tmp and /var/tmp
PrivateTmp=yes
# Make most of the filesystem read-only; whitelist writable paths below.
ProtectSystem=strict
vim.opt.number = true
vim.opt.relativenumber = true
vim.opt.tabstop = 2
vim.opt.softtabstop = 2
vim.pack.add({
{ src = "https://github.com/neovim/nvim-lspconfig" },
{ src = "https://github.com/mason-org/mason.nvim" },
{ src = "https://github.com/mason-org/mason-lspconfig.nvim" },
{ src = "https://github.com/WhoIsSethDaniel/mason-tool-installer.nvim" },
@travisjupp
travisjupp / zle-widgets-with-default-keybindings.md
Last active August 30, 2025 11:58
Short summary of all standard ZLE widgets with keybindings

Zsh ZLE Standard Widgets — Default Key Bindings (Zsh 5.9) and Bash Readline Equivalents

This list gives all standard widgets (including those with and without default keybindings), a short summary, and the default key(s) for each, as found in Zsh 5.9 (emacs and vi modes).
Where available, the equivalent Bash Readline function and default keybinding are shown as Ctrl-X (Bash Readline).
Widgets with no default keybinding are listed without a key.
Third-party/community/user widgets (e.g. fzf, npm, z4h, bash*) are also listed when requested, but are not present in default zsh.


  • accept-and-hold

Namespaces 101

Introduction

Ruby has recently merged namespaces as an experimental feature that is disabled by default, as of this writing.

This is a non-trivial development driven by @matz himself, and mainly implemented by @tagomoris, who just became a Ruby committer (🎉).

The feature has been cooking for a long time, with a first ticket opened a couple of years ago (#19744) and a revised one opened just last week (#21311).

@1mm0rt41PC
1mm0rt41PC / castanet.py
Last active June 27, 2026 13:53 — forked from interfect/castanet.sh
Set up a Chromecast from a Linux PC, without an Android or iOS mobile device and without Google Home
#!/usr/bin/env python3
# castanet.py: Script to connect a chromecast to a WiFi network.
#
# Allows you to put your Chromecast on WiFi and do Chromecast initial setup
# without using the Google Home app at all, just using a normal computer.
#
# You do need your Chromecast to be on Ethernet, or (untested) to join its setup WiFi
# network with your PC, and you also need to find out its IP yourself with e.g.
# Wireshark.
#