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
<html ng-app="buttons"> | |
<div button-group> | |
<div button-main> | |
<div>Main</div> | |
</div> | |
<div button-item> | |
<div>Item 1</div> | |
</div> | |
<div button-item> | |
<div>Item 2</div> |
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
Tmux | |
================= | |
Create new session | |
tmux new -s <session name> | |
Suspend session: | |
Ctrl + b + z | |
Attach session: |
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
var Dropdown; | |
Dropdown = (function() { | |
function Dropdown($el, options) { | |
this.options = options; | |
this.$el = $el; | |
this.setup() | |
}; | |
Dropdown.prototype.defaults = { |
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
# turn on webkit driver debug | |
$webkit_debug = false | |
$wait_time = 5 | |
$use_chrome_instead_of_firefox = true | |
def set_webkit_driver() | |
if $webkit_debug | |
Capybara.javascript_driver = :webkit_debug | |
else | |
Capybara.javascript_driver = :webkit |
NewerOlder