Skip to content

Instantly share code, notes, and snippets.

View castrojo's full-sized avatar
🦖
Bluefin forever!

Jorge O. Castro castrojo

🦖
Bluefin forever!
View GitHub Profile
locksmith:
window_start: 04:00
window_length: 1h
reboot_strategy: "reboot"
update:
group: "stable"
server: "https://public.update.core-os.net/v1/update/"
systemd:
units:
@castrojo
castrojo / gist:024517fa64ab0ceb00c2fa920bc47d65
Created September 19, 2018 12:30
plexmediaserver.service
[Unit]
Description=Plex Media Server
Requires=docker.service
After=network.target irontower.mount docker.service
[Service]
Slice=machine.slice
Type=simple
Environment="ADVERTISE_IP=http://192.168.1.101:32400"
ExecStartPre=/bin/chmod -R 777 /dev/dri
ExecStart=/usr/bin/docker run --net=host --name=plexmediaserver -e PUID=1000 -e PGID=1000 -v /home/jorge/config/plexmediaserver:/config --device /dev/dri/card0:/dev/dri/card0 -v /storage/TV:/storage/TV -v /storage/Movies:/storage/Movies -v /storage/Popular:/storage/Popular -v /storage/YouTube:/storage/YouTube -v /storage/Kids:/storage/Kids --device /dev/dri/renderD128:/dev/dri/renderD128 plexinc/pms-docker:plexpass
{
"streamdeck_ui_version": 1,
"state": {
"AL50H1C0439": {
"buttons": {
"0": {
"0": {
"write": "",
"command": "xdg-open zoommtg://zoom.us/join?action=join&confno=6229641857",
"icon": "/home/jorge/Downloads/1200px-Kubernetes_logo_without_workmark.svg.png"
1 jorge@trunks:~/config$ tree -L 1
.
??? Backup
??? coredns
??? dnsmasq.d
??? flex
??? heimdall
??? homeassistant
??? nzbget
??? plexmediaserver
hit# hwinfo --disk
21: IDE 100.0: 10600 Disk
[Created at block.245]
Unique ID: 3OOL.CpunhxhuV+C
Parent ID: abAj.qGv5xpV1CPF
SysFS ID: /class/block/sda
SysFS BusID: 1:0:0:0
SysFS Device Link: /devices/pci0000:00/0000:00:17.0/ata2/host1/target1:0:0/1:0:0:0
Hardware Class: disk
Model: "Samsung SSD 860"
% cat /etc/systemd/system/plexmediaserver.service
[Unit]
Description=Plex Media Server
Requires=docker.service
After=network.target irontower.mount docker.service
[Service]
Slice=machine.slice
Type=simple
Environment="ADVERTISE_IP=http://192.168.1.101:32400"
ExecStartPre=/bin/chmod -R 777 /dev/dri
cat sigs.yaml | grep dir:
- dir: sig-api-machinery
- dir: sig-apps
- dir: sig-architecture
- dir: sig-auth
- dir: sig-autoscaling
- dir: sig-cli
- dir: sig-cloud-provider
- dir: sig-cluster-lifecycle
- dir: sig-contributor-experience
$  sudo apt install ruby
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libllvm10 libllvm10:i386
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
libruby2.7 rake ruby2.7
Suggested packages:
# Kubeflow Twitter Guidelines
This repository is part of the automation, to tweet from the [kubeflow](https://twitter.com/kubeflow) twitter account. If you are looking at posting a tweet from the Kubeflow account, please follow the [instructions](#posting-a-new-tweet) below.
## Content Guidelines
We encourage participation and submissions from the community with the Kubeflow twitter account, however there are some guidelines to ensure that the account is managed in a manner appropriate for the project:
- Tweets should not be vendor pitches
- Submissions must contain content that applies broadly to the Kubeflow Community, for example a submission should focus on upstream Kubeflow as opposed to vendor-specific configurations.