I hereby claim:
- I am jagamypriera on github.
- I am jagamypriera (https://keybase.io/jagamypriera) on keybase.
- I have a public key whose fingerprint is 4D35 F988 62E1 4551 1576 C63B 8EFD 5075 226A 861B
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
# This program is free software. It comes without any warranty, to | |
# the extent permitted by applicable law. You can redistribute it | |
# and/or modify it under the terms of the Do What The Fuck You Want | |
# To Public License, Version 2, as published by Sam Hocevar. See | |
# http://sam.zoy.org/wtfpl/COPYING for more details. | |
for fgbg in 38 48 ; do # Foreground / Background | |
for color in {0..255} ; do # Colors |
#clear terminal screen and scroll buffer | |
alias clear="clear && printf '\e[3J'" | |
#play youtube playlist without video, install mpv first | |
mpv "https://www.youtube.com/playlist?list=PLwE_o4j580BDdTWf-mD5unITTZTxwZRHI" --shuffle -vo null | |
#get size of current directory and all of its subdirectories and files | |
alias sizeof="du -hs" |
# 1. Install mplayer command line (via Brew, Macports, or APT) | |
# 2. Add the following aliases to ~/.profile | |
# 3. Type `source ~/.profile` | |
# 3. Type `news` or `current` to listen in your terminal | |
alias news="mplayer -playlist http://minnesota.publicradio.org/tools/play/streams/news.pls" # MPR News | |
alias current="mplayer -playlist http://minnesota.publicradio.org/tools/play/streams/the_current.pls" # The Current | |
alias classical="mplayer -playlist http://minnesota.publicradio.org/tools/play/streams/classical.pls" # Classical MPR | |
alias localcurrent="mplayer -playlist http://minnesota.publicradio.org/tools/play/streams/local.pls" # Local Current | |
alias heartland="mplayer -playlist http://minnesota.publicradio.org/tools/play/streams/radio_heartland.pls" # MPR Radio Heartland |
#!/bin/bash | |
cd /tmp | |
sudo apt update | |
sudo apt -y install zsh | |
wget https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | zsh | |
sed -i '/ZSH_THEME/c\ZSH_THEME="xiong-chiamiov-plus"' $HOME/.zshrc | |
sed -i -e "\$aexec zsh" $HOME/.bashrc | |
exec zsh |
#!/bin/bash | |
path="/path/to/directory/" | |
size=$(xdpyinfo | grep dimensions | awk '{print $2}') | |
downloaded=$(date +%Y%m%d%H%M%S) | |
IFS='x' read -ra size <<< "$size" | |
curl "https://unsplash.it/${size[0]}/${size[1]}/?random" --location --output $path/unsplash-random-$downloaded.jpeg | |
gsettings set org.gnome.desktop.background picture-uri file://$path/unsplash-random-$downloaded.jpeg |