articles that interest me

here is a rss feed widget that displays articles i’ve Starred

weighted random ambient playlist hotkey for foobar2000

this one is nasty:

global arr := ["ambient", "ambient2", "ambient3", "ambient4", "ambient5", "ambient6", "ambient7", "ambient8", "randambient2", "randambient2"]
Random, oVar, 1, arr.MaxIndex()	
rand := arr[oVar]
Run "D:\foobar2000\foobar2000.exe" /runcmd=File/Scheduler/%rand%

foo_scheduler actions:

ambient#
Set playback order to “Repeat (Playlist)”
Set active playlist “ambient”
Start playback from track #123456


randambient2
Set playback order to “Random”
Set active playlist “ambient”
Start playback
1 seconds delay
Next track
1 seconds delay
Set playback order to “Repeat (Playlist)”

Herbs and supplements I like taking.

I will add more and explain them later.

  • Liposomal Vitamin C
  • Health Ranger Spirulina
  • Health Ranger Chlorella
  • Selen Selenium (IV) Sodium Selenite 100μg
  • Global Healing Turmeric Extract
  • Global Healing Selenium
  • Global Healing Iodine
  • Japanese Knotweed Trans-Resveratrol
  • Glycine
  • Thorne Vitamin B Complex
  • Magnesium Glycinate
  • High Dose Astaxanthin + Lutein + Zeaxanthin
  • Krill Oil
  • 5-MTHF
  • Liquid B12 in Vegetable Glycerin for sublingual adminstration
  • Reishi, Shiitake, Cordyceps, Turkey Tail, Maitake, Chaga, Lion’s Mane mushroom extracts
  • PQQ
  • CoQ10
  • Silica
  • Collagen Peptides
  • Pau D’arco extract
  • Vitamin E
  • New Roots Probiotic Intensity
  • Tru Niagen
  • Alpha Lipoic Acid
  • Plant Derived Zinc and Zinc Orotate
  • Vitamin D3 Liquid
  • Vitamin K2
  • Quercetin
  • Cubeb Pepper
  • Ginger
  • Matcha Green Tea
  • N-Acetyl-L-Cysteine
  • Elderberry Extract
  • Vitamin A
  • Bromelain
  • Astragalus
  • Sesame Seeds for Calcium
  • Milk Thistle

Foobar2000 Run Services

here is my config… save as .xml

<root>
    <service minimized="false" num_exec="1">
        <label>Open Directory</label>
        <path>"$substr(%_path%,0,$strrchr(%_path%,'\'))"</path>
    </service>
    <service minimized="false" num_exec="1">
        <label>Explore Directory</label>
        <path>explorer /E,"$substr(%_path%,0,$strrchr(%_path%,'\'))"</path>
    </service>
    <service minimized="false" num_exec="1">
        <label>OpenAs...</label>
        <path>rundll32.exe shell32.dll,OpenAs_RunDLL %_path%</path>
    </service>
    <service minimized="false" num_exec="1">
        <label>$if(%link%,Follow %link%,No link available)</label>
        <path>"%link%"</path>
    </service>
    <service minimized="false" num_exec="1">
        <label>Google Artist</label>
        <path>http://www.google.com/search?q=$replace(%artist%, ,+)&amp;ie=utf-8</path>
    </service>
    <service minimized="false" num_exec="1">
        <label>Google Artist + Title</label>
        <path>http://www.google.com/search?q=$replace(%artist%+%title%, ,+)&amp;ie=utf-8</path>
    </service>
    <service minimized="false" num_exec="1">
        <label>AllMusic Artist</label>
        <path>http://www.allmusic.com/cg/amg.dll?P=amg&amp;sql=$replace(%artist%, ,+)&amp;x=0&amp;y=0&amp;opt1=1&amp;sourceid="Mozilla-search"</path>
    </service>
    <service minimized="false" num_exec="1">
        <label>AllMusic Album</label>
        <path>http://www.allmusic.com/cg/amg.dll?P=amg&amp;sql=$replace(%album%, ,+)&amp;x=0&amp;y=0&amp;opt1=2&amp;sourceid="Mozilla-search"</path>
    </service>
    <service minimized="false" num_exec="1">
        <label>AllMusic Song</label>
        <path>http://www.allmusic.com/cg/amg.dll?P=amg&amp;sql=$replace(%title%, ,+)&amp;x=0&amp;y=0&amp;opt1=3&amp;sourceid="Mozilla-search"</path>
    </service>
    <service minimized="false" num_exec="1">
        <label>last.fm title</label>
        <path>http://www.google.com/search?q=site:last.fm+$replace(%artist%+%title%, ,+)&amp;ie=utf-8&amp;btnI</path>
    </service>
    <service minimized="false" num_exec="1">
        <label>lyrics</label>
        <path>https://lite.duckduckgo.com/lite/?q=$replace(%artist%+%title%, ,+,&amp;,)+lyrics</path>
    </service>
    <service minimized="false" num_exec="1">
        <label>utube</label>
        <path>http://www.youtube.com/results?search_query=$replace(%album artist%+%title%, ,+)</path>
    </service>
    <service minimized="false" num_exec="11">
        <label>mp3split</label>
        <path>"D:\windows\program files x64\mp3splt\mp3splt.exe" -t 10.00 "%path%" -d "D:\pod"</path>
    </service>
    <service minimized="false" num_exec="1">
        <label>last.fm artist</label>
        <path>http://www.last.fm/music/$replace(%artist%, ,+)</path>
    </service>
    <service minimized="false" num_exec="1">
        <label>discogs</label>
        <path>http://www.discogs.com/search/?q=$replace(%album artist%+%album%, ,+)</path>
    </service>
    <service minimized="false" num_exec="1">
        <label>rate</label>
        <path>http://rateyourmusic.com/search?searchtype=l&amp;searchterm=$replace(%album artist%+%album%, ,+)</path>
    </service>
    <service minimized="false" num_exec="1">
        <label>last.fm sure</label>
        <path>http://www.last.fm/music/$replace(%artist%/_/%title%, ,+)</path>
    </service>
    <service minimized="false" num_exec="1">
        <label>wiki</label>
        <path>https://en.wikipedia.org/w/index.php?search=%album artist%+, ,+</path>
    </service>
    <service minimized="false" num_exec="1">
        <label>album art</label>
        <path>"C:\Program files\AlbumArtDownloader\albumart.exe" "%artist%" "%album%" "$replace(%_path%,%_filename_ext%,)cover.jpg"</path>
    </service>
</root>

A script to change Pale Moon’s user-agent to the latest version of Firefox.

#!/bin/bash
word=$(curl -fI 'https://download.mozilla.org/?product=firefox-latest&os=linux64&lang=en-US' | grep -o 'firefox-[0-9.]\+[0-9]' | awk -v RS='\r' '{print substr($0,9,2)}')
echo $word
sed -i "s|user_pref(\"network.http.useragent.global_override\", \"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:[0-9][0-9].0) Gecko/20100101 Firefox/[0-9][0-9].0\");|user_pref(\"network.http.useragent.global_override\", \"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:${word}.0) Gecko/20100101 Firefox/${word}.0\");|" user.js