Skip to content

Instantly share code, notes, and snippets.

{
"name": "symfony 1.2",
"license": "MIT",
"type": "project",
"description": "The \"Symfony Standard Edition\" distribution",
"autoload": {
"psr-0": { "": "../symfony2/src/" },
"psr-4": {
"Revinate\\" : "libns/Revinate",
"lib\\" : "lib",
CompileC /Users/daiyi/personal-projects/interesting-mobile/ios/Build/Intermediates.noindex/RNVectorIcons.build/Debug-iphonesimulator/RNVectorIcons.build/Objects-normal/x86_64/RNVectorIconsManager.o RNVectorIconsManager/RNVectorIconsManager.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler cd "/Users/daiyi/personal-projects/interesting-mobile/node_modules/@expo/vector-icons/vendor/react-native-vector-icons" export LANG=en_US.US-ASCII
@dyangrev
dyangrev / c*
Created September 15, 2017 19:17
```
cqlsh:dossier_test_1> select * from merged_prop_profiles where profile_ids_for_search like '%FILE<->piper<->thedurhamhotel<->DC7624653B3CEAA46661FD6227572758383D522A%' ;
id | badges | company_info | contact_list_ids | created_at | credit_cards | date_of_birth | day_of_birth | email_addresses | first_name | gender | guest_notes | last_name | mail_opt_out | memberships | middle_name | month_of_birth | name_type | phone_numbers | photo_url | postal_addresses
2017-08-05 00:04:15.893 WARN 1 --- [TaskExecutor-28] o.s.a.r.l.SimpleMessageListenerContainer : Consumer raised exception, processing can restart if the connection factory supports it
org.springframework.amqp.AmqpIOException: java.net.SocketException: Broken pipe
at org.springframework.amqp.rabbit.support.RabbitExceptionTranslator.convertRabbitAccessException(RabbitExceptionTranslator.java:65)
at org.springframework.amqp.rabbit.connection.RabbitAccessor.convertRabbitAccessException(RabbitAccessor.java:110)
at org.springframework.amqp.rabbit.core.RabbitTemplate.doExecute(RabbitTemplate.java:1053)
at org.springframework.amqp.rabbit.core.RabbitTemplate.execute(RabbitTemplate.java:1030)
at org.springframework.amqp.rabbit.core.RabbitTemplate.send(RabbitTemplate.java:542)
at org.springframework.amqp.rabbit.core.RabbitTemplate.send(RabbitTemplate.java:536)
at org.springframework.amqp.rabbit.retry.RepublishMessageRecoverer.recover(RepublishMessageRecoverer.jav
import org.apache.spark.sql.DataFrame
import com.rockymadden.stringmetric.similarity.NGramMetric
import org.apache.spark.sql.SaveMode
import org.apache.spark.sql.functions._
import sqlContext.implicits._
import java.util.UUID
import com.datastax.spark.connector._
object BlockingUtils {
+-------------+---------------------+----------------------+--------------------+---------------------------------------+-------------------------------+-----------------------+------------------------+---------------------------+-----------------+
|profile_id |normalized_first_name|normalized_middle_name|normalized_last_name|normalized_postal_address |normalized_email_address |normalized_phone_number|normalized_date_of_birth|normalized_primary_language|normalized_gender|
+-------------+---------------------+----------------------+--------------------+---------------------------------------+-------------------------------+-----------------------+------------------------+---------------------------+-----------------+
|1194000909707|gabriela de |null |jesus |3320 redwood grove pearland tx us 77581|[email protected] |+17139229872 |null |null |null |
|1365799604463|gabriela de
score: 0.625
+------------------------------------+---------------------+----------------------+--------------------+------------------------------+------------------------+-----------------------+------------------------+---------------------------+-----------------+
|profile_id |normalized_first_name|normalized_middle_name|normalized_last_name|normalized_postal_address |normalized_email_address|normalized_phone_number|normalized_date_of_birth|normalized_primary_language|normalized_gender|
+------------------------------------+---------------------+----------------------+--------------------+------------------------------+------------------------+-----------------------+------------------------+---------------------------+-----------------+
|b03a1341-4931-11e6-87de-adec83c41e61|caroline |null |stern |parkstrasse 9 krefeld de 47829|null |+1784727510 |null |null |U
+--------------------+---------------------+----------------------+--------------------+-------------------------+------------------------+-----------------------+------------------------+---------------------------+-----------------+
| profile_id|normalized_first_name|normalized_middle_name|normalized_last_name|normalized_postal_address|normalized_email_address|normalized_phone_number|normalized_date_of_birth|normalized_primary_language|normalized_gender|
+--------------------+---------------------+----------------------+--------------------+-------------------------+------------------------+-----------------------+------------------------+---------------------------+-----------------+
|b03a1341-4931-11e...| caroline| null| stern| parkstrasse 9 kre...| null| +1784727510| null| null| U|
|8f50aff5-492b-11e...| caroline| null| stal
"messageReply": "{\"summary\":{\"successCount\":500,\"errorCount\":0,\"totalCount\":500},\"errors\":[],\"warnings\":[{\"field\":\"$.[0].roomNumber\",\"message\":\"is recommended\"},{\"field\":\"$.[0].profiles[0].emailAddresses\",\"message\":\"is recommended and should have at least one\"},{\"field\":\"$.[1].roomNumber\",\"message\":\"is recommended\"},{\"field\":\"$.[1].profiles[0].emailAddresses\",\"message\":\"is recommended and should have at least one\"},{\"field\":\"$.[2].profiles[0].emailAddresses\",\"message\":\"is recommended and should have at least one\"},{\"field\":\"$.[3].roomNumber\",\"message\":\"is recommended\"},{\"field\":\"$.[3].profiles[0].emailAddresses\",\"message\":\"is recommended and should have at least one\"},{\"field\":\"$.[4].profiles[0].emailAddresses\",\"message\":\"is recommended and should have at least one\"},{\"field\":\"$.[5].roomNumber\",\"message\":\"is recommended\"},{\"field\":\"$.[6].profiles[0].emailAddresses\",\"message\":\"is recommended and should have at least
TCPDUMP from memcached
19:47:58.894010 IP inguest-app-04.test.rpc.revinate.net.27549 > inguest-memcached-01.test.rpc.revinate.net.11211: Flags [S], seq 1837843347, win 28200, options [mss 1410,sackOK,TS val 1230524289 ecr 0,nop,wscale 7], length 0
19:47:58.894083 IP inguest-memcached-01.test.rpc.revinate.net.11211 > inguest-app-04.test.rpc.revinate.net.27549: Flags [S.], seq 742036930, ack 1837843348, win 27960, options [mss 1410,sackOK,TS val 2354472040 ecr 1230524289,nop,wscale 7], length 0
19:47:58.894680 IP inguest-app-04.test.rpc.revinate.net.27549 > inguest-memcached-01.test.rpc.revinate.net.11211: Flags [.], ack 1, win 221, options [nop,nop,TS val 1230524289 ecr 2354472040], length 0
19:47:58.916268 IP inguest-app-04.test.rpc.revinate.net.27550 > inguest-memcached-01.test.rpc.revinate.net.11211: Flags [S], seq 4126209094, win 28200, options [mss 1410,sackOK,TS val 1230524295 ecr 0,nop,wscale 7], length 0
19:47:58.916295 IP inguest-memcached-01.test.rpc.revinate.net.11211 > inguest-app-04.test.rpc.revin