Skip to content

Instantly share code, notes, and snippets.

Ricompilare ffmpeg per supportare lo streaming su Home Assistant

cd /home/pi/
git clone https://github.com/FFmpeg/FFmpeg.git
cd FFmpeg
sudo ./configure --enable-gpl --enable-nonfree --enable-mmal --enable-omx --enable-omx-rpi --disable-static --enable-shared --disable-doc --extra-ldflags="-latomic"
sudo make -j4
sudo make install
BEGIN MESSAGE.
pgnIdv7Xzc9NSCw YEIaBt5tH8YlTcj gQncOPACnEFEf2R muFOILHZcgUuY0L
R8mhUYQgVsIWkdA B9WtaLF2UJoTCKq 6Xr2MZHgg6vBApe rQdW7s5PtRwU8zU
vAPNP4A0uOTYYuv M2UHdta0UuOliID B5UT0tetobRZCmh Q1Op2QQSybx6KFj
tND4JpYEodW90h4 tO52TpnXi3v54KP LWttV.
END MESSAGE.
@ddmng
ddmng / 1-elementary-os-apps.md
Created June 7, 2019 11:17 — forked from ankurk91/1-elementary-os-apps.md
elementary OS 5.0 Juno

elementaryOS Apps and Configs

This guide has been updated for elementaryOS v5.0+.

Enbale PPA support

sudo apt-get update
sudo apt-get -y install software-properties-common

Install original plank dock

@ddmng
ddmng / backup-github.sh
Created May 10, 2019 20:39 — forked from rodw/backup-github.sh
A simple script to backup an organization's GitHub repositories, wikis and issues.
#!/bin/bash
# A simple script to backup an organization's GitHub repositories.
# NOTE: if you have more than 100 repositories, you'll need to step thru the list of repos
# returned by GitHub one page at a time, as described at https://gist.github.com/darktim/5582423
GHBU_BACKUP_DIR=${GHBU_BACKUP_DIR-"github-backups"} # where to place the backup files
GHBU_ORG=${GHBU_ORG-"<CHANGE-ME>"} # the GitHub organization whose repos will be backed up
# (if you're backing up a user's repos instead, this should be your GitHub username)
GHBU_UNAME=${GHBU_UNAME-"<CHANGE-ME>"} # the username of a GitHub account (to use with the GitHub API)
@ddmng
ddmng / imagenet1000_clsidx_to_labels.txt
Created February 28, 2019 12:08 — forked from yrevar/imagenet1000_clsidx_to_labels.txt
text: imagenet 1000 class idx to human readable labels (Fox, E., & Guestrin, C. (n.d.). Coursera Machine Learning Specialization.)
{0: 'tench, Tinca tinca',
1: 'goldfish, Carassius auratus',
2: 'great white shark, white shark, man-eater, man-eating shark, Carcharodon carcharias',
3: 'tiger shark, Galeocerdo cuvieri',
4: 'hammerhead, hammerhead shark',
5: 'electric ray, crampfish, numbfish, torpedo',
6: 'stingray',
7: 'cock',
8: 'hen',
9: 'ostrich, Struthio camelus',
@ddmng
ddmng / README.md
Last active October 15, 2018 15:18

JS snippet to spy on mouse move. Goal: do something like mouseflow.

@ddmng
ddmng / README.md
Created February 26, 2018 20:45
Taking over the console to make a custom logger
@ddmng
ddmng / spec.md
Created July 11, 2017 13:42 — forked from ePirat/spec.md
Icecast Protocol specification

Icecast protocol specification

What is the Icecast protocol?

When speaking of the Icecast protocol here, actually it's just the HTTP protocol, and this document will explain further how source clients need to send data to Icecast.

HTTP PUT based protocol

Since Icecast version 2.4.0 there is support for the standard HTTP PUT method. The mountpoint to which to send the data is specified by the URL path.

@ddmng
ddmng / solve_sbt_issue.md
Created April 26, 2017 16:02
Solve issue with sbt and OpenJDK8