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/sh | |
# Mark Cameron: shell script to download website | |
printf "starting script ...\n\n" | |
# URL VARIABLE: THIS IS USED TO STORE THE URL (UNIFORM RESOURCE LOCATOR) | |
URL=https://asciiart.website/index.php?art=animals/horses | |
# THIS LINE USES WGET SOFTWARE TO DOWNLOAD DOCUMENTS FROM THE INTERNET | |
wget $URL |
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
import requests | |
import json | |
import logging | |
import getpass | |
import os | |
#logging config: | |
logging.basicConfig(level=logging.DEBUG, | |
format=' %(asctime)s - %(levelname)s - %(message)s') | |
logging.debug('Start of REMOTE DATA.................') |
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
import tkinter | |
from tkinter import ttk | |
from tkinter import messagebox | |
from tkinter import Text | |
import logging | |
# internal | |
from app_main import * | |
from data_storage.db_io import VersionDatabase | |
from customer.current_customer import CustomerManager | |
#logging |
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
# GREAT SCHOOL API: https://www.greatschools.org/api/docs/school-search/ | |
import requests | |
import json | |
import logging | |
import getpass | |
import bs4 | |
#logging config: | |
logging.basicConfig(level=logging.DEBUG, format=' %(asctime)s - %(levelname)s - %(message)s') |
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/sh | |
# Mark Cameron: shell script to download website | |
printf "starting script ...\n\n" | |
#Variable for file name | |
FILE=downloaded_site.txt | |
#Variable for website location | |
URL=http://example.com |
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
import requests | |
import json | |
import logging | |
import getpass | |
#logging config: | |
logging.basicConfig(level=logging.DEBUG, format=' %(asctime)s - %(levelname)s - %(message)s') | |
logging.debug('Start of program') |
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
/* | |
Google App Scripts - Sheets Tutorial | |
Author: Mark Cameron | |
*/ | |
function showMessageBox() { | |
Browser.msgBox('You touched me!'); | |
getWebsite(); | |
} |
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
/* | |
Google App Scripts - Sheets Tutorial | |
Author: Mark Cameron | |
*/ | |
function showMessageBox() { | |
Browser.msgBox('You touched me!'); | |
getWebsite(); | |
} |
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
/* | |
Google App Scripts - Sheets Tutorial | |
Author: Mark Cameron | |
*/ | |
function showMessageBox() { | |
Browser.msgBox('You touched me!'); | |
getWebsite(); | |
} |
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
/* | |
Google App Scripts - Sheets Tutorial | |
Author: Mark Cameron | |
*/ | |
function showMessageBox() { | |
Browser.msgBox('You touched me!'); | |
getWebsite(); | |
} |
NewerOlder