Skip to content

Instantly share code, notes, and snippets.

Sampat Badhe sampatbadhe

Block or report user

Report or block sampatbadhe

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View user_ids.txt
[8, 336, 457, 973, 1096, 1226, 2327, 2729, 2895, 3240, 3388, 3751, 3936, 3995, 4009, 4051, 4147, 4240, 4321, 4999, 5027, 5091, 5173, 5213, 6373, 6549, 6951, 7354, 7407, 7410, 7468, 7543, 7824, 8286, 8324, 8328, 8329, 8335, 8339, 8340, 8350, 8358, 8376, 8392, 8398, 8399, 8403, 8412, 8417, 8419, 8431, 8433, 8442, 8445, 8458, 8462, 8463, 8464, 8476, 8479, 8481, 8484, 8488, 8518, 8529, 8532, 8541, 8550, 8554, 8566, 8577, 8580, 8587, 8588, 8590, 8598, 8600, 8601, 8616, 8625, 8628, 8632, 8642, 8648, 8653, 8657, 8660, 8686, 8688, 8697, 8702, 8714, 8733, 8736, 8754, 8757, 8765, 8769, 8781, 8783, 8786, 8787, 8788, 8789, 8793, 8795, 8796, 8800, 8801, 8803, 8816, 8817, 8825, 8829, 8835, 8883, 8886, 8891, 8928, 8929, 8935, 8936, 8938, 8963, 8970, 8971, 8978, 8987, 8988, 9010, 9012, 9013, 9020, 9025, 9029, 9035, 9054, 9063, 9066, 9071, 9073, 9090, 9091, 9095, 9098, 9100, 9101, 9102, 9109, 9112, 9114, 9121, 9124, 9133, 9149, 9150, 9160, 9165, 9166, 9170, 9188, 9192, 9202, 9205, 9218, 9219, 9228, 9230, 9231, 9235, 9236, 924
View replace_zero_width_empty_space.rb
#
# https://stackoverflow.com/questions/50647999/how-to-remove-zero-width-space-characters-zwj-from-the-text
# U+200B zero width space
# U+200C zero width non-joiner Unicode code point
# U+200D zero width joiner Unicode code point
# U+FEFF zero width no-break space Unicode code point
#
text = text.gsub(/[\u200B-\u200D\uFEFF]/, '')
We couldn’t find that file to show.
View template with style tag
<html xmlns="http://www.w3.org/1999/xhtml"><head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<!-- OpenGraph Tags -->
<meta property="og:title" content="Video from #profile_first_name#">
<meta property="og:type" content="website">
View array_compre.txt
[#<Placeholder id: 60855, datum_id: 174, datum_field: "user", datum_type: "User", step_id: 19714, reference_type: "assignee", matching_import_uuid: nil, import_session_uuid: nil, pairing_import_uuid: nil, import_status_id: nil, mark_for_deletion: false>, #<Placeholder id: 60850, datum_id: 174, datum_field: "user", datum_type: "User", step_id: 19713, reference_type: "assignee", matching_import_uuid: nil, import_session_uuid: nil, pairing_import_uuid: nil, import_status_id: nil, mark_for_deletion: false>, #<Placeholder id: 60887, datum_id: nil, datum_field: "Listing Agent", datum_type: "User", step_id: 19725, reference_type: "assignee", matching_import_uuid: nil, import_session_uuid: nil, pairing_import_uuid: nil, import_status_id: nil, mark_for_deletion: false>, #<Placeholder id: 60897, datum_id: 174, datum_field: "user", datum_type: "User", step_id: 19729, reference_type: "assignee", matching_import_uuid: nil, import_session_uuid: nil, pairing_import_uuid: nil, import_status_id: nil, mark_for_deletion: false>
View mapping.txt
# user = User.where(id: 1369).first
# contact_ids = Contact.where(creator_id: 1369).pluck(:id).sort
# kids = Kid.where("contact_id IN (:contact_ids)", contact_ids: contact_ids)
============================================================================
old_db_kids = Kid.where("id IN (?)", kid_ids)
old_db_kid_ids = [1, 2, 3, 4, 5, 6, 7]
============================================================================
You can’t perform that action at this time.