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 codebuild = require('@aws-cdk/aws-codebuild'); | |
import codecommit = require('@aws-cdk/aws-codecommit'); | |
import codepipeline = require('@aws-cdk/aws-codepipeline'); | |
import codepipeline_actions = require('@aws-cdk/aws-codepipeline-actions'); | |
import lambda = require('@aws-cdk/aws-lambda'); | |
import s3 = require('@aws-cdk/aws-s3'); | |
import { App, Stack, StackProps } from '@aws-cdk/core'; | |
export interface PipelineStackProps extends StackProps { | |
readonly lambdaCode: lambda.CfnParametersCode; |
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
CPU . Intel Core i7 9700K | |
MBO . Gigabyte z390 Aorus Ultra | |
GPU . Gigabyte Geforce RTC 2060 OC Pro 3X Windforce | |
MEM . Corsair Vengeance RGB Pro 32GB (2x16GB) DDR4 3200 (PC4-25600) | |
SSD . Intel 1 TB SSD M.2 | |
PSU . Corsair AX850 | |
CASE . NZXT H510 Elite | |
KEYBOARD . CORSAIR K70 RGB MK.2 Mechanical Gaming Keyboard | |
MOUSE . Corsair IronClaw Wireless/Wired RGB - 18,000 DPI Optical Sensor - Sub-1 ms Slipstream Wireless |
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
a | |
b | |
d |
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
console.log("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
aerospike_a: | |
environment: | |
role: sender | |
destination: aerospike_b,aerospike_c | |
aerospike_b: | |
environment: | |
role: reciever | |
aerospike_c: | |
environment: | |
role: reciever |
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
/** | |
* usage: node . <ITERS> <OPS> | |
* | |
* ITERS - Number of iterations to perform. Each iteration executes OPS operations. | |
* OPS - Number of operations to perform per iteration. | |
*/ | |
var aerospike = require('aerospike'); | |
var util = require('util'); |
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
/** | |
* usage: node . <ITERS> <OPS> | |
* | |
* ITERS - Number of iterations to perform. Each iteration executes OPS operations. | |
* OPS - Number of operations to perform per iteration. | |
*/ | |
var aerospike = require('aerospike'); | |
var util = require('util'); |
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
function example0(rec, a, b) | |
local e = 0 | |
rec['a'] = a | |
e = update(rec) | |
if e then return "BAD" end | |
rec['b'] = b | |
e = update(rec) |
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
val f1 = Future(db("SELECT ...")) | |
val f2 = Future(db("SELECT ...")) | |
// creates a single future from the two using `join` | |
// The for loop, will invoke the futures and return a tuple | |
// in which each value in the tuple corresponds to a value | |
// from a future |
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
case class Application(implicit db: Database) { | |
def query(sql: String) = db(sql) | |
} |
NewerOlder