Skip to content

Instantly share code, notes, and snippets.

FROM fedora:22
RUN dnf update -y
RUN dnf install -y --nogpgcheck http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-22.noarch.rpm
# build tools: gcc cmake make gcc-c++ ragel
# dependencies from fedora repo: alsa-lib-devel glib2-devel libX11-devel libXrandr-devel libXrender-devel libXcursor-devel mesa-libGL-devel libconfig-devel libevent-devel cairo-devel pango-devel openssl-devel pulseaudio-libs-devel jack-audio-connection-kit-devel soxr-devel gtk2-devel mesa-libGLES-devel libva-devel libvdpau-devel libv4l-devel
# dependencies from rpmfusion repo: ffmpeg-devel
RUN dnf install -y git gcc cmake make gcc-c++ ragel alsa-lib-devel glib2-devel libX11-devel libXrandr-devel libXrender-devel libXcursor-devel mesa-libGL-devel libconfig-devel libevent-devel cairo-devel pango-devel openssl-devel pulseaudio-libs-devel jack-audio-connection-kit-devel soxr-devel gtk2-devel mesa-libGLES-devel ffmpeg-devel libva-devel libvdpau-devel libv4l-devel
RUN mkdir /freshplayerplugin
file offset flags
input if skip iflag
output of seek oflag
  • count number of units to copy
  • bs block (unit) size
  • conv comma separated options:
  • notrunc dont truncate output file

Rikomagic v5

chipset rk3288

Booting linux

Linux can be either stored in internal memory or on sd card

Flash bootloader

@happylynx
happylynx / bookmarklet
Last active September 20, 2017 17:45
Video playback rate bookmarklet
javascript:(()=>{const%20rateString=%s||window.prompt("Set%20video%20playback%20rate","1.0");const%20rate=parseFloat(rateString);if(isNaN(rate)){window.alert(`Selected%20playback%20rate%20"${rate}"%20cannot%20be%20parsed.`);return}[...document.querySelectorAll('video')].forEach(videoElement=>videoElement.playbackRate=rate)})()
# `native-image` options
Output of `native-image.cmd --expert-options-all`, version 19.2.1.
```
-H:±AOTInline Perform method inlining in the AOT compiled native image. Default: + (enabled).
-H:AOTInliningDepthToSizeRate=2.5
-H:AOTInliningSizeMaximum=300
-H:AOTInliningSizeMinimum=50
-H:±AOTTrivialInline Perform trivial method inlining in the AOT compiled native image. Default: + (enabled).