Skip to content

Instantly share code, notes, and snippets.

View yantonov's full-sized avatar

Yury Antonov yantonov

  • The Milky Way galaxy
View GitHub Profile
@yantonov
yantonov / cult-of-done.md
Last active July 12, 2018 06:54
Cult of done

The Cult of Done Manifesto

The Cult of Done Manifesto is a special document. Written from bed with Kio Stark in our first few months of dating. It was one of those magic writing moments where I had the laptop open and our ideas flew onto the page. For me, it is a map of my 2009 heart. Getting it on paper was a cathartic documentation of my life, my soul, and my passion for unbridled creativity. Kio and I shared writing credit on it, licenced it Creative Commons and put it out into the world. Immediately a few folks made visual representations of it and it spread like wildfire for people who need a creative jumpstart.

— — —

Dear Members of the Cult of Done,

I present to you a manifesto of done. This was written in collaboration with Kio Stark in 20 minutes because we only had 20 minutes to get it done.

@yantonov
yantonov / hexlet-principles.md
Last active January 17, 2018 16:51
Hexlet programming principles
  • Принципы программирования Хекслета
  1. Язык — это инструмент
  2. Программирование — это не язык
  3. Понимание принципов важнее знания инструментов
  4. Паттерны — это не принципы программирования
  5. Написание кода — не цель
  6. Удаление кода лучше его написания
  7. Читаемый код важнее быстрого
  8. Любое решение имеет плюсы

Keybase proof

I hereby claim:

  • I am yantonov on github.
  • I am yantonov (https://keybase.io/yantonov) on keybase.
  • I have a public key whose fingerprint is 9118 4C52 211A B2A7 FAAF DD75 1B30 B476 860A EF41

To claim this, I am signing this object:

@yantonov
yantonov / enable-gc-log.txt
Created January 12, 2016 04:17
How to enable gc logs on jvm
-XX:+PrintGCDetails
-XX:+PrintGCTimeStamps
-Xloggc:file.log
-XX:+UseGCLogFileRotation
-XX:NumberOfGCLogFiles=N
@yantonov
yantonov / install-ghc-macos.md
Last active August 23, 2019 03:31
How to install latest GHC from source + latest stack + cabal + cabal-install on mac os

How to install GHC from source + latest stack + cabal + cabal-install on mac os

for your convinience this instuction is available as:
gist
git repo

Prefererred way install stack then install ghc using stack

stack (package manager and build tool, preferrered way to manage dependencies)

@yantonov
yantonov / install-rabbitmq.sh
Created September 27, 2014 08:43
install latest rabbitmq 3.3.5
#!/bin/bash
wget https://www.rabbitmq.com/releases/rabbitmq-server/v3.3.5/rabbitmq-server_3.3.5-1_all.deb
dpkg -i rabbitmq-server_3.3.5-1_all.deb
rm rabbitmq-server_3.3.5-1_all.deb
@yantonov
yantonov / rJava.fix.sh
Created August 10, 2014 16:56
how to fix rJava problem
R CMD javareconf -e
# then
# This fixes the LD_LIBRARY_PATH problem for me (Ubuntu Linux 14.04, R version 3.1.1):
# Add this line to .profile:
export LD_LIBRARY_PATH $JAVA_HOME/jre/lib/amd64:$JAVA_HOME/jre/lib/amd64/server
@yantonov
yantonov / gtk.css
Created June 20, 2014 00:33
Highlight current tab for ubuntu terminal (~/.config/gtk-3.0/gtk.css)
TerminalWindow .notebook {
padding: 0;
border-width: 0;
}
TerminalWindow,
TerminalWindow.background {
background-image: none;
background-color: #6e6e6e;
color: #000000;
@yantonov
yantonov / 20-nvidia.conf
Last active May 22, 2017 19:17
Fix brightness on ubuntu 14.04 lts for nvidia cards (create this file at /usr/share/X11/xorg.conf.d/20-nvidia.conf)
Section "Device"
Identifier "Default Device"
Driver "nvidia"
Option "NoLogo" "True"
Option "RegistryDwords" "EnableBrightnessControl=1"
EndSection
@yantonov
yantonov / install.r.sh
Created June 8, 2014 08:19
install r on ubuntu 14.04
#!/bin/bash
# source
# ubuntu readme : http://cran.r-project.org/bin/linux/ubuntu/README
# cran r mirrors : http://cran.r-project.org/mirrors.html
# add repository
sudo apt-add-repository "deb http://cran.gis-lab.info/bin/linux/ubuntu trusty/"
# import key