Family | Specialty | Use Case |
---|---|---|
F1 | Field Programmable Gate Array | Genomics research, financial analytics, real-time video processing, big data, etc |
I3 | High Speed Storage | NoSQL DBs, Data Warehousing, etc |
G3 | Graphics Intensive | Video Encoding/3D Application Streaming |
H1 | High Disk Throughput | MapReduce-based workloads, distributed file systems such as HDFS and MapR-FS |
T2 | Lowest Cost, General Purpose | Web Servers/Small DBs |
D2 | Dense Storage | Fileservers/Data Warehousing/Hadoop |
R4 | Memory Optimized | Memory Intensive Apps/DBs |
M5 | General Purpose | Application Servers |
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
jsonFile="$HOME/files.json" | |
sourceBucket="your-source-bucket-name" | |
targetBucket="your-target-bucket-name" | |
function keyExists { | |
local searchKey=$1; | |
aws s3api list-objects-v2 --bucket $targetBucket --query "length(Contents[?ends_with(Key, \`$searchKey\`)])" | |
} | |
for object in `jq -cr '.[]' $jsonFile`; |
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
#0 Hello | |
#1 World | |
#2 I am Cow | |
#3 Here me moo | |
#4 Here I stand | |
#5 I am Cow | |
#6 Here me moo, moo |
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
interface eth0 { | |
AdvSendAdvert on; | |
AdvLinkMTU 3600; | |
AdvHomeAgentFlag off; | |
AdvManagedFlag off; | |
AdvOtherConfigFlag off; | |
MinRtrAdvInterval 30; | |
MaxRtrAdvInterval 100; | |
prefix 2600:1700:7d48:b210::/64 { | |
AdvOnLink on; |
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
AWSTemplateFormatVersion: '2010-09-09' | |
Description: 'VPC Creation' | |
Resources: | |
PrivateVpc: | |
Type: 'AWS::EC2::VPC' | |
Properties: | |
CidrBlock: '172.16.0.0/16' | |
EnableDnsSupport: true | |
EnableDnsHostnames: false | |
Tags: |
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
def flexibleFizzBuzz(start: Int, end: Int) (callback: String => Unit): Unit = { | |
for (i <- Range(start, end)) { | |
var output: String = "" | |
if (i % 3 == 0) { | |
output += "Fizz" | |
} | |
if (i % 5 == 0) { | |
output += "Buzz" | |
} | |
if (output.isEmpty) { |
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
import java.io.{BufferedReader, BufferedWriter, FileReader, FileWriter} | |
def withFileWriter(filename: String) (handler: BufferedWriter => Unit): Unit = { | |
val writer = new BufferedWriter(new FileWriter(filename)) | |
try handler(writer) | |
finally writer.close() | |
} | |
def withFileReader(filename: String) (handler: BufferedReader => Unit): Unit = { | |
val reader = new BufferedReader(new FileReader(filename)) |
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
def fibonacci(n: int) -> int: | |
abs_n: int = abs(n) | |
if abs_n < 2: | |
return 0 | |
if abs_n < 3: | |
return 1 | |
return fibonacci(abs_n-1) + fibonacci(abs_n-2) |
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
AWSTemplateFormatVersion: '2010-09-09' | |
Description: DNS Host Management | |
Parameters: | |
PrimaryDomainName: | |
Type: String | |
Resources: | |
PrimaryDomain: | |
Type: 'AWS::Route53::HostedZone' | |
Properties: | |
Name: !Ref PrimaryDomainName |
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
region | lat | lng | name | address | website | phone | contact | |
---|---|---|---|---|---|---|---|---|
8 | 25.7616798 | -80.1917902 | Christ Church Miami – Launching in 2025! | 13611 S Dixie Hwy. NUM463 Miami, FL, 33176 | https://christchurchmiami.org/ | |||
8 | 27.8145078 | -82.6389833 | Artisan City Church – Launching in 2025! | 260 1st Ave S Suite. 200 Box #111 St. Petersburg, FL, 33701 | https://www.artisancity.church/ | |||
3 | 33.3709687 | -111.617275 | Echoes Church | 10045 East Madero Mesa, AZ 85209 | https://www.echoes.church/ | (602) 529-6072 | ||
9 | 43.9129612 | -69.9761962 | Iron Coast Church | Meeting at Brunswick High School: 71 Dragon Drive, Brunswick, ME 04011 | https://www.facebook.com/ironcoastchurch/?_rdr | |||
3 | 47.8106521 | -122.3773552 | Odyssey Church – Launching in 2025! | PO Box 92 Edmonds, WA 98020 | https://odyssey.church/ |
NewerOlder