Skip to content

Instantly share code, notes, and snippets.

Avatar
💩

Selçuk Karakayalı karakays

💩
View GitHub Profile
View Helm.md

Helm introduction guide

helm

Kubernetes package manager

Chart

➜ Render manifest of chart

View gradle.md

Task

A task represents atomic piece of work.

Take away

build.gradle.kts is known as build script.

Lifecycle tasks

View protobuf.md

Install protobuf compiler

brew install protobuf

protoc compiler is responsible to generate language-specific stubs based on the protobuf schema.

Stubs are necessary to encode and decode data. Therefore, encoding always requires language runtime environment and protobuf schema. Stubs implement the Protobuf API to read messages and write messages.

To use the Protobuf API you need the language-specific library. For Python, this is protobuf library.

@karakays
karakays / ANSI.md
Created May 22, 2021 — forked from fnky/ANSI.md
ANSI Escape Codes
View ANSI.md

ANSI Escape Sequences

Standard escape codes are prefixed with Escape:

  • Ctrl-Key: ^[
  • Octal: \033
  • Unicode: \u001b
  • Hexadecimal: \x1b
  • Decimal: 27
View linux.md

APT

dpkg name format

[name]_[version]-[revision]_[architecture].deb

List 32-bit packages

dpkg --list | grep i386
View redis-cli.md

List keys

KEYS \*

Get type of key

TYPE key

Value types

string

list

@karakays
karakays / .ideavimrc.md
Last active Feb 13, 2022
Development actions in editor
View .ideavimrc.md

This is a summary of actions that I use during development.

I aim two things

  • navigate codebase with speed
  • be agnostic in terms of progamming language and IDE

Environment

I use IntelliJ based IDEs with vim-plugin installed.

View i3wm
Basics
+  open new terminal
+ j focus left
+ k focus down
+ l focus up
+ ; focus right
+ a focus parent
+  toggle focus mode
Moving windows
View X11.md

X window system (X11), simply X, provides basic GUI framework.

A desktop environment consists of window manager, file manager and utility programs.

startx initializes an X session. It can be started manually after a console login or through a graphical login by display manager.

X window manager

X window manager is windowing system that runs on top of X11. The user can choose between third-party window managers.

@karakays
karakays / mvn.md
Last active Mar 25, 2020
mvn clean install and we're done
View mvn.md