This file contains hidden or 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
| using System; | |
| using System.Linq; | |
| using System.IO; | |
| using System.Text; | |
| using System.Collections; | |
| using System.Collections.Generic; | |
| /** | |
| * Auto-generated code below aims at helping you parse | |
| * the standard input according to the problem statement. |
This file contains hidden or 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
| using System; | |
| using System.Linq; | |
| using System.IO; | |
| using System.Text; | |
| using System.Collections; | |
| using System.Collections.Generic; | |
| /** | |
| * Auto-generated code below aims at helping you parse | |
| * the standard input according to the problem statement. |
This file contains hidden or 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
| LIST_VM=`virsh list | grep running | awk '{print $2}'`; | |
| for i in $LIST_VM; | |
| do | |
| virsh shutdown $i; | |
| done |
This file contains hidden or 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
| for file in *; do | |
| if [[ -d "$file" ]]; then | |
| echo "$file is a directory" | |
| du -sh $file | |
| ls $file | wc -l | |
| find $file -size 0 | |
| fi | |
| done | |
| # If you have used urllib to get the files from a server, you will need to replace the following line: |
This file contains hidden or 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
| for file in *; do | |
| if [[ -d "$file" ]]; then | |
| echo "$file is a directory" | |
| du -sh $file | |
| ls $file | wc -l | |
| fi | |
| done |
This file contains hidden or 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
| ######### | |
| # Aliases | |
| ######### | |
| # Change directory | |
| alias cd..='cd ..' | |
| alias ..='cd ..' | |
| alias .2='cd ../..' | |
| alias .3='cd ../../..' | |
| alias .4='cd ../../../..' | |
| alias .5='cd ../../../../..' |
This file contains hidden or 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
Show hidden characters
| { | |
| "bold_folder_labels": true, | |
| "caret_style": "smooth", | |
| "color_scheme": "Packages/Color Scheme - Default/Monokai.tmTheme", | |
| "dictionary": "Packages/Language - English/en_GB.dic", | |
| "draw_white_space": "all", | |
| "draw_indent_guides": true, | |
| "ensure_newline_at_eof_on_save": true, | |
| "font_face": "Consolas", | |
| "font_size": 13, |