This file contains 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
<script data-electnext id="enxt-script" type="text/javascript"> | |
//<![CDATA[ | |
var _enxt = _enxt || []; | |
_enxt.push(['set_account', 'YOUR_API_KEY']); | |
_enxt.push(['set_article', 'YOUR_CMS_SPECIFIC_ARTICLE_ID']); | |
_enxt.push(['setup_featured_perspective']); | |
(function() { | |
var enxt = document.createElement('script'); enxt.type = 'text/javascript'; enxt.async = true; | |
enxt.src = '//versahq.com/api/v1/enxt.js'; var k = document.getElementById('enxt-script'); |
This file contains 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
.ui-autocomplete { | |
position: absolute; | |
top: 100%; | |
left: 0; | |
z-index: 1000; | |
float: left; | |
display: none; | |
min-width: 160px; | |
padding: 4px 0; | |
margin: 2px 0 0 0; |
This file contains 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
module ChosenSteps | |
def chosen_input(label_text) | |
find('.chosen-input', text: label_text) | |
end | |
def chosen_suggestion(text) | |
find('li.active-result', text: text) | |
end | |
def chosen_select(value, options) |
This file contains 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
# /etc/init/puma.conf - Puma config | |
description "Puma App Service" | |
start on (local-filesystems and net-device-up IFACE=lo and runlevel [2345]) | |
stop on (runlevel [!2345]) | |
setuid appuser | |
setgid appuser | |
respawn | |
respawn limit 3 30 | |
env HOME=/home/appuser | |
env PATH=/home/appuser/.rbenv/shims:/home/appuser/.rbenv/bin:/usr/local/bin:/usr/bin:/bin |