Renamed some headlines

This commit is contained in:
Thomas Dehaeze 2020-03-28 11:10:14 +01:00
parent cb6a5d59a5
commit 774f5218e2

View File

@ -17,12 +17,13 @@
#+HTML_HEAD: <script type="text/javascript" src="./js/readtheorg.js"></script> #+HTML_HEAD: <script type="text/javascript" src="./js/readtheorg.js"></script>
:END: :END:
* Select Screen * =displayselect= - Select Screen
:PROPERTIES: :PROPERTIES:
:header-args: :tangle ~/bin/displayselect :header-args: :tangle ~/bin/displayselect
:header-args+: :comments both :mkdirp yes :header-args+: :comments both :mkdirp yes
:header-args+: :shebang "#!/usr/bin/env bash" :header-args+: :shebang "#!/usr/bin/env bash"
:END: :END:
Script taken from Luke Smith. Script taken from Luke Smith.
#+begin_src bash #+begin_src bash
@ -94,12 +95,13 @@ Script taken from Luke Smith.
pgrep -x dunst >/dev/null && killall dunst && setsid dunst & # Restart dunst to ensure proper location on screen pgrep -x dunst >/dev/null && killall dunst && setsid dunst & # Restart dunst to ensure proper location on screen
#+end_src #+end_src
* getbib * TODO =getbib=
:PROPERTIES: :PROPERTIES:
:header-args: :tangle ~/bin/getbib :header-args: :tangle ~/bin/getbib
:header-args+: :comments both :mkdirp yes :header-args+: :comments both :mkdirp yes
:header-args+: :shebang "#!/usr/bin/env bash" :header-args+: :shebang "#!/usr/bin/env bash"
:END: :END:
#+begin_src bash #+begin_src bash
[ -z "$1" ] && echo "Give either a pdf file or a DOI as an argument." && exit [ -z "$1" ] && echo "Give either a pdf file or a DOI as an argument." && exit
@ -116,7 +118,7 @@ Script taken from Luke Smith.
curl -s "http://api.crossref.org/works/$doi/transform/application/x-bibtex" -w "\\n" curl -s "http://api.crossref.org/works/$doi/transform/application/x-bibtex" -w "\\n"
#+end_src #+end_src
* vpnToggle * =vpntoggle= - Connect to VPN using NordVPN
:PROPERTIES: :PROPERTIES:
:header-args: :tangle ~/bin/vpntoggle :header-args: :tangle ~/bin/vpntoggle
:header-args+: :comments both :mkdirp yes :header-args+: :comments both :mkdirp yes
@ -133,7 +135,7 @@ Script taken from Luke Smith.
fi fi
#+end_src #+end_src
* bukurun * =bukurun= - Open link from Buku
:PROPERTIES: :PROPERTIES:
:header-args: :tangle ~/bin/bukurun :header-args: :tangle ~/bin/bukurun
:header-args+: :comments both :mkdirp yes :header-args+: :comments both :mkdirp yes
@ -472,7 +474,7 @@ getTagsFromId () {
mode=bookmarks main mode=bookmarks main
#+end_src #+end_src
* i3exit * =i3exit= - Manage lock, suspend, reboot, ...
:PROPERTIES: :PROPERTIES:
:header-args: :tangle ~/bin/i3exit :header-args: :tangle ~/bin/i3exit
:header-args+: :comments both :mkdirp yes :header-args+: :comments both :mkdirp yes
@ -512,32 +514,37 @@ mode=bookmarks main
exit 0 exit 0
#+end_src #+end_src
* readbib * =readbib= - Open Bibliography File
:PROPERTIES: :PROPERTIES:
:header-args: :tangle ~/bin/readbib :header-args: :tangle ~/bin/readbib
:header-args+: :comments both :mkdirp yes :header-args+: :comments both :mkdirp yes
:header-args+: :shebang "#!/usr/bin/env bash" :header-args+: :shebang "#!/usr/bin/env bash"
:END: :END:
#+begin_src bash #+begin_src bash
cd ~/Cloud/thesis/ressources/pdfs/ && ls | rofi -dmenu -lines 20 | xargs -I {} zathura {} cd ~/Cloud/thesis/ressources/pdfs/ && ls | rofi -dmenu -lines 20 | xargs -I {} zathura {}
#+end_src #+end_src
* readnotes * =readnotes= - Open Note File
:PROPERTIES: :PROPERTIES:
:header-args: :tangle ~/bin/readnotes :header-args: :tangle ~/bin/readnotes
:header-args+: :comments both :mkdirp yes :header-args+: :comments both :mkdirp yes
:header-args+: :shebang "#!/usr/bin/env bash" :header-args+: :shebang "#!/usr/bin/env bash"
:END: :END:
#+begin_src bash #+begin_src bash
cd ~/Cloud/thesis/ressources/notes/pdfs/ && ls *.pdf | rofi -dmenu -lines 20 | xargs -I {} zathura {} cd ~/Cloud/thesis/ressources/notes/pdfs/ && ls *.pdf | rofi -dmenu -lines 20 | xargs -I {} zathura {}
#+end_src #+end_src
* askpass * TODO askpass
:PROPERTIES: :PROPERTIES:
:header-args: :tangle ~/bin/askpass-rofi :header-args: :tangle ~/bin/askpass-rofi
:header-args+: :comments both :mkdirp yes :header-args+: :comments both :mkdirp yes
:header-args+: :shebang "#!/usr/bin/env bash" :header-args+: :shebang "#!/usr/bin/env bash"
:END: :END:
- [ ] Should be a script
Take password prompt from STDIN, print password to STDOUT. Take password prompt from STDIN, print password to STDOUT.
The sed piece just removes the colon from the provided prompt: =rofi -p= already gives us a colon The sed piece just removes the colon from the provided prompt: =rofi -p= already gives us a colon
#+BEGIN_SRC bash #+BEGIN_SRC bash
@ -547,7 +554,7 @@ The sed piece just removes the colon from the provided prompt: =rofi -p= already
-p "$(printf "$1" | sed s/://)" -p "$(printf "$1" | sed s/://)"
#+END_SRC #+END_SRC
* Take Screenshot * =screenshot= - Take Screenshot
:PROPERTIES: :PROPERTIES:
:header-args: :tangle ~/bin/screenshot :header-args: :tangle ~/bin/screenshot
:header-args+: :comments both :mkdirp yes :header-args+: :comments both :mkdirp yes
@ -583,7 +590,7 @@ The sed piece just removes the colon from the provided prompt: =rofi -p= already
esac esac
#+end_src #+end_src
* Remote Desktop Connect * =remote-desktop= - Remote Desktop Connect
:PROPERTIES: :PROPERTIES:
:header-args: :tangle ~/bin/remote-desktop :header-args: :tangle ~/bin/remote-desktop
:header-args+: :comments both :mkdirp yes :header-args+: :comments both :mkdirp yes
@ -612,7 +619,7 @@ The sed piece just removes the colon from the provided prompt: =rofi -p= already
esac esac
#+end_src #+end_src
* Toggle Network * =network-toggle= - Toggle Network
:PROPERTIES: :PROPERTIES:
:header-args: :tangle ~/bin/network-toggle :header-args: :tangle ~/bin/network-toggle
:header-args+: :comments both :mkdirp yes :header-args+: :comments both :mkdirp yes
@ -632,7 +639,7 @@ The sed piece just removes the colon from the provided prompt: =rofi -p= already
fi fi
#+end_src #+end_src
* Print on Rnice * =print-rnice= - Print on Rnice
:PROPERTIES: :PROPERTIES:
:header-args: :tangle ~/bin/print-rnice :header-args: :tangle ~/bin/print-rnice
:header-args+: :comments both :mkdirp yes :header-args+: :comments both :mkdirp yes
@ -653,19 +660,21 @@ The sed piece just removes the colon from the provided prompt: =rofi -p= already
fi fi
#+end_src #+end_src
* Mount TMP14DAYS * TODO Mount TMP14DAYS
:PROPERTIES: :PROPERTIES:
:header-args: :tangle ~/bin/mnt_tmp_14_days :header-args: :tangle ~/bin/mnt_tmp_14_days
:header-args+: :comments both :mkdirp yes :header-args+: :comments both :mkdirp yes
:header-args+: :shebang "#!/usr/bin/env bash" :header-args+: :shebang "#!/usr/bin/env bash"
:END: :END:
- [ ] Put that as a script?
#+begin_src bash #+begin_src bash
sudo -A mkdir ~/tmp_14_days; sudo -A mkdir ~/tmp_14_days;
sudo -A mount -o rw,relatime,vers=3,rsize=1048576,wsize=1048576,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,mountaddr=160.103.232.103,mountvers=3,mountport=597,mountproto=tcp,local_lock=none,addr=160.103.232.103 rnice:/hz/tmp_14_days ~/tmp_14_days; sudo -A mount -o rw,relatime,vers=3,rsize=1048576,wsize=1048576,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,mountaddr=160.103.232.103,mountvers=3,mountport=597,mountproto=tcp,local_lock=none,addr=160.103.232.103 rnice:/hz/tmp_14_days ~/tmp_14_days;
#+end_src #+end_src
* Make GIF * =make-gif= - Make GIF
:PROPERTIES: :PROPERTIES:
:header-args: :tangle ~/bin/make-gif :header-args: :tangle ~/bin/make-gif
:header-args+: :comments both :mkdirp yes :header-args+: :comments both :mkdirp yes
@ -681,7 +690,7 @@ http://blog.pkh.me/p/21-high-quality-gif-with-ffmpeg.html
ffmpeg -v warning -i $1 -vf "$filters,palettegen" -y $palette ffmpeg -v warning -i $1 -vf "$filters,palettegen" -y $palette
ffmpeg -v warning -i $1 -i $palette -lavfi "$filters [x]; [x][1:v] paletteuse" -y $2 ffmpeg -v warning -i $1 -i $palette -lavfi "$filters [x]; [x][1:v] paletteuse" -y $2
#+end_src #+end_src
* Download-Audio * =yt-audio= - Download-Audio from youtube
:PROPERTIES: :PROPERTIES:
:header-args: :tangle ~/bin/yt-audio :header-args: :tangle ~/bin/yt-audio
:header-args+: :comments both :mkdirp yes :header-args+: :comments both :mkdirp yes
@ -697,7 +706,7 @@ else
fi fi
#+end_src #+end_src
* Download-Video * =yt-video= - Download-Video from youtube
:PROPERTIES: :PROPERTIES:
:header-args: :tangle ~/bin/yt-video :header-args: :tangle ~/bin/yt-video
:header-args+: :comments both :mkdirp yes :header-args+: :comments both :mkdirp yes
@ -712,7 +721,7 @@ else
setsid nohup youtube-dl --add-metadata -ic $1 &> /dev/null & setsid nohup youtube-dl --add-metadata -ic $1 &> /dev/null &
fi fi
#+end_src #+end_src
* Pdf Shrink * =pdf-shrink= Pdf Shrink
:PROPERTIES: :PROPERTIES:
:header-args: :tangle ~/bin/pdf-shrink :header-args: :tangle ~/bin/pdf-shrink
:header-args+: :comments both :mkdirp yes :header-args+: :comments both :mkdirp yes