This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
transloadit: '{ | |
"ok": "ASSEMBLY_COMPLETED", | |
"message": "The assembly was successfully completed.", | |
"assembly_id": "833c21b0aed511e3a7b675b5d4bfaff4", | |
"parent_id": null, | |
"assembly_url": "http://api2.nidba.transloadit.com/assemblies/833c21b0aed511e3a7b675b5d4bfaff4", | |
"bytes_received": 33829, | |
"bytes_expected": 33829, | |
"client_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.149 Safari/537.36", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ ok: 'ASSEMBLY_COMPLETED', | |
message: 'The assembly was successfully completed.', | |
assembly_id: '38a58a00aeea11e3a3763dcc8684c3a1', | |
parent_id: null, | |
assembly_url: 'http://api2.nidba.transloadit.com/assemblies/38a58a00aeea11e3a3763dcc8684c3a1', | |
bytes_received: 91355, | |
bytes_expected: 91355, | |
client_agent: 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.152 Safari/537.36', | |
client_ip: '181.193.42.90', | |
client_referer: 'http://localhost:1337/user/new', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
app.config(function($httpProvider) { | |
//Enable cross domain calls | |
$httpProvider.defaults.useXDomain = true; | |
//Remove the header used to identify ajax call that would prevent CORS from working | |
delete $httpProvider.defaults.headers.common['X-Requested-With']; | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
myApp.service('helloWorldFromService', function() { | |
this.sayHello = function() { | |
return "Hello, World!" | |
}; | |
}); | |
myApp.controller('ExampleCtrl', function($scope, helloWorldFromService){ | |
console.log( helloWorldFromService.sayHello() ) ; | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//factory style, more involved but more sophisticated | |
myApp.factory('helloWorldFromFactory', function() { | |
return { | |
sayHello: function() { | |
return "Hello, World!" | |
} | |
}; | |
}); | |
//Controller |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Verifying I am +kevinblanco on my passcard. https://onename.com/kevinblanco |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: v1 | |
kind: Pod | |
metadata: | |
name: kind-cluster | |
spec: | |
containers: | |
- image: jieyu/kind-cluster-buster:v0.1.0 | |
imagePullPolicy: Always | |
name: kind-cluster | |
stdin: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export default { | |
customerSupportMessages: [], | |
async reviewInquiries () { | |
this.customerSupportMessages = SelectQuery.data; | |
for(let i=0; i<this.customerSupportMessages.length; i++){ | |
let gemini = await SupportAnalize.run( | |
{ | |
description: this.customerSupportMessages[i].Description, | |
type: this.customerSupportMessages[i].Type, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
terraform { | |
required_providers { | |
google = { | |
source = "hashicorp/google" | |
version = "5.32.0" | |
} | |
google-beta = { | |
source = "hashicorp/google-beta" | |
version = "5.32.0" |