Skip to content

Instantly share code, notes, and snippets.

View Gyarbij's full-sized avatar

Chono N Gyarbij

View GitHub Profile
@nickstarkloff
nickstarkloff / fix-incorrect-recently-added-items-in-plex.md
Last active May 2, 2024 13:47
Fix incorrect recently added items in Plex

Fix incorrect recently added items in Plex

Sometimes Plex saves a addedAt date in the future, in which case the item will always be stuck in the first position.

With this method you don't have to edit the database directly or shut down the server. You can fix it directly in the browser.

Fix the wrong date value

  1. Open your browser's developer tools
@Gyarbij
Gyarbij / Mastodon Apps.md
Created February 19, 2023 19:50
A list of applications and clients for Mastodon including extensions and sync tools.
@Gyarbij
Gyarbij / private_fork.md
Created July 23, 2022 08:52 — forked from 0xjac/private_fork.md
Create a private fork of a public repository

The repository for the assignment is public and Github does not allow the creation of private forks for public repositories.

The correct way of creating a private frok by duplicating the repo is documented here.

For this assignment the commands are:

  1. Create a bare clone of the repository. (This is temporary and will be removed so just do it wherever.)

git clone --bare git@github.com:usi-systems/easytrace.git

@Gyarbij
Gyarbij / rclone.service.md
Last active June 6, 2024 12:47
Steps and example RClone systemd with mounted Google Drive or OneDrive for use with Plex en Jellyfin and other similar use-cases. Replace 'nano' with vi or your editor of choice if not on distro with nano included or because you like misery... your kinks are yours :)

CHANGE LEGEND: (you MUST replace these in the service file)

  • USERNAME = your actual username e.g. gyarbij
  • I recommend changing rclone.service to the name of eache drive if you have multiple mount points.
  • If you already have rclone mounts check Step #2 then skip to Step #4 and place your mount point at #MOUNT

Steps for RClone systemd to autostart on boot

  1. Install fusermount (if not already installed)
@syntaqx
syntaqx / cloud-init.yaml
Last active June 12, 2024 12:59
cloud init / cloud config to install Docker on Ubuntu
#cloud-config
# Option 1 - Full installation using cURL
package_update: true
package_upgrade: true
groups:
- docker
system_info:
@JonnyWong16
JonnyWong16 / update_all_metadata.py
Last active June 10, 2024 04:52
Updates all metadata in the Tautulli database after moving Plex libraries.
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Description: Updates all metadata in the Tautulli database after moving Plex libraries.
# Author: /u/SwiftPanda16
# Requires: plexapi, requests
from plexapi.server import PlexServer
import requests
@0xjac
0xjac / private_fork.md
Last active July 4, 2024 13:44
Create a private fork of a public repository

The repository for the assignment is public and Github does not allow the creation of private forks for public repositories.

The correct way of creating a private frok by duplicating the repo is documented here.

For this assignment the commands are:

  1. Create a bare clone of the repository. (This is temporary and will be removed so just do it wherever.)

git clone --bare git@github.com:usi-systems/easytrace.git