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 re | |
| import logging | |
| from xml.dom.minidom import parse as xmlparse | |
| class FileError(Exception): | |
| pass | |
| class FileIOError(IOError): |
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 os | |
| import logging | |
| import sys | |
| import re | |
| import urllib.request | |
| import urllib.error | |
| from src.utils import Pair | |
| _logger = logging.getLogger('codediff') |
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 os | |
| import logging | |
| import xml.etree.ElementTree as et | |
| from xml.etree.ElementTree import ParseError | |
| from src.validators import PathValidator | |
| from src.report import FileReport | |
| from src.report.snap_report import SnapReport | |
| from src.utils import NotEnoughFilesError, Pair | |
| _logger = logging.getLogger('codediff') |
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 logging | |
| import difflib | |
| import itertools | |
| import inspect | |
| _logger = logging.getLogger('codediff') | |
| class BaseMatcher: | |
| def __init__(self, report1, report2): |
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
| canvas_files/hanleypriya_late_15311_link.xml, canvas_files/normansally_14162_link.xml - 4% similar | |
| canvas_files/karppeyton_late_15063_link.xml, canvas_files/normansally_14162_link.xml - 4% similar | |
| canvas_files/normansally_14162_link.xml, canvas_files/parkscecily_15184_link.xml - 4% similar | |
| canvas_files/hanleypriya_late_15311_link.xml, canvas_files/hazardjessica_12420_link.xml - 4% similar | |
| canvas_files/hazardjessica_12420_link.xml, canvas_files/karppeyton_late_15063_link.xml - 4% similar | |
| canvas_files/hazardjessica_12420_link.xml, canvas_files/parkscecily_15184_link.xml - 4% similar | |
| canvas_files/arizininicolaas_15136_link.xml, canvas_files/hanleypriya_late_15311_link.xml - 4% similar | |
| canvas_files/arizininicolaas_15136_link.xml, canvas_files/karppeyton_late_15063_link.xml - 4% similar | |
| canvas_files/arizininicolaas_15136_link.xml, canvas_files/parkscecily_15184_link.xml - 4% similar | |
| canvas_files/hanleypriya_late_15311_link.xml, canvas_files/viottipaige_15306_link.xml - 4% similar |
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
| const Alexa = require("ask-sdk"); | |
| const Stocks = require("./stocks"); | |
| const GetNewFactHandler = { | |
| canHandle(handlerInput) { | |
| const request = handlerInput.requestEnvelope.request; | |
| return ( | |
| request.type === "LaunchRequest" || | |
| (request.type === "IntentRequest" && | |
| request.intent.name === "GetNewFactIntent") |
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
| const https = require("https"); | |
| const symbols = ["TWLO", "SQ", "FB"]; | |
| module.exports = { | |
| getResponse: async function getResponse() { | |
| var results = await fetchSymbolData(); | |
| var now = new Date(); | |
| var hours = now.getHours(); | |
| var minutes = now.getMinutes(); |
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
| const https = require("https"); | |
| const symbols = ["TWLO", "SQ", "FB"]; | |
| async function getResponse() { | |
| var results = await fetchSymbolData(); | |
| var now = new Date(); | |
| var hours = now.getHours(); | |
| var minutes = now.getMinutes(); | |
| var output = ""; |
This file has been truncated, but you can view the full file.
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
| From fairest creatures we desire increase, | |
| That thereby beauty's rose might never die, | |
| But as the riper should by time decease, | |
| His tender heir might bear his memory: | |
| But thou contracted to thine own bright eyes, | |
| Feed'st thy light's flame with self-substantial fuel, | |
| Making a famine where abundance lies, | |
| Thy self thy foe, to thy sweet self too cruel: | |
| Thou that art now the world's fresh ornament, | |
| And only herald to the gaudy spring, |
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
| var fs = require("fs"); | |
| var file = "sampleText.txt"; | |
| var text; | |
| var qwerty = ["q","w","e","r","t","y","u","i","o","p", | |
| "a","s","d","f","g","h","j","k","l", | |
| "z","x","c","v","b","n","m"]; | |
| var mine = ["c","w","b","m","f","g","l","d","u","y", | |
| "n","h","r","o","i","s","e","t","a", |