First make sure you use the latest aws-cli version
pip install awscli --upgrade
Find out your EKS cluster version
aws eks list-clusters
ffmpeg -protocol_whitelist file,http,https,tcp,tls,crypto -i <file>.m3u8 -c copy -bsf:a aac_adtstoasc output.mp4 |
#!/bin/bash | |
# | |
# When you want to get object my_key_id=="string_value" in DynamoDB | |
# | |
aws dynamodb get-item --table-name <table_name> --key ‘{“my_key_id": {“S”:”string_value”}}’ |
#!/bin/bash | |
cat > testfile.txt << EOF | |
"id","name" | |
101,"Pietje" | |
123,"Jantje" | |
222,"Klaasje" | |
223,"Katrien" | |
EOF | |
hadoop fs -copyFromLocal testfile.txt /tmp | |
hadoop fs -chmod 777 /tmp/testfile.txt |
This takes video track and second audio track
ffmpeg -i .mkv -map 0:0 -map 0:2 -vcodec copy -acodec copy .mkv
/* SimpleApp.scala */ | |
import org.apache.spark.SparkContext | |
import org.apache.spark.SparkContext._ | |
import org.apache.spark.SparkConf | |
object WordCountApp { | |
def main(args: Array[String]) { | |
val conf = new SparkConf().setAppName("WordCount Application") | |
val sc = new SparkContext(conf) | |
val textFile = sc.textFile("file:///mnt/Data/textfile.txt") |
title | author | date | output |
---|---|---|---|
Installing the latest versions of NVIDIA CUDA 9.1, OpenCV 3.4 and TensorFlow 1.8 on Ubuntu 18.04 LTS |
Mourad Veeneman |
July 23, 2018 |
html_document |
Installing CUDA from the NVIDIA repository is not advisable if you want the latest versions of OpenCV and TensorFlow all to work together seamlesly.