MCPcopy Create free account

hub / github.com/Netflix-Skunkworks/sketchy / functions

Functions229 in github.com/Netflix-Skunkworks/sketchy

↓ 21 callersFunctionslice
* Slices the `collection` from the `start` index up to, but not including, * the `end` index. * * Note: This function is used instead of `Arr
sketchy/assets/lodash.js:406
↓ 16 callersFunctionisFunction
* Checks if `value` is a function. * * @static * @memberOf _ * @category Objects * @param {*} value The value to check.
sketchy/assets/lodash.js:2390
↓ 15 callersFunctionforOwn
(collection, callback, thisArg)
sketchy/assets/lodash.js:2094
↓ 13 callersFunctionbaseCreateCallback
* The base implementation of `_.createCallback` without support for creating * "_.pluck" or "_.where" style callbacks. * * @private
sketchy/assets/lodash.js:863
↓ 13 callersFunctionisObject
* Checks if `value` is the language type of Object. * (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`) *
sketchy/assets/lodash.js:2414
↓ 11 callersFunctionreleaseArray
* Releases the given array back to the array pool. * * @private * @param {Array} [array] The array to release.
sketchy/assets/lodash.js:369
↓ 10 callersMethodget
Retrieve Capture based on id
sketchy/controllers/controller.py:157
↓ 10 callersFunctiongetArray
* Gets an array from the array pool or creates a new one if the pool is empty. * * @private * @returns {Array} The array from the pool.
sketchy/assets/lodash.js:335
↓ 9 callersMethodas_dict
Return Static model as a JSON object
sketchy/models/static.py:44
↓ 9 callersFunctioncreateWrapper
* Creates a function that, when called, either curries or invokes `func` * with an optional `this` binding and partially applied arguments.
sketchy/assets/lodash.js:1394
↓ 9 callersFunctionforEach
* Iterates over elements of a collection, executing the callback for each * element. The callback is bound to `thisArg` and invoked with three ar
sketchy/assets/lodash.js:3290
↓ 8 callersFunctionforIn
(collection, callback, thisArg)
sketchy/assets/lodash.js:2017
↓ 8 callersFunctionisNative
* Checks if `value` is a native function. * * @private * @param {*} value The value to check. * @returns {boolean} Returns `true`
sketchy/assets/lodash.js:1483
↓ 7 callersFunctionbaseFlatten
* The base implementation of `_.flatten` without support for callback * shorthands or `thisArg` binding. * * @private * @param {Ar
sketchy/assets/lodash.js:1011
↓ 7 callersFunctionfinisher
POST finished chain to a callback URL provided
sketchy/controllers/tasks.py:230
↓ 6 callersFunctionindexOf
* Gets the index at which the first occurrence of `value` is found using * strict equality for comparisons, i.e. `===`. If the array is already s
sketchy/assets/lodash.js:4399
↓ 5 callersFunctionbaseDifference
* The base implementation of `_.difference` that accepts a single array * of values to exclude. * * @private * @param {Array} arra
sketchy/assets/lodash.js:972
↓ 5 callersFunctiongrab_domain
Returns the domain of a URL
sketchy/controllers/validators.py:34
↓ 4 callersFunctionbaseCreate
* The base implementation of `_.create` without support for assigning * properties to the created object. * * @private * @param {O
sketchy/assets/lodash.js:835
↓ 4 callersMethodeager_get
(self, endpoint)
tests.py:39
↓ 4 callersMethodget
(self, endpoint)
tests.py:50
↓ 4 callersFunctiongetIndexOf
* Gets the appropriate "indexOf" function. If the `_.indexOf` method is * customized, this method returns the custom method, otherwise it returns
sketchy/assets/lodash.js:1471
↓ 4 callersFunctionisString
* Checks if `value` is a string. * * @static * @memberOf _ * @category Objects * @param {*} value The value to check. *
sketchy/assets/lodash.js:2559
↓ 4 callersFunctionreleaseObject
* Releases the given object back to the object pool. * * @private * @param {Object} [object] The object to release.
sketchy/assets/lodash.js:382
↓ 4 callersFunctions3_save
Write a sketch, scrape, and html file to S3
sketchy/controllers/tasks.py:177
↓ 3 callersFunctionbaseRandom
* The base implementation of `_.random` without argument juggling or support * for returning floating-point numbers. * * @private
sketchy/assets/lodash.js:1289
↓ 3 callersFunctionbaseUniq
* The base implementation of `_.uniq` without support for callback shorthands * or `thisArg` binding. * * @private * @param {Array
sketchy/assets/lodash.js:1303
↓ 3 callersFunctioncreateAggregator
* Creates a function that aggregates a collection, creating an object composed * of keys generated from the results of running each element of th
sketchy/assets/lodash.js:1350
↓ 3 callersFunctioncreateCache
* Creates a cache object to optimize linear searches of large arrays. * * @private * @param {Array} [array=[]] The array to search. * @ret
sketchy/assets/lodash.js:292
↓ 3 callersFunctiondie
(error)
sketchy/assets/capture.js:127
↓ 3 callersFunctiondie
(error)
sketchy/assets/static.js:97
↓ 3 callersFunctionfunctions
* Creates a sorted array of property names of all enumerable properties, * own and inherited, of `object` that have function values. *
sketchy/assets/lodash.js:2157
↓ 3 callersFunctiongetObject
* Gets an object from the object pool or creates a new one if the pool is empty. * * @private * @returns {Object} The object from the pool.
sketchy/assets/lodash.js:345
↓ 3 callersFunctionisArguments
* Checks if `value` is an `arguments` object. * * @static * @memberOf _ * @category Objects * @param {*} value The value to c
sketchy/assets/lodash.js:1556
↓ 3 callersFunctionvalues
* Creates an array composed of the own enumerable property values of `object`. * * @static * @memberOf _ * @category Objects
sketchy/assets/lodash.js:2904
↓ 2 callersFunctionassign
(object, source, guard)
sketchy/assets/lodash.js:1679
↓ 2 callersFunctionbaseClone
* The base implementation of `_.clone` without argument juggling or support * for `thisArg` binding. * * @private * @param {*} val
sketchy/assets/lodash.js:747
↓ 2 callersFunctionbaseIndexOf
* The base implementation of `_.indexOf` without support for binary searches * or `fromIndex` constraints. * * @private * @param {Array} a
sketchy/assets/lodash.js:170
↓ 2 callersFunctionbaseIsEqual
* The base implementation of `_.isEqual`, without support for `thisArg` binding, * that allows partial "_.where" style comparisons. * *
sketchy/assets/lodash.js:1053
↓ 2 callersFunctioncacheIndexOf
* An implementation of `_.contains` for cache objects that mimics the return * signature of `_.indexOf` by returning `0` if the value is found, els
sketchy/assets/lodash.js:191
↓ 2 callersMethodcheck_content_type
(self, headers)
tests.py:36
↓ 2 callersFunctiondefaults
(object, source, guard)
sketchy/assets/lodash.js:1858
↓ 2 callersFunctiondo_capture
Create a screenshot, text scrape, from a provided html file. This depends on phantomjs and an associated javascript file to perform the capt
sketchy/controllers/tasks.py:84
↓ 2 callersFunctionfilter
* Iterates over elements of a collection, returning an array of all elements * the callback returns truey for. The callback is bound to `thisArg`
sketchy/assets/lodash.js:3140
↓ 2 callersFunctionforEachRight
* This method is like `_.forEach` except that it iterates over elements * of a `collection` from right to left. * * @static * @mem
sketchy/assets/lodash.js:3324
↓ 2 callersFunctionmap
* Creates an array of values by running each element in the collection * through the callback. The callback is bound to `thisArg` and invoked wit
sketchy/assets/lodash.js:3500
↓ 2 callersFunctionmixin
* Adds function properties of a source object to the destination object. * If `object` is a function methods will be added to its prototype as we
sketchy/assets/lodash.js:5894
↓ 2 callersMethodtoken_get
(self, endpoint)
tests.py:45
↓ 1 callersMethodallowed_extension
Check if the provided file has an html or htm file extension.
sketchy/controllers/static_upload.py:72
↓ 1 callersMethodas_dict
Return Capture model as a JSON object
sketchy/models/capture.py:46
↓ 1 callersFunctionbaseCreateWrapper
* The base implementation of `createWrapper` that creates the wrapper and * sets its meta data. * * @private * @param {Array} bind
sketchy/assets/lodash.js:918
↓ 1 callersFunctionbaseMerge
* The base implementation of `_.merge` without argument juggling or support * for `thisArg` binding. * * @private * @param {Object
sketchy/assets/lodash.js:1226
↓ 1 callersFunctionbind
* Creates a function that, when called, invokes `func` with the `this` * binding of `thisArg` and prepends any additional `bind` arguments to tho
sketchy/assets/lodash.js:5170
↓ 1 callersFunctionchain
* Creates a `lodash` object that wraps the given value with explicit * method chaining enabled. * * @static * @memberOf _ * @
sketchy/assets/lodash.js:6421
↓ 1 callersFunctioncheck_url
Check if a URL exists without downloading the whole file. We only check the URL header.
sketchy/controllers/validators.py:45
↓ 1 callersFunctiondebounce
* Creates a function that will delay the execution of `func` until after * `wait` milliseconds have elapsed since the last time it was invoked.
sketchy/assets/lodash.js:5374
↓ 1 callersFunctionforOwnRight
* This method is like `_.forOwn` except that it iterates over elements * of a `collection` in the opposite order. * * @static * @m
sketchy/assets/lodash.js:2128
↓ 1 callersFunctionget_server_status_code
Return the server's status code.
sketchy/controllers/validators.py:18
↓ 1 callersFunctioninvert
* Creates an object composed of the inverted keys and values of the given object. * * @static * @memberOf _ * @category Objects
sketchy/assets/lodash.js:2199
↓ 1 callersFunctionisNumber
* Checks if `value` is a number. * * Note: `NaN` is considered a number. See http://es5.github.io/#x8.5. * * @static * @membe
sketchy/assets/lodash.js:2488
↓ 1 callersMethodis_allowed_file
Ensure file is secure, is allowed, and generate a uniqe filename.
sketchy/controllers/static_upload.py:80
↓ 1 callersFunctionmain
()
sketchy/assets/capture.js:132
↓ 1 callersFunctionmain
()
sketchy/assets/static.js:102
↓ 1 callersFunctionmake_celery
Make a celery object that extends Flask context.
sketchy/__init__.py:38
↓ 1 callersFunctionmax
* Retrieves the maximum value of a collection. If the collection is empty or * falsey `-Infinity` is returned. If a callback is provided it will
sketchy/assets/lodash.js:3559
↓ 1 callersMethodpost
(self, endpoint, data)
tests.py:55
↓ 1 callersFunctionproperty
* Creates a "_.pluck" style function, which returns the `key` value of a * given object. * * @static * @memberOf _ * @categor
sketchy/assets/lodash.js:6036
↓ 1 callersFunctionread
(fname)
setup.py:18
↓ 1 callersFunctionread
(fname)
setup-nflx.py:18
↓ 1 callersFunctionresult
* Resolves the value of property `key` on `object`. If `key` is a function * it will be invoked with the `this` binding of `object` and its resul
sketchy/assets/lodash.js:6127
↓ 1 callersFunctionrunInContext
* Create a new `lodash` function using the given context object. * * @static * @memberOf _ * @category Utilities * @param {Object} [con
sketchy/assets/lodash.js:432
↓ 1 callersFunctionshimIsPlainObject
* A fallback implementation of `isPlainObject` which checks if a given value * is an object created by the `Object` constructor, assuming objects
sketchy/assets/lodash.js:1509
↓ 1 callersFunctionshuffle
* Creates an array of shuffled values, using a version of the Fisher-Yates * shuffle. See http://en.wikipedia.org/wiki/Fisher-Yates_shuffle.
sketchy/assets/lodash.js:3866
↓ 1 callersFunctionsketchy_logger
Logger configuration for Sketchy
sketchy/loggers.py:19
↓ 1 callersFunctionsortedIndex
* Uses a binary search to determine the smallest index at which a value * should be inserted into a given sorted array in order to maintain the s
sketchy/assets/lodash.js:4903
FunctionObject
()
sketchy/assets/lodash.js:841
Method__call__
(self, *args, **kwargs)
sketchy/__init__.py:47
Method__init__
(self, host='127.0.0.1', port=8000, workers=4)
manage.py:62
Method__init__
(self)
sketchy/models/static.py:41
Method__init__
(self)
sketchy/models/capture.py:43
Method__repr__
Return the url of the object
sketchy/models/static.py:62
Method__repr__
Return the url of the object
sketchy/models/capture.py:67
Function_get_date
Returns the current date when called
sketchy/models/static.py:18
Function_get_date
Returns the current date when called
sketchy/models/capture.py:18
Functionafter
* Creates a function that executes `func`, with the `this` binding and * arguments of the created function, only after being called `n` times.
sketchy/assets/lodash.js:5137
Methodafter_return
(self, status, retval, task_id, args, kwargs, einfo)
sketchy/__init__.py:51
Functionapp_key_check
Token auth decorator returns 401 if token is not specified or incorrect
sketchy/__init__.py:84
Methodargs_filter
(name_or_value)
manage.py:95
Functionat
* Creates an array of elements from the specified indexes, or keys, of the * `collection`. Indexes may be specified as individual arguments or as
sketchy/assets/lodash.js:2939
FunctionbaseBind
* The base implementation of `_.bind` that creates the bound function and * sets its meta data. * * @private * @param {Array} bind
sketchy/assets/lodash.js:706
FunctionbindAll
* Binds methods of an object to the object itself, overwriting the existing * method. Method names may be specified as individual arguments or as
sketchy/assets/lodash.js:5200
FunctionbindKey
* Creates a function that, when called, invokes the method at `object[key]` * and prepends any additional `bindKey` arguments to those provided t
sketchy/assets/lodash.js:5246
Functionbound
()
sketchy/assets/lodash.js:711
FunctioncachePush
* Adds a given value to the corresponding cache object. * * @private * @param {*} value The value to add to the cache.
sketchy/assets/lodash.js:215
Functioncelery_capture
Celery task used to create sketch, scrape, html. Task also writes files to S3 or posts a callback depending on configuration file.
sketchy/controllers/tasks.py:311
Functioncelery_static_capture
Celery task used to create a sketch and scrape with a provided static HTML file. Task also writes files to S3 or posts a callback depending o
sketchy/controllers/tasks.py:263
FunctioncharAtCallback
* Used by `_.max` and `_.min` as the default callback when a given * collection is a string value. * * @private * @param {string} value Th
sketchy/assets/lodash.js:244
Functioncheck_url
Check if a URL exists without downloading the whole file. We only check the URL header.
sketchy/controllers/tasks.py:38
Functionclear
Remove all local files
manage.py:43
Functionclone
* Creates a clone of `value`. If `isDeep` is `true` nested objects will also * be cloned, otherwise they will be assigned by reference. If a call
sketchy/assets/lodash.js:1746
next →1–100 of 229, ranked by callers