I hereby claim:
- I am nerten on github.
- I am nerten (https://keybase.io/nerten) on keybase.
- I have a public key ASAsnsqvvRvcv3F5_Sf1lMFTqk6Mg1cVPkuLDjzbvVYnkAo
To claim this, I am signing this object:
perl -C -S -MTime::Piece -MFile::Util -Mojo -MMP3::Tag -E '$date = localtime->ymd; $i=0; $c=0; $ENV{MOJO_MAX_MESSAGE_SIZE} = 1073741824; mkdir $dir=$ENV{HOME}."/Dropbox/tunes.io/".$date; open (FILE, ">","${\$dir}/${\$date}.pls"); print FILE "[playlist]\n\n"; $file = "${\$dir}/".File::Util::escape_filename(sprintf("\%02d", ++$i)." - ${\$_->text}.mp3","") and say sprintf("\%02d", $i)." - ${\$_->text}.mp3" and (((-e "$file") && (-s "$file") > 0) || g($_->attrs("href"))->content->asset->move_to($file)) and ((-s "$file") > 0) and ++$c and print FILE "File${\$c}=".sprintf("\%02d", $i)." - ${\$_->text}.mp3\n\nTitle${\$c}=${\$_->text()}\n\nLength${\$c}=". MP3::Tag->new($file)->total_secs_int()."\n\n" for g("tunes.io/playlist.jsp?date=${\$date}")->dom("ul a")->each; print FILE "NumberOfEntries=${\$c}\n\nVersion=2\n\n"; close (FILE);' |
Im using a virtualbox VM for building software. | |
Full instruction for 64bit Debian 7 from @BitProcessor here http://pastebin.com/LsbcMkDG | |
sudo -s | |
apt-get install build-essential -y fakeroot dpkg-dev git libevent1-dev dh-autoreconf | |
apt-get build-dep -y forked-daapd | |
cd /usr/src/ | |
apt-get source forked-daapd | |
dpkg-source -x forked-daapd_0.19gcd-2.1.dsc |
sudo apt-get install -y libc6-armel gcc-multilib | |
sudo locale-gen en_US.UTF-8 | |
sudo dpkg-reconfigure locales | |
mkdir /tmp/plex | |
wget -P /tmp/plex https://downloads.plex.tv/plex-media-server/0.9.11.7.803-87d0708/plexmediaserver-ros6-binaries_0.9.11.7.803-87d0708_armel.deb | |
dpkg -x /tmp/plex/plexmediaserver-ros6-binaries_0.9.11.7.803-87d0708_armel.deb /tmp/plex | |
sudo mv /tmp/plex/apps / | |
sudo mkdir /apps/plexmediaserver/temp | |
sudo mkdir /apps/plexmediaserver/MediaLibrary | |
sudo rm -rf /tmp/plex/ |
sudo apt-get install -y aria2 | |
sudo mkdir /etc/aria2 | |
sudo touch /etc/aria2/aria2.session | |
sudo bash -c "cat <<EOT > /etc/aria2/aria2.conf | |
daemon=true | |
continue=true | |
enable-rpc=true | |
rpc-listen-port=6800 | |
rpc-listen-all=true | |
check-certificate=false |
sudo apt-get install -y usbmount | |
sudo bash -c "cat <<EOT > /etc/usbmount/mount.d/01_create_label_symlink | |
#!/bin/sh | |
# This script creates the volume label symlink in /var/run/usbmount. | |
# Copyright (C) 2014 Oliver Sauder | |
# | |
# This file is free software; the copyright holder gives unlimited | |
# permission to copy and/or distribute it, with or without | |
# modifications, as long as this notice is preserved. | |
# |
# first install java8 from http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html | |
# it's 10x faster then openjdk8 | |
# download jdk-8u101-linux-arm32-vfp-hflt.tar.gz for C1/XU4 or jdk-8u101-linux-arm64-vfp-hflt.tar.gz for C2 | |
# sudo tar zxvf jdk-8*.tar.gz -C /opt | |
# sudo mv sudo mv /opt/jdk1.8.0_* /opt/jdk1.8.0 | |
# sudo update-alternatives --install /usr/bin/javac javac /opt/jdk1.8.0/bin/javac 1 | |
# sudo update-alternatives --install /usr/bin/java java /opt/jdk1.8.0/bin/java 1 | |
# if installed other version of java, you need to configure for using newest by: | |
# sudo update-alternatives --config javac | |
# sudo update-alternatives --config java |
I hereby claim:
To claim this, I am signing this object:
Unless otherwise noted (either in this file or in a file's copyright section) the contents of this gist are Copyright ©️2020 by Christopher Allen, and are shared under spdx:Creative Commons Attribution Share Alike 4.0 International (CC-BY-SA-4.) open-source license.
If you more tips and advice like these, you can become a monthly patron on my GitHub Sponsor Page for as little as $5 a month; and your contributions will be multipled, as GitHub is matching the first $5,000! This gist is all about Homebrew, so if you like it you can support it by donating to them or becoming one of their Github Sponsors.