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
Free latex/nitrile gloves | |
0: ['latex_free_nitrile_gloves', | |
'are_nitrile_gloves_latex_free', | |
'nitrile_or_latex_gloves', | |
'latex_or_nitrile_gloves', | |
'is_nitrile_gloves_latex_free', | |
'nitrile_gloves_latex_free', | |
'free_latex_gloves', | |
'nitrile_free_gloves', |
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
0: ['local_marketing_solutions', | |
'marketing_solutions_online', | |
'digital_marketing_solutions', | |
'local_digital_marketing_solutions', | |
'website_marketing_solutions', | |
'internet_marketing_solutions', | |
'business_marketing_solutions', | |
'digital_marketing_solutions_company', | |
'site_marketing_solutions', | |
'online_marketing_solution', |
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
First Sweep of DBSCAN: | |
DBSCAN(eps=24.37, min_samples=10).fit(new_vectors) | |
Email Blasts | |
0: ['email_blast', | |
'blast_email', | |
'email_blast_size', |
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
--- Main topics of ThriveHive (Semrush + Spyfu keywords) based on detected clusters ---- | |
Main Topcis: | |
Email Blasts | |
Facebook Tagging | |
Email subject line |
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
Raw Tm Ouput for "oracle_database" query | |
[(u'relational_database', 0.7822651624720822), | |
(u'rdsadmin_util', 0.7787341712211107), | |
(u'exec_rdsadmin', 0.7743804381040291), | |
(u'multitenant_architecture', 0.7698099597277153), | |
(u'redo_log', 0.7678954596330855), | |
(u'rc_droot', 0.7666727633511776), | |
(u'right-click_the_table', 0.7662226424822405), | |
(u'step-by-step_oracle', 0.7648878850923293), |
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
"use strict"; | |
function cache_store(callback, key, value) { | |
callback('store ' + value + ' to cache' ); | |
}; | |
function slow_provider_function(callback, key) { | |
const providerResult = 'provider result'; | |
setTimeout(function() { | |
console.log('slow result fetched'); |
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
module Api | |
module V2 | |
class ApiController < ::ApplicationController | |
before_action :doorkeeper_authorize!, unless: :public_endpoint? | |
skip_before_filter :verify_authenticity_token | |
skip_before_filter :ensure_locale_and_platform | |
skip_before_filter :store_locale_and_platform | |
skip_before_filter :set_user_time_zone |
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 AdsController < ApplicationController | |
before_action :require_auth, :default_params | |
# rubocop:disable Style/MethodLength | |
def index | |
@contest = Contest.find(@params[:contest_id], cookies, {}) | |
query_params = 'embed[resource]=[id,image.url(:detail_preview),url(:mp4),url(:ogg)]' \ | |
'&embed[nested][user][profile]=[email][last_name,first_name,avatar.url(:detail)]' \ | |
'&embed[votes]=[all,rate,user_id]' \ |
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
module Api | |
module V2 | |
class AdsController < ApiController | |
respond_to :json | |
before_filter :return_attributes | |
before_filter :check_for_file_urls, only: [:update, :create] | |
def create | |
@object = ::Ad.new(params[:ad]) |
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
require 'open-uri' | |
class Ad < ActiveRecord::Base | |
# NOTE: These need to come before inclusion of CountsEntries module | |
STATES = [:uploaded, :encoded, :published, :invalid] | |
AVAILABLE_TYPES = %w(Video Print Radio Banner Concept) | |
include CountsEntries |