Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View romanenkor's full-sized avatar
🏠
Working from home

Roman romanenkor

🏠
Working from home
View GitHub Profile
@romanenkor
romanenkor / vim_copy_lines.text
Created August 3, 2023 12:39 — forked from dinjas/vim_copy_lines.text
How to copy lines matching pattern in vim
qaq # clear register A
:g/pattern/y A # copy lines matching pattern to register A
:let @+ = @a # copy register A to clipboard
@romanenkor
romanenkor / meshroomcolab.ipynb
Created April 25, 2023 05:40
MeshroomColab.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@romanenkor
romanenkor / weston-x11.yml
Last active February 13, 2023 12:26
Running our container on Orange Pi 2 (v3)
version: "2.4"
services:
weston:
image: romu4/flutter-bcm2711
priviliged: true
network_mode: host
ipc: host
volumes:
- type: bind
source: /tmp
@romanenkor
romanenkor / killtrace
Created December 13, 2021 07:20
Killtrace - print kill system calls
#!./bash
echo > /sys/kernel/debug/tracing/set_event
sleep 1
echo 0 > /sys/kernel/debug/tracing/tracing_on
sleep 1
echo nop > /sys/kernel/debug/tracing/current_tracer
sleep 1