Skip to content

Instantly share code, notes, and snippets.

View cinic's full-sized avatar

Alexandr Andreev cinic

View GitHub Profile
@cinic
cinic / support_cyrillic.sh
Created November 17, 2015 20:49 — forked from vladimir-e/support_cyrillic.sh
Support cyrillic / russian input in rails console and IRB
$ brew install openssl readline
$ CONFIGURE_OPTS="--with-openssl-dir=`brew --prefix openssl` --with-readline-dir=`brew --prefix readline`" rbenv install 2.0.0-p353
@cinic
cinic / gist:6a1d2af82ebdf4ae7ac1
Last active September 15, 2015 11:22 — forked from alimd/gist:3344523
All github Emoji (Smiles)

All github Emoji (Smiles)

ali.md/emoji

:bowtie: | 😄 | 😆 | 😊 | 😃 | ☺️ | 😏 | 😍 | 😘 | :kissing_face: | 😳 | 😌 | 😆 | 😁 | 😉 | :wink2: | 👅 | 😒 | 😅 | 😓

😩 | 😔 | 😞 | 😖 | 😨 | 😰 | 😣 | 😢 | 😭 | 😂 | 😲 | 😱 | :neckbeard: | 😫 | 😠 | 😡 | 😤 | 😪 | 😋 | 😷

😎 | 😵 | 👿 | 😈 | 😐 | 😶 | 😇 | 👽 | 💛 | 💙 | 💜 | ❤️ | 💚 | 💔 | 💓 | 💗 | 💕 | 💞 | 💘 | ✨

@cinic
cinic / capybara.md
Last active August 29, 2015 14:23 — forked from steveclarke/capybara.md

Capybara

save_and_open_page

Matchers

have_button(locator)
#Save this file as hax_background_jobs_in_unicorn.ru
#In one terminal run: unicorn hax_background_jobs_in_unicorn.ru
#In another run: curl -v localhost:8080
class CleverMailSender
class << self; attr_accessor :emails_to_send; end
self.emails_to_send = []
class BodyProxy
def initialize(body)
@body = body
@cinic
cinic / wishlist.md
Created August 14, 2012 12:40 — forked from pepelsbey/wishlist.md
Список желаний

Список желаний

Ведётся для друзей (что тебе подарить?) и для себя (куда бы потратить деньги?). Если вы хотите меня порадовать, то можете купить что-нибудь из списка ниже или просто перевести мне денег в качестве комплимента. Перед тем, как что-либо купить, сообщите мне о своём намерении, чтобы не было пересечений в сезонные подарочные периоды. Исключение составляет только список «Прочее».

Книги

@cinic
cinic / dabblet.css
Created June 13, 2012 12:51
Opera iFrame bug
/**
* Opera iFrame bug
*/
body {
background:#FFF;
}
iframe {
border:1px solid #000;
/*border-radius:10px;*/
@cinic
cinic / dabblet.css
Created June 13, 2012 11:54
Opera iFrame bug
/**
* Opera iFrame bug
*/
body {
background:#FFF;
}
iframe {
border:1px solid #000;
border-radius:10px;