kubectl get secrets
kubectl get secrets/db-inv-external-reader --template='{{.data.password | base64decode}}'
kubectl exec --stdin --tty swiss-army-knife-57bd8544b6-wwjd2 -- /bin/bash
using System; | |
using System.Collections.Generic; | |
using System.Globalization; | |
using System.Linq; | |
using System.Reactive.Linq; | |
using System.Web; | |
using System.Windows; | |
using System.Xml.Linq; | |
using ReactiveUI; | |
using ReactiveUI.Xaml; |
FluentConfiguration cfg = Fluently.Configure() | |
.Database(MsSqlConfiguration.MsSql2008.IsolationLevel(IsolationLevel.ReadCommitted).ConnectionString(connectionString) | |
/*.ShowSql()*/) | |
.Mappings(m => m.FluentMappings.AddFromAssemblyOf<SagMap>() | |
//.ExportTo("c:\\temp") | |
.Conventions.Add(typeof (NHibernateConvention)) | |
.Conventions.Add(DefaultLazy.Always())) | |
.Cache(c => c.ProviderClass<SysCacheProvider>().UseSecondLevelCache()) | |
.ExposeConfiguration(ExtendConfiguration); | |
using System.Windows; | |
using System.Windows.Controls; | |
using System.Windows.Data; | |
namespace FirstFloor.ModernUI.Windows.Controls | |
{ | |
/// <summary> | |
/// A DataGrid text column using default Modern UI element styles. | |
/// </summary> | |
public class DataGridTextColumn : System.Windows.Controls.DataGridTextColumn | |
{ |
javascript:document.write(' | |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>Responsive Design Testing</title> | |
<style> | |
body { | |
margin: 20px; | |
font-family: sans-serif; |
// https://www.sitepoint.com/simple-gulpy-workflow-sass/ | |
var gulp = require('gulp'); | |
var sass = require('gulp-sass'); | |
var autoprefixer = require('gulp-autoprefixer'); | |
var sourcemaps = require('gulp-sourcemaps'); | |
var flatten = require('gulp-flatten') | |
var bs = require('browser-sync').create(); // create a browser sync instance. | |
var input_scss = './03/**/*.scss'; | |
var input_html = './03/**/*.html'; |
import { writable } from 'svelte/store' | |
// returns a store with HTTP access functions for get, post, patch, delete | |
// anytime an HTTP request is made, the store is updated and all subscribers are notified. | |
export default function(initial) { | |
// create the underlying store | |
const store = writable(initial) | |
// define a request function that will do `fetch` and update store when request finishes | |
store.request = async (method, url, params=null) => { |
using Fluxor; | |
using Ibex.Shared.DTO; | |
using Microsoft.AspNetCore.Components; | |
using Microsoft.AspNetCore.SignalR.Client; | |
namespace Ibex.Client.Store; | |
public record CertificateToApproveState | |
{ | |
public CertificateToApproveState() |