List of your linux commands Apps

If it doesn't relate to Debian, but you still want to share it, please do it here

Re: List of your linux commands Apps

Postby Head_on_a_Stick » 2019-02-23 20:37

dnssec-trigger

https://packages.debian.org/stretch/dnssec-trigger

This package installs unbound and enables DNSSEC automatically along with a systray icon to show the status and allow configuration.

Given the recent assaults on the Internet's DNS protocols[1], this is an extremely useful package.

[1] https://www.icann.org/news/announcement-2019-02-15-en
User avatar
Head_on_a_Stick
 
Posts: 10502
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: List of your linux commands Apps

Postby bester69 » 2019-03-17 16:48

>> GREAT APPLICATION :o

mps-youtube
Based on mps, a terminal based program to search, stream and download music. Uses YouTube as a source of content and can play and download video as well as audio.
https://github.com/mps-youtube/mps-youtube

Image

Features

Search and play audio/video from YouTube
Search tracks of albums by album title
Search and import YouTube playlists
Create and save local playlists
Download audio/video
Convert to mp3 & other formats (requires ffmpeg or avconv)
View video comments
Works with Python 3.x
Works with Windows, Linux and Mac OS X
Requires mplayer or mpv
bester69 wrote:You wont change my mind when I know Im right, Im not an ...
User avatar
bester69
 
Posts: 1456
Joined: 2015-04-02 13:15

Re: List of your linux commands Apps

Postby bester69 » 2019-03-26 02:13

tizonia
A command-line streaming music client/server for Linux.
- Support for Spotify (Premium),
- Google Play Music (free and paid tiers),
- YouTube, SoundCloud,
- Dirble, Plex servers and Chromecast devices.
http://tizonia.org
Last edited by bester69 on 2019-04-22 02:51, edited 1 time in total.
bester69 wrote:You wont change my mind when I know Im right, Im not an ...
User avatar
bester69
 
Posts: 1456
Joined: 2015-04-02 13:15

Re: List of your linux commands Apps

Postby bester69 » 2019-04-22 02:50

tmsu
TMSU is a tool for tagging your files. It provides a simple command-line tool for applying tags and a virtual filesystem so that you can get a tag-based view of your files from within any other program.
https://tmsu.org
https://github.com/oniony/TMSU

Examples.:
tmsu files mp3 and not music
tmsu files "dogs not (cats or rats)"

Install and configure go
wget https://storage.googleapis.com/golang/g ... d64.tar.gz
tar xvf go1.8.3.linux-amd64.tar.gz
mv go /usr/local
Install TMSU
git clone https://github.com/oniony/TMSU.git
cd TMSU
export GOROOT=/usr/local/go
export GOPATH=$HOME/your-username/TMSU
export PATH=$GOPATH/bin:$GOROOT/bin:$PATH
go get -u github.com/mattn/go-sqlite3
go get -u golang.org/x/crypto/blake2b
go get -u github.com/hanwen/go-fuse/fuse
make
make install
bester69 wrote:You wont change my mind when I know Im right, Im not an ...
User avatar
bester69
 
Posts: 1456
Joined: 2015-04-02 13:15

Re: List of your linux commands Apps

Postby bester69 » 2019-04-28 01:20

playerctl
Playerctl is a command-line utility for controlling media players that implement the MPRIS D-Bus Interface Specification.
mpris command-line controller and library for spotify, vlc, audacious, smplayer, qmplay2, and others.
>> Playerctl makes it easy to bind player actions, such as play and pause, to media keys.
https://github.com/acrisci/playerctl

Examples.:
# Command the first instance of VLC to play
playerctl --player=vlc play
# Command to Toggle vídeo
playerctl --player=smplayer play-pause
# Command all players to stop
playerctl --all-players stop
# Command VLC to go to the next track if it's running. If it's not, send the # command to Spotify.
playerctl --player=vlc,spotify next
# Get the status of the player
playerctl --player=smplayer status


Example and use of playerctl within a toggle script for managing several players.:
togglempd.sh
Code: Select all
#!/bin/bash
#
export MPD_HOST=192.168.1.128

PID=$(pgrep "headset")
if [ -z "$PID" ]
then
echo "Toggle mpc"
else
echo "Toggle HeadSet"
if [ "$(playerctl --player=headset status)" == "Stopped" ]
then
echo "nada"
else
mpc pause
 playerctl --player=headset play-pause
  exit
