Skip to content

Instantly share code, notes, and snippets.

Yury Antonov yantonov

Block or report user

Report or block yantonov

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View cult-of-done.md

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 Jan 17, 2018
Hexlet programming principles
View hexlet-principles.md
  • Принципы программирования Хекслета
  1. Язык — это инструмент
  2. Программирование — это не язык
  3. Понимание принципов важнее знания инструментов
  4. Паттерны — это не принципы программирования
  5. Написание кода — не цель
  6. Удаление кода лучше его написания
  7. Читаемый код важнее быстрого
  8. Любое решение имеет плюсы
View keybase.md

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 Jan 12, 2016
How to enable gc logs on jvm
View enable-gc-log.txt
-XX:+PrintGCDetails
-XX:+PrintGCTimeStamps
-Xloggc:file.log
-XX:+UseGCLogFileRotation
-XX:NumberOfGCLogFiles=N
@yantonov
yantonov / install-ghc-macos.md
Last active Aug 23, 2019
How to install latest GHC from source + latest stack + cabal + cabal-install on mac os
View install-ghc-macos.md

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 Sep 27, 2014
install latest rabbitmq 3.3.5
View install-rabbitmq.sh
#!/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 Aug 10, 2014
how to fix rJava problem
View rJava.fix.sh
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 Jun 20, 2014
Highlight current tab for ubuntu terminal (~/.config/gtk-3.0/gtk.css)
View 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
Fix brightness on ubuntu 14.04 lts for nvidia cards (create this file at /usr/share/X11/xorg.conf.d/20-nvidia.conf)
View 20-nvidia.conf
Section "Device"
Identifier "Default Device"
Driver "nvidia"
Option "NoLogo" "True"
Option "RegistryDwords" "EnableBrightnessControl=1"
EndSection
@yantonov
yantonov / install.r.sh
Created Jun 8, 2014
install r on ubuntu 14.04
View install.r.sh
#!/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
You can’t perform that action at this time.