scope :for_yandex_news, -> {
published.
recent(:created_at).
where(yandex_news: true).
where("published_at >= ?", 8.days.ago.utc)
}
scope :for_flipboard_tech, -> {
published.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
~/.bashrc | |
alias just_go='git add -A; git commit -m ~~~; git push origin `git rev-parse --abbrev-ref HEAD`;' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias just_go='git add -A; git commit -m ~~~; git push origin master;' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Rollbar.warning(e, 'Invalid Authenticity token') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo chown -R $(whoami):admin /usr/local/ | |
sudo chown -R $(whoami):admin /Library/Caches/Homebrew |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# which logrotate | |
/usr/sbin/logrotate | |
# logrotate -v | |
logrotate 3.8.1 - Copyright (C) 1995-2001 Red Hat, Inc. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Host bitbucket bitbucket.org | |
User username | |
HostName bitbucket.org | |
IdentityFile ~/.ssh/key_rsa |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
brew update | |
brew doctor | |
brew upgrade node |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0 | |
Vagrant И Chef. От Dev окружения до развертки Rails приложения. | |
1 | |
Зыкин Илья. | |
github.com/the-teacher | |
2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Мне нравится что ты делаешь большие штучки и думаешь о людях (c) |