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
= favicon_link_tag "light_favicon.ico" | |
= stylesheet_link_tag "application", media: "all" | |
= include_gon | |
= javascript_include_tag 'application' |
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
Browserify: /home/sia/Filing/foro/node_modules/.bin/browserifyinc -d -t [ babelify --presets [ es2015 ] ] -t require-globify --list --cachefile=/home/sia/Filing/foro/tmp/cache/browserify-rails/browserifyinc-cache.json -o "/home/sia/Filing/foro/tmp/cache/browserify-rails/output20160920-15418-1858zak" - | |
Browserify: /home/sia/Filing/foro/node_modules/.bin/browserifyinc -d -t [ babelify --presets [ es2015 ] ] -t require-globify --cachefile=/home/sia/Filing/foro/tmp/cache/browserify-rails/browserifyinctog-cache.json -o "/home/sia/Filing/foro/tmp/cache/browserify-rails/output20160920-15418-ckcck1" - |
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
def start | |
write_webpack_config | |
stdin, stdout_and_stderr, _ = Open3.popen2e(webpack_command) | |
begin | |
Timeout::timeout(1) { | |
while !stdout_and_stderr.eof? | |
puts stdout_and_stderr.read_nonblock(128) | |
end | |
} |
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
local CMD=$(cat <<-EOF | |
source /etc/profile.d/chruby.sh && | |
chruby ruby-2.3.1 && | |
cd /var/app/current/ && | |
$SCRIPT | |
EOF | |
) | |
if [ "$USER" == $RUNAS ]; then | |
`$CMD` |
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
class CreateOrderDelegate < ApplicationDelegate | |
def delegate? | |
order_create_action? || prefilled_order? | |
end | |
def run | |
handle_order_prefill | |
end |
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
class ApplicationDelegate | |
include Rails.application.routes.url_helpers | |
default_url_options[:host] = ActionMailer::Base.default_url_options[:host] | |
attr_reader :c | |
def initialize(controller) | |
@c = controller | |
end |
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
TypeError | |
Assignment to read-only properties is not allowed in strict mode | |
/webpack/application-431c379c0d62198efb9e.js in Anonymous function at line 1:755 | |
{snip} nt"==gon.env&&(window.debugEvents=!0),f.default.polyfill(),window.focus=l.default,a.default.init(),window.anticlick.remove(),(0,o.default)(" {snip} |
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
jQuery.Deferred exception: Assignment to read-only properties is not allowed in strict mode TypeError: Assignment to read-only properties is not allowed in strict mode | |
at Anonymous function (eval code:38:3) | |
at mightThrow (eval code:3570:10) | |
at Anonymous function (eval code:3638:12) | |
at d (https://cdn.ravenjs.com/3.8.1/raven.min.js:2:6151) | |
TypeError: Assignment to read-only properties is not allowed in strict mode |
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
default: &default | |
adapter: postgresql | |
encoding: unicode | |
host: localhost | |
pool: <%= Sidekiq.server? ? ENV.fetch("SIDEKIQ_MAX_THREADS"){ 5 } : ENV.fetch("RAILS_MAX_THREADS") { 5 } %> |
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
SELECT *, | |
Extract(epoch FROM ( negotiations.updated_at - seen_at )) AS difference | |
FROM negotiation_users | |
INNER JOIN negotiations | |
ON negotiations.id = negotiation_users.negotiation_id | |
WHERE ( difference > 600 ) | |
AND negotiation_users.reminder_count = 0 |