Skip to content

Instantly share code, notes, and snippets.

View eduardosanzb's full-sized avatar

Eduardo Bautista eduardosanzb

View GitHub Profile
name-app-dev  Enter a value: yes
name-app-dev  google_sql_database_instance.name-db-instance: Creating...
name-app-dev  ╷
               │ Error: Error, failed to create instance name-db-instance: googleapi: Error 400: Request contains an invalid argument., badRequest
               │ 
               │   with google_sql_database_instance.name-db-instance (name-db-instance),
               │   on cdk.tf.json line 107, in resource.google_sql_database_instance.name-db-instance (name-db-instance):
               │  107:       }
               │ 
/**
* Small hack to automate tinder.com; With a friendly api
*/
function Tinder() {
const tinder = {};
tinder._waitTime = 8000
tinder.waitForIt = () => new Promise(resolve => (setTimeout(() => (resolve()), tinder._waitTime)));
tinder._run = true;
@eduardosanzb
eduardosanzb / cloudSettings
Last active November 15, 2017 17:37
VSCode settings
{"lastUpload":"2017-11-15T17:37:52.008Z","extensionVersion":"v2.8.5"}

Its mainly in the prefix of a child node (the envelope is not complete):

        <q1:ReportRequest Created="2016-06-10" ID="1">
            <q1:ns1:Requestor>
     

I'm setting the prefix ns1 in my json

 'ns1:Requestor': [...]