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
// external dependencies | |
const bPromise = require('bluebird'); | |
// logic | |
exports.up = function(db, types) { | |
return db.sequelize.transaction(bPromise.coroutine(function* (t) { | |
yield db.createTable('listings', { | |
id: { |
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
apiVersion: extensions/v1beta1 | |
kind: Ingress | |
metadata: | |
name: hello-world | |
namespace: sfkm | |
annotations: | |
kubernetes.io/ingress.class: "nginx" | |
kubernetes.io/tls-acme: "true" | |
labels: | |
app: hello-world |
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
============================================================================================================================================= | |
BEFORE | |
============================================================================================================================================= | |
root@k8s-master-01:/home/carldanley# fio --rw=write --ioengine=sync --fdatasync=1 --directory=test-data --size=22m --bs=2300 --name=mytest | |
mytest: (g=0): rw=write, bs=(R) 2300B-2300B, (W) 2300B-2300B, (T) 2300B-2300B, ioengine=sync, iodepth=1 | |
fio-3.1 | |
Starting 1 process | |
mytest: Laying out IO file (1 file / 22MiB) |
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
$Modules = Get-Module -ListAvailable | |
if ($Modules.name -notcontains "VMware.PowerCLI") { | |
Install-Module VMware.PowerCLI -Confirm:$False | |
} | |
if ($Modules.name -notcontains "VMware.WorkloadManagement") { | |
Install-Module VMware.WorkloadManagement -Confirm:$False | |
} |
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
when CLIENT_ACCEPTED { | |
set proxyheader "PROXY TCP[IP::version] [IP::remote_addr] [IP::local_addr] [TCP::remote_port] [TCP::local_port]\r\n" | |
} | |
when SERVER_CONNECTED { | |
TCP::respond $proxyheader | |
} |
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
var DOM = new function(){ | |
var IS_READY = false; | |
var CALLBACKS = []; | |
var SELF = this; | |
SELF.ready = function( callback ){ | |
//check to see if we're already finished | |
if( IS_READY === true && typeof callback === 'function' ){ | |
callback(); | |
return; |
OlderNewer