fi
fi

PID=$(pgrep "QMPlay2")
if [ -z "$PID" ]
then
echo "Toggle mpc"
else
echo "Toggle QMPlay2"
mpc pause
playerctl --player=QMPlay2 play-pause
 exit
fi
 
mpd &
mpc toggle &

exit

bester69 wrote:You wont change my mind when I know Im right, Im not an ...
User avatar
bester69
 
Posts: 1456
Joined: 2015-04-02 13:15

Re: List of your linux commands Apps

Postby None1975 » 2019-04-29 13:51

MPC. What is it? It is a minimalist command line interface to MPD. I have been using it for a long time and realized that I don't need anything else.

Image
OS: Debian 10.1 Buster / WM: Xmonad
Debian Wiki | DontBreakDebian, My config files in github
User avatar
None1975
 
Posts: 934
Joined: 2015-11-29 18:23
Location: Lithuania, Vilnius

Re: List of your linux commands Apps

Postby RU55EL » 2019-04-29 16:24

Interesting:
MPC user's manual
User avatar
RU55EL
 
Posts: 402
Joined: 2014-04-07 03:42
Location: /home/russel

Re: List of your linux commands Apps

Postby Head_on_a_Stick » 2019-04-29 18:12

fizsh: Friendly Interactive ZSHell

https://packages.debian.org/stretch/fizsh

Fizsh is a frontend to Zsh. It provides the user with interactive syntax highlighting and a Matlab-like history search facility. At the same time it can handle Bourne syntax.

So it acts like fish but it's really zsh with fancy clothes.

Another similar alternative would be grml's zsh configuration, which is ****ing lovely:

https://grml.org/zsh/

But don't bother with oh-my-zsh, it's a pile of garbage :mrgreen:
User avatar
Head_on_a_Stick
 
Posts: 10502
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: List of your linux commands Apps

Postby None1975 » 2019-04-30 13:51

Head_on_a_Stick wrote:fizsh: Friendly Interactive ZSHell

I didn't even know that it existed. Thank you for the link.
But don't bother with oh-my-zsh, it's a pile of garbage

I agree with you.
OS: Debian 10.1 Buster / WM: Xmonad
Debian Wiki | DontBreakDebian, My config files in github
User avatar
None1975
 
Posts: 934
Joined: 2015-11-29 18:23
Location: Lithuania, Vilnius

Re: List of your linux commands Apps

Postby bester69 » 2019-05-19 20:03

trans (Google Translate)
Command-line translator using Google Translate, Bing Translator, Yandex.Translate, etc.

echo "hello world, my first translation" > popo.txt
trans :de file:///home/user/popo.txt
Hallo Welt, meine erste Übersetzung


sudo apt-get install translate-shell
https://www.soimort.org/translate-shell ... y-examples
https://github.com/soimort/translate-shell
--------------------------------------

ocr2txt <<lang. translation>>
Script for Capturing screen square section to OCR gnome-text-editor tab.

Very usefull to capture text from VideoTutorials.:
Image


Dependencies: tesseract-ocr imagemagick google-trans
Code: Select all
#!/bin/bash
# Dependencies: tesseract-ocr imagemagick google-trans

if [ -z "$1" ]
then
translate="no"
else
to_lang="$1"
translate="yes"
fi

SCR_IMG=`mktemp`
#trap "rm $SCR_IMG*" EXIT

xdotool windowminimize $(xdotool getactivewindow)
gnome-screenshot -a -f $SCR_IMG.png 
# increase quality with option -q from default 75 to 100
# Typo "$SCR_IMG.png000" does not continue with same name.

mogrify -modulate 100,0 -resize 400% $SCR_IMG.png
#should increase detection rate
tesseract $SCR_IMG.png $SCR_IMG &> /dev/null

if [ $translate = "yes" ]
then
        trans :$to_lang file://$SCR_IMG.txt -o $SCR_IMG.translate.txt
        gnome-text-editor $SCR_IMG.translate.txt &
        else
        gnome-text-editor $SCR_IMG.txt &
fi
exit

bester69 wrote:You wont change my mind when I know Im right, Im not an ...
User avatar
bester69
 
Posts: 1456
Joined: 2015-04-02 13:15

Re: List of your linux commands Apps

Postby None1975 » 2019-05-28 13:07

GOvatar.

What it is?

It is an avatar generation library writen in GO.

