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
| #!/bin/bash | |
| # Script: System Performance Indicator | |
| # Author: Mario Pugh | |
| # Date of latest revision: 7/30/2020 | |
| # Purpose: Data Report generation and added to txt file | |
| # Declare variable: | |
| report_displayed="Data Report Generated" |
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
| #!/bin/bash | |
| # Script: Code a virus | |
| # Author: Mario Pugh | |
| # Date of latest revision: 7/29/2020 | |
| # Purpose: A virus that replicates it> | |
| # Declare variables | |
| counter=1 | |
| filenameDuplicated=$0 |
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
| #!/bin/bash | |
| # Script: Grep and piping | |
| # Author: Mario Pugh | |
| # Date of latest revision: 7/28/2020 | |
| # Purpose: Manipulate output | |
| # Declare variables | |
| grep=grep |
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
| #!/bin/bash | |
| # Script: My First Bash Script | |
| # Author: Mario Pugh | |
| # Date of latest revision: 7/27/2020 | |
| # Purpose: Output System Information | |
| # Declare variables | |
| uname="uname --a" |
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
| image.gallery <- function(url, ncol = 3L) { | |
| ## This function reformats the contents of a Craigslist search result URL | |
| ## into an image gallery, opened into the default browser | |
| ## | |
| ## Inputs: | |
| ## - url: a Craigslist search URL as created by search.url | |
| ## - ncol: the number of columns for the output image gallery | |
| ## | |
| ## Output: none. As a side effect, a browser is opened. |
NewerOlder