Skip to content

Instantly share code, notes, and snippets.


Stas Bytsko zbstof

  • Scribd
  • Kyiv, Ukraine
View GitHub Profile
View English Dictionary
mosey /ˈməʊzi/ - v. (inf.) walk or move in a leisurely manner
vamoose /vəˈmuːs/ - v. (inf.) depart hurriedly (from Spanish vamos ‘let us go’)
blowout /ˈbləʊaʊt/ - n. (inf.) a large or lavish meal or social gathering
skeevy /ˈskiːvi/ - adj. (n. am., inf.) unpleasant, squalid, or distasteful
macushla /məˈkʊʃlə/ - (irish.) an affectionate form of address (from Irish mo ‘my’ + cuisle ‘pulse’ (of the heart))
give one the big eye - v. look at someone in flirtatious way
metanoia /ˌmɛtəˈnɔɪə/ - n. change in one's way of life resulting from penitence or spiritual conversion (f. Greek 'metanoein': ‘change one's mind’)
pabulum - food (from Latin)
disjoint /dɪsˈdʒɔɪnt/ - adj. (math.) (of two or more sets) having no elements in common
monies - n. plural form of "money", as used in financial contexts
View Broken hashset
public static void main(String[] args) {
Set<Student> set = new HashSet<Student>();
Student s = new Student("Маша", "Иванова");
class Student{
View zip.scala
import scala.collection.mutable.ArrayBuffer
def merge1Immutable(ls: Array[Char]): Array[Char] = {
if (ls.isEmpty) ls
else {
var size = 1
var globalCh: Char = ls.head
val resLs = ArrayBuffer[Char]()
for (i <- 1 until ls.length) {
val ch: Char = ls(i)
zbstof /
Last active Sep 6, 2021
Setup new Mac quickly
####### Set Up ########
# From :
# Close any open System Preferences panes, to prevent them from overriding
# settings we’re about to change
osascript -e 'tell application "System Preferences" to quit'
###### Install software ######
/usr/bin/ruby -e "$(curl -fsSL"
brew install coreutils # gnu tools - everything has prefix g* - gsed, etc.
#!/usr/bin/env bash
# To run at startup:
# sudo defaults write LoginHook `pwd`/
zbstof / Ukrainian.keylayout
Last active Oct 26, 2018
Ukrainian keyboard for MacOS, that works just like standard Windows Ukrainian keyboard - '.' and ',' in bottom right, '?' on Shift+7, ':' on Shift+4, ';' on Shift+6. Install with Ukelele for current user. You will need Ukelele to import this file `brew cask install ukelele`
View Ukrainian.keylayout
<?xml version="1.1" encoding="UTF-8"?>
<!DOCTYPE keyboard SYSTEM "file://localhost/System/Library/DTDs/KeyboardLayout.dtd">
<!--Last edited by Ukelele version on 2017-11-17 at 18:42 (GMT+2)-->
<keyboard group="126" id="-6049" name="Ukrainian" maxout="1">
<layout first="0" last="0" mapSet="138" modifiers="30"/>
<modifierMap id="30" defaultIndex="5">
<keyMapSelect mapIndex="0">
<modifier keys="option command? control"/>
View euler19
m1 = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31]
m2 = [31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31]
mon_sy = {
1: "January", 2: "February", 3: "March", 4: "April", 5: "May", 6: "June",
7: "July", 8: "August", 9: "September", 10: "October", 11: "November",
12: "December"}
leap = [year for year in range(1904, 2001, 4)]
def months():
View .vimrc
"Vim, not vi set nocompatible
"sets the language of the menu (gvim)
set langmenu=en_US.UTF-8
"sets the language of the messages / ui (Vim)
language messages en
"Remove ALL autocommands for the current group
"automatically use system clipboard
set clipboard=unnamed
"Disable cursor blinking