Image

To install the library and command line program, use the following:
Code: Select all
$ go get -u github.com/o1egl/govatar/...


Also available as binary packages for Mac, Linux and Windows.

Details here.
OS: Debian 10.1 Buster / WM: Xmonad
Debian Wiki | DontBreakDebian, My config files in github
User avatar
None1975
 
Posts: 934
Joined: 2015-11-29 18:23
Location: Lithuania, Vilnius

Re: List of your linux commands Apps

Postby bester69 » 2019-09-12 20:44

vnstat
vnStat is a console-based network traffic monitor. It keeps a log of hourly, daily and monthly network traffic for the selected interface(s) but is not a packet sniffer. The traffic information is analyzed from the proc filesystem. That way vnStat can be used even without root permissions.
https://en.wikipedia.org/wiki/VnStat
https://www.howtoforge.com/tutorial/vns ... ng-ubuntu/
Image

~$ vnstat --help
vnStat 1.15 by Teemu Toivola <tst at iki dot fi>
-q, --query query database
-h, --hours show hours
-d, --days show days
-m, --months show months
-w, --weeks show weeks
-t, --top10 show top 10 days
-s, --short use short output
-u, --update update database
-i, --iface select interface (default: eth0)
-?, --help short help
-v, --version show version
-tr, --traffic calculate traffic
-ru, --rateunit swap configured rate unit
-l, --live show transfer rate in real time


vnstati
vnStati is used to produce graphical images representing the network traffic as graphs. It takes the required information to create graphs from vnStat and stores it in the specified location.

Image
bester69 wrote:You wont change my mind when I know Im right, Im not an ...
User avatar
bester69
 
Posts: 1456
Joined: 2015-04-02 13:15

Re: List of your linux commands Apps

Postby bester69 » 2019-10-02 23:14

CleanBrowsing (excellent dns filter)
https://cleanbrowsing.org/filters#family

dnsClean.sh
Code: Select all
#!/bin/sh
#

sudo chattr -i /etc/resolv.conf
sudo rm /etc/resolv.conf

#CleanBrowsind (proxy +vpn `+ adult)
 echo "nameserver 185.228.168.168" | sudo tee  /etc/resolv.conf
 echo "nameserver 185.228.169.168" | sudo tee -a /etc/resolv.conf
 nmcli con mod "NETGEAR03 1" ipv4.dns "185.228.168.168 185.228.169.168"

 
sudo /etc/init.d/nscd restart
sleep 1
sudo chattr +i /etc/resolv.conf




Porn Filters Compared: OpenDNS, Neustar, CleanBrowsing, Norton, Yandex and AdGuard
https://hackernoon.com/porn-filters-com ... 1f207062c4

Out of the 88 porn domains, I expected all of them to be blocked. Only CleanBrowsing blocked them all, with Norton SafeConnect very close in second place by missing 5 domains:

CleanBrowsing: 100% blocked
Norton: 94% blocked (83 blocked, 5 not blocked)
Yandex: 93% blocked (82 blocked, 6 not blocked)
OpenDNS: 89% blocked (79 blocked, 9 not blocked)
Neustar: 81% blocked (72 blocked, 16 not blocked)


Testing free proxies
There are many easy to use free proxies that should be blocked when you are filtering access to pornographic content. When testing the top 10 free proxy domains, only OpenDNS and CleanBrowsing blocked all of them.
bester69 wrote:You wont change my mind when I know Im right, Im not an ...
User avatar
bester69
 
Posts: 1456
Joined: 2015-04-02 13:15

Re: List of your linux commands Apps

Postby L_V » 2019-10-06 16:58

zsh-syntax-highlighting

For zsh shell users who prefer to stick to a limited common shell list (sh, dash, bash, zsh), command syntax highlighting (same as fizsh) can be enabled in zsh by installing zsh-syntax-highlighting Debian package.

Zsh Syntax Highlighting demo: http://www.youtube.com/watch?v=xPc5hghjpyI

Simply add this code to the end of ~/.zshrc
Code: Select all
# zsh-syntax-highlighting
if [ -f /usr/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh ]; then
    . /usr/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
fi

more for zsh:
Code: Select all
apt search zsh-
L_V
 
Posts: 1083
Joined: 2007-03-19 09:04

Previous

Return to Offtopic

Who is online

Users browsing this forum: No registered users and 5 guests

fashionable