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
"""""""""""""""""""""""""""""""""""""""""""""""""" | |
" => Colors and Fonts | |
"""""""""""""""""""""""""""""""""""""""""""""""""" | |
" Enable syntax highlighting | |
syntax enable | |
"colorscheme desert | |
set background=dark | |
"""""""""""""""""""""""""""""""""""""""""""""""""" |
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 | |
shopt -s -o nounset | |
######################### | |
# Trap exit to display end time | |
trap ctrl_c INT SIGINT | |
trap display_stats SIGUSR1 | |
# Display stats on exit | |
function ctrl_c() { |
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
# .bashrc | |
# Colors | |
black_text='\e[0;30m' # Black - Regular | |
red_text='\e[0;31m' # Red | |
green_text='\e[0;32m' # Green | |
yellow_text='\e[0;33m' # Yellow | |
blue_text='\e[0;34m' # Blue | |
purple_text='\e[0;35m' # Purple | |
cyan_text='\e[0;36m' # Cyan |
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
# Beware! This file is rewritten by htop when settings are changed in the interface. | |
# The parser is also very primitive, and not human-friendly. | |
fields=37 0 48 17 18 2 46 47 49 1 | |
sort_key=49 | |
sort_direction=1 | |
hide_threads=0 | |
hide_kernel_threads=1 | |
hide_userland_threads=0 | |
shadow_other_users=0 | |
show_thread_names=1 |
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 | |
shopt -s -o nounset | |
################################################## | |
# Define Operating Variables | |
# DAEMON Indicating whether to continue the loop or not | |
# SLEEP_TIME Defines how long to sleep (in seconds) between executions | |
DAEMON=true | |
SLEEP_TIME=300 |
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 | |
shopt -s -o nounset | |
################################################### | |
# File: | |
# Notes: | |
# Revisions: | |
# Date Developer Description | |
# ---------- --------- ----------- | |
# YYYY-MM-DD Name Initialized file |