Skip to content

Instantly share code, notes, and snippets.

<!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">
@nekojaxa
nekojaxa / ffmpeg_install.sh
Last active August 27, 2018 05:08
ffmpeg_install.sh
#!/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
'use strict';
console.log('Loading function');
let AWS = require('aws-sdk');
let ec2 = new AWS.EC2();
function describeEC2(){
var params = {
Filters: [
{
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(