blacklisted-name (C0102): | Black listed name "%s" Used when the name is listed in the black list (unauthorized names). |
---|---|
invalid-name (C0103): | %s name "%s" doesn't conform to %s Used when the name doesn't conform to naming rules associated to its type (constant, variable, class...). |
missing-docstring (C0111): | Missing %s docstring Used when a module, function, class or method has no docstring.Some special methods like __init__ doesn't necessary require a docstring. |
empty-docstring (C0112): | Empty %s docstring Used when a module, function, class or method has an empty docstring (it would |
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
{ | |
"$schema": "./plugin-metaschema.json", | |
"title": "A Plug-In", | |
"description": "An example Plug-In for our core-application", | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "number", | |
"title": "ID", | |
"description": "Unique task number", |
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
#Set-PowerCLIConfiguration -InvalidCertificateAction Ignore | |
$vcenterServer = YOUR_VCENTER_SERVER_FQDN | |
$cluster = YOUR_VCENTER_CLUSTER | |
$esxiUser = "root" | |
$esxiPass = "YourMama" | |
$newUserName = "NameOfTheUserYouWantToAdd" | |
$newUserDomain = "DomainNameOfTheUserYouWantToAdd" | |
Try |
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
#The cluster you want to enable SSH on | |
$cluster = YOU_CLUSTER; | |
$hosts = Get-Cluster $cluster | Get-VMHost | |
#Start SSH service | |
$hosts | ForEach {Start-VMHostService -HostService ($_ | Get-VMHostService | Where {$_.key -eq "TSM-SSH"})} | |
#Enable SSH service (start when ESXi boots) | |
$hosts | ForEach {Set-VMHostService -Policy On -HostService ($_ | Get-VMHostService | Where {$_.key -eq "TSM-SSH"})} | |
#Supress nasty SSH warning, we know what we're doing yade yade yade... | |
$hosts | ForEach {Get-AdvancedSetting UserVars.SuppressShellWarning | Set-AdvancedSetting -Value 1} |
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
// Here comes our service implementation | |
import java.util.ArrayList; | |
import java.util.List; | |
import org.slf4j.Logger; | |
import org.slf4j.LoggerFactory; | |
import com.notnoop.apns.*; | |
// This is a basic implementation of notnoop/apns for enhanced push notifications | |
// It's purpose is to let you know if your push certificates are working correctly | |
// We're using enhanced push notifications here - this means you'll get a detailed explanation |
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
import java.io.IOException; | |
import java.io.InputStream; | |
import java.net.URL; | |
import java.net.HttpURLConnection; | |
// This is a very basic implementation of the Docker API v. 1.12 for attaching to a containers StdOut and StdErr stream using HTTP | |
// It is not perfect (see official Docker API documentation for details and how to handle the bytestream) but up to this date its | |
// the most compleate, working example for this to get an idea what's going on there. Happy about any improvement ideas. | |
public class Readin |