example driver module:
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/platform_device.h>
#include <linux/gpio.h>
#include <linux/fs.h>
Get tree of changed files between versions and save it to TAR archive
git diff-tree -r --no-commit-id --name-only --diff-filter=ACMRT $commit_id | xargs tar -rf mytarfile.tar
git diff-tree -r $commit_id:
- Take a diff of the given commit to its parent(s) (including all subdirectories, not just the top directory).--no-commit-id --name-only:
- Do not output the commit SHA1. Output only the names of the affected files instead of a full diff.--diff-filter=ACMRT:
- Only show files added, copied, modified, renamed or that had their type changed (eg. file → symlink) in this commit. This leaves out deleted files.#!/bin/bash | |
# play YUV444 FULL HD file | |
gst-launch-1.0 -v filesrc location=size_1920x1080.yuv ! \ | |
videoparse width=1920 height=1080 framerate=25/1 format=GST_VIDEO_FORMAT_Y444 ! \ | |
videoconvert ! \ | |
autovideosink | |
# play YUV422 FULL HD file | |
gst-launch-1.0 -v filesrc location=size_1920x1080.yuv ! \ |
{ | |
"title": "switch English, Russian", | |
"rules": [ | |
{ | |
"description": "Use caps switch language to English, left_shift+caps - Russian, left_control+caps - Georgian", | |
"manipulators": [ | |
{ | |
"from": { | |
"key_code": "caps_lock" | |
}, |
#!/bin/bash | |
# install homebrew (https://brew.sh/) | |
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" | |
# basic software | |
brew install \ | |
iterm2 \ | |
mc \ | |
google-chrome \ |
${GMOCK_ROOT}
:cd ${GMOCK_ROOT}
mkdir build
cd build
g++ -I../gtest/include -I../gtest -I../include -I.. -c ../gtest/src/gtest-all.cc
g++ -I../gtest/include -I../gtest -I../include -I.. -c ../gmock/src/gmock-all.cc
ar -rv libgmock.a gtest-all.o gmock-all.o
void runApplication(const QString &packageName, const QString &className) | |
{ | |
qDebug() << "Start app: " <<packageName <<", "<<className; | |
QAndroidJniObject activity = QAndroidJniObject::callStaticObjectMethod( | |
"org/qtproject/qt5/android/QtNative", "activity", | |
"()Landroid/app/Activity;"); //activity is valid | |
if ( activity.isValid() ) | |
{ | |
// Equivalent to Jave code: 'Intent intent = new Intent();' |
# GStreamer plug-in for OpenMAX IL API specification (deprecated, use gst-omx inst... | |
git clone git://anongit.freedesktop.org/gstreamer/attic/gst-openmax | |
# GStreamer QA System (aka "Insanity") | |
git clone git://anongit.freedesktop.org/gstreamer/attic/insanity | |
# Insanity GStreamer tests & helper functions | |
git clone git://anongit.freedesktop.org/gstreamer/attic/insanity-gst | |
# Cerbero build system used to build the official upstream GStreamer 1.0 SDK binar... | |
git clone git://anongit.freedesktop.org/gstreamer/cerbero | |
# 'common' shared submodule | |
git clone git://anongit.freedesktop.org/gstreamer/common |
$> export LIBRARY_PATH=/usr/lib/x86_64-linux-gnu:$LIBRARY_PATH | |
$> vivado_hls |