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
// Copyright 2019 the Dart project authors. All rights reserved. | |
// Use of this source code is governed by a BSD-style license | |
// that can be found in the LICENSE file. | |
import 'package:flutter/material.dart'; | |
void main() => runApp(const MyApp()); | |
class CenteredText extends StatelessWidget { | |
const CenteredText(this.text, {super.key, required this.style}); |
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
// Copyright 2019 the Dart project authors. All rights reserved. | |
// Use of this source code is governed by a BSD-style license | |
// that can be found in the LICENSE file. | |
import 'package:flutter/material.dart'; | |
void main() => runApp(const MyApp()); | |
class CenteredText extends StatelessWidget { | |
const CenteredText(this.text, {super.key, required this.style}); |
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
.slide-in { | |
animation: slide-in .5s forwards; | |
overflow: hidden; | |
} | |
@keyframes slide-in { | |
from { | |
max-height: 0px; | |
} |
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
package main | |
import ( | |
"bytes" | |
"flag" | |
"golang.org/x/net/websocket" | |
"io" | |
"k8s.io/client-go/1.4/rest" | |
"k8s.io/client-go/1.4/tools/clientcmd" | |
"log" |
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
function hello() { | |
} |
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
/** | |
* @license wysihtml5 v0.3.0 | |
* https://github.com/xing/wysihtml5 | |
* | |
* Author: Christopher Blum (https://github.com/tiff) | |
* | |
* Copyright (C) 2012 XING AG | |
* Licensed under the MIT license (MIT) | |
* | |
*/ |
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
public class SubscriptionExtension : IExtension<ServiceHostBase> | |
{ | |
public SubscriptionExtension(SubscriptionEndpoint subscription) | |
{ | |
Subscription = subscription; | |
} | |
#region IExtension<ServiceHostBase> Members | |
public void Attach(ServiceHostBase owner) |
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
public class WcfManagementService : RuntimeService | |
{ | |
protected override void OnStart() | |
{ | |
base.OnStart(); | |
_host = new ServiceHost(new ServiceBusManagementService(Runtime)); | |
_host.Open(); | |
} |
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
public class PerformanceMonitorRuntimeService : RuntimeService | |
{ | |
public PerformanceMonitorRuntimeService() : this (null, null) | |
{ | |
} | |
public PerformanceMonitorRuntimeService(string instanceName, string categoryName) | |
{ | |
if (instanceName == null) | |
{ | |
instanceName = "Default Instance"; |
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
public abstract class SubscriptionPersistenceService : RuntimeService | |
{ | |
protected override void OnStart() | |
{ | |
foreach (Endpoint e in LoadEndpoints()) | |
{ | |
ListenerEndpoint le = e as ListenerEndpoint; | |
SubscriptionEndpoint se = e as SubscriptionEndpoint; | |