Follow the instructions in disk partition windows.
FROM debian:latest | |
MAINTAINER [email protected] | |
# install app | |
############# | |
# install app from official repos, set perms, cleanup | |
# User telegramd is added manually to force uid to 5000, to avoid perms problems | |
RUN groupadd -r -g 5000 telegramd && \ |
#!/bin/bash | |
# if spotify is started | |
if [ "$(pidof spotify)" ]; then | |
# status can be: Playing, Paused or Stopped | |
status=`dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.freedesktop.DBus.Properties.Get string:'org.mpris.MediaPlayer2.Player' string:'PlaybackStatus'|egrep -A 1 "string"|cut -b 26-|cut -d '"' -f 1|egrep -v ^$` | |
artist=`dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.freedesktop.DBus.Properties.Get string:'org.mpris.MediaPlayer2.Player' string:'Metadata'|egrep -A 2 "artist"|egrep -v "artist"|egrep -v "array"|cut -b 27-|cut -d '"' -f 1|egrep -v ^$` | |
album=`dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.freedesktop.DBus.Properties.Get string:'org.mpris.MediaPlayer2.Player' string:'Metadata'|egrep -A 1 "album"|egrep -v "album"|cut -b 44-|cut -d '"' -f 1|egrep -v ^$` | |
title=`dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 o |
#!/bin/bash | |
# iBeacon Scan by Arda Karaduman | |
function parse_ib_uuid { | |
UUID=`echo $1 | sed 's/^.\{69\}\(.\{47\}\).*$/\1/'` | |
UUID=`echo $UUID | sed -e 's/\ //g' -e 's/^\(.\{8\}\)\(.\{4\}\)\(.\{4\}\)\(.\{4\}\)\(.\{12\}\)$/\1-\2-\3-\4-\5/'` | |
} | |
function parse_ib_major { | |
MAJOR=`echo $1 | sed 's/^.\{117\}\(.\{5\}\).*$/\1/'` |
The new Raspberry Pi 3 released on 29 Feb 2016 has issues with its UART port as the pinout GPIO 14/15 on the pin header is now based on a low throughput mini-UART.
To understand the issue better than reading the wall of text below, you can see the talk I gave on this issue.
The actual hardware UART on the BCM2837 SoC has now been assigned to handle Bluetooth with the BCM43438 Wifi/Bluetooth chip. More details can be found here and here.
This mini-UART does not produce a stable baud rate as it fluctuates based on the Core clock speed whenever it rises or falls. The result is that the serial debug output is practically unusable. On Raspbian you may see garbage or nothing at all. The solution is simple, add core_freq=250
to /boot/config.txt
to cap the core frequency to a constant value. This optio
How to use matrix.org and vector.im as an IRC client
Join the room #freenode_<#channel>:matrix.org
, replacing <#channel>
with the name of the IRC channel. For example, in order to join the #prometheus
IRC channel, join the room #freenode_#prometheus:matrix.org
on matrix.org.
In vector.im, rooms can be joined with the directory symbol on the bottom left.
General rules: | |
---------------------- | |
1. Use the master branches. | |
2. Install autotools and gcc. | |
3. Compile and install libdrm first. | |
4. Use the most recent mainline linux kernel or at least the most recent stable. | |
5. Update all libdrm / opentegra / mesa at once as there could be interdependencies, start from libdrm. | |
libdrm: | |
---------- |
FROM base/archlinux:latest AS base | |
RUN pacman -Sy --noconfirm binutils perl python libxcb clang emscripten git make cmake qbs | |
ENV PATH="/usr/lib/emscripten:${PATH}" | |
FROM base AS repos-configured | |
COPY ./configure-qt5-repos.sh ./ | |
RUN ./configure-qt5-repos.sh | |
FROM repos-configured AS repos-built |