ChangeLog を書く際によく使われる英語をまとめました。
ほとんど引用です。
<% flash.each do |type, message| %> | |
<div class="alert <%= bootstrap_class_for(type) %> fade in"> | |
<button class="close" data-dismiss="alert">×</button> | |
<%= message %> | |
</div> | |
<% end %> |
a(;`・ω・)o━ヽ_。_・_゚_・_フ)) | |
?(っ´。ω゜`c) | |
☝(〃`l _ l´)☝ | |
☝( ◠‿◠ )☝ | |
༼(*꒪ั❥꒪ั*༽༽ | |
(✿꒪ั◡꒪ั✿) | |
(੭ु ˃̶͈̀ x ˂̶͈́)੭ु⁾⁾ | |
:(ヽ'ω`): | |
+。:.゚٩(๑>◡<๑)۶:.。+゚ | |
(★l ω l) |
Updated for Rails 4.0.0+
Set up the bower
gem.
Follow the Bower instructions and list your dependencies in your bower.json
, e.g.
// bower.json
{
シェルTIPS 20min | |
=========== | |
コンピュータの方がうまくできることに人間を使うな。 | |
-- Tom Duff | |
キーバインド | |
---------- | |
Emacs の基本操作とおなじ。 |
# http://stackoverflow.com/questions/14972253/simpleform-default-input-class | |
# https://github.com/plataformatec/simple_form/issues/316 | |
inputs = %w[ | |
CollectionSelectInput | |
DateTimeInput | |
FileInput | |
GroupedCollectionSelectInput | |
NumericInput | |
PasswordInput |
A quick comparison/ benchmark between Hogan, Dust, doT and underscore
Developed by Twitter (same team as Bootstrap), use exactly the same syntax as Mustache, but more performant and more stuff available server side.
My name is {{ name }}
doctype html | |
html | |
head | |
title My App | |
meta name="viewport" content="width=device-width, initial-scale=1.0" | |
= stylesheet_link_tag "application", media: 'all', 'data-turbolinks-track' => true | |
= javascript_include_tag "application", 'data-turbolinks-track' => true | |
= csrf_meta_tags | |
body |
On a recent project, I ran into an issue with Python Selenium webdriver. There's no easy way to open a new tab, grab whatever you need and return to original window opener.
Here's a couple people who ran into the same complication:
So, after many minutes (read about an hour) of searching, I decided to do find a quick solution to this problem.