sources:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# use case statement to make decision for rental | |
case $rental in | |
"car") echo "For $rental rental is Rs.20 per k/m.";; | |
"van") echo "For $rental rental is Rs.10 per k/m.";; | |
"jeep") echo "For $rental rental is Rs.5 per k/m.";; | |
"bicycle") echo "For $rental rental 20 paisa per k/m.";; | |
"enfield") echo "For $rental rental Rs.3 per k/m.";; | |
"thunderbird") echo "For $rental rental Rs.5 per k/m.";; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Exit if no arguments | |
[ $# -eq 0 ] && { echo "Usage: $0 param name"; exit 1; } | |
# if no command line arg given | |
# set var to Unknown | |
if [ -z $1 ] | |
then |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://github.com/tonietto/Elementary-OS-First-Steps | |
https://elementaryos.stackexchange.com/questions/17452/how-to-display-system-tray-icons-in-elementary-os-juno | |
sudo mv /etc/xdg/autostart/nm-applet.desktop /etc/xdg/autostart/nm-applet.desktop-old | |
sudo apt-get install -y \ | |
rename \ | |
tldr \ | |
git \ | |
neofetch \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Customizing Bash environment | |
# | |
# Correct dir spellings | |
shopt -q -s cdspell | |
# Make sure display get updated when terminal window get resized | |
shopt -q -s checkwinsize |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ echo 'alias 2zsh="chsh -s $(which zsh)"' >> ~/.bashrc | |
$ echo 'alias 2bash="chsh -s $(which bash)"' >> ~/.zshrc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ZSH_THEME="avit" | |
plugins=(npm extract vscode web-search z) | |
################# | |
# # | |
# ALIASES # | |
# # | |
################# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Sample initialization file for GNU nano. | |
## | |
## VERSION 4.9.3 | |
## | |
## Characters that are special in a shell should not be escaped here. | |
## Inside string parameters, quotes should not be escaped -- the last | |
## double quote on the line will be seen as the closing quote. | |
## | |
## For the options that take parameters, the default value is shown. | |
## Other options are unset by default. To make sure that an option |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
intitle:"Joomla – Web Installer" | |
intitle:"Index of /" "joomla_update.php" | |
"Consola de Joomla! Debug" inurl:index.php | |
"Joomla! Administration Login" inurl:"/index.php" | |
"powered by joomla 3.2" OR "powered by joomla 3.3" OR "powered by joomla 3.4" | |
inurl:~~joomla3.txt filetype:txt | |
intext:"~~Joomla1.txt" title:"Index of /" | |
inurl:"index.php?option=com_bookjoomlas" | |
index2.php?option=com_joomlaboard | |
com_ijoomla_rss |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ shasum -a 256 FILENAME | awk '$1 == "SHA256 HASH" { print "good to go" }' |