Major Update!

This commit is contained in:
2019-05-16 21:13:08 +02:00
parent 53f501e847
commit 37f033c802
20 changed files with 3702 additions and 2709 deletions

View File

@@ -15,6 +15,7 @@
- https://github.com/wincent/wincent
- https://github.com/korolr/dotfiles
- https://github.com/Shougo/shougo-s-github
- https://github.com/addy-dclxvi/almighty-dotfiles
** Linux Softwares
- [[https://github.com/k4m4/terminals-are-sexy][terminalare.sexy]]
@@ -208,6 +209,11 @@ Maybe use:
|-----------+--------------------------|
| =fc-list= | List all fonts available |
** Select font
#+begin_src bash
yay -S gtk2fontsel
#+end_src
* Text Editors
** Neovim
https://github.com/neovim/neovim
@@ -657,6 +663,18 @@ The configuration is set in =/.config/mpv/input.conf=.
| Command | Usage |
|---------+-------|
** Chromecast with castnow
*** Installation
#+begin_src bash
yay -Ss castnow-git
#+end_src
The configuration is =~/.castnowrc=.
*** TODO Configuration with Tmux/i3/polybar
Make nice shortcuts or polybar element for that
** TODO Chromecast with CATT
https://github.com/skorokithakis/catt
@@ -892,6 +910,8 @@ If you don't want to store your API token in plaintext you can use the secure fe
/set plugins.var.python.slack.slack_api_token ${sec.data.slack_token}
#+end_src
*** Aspell
https://blog.qoba.lt/using_aspell_in_weechat.html
*** Notifications
https://github.com/s3rvac/weechat-notify-send
@@ -1046,7 +1066,7 @@ https://gist.github.com/guiniol/5109c5bd953af950e0530b720507d704
A script (=~/scripts/checkmail.sh=) is used to retreive new mails and use =notify=send= is there are new received mails.
* TODO [#A] File Manager
** TODO [#A] Ranger
** TODO [#B] Ranger
https://github.com/ranger/ranger
*** Installation
#+BEGIN_SRC bash
@@ -1069,7 +1089,7 @@ It works better with Urxvt.
| =X= | Extract archive |
| =Z= | Compress file or folder |
** TODO nnn
** TODO [#A] nnn
https://github.com/jarun/nnn
https://www.youtube.com/watch?v=U2n5aGqou9E
@@ -1103,26 +1123,30 @@ yay -S feh
| =bspc= | previous image |
| =w= | Fit image |
** TODO Vimiv
https://github.com/karlch/vimiv
*** Installation
#+BEGIN_SRC bash
yay -S vimiv
#+END_SRC
*** TODO Cheatsheet
http://karlch.github.io/vimiv/docs/keybindings_commands#keybinding-cheatsheet
| Command | Usage |
|---------+-------|
** TODO sxiv
** sxiv
https://github.com/muennich/sxiv
https://www.youtube.com/watch?v=GYW9i_u5PYs
*** Installation
#+BEGIN_SRC bash
yay -S sxiv
#+END_SRC
*** Open Gif
#+begin_src bash
sxiv -a file.gif
#+end_src
*** Cheatsheet
| Command | Usage |
|--------------+--------------------------|
| =-t= | Start in Thumbmail mode |
| =f= | Toggle fullscreen |
| =Return= | Switch to thumbmail mode |
| =<=, =>= | Rotate the image |
| =\vert=, =_= | Flip the image |
| =n=, =p= | Next, Previous image |
* TODO [#B] Windows Manager - i3
** TODO Installation
#+BEGIN_SRC bash
@@ -1209,11 +1233,17 @@ yay -S dunst
- [ ] New messages on slack
** TODO [#C] How to merge similar notifications like new mails?
* Office Suite - LibreOffice
* Office Suite
** LibreOffice
#+begin_src bash
yay -S libreoffice-fresh
#+end_src
** WPS Office
#+begin_src bash
yay -S wps-office wps-office-extension-french-dictionary ttf-wps-fonts
#+end_src
* SpreadSheet - SC-IM
https://github.com/andmarti1424/sc-im
https://www.youtube.com/watch?v=K_8_gazN7h0
@@ -1258,19 +1288,35 @@ https://wiki.archlinux.org/index.php/CUPS
Web based administration: http://localhost:631/
=system-config-printer=
*** Check and Clear the Queue
Check the queue
#+begin_src bash
lpq
lpq -a # on all queues
lpq
lpq -a # on all queues
#+end_src
Clear the queue
#+begin_src bash
lprm # remove last entry only
lprm - # remove all entries
lprm # remove last entry only
lprm - # remove all entries
#+end_src
Print a file
#+begin_src bash
lpr -P printer_name filename.pdf
#+end_src
List available printers
#+begin_src bash
lpstat -a
#+end_src
Stats about the printer
#+begin_src bash
lpstat -p printer_name
#+end_src
*** TODO CheatSheet
| Command | Usage |
|---------+-------|
@@ -1313,21 +1359,20 @@ https://gparted.org/
** TODO [#B] Bluetooth
Bluetooth: Gui: https://github.com/blueman-project/blueman
** TODO [#B] Temperature and Fan control
https://github.com/dgraziotin/mbpfan
Fan are controlled by mbpfan. The config file is =/etc/mbpfan.conf=
** TODO [#A] Temperature and Fan control
#+BEGIN_SRC bash
# Enable Automated Power Regulation
sudo pacman -S tlp
sudo systemctl enable tlp
sudo systemctl enable tlp-sleep
sudo tlp start
# Enable Automated Power Regulation
yay -S tlp
sudo systemctl enable tlp
sudo systemctl start tlp
sudo systemctl enable tlp-sleep
sudo systemctl start tlp-sleep
sudo tlp start
# Enable thermald (overheat shutoff)
yaourt -S thermald
sudo systemctl enable thermald
sudo systemctl start thermald
# Enable thermald (overheat shutoff)
yay -S thermald
sudo systemctl enable thermald
sudo systemctl start thermald
#+END_SRC
** TODO [#B] Lock Screen
@@ -1457,7 +1502,9 @@ yay -S rclone
*** Progress bar for long synchronizations
Use =--progress --stats-one-line=.
* Download Manager
* TODO Download Manager
** TODO [#B] Torrent - Transmission
https://www.youtube.com/watch?v=fpYbJCqpPS4&list=WL&index=14&t=0s
** TODO CLI Download Manager - Aria2
*** Installation
#+BEGIN_SRC bash
@@ -1486,10 +1533,6 @@ Then run the CLI client using =deluge-console=.
*** GUI Client
=deluge=
*** Alternatives
https://github.com/rakshasa/rtorrent
https://webtorrent.io/
** TODO CLI Torrent Client - btpd
https://github.com/btpd/btpd
@@ -1580,6 +1623,7 @@ https://github.com/pimutils/khal
** Org Mode
https://orgmode.org/worg/exporters/beamer/tutorial.html
** WPS
** Presentation setup on computer
** PowerPoint Viewer
** Multi-monitor pdf presentation - pdfpc
@@ -1650,7 +1694,22 @@ http://wayneashleyberry.github.io/wunderline/
**** Cheatsheet
=wunderline list=
#+begin_src bash :results raw
wunderline inbox
#+end_src
#+RESULTS:
INBOX (5)
Appeler les impôts ☆
Regarder les impôt Today ☆
Remboursement abonnement tram ? ☆
Prendre le Exploding Kittens / Seven Wonders Today ☆
Appeler Maman Today ☆
*** TODO Org-Wunderlist
https://github.com/myuhe/org-wunderlist.el?state=RANDOM&code=f03a4873e4fd70950641
* Background manager: nitrogen
https://github.com/l3ib/nitrogen/
@@ -1764,6 +1823,7 @@ This help changes many applications colors at once.
- https://inkscape.org/
- https://krita.org/en/features/highlights/
- Tikz
* TODO [#B] System monitor: conky
https://github.com/brndnmtthws/conky
https://wiki.archlinux.org/index.php/Conky
@@ -1771,11 +1831,14 @@ https://wiki.archlinux.org/index.php/Conky
Integration with polybar:
- https://www.reddit.com/r/unixporn/comments/92guq6/i3polybar_animated_polybar_drop_down_menus/
- https://github.com/ntcarlson/dotfiles
* TODO Bugs
** TODO Why the cursor is turning when on the background image?
Because something is executing without the --no-startup-id option
* TODO Games on Linux
https://www.protondb.com/
https://steamcommunity.com/games/221410/announcements/detail/1696055855739350561
* TODO VPN Setup
** NordVPN
https://aur.archlinux.org/packages/nordvpn-bin/
@@ -1812,6 +1875,20 @@ https://nordvpn.com/fr/tutorials/linux/openvpn/
yay -S rtv
#+END_SRC
** Interact with API
- GUI: https://github.com/getinsomnia/insomnia
- CLI: https://github.com/jakubroztocil/httpie
** Take Screenshot
https://github.com/naelstrof/maim
#+begin_src bash
yay -S maim
#+end_src
#+begin_src bash
man maim
#+end_src
* TODO Usefull commands
** Find files or directories
- https://github.com/sharkdp/fd
@@ -1887,35 +1964,35 @@ https://wiki.archlinux.org/index.php/Keyboard_shortcuts
#+end_src
** Others
- [[https://github.com/tldr-pages/tldr][tldr]] - Community-driven man pages
- [[https://github.com/dutchcoders/transfer.sh][transfer.sh]] - upload and share files from the command line
- [[https://github.com/timvisee/ffsend][ffsend]] - share files from the command line
- https://github.com/chubin/wttr.in - weather in terminal
- https://github.com/michael-lazar/rtv
- trans =yay -S translate-shell=
- awk https://linuxhandbook.com/awk-command-tutorial/
- install the software to convert image to latex code => create script to take screenshot and automatically export latex
- https://github.com/rupa/z
- https://github.com/nvbn/thefuck
- bash-sensible
- Also check at the end of this readme
- awman - Arch Wiki man pages - Arch wiki offline
- https://www.tecmint.com/linux-commands-cheat-sheet/
| [[https://github.com/tldr-pages/tldr][tldr]] | Community-driven man pages |
| [[https://github.com/dutchcoders/transfer.sh][transfer.sh]] | upload and share files from the command line |
| [[https://github.com/timvisee/ffsend][ffsend]] | share files from the command line |
| [[https://github.com/chubin/wttr.in][wttr.in]] | weather in terminal |
| [[https://github.com/michael-lazar/rtv][rtv]] | Reddit in terminal |
| awk | https://linuxhandbook.com/awk-command-tutorial/ |
| [[https://github.com/rupa/z][z]] | Jump around |
| [[https://github.com/nvbn/thefuck][thefuck]] | Magnificent app which corrects your previous console command |
| [[https://github.com/mrzool/bash-sensible][bash-sensible]] | An attempt at saner Bash defaults |
| [[https://github.com/greg-js/arch-wiki-man][awman]] | Arch Wiki man pages - Arch wiki offline |
| [[https://github.com/amanusk/s-tui/][s-tui]] | Terminal based CPU stress and monitoring utility |
| [[https://github.com/nicolargo/glances][glances]] | A top/htop alternative |
| [[https://github.com/asciinema/asciinema][asciinema]] | Reccord you terminal |
| [[https://dev.yorhel.nl/ncdu][ncdu]] | See what takes place on the disk |
| [[https://github.com/haikarainen/light][light]] | Program to easily change brightness on backlight-controllers |
| [[https://github.com/naelstrof/maim][maim]] | Take screenshots |
|-----------------------------------+-------------------------------------------|
| Command | Description |
|-----------------------------------+-------------------------------------------|
| =glances= | Moniteur d'activité |
| =meteo= | Get the meteo |
| =sudo cputhrottle PID %PROC= | Limiter l'accès au proc pour un processus |
| =asciinema= | Reccord you terminal |
| =nmap -sP “192.168.1.*"= | Check all ip addresses on local netword |
| =ncdu= | See what takes place on the disk |
| =rsync -a --progress source dest= | Copy folders with stats |
| =du -sh folder= | Return the size of the folder |
| =df -h= | Report disk usage |
|-----------------------------------+-------------------------------------------|
** Archive and Extract
Use =apack= and =aunpack=:
| | |
@@ -1923,6 +2000,16 @@ Use =apack= and =aunpack=:
| =aunpack foobar.tar.gz= | extract all files from archive |
| =apack myarchive.zip foo bar= | create a zip archive of two files |
** Hardware
| =dmesg= | Detected hardware and boot messages |
| =lshw= | Display information on hardware |
| =lsusb -tv= | Show usb devices |
** Network
| =ip addr show= | Show all network interfaces and ip address |
| =ethtooo eth0= | Tool to show ethernet status |
| =netstat -tulp= | List all active listening ports |
* TODO Custom scripts
** TODO [#A] Password completion with fzf
Make a script to use FZF for autocompletion of password (with pass program) and then send to current line or copy.