Skip to content

Instantly share code, notes, and snippets.

import sys
import random
from termcolor import colored, cprint
sequence = 15 #number of operations to solve
positive = 0 #good results
for i in range(0,sequence):
x= random.randint(2,9); y= random.randint(2,9)
print('\n')
var jsforce = require('jsforce');
var conn = new jsforce.Connection({
oauth2 : {
// you can change loginUrl to connect to sandbox or prerelease env.
loginUrl : 'https://test.salesforce.com',
clientId : '3MVG9T46ZAw5GTfUAOzUzNDlh9exRS6m94PR1.o95_Q6t.qo8vFZkGOI_oAm3maz3oWLZ9K8Tdb1HTmVYev6a',
clientSecret : 'DD7FE38C376FA2575F3BAFC9980CC879CFB10E84BD55FA72E426DFABCC509119',
redirectUri : 'http://localhost:3000'
}