Skip to content

Instantly share code, notes, and snippets.

View karakays's full-sized avatar
💩

Selçuk Karakayalı karakays

💩
View GitHub Profile
@karakays
karakays / Helm.md
Last active September 2, 2022 11:21

Helm introduction guide

helm

Kubernetes package manager

Chart

➜ Render manifest of chart

Task

A task represents atomic piece of work.

Take away

build.gradle.kts is known as build script.

Lifecycle tasks

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 10:40 — forked from fnky/ANSI.md
ANSI Escape Codes

ANSI Escape Sequences

Standard escape codes are prefixed with Escape:

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

APT

dpkg name format

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

List 32-bit packages

dpkg --list | grep i386

List keys

KEYS \*

Get type of key

TYPE key

Value types

string

list

@karakays
karakays / .ideavimrc.md
Last active February 13, 2022 15:16
Development actions in editor

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.

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

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 March 25, 2020 15:28
mvn clean install and we're done