Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

Free open source web browser

Name: Anonymous 2020-01-12 7:12

# tired of waiting for vaporware?
# need something minimal and elegant to browse the web the way it meant to be?
# Introducing the .bashrc Browser extensions
# ; licensed under AGPL 3.0; drop in .bashrc
alias webread="sed 's/<[^a][^>]*>//g ; /^$/d' | sed 's/ */ /g' |fmt --width=$(tput cols) | less "
alias webload='wget -O - -o /dev/null '
function w(){
webload "$1" | webread
}
function wsearch(){
queryddg="$@"
webload "https://duckduckgo.com/html/?q=$queryddg" | webread
}
function wmedia(){
feh "$1"
}
function tubesearch(){
queryyt="$@"
webload "https://m.youtube.com/results?search_query=$queryyt" | webread

}
function wvideo(){
#replace vlc with player of choice(e.g. mpv)
#and adjust 480 to preferred video height(e.g.1080 (but slower))
youtube-dl --no-call-home -o - -f 'best[height<=480]' "$1" | vlc
}

Name: Anonymous 2020-01-12 18:44

Chad

Name: Anonymous 2020-01-12 19:16

Why yes, I also parse json using unix text utilities and various shell scripts. And since unix text tools were optimized decades ago, it outperforms all the scripting languages by several orders of magnitude(awk excluded since its meant to be used for shell).
https://adamdrake.com/command-line-tools-can-be-235x-faster-than-your-hadoop-cluster.html

Name: Anonymous 2020-01-13 5:37

youtube-dl --no-call-home -o - -f 'best[height<=480]' "$1" | vlc
You can just write mpv https://...

Name: Anonymous 2020-01-13 6:03

>>4
But what if you want to pass options to youtube-dl?
What if you want to use another player?

Name: Anonymous 2020-01-13 12:24

>>3
Why are you so mad, Turk?

Name: Anonymous 2020-01-13 14:04

Bash is awesome
function wind(){
wind_dir=(N NNE NE ENE E ESE SE SSE S SSW SW WSW W WNW NW NNW N)
echo "${wind_dir[$(calc "int($1/22.5)")]}"
}
echo "wind direction $(wind 290) speed 30"

Don't change these.
Name: Email:
Entire Thread Thread List