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
| import json | |
| import datetime | |
| import requests | |
| import time | |
| def walgreens(client): | |
| today = datetime.date.today() | |
| post_content = { | |
| "serviceId": "99", | |
| "position": { |
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
| import json | |
| import datetime | |
| import requests | |
| import time | |
| def walgreens(): | |
| today = datetime.date.today() | |
| post_content = { | |
| "serviceId": "99", | |
| "position": { |
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
| import requests | |
| from bs4 import BeautifulSoup | |
| import time | |
| import re | |
| from dotenv import load_dotenv | |
| import os | |
| from twilio.rest import Client | |
| load_dotenv() |
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
| <template ref="filter"> | |
| <div> <p>Alt-${name}, ${title}</p></div> | |
| <div> | |
| <ol> | |
| <li repeat.for="piece of data"> | |
| ${data.title} | |
| </li> | |
| </ol> </div> | |
| </template> |
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
| def removeTasks(taskList,n): | |
| spotInList = 0 | |
| while len(taskList) > 1: | |
| for x in range(1,n): | |
| spotInList = spotInList + 1 | |
| if spotInList >= len(taskList): | |
| spotInList = 0 | |
| taskList.remove(taskList[spotInList]) | |
| return taskList | |
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
| import random | |
| import sys | |
| """ | |
| Programming praxis: http://programmingpraxis.com/2012/05/04/even-odd-partition/ | |
| """ | |
| def isEven(num): | |
| if num % 2 == 0: | |
| return True |
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
| def fibFor(nth): | |
| n = 0 | |
| n1 = 1 | |
| for x in range(0,nth): | |
| n1 = n + n1 | |
| n = n1 - n | |
| print "There are %d digits in the %dth number of the fibonacci sequence" % (len(str(n)),nth) | |
| return n | |