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
let config = { | |
keep: { | |
entityNames: [ | |
'VMs', | |
'Images', | |
'Virtual Private Clouds', | |
'Floating IPs', | |
'Categories', | |
'Availability Zones', | |
'Protection Policies', |
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
import { createInstance, getActiveSession } from '@fra.me/terminal-factory'; | |
export let terminalOptions = { | |
serviceUrl: 'https://cpanel-backend-prod.frame.nutanix.com/api/graphql', | |
terminalConfigId: '33e2d5d6-d3ff-4a76-8452-fe94fee21064.67297394-f041-447c-b8d6-9df397400b66', | |
token: token | |
}; | |
const terminal = createInstance(terminalOptions); |
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
@IBAction private func modelVersionPicked() { | |
var modelName:String = ""; | |
switch modelPicker.selectedSegmentIndex { | |
case 0: | |
modelName = "DeviceWornClsfr_20.mlmodel"; | |
case 1: | |
modelName = "DeviceWornClsfr_20.mlmodel"; | |
default: | |
modelName = "this is going to blow up"; | |
} |
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
using Microsoft.TeamFoundation.Client; | |
using Microsoft.TeamFoundation.Core.WebApi; | |
using Microsoft.VisualStudio.Services.Identity; | |
using Microsoft.VisualStudio.Services.Directories.DirectoryService.Client; | |
using Microsoft.VisualStudio.Services.Identity.Client; | |
using Microsoft.VisualStudio.Services.Organization.Client; | |
using Microsoft.VisualStudio.Services.Profile.Client; | |
using Microsoft.VisualStudio.Services.Security.Client; | |
using System; | |
using System.Collections.Generic; |
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
<cfscript> | |
a = "1,2,3,,5,,8"; | |
function countBlanks(list) { | |
return REMatch(",,", a).len(); | |
} | |
</cfscript> | |
<cfoutput> |
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
SELECT TOP 100 | |
WorkItem, | |
IterationPath, | |
COUNT(WorkItem) AS WorkItemCount | |
FROM | |
WorkItemHistoryView | |
WHERE | |
IterationPath NOT LIKE '%deleted node%' | |
AND IterationPath IS NOT NULL | |
GROUP BY WorkItem, IterationPath HAVING COUNT(IterationPath) > 1 |
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
component { | |
function init() { | |
return this; | |
} | |
function testMe() { | |
return isDefined("arguments"); | |
} | |
} |