I hereby claim:
- I am aslonski on github.
- I am droshik (https://keybase.io/droshik) on keybase.
- I have a public key ASALWtJR1HgT6ZJ85B91yOrKfYWOoSB0yTTQk-ZvqTzogAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| Delivered-To: andrey@intercom.io | |
| Received: by 10.2.42.131 with SMTP id w125csp1239555jaw; | |
| Thu, 21 Dec 2017 10:29:21 -0800 (PST) | |
| X-Google-Smtp-Source: ACJfBosJfNxM4gCfi2lMrc6h/cw2EzcxSI1Pu7VUPU9kcy8+/p0aRRhTtBZFXUJodI7Hy0cs2P45 | |
| X-Received: by 10.80.142.178 with SMTP id w47mr11767918edw.251.1513880961053; | |
| Thu, 21 Dec 2017 10:29:21 -0800 (PST) | |
| ARC-Seal: i=1; a=rsa-sha256; t=1513880961; cv=none; | |
| d=google.com; s=arc-20160816; | |
| b=ah3PMScZpfS7/yynMEhw4lnMoU0bo5HVC4H7T2SkB45d0Bb3bNdSAFEqp0z4893VmR | |
| L9IBS5tAydbggV1Au4y5Blasye8SH+n59znJfmCB72t/cPnso135qRuktQk1KTepp2Mr |
| Delivered-To: andrey@intercom.io | |
| Received: by 10.2.42.131 with SMTP id w125csp1236784jaw; | |
| Thu, 21 Dec 2017 10:26:28 -0800 (PST) | |
| X-Google-Smtp-Source: ACJfBouDTnbFx9csU80FTFM5q15zL2ODA5jL48fdKWIADdjdo+NcC3x4xgK2Wbbjq4PQN8tpDQo3 | |
| X-Received: by 10.80.214.74 with SMTP id c10mr11261137edj.271.1513880788757; | |
| Thu, 21 Dec 2017 10:26:28 -0800 (PST) | |
| ARC-Seal: i=1; a=rsa-sha256; t=1513880788; cv=none; | |
| d=google.com; s=arc-20160816; | |
| b=Rb136qVSBgsY4zNOvXkNba4mO89i84Ozb7rtaUOf+EzNwYQ/H9noRjZUcqGfUp9tLg | |
| VZESheIpixdrm0m6Yc6y0ry1LlA0+bUmpU7e6MkGWtTh5xboyu+8RmePKY/1QNoYtZ8D |
| Ember.onerror @ raven.js:19 | |
| l @ ember.prod.js:16697 | |
| o @ ember.prod.js:16678 | |
| invokeWithOnError @ ember.prod.js:338 | |
| flush @ ember.prod.js:394 | |
| flush @ ember.prod.js:518 | |
| end @ ember.prod.js:588 | |
| run @ ember.prod.js:702 | |
| _runExpiredTimers @ ember.prod.js:1096 |
| def email_finder(string) | |
| emails = string.scan(/\w{2,}@[a-z0-9]+\.+[a-z]{2,4}/i) | |
| emails.each_with_index do |email, idx| | |
| puts "#{idx+1} – #{email}" | |
| end | |
| end | |
| def curtleize(string) | |
| fun_string = string.gsub(/Curtis/, "Curtle") | |
| <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> | |
| <html> | |
| <head> | |
| <meta content="text/html; charset=utf-8" http-equiv="Content-Type"> | |
| <meta name="viewport" content="width=device-width"> | |
| <meta name="format-detection" content="telephone=no"> | |
| <title>Email template</title> | |
| <style type="text/css" data-premailer="ignore"> | |
| #outlook a{ |
| def submit_to_intercom | |
| ic_user = intercom.users.create(intercom_data) | |
| lead = intercom.contacts.find_all(email: email).first <—— fails here | |
| intercom.contacts.convert(lead, ic_user) if lead | |
| return unless client_profile.intercom_id != ic_user.id |
| array_of_numbers = [1,2,3,4,5] | |
| array_of_numbers.each { |element| | |
| element *= 3 | |
| puts element | |
| } | |
| => | |
| 3 | |
| 6 | |
| 9 |
| var arrayOfNumbers = [1,2,3,4,5]; | |
| arrayOfNumbers.forEach(function(element) { | |
| element *= 3 | |
| console.log(element); | |
| }); | |
| => | |
| 3 | |
| 6 | |
| 9 |
| for ( var number = 0; number < 50; number = number + 10) { | |
| console.log("This is starting to make more sense"); | |
| }; | |
| => | |
| This is starting to make more sense | |
| This is starting to make more sense | |
| This is starting to make more sense | |
| This is starting to make more sense | |
| This is starting to make more sense |