Skip to content

Instantly share code, notes, and snippets.

View limpid-kzonix's full-sized avatar
🎯
Be bold. Change the world

Oleksandr B. limpid-kzonix

🎯
Be bold. Change the world
View GitHub Profile
#!/usr/bin/env bash
/usr/bin/snap run nvim ${@}
{
"suggest.timeout": 500,
"diagnostic.enableSign": true,
"diagnostic.enableHighlightLineNumber": true,
"diagnostic.errorSign": "!!",
"diagnostic.warningSign": "⚠",
"diagnostic.infoSign": ">>",
"diagnostic.hintSign": ">>",
"codeLens.enable": true,
"codeLens.separator": "*",
# : << EOF
# https://github.com/gpakosz/.tmux
# (‑●‑●)> dual licensed under the WTFPL v2 license and the MIT license,
# without any warranty.
# Copyright 2012— Gregory Pakosz (@gpakosz).
# /!\ do not edit this file
# instead, override settings in ~/.tmux.conf.local, see README.md
# -- general -------------------------------------------------------------------
# Don't print a new line at the start of the prompt
add_newline = false
scan_timeout = 10
format = """[┌──────────────────────────────────────────────────────┅ ](bold green)
[│](bold green) \
$username\
$hostname\
$time\
$kubernetes\
$git_branch\
set window-title-basename "true"
set selection-clipboard "clipboard"
# Dracula color theme for Zathura
# Swaps Foreground for Background to get a light version if the user prefers
#
# Dracula color theme
#
# Configuration for Alacritty, the GPU enhanced terminal emulator.
# Any items in the `env` entry below will be added as
# environment variables. Some entries may override variables
# set by alacritty itself.
env:
# TERM variable
#
# This value is used to set the `$TERM` environment variable for
# each instance of Alacritty. If it is not present, alacritty will

Keybase proof

I hereby claim:

  • I am limpid-kzonix on github.
  • I am kzonix (https://keybase.io/kzonix) on keybase.
  • I have a public key ASDJOtCEUJ3q3j8737lTkioJaNVB_k0-fn9NQ1yef8hEcgo

To claim this, I am signing this object:

@limpid-kzonix
limpid-kzonix / fe-rgb.cpp
Created May 26, 2019 17:45
Arduino FE-RGB
#include <Arduino.h>
int redPin = 3;
int greenPin = 5;
int bluePin = 6;
#define COMMON_ANODE
void setup()
{
@limpid-kzonix
limpid-kzonix / Receiving.scala
Created April 23, 2019 19:31
UDP-Akka-Alpakka
val bindToLocal = new InetSocketAddress("localhost", 0)
val bindFlow: Flow[Datagram, Datagram, Future[InetSocketAddress]] =
Udp.bindFlow(bindToLocal)
@limpid-kzonix
limpid-kzonix / akka-tcp.scala
Created April 23, 2019 19:12
simple Scala TCP server
import akka.actor._
import java.net.InetSocketAddress
import akka.util.ByteString
class TCPServer(port: Int) extends Actor {
override def preStart {
IOManager(context.system).listen(new InetSocketAddress(port))
}