This file contains 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
# | |
# Automatically generated file; DO NOT EDIT. | |
# Linux/arm 4.14.0-rc6 Kernel Configuration | |
# | |
CONFIG_ARM=y | |
CONFIG_ARM_HAS_SG_CHAIN=y | |
CONFIG_NEED_SG_DMA_LENGTH=y | |
CONFIG_ARM_DMA_USE_IOMMU=y | |
CONFIG_ARM_DMA_IOMMU_ALIGNMENT=8 | |
CONFIG_MIGHT_HAVE_PCI=y |
This file contains 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
# | |
# Automatically generated file; DO NOT EDIT. | |
# Linux/arm 4.14.0-rc7 Kernel Configuration | |
# | |
CONFIG_ARM=y | |
CONFIG_ARM_HAS_SG_CHAIN=y | |
CONFIG_NEED_SG_DMA_LENGTH=y | |
CONFIG_ARM_DMA_USE_IOMMU=y | |
CONFIG_ARM_DMA_IOMMU_ALIGNMENT=8 | |
CONFIG_MIGHT_HAVE_PCI=y |
This file contains 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
METHOD OVERVIEW: | |
================ | |
This method involves creating a PSQL trigger, and PSQL C function which runs a bash script. | |
The bash script is responsible for running FileBot and notifying Plex server of new files. | |
The bash script outputs the recognized files to the PSQL C function, which removes completed | |
downloads containing those files from the database (and from DownloadStation GUI). | |
NOTE: you need to give the Synology user 'postgres' access to all the required paths | |
(download folder, plex media folder, scripts folder, filebot, java). |
This file contains 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
gscbuf = v4l2_getfree_v4l2buf(gsc->output); | |
if (!gscbuf) | |
return AVERROR(ENOMEM); | |
// copy mfc capture buffer to gsc capture buffer | |
for(i = 0; i < avbuf->num_planes; i++) { | |
gscbuf->plane_info[i].mm_addr = avbuf->plane_info[i].mm_addr; | |
gscbuf->planes[i].bytesused = avbuf->planes[i].bytesused; | |
gscbuf->planes[i].length = avbuf->planes[i].length; | |
} |
This file contains 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
### | |
### script to detect objects in live video | |
### using MobileNets+SDD | |
### | |
### by: memeka <[email protected]> | |
### | |
import argparse, json | |
import time, datetime, threading | |
import numpy, cv2 |
This file contains 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
{ | |
"prototxt": "MobileNetSSD_deploy.prototxt", | |
"caffemodel": "MobileNetSSD_deploy.caffemodel", | |
"classes": [ | |
"background", | |
"aeroplane", | |
"bicycle", | |
"bird", | |
"boat", | |
"bottle", |
This file contains 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
------- init() function -------- | |
monitor_width = m_destRect.Width(); // from kodi | |
monitor_height = m_destRect.Height(); // from kodi | |
struct drm_mode_create_dumb dumb_buffer; | |
/* create dumb buffer */ | |
memset(&dumb_buffer, 0, sizeof(dumb_buffer)); |
This file contains 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
general info | |
mkdir -pv ~/chromium | |
cd ~/chromium | |
git config --global user.name “Joel Maranhao” | |
git config --global user.email “[email protected]” | |
git config --global core.autocrlf false | |
git config --global core.filemode false | |
git config --global color.ui true |
This file contains 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
ac_add_options --enable-default-toolkit=cairo-gtk3-wayland | |
ac_add_options --disable-debug | |
ac_add_options --disable-debug-symbols | |
ac_add_options --disable-av1 | |
ac_add_options --disable-webrtc | |
ac_add_options --disable-tests |
This file contains 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
*** efl | |
export CFLAGS="-O3" | |
export CFLAGS="$CFLAGS -ffast-math" | |
export CFLAGS="$CFLAGS -fexpensive-optimizations" | |
export CFLAGS="$CFLAGS -frename-registers" | |
export CFLAGS="$CFLAGS -ftree-vectorize" | |
export CFLAGS="$CFLAGS -march=armv7-a" | |
export CFLAGS="$CFLAGS -mfpu=neon-vfpv4" | |
export CFLAGS="$CFLAGS -mfloat-abi=hard" |
OlderNewer