Work in progress.
- Put the Pixel in developer mode.
(binwalk)support@moops gopro-linux (master) $ git remote -v | |
origin https://github.com/evilwombat/gopro-linux.git (fetch) | |
origin https://github.com/evilwombat/gopro-linux.git (push) | |
(binwalk)support@moops gopro-linux (master) $ git status | |
# On branch master | |
nothing to commit, working directory clean | |
(binwalk)support@moops gopro-linux (master) $ diff .config arch/arm/configs/hero3black-standalone_kernel_defconfig | |
4c4 | |
< # Sun Nov 8 17:56:15 2015 | |
--- |
#!/home/robpol86/python27/bin/python2.7 -u | |
"""Converts all FLAC files in a directory to mp3 files. Avoids converting old files by using an SQLite database. | |
Requirements | |
------------ | |
Python >= 2.7.3 (Linux) | |
mutagen >= 1.20 : http://code.google.com/p/mutagen/ | |
psutil >= 0.6.1 : http://code.google.com/p/psutil/ | |
robutils >= 0.1.0 : https://github.com/Robpol86/robutils/ | |
/usr/bin/flac |
# Moved to https://github.com/Robpol86/dotfiles/blob/master/bashrc |
/* | |
Designed for makemkvcon running inside a Docker container writing MKV files to /output. | |
The problem: | |
makemkvcon creates MKV files with the maximum of 0644 file mode. The current umask limits the maximum file mode, but | |
does not itself increase permissions (only decreases). This means when a user has a umask of 0002 and touches a new | |
file, it will have permissions of 664. However when makemkvcon runs MKV files will have permissions of 644. | |
The solution: | |
This code compiles into a shared object which is loaded at the beginning of makemkvcon's execution. This will |
#!/bin/bash | |
### BEGIN INIT INFO | |
# Provides: disable-ethernet | |
# Required-Start: $local_fs | |
# Required-Stop: | |
# Default-Start: S | |
# Default-Stop: | |
# Short-Description: Disables on-board Ethernet to fix WiFi+Lapdock | |
# Description: When using the Raspberry Pi Model B on the |
ffmpeg -r 24 -pattern_type glob -i '*.JPG' -i DSC_%04d.JPG -s hd1080 -vcodec libx264 timelapse.mp4
-r 24
- output frame rate-pattern_type glob -i '*.JPG'
- all JPG files in the current directory-i DSC_%04d.JPG
- e.g. DSC_0397.JPG-s hd1080
- 1920x1080 resolution/sys/devices/platform/DIAG_CMD.0/power/control | |
/sys/devices/platform/DIAG_CMD.0/power/runtime_active_time | |
/sys/devices/platform/DIAG_CMD.0/power/autosuspend_delay_ms | |
/sys/devices/platform/DIAG_CMD.0/power/runtime_status | |
/sys/devices/platform/DIAG_CMD.0/power/runtime_suspended_time | |
/sys/devices/platform/DIAG_CMD.0/driver_override | |
/sys/devices/platform/DIAG_CMD.0/modalias | |
/sys/devices/platform/DIAG_CMD.0/uevent | |
/sys/devices/platform/SVC00000009:00000002.1/power/control | |
/sys/devices/platform/SVC00000009:00000002.1/power/runtime_active_time |