Skip to content

Instantly share code, notes, and snippets.

View the-teacher's full-sized avatar
💻
Working remotely

Ilya N. Zykin the-teacher

💻
Working remotely
View GitHub Profile
~/.bashrc
alias just_go='git add -A; git commit -m ~~~; git push origin `git rev-parse --abbrev-ref HEAD`;'
alias just_go='git add -A; git commit -m ~~~; git push origin master;'
@the-teacher
the-teacher / Rollbar
Created April 26, 2016 09:21
rollbar exception
Rollbar.warning(e, 'Invalid Authenticity token')
@the-teacher
the-teacher / brew_fix.sh
Created April 12, 2016 08:01
How to fix Brew for Second Admin user
sudo chown -R $(whoami):admin /usr/local/
sudo chown -R $(whoami):admin /Library/Caches/Homebrew
# which logrotate
/usr/sbin/logrotate
# logrotate -v
logrotate 3.8.1 - Copyright (C) 1995-2001 Red Hat, Inc.
Host bitbucket bitbucket.org
User username
HostName bitbucket.org
IdentityFile ~/.ssh/key_rsa
@the-teacher
the-teacher / gist:24d43530e92a26fa5460
Created January 21, 2016 07:30
node js upgrade with brew
brew update
brew doctor
brew upgrade node
@the-teacher
the-teacher / rss feeds.md
Created December 18, 2015 09:32
RSS FEEDS
    scope :for_yandex_news, -> {
      published.
      recent(:created_at).
      where(yandex_news: true).
      where("published_at >= ?", 8.days.ago.utc)
    }

    scope :for_flipboard_tech, -> {
 published.
@the-teacher
the-teacher / конфа
Last active November 27, 2015 18:20
Конфа
0
Vagrant И Chef. От Dev окружения до развертки Rails приложения.
1
Зыкин Илья.
github.com/the-teacher
2
Мне нравится что ты делаешь большие штучки и думаешь о людях (c)