This file contains hidden or 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
#!/bin/bash | |
#get current xcode uuid | |
UUID=$(defaults read /Applications/Xcode.app/Contents/Info DVTPlugInCompatibilityUUID) | |
#update spark inspector uuid | |
defaults write ~/Library/Application\ Support/Developer/Shared/Xcode/Plug-ins/SparkInspectorXcodePlugin.xcplugin/Contents/Info.plist DVTPlugInCompatibilityUUIDs -array-add $UUID |
This file contains hidden or 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
<html> | |
<head> | |
<script src=https://dispatcher.oewabox.at/oewa.js></script> | |
</head> | |
<body> | |
<script> | |
var match, | |
pl = /\+/g, | |
search = /([^&=]+)=?([^&]*)/g, |
This file contains hidden or 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
{ | |
"header": [ | |
"#", | |
"Team", | |
"Sp", | |
"S", | |
"U", | |
"N", | |
"+/-", | |
"P" |
This file contains hidden or 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
{ | |
"header": [ | |
"#", | |
"Team", | |
"Sp", | |
"S", | |
"U", | |
"N", | |
"+/-", | |
"P" |
This file contains hidden or 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
asd |
This file contains hidden or 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
var vision = require("@google-cloud/vision"); | |
console.log(process.argv); | |
var visionClient = vision({ | |
projectId: "fxf-vision", | |
keyFilename: "google-key.json" | |
}); |
This file contains hidden or 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
Promise.resolve() | |
.then(a("OK1")) | |
.then(a("OK2")) | |
.then(a("OK3")) | |
.then(a("OK4")) | |
.then(a("OK5")) | |
.then(a("DONE")) | |
.catch(function(e) { | |
console.log("ERROR"); | |
}); |
This file contains hidden or 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
Promise.resolve() | |
.then(a("OK1")) | |
.then(a("OK2")) | |
.then(a("OK3")) | |
.then(a("OK4")) | |
.then(a("OK5")) | |
.then(a("DONE")) | |
.catch(function(e) { | |
console.log("ERROR"); | |
}); |
This file contains hidden or 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
Promise.resolve() | |
.then(a) | |
.then(b) | |
.then(c) | |
.then(d) | |
.then(e) | |
.then(f) | |
.then(function() { | |
console.log("FINAL") | |
}) |
This file contains hidden or 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
[ | |
{ $match: { "vision.labels": { $in: ["cat"] } } }, | |
{ $group: { _id: null, count: { $sum: 1 } } } | |
] |