Skip to content

Instantly share code, notes, and snippets.

@enukane
enukane / systempaper2014_advent_calendar.md
Last active September 2, 2017 11:28
システム系論文紹介 Advent Calendar 2014 http://www.adventar.org/calendars/440 12/11分

論文紹介 ー "NetVM: High Performance and Flexible Networking Using Virtualization on Commodity Platforms"

本記事は、システム系論文紹介 Advent Calendar 2014 12/11 のための記事です

はじめに

本エントリでは、NSDI'14 にて発表のあった "NetVM" について紹介します。

"NetVM: High Performance and Flexible Networking Using Virtualization on Commodity Platforms"

@orumin
orumin / mpegts2h264.sh
Last active February 10, 2023 09:25
MPEG2-TS to H.264 within gstreamer on RaspberryPi
#!/usr/bin/bash
#
# Usage: mpegts2h264.sh <src.ts> <dst.mp4>
#
program_no=$(ffmpeg -i $1 2>&1 | grep Program | head -n 1 | awk '{ print $2 }')
video_sid=$(ffmpeg -i $1 2>&1 | grep Stream | grep Video | sed -e "s/^.*Stream #0:0\[0x\([0-9a-f][0-9a-f][0-9a-f]\)\].*$/\1/g")
audio_sid=$(ffmpeg -i $1 2>&1 | grep Stream | grep Audio | sed -e "s/^.*Stream #0:1\[0x\([0-9a-f][0-9a-f][0-9a-f]\)\].*$/\1/g")
gst-launch-1.0 filesrc location=./$1 ! progressreport ! \
@bterlson
bterlson / ttwf.md
Last active January 4, 2016 13:09
@dherman
dherman / cat.js
Last active December 25, 2015 16:01
comparing different iteration protocols
// EXAMPLE: a compound iterator with sequencing
// Python style
function cat() {
let is = arguments;
return {
next: {
let length;
while ((length = is.length) > 0) {
try {