Only races that were available in Vanilla.
No Pandaren [else warning].
No Worgen [else warning].
export HISTFILESIZE=10000 | |
export SAVEHIST=10000 | |
if [ -e $HOME/bin ] | |
then | |
export PATH=$PATH:$HOME/bin | |
fi | |
if which -s node | |
then |
(setopt null_glob; | |
for collection in \ | |
"Very Fast 720p30 --subtitle=none" \ | |
"HQ 720p30 Surround --subtitle=none" \ | |
"Very Fast 480p30 --encoder=x265_10bit --subtitle=none" \ | |
"HQ 1080p30 Surround --encoder=x265_10bit --subtitle=none"; do | |
preset=${collection%% --*} hbargs=${collection#$preset } | |
dest=(/Volumes/galactica/Public/Video/*/"$collection"{,/*}) | |
src=(/Volumes/Nostromo/Rip/Blu*Rip{,/*} /Volumes/Archive*/Video/*/Blu*Rip{,/*}) | |
[[ "$preset" != "*1080*" ]] && src=($src /Volumes/Nostromo/Rip/DVD*Rip /Volumes/Archive*/Video/*/DVD*Rip) |
#!/bin/bash | |
# usage: get [ RESOLUTION [ YEAR [ IDS... ] ] ] | |
resolution=${1:-SD} | |
year=${2:-2015} | |
shift | |
shift | |
ids=$* | |
RESOLUTION=$(echo $resolution | tr '[:lower:]' '[:upper:]') |
console.image = function(url, scale) { | |
scale = scale || 1; | |
var img = new Image(); | |
img.onload = function() { | |
const width = this.width * scale; | |
const height = this.height * scale; | |
console.log("%c+", `font-size:1px; padding:${Math.floor(height/2)}px ${Math.floor(width/2)}px; line-height:${height}px; background: url(${url}); background-size:${width}px ${height}px; color: transparent;`); | |
}; | |
img.src = url; | |
}; |
tell application "Music" | |
repeat with trk in selection | |
set oldName to name of trk | |
set prefix to (artist of trk) & " - " | |
if oldName starts with prefix then | |
set len to length of oldName | |
set newName to (get characters (get length of prefix) thru len of oldName as string) | |
set name of trk to newName | |
end if | |
end repeat |