Skip to content

Instantly share code, notes, and snippets.

@yoeria
yoeria / LearnXInYMinProtocolBuffer.proto
Created January 11, 2022 18:52 — forked from shankarshastri/LearnXInYMinProtocolBuffer.proto
Self-Explanatory Protocol Buffer Lang Guide (CheatSheet)
/*
* Self-Explanatory Protocol Buffer Lang Guide
*/
/*
* Why Protocol Buffers?
* Protocol buffers are Google's language-neutral, platform-neutral, extensible mechanism for serializing structured data – think XML, but smaller, faster, and simpler.
* You define how you want your data to be structured once, then you can use special generated source code to easily write and read your structured data to and from a variety of data streams and using a variety of languages.
* Protocol Buffers are Schema Of Messages. They are language agnostic.
@yoeria
yoeria / xterm-256color.svg
Created November 17, 2020 16:51 — forked from jasonm23/xterm-256color.svg
Xterm 256color mode color chart, organised into sections.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@yoeria
yoeria / update-python.md
Created June 1, 2020 15:54 — forked from growtopiajaw/update-python.md
update-alternatives for python2 and python3 in Ubuntu 16.04.x

List available python options

ls -larth `which python`*
lrwxrwxrwx 1 root root   10 Mar 23  2016 /usr/bin/python3m -> python3.5m
lrwxrwxrwx 1 root root    9 Mar 23  2016 /usr/bin/python3 -> python3.5
lrwxrwxrwx 1 root root    9 Nov 24  2017 /usr/bin/python2 -> python2.7
lrwxrwxrwx 1 root root    9 Nov 24  2017 /usr/bin/python -> python2.7
-rwxr-xr-x 2 root root 4.3M Nov 28  2017 /usr/bin/python3.5m
-rwxr-xr-x 2 root root 4.3M Nov 28  2017 /usr/bin/python3.5
@yoeria
yoeria / tmux.conf
Last active February 20, 2021 13:41 — forked from spicycode/tmux.conf
The best and greatest tmux.conf ever
# 0 is too far from ` ;)
set -g base-index 1
# Automatically set window title
set-window-option -g automatic-rename on
set-option -g set-titles on
#set -g default-terminal screen-256color
set -g status-keys vi
set -g history-limit 50000