Skip to content

Instantly share code, notes, and snippets.

View mintaka33's full-sized avatar
🎯
Focusing

mintaka33

🎯
Focusing
View GitHub Profile
@mintaka33
mintaka33 / index.html
Created October 6, 2018 08:57
Zoom by Rectangle
<!DOCTYPE html>
<meta charset="utf-8">
<title>Zoom by Rectangle</title>
<script src="http://d3js.org/d3.v2.min.js?2.10.1"></script>
<style>
body {
font-family: sans-serif;
}
@mintaka33
mintaka33 / c++_library_in_c.md
Created September 30, 2018 04:57
Tutorial: HowTo integrate a C++ library/class into a C programm
@mintaka33
mintaka33 / test.md
Created September 28, 2018 13:36
test gist vscode extension

hello gist

@mintaka33
mintaka33 / media_dev_auto_setup.sh
Last active September 28, 2018 13:22
media driver dev environment auto setup
git clone https://github.com/intel/libva.git
git clone https://github.com/intel/media-driver.git
git clone https://github.com/intel/gmmlib.git
git clone https://github.com/intel/libva-utils.git
git clone https://github.com/FFmpeg/FFmpeg.git
mkdir build && cd build
mkdir libva
mkdir gmm
mkdir driver
@mintaka33
mintaka33 / notes.md
Created September 25, 2018 07:35
build linux kernel

1. get linux kernel source code

download latest stable kernel from https://www.kernel.org/ and extract to local folder

2. install prerequisites

sudo apt install libncurses5-dev libssl-dev build-essential openssl zlibc minizip libidn11-dev libidn11

3. generate config

@mintaka33
mintaka33 / cpu_freq.md
Last active August 23, 2018 03:07
watch real time cpu frequency on ubuntu
# overall cpu freq
watch -n1 "lscpu | grep MHz | awk '{print $1}'"

# cpu freq of each core
watch -n1 "cat /proc/cpuinfo | grep \"^[c]pu MHz\""