Skip to content

Instantly share code, notes, and snippets.

@louisswarren
Last active June 9, 2016 04:21
Show Gist options
  • Save louisswarren/96859ddf8ff3271daa83d1cffa492b01 to your computer and use it in GitHub Desktop.
Save louisswarren/96859ddf8ff3271daa83d1cffa492b01 to your computer and use it in GitHub Desktop.
Good ideas that people should do
  • Use a set-based filesystem (instead of directory based). These would act like tags. Sets generated from predicates would also be handled by the filesystem (when used), for example ?modified>yesterday, ?size<1M. These could also include file extensions.

    vlc media,?modified>yesterday

    for files in the set 'media' which were modified since yesterday, and

    vim >>modified

    for the most recently modified file (by the user). Perhaps don't use '>' since bash will not like it.

  • Give programs only restrictive access - just because I started firefox doesn't mean I want it to have write access to all of my files

  • Check-word for repositories, separated by a '#' symbol (usage optional). This is compatible with URLs

@milesrout
Copy link

In fact, Firefox should have access to basically everything except my files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment