Skip to content

Instantly share code, notes, and snippets.

View jasonmimick's full-sized avatar
🌥️
build in the cloud

Jason Mimick jasonmimick

🌥️
build in the cloud
View GitHub Profile
#!/usr/bin/env bash
echo "Hello! atlas-cfn is coming..."
We can't make this file beautiful and searchable because it's too large.
show_id,type,title,director,cast,country,date_added,release_year,rating,duration,listed_in,description
81145628,Movie,Norm of the North: King Sized Adventure,"Richard Finn, Tim Maltby","Alan Marriott, Andrew Toth, Brian Dobson, Cole Howard, Jennifer Cameron, Jonathan Holmes, Lee Tockar, Lisa Durupt, Maya Kay, Michael Dobson","United States, India, South Korea, China","September 9, 2019",2019,TV-PG,90 min,"Children & Family Movies, Comedies","Before planning an awesome wedding for his grandfather, a polar bear king must take back a stolen artifact from an evil archaeologist first."
80117401,Movie,Jandino: Whatever it Takes,,Jandino Asporaat,United Kingdom,"September 9, 2016",2016,TV-MA,94 min,Stand-Up Comedy,"Jandino Asporaat riffs on the challenges of raising kids and serenades the audience with a rousing rendition of ""Sex on Fire"" in his comedy show."
70234439,TV Show,Transformers Prime,,"Peter Cullen, Sumalee Montano, Frank Welker, Jeffrey Combs, Kevin Michael Richardson, Tania Gunadi, Josh Keaton, Steve
set tabstop=2
set shiftwidth=2
set expandtab
set paste
set number
syntax on
set colorcolumn=70
apiVersion: apps/v1
kind: Deployment
metadata:
name: ycsb-load-deployment
labels:
app: ycsb-load
spec:
replicas: 3
selector:
matchLabels:

Getting started with the MongoDB Atlas Terraform Provider

Clone repo into ~/go/src/github.com/terraform-providers

make build
mkdir -p terraform.d/plugins/linux_amd64
cp ~/go/bin/terraform-provider-mongodbatlas ./terraform.d/plugins/linux_amd64
#Khange direktory in Cubernetes
kubectl config set-context --current $(kubectl config current-context) --namespace=${1}
#!/bin/bash
# Simple demonstration of using the MongoDB Atlas API
# to download a backup.
if [ "$#" -ne 3 ]
then
echo "restore-backup.sh - simple example to download a backup from a MongoDB Atlas cluster"
echo "Usage: ./restore-backup.sh <atlasuser:atlas-apikey> <group-id> <cluster-name>"
exit 1
```bash
YCSB_VERSION=$(curl --silent https://api.github.com/repos/brianfrankcooper/YCSB/releases/latest | jq '.tag_name')
URL=$(curl --silent https://api.github.com/repos/brianfrankcooper/YCSB/releases/latest | jq '.assets[] | select(.name =="ycsb-0.15.0.tar.gz") | .browser_download_url')
```

title: "Setting up SSL for the MongoDB Enterprise PCF Tile" author: [Jason Mimick] date: "2019-01-11" keywords: [Databases, MongoDB, Cloud Foundry, Pivotal] ...

Setting up SSL for the MongoDB Enterprise PCF Tile

This note describes the procedure for enabling TLS connections for MongoDB clusters deployed on PCF through the MongoDB Enterprise PCF Tile. Currently, the MongoDB PCF Tile does not support automatic configuration of TLS/SSL settings directly. Until this functionality is added to the tile, the recommended approach for configuring TLS is outlined in this note.

apiVersion: v1
kind: Template
metadata:
name: mongodb-openshift-replicaset-template
annotations:
openshift.io/display-name: "MongoDB Enterprise Replica Set"
description: >-
This template will deploy a MongoDB Enterprise
replica set using the MongoDB Ops Manager Kubernetes
Operator. For more information, including a step-by-step