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
| <!DOCTYPE HTML> | |
| <html lang="ja-JP"> | |
| <head> | |
| <meta charset="utf-8" /> | |
| <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | |
| <meta http-equiv="X-UA-Compatible" content="IE=edge" /> | |
| <title>reiplayer/v2.9.0-alpha</title> |
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
| var PORT = 10443; | |
| var SSL_KEY = '___.key'; | |
| var SSL_CERT= '___.cert'; | |
| var fs = require('fs'); | |
| var io = require('socket.io').listen(PORT, { | |
| key : fs.readFileSync(SSL_KEY).toString(), | |
| cert : fs.readFileSync(SSL_CERT).toString() | |
| }); |
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
| #!/bin/sh | |
| ffmpeg -i $1 -vcodec copy -acodec copy ffcopy_$1 | |
| rm $1 | |
| mv ffcopy_$1 $1 |
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
| PS C:\WINDOWS\system32> coreinfo | |
| Coreinfo v3.31 - Dump information on system CPU and memory topology | |
| Copyright (C) 2008-2014 Mark Russinovich | |
| Sysinternals - www.sysinternals.com | |
| AMD Ryzen 7 1700X Eight-Core Processor | |
| AMD64 Family 23 Model 1 Stepping 1, AuthenticAMD | |
| Microcode signature: 0800110E | |
| HTT * Multicore |
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
| ======================================================================== | |
| BYTE UNIX Benchmarks (Version 5.1.3) | |
| System: ubuntu: GNU/Linux | |
| OS: GNU/Linux -- 4.8.0-22-generic -- #24-Ubuntu SMP Sat Oct 8 09:15:00 UTC 2016 | |
| Machine: x86_64 (x86_64) | |
| Language: en_US.utf8 (charmap="UTF-8", collate="UTF-8") | |
| CPU 0: AMD Ryzen 7 1700X Eight-Core Processor (6786.9 bogomips) | |
| Hyper-Threading, x86-64, MMX, AMD MMX, Physical Address Ext, SYSENTER/SYSEXIT, AMD virtualization, SYSCALL/SYSRET | |
| CPU 1: AMD Ryzen 7 1700X Eight-Core Processor (6786.9 bogomips) |
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
| "use strict"; | |
| const http = require("http"); | |
| const MongoClient = require('mongodb').MongoClient; | |
| let collection = null; | |
| let documentId = null; | |
| MongoClient.connect("mongodb://user:pass@hostname:port/dbName", (err, db) => { | |
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
| "use strict"; | |
| const http = require("http"); | |
| const DocumentClient = require('documentdb-q-promises').DocumentClientWrapper; | |
| const host = "https://<name>.documents.azure.com:443/";// Add your endpoint | |
| const masterKey = "...";// Add the masterkey of the endpoint | |
| const client = new DocumentClient(host, { masterKey: masterKey }); | |
| // DB, Collection, Document 生成コードは面倒なので省きました。 |
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
| div#container { | |
| -webkit-user-select: none; | |
| -webkit-app-region: drag; | |
| position: absolute; | |
| top: 10px; | |
| right: 10px; | |
| bottom: 10px; | |
| left: 10px; | |
| background: #fff; | |
| box-shadow: 0 0 10px rgba(0,0,0,0.15); |
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
| var packet = null; | |
| var testStream = fs.createReadStream(__dirname + '/test.m2ts'); | |
| testStream.on('data', function (chunk) { | |
| var i, l; | |
| for (i = 0, l = chunk.length; i < l; i++) { | |
| if (chunk[i] === 0x47 && (packet === null || packet.length >= 188)) { |
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
| # x264 | |
| git clone git://git.videolan.org/x264.git /tmp/x264 | |
| cd /tmp/x264 | |
| ./configure --prefix=/usr/local --enable-static --enable-shared | |
| make -j 4 | |
| make install | |
| # libav |
NewerOlder