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
<!DOCTYPE html> | |
<html lang="ja"> | |
<head> | |
<meta charset="utf-8"> | |
<title>HLS with Video.js Demo in KAROUSHI Blog</title> | |
<link href="css/video-js.min.css" rel="stylesheet"> | |
<script src="js/video.js"></script> | |
<script src="js/videojs-media-sources.js"></script> | |
<script src="js/videojs.hls.min.js"></script> | |
<script type="text/javascript"> |
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
#!/bin/sh | |
sudo yum -y install autoconf automake cmake freetype-devel gcc gcc-c++ git libtool make mercurial nasm pkgconfig zlib-devel | |
mkdir ~/ffmpeg_sources | |
#Yasm | |
cd ~/ffmpeg_sources | |
git clone --depth 1 git://github.com/yasm/yasm.git | |
cd yasm | |
autoreconf -fiv |
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
'use strict'; | |
console.log('Loading function'); | |
let AWS = require('aws-sdk'); | |
let ec2 = new AWS.EC2(); | |
function describeEC2(){ | |
var params = { | |
Filters: [ | |
{ |
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 boto3 | |
s3 = boto3.resource('s3') | |
bucket = s3.Bucket('test.test.test.3') | |
print(bucket.name) | |
obj = bucket.Object('test.txt') | |
body ="Helloworld." | |
response = obj.put( |