Skip to content

Instantly share code, notes, and snippets.

View mccataldo's full-sized avatar

mike cataldo mccataldo

View GitHub Profile
from twilio.rest import Client
import threading
from time import sleep
# Your Account Sid and Auth Token from twilio.com/console
account_sid = 'YOUR_ACCOUNT_SID'
auth_token = 'YOUR_AUTH_TOKEN'
YOUR_TWILIO_PHONE_NUMBER = 'enter your twilio number here'
client = Client(account_sid, auth_token)
@Yimiprod
Yimiprod / difference.js
Last active July 13, 2024 15:07
Deep diff between two object, using lodash
/**
* This code is licensed under the terms of the MIT license
*
* Deep diff between two object, using lodash
* @param {Object} object Object compared
* @param {Object} base Object to compare with
* @return {Object} Return a new object who represent the diff
*/
function difference(object, base) {
function changes(object, base) {