Skip to content

Instantly share code, notes, and snippets.

@pjobson
pjobson / plex_media_permissions_4_noobies.md
Last active February 26, 2024 02:40
Plex Media Permissions for Linux Noobies

Plex Media Permissions for Linux Noobies

There is no problem with being a noobie and I do not use the term to sligtht or disparage anyone.

This is a way to setup your permissions for running Plex in Linux. Different folks may use different methods.

The permissions concepts provided here apply to OSX, but the users and groups are controlled and modified differently, so much of this will not work properly. I think the command is dscl, but that could be out of date.

There are many ways to setup your permissions scheme in Linux, this methodology describes a way to do it, not everyone will like it, but it works for me, so whatever.

@rnwolf
rnwolf / spacemacs-keybindings.md
Last active February 24, 2024 08:45 — forked from kiambogo/spacemacs-keybindings
spacemacs keybindings that i need to learn

emacs --daemon to run in the background. emacsclient.emacs24 <filename/dirname> to open in terminal

NOTE: "M-m and SPC can be used interchangeably".

  • Undo - C-/
  • Redo - C-?
  • Change case: 1. Camel Case : M-c 2. Upper Case : M-u
  1. Lower Case : M-l
@1328
1328 / test.py
Created April 19, 2015 02:39
tester
import time
import os.path
from pprint import pprint
from fsearch.index import FastaIndex, MemIndex
TASK = '''
Here is a link to some sample data. I want to find where each datapoint from
sequence column of inputfile can be found in the RefSeq file, and extract other
@1328
1328 / index.py
Created April 19, 2015 02:38
test
import shelve
import time
from collections import defaultdict, deque
from functools import lru_cache
from pprint import pprint
class FastaIndex(object):
'''

Moved

Now located at https://github.com/JeffPaine/beautiful_idiomatic_python.

Why it was moved

Github gists don't support Pull Requests or any notifications, which made it impossible for me to maintain this (surprisingly popular) gist with fixes, respond to comments and so on. In the interest of maintaining the quality of this resource for others, I've moved it to a proper repo. Cheers!