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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0c3c3f8b5188bbed40d70e013ddf4d67abf9b7c6 | 818 | js | JavaScript | newIDE/app/src/ResourcesList/ResourcePreview/GenericIconPreview.js | psydox/GDevelop | cf462f6c6eede34faa5282158c2bd6a1b784d1bc | [
"MIT"
] | 2,990 | 2018-09-10T19:49:49.000Z | 2022-03-31T05:01:42.000Z | newIDE/app/src/ResourcesList/ResourcePreview/GenericIconPreview.js | TheGemDev/GDevelop | 6350b035e3f6ce6ecb985f02b1a591927dffe7e2 | [
"MIT"
] | 2,614 | 2018-09-09T21:37:47.000Z | 2022-03-31T22:09:25.000Z | newIDE/app/src/ResourcesList/ResourcePreview/GenericIconPreview.js | TheGemDev/GDevelop | 6350b035e3f6ce6ecb985f02b1a591927dffe7e2 | [
"MIT"
] | 566 | 2018-09-11T17:48:13.000Z | 2022-03-27T07:59:48.000Z | // @flow
import * as React from 'react';
import CheckeredBackground from '../CheckeredBackground';
const styles = {
previewContainer: {
position: 'relative',
display: 'flex',
width: '100%',
alignItems: 'center',
justifyContent: 'center',
height: 200,
},
iconContainer: {
display: 'flex... | 21.526316 | 80 | 0.614914 |
0c3c678b5f53f04f010d249e42b21858b3b26b1f | 1,442 | js | JavaScript | lib/tracer.js | haozi23333/opentracing | 29588c5384e3794d67103bea479de1dd8d9f358c | [
"MIT"
] | 24 | 2018-05-23T10:02:46.000Z | 2021-09-06T03:55:07.000Z | lib/tracer.js | aliyun-node/optracing | 3420fd491b07e2a12bf697dbf3e2e05fd911ae33 | [
"MIT"
] | 1 | 2020-12-25T10:45:16.000Z | 2020-12-25T10:45:16.000Z | lib/tracer.js | aliyun-node/optracing | 3420fd491b07e2a12bf697dbf3e2e05fd911ae33 | [
"MIT"
] | 4 | 2018-12-06T02:52:55.000Z | 2020-12-25T09:01:58.000Z | 'use strict';
const NppSpan = require('./span');
const RemoteReporter = require('./report/remote_reporter');
const defaultOptions = require('./default_options');
const BUILD_OPTIONS = Symbol('NPP::BUILD_OPTIONS');
const EventEmitter = require('events').EventEmitter;
class NppTracer extends EventEmitter {
constructor... | 28.84 | 59 | 0.656033 |
0c3d3017037466a8db01a456b3f0d249eba65333 | 3,123 | js | JavaScript | test/requests_stored_test.js | ohcibi/pretender | 929977dac607c880b264a4325477da307caa4852 | [
"MIT"
] | 812 | 2015-08-04T20:31:18.000Z | 2022-03-23T17:57:01.000Z | test/requests_stored_test.js | ohcibi/pretender | 929977dac607c880b264a4325477da307caa4852 | [
"MIT"
] | 211 | 2015-08-04T22:21:58.000Z | 2022-03-02T17:26:55.000Z | test/requests_stored_test.js | ohcibi/pretender | 929977dac607c880b264a4325477da307caa4852 | [
"MIT"
] | 145 | 2015-08-04T21:33:39.000Z | 2022-03-23T17:57:49.000Z | var describe = QUnit.module;
var it = QUnit.test;
describe('pretender', function(config) {
config.beforeEach(function() {
this.pretender = new Pretender({ trackRequests: false });
});
config.afterEach(function() {
this.pretender.shutdown();
});
it('does not track handled requests', function(assert)... | 26.692308 | 71 | 0.670189 |
0c3d9c7885140a57c60b2dea61ebfe25956c27ac | 5,223 | js | JavaScript | src/app/validators/dist/user.dev.js | samuelpauloantonio/Launchstore | 745f5fe433d7401acab13a55ddfa0aa43e9be91e | [
"MIT"
] | 1 | 2021-05-25T00:07:23.000Z | 2021-05-25T00:07:23.000Z | src/app/validators/dist/user.dev.js | samuelpauloantonio/Launchstore | 745f5fe433d7401acab13a55ddfa0aa43e9be91e | [
"MIT"
] | null | null | null | src/app/validators/dist/user.dev.js | samuelpauloantonio/Launchstore | 745f5fe433d7401acab13a55ddfa0aa43e9be91e | [
"MIT"
] | null | null | null | "use strict";
var Users = require('../models/users');
var _require = require('bcryptjs'),
compare = _require.compare; // validação de usuario por meio de middleware
function checkAllFields(body) {
var keys = Object.keys(body);
for (var _i = 0, _keys = keys; _i < _keys.length; _i++) {
var key = _keys[_... | 26.51269 | 163 | 0.485736 |
0c3f7834f2d932affa99ce665277ec8150db1684 | 2,079 | js | JavaScript | idnmd/src/App.js | apollorion-test/i-dont-need-more-domains | e3aac5d2d60d289bf9f8e3bda8d0de12219d2071 | [
"MIT"
] | 2 | 2021-01-25T13:09:50.000Z | 2021-01-25T15:42:38.000Z | idnmd/src/App.js | apollorion-test/i-dont-need-more-domains | e3aac5d2d60d289bf9f8e3bda8d0de12219d2071 | [
"MIT"
] | 14 | 2021-01-23T15:26:41.000Z | 2022-02-20T00:47:48.000Z | idnmd/src/App.js | apollorion-test/i-dont-need-more-domains | e3aac5d2d60d289bf9f8e3bda8d0de12219d2071 | [
"MIT"
] | 2 | 2021-01-23T16:36:22.000Z | 2021-01-25T14:36:36.000Z | import './App.css';
import github from "./github.png";
const domainDetails = getDomainDetails();
//TODO: this is a hacky work around because require.context is not available in jest. We should do this differently. Works for now though....
const images = process.env.ENVIRONMENT !== "test" ? importAllImages(require.cont... | 33 | 181 | 0.599808 |
0c3fe4844bd381dfe8a1af660b23e808eaec87de | 100 | js | JavaScript | src/apps/frontend/Root/Root.actions.js | botic/tenez | 69df21c9ec55d60b9b9ea8c7f0658577dc03d3db | [
"Apache-2.0"
] | null | null | null | src/apps/frontend/Root/Root.actions.js | botic/tenez | 69df21c9ec55d60b9b9ea8c7f0658577dc03d3db | [
"Apache-2.0"
] | null | null | null | src/apps/frontend/Root/Root.actions.js | botic/tenez | 69df21c9ec55d60b9b9ea8c7f0658577dc03d3db | [
"Apache-2.0"
] | null | null | null | /**
* Shows the main page.
*/
Root.prototype.main_action = function() {
res.write("Main.");
}; | 16.666667 | 41 | 0.6 |
0c401f15929309011f6cb94f707ef9729b626d4e | 4,057 | js | JavaScript | src/components/descriptionSection.js | caseybaggz/el-palote | d8914801946823aa0fbaff31a2b93df1dd8a90ba | [
"MIT"
] | null | null | null | src/components/descriptionSection.js | caseybaggz/el-palote | d8914801946823aa0fbaff31a2b93df1dd8a90ba | [
"MIT"
] | 8 | 2021-03-09T02:37:22.000Z | 2022-02-26T10:24:15.000Z | src/components/descriptionSection.js | caseybaggz/el-palote | d8914801946823aa0fbaff31a2b93df1dd8a90ba | [
"MIT"
] | 1 | 2019-11-14T23:21:27.000Z | 2019-11-14T23:21:27.000Z | // @flow
import React from "react"
import styled from "styled-components"
import { useStaticQuery, graphql } from "gatsby"
import Img from "gatsby-image"
import IconLink from "./iconLink"
import Body1 from "./typography/Body1"
import H3 from "./typography/H3"
import H6 from "./typography/H6"
import media from "../them... | 21.579787 | 76 | 0.580725 |
0c4021c4929eeec1148f33a51cf18e830dabb587 | 2,755 | js | JavaScript | website/js/worker.js | TrevorSundberg/farsearch | 5748e8d00fa9f19beaf7d46c21a5a5d83c563a44 | [
"MIT"
] | null | null | null | website/js/worker.js | TrevorSundberg/farsearch | 5748e8d00fa9f19beaf7d46c21a5a5d83c563a44 | [
"MIT"
] | null | null | null | website/js/worker.js | TrevorSundberg/farsearch | 5748e8d00fa9f19beaf7d46c21a5a5d83c563a44 | [
"MIT"
] | null | null | null | importScripts('tokenizer.js')
importScripts('parser.js')
importScripts('interpreter.js')
let sections
const maxDivisions = 1000
const maxResults = 100
const maxOutput = 20
String.prototype.hashCode = function () {
var hash = 0, i, chr;
if (this.length === 0) return hash;
for (i = 0; i < this.length;... | 22.958333 | 100 | 0.544102 |
0c40842e306b84aa3b88a31ee30cdd65c87e6e85 | 2,995 | js | JavaScript | client/dist/widgets/arcgis/query/src/setting/translations/hu.js | ezw21/RecreationServicesMap | 4a7581876d3892917f4ac646810d2c1259c4ff43 | [
"Apache-2.0",
"MIT-0",
"MIT"
] | null | null | null | client/dist/widgets/arcgis/query/src/setting/translations/hu.js | ezw21/RecreationServicesMap | 4a7581876d3892917f4ac646810d2c1259c4ff43 | [
"Apache-2.0",
"MIT-0",
"MIT"
] | null | null | null | client/dist/widgets/arcgis/query/src/setting/translations/hu.js | ezw21/RecreationServicesMap | 4a7581876d3892917f4ac646810d2c1259c4ff43 | [
"Apache-2.0",
"MIT-0",
"MIT"
] | null | null | null | define({
queryItem: 'Elem lekérdezése',
outputDsLabel: '{label} találat',
addNewQueryAndCustomOptions: 'Adjon hozzá új lekérdezést és egyéni beállításokat.',
newQuery: 'Új lekérdezés',
arrangementStyle: 'Elrendezés stílusa',
wrapItems: 'Elemek becsomagolása',
relationship: 'Kapcsolat',
spatialRelation_I... | 45.378788 | 120 | 0.794324 |
0c4250abbe031f59fb5f69eb94268f9fe75a637b | 1,887 | js | JavaScript | gatsby-ssr.js | akolybelnikov/bakery-static | aeac87d2b639f9ae8cdce503f8714c085e49fc2d | [
"MIT"
] | null | null | null | gatsby-ssr.js | akolybelnikov/bakery-static | aeac87d2b639f9ae8cdce503f8714c085e49fc2d | [
"MIT"
] | null | null | null | gatsby-ssr.js | akolybelnikov/bakery-static | aeac87d2b639f9ae8cdce503f8714c085e49fc2d | [
"MIT"
] | null | null | null | import React from "react"
import TopLayout from "./src/config/TopLayout"
import { CartProvider } from "./src/state/cart"
import { UserProvider } from "./src/state/user"
require("dotenv").config({
path: `.env.${process.env.NODE_ENV}`,
})
const HeadComponents = [
<script
key="fb-script"
dangerouslySetInnerH... | 23.886076 | 82 | 0.627981 |
0c42cd1fbb066fd193d25742c5c4eb974d6adc2c | 79 | js | JavaScript | app/models/htmlblock.js | Grimels/conf-cms | dd0c78439c3c11ca73c88aa4721ffba5256eff22 | [
"MIT"
] | null | null | null | app/models/htmlblock.js | Grimels/conf-cms | dd0c78439c3c11ca73c88aa4721ffba5256eff22 | [
"MIT"
] | 2 | 2020-02-04T12:22:23.000Z | 2020-10-23T18:21:33.000Z | app/models/htmlblock.js | Grimels/conf-cms | dd0c78439c3c11ca73c88aa4721ffba5256eff22 | [
"MIT"
] | 1 | 2019-11-24T11:21:49.000Z | 2019-11-24T11:21:49.000Z | module.exports = function (compound, Htmlblock) {
// define Htmlblock here
}; | 26.333333 | 49 | 0.721519 |
0c442d34f99f3065b4aefd6b85f5c872465f176f | 1,907 | js | JavaScript | frontend/src/Components/Auth.js | LocrianBird/BetterTube | 73487e5bb6b5ecc24877ff9a765a352207370f5c | [
"MIT"
] | null | null | null | frontend/src/Components/Auth.js | LocrianBird/BetterTube | 73487e5bb6b5ecc24877ff9a765a352207370f5c | [
"MIT"
] | null | null | null | frontend/src/Components/Auth.js | LocrianBird/BetterTube | 73487e5bb6b5ecc24877ff9a765a352207370f5c | [
"MIT"
] | null | null | null | import React from 'react';
import Avatar from '../ComponentStyle/img/avatar.png';
import '../ComponentStyle/Header.css';
import Loader from 'react-loader-spinner';
import axios from 'axios';
class Auth extends React.Component {
Type = Object.freeze({'NOT_LOGGED_IN': 0, 'LOADING': 1, 'LOGGED_IN': 2});
constructor(p... | 22.702381 | 99 | 0.555847 |
0c4471d85bd332cf7793108b8b303311f6ddd56d | 305 | js | JavaScript | src/components/ImageHome/styled.js | maxassis/projeto-ecommerce-books | b6e4987f9af84d802bbc54d81a2283755cf50747 | [
"MIT"
] | null | null | null | src/components/ImageHome/styled.js | maxassis/projeto-ecommerce-books | b6e4987f9af84d802bbc54d81a2283755cf50747 | [
"MIT"
] | null | null | null | src/components/ImageHome/styled.js | maxassis/projeto-ecommerce-books | b6e4987f9af84d802bbc54d81a2283755cf50747 | [
"MIT"
] | null | null | null | import styled from 'styled-components'
export const ContainerImage = styled.div`
display: flex;
justify-content: center;
height: 836px;
`
export const Image = styled.img`
width: 1120px;
height: 702px;
margin-bottom: 150px;
margin-left: 160px;
margin-right: 160px;
` | 14.52381 | 41 | 0.665574 |
0c4794dc2bdf5e66324d1ce868c57e89d1a57463 | 2,137 | js | JavaScript | reversePolishNotation.js | JoeKarlsson/programming-problems | 4100740868b6ebac6aef9c24a09e1560d95980df | [
"MIT"
] | 7 | 2019-02-25T16:25:38.000Z | 2022-01-08T02:54:53.000Z | reversePolishNotation.js | JoeKarlsson/programming-problems | 4100740868b6ebac6aef9c24a09e1560d95980df | [
"MIT"
] | null | null | null | reversePolishNotation.js | JoeKarlsson/programming-problems | 4100740868b6ebac6aef9c24a09e1560d95980df | [
"MIT"
] | 1 | 2020-07-01T21:54:06.000Z | 2020-07-01T21:54:06.000Z | // Evaluate Reverse Polish Notation
// Source: https://leetcode.com/problems/evaluate-reverse-polish-notation/
// Evaluate the value of an arithmetic expression in Reverse Polish Notation.
//
// Valid operators are +, -, *, /. Each operand may be an integer or another expression.
//
// Note:
//
// Division between two... | 20.548077 | 153 | 0.544689 |
0c482ff3bbf91ddaad487b3f2799ffcf488e17f7 | 147 | js | JavaScript | preload.js | 39dotyt/cognitive-modeling | 60847453d9c295d94cf5d93040ebda372d8fcd4d | [
"MIT"
] | null | null | null | preload.js | 39dotyt/cognitive-modeling | 60847453d9c295d94cf5d93040ebda372d8fcd4d | [
"MIT"
] | null | null | null | preload.js | 39dotyt/cognitive-modeling | 60847453d9c295d94cf5d93040ebda372d8fcd4d | [
"MIT"
] | null | null | null | /**
* @license MIT
* @author 0@39.yt (Yurij Mikhalevich)
* @module preload
*/
require('module').globalPaths.push(__dirname + '/node_modules');
| 21 | 64 | 0.673469 |
0c484885ec286720fbebc1a5204926fdd7fa1488 | 1,119 | js | JavaScript | routes/reviews.js | CREPIC21/businessRegistry | 83d61ad7b9a4421479bca909c41c7901c345f521 | [
"MIT"
] | null | null | null | routes/reviews.js | CREPIC21/businessRegistry | 83d61ad7b9a4421479bca909c41c7901c345f521 | [
"MIT"
] | null | null | null | routes/reviews.js | CREPIC21/businessRegistry | 83d61ad7b9a4421479bca909c41c7901c345f521 | [
"MIT"
] | null | null | null | const express = require('express');
const { getReviews, getReview, createReview, updateReview, deleteReview } = require('../controllers/reviews');
// added "mergeParams: true" parameter to router as we are rerouting from routes/trades.js when adding tradeId to get list of reviews for that trade
const router = express.... | 41.444444 | 148 | 0.734584 |
0c49a6315df6c7fcf8d0ba849d73b3ae6100d195 | 309 | js | JavaScript | lib/branch-name.js | Verlic/diff-coverage | e2eeb67b03d4fbcc915f4540e5275450fa5b854b | [
"MIT"
] | null | null | null | lib/branch-name.js | Verlic/diff-coverage | e2eeb67b03d4fbcc915f4540e5275450fa5b854b | [
"MIT"
] | null | null | null | lib/branch-name.js | Verlic/diff-coverage | e2eeb67b03d4fbcc915f4540e5275450fa5b854b | [
"MIT"
] | null | null | null | module.exports = function () {
return new Promise((resolve, reject) => {
var exec = require('child_process').exec;
exec('git branch | grep \\*', (error, stdout) => {
if (error) {
return reject(error);
}
resolve(stdout.replace('* ', '').replace('\n', ''));
});
});
}
| 23.769231 | 58 | 0.521036 |
0c4a14b53be3aaef2fe4a44abc757cc715ae7bc0 | 1,414 | js | JavaScript | bundles/framework/userguide/resources/locale/sv.js | okauppinen/oskari | 225e0064b70b4699e1483d5a6473b417ba4263ff | [
"MIT"
] | null | null | null | bundles/framework/userguide/resources/locale/sv.js | okauppinen/oskari | 225e0064b70b4699e1483d5a6473b417ba4263ff | [
"MIT"
] | null | null | null | bundles/framework/userguide/resources/locale/sv.js | okauppinen/oskari | 225e0064b70b4699e1483d5a6473b417ba4263ff | [
"MIT"
] | null | null | null | Oskari.registerLocalization(
{
"lang": "sv",
"key": "userinterface.UserGuide",
"value": {
"title": "Hjälp",
"desc": "",
"flyout": {
"title": "Bruksanvisningar",
"loadingtxt": "<p>Laddar bruksanvisningar…</p>"
},
"tile": {
"title": "... | 25.709091 | 89 | 0.369873 |
0c4a9c2175ccbba4397eabd6a96f38b4d164797c | 2,160 | js | JavaScript | agavedancer/public/css/jsfb/util/base64.js | warelab/sciapps | 3fecba806f35b98233022b07d8fc11cda3ea5f37 | [
"Apache-2.0"
] | 2 | 2015-06-08T16:39:14.000Z | 2018-09-29T12:16:34.000Z | src/jsfb/util/base64.js | limscoder/js-file-browser | b642451248f30bc649a00015da4e85cf10052af8 | [
"MIT"
] | 7 | 2019-10-04T15:50:13.000Z | 2020-04-17T19:12:52.000Z | src/jsfb/util/base64.js | limscoder/js-file-browser | b642451248f30bc649a00015da4e85cf10052af8 | [
"MIT"
] | 1 | 2020-12-23T23:31:48.000Z | 2020-12-23T23:31:48.000Z | /**
* Use to encode/decode base64 data.
*
* From: http://www.sencha.com/forum/showthread.php?35328-Ext.util.base64-(encode-decode)&p=167166
*/
Ext.util.base64 = {
base64s : "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",
encode: function(decStr){
if (typeof btoa === 'functi... | 41.538462 | 219 | 0.535648 |
0c4acda1b08c2cfef2c721dc17bbb3be3c7ea956 | 713 | js | JavaScript | packages/components-faraday/src/components/UIComponents/NotFound.js | yucigou/xpub-hindawi | 356c76d54e72a25a60b5b15f04e4d4871d7410ac | [
"MIT"
] | 1 | 2021-01-24T21:21:06.000Z | 2021-01-24T21:21:06.000Z | packages/components-faraday/src/components/UIComponents/NotFound.js | yucigou/xpub-hindawi | 356c76d54e72a25a60b5b15f04e4d4871d7410ac | [
"MIT"
] | null | null | null | packages/components-faraday/src/components/UIComponents/NotFound.js | yucigou/xpub-hindawi | 356c76d54e72a25a60b5b15f04e4d4871d7410ac | [
"MIT"
] | 1 | 2018-05-04T09:45:59.000Z | 2018-05-04T09:45:59.000Z | import React from 'react'
import { Icon, Button, th } from '@pubsweet/ui'
import styled from 'styled-components'
const NotFound = ({ history }) => (
<Root>
<div>
<Icon size={6}>cloud-off</Icon>
</div>
<H2>The page cannot be found</H2>
<H3>
The page you are looking for might have been remo... | 20.970588 | 72 | 0.633941 |
0c4ae51c8b89c41d02427cc37634ae17847373e6 | 32,712 | js | JavaScript | lib/spoon/cfg.js | indutny/spoon | 7f45ebeef641c711cd39f58777fa532c4033f079 | [
"MIT",
"Unlicense"
] | 15 | 2015-01-27T05:13:52.000Z | 2021-05-19T07:22:01.000Z | lib/spoon/cfg.js | indutny/spoon | 7f45ebeef641c711cd39f58777fa532c4033f079 | [
"MIT",
"Unlicense"
] | null | null | null | lib/spoon/cfg.js | indutny/spoon | 7f45ebeef641c711cd39f58777fa532c4033f079 | [
"MIT",
"Unlicense"
] | 4 | 2016-06-01T00:20:02.000Z | 2017-07-25T13:46:23.000Z | var cfg = exports,
assert = require('assert'),
spoon = require('../spoon');
function Cfg() {
this.instructionId = 0;
this.blockId = 0;
this.root = null;
this.exits = null;
this.blocks = [];
this.roots = [];
this.rootQueue = [];
this.current = null;
this.currentRoot = null;
this.asyncifySta... | 26.232558 | 80 | 0.591557 |
0c4b54c7b101d1ba71b793b9a1a3bf081f8999a0 | 484 | js | JavaScript | template/src/_components/Users/index.js | jsoagger/transdev-base-reactui-template | ab273af688a0652bed18cec612d7f4a8930bb24b | [
"Apache-2.0"
] | null | null | null | template/src/_components/Users/index.js | jsoagger/transdev-base-reactui-template | ab273af688a0652bed18cec612d7f4a8930bb24b | [
"Apache-2.0"
] | null | null | null | template/src/_components/Users/index.js | jsoagger/transdev-base-reactui-template | ab273af688a0652bed18cec612d7f4a8930bb24b | [
"Apache-2.0"
] | null | null | null | import AddOrg from './AddOrg';
import AddPeople from './AddPeople';
import AddPerson from './AddPerson'
import ManageContainerUsers from './ManageContainerUsers'
import PeopleDetails from './PeopleDetails'
import PeopleRegister from './PeopleRegister'
import PeopleCard from './PeopleCard'
import UserSystemSettings from... | 22 | 57 | 0.791322 |
0c4c1d4685b2e7129c50da2f8a15111fa41802b2 | 40,916 | js | JavaScript | hass_frontend/frontend_es5/chunk.a478493d75929791f2ed.js | algar42/ioBroker.lovelace | a3ab4eac1e83ef26006e6231b880b8f779ea7089 | [
"Apache-2.0"
] | 50 | 2019-05-16T23:36:20.000Z | 2022-02-07T08:01:03.000Z | hass_frontend/frontend_es5/chunk.a478493d75929791f2ed.js | 5G7K/ioBroker.lovelace | f9c43837b89d4c31b4d53d4b186a701ab71efc4e | [
"Apache-2.0"
] | 238 | 2019-05-29T13:49:55.000Z | 2022-03-20T17:24:26.000Z | hass_frontend/frontend_es5/chunk.a478493d75929791f2ed.js | algar42/ioBroker.lovelace | a3ab4eac1e83ef26006e6231b880b8f779ea7089 | [
"Apache-2.0"
] | 40 | 2019-07-14T14:00:22.000Z | 2021-12-28T19:10:39.000Z | (self.webpackChunkhome_assistant_frontend=self.webpackChunkhome_assistant_frontend||[]).push([[3525],{24734:function(e,t,n){"use strict";n.d(t,{B:function(){return i}});var r=n(47181),i=function(e,t){(0,r.B)(e,"show-dialog",{dialogTag:"dialog-media-player-browse",dialogImport:function(){return Promise.all([n.e(8161),n.... | 20,458 | 40,861 | 0.656491 |
0c4d7c51c69eb35ae501ad311a75e967e86501ca | 935 | js | JavaScript | src/services/firebase.js | Ourstress/sgrentalguide2 | 04eb70a00764f5a1cf7fc593861559d3001a834b | [
"MIT"
] | null | null | null | src/services/firebase.js | Ourstress/sgrentalguide2 | 04eb70a00764f5a1cf7fc593861559d3001a834b | [
"MIT"
] | null | null | null | src/services/firebase.js | Ourstress/sgrentalguide2 | 04eb70a00764f5a1cf7fc593861559d3001a834b | [
"MIT"
] | null | null | null | import React from 'react'
import app from 'firebase/app'
import 'firebase/auth' // import auth package from firebase
const FirebaseContext = React.createContext(null)
// Initialize Firebase
const config = {
apiKey: process.env.GATSBY_FIREBASE_APIKEY,
authDomain: process.env.GATSBY_FIREBASE_AUTHDOMAIN,
databaseU... | 29.21875 | 67 | 0.741176 |
0c4e4501bf59052e516c2acfe9ed912215764e4a | 5,651 | js | JavaScript | ashes/src/elastic/common.js | FoxComm/highlander | 1aaf8f9e5353b94c34d574c2a92206a1c363b5be | [
"MIT"
] | 10 | 2018-04-12T22:29:52.000Z | 2021-10-18T17:07:45.000Z | ashes/src/elastic/common.js | FoxComm/highlander | 1aaf8f9e5353b94c34d574c2a92206a1c363b5be | [
"MIT"
] | null | null | null | ashes/src/elastic/common.js | FoxComm/highlander | 1aaf8f9e5353b94c34d574c2a92206a1c363b5be | [
"MIT"
] | 1 | 2018-07-06T18:42:05.000Z | 2018-07-06T18:42:05.000Z | import _ from 'lodash';
import { map, flow, compact } from 'lodash/fp';
import moment from 'moment';
import * as dsl from './dsl';
// https://www.elastic.co/guide/en/elasticsearch/reference/current/breaking_20_query_dsl_changes.html
// https://www.elastic.co/blog/better-query-execution-coming-elasticsearch-2-0
/**
*... | 26.530516 | 117 | 0.616174 |
0c4f5abb2f562169459ccc7362b65ce3f4593964 | 507 | js | JavaScript | src/components/MeetingList/MeetingList.js | helloroman/hello-roman-website | 1e9150174fb5622ef67b35aa5a9652caa353c5bf | [
"MIT"
] | 20 | 2018-11-01T20:13:24.000Z | 2022-03-22T14:33:28.000Z | src/components/MeetingList/MeetingList.js | borbah/hello-roman-website | 1e9150174fb5622ef67b35aa5a9652caa353c5bf | [
"MIT"
] | null | null | null | src/components/MeetingList/MeetingList.js | borbah/hello-roman-website | 1e9150174fb5622ef67b35aa5a9652caa353c5bf | [
"MIT"
] | 12 | 2019-02-11T23:44:20.000Z | 2021-05-15T15:36:24.000Z | import React from 'react';
import styled from 'styled-components';
import MeetingInfo from 'components/MeetingInfo/MeetingInfo';
const StyledMeetingList = styled.ul`
padding: 0;
margin: 100px 0 30px 0;
`;
const MeetingList = ({meetings}) => (
<StyledMeetingList>
{meetings.map(meeting => (
<MeetingInfo... | 22.043478 | 61 | 0.658777 |
0c4fa4be4c049274d3af97e8b36b8eab7f54bb4c | 557 | js | JavaScript | src/logger.js | ruddenchaux/simple-tcp-server | 9a974fea8721fe549a63929f4b5549a6add2c29a | [
"BSD-3-Clause"
] | null | null | null | src/logger.js | ruddenchaux/simple-tcp-server | 9a974fea8721fe549a63929f4b5549a6add2c29a | [
"BSD-3-Clause"
] | null | null | null | src/logger.js | ruddenchaux/simple-tcp-server | 9a974fea8721fe549a63929f4b5549a6add2c29a | [
"BSD-3-Clause"
] | null | null | null | import { sep } from 'path';
import winston from 'winston';
const { createLogger, format, transports } = winston;
const logFileName = 'log';
const filename = `${process.env.LOG_FILE_PATH}${sep}${logFileName}`;
const consoleTransport = new transports.Console();
export const Logger = createLogger({
level: process.env.... | 30.944444 | 76 | 0.721724 |
0c4fac765f3b33572b71775ac756387466846861 | 8,062 | js | JavaScript | src/components/map/map-events.js | consindo/commuterview | c03e9721bcede66279e06059f72f7e9f1593d64d | [
"MIT"
] | 7 | 2020-07-15T05:10:24.000Z | 2021-01-31T23:40:48.000Z | src/components/map/map-events.js | consindo/commuterview | c03e9721bcede66279e06059f72f7e9f1593d64d | [
"MIT"
] | 1 | 2022-03-27T10:44:41.000Z | 2022-03-27T10:44:41.000Z | src/components/map/map-events.js | consindo/commuterview | c03e9721bcede66279e06059f72f7e9f1593d64d | [
"MIT"
] | 1 | 2020-11-21T06:30:12.000Z | 2020-11-21T06:30:12.000Z | import polylabel from 'polylabel'
import Dispatcher from '../../dispatcher.js'
import { getSource } from '../../sources.js'
const source = getSource()
export const bindMapEvents = (map) => {
bindMapboxEvents(map)
bindDispatcherEvents(map)
}
const bindMapboxEvents = (map) => {
const mapTooltip = document.queryS... | 26.784053 | 80 | 0.546266 |
0c4fe1ec545892b61acae8037e29119adff9a184 | 1,385 | js | JavaScript | lib/routes/api.js | niutech/betty | 68861d7d0043ec4f696e27890b100af662e71607 | [
"Apache-2.0"
] | 966 | 2015-04-26T05:16:24.000Z | 2022-03-07T13:20:10.000Z | lib/routes/api.js | mrphishxxx/betty | 68861d7d0043ec4f696e27890b100af662e71607 | [
"Apache-2.0"
] | 20 | 2015-04-26T14:48:26.000Z | 2017-02-21T01:42:45.000Z | lib/routes/api.js | mrphishxxx/betty | 68861d7d0043ec4f696e27890b100af662e71607 | [
"Apache-2.0"
] | 68 | 2015-04-26T03:28:51.000Z | 2021-06-05T06:30:03.000Z | var _ = require('lodash');
var Q = require('q');
var express = require('express');
var config = require('../config');
var middlewares = require('../middlewares');
var twilio = require('../twilio');
var team = require('../team');
module.exports = function(app) {
var api = express.Router();
var start = Date.no... | 24.732143 | 77 | 0.529242 |
0c5077b8e1c829960491aab417ae5f76e92fed67 | 186 | js | JavaScript | app/auth/auth.module.js | akhellas/webviewer-material | b72ea1bcb1b213f1c65cc0a467a518a66bb1e257 | [
"MIT"
] | null | null | null | app/auth/auth.module.js | akhellas/webviewer-material | b72ea1bcb1b213f1c65cc0a467a518a66bb1e257 | [
"MIT"
] | null | null | null | app/auth/auth.module.js | akhellas/webviewer-material | b72ea1bcb1b213f1c65cc0a467a518a66bb1e257 | [
"MIT"
] | null | null | null | import authService from './auth.service'
let auth = angular.module('app.auth', []).name;
angular
.module('app.auth')
.service('authService', authService);
export default auth; | 20.666667 | 47 | 0.693548 |
0c516c7078fb52fdb6cf90509b88fa988ecc0e2c | 3,069 | js | JavaScript | dist/controllers/errors.js | phillymedia/apps-modules-helpers | 846ff6fe6bb53e2f9225fb739ef25f3e9e990fa7 | [
"MIT"
] | null | null | null | dist/controllers/errors.js | phillymedia/apps-modules-helpers | 846ff6fe6bb53e2f9225fb739ef25f3e9e990fa7 | [
"MIT"
] | null | null | null | dist/controllers/errors.js | phillymedia/apps-modules-helpers | 846ff6fe6bb53e2f9225fb739ef25f3e9e990fa7 | [
"MIT"
] | null | null | null | "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.formatError=exports.makeError=void 0;var _mongoose=require("mongoose"),_mongoose2=_interopRequireDefault(_mongoose),_lodash=require("lodash"),_config=require("../config"),_logging=require("./logging"),_logging2=_interopRequireDefault(_logging),... | 3,069 | 3,069 | 0.79407 |
0c51c40f1fa8824d531dfbeb8ec575a8312adda1 | 28,213 | js | JavaScript | share/doc/doxygen/html/js/showcase.js | ajbaird/core | 81fa9ba41efe07c3c0dacf0cad7bb4e3016a99b5 | [
"Apache-2.0"
] | 42 | 2018-05-15T18:10:15.000Z | 2022-02-16T23:50:18.000Z | share/doc/doxygen/html/js/showcase.js | ajbaird/core | 81fa9ba41efe07c3c0dacf0cad7bb4e3016a99b5 | [
"Apache-2.0"
] | 57 | 2018-07-17T20:25:36.000Z | 2022-01-18T20:44:49.000Z | share/doc/doxygen/html/js/showcase.js | jules-bergmann/biogears-core | 92e13287cd2b878a75a47190f09e694d57c16e43 | [
"Apache-2.0"
] | 51 | 2018-07-05T16:12:45.000Z | 2022-02-14T20:53:30.000Z | /**
* BioGears Showcase Player
* showcase.js
* http://www.ara.com
*
* Copyright 2014, Applied Research Associates
* Developed under the U.S. Government BioGears research program
*
* Written by Anthony Hamilton
*
* Contact admin@biogearsengine.com if you wish to use this code on your website
*/
;(function ($... | 32.206621 | 254 | 0.401163 |
0c51fa4890f82b0f1835574f7abcaf8808cff2a2 | 512 | js | JavaScript | src/components/router.js | Manghud/jobsity-javascript-challenge | 3589a2e54b2914ef9560a9cdd72968ad7c178568 | [
"MIT"
] | null | null | null | src/components/router.js | Manghud/jobsity-javascript-challenge | 3589a2e54b2914ef9560a9cdd72968ad7c178568 | [
"MIT"
] | null | null | null | src/components/router.js | Manghud/jobsity-javascript-challenge | 3589a2e54b2914ef9560a9cdd72968ad7c178568 | [
"MIT"
] | null | null | null | import { hot } from 'react-hot-loader/root';
import React, { Component } from 'react';
import { Switch, Route } from 'react-router-dom';
import config from '../config';
import {
Calendar
} from './routes';
export class Router extends Component {
render() {
return (
<Switch>
<Route path="/" compo... | 18.962963 | 49 | 0.646484 |
0c5328dd4cc28442987eff7ac7034c10eb293de9 | 3,444 | js | JavaScript | scripts/test-serve-documentation.js | kvchaudhari/enterprise_latest | cc0fe93abf650588305c62059bc483a4af512cf1 | [
"Apache-2.0"
] | 114 | 2018-05-02T15:55:30.000Z | 2022-03-02T10:39:18.000Z | scripts/test-serve-documentation.js | kvchaudhari/enterprise_latest | cc0fe93abf650588305c62059bc483a4af512cf1 | [
"Apache-2.0"
] | 4,461 | 2018-05-07T16:48:02.000Z | 2022-03-31T16:01:46.000Z | scripts/test-serve-documentation.js | kvchaudhari/enterprise_latest | cc0fe93abf650588305c62059bc483a4af512cf1 | [
"Apache-2.0"
] | 77 | 2018-05-08T02:46:06.000Z | 2022-02-22T04:00:41.000Z | #!/usr/bin/env node
/* eslint-disable import/no-extraneous-dependencies, function-paren-newline,
no-console, no-restricted-syntax, no-continue, no-loop-func, prefer-template */
/**
* @fileoverview TESTING ONLY!!
* This script is used to serve a basic DocumentJS site
* of all the [components/components.js] files t... | 28.229508 | 108 | 0.611208 |
0c53508220db4e1e5bf6f42b4139e677f763d47c | 9,635 | js | JavaScript | hdokiejnpimakedhajhdlcegeplioahd/4.3.0.5_0/preferencesDialog.js | krishna2nd/chrome-exts | 86ae40a52e2cf77348855c97ae78fee5e3a64d34 | [
"MIT"
] | null | null | null | hdokiejnpimakedhajhdlcegeplioahd/4.3.0.5_0/preferencesDialog.js | krishna2nd/chrome-exts | 86ae40a52e2cf77348855c97ae78fee5e3a64d34 | [
"MIT"
] | null | null | null | hdokiejnpimakedhajhdlcegeplioahd/4.3.0.5_0/preferencesDialog.js | krishna2nd/chrome-exts | 86ae40a52e2cf77348855c97ae78fee5e3a64d34 | [
"MIT"
] | 2 | 2020-02-19T14:58:04.000Z | 2021-08-28T07:54:33.000Z | var PreferencesDialog=function(e){Dialog.call(this,e,{additionalHeaderClasses:"icon",title:Strings.translateString("Preferences"),closeButtonEnabled:!0,maximizeButtonEnabled:!0,buttonAlign:this.RIGHT_ALIGN}),this.hotkeyFields={}};PreferencesDialog.prototype=Object.create(Dialog.prototype),PreferencesDialog.prototype.co... | 9,635 | 9,635 | 0.775298 |
0c5372c79fcd9f71eb7b3d79598cd90c6daf54d8 | 7,530 | js | JavaScript | src/app.js | andresbravom/Practica4 | 157933f91fbc734bf41395e070af49fed5fde263 | [
"MIT"
] | null | null | null | src/app.js | andresbravom/Practica4 | 157933f91fbc734bf41395e070af49fed5fde263 | [
"MIT"
] | null | null | null | src/app.js | andresbravom/Practica4 | 157933f91fbc734bf41395e070af49fed5fde263 | [
"MIT"
] | null | null | null | import {GraphQLServer} from 'graphql-yoga'
import { MongoClient, ObjectID} from "mongodb";
import "babel-polyfill";
//import { resolve } from 'dns';
import * as uuid from 'uuid'
import { resolve } from 'dns';
import { rejects } from 'assert';
const usr = "andresBM";
const pwd = "qwerty123";
const url = "cluster0-k7h... | 30.240964 | 98 | 0.508765 |
0c571ebab366f50077d77a3be3e5877945cf4da3 | 323 | js | JavaScript | src/components/Header.js | a-type/redux-table | 3835038ead6d2b737bc535c4c002ef671c3570fa | [
"MIT"
] | 5 | 2017-05-13T16:29:54.000Z | 2021-10-11T12:35:13.000Z | src/components/Header.js | a-type/redux-table | 3835038ead6d2b737bc535c4c002ef671c3570fa | [
"MIT"
] | null | null | null | src/components/Header.js | a-type/redux-table | 3835038ead6d2b737bc535c4c002ef671c3570fa | [
"MIT"
] | 2 | 2017-04-26T16:27:25.000Z | 2019-02-13T11:31:19.000Z | import React from 'react';
import SortArrow from './SortArrow';
const Header = ({ columnKey, handleClick, sortOrder, sortable }) => (
<th style={{ cursor: sortable ? 'pointer' : 'default' }} onClick={handleClick}>
{columnKey}
{sortable ? <SortArrow order={sortOrder} /> : null}
</th>
);
export default Head... | 29.363636 | 81 | 0.662539 |
0c574ceff95bcccc15cd6a5dab2ba66cc4c9a936 | 661 | js | JavaScript | gwt-2.8.2/samples/Showcase/war/showcase/deferredjs/6B926C5B4DD0C9B85DD780AA4981BC01/44.cache.js | hariPrasad525/Nitya_Annaccounting | 7e259ea4f53ee508455f6fee487240bea2c9e97d | [
"Apache-2.0"
] | null | null | null | gwt-2.8.2/samples/Showcase/war/showcase/deferredjs/6B926C5B4DD0C9B85DD780AA4981BC01/44.cache.js | hariPrasad525/Nitya_Annaccounting | 7e259ea4f53ee508455f6fee487240bea2c9e97d | [
"Apache-2.0"
] | null | null | null | gwt-2.8.2/samples/Showcase/war/showcase/deferredjs/6B926C5B4DD0C9B85DD780AA4981BC01/44.cache.js | hariPrasad525/Nitya_Annaccounting | 7e259ea4f53ee508455f6fee487240bea2c9e97d | [
"Apache-2.0"
] | null | null | null | $wnd.showcase.runAsyncCallback44("function Deb(){var a,b,c,d,e;e=new lMb(5);HPb((Rvb(),e.hb),'','cwSplitLayoutPanel');e.hb.style[K8b]='3px solid #e7e7e7';qDb(e,new CCb(Ybc),50);rDb(e,new CCb(Zbc),50);gMb(e,new CCb($bc),(ODb(),IDb),100,null);gMb(e,new CCb(_bc),NDb,100,null);qDb(e,new CCb(acc),50);rDb(e,new CCb(bcc),50);... | 330.5 | 660 | 0.66112 |
0c579c82dbfd6618b42c9e014c6c30fd5d0e4e71 | 1,215 | js | JavaScript | war/js/fs2raw/WebFS.js | hoge1e3/tonyuedit | f58efa377e4e093b8f64748e2e4a46e5dc75e126 | [
"Apache-2.0"
] | 15 | 2015-03-01T00:29:33.000Z | 2022-03-13T00:05:47.000Z | war/js/fs2raw/WebFS.js | hoge1e3/tonyuedit | f58efa377e4e093b8f64748e2e4a46e5dc75e126 | [
"Apache-2.0"
] | 32 | 2015-12-04T04:59:44.000Z | 2021-11-28T15:50:41.000Z | www/js/fs2raw/WebFS.js | makkii-bcr/Tonyu2 | a48a4a941f5ef8860421141a5fc542cf538b1c2e | [
"MIT"
] | 3 | 2015-02-28T23:27:38.000Z | 2016-08-03T16:51:12.000Z | define(["FS2","jquery.binarytransport","DeferredUtil","Content","PathUtil"],
function (FS,j,DU,Content,P) {
// FS.mount(location.protocol+"//"+location.host+"/", "web");
var WebFS=function (){};
var p=WebFS.prototype=new FS;
FS.addFSType("web", function () {
return new WebFS;
});
... | 31.973684 | 81 | 0.511934 |
0c5826b6c3c4cb9884cbecb8f040c1e92497af5e | 10,704 | js | JavaScript | test/eel.spec.js | networkteam/eel | 5f7141414111a69c4448701db58fb684d8924f2b | [
"MIT"
] | 1 | 2019-05-06T11:49:58.000Z | 2019-05-06T11:49:58.000Z | test/eel.spec.js | networkteam/eel | 5f7141414111a69c4448701db58fb684d8924f2b | [
"MIT"
] | 2 | 2021-03-09T03:21:38.000Z | 2021-05-08T17:47:08.000Z | test/eel.spec.js | networkteam/eel | 5f7141414111a69c4448701db58fb684d8924f2b | [
"MIT"
] | 3 | 2019-11-18T22:18:21.000Z | 2020-10-07T18:46:58.000Z | import compile, { parse } from '../src/compile.js';
import assert from 'assert';
describe('eel', function() {
describe('number literals', function() {
describe('integer without sign', function() {
it('should be parsed to literal value', function() {
const code = parse('42');
assert.strictEq... | 35.799331 | 147 | 0.55923 |
0c586b95323bd7ace750726b5e9b13e73b436044 | 3,824 | js | JavaScript | in-crypt.js | i001962/sdk-nodejs | 66607d7f7abe9b667b23dec976edf908b6eb3f13 | [
"MIT"
] | null | null | null | in-crypt.js | i001962/sdk-nodejs | 66607d7f7abe9b667b23dec976edf908b6eb3f13 | [
"MIT"
] | null | null | null | in-crypt.js | i001962/sdk-nodejs | 66607d7f7abe9b667b23dec976edf908b6eb3f13 | [
"MIT"
] | null | null | null | const crypto = require('crypto');
const util = require('util');
const utf8 = require('utf8');
const pbkdf2 = util.promisify(crypto.pbkdf2);
const IV_SIZE = 12;
const KEY_SIZE = 32;
const SALT_SIZE = 64;
const PBKDF2_ITERATIONS_COUNT = 10000;
const AUTH_TAG_SIZE = 16;
const VERSION = '2';
const PT_VERSION = 'pt';
cla... | 32.40678 | 88 | 0.6841 |
0c592f0f5857521ac78cd06aec72cf636d5a5451 | 1,772 | js | JavaScript | client/components/Footer/index.js | henri-hulski/morepath_cerebral_todomvc | 568ac277c1844c4cf28bbacf484940f779fc7407 | [
"BSD-3-Clause"
] | 3 | 2016-08-20T06:02:01.000Z | 2019-06-23T09:17:42.000Z | client/components/Footer/index.js | henri-hulski/morepath_cerebral_todomvc | 568ac277c1844c4cf28bbacf484940f779fc7407 | [
"BSD-3-Clause"
] | 6 | 2016-07-30T12:42:29.000Z | 2021-04-18T14:33:40.000Z | client/components/Footer/index.js | henri-hulski/morepath_cerebral_todomvc | 568ac277c1844c4cf28bbacf484940f779fc7407 | [
"BSD-3-Clause"
] | 2 | 2020-09-10T08:07:13.000Z | 2020-09-30T21:15:49.000Z | import React from 'react'
import {connect} from 'cerebral-view-react'
import counts from '../../computed/counts'
import cn from 'classnames'
export default connect({
filter: 'app.filter',
counts: counts()
}, {
filterClicked: 'app.filterClicked',
clearCompletedClicked: 'app.clearCompletedClicked'
},
function ... | 26.848485 | 97 | 0.472912 |
0c5972216117b880a98d5e28119a90486189cd51 | 970 | js | JavaScript | electron-builder.js | baryon/medis | 51698f2561a2499baf93065677120ac373ef1566 | [
"MIT"
] | 2 | 2021-08-29T12:15:57.000Z | 2021-11-08T11:39:45.000Z | electron-builder.js | baryon/medis | 51698f2561a2499baf93065677120ac373ef1566 | [
"MIT"
] | null | null | null | electron-builder.js | baryon/medis | 51698f2561a2499baf93065677120ac373ef1566 | [
"MIT"
] | null | null | null | module.exports = {
directories:{
app: '.',
},
files:[
"./.webpack/**/*",
"./package.json",
],
appId: 'li.zihua.medis',
productName: 'Medis',
artifactName: '${name}-${os}-${arch}-${version}.${ext}',
copyright: '© 2019, Zihua Li',
// npmRebuild: 'false',
// afterSign: "./appSign.js",
mac... | 22.045455 | 58 | 0.556701 |
0c5abe25c61d90f0ed69afe0567e95352cbefb5d | 3,421 | js | JavaScript | src/routes.js | nguyen-tuan-anh-3207/Petshop-admin | 91e048a7a721d78f570c3470579cd012b047ea68 | [
"MIT"
] | 1 | 2022-03-01T17:10:37.000Z | 2022-03-01T17:10:37.000Z | src/routes.js | nguyen-tuan-anh-3207/Petshop-admin | 91e048a7a721d78f570c3470579cd012b047ea68 | [
"MIT"
] | null | null | null | src/routes.js | nguyen-tuan-anh-3207/Petshop-admin | 91e048a7a721d78f570c3470579cd012b047ea68 | [
"MIT"
] | null | null | null | import { Navigate, Outlet, useRoutes } from 'react-router-dom';
// layouts
import DashboardLayout from './layouts/dashboard';
import LogoOnlyLayout from './layouts/LogoOnlyLayout';
//
import Login from './pages/Login';
import DashboardApp from './pages/DashboardApp';
import Products from './pages/product/Products';
imp... | 35.268041 | 86 | 0.537854 |
0c5afbed400dac8ec4b1d2e53bf640f6a5dbc532 | 1,317 | js | JavaScript | src/app/services/elasticsearch2/trendsTransformer.js | kulikov/kibana3 | b0661aff8e039ae60116b83efd278f61512f99a8 | [
"Apache-2.0"
] | null | null | null | src/app/services/elasticsearch2/trendsTransformer.js | kulikov/kibana3 | b0661aff8e039ae60116b83efd278f61512f99a8 | [
"Apache-2.0"
] | null | null | null | src/app/services/elasticsearch2/trendsTransformer.js | kulikov/kibana3 | b0661aff8e039ae60116b83efd278f61512f99a8 | [
"Apache-2.0"
] | 1 | 2022-01-25T13:10:17.000Z | 2022-01-25T13:10:17.000Z | define([
'angular'
],
function (angular) {
'use strict';
var signature = /^\{\"facets\":\{\"0\":\{\"query\":.*\"old_.*/;
return {
condition: function (config) {
return (/\/_search$/).test(config.url) && signature.test(config.data);
},
request: function (config) {
var facetData = angular.fr... | 24.849057 | 86 | 0.561124 |
0c5d077de9f95dac45befd45a7abdfe6051e7324 | 1,553 | js | JavaScript | js/src/render/renderer.js | fingolfin/francy | 059dbafab609855d521f058e18da9af0b8576eae | [
"MIT"
] | null | null | null | js/src/render/renderer.js | fingolfin/francy | 059dbafab609855d521f058e18da9af0b8576eae | [
"MIT"
] | null | null | null | js/src/render/renderer.js | fingolfin/francy | 059dbafab609855d521f058e18da9af0b8576eae | [
"MIT"
] | null | null | null | import BaseRenderer from './base';
import MathJaxWrapper from './mathjax-wrapper';
/* global d3 */
export default class Renderer extends BaseRenderer {
constructor({ appendTo, callbackHandler }) {
super({ appendTo: appendTo, callbackHandler: callbackHandler });
if (new.target === Renderer) {
throw ne... | 29.865385 | 119 | 0.643271 |
0c5d373d26a83258cd12ea4f9c00e7440d8b26ff | 3,390 | js | JavaScript | src/Controller/StoreController.js | quoctrong1x96/cena-foodie-api | 55de1060214e8379b18c52bbf6c3070c1a9fc733 | [
"MIT"
] | 2 | 2022-03-30T09:44:50.000Z | 2022-03-31T00:50:11.000Z | src/Controller/StoreController.js | quoctrong1x96/cena-foodie-api | 55de1060214e8379b18c52bbf6c3070c1a9fc733 | [
"MIT"
] | null | null | null | src/Controller/StoreController.js | quoctrong1x96/cena-foodie-api | 55de1060214e8379b18c52bbf6c3070c1a9fc733 | [
"MIT"
] | null | null | null | // get-all-store-by-page
import { response } from 'express';
import pool from '../Database/mysql.js';
import bcrypt from 'bcrypt';
export const getStoreNameById = async (req, res = response) => {
try {
const stores = await pool.query(`SELECT store_name FROM stores where id = ?`, req.params.id);
... | 24.214286 | 139 | 0.486431 |
0c5e7745ec2c74041da05569307063e10889bf59 | 997 | js | JavaScript | doc/actor_manager_8h.js | KURUJISU/Top_P | d218656e13cbe05b01926366e114b34b8d430035 | [
"MIT"
] | null | null | null | doc/actor_manager_8h.js | KURUJISU/Top_P | d218656e13cbe05b01926366e114b34b8d430035 | [
"MIT"
] | null | null | null | doc/actor_manager_8h.js | KURUJISU/Top_P | d218656e13cbe05b01926366e114b34b8d430035 | [
"MIT"
] | null | null | null | var actor_manager_8h =
[
[ "AddActor", "actor_manager_8h.html#a12e5f88564714a2c478af874d649cd38", null ],
[ "ClearActors", "actor_manager_8h.html#ae57db857a505adb20dbb340ce8333f91", null ],
[ "DeleteActors", "actor_manager_8h.html#a876d4f1d18590053fe0847b24f042665", null ],
[ "DeleteActors", "actor_mana... | 71.214286 | 90 | 0.772317 |
0c5ee3dcbc5e5cff628fe73996c28b1c66fa371a | 159 | js | JavaScript | backend/convert/src/filter.js | Giancarl021/Tutorial-Filipe-Newsletter | 42e96da7d6b084e1d53b60c1b1f126555c22142f | [
"MIT"
] | 3 | 2021-08-25T02:52:44.000Z | 2021-09-13T16:15:43.000Z | backend/convert/src/filter.js | Giancarl021/Tutorial-Filipe-Newsletter | 42e96da7d6b084e1d53b60c1b1f126555c22142f | [
"MIT"
] | null | null | null | backend/convert/src/filter.js | Giancarl021/Tutorial-Filipe-Newsletter | 42e96da7d6b084e1d53b60c1b1f126555c22142f | [
"MIT"
] | null | null | null | const isToday = require('./is-today');
module.exports = function (data) {
return data
.filter(item => isToday(item.timestamp))
.shift();
} | 22.714286 | 48 | 0.603774 |
0c5f04cd23137b8b8853539bfa92f5438f9e8ff9 | 1,167 | js | JavaScript | src/messages.js | ray-lee/cspace-ui-plugin-record-osteology.js | 1cecc726d6f971d7166f0a6a37bae53e0120ef35 | [
"ECL-2.0"
] | null | null | null | src/messages.js | ray-lee/cspace-ui-plugin-record-osteology.js | 1cecc726d6f971d7166f0a6a37bae53e0120ef35 | [
"ECL-2.0"
] | 1 | 2019-12-21T05:27:34.000Z | 2019-12-21T05:27:34.000Z | src/messages.js | ray-lee/cspace-ui-plugin-record-osteology.js | 1cecc726d6f971d7166f0a6a37bae53e0120ef35 | [
"ECL-2.0"
] | 1 | 2019-07-25T06:37:46.000Z | 2019-07-25T06:37:46.000Z | import { defineMessages } from 'react-intl';
export default {
record: defineMessages({
name: {
id: 'record.osteology.name',
description: 'The name of the osteology record type.',
defaultMessage: 'Osteology',
},
collectionName: {
id: 'record.osteology.collectionName',
descrip... | 25.933333 | 80 | 0.62982 |
0c60639a35ffbe8125a66b674830ad9f9c3d8260 | 1,684 | js | JavaScript | api/src/models/User.js | rishabhmalik-gep/sieve.ai | 4e33075029f08a913a5bbc4ba1df68431f613585 | [
"MIT"
] | 2 | 2021-07-21T13:30:03.000Z | 2022-01-10T08:10:43.000Z | api/src/models/User.js | rishabhmalik-gep/sieve.ai | 4e33075029f08a913a5bbc4ba1df68431f613585 | [
"MIT"
] | 2 | 2022-02-18T22:40:27.000Z | 2022-03-31T15:00:49.000Z | api/src/models/User.js | rishabhmalik-gep/sieve.ai | 4e33075029f08a913a5bbc4ba1df68431f613585 | [
"MIT"
] | 2 | 2021-07-08T15:23:17.000Z | 2021-08-15T08:23:40.000Z | import mongoose from 'mongoose';
import bcrypt from 'bcryptjs';
const UserSchema = new mongoose.Schema(
{
name: {
type: String,
required: true,
trim: true,
minLength: 2,
maxLength: 100,
},
email: {
type: String,
required: true,
trim: true,
minLength: ... | 22.157895 | 84 | 0.597981 |
0c60dc738e102c36403b9a6d34ffb6e3950c91e0 | 283 | js | JavaScript | web/components/screens/cosmos.decorator.js | rigolman1234/flatris | 6044775327a16628482741a5d3bc8a24b2336c15 | [
"MIT"
] | 1,352 | 2015-02-09T08:44:26.000Z | 2022-03-30T20:51:53.000Z | web/components/screens/cosmos.decorator.js | rigolman1234/flatris | 6044775327a16628482741a5d3bc8a24b2336c15 | [
"MIT"
] | 62 | 2015-01-31T16:18:40.000Z | 2022-02-26T10:11:26.000Z | web/components/screens/cosmos.decorator.js | rigolman1234/flatris | 6044775327a16628482741a5d3bc8a24b2336c15 | [
"MIT"
] | 3,682 | 2015-02-27T01:50:52.000Z | 2022-03-31T19:29:16.000Z | // @flow
import React from 'react';
import { GameContainerMock } from '../../mocks/GameContainerMock';
export default ({ children }: { children: React$Node }) => (
<GameContainerMock cols={10} backgroundColor="rgba(236, 240, 241, 0.85)">
{children}
</GameContainerMock>
);
| 25.727273 | 75 | 0.671378 |
0c618b2016a791caeba646251893fdb3ea838a01 | 665 | js | JavaScript | src/components/ImageCropper/utils/data2blob.js | wangyunfan418/Vuetify-Admin | ed2a99e287ab9c36625f35000f3902b71edfff83 | [
"MIT"
] | 1 | 2019-07-17T08:15:37.000Z | 2019-07-17T08:15:37.000Z | src/components/ImageCropper/utils/data2blob.js | wangyunfan418/Vuetify-Admin | ed2a99e287ab9c36625f35000f3902b71edfff83 | [
"MIT"
] | null | null | null | src/components/ImageCropper/utils/data2blob.js | wangyunfan418/Vuetify-Admin | ed2a99e287ab9c36625f35000f3902b71edfff83 | [
"MIT"
] | null | null | null | /**
* Convert database64 file format to binary
*
* @param {[String]} data dataURL is "data:image/png;base64,****".
* comma is preceded by some descriptive text. We only need the comma after the line.
* @param {[String]} mime [description]
* @return {[blob]} [description]
*/
export default function (data, ... | 31.666667 | 85 | 0.619549 |
0c62d15224bee1f65aee2b756b66f070c17ca9a8 | 14,041 | js | JavaScript | doc/current/scripts/directoryView.js | vczh-libraries/vczh-libraries.github.io | 85addde60cc8674213737ac3db7b802e8854c54c | [
"RSA-MD"
] | 71 | 2015-08-13T04:51:08.000Z | 2021-12-21T09:49:37.000Z | doc/current/scripts/directoryView.js | vczh-libraries/vczh-libraries.github.io | 85addde60cc8674213737ac3db7b802e8854c54c | [
"RSA-MD"
] | 3 | 2020-12-18T12:50:51.000Z | 2021-07-19T18:08:29.000Z | doc/current/scripts/directoryView.js | vczh-libraries/vczh-libraries.github.io | 85addde60cc8674213737ac3db7b802e8854c54c | [
"RSA-MD"
] | 21 | 2015-08-21T15:21:32.000Z | 2020-12-19T12:08:02.000Z | window["Gaclib-DirectoryView"]=function(t){var e={};function n(i){if(e[i])return e[i].exports;var s=e[i]={i:i,l:!1,exports:{}};return t[i].call(s.exports,s,s.exports,n),s.l=!0,s.exports}return n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!=typeof... | 14,041 | 14,041 | 0.671106 |
0c63b278e2ddaddaed12971dd4174928d5905ee3 | 3,397 | js | JavaScript | index.js | austinkelleher/pending-tasks | b5d474df7c6b0bba423e408a8eb27ca0cafdff5e | [
"MIT"
] | 1 | 2015-09-19T05:36:26.000Z | 2015-09-19T05:36:26.000Z | index.js | austinkelleher/pending-tasks | b5d474df7c6b0bba423e408a8eb27ca0cafdff5e | [
"MIT"
] | null | null | null | index.js | austinkelleher/pending-tasks | b5d474df7c6b0bba423e408a8eb27ca0cafdff5e | [
"MIT"
] | null | null | null | /**
* Create a new pending tasks manager
*
* @param options
* @param options.defaultTimeout Default timeout for a task if one is not provided.
* this falls back to 1000 ms.
* @param options.tasks Single object or array of objects of tasks with unique Id's
*/
var PendingTasks = function(opt... | 30.881818 | 98 | 0.568737 |
058a0a95a601d63cb156fb2a76a1de24ec5f2aca | 5,228 | js | JavaScript | assets/js/app.js | tidepooler/D3-Challenge | 4fa0dd2154c5ef6eded7f52161273fedc59042c6 | [
"ADSL"
] | null | null | null | assets/js/app.js | tidepooler/D3-Challenge | 4fa0dd2154c5ef6eded7f52161273fedc59042c6 | [
"ADSL"
] | null | null | null | assets/js/app.js | tidepooler/D3-Challenge | 4fa0dd2154c5ef6eded7f52161273fedc59042c6 | [
"ADSL"
] | null | null | null | //Set up chart
function setUpChart() {
var svgWidth = 960;
var svgHeight = 500;
var margin = {
top: 20,
right: 40,
bottom: 60,
left: 100
};
var width = svgWidth - margin.left - margin.right;
var height = svgHeight - margin.top - margin.bottom;
// Creat... | 30.045977 | 91 | 0.471117 |
058a30f164db7255e454afadfb0add7e1026ce25 | 2,571 | js | JavaScript | src/components/Hero.js | DoraKar/portfolio | fa4f914f94114dd21eab5c6feb73ec8e4648cd08 | [
"MIT"
] | null | null | null | src/components/Hero.js | DoraKar/portfolio | fa4f914f94114dd21eab5c6feb73ec8e4648cd08 | [
"MIT"
] | null | null | null | src/components/Hero.js | DoraKar/portfolio | fa4f914f94114dd21eab5c6feb73ec8e4648cd08 | [
"MIT"
] | null | null | null | import React from "react"
import Image from "gatsby-image"
import { graphql, useStaticQuery } from "gatsby"
import SocialLinks from "../constants/socialLinks"
import {Link} from 'react-scroll'
// ...GatsbyImageSharpFluid
function scroll(val)
{
//alert(document.getElementById(val));
document.getElementById(val... | 27.645161 | 126 | 0.537923 |
058afa0d3feba6dc9c7a44baa413ad30d2aff87e | 158 | js | JavaScript | src/context/ScrollToSectionContext.js | uqlibrary/homepage-react | d35fcc9d0ac1174e0f81667459e7276df603b7b9 | [
"MIT"
] | 6 | 2017-06-30T00:58:59.000Z | 2021-03-23T10:42:36.000Z | src/context/ScrollToSectionContext.js | uqlibrary/uql-homepage-frontend | 45427c291738f2718a9da1620cc3442a6ba03427 | [
"MIT"
] | 14 | 2020-01-07T23:22:32.000Z | 2022-03-26T07:05:41.000Z | src/context/ScrollToSectionContext.js | lifenstein/fez-frontend | b51b70ee27f6509feacbf8522a26ac00192932f4 | [
"MIT"
] | 4 | 2017-08-17T05:38:48.000Z | 2020-01-17T06:14:09.000Z | import React from 'react';
export default React.createContext({
scrollToSection: false,
sectionRef: null,
scrollToSectionCallback: () => {},
});
| 19.75 | 38 | 0.683544 |
058b831a46bbcef4d47db33b3262f1a83c44e744 | 3,519 | js | JavaScript | lib/quip.js | dineshkummarc/quip | 7881f7b3d367de97ef1af56580e96c8424b9a4a9 | [
"MIT"
] | 1 | 2019-04-22T16:34:19.000Z | 2019-04-22T16:34:19.000Z | lib/quip.js | dineshkummarc/quip | 7881f7b3d367de97ef1af56580e96c8424b9a4a9 | [
"MIT"
] | null | null | null | lib/quip.js | dineshkummarc/quip | 7881f7b3d367de97ef1af56580e96c8424b9a4a9 | [
"MIT"
] | null | null | null | // filter for use with Connect
var exports = module.exports = function(){
return function(req, res, next){
exports.update(res);
next();
};
};
exports.update = function(res){
///// default response settings /////
res._quip_headers = {'Content-Type': 'text/html'};
res._quip_status = ... | 30.6 | 71 | 0.535948 |
058d1c8998558faecb6f166d482b0f9a2e90c431 | 183 | js | JavaScript | sever/utils/config.js | CodeGather/vue2-koa2-mongodb | 8e0039af3528df5f192d66a128b522e410f4cadc | [
"MIT"
] | 1 | 2018-08-31T03:07:47.000Z | 2018-08-31T03:07:47.000Z | sever/utils/config.js | CodeGather/vue2-koa2-mongodb | 8e0039af3528df5f192d66a128b522e410f4cadc | [
"MIT"
] | null | null | null | sever/utils/config.js | CodeGather/vue2-koa2-mongodb | 8e0039af3528df5f192d66a128b522e410f4cadc | [
"MIT"
] | null | null | null | // 微信配置文件
module.exports = {
port: 3000,
wx: {
token: 'wolongangroot',
appid: 'wx8efc03924858bebf',
encodingAESKey: 'xe8maBnuHJ0lOZhmLAAuWfgqgdW5RuKpMn7l8yQG3Hr'
}
} | 20.333333 | 65 | 0.693989 |
058e900f2cf7b766d97a3f6085c24484b9847cab | 1,224 | js | JavaScript | util/gulp/test-step.js | halfmatthalfcat/functional-express | 01e2b8cfc3f53644a03d16a5ed5623941cc4c3e7 | [
"MIT"
] | 2 | 2017-12-11T15:38:34.000Z | 2018-02-18T15:29:11.000Z | util/gulp/test-step.js | halfmatthalfcat/functional-express | 01e2b8cfc3f53644a03d16a5ed5623941cc4c3e7 | [
"MIT"
] | null | null | null | util/gulp/test-step.js | halfmatthalfcat/functional-express | 01e2b8cfc3f53644a03d16a5ed5623941cc4c3e7 | [
"MIT"
] | null | null | null | /**
* Gulp unit testing step that runs Karma/PhantomJS
*/
const path = require("path");
const jest = require("gulp-jest-cli").default;
/**
* Setup the unit test task using our gulp instance
* @param {Gulp} gulp - The project gulp instance
* @param {string} rootDir - The project root path
*/
module.exports = (gu... | 24 | 87 | 0.517157 |
058f15ffe9961e37de48d03fbf520f4ef5ea2e65 | 75 | js | JavaScript | node_modules/carbon-icons-svelte/lib/DataClass32/index.js | seekersapp2013/new | 1e393c593ad30dc1aa8642703dad69b84bad3992 | [
"MIT"
] | null | null | null | node_modules/carbon-icons-svelte/lib/DataClass32/index.js | seekersapp2013/new | 1e393c593ad30dc1aa8642703dad69b84bad3992 | [
"MIT"
] | null | null | null | node_modules/carbon-icons-svelte/lib/DataClass32/index.js | seekersapp2013/new | 1e393c593ad30dc1aa8642703dad69b84bad3992 | [
"MIT"
] | null | null | null | import DataClass32 from "./DataClass32.svelte";
export default DataClass32; | 37.5 | 47 | 0.826667 |
058f893c30d6a9eaf6cbd0dd81917a01feed7b96 | 2,311 | js | JavaScript | server/app/routes/v1.0/routes_chefClientExecutionResponse.js | AdityaSrikanth/core | 85c4e490e0fdec2edda6c6cb0877f1564cd82b81 | [
"Apache-2.0"
] | 8 | 2016-04-12T19:54:51.000Z | 2018-08-23T21:32:15.000Z | server/app/routes/v1.0/routes_chefClientExecutionResponse.js | AdityaSrikanth/core | 85c4e490e0fdec2edda6c6cb0877f1564cd82b81 | [
"Apache-2.0"
] | 166 | 2016-02-26T10:10:15.000Z | 2021-09-29T05:17:11.000Z | server/app/routes/v1.0/routes_chefClientExecutionResponse.js | AdityaSrikanth/core | 85c4e490e0fdec2edda6c6cb0877f1564cd82b81 | [
"Apache-2.0"
] | 59 | 2016-02-10T15:57:52.000Z | 2021-12-13T03:25:30.000Z | /*
Copyright [2016] [Relevance Lab]
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 writing, software
d... | 34.492537 | 107 | 0.58373 |
05926225579ab1501def5fa1eb81c61837e1c91b | 741 | js | JavaScript | ztm-algos-n-ds/section-10/my-binary-tree-implementation/binary-tree.js | MatteoDelliRocioli/back-to-the-roots | 6c0fc1f0ab17937d6cdcc1a7f5f875d767b2b758 | [
"MIT"
] | null | null | null | ztm-algos-n-ds/section-10/my-binary-tree-implementation/binary-tree.js | MatteoDelliRocioli/back-to-the-roots | 6c0fc1f0ab17937d6cdcc1a7f5f875d767b2b758 | [
"MIT"
] | null | null | null | ztm-algos-n-ds/section-10/my-binary-tree-implementation/binary-tree.js | MatteoDelliRocioli/back-to-the-roots | 6c0fc1f0ab17937d6cdcc1a7f5f875d767b2b758 | [
"MIT"
] | null | null | null | class Node {
constructor(value){
this.left = null;
this.right = null;
this.value = value;
}
}
class BinarySearchTree {
constructor(){
this.root = null;
}
insert(value){
//Code here
}
lookup(value){
//Code here
}
// remove
}
const tree = new BinarySearchTr... | 17.642857 | 66 | 0.589744 |
0593010b60dc0294fc7315b9c409933b989d2790 | 3,930 | js | JavaScript | tests/parse/array_unpack.js | mattbierner/khepri-parse | 29eb5787cb9b9e45a398c69492155b76efbf0626 | [
"MIT"
] | 1 | 2015-06-26T20:01:37.000Z | 2015-06-26T20:01:37.000Z | tests/parse/array_unpack.js | mattbierner/khepri-parse | 29eb5787cb9b9e45a398c69492155b76efbf0626 | [
"MIT"
] | null | null | null | tests/parse/array_unpack.js | mattbierner/khepri-parse | 29eb5787cb9b9e45a398c69492155b76efbf0626 | [
"MIT"
] | null | null | null | var lexer = require('../../index').lex.lexer;
var parser = require('../../index').parse.parser;
var $ = require('../$');
var testParser = function(stream) {
var result = parser.parseStream(lexer.lex(stream));
return result.body[0].expression.bindings[0].pattern;
};
exports.single = function(test) {
var r... | 26.917808 | 61 | 0.60229 |
059504a98d9146bc1b5cf8e8c2c601a975f68ae2 | 11,250 | js | JavaScript | Client/Src/app.js | Real-Serious-Games/LogViewer | e7f132afb96a3cbbf612e44f823d517b9de6ae63 | [
"MIT"
] | 7 | 2016-04-05T23:49:37.000Z | 2021-02-24T16:03:38.000Z | Client/Src/app.js | Real-Serious-Games/LogViewer | e7f132afb96a3cbbf612e44f823d517b9de6ae63 | [
"MIT"
] | 1 | 2017-01-04T19:27:53.000Z | 2017-01-04T19:27:53.000Z | Client/Src/app.js | Real-Serious-Games/LogViewer | e7f132afb96a3cbbf612e44f823d517b9de6ae63 | [
"MIT"
] | 3 | 2015-03-12T03:18:49.000Z | 2021-04-20T12:29:31.000Z |
//
// Define the 'app' module.
//
angular.module('app', [
'btford.socket-io',
'app.directives',
'ui.router'
])
.config(function ($stateProvider, $urlRouterProvider) {
$stateProvider
.state('modal', {
views: {
"modal": {
templateUrl: "modal... | 31.337047 | 113 | 0.537067 |
0595665ff69acf93972f50b46f2f808046d505f7 | 2,154 | js | JavaScript | html/DataSurfaceColors_8cc.js | yurigabrich/EnergyPlusShadow | 396ca83aa82b842e6b177ba35c91b3f481dfbbf9 | [
"BSD-3-Clause"
] | null | null | null | html/DataSurfaceColors_8cc.js | yurigabrich/EnergyPlusShadow | 396ca83aa82b842e6b177ba35c91b3f481dfbbf9 | [
"BSD-3-Clause"
] | 1 | 2020-07-08T13:32:09.000Z | 2020-07-08T13:32:09.000Z | html/DataSurfaceColors_8cc.js | yurigabrich/EnergyPlusShadow | 396ca83aa82b842e6b177ba35c91b3f481dfbbf9 | [
"BSD-3-Clause"
] | null | null | null | var DataSurfaceColors_8cc =
[
[ "colorkeyptr", "DataSurfaceColors_8cc.html#af93249aa851c2b76ad0d66150fc8c87f", null ],
[ "colorkeys", "DataSurfaceColors_8cc.html#a0d03319dbb9b994c34c3ad99b6d77944", null ],
[ "ColorNo_DaylSensor1", "DataSurfaceColors_8cc.html#ae0d5fc3ccf5178b16bba74f34c79c107", null ],
[... | 86.16 | 107 | 0.792479 |
059a07067d2b0c7a4d292dab326c13a1ca1e77df | 2,502 | js | JavaScript | experiments/find/findGen/test283.js | sola-da/LambdaTester | f993f9d67eab0120b14111be1a56d40b4c5ac9af | [
"MIT"
] | 2 | 2018-11-26T09:34:28.000Z | 2019-10-18T16:23:53.000Z | experiments/find/findGen/test283.js | sola-da/LambdaTester | f993f9d67eab0120b14111be1a56d40b4c5ac9af | [
"MIT"
] | null | null | null | experiments/find/findGen/test283.js | sola-da/LambdaTester | f993f9d67eab0120b14111be1a56d40b4c5ac9af | [
"MIT"
] | 1 | 2019-10-08T16:37:48.000Z | 2019-10-08T16:37:48.000Z |
var callbackArguments = [];
var argument1 = function callback(a,b,c) {
callbackArguments.push(JSON.stringify(arguments))
argument1 = null
base_0[5] = ""
base_0[5] = [59,893,893,705,705,893,969,714]
return a*b/c
};
var argument2 = null;
var argument3 = 783;
var argument4 = function callback(a,b,c) {
callbackArgu... | 30.512195 | 221 | 0.667066 |
059a129a64a035aea428692930862574723852b5 | 1,262 | js | JavaScript | tests/e2e/integration/admin.settings.js | zotovY/linkup-web | 674ff4ff511aaf38efa91a4c7432feefdb3920b7 | [
"MIT"
] | 5 | 2021-04-24T12:13:50.000Z | 2021-12-30T17:50:45.000Z | tests/e2e/integration/admin.settings.js | zotovY/linkup-web | 674ff4ff511aaf38efa91a4c7432feefdb3920b7 | [
"MIT"
] | null | null | null | tests/e2e/integration/admin.settings.js | zotovY/linkup-web | 674ff4ff511aaf38efa91a4c7432feefdb3920b7 | [
"MIT"
] | null | null | null | import {user } from "../../data";
it("should load settings", () => {
cy.intercept("GET", Cypress.env("server") + "/user/1", user).as("user-route");
cy.login();
cy.visit(Cypress.env("url") + "/admin?tab=settings");
cy.wait(["@user-route"]);
cy.get("main").toMatchImageSnapshot();
});
it("should cha... | 35.055556 | 169 | 0.585578 |
059b9e2a0ca3c34809059fbffb44b86953b860fe | 124,692 | js | JavaScript | src/app/@core/dist/14-es5.7a68ce261d4e887bc21d.js | bpandiaraj/imcJuly2021GIT12 | 2ef018698ddf18a6bc2de5f93499738a73424458 | [
"MIT"
] | null | null | null | src/app/@core/dist/14-es5.7a68ce261d4e887bc21d.js | bpandiaraj/imcJuly2021GIT12 | 2ef018698ddf18a6bc2de5f93499738a73424458 | [
"MIT"
] | 1 | 2021-08-13T21:06:05.000Z | 2021-08-13T21:06:05.000Z | src/app/@core/dist/14-es5.7a68ce261d4e887bc21d.js | ashwinkey04/imcJuly2021GIT12 | 2f4038a3485fafa4179f05273b746ad51c93ae03 | [
"MIT"
] | 1 | 2021-07-16T09:09:37.000Z | 2021-07-16T09:09:37.000Z | !function(){function t(t){return function(t){if(Array.isArray(t))return n(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||function(t,a){if(!t)return;if("string"==typeof t)return n(t,a);var e=Object.prototype.toString.call(t).slice(8,-1);"Object"===e&&t.construct... | 124,692 | 124,692 | 0.734947 |
059cd0c9a26edf842a03285c7dc3cdf78bfc3054 | 2,394 | js | JavaScript | src/Texture.js | surma/SurmEngine | e8032509dff65fac0757dbde292c8108d27fb61b | [
"Apache-2.0"
] | 3 | 2017-04-03T06:32:24.000Z | 2017-12-07T23:13:10.000Z | src/Texture.js | surma/SurmEngine | e8032509dff65fac0757dbde292c8108d27fb61b | [
"Apache-2.0"
] | 8 | 2017-04-14T11:16:45.000Z | 2017-05-13T13:25:11.000Z | src/Texture.js | surma/SurmEngine | e8032509dff65fac0757dbde292c8108d27fb61b | [
"Apache-2.0"
] | null | null | null | export class Texture {
constructor(gl) {
this._gl = gl;
this._texture = this._gl.createTexture();
this._type = this._gl.TEXTURE_2D;
this._internalFormat = this._gl.RGBA;
this._textureID = 0;
this._maxMipmapLevel = 1000;
this._magFilter = this._gl.LINEAR;
this._wrapMode = gl.REPEAT;
... | 20.817391 | 128 | 0.66416 |
059ddfb41e9757f3d3128deb348d102d829ea255 | 377 | js | JavaScript | scripts/page2.js | EduardoAz26/catalogo | eb763e9e8d7a313fc5b2c0d6446b47344e186dcb | [
"MIT"
] | null | null | null | scripts/page2.js | EduardoAz26/catalogo | eb763e9e8d7a313fc5b2c0d6446b47344e186dcb | [
"MIT"
] | null | null | null | scripts/page2.js | EduardoAz26/catalogo | eb763e9e8d7a313fc5b2c0d6446b47344e186dcb | [
"MIT"
] | null | null | null | var app = new Vue({
el: '#app',
data: {
variavelX: 'Outro texto',
intNumber: 0
},
methods: {
add() {
this.intNumber++;
}
},
mounted() {
console.log('Esse metodo é chamado quando o componente/pagina termina de carregar, ideal para carregar dados... | 23.5625 | 163 | 0.546419 |
059eae5aabdd75a1af51159ff2a4fd116d378cba | 1,403 | js | JavaScript | api/middleware/authMiddleware.js | Lambda-School-Labs/Labs25-Bridges_to_Prosperity_TeamA-be | a207c8a96cddc5c4695515086b159a1bad3c665e | [
"MIT"
] | null | null | null | api/middleware/authMiddleware.js | Lambda-School-Labs/Labs25-Bridges_to_Prosperity_TeamA-be | a207c8a96cddc5c4695515086b159a1bad3c665e | [
"MIT"
] | 24 | 2020-08-12T15:42:30.000Z | 2020-09-25T04:05:50.000Z | api/middleware/authMiddleware.js | Lambda-School-Labs/Labs25-Bridges_to_Prosperity_TeamA-be | a207c8a96cddc5c4695515086b159a1bad3c665e | [
"MIT"
] | 2 | 2020-09-28T13:29:17.000Z | 2020-10-26T16:47:53.000Z | const Bridge = require('../bridges/bridgeModal');
module.exports = {
validateId,
validateValues,
validateFilterValues,
};
// middleware to check if id is valid
function validateId(req, res, next) {
const { id } = req.params;
if (!id) {
res.status(400).json({ message: 'Please provide ID' });
} else {
... | 20.940299 | 77 | 0.577334 |
059f51a881a7234c90efd6c4bc6274e6a6ec1642 | 1,207 | js | JavaScript | app/assets/javascripts/tts.js | enwords/enwords | 3cf1776e8ed78fec508d13c85dbe8459540a3255 | [
"MIT"
] | 4 | 2017-05-28T09:46:00.000Z | 2021-09-11T07:21:39.000Z | app/assets/javascripts/tts.js | enwords/enwords | 3cf1776e8ed78fec508d13c85dbe8459540a3255 | [
"MIT"
] | 13 | 2017-05-14T17:17:42.000Z | 2022-03-30T21:56:40.000Z | app/assets/javascripts/tts.js | enwords/enwords | 3cf1776e8ed78fec508d13c85dbe8459540a3255 | [
"MIT"
] | null | null | null | var voiceByLang = {
"eng": "Daniel",
"ita": "Luca",
"fra": "Thomas",
"deu": "Anna",
"rus": "Yuri",
"spa": "Juan",
"pol": "Zosia",
"nld": "Xander",
"fin": "Satu",
"zho": "Ting-Ting",
"por": "Joana",
"ara": "Maged",
"heb": "Carmit",
"swe": "Alva",
"ind": "Damayanti",
"rom": "Ioana",
"hun... | 21.175439 | 80 | 0.578293 |
059f6016c9f6acac79af423d25ad0675654a9bc8 | 13,343 | js | JavaScript | test/fixtures/profile/zotero/zotero/translators/CABI - CAB Abstracts.js | theworldisnotflat/zotero-better-bibtex | 93eccea835a73349432eaa3f7b95ef51ba71288a | [
"MIT"
] | 1 | 2022-03-25T03:21:34.000Z | 2022-03-25T03:21:34.000Z | test/fixtures/profile/zotero/zotero/translators/CABI - CAB Abstracts.js | theworldisnotflat/zotero-better-bibtex | 93eccea835a73349432eaa3f7b95ef51ba71288a | [
"MIT"
] | null | null | null | test/fixtures/profile/zotero/zotero/translators/CABI - CAB Abstracts.js | theworldisnotflat/zotero-better-bibtex | 93eccea835a73349432eaa3f7b95ef51ba71288a | [
"MIT"
] | null | null | null | {
"translatorID": "a29d22b3-c2e4-4cc0-ace4-6c2326144332",
"label": "CABI - CAB Abstracts",
"creator": "Sebastian Karcher",
"target": "^https?://(www\\.)?cabidirect\\.org/cabdirect",
"minVersion": "3.0.4",
"maxVersion": "",
"priority": 100,
"inRepository": true,
"translatorType": 4,
"browserSupport": "gcsibv",... | 41.959119 | 2,208 | 0.66889 |
05a02cb2d32e2cfb9417ce88aebf44d1773e9bed | 272 | js | JavaScript | random js problems/testReadFromConsole.js | willystyle7/JS-fundamentals | 6e9e58e302c9573bf0bb7e9e3e71581463245e59 | [
"MIT"
] | null | null | null | random js problems/testReadFromConsole.js | willystyle7/JS-fundamentals | 6e9e58e302c9573bf0bb7e9e3e71581463245e59 | [
"MIT"
] | null | null | null | random js problems/testReadFromConsole.js | willystyle7/JS-fundamentals | 6e9e58e302c9573bf0bb7e9e3e71581463245e59 | [
"MIT"
] | null | null | null | function rectangleArea() {
let stdin = process.openStdin();
stdin.addListener('data', function(d) {
console.log('d: ', d);
let [a, b] = d.toString().split(/[,\s]+/g);
let area = a * b;
console.log(area);
});
}
rectangleArea();
| 22.666667 | 51 | 0.525735 |
05a09af63d942dc37e9845baf37b4d8d3c3dd2a8 | 1,935 | js | JavaScript | public/javascripts/general.js | savinkhadka/kapelner-clone | 671fd6335e391b2f55ab01e8451e36a563f0bf12 | [
"MIT"
] | 1 | 2019-01-30T01:16:22.000Z | 2019-01-30T01:16:22.000Z | public/javascripts/general.js | kapelner/breaking_monotony | 8d7e9fd2807978bb5b4a364d35185e279d6e6689 | [
"MIT"
] | 1 | 2019-01-30T21:59:23.000Z | 2019-01-30T22:49:21.000Z | public/javascripts/general.js | savinkhadka/kapelner-clone | 671fd6335e391b2f55ab01e8451e36a563f0bf12 | [
"MIT"
] | null | null | null | var SimmonsGeneral = {
login : function(){
//verify integrity and appropriateness of data
var login = $('user_login_login').value;
if (login === ''){
alert('You must provide an email.');
return false;
}
else if (this.InvalidEmail(login)){
alert('The email you provided is not v... | 31.209677 | 108 | 0.58553 |
05a22f2750180a89103bdc2e4b837bf9070720db | 236 | js | JavaScript | src/redux/modules/dashboardData.js | seestats/dashboard | 84184227ff8aac06abfb5e3dc49227100540c552 | [
"Apache-2.0"
] | null | null | null | src/redux/modules/dashboardData.js | seestats/dashboard | 84184227ff8aac06abfb5e3dc49227100540c552 | [
"Apache-2.0"
] | null | null | null | src/redux/modules/dashboardData.js | seestats/dashboard | 84184227ff8aac06abfb5e3dc49227100540c552 | [
"Apache-2.0"
] | null | null | null | import axios from 'axios'
const DASHBOARD_DATA_LOADED = 'DASHBOARD_DATA_LOADED'
export const initialState = {
};
export default function (state = initialState, action) {
switch (action.type) {
default:
return state
}
}
| 16.857143 | 56 | 0.711864 |
05a39af7a7ca26dfda3d0402707b0d996ecc6463 | 203 | js | JavaScript | server/models/authors.model.js | ramsingh83/ws-graph-react-node | 10ee2ae6b393cccf8229d24cd3e674328cdbe94b | [
"Unlicense"
] | null | null | null | server/models/authors.model.js | ramsingh83/ws-graph-react-node | 10ee2ae6b393cccf8229d24cd3e674328cdbe94b | [
"Unlicense"
] | null | null | null | server/models/authors.model.js | ramsingh83/ws-graph-react-node | 10ee2ae6b393cccf8229d24cd3e674328cdbe94b | [
"Unlicense"
] | null | null | null | const mongoose = require('mongoose');
const Schema = mongoose.Schema;
const authorSchema = new Schema({
name: String,
location: String
});
module.export = mongoose.model('Book', authorSchema); | 22.555556 | 53 | 0.70936 |
05a3cbbd93383716a568e6b11112025947ac3028 | 4,012 | js | JavaScript | src/api/analytics.test.js | dgoldstein1/links | 6d6430b7ae992c86cd2392f384177cb866b3b110 | [
"MIT"
] | null | null | null | src/api/analytics.test.js | dgoldstein1/links | 6d6430b7ae992c86cd2392f384177cb866b3b110 | [
"MIT"
] | 15 | 2019-09-16T04:04:59.000Z | 2020-01-29T23:08:16.000Z | src/api/analytics.test.js | dgoldstein1/links | 6d6430b7ae992c86cd2392f384177cb866b3b110 | [
"MIT"
] | null | null | null | import moxios from "moxios";
import { store } from "../reducers";
import sinon from "sinon";
import axios from "axios";
import { _formatDataToAnalyticsBackend, postUserVisit } from "./analytics";
describe("analytics", () => {
describe("_formatDataToAnalyticsBackend", () => {
let testTable = [
{
nam... | 28.453901 | 108 | 0.488036 |
05a3e3e6276957cff079283b08138ced5621bc27 | 751 | js | JavaScript | src/Components/Bookshelf.js | raphaelmro/reactnd-project-myreads-starter | e9c47c16c91c11170fe0a4c543efc40c72dd47ab | [
"Unlicense"
] | null | null | null | src/Components/Bookshelf.js | raphaelmro/reactnd-project-myreads-starter | e9c47c16c91c11170fe0a4c543efc40c72dd47ab | [
"Unlicense"
] | null | null | null | src/Components/Bookshelf.js | raphaelmro/reactnd-project-myreads-starter | e9c47c16c91c11170fe0a4c543efc40c72dd47ab | [
"Unlicense"
] | null | null | null | import React, { Component } from "react";
import ListBooks from "./ListBooks";
import { func, string } from "prop-types";
class Bookshelf extends Component {
static propTypes = {
onUpdateBookShelf: func.isRequired,
shelf: string
};
onUpdateBookShelf = (book, bookshelf) => {
this.props.onUpdateBookSh... | 22.757576 | 65 | 0.588549 |
05a5ab5c14add955d0476a2c60115e81512a7646 | 557 | js | JavaScript | src/utils/choke.js | freemountain/fux | 01b39adfe40d8d039621199578b23f7bfa97f195 | [
"MIT"
] | 9 | 2016-03-11T12:11:59.000Z | 2016-03-11T16:44:46.000Z | src/utils/choke.js | freemountain/fux | 01b39adfe40d8d039621199578b23f7bfa97f195 | [
"MIT"
] | 1 | 2016-03-11T12:34:07.000Z | 2016-03-11T13:35:51.000Z | src/utils/choke.js | freemountain/fux | 01b39adfe40d8d039621199578b23f7bfa97f195 | [
"MIT"
] | null | null | null | /**
* creates a choke that throttle fuction calls
*
* The returned choke function will throttle calls with the same path argument
* for delta milliseconds.
*
* @param {Number} delta - the delta between calls [ms]
* @return {function(path: String, f: Function)}
*/
export default function choke(delta) {
const... | 21.423077 | 78 | 0.64991 |
05a5fb067b71c414f62261cc9c66c766c737711d | 914 | js | JavaScript | file-reader.js | ddikman/tagmaker | b4be1334db43cd76719f3d9261f5be52606e1a46 | [
"Unlicense",
"MIT"
] | null | null | null | file-reader.js | ddikman/tagmaker | b4be1334db43cd76719f3d9261f5be52606e1a46 | [
"Unlicense",
"MIT"
] | null | null | null | file-reader.js | ddikman/tagmaker | b4be1334db43cd76719f3d9261f5be52606e1a46 | [
"Unlicense",
"MIT"
] | null | null | null | function readData(file, callback) {
var reader = new FileReader();
// Closure to capture the file information.
reader.onload = function (e) {
callback(reader.result);
}
// Read in the image file as a data URL.
reader.readAsText(file, 'windows-1252');
}
function handleCsvUpload(evt, ca... | 30.466667 | 95 | 0.562363 |
05a6492c308658c65e270ac3c902f407154a134a | 630 | js | JavaScript | packages/desktop/src/App.js | HoldemTools/RangeAssistant | cf8a8cf9471e7cc2750c19f5627e23ce6cbf184e | [
"MIT"
] | 14 | 2020-10-12T08:22:21.000Z | 2022-03-12T23:45:19.000Z | packages/desktop/src/App.js | HoldemTools/RangeAssistant | cf8a8cf9471e7cc2750c19f5627e23ce6cbf184e | [
"MIT"
] | 75 | 2021-03-01T07:22:38.000Z | 2022-03-28T22:05:51.000Z | packages/desktop/src/App.js | HoldemTools/RangeAssistant | cf8a8cf9471e7cc2750c19f5627e23ce6cbf184e | [
"MIT"
] | 4 | 2021-01-20T22:12:33.000Z | 2021-12-01T05:59:35.000Z | import React, { useEffect } from "react";
import RangeAssistant from "./components/RangeAssistant";
import Dropzone from "./components/Dropzone";
import { message } from 'antd';
import { storeRange } from "./data";
import "./App.css";
const { Ranges } = window;
const App = () => {
useEffect(() => {
message.config... | 27.391304 | 62 | 0.614286 |
05a79fb53ed165b2c088ac119e03dfff14ee7a8e | 793 | js | JavaScript | api/server.js | njanssen/mandora-monitoring | 77cd9e8dec4e10a0e13f9d546b7eb64338886124 | [
"MIT"
] | null | null | null | api/server.js | njanssen/mandora-monitoring | 77cd9e8dec4e10a0e13f9d546b7eb64338886124 | [
"MIT"
] | null | null | null | api/server.js | njanssen/mandora-monitoring | 77cd9e8dec4e10a0e13f9d546b7eb64338886124 | [
"MIT"
] | null | null | null | require('module-alias/register')
const config = require('@config')
const logger = require('@lib/logger')
const Express = require('express')
const BodyParser = require('body-parser')
const routes = require('./routes')
const API_VERSION = 1
const API_SERVER_PORT = config.api.server.port
const API_BASEURL = '/api/' + AP... | 20.868421 | 66 | 0.693569 |
05a8847980b3dc0e5e55ed449d76be79efbf6f16 | 1,376 | js | JavaScript | 04-async-state-changes-custom-hooks/clip-05-normalize-state-values-to-request-state/src/hooks/useRequestSpeakers.js | mlauren/pluralsight-designing-react-components-course-code | 414ede0e5d284fdb696e44ac532d0ff17561be86 | [
"MIT"
] | 136 | 2020-05-26T02:59:59.000Z | 2022-03-03T15:17:46.000Z | 04-async-state-changes-custom-hooks/clip-05-normalize-state-values-to-request-state/src/hooks/useRequestSpeakers.js | mlauren/pluralsight-designing-react-components-course-code | 414ede0e5d284fdb696e44ac532d0ff17561be86 | [
"MIT"
] | 9 | 2020-09-26T13:41:43.000Z | 2022-01-12T17:46:05.000Z | 04-async-state-changes-custom-hooks/clip-05-normalize-state-values-to-request-state/src/hooks/useRequestSpeakers.js | mlauren/pluralsight-designing-react-components-course-code | 414ede0e5d284fdb696e44ac532d0ff17561be86 | [
"MIT"
] | 236 | 2020-05-30T14:02:44.000Z | 2022-03-30T17:48:54.000Z | import { data } from "../../SpeakerData";
import { useState, useEffect } from "react";
export const REQUEST_STATUS = {
LOADING: "loading",
SUCCESS: "success",
FAILURE: "failure",
};
function useRequestSpeakers(delayTime = 1000) {
const [speakersData, setSpeakersData] = useState([]);
const [requestStatus, se... | 24.571429 | 77 | 0.640262 |
05a8ea5c2eec3ac85741eb3ca3e6894592e51c8f | 583 | js | JavaScript | packages/itinerary-body/src/TransitLegBody/intermediate-stops.js | openmove/otp-ui | 69d2f25a3db782d314d2bfdb37eec50e1db24406 | [
"MIT"
] | 30 | 2019-12-23T19:03:58.000Z | 2021-12-13T13:25:39.000Z | packages/itinerary-body/src/TransitLegBody/intermediate-stops.js | openmove/otp-ui | 69d2f25a3db782d314d2bfdb37eec50e1db24406 | [
"MIT"
] | 234 | 2019-12-17T16:27:48.000Z | 2022-03-31T18:07:40.000Z | packages/itinerary-body/src/TransitLegBody/intermediate-stops.js | ibi-group/otp-ui | c8f4f569b3c8a71bd9fd18c4f038a56ca51194b3 | [
"MIT"
] | 18 | 2019-12-27T18:14:11.000Z | 2022-02-08T04:27:22.000Z | import PropTypes from "prop-types";
import React from "react";
import * as Styled from "../styled";
export default function IntermediateStops({ stops }) {
return (
<Styled.IntermediateStops>
{stops.map((stop, k) => {
return (
<Styled.StopRow key={k}>
<Styled.StopMarker>•... | 24.291667 | 58 | 0.61578 |
05a9e4a106da2f52c22379b6894335656c9342f6 | 3,372 | js | JavaScript | src/api/exchanges/binance/binance.js | myenchantedtrader/met | eec83b3741a53325319166a18bc14b0afdf264cf | [
"MIT"
] | 1 | 2020-07-23T18:01:45.000Z | 2020-07-23T18:01:45.000Z | src/api/exchanges/binance/binance.js | myenchantedtrader/met | eec83b3741a53325319166a18bc14b0afdf264cf | [
"MIT"
] | 20 | 2019-03-27T10:48:39.000Z | 2020-06-02T16:55:58.000Z | src/api/exchanges/binance/binance.js | myenchantedtrader/met | eec83b3741a53325319166a18bc14b0afdf264cf | [
"MIT"
] | null | null | null | // Binance API
const API_URL = 'https://api.binance.com/'
const WS_URL = 'wss://stream.binance.com:9443'
function _call (url) {
return new Promise((resolve, reject) => {
fetch('https://cors-anywhere.herokuapp.com/' + API_URL + url)
.then(r => r.json())
.then(r => resolve(r))
.catch(e => reject(... | 22.938776 | 123 | 0.544781 |
05ace12e2504ecace382786e0a540baee5d2f510 | 361 | js | JavaScript | packages/utils/__test__/Monitor.test.js | Madvinking/node-toolbox | 459e10ec37312cdadd6e6a3186386b26357ed37f | [
"MIT"
] | null | null | null | packages/utils/__test__/Monitor.test.js | Madvinking/node-toolbox | 459e10ec37312cdadd6e6a3186386b26357ed37f | [
"MIT"
] | 4 | 2021-09-22T18:42:25.000Z | 2022-02-21T10:26:54.000Z | packages/utils/__test__/Monitor.test.js | Madvinking/node-toolbox | 459e10ec37312cdadd6e6a3186386b26357ed37f | [
"MIT"
] | 1 | 2021-09-22T14:55:14.000Z | 2021-09-22T14:55:14.000Z | import { Monitor } from '../src/Monitor.js';
describe.skip('utils - Monitor', () => {
it('invoke callback function on monitor', async () => {
let numberOfCalls = 0;
const monitor = new Monitor({ monitor: async () => (numberOfCalls += 1), interval: 5 });
monitor.start();
jest.runAllTimers();
exp... | 25.785714 | 92 | 0.609418 |
05ae87e317bd9bcf29561814331ff8e785c5de9e | 283 | js | JavaScript | utils/shuffleArray.js | reacto11mecha/wuno-bot | 303ff4b972e4b38fc33dca181fe5d76e30003c66 | [
"MIT"
] | 1 | 2021-12-07T10:06:53.000Z | 2021-12-07T10:06:53.000Z | utils/shuffleArray.js | reacto11mecha/wuno-bot | 303ff4b972e4b38fc33dca181fe5d76e30003c66 | [
"MIT"
] | null | null | null | utils/shuffleArray.js | reacto11mecha/wuno-bot | 303ff4b972e4b38fc33dca181fe5d76e30003c66 | [
"MIT"
] | null | null | null | const shuffleArray = (array) => {
if (Array.isArray(array))
return array
.map((value) => ({ value, sort: Math.random() }))
.sort((a, b) => a.sort - b.sort)
.map(({ value }) => value);
throw new Error("Not a valid array!");
};
export default shuffleArray;
| 23.583333 | 55 | 0.565371 |
05aea9da39d703301e752b5040f5731671c497ea | 5,976 | js | JavaScript | core/fork/fork_container/forkAssembler.js | formula1/Silk-Skeleton | a9a6e59c7c83371352988eeca442db32736793af | [
"BSD-2-Clause"
] | null | null | null | core/fork/fork_container/forkAssembler.js | formula1/Silk-Skeleton | a9a6e59c7c83371352988eeca442db32736793af | [
"BSD-2-Clause"
] | null | null | null | core/fork/fork_container/forkAssembler.js | formula1/Silk-Skeleton | a9a6e59c7c83371352988eeca442db32736793af | [
"BSD-2-Clause"
] | null | null | null | var url = require("url");
var child_process = require("child_process");
var http = require("http");
var https = require("https");
var fs = require("fs");
var async = require("async");
var Server2Fork = require(__dirname+"/Server2Fork_com.js");
var windowreq = ["url","title","icon"];
var windowuri = ["url","icon"]
fun... | 28.056338 | 129 | 0.587182 |
05af3d6c1ef63b4f5f7b3ebf7b31e075a0f07b26 | 474 | js | JavaScript | server/models/upvote.js | TomKlotzPro/openNetwork | 3cac69c0406f4958fa0e37d394135f03ab244ed4 | [
"BSD-3-Clause"
] | 1 | 2020-11-05T15:15:58.000Z | 2020-11-05T15:15:58.000Z | server/models/upvote.js | TomKlotzPro/openNetwork | 3cac69c0406f4958fa0e37d394135f03ab244ed4 | [
"BSD-3-Clause"
] | 50 | 2020-11-04T12:14:14.000Z | 2021-03-09T08:34:29.000Z | server/models/upvote.js | TomKlotzPro/openNetwork | 3cac69c0406f4958fa0e37d394135f03ab244ed4 | [
"BSD-3-Clause"
] | null | null | null | const mongoose = require("mongoose");
const mongooseAlgolia = require("mongoose-algolia");
const Schema = mongoose.Schema;
const upvoteSchema = new Schema({
createdAt: { type: Date, default: Date.now },
author: { type: Schema.Types.ObjectId, ref: "User" }
});
upvoteSchema.plugin(mongooseAlgolia, {
appId: proce... | 26.333333 | 56 | 0.723629 |
05af9a9272cdabffece1c5a22a4cefaa4c3baabe | 347,983 | js | JavaScript | geodata/region/mexico/verHigh.js | AnnieMT/travel-2019-map | 7ee51971e5aba8f2d55bab1fcaf460df1caffa0e | [
"Apache-2.0"
] | null | null | null | geodata/region/mexico/verHigh.js | AnnieMT/travel-2019-map | 7ee51971e5aba8f2d55bab1fcaf460df1caffa0e | [
"Apache-2.0"
] | null | null | null | geodata/region/mexico/verHigh.js | AnnieMT/travel-2019-map | 7ee51971e5aba8f2d55bab1fcaf460df1caffa0e | [
"Apache-2.0"
] | null | null | null | /**
* @license
* Copyright (c) 2018 amCharts (Antanas Marcelionis, Martynas Majeris)
*
* This sofware is provided under multiple licenses. Please see below for
* links to appropriate usage.
*
* Free amCharts linkware license. Details and conditions:
* https://github.com/amcharts/amcharts4/blob/master/LICENSE
*... | 16,570.619048 | 347,333 | 0.639221 |
05b406d111ecdd59d8661c0bfeb23ed074056114 | 973 | js | JavaScript | src/components/Layout/styles.js | applgeekam/trello-frontend | d92588238890b6623a3ed782307e3b4c5c0ecf2a | [
"MIT"
] | null | null | null | src/components/Layout/styles.js | applgeekam/trello-frontend | d92588238890b6623a3ed782307e3b4c5c0ecf2a | [
"MIT"
] | null | null | null | src/components/Layout/styles.js | applgeekam/trello-frontend | d92588238890b6623a3ed782307e3b4c5c0ecf2a | [
"MIT"
] | null | null | null | import { makeStyles } from "@material-ui/styles";
import {viewportSize} from "../../Module/biblio";
let image = "https://source.unsplash.com/" + viewportSize().width + "x" + viewportSize().height + "/?africa,evening,smile,joy,world"
export default makeStyles((theme) => ({
root: {
display: "flex",
flexDirect... | 23.731707 | 132 | 0.63001 |
05b42334cc70a7f7fc3e053fc653227b70e996aa | 73 | js | JavaScript | app/mods/mod218.js | MirekSz/webpack-es6-ts | bbb1977c4e19195c99798add8c365516ec17c820 | [
"0BSD"
] | null | null | null | app/mods/mod218.js | MirekSz/webpack-es6-ts | bbb1977c4e19195c99798add8c365516ec17c820 | [
"0BSD"
] | null | null | null | app/mods/mod218.js | MirekSz/webpack-es6-ts | bbb1977c4e19195c99798add8c365516ec17c820 | [
"0BSD"
] | null | null | null | import mod217 from './mod217';
var value=mod217+1;
export default value;
| 18.25 | 30 | 0.753425 |
05b4614cb4811e911d187b7ce788bc2d27982285 | 683 | js | JavaScript | src/tests/actions/users.test.js | jeffbernst/simplefolio-client | 3f064dd5346ee55044d03b488a024bd6de90fa3d | [
"MIT"
] | 2 | 2018-09-20T05:41:47.000Z | 2020-02-13T17:54:41.000Z | src/tests/actions/users.test.js | jeffbernst/simplefolio-client | 3f064dd5346ee55044d03b488a024bd6de90fa3d | [
"MIT"
] | 2 | 2018-06-12T23:19:11.000Z | 2018-06-12T23:21:57.000Z | src/tests/actions/users.test.js | jeffbernst/simplefolio-client | 3f064dd5346ee55044d03b488a024bd6de90fa3d | [
"MIT"
] | 1 | 2018-09-20T05:41:47.000Z | 2018-09-20T05:41:47.000Z | import { registerUser } from '../../actions/users'
import { REACT_APP_API_BASE_URL } from '../../config'
describe('fetchBoard', () => {
it('Should dispatch fetchBoardSuccess', () => {
const board = {
lists: []
}
global.fetch = jest.fn().mockImplementation(() =>
Promise.resolve({
ok: ... | 24.392857 | 77 | 0.543192 |
05b4752d5f771346349a81c7410b97ed89c30714 | 208 | js | JavaScript | src/Link.js | koba04/react-suspense-demo | 3d49141bdf93819d236bb531883e0f8ed8d7ad4a | [
"MIT"
] | 16 | 2018-05-29T17:32:20.000Z | 2021-05-30T03:40:20.000Z | src/Link.js | koba04/react-suspense-demo | 3d49141bdf93819d236bb531883e0f8ed8d7ad4a | [
"MIT"
] | null | null | null | src/Link.js | koba04/react-suspense-demo | 3d49141bdf93819d236bb531883e0f8ed8d7ad4a | [
"MIT"
] | 2 | 2018-07-28T10:39:11.000Z | 2019-11-12T23:12:27.000Z | import React from "react";
const Link = ({ onClick, children }) => (
<a
href=""
onClick={e => {
e.preventDefault();
onClick();
}}
>
{children}
</a>
);
export default Link;
| 13 | 41 | 0.504808 |
05b4ca0f44dd0566c4128b826e960428a2da815a | 5,604 | js | JavaScript | js/script.js | Agneskoinange/Ghanian-Akan-Names | caabcc8d2a2480fa2096c1354cdf2f471efaf08f | [
"MIT"
] | null | null | null | js/script.js | Agneskoinange/Ghanian-Akan-Names | caabcc8d2a2480fa2096c1354cdf2f471efaf08f | [
"MIT"
] | null | null | null | js/script.js | Agneskoinange/Ghanian-Akan-Names | caabcc8d2a2480fa2096c1354cdf2f471efaf08f | [
"MIT"
] | null | null | null |
//arrays of days of the week, male names and female names
var daysOfTheWeek = ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"];
var akanMaleNames = ["Kwasi","Kwadwo","Kwabena","Kwaku","Yaw", "Kofi","Kwame"];
var akanFemaleNames = ["Akosua","Adwoa","Abenaa","Akua"," Yaa","Afua","Ama"];
... | 41.205882 | 156 | 0.64454 |
05b52603bed39abd8acf65bcc5c137742d5327c2 | 405 | js | JavaScript | control/dirfiles.js | whatisand/marktopdf | ce9a8e30e65703d7625e84a0c1abbd8b22963975 | [
"MIT"
] | 1 | 2016-11-12T03:31:12.000Z | 2016-11-12T03:31:12.000Z | control/dirfiles.js | whatisand/marktopdf | ce9a8e30e65703d7625e84a0c1abbd8b22963975 | [
"MIT"
] | null | null | null | control/dirfiles.js | whatisand/marktopdf | ce9a8e30e65703d7625e84a0c1abbd8b22963975 | [
"MIT"
] | null | null | null | var fs = require("fs");
var mdtopdf = require("markdown-pdf");
//var sleep = require("sleep");
var path = '../convert/to';
fs.readdir(path, function(err, files) {
if(err) throw err;
files.forEach(function(file) {
if (file.indexOf('.pdf') == -1) {
mdtopdf().from(path+"/"+file).to(path+"/"+file+".pdf");
... | 25.3125 | 61 | 0.587654 |
05b5c768c1db9e554791b4b6231a0e8b95f84d2c | 639 | js | JavaScript | solutions/day-01.js | Mesko89/advent-of-code-2018 | 00d0ab5c7869621cdf86be0d7f1f4a50a3d247cd | [
"0BSD"
] | null | null | null | solutions/day-01.js | Mesko89/advent-of-code-2018 | 00d0ab5c7869621cdf86be0d7f1f4a50a3d247cd | [
"0BSD"
] | null | null | null | solutions/day-01.js | Mesko89/advent-of-code-2018 | 00d0ab5c7869621cdf86be0d7f1f4a50a3d247cd | [
"0BSD"
] | null | null | null | function sumFrequencyChanges(frequencies) {
return frequencies.reduce((a, b) => a + b, 0);
}
function findFirstRepeatedFrequency(frequencies) {
const foundFrequencies = new Set();
let currentFrequency = 0;
let i = 0;
do {
foundFrequencies.add(currentFrequency);
currentFrequency += frequencies[i];
... | 27.782609 | 69 | 0.701095 |