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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
c616037fddcf1b5b18f4e7a037ad7d61bc1c7d5a | 356 | js | JavaScript | middleware/sigevent/web-app/js/dojox/grid/enhanced/nls/fr/EnhancedGrid.js | dataplumber/dmas | 34f3da0e71df5b2dd6b47b30687dd5438ca05435 | [
"Apache-2.0"
] | 2 | 2016-03-10T21:29:29.000Z | 2016-03-12T03:30:09.000Z | middleware/sigevent/web-app/js/dojox/grid/enhanced/nls/fr/EnhancedGrid.js | dataplumber/dmas | 34f3da0e71df5b2dd6b47b30687dd5438ca05435 | [
"Apache-2.0"
] | 29 | 2021-03-13T06:58:13.000Z | 2021-03-13T06:58:29.000Z | rollout/web/src/main/html/js/dojox/grid/enhanced/nls/fr/EnhancedGrid.js | dataplumber/dmas | 34f3da0e71df5b2dd6b47b30687dd5438ca05435 | [
"Apache-2.0"
] | null | null | null | ({"singleSort":"Tri simple","indirectSelectionRadio":"Ligne ${0}, sélection unique, bouton radio","ascending":"Croissant","indirectSelectionCheckBox":"Ligne ${0}, sélection multiple, case à cocher","selectAll":"Tout sélectionner","descending":"Décroissant","nestedSort":"Tri imbriqué","unsorted":"Ne pas trier cette colo... | 178 | 355 | 0.733146 |
c61613a740f02cf1a8bd14d09468113951dab460 | 276 | js | JavaScript | src/components/slidesFolder/EachSlide.js | lezzles11/small_pleasures | 06821d4c11ffe9fe131c70257a1e20f9fe983488 | [
"MIT"
] | null | null | null | src/components/slidesFolder/EachSlide.js | lezzles11/small_pleasures | 06821d4c11ffe9fe131c70257a1e20f9fe983488 | [
"MIT"
] | 1 | 2020-05-08T17:10:55.000Z | 2020-05-08T17:10:55.000Z | src/components/slidesFolder/EachSlide.js | lezzles11/Gatsby-First-Draft | 06821d4c11ffe9fe131c70257a1e20f9fe983488 | [
"MIT"
] | null | null | null | import React from "react"
function EachSlide({ text }) {
const style = {
color: "#37474f ",
fontSize: "4rem",
}
return (
<div>
<h1 style={style} className="font6">
{text}
</h1>{" "}
<br />
</div>
)
}
export default EachSlide
| 15.333333 | 42 | 0.514493 |
c616adb6f1be900795d0ce2ee08dc6e31d1a2439 | 12,364 | js | JavaScript | examples/jsm/renderers/webgl/nodes/WebGLNodeBuilder.js | Hyeong-jin/three.js | 1ba40183ecca92098af52ff580446c0252031a62 | [
"MIT"
] | 3 | 2015-04-20T13:54:52.000Z | 2021-11-28T04:41:44.000Z | examples/jsm/renderers/webgl/nodes/WebGLNodeBuilder.js | Hyeong-jin/three.js | 1ba40183ecca92098af52ff580446c0252031a62 | [
"MIT"
] | 1 | 2019-09-04T22:03:51.000Z | 2019-09-17T14:23:48.000Z | examples/jsm/renderers/webgl/nodes/WebGLNodeBuilder.js | Hyeong-jin/three.js | 1ba40183ecca92098af52ff580446c0252031a62 | [
"MIT"
] | 1 | 2020-09-28T11:39:03.000Z | 2020-09-28T11:39:03.000Z | import NodeBuilder, { defaultShaderStages } from 'three-nodes/core/NodeBuilder.js';
import NodeFrame from 'three-nodes/core/NodeFrame.js';
import SlotNode from './SlotNode.js';
import GLSLNodeParser from 'three-nodes/parsers/GLSLNodeParser.js';
import WebGLPhysicalContextNode from './WebGLPhysicalContextNode.js';
impo... | 21.54007 | 138 | 0.677127 |
c617314c45205d4f27e08ec940780b26d57feac2 | 773 | js | JavaScript | src/robot-services/cleaning/houseCleaning/houseCleaningMinimal2.js | jbtibor/neato-sdk-js | d39379e5a65a55e46415e90db19b2aace6735efc | [
"MIT"
] | 36 | 2016-11-05T20:40:53.000Z | 2022-03-21T17:33:34.000Z | src/robot-services/cleaning/houseCleaning/houseCleaningMinimal2.js | jbtibor/neato-sdk-js | d39379e5a65a55e46415e90db19b2aace6735efc | [
"MIT"
] | 15 | 2016-11-16T11:11:19.000Z | 2022-02-21T15:32:58.000Z | src/robot-services/cleaning/houseCleaning/houseCleaningMinimal2.js | jbtibor/neato-sdk-js | d39379e5a65a55e46415e90db19b2aace6735efc | [
"MIT"
] | 16 | 2016-11-22T12:56:48.000Z | 2020-10-10T13:48:30.000Z | Neato.Services.houseCleaning_minimal2 = {
startHouseCleaning: function(options) {
options = options || {};
var message = {
reqId: "1",
cmd: "startCleaning",
params: {
category: Neato.Constants.CLEAN_HOUSE_MODE,
navigationMode: options.navigationMode || Neato.Constants.EXTRA... | 25.766667 | 80 | 0.689521 |
c617662f735a1a1ffc589734c392a49d7b6dd28d | 1,467 | js | JavaScript | tests/empty.spec.js | shimisnow/utm-manager | b618aeb7ca2e9da6028f25757571d4242519bff2 | [
"MIT"
] | null | null | null | tests/empty.spec.js | shimisnow/utm-manager | b618aeb7ca2e9da6028f25757571d4242519bff2 | [
"MIT"
] | 1 | 2021-05-11T00:01:02.000Z | 2021-05-11T00:01:02.000Z | tests/empty.spec.js | shimisnow/utm-manager | b618aeb7ca2e9da6028f25757571d4242519bff2 | [
"MIT"
] | null | null | null | const UTMManager = require('../dist/utm-manager.min')
describe('UTMManager Test - empty()', () => {
it('empty().result() - false', () => {
const utm = new UTMManager('utm_source=source&utm_medium=medium&utm_campaign=campaign')
expect(
utm.is('utm_source')
.empty()
.result()
).toBe... | 23.66129 | 105 | 0.562372 |
c618646fdcc17e02c0aa821e23546ff7a18b3f5f | 925 | js | JavaScript | src/pages/404.js | theAdhocracy/theadhocracy-web | d0cd8ee68bd8d980e35a58dbeff4aa685a2d1a05 | [
"MIT"
] | null | null | null | src/pages/404.js | theAdhocracy/theadhocracy-web | d0cd8ee68bd8d980e35a58dbeff4aa685a2d1a05 | [
"MIT"
] | 3 | 2021-09-02T06:18:13.000Z | 2022-02-19T00:44:32.000Z | src/pages/404.js | theAdhocracy/theadhocracy-web | d0cd8ee68bd8d980e35a58dbeff4aa685a2d1a05 | [
"MIT"
] | null | null | null | import React from "react"
import { Link } from "gatsby"
import Layout from "../components/layout"
const FourOhFour = () => {
return (
<Layout title="oh no!" sidebar={false}>
<section id="content">
<header>
<h1>
404: Someone screwed up{" "}
<span role="img" aria-label="Nervous and sad">
... | 26.428571 | 198 | 0.597838 |
c618bcc0ffcf6bb723fadd7dc795eec5c1739797 | 20,850 | js | JavaScript | sites/all/libraries/plupload/src/javascript/jquery.ui.plupload.js | eolchina/CASBRAHMS-node | f15893126141869c69b89aaca600975db962c8a5 | [
"MIT"
] | null | null | null | sites/all/libraries/plupload/src/javascript/jquery.ui.plupload.js | eolchina/CASBRAHMS-node | f15893126141869c69b89aaca600975db962c8a5 | [
"MIT"
] | null | null | null | sites/all/libraries/plupload/src/javascript/jquery.ui.plupload.js | eolchina/CASBRAHMS-node | f15893126141869c69b89aaca600975db962c8a5 | [
"MIT"
] | null | null | null | /**
* jquery.ui.plupload.js
*
* Copyright 2009, Moxiecode Systems AB
* Released under GPL License.
*
* License: http://www.plupload.com/license
* Contributing: http://www.plupload.com/contributing
*
* Depends:
* jquery.ui.core.js
* jquery.ui.widget.js
*
* Optionally:
* jquery.ui.button.js
... | 28.024194 | 163 | 0.58048 |
c618c3ad22fe579ef6db16c569feec481208ea1e | 48 | js | JavaScript | js/bgapp.js | robnoorda/asana-betterizer | 200765933893290208e1d231194beb1ae8dde17e | [
"MIT"
] | 20 | 2016-09-01T12:55:54.000Z | 2020-10-14T17:09:36.000Z | js/bgapp.js | robnoorda/asana-betterizer | 200765933893290208e1d231194beb1ae8dde17e | [
"MIT"
] | 39 | 2016-08-16T09:47:10.000Z | 2019-11-14T12:01:43.000Z | js/bgapp.js | robnoorda/asana-betterizer | 200765933893290208e1d231194beb1ae8dde17e | [
"MIT"
] | 5 | 2016-12-05T21:34:06.000Z | 2020-10-14T17:09:41.000Z | var asanaModule = angular.module("asanabg", []); | 48 | 48 | 0.708333 |
c618ed6f5f73717ceb02d29aba63b163b2b4c28a | 195 | js | JavaScript | grouper-misc/grouper-ui-dojo/dojo/dojox/editor/plugins/nls/pt/InsertAnchor.js | manasys/grouper | f6fc9e9d93768a971187289afd9df6d650a128e8 | [
"Apache-2.0"
] | 337 | 2015-01-14T14:59:33.000Z | 2022-03-26T21:01:59.000Z | grouper-misc/grouper-ui-dojo/dojo/dojox/editor/plugins/nls/pt/InsertAnchor.js | manasys/grouper | f6fc9e9d93768a971187289afd9df6d650a128e8 | [
"Apache-2.0"
] | 485 | 2015-01-08T12:17:53.000Z | 2022-03-07T11:53:48.000Z | grouper-misc/grouper-ui-dojo/dojo/dojox/editor/plugins/nls/pt/InsertAnchor.js | manasys/grouper | f6fc9e9d93768a971187289afd9df6d650a128e8 | [
"Apache-2.0"
] | 94 | 2015-08-29T19:05:43.000Z | 2022-01-10T15:36:40.000Z | //>>built
define("dojox/editor/plugins/nls/pt/InsertAnchor",({insertAnchor:"Inserir Âncora",title:"Propriedades de Âncora",anchor:"Nome:",text:"Descrição:",set:"Configurar",cancel:"Cancelar"}));
| 65 | 184 | 0.748718 |
c619ba8dbb686a90772a4d14e18be92c26f2e728 | 346 | js | JavaScript | packages/react-native-dom/ReactDom/bridge/RCTModuleConfig.js | nutstick/react-native-dom | b2660426e7a2783e2750eed52924a1d8e0f5ef6b | [
"MIT"
] | 3,107 | 2018-05-17T13:48:55.000Z | 2022-02-04T08:37:21.000Z | packages/react-native-dom/ReactDom/bridge/RCTModuleConfig.js | 38438-38438-org/react-native-dom | 235cae7e628fe1e4d89f662153e90da5ac5d0a9b | [
"MIT"
] | 82 | 2018-05-17T17:25:21.000Z | 2022-01-22T04:39:56.000Z | packages/react-native-dom/ReactDom/bridge/RCTModuleConfig.js | 38438-38438-org/react-native-dom | 235cae7e628fe1e4d89f662153e90da5ac5d0a9b | [
"MIT"
] | 91 | 2018-05-17T23:40:46.000Z | 2021-02-15T13:06:02.000Z | /** @flow */
import type { ModuleDescription, Constants } from "RCTModule";
export function moduleConfigFactory(
name: string,
constants: Constants,
functions: Array<string>,
promiseMethodIDs: Array<number>,
syncMethodIDs: Array<number>
): ModuleDescription {
return [name, constants, functions, promiseMet... | 24.714286 | 71 | 0.748555 |
c61a63e3fefb205aba75457c4fafa8c2fd9802ac | 2,539 | js | JavaScript | node_modules/pouchdb-all-dbs/node_modules/infusion/instrumented/src/framework/preferences/js/SelfVoicingSchemas.js | waharnum/dictionary-prototype-kettle | 163806dffa21a1c56c0ace145ba6cce1f1941006 | [
"BSD-3-Clause"
] | null | null | null | node_modules/pouchdb-all-dbs/node_modules/infusion/instrumented/src/framework/preferences/js/SelfVoicingSchemas.js | waharnum/dictionary-prototype-kettle | 163806dffa21a1c56c0ace145ba6cce1f1941006 | [
"BSD-3-Clause"
] | null | null | null | node_modules/pouchdb-all-dbs/node_modules/infusion/instrumented/src/framework/preferences/js/SelfVoicingSchemas.js | waharnum/dictionary-prototype-kettle | 163806dffa21a1c56c0ace145ba6cce1f1941006 | [
"BSD-3-Clause"
] | 1 | 2018-03-31T02:27:26.000Z | 2018-03-31T02:27:26.000Z |
var __cov_9zhNSGOtxP8qb_J$rrAqDA = (Function('return this'))();
if (!__cov_9zhNSGOtxP8qb_J$rrAqDA.__coverage__) { __cov_9zhNSGOtxP8qb_J$rrAqDA.__coverage__ = {}; }
__cov_9zhNSGOtxP8qb_J$rrAqDA = __cov_9zhNSGOtxP8qb_J$rrAqDA.__coverage__;
if (!(__cov_9zhNSGOtxP8qb_J$rrAqDA['E:\\source\\gits\\infusion-master\\src\\frame... | 253.9 | 1,130 | 0.707365 |
c61ac5e579a9f7ce63d2ea60396fca0d1c85cc7c | 445 | js | JavaScript | src/routes/Todo/components/Footer.js | cedzz/react-redux-learn | 61f6b67b0c500b0c03583662184511af06364ab0 | [
"MIT"
] | null | null | null | src/routes/Todo/components/Footer.js | cedzz/react-redux-learn | 61f6b67b0c500b0c03583662184511af06364ab0 | [
"MIT"
] | null | null | null | src/routes/Todo/components/Footer.js | cedzz/react-redux-learn | 61f6b67b0c500b0c03583662184511af06364ab0 | [
"MIT"
] | null | null | null | import React from 'react';
import FilterLink from './FilterLink';
const Footer = () => {
return (
<p>
<FilterLink
filter="SHOW_ALL"
>
ALL
</FilterLink>
{' '}
<FilterLink
filter="SHOW_ACTIVE"
>
ACTIVE
</FilterLink>
{' '}
<Filt... | 14.354839 | 38 | 0.48764 |
c61accb67319f743541e4e3b5619044d32d05d35 | 579 | js | JavaScript | src/configure.js | codetojoy/WarO_JavaScript_Ramda | f518f73f381804dc43a3a639d023827ca8862778 | [
"Apache-2.0"
] | null | null | null | src/configure.js | codetojoy/WarO_JavaScript_Ramda | f518f73f381804dc43a3a639d023827ca8862778 | [
"Apache-2.0"
] | null | null | null | src/configure.js | codetojoy/WarO_JavaScript_Ramda | f518f73f381804dc43a3a639d023827ca8862778 | [
"Apache-2.0"
] | null | null | null |
const R = require('ramda')
function configure(state) {
const newPlayers = R.map(R.compose(
R.assoc('hand', []),
R.assoc('roundsWon', 0),
R.assoc('total', 0)
), state.players)
const numPlayers = newPlayers.length
const newState = R.compose(
R.assoc... | 24.125 | 84 | 0.561313 |
c61acefe7a15ec31f12ea860a9b153cf08eebbcf | 193 | js | JavaScript | gulpfile.js | tibor19/Aurelia-workshop-DevSum15 | 2c55e4b5a2884214e9852dd742d81795ecb90b3f | [
"MIT"
] | 8 | 2016-07-26T19:03:02.000Z | 2017-10-20T19:59:53.000Z | gulpfile.js | tibor19/Aurelia-workshop-DevSum15 | 2c55e4b5a2884214e9852dd742d81795ecb90b3f | [
"MIT"
] | 1 | 2017-04-24T23:05:31.000Z | 2017-04-25T03:06:14.000Z | gulpfile.js | tibor19/Aurelia-workshop-DevSum15 | 2c55e4b5a2884214e9852dd742d81795ecb90b3f | [
"MIT"
] | null | null | null | /// <binding ProjectOpened='watch' />
// all gulp tasks are located in the ./build/tasks directory
// gulp configuration is in files in ./build directory
require('require-dir')('build/tasks');
| 38.6 | 60 | 0.725389 |
c61ad3f2037de055e2300cc3b4b322dfe4eb414e | 7,247 | js | JavaScript | Public/js_old_zhifu/wffh.js | zz11223/tt | 7840e472ca550b46ebfba90e2d5a5398ee90ec63 | [
"BSD-2-Clause"
] | null | null | null | Public/js_old_zhifu/wffh.js | zz11223/tt | 7840e472ca550b46ebfba90e2d5a5398ee90ec63 | [
"BSD-2-Clause"
] | null | null | null | Public/js_old_zhifu/wffh.js | zz11223/tt | 7840e472ca550b46ebfba90e2d5a5398ee90ec63 | [
"BSD-2-Clause"
] | null | null | null | /**
************************************************************************
WFPHP订单系统版权归WENFEI所有,凡是破解此系统者都会死全家,非常灵验。
************************************************************************
WFPHP订单系统官方网站:http://www.wforder.com/ (盗版盗卖者死全家)
WFPHP订单系统官方店铺:http://889889.taobao.com/ (破解系统者死全家)
***************... | 603.916667 | 6,679 | 0.485442 |
c61ad4c134cda365426ee706775c686c8d9082ff | 2,179 | js | JavaScript | addon/react-component-lib/react-autocomplete.js | ctwoolsey/ember-paper-react | 5be11aebab9e86406e56ea5021e447cba4b16350 | [
"MIT"
] | null | null | null | addon/react-component-lib/react-autocomplete.js | ctwoolsey/ember-paper-react | 5be11aebab9e86406e56ea5021e447cba4b16350 | [
"MIT"
] | null | null | null | addon/react-component-lib/react-autocomplete.js | ctwoolsey/ember-paper-react | 5be11aebab9e86406e56ea5021e447cba4b16350 | [
"MIT"
] | null | null | null | import React from 'react';
import Autocomplete from '@mui/material/Autocomplete';
import TextField from '@mui/material/TextField';
import { ReactConditionalThemeProvider } from './react-conditional-theme-provider';
import { ReactBase } from './base/react-base';
import { AutocompletePropObj } from '../prop-files/autocom... | 34.587302 | 92 | 0.725562 |
c61b8f2ebbfd10ca747b6bb1be026ed293851cb1 | 2,791 | js | JavaScript | node_modules/caniuse-lite/data/regions/PM.js | winprn/LHPOJ | 9c621245f5832c99d9f15a14fecc70c8664b9853 | [
"MIT"
] | 6 | 2019-02-19T06:38:34.000Z | 2021-08-06T06:49:30.000Z | node_modules/caniuse-lite/data/regions/PM.js | winprn/LHPOJ | 9c621245f5832c99d9f15a14fecc70c8664b9853 | [
"MIT"
] | 18 | 2020-04-06T02:00:24.000Z | 2022-03-25T18:52:20.000Z | node_modules/caniuse-lite/data/regions/PM.js | winprn/LHPOJ | 9c621245f5832c99d9f15a14fecc70c8664b9853 | [
"MIT"
] | 4 | 2018-11-26T01:43:22.000Z | 2022-02-25T09:03:01.000Z | module.exports={D:{"4":0.007187,"5":0,"6":0.007187,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0.007187,"21":0,"22":0,"23":0,"24":0,"25":0.014374,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0.014374,"33":0,"34":0.007187,"35":0.007187,"36":0.014374,"37":0,"38":0,"39":0... | 1,395.5 | 2,790 | 0.545324 |
c61bbbec2a8e173eca9077cf3f1fe2eb53d45ee0 | 585 | js | JavaScript | examples/sonar.js | dIIsplAy/Mbot-toto | f4922e61b20edca0f8706d854995069c96ed5936 | [
"MIT"
] | null | null | null | examples/sonar.js | dIIsplAy/Mbot-toto | f4922e61b20edca0f8706d854995069c96ed5936 | [
"MIT"
] | null | null | null | examples/sonar.js | dIIsplAy/Mbot-toto | f4922e61b20edca0f8706d854995069c96ed5936 | [
"MIT"
] | null | null | null | // Uses proximity sensor on the front to tell the distance from the object
// Assumes prox sensor is plugged into port 2 - if not change the pin to use
// the pin for appropriate port and the second pin within it.
var five = require("johnny-five");
var board = new five.Board({ port: '/dev/ttyUSB0' });
board.on("ready... | 30.789474 | 76 | 0.623932 |
c61c2b6942135fd02f390d9741adee114b4aaf7e | 357 | js | JavaScript | src/actions/example.js | alfredop-lagash/docker-image | b46697822a77bc1d2b14f126d88e74a9842bbe92 | [
"MIT"
] | null | null | null | src/actions/example.js | alfredop-lagash/docker-image | b46697822a77bc1d2b14f126d88e74a9842bbe92 | [
"MIT"
] | null | null | null | src/actions/example.js | alfredop-lagash/docker-image | b46697822a77bc1d2b14f126d88e74a9842bbe92 | [
"MIT"
] | null | null | null | import { createActions } from 'reduxsauce';
const { Types, Creators } = createActions(
{
setText: ['value'],
setStatus: ['key', 'value']
},
{
prefix: 'EXAMPLE/'
}
);
const { setText, setStatus } = Creators;
const { SET_TEXT, SET_STATUS } = Types;
export { Types, setText, setStatus, SET_TEXT, SET... | 17.85 | 59 | 0.641457 |
c61c979da480a98262f62be3554d9f3277227b17 | 1,357 | js | JavaScript | integration-tests/__tests__/coverage_remapping.test.js | incleaf/jest | 8d3de491eae9d3a8d495fa37bd11a1a0cd1bc849 | [
"MIT"
] | null | null | null | integration-tests/__tests__/coverage_remapping.test.js | incleaf/jest | 8d3de491eae9d3a8d495fa37bd11a1a0cd1bc849 | [
"MIT"
] | 1 | 2022-03-02T11:06:42.000Z | 2022-03-02T11:06:42.000Z | integration-tests/__tests__/coverage_remapping.test.js | incleaf/jest | 8d3de491eae9d3a8d495fa37bd11a1a0cd1bc849 | [
"MIT"
] | null | null | null | /**
* Copyright (c) 2014-present, Facebook, Inc. All rights reserved.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @flow
*/
'use strict';
const {readFileSync} = require('fs');
const path = require('path');
const skipOnWindows ... | 30.155556 | 77 | 0.699337 |
c61ca2161f96d936466d288b51bb05fcd8d0111f | 9,956 | js | JavaScript | src/icons/Icons.js | erick-martins/react-native-loyal | 70cfe41e24ad715bfea613583324cbca95fa1271 | [
"MIT"
] | null | null | null | src/icons/Icons.js | erick-martins/react-native-loyal | 70cfe41e24ad715bfea613583324cbca95fa1271 | [
"MIT"
] | null | null | null | src/icons/Icons.js | erick-martins/react-native-loyal | 70cfe41e24ad715bfea613583324cbca95fa1271 | [
"MIT"
] | null | null | null | import React from 'react';
import Icon from './Icon';
const Icons = {
Add: props => <Icon name="icon_add_30px" {...props} />,
Airplane: props => <Icon name="icon_airplane_30px" {...props} />,
Alarm: props => <Icon name="icon_alarm_30px" {...props} />,
Analyse: props => <Icon name="icon_analyse_30px" {...props}... | 61.079755 | 88 | 0.623242 |
c61d5f7a5da958beb121d95fcb60b74efd4691d2 | 1,224 | js | JavaScript | src/assets/redactor/dist/_langs/he.min.js | SilverStripers/redactor | baa05090b17b9b631ed3eb9f0687f48947d7dbc2 | [
"MIT"
] | 94 | 2017-12-29T16:37:07.000Z | 2022-03-18T08:13:31.000Z | src/assets/redactor/dist/_langs/he.min.js | SilverStripers/redactor | baa05090b17b9b631ed3eb9f0687f48947d7dbc2 | [
"MIT"
] | 366 | 2017-10-25T21:05:30.000Z | 2022-03-31T21:59:21.000Z | src/assets/redactor/dist/_langs/he.min.js | SilverStripers/redactor | baa05090b17b9b631ed3eb9f0687f48947d7dbc2 | [
"MIT"
] | 64 | 2017-10-31T08:14:22.000Z | 2022-03-27T10:40:05.000Z | Redactor.lang.he={format:"פורמט",image:"תמונה",file:"קובץ",link:"קישור",bold:"מודגש",italic:"נטוי",deleted:"מחוק",underline:"Underline",superscript:"Superscript",subscript:"Subscript","bold-abbr":"B","italic-abbr":"I","deleted-abbr":"S","underline-abbr":"U","superscript-abbr":"Sup","subscript-abbr":"Sub",lists:"רשימות"... | 408 | 1,188 | 0.734477 |
c61e856c0cd4d56ad2d5f9ed08123bb8d288d3ce | 6,970 | js | JavaScript | src/cobra/static/cobra/scripts/global/messages.js | lyoniionly/django-cobra | 2427e5cf74b7739115b1224da3306986b3ee345c | [
"Apache-2.0"
] | 1 | 2015-01-27T08:56:46.000Z | 2015-01-27T08:56:46.000Z | src/cobra/static/cobra/scripts/global/messages.js | lyoniionly/django-cobra | 2427e5cf74b7739115b1224da3306986b3ee345c | [
"Apache-2.0"
] | null | null | null | src/cobra/static/cobra/scripts/global/messages.js | lyoniionly/django-cobra | 2427e5cf74b7739115b1224da3306986b3ee345c | [
"Apache-2.0"
] | null | null | null | (function (app, jQuery, _) {
"use strict";
var $ = jQuery;
var pluginName, pluginClassName, pluginOptions, defaults, Message;
pluginName = 'message';
pluginClassName = pluginName + 'js';
pluginOptions = {
clickToHide: true,
autoHide: true,
autoHideDelay: 50000,
className: 'info',
sh... | 30.043103 | 103 | 0.585509 |
c61eb463baef26c7973d0361e3cc29ac09b92d4e | 15,787 | js | JavaScript | js/ckeditor/lang/da.js | mir-duet/Dunsky | 3a82abfd3d1ace796a87e4957cb7b523e4f7da21 | [
"MIT"
] | 6 | 2015-03-13T08:34:14.000Z | 2022-03-05T17:10:09.000Z | js/ckeditor/lang/da.js | mir-duet/Dunsky | 3a82abfd3d1ace796a87e4957cb7b523e4f7da21 | [
"MIT"
] | 15 | 2015-03-23T08:40:03.000Z | 2022-01-21T23:14:03.000Z | js/ckeditor/lang/da.js | mir-duet/Dunsky | 3a82abfd3d1ace796a87e4957cb7b523e4f7da21 | [
"MIT"
] | 2 | 2015-04-21T15:06:26.000Z | 2017-02-17T14:44:57.000Z | /*
Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.lang.da={dir:'ltr',editorTitle:'Rich text editor, %1, press ALT 0 for help.',toolbar:'Toolbar',editor:'Rich Text Editor',source:'Kilde',newPage:'Ny side',save:'Gem'... | 2,255.285714 | 15,639 | 0.787103 |
c61ee55a1f9f8fbb63b0719c2e2ee562efed73d9 | 10,317 | js | JavaScript | lib/js-cuint/uint32.js | valentinvichnal/bloomfilters.js | ea0bfa70ed41f847680d969f79453f8a8907e1f0 | [
"MIT"
] | 1 | 2017-01-18T18:49:34.000Z | 2017-01-18T18:49:34.000Z | lib/js-cuint/uint32.js | valentinvichnal/bloomfilters.js | ea0bfa70ed41f847680d969f79453f8a8907e1f0 | [
"MIT"
] | null | null | null | lib/js-cuint/uint32.js | valentinvichnal/bloomfilters.js | ea0bfa70ed41f847680d969f79453f8a8907e1f0 | [
"MIT"
] | null | null | null | /**
C-like unsigned 32 bits integers in Javascript
Copyright (C) 2013, Pierre Curto
MIT license
*/
;(function (root) {
// Local cache for typical radices
var radixPowerCache = {
36: UINT32( Math.pow(36, 5) )
, 16: UINT32( Math.pow(16, 7) )
, 10: UINT32( Math.pow(10, 9) )
, 2: UINT32( Math.pow(2, 30) )
}
... | 22.139485 | 93 | 0.621402 |
c61ef6e2b20396e02bc43555c826fee2e09f1c38 | 586 | js | JavaScript | packages/test262-runner/test262/test/built-ins/BigInt/new-target-throws.js | Kashuhackerone/SES-shim | 195f9887119e1a81ca35dd6f445b73241a5e7338 | [
"Apache-2.0"
] | 203 | 2021-03-15T09:28:14.000Z | 2022-03-26T20:42:49.000Z | packages/test262-runner/test262/test/built-ins/BigInt/new-target-throws.js | rekmarks/endo | 7d4b3d8716d5179af4d26762f3110cc2494d7a12 | [
"Apache-2.0"
] | 417 | 2020-02-21T05:08:48.000Z | 2021-03-13T00:18:53.000Z | packages/test262-runner/test262/test/built-ins/BigInt/new-target-throws.js | rekmarks/endo | 7d4b3d8716d5179af4d26762f3110cc2494d7a12 | [
"Apache-2.0"
] | 29 | 2021-03-18T15:34:29.000Z | 2022-03-08T14:36:07.000Z | // Copyright (C) 2017 Robin Templeton. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
description: Throws a TypeError if BigInt is called with a new target
esid: sec-bigint-constructor
info: |
1. If NewTarget is not undefined, throw a TypeError exception.
...
feat... | 23.44 | 70 | 0.691126 |
c61efc85610f2c521d730d99848af282ec2b3d25 | 161 | js | JavaScript | example/static/component/readonly.js | thomas-hoer/minee-go | a279248b870a434fa2f6f6b24f2df183abce1981 | [
"Apache-2.0"
] | null | null | null | example/static/component/readonly.js | thomas-hoer/minee-go | a279248b870a434fa2f6f6b24f2df183abce1981 | [
"Apache-2.0"
] | null | null | null | example/static/component/readonly.js | thomas-hoer/minee-go | a279248b870a434fa2f6f6b24f2df183abce1981 | [
"Apache-2.0"
] | null | null | null | 'use strict'
import { h } from '/js/preact.js'
function Readonly(props){
return h('div',{className:'input-readonly'},props.property.get())
}
export {Readonly} | 20.125 | 66 | 0.701863 |
c61f0dc648119dc1064b8bdcfcf2277a01bea89e | 1,127 | js | JavaScript | app/static/js/promotion_dialog.js | profcalculus/paradigmchess30 | d1cb41d5e18b5449979722d0b95664e60cbed203 | [
"MIT"
] | null | null | null | app/static/js/promotion_dialog.js | profcalculus/paradigmchess30 | d1cb41d5e18b5449979722d0b95664e60cbed203 | [
"MIT"
] | null | null | null | app/static/js/promotion_dialog.js | profcalculus/paradigmchess30 | d1cb41d5e18b5449979722d0b95664e60cbed203 | [
"MIT"
] | null | null | null |
class PromotionDialog {
constructor (board, move_cfg, getImgSrc) {
this.board = board;
this.move_cfg = move_cfg;
// get piece images
$ ('.promotion-piece-q').attr ('src', getImgSrc ('q'));
$ ('.promotion-piece-r').attr ('src', getImgSrc ('r'));
$ ('.promotion-piece-n').attr ('src', getImgSrc ... | 28.897436 | 59 | 0.582964 |
c61f32aceb3639174db65f877aa70fe556b67aa9 | 1,885 | js | JavaScript | app/core/device.js | gitHubLizi/Test1 | c4033d5e8d061c69238d0c3141c1a3fc46a56c6c | [
"MIT",
"Unlicense"
] | null | null | null | app/core/device.js | gitHubLizi/Test1 | c4033d5e8d061c69238d0c3141c1a3fc46a56c6c | [
"MIT",
"Unlicense"
] | null | null | null | app/core/device.js | gitHubLizi/Test1 | c4033d5e8d061c69238d0c3141c1a3fc46a56c6c | [
"MIT",
"Unlicense"
] | null | null | null | import fs from 'fs'
import path from 'path'
const {app} = require('electron').remote
var userData = app.getPath('userData')
export default class Device {
constructor (name, super_block, inode_table, data_bitmap_buffer, data_block_buffer) {
this.name = name
this.size = data_block_buffer.length
this.super_... | 40.978261 | 103 | 0.71565 |
c61f441f9e1c6ea532282a6a086370be679e02cd | 909 | js | JavaScript | ee/app/assets/javascripts/security_dashboard/utils/first_class_project_manager_utils.js | mehulagg/gitlab-codesanbox | 31c455496be37cf6b248012627b9633cd4dd7493 | [
"MIT"
] | null | null | null | ee/app/assets/javascripts/security_dashboard/utils/first_class_project_manager_utils.js | mehulagg/gitlab-codesanbox | 31c455496be37cf6b248012627b9633cd4dd7493 | [
"MIT"
] | null | null | null | ee/app/assets/javascripts/security_dashboard/utils/first_class_project_manager_utils.js | mehulagg/gitlab-codesanbox | 31c455496be37cf6b248012627b9633cd4dd7493 | [
"MIT"
] | 1 | 2020-11-04T05:30:08.000Z | 2020-11-04T05:30:08.000Z | import { s__, sprintf } from '~/locale';
/**
* Creates the notification text to show the user regarding projects that failed to get added
* to the dashboard
*
* @param {Array} invalidProjects all the projects that failed to be added
* @returns {String} the invalid projects formated in a user-friendly way
*/
expo... | 30.3 | 99 | 0.69527 |
c61f7df49e24f4ce7744b1e044b0e9d71fd666ad | 6,099 | js | JavaScript | src/elements/content-sharing/__tests__/useInvites.test.js | The-Speck/box-ui-elements | 53dbdde6d6fa1bbd64292845a667d4721c40d1a1 | [
"Apache-2.0"
] | 673 | 2017-10-03T01:53:24.000Z | 2022-03-30T22:42:15.000Z | src/elements/content-sharing/__tests__/useInvites.test.js | The-Speck/box-ui-elements | 53dbdde6d6fa1bbd64292845a667d4721c40d1a1 | [
"Apache-2.0"
] | 2,087 | 2017-10-26T03:18:49.000Z | 2022-03-29T08:09:16.000Z | src/elements/content-sharing/__tests__/useInvites.test.js | The-Speck/box-ui-elements | 53dbdde6d6fa1bbd64292845a667d4721c40d1a1 | [
"Apache-2.0"
] | 282 | 2017-10-02T23:11:29.000Z | 2022-03-24T11:38:46.000Z | // @flow
import * as React from 'react';
import { act } from 'react-dom/test-utils';
import { mount } from 'enzyme';
import API from '../../../api';
import useInvites from '../hooks/useInvites';
import { TYPE_FOLDER } from '../../../constants';
import {
MOCK_COLLABS_API_RESPONSE,
MOCK_COLLABS_CONVERTED_REQUEST... | 34.851429 | 118 | 0.560256 |
c61ff71b26c8af1cdafde427ccd22e3ee985bb40 | 2,678 | js | JavaScript | node_modules/@slack/web-api/dist/errors.js | micahbowie/hey-avi | 7aa6d3328384bec8e92c0d860468114dd7f7f122 | [
"MIT"
] | 3 | 2020-10-10T10:15:31.000Z | 2021-11-12T10:51:42.000Z | node_modules/@slack/web-api/dist/errors.js | micahbowie/hey-avi | 7aa6d3328384bec8e92c0d860468114dd7f7f122 | [
"MIT"
] | 19 | 2020-10-05T08:18:09.000Z | 2021-09-29T03:36:51.000Z | node_modules/@slack/web-api/dist/errors.js | micahbowie/hey-avi | 7aa6d3328384bec8e92c0d860468114dd7f7f122 | [
"MIT"
] | 1 | 2021-11-11T16:43:31.000Z | 2021-11-11T16:43:31.000Z | "use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.rateLimitedErrorWithDelay = exports.platformErrorFromResult = exports.httpErrorFromResponse = exports.requestErrorWithOriginal = exports.ErrorCode = void 0;
/**
* A dictionary of codes for errors produced by this package
*/
var Error... | 40.575758 | 164 | 0.756161 |
c62076efd6b10de0a249f44f8b6b6ff5d1578a21 | 878 | js | JavaScript | SuiteCommerce Advanced/SC_21.1_Live/LocalDistributionAdvanced/javascript/compiled/Newsletter.js | Rudracool/MotherCareBackend- | 1e38dd4c839929b026b8565739fcc7879a9b79c3 | [
"MIT"
] | null | null | null | SuiteCommerce Advanced/SC_21.1_Live/LocalDistributionAdvanced/javascript/compiled/Newsletter.js | Rudracool/MotherCareBackend- | 1e38dd4c839929b026b8565739fcc7879a9b79c3 | [
"MIT"
] | null | null | null | SuiteCommerce Advanced/SC_21.1_Live/LocalDistributionAdvanced/javascript/compiled/Newsletter.js | Rudracool/MotherCareBackend- | 1e38dd4c839929b026b8565739fcc7879a9b79c3 | [
"MIT"
] | null | null | null | /*
© 2020 NetSuite Inc.
User may not copy, modify, distribute, or re-bundle or otherwise make available this code;
provided, however, if you are an authorized user with a NetSuite account or log-in, you
may use this code subject to the terms that govern your access and use.
*/
define("Newsletter", ["req... | 39.909091 | 142 | 0.671982 |
c6208a02ecf239adf5b984d329bcc732aae5c1e7 | 1,407 | js | JavaScript | start/server.js | tridungle/node-api-es6-boilerplate | 52adacc8292574270e95afc5c42bf3d246677746 | [
"MIT"
] | null | null | null | start/server.js | tridungle/node-api-es6-boilerplate | 52adacc8292574270e95afc5c42bf3d246677746 | [
"MIT"
] | 4 | 2021-03-08T09:12:13.000Z | 2021-03-08T09:47:53.000Z | start/server.js | tridungle/node-api-es6-boilerplate | 52adacc8292574270e95afc5c42bf3d246677746 | [
"MIT"
] | null | null | null | import express from 'express'
import Application from '@app/core/app'
import ErrorHandler from '@app/core/error-handler'
class Server {
constructor() {
this.server = express()
this.application = new Application(this.server)
}
async start() {
try {
await this.wire()
await this.listen()
... | 27.588235 | 102 | 0.658138 |
c620944333160d3067d0fbc3389ba71043c11367 | 18,382 | js | JavaScript | CONTENT/DS-n-Algos/Dynamic-Programming/dynamic-time-warping/tests/dtw.js | Web-Dev-Collaborative/DS-ALGO-OFFICIAL | 6d7195d33c28a0fe22f12231efffb39f4bf05c97 | [
"Apache-2.0"
] | 13 | 2021-03-11T00:25:22.000Z | 2022-03-19T00:19:23.000Z | CONTENT/DS-n-Algos/Dynamic-Programming/dynamic-time-warping/tests/dtw.js | Web-Dev-Collaborative/DS-ALGO-OFFICIAL | 6d7195d33c28a0fe22f12231efffb39f4bf05c97 | [
"Apache-2.0"
] | 162 | 2021-03-09T01:52:11.000Z | 2022-03-12T01:09:07.000Z | CONTENT/DS-n-Algos/Dynamic-Programming/dynamic-time-warping/tests/dtw.js | Web-Dev-Collaborative/DS-ALGO-OFFICIAL | 6d7195d33c28a0fe22f12231efffb39f4bf05c97 | [
"Apache-2.0"
] | 12 | 2021-04-26T19:43:01.000Z | 2022-01-31T08:36:29.000Z | const should = require("should");
const DTW = require("../lib/dtw.js");
describe("DTW", () => {
describe("#Constructor()", () => {
it("should not throw an error upon no value being passed for initialization", () => {
(() => {
const instanceFunctions = ["compute", "path"];
const dtw = new DT... | 28.236559 | 142 | 0.453868 |
c620c17af068a091d75a56b7d54e8fe48d2891ac | 24,907 | js | JavaScript | tests/pre-compiled-app/classes/question/question-elem.js | imaginate/algorithmIV-question-manager | 63ec7b5be965d3bd96d0f878c5ef5c78db7ba53c | [
"Apache-2.0"
] | 42 | 2015-04-10T23:13:57.000Z | 2021-08-29T22:21:47.000Z | tests/pre-compiled-app/classes/question/question-elem.js | imaginate/algorithmIV | f06a6cb09f279afe3ef5783b74d7654950a07c6a | [
"Apache-2.0"
] | 2 | 2016-06-27T20:19:44.000Z | 2018-11-19T21:09:24.000Z | tests/pre-compiled-app/classes/question/question-elem.js | imaginate/algorithmIV | f06a6cb09f279afe3ef5783b74d7654950a07c6a | [
"Apache-2.0"
] | 17 | 2015-04-15T22:31:15.000Z | 2020-12-26T20:14:18.000Z | /**
* -----------------------------------------------------
* Public Class (QuestionElem)
* -----------------------------------------------------
* @desc An object containing the question's html element.
* @param {number} id - The id of the question.
* @constructor
*/
var QuestionElem = functio... | 26.356614 | 80 | 0.470711 |
c620c5ad8cda21656732976ed4d83c8b946912d2 | 2,995 | js | JavaScript | Demo/router/router.js | jumodada/vueXin | 12ad40a006da292725c3ab3690c0427eedbd0e6b | [
"MIT"
] | 132 | 2019-03-14T10:48:15.000Z | 2019-10-23T08:33:12.000Z | Demo/router/router.js | jumodada/vueXin | 12ad40a006da292725c3ab3690c0427eedbd0e6b | [
"MIT"
] | null | null | null | Demo/router/router.js | jumodada/vueXin | 12ad40a006da292725c3ab3690c0427eedbd0e6b | [
"MIT"
] | 13 | 2019-03-22T16:02:15.000Z | 2019-09-10T02:39:54.000Z | import Main from '../components/main/main.vue'
import Content from '../components/content'
export default [
{
path: '/',
name: 'home',
component: Main,
meta: {
notCache: true
},
children: []
},
{
path: '/components',
name: 'compon... | 29.07767 | 98 | 0.373957 |
c620fb381457d89b88ade53cb70d13d73c1f1cec | 1,700 | js | JavaScript | client/store/breakfast.spec.js | Fruit-for-Loops/BreakFaster | 3ad889a8f281bb96afaa3c63a8f2c3c10befe08a | [
"MIT"
] | null | null | null | client/store/breakfast.spec.js | Fruit-for-Loops/BreakFaster | 3ad889a8f281bb96afaa3c63a8f2c3c10befe08a | [
"MIT"
] | 22 | 2019-11-04T17:29:55.000Z | 2019-11-11T20:29:28.000Z | client/store/breakfast.spec.js | Fruit-for-Loops/BreakFaster | 3ad889a8f281bb96afaa3c63a8f2c3c10befe08a | [
"MIT"
] | 1 | 2020-01-01T19:54:11.000Z | 2020-01-01T19:54:11.000Z | /* global describe beforeEach afterEach it */
import {expect} from 'chai'
import {getAllBreakfasts, getSingleBreakfast} from './breakfast'
import axios from 'axios'
import MockAdapter from 'axios-mock-adapter'
import configureMockStore from 'redux-mock-store'
import thunkMiddleware from 'redux-thunk'
import history fr... | 30.909091 | 77 | 0.694706 |
c621e805c4b9bc08b268fab8f3aee2d63cc25131 | 353 | js | JavaScript | resources/static/admin/assets/SalesProductPie.41f142f5.js | Vfuryx/fagin | 2a0a5c4f2611a018a574a0e96db0d94498999a92 | [
"MIT"
] | 5 | 2019-07-23T01:24:47.000Z | 2021-06-20T15:49:09.000Z | resources/static/admin/assets/SalesProductPie.41f142f5.js | Vfuryx/fagin | 2a0a5c4f2611a018a574a0e96db0d94498999a92 | [
"MIT"
] | 9 | 2021-09-21T09:46:10.000Z | 2022-02-19T04:07:53.000Z | resources/static/admin/assets/SalesProductPie.41f142f5.js | Vfuryx/fagin | 2a0a5c4f2611a018a574a0e96db0d94498999a92 | [
"MIT"
] | null | null | null | import{_ as e}from"./SalesProductPie.vue_vue&type=script&setup=true&lang.c058e334.js";export{_ as default}from"./SalesProductPie.vue_vue&type=script&setup=true&lang.c058e334.js";import"./vendor.5da97255.js";/* empty css *//* empty css *//* empty css */import"./useECharts.f11c1965.... | 176.5 | 352 | 0.671388 |
c622127edeba6fe736ed442e5f64a27139c15f0f | 2,933 | js | JavaScript | build/precache-manifest.5d9f6790deccb229b531847ed5bba80d.js | jram97/spazer-web-root | ba637f0a108e2e0b16c2091d3618d073edccc9a6 | [
"MIT"
] | null | null | null | build/precache-manifest.5d9f6790deccb229b531847ed5bba80d.js | jram97/spazer-web-root | ba637f0a108e2e0b16c2091d3618d073edccc9a6 | [
"MIT"
] | null | null | null | build/precache-manifest.5d9f6790deccb229b531847ed5bba80d.js | jram97/spazer-web-root | ba637f0a108e2e0b16c2091d3618d073edccc9a6 | [
"MIT"
] | null | null | null | self.__precacheManifest = (self.__precacheManifest || []).concat([
{
"revision": "9b0777189a5c7471209bd5708c0c6eb0",
"url": "/index.html"
},
{
"revision": "bc098764e9d16e2a264c",
"url": "/static/css/2.e83c4000.chunk.css"
},
{
"revision": "0538d6a25c372de0ee14",
"url": "/static/css/main... | 27.669811 | 69 | 0.662121 |
c622443b3b5edb5599bd877442c9647e9c526abb | 998 | js | JavaScript | app/controllers/payment/transferController.js | cheeta24/AngularApp | 28612f4042d786fc88e53a3e59eeef88c0e86fe7 | [
"MIT"
] | null | null | null | app/controllers/payment/transferController.js | cheeta24/AngularApp | 28612f4042d786fc88e53a3e59eeef88c0e86fe7 | [
"MIT"
] | null | null | null | app/controllers/payment/transferController.js | cheeta24/AngularApp | 28612f4042d786fc88e53a3e59eeef88c0e86fe7 | [
"MIT"
] | null | null | null | 'use strict';
transferApp.controller('TransferController',
function($scope, $http, jsonService){
$scope.myCollections = {};
jsonService.getJson( function(data){
$scope.fromnames = data;
$scope.tonames = data;
... | 29.352941 | 71 | 0.405812 |
c62280fbc060dad96753a43e7f84e6286b30a7d9 | 542 | js | JavaScript | algorithms/141.Linked List Cycle/Linked List Cycle.js | MrErHu/leetcode_answer | bbe5396e1cb532190d4d560542b0ae886468bdc8 | [
"RSA-MD"
] | 14 | 2017-06-29T08:25:49.000Z | 2022-02-04T06:19:06.000Z | algorithms/141.Linked List Cycle/Linked List Cycle.js | MrErHu/Leetcode_answer | bbe5396e1cb532190d4d560542b0ae886468bdc8 | [
"RSA-MD"
] | null | null | null | algorithms/141.Linked List Cycle/Linked List Cycle.js | MrErHu/Leetcode_answer | bbe5396e1cb532190d4d560542b0ae886468bdc8 | [
"RSA-MD"
] | 11 | 2017-02-10T06:11:27.000Z | 2021-04-16T18:00:21.000Z | /**
* Definition for singly-linked list.
* function ListNode(val) {
* this.val = val;
* this.next = null;
* }
*/
/**
* @param {ListNode} head
* @return {boolean}
*/
var hasCycle = function(head) {
if(!head || !head.next){
return false;
}
var front = head.next ? head.next.next : he... | 20.074074 | 58 | 0.52583 |
c6228882c18e88edbfdb343b843d4b0b55a99a3c | 5,460 | js | JavaScript | skipole/skis/static/js/dropdown.js | bernie-skipole/skipole | b45d3291c593e7c03c053ab4f192f1ecc5c3e9b9 | [
"MIT"
] | null | null | null | skipole/skis/static/js/dropdown.js | bernie-skipole/skipole | b45d3291c593e7c03c053ab4f192f1ecc5c3e9b9 | [
"MIT"
] | null | null | null | skipole/skis/static/js/dropdown.js | bernie-skipole/skipole | b45d3291c593e7c03c053ab4f192f1ecc5c3e9b9 | [
"MIT"
] | null | null | null |
SKIPOLE.dropdown = {};
SKIPOLE.dropdown.DropDown1 = function (widg_id, error_message, fieldmap) {
SKIPOLE.BaseWidget.call(this, widg_id, error_message, fieldmap);
};
SKIPOLE.dropdown.DropDown1.prototype = Object.create(SKIPOLE.BaseWidget.prototype);
SKIPOLE.dropdown.DropDown1.prototype.constructor = SKIPOLE... | 35.921053 | 99 | 0.549451 |
c622ec0c8b31daac5e6b3e0ae83e70d8347d11cc | 37,719 | js | JavaScript | src/channel/channel.js | openziti/ziti-browzer-core | 88369bd503edfa781d392922964b24fefcc22b7b | [
"Apache-2.0"
] | null | null | null | src/channel/channel.js | openziti/ziti-browzer-core | 88369bd503edfa781d392922964b24fefcc22b7b | [
"Apache-2.0"
] | 3 | 2022-03-31T14:36:51.000Z | 2022-03-31T14:56:16.000Z | src/channel/channel.js | openziti/ziti-browzer-core | 88369bd503edfa781d392922964b24fefcc22b7b | [
"Apache-2.0"
] | null | null | null | /*
Copyright Netfoundry, 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
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distri... | 29.911975 | 207 | 0.644794 |
c623bfbcf779fb8b1a9c7655bc4719f09c3a9fcb | 121 | js | JavaScript | test/hooks.js | vitalets/bro-fs | da232df3e2a2d0d02e5f67a601e5cb2bbf86ca85 | [
"MIT"
] | 41 | 2016-10-24T14:33:34.000Z | 2022-03-24T18:07:35.000Z | test/hooks.js | vitalets/bro-fs | da232df3e2a2d0d02e5f67a601e5cb2bbf86ca85 | [
"MIT"
] | 10 | 2017-09-19T15:49:49.000Z | 2019-09-19T16:20:50.000Z | test/hooks.js | vitalets/bro-fs | da232df3e2a2d0d02e5f67a601e5cb2bbf86ca85 | [
"MIT"
] | 6 | 2017-08-29T18:53:25.000Z | 2019-03-06T04:43:22.000Z |
before(function () {
return fs.init({type: window.TEMPORARY});
});
beforeEach(function () {
return fs.clear();
});
| 13.444444 | 43 | 0.628099 |
c623ef485a67502264437ef65114f04b98e7680c | 1,049 | js | JavaScript | packages/aquarius/src/global/commands/__test__/ping.test.js | bucket3432/aquarius | 61126a7dfb218e6611e724c26b78faac4ed920f2 | [
"MIT"
] | 60 | 2017-08-13T17:27:53.000Z | 2022-03-17T13:51:42.000Z | packages/aquarius/src/global/commands/__test__/ping.test.js | bucket3432/aquarius | 61126a7dfb218e6611e724c26b78faac4ed920f2 | [
"MIT"
] | 777 | 2016-05-03T03:35:28.000Z | 2022-03-31T23:00:30.000Z | packages/aquarius/src/global/commands/__test__/ping.test.js | bucket3432/aquarius | 61126a7dfb218e6611e724c26b78faac4ed920f2 | [
"MIT"
] | 44 | 2016-05-05T01:24:23.000Z | 2022-03-24T05:30:18.000Z | import { getHandlers, getMatchers } from '@aquarius-bot/testing';
import command from '../ping';
describe('Triggers', () => {
let regex = null;
beforeAll(() => {
// eslint-disable-next-line prefer-destructuring
regex = getMatchers(command)[0];
});
test('Matches Standalone Ping', () => {
expect(re... | 24.395349 | 65 | 0.603432 |
c6241be2f02981a3b8c0f4534129e6de8231d45b | 6,231 | js | JavaScript | ucavatar.js | sfi0zy/ucavatar | 0758384c664db138fb7e7729859d278ba1918f57 | [
"MIT"
] | 15 | 2017-03-12T21:41:20.000Z | 2021-03-22T20:29:38.000Z | ucavatar.js | sfi0zy/ucavatar | 0758384c664db138fb7e7729859d278ba1918f57 | [
"MIT"
] | null | null | null | ucavatar.js | sfi0zy/ucavatar | 0758384c664db138fb7e7729859d278ba1918f57 | [
"MIT"
] | null | null | null | // Ucavatar.js
// Unique avatars generator
//
// Version: 1.0.4
// Author: Ivan Bogachev <sfi0zy@gmail.com>, 2017
// License: MIT
var Ucavatar = (function() {
function strangeHash(str) {
var hash = 0;
if (str.length === 0) {
return hash;
}
for (var i = 0, len... | 25.125 | 79 | 0.411812 |
c62420c348b81a496360bd6b23d45aa44478854e | 1,440 | js | JavaScript | packages/web/.eslintrc.js | hengkx/note | 05be8fed53446d8baa6399baed50aea14e145809 | [
"MIT"
] | 1 | 2017-09-29T07:13:57.000Z | 2017-09-29T07:13:57.000Z | packages/web/.eslintrc.js | hengkx/note | 05be8fed53446d8baa6399baed50aea14e145809 | [
"MIT"
] | null | null | null | packages/web/.eslintrc.js | hengkx/note | 05be8fed53446d8baa6399baed50aea14e145809 | [
"MIT"
] | null | null | null | module.exports = {
"parser": "babel-eslint",
"extends": "airbnb",
"env": {
"browser": true,
"node": true
},
"rules": {
"arrow-parens": ["off"],
"no-script-url": ["off"],
"compat/compat": "error",
"consistent-return": "off",
"comma-dangle": "off",
"generator-star-spacing": "off"... | 30 | 95 | 0.576389 |
c624a64c765f63cee07c5ab6c57f93d67cdf1d45 | 8,035 | js | JavaScript | src/plugins/UnicornLogCore.js | webdevnerdstuff/vue-unicorn-log | 230d254af30e03ba3cbd6c07335c46e931c6d8a8 | [
"MIT"
] | 6 | 2022-03-22T02:25:32.000Z | 2022-03-28T21:25:57.000Z | src/plugins/UnicornLogCore.js | webdevnerdstuff/vue-unicorn-log | 230d254af30e03ba3cbd6c07335c46e931c6d8a8 | [
"MIT"
] | null | null | null | src/plugins/UnicornLogCore.js | webdevnerdstuff/vue-unicorn-log | 230d254af30e03ba3cbd6c07335c46e931c6d8a8 | [
"MIT"
] | null | null | null | /* eslint-disable no-console */
const rainbowLinearGradient = `linear-gradient(to right,
hsl(0, 100%, 50%),
hsl(39, 100%, 50%),
hsl(60, 100%, 50%),
hsl(120, 100%, 50%),
hsl(180, 100%, 50%),
hsl(240, 100%, 50%),
hsl(300, 100%, 50%),
hsl(360, 100%, 50%)
)`;
const UnicornLog = {
// ==============================... | 24.422492 | 144 | 0.586185 |
c62547c5e98a15d4e19626f81a56b4a5bd1b7954 | 931 | js | JavaScript | test/test.js | matthewp/child-when | 059db7861dde5ab9f0efa151443ac407c7815c3c | [
"BSD-2-Clause"
] | null | null | null | test/test.js | matthewp/child-when | 059db7861dde5ab9f0efa151443ac407c7815c3c | [
"BSD-2-Clause"
] | 1 | 2016-02-09T13:04:24.000Z | 2016-02-09T13:24:41.000Z | test/test.js | matthewp/child-when | 059db7861dde5ab9f0efa151443ac407c7815c3c | [
"BSD-2-Clause"
] | null | null | null | var test = require("tape");
var spawn = require("child_process").spawn;
var streamWhen = require("../stream-when");
test("Works with functions", function(t){
t.plan(1);
var child = spawn("echo", ["hello"]);
child.stdout.setEncoding("utf8");
var promise = streamWhen(child.stdout, function(data){
return dat... | 22.166667 | 56 | 0.632653 |
c625c7a214a0f60b2ebb82cba752e0aac4dbffb1 | 780 | js | JavaScript | build/es6/node_modules/@lrnwebcomponents/elmsln-apps/lib/lrnapp-studio-submission/lrnapp-studio-submission-edit-textarea.js | profmikegreene/HAXcms | 50390c19bc91e49f05038fccb1104707153058f5 | [
"Apache-2.0"
] | 1 | 2019-09-04T20:40:47.000Z | 2019-09-04T20:40:47.000Z | build/es6/node_modules/@lrnwebcomponents/elmsln-apps/lib/lrnapp-studio-submission/lrnapp-studio-submission-edit-textarea.js | profmikegreene/HAXcms | 50390c19bc91e49f05038fccb1104707153058f5 | [
"Apache-2.0"
] | null | null | null | build/es6/node_modules/@lrnwebcomponents/elmsln-apps/lib/lrnapp-studio-submission/lrnapp-studio-submission-edit-textarea.js | profmikegreene/HAXcms | 50390c19bc91e49f05038fccb1104707153058f5 | [
"Apache-2.0"
] | null | null | null | import { html, PolymerElement } from "../../../../@polymer/polymer/polymer-element.js";
import "../../../lrn-markdown-editor/lrn-markdown-editor.js";
class LrnappStudioSubmissionEditTextArea extends PolymerElement {
static get template() {
return html`
<style>
:host {
display: block;
... | 24.375 | 105 | 0.64359 |
c6262c57b2358cb7cf0704c5bae6799dc57ed9ef | 1,783 | js | JavaScript | test/idbobjectstore-query-exception-order.wpt.t.js | micmil1977/indexeddb | ae2c11482282d2fac07d1d9f3ab8a0dfbdf7379b | [
"MIT"
] | 21 | 2016-01-14T20:40:07.000Z | 2022-03-13T07:45:30.000Z | test/idbobjectstore-query-exception-order.wpt.t.js | passariello/indexeddb | 07bbb54222da7ba328697353d06fc19271658171 | [
"MIT"
] | 19 | 2015-10-17T21:42:26.000Z | 2021-07-30T04:20:46.000Z | test/idbobjectstore-query-exception-order.wpt.t.js | passariello/indexeddb | 07bbb54222da7ba328697353d06fc19271658171 | [
"MIT"
] | 3 | 2021-02-02T10:43:11.000Z | 2021-11-28T04:54:15.000Z | require('proof')(12, async okay => {
await require('./harness')(okay, 'idbobjectstore-query-exception-order')
await harness(async function () {
['get',
'getAll',
'getAllKeys',
'count',
'openCursor',
'openKeyCursor'
].forEach(method => {
in... | 31.280702 | 83 | 0.458777 |
c62682c0fbdd1e1a2862761861c3fd7be5b652db | 5,790 | js | JavaScript | components/Ventas/seleccionProducto.js | angelmen/CelFactor-mobile | 77f0b626284e68640e72f7ca7b48cd2d805b614b | [
"MIT"
] | null | null | null | components/Ventas/seleccionProducto.js | angelmen/CelFactor-mobile | 77f0b626284e68640e72f7ca7b48cd2d805b614b | [
"MIT"
] | 4 | 2021-05-11T16:25:17.000Z | 2022-02-27T05:58:11.000Z | components/Ventas/seleccionProducto.js | angelmen/CelFactor-mobile | 77f0b626284e68640e72f7ca7b48cd2d805b614b | [
"MIT"
] | null | null | null | import React, { Component, useState } from 'react';
import {
View,
Text,
FlatList,
TouchableOpacity,
StyleSheet,
ActivityIndicator,
Alert,
AsyncStorage,
ScrollView,
TextInput,
} from 'react-native';
import SearchableDropdown from 'react-native-searchable-dropdown';
import { SearchBar, ListItem } fro... | 26.930233 | 80 | 0.533161 |
c6269e97fbfc30526cf412911b040459017b811c | 615 | js | JavaScript | src/Card.js | tnvr-bhatia/Wikipedia-Viewer | d0b136ca69d79222b42e117c5dc25377437f2a5b | [
"MIT"
] | null | null | null | src/Card.js | tnvr-bhatia/Wikipedia-Viewer | d0b136ca69d79222b42e117c5dc25377437f2a5b | [
"MIT"
] | null | null | null | src/Card.js | tnvr-bhatia/Wikipedia-Viewer | d0b136ca69d79222b42e117c5dc25377437f2a5b | [
"MIT"
] | null | null | null | import React, { Component } from "react";
import "./Card.css";
const PAGE_URL = "https://en.wikipedia.org/?curid=";
class Card extends Component {
render() {
return (
<a
className="card"
href={PAGE_URL + this.props.href}
target="_blank"
rel="noopener noreferrer"
>
... | 21.964286 | 64 | 0.530081 |
c6271976d79207849b6531ff692426ac757f3716 | 337 | js | JavaScript | public/assets/js/burger_action.js | anaiva27/Burger-Logger | f6786ddd0119f37835cd09257133f7a92c2a6736 | [
"Unlicense"
] | null | null | null | public/assets/js/burger_action.js | anaiva27/Burger-Logger | f6786ddd0119f37835cd09257133f7a92c2a6736 | [
"Unlicense"
] | null | null | null | public/assets/js/burger_action.js | anaiva27/Burger-Logger | f6786ddd0119f37835cd09257133f7a92c2a6736 | [
"Unlicense"
] | null | null | null | // event for the EAT burger button
$(document).ready(function () {
$(".burger-container").on("click", ".eat-burger-btn", function (event) {
event.preventDefault();
var id = $(this).data("id");
$.ajax(`/burgers/updateOne/${id}`, {
type: "PUT",
}).then(function (data) {
location.reload();
... | 24.071429 | 74 | 0.554896 |
c627cdb30e6ce303769cf540dbcb8e15c2110052 | 94,613 | js | JavaScript | node_modules/react-tooltip/standalone/react-tooltip.js | hieudt7/react-sample | 80d630fd2860c994219954d44bc24c6c75b34388 | [
"MIT"
] | 1 | 2020-09-18T19:37:42.000Z | 2020-09-18T19:37:42.000Z | node_modules/react-tooltip/standalone/react-tooltip.js | hieudt7/react-sample | 80d630fd2860c994219954d44bc24c6c75b34388 | [
"MIT"
] | null | null | null | node_modules/react-tooltip/standalone/react-tooltip.js | hieudt7/react-sample | 80d630fd2860c994219954d44bc24c6c75b34388 | [
"MIT"
] | null | null | null | (function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.ReactTooltip =... | 36.07053 | 8,143 | 0.660787 |
c6285829bdd2a16eb2ec346a2a1da723afd11121 | 104 | js | JavaScript | index.js | rappopo/dab | 81d4d25c078513c501ff30c627994f3176aecd2c | [
"MIT"
] | 4 | 2017-12-09T03:39:45.000Z | 2021-07-23T05:17:16.000Z | index.js | rappopo/dab | 81d4d25c078513c501ff30c627994f3176aecd2c | [
"MIT"
] | null | null | null | index.js | rappopo/dab | 81d4d25c078513c501ff30c627994f3176aecd2c | [
"MIT"
] | null | null | null | 'use strict'
module.exports.Dab = require('./dab')
module.exports.Collection = require('./collection')
| 20.8 | 51 | 0.721154 |
c628e7cc9ba6dddb84488f4ce0645fef48953408 | 48 | js | JavaScript | lib/parcel-plugin-wasm-pack/src/__fixtures__/packager/without-wasm-assets/src/lib.js | A1Liu/tcc | 441ff516d974faec922a73daa02c074a2f0ec21c | [
"MIT"
] | 15 | 2019-04-28T08:05:41.000Z | 2021-01-13T07:56:56.000Z | lib/parcel-plugin-wasm-pack/src/__fixtures__/packager/without-wasm-assets/src/lib.js | A1Liu/tcc | 441ff516d974faec922a73daa02c074a2f0ec21c | [
"MIT"
] | 278 | 2019-04-14T23:25:49.000Z | 2021-08-02T10:17:57.000Z | lib/parcel-plugin-wasm-pack/src/__fixtures__/packager/without-wasm-assets/src/lib.js | A1Liu/tcc | 441ff516d974faec922a73daa02c074a2f0ec21c | [
"MIT"
] | 3 | 2019-05-30T00:49:42.000Z | 2021-10-14T16:29:55.000Z | export function run() {
console.log('run');
}
| 12 | 23 | 0.625 |
c628f4605a39ef298c5698f154f922185df053b4 | 697 | js | JavaScript | src/components/TodoList/index.js | ArturW1998/ReactToDoApp | b8f0d82699faf492a171009038175f6cdde125f6 | [
"MIT"
] | 1 | 2019-12-04T16:23:11.000Z | 2019-12-04T16:23:11.000Z | src/components/TodoList/index.js | ArturW1998/ToDoApp | b8f0d82699faf492a171009038175f6cdde125f6 | [
"MIT"
] | 10 | 2020-04-05T13:27:03.000Z | 2022-02-26T20:59:28.000Z | src/components/TodoList/index.js | ArturW1998/ReactToDoApp | b8f0d82699faf492a171009038175f6cdde125f6 | [
"MIT"
] | null | null | null | import React, { useContext, Fragment } from 'react';
import Paper from '@material-ui/core/Paper';
import List from '@material-ui/core/List';
import Divider from '@material-ui/core/Divider';
import { TodosContext } from '~/context/todos.context';
import Todo from '../Todo';
const TodoList = () => {
const todos = u... | 21.78125 | 55 | 0.583931 |
c62922d078b7d2c3152a647ffd7f038a809b6a30 | 2,646 | js | JavaScript | app/admin/controller/category.js | doubleleee/iMall-server | 75f6ee0282f2e2ee5811504d3ea50d2f6092f5c4 | [
"MIT"
] | 5 | 2018-08-20T08:36:24.000Z | 2019-08-06T07:45:57.000Z | app/admin/controller/category.js | doubleleee/iMall-server | 75f6ee0282f2e2ee5811504d3ea50d2f6092f5c4 | [
"MIT"
] | 1 | 2021-05-11T09:56:48.000Z | 2021-05-11T09:56:48.000Z | app/admin/controller/category.js | doubleleee/iMall-server | 75f6ee0282f2e2ee5811504d3ea50d2f6092f5c4 | [
"MIT"
] | 1 | 2018-10-17T09:32:40.000Z | 2018-10-17T09:32:40.000Z | function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, arguments); return new Promise(function (resolve, reject) { function step(key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { return Promise... | 28.76087 | 458 | 0.575208 |
c629768c2c1b3ab63a5f82c77f90760a252b425d | 3,680 | js | JavaScript | server/api/home.js | maxweng/MADao | 38b7e31a81f7d0e98116057a9c02cbb9ca4e4320 | [
"Apache-2.0"
] | null | null | null | server/api/home.js | maxweng/MADao | 38b7e31a81f7d0e98116057a9c02cbb9ca4e4320 | [
"Apache-2.0"
] | null | null | null | server/api/home.js | maxweng/MADao | 38b7e31a81f7d0e98116057a9c02cbb9ca4e4320 | [
"Apache-2.0"
] | null | null | null | var utils = require('../../utils');
var web3 = utils.web3;
function getBalance(addr, gethRPC) {
var data = utils.response.getDefaultResponse();
try {
var addr = utils.eth.formatAddress(addr);
var balancehex = web3.eth.getBalance(addr, "pending");
//var balance = utils.eth.bchexdec(balan... | 29.677419 | 97 | 0.571196 |
c62b4d176817c2d131a09c025b22ac587296fbb2 | 15,753 | js | JavaScript | v1.testing/assets/js/993.7f1454f4.js | Ecuashungo/docs.px4.io | e9bc1c35518f9c5203cd74aefd223ba98092d03a | [
"CC-BY-4.0"
] | null | null | null | v1.testing/assets/js/993.7f1454f4.js | Ecuashungo/docs.px4.io | e9bc1c35518f9c5203cd74aefd223ba98092d03a | [
"CC-BY-4.0"
] | null | null | null | v1.testing/assets/js/993.7f1454f4.js | Ecuashungo/docs.px4.io | e9bc1c35518f9c5203cd74aefd223ba98092d03a | [
"CC-BY-4.0"
] | null | null | null | (window.webpackJsonp=window.webpackJsonp||[]).push([[993],{2111:function(e,t,s){"use strict";s.r(t);var a=s(18),n=Object(a.a)({},(function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("ContentSlotsDistributor",{attrs:{"slot-key":e.$parent.slotKey}},[s("h1",{attrs:{id:"manually-generate-client-and-agent-code... | 15,753 | 15,753 | 0.625532 |
c62bae056a2a95ba8ac87ac2652a00057f0774b7 | 592 | js | JavaScript | linuxprobe.js | zhubinqiang/tampermonkey_js | e2d9060f1707b0b375b2e5e61d9ce05ff0c5f484 | [
"MIT"
] | 1 | 2020-08-08T14:57:01.000Z | 2020-08-08T14:57:01.000Z | linuxprobe.js | zhubinqiang/tampermonkey_js | e2d9060f1707b0b375b2e5e61d9ce05ff0c5f484 | [
"MIT"
] | null | null | null | linuxprobe.js | zhubinqiang/tampermonkey_js | e2d9060f1707b0b375b2e5e61d9ce05ff0c5f484 | [
"MIT"
] | null | null | null | // ==UserScript==
// @name nuxprobe
// @namespace https://github.com/zhubinqiang/tampermonkey_js
// @version 0.1
// @description block some ads
// @author Zhu,binqiang
// @match https://www.linuxprobe.com/*
// @grant none
// @require https://cdn.bootcss.com/jquery/3.2.1/jquery.... | 23.68 | 67 | 0.503378 |
c62bda180d5fa22b7e28c9e10dbe98db5d1dd189 | 489 | js | JavaScript | src/component/message/Message.js | anselmozago/reactjs-chart-plot | 7d86c8bbcabab24dbc3f8a91a8f0a33b4b615de8 | [
"MIT"
] | null | null | null | src/component/message/Message.js | anselmozago/reactjs-chart-plot | 7d86c8bbcabab24dbc3f8a91a8f0a33b4b615de8 | [
"MIT"
] | null | null | null | src/component/message/Message.js | anselmozago/reactjs-chart-plot | 7d86c8bbcabab24dbc3f8a91a8f0a33b4b615de8 | [
"MIT"
] | null | null | null | import React from 'react'
import PropTypes from 'prop-types';
const Message = props => {
return (
<div className="messageBox">
<div className="messageTitle">
<h1>{props.title}</h1>
</div>
<p className="messageText">{props.message}</p>
<p>{prop... | 23.285714 | 58 | 0.580777 |
c62bdc0275b07b757e52d873f758f7320101a40a | 3,247 | js | JavaScript | client_04/src/auth/Auth.js | chk-code/cdnd-05-3dinpainting | ab5f16c00c828c255013ba2a0cbc1dc0819d057b | [
"MIT"
] | null | null | null | client_04/src/auth/Auth.js | chk-code/cdnd-05-3dinpainting | ab5f16c00c828c255013ba2a0cbc1dc0819d057b | [
"MIT"
] | null | null | null | client_04/src/auth/Auth.js | chk-code/cdnd-05-3dinpainting | ab5f16c00c828c255013ba2a0cbc1dc0819d057b | [
"MIT"
] | null | null | null | import auth0 from 'auth0-js';
import { authConfig } from '../config';
export default class Auth {
accessToken;
idToken;
expiresAt;
auth0 = new auth0.WebAuth({
domain: authConfig.domain,
clientID: authConfig.clientId,
redirectUri: authConfig.callbackUrl,
responseType: 'token id_token',
scop... | 27.516949 | 86 | 0.63782 |
c62c4c426f889d8d18c3f0455d278df04ab01a8f | 21,107 | js | JavaScript | node_modules/element-plus/lib/components/form/index.js | Miaohu666/vue_main | cca921b0459b1777975d6277859d066a7f8a138e | [
"Apache-2.0"
] | null | null | null | node_modules/element-plus/lib/components/form/index.js | Miaohu666/vue_main | cca921b0459b1777975d6277859d066a7f8a138e | [
"Apache-2.0"
] | null | null | null | node_modules/element-plus/lib/components/form/index.js | Miaohu666/vue_main | cca921b0459b1777975d6277859d066a7f8a138e | [
"Apache-2.0"
] | null | null | null | 'use strict';
Object.defineProperty(exports, '__esModule', { value: true });
var vue = require('vue');
var mitt = require('mitt');
var tokens = require('../../tokens');
var AsyncValidator = require('async-validator');
var shared = require('@vue/shared');
var util = require('../../utils/util');
var validators = requir... | 31.931921 | 180 | 0.58483 |
c62cb4f89543bacebaa9597131ee9a7fe09b9dac | 679 | js | JavaScript | web/js/feedback.js | oshanrube/iva | cef1eb5162dff7c9873493db20475802114d62dd | [
"MIT"
] | 1 | 2015-01-21T00:03:36.000Z | 2015-01-21T00:03:36.000Z | web/js/feedback.js | oshanrube/iva | cef1eb5162dff7c9873493db20475802114d62dd | [
"MIT"
] | null | null | null | web/js/feedback.js | oshanrube/iva | cef1eb5162dff7c9873493db20475802114d62dd | [
"MIT"
] | null | null | null | function toggleFeedback(){
//$("#FeedbackForm").slideToggle('slow');
if( $("#feedbackHandle").css('bottom') == "234px" ) {
$("#feedbackHandle").animate({ bottom: '30' }, 'slow' );
$("#FeedbackForm").animate({ bottom: '-234' }, 'slow' );
} else {
$("#feedbackHandle").animate({ bottom: '234' }, 'slow' );
... | 29.521739 | 68 | 0.590574 |
c62d0b7a221e0c4e3116a7bb000a415027ccbc6f | 2,833 | js | JavaScript | server/index.js | weirdindiankid/urban-refuge | 526b61c7332ed2260e741c60b24fc27550db36e2 | [
"MIT"
] | null | null | null | server/index.js | weirdindiankid/urban-refuge | 526b61c7332ed2260e741c60b24fc27550db36e2 | [
"MIT"
] | null | null | null | server/index.js | weirdindiankid/urban-refuge | 526b61c7332ed2260e741c60b24fc27550db36e2 | [
"MIT"
] | null | null | null | var express = require('express');
var app = express();
var passport = require('passport');
var WindowsLiveStrategy = require('passport-windowslive');
var hbs = require('hbs');
var session = require('express-session');
var bodyParser = require('body-parser');
var cookieParser = require('cookie-parser');
var config = req... | 30.462366 | 92 | 0.69114 |
c62d15253f962d310ef7f65f1832df792acea2d0 | 723 | js | JavaScript | src/item.js | tliebert/todo | 801c307475faf57d624b03b2afc2db6470820fb6 | [
"MIT"
] | null | null | null | src/item.js | tliebert/todo | 801c307475faf57d624b03b2afc2db6470820fb6 | [
"MIT"
] | null | null | null | src/item.js | tliebert/todo | 801c307475faf57d624b03b2afc2db6470820fb6 | [
"MIT"
] | null | null | null | // factory that creates the todo object
const todoFactory = function (title, description, duedate, priority, notes) {
let todoItem = {
title: title,
description: description,
duedate: duedate,
priority: priority,
notes: notes,
};
return todoItem;
};
// explore how to refactor this into a si... | 19.026316 | 80 | 0.69018 |
c62d4e4632e9bfda6af918ae851e81dcd1881645 | 9,174 | js | JavaScript | class/wallets/abstract-wallet.js | wuyih9/BlueWallet | 2cc0b69cc89ee17690e291a7bf95749767530348 | [
"MIT"
] | 1 | 2021-06-17T22:46:07.000Z | 2021-06-17T22:46:07.000Z | class/wallets/abstract-wallet.js | scoinhawk/BlueWallet | f26b6942935b0ed6ff3ce9be2bed610bec7934cb | [
"MIT"
] | null | null | null | class/wallets/abstract-wallet.js | scoinhawk/BlueWallet | f26b6942935b0ed6ff3ce9be2bed610bec7934cb | [
"MIT"
] | 1 | 2021-06-26T15:16:58.000Z | 2021-06-26T15:16:58.000Z | import { BitcoinUnit, Chain } from '../../models/bitcoinUnits';
import b58 from 'bs58check';
const createHash = require('create-hash');
export class AbstractWallet {
static type = 'abstract';
static typeReadable = 'abstract';
static fromJson(obj) {
const obj2 = JSON.parse(obj);
const temp = new this();
... | 26.136752 | 197 | 0.638435 |
c62e02f738bb4dde85b066b402cafb0d7d8f6390 | 2,344 | js | JavaScript | aka-open.js | arulned/aka-open | 59eba7572ce8ce7fb18191a18edb1d562bac7e40 | [
"Apache-2.0"
] | null | null | null | aka-open.js | arulned/aka-open | 59eba7572ce8ce7fb18191a18edb1d562bac7e40 | [
"Apache-2.0"
] | null | null | null | aka-open.js | arulned/aka-open | 59eba7572ce8ce7fb18191a18edb1d562bac7e40 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env node
var EdgeGrid = require('edgegrid');
var untildify = require('untildify');
var fs = require('fs');
// Supply the path to your .edgerc file and name
// of the section with authorization to the client
// you are calling (default section is 'default')
require('sywac')
.command("get <url>", {
... | 29.670886 | 107 | 0.544795 |
c62e0399f11796f6d70e469d785275b1270899f8 | 1,218 | js | JavaScript | src/main/generic/consensus/light/LightConsensus.js | terorie/core | f19f70c098c7e663d5a1669606c27f2b56069ee7 | [
"Apache-2.0"
] | 1 | 2018-12-30T03:01:06.000Z | 2018-12-30T03:01:06.000Z | src/main/generic/consensus/light/LightConsensus.js | terorie/core | f19f70c098c7e663d5a1669606c27f2b56069ee7 | [
"Apache-2.0"
] | 92 | 2019-03-14T04:22:12.000Z | 2021-08-02T04:20:31.000Z | src/main/generic/consensus/light/LightConsensus.js | terorie/nimiq-core | f19f70c098c7e663d5a1669606c27f2b56069ee7 | [
"Apache-2.0"
] | 1 | 2021-12-20T14:26:11.000Z | 2021-12-20T14:26:11.000Z | class LightConsensus extends BaseConsensus {
/**
* @param {LightChain} blockchain
* @param {Mempool} mempool
* @param {Network} network
*/
constructor(blockchain, mempool, network) {
super(blockchain, mempool, network);
/** @type {LightChain} */
this._blockchain = blo... | 25.375 | 143 | 0.591133 |
c62e7c77c0fbab681c89a807057b0ddab7777055 | 885 | js | JavaScript | models/comment.js | Ulysses31/react-tasks-mern | 4504c3bdf7aa2820ebd1f38c61b6411692beb659 | [
"MIT"
] | null | null | null | models/comment.js | Ulysses31/react-tasks-mern | 4504c3bdf7aa2820ebd1f38c61b6411692beb659 | [
"MIT"
] | null | null | null | models/comment.js | Ulysses31/react-tasks-mern | 4504c3bdf7aa2820ebd1f38c61b6411692beb659 | [
"MIT"
] | null | null | null | const { v4: uuidv4 } = require('uuid');
const mongoose = require('mongoose');
const Comment = mongoose.model(
'Comment',
new mongoose.Schema({
_id: mongoose.Schema.Types.ObjectId,
description: {
type: String,
required: true,
maxlength: 255
},
isEnabled: {
type: Boolean,
... | 17.7 | 43 | 0.533333 |
c62f4a3604de8d459cb88b8586c735bd0d96f747 | 2,233 | js | JavaScript | node_modules/write-json-file/index.js | Yodart/arara | e94d1b23a38439ce712b725cba3567880ddffce0 | [
"MIT"
] | 5 | 2020-08-28T07:54:47.000Z | 2021-11-12T12:03:19.000Z | node_modules/write-json-file/index.js | Yodart/arara | e94d1b23a38439ce712b725cba3567880ddffce0 | [
"MIT"
] | 70 | 2020-05-22T02:48:33.000Z | 2020-07-29T18:32:12.000Z | node_modules/write-json-file/index.js | Yodart/arara | e94d1b23a38439ce712b725cba3567880ddffce0 | [
"MIT"
] | 1 | 2021-12-16T08:15:15.000Z | 2021-12-16T08:15:15.000Z | 'use strict';
const {promisify} = require('util');
const path = require('path');
const fs = require('graceful-fs');
const writeFileAtomic = require('write-file-atomic');
const sortKeys = require('sort-keys');
const makeDir = require('make-dir');
const detectIndent = require('detect-indent');
const isPlainObj = require(... | 24.010753 | 104 | 0.656964 |
c630096e49ae26ee1bd3e8b08fa9c0fb788a59a9 | 1,011 | js | JavaScript | src/equation_editor/button_group_view.js | blueysnow2/_tinymce_mobileequationeditor | 712ed81ae092c2c1450e4d099e06a982bb51b843 | [
"MIT"
] | null | null | null | src/equation_editor/button_group_view.js | blueysnow2/_tinymce_mobileequationeditor | 712ed81ae092c2c1450e4d099e06a982bb51b843 | [
"MIT"
] | null | null | null | src/equation_editor/button_group_view.js | blueysnow2/_tinymce_mobileequationeditor | 712ed81ae092c2c1450e4d099e06a982bb51b843 | [
"MIT"
] | null | null | null | EquationEditor.ButtonGroupView = class ButtonGroupView extends EquationEditor.View {
constructor(events, options) {
super(events, options);
this.toggle = this.toggle.bind(this);
}
initialize() {
this.groupName = this.options.groupName;
return this.buttonViews = this.options.buttonViews;... | 25.923077 | 97 | 0.63996 |
c6304a388549e86456523ca52a7302f17f58cfb1 | 1,189 | js | JavaScript | public/js/create_task.js | GaryChen513/RESchedule | ae6f5e82091355447bd3a2faa70d653e0c6be027 | [
"ISC"
] | null | null | null | public/js/create_task.js | GaryChen513/RESchedule | ae6f5e82091355447bd3a2faa70d653e0c6be027 | [
"ISC"
] | null | null | null | public/js/create_task.js | GaryChen513/RESchedule | ae6f5e82091355447bd3a2faa70d653e0c6be027 | [
"ISC"
] | 3 | 2021-03-30T09:27:16.000Z | 2021-03-30T11:34:21.000Z | var cal = [];
document.querySelector('#confirm').addEventListener('click', (e) => {
e.preventDefault();
cal = document.querySelector('#schedule').bulmaCalendar;
// console.log(cal.startTime);
// console.log(cal.endTime);
// console.log(cal.startDate);
// console.log(cal.endDate);
// console.log;
});
const creat... | 27.651163 | 69 | 0.705635 |
c6306a0a7f6c89b7a3c607c9651fa849a4150066 | 1,061 | js | JavaScript | src/gitter/components/tray.js | baeyun/gitter-slim | 538c635f494f7f700cb66622787e665c433a55ac | [
"MIT"
] | 4 | 2019-07-14T12:23:51.000Z | 2020-05-01T18:08:36.000Z | src/gitter/components/tray.js | bukharim96/gitter-slim | 538c635f494f7f700cb66622787e665c433a55ac | [
"MIT"
] | 4 | 2021-10-06T00:46:18.000Z | 2022-03-02T11:12:56.000Z | src/gitter/components/tray.js | baeyun/gitter-slim | 538c635f494f7f700cb66622787e665c433a55ac | [
"MIT"
] | 1 | 2020-05-01T18:08:40.000Z | 2020-05-01T18:08:40.000Z | 'use strict';
var preferences = require('../utils/user-preferences');
var events = require('../utils/custom-events');
var CLIENT_TYPE = require('../utils/client-type');
var icon = require('../icons.json')[CLIENT_TYPE];
function CustomTray() {
this.tray = new nw.Tray({
icon: icon.disconnected,
alticon: icon... | 25.261905 | 58 | 0.70311 |
c630bd54da1e119371383afa5864d2d9a4109b4a | 716 | js | JavaScript | src/index.js | cjgammon/pixi-nano.js | 222bb65dfc8d38bed72a3d34536e4199325863ce | [
"MIT"
] | null | null | null | src/index.js | cjgammon/pixi-nano.js | 222bb65dfc8d38bed72a3d34536e4199325863ce | [
"MIT"
] | null | null | null | src/index.js | cjgammon/pixi-nano.js | 222bb65dfc8d38bed72a3d34536e4199325863ce | [
"MIT"
] | null | null | null | // run the polyfills
require('./polyfill');
var core = module.exports = require('./core');
// add core plugins.
//core.extras = require('./extras');
//core.filters = require('./filters');
//core.interaction = require('./interaction');
//core.loaders = require('./loaders');
//core.mesh ... | 25.571429 | 73 | 0.643855 |
c630f66bcc29567eaa72aa25eab045fb4567f6bc | 2,181 | js | JavaScript | famille/static/js/contact_us.js | huguesmayolle/famille | c7b3399e88a6922cadc0c7c9f2ff7447e7c95377 | [
"Apache-2.0"
] | null | null | null | famille/static/js/contact_us.js | huguesmayolle/famille | c7b3399e88a6922cadc0c7c9f2ff7447e7c95377 | [
"Apache-2.0"
] | null | null | null | famille/static/js/contact_us.js | huguesmayolle/famille | c7b3399e88a6922cadc0c7c9f2ff7447e7c95377 | [
"Apache-2.0"
] | null | null | null | var notifier = require("./notifier.js");
(function ($) {
function validateEmail(email) {
var re = /^(([^<>()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;
return re.test(email);
}
function v... | 34.078125 | 173 | 0.486933 |
c6314db6f2f17f5ccc802a0b3b97b6873e62e484 | 3,604 | js | JavaScript | addon/utils/ce/handlers/emphasis-markdown-handler.js | SchrodingersCat00/ember-rdfa-editor | e81bf1f870dd402f424104d9ae0809b6d20f9d8b | [
"MIT"
] | null | null | null | addon/utils/ce/handlers/emphasis-markdown-handler.js | SchrodingersCat00/ember-rdfa-editor | e81bf1f870dd402f424104d9ae0809b6d20f9d8b | [
"MIT"
] | null | null | null | addon/utils/ce/handlers/emphasis-markdown-handler.js | SchrodingersCat00/ember-rdfa-editor | e81bf1f870dd402f424104d9ae0809b6d20f9d8b | [
"MIT"
] | null | null | null | import getRichNodeMatchingDomNode from '../get-rich-node-matching-dom-node';
import { get } from '@ember/object';
import { isBlank } from '@ember/utils';
import HandlerResponse from './handler-response';
import { invisibleSpace } from '../dom-helpers';
let BOLDMARKDOWN = /(\*\*)(.*?)\1/;
let EMPHASISMARKDOWN = /(\*)(... | 33.37037 | 110 | 0.710877 |
fce5d2d7cf5daffd0d44769141500aa15c1f68ae | 760 | js | JavaScript | ci/cypress/integration/auth/logout.spec.js | bit-country/bitcountry-dapp | 3ffb18511b7b2bd90070ddfc7899b592a8f2f08d | [
"Apache-2.0"
] | 11 | 2020-09-15T00:45:51.000Z | 2022-02-24T15:09:54.000Z | ci/cypress/integration/auth/logout.spec.js | bit-country/bitcountry-dapp | 3ffb18511b7b2bd90070ddfc7899b592a8f2f08d | [
"Apache-2.0"
] | null | null | null | ci/cypress/integration/auth/logout.spec.js | bit-country/bitcountry-dapp | 3ffb18511b7b2bd90070ddfc7899b592a8f2f08d | [
"Apache-2.0"
] | 2 | 2020-09-22T23:07:22.000Z | 2020-12-16T08:36:13.000Z | /// <reference types="Cypress" />
describe("Logout Test:", () => {
beforeEach("Login", () => {
cy.login();
});
// TODO this will need to be tested for client/employer later
it("Logout", function () {
cy.login();
cy.visit("/");
// perform UI logout
cy.get("a.nav-btn > .anticon-logout").trig... | 30.4 | 76 | 0.586842 |
fce6a505be3d28a03bb679b358dfdb8f6b9f8a8a | 8,005 | js | JavaScript | public/lib/angular-kendo/doc/lib/prism/prism.js | Nen0/bazaprojekata | bd5c2e8c9734a02c14b07bf80463b0603918a9e9 | [
"MIT"
] | null | null | null | public/lib/angular-kendo/doc/lib/prism/prism.js | Nen0/bazaprojekata | bd5c2e8c9734a02c14b07bf80463b0603918a9e9 | [
"MIT"
] | 3 | 2019-12-01T15:43:11.000Z | 2021-05-10T20:23:06.000Z | public/lib/angular-kendo/doc/lib/prism/prism.js | Nen0/bazaprojekata | bd5c2e8c9734a02c14b07bf80463b0603918a9e9 | [
"MIT"
] | null | null | null | /* http://prismjs.com/download.html?themes=prism&languages=markup+css+css-extras+clike+javascript&plugins=line-numbers */
var self=typeof window!="undefined"?window:{},Prism=function(){var e=/\blang(?:uage)?-(?!\*)(\w+)\b/i,t=self.Prism={util:{type:function(e){return Object.prototype.toString.call(e).match(/\[object (\... | 800.5 | 3,964 | 0.643598 |
fce6c872fab36fcab5d43e2d0c68db446876cf2b | 1,609 | js | JavaScript | public/app/utils.js | nicksp/socialhub-addonarea | 6ab686fbe31db40a9a3e8f70450a564ce7e348fd | [
"MIT"
] | null | null | null | public/app/utils.js | nicksp/socialhub-addonarea | 6ab686fbe31db40a9a3e8f70450a564ce7e348fd | [
"MIT"
] | null | null | null | public/app/utils.js | nicksp/socialhub-addonarea | 6ab686fbe31db40a9a3e8f70450a564ce7e348fd | [
"MIT"
] | null | null | null | 'use strict';
// App namespaces
var SHApp = SHApp || {};
SHApp.Models = SHApp.Models || {};
SHApp.Views = SHApp.Views || {};
SHApp.Utils = SHApp.Utils || {};
SHApp.Utils = {
// Asynchronously load templates located in separate .html files
loadTemplate: function (views, callback) {
var deferreds = [];
$... | 27.271186 | 87 | 0.607209 |
fce7ad7ab276200a96f7cbedd1b936d487178c54 | 115 | js | JavaScript | src/config/index.js | voloviv/rekognition-demo | 6aa6f5027c4b75dee642fa24bfb49097220f14b9 | [
"MIT"
] | 1 | 2018-08-07T13:07:16.000Z | 2018-08-07T13:07:16.000Z | src/config/index.js | voloviv/rekognition-demo | 6aa6f5027c4b75dee642fa24bfb49097220f14b9 | [
"MIT"
] | null | null | null | src/config/index.js | voloviv/rekognition-demo | 6aa6f5027c4b75dee642fa24bfb49097220f14b9 | [
"MIT"
] | null | null | null | /* @flow */
if (__DEV__) {
module.exports = require('./.env');
} else {
module.exports = require('./prod');
}
| 14.375 | 37 | 0.556522 |
fce7c3138b644d338ff2a41ebc6aadd51c27ec3b | 5,603 | js | JavaScript | code_documentation/dynamic_graph_manager/documentation/hierarchy.js | machines-in-motion/machines-in-motion.github.io | 6deb8c3ade0b30893843084da6813789c63d9b43 | [
"BSD-3-Clause"
] | 1 | 2021-02-18T21:10:53.000Z | 2021-02-18T21:10:53.000Z | code_documentation/dynamic_graph_manager/documentation/hierarchy.js | machines-in-motion/machines-in-motion.github.io | 6deb8c3ade0b30893843084da6813789c63d9b43 | [
"BSD-3-Clause"
] | 4 | 2020-05-04T08:34:07.000Z | 2021-03-24T11:22:45.000Z | code_documentation/dynamic_graph_manager/documentation/hierarchy.js | machines-in-motion/machines-in-motion.github.io | 6deb8c3ade0b30893843084da6813789c63d9b43 | [
"BSD-3-Clause"
] | 1 | 2021-02-18T21:10:54.000Z | 2021-02-18T21:10:54.000Z | var hierarchy =
[
[ "dynamic_graph::internal::Add< T >", "structdynamic__graph_1_1internal_1_1Add.html", null ],
[ "dynamic_graph::internal::Add< std::pair< T, dg::Vector > >", "structdynamic__graph_1_1internal_1_1Add_3_01std_1_1pair_3_01T_00_01dg_1_1Vector_01_4_01_4.html", null ],
[ "dynamic_graph::interna... | 87.546875 | 183 | 0.76227 |
fce803f7523334aa4ee7765b583b3f9859fd6422 | 525 | js | JavaScript | src/tag-cloud.js | cherrry/static-tag-cloud | 331fc27204da4a4614dc043acd6f85ce1a040002 | [
"MIT"
] | null | null | null | src/tag-cloud.js | cherrry/static-tag-cloud | 331fc27204da4a4614dc043acd6f85ce1a040002 | [
"MIT"
] | null | null | null | src/tag-cloud.js | cherrry/static-tag-cloud | 331fc27204da4a4614dc043acd6f85ce1a040002 | [
"MIT"
] | null | null | null | 'use strict'
var assign = require('object-assign')
var distribute = require('./distribute')
var shuffle = require('./shuffle')
var DEFAULT_NUM_OF_BUCKETS = 4
var tagCloud = function (tagDefs, options) {
// only process tags with positive count
tagDefs = tagDefs.filter(function (tagDef) { return tagDef.count > 0... | 26.25 | 80 | 0.727619 |
fce8d7e4242f422cf237961831123365c31c7c46 | 3,406 | js | JavaScript | node_modules/flatlist-react/lib/___subComponents/ScrollToTopButton.js | MatheusBrodt/App_LabCarolVS | 9552149ceaa9bee15ef9a45fab2983c6651031c4 | [
"MIT"
] | null | null | null | node_modules/flatlist-react/lib/___subComponents/ScrollToTopButton.js | MatheusBrodt/App_LabCarolVS | 9552149ceaa9bee15ef9a45fab2983c6651031c4 | [
"MIT"
] | null | null | null | node_modules/flatlist-react/lib/___subComponents/ScrollToTopButton.js | MatheusBrodt/App_LabCarolVS | 9552149ceaa9bee15ef9a45fab2983c6651031c4 | [
"MIT"
] | null | null | null | "use strict";
var __importStar = (this && this.__importStar) || function (mod) {
if (mod && mod.__esModule) return mod;
var result = {};
if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];
result["default"] = mod;
return result;
};
Object.defineProperty(ex... | 49.362319 | 152 | 0.66882 |
fce97f365c3034a37837b3bfa85833cf9bfd8271 | 2,808 | js | JavaScript | packages/bitcore-p2p-dvt/lib/messages/builder.js | proteanx/bitcore | afaa97e6c4e8472cdc4bea0ea58891da588f24b0 | [
"MIT"
] | null | null | null | packages/bitcore-p2p-dvt/lib/messages/builder.js | proteanx/bitcore | afaa97e6c4e8472cdc4bea0ea58891da588f24b0 | [
"MIT"
] | 5 | 2020-07-19T06:14:13.000Z | 2020-07-21T12:52:21.000Z | packages/bitcore-p2p-dvt/lib/messages/builder.js | proteanx/bitcore | afaa97e6c4e8472cdc4bea0ea58891da588f24b0 | [
"MIT"
] | 1 | 2019-04-08T17:11:08.000Z | 2019-04-08T17:11:08.000Z | 'use strict';
var bitcore = require('bitcore-lib-dvt');
var Inventory = require('../inventory');
function builder(options) {
/* jshint maxstatements: 20 */
/* jshint maxcomplexity: 10 */
if (!options) {
options = {};
}
if (!options.network) {
options.network = bitcore.Networks.defaultNetwork;
}
... | 25.761468 | 83 | 0.646724 |
fce9908b2c887566e869b3c43450e61a4ac8b13e | 1,859 | js | JavaScript | test/math.js | mattbasta/crass | 59172f33d306cd0b6dc160db17b8a0ee286ce4de | [
"MIT"
] | 90 | 2015-02-22T16:09:00.000Z | 2022-02-21T03:03:39.000Z | test/math.js | mattbasta/crass | 59172f33d306cd0b6dc160db17b8a0ee286ce4de | [
"MIT"
] | 55 | 2015-01-29T15:26:07.000Z | 2021-05-08T00:24:10.000Z | test/math.js | mattbasta/crass | 59172f33d306cd0b6dc160db17b8a0ee286ce4de | [
"MIT"
] | 11 | 2016-10-25T17:51:58.000Z | 2020-01-12T01:32:18.000Z | var assert = require('assert');
var crass = require('../src');
var parseString = function(data) {
return crass.parse(data).toString();
};
describe('Math Expressions', function() {
it('should parse', function() {
assert.equal(parseString('a{foo:calc(50% - 100px)}'), 'a{foo:calc(50% - 100px)}');
})... | 37.938776 | 104 | 0.528241 |
fcea913076ab698b3f6ef323f98d8a54f231339f | 847 | js | JavaScript | bin/build-sprite-string.js | jdorfman/feather | 3422f0aaf74b57812daf064eaa6c0b162c1942e6 | [
"MIT"
] | null | null | null | bin/build-sprite-string.js | jdorfman/feather | 3422f0aaf74b57812daf064eaa6c0b162c1942e6 | [
"MIT"
] | 1 | 2017-08-12T01:52:26.000Z | 2017-08-12T01:52:26.000Z | bin/build-sprite-string.js | jdorfman/feather | 3422f0aaf74b57812daf064eaa6c0b162c1942e6 | [
"MIT"
] | null | null | null | import defaultAttrs from '../src/default-attrs.json';
const svgStartTag = `<svg xmlns="${defaultAttrs.xmlns}">\n<defs>\n`;
const svgEndTag = '</defs>\n</svg>';
/**
* Renders the inner sprites as SVG Symbols
* @param {object} icons the icons object
* @returns {string} the rendered string with SVG symbols
*/
functi... | 27.322581 | 68 | 0.693034 |
fceb19ee0b5fd8a6f4757d5236026e65ae779e78 | 4,276 | js | JavaScript | App_13/public/devices/controllers/devices.client.controller.js | vibhatha/digitalocean_3 | 08e8a8794d51eea642595228e353a499ca81f613 | [
"MIT"
] | null | null | null | App_13/public/devices/controllers/devices.client.controller.js | vibhatha/digitalocean_3 | 08e8a8794d51eea642595228e353a499ca81f613 | [
"MIT"
] | null | null | null | App_13/public/devices/controllers/devices.client.controller.js | vibhatha/digitalocean_3 | 08e8a8794d51eea642595228e353a499ca81f613 | [
"MIT"
] | null | null | null | // Invoke 'strict' JavaScript mode
'use strict';
// Create the 'devices' controller
angular.module('devices').controller('DevicesController', ['$scope', '$routeParams', '$location', 'Authentication', 'Devices','SmartPlugs',
function($scope, $routeParams, $location, Authentication, Devices,SmartPlugs) {
// Exp... | 39.229358 | 139 | 0.525023 |
fcec13c93cd8000a697103ac2a4624823c214836 | 489 | js | JavaScript | db/lib/querys/inventarios_x_empleados/index.js | ucab-guayana-iinf/proyecto-bd | 35e7c72157bc56563d9d8fe11dd028d4af01e364 | [
"MIT"
] | null | null | null | db/lib/querys/inventarios_x_empleados/index.js | ucab-guayana-iinf/proyecto-bd | 35e7c72157bc56563d9d8fe11dd028d4af01e364 | [
"MIT"
] | 1 | 2021-01-28T20:33:07.000Z | 2021-01-28T20:33:07.000Z | db/lib/querys/inventarios_x_empleados/index.js | ucab-guayana-iinf/proyecto-bd | 35e7c72157bc56563d9d8fe11dd028d4af01e364 | [
"MIT"
] | null | null | null | const createInventariosxEmpleados = require('./create-inventarios_x_empleados.query');
const updateInventariosxEmpleados = require('./update-inventarios_x_empleados.query');
const readInventariosxEmpleados = require('./read-inventarios_x_empleados.query');
const deleteInventariosxEmpleados = require('./delete-inventari... | 40.75 | 86 | 0.832311 |
fcec2b4b7e2f3bde23e86fe9b7fce6754bcc8bfa | 147 | js | JavaScript | docs/doxygen/html/search/defines_0.js | Nero-Disney/NumPy_C_Plus_Plus | 149c236d6893225ffb859d42bb03a762fa1f667a | [
"MIT"
] | 1 | 2021-03-02T01:08:28.000Z | 2021-03-02T01:08:28.000Z | docs/doxygen/html/search/defines_0.js | wusopp/NumCpp | 149c236d6893225ffb859d42bb03a762fa1f667a | [
"MIT"
] | null | null | null | docs/doxygen/html/search/defines_0.js | wusopp/NumCpp | 149c236d6893225ffb859d42bb03a762fa1f667a | [
"MIT"
] | 1 | 2021-07-14T13:42:57.000Z | 2021-07-14T13:42:57.000Z | var searchData=
[
['no_5fexcept_2363',['NO_EXCEPT',['../_stl_algorithms_8hpp.html#a21a26d02e8952e85df87e4c35bb25ff5',1,'StlAlgorithms.hpp']]]
];
| 29.4 | 125 | 0.761905 |
fcec415d469ca235636cc93d4e58b0c55148f887 | 997 | js | JavaScript | src/helpers/objects/mergeObj/__tests__/mergeObj.test.js | pfmartins4/componentSystem | e831f5a11b20817c41fadc306697b30c67b26b38 | [
"MIT"
] | null | null | null | src/helpers/objects/mergeObj/__tests__/mergeObj.test.js | pfmartins4/componentSystem | e831f5a11b20817c41fadc306697b30c67b26b38 | [
"MIT"
] | null | null | null | src/helpers/objects/mergeObj/__tests__/mergeObj.test.js | pfmartins4/componentSystem | e831f5a11b20817c41fadc306697b30c67b26b38 | [
"MIT"
] | null | null | null | import mergeObj from "../mergeObj";
const Obj1 = {
a: 1,
b: 2,
c: "dado",
};
const Obj2 = {
a: 1,
b: 3,
d: "arroz",
};
const Obj3 = {
a: 1,
b: 3,
d: "batata",
};
const Obj4 = {
a: 1,
b: 3,
c: "xadrez",
};
const merged1In2 = {
a: 1,
b: 2,
c: "dado",
d: "arroz",
};
const merged1In3 = {
... | 12.782051 | 53 | 0.51655 |
fcec89c3add6325e554cd03a2a6c81b8bde52fe8 | 1,232 | js | JavaScript | console/block-platform-console/gulpfile.js | CBD-Forum/N0003-app-container | de2d08c0d3f5ce47b835b1e416a758e8082c864f | [
"Apache-2.0"
] | 2 | 2017-05-31T08:10:19.000Z | 2017-12-15T00:23:06.000Z | console/block-platform-console/gulpfile.js | xyzLOL/app-container | de2d08c0d3f5ce47b835b1e416a758e8082c864f | [
"Apache-2.0"
] | null | null | null | console/block-platform-console/gulpfile.js | xyzLOL/app-container | de2d08c0d3f5ce47b835b1e416a758e8082c864f | [
"Apache-2.0"
] | 3 | 2017-05-22T06:58:09.000Z | 2018-02-22T15:02:34.000Z | // Copyright [2016] [Lele Guo]
//
// 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 agreed to in ... | 28.651163 | 75 | 0.700487 |
fced7703abcdb941322947e19692383f4cf8d262 | 395 | js | JavaScript | reference/JavaScript/Child_Process/spawn.js | steadylearner/code | ba6df6c38a6e25b7ea996f4df905921e27760e04 | [
"MIT"
] | 4 | 2019-07-17T14:43:32.000Z | 2022-03-27T21:38:01.000Z | reference/JavaScript/Child_Process/spawn.js | steadylearner/code | ba6df6c38a6e25b7ea996f4df905921e27760e04 | [
"MIT"
] | 39 | 2020-09-04T03:31:16.000Z | 2022-03-08T22:54:03.000Z | reference/JavaScript/Child_Process/spawn.js | steadylearner/code | ba6df6c38a6e25b7ea996f4df905921e27760e04 | [
"MIT"
] | 1 | 2021-03-03T13:04:28.000Z | 2021-03-03T13:04:28.000Z | // using child.process.spawn
const { spawn } = require('child_process');
const pwd = spawn('pwd'); // no error -> code 0
// const pwd = spawn('pwd', ['-g']); // error -> code 1
pwd.stdout.on('data', (data) => console.log('stdout: ' + data));
pwd.stderr.on('data', (data) => console.error('stderr: ' + data));
pwd.on(... | 35.909091 | 82 | 0.610127 |
fcedafc75ea42c5b7d120f8ae118b2bc625069e9 | 760 | js | JavaScript | src/firebase/config.js | giang184/card-suggestor-react-hooks | 12c514dd543254bb097cdfb9324135047eafa11d | [
"Unlicense"
] | null | null | null | src/firebase/config.js | giang184/card-suggestor-react-hooks | 12c514dd543254bb097cdfb9324135047eafa11d | [
"Unlicense"
] | null | null | null | src/firebase/config.js | giang184/card-suggestor-react-hooks | 12c514dd543254bb097cdfb9324135047eafa11d | [
"Unlicense"
] | null | null | null | import * as firebase from 'firebase/app';
import "firebase/auth"
import 'firebase/storage';
import 'firebase/firestore';
const firebaseConfig = {
apiKey: process.env.REACT_APP_FIREBASE_API_KEY,
authDomain: process.env.REACT_APP_FIREBASE_AUTH_DOMAIN,
databaseURL: process.env.REACT_APP_FIREBASE_DATABASE_URL,
pro... | 34.545455 | 63 | 0.819737 |
fcedbf1011e9394dd7e3eed2841d6c2b3396fcbb | 4,084 | js | JavaScript | node_modules/ory-editor-core/lib/components/Editable/index.js | fsdanniel/cleverstry | e889b3149d505e9b33640e0cf98621b49f3adf7b | [
"MIT"
] | null | null | null | node_modules/ory-editor-core/lib/components/Editable/index.js | fsdanniel/cleverstry | e889b3149d505e9b33640e0cf98621b49f3adf7b | [
"MIT"
] | null | null | null | node_modules/ory-editor-core/lib/components/Editable/index.js | fsdanniel/cleverstry | e889b3149d505e9b33640e0cf98621b49f3adf7b | [
"MIT"
] | null | null | null | "use strict";
/*
* This file is part of ORY Editor.
*
* ORY Editor is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* O... | 42.541667 | 108 | 0.630509 |
fcedd5927a6e90ad89d26fe6b5f1432e63eecd8b | 2,119 | js | JavaScript | client/src/redux/student/auth/authReducer.js | opensource-NITT/ClassWeb | 97b0b50e47acc01c1b8d941f536c88a5a92bd556 | [
"MIT"
] | 1 | 2021-01-01T19:49:28.000Z | 2021-01-01T19:49:28.000Z | client/src/redux/student/auth/authReducer.js | opensource-NITT/ClassWeb | 97b0b50e47acc01c1b8d941f536c88a5a92bd556 | [
"MIT"
] | null | null | null | client/src/redux/student/auth/authReducer.js | opensource-NITT/ClassWeb | 97b0b50e47acc01c1b8d941f536c88a5a92bd556 | [
"MIT"
] | null | null | null | import * as type from './authTypes';
const initialState = {
token:sessionStorage.getItem('token'),
isAuthenticated:null,
user:null,
registerMessage:null,
resend:false
};
export default function(state=initialState, action){
switch(action.type){
case type.LOGIN_SUCCESS:
sessi... | 28.253333 | 88 | 0.480887 |
fcee253b5398b1984d247e9750390b507743f303 | 238 | js | JavaScript | demo/server.js | kvsur/audio2wave | d0dadeec24453d7763d3a8e46d6e0da13c93d1f9 | [
"MIT"
] | 3 | 2020-12-04T12:29:29.000Z | 2021-05-24T04:39:48.000Z | demo/server.js | kvsur/audio2wave | d0dadeec24453d7763d3a8e46d6e0da13c93d1f9 | [
"MIT"
] | null | null | null | demo/server.js | kvsur/audio2wave | d0dadeec24453d7763d3a8e46d6e0da13c93d1f9 | [
"MIT"
] | null | null | null | const Express = require('express');
const path = require('path');
const App = Express();
const PORT = 3000;
App.use(Express.static(path.resolve(__dirname, './')))
App.listen(PORT, () => {
console.log(`http://localhost:${PORT}`)
}) | 19.833333 | 54 | 0.642857 |