Skip to content

Instantly share code, notes, and snippets.

View luaybs's full-sized avatar

Luay Bseiso luaybs

View GitHub Profile
  1. Add the gem to your Gemfile
gem 'webhook_manager'
  1. In your terminal:
<?xml version="1.0" encoding="UTF-8"?>
<Response>
<Say language="en" voice="woman">Hey this is from Luay's laptop. Have fun! Goodbye!</Say>
</Response>
+----+--------------------+--------------------------+--------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------+---------+--------------------------------------------------------------+------+----------------------------------------------+
| id | select_type | table | type | possible_keys | key
@luaybs
luaybs / gist:efd03388219fe696c56f1f956cc0ef4a
Created June 12, 2017 10:06
NO CUSTOM FIELDS EXPLAIN MYTRS
+----+--------------------+--------------------------+--------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------+---------+--------------------------------------------------------+------+----------------------------------------------+
| id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra |
+----+--------------------+--------------------------+--------+-------------------------------------------------------------------------------------------------------------------------------------
@luaybs
luaybs / gist:5f9bffcdac9911f04a5d43cfe2dba222
Created November 26, 2016 05:38
the doc pricebooks rake eon prod
luaybs@eon-production-1:/srv/www/eon_access_production/current$ bundle exec rake 'db:import_price_book_ids_from_sandbox[/home/doctor_price_books.txt]' RAILS_ENV=production
Rails Error: Unable to access log file. Please ensure that /srv/www/eon_access_production/releases/20161124110207/log/production.log exists and is writable (ie, make it writable for user and group: chmod 0664 /srv/www/eon_access_production/releases/20161124110207/log/production.log). The log level has been raised to WARN and the output directed to STDERR until the problem is fixed.
DEPRECATION WARNING: You did not specify a `log_level` in `production.rb`. Currently, the default value for `log_level` is `:info` for the production environment and `:debug` in all other environments. In Rails 5 the default value will be unified to `:debug` across all environments. To preserve the current setting, add the following line to your `production.rb`:
config.log_level = :info
. (called from block in tsort_each at /usr/local/lib/ruby/2.3.0/tsort.rb
#header
List a property with us should link correctly
#homepage
Should filter the correct cities based on the state selected
Should set class active to the selected circle
Slider should end at 3mil
#prop index filter
Should filter correctly