hexsha string | size int64 | ext string | lang string | max_stars_repo_path string | max_stars_repo_name string | max_stars_repo_head_hexsha string | max_stars_repo_licenses list | max_stars_count int64 | max_stars_repo_stars_event_min_datetime string | max_stars_repo_stars_event_max_datetime string | max_issues_repo_path string | max_issues_repo_name string | max_issues_repo_head_hexsha string | max_issues_repo_licenses list | max_issues_count int64 | max_issues_repo_issues_event_min_datetime string | max_issues_repo_issues_event_max_datetime string | max_forks_repo_path string | max_forks_repo_name string | max_forks_repo_head_hexsha string | max_forks_repo_licenses list | max_forks_count int64 | max_forks_repo_forks_event_min_datetime string | max_forks_repo_forks_event_max_datetime string | content string | avg_line_length float64 | max_line_length int64 | alphanum_fraction float64 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1026e451e503259b89eac2ee86e4f5c380e28d2d | 1,140 | js | JavaScript | src/app/plugins/kubernetes/components/common/UserMultiSelect.js | rohitkishnan/pf9-ui-plugin | c671731aadfbed7be3634781bdcb3ac8cf2c3176 | [
"Apache-2.0"
] | null | null | null | src/app/plugins/kubernetes/components/common/UserMultiSelect.js | rohitkishnan/pf9-ui-plugin | c671731aadfbed7be3634781bdcb3ac8cf2c3176 | [
"Apache-2.0"
] | null | null | null | src/app/plugins/kubernetes/components/common/UserMultiSelect.js | rohitkishnan/pf9-ui-plugin | c671731aadfbed7be3634781bdcb3ac8cf2c3176 | [
"Apache-2.0"
] | null | null | null | import React, { forwardRef } from 'react'
import PropTypes from 'prop-types'
import { projectAs } from 'utils/fp'
import withFormContext, { ValidatedFormInputPropTypes } from 'core/components/validatedForm/withFormContext'
import useDataLoader from 'core/hooks/useDataLoader'
import MultiSelect from 'core/components/Mul... | 33.529412 | 108 | 0.738596 |
1026e810a48b0f1e0b5802e2dcf3a695e72d88f5 | 2,034 | js | JavaScript | benchmark/scope/async_local_storage.js | vecerek/dd-trace-js | 5ffa4c2e81a01f910cea4f7e1e4f7932326e668e | [
"Apache-2.0",
"BSD-3-Clause"
] | 1 | 2020-09-10T15:15:36.000Z | 2020-09-10T15:15:36.000Z | benchmark/scope/async_local_storage.js | vecerek/dd-trace-js | 5ffa4c2e81a01f910cea4f7e1e4f7932326e668e | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | benchmark/scope/async_local_storage.js | vecerek/dd-trace-js | 5ffa4c2e81a01f910cea4f7e1e4f7932326e668e | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | 'use strict'
const { AsyncResource } = require('async_hooks')
const proxyquire = require('proxyquire')
const platform = require('../../packages/dd-trace/src/platform')
const node = require('../../packages/dd-trace/src/platform/node')
const benchmark = require('../benchmark')
platform.use(node)
const suite = benchma... | 21.1875 | 83 | 0.572271 |
1027949038f2e7a66bd8ab507c3ff30beaf05616 | 1,877 | js | JavaScript | index.js | MaxArt2501/gulp-json-fmt | 7972c7e583a47a98ff5862c0bc57a1863c601ccc | [
"MIT"
] | null | null | null | index.js | MaxArt2501/gulp-json-fmt | 7972c7e583a47a98ff5862c0bc57a1863c601ccc | [
"MIT"
] | 1 | 2016-03-09T13:58:44.000Z | 2016-03-09T13:58:44.000Z | index.js | MaxArt2501/gulp-json-fmt | 7972c7e583a47a98ff5862c0bc57a1863c601ccc | [
"MIT"
] | null | null | null | /*!
* gulp-json-fmt
* https://github.com/MaxArt2501/gulp-json-fmt
*
* Copyright (c) 2015-2018 Massimo Artizzu
* Licensed under the MIT license.
*/
"use strict";
var JSONFormatter = require("json-fmt"),
PluginError = require("plugin-error"),
through = require("through2");
var getBuffer = Buffer.from || f... | 31.813559 | 84 | 0.513586 |
1027c0b195d78e0aea48358543dc11cd2968b3c2 | 6,156 | js | JavaScript | webapp/src/scenes/services/components/ServiceCards.js | DavidGeisel/machine-learning-lab | 2d7a9ecae3780a5ecfe323e55b5d555ac41ce261 | [
"Apache-2.0"
] | null | null | null | webapp/src/scenes/services/components/ServiceCards.js | DavidGeisel/machine-learning-lab | 2d7a9ecae3780a5ecfe323e55b5d555ac41ce261 | [
"Apache-2.0"
] | null | null | null | webapp/src/scenes/services/components/ServiceCards.js | DavidGeisel/machine-learning-lab | 2d7a9ecae3780a5ecfe323e55b5d555ac41ce261 | [
"Apache-2.0"
] | null | null | null | import React, { Component } from "react";
import PropTypes from "prop-types";
import { connect } from "react-redux";
// material-ui components
import { withStyles } from "@material-ui/core/styles";
import Grid from "@material-ui/core/Grid";
import Button from "@material-ui/core/Button";
import Typography from "@materi... | 30.029268 | 108 | 0.582684 |
1027c6a95c51c6a5d2459aab2ea29c78ba9e7a30 | 2,772 | js | JavaScript | resources/js/app.js | Sergggggg/Test_project | 9309362590330195a213fd0a030cb1b78efe2d0e | [
"MIT"
] | null | null | null | resources/js/app.js | Sergggggg/Test_project | 9309362590330195a213fd0a030cb1b78efe2d0e | [
"MIT"
] | null | null | null | resources/js/app.js | Sergggggg/Test_project | 9309362590330195a213fd0a030cb1b78efe2d0e | [
"MIT"
] | null | null | null | /**
* First we will load all of this project's JavaScript dependencies which
* includes Vue and other libraries. It is a great starting point when
* building robust, powerful web applications using Vue and Laravel.
*/
require('./bootstrap');
window.Vue = require('vue').default;
/**
* The following block of code... | 23.294118 | 97 | 0.629509 |
1027ce4ae913b3b3f260206b56c83c6a4bfe7765 | 545 | js | JavaScript | icons/SquareRootIcon.js | cyjake/material | eb0ee2393f200b544900d7360741ef760a6db48c | [
"MIT"
] | 5 | 2018-11-21T09:41:06.000Z | 2020-11-04T13:46:37.000Z | icons/SquareRootIcon.js | cyjake/material | eb0ee2393f200b544900d7360741ef760a6db48c | [
"MIT"
] | 4 | 2019-03-06T13:41:48.000Z | 2020-04-08T00:53:00.000Z | icons/SquareRootIcon.js | cyjake/material | eb0ee2393f200b544900d7360741ef760a6db48c | [
"MIT"
] | 5 | 2020-04-07T22:11:38.000Z | 2022-01-10T20:10:06.000Z | import React from 'react'
const DEFAULT_SIZE = 24
export default ({
fill = 'currentColor',
width = DEFAULT_SIZE,
height = DEFAULT_SIZE,
style = {},
...props
}) => (
<svg
viewBox={ `0 0 ${ DEFAULT_SIZE } ${ DEFAULT_SIZE }` }
style={{ fill, width, height, ...style }}
{ ...props }
>
<path d... | 27.25 | 224 | 0.638532 |
1027d113f04a2d3720fef79e6bbd03efaa06569a | 1,181 | js | JavaScript | routes/api/category-routes.js | namees-github/E-Commerce-Back-End | 0987230b27a76259bc514b45ef4f5a34a53477a4 | [
"ADSL"
] | null | null | null | routes/api/category-routes.js | namees-github/E-Commerce-Back-End | 0987230b27a76259bc514b45ef4f5a34a53477a4 | [
"ADSL"
] | null | null | null | routes/api/category-routes.js | namees-github/E-Commerce-Back-End | 0987230b27a76259bc514b45ef4f5a34a53477a4 | [
"ADSL"
] | null | null | null | const router = require('express').Router();
const { Category, Product } = require('../../models');
// The `/api/categories` endpoint
router.get('/', async(req, res) => {
const result=await Category.findAll({
include:[{model:Product}]}
);
try{
res.json(result)
}catch(err){
res.status(404).json({status:'not found... | 19.048387 | 62 | 0.628281 |
10281c257a78d63e9e587d99d819009bd4f4123f | 2,164 | js | JavaScript | src -7-FormValidation/Products.js | aladin002dz/ReactJS-CRUD-Basic | e866e39f1c7ba9296e7301406a402badf7b75116 | [
"MIT"
] | 5 | 2019-01-09T20:50:36.000Z | 2020-01-07T10:09:30.000Z | src -7-FormValidation/Products.js | aladin002dz/ReactJS-CRUD-Basic | e866e39f1c7ba9296e7301406a402badf7b75116 | [
"MIT"
] | null | null | null | src -7-FormValidation/Products.js | aladin002dz/ReactJS-CRUD-Basic | e866e39f1c7ba9296e7301406a402badf7b75116 | [
"MIT"
] | null | null | null | import React from 'react';
import Filters from './ProductsFilter.js';
import ProductTable from './ProductsTable.js';
import ProductForm from './ProductForm';
var PRODUCTS = {
'1': {id: 1, category: 'Musical Instruments', price: '$459.99', stocked: true, name: 'Clarinet'},
'2': {id: 2, category: 'Musical Instrument... | 28.853333 | 102 | 0.61414 |
1028a5b9ada318398c84c2f2252b56dcf624d6f3 | 15,161 | js | JavaScript | js/webxr-button.js | codeimpl/webxr-samples | ddcb40e3b86f01d481461b4c856808988fab9610 | [
"MIT"
] | 2 | 2019-07-08T18:56:48.000Z | 2019-07-30T23:15:01.000Z | js/webxr-button.js | codeimpl/webxr-samples | ddcb40e3b86f01d481461b4c856808988fab9610 | [
"MIT"
] | null | null | null | js/webxr-button.js | codeimpl/webxr-samples | ddcb40e3b86f01d481461b4c856808988fab9610 | [
"MIT"
] | 1 | 2018-09-14T14:04:52.000Z | 2018-09-14T14:04:52.000Z | // Copyright 2016 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agree... | 31.00409 | 120 | 0.6429 |
1028a62f62a3df54db33a2e9e44377923e994871 | 879 | js | JavaScript | src/CommandManager.js | kevelbreh/bottie-commands | c8605c2ed054a3cb559a5d6a389fe003f7076735 | [
"Apache-2.0"
] | null | null | null | src/CommandManager.js | kevelbreh/bottie-commands | c8605c2ed054a3cb559a5d6a389fe003f7076735 | [
"Apache-2.0"
] | null | null | null | src/CommandManager.js | kevelbreh/bottie-commands | c8605c2ed054a3cb559a5d6a389fe003f7076735 | [
"Apache-2.0"
] | null | null | null | const Command = require("./Command");
/*
TODO: Define a prefix (or list of prefixes)
TODO: Prefix handling when a message is consumed.
*/
class CommandManager {
constructor(options = {}) {
this.commands = []
// Add a command for displaying information on help.
if (options.allow_help == true) {
... | 19.977273 | 66 | 0.629124 |
1028c41d998b285301d015a38cd298032e7c92d0 | 1,372 | js | JavaScript | dist/samples/maptype-overlay/jsfiddle.js | caltrans/js-samples | a0e7fbfda8219feb97fa0a1d29732cf0d372211f | [
"Apache-2.0"
] | 1 | 2021-06-19T10:45:59.000Z | 2021-06-19T10:45:59.000Z | dist/samples/maptype-overlay/jsfiddle.js | gausic-m/js-samples | a1337dedd25fec0ebb5775fc90005aefed412d8e | [
"Apache-2.0"
] | 1 | 2021-02-23T12:58:47.000Z | 2021-02-23T12:58:47.000Z | dist/samples/maptype-overlay/jsfiddle.js | gausic-m/js-samples | a1337dedd25fec0ebb5775fc90005aefed412d8e | [
"Apache-2.0"
] | 1 | 2021-05-12T00:21:04.000Z | 2021-05-12T00:21:04.000Z | /*
* This demo illustrates the coordinate system used to display map tiles in the
* API.
*
* Tiles in Google Maps are numbered from the same origin as that for
* pixels. For Google's implementation of the Mercator projection, the origin
* tile is always at the northwest corner of the map, with x values increasing... | 31.906977 | 79 | 0.687318 |
102985c3534c0c7bb2478aeee4a2125b7784252d | 3,488 | js | JavaScript | test/unit/specs/util/dom_spec.js | shaheen-karodia/vue | d8e9e2ea16153aacdc99a6cc36f7d121a5ab484c | [
"MIT"
] | 1 | 2021-12-27T03:46:06.000Z | 2021-12-27T03:46:06.000Z | test/unit/specs/util/dom_spec.js | shaheen-karodia/vue | d8e9e2ea16153aacdc99a6cc36f7d121a5ab484c | [
"MIT"
] | null | null | null | test/unit/specs/util/dom_spec.js | shaheen-karodia/vue | d8e9e2ea16153aacdc99a6cc36f7d121a5ab484c | [
"MIT"
] | null | null | null | var _ = require('../../../../src/util')
if (_.inBrowser) {
describe('Util - DOM', function () {
var parent, child, target
function div () {
return document.createElement('div')
}
beforeEach(function () {
parent = div()
child = div()
target = div()
parent.appendChild(... | 28.357724 | 79 | 0.600057 |
10299c94066b669deda26fe1817b9d5578130471 | 5,363 | js | JavaScript | lib/index.js | jrnewell/json-router | e46d37181c7489ca0596e7a97a23ffd78e62a240 | [
"MIT"
] | 1 | 2017-03-11T22:47:54.000Z | 2017-03-11T22:47:54.000Z | lib/index.js | jrnewell/json-router | e46d37181c7489ca0596e7a97a23ffd78e62a240 | [
"MIT"
] | null | null | null | lib/index.js | jrnewell/json-router | e46d37181c7489ca0596e7a97a23ffd78e62a240 | [
"MIT"
] | null | null | null | var _ = require('lodash');
var async = require('async');
var EventEmitter = require('events').EventEmitter;
var jsonRouter = {
_requests: {},
_emitter: new EventEmitter(),
_defaultCallback: function(req, res, results, next) {
return res.json(results);
},
getRequestHandler: function(name) {
return ... | 31.733728 | 91 | 0.575611 |
10299f87286f1e29e8374591167a721e022fc500 | 497 | js | JavaScript | dist/decorator/index.js | CaoMeiYouRen/swagger-ts-doc | a5e605992c90352877f28678d2f04eddfb0eb300 | [
"Apache-2.0"
] | null | null | null | dist/decorator/index.js | CaoMeiYouRen/swagger-ts-doc | a5e605992c90352877f28678d2f04eddfb0eb300 | [
"Apache-2.0"
] | null | null | null | dist/decorator/index.js | CaoMeiYouRen/swagger-ts-doc | a5e605992c90352877f28678d2f04eddfb0eb300 | [
"Apache-2.0"
] | null | null | null | "use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.log = exports.apiModelProperty = void 0;
const apiModelProperty_1 = require("./apiModelProperty");
Object.defineProperty(exports, "apiModelProperty", { enumerable: true, get: function () { return apiModelProperty_1.apiModelProperty... | 62.125 | 140 | 0.72837 |
1029e43471f2835bc9fbcd4f6ea7d3e99e6d2373 | 4,101 | js | JavaScript | app/models/groups.js | rexming1999/ASP-Portel | 278db2faeed3e01c801f188d384c0d1745dfc8ea | [
"Apache-2.0"
] | null | null | null | app/models/groups.js | rexming1999/ASP-Portel | 278db2faeed3e01c801f188d384c0d1745dfc8ea | [
"Apache-2.0"
] | null | null | null | app/models/groups.js | rexming1999/ASP-Portel | 278db2faeed3e01c801f188d384c0d1745dfc8ea | [
"Apache-2.0"
] | null | null | null | exports.definition = {
config: {
columns: {
id: "INTEGER PRIMARY KEY",
name: "TEXT",
u_id: "INTEGER",
status: "INTEGER",
created: "DATE",
updated: "DATE",
image: "TEXT"
},
adapter: {
type: "sql",
collection_name: "groups"
}
},
extendModel: function(Model) {
_.extend(Model.prototy... | 32.547619 | 156 | 0.513533 |
102a4af50ee49dff0b754a75db3a5de47660e5f5 | 7,354 | js | JavaScript | src/core/propertyTypes.js | demo3d/aframe | 3ba5eda3d9ea2c253fc481e92ecd78b22815c81d | [
"MIT"
] | 1 | 2018-01-02T02:27:35.000Z | 2018-01-02T02:27:35.000Z | src/core/propertyTypes.js | sshepanski7/aframe | 93d4c9ea5539368c75f21cdd18cde70931cbcacc | [
"MIT"
] | null | null | null | src/core/propertyTypes.js | sshepanski7/aframe | 93d4c9ea5539368c75f21cdd18cde70931cbcacc | [
"MIT"
] | 1 | 2019-12-15T08:50:14.000Z | 2019-12-15T08:50:14.000Z | var coordinates = require('../utils/coordinates');
var debug = require('debug');
var error = debug('core:propertyTypes:warn');
var warn = debug('core:propertyTypes:warn');
var propertyTypes = module.exports.propertyTypes = {};
// Built-in property types.
registerPropertyType('audio', '', assetParse);
registerPropert... | 34.204651 | 88 | 0.667256 |
102ad2b71fcd8f083d4daf5a54748bfead84ed5d | 2,311 | js | JavaScript | vant/common/utils.js | CryFeiFei/WeComponents | 10da8e034b883bb16597722d516133fa823c6996 | [
"Apache-2.0"
] | null | null | null | vant/common/utils.js | CryFeiFei/WeComponents | 10da8e034b883bb16597722d516133fa823c6996 | [
"Apache-2.0"
] | null | null | null | vant/common/utils.js | CryFeiFei/WeComponents | 10da8e034b883bb16597722d516133fa823c6996 | [
"Apache-2.0"
] | null | null | null | import { isDef, isNumber, isPlainObject, isPromise } from './validator';
import { canIUseGroupSetData, canIUseNextTick } from './version';
export function range(num, min, max) {
return Math.min(Math.max(num, min), max);
}
export function nextTick(cb) {
if (canIUseNextTick()) {
wx.nextTick(cb);
}
... | 25.119565 | 72 | 0.565556 |
102b308f2567535e06933805146dfd14d02c83cf | 1,268 | js | JavaScript | src/core_modules/capture-core/components/Pages/NewEvent/epics/newEvent.epics.js | karolinelien/capture-app | 717eafd38d10450a661445dfc59fc5270ff12d6a | [
"BSD-2-Clause"
] | null | null | null | src/core_modules/capture-core/components/Pages/NewEvent/epics/newEvent.epics.js | karolinelien/capture-app | 717eafd38d10450a661445dfc59fc5270ff12d6a | [
"BSD-2-Clause"
] | null | null | null | src/core_modules/capture-core/components/Pages/NewEvent/epics/newEvent.epics.js | karolinelien/capture-app | 717eafd38d10450a661445dfc59fc5270ff12d6a | [
"BSD-2-Clause"
] | null | null | null | // @flow
import { push } from 'connected-react-router';
import {
actionTypes as editEventSelectorActionTypes,
} from '../../EditEvent/EditEventSelector/EditEventSelector.actions';
import {
actionTypes as viewEventSelectorActionTypes,
} from '../../ViewEvent/ViewEventSelector/ViewEventSelector.actions';
import {... | 35.222222 | 118 | 0.677445 |
102b6917bb9b3482eb70c57bdb0b7aa721df9510 | 1,588 | js | JavaScript | client/components/Forms/index.js | jjpestacio/whos-djing | 1f6ce5f19e38b2aac886ca600c5564153691d2b4 | [
"MIT"
] | null | null | null | client/components/Forms/index.js | jjpestacio/whos-djing | 1f6ce5f19e38b2aac886ca600c5564153691d2b4 | [
"MIT"
] | null | null | null | client/components/Forms/index.js | jjpestacio/whos-djing | 1f6ce5f19e38b2aac886ca600c5564153691d2b4 | [
"MIT"
] | null | null | null | import React, { Component, PropTypes } from 'react'
import Radium from 'radium'
@Radium
class InputForm extends Component {
constructor(props) {
super(props);
this.state = { value: '' }
this.handleTextChange = this.handleTextChange.bind(this);
this.handleSubmit = this.handleSubmit.bind(this);
}
handleSubm... | 22.055556 | 74 | 0.671914 |
102c722fd3d233f869ccfe3a253d3c2d35059692 | 181 | js | JavaScript | packages/discord.js/src/util/ShardEvents.js | bryanberger/discord.js | cedd0536baa1301984daf89dfda4e63a7be595a2 | [
"Apache-2.0"
] | 7 | 2022-02-27T14:25:38.000Z | 2022-03-30T10:41:54.000Z | packages/discord.js/src/util/ShardEvents.js | bryanberger/discord.js | cedd0536baa1301984daf89dfda4e63a7be595a2 | [
"Apache-2.0"
] | 2 | 2022-03-20T10:51:54.000Z | 2022-03-20T10:51:55.000Z | packages/discord.js/src/util/ShardEvents.js | bryanberger/discord.js | cedd0536baa1301984daf89dfda4e63a7be595a2 | [
"Apache-2.0"
] | 1 | 2022-02-17T03:58:07.000Z | 2022-02-17T03:58:07.000Z | 'use strict';
module.exports = {
Close: 'close',
Destroyed: 'destroyed',
InvalidSession: 'invalidSession',
Ready: 'ready',
Resumed: 'resumed',
AllReady: 'allReady',
};
| 16.454545 | 35 | 0.651934 |
102c83a09942a307763f6e7d58d849d786bec146 | 199 | js | JavaScript | test/fixtures/percy-web/addon-tree-output/ember-font-awesome/utils/try-match.js | kellyselden/ember-cli-dependency-graph | 3dccbd6efe24819d9cb32e7e488e3fc672c6e118 | [
"MIT"
] | 4 | 2017-11-30T01:12:20.000Z | 2019-02-24T07:14:45.000Z | test/fixtures/code-corps-ember/addon-tree-output/ember-font-awesome/utils/try-match.js | kellyselden/ember-cli-dependency-graph | 3dccbd6efe24819d9cb32e7e488e3fc672c6e118 | [
"MIT"
] | 8 | 2017-12-07T01:01:47.000Z | 2018-12-24T11:59:40.000Z | test/fixtures/percy-web/addon-tree-output/ember-font-awesome/utils/try-match.js | kellyselden/ember-cli-dependency-graph | 3dccbd6efe24819d9cb32e7e488e3fc672c6e118 | [
"MIT"
] | 2 | 2017-11-28T05:56:29.000Z | 2018-02-28T21:22:32.000Z | define('ember-font-awesome/utils/try-match', ['exports'], function (exports) {
exports['default'] = function (object, regex) {
return typeof object === 'string' && object.match(regex);
};
}); | 39.8 | 78 | 0.653266 |
102ca5a52947bf7ba6642026b37bd4ef70897d3b | 293 | js | JavaScript | src/js/common.js | igorok-by/Take-App | 7d0deb62e90ed5507ad4fc91835d07e5340c1360 | [
"MIT"
] | null | null | null | src/js/common.js | igorok-by/Take-App | 7d0deb62e90ed5507ad4fc91835d07e5340c1360 | [
"MIT"
] | 1 | 2021-03-09T01:51:21.000Z | 2021-03-09T01:51:21.000Z | src/js/common.js | igorok-by/Antirab | 75358020709d51e6cf44321be7ad1fd0dce16a25 | [
"MIT"
] | null | null | null |
;
let menuLink = document.getElementById('menuLink');
let navBar = document.getElementById('navBar');
menuLink.addEventListener('click', function() {
menuLink.classList.toggle('menu-link--active');
navBar.classList.toggle('navbar');
navBar.classList.toggle('navbar--active');
}); | 29.3 | 51 | 0.723549 |
102d6aad11fec02fd5aeaec0c692a4797eb4cacd | 1,613 | js | JavaScript | src/pages/index.js | Al-Amin-Rahul/alaminrahul.github.io | b83f3495653d8c40d3341fa78a3e18eb8a0b75c1 | [
"MIT"
] | null | null | null | src/pages/index.js | Al-Amin-Rahul/alaminrahul.github.io | b83f3495653d8c40d3341fa78a3e18eb8a0b75c1 | [
"MIT"
] | null | null | null | src/pages/index.js | Al-Amin-Rahul/alaminrahul.github.io | b83f3495653d8c40d3341fa78a3e18eb8a0b75c1 | [
"MIT"
] | null | null | null | import React, { Component } from "react"
import Layout from "../components/layout"
class IndexPage extends Component{
render(){
return(
<Layout>
<section className="banner">
<div className="container-fluid">
<div className="row">
... | 44.805556 | 325 | 0.464352 |
102df34a2f0d784b817195fd7bfd24d8740c7977 | 2,072 | js | JavaScript | src/pages/404.js | andreybond79/eliasbarber-template | 9f26b692b51611681a7bd420424e6f5f2eb8d92d | [
"MIT"
] | null | null | null | src/pages/404.js | andreybond79/eliasbarber-template | 9f26b692b51611681a7bd420424e6f5f2eb8d92d | [
"MIT"
] | null | null | null | src/pages/404.js | andreybond79/eliasbarber-template | 9f26b692b51611681a7bd420424e6f5f2eb8d92d | [
"MIT"
] | null | null | null | import React, { useContext } from "react"
import Layout from "../components/Layout"
import Seo from "../components/Seo"
import { graphql } from "gatsby"
import { StaticImage } from "gatsby-plugin-image"
import PideCita from "../components/PideCita"
import {
Link,
useTranslation,
I18nextContext,
} from "gatsby-pl... | 28.777778 | 191 | 0.563707 |
102e6f3fcfc222e298806b085898ee8a198f206c | 3,374 | js | JavaScript | servicecode/commands/AwaitCodeRedirect.js | luciany/cloudrail-si-node-sdk | 1f41e693372f2bd517e9e59089f346cf52036052 | [
"ADSL"
] | 2 | 2019-10-03T21:21:03.000Z | 2019-10-03T23:38:46.000Z | servicecode/commands/AwaitCodeRedirect.js | samiravelar/cloudrail-si-node-sdk | d3c4bd2d830f5d4b65f11d4cbf56e9983ed6561a | [
"ADSL"
] | null | null | null | servicecode/commands/AwaitCodeRedirect.js | samiravelar/cloudrail-si-node-sdk | d3c4bd2d830f5d4b65f11d4cbf56e9983ed6561a | [
"ADSL"
] | null | null | null | "use strict";
var Helper_1 = require("../../helpers/Helper");
var VarAddress_1 = require("../VarAddress");
var UserError_1 = require("../../errors/UserError");
var url = require("url");
var Promise = require("bluebird");
var Settings_1 = require("../../Settings");
var CHECK_URL = "https://developers.cloudrail.com/api/m... | 46.219178 | 200 | 0.585951 |
102e8d1a45a3cedb48a7e245eb577dc96ae796b5 | 312 | js | JavaScript | test/unit/util.js | pepsipu/rctf | 438b6adf32dbb491efccc961f3a41d1c8ff8a414 | [
"BSD-3-Clause"
] | null | null | null | test/unit/util.js | pepsipu/rctf | 438b6adf32dbb491efccc961f3a41d1c8ff8a414 | [
"BSD-3-Clause"
] | null | null | null | test/unit/util.js | pepsipu/rctf | 438b6adf32dbb491efccc961f3a41d1c8ff8a414 | [
"BSD-3-Clause"
] | null | null | null | const test = require('ava')
const util = require('../../dist/server/util')
test('get score static', t => {
const score = util.scores.getScore('static', 100, 100, 20)
t.is(score, 100)
})
test('get score dynamic', t => {
const score = util.scores.getScore('dynamic', 100, 500, 20)
t.is(score, 484)
})
| 19.5 | 61 | 0.625 |
102ef6e30aeb4f2b0fdcb31859f54fbe8d5dc014 | 1,027 | js | JavaScript | src/_nav.js | locutermo/sisgep-front- | 3ded3c97db50d3ff98e0dfbffd1b47f3700de8dd | [
"MIT"
] | null | null | null | src/_nav.js | locutermo/sisgep-front- | 3ded3c97db50d3ff98e0dfbffd1b47f3700de8dd | [
"MIT"
] | null | null | null | src/_nav.js | locutermo/sisgep-front- | 3ded3c97db50d3ff98e0dfbffd1b47f3700de8dd | [
"MIT"
] | null | null | null | export default {
items: [
{
name: 'Inicio',
url: '/dashboard',
icon: 'icon-speedometer',
badge: {
variant: 'info',
text: 'NEW',
},
},
{
name: 'Productos',
url: '/products',
icon: 'icon-handbag',
// badge: {
// variant: 'info',
... | 17.40678 | 31 | 0.377799 |
102f2139fdd8317804a9fb2e0029c5342bd05d46 | 23,553 | js | JavaScript | docs/uibench-reactlike/dist/bundle.js | linjiajian999/inferno | 5998762ffa89015bdf1671419e1be492567b83f0 | [
"MIT"
] | 27 | 2021-03-08T19:13:13.000Z | 2022-02-07T00:30:28.000Z | docs/uibench-reactlike/dist/bundle.js | xwillxu/inferno | 521a4c39ca229345f76e43d6b2255fbf61b809a1 | [
"MIT"
] | null | null | null | docs/uibench-reactlike/dist/bundle.js | xwillxu/inferno | 521a4c39ca229345f76e43d6b2255fbf61b809a1 | [
"MIT"
] | 5 | 2021-03-13T02:42:15.000Z | 2022-01-17T22:22:11.000Z | !function(){"use strict";function e(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,n(e,t)}function n(e,t){return(n=Object.setPrototypeOf||function(e,n){return e.__proto__=n,e})(e,t)}var t=Array.isArray;function r(e){var n=typeof e;return"string"===n||"number"===n}function o(e){return void 0===e||... | 11,776.5 | 23,552 | 0.644334 |
102f29a51f981d7bff2d74795c57e5efc798e715 | 39 | js | JavaScript | packages/2002/08/16/index.js | antonmedv/year | ae5d8524f58eaad481c2ba599389c7a9a38c0819 | [
"MIT"
] | 7 | 2017-07-03T19:53:01.000Z | 2021-04-05T18:15:55.000Z | packages/2002/08/16/index.js | antonmedv/year | ae5d8524f58eaad481c2ba599389c7a9a38c0819 | [
"MIT"
] | 1 | 2018-09-05T11:53:41.000Z | 2018-12-16T12:36:21.000Z | packages/2002/08/16/index.js | antonmedv/year | ae5d8524f58eaad481c2ba599389c7a9a38c0819 | [
"MIT"
] | 2 | 2019-01-27T16:57:34.000Z | 2020-10-11T09:30:25.000Z | module.exports = new Date(2002, 7, 16)
| 19.5 | 38 | 0.692308 |
102f60dbf55c07421f14e3be823eacf609df9ba7 | 16,035 | js | JavaScript | js/__old/camera.js | djmisterjon/PIXI.ProStageMap | 31ad00f173f4d2c5ce99fd19711f687d09d84b45 | [
"MIT"
] | 30 | 2018-09-17T16:53:24.000Z | 2022-03-24T16:46:31.000Z | js/__old/camera.js | djmisterjon/PIXI.ProStageMap | 31ad00f173f4d2c5ce99fd19711f687d09d84b45 | [
"MIT"
] | 2 | 2019-07-10T15:44:04.000Z | 2019-10-20T15:31:57.000Z | js/__old/camera.js | djmisterjon/PIXI.ProStageMap | 31ad00f173f4d2c5ce99fd19711f687d09d84b45 | [
"MIT"
] | 5 | 2018-10-17T09:13:05.000Z | 2022-03-29T02:49:01.000Z | /*:
// PLUGIN □────────────────────────────────□CAMERA CORE ENGINE□───────────────────────────────┐
* @author □ Jonathan Lepage (dimisterjon),(jonforum)
* @plugindesc camera 2.5D engine with pixi-projection, all camera events store here
* V.0.1a
* License:© M.I.T
└──────────────────────────────────────────────────────... | 45.29661 | 191 | 0.552292 |
10304d4137b5ed2182d294a3246da659560c0fcc | 401 | js | JavaScript | storybook/stories/CenterView/index.js | maurusrv/reflash_ui | d2f316f71855c306e0d8325341ed9ebc0459a618 | [
"MIT"
] | null | null | null | storybook/stories/CenterView/index.js | maurusrv/reflash_ui | d2f316f71855c306e0d8325341ed9ebc0459a618 | [
"MIT"
] | null | null | null | storybook/stories/CenterView/index.js | maurusrv/reflash_ui | d2f316f71855c306e0d8325341ed9ebc0459a618 | [
"MIT"
] | null | null | null | import React from 'react'
import PropTypes from 'prop-types'
import { View } from 'react-native'
import tailwind from 'tailwind-rn'
export default function CenterView({ children }) {
return (
<View style={tailwind('flex-1 justify-center items-center')}>
{children}
</View>
)
}
CenterView.defaultProps... | 19.095238 | 65 | 0.693267 |
1030789ee4a05f2489ccd4105b559566c29e4f4f | 11,026 | js | JavaScript | GDJS/tests/tests/hot-reloader.js | Add00/GDevelop | b341bc5be0426e4902f709d8d0fb9670bae654df | [
"MIT"
] | 1 | 2020-06-20T12:06:12.000Z | 2020-06-20T12:06:12.000Z | GDJS/tests/tests/hot-reloader.js | Saurav1905/GDevelop | 2811eef4e072ab35cf35ca22562ccd9f854cae9f | [
"MIT"
] | null | null | null | GDJS/tests/tests/hot-reloader.js | Saurav1905/GDevelop | 2811eef4e072ab35cf35ca22562ccd9f854cae9f | [
"MIT"
] | null | null | null | // @ts-check
/**
* Tests for gdjs.InputManager and related.
*/
describe('gdjs.HotReloader.deepEqual', () => {
it('compares object, arrays, and primitives', () => {
expect(gdjs.HotReloader.deepEqual('a', 'a')).to.be(true);
expect(gdjs.HotReloader.deepEqual('a', 'b')).to.be(false);
expect(gdjs.HotReload... | 30.125683 | 153 | 0.58879 |
1030bc877cd68bf3ab33fbd48bf49f7986f52e98 | 1,356 | js | JavaScript | src/classes/Projectile.js | Zuhaitz/UNIR_Programacion_Minijuego | 0db0f8c88a52c7482868f463d16601e15a2eef6f | [
"MIT"
] | null | null | null | src/classes/Projectile.js | Zuhaitz/UNIR_Programacion_Minijuego | 0db0f8c88a52c7482868f463d16601e15a2eef6f | [
"MIT"
] | null | null | null | src/classes/Projectile.js | Zuhaitz/UNIR_Programacion_Minijuego | 0db0f8c88a52c7482868f463d16601e15a2eef6f | [
"MIT"
] | null | null | null | import Enemy from "./Enemy";
import Entity from "./Entity";
export default class Projectile extends Entity
{
constructor(scene, x, y, spriteName, enemies, direction, speed)
{
super(scene, x,y, spriteName);
//Ajustar el sprite y hitbox
this.setSize(3, 4);
this.setOffset(3, 4);
... | 25.584906 | 82 | 0.578909 |
1030fd2f44bc0c00e2c682e0d70a483344ad0315 | 2,316 | js | JavaScript | web-app/js/siesta-3.0.1-lite/lib/Siesta/Role/CanStyleOutput.js | department-of-veterans-affairs/ChartReview | 154ae29f065fa26b5a5fa262105cd862966cab38 | [
"Apache-2.0"
] | 8 | 2015-01-12T17:09:43.000Z | 2020-09-01T20:09:34.000Z | web-app/js/siesta-3.0.1-lite/lib/Siesta/Role/CanStyleOutput.js | department-of-veterans-affairs/ChartReview | 154ae29f065fa26b5a5fa262105cd862966cab38 | [
"Apache-2.0"
] | 1 | 2020-12-03T08:07:51.000Z | 2022-03-09T23:03:13.000Z | web-app/js/siesta-3.0.1-lite/lib/Siesta/Role/CanStyleOutput.js | department-of-veterans-affairs/ChartReview | 154ae29f065fa26b5a5fa262105cd862966cab38 | [
"Apache-2.0"
] | 2 | 2015-02-02T23:37:35.000Z | 2017-07-14T06:32:15.000Z | /*
Siesta 3.0.1
Copyright(c) 2009-2015 Bryntum AB
http://bryntum.com/contact
http://bryntum.com/products/siesta/license
*/
/**
@class Siesta.Role.CanStyleOutput
@private
A role, providing output coloring functionality
*/
Role('Siesta.Role.CanStyleOutput', {
has : {
/**
* @cfg {Bool... | 27.247059 | 148 | 0.35924 |
10318a78b775fb3dd122a5947eb190260922f9ec | 4,034 | js | JavaScript | thefencing/static/js/jquery.meanmenu.js | Lucifer-Kim/thefencing | 147499eac623ba6a4929dd17a1a1fd9b7bbb6c9a | [
"MIT"
] | null | null | null | thefencing/static/js/jquery.meanmenu.js | Lucifer-Kim/thefencing | 147499eac623ba6a4929dd17a1a1fd9b7bbb6c9a | [
"MIT"
] | null | null | null | thefencing/static/js/jquery.meanmenu.js | Lucifer-Kim/thefencing | 147499eac623ba6a4929dd17a1a1fd9b7bbb6c9a | [
"MIT"
] | null | null | null | !function(e){"use strict";e.fn.meanmenu=function(n){var a={meanMenuTarget:jQuery(this),meanMenuContainer:"body",meanMenuClose:"X",meanMenuCloseSize:"18px",meanMenuOpen:"<span /><span /><span />",meanRevealPosition:"right",meanRevealPositionDistance:"0",meanRevealColour:"",meanScreenWidth:"767",meanNavPush:"",meanShowCh... | 4,034 | 4,034 | 0.70476 |
1031e385d0a666d7b0be96151bd27994f793f9a4 | 2,482 | js | JavaScript | temperature/temperature.js | iluque95/m365dashboard_api | 900f2b0e11647c2f402fe7f47d7792ec2e427073 | [
"MIT"
] | null | null | null | temperature/temperature.js | iluque95/m365dashboard_api | 900f2b0e11647c2f402fe7f47d7792ec2e427073 | [
"MIT"
] | null | null | null | temperature/temperature.js | iluque95/m365dashboard_api | 900f2b0e11647c2f402fe7f47d7792ec2e427073 | [
"MIT"
] | null | null | null | module.exports = (temperatureModel) => {
class Temperature {
async create(params) {
return new Promise(async (resolve, reject) => {
try {
// validacion: if (!params.km) throw new Error('El km es obligatorio')
//params.creationDate = this.f... | 29.547619 | 94 | 0.398066 |
10336ce4e464e253957a4605d57fc13c44a367dc | 2,522 | js | JavaScript | src/coc/ComponentButtons.js | oricis/JS-UI | 376b659262991f91f95e2b33260f96ba165f8d52 | [
"MIT"
] | null | null | null | src/coc/ComponentButtons.js | oricis/JS-UI | 376b659262991f91f95e2b33260f96ba165f8d52 | [
"MIT"
] | null | null | null | src/coc/ComponentButtons.js | oricis/JS-UI | 376b659262991f91f95e2b33260f96ba165f8d52 | [
"MIT"
] | null | null | null | console.log('Loaded ./coc/ComponentButtons.js'); // HACK:
class ComponentButtons extends BaseComponent
{
ACCEPT_BUTTON_SELECTOR = 'button[data-action="accept"]';
CANCEL_BUTTON_SELECTOR = 'button[data-action="cancel"]';
constructor(componentSelector, acceptButtonSelector, cancelButtonSelector) // void
... | 27.714286 | 87 | 0.551546 |
1033aa20bd4ed5b353261e5b493697a6f2232c1e | 2,408 | js | JavaScript | src/router/index.js | cvv123456/vue-admin | 47bba1f185f17c64e674ef5cdd3ca1ced087b365 | [
"MIT"
] | 1 | 2020-07-28T07:36:53.000Z | 2020-07-28T07:36:53.000Z | src/router/index.js | cvv123456/vue-admin | 47bba1f185f17c64e674ef5cdd3ca1ced087b365 | [
"MIT"
] | null | null | null | src/router/index.js | cvv123456/vue-admin | 47bba1f185f17c64e674ef5cdd3ca1ced087b365 | [
"MIT"
] | null | null | null | import Vue from 'vue'
import Router from 'vue-router'
Vue.use(Router)
// /* Layout */
import Layout from '@/layout'
const router=new Router({
mode:"history",
routes:[
{
path: '/',
component: Layout,
redirect: '/origanizational',
children: [{
path: 'origanizational',
nam... | 22.716981 | 67 | 0.495847 |
1033adf5adb70311275904e8ae111e1972a83d0b | 1,285 | js | JavaScript | node_modules/@rimble/icons/es/md/MicNone.js | astarinmymind/decentralizedbounty | 8f285ba864f80e5bbb5f5cdf2f7f3f26f1de4d76 | [
"MIT"
] | 5 | 2021-02-08T20:51:36.000Z | 2022-01-21T05:29:48.000Z | node_modules/@rimble/icons/es/md/MicNone.js | astarinmymind/decentralizedbounty | 8f285ba864f80e5bbb5f5cdf2f7f3f26f1de4d76 | [
"MIT"
] | 6 | 2019-12-05T19:53:24.000Z | 2020-02-21T20:31:41.000Z | node_modules/@rimble/icons/es/md/MicNone.js | astarinmymind/decentralizedbounty | 8f285ba864f80e5bbb5f5cdf2f7f3f26f1de4d76 | [
"MIT"
] | 7 | 2021-02-08T20:51:40.000Z | 2021-10-31T11:25:45.000Z | function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
i... | 45.892857 | 317 | 0.645914 |
1033d418df1d54529f61ba26e63da15c32a663a0 | 521 | js | JavaScript | JS WEB/Papazov qnuari 2021/React-My-Pets/client/src/components/Footer/Footer.js | nikindtmas1/SoftUni---Software---Engineering | f24d5893016450470301ee82134b678beae71b20 | [
"MIT"
] | null | null | null | JS WEB/Papazov qnuari 2021/React-My-Pets/client/src/components/Footer/Footer.js | nikindtmas1/SoftUni---Software---Engineering | f24d5893016450470301ee82134b678beae71b20 | [
"MIT"
] | 1 | 2022-01-02T23:06:28.000Z | 2022-01-02T23:06:28.000Z | JS WEB/Papazov qnuari 2021/React-My-Pets/client/src/components/Footer/Footer.js | nikindtmas1/SoftUni-Software-Engineering | 955adc8eb457dde0745590db5dcd6e7f79a8ebc2 | [
"MIT"
] | null | null | null | const Footer = () => {
return (
<footer id="site-footer">
<p>@PetMyPet</p>
<style jsx>{`
footer {
margin-top: auto;
text-align: center;
background: #234465;
}
footer p {
... | 19.296296 | 36 | 0.357006 |
10345f7fb71599ae678115f9d245da0e15e0126d | 4,962 | js | JavaScript | src/svgPath/a2c.js | hamger/cvs | 594d9221e39d104915c532ffd7b04cfc28e9a3ab | [
"MIT"
] | 2 | 2018-10-16T06:45:04.000Z | 2019-01-09T08:20:39.000Z | src/svgPath/a2c.js | hamger/cvs | 594d9221e39d104915c532ffd7b04cfc28e9a3ab | [
"MIT"
] | null | null | null | src/svgPath/a2c.js | hamger/cvs | 594d9221e39d104915c532ffd7b04cfc28e9a3ab | [
"MIT"
] | 3 | 2018-09-11T07:06:17.000Z | 2018-09-17T12:14:09.000Z | // https://github.com/colinmeinke/svg-arc-to-cubic-bezier
//
// Convert an arc to a sequence of cubic bézier curves
//
/* eslint-disable */
const TAU = Math.PI * 2
/* eslint-disable space-infix-ops */
// Calculate an angle between two unit vectors
//
// Since we measure angle between radii of circular arcs,
// we can... | 25.060606 | 77 | 0.585852 |
10346a50f3e9aa69507a9cb407b10a4e48091d31 | 339 | js | JavaScript | src/shader-impl/ray-tracing.js | HeGanjie/ash-engine | 89f1e85a052359adf4336a90f843474441797056 | [
"MIT"
] | 1 | 2021-09-02T09:48:39.000Z | 2021-09-02T09:48:39.000Z | src/shader-impl/ray-tracing.js | HeGanjie/ash-engine | 89f1e85a052359adf4336a90f843474441797056 | [
"MIT"
] | null | null | null | src/shader-impl/ray-tracing.js | HeGanjie/ash-engine | 89f1e85a052359adf4336a90f843474441797056 | [
"MIT"
] | null | null | null | import rayTracingVert from '../shader-snippets/ray-tracing.vert'
import rayTracingFrag from '../shader-snippets/ray-tracing.frag'
export const rayTracingShaderImpl = {
genUniforms: material => {
// const {kS} = material
return {
// u_ks: kS
}
},
vert: rayTracingVert,
frag: ra... | 18.833333 | 65 | 0.640118 |
10347f90a5cbdf97c6001da077818a6faeea3fcf | 6,888 | js | JavaScript | src/verror.js | GiorgioRegni/jsutils | 1406681895e44c1cad9f9ec1a68bd6547ce44e61 | [
"Apache-2.0"
] | null | null | null | src/verror.js | GiorgioRegni/jsutils | 1406681895e44c1cad9f9ec1a68bd6547ce44e61 | [
"Apache-2.0"
] | null | null | null | src/verror.js | GiorgioRegni/jsutils | 1406681895e44c1cad9f9ec1a68bd6547ce44e61 | [
"Apache-2.0"
] | null | null | null | /*
* verror.js: richer JavaScript errors
*/
var mod_assert = require('assert');
var mod_util = require('util');
var mod_extsprintf = require('extsprintf');
/*
* Public interface
*/
/* So you can 'var VError = require('verror')' */
module.exports = VError;
/* For compatibility */
VError.VError = VError;
/* Other... | 27.774194 | 80 | 0.684959 |
10348288658686ec3438f4cb54d1144ce0dcc823 | 478 | js | JavaScript | src/context/ThemeContext.js | mrcMesen/CoffeeShop_RN_SysCo | 9aa2ea70bac8137e5e22f08a159bd8dfbd8f2db5 | [
"MIT"
] | null | null | null | src/context/ThemeContext.js | mrcMesen/CoffeeShop_RN_SysCo | 9aa2ea70bac8137e5e22f08a159bd8dfbd8f2db5 | [
"MIT"
] | null | null | null | src/context/ThemeContext.js | mrcMesen/CoffeeShop_RN_SysCo | 9aa2ea70bac8137e5e22f08a159bd8dfbd8f2db5 | [
"MIT"
] | 1 | 2021-05-14T00:51:44.000Z | 2021-05-14T00:51:44.000Z | import React, { createContext, useState } from "react";
export const ThemeContext = createContext();
const ThemeLight = {
palette: {
primary: "#239b56",
secondary: "#7e5109",
ligth: "#DBC2AF",
cancel: "#e70012",
},
};
export const ThemeProvider = ({ children }) => {
const [theme, setTheme] = us... | 17.703704 | 55 | 0.589958 |
10348dde5408147d60fba83a434d6f316eff6e00 | 10,733 | js | JavaScript | src/main/webapp/static/jquery-validation/1.11.0/additional-methods.min.js | zhaozh2/companyhome | e87db907f4aa1d5058bb559e80e69bc873efc31c | [
"Apache-2.0"
] | null | null | null | src/main/webapp/static/jquery-validation/1.11.0/additional-methods.min.js | zhaozh2/companyhome | e87db907f4aa1d5058bb559e80e69bc873efc31c | [
"Apache-2.0"
] | 8 | 2020-09-09T19:50:23.000Z | 2022-02-01T01:02:39.000Z | src/main/webapp/static/jquery-validation/1.11.0/additional-methods.min.js | zhaozh2/companyhome | e87db907f4aa1d5058bb559e80e69bc873efc31c | [
"Apache-2.0"
] | 3 | 2020-03-01T02:54:02.000Z | 2022-01-08T11:29:18.000Z | /*! jQuery Validation Plugin - v1.11.0 - 2/4/2013
* https://github.com/jzaefferer/jquery-validation
* Copyright (c) 2013 Jörn Zaefferer; Licensed MIT */
(function(){function e(e){return e.replace(/<.[^<>]*?>/g," ").replace(/ | /gi," ").replace(/[.(),;:!?%#$'"_+=\/\-]*/g,"")}jQuery.validator.addMethod("maxW... | 2,683.25 | 10,577 | 0.584739 |
1035302dcd08b2b3ac655daa90c1bd7dcf328e8b | 5,156 | js | JavaScript | frontend/src/modules/iam/iamService.js | landeddeveloper/idpt | 1d051ffd428e85b7a04df2b73d0d3633b9931264 | [
"MIT"
] | 23 | 2020-07-13T01:47:33.000Z | 2021-11-09T15:22:43.000Z | frontend/src/modules/iam/iamService.js | landeddeveloper/idpt | 1d051ffd428e85b7a04df2b73d0d3633b9931264 | [
"MIT"
] | 30 | 2020-07-08T09:52:14.000Z | 2022-03-08T23:38:24.000Z | frontend/src/modules/iam/iamService.js | landeddeveloper/idpt | 1d051ffd428e85b7a04df2b73d0d3633b9931264 | [
"MIT"
] | 5 | 2020-08-19T12:00:34.000Z | 2021-03-02T08:21:38.000Z | import gql from 'graphql-tag';
import graphqlClient from 'modules/shared/graphql/graphqlClient';
export default class IamService {
static async enable(ids) {
return this._changeStatus(ids, false);
}
static async disable(ids) {
return this._changeStatus(ids, true);
}
static async _changeStatus(ids, ... | 19.907336 | 65 | 0.474205 |
10355841fd91ed9a282d8fcbefb49a5524b1c960 | 947 | js | JavaScript | static/html/classt4_1_1pdf_1_1_a_e_s_cryptor_holder.js | AdobeDocs/dc-testing | a69533527c3646ea8b0072b35df51ae50b07dae5 | [
"Apache-2.0"
] | null | null | null | static/html/classt4_1_1pdf_1_1_a_e_s_cryptor_holder.js | AdobeDocs/dc-testing | a69533527c3646ea8b0072b35df51ae50b07dae5 | [
"Apache-2.0"
] | 9 | 2021-10-14T05:18:57.000Z | 2022-03-10T05:39:14.000Z | static/html/classt4_1_1pdf_1_1_a_e_s_cryptor_holder.js | AdobeDocs/dc-testing | a69533527c3646ea8b0072b35df51ae50b07dae5 | [
"Apache-2.0"
] | null | null | null | var classt4_1_1pdf_1_1_a_e_s_cryptor_holder =
[
[ "AESCryptorHolder", "classt4_1_1pdf_1_1_a_e_s_cryptor_holder.html#aa9f8af4e37338beb559b7fcb03e41efc", null ],
[ "AESCryptorHolder", "classt4_1_1pdf_1_1_a_e_s_cryptor_holder.html#a3bc96495ea6b8e4d6f0ce18dc5dc0c3e", null ],
[ "AESCryptorHolder", "classt4_1_1pd... | 86.090909 | 116 | 0.818374 |
1036920bc220962a43a24c407939d15735fa5cee | 2,919 | js | JavaScript | tile-block.js | hfu/tile-block | 976c0123fa3adc65b54cbb334fe0ed634b8ea252 | [
"Unlicense"
] | 3 | 2018-04-04T10:42:08.000Z | 2021-09-09T16:13:23.000Z | tile-block.js | hfu/tile-block | 976c0123fa3adc65b54cbb334fe0ed634b8ea252 | [
"Unlicense"
] | 3 | 2018-08-27T08:28:39.000Z | 2018-08-27T08:30:16.000Z | tile-block.js | hfu/tile-block | 976c0123fa3adc65b54cbb334fe0ed634b8ea252 | [
"Unlicense"
] | null | null | null | const fs = require('fs')
const MBTiles = require('@mapbox/mbtiles')
const express = require('express')
const spdy = require('spdy')
const cors = require('cors')
const config = require('config')
const app = express()
app.use(cors())
let mbtiles = {}
/* get the port: override by command line parameter */
let port = con... | 25.605263 | 82 | 0.536485 |
1036b65178771649f5dd5ce91f574b554debba7b | 479 | js | JavaScript | server/models/user-model.js | Hack-Diversity/cafe_client | 8f240baddef9b1abfb63c0e24725d340935b5634 | [
"MIT"
] | 1 | 2021-08-20T22:39:51.000Z | 2021-08-20T22:39:51.000Z | app/models/user.js | kamsahn/pokemon-tcg-express | dfea0fb34db5cb1b6ccb95cfbb4c286a524a7f32 | [
"Xnet",
"X11"
] | 22 | 2021-01-30T16:01:49.000Z | 2021-02-23T09:37:09.000Z | server/models/user-model.js | Hack-Diversity/cafe_client | 8f240baddef9b1abfb63c0e24725d340935b5634 | [
"MIT"
] | 2 | 2020-10-09T18:17:27.000Z | 2020-10-18T10:06:12.000Z | const mongoose = require('mongoose')
const userSchema = new mongoose.Schema({
email: {
type: String,
required: true,
unique: true
},
hashedPassword: {
type: String,
required: true
},
token: String
}, {
timestamps: true,
toObject: {
// remove `hashedPassword` field when we call `.t... | 18.423077 | 61 | 0.626305 |
1036d0418eb6edab86b93737a2d57e69229512e2 | 4,661 | js | JavaScript | src/modules/Requester.js | bennettscience/gas-canvasapi | 87e2ccdc6760d87b8338a03c7e82ab6a1650e9f6 | [
"MIT"
] | 2 | 2021-04-20T20:27:31.000Z | 2021-04-26T01:44:49.000Z | src/modules/Requester.js | bennettscience/gas-canvasapi | 87e2ccdc6760d87b8338a03c7e82ab6a1650e9f6 | [
"MIT"
] | null | null | null | src/modules/Requester.js | bennettscience/gas-canvasapi | 87e2ccdc6760d87b8338a03c7e82ab6a1650e9f6 | [
"MIT"
] | null | null | null | import {NotImplementedError, IncompleteRequestError} from './Error.js';
import {serialize_} from './Utils.js';
/**
* @typedef {Object} CanvasResponse
* @property {String} json HTTP response content
* @property {Int} status HTTP status code
* @property {String} headers HTTP response headers... | 29.878205 | 145 | 0.624973 |
1036dbd3150adf131b5217051e27fe2ed4a54de2 | 569 | js | JavaScript | src/components/students/exercise/SelectExercise.js | nivida/vv-hackathon | 8c0056a93ba4394c0c69aaa596e5207a5e5d5a41 | [
"MIT"
] | 1 | 2020-04-14T11:18:44.000Z | 2020-04-14T11:18:44.000Z | src/components/students/exercise/SelectExercise.js | nivida/vv-hackathon | 8c0056a93ba4394c0c69aaa596e5207a5e5d5a41 | [
"MIT"
] | 4 | 2021-03-10T13:36:08.000Z | 2022-02-27T02:33:50.000Z | src/components/students/exercise/SelectExercise.js | nivida/vv-hackathon | 8c0056a93ba4394c0c69aaa596e5207a5e5d5a41 | [
"MIT"
] | 1 | 2020-04-16T19:59:53.000Z | 2020-04-16T19:59:53.000Z | import * as React from "react";
import {Radio} from "antd";
import SubmittableExercise from "./shared/SubmittableExercise";
const SelectExercise = ({exercise}) => {
const radioStyle = {
display: 'block',
height: '30px',
lineHeight: '30px',
};
return (
<SubmittableExercise exercise={exercise}>
... | 22.76 | 80 | 0.623902 |
1036f525592a14c7b85ffe6b5c604c32451b17ad | 5,129 | js | JavaScript | src/renderers/shaders/ShaderChunk/lights_pars_begin.glsl.js | mkhorton/three.js | ba7692384ce7d319b2003c825f0ac998d7a21882 | [
"MIT"
] | 497 | 2018-01-24T04:32:07.000Z | 2022-03-29T08:47:40.000Z | src/renderers/shaders/ShaderChunk/lights_pars_begin.glsl.js | mkhorton/three.js | ba7692384ce7d319b2003c825f0ac998d7a21882 | [
"MIT"
] | 29 | 2019-03-06T16:37:33.000Z | 2021-05-11T09:33:54.000Z | src/renderers/shaders/ShaderChunk/lights_pars_begin.glsl.js | mkhorton/three.js | ba7692384ce7d319b2003c825f0ac998d7a21882 | [
"MIT"
] | 179 | 2018-01-24T04:29:39.000Z | 2022-03-31T02:13:42.000Z | export default /* glsl */`
uniform bool receiveShadow;
uniform vec3 ambientLightColor;
uniform vec3 lightProbe[ 9 ];
// get the irradiance (radiance convolved with cosine lobe) at the point 'normal' on the unit sphere
// source: https://graphics.stanford.edu/papers/envmap/envmap.pdf
vec3 shGetIrradianceAt( in vec3 nor... | 24.193396 | 156 | 0.737376 |
1036f822b9c1247105bcf1c94d01e624a405c786 | 1,375 | js | JavaScript | examples/example_0.js | madhums/LeafletPlayback | b9b6ed5bf58a3dce83706f1f7fc3a22348e6cb21 | [
"BSD-2-Clause"
] | null | null | null | examples/example_0.js | madhums/LeafletPlayback | b9b6ed5bf58a3dce83706f1f7fc3a22348e6cb21 | [
"BSD-2-Clause"
] | null | null | null | examples/example_0.js | madhums/LeafletPlayback | b9b6ed5bf58a3dce83706f1f7fc3a22348e6cb21 | [
"BSD-2-Clause"
] | null | null | null | $(function() {
// Setup leaflet map
var map = new L.Map('map');
var basemapLayer = new L.TileLayer('https://api.mapbox.com/v4/mapbox.streets/{z}/{x}/{y}.png?access_token=pk.eyJ1Ijoibm9tYWRkZXYiLCJhIjoiY2pwMzJicmNjMGRoZzNxbW5saGF5d2t2eCJ9.SIa-W0ZxIqU726w6KJAw4Q');
let json = window.trekker.filter(d... | 31.976744 | 203 | 0.506909 |
10373d87c04d314b95b6013ad84a556cb1bb1e44 | 618 | js | JavaScript | src/components/Stat/Stat.js | patrikPu/patrikp_rpg | 36581fac4b69bced3729961e002778f49c20bc3c | [
"MIT"
] | 42 | 2020-01-16T17:40:11.000Z | 2020-07-01T12:57:07.000Z | src/components/Stat/Stat.js | patrik-pk/simple-rpg | 36581fac4b69bced3729961e002778f49c20bc3c | [
"MIT"
] | 2 | 2022-02-15T01:34:20.000Z | 2022-02-27T23:40:50.000Z | src/components/Stat/Stat.js | patrikPu/patrikp_rpg | 36581fac4b69bced3729961e002778f49c20bc3c | [
"MIT"
] | 4 | 2020-01-17T21:58:36.000Z | 2020-01-19T06:41:27.000Z | import React from 'react'
export default ({ name, value, enemy }) => {
const strongStatClass = () => {
if (enemy && enemy.type === 'Boss' && (name === 'M-Armor:' || name === 'R-Armor:')) {
const meleeArmor = enemy.meleeArmor
const rangedArmor = enemy.rangedArmor
con... | 28.090909 | 93 | 0.506472 |
1038323cda1a800b173256edbdbdf0634d6787b3 | 3,984 | js | JavaScript | server/dist/modules/notifications/infra/typeorm/schemas/Notification.js | pauloreis7/GoBarber | 83e17b35626a5e44ebdf85626ba936b7bb16c669 | [
"MIT"
] | null | null | null | server/dist/modules/notifications/infra/typeorm/schemas/Notification.js | pauloreis7/GoBarber | 83e17b35626a5e44ebdf85626ba936b7bb16c669 | [
"MIT"
] | 3 | 2020-07-04T20:38:57.000Z | 2022-02-27T07:45:53.000Z | server/dist/modules/notifications/infra/typeorm/schemas/Notification.js | pauloreis7/GoBarber | 83e17b35626a5e44ebdf85626ba936b7bb16c669 | [
"MIT"
] | null | null | null | "use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var _typeorm = require("typeorm");
var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _dec11, _dec12, _dec13, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descri... | 59.462687 | 724 | 0.737199 |
10388520213b351c43344d0f0bbbc74fa7e42d5b | 283 | js | JavaScript | src/js/app.js | Ne184/Adding-elements-dynamically | 7ba2c93aa4bcd55b1a5978435a2f8794dcacb35d | [
"Apache-2.0"
] | null | null | null | src/js/app.js | Ne184/Adding-elements-dynamically | 7ba2c93aa4bcd55b1a5978435a2f8794dcacb35d | [
"Apache-2.0"
] | null | null | null | src/js/app.js | Ne184/Adding-elements-dynamically | 7ba2c93aa4bcd55b1a5978435a2f8794dcacb35d | [
"Apache-2.0"
] | null | null | null | import "../scss/app.scss";
window.addEventListener("DOMContentLoaded", () => {
// This block will be executed once the page is loaded and ready
// const button = document.querySelector(".button");
// button.addEventListener("click", () => {
// alert("💣");
// });
});
| 21.769231 | 66 | 0.618375 |
1038c858f114f54a23bc53af5afb09600f43679f | 345 | js | JavaScript | src/components/YourQuery/FastaTextbox/presentation.js | r06942072/frontend_BLASTquery | bbb12300930b3f606b628498452d9f069f69a267 | [
"MIT"
] | null | null | null | src/components/YourQuery/FastaTextbox/presentation.js | r06942072/frontend_BLASTquery | bbb12300930b3f606b628498452d9f069f69a267 | [
"MIT"
] | 3 | 2019-07-10T15:08:05.000Z | 2019-07-25T18:45:32.000Z | src/components/YourQuery/FastaTextbox/presentation.js | r06942072/frontend_BLASTquery | bbb12300930b3f606b628498452d9f069f69a267 | [
"MIT"
] | null | null | null | import React from 'react';
function FastaTextbox(props) {
let fastaWidth = props.data.windowWidth/20;
let fastaHeight = props.data.windowHeight/50;
return (
<div>
<p>*FastaTextBox</p>
<textarea cols={fastaWidth} rows={fastaHeight} />
</div>
);
}
exp... | 24.642857 | 62 | 0.594203 |
103a9096e7ebe5595b3af5030a7d13d88e791455 | 490 | js | JavaScript | test/test-79-npm/node-libcurl/node-libcurl.js | plasmo-foss/pkg | d9508881313581697a4632c217c3af6a6ca0490d | [
"MIT"
] | 16,585 | 2017-04-29T18:12:54.000Z | 2020-05-27T03:51:27.000Z | test/test-79-npm/node-libcurl/node-libcurl.js | plasmo-foss/pkg | d9508881313581697a4632c217c3af6a6ca0490d | [
"MIT"
] | 1,022 | 2020-05-28T11:10:24.000Z | 2022-03-31T22:48:18.000Z | test/test-79-npm/node-libcurl/node-libcurl.js | plasmo-foss/pkg | d9508881313581697a4632c217c3af6a6ca0490d | [
"MIT"
] | 779 | 2017-04-29T18:13:06.000Z | 2020-05-26T19:35:53.000Z | 'use strict';
// apt-get install libcurl4-openssl-dev
// IF YOU USE 32-BIT NODEJS:
// patch /usr/include/curl/curlbuild.h
// #define CURL_SIZEOF_LONG 4
// #define CURL_SIZEOF_CURL_OFF_T 4
var Curl = require('node-libcurl').Curl;
var curl = new Curl();
curl.setOpt('URL', 'www.yandex.ru');
curl.setOpt('FOLLOWLOCATION'... | 23.333333 | 54 | 0.67551 |
103ae3a6665e523c930086ec68178cf2b931949e | 3,205 | js | JavaScript | test/SIMD.uint16x8.asmjs/testShuffle.js | goyakin/ChakraCore | 9d9fea268ce1ae6c00873fd966a6a2be048f3455 | [
"MIT"
] | 1 | 2021-11-07T18:56:21.000Z | 2021-11-07T18:56:21.000Z | test/SIMD.uint16x8.asmjs/testShuffle.js | MaxMood96/ChakraCore | 9d9fea268ce1ae6c00873fd966a6a2be048f3455 | [
"MIT"
] | null | null | null | test/SIMD.uint16x8.asmjs/testShuffle.js | MaxMood96/ChakraCore | 9d9fea268ce1ae6c00873fd966a6a2be048f3455 | [
"MIT"
] | 1 | 2021-09-04T23:26:57.000Z | 2021-09-04T23:26:57.000Z | //-------------------------------------------------------------------------------------------------------
// Copyright (C) Microsoft Corporation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
//----------------------------... | 36.420455 | 172 | 0.547582 |
103b073aa160c389fbc859916dfb52fe66eb4794 | 524 | js | JavaScript | app/config/development.conf.js | GTrebaol/hr-reminder | 350f421291d20cd4bdd36e596bd90b4c4cabde79 | [
"MIT"
] | null | null | null | app/config/development.conf.js | GTrebaol/hr-reminder | 350f421291d20cd4bdd36e596bd90b4c4cabde79 | [
"MIT"
] | null | null | null | app/config/development.conf.js | GTrebaol/hr-reminder | 350f421291d20cd4bdd36e596bd90b4c4cabde79 | [
"MIT"
] | null | null | null | /**
* Development database configuration file
*/
var db_hostname = process.env.DB_PORT_3306_TCP_ADDR,
db_username = process.env.DB_USERNAME,
db_password = process.env.DB_PASSWORD,
db_database = process.env.DB_DATABASE;
module.exports.db = {
host: db_hostname === undefined ? '127.0.0.1' :... | 32.75 | 66 | 0.683206 |
103b07f381d5a2802869663a6d3a88337ac661e4 | 1,666 | js | JavaScript | src/resources/1_0_2/profiles/enrollmentrequest/query.js | rafmos/graphql-fhir | 1f5a6c244e6446de765dff8a149d9bae354ba2d5 | [
"MIT"
] | null | null | null | src/resources/1_0_2/profiles/enrollmentrequest/query.js | rafmos/graphql-fhir | 1f5a6c244e6446de765dff8a149d9bae354ba2d5 | [
"MIT"
] | null | null | null | src/resources/1_0_2/profiles/enrollmentrequest/query.js | rafmos/graphql-fhir | 1f5a6c244e6446de765dff8a149d9bae354ba2d5 | [
"MIT"
] | null | null | null | // Schemas
const EnrollmentRequestSchema = require('../../schemas/enrollmentrequest.schema');
const BundleSchema = require('../../schemas/bundle.schema');
// Arguments
const EnrollmentRequestArgs = require('../../parameters/enrollmentrequest.parameters');
const CommonArgs = require('../../parameters/common.parameters'... | 28.724138 | 87 | 0.77431 |
103c1ede41345ff26ac528e79e791fe21bcf1d41 | 2,546 | js | JavaScript | src/templates/product.js | olitaylor/firebase-graphql-api-interface | 0cfbc33cbaed27f82347bfb642a3ea078148487c | [
"MIT"
] | null | null | null | src/templates/product.js | olitaylor/firebase-graphql-api-interface | 0cfbc33cbaed27f82347bfb642a3ea078148487c | [
"MIT"
] | 7 | 2021-03-09T12:37:22.000Z | 2022-02-18T06:00:38.000Z | src/templates/product.js | olitaylor/firebase-graphql-api-interface | 0cfbc33cbaed27f82347bfb642a3ea078148487c | [
"MIT"
] | null | null | null | import React, { Fragment } from "react"
import { Link, graphql } from "gatsby"
import { Query } from 'react-apollo'
import gql from 'graphql-tag'
import Layout from "../components/layout"
import SEO from "../components/seo"
import { Table, Header, Segment } from 'semantic-ui-react'
// This query is executed at build ... | 30.674699 | 118 | 0.510212 |
103c4af40f888d5d3e5b61924915a1269757b126 | 1,920 | js | JavaScript | conquerSquad/client/src/components/Dialog/Dialog.js | huhangbo/conquer-squad-master | 482ca1716381ad39b38b96fe8ee1d5b41ffe75bf | [
"MIT"
] | 1 | 2021-09-06T11:08:42.000Z | 2021-09-06T11:08:42.000Z | conquerSquad/client/src/components/Dialog/Dialog.js | huhangbo/conquer-squad-master | 482ca1716381ad39b38b96fe8ee1d5b41ffe75bf | [
"MIT"
] | null | null | null | conquerSquad/client/src/components/Dialog/Dialog.js | huhangbo/conquer-squad-master | 482ca1716381ad39b38b96fe8ee1d5b41ffe75bf | [
"MIT"
] | null | null | null | import {renderElement, clearElement} from "../../Utils/modal";
import styles from "./Dialog.less"
import * as ReactDOM from "react-dom";
export default function Dialog (props) {
const {visible=false, title, onOk=false, okTitle="确认", handleOk, onCancel=false, cancelTitle="取消", handleCancel, children} = props
c... | 36.923077 | 134 | 0.479688 |
103c741044028e4650956dfc2525aedc081e6844 | 506 | js | JavaScript | examples/index.js | matjas/Backbone.ViewStructure | d8afdeddca3163e21ca8d1e109cecbd1836e7543 | [
"MIT"
] | 2 | 2018-05-29T03:27:31.000Z | 2019-05-14T11:44:30.000Z | examples/index.js | matjas/Backbone.ViewStructure | d8afdeddca3163e21ca8d1e109cecbd1836e7543 | [
"MIT"
] | null | null | null | examples/index.js | matjas/Backbone.ViewStructure | d8afdeddca3163e21ca8d1e109cecbd1836e7543 | [
"MIT"
] | null | null | null | const ModelView = require('./modelView/modelView');
const CollectionView = require('./collectionView/collectionView');
const CollectionModelView = require('./collectionModelView/collectionModelView');
const LayoutView = require('./layoutView/layoutView');
const LayoutCollection = require('./layoutCollection/layoutColle... | 38.923077 | 81 | 0.786561 |
103c8711d50937aeecf763621d02c21e740d3e5d | 1,814 | js | JavaScript | script/embed-styles.js | dt-83/buy-button-js | 973c0f1c43d1eb607cb4d6e1a2732da6cced5cba | [
"MIT"
] | 199 | 2016-11-04T19:24:35.000Z | 2022-03-21T20:59:48.000Z | script/embed-styles.js | dt-83/buy-button-js | 973c0f1c43d1eb607cb4d6e1a2732da6cced5cba | [
"MIT"
] | 252 | 2016-11-05T02:03:59.000Z | 2022-03-29T11:40:54.000Z | script/embed-styles.js | dt-83/buy-button-js | 973c0f1c43d1eb607cb4d6e1a2732da6cced5cba | [
"MIT"
] | 99 | 2016-11-07T19:58:39.000Z | 2022-02-11T11:38:59.000Z | var fs = require('fs');
var postcss = require('postcss');
var presetenv = require('postcss-preset-env')({
stage: 1,
features: {
'custom-properties': {
preserve: false,
},
'color-mod-function': true,
},
});
var cssimports = require('postcss-import');
var csscalc = require('postcss-calc');
var em... | 28.793651 | 129 | 0.638368 |
103ca54bb57adcfde834345c810678f9f2739559 | 771 | js | JavaScript | test/class/class.js | LXSMNSYC/simply-strong | 0eb9b48b90496ac4f61fafa6a43e9fcb3517a80b | [
"MIT"
] | 1 | 2019-04-16T08:12:10.000Z | 2019-04-16T08:12:10.000Z | test/class/class.js | LXSMNSYC/simply-strong | 0eb9b48b90496ac4f61fafa6a43e9fcb3517a80b | [
"MIT"
] | 2 | 2020-04-04T06:52:05.000Z | 2020-07-16T22:44:15.000Z | test/class/class.js | LXSMNSYC/simply-strong | 0eb9b48b90496ac4f61fafa6a43e9fcb3517a80b | [
"MIT"
] | null | null | null | /* eslint-disable no-undef */
import assert from 'assert';
import { Class } from '../../src';
describe('Class', () => {
describe('#is', () => {
it('should return false if the checked value is not an instance of the given class', () => {
assert(Class(Array).is({}) === false);
});
it('should return t... | 30.84 | 96 | 0.555123 |
103cf99e9ae35f01725a49c3bc857e43ed253150 | 1,046 | js | JavaScript | packages/slate-html-serializer/benchmark/index.js | OpusCapita/slate | 055f32bf18d22f44018aa6f42da170502f58ee22 | [
"MIT"
] | 1 | 2021-04-06T04:43:48.000Z | 2021-04-06T04:43:48.000Z | packages/slate-plain-serializer/benchmark/index.js | christophercliff/slate | eda5c02e79c3ee2807b5abc51002ca72af5c6a93 | [
"MIT"
] | 2 | 2018-01-12T13:50:12.000Z | 2018-06-25T12:08:19.000Z | packages/slate-plain-serializer/benchmark/index.js | OpusCapita/slate | 055f32bf18d22f44018aa6f42da170502f58ee22 | [
"MIT"
] | null | null | null | /* global suite, set, bench */
import fs from 'fs'
import { basename, extname, resolve } from 'path'
import { __clear } from '../../slate/lib/utils/memoize'
/**
* Benchmarks.
*/
const categoryDir = resolve(__dirname)
const categories = fs.readdirSync(categoryDir).filter(c => c[0] != '.' && c != 'index.js')
catego... | 24.904762 | 133 | 0.580306 |
103d02571264404ac0b1d266cb8f8e227259997e | 767 | js | JavaScript | index.js | iachieve/mini-social-media-app | 6fc9461ce7d4b77c21b1a86bf5801b25dc5d9305 | [
"MIT"
] | null | null | null | index.js | iachieve/mini-social-media-app | 6fc9461ce7d4b77c21b1a86bf5801b25dc5d9305 | [
"MIT"
] | 4 | 2021-03-10T16:08:09.000Z | 2022-02-27T03:38:15.000Z | index.js | iachieve/mini-social-media-app | 6fc9461ce7d4b77c21b1a86bf5801b25dc5d9305 | [
"MIT"
] | null | null | null | const PORT = process.env.PORT || 5000;
if (process.env.NODE_ENV !== 'production') {
require('dotenv').config();
}
const { ApolloServer, PubSub } = require('apollo-server');
const pubsub = new PubSub();
const mongoose = require('mongoose');
const typeDefs = require('./graphql/typeDefs');
const resolvers = require(... | 26.448276 | 60 | 0.663625 |
103d5bf3fcbbd8973547bc8c5cfc6e4427c10a20 | 266 | js | JavaScript | test/browserEnv.js | pengge/wgis.leaflet.geosearch.vue2 | 35631df6ee0657e2d128b1cabc785bd718beed19 | [
"MIT"
] | 544 | 2017-01-03T20:54:26.000Z | 2022-03-29T08:19:38.000Z | test/browserEnv.js | pengge/wgis.leaflet.geosearch.vue2 | 35631df6ee0657e2d128b1cabc785bd718beed19 | [
"MIT"
] | 212 | 2016-12-26T16:16:38.000Z | 2022-03-31T21:10:16.000Z | test/browserEnv.js | pengge/wgis.leaflet.geosearch.vue2 | 35631df6ee0657e2d128b1cabc785bd718beed19 | [
"MIT"
] | 150 | 2017-01-20T09:03:55.000Z | 2022-03-25T20:03:39.000Z | /* eslint-disable no-undef, @typescript-eslint/no-var-requires */
const browserEnv = require('browser-env');
browserEnv();
const fetch = require('node-fetch');
window.fetch = global.fetch = fetch;
const leaflet = require('leaflet');
window.L = global.L = leaflet;
| 26.6 | 65 | 0.718045 |
103da4ff0dcf27241b560ef3a57ecc7a8b797202 | 2,609 | js | JavaScript | src/js/contentscript.js | prince0203/github-file-icon | 40f9632bc3840137e480a6103357ca3b39862da7 | [
"MIT"
] | null | null | null | src/js/contentscript.js | prince0203/github-file-icon | 40f9632bc3840137e480a6103357ca3b39862da7 | [
"MIT"
] | null | null | null | src/js/contentscript.js | prince0203/github-file-icon | 40f9632bc3840137e480a6103357ca3b39862da7 | [
"MIT"
] | null | null | null | import fileIcons from 'file-icons-js';
import '../css/icons.css';
const select = document.querySelector.bind(document);
select.all = document.querySelectorAll.bind(document);
const getSelector = () => {
switch (window.location.hostname) {
case 'github.com':
return {
filenameSelector: 'tr.js-navig... | 29.314607 | 80 | 0.60138 |
103dce95c75d3b0a9d8f44ad4bc20a9ef05430a8 | 678 | js | JavaScript | api/src/jobs/retrieve-summoners.js | maxdeviant/treeline | 0bbb1deba867c4550a02e19ec97afecc3d081f94 | [
"MIT"
] | null | null | null | api/src/jobs/retrieve-summoners.js | maxdeviant/treeline | 0bbb1deba867c4550a02e19ec97afecc3d081f94 | [
"MIT"
] | null | null | null | api/src/jobs/retrieve-summoners.js | maxdeviant/treeline | 0bbb1deba867c4550a02e19ec97afecc3d081f94 | [
"MIT"
] | null | null | null | 'use strict';
const path = require('path');
require('app-module-path').addPath(path.join(__dirname, '../'))
const config = require('config');
const RiotAPI = require('controllers/riot/index')(config.riot.base_url, config.riot.api_key);
const summonersController = require('controllers/treeline/summoners');
module.e... | 24.214286 | 93 | 0.650442 |
103e0300ce033c1e815a9848da12a857e8d21ec8 | 3,851 | js | JavaScript | src/OrgLang.js | jnterry/org-parser | 445d2c68d721b95bde796377acabed38236d8588 | [
"MIT"
] | null | null | null | src/OrgLang.js | jnterry/org-parser | 445d2c68d721b95bde796377acabed38236d8588 | [
"MIT"
] | null | null | null | src/OrgLang.js | jnterry/org-parser | 445d2c68d721b95bde796377acabed38236d8588 | [
"MIT"
] | null | null | null | ////////////////////////////////////////////////////////////////////////////
/// Part of org-parser ///
////////////////////////////////////////////////////////////////////////////
/// \file OrgLang.js
/// \author Jamie Terry
/// \date 2017/09/10
/// \brief Defines a pa... | 28.738806 | 83 | 0.442742 |
103e251fba48b8c2c02ffb25654c8bf8fe45416b | 228 | js | JavaScript | app/initializers/list-view-helper.js | jonnii/list-view | 26809accdcd34600f583b20813f93c3cdb4bd664 | [
"MIT"
] | 164 | 2015-01-04T11:03:45.000Z | 2021-05-09T12:36:37.000Z | app/initializers/list-view-helper.js | jonnii/list-view | 26809accdcd34600f583b20813f93c3cdb4bd664 | [
"MIT"
] | 91 | 2015-01-04T18:18:38.000Z | 2017-11-11T13:49:29.000Z | app/initializers/list-view-helper.js | isabella232/list-view | d463fa6f874c143fe4766379594b6c11cdf7a5d0 | [
"MIT"
] | 44 | 2015-01-05T11:01:44.000Z | 2022-01-18T11:58:35.000Z | import Ember from 'ember';
import {registerListViewHelpers} from 'ember-list-view/helper';
export var initialize = registerListViewHelpers;
export default {
name: 'list-view-helper',
initialize: registerListViewHelpers
};
| 22.8 | 63 | 0.780702 |
103e7d14dea19d5ba5944eac26bb874d00d6eabc | 7,411 | js | JavaScript | examples/learningwebgl/lesson03.js | shamangeorge/node-webgl | 3d6f0a9d3ddae4fd60f9e05cdc85d00915db15f6 | [
"BSD-2-Clause"
] | null | null | null | examples/learningwebgl/lesson03.js | shamangeorge/node-webgl | 3d6f0a9d3ddae4fd60f9e05cdc85d00915db15f6 | [
"BSD-2-Clause"
] | 3 | 2020-04-22T05:43:11.000Z | 2021-06-25T15:18:45.000Z | examples/learningwebgl/lesson03.js | fruitopology/node-webgl | 3d6f0a9d3ddae4fd60f9e05cdc85d00915db15f6 | [
"BSD-2-Clause"
] | null | null | null | var WebGL = require('../../index'),
document = WebGL.document(),
requestAnimationFrame = document.requestAnimationFrame,
fs = require('fs');
eval(fs.readFileSync(__dirname + '/glMatrix-0.9.5.min.js', 'utf8'));
var gl;
var width = 500;
var height = 500;
var canvas_id = 'canvas';
var shaders = {
fragment... | 29.644 | 128 | 0.669545 |
103e92997860bf5662dfd639be0f84f3528089db | 87 | js | JavaScript | node_modules/carbon-icons-svelte/lib/CloudDownload32/index.js | seekersapp2013/new | 1e393c593ad30dc1aa8642703dad69b84bad3992 | [
"MIT"
] | null | null | null | node_modules/carbon-icons-svelte/lib/CloudDownload32/index.js | seekersapp2013/new | 1e393c593ad30dc1aa8642703dad69b84bad3992 | [
"MIT"
] | null | null | null | node_modules/carbon-icons-svelte/lib/CloudDownload32/index.js | seekersapp2013/new | 1e393c593ad30dc1aa8642703dad69b84bad3992 | [
"MIT"
] | null | null | null | import CloudDownload32 from "./CloudDownload32.svelte";
export default CloudDownload32; | 43.5 | 55 | 0.850575 |
103ec3c3972f406edf6361fc9d6914dbe3b06785 | 6,396 | js | JavaScript | src/@redux/crudCreator/slice.js | mytrangnguyen/test-i18next-gatsby | 4c42c5da3841ee5c0e9abf08c9bad8c502247962 | [
"RSA-MD"
] | null | null | null | src/@redux/crudCreator/slice.js | mytrangnguyen/test-i18next-gatsby | 4c42c5da3841ee5c0e9abf08c9bad8c502247962 | [
"RSA-MD"
] | null | null | null | src/@redux/crudCreator/slice.js | mytrangnguyen/test-i18next-gatsby | 4c42c5da3841ee5c0e9abf08c9bad8c502247962 | [
"RSA-MD"
] | null | null | null | import { createSlice } from '@reduxjs/toolkit';
import _, { union } from 'lodash';
import { PRIMARY_KEY } from './dataProvider';
export const INITIAL_STATE = {
loading: false,
itemLoadings: {},
error: null,
data: {},
ids: [],
currentId: null,
filter: {},
page: 1,
pageSize: 20,
total: 0,
numberOf... | 23.173913 | 79 | 0.607255 |
103f2526515f3768eac0eb21217d39d3e5d953f6 | 634 | js | JavaScript | Resources/mobileweb/alloy/styles/index.js | appcelerator-se/webinar-components | 4c5880fb118d23da2a6c85462b0ba8a41f862258 | [
"Apache-2.0"
] | 16 | 2015-03-19T16:34:19.000Z | 2020-10-07T03:07:42.000Z | Resources/mobileweb/alloy/styles/index.js | titanium-forks/appcelerator-se.webinar-components | 4c5880fb118d23da2a6c85462b0ba8a41f862258 | [
"Apache-2.0"
] | 1 | 2016-08-23T11:20:12.000Z | 2016-08-23T11:20:12.000Z | Resources/mobileweb/alloy/styles/index.js | titanium-forks/appcelerator-se.webinar-components | 4c5880fb118d23da2a6c85462b0ba8a41f862258 | [
"Apache-2.0"
] | 12 | 2015-03-19T18:35:37.000Z | 2020-10-07T09:31:07.000Z | module.exports = [{"isApi":true,"priority":1000.0027,"key":"Label","style":{width:Ti.UI.SIZE,height:Ti.UI.SIZE,color:"#000",}},{"isClass":true,"priority":10000.0001,"key":"padding-left","style":{left:"10%",}},{"isClass":true,"priority":10000.0002,"key":"padding-right","style":{right:"10%",}},{"isClass":true,"priority":... | 634 | 634 | 0.662461 |
103f4a80066b3386258da62955e6405259ff8718 | 94 | js | JavaScript | demos/scheme-explorer/index.js | calvinomiguel/node-sketch | f397e6e67a273bd4514eff0bfb9b663bb7fd545d | [
"MIT"
] | 298 | 2017-05-19T15:39:40.000Z | 2022-03-24T03:03:06.000Z | demos/scheme-explorer/index.js | calvinomiguel/node-sketch | f397e6e67a273bd4514eff0bfb9b663bb7fd545d | [
"MIT"
] | 44 | 2017-05-27T19:56:32.000Z | 2022-02-15T03:17:23.000Z | demos/scheme-explorer/index.js | calvinomiguel/node-sketch | f397e6e67a273bd4514eff0bfb9b663bb7fd545d | [
"MIT"
] | 22 | 2017-12-13T08:01:40.000Z | 2021-08-05T08:59:20.000Z | const ns = require('../../');
ns.read('demo.sketch').then(sketch => sketch.saveDir('demo'));
| 23.5 | 62 | 0.606383 |
103f5ad313d820830339462d14cceb873e5bdf7e | 986 | js | JavaScript | src/index.js | cchiama/ui-cataloging | 443413768e9dc420f75ff03b2b5966ec1b4039c4 | [
"Apache-2.0"
] | null | null | null | src/index.js | cchiama/ui-cataloging | 443413768e9dc420f75ff03b2b5966ec1b4039c4 | [
"Apache-2.0"
] | null | null | null | src/index.js | cchiama/ui-cataloging | 443413768e9dc420f75ff03b2b5966ec1b4039c4 | [
"Apache-2.0"
] | null | null | null | import React from 'react';
import Route from 'react-router-dom/Route';
import Switch from 'react-router-dom/Switch';
import { Settings } from './Settings';
import Cataloging from './App/Cataloging';
type RoutingProps = {|
stripes: {
connect: Function,
intl: Object
},
history: {
goBack: Function,
pop: Fun... | 18.603774 | 67 | 0.609533 |
103f93980ae671476ca594c68930fd3bba43957e | 1,332 | js | JavaScript | src/components/MoviesList/MoviesList.js | izzydoesit/starWarsApi | 2d55b3e96040d49df8425a199216fbfee8f1ebd7 | [
"Apache-2.0"
] | null | null | null | src/components/MoviesList/MoviesList.js | izzydoesit/starWarsApi | 2d55b3e96040d49df8425a199216fbfee8f1ebd7 | [
"Apache-2.0"
] | null | null | null | src/components/MoviesList/MoviesList.js | izzydoesit/starWarsApi | 2d55b3e96040d49df8425a199216fbfee8f1ebd7 | [
"Apache-2.0"
] | null | null | null | import React, { Component } from 'react';
import Movie from '../Movie/Movie';
import Grid from '@material-ui/core/Grid';
import './MoviesList.css';
class MoviesList extends Component {
componentWillReceiveProps = (nextProps) => {
if (this.props.selected !== nextProps.selected) {
this.props.updateFetching... | 26.117647 | 89 | 0.509009 |
103f970019b3dda6058d2fa1e64b773d106ca8c5 | 20,015 | js | JavaScript | demo/demo.js | mogilvie/material-table | b748d4ab6bd3a6a68cb473dc3c5a2819364f129d | [
"MIT"
] | null | null | null | demo/demo.js | mogilvie/material-table | b748d4ab6bd3a6a68cb473dc3c5a2819364f129d | [
"MIT"
] | null | null | null | demo/demo.js | mogilvie/material-table | b748d4ab6bd3a6a68cb473dc3c5a2819364f129d | [
"MIT"
] | null | null | null | import { Grid, MuiThemeProvider, Button } from "@material-ui/core";
import { createMuiTheme } from "@material-ui/core/styles";
import React, { Component } from "react";
import ReactDOM from "react-dom";
import MaterialTable from "../src";
import Typography from "@material-ui/core/Typography";
let direction = "ltr";
//... | 29.520649 | 91 | 0.39995 |
1040732132feae0988b4fa4e2e92ae8ade8347d6 | 171 | js | JavaScript | fuzzer_output/interesting/sample_1554482881768.js | patil215/v8 | bb941b58df9ee1e4048b69a555a2ce819fb819ed | [
"BSD-3-Clause"
] | null | null | null | fuzzer_output/interesting/sample_1554482881768.js | patil215/v8 | bb941b58df9ee1e4048b69a555a2ce819fb819ed | [
"BSD-3-Clause"
] | null | null | null | fuzzer_output/interesting/sample_1554482881768.js | patil215/v8 | bb941b58df9ee1e4048b69a555a2ce819fb819ed | [
"BSD-3-Clause"
] | null | null | null | function main() {
const v2 = new Uint32Array(56871);
const v5 = new Float32Array(1337);
const v8 = v2.set(v5,Function,1529365101);
}
%NeverOptimizeFunction(main);
main();
| 21.375 | 42 | 0.730994 |
104080ba5795156d8d5189a3206ea5fce18f04b9 | 206 | js | JavaScript | bundles/framework/bundle/promote/locale/fi.js | uhef/Oskari-Routing-frontend | 5f4002760ea01f79aadde2af8bf05753f4ae3de3 | [
"MIT"
] | null | null | null | bundles/framework/bundle/promote/locale/fi.js | uhef/Oskari-Routing-frontend | 5f4002760ea01f79aadde2af8bf05753f4ae3de3 | [
"MIT"
] | null | null | null | bundles/framework/bundle/promote/locale/fi.js | uhef/Oskari-Routing-frontend | 5f4002760ea01f79aadde2af8bf05753f4ae3de3 | [
"MIT"
] | null | null | null | Oskari.registerLocalization(
{
"lang": "fi",
"key": "Promote",
"value": {
"title": "Sisäänkirjautuneille",
"desc": "Sisäänkirjautuneena saat lisää toiminnallisuuksia."
}
}
); | 20.6 | 68 | 0.592233 |
1040de86829a49d052b4662171f14e82cd803391 | 573 | js | JavaScript | src/states/RuleSelectedState.js | gbagolin/explainable-ai-gatsby-version | 035344b815297a342436bbb0feeb145eec6d5fe7 | [
"RSA-MD"
] | 1 | 2021-04-01T14:31:52.000Z | 2021-04-01T14:31:52.000Z | src/states/RuleSelectedState.js | gbagolin/explainable-ai-gatsby-version | 035344b815297a342436bbb0feeb145eec6d5fe7 | [
"RSA-MD"
] | null | null | null | src/states/RuleSelectedState.js | gbagolin/explainable-ai-gatsby-version | 035344b815297a342436bbb0feeb145eec6d5fe7 | [
"RSA-MD"
] | 1 | 2021-05-30T07:25:01.000Z | 2021-05-30T07:25:01.000Z | import create from "zustand"
/**
* TODO: add the comment here
* @type {UseStore<{setRuleString: function(*=): *, ruleString: string, setIndex: function(*=): *, index: string}>}
*/
const RuleSelectedState = create(set => ({
ruleString: "",
ruleId: 0,
actionId: 0,
setStore: store => set(() => store),
setRul... | 21.222222 | 115 | 0.572426 |
10414e9130055d1e6a4bc8879fda9656ebff564d | 200 | js | JavaScript | src/utils/index.js | moning3/lazyForumDemo | e9af90be508dda861b99dc853c62697188379b8d | [
"MIT"
] | null | null | null | src/utils/index.js | moning3/lazyForumDemo | e9af90be508dda861b99dc853c62697188379b8d | [
"MIT"
] | null | null | null | src/utils/index.js | moning3/lazyForumDemo | e9af90be508dda861b99dc853c62697188379b8d | [
"MIT"
] | null | null | null | import moment from 'moment'
// 时间格式
export function formatDate (time, format = 'YYYY-MM-DD') {
if (!time) {
return ''
}
const date = new Date(time)
return moment(date).format(format)
}
| 15.384615 | 58 | 0.64 |
104155feee90f98c6e42be5c8d03dac4500545ab | 124 | js | JavaScript | src/constants.js | onelive-dev/luxon-business-days | b870dcf0db46ce0da7c3fd2c52cdaad8460d99d1 | [
"MIT"
] | 24 | 2020-02-03T16:56:21.000Z | 2022-02-11T06:11:13.000Z | src/constants.js | onelive-dev/luxon-business-days | b870dcf0db46ce0da7c3fd2c52cdaad8460d99d1 | [
"MIT"
] | 38 | 2019-09-01T09:22:36.000Z | 2022-02-23T13:05:58.000Z | src/constants.js | onelive-dev/luxon-business-days | b870dcf0db46ce0da7c3fd2c52cdaad8460d99d1 | [
"MIT"
] | 11 | 2020-02-15T10:37:05.000Z | 2022-01-14T18:12:21.000Z | export const MONTH = {
january: 1,
may: 5,
september: 9,
october: 10,
november: 11,
};
export const ONE_WEEK = 7;
| 13.777778 | 26 | 0.620968 |
1041ae3e26c19338ac116aa59b1c80b441697c3d | 2,688 | js | JavaScript | server/test/api.test.js | vip1all/ts3-admin-charts | 5e33ce3ed6cd17f1597f47e0b41fe2870a929968 | [
"MIT"
] | 1 | 2018-02-03T12:39:38.000Z | 2018-02-03T12:39:38.000Z | server/test/api.test.js | vip1all/ts3-admin-charts | 5e33ce3ed6cd17f1597f47e0b41fe2870a929968 | [
"MIT"
] | null | null | null | server/test/api.test.js | vip1all/ts3-admin-charts | 5e33ce3ed6cd17f1597f47e0b41fe2870a929968 | [
"MIT"
] | null | null | null | const rauth = require('request-promise').defaults({json: true, baseUrl: 'http://localhost:3000'});
const rapi = require('request-promise').defaults({json: true, baseUrl: 'http://localhost:3000/api'});
function authenticateAsUser () {
return rauth.post('/auth', {
body: {username: "user", password: "password... | 38.956522 | 137 | 0.512277 |
104228182a578e471df3641f6f7b50a993aced8d | 3,642 | js | JavaScript | client/src/components/policy/terms.js | ORKO06/project-tahiti-1 | c5dda85b31f6ccd3ac53de23b64e317db3e68d1f | [
"MIT"
] | 5 | 2022-03-16T19:49:29.000Z | 2022-03-18T08:48:36.000Z | client/src/components/policy/terms.js | ORKO06/project-tahiti-1 | c5dda85b31f6ccd3ac53de23b64e317db3e68d1f | [
"MIT"
] | 2 | 2022-03-16T14:24:27.000Z | 2022-03-17T17:20:26.000Z | client/src/components/policy/terms.js | ORKO06/project-tahiti-1 | c5dda85b31f6ccd3ac53de23b64e317db3e68d1f | [
"MIT"
] | 3 | 2022-03-16T10:01:53.000Z | 2022-03-16T19:44:16.000Z | /* eslint-disable jsx-a11y/no-noninteractive-element-interactions */
/* eslint-disable jsx-a11y/no-static-element-interactions */
/* eslint-disable jsx-a11y/click-events-have-key-events */
import React, { useState } from 'react';
// libararies
import { makeStyles, Typography, useMediaQuery } from '@material-ui/core';
... | 28.015385 | 80 | 0.528007 |
10422dff77e9c5c9aeb8b25059945156e64cd10a | 7,755 | js | JavaScript | src/passes/BlurPass.js | arpu/postprocessing | 4d61d6121e6e9d9f13fb93bfb6df6a841d5070e3 | [
"Zlib"
] | null | null | null | src/passes/BlurPass.js | arpu/postprocessing | 4d61d6121e6e9d9f13fb93bfb6df6a841d5070e3 | [
"Zlib"
] | null | null | null | src/passes/BlurPass.js | arpu/postprocessing | 4d61d6121e6e9d9f13fb93bfb6df6a841d5070e3 | [
"Zlib"
] | null | null | null | import { LinearFilter, RGBFormat, UnsignedByteType, WebGLRenderTarget } from "three";
import { ConvolutionMaterial, KernelSize } from "../materials";
import { Resizer } from "../core/Resizer";
import { Pass } from "./Pass";
/**
* An efficient, incremental blur pass.
*/
export class BlurPass extends Pass {
/**
*... | 21.541667 | 136 | 0.68343 |
10423280d998c1ac7439393bfea006969e71d915 | 2,599 | js | JavaScript | public/javascripts/upcomingDevices/upcomingDEvice.js | shobhitsingh29/asset-tracker | 29ff09c026815d8e862919b4872c9b42127b77fa | [
"MIT"
] | null | null | null | public/javascripts/upcomingDevices/upcomingDEvice.js | shobhitsingh29/asset-tracker | 29ff09c026815d8e862919b4872c9b42127b77fa | [
"MIT"
] | 4 | 2020-09-29T23:23:54.000Z | 2021-06-25T15:43:00.000Z | public/javascripts/upcomingDevices/upcomingDEvice.js | shobhitsingh29/asset-tracker | 29ff09c026815d8e862919b4872c9b42127b77fa | [
"MIT"
] | null | null | null | /*
* upcomingDevice.js
* This file adds the upcoming device to database successfully.
* @project Asset Tracker
* @author Plavika Singh, SapientNitro
*/
(function($, at, window, document) {
'use strict';
var upcomingDevice,
init;
upcomingDevice= function() {
var checkUpcomingDevi... | 33.320513 | 106 | 0.502501 |
10428833a5f4949b37cfd0345f706458d6a4a76c | 33 | js | JavaScript | app/photo-list/photo-list.module.js | vivaelnino9/johnnyglenn | a061376458d172991af3d449a7e923dbb71555c5 | [
"MIT"
] | null | null | null | app/photo-list/photo-list.module.js | vivaelnino9/johnnyglenn | a061376458d172991af3d449a7e923dbb71555c5 | [
"MIT"
] | null | null | null | app/photo-list/photo-list.module.js | vivaelnino9/johnnyglenn | a061376458d172991af3d449a7e923dbb71555c5 | [
"MIT"
] | null | null | null | angular.module('photoList', []);
| 16.5 | 32 | 0.666667 |
1042b81ab0f8f5c0f3ffa4c5992bbcd0552642df | 12,729 | js | JavaScript | dist/Actions/ActionContext.js | excaliburjs/excalibur-dist | d29b9a0c2be41c5578eee3dba736b5969be5204e | [
"BSD-2-Clause-FreeBSD"
] | 2 | 2017-11-07T14:53:18.000Z | 2019-10-30T03:26:53.000Z | dist/Actions/ActionContext.js | excaliburjs/excalibur-dist | d29b9a0c2be41c5578eee3dba736b5969be5204e | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | dist/Actions/ActionContext.js | excaliburjs/excalibur-dist | d29b9a0c2be41c5578eee3dba736b5969be5204e | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | import * as Actions from './Action';
import { EasingFunctions } from '../Util/EasingFunctions';
/**
* The fluent Action API allows you to perform "actions" on
* [[Actor|Actors]] such as following, moving, rotating, and
* more. You can implement your own actions by implementing
* the [[Action]] interface.
*/
export... | 42.858586 | 134 | 0.61136 |
1042e6ca65239164125021c8cf04b74eea2099be | 725 | js | JavaScript | tests/components/OpenSeaDragonPage/modules/buildOpenSeaDragonImage.spec.js | ndlib/dave | 4e7944d2eed05430e15cbe494deecb6e06e64b1a | [
"Apache-2.0"
] | 3 | 2016-11-08T20:44:41.000Z | 2016-11-17T16:02:38.000Z | tests/components/OpenSeaDragonPage/modules/buildOpenSeaDragonImage.spec.js | ndlib/dave | 4e7944d2eed05430e15cbe494deecb6e06e64b1a | [
"Apache-2.0"
] | 28 | 2016-07-20T14:43:40.000Z | 2022-03-02T04:32:13.000Z | tests/components/OpenSeaDragonPage/modules/buildOpenSeaDragonImage.spec.js | ndlib/dave | 4e7944d2eed05430e15cbe494deecb6e06e64b1a | [
"Apache-2.0"
] | null | null | null | import buildOpenSeaDragonImage from 'components/OpenSeaDragonPage/modules/buildOpenSeaDragonImage.js'
describe('(Module) buildOpenSeaDragonImage', () => {
const _data = { sequences: { 0: { canvases: { 1: {label: 'label', images: {0:{resource: {'@id': 'http://google.com/image.jpg'}}}}}}}}
const _params = {
ba... | 31.521739 | 135 | 0.652414 |
10432df016e393692f89f77b6fdc8ef5e68055ea | 197 | js | JavaScript | js/modules/camera.js | flagpatch/pixi-raycast | 539dd4db289b875ffd2f6b341931a09ef6ef2a59 | [
"MIT"
] | 1 | 2022-01-24T20:11:46.000Z | 2022-01-24T20:11:46.000Z | js/modules/camera.js | flagpatch/pixi-raycast | 539dd4db289b875ffd2f6b341931a09ef6ef2a59 | [
"MIT"
] | 2 | 2022-01-24T20:15:10.000Z | 2022-01-25T06:01:10.000Z | js/modules/camera.js | flagpatch/pixi-raycast | 539dd4db289b875ffd2f6b341931a09ef6ef2a59 | [
"MIT"
] | 1 | 2022-01-24T20:12:19.000Z | 2022-01-24T20:12:19.000Z | function Camera(x, y) {
this.position = {x: x, y: y};
this.direction = {x: -1, y: 0};
this.plane = {x: 0, y:1};
}
Camera.prototype.update = function (dt) {
}
module.exports = Camera; | 17.909091 | 41 | 0.568528 |
1043618de1e185c22694e5790d787c1f37f703a3 | 632 | js | JavaScript | problem01-20200401.js | darjama/leetcode30day042020 | 398fa1162690ad25390738fe491a0b62ccd46292 | [
"MIT"
] | null | null | null | problem01-20200401.js | darjama/leetcode30day042020 | 398fa1162690ad25390738fe491a0b62ccd46292 | [
"MIT"
] | null | null | null | problem01-20200401.js | darjama/leetcode30day042020 | 398fa1162690ad25390738fe491a0b62ccd46292 | [
"MIT"
] | null | null | null | /**
136. Single Number
Easy
3843
147
Add to List
Share
Given a non-empty array of integers, every element appears twice except for one. Find that single one.
Note:
Your algorithm should have a linear runtime complexity. Could you implement it without using extra memory?
Example 1:
Input: [2,2,1]
Output: 1
Examp... | 16.205128 | 106 | 0.647152 |
104369d54fe32ccb50534039734b7d8849bf6401 | 3,611 | js | JavaScript | dist/dev/utils/calendar.js | MiisterPatate/planning | 04b4a0c3a62cc5ed01b7e830a29476b820873a18 | [
"MIT"
] | 1 | 2015-06-29T15:25:08.000Z | 2015-06-29T15:25:08.000Z | dist/dev/utils/calendar.js | MiisterPatate/planning | 04b4a0c3a62cc5ed01b7e830a29476b820873a18 | [
"MIT"
] | null | null | null | dist/dev/utils/calendar.js | MiisterPatate/planning | 04b4a0c3a62cc5ed01b7e830a29476b820873a18 | [
"MIT"
] | null | null | null | var Calendar = (function () {
function Calendar() {
this.events = [
{
title: "title",
start: "2015-06-30T18:00:00",
end: "2015-06-30T20:00:00"
}
];
console.log(this.events);
$('#calendar').fullCalendar({
... | 116.483871 | 2,670 | 0.858211 |
1045144ccefc6c961aabf89929ee77841319b86c | 415 | js | JavaScript | app/autotranslate/server/settings.js | thedigicraft/Rocket.Chat | 19db9c61a44aed61e779b2831311382138f26520 | [
"MIT"
] | 3 | 2018-02-10T13:28:50.000Z | 2018-03-06T13:47:57.000Z | app/autotranslate/server/settings.js | thedigicraft/Rocket.Chat | 19db9c61a44aed61e779b2831311382138f26520 | [
"MIT"
] | 2 | 2021-08-04T05:16:50.000Z | 2022-01-15T03:31:01.000Z | app/autotranslate/server/settings.js | thedigicraft/Rocket.Chat | 19db9c61a44aed61e779b2831311382138f26520 | [
"MIT"
] | 1 | 2019-03-11T15:34:43.000Z | 2019-03-11T15:34:43.000Z | import { Meteor } from 'meteor/meteor';
import { settings } from '../../settings';
Meteor.startup(function() {
settings.add('AutoTranslate_Enabled', false, { type: 'boolean', group: 'Message', section: 'AutoTranslate', public: true });
settings.add('AutoTranslate_GoogleAPIKey', '', { type: 'string', group: 'Message'... | 51.875 | 172 | 0.693976 |
1045a925aa5c44b4f165ed3b8891c35a4f40c7f9 | 9,948 | js | JavaScript | public/iui/iui.js | carlism/barcamp_schedule | 3f17d00364b1d1733aa6a57518d3d0a3fb6fd2f6 | [
"MIT"
] | 1 | 2016-05-08T14:21:33.000Z | 2016-05-08T14:21:33.000Z | public/iui/iui.js | carlism/barcamp_schedule | 3f17d00364b1d1733aa6a57518d3d0a3fb6fd2f6 | [
"MIT"
] | null | null | null | public/iui/iui.js | carlism/barcamp_schedule | 3f17d00364b1d1733aa6a57518d3d0a3fb6fd2f6 | [
"MIT"
] | null | null | null | /*
Copyright (c) 2007, iUI Project Members
See LICENSE.txt for licensing terms
*/
(function() {
var slideSpeed = 20;
var slideInterval = 0;
var currentPage = null;
var currentDialog = null;
var currentWidth = 0;
var currentHash = location.hash;
var hashPrefix = "#_";
var pageHistory = [];
var newPageCount = 0... | 25.772021 | 100 | 0.520205 |
10464b8d3b4712f56ae5b10a29d936224354d414 | 5,085 | js | JavaScript | src/config.js | wanderer6994/melonJS | a972fe2a765dac59eea5c0cd8b57d9c0fe7dd834 | [
"MIT"
] | null | null | null | src/config.js | wanderer6994/melonJS | a972fe2a765dac59eea5c0cd8b57d9c0fe7dd834 | [
"MIT"
] | null | null | null | src/config.js | wanderer6994/melonJS | a972fe2a765dac59eea5c0cd8b57d9c0fe7dd834 | [
"MIT"
] | null | null | null | (function () {
/**
* current melonJS version
* @static
* @constant
* @memberof me
* @name version
* @type {string}
*/
me.version = "__VERSION__";
/**
* global system settings and browser capabilities
* @namespace
*/
me.sys = {
/**
* Set game F... | 25.425 | 80 | 0.52468 |
1046779295344c82a224277ce717192859e81515 | 2,596 | js | JavaScript | packages/editor/editor-core/dist/esm/plugins/placeholder-text/ui/PlaceholderFloatingToolbar/index.js | rholang/archive-old | 55d05c67b2015b646e6f3aa7c4e1fde778162eea | [
"Apache-2.0"
] | 1 | 2020-04-24T13:28:17.000Z | 2020-04-24T13:28:17.000Z | packages/editor/editor-core/dist/esm/plugins/placeholder-text/ui/PlaceholderFloatingToolbar/index.js | rholang/archive-old | 55d05c67b2015b646e6f3aa7c4e1fde778162eea | [
"Apache-2.0"
] | 1 | 2022-03-02T07:06:35.000Z | 2022-03-02T07:06:35.000Z | packages/editor/editor-core/dist/esm/plugins/placeholder-text/ui/PlaceholderFloatingToolbar/index.js | rholang/archive-old | 55d05c67b2015b646e6f3aa7c4e1fde778162eea | [
"Apache-2.0"
] | null | null | null | import { __extends } from "tslib";
import * as React from 'react';
import { defineMessages, injectIntl } from 'react-intl';
import PanelTextInput from '../../../../ui/PanelTextInput';
import FloatingToolbar, { handlePositionCalculatedWith, getOffsetParent, getNearestNonTextNode, } from '../../../../ui/FloatingToolbar';... | 57.688889 | 333 | 0.709553 |