removed migrated notes
This commit is contained in:
@@ -1,30 +0,0 @@
|
|||||||
# Imagus Seive Grants
|
|
||||||
|
|
||||||
Imagus is a [Firefox](https://addons.mozilla.org/en-US/firefox/addon/imagus/)/[Chrome](https://chrome.google.com/webstore/detail/imagus/immpkjjlgappgfkkfieppnmlhakdmaab?hl=en) extension that allows you to enlarge images with a simple mouse-over. (hover-zoom)
|
|
||||||
|
|
||||||
### Option 1
|
|
||||||
|
|
||||||
Disabling image zoom on certain sites
|
|
||||||
|
|
||||||
```
|
|
||||||
!:youtube.com
|
|
||||||
!:photos.google.com
|
|
||||||
!:www.shudder.com
|
|
||||||
!:twitter.com
|
|
||||||
!:libbyapp.com
|
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
### Option 2
|
|
||||||
|
|
||||||
Excludes everything and allows you to add only the sites on which you want to use hover-zoom
|
|
||||||
|
|
||||||
```
|
|
||||||
!:*
|
|
||||||
~:reddit.com/
|
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
Note: this extension's options DO NOT sync with Firefox Sync
|
|
||||||
|
|
||||||
- [subreddit](https://www.reddit.com/r/imagus/)
|
|
||||||
@@ -1,148 +0,0 @@
|
|||||||
# beets config
|
|
||||||
|
|
||||||
> The purpose of beets is to get your music collection right once and for all. It catalogs your collection, automatically improving its metadata as it goes using the [MusicBrainz](http://musicbrainz.org/) database. Then it provides a bouquet of tools for manipulating and accessing your music.
|
|
||||||
|
|
||||||
Stored at `$HOME/.config/beets/config.yaml`
|
|
||||||
|
|
||||||
```yaml
|
|
||||||
directory: /mnt/chawley/Music
|
|
||||||
library: /home/chawley/musiclibrary.blb
|
|
||||||
|
|
||||||
import:
|
|
||||||
# write metadata to music files
|
|
||||||
write: yes
|
|
||||||
|
|
||||||
# move imported files from source to the music directory
|
|
||||||
move: yes
|
|
||||||
copy: no
|
|
||||||
delete: no
|
|
||||||
|
|
||||||
# use auto-tagging where possible
|
|
||||||
# do not require confirmation on strong matches
|
|
||||||
autotag: yes
|
|
||||||
timid: no
|
|
||||||
|
|
||||||
resume: ask
|
|
||||||
incremental: no
|
|
||||||
none_rec_action: ask
|
|
||||||
log:
|
|
||||||
|
|
||||||
quiet: no # enable with command line option
|
|
||||||
quiet_fallback: skip
|
|
||||||
default_action: apply
|
|
||||||
|
|
||||||
singletons: no
|
|
||||||
languages: #howto
|
|
||||||
detail: no
|
|
||||||
flat: no
|
|
||||||
|
|
||||||
# use the release-date of the original (first) release of an album?
|
|
||||||
original_date: yes
|
|
||||||
|
|
||||||
# on multi-disk releases, assign track numbers for the whole album.
|
|
||||||
# If "per disk", make sure tracknames do not collide ("paths" setting).
|
|
||||||
per_disc_numbering: no
|
|
||||||
|
|
||||||
# files matching these patterns are deleted from source after import
|
|
||||||
clutter: ["Thumbs.DB", ".DS_Store", "*.m3u", ".pls", "*.jpg"]
|
|
||||||
|
|
||||||
# files/directories matching one of these patterns are ignored during import
|
|
||||||
ignore: [".*", "*~", "System Volume Information"]
|
|
||||||
|
|
||||||
# Paths ----------------------------------------------------------------------
|
|
||||||
|
|
||||||
# Paths and filenames for music files
|
|
||||||
# relative to music directory
|
|
||||||
paths:
|
|
||||||
default: $albumartist - $year - $album/$albumartist - $track - $title
|
|
||||||
singleton: Non-Album/$artist - $title
|
|
||||||
comp: $album ($year)/$track - $artist - $title
|
|
||||||
|
|
||||||
# replace special characters in generated filenames
|
|
||||||
replace:
|
|
||||||
'[\\/]': _
|
|
||||||
'^\.': _
|
|
||||||
'[\x00-\x1f]': _
|
|
||||||
'[<>:"\?\*\|]': _
|
|
||||||
'\.$': _
|
|
||||||
'\s+$': ''
|
|
||||||
|
|
||||||
path_sep_replace: _
|
|
||||||
|
|
||||||
# filename for the album art
|
|
||||||
art_filename: cover # results in "cover.jpg"
|
|
||||||
|
|
||||||
max_filename_length: 0 # unlimited
|
|
||||||
|
|
||||||
|
|
||||||
# General --------------------------------------------------------------------
|
|
||||||
|
|
||||||
# use mutliple threads during import
|
|
||||||
threaded: yes
|
|
||||||
timeout: 5.0
|
|
||||||
verbose: no
|
|
||||||
|
|
||||||
|
|
||||||
# User Interface -------------------------------------------------------------
|
|
||||||
|
|
||||||
color: yes
|
|
||||||
list_format_item: %upper{$artist} - $album - $track. $title
|
|
||||||
list_format_album: %upper{$albumartist} - $album
|
|
||||||
time_format: '%Y-%m-%d %H:%M:%S'
|
|
||||||
terminal_encoding: utf8
|
|
||||||
|
|
||||||
ui:
|
|
||||||
terminal_width: 80
|
|
||||||
length_diff_thresh: 10.0
|
|
||||||
|
|
||||||
|
|
||||||
# Auto Tagger ----------------------------------------------------------------
|
|
||||||
|
|
||||||
match:
|
|
||||||
strong_rec_thresh: 0.1 # match 90% or better for auto import
|
|
||||||
medium_rec_thresh: 0.25
|
|
||||||
rec_gap_thresh: 0.25
|
|
||||||
max_rec:
|
|
||||||
missing_tracks: medium
|
|
||||||
unmatched_tracks: medium
|
|
||||||
distance_weights:
|
|
||||||
source: 2.0
|
|
||||||
artist: 3.0
|
|
||||||
album: 3.0
|
|
||||||
media: 1.0
|
|
||||||
mediums: 1.0
|
|
||||||
year: 1.0
|
|
||||||
country: 0.5
|
|
||||||
label: 0.5
|
|
||||||
catalognum: 0.5
|
|
||||||
albumdisambig: 0.5
|
|
||||||
album_id: 5.0
|
|
||||||
tracks: 2.0
|
|
||||||
missing_tracks: 0.9
|
|
||||||
unmatched_tracks: 0.6
|
|
||||||
track_title: 3.0
|
|
||||||
track_artist: 2.0
|
|
||||||
track_index: 1.0
|
|
||||||
track_length: 2.0
|
|
||||||
track_id: 5.0
|
|
||||||
preferred:
|
|
||||||
countries: []
|
|
||||||
media: []
|
|
||||||
original_year: no
|
|
||||||
ignored: []
|
|
||||||
track_length_grace: 10
|
|
||||||
track_length_max: 30
|
|
||||||
```
|
|
||||||
|
|
||||||
## Reference
|
|
||||||
|
|
||||||
* [Beets is the media library management system for obsessive-compulsive music geeks.](https://beets.io)
|
|
||||||
* [Getting Started](http://beets.readthedocs.io/en/v1.4.2/guides/main.html)
|
|
||||||
* [Path Formats - Template Functions](http://beets.readthedocs.io/en/v1.4.2/reference/pathformat.html)
|
|
||||||
* [Somebody's beets config sample](http://akeil.net/listings/beets.config.yaml.html)
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
* Beets config is located at `$HOME/.config/beets/config.yaml`
|
|
||||||
* Import directory of music with: `beet import <directory-name>`
|
|
||||||
* Delete album with: `beet rm -a "Jon Oliva" -d` (`-a` for album and `-d` to delete the files and not just the database entry)
|
|
||||||
@@ -1,50 +0,0 @@
|
|||||||
# Redshift Config
|
|
||||||
|
|
||||||
Redshift adjusts the color temperature according to the position of the sun. A different color temperature is set during night and daytime. During twilight and early morning, the color temperature transitions smoothly from night to daytime temperature to allow your eyes to slowly adapt.
|
|
||||||
|
|
||||||
Create the file `$HOME/.config/redshift.conf`
|
|
||||||
|
|
||||||
```
|
|
||||||
; Global settings
|
|
||||||
[redshift]
|
|
||||||
temp-day=6500K
|
|
||||||
temp-night=5000K
|
|
||||||
|
|
||||||
transition=1
|
|
||||||
|
|
||||||
;gamma=0.8:0.7:0.8
|
|
||||||
gamma=1.000:1.000:1.000
|
|
||||||
|
|
||||||
location-provider=geoclue2
|
|
||||||
;location-provider=manual
|
|
||||||
|
|
||||||
;adjustment-method=vidmode
|
|
||||||
adjustment-method=randr
|
|
||||||
|
|
||||||
;brightness=1.0:0.5
|
|
||||||
;brightness-day=0.9
|
|
||||||
;brightness-night=0.6
|
|
||||||
|
|
||||||
; The location provider and adjustment method settings are in their own sections.
|
|
||||||
; Below is the Lat/Long for northeast Ohio (Cleveland area)
|
|
||||||
[manual]
|
|
||||||
lat=41.4553
|
|
||||||
lon=-81.9179
|
|
||||||
|
|
||||||
; In this example screen 1 is adjusted by vidmode. Note that the numbering starts from 0, so this is actually the second screen.
|
|
||||||
;[vidmode]
|
|
||||||
;screen=1
|
|
||||||
```
|
|
||||||
|
|
||||||
Add the following stanza to `/etc/geoclue/geoclue.conf`
|
|
||||||
|
|
||||||
```
|
|
||||||
[redshift]
|
|
||||||
allowed=true
|
|
||||||
system=false
|
|
||||||
users=
|
|
||||||
```
|
|
||||||
|
|
||||||
## Reference
|
|
||||||
|
|
||||||
* [Failed to run Redshift: Trying location provider geoclue2... · Issue #445 · jonls/redshift · GitHub](https://github.com/jonls/redshift/issues/445)
|
|
||||||
@@ -1,45 +0,0 @@
|
|||||||
# .zshrc
|
|
||||||
|
|
||||||
I have this in so many places and I need to have a solid reference of a working version.
|
|
||||||
|
|
||||||
2024-02-14: As of today, this is the "best working" version I have
|
|
||||||
|
|
||||||
|
|
||||||
```sh
|
|
||||||
# Exports
|
|
||||||
|
|
||||||
export PATH=$HOME/bin:/usr/local/bin:$HOME/.local/bin:$PATH
|
|
||||||
export ZSH="$HOME/.oh-my-zsh"
|
|
||||||
|
|
||||||
ZSH_THEME="powerlevel10k/powerlevel10k"
|
|
||||||
POWERLEVEL9K_MODE="nerdfont-complete"
|
|
||||||
plugins=(git zsh-autosuggestions zsh-syntax-highlighting)
|
|
||||||
|
|
||||||
# Store `.zcompdump` files in the ZSH cache directory, where they belong
|
|
||||||
export ZSH_COMPDUMP=$ZSH/cache/completions/.zcompdump-$HOST
|
|
||||||
|
|
||||||
source $ZSH/oh-my-zsh.sh
|
|
||||||
|
|
||||||
# User-defined Aliases and Functions
|
|
||||||
[[ ! -f ~/.shell_functions ]] || source ~/.shell_functions
|
|
||||||
[[ ! -f ~/.shell_aliases ]] || source ~/.shell_aliases
|
|
||||||
|
|
||||||
# Instant Prompt Preamble
|
|
||||||
# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc.
|
|
||||||
# Initialization code that may require console input (password prompts, [y/n]
|
|
||||||
# confirmations, etc.) must go above this block; everything else may go below.
|
|
||||||
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
|
|
||||||
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
|
||||||
# If .fzf.zsh exists, source it
|
|
||||||
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
|
|
||||||
|
|
||||||
# If .p10k.zsh exists, source it
|
|
||||||
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
|
|
||||||
|
|
||||||
# If .zshrc.$USER exists, source it
|
|
||||||
[[ ! -f ~/.zshrc.$USER ]] || source ~/.zshrc.$USER
|
|
||||||
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
|
|
||||||
```
|
|
||||||
Reference in New Issue
Block a user