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
import React from 'react' | |
import {Editor} from 'react-draft-wysiwyg' | |
import {EditorState, ContentState, convertFromHTML} from 'draft-js' | |
import 'react-draft-wysiwyg/dist/react-draft-wysiwyg.css' | |
import draftToHtml from 'draftjs-to-html' | |
import UploadImage from '../../editor/uploadImage' | |
export default class Main extends React.Component { | |
static propTypes = { |
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
"*": | |
"atom-clock": | |
showClockIcon: true | |
core: | |
disabledPackages: [ | |
"jshint" | |
"react" | |
"vim-mode-plus" | |
"atom-clock" | |
"linter-eslint" |
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
mutation { | |
authenticateFacebookUser(uid:"1085278681616449", email:"[email protected]"){ | |
id | |
homebuyer { | |
id | |
} | |
} | |
} |
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
{"db":[{"meta":{"exported_on":1507642075204,"version":"1.12.1"},"data":{"app_fields":[],"app_settings":[],"apps":[],"brute":[{"key":"G0EzxmGsJzNyOp/jfmGFccyooCbrF2vrEK4S7679Sag=","firstRequest":1507571792202,"lastRequest":1507571792202,"lifetime":1507575392512,"count":1}],"invites":[{"id":"599f035559da4700220a8deb","role_id":"59987998cb1b710019a38d00","status":"sent","token":"MTUwNDE5ODEwMTM5M3xoZXJtaW9uZUBwcm9wZXJ0eXNpbXBsZS5jb218REZLSjVmUjhnYzNlNTdjUlFBM0tZZ2dId01POW1mandJQmpGWW55N3RUaz0=","email":"[email protected]","expires":1504198101393,"created_at":"2017-08-24T16:48:21.000Z","created_by":"1","updated_at":"2017-08-24T16:48:24.000Z","updated_by":"1"},{"id":"59b1a6e31b087f002e2d1ecc","role_id":"59987998cb1b710019a38cff","status":"sent","token":"MTUwNTQxOTYxOTIxMXxjaW50aHlhQHByb3BlcnR5c2ltcGxlLmNvbXxoMWZMcG9OWjBtM21iWUZVU0VEczJVeVI1N3dKWWN2aGdUMXZqZ3JNWG5NPQ==","email":"[email protected]","expires":1505419619211,"created_at":"2017-09-07T20:06:59.000Z","created_by":"59a581318a966b0022dfa0 |
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
server { | |
listen 80; | |
server_name staging.dev.psimple.co; | |
location / { | |
if ($http_user_agent ~* "googlebot|yahoo|bingbot|baiduspider|yandex|yeti|yodaobot|gigabot|ia_archiver|facebookexternalhit|twitterbot|developers\.google\.com") { | |
# proxy_pass http://phoenix_phoenix_1:4000; | |
} | |
} |
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
const crmUserQuery = gql` | |
query crmUser($id: ID!) { | |
crmUser(id: $id) { | |
id | |
name | |
business_card_photo | |
agent_license_number | |
brokerage_address | |
brokerage_name | |
about_me |
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
Started POST "/graphql" for 172.19.0.7 at 2018-01-19 00:37:49 +0000 | |
Cannot render console from 172.18.0.1! Allowed networks: 127.0.0.1, ::1, 127.0.0.0/127.255.255.255 | |
Processing by GraphqlController#execute as */* | |
Parameters: {"query"=>"mutation createFavorite($wishlist_id: ID!, $listing_id: ID!) {\n createFavorite(wishlist_id: $wishlist_id, listing_id: $listing_id) {\n listing_id\n id\n errors\n wishlist_id\n __typename\n }\n}\n", "variables"=>{"wishlist_id"=>"12", "listing_id"=>"60175"}, "operationName"=>"createFavorite", "graphql"=>{"query"=>"mutation createFavorite($wishlist_id: ID!, $listing_id: ID!) {\n createFavorite(wishlist_id: $wishlist_id, listing_id: $listing_id) {\n listing_id\n id\n errors\n wishlist_id\n __typename\n }\n}\n", "variables"=>{"wishlist_id"=>"12", "listing_id"=>"60175"}, "operationName"=>"createFavorite"}} | |
HTTP Origin header (http://localhost:3001) didn't match request.base_url (http://crm-assistant.dev.propertysimple.com) | |
User Load (0.3ms) SE |
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
App 466 stdout: ==== Manual Trigger: Elasticsearch::Transport::Transport::Errors::NotFound: [404] {"error":{"root_cause":[{"type":"document_missing_exception","reason":"[listing][1775935]: document missing","index_uuid":"0mL06KnwT9KkbhFAbtmjGw","shard":"0","index":"crm-assistant_application_production_listings"}],"type":"document_missing_exception","reason":"[listing][1775935]: document missing","index_uuid":"0mL06KnwT9KkbhFAbtmjGw","shard":"0","index":"crm-assistant_application_production_listings"},"status":404} | |
App 466 stdout: Backtrace: | |
App 466 stdout: /usr/local/rvm/gems/ruby-2.4.0/gems/elasticsearch-transport-5.0.4/lib/elasticsearch/transport/transport/base.rb:202:in `__raise_transport_error' | |
App 466 stdout: /usr/local/rvm/gems/ruby-2.4.0/gems/elasticsearch-transport-5.0.4/lib/elasticsearch/transport/transport/base.rb:319:in `perform_request' | |
App 466 stdout: /usr/local/rvm/gems/ruby-2.4.0/gems/elasticsearch-transport-5.0.4/lib/elasticsearch/transport/transport/http/faraday.rb:20:in `perform_reques |
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
[ | |
{ | |
"nombre": "AB", | |
"laboratorio": "SAVAL" | |
}, | |
{ | |
"nombre": "AB ANTITUSIVO", | |
"laboratorio": "SAVAL" | |
}, | |
{ |
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
import React, { useRef, useLayoutEffect } from 'react' | |
import PropTypes from 'prop-types' | |
import './Videollamada.scss' | |
import DailyIframe from '@daily-co/daily-js' | |
function Videocall ({ toggleCall, conversationId, callActive }) { | |
const callRef = useRef() | |
if (callRef.current && !callActive) { | |
callRef.current.leave() |