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
``` | |
def overlapping_intervals_for_interval(interval: Union[RealEstateOwnedPrimaryInterval, LeasedHomePrimaryInterval], opportunity: Opportunity, borrower: BorrowerProfile): | |
"""Returns a tuple of ids representing the intervals that overlap with a given interval's move_in_date and move_out_date, respectively.""" | |
... | |
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
// Available variables: | |
// - Machine | |
// - interpret | |
// - assign | |
// - send | |
// - sendParent | |
// - spawn | |
// - raise | |
// - actions |
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
// Available variables: | |
// - Machine | |
// - interpret | |
// - assign | |
// - send | |
// - sendParent | |
// - spawn | |
// - raise | |
// - actions |
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 cv2 | |
import numpy as np | |
import atexit | |
import imutils | |
import matplotlib.pyplot as plt | |
from pytesseract import pytesseract as pt | |
def unsharp_mask(im): | |
# This is used to sharpen images | |
gaussian_3 = cv2.GaussianBlur(im, (3, 3), 3.0) |
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 cv2 | |
import numpy as np | |
import imutils | |
image_o = cv2.imread('sample1.png') | |
image_o = cv2.resize(image_o, (1280, 800)) | |
image_gray = cv2.cvtColor(image_o, cv2.COLOR_BGR2GRAY) | |
COLORS = { |
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
defmodule Heardit.Repo.Migrations.CreateSubscriptions do | |
use Ecto.Migration | |
def change do | |
create table(:podcast_subscriptions) do | |
add :user_id, references(:users, on_delete: :nothing) | |
add :assoc_id, references(:podcasts, on_delete: :nothing) | |
timestamps | |
end |
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
Detected errors in 1 module. | |
## ERRORS in Todos.elm ######################################################### | |
-- TYPE MISMATCH ----------------------------------------------------- Todos.elm | |
The right argument of (|>) is causing a type mismatch. | |
86| Http.get (Json.Decode.list decodeTodo) todosURL | |
87| |> Task.toResult | |
88|> |> Task.map UpdateTodos |
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
class PeripheralsController < UITableViewController | |
attr_accessor :start_button, :stop_button | |
attr_accessor :manager | |
attr_accessor :peripherals | |
def init | |
super.tap do |i| | |
i.manager = CBCentralManager.alloc.initWithDelegate self, queue:nil | |
i.peripherals = [] | |
end |
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
(function(exports){var COMPILED = !0, goog = goog || {}; | |
goog.global = this; | |
goog.exportPath_ = function(a, b, c) { | |
a = a.split("."); | |
c = c || goog.global; | |
a[0] in c || !c.execScript || c.execScript("var " + a[0]); | |
for(var d;a.length && (d = a.shift());) { | |
a.length || void 0 === b ? c = c[d] ? c[d] : c[d] = {} : c[d] = b | |
} | |
}; |
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
(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);throw new Error("Cannot find module '"+o+"'")}var f=n[o]={exports:{}};t[o][0].call(f.exports,function(e){var n=t[o][1][e];return s(n?n:e)},f,f.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){ | |
var webdriver = require('selenium-webdriver'); | |
console.log(webdriver); | |
},{"selenium-webdriver":9}],2:[function(require,module,exports){ | |
(function (process,Buffer,__dirname){ | |
// Copyright 2012 Selenium committers | |
// Copyright 2012 Software Freedom Conservancy | |
// | |
// Licensed under the Apache License, Version 2.0 (the "License"); |
NewerOlder