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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
f6ec5368cc70ab32a292b58992fc1973f34f8c21 | 2,625 | js | JavaScript | metadata-editor/app/gxe/types/inspire2/base/InspireDocumentType.js | arup-group/geoportal-server-catalog-1 | b95a238c6ef21bf498ad027a1830ddd52de1d767 | [
"Apache-2.0"
] | 67 | 2016-05-09T07:24:26.000Z | 2022-03-15T22:03:22.000Z | metadata-editor/app/gxe/types/inspire2/base/InspireDocumentType.js | arup-group/geoportal-server-catalog-1 | b95a238c6ef21bf498ad027a1830ddd52de1d767 | [
"Apache-2.0"
] | 282 | 2016-05-18T05:41:33.000Z | 2022-03-09T01:57:09.000Z | metadata-editor/app/gxe/types/inspire2/base/InspireDocumentType.js | arup-group/geoportal-server-catalog-1 | b95a238c6ef21bf498ad027a1830ddd52de1d767 | [
"Apache-2.0"
] | 53 | 2016-06-04T06:06:53.000Z | 2022-03-02T09:28:47.000Z | define(["dojo/_base/declare",
"dojo/_base/lang",
"dojo/has",
"dojo/dom-style",
"esri/dijit/metadata/types/iso/base/IsoDocumentType",
"./PortalItemTransformer",
"dojo/i18n!../../../../nls/i18nInspire"],
function(declare, lang, has, domStyle, DocumentType, PortalItemTransfo... | 39.772727 | 168 | 0.657143 |
f6ec92056167e871bffcd8ee26e26f9a301add4a | 4,917 | js | JavaScript | MobileClient/components/SendPage.js | ramon54321/popcornproject | e03b6d6fe23a179d59ed386ca02e83dac7d44041 | [
"MIT"
] | 1 | 2018-01-25T17:08:22.000Z | 2018-01-25T17:08:22.000Z | MobileClient/components/SendPage.js | ramon54321/popcornproject | e03b6d6fe23a179d59ed386ca02e83dac7d44041 | [
"MIT"
] | 1 | 2018-02-09T14:59:53.000Z | 2018-02-09T14:59:53.000Z | MobileClient/components/SendPage.js | ramon54321/popcornproject | e03b6d6fe23a179d59ed386ca02e83dac7d44041 | [
"MIT"
] | 2 | 2018-01-25T17:09:54.000Z | 2018-07-31T16:08:06.000Z | import React, { Component } from "react";
import { Text, View, TextInput, StyleSheet, Alert } from "react-native";
import Tabs from "./Tabs";
import Main from "./Main";
import { StackNavigator } from "react-navigation";
import { getTransactionByCode, confirmTransaction } from "../api";
import { connect } from "react-re... | 25.609375 | 72 | 0.517389 |
f6ed0ee7ac23672deb3b772e1c0aa35106ec4e55 | 2,664 | js | JavaScript | projects/mercury/src/layout/WorkspaceLayout.js | fairspace/workspace | a437131837882d7b5f1a698f0457d53cadd115a5 | [
"Apache-2.0"
] | 5 | 2021-10-30T23:09:09.000Z | 2022-01-21T14:59:03.000Z | projects/mercury/src/layout/WorkspaceLayout.js | fairspace/workspace | a437131837882d7b5f1a698f0457d53cadd115a5 | [
"Apache-2.0"
] | 5 | 2021-09-08T09:48:24.000Z | 2022-02-12T06:32:13.000Z | projects/mercury/src/layout/WorkspaceLayout.js | fairspace/workspace | a437131837882d7b5f1a698f0457d53cadd115a5 | [
"Apache-2.0"
] | null | null | null | import React, {useContext} from 'react';
import {VocabularyProvider} from '../metadata/vocabulary/VocabularyContext';
import {CollectionsProvider} from '../collections/CollectionsContext';
import MainMenu from './MainMenu';
import {currentWorkspace} from '../workspaces/workspaces';
import WorkspaceRoutes from '../route... | 45.152542 | 106 | 0.570946 |
f6ed26a8e145b5bb53ee3ca5384d2e71de33c9d0 | 1,933 | js | JavaScript | lib/request.js | ndcolter-mcafee/opendxl-client-javascript | 56b49cbe083be9040fc9375b3d5761c0e78d2a2c | [
"Apache-2.0"
] | 2 | 2018-02-28T16:02:56.000Z | 2018-03-14T17:17:40.000Z | lib/request.js | ndcolter-mcafee/opendxl-client-javascript | 56b49cbe083be9040fc9375b3d5761c0e78d2a2c | [
"Apache-2.0"
] | 2 | 2018-08-22T15:32:18.000Z | 2018-09-07T23:27:52.000Z | lib/request.js | ndcolter-mcafee/opendxl-client-javascript | 56b49cbe083be9040fc9375b3d5761c0e78d2a2c | [
"Apache-2.0"
] | 7 | 2018-02-28T01:12:54.000Z | 2019-10-29T20:16:30.000Z | 'use strict'
var inherits = require('inherits')
var Message = require('./message')
/**
* @classdesc Request messages are sent using the {@link Client#asyncRequest}
* method of a client instance. Request messages are used when invoking a
* method on a remote service. This communication is one-to-one where a
* ... | 31.177419 | 78 | 0.720641 |
f6eec8d67212ecd1f319957f66672585cf20e62a | 2,665 | js | JavaScript | components/common/WorldMap.js | kwstaskara/umami | 86c76c98c50cbd3278041b0d50c6b5c0bcf1a805 | [
"MIT"
] | 2 | 2021-06-27T18:00:20.000Z | 2021-06-28T03:18:03.000Z | components/common/WorldMap.js | kwstaskara/umami | 86c76c98c50cbd3278041b0d50c6b5c0bcf1a805 | [
"MIT"
] | null | null | null | components/common/WorldMap.js | kwstaskara/umami | 86c76c98c50cbd3278041b0d50c6b5c0bcf1a805 | [
"MIT"
] | null | null | null | import React, { useState, useMemo } from 'react';
import ReactTooltip from 'react-tooltip';
import { ComposableMap, Geographies, Geography, ZoomableGroup } from 'react-simple-maps';
import classNames from 'classnames';
import tinycolor from 'tinycolor2';
import useTheme from 'hooks/useTheme';
import { THEME_COLORS } fr... | 30.988372 | 89 | 0.541088 |
f6ef560aa4c6445ca5fd884511462c7dc32ae55c | 4,505 | js | JavaScript | gulpfile.js | kseo05/wat-aspect | 00b0b98ea2fe826b2d510e72eabd410df45c2fa4 | [
"MIT"
] | null | null | null | gulpfile.js | kseo05/wat-aspect | 00b0b98ea2fe826b2d510e72eabd410df45c2fa4 | [
"MIT"
] | null | null | null | gulpfile.js | kseo05/wat-aspect | 00b0b98ea2fe826b2d510e72eabd410df45c2fa4 | [
"MIT"
] | null | null | null | /* global __dirname */
'use strict';
var del = require('del');
var gulp = require('gulp');
var gulpBabel = require('gulp-babel');
var gulpConcat = require('gulp-concat');
var gulpJsdoc2md = require('gulp-jsdoc-to-markdown');
var gulpRename = require('gulp-rename');
var gulpShell = require('gulp-shell');
var webpack = ... | 30.856164 | 117 | 0.650166 |
f6efbefc1db691fc157200723e41f6d1140f0f79 | 15,777 | js | JavaScript | script.js | superzmy/CSDNGreener | f8f3c3a1f4402be09f9e963744564ee593a77a6d | [
"MIT"
] | null | null | null | script.js | superzmy/CSDNGreener | f8f3c3a1f4402be09f9e963744564ee593a77a6d | [
"MIT"
] | null | null | null | script.js | superzmy/CSDNGreener | f8f3c3a1f4402be09f9e963744564ee593a77a6d | [
"MIT"
] | null | null | null | // ==UserScript==
// @name (持续更新)CSDN页面浮窗广告完全过滤净化(净化复制内容|自动展开|让你专注于文章|不影响功能使用)
// @namespace https://github.com/AdlerED
// @version 2.2.0
// @description ⚡️拥有数项独家功能的最强脚本,不服比一比⚡️|✔️CSDN体验秒杀AdBlock|✔️分辨率自适配,分屏不用滚动|✔️超级预优化|✔️独家超级免会员|✔️独家原创文章免登录展开|✔️独家推荐内容自由开关|✔️独家免登录复制|✔️独家防外链重定向|✔️独家论坛未登录自动展开文章、评论|✔️全面净化... | 33.711538 | 240 | 0.472904 |
f6f05f82f8ec7ceb23939b0ef5d3218bf829bf7e | 9,227 | js | JavaScript | test/multiple-nodes.js | wehriam/js-libp2p-floodsub-stream | 01801031855d52d7184af97d10034318e64b6db3 | [
"MIT"
] | null | null | null | test/multiple-nodes.js | wehriam/js-libp2p-floodsub-stream | 01801031855d52d7184af97d10034318e64b6db3 | [
"MIT"
] | null | null | null | test/multiple-nodes.js | wehriam/js-libp2p-floodsub-stream | 01801031855d52d7184af97d10034318e64b6db3 | [
"MIT"
] | null | null | null | /* eslint-env mocha */
/* eslint max-nested-callbacks: ["error", 8] */
'use strict'
const chai = require('chai')
chai.use(require('dirty-chai'))
const expect = chai.expect
const parallel = require('async/parallel')
const crypto = require('libp2p-crypto')
const FloodSub = require('../src')
const utils = require('./uti... | 25.141689 | 72 | 0.446407 |
f6f061d9992cb9557fcaf325c3ac2c90527f39db | 55 | js | JavaScript | 1-Basic-JavaScript/21-1-declare-string-variables.js | ZahraRazzaghi/FreeCodeCamp-javaScript | ebff45fa5b4691c22495ca0fedc80c185faffa78 | [
"MIT"
] | 1 | 2020-08-20T08:09:12.000Z | 2020-08-20T08:09:12.000Z | 1-Basic-JavaScript/21-1-declare-string-variables.js | ZahraRazzaghi/FreeCodeCamp-javaScript | ebff45fa5b4691c22495ca0fedc80c185faffa78 | [
"MIT"
] | null | null | null | 1-Basic-JavaScript/21-1-declare-string-variables.js | ZahraRazzaghi/FreeCodeCamp-javaScript | ebff45fa5b4691c22495ca0fedc80c185faffa78 | [
"MIT"
] | null | null | null | var myFirstName="Zahra";
var myLastName='Razzaghi';
| 18.333333 | 28 | 0.727273 |
f6f0a2d56f52ea1a8b7b72325a38dd55e1463e29 | 1,394 | js | JavaScript | lib/aggregation/reporting/src/test/lib/summarizer-test.js | wanglw/cf-abacus | 96eb2da512503614b976e53103db820a4fc0548f | [
"Apache-2.0"
] | 98 | 2015-08-08T01:42:35.000Z | 2019-10-27T23:49:45.000Z | lib/aggregation/reporting/src/test/lib/summarizer-test.js | wanglw/cf-abacus | 96eb2da512503614b976e53103db820a4fc0548f | [
"Apache-2.0"
] | 1,166 | 2015-07-27T23:17:17.000Z | 2019-10-21T19:37:46.000Z | lib/aggregation/reporting/src/test/lib/summarizer-test.js | wanglw/cf-abacus | 96eb2da512503614b976e53103db820a4fc0548f | [
"Apache-2.0"
] | 159 | 2015-07-28T23:52:05.000Z | 2019-08-22T13:27:32.000Z | 'use strict';
const summarizer = require('../../lib/summarizer.js');
/* eslint-disable no-unused-expressions */
describe('summarizer', () => {
const summarizeFnErrMsg = 'SummarizeFn error';
let sandbox;
let summaryFunction;
beforeEach(() => {
sandbox = sinon.createSandbox();
summaryFunction = sandb... | 22.126984 | 97 | 0.548063 |
f6f0e0a6cb2abeebc94fd47fd2bc17b931b4f9eb | 512 | js | JavaScript | node/stack/src/client/components/counter.js | petrsmid/modern-javascript-course | 6ff3236ce3b2e267030f1120f468aecbc308d996 | [
"MIT"
] | null | null | null | node/stack/src/client/components/counter.js | petrsmid/modern-javascript-course | 6ff3236ce3b2e267030f1120f468aecbc308d996 | [
"MIT"
] | null | null | null | node/stack/src/client/components/counter.js | petrsmid/modern-javascript-course | 6ff3236ce3b2e267030f1120f468aecbc308d996 | [
"MIT"
] | null | null | null | import React from 'react';
export default class Counter extends React.Component {
constructor(props) {
super(props);
this.state = { count: 0 }
}
render() {
return (
<div>
<h1>Count: {this.state.count}</h1>
<button type="button" onClick={... | 23.272727 | 54 | 0.427734 |
f6f17b5143584b671232b42df09c9d08867cc243 | 652 | js | JavaScript | Userland/Libraries/LibJS/Tests/builtins/Date/Date.prototype.setMinutes.js | densogiaichned/serenity | 99c0b895fed02949b528437d6b450d85befde7a5 | [
"BSD-2-Clause"
] | 2 | 2022-02-08T09:18:50.000Z | 2022-02-21T17:57:23.000Z | Userland/Libraries/LibJS/Tests/builtins/Date/Date.prototype.setMinutes.js | densogiaichned/serenity | 99c0b895fed02949b528437d6b450d85befde7a5 | [
"BSD-2-Clause"
] | null | null | null | Userland/Libraries/LibJS/Tests/builtins/Date/Date.prototype.setMinutes.js | densogiaichned/serenity | 99c0b895fed02949b528437d6b450d85befde7a5 | [
"BSD-2-Clause"
] | null | null | null | test("basic functionality", () => {
let d = new Date(2000, 2, 1);
d.setMinutes(30);
expect(d.getMinutes()).toBe(30);
d.setMinutes(30, 50);
expect(d.getMinutes()).toBe(30);
expect(d.getSeconds()).toBe(50);
d.setMinutes(30, 50, 600);
expect(d.getMinutes()).toBe(30);
expect(d.getSeco... | 23.285714 | 42 | 0.590491 |
f6f1c8b3c5eba2d6dfe121cb51e7c456008a3865 | 2,586 | js | JavaScript | app/routes/application.js | ericbai/textup-frontend | f514e9b785ebf82584ac77ce1b4f94e4274029ba | [
"Apache-2.0"
] | 2 | 2016-06-24T23:53:30.000Z | 2019-02-21T21:06:58.000Z | app/routes/application.js | ericbai/textup-frontend | f514e9b785ebf82584ac77ce1b4f94e4274029ba | [
"Apache-2.0"
] | 6 | 2017-11-08T03:41:06.000Z | 2022-01-27T14:48:57.000Z | app/routes/application.js | ericbai/textup-frontend | f514e9b785ebf82584ac77ce1b4f94e4274029ba | [
"Apache-2.0"
] | null | null | null | import Ember from 'ember';
import HasSlideoutOutlet from 'textup-frontend/mixins/route/has-slideout-outlet';
import Loading from 'textup-frontend/mixins/loading-slider';
const { isPresent } = Ember;
export default Ember.Route.extend(HasSlideoutOutlet, Loading, {
authService: Ember.inject.service(),
lockService: E... | 45.368421 | 101 | 0.710363 |
f6f203e4b100e798094dcd613fe5ebabfa2a62e9 | 781 | js | JavaScript | src/helpers/swipeAngle/swipeAngle.js | oayres/react-pure-carousel | 6b428ef6e2c21815b1d77aa9648ab3bdb552d4ac | [
"MIT"
] | null | null | null | src/helpers/swipeAngle/swipeAngle.js | oayres/react-pure-carousel | 6b428ef6e2c21815b1d77aa9648ab3bdb552d4ac | [
"MIT"
] | null | null | null | src/helpers/swipeAngle/swipeAngle.js | oayres/react-pure-carousel | 6b428ef6e2c21815b1d77aa9648ab3bdb552d4ac | [
"MIT"
] | null | null | null | const normaliseAngle = (swipeAngle) => {
if (swipeAngle < 0) {
swipeAngle = 360 - Math.abs(swipeAngle)
}
return swipeAngle
}
const mapAngleToDirection = (swipeAngle, vertical) => {
let direction = 0
if (swipeAngle <= 45 || swipeAngle >= 315) {
direction = 1
} else if (swipeAngle >= 135 && swipeAn... | 22.314286 | 55 | 0.642766 |
f6f261e98169125dda48b7497386effd3ba23cd6 | 11,160 | js | JavaScript | lib/reactjs-coverflow.js | Bastorx/react-coverflow2 | e1b371e83da2917a4f307ab944c64a1ffef1ebfa | [
"MIT"
] | 10 | 2016-04-01T08:02:26.000Z | 2019-12-13T13:23:26.000Z | lib/reactjs-coverflow.js | Bastorx/react-coverflow2 | e1b371e83da2917a4f307ab944c64a1ffef1ebfa | [
"MIT"
] | 21 | 2016-03-31T09:36:41.000Z | 2018-03-23T11:00:19.000Z | lib/reactjs-coverflow.js | Bastorx/react-coverflow2 | e1b371e83da2917a4f307ab944c64a1ffef1ebfa | [
"MIT"
] | 3 | 2016-05-23T02:06:26.000Z | 2017-07-12T07:15:10.000Z | "use strict";
var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.definePrope... | 36.710526 | 564 | 0.677061 |
f6f2c20b8fe0ecfbca5ba7c372b39858b255aaee | 574 | js | JavaScript | src/input/check.js | HsuTing/cat-components | 2a0af6bd6681c865b27cfe0582b017230d9159eb | [
"MIT"
] | 1 | 2017-07-21T03:51:34.000Z | 2017-07-21T03:51:34.000Z | src/input/check.js | HsuTing/cat-components | 2a0af6bd6681c865b27cfe0582b017230d9159eb | [
"MIT"
] | 62 | 2017-02-27T03:08:05.000Z | 2018-05-03T06:27:20.000Z | src/input/check.js | HsuTing/cat-components | 2a0af6bd6681c865b27cfe0582b017230d9159eb | [
"MIT"
] | null | null | null | 'use strict';
import validator from 'validator';
export default (value, rules = [], e = null) => {
const error = [];
rules.forEach(rule => {
if(typeof rule.validator === 'string') {
if(rule.not && !validator[rule.validator](value, rule.options))
error.push(rule.message);
else if(!rule.not... | 22.076923 | 74 | 0.585366 |
f6f3933325ac2dac247250d3443f490255eac6a7 | 648 | js | JavaScript | components/social-meta.js | giuseppeg/next-site | 8e5dd82e6d12e0097af9aa52deac61ee2f3ee354 | [
"MIT"
] | 2 | 2021-03-16T18:36:22.000Z | 2021-07-18T10:18:43.000Z | components/social-meta.js | giuseppeg/next-site | 8e5dd82e6d12e0097af9aa52deac61ee2f3ee354 | [
"MIT"
] | null | null | null | components/social-meta.js | giuseppeg/next-site | 8e5dd82e6d12e0097af9aa52deac61ee2f3ee354 | [
"MIT"
] | 1 | 2020-05-07T01:22:22.000Z | 2020-05-07T01:22:22.000Z | import Head from 'next/head';
export default ({ title, description, image, url, keywords }) => (
<Head>
<meta name="twitter:site" content="@zeithq" />
<meta name="twitter:card" content={image ? 'summary_large_image' : 'summary'} />
{title && <meta name="og:title" content={title} />}
{url && <meta nam... | 43.2 | 84 | 0.625 |
f6f415250ca8ae1da2e75e60e314c8746e1fe096 | 849 | js | JavaScript | alldata.js | kmcarter2025/Bandbank1 | be51c027290f0d4ed996a16b390b4eab8601e503 | [
"MIT"
] | null | null | null | alldata.js | kmcarter2025/Bandbank1 | be51c027290f0d4ed996a16b390b4eab8601e503 | [
"MIT"
] | null | null | null | alldata.js | kmcarter2025/Bandbank1 | be51c027290f0d4ed996a16b390b4eab8601e503 | [
"MIT"
] | null | null | null | function AllData(){
const ctx = React.useContext(UserContext);
const userAccounts = ctx.users;
return (
<div>
{userAccounts.map(function(user, i){
return (
<table className="ui celled table">
<thead bgcolor="su... | 25.727273 | 50 | 0.315665 |
f6f422e476be9bd3d05d572b64036600c6969a52 | 1,305 | js | JavaScript | lesson29/app.js | mannysys/express4-demo | 1c075462fb5bb80b969bee006b2980668c2ebd85 | [
"MIT"
] | null | null | null | lesson29/app.js | mannysys/express4-demo | 1c075462fb5bb80b969bee006b2980668c2ebd85 | [
"MIT"
] | null | null | null | lesson29/app.js | mannysys/express4-demo | 1c075462fb5bb80b969bee006b2980668c2ebd85 | [
"MIT"
] | null | null | null | /**
* Created by shadow on 16/2/10.
*/
const express = require('express');
const cookieParser = require('cookie-parser');
const session = require('express-session');
const consolidate = require('consolidate');
const bodyParser = require('body-parser');
const FileStore = require('session-file-store')(session);
const... | 22.5 | 75 | 0.629119 |
f6f43c4073b7e19c9ae91a9cb2316d4747327610 | 532 | js | JavaScript | assets/cms/js/partials/blocks/gallery.js | gotpop/got | 1dc14db4eb04773b382a1de220dada40930ee573 | [
"MIT"
] | null | null | null | assets/cms/js/partials/blocks/gallery.js | gotpop/got | 1dc14db4eb04773b382a1de220dada40930ee573 | [
"MIT"
] | null | null | null | assets/cms/js/partials/blocks/gallery.js | gotpop/got | 1dc14db4eb04773b382a1de220dada40930ee573 | [
"MIT"
] | null | null | null | import alt from "../../fields/alt";
import id from "../../fields/id";
import image from "../../fields/image";
import title from "../../fields/title";
const gallery = {
label: "Gallery item",
name: "gallery",
widget: "list",
fields: [
title,
{
label: "Gallery image",
... | 19.703704 | 39 | 0.447368 |
f6f4ba9c27adecc8f39d4c4202ba53ed22137f8d | 429 | js | JavaScript | src/components/app-title.js | tylervipond/art-portfolio-2020 | 224dc046717ecb0de733477b59f2c4c66e76c324 | [
"MIT"
] | null | null | null | src/components/app-title.js | tylervipond/art-portfolio-2020 | 224dc046717ecb0de733477b59f2c4c66e76c324 | [
"MIT"
] | null | null | null | src/components/app-title.js | tylervipond/art-portfolio-2020 | 224dc046717ecb0de733477b59f2c4c66e76c324 | [
"MIT"
] | null | null | null | import styled from '@emotion/styled';
import {
COLOR_TEXT,
FONT_APP_TITLE,
FONT_PAGE_TITLE,
TYPE_FACE_DISPLAY,
SCREEN_SIZE_MEDIUM,
asPx,
asRem,
} from '../styles';
export const AppTitle = styled.h1`
font-size: ${asRem(FONT_PAGE_TITLE)};
font-family: ${TYPE_FACE_DISPLAY};
color: ${COLOR_TEXT};
ma... | 19.5 | 51 | 0.685315 |
f6f513ac0537a4822eb888aa5cb3c022309a43c5 | 7,843 | js | JavaScript | build/v1.2.9/src-min-noconflict/mode-move.js | loredanacirstea/ace-mode-move | b0ed8cdcb8cfcea4758ff3e6cf50aec163bb13cc | [
"MIT"
] | null | null | null | build/v1.2.9/src-min-noconflict/mode-move.js | loredanacirstea/ace-mode-move | b0ed8cdcb8cfcea4758ff3e6cf50aec163bb13cc | [
"MIT"
] | 2 | 2019-07-29T22:21:50.000Z | 2019-07-29T22:23:30.000Z | build/v1.3.1/src-min-noconflict/mode-move.js | loredanacirstea/ace-mode-move | b0ed8cdcb8cfcea4758ff3e6cf50aec163bb13cc | [
"MIT"
] | null | null | null | ace.define("ace/mode/move_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("./text_highlight_rules").TextHighlightRules,s=/\\(?:[nrt0'"\\]|x[\da-fA-F]{2}|u\{[\da-fA-F]{6}\})/.source,o=function(){this.$rules={start:[{toke... | 7,843 | 7,843 | 0.680607 |
f6f5292e616229ad43f93690b7738d48bb47b32f | 1,072 | js | JavaScript | src/utils/Color.js | yuko1101/hypixel-api-reborn | 5652f96aef447de781a74ae7d6fb9b3fa9e68e35 | [
"MIT"
] | 1 | 2020-10-04T07:31:15.000Z | 2020-10-04T07:31:15.000Z | src/utils/Color.js | yuko1101/hypixel-api-reborn | 5652f96aef447de781a74ae7d6fb9b3fa9e68e35 | [
"MIT"
] | null | null | null | src/utils/Color.js | yuko1101/hypixel-api-reborn | 5652f96aef447de781a74ae7d6fb9b3fa9e68e35 | [
"MIT"
] | null | null | null | const ColorString = {
BLACK: 'Black',
DARK_BLUE: 'Dark Blue',
DARK_GREEN: 'Dark Green',
DARK_AQUA: 'Dark Aqua',
DARK_RED: 'Dark Red',
DARK_PURPLE: 'Dark Purple',
GOLD: 'Gold',
GRAY: 'Gray',
DARK_GRAY: 'Dark Gray',
BLUE: 'Blue',
GREEN: 'Green',
AQUA: 'Aqua',
RED: 'Red',
LIGHT_PURPLE: 'Light Purple',
YELLO... | 17.57377 | 30 | 0.60541 |
f6f56df048b886ee95d4a48aa9a28dc0955d92ce | 2,875 | js | JavaScript | resources/js/store/playlists.module.js | Temurbekjonbtz/spotify | 96b2661212798221cf923fc6c7c3630fc812df6f | [
"MIT"
] | 1 | 2021-09-17T10:15:25.000Z | 2021-09-17T10:15:25.000Z | resources/js/store/playlists.module.js | Temurbekjonbtz/spotify | 96b2661212798221cf923fc6c7c3630fc812df6f | [
"MIT"
] | null | null | null | resources/js/store/playlists.module.js | Temurbekjonbtz/spotify | 96b2661212798221cf923fc6c7c3630fc812df6f | [
"MIT"
] | null | null | null | import { CREATE_PLAYLIST, DELETE_PLAYLIST, DELETE_SONG_FROM_PLAYLIST, FETCH_PLAYLIST, FETCH_PLAYLISTS, FETCH_PLAYLIST_SONGS, INSERT_SONG_TO_PLAYLIST } from "./actions.type"
import ApiService from "../common/api.service";
import { ADD_PLAYLIST, DELETE_SONG, SET_PLAYLIST, SET_PLAYLISTS, SET_SONGS } from "./mutations.type... | 20.390071 | 172 | 0.636174 |
f6f5ca315e30b878d08cd9aedd68102d539c1fa9 | 5,294 | js | JavaScript | specs/models_spec/branch_spec/update_opened_merge_requests_spec.js | brunabxs/gitlab-dashboard | 9fce93f5d578991be757e750b7d27c19f664cb31 | [
"MIT"
] | 18 | 2017-08-17T12:54:53.000Z | 2021-02-11T12:04:01.000Z | specs/models_spec/branch_spec/update_opened_merge_requests_spec.js | brunabxs/gitlab-dashboard | 9fce93f5d578991be757e750b7d27c19f664cb31 | [
"MIT"
] | 13 | 2017-11-07T16:55:32.000Z | 2019-07-18T02:51:10.000Z | specs/models_spec/branch_spec/update_opened_merge_requests_spec.js | brunabxs/gitlab-dashboard | 9fce93f5d578991be757e750b7d27c19f664cb31 | [
"MIT"
] | 2 | 2018-09-21T19:40:37.000Z | 2021-04-12T09:51:30.000Z | var sinon = require('sinon');
var Branch = require('../../../app/models/branch.js');
var MergeRequest = require('../../../app/models/merge_request.js');
var Vcs = require('../../../app/models/vcs.js');
describe('Branch updateOpenedMergeRequests function', function () {
var vcs;
var getOpenedMergeRequestsStub;... | 47.267857 | 151 | 0.626747 |
f6f66753d2c48552781ffbda18dc3d2e79d97bfc | 2,388 | js | JavaScript | html/_lib/focus.js | arthurzenika/zenika-a11y-components | 1241fe97fabb8f8989e1f8bdeec9464ce65a5423 | [
"Apache-2.0"
] | null | null | null | html/_lib/focus.js | arthurzenika/zenika-a11y-components | 1241fe97fabb8f8989e1f8bdeec9464ce65a5423 | [
"Apache-2.0"
] | null | null | null | html/_lib/focus.js | arthurzenika/zenika-a11y-components | 1241fe97fabb8f8989e1f8bdeec9464ce65a5423 | [
"Apache-2.0"
] | null | null | null | // Focus trap state -----------------------------------------------------------
let FOCUS_TRAP = null
let FOCUS_DIRECTION = 'first'
let FOCUS_FN = null
// Get focus direction out of keyboard events ---------------------------------
document.addEventListener('keydown', (e) => e.key === 'Tab'
&& (FOCUS_DIRECTION = (e.... | 29.481481 | 79 | 0.619765 |
f6f67c83f729be1ebbce160801117d004dd4691c | 3,996 | js | JavaScript | src/views/GalleryPage/GalleryPage.js | antarikshray/websiterudra | 7043525ac75866c829f065b63645bdd95ae98138 | [
"MIT"
] | null | null | null | src/views/GalleryPage/GalleryPage.js | antarikshray/websiterudra | 7043525ac75866c829f065b63645bdd95ae98138 | [
"MIT"
] | null | null | null | src/views/GalleryPage/GalleryPage.js | antarikshray/websiterudra | 7043525ac75866c829f065b63645bdd95ae98138 | [
"MIT"
] | null | null | null | import React, { useState, useCallback, useEffect } from "react";
import DelayLink from 'react-delay-link';
// @material-ui/core components
import { makeStyles } from "@material-ui/core/styles";
import Gallery from 'react-photo-gallery';
import Carousel, { Modal, ModalGateway } from "react-images";
import photos from ".... | 26.818792 | 71 | 0.554054 |
f6f6b74a255d4df2e55a04691b0fdce500570136 | 41,016 | js | JavaScript | client/src/views/components/Selectable.js | AlulaLeak/sports-betting-app | 643a1af9b89858480af4b1adf398fc56c7a1f98e | [
"MIT"
] | null | null | null | client/src/views/components/Selectable.js | AlulaLeak/sports-betting-app | 643a1af9b89858480af4b1adf398fc56c7a1f98e | [
"MIT"
] | null | null | null | client/src/views/components/Selectable.js | AlulaLeak/sports-betting-app | 643a1af9b89858480af4b1adf398fc56c7a1f98e | [
"MIT"
] | null | null | null | import React from "react";
import ModalMessage from "./ModalMessage";
import { useState } from "react";
import "../../styles/game.css";
function Selectable(props) {
const BET_PLACED = "BET_PLACED";
const SELECTABLE = "SELECTABLE";
const [modalShow, setModalShow] = useState(false);
const {
awayScore,
h... | 86.898305 | 6,363 | 0.676053 |
f6f6d18b20dad53ce8e2410ae43415734599eec6 | 8,950 | js | JavaScript | packages/client/src/components/Post/Post/Content/index.js | Jaren831/Tartarus | 0e341ed3f42acdf1bc61e0c7707e458428d00c93 | [
"MIT"
] | null | null | null | packages/client/src/components/Post/Post/Content/index.js | Jaren831/Tartarus | 0e341ed3f42acdf1bc61e0c7707e458428d00c93 | [
"MIT"
] | 3 | 2021-05-11T08:47:51.000Z | 2022-01-22T11:18:46.000Z | packages/client/src/components/Post/Post/Content/index.js | JarenL/Tartarus | 0e341ed3f42acdf1bc61e0c7707e458428d00c93 | [
"MIT"
] | null | null | null | import React, { Component } from 'react';
import styled from 'styled-components/macro';
import PostContentTitle from './Title';
import PostContentFullText from './FullText';
import PostActions from './Actions';
import EmbedWidget from '../EmbedWidget';
import LoadingBubble from '../../../shared/LoadingIndicator/Bubble'... | 28.685897 | 87 | 0.567933 |
f6f6ec889023f071aa81588e9a27289830ffa82d | 1,093 | js | JavaScript | node_modules/@phosphor/domutils/lib/platform.js | dirac-institute/spark-labextension | 50e306e7519dfb9f521ed4b8eff73e3f3ada59e3 | [
"Apache-2.0"
] | null | null | null | node_modules/@phosphor/domutils/lib/platform.js | dirac-institute/spark-labextension | 50e306e7519dfb9f521ed4b8eff73e3f3ada59e3 | [
"Apache-2.0"
] | null | null | null | node_modules/@phosphor/domutils/lib/platform.js | dirac-institute/spark-labextension | 50e306e7519dfb9f521ed4b8eff73e3f3ada59e3 | [
"Apache-2.0"
] | null | null | null | "use strict";
/*-----------------------------------------------------------------------------
| Copyright (c) 2014-2017, PhosphorJS Contributors
|
| Distributed under the terms of the BSD 3-Clause License.
|
| The full license is in the file LICENSE, distributed with this software.
|------------------------------------... | 34.15625 | 79 | 0.568161 |
f6f7238af660c14594896a163a7cc4e732e08fcb | 625 | js | JavaScript | services/planCommission.service.js | chhotusow/rd_project | f93a0126e46015a05c087fb363a25ebe64faddde | [
"MIT"
] | null | null | null | services/planCommission.service.js | chhotusow/rd_project | f93a0126e46015a05c087fb363a25ebe64faddde | [
"MIT"
] | null | null | null | services/planCommission.service.js | chhotusow/rd_project | f93a0126e46015a05c087fb363a25ebe64faddde | [
"MIT"
] | null | null | null | const config = require('../config.json');
const jwt = require('jsonwebtoken');
const bcrypt = require('bcryptjs');
const db = require('_helpers/db');
const { request } = require('express');
const model = require('../model/user.model');
module.exports = {
getPlanCommissionByPlanId,
getPlanCommissionsByPlanIdAndYe... | 25 | 52 | 0.696 |
f6f7e585abdbbb782e1a1a73bec6419da8174d9c | 256 | js | JavaScript | src/themes/fonts.js | rkz98/Enklima-Mobile | f4cf6f0c81b1e53503df6196a24da3b7e3e0bb3b | [
"MIT"
] | null | null | null | src/themes/fonts.js | rkz98/Enklima-Mobile | f4cf6f0c81b1e53503df6196a24da3b7e3e0bb3b | [
"MIT"
] | 3 | 2020-09-06T03:40:32.000Z | 2021-05-09T20:53:03.000Z | src/themes/fonts.js | rkz98/Enklima-Mobile | f4cf6f0c81b1e53503df6196a24da3b7e3e0bb3b | [
"MIT"
] | null | null | null | /* eslint-disable linebreak-style */
import { RFValue } from 'react-native-responsive-fontsize';
const sizes = {
regular: RFValue(15),
regular_2: RFValue(17),
big: RFValue(20),
middle: RFValue(25),
bigger: RFValue(30),
};
export default sizes;
| 19.692308 | 59 | 0.691406 |
f6f949e380800ed55e744ff95d54a3fc0d904f58 | 2,958 | js | JavaScript | backend/index.js | llucifer97/student-management-app | 7bb89f0be732bae653739de64c736a3ff95ce231 | [
"MIT"
] | null | null | null | backend/index.js | llucifer97/student-management-app | 7bb89f0be732bae653739de64c736a3ff95ce231 | [
"MIT"
] | null | null | null | backend/index.js | llucifer97/student-management-app | 7bb89f0be732bae653739de64c736a3ff95ce231 | [
"MIT"
] | null | null | null |
const mysql = require('mysql');
const express = require("express");
const bodyParser = require("body-parser");
const cookieParser = require("cookie-parser");
const cors = require("cors");
var app = express();
const port = 5000;
//start mysql connections
const connection = mysql.createConnection({
host : 'l... | 22.240602 | 129 | 0.668357 |
f6fa6e2e8674395984a6adc0be2e4559af252115 | 3,376 | js | JavaScript | modules/cms/tpl/assets/js/dashforge.js | aikianapa/wb3 | d44e03f51ab7b3e6597493e04a7cdd2b06f1f0d0 | [
"MIT"
] | null | null | null | modules/cms/tpl/assets/js/dashforge.js | aikianapa/wb3 | d44e03f51ab7b3e6597493e04a7cdd2b06f1f0d0 | [
"MIT"
] | null | null | null | modules/cms/tpl/assets/js/dashforge.js | aikianapa/wb3 | d44e03f51ab7b3e6597493e04a7cdd2b06f1f0d0 | [
"MIT"
] | null | null | null |
$(function(){
'use strict'
////////// NAVBAR //////////
// Initialize PerfectScrollbar of navbar menu for mobile only
if($('#navbarMenu').length && window.matchMedia('(max-width: 991px)').matches) {
const psNavbar = new PerfectScrollbar('#navbarMenu', {
suppressScrollX: true
});
}
// Show... | 25.969231 | 82 | 0.595675 |
f6fa8ee490e16fefca712b55e9360fec46062e31 | 81 | js | JavaScript | src/MaterialUI/SVGIcon/Icon/LoupeOutlined.js | matoruru/purescript-react-material-ui-svgicon | e5ea02a5ef5165f5756bea9d21cf056c5f16e635 | [
"MIT"
] | null | null | null | src/MaterialUI/SVGIcon/Icon/LoupeOutlined.js | matoruru/purescript-react-material-ui-svgicon | e5ea02a5ef5165f5756bea9d21cf056c5f16e635 | [
"MIT"
] | 2 | 2019-07-15T09:55:03.000Z | 2019-07-15T10:56:16.000Z | src/MaterialUI/SVGIcon/Icon/LoupeOutlined.js | matoruru/purescript-react-material-ui-svgicon | e5ea02a5ef5165f5756bea9d21cf056c5f16e635 | [
"MIT"
] | null | null | null | exports.loupeOutlinedImpl = require('@material-ui/icons/LoupeOutlined').default;
| 40.5 | 80 | 0.814815 |
f6faceaa6735075320c4497621687f4c82142d1a | 34 | js | JavaScript | node_modules/polyfill-library/polyfills/__dist/console.markTimeline/min.js | vladermakov12345/Test1 | 6c228a7f600c44445475218e6c32a7be575d8b33 | [
"MIT"
] | 1 | 2019-09-20T08:12:15.000Z | 2019-09-20T08:12:15.000Z | node_modules/polyfill-library/polyfills/__dist/console.markTimeline/min.js | vladermakov12345/Test1 | 6c228a7f600c44445475218e6c32a7be575d8b33 | [
"MIT"
] | 1 | 2022-03-02T05:39:38.000Z | 2022-03-02T05:39:38.000Z | node_modules/polyfill-library/polyfills/__dist/console.markTimeline/min.js | vladermakov12345/Test1 | 6c228a7f600c44445475218e6c32a7be575d8b33 | [
"MIT"
] | null | null | null | console.markTimeline=function(){}; | 34 | 34 | 0.794118 |
f6fb35db46552a507214c52b7f4d97a15dd44eeb | 560 | js | JavaScript | samples/iotdb_contact.js | dpjanes/homestar-smart-things | db5e01f08f6c7ab0fc549f2e00e6374a4ccb0d9b | [
"Apache-2.0"
] | null | null | null | samples/iotdb_contact.js | dpjanes/homestar-smart-things | db5e01f08f6c7ab0fc549f2e00e6374a4ccb0d9b | [
"Apache-2.0"
] | null | null | null | samples/iotdb_contact.js | dpjanes/homestar-smart-things | db5e01f08f6c7ab0fc549f2e00e6374a4ccb0d9b | [
"Apache-2.0"
] | null | null | null | /*
* Note: to work, this package must have been installed by 'homestar install'
*/
var iotdb = require("iotdb");
var _ = iotdb._;
var iot = iotdb.iot();
var things = iot.connect("SmartThingsContact");
things.on("istate", function (thing) {
console.log("+", "istate\n ", thing.thing_id(), "\n ", thing.state("is... | 29.473684 | 82 | 0.633929 |
f6fb4fd623e0467d55ca325980e5c24f340b7851 | 2,106 | js | JavaScript | src/components/ButtonPanel.js | henatan99/Calculator | a8e6299ef717d1dae2955962508654f44ecd7ad1 | [
"MIT"
] | null | null | null | src/components/ButtonPanel.js | henatan99/Calculator | a8e6299ef717d1dae2955962508654f44ecd7ad1 | [
"MIT"
] | 4 | 2021-05-25T09:07:50.000Z | 2021-06-03T09:53:33.000Z | src/components/ButtonPanel.js | henatan99/Calculator | a8e6299ef717d1dae2955962508654f44ecd7ad1 | [
"MIT"
] | null | null | null | import PropTypes from 'prop-types';
import Button from './Button';
function ButtonPanel(props) {
const { handleClick } = props;
return (
<div className="button-panel">
<div className="group-1">
<Button name="AC" handleClick={handleClick} color="#e0e0e0" wide="25%" />
<Button name="+/-" ha... | 42.12 | 82 | 0.608737 |
f6fbac5a35568f17faa88771472e29eeecd42c1f | 50,276 | js | JavaScript | app/components/Exchange/highcharts-plugins/technical-indicators.src.js | axin313/bitshares-ui | 0d17ff1c31e9f0247c4dde626154f4e8a45ddc49 | [
"MIT"
] | 3 | 2018-07-31T18:30:56.000Z | 2019-01-08T08:08:10.000Z | app/components/Exchange/highcharts-plugins/technical-indicators.src.js | axin313/bitshares-ui | 0d17ff1c31e9f0247c4dde626154f4e8a45ddc49 | [
"MIT"
] | 6 | 2020-07-15T21:15:10.000Z | 2022-02-09T23:18:32.000Z | app/components/Exchange/highcharts-plugins/technical-indicators.src.js | axin313/bitshares-ui | 0d17ff1c31e9f0247c4dde626154f4e8a45ddc49 | [
"MIT"
] | 8 | 2018-07-26T15:41:14.000Z | 2022-03-08T09:55:37.000Z | import Highcharts from "highcharts/highstock";
(function (HC) {
/***
Each indicator requires mothods:
- getDefaultOptions() - returns object with default parameters, like period etc.
- getValues(chart, series, options) - returns array of calculated values for... | 39.965024 | 244 | 0.401902 |
f6fcbd7c1b6b5265570dff8fa18d5a2a3853df78 | 580 | js | JavaScript | tests/pages/index.js | sethphillips/ember-dialogs | a1bdb33c7602307efbb3fbc9fc8c31684cb7c0c0 | [
"MIT"
] | 11 | 2017-09-17T12:39:53.000Z | 2021-06-22T14:30:57.000Z | tests/pages/index.js | sethphillips/ember-dialogs | a1bdb33c7602307efbb3fbc9fc8c31684cb7c0c0 | [
"MIT"
] | 9 | 2017-09-20T11:32:53.000Z | 2020-02-20T12:29:47.000Z | tests/pages/index.js | sethphillips/ember-dialogs | a1bdb33c7602307efbb3fbc9fc8c31684cb7c0c0 | [
"MIT"
] | 6 | 2017-09-20T17:39:35.000Z | 2019-01-04T12:21:22.000Z | import {
create,
visitable,
} from 'ember-cli-page-object'
import c from 'dummy/tests/pages/components/_component'
import {
backdrop,
dialog,
} from 'dummy/tests/pages/components/dialogs'
export default create({
visit : visitable('/'),
alertValue : c('.route-index-alertValue'),
alertTrigger : c('.... | 19.333333 | 55 | 0.693103 |
f6fcdd08b6a1cdff2c9b0cb3ae840bc88422b033 | 1,359 | js | JavaScript | extensions/ohif-segmentation-plugin/src/util/getUnsavedRegions.js | benodry/Viewers | e358d2362d1536b2db286b45fdac7d40f6f24c8f | [
"MIT"
] | 3 | 2019-06-26T13:05:54.000Z | 2019-06-28T13:36:38.000Z | extensions/ohif-segmentation-plugin/src/util/getUnsavedRegions.js | benodry/Viewers | e358d2362d1536b2db286b45fdac7d40f6f24c8f | [
"MIT"
] | 7 | 2019-06-26T20:02:27.000Z | 2021-09-01T07:24:22.000Z | extensions/ohif-segmentation-plugin/src/util/getUnsavedRegions.js | benodry/Viewers | e358d2362d1536b2db286b45fdac7d40f6f24c8f | [
"MIT"
] | 5 | 2019-06-26T13:05:56.000Z | 2021-09-15T12:09:51.000Z | import { store } from 'cornerstone-tools';
const modules = store.modules;
export default function () {
const masks = _getUnsavedMasks();
const contours = _getUnsavedContours();
return {
masks,
contours,
hasUnsavedRegions: !!(masks.length || contours.length)
};
}
function _getUnsavedContours() {
... | 25.641509 | 81 | 0.736571 |
f6fce9e82c57b248ee92e02f23d11e04e0706f13 | 3,699 | js | JavaScript | app/javascript/components/Merchant/GenerateForm.js | ittyjose/journal | 260095656541bec4ab37246f55478b34a5550914 | [
"MIT"
] | null | null | null | app/javascript/components/Merchant/GenerateForm.js | ittyjose/journal | 260095656541bec4ab37246f55478b34a5550914 | [
"MIT"
] | null | null | null | app/javascript/components/Merchant/GenerateForm.js | ittyjose/journal | 260095656541bec4ab37246f55478b34a5550914 | [
"MIT"
] | null | null | null | import React, { useState } from "react";
import { useForm } from "react-hook-form";
import { yupResolver } from "@hookform/resolvers";
import * as yup from "yup";
import { useHistory, Route, useRouteMatch } from "react-router-dom";
import Input from "Common/Form/Input";
import LocalBodyForm from "Common/LocalBodyForm"... | 34.25 | 96 | 0.533928 |
f6fdd5e554c47aebe4993165bbd3c93262fc8c14 | 1,253 | js | JavaScript | test/built-ins/Temporal/PlainTime/prototype/round/roundingmode-halfExpand.js | catamorphism/test262 | 99b2a70789b27d433f9036b98572a4443d91e01f | [
"BSD-3-Clause"
] | 1 | 2019-07-21T10:06:30.000Z | 2019-07-21T10:06:30.000Z | test/built-ins/Temporal/PlainTime/prototype/round/roundingmode-halfExpand.js | romulocintra/test262 | 53d6cd6d463df461e1c506e0d2be4e36de0ef6fa | [
"BSD-3-Clause"
] | null | null | null | test/built-ins/Temporal/PlainTime/prototype/round/roundingmode-halfExpand.js | romulocintra/test262 | 53d6cd6d463df461e1c506e0d2be4e36de0ef6fa | [
"BSD-3-Clause"
] | null | null | null | // Copyright (C) 2022 Igalia, S.L. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-temporal.plaintime.prototype.round
description: Tests calculations with roundingMode "floor".
features: [Temporal]
includes: [temporalHelpers.js]
---*/
const plainTime = Tempo... | 34.805556 | 79 | 0.71668 |
f6fe72c74a7e9c953088299ca68589cb4dbe022b | 2,086 | js | JavaScript | src/EChart/echartTheme.js | liuderchi/mcs-ui | fef6ae53711ea3916e2d326f47700862661d4fe4 | [
"MIT"
] | 5 | 2018-10-19T10:06:53.000Z | 2020-09-17T02:29:34.000Z | src/EChart/echartTheme.js | liuderchi/mcs-ui | fef6ae53711ea3916e2d326f47700862661d4fe4 | [
"MIT"
] | 205 | 2018-10-19T05:57:30.000Z | 2021-04-26T12:42:13.000Z | src/EChart/echartTheme.js | liuderchi/mcs-ui | fef6ae53711ea3916e2d326f47700862661d4fe4 | [
"MIT"
] | 2 | 2018-10-22T09:27:56.000Z | 2021-02-18T05:36:46.000Z | // @flow
import { type Theme } from '../utils/type.flow';
import theme, { fontFamily } from '../utils/theme';
const {
color: {
grayLight,
grayBase,
grayDark,
warning,
primary,
success,
black,
white,
},
}: Theme = theme;
const axisCommon = {
axisLine: {
lineStyle: {
colo... | 17.383333 | 72 | 0.532119 |
f6fe85f47fb6a344ba4a91cd9c1d99fbe7f13277 | 962 | js | JavaScript | store/emails/sagas.js | Jovisx/email-checking-admin | 98f722df691485a4cd8e2708ea7a2b5250219ec7 | [
"MIT"
] | null | null | null | store/emails/sagas.js | Jovisx/email-checking-admin | 98f722df691485a4cd8e2708ea7a2b5250219ec7 | [
"MIT"
] | null | null | null | store/emails/sagas.js | Jovisx/email-checking-admin | 98f722df691485a4cd8e2708ea7a2b5250219ec7 | [
"MIT"
] | null | null | null | import { all, put, call, takeLatest } from 'redux-saga/effects';
import * as api from 'utils/api';
import extractErrors from 'utils/error';
import {
GET_EMAILS_REQUEST,
MOVE_EMAIL_REQUEST,
emailsActions,
} from './actions';
export function* getEmails({ payload }) {
try {
const response = yield call(api.ge... | 26 | 64 | 0.700624 |
f6ff915b064d70a556347d369f2c37a49e4a3357 | 1,635 | js | JavaScript | src/pages/ContactFormPage.js | rodrigoff/react-contact-manager | 2a8eca0c526404a9c4f5c6a12f3ea61ce4c69456 | [
"MIT"
] | null | null | null | src/pages/ContactFormPage.js | rodrigoff/react-contact-manager | 2a8eca0c526404a9c4f5c6a12f3ea61ce4c69456 | [
"MIT"
] | null | null | null | src/pages/ContactFormPage.js | rodrigoff/react-contact-manager | 2a8eca0c526404a9c4f5c6a12f3ea61ce4c69456 | [
"MIT"
] | null | null | null | import React, { Component } from "react";
import { Redirect } from "react-router";
import { SubmissionError } from "redux-form";
import { connect } from "react-redux";
import ContactForm from "../components/ContactForm";
import {
newContact,
saveContact,
fetchContact,
updateContact
} from "../actions/contactAc... | 21.513158 | 60 | 0.587156 |
f6ffa44b4880e457a7856211ff135e2d6d8ece78 | 528 | js | JavaScript | packages/tests-react-native/node-mock/util/index.js | ton-actions/ton-client-js | 988d335f8f3f706466d6bc944a5410ec412a7f74 | [
"Apache-2.0"
] | 60 | 2019-09-09T17:02:19.000Z | 2022-02-08T14:18:16.000Z | packages/tests-react-native/node-mock/util/index.js | ton-actions/ton-client-js | 988d335f8f3f706466d6bc944a5410ec412a7f74 | [
"Apache-2.0"
] | 23 | 2019-09-15T13:49:54.000Z | 2022-02-03T18:41:01.000Z | packages/tests-react-native/node-mock/util/index.js | ton-actions/ton-client-js | 988d335f8f3f706466d6bc944a5410ec412a7f74 | [
"Apache-2.0"
] | 13 | 2020-02-09T06:52:28.000Z | 2022-02-03T20:04:13.000Z | /*
* Copyright 2018-2020 TON DEV SOLUTIONS LTD.
*
* Licensed under the SOFTWARE EVALUATION License (the "License"); you may not use
* this file except in compliance with the License.
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS I... | 33 | 82 | 0.75 |
1000533acbafe253d0a1b9bec18508de0630e4cb | 956 | js | JavaScript | web/web/static/web/js/controllers/main.js | rcbops/FleetDeploymentReporting | aaab76706c8268d3ff3e87c275baee9dd4714314 | [
"Apache-2.0"
] | 1 | 2018-07-11T20:20:21.000Z | 2018-07-11T20:20:21.000Z | web/web/static/web/js/controllers/main.js | rcbops/FleetDeploymentReporting | aaab76706c8268d3ff3e87c275baee9dd4714314 | [
"Apache-2.0"
] | 46 | 2018-08-08T19:46:15.000Z | 2019-02-22T20:33:49.000Z | web/web/static/web/js/controllers/main.js | rcbops/FleetDeploymentReporting | aaab76706c8268d3ff3e87c275baee9dd4714314 | [
"Apache-2.0"
] | 7 | 2018-06-26T15:27:55.000Z | 2018-12-05T19:41:25.000Z | /**
* Main controller. Holds various app wide things.
*/
angular.module("cloudSnitch").controller("MainController", ["$scope", "$route", "typesService", function($scope, $route, typesService) {
$scope.subApp = null;
$scope.types = [];
$scope.typesService = typesService;
$scope.ready = false;
fun... | 23.9 | 136 | 0.547071 |
10005b87a5c5706432c4d91381c38357fe87e25f | 424 | js | JavaScript | app/playground.js | Grokling/react-proof-of-concept | fc2e7e67f976729aab0503da6ff6bafb233409e6 | [
"CC0-1.0"
] | null | null | null | app/playground.js | Grokling/react-proof-of-concept | fc2e7e67f976729aab0503da6ff6bafb233409e6 | [
"CC0-1.0"
] | null | null | null | app/playground.js | Grokling/react-proof-of-concept | fc2e7e67f976729aab0503da6ff6bafb233409e6 | [
"CC0-1.0"
] | null | null | null | import { render } from 'react-dom';
import { Provider } from 'react-redux';
import Templates from './templates/component.js';
import configureStore from './configure-store.js';
import documents from './pouch/feed.js';
import React from 'react';
const store = configureStore();
const documentStore = documents(store);
r... | 24.941176 | 50 | 0.716981 |
1000f9733fb3b7b4527b01d5512e4872b73ab3e2 | 2,449 | js | JavaScript | local-cli/core/__tests__/ios/findProject.spec.js | keenjus/react-native | da4fcde55a1d83eb7be263876ac20d516751e7dd | [
"BSD-3-Clause"
] | 15 | 2018-03-11T23:50:11.000Z | 2021-12-24T08:41:05.000Z | local-cli/core/__tests__/ios/findProject.spec.js | keenjus/react-native | da4fcde55a1d83eb7be263876ac20d516751e7dd | [
"BSD-3-Clause"
] | 13 | 2015-08-15T00:56:51.000Z | 2020-09-13T17:42:36.000Z | local-cli/core/__tests__/ios/findProject.spec.js | keenjus/react-native | da4fcde55a1d83eb7be263876ac20d516751e7dd | [
"BSD-3-Clause"
] | 8 | 2015-09-28T22:22:49.000Z | 2017-12-22T05:26:01.000Z | /**
* Copyright (c) 2013-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @format
... | 25.247423 | 78 | 0.607595 |
10011408c45f76147b53598fd26045e05ff3086d | 97 | js | JavaScript | src/utils/Currency.js | Naess/react-cost-calculator | e69ec5d375cbea259c61ff98375a82b42d668e0e | [
"MIT"
] | null | null | null | src/utils/Currency.js | Naess/react-cost-calculator | e69ec5d375cbea259c61ff98375a82b42d668e0e | [
"MIT"
] | null | null | null | src/utils/Currency.js | Naess/react-cost-calculator | e69ec5d375cbea259c61ff98375a82b42d668e0e | [
"MIT"
] | null | null | null | export function formatDollars(number) {
return '$' + Number(number).toLocaleString('en')
}
| 24.25 | 52 | 0.690722 |
10015bd7c02719953572deebbd51015c47f8c8e6 | 2,587 | js | JavaScript | tests/lib/all.js | shuckster/eslint-plugin-big-number-rules | 2f79e0d19d402c5f8180936e14705def137fc09d | [
"MIT"
] | 3 | 2021-05-08T21:16:40.000Z | 2021-12-30T05:38:18.000Z | tests/lib/all.js | shuckster/eslint-plugin-big-number-rules | 2f79e0d19d402c5f8180936e14705def137fc09d | [
"MIT"
] | 2 | 2022-01-23T21:38:42.000Z | 2022-01-24T02:12:12.000Z | tests/lib/all.js | shuckster/eslint-plugin-big-number-rules | 2f79e0d19d402c5f8180936e14705def137fc09d | [
"MIT"
] | null | null | null | const path = require('path')
const RuleTester = require('eslint').RuleTester
const {
baseEslintSettings,
configsPath,
getExampleEslintConfigsForOtherLibs,
loadJsonFile,
bigNumberRules,
filter,
map,
flow,
tryCatch
} = require('./common')
const suites = [
require('./arithmetic'),
require('./assign... | 25.613861 | 80 | 0.659838 |
100200ea5994f1c40f067ec58d60d5e9b8a3725e | 2,494 | js | JavaScript | assets/js/article/art_pub.js | wu-yiqiang/bigThings | dcb173371ceea6aff938c7895b514fa46b118e70 | [
"MIT"
] | null | null | null | assets/js/article/art_pub.js | wu-yiqiang/bigThings | dcb173371ceea6aff938c7895b514fa46b118e70 | [
"MIT"
] | null | null | null | assets/js/article/art_pub.js | wu-yiqiang/bigThings | dcb173371ceea6aff938c7895b514fa46b118e70 | [
"MIT"
] | null | null | null | $(function() {
var layer = layui.layer
var form = layui.form
initCate()
// 初始化富文本编辑器
initEditor()
// 定义加载文章分类的方法
function initCate() {
$.ajax({
method: 'GET',
url: '/my/article/cates',
success: function(res) {
if (res.status !== 0) {
return layer.msg('初始化文章分类失败!')... | 21.686957 | 49 | 0.539695 |
100210a751297f29b1cd792079c67e9bacf507fc | 1,907 | js | JavaScript | pages/api/parents/index.js | romseguy/elc | 035c02c5cbca8e7071d19ba1d41b3f75bb518b5a | [
"MIT"
] | null | null | null | pages/api/parents/index.js | romseguy/elc | 035c02c5cbca8e7071d19ba1d41b3f75bb518b5a | [
"MIT"
] | null | null | null | pages/api/parents/index.js | romseguy/elc | 035c02c5cbca8e7071d19ba1d41b3f75bb518b5a | [
"MIT"
] | null | null | null | import nextConnect from "next-connect";
import middleware from "middlewares/database";
import { createServerError, databaseErrorCodes } from "middlewares/errors";
import { getSession } from "utils/useAuth";
const handler = nextConnect();
handler.use(middleware);
handler.get(async function getParents(req, res) {
co... | 28.462687 | 80 | 0.606188 |
10021e21d749b02218e38361cdda398383fa1d4f | 43 | js | JavaScript | packages/web/src/components/FooterNavList/index.js | danilucaci/danilucaci.com | c62654cd9a8c1c3a7e0b0d19aa9eaa7110d84b0c | [
"MIT"
] | 1 | 2020-09-07T11:18:34.000Z | 2020-09-07T11:18:34.000Z | packages/web/src/components/FooterNavList/index.js | danilucaci/danilucaci.com | c62654cd9a8c1c3a7e0b0d19aa9eaa7110d84b0c | [
"MIT"
] | 15 | 2020-04-13T07:39:43.000Z | 2021-02-19T17:01:26.000Z | packages/web/src/components/FooterNavList/index.js | danilucaci/danilucaci.com | c62654cd9a8c1c3a7e0b0d19aa9eaa7110d84b0c | [
"MIT"
] | null | null | null | export { default } from "./FooterNavList";
| 21.5 | 42 | 0.697674 |
1002844cc699daf9781a29ea2bddf6a341f06f22 | 3,843 | js | JavaScript | plugins/file-open-save-new/core/src/main/javascript/app/components/filebar/filebar.component.js | guofs225/pentaho-kettle | 3df41f5f5555ce67d5131eadb25d3c6ce3b2f519 | [
"Apache-2.0"
] | 3 | 2017-03-17T16:12:31.000Z | 2021-01-06T12:28:00.000Z | plugins/file-open-save-new/core/src/main/javascript/app/components/filebar/filebar.component.js | zty812376/pentaho-kettle | 052df1d3f656a418242d6ada965b0d70210c3aaf | [
"Apache-2.0"
] | null | null | null | plugins/file-open-save-new/core/src/main/javascript/app/components/filebar/filebar.component.js | zty812376/pentaho-kettle | 052df1d3f656a418242d6ada965b0d70210c3aaf | [
"Apache-2.0"
] | 1 | 2019-12-11T04:03:10.000Z | 2019-12-11T04:03:10.000Z | /*!
* Copyright 2019 Hitachi Vantara. All rights reserved.
*
* 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 appli... | 28.679104 | 95 | 0.617486 |
1002e1992ed703d1c070cf9582df4a9326595b8d | 365 | js | JavaScript | index.js | gusbdev/nodejs-template-rest-api | 5a39ce91065a375b22f432b37621bbf4791ebaff | [
"MIT"
] | null | null | null | index.js | gusbdev/nodejs-template-rest-api | 5a39ce91065a375b22f432b37621bbf4791ebaff | [
"MIT"
] | null | null | null | index.js | gusbdev/nodejs-template-rest-api | 5a39ce91065a375b22f432b37621bbf4791ebaff | [
"MIT"
] | null | null | null | var express = require("express");
var app = express();
var router = require("./routes/routes");
const PORT = 8080;
// parse application/x-www-form-urlencoded
app.use(express.urlencoded({ extended: false }));
// parse application/json
app.use(express.json());
app.use("/", router);
app.listen(PORT, () => {
console... | 24.333333 | 53 | 0.671233 |
100306d70ca78077ccbc4914b887c495da2a22cc | 183 | js | JavaScript | app/collections/profiles.js | madtrick/real.js | edc4118fea278bcf9ee54081d6cfd7ac5db19930 | [
"Apache-2.0"
] | null | null | null | app/collections/profiles.js | madtrick/real.js | edc4118fea278bcf9ee54081d6cfd7ac5db19930 | [
"Apache-2.0"
] | null | null | null | app/collections/profiles.js | madtrick/real.js | edc4118fea278bcf9ee54081d6cfd7ac5db19930 | [
"Apache-2.0"
] | null | null | null | 'use strict';
var Backbone = require('backbone-associations');
var Profile = require('../models/profile');
module.exports = Backbone.Collection.extend({
model: Profile
});
| 20.333333 | 51 | 0.688525 |
1003644fba8ab8a8a4efda715dd90ba40479fa51 | 717 | js | JavaScript | test/setup.js | sirhoe/clickatell-sms | 09f0197d8a2f0be372f4aa30c62f26dae01ed26c | [
"MIT"
] | null | null | null | test/setup.js | sirhoe/clickatell-sms | 09f0197d8a2f0be372f4aa30c62f26dae01ed26c | [
"MIT"
] | null | null | null | test/setup.js | sirhoe/clickatell-sms | 09f0197d8a2f0be372f4aa30c62f26dae01ed26c | [
"MIT"
] | null | null | null | 'use strict';
const expect = require('chai').expect;
const ERRORS = require('../lib/errors');
const Clickatell = require('../lib/index');
describe('Initialization and instantiation', async () => {
it(`should thorw \"${ERRORS.API_REQUIRED}\" errro when instantiated without key`, () => {
expect(require('../... | 37.736842 | 93 | 0.635983 |
100379bb43c0a2f685e85a72f568e6e37bbbc11e | 199 | js | JavaScript | Doc/html/html/structs_mail_node__t.js | VKM96/MailBox | c139930424faeece13757a73f8184e091b503243 | [
"MIT"
] | null | null | null | Doc/html/html/structs_mail_node__t.js | VKM96/MailBox | c139930424faeece13757a73f8184e091b503243 | [
"MIT"
] | null | null | null | Doc/html/html/structs_mail_node__t.js | VKM96/MailBox | c139930424faeece13757a73f8184e091b503243 | [
"MIT"
] | null | null | null | var structs_mail_node__t =
[
[ "msg", "structs_mail_node__t.html#adc525266dacc05e195c3b72d140b6b05", null ],
[ "next", "structs_mail_node__t.html#a67cb14019eb48bc46327bcafa0cff740", null ]
]; | 39.8 | 83 | 0.763819 |
10038c6b34c48104a03f5e964dc4480ddcd7e25d | 1,542 | js | JavaScript | mixins/helpers.js | antwebstudio/fusioncms-helper-js | eb6e5aa05a6f796c77f31f6ede6ea052db0861a8 | [
"MIT"
] | null | null | null | mixins/helpers.js | antwebstudio/fusioncms-helper-js | eb6e5aa05a6f796c77f31f6ede6ea052db0861a8 | [
"MIT"
] | null | null | null | mixins/helpers.js | antwebstudio/fusioncms-helper-js | eb6e5aa05a6f796c77f31f6ede6ea052db0861a8 | [
"MIT"
] | null | null | null |
// import form from 'vuejs-form'
export default {
data() {
return {
// form: form(),
errorMessages: {}
}
},
methods: {
price(price, defaultValue) {
if (price != null && price !== '') return parseFloat(price).toFixed(2)
if (!_.isUndefi... | 28.555556 | 118 | 0.476005 |
100392e44a24ceecf79565af3cf3e0671f166b13 | 1,525 | js | JavaScript | src/components/SectionNewsletter/styles.js | rogeriorioli/site_ong_elo_gatsby | f06356b94d95604135d0c55c687fe2653472911f | [
"MIT"
] | null | null | null | src/components/SectionNewsletter/styles.js | rogeriorioli/site_ong_elo_gatsby | f06356b94d95604135d0c55c687fe2653472911f | [
"MIT"
] | 75 | 2020-09-29T08:22:29.000Z | 2021-07-28T08:40:02.000Z | src/components/SectionNewsletter/styles.js | rogeriorioli/site_ong_elo_gatsby | f06356b94d95604135d0c55c687fe2653472911f | [
"MIT"
] | null | null | null | import styled from 'styled-components';
export const Container = styled.section`
padding : 40px;
background :#ff2f5a;
h2 {
color : #fff;
&:after {
background : #fff;
}
}
p{
color : #fff;
text-align : center;
font-size : 18px;
}
... | 21.785714 | 40 | 0.426885 |
10045727ae42d9ce2a418b48b0d848e9094d8b35 | 1,901 | js | JavaScript | ui/src/api/build.js | yinfxs/drone-client | cf53fece37dddf313ee9d11b41e076de2eb7b7a2 | [
"Apache-2.0"
] | null | null | null | ui/src/api/build.js | yinfxs/drone-client | cf53fece37dddf313ee9d11b41e076de2eb7b7a2 | [
"Apache-2.0"
] | null | null | null | ui/src/api/build.js | yinfxs/drone-client | cf53fece37dddf313ee9d11b41e076de2eb7b7a2 | [
"Apache-2.0"
] | null | null | null | import request from '@/utils/request'
/**
* Build List
* Returns recent builds for the repository based on name. Please note this api requires read access to the repository.
* @param owner
* @param repo
*/
export function getReposBuilds (owner, repo) {
return request({
url: `/api/drone/repos/${owner}/${repo... | 26.402778 | 178 | 0.678064 |
1004983e819b97e14060b6d4b51406ce224e6556 | 2,194 | js | JavaScript | KafkaApp/node_modules/kafkajs/src/consumer/assignerProtocol.js | matthewlai93/KafkaSentinel | 6f8ae637fbed4bfcfd02135821f06f7f68b911e0 | [
"MIT"
] | 2,542 | 2017-10-15T18:03:05.000Z | 2022-03-30T01:33:48.000Z | KafkaApp/node_modules/kafkajs/src/consumer/assignerProtocol.js | matthewlai93/KafkaSentinel | 6f8ae637fbed4bfcfd02135821f06f7f68b911e0 | [
"MIT"
] | 1,006 | 2017-11-06T21:15:31.000Z | 2022-03-31T16:24:09.000Z | KafkaApp/node_modules/kafkajs/src/consumer/assignerProtocol.js | matthewlai93/KafkaSentinel | 6f8ae637fbed4bfcfd02135821f06f7f68b911e0 | [
"MIT"
] | 411 | 2017-10-15T04:31:19.000Z | 2022-03-30T08:43:47.000Z | const Encoder = require('../protocol/encoder')
const Decoder = require('../protocol/decoder')
const MemberMetadata = {
/**
* @param {Object} metadata
* @param {number} metadata.version
* @param {Array<string>} metadata.topics
* @param {Buffer} [metadata.userData=Buffer.alloc(0)]
*
* @returns Buffer... | 25.218391 | 82 | 0.569736 |
1004ad0316153250ba7cc0a2b14c90cc4c314efa | 60,907 | js | JavaScript | src/sap.ui.layout/test/sap/ui/layout/qunit/form/ResponsiveGridLayout.qunit.js | yanaki/openui5 | 34a438a1bcd42ae4cd1e070388de2fd61618ac1f | [
"Apache-2.0"
] | null | null | null | src/sap.ui.layout/test/sap/ui/layout/qunit/form/ResponsiveGridLayout.qunit.js | yanaki/openui5 | 34a438a1bcd42ae4cd1e070388de2fd61618ac1f | [
"Apache-2.0"
] | null | null | null | src/sap.ui.layout/test/sap/ui/layout/qunit/form/ResponsiveGridLayout.qunit.js | yanaki/openui5 | 34a438a1bcd42ae4cd1e070388de2fd61618ac1f | [
"Apache-2.0"
] | null | null | null | /* global QUnit */
// Test only the things relevant for ResponsiveGridLayout. The basic Form functionality
// is tested in Form, FormContainer and FormElement qUnit tests.
sap.ui.define([
"sap/ui/thirdparty/jquery",
"sap/ui/qunit/QUnitUtils",
"sap/base/util/each",
"sap/ui/layout/form/Form",
"sap/ui/layout/form/R... | 50.925585 | 125 | 0.744561 |
1004e035c89517bcc22143067ae9df5b71ef1f13 | 1,507 | js | JavaScript | src/MultiOption.js | wvbe/ask-nicely | 57b8335634e01168caaa4fe7b79112f55d25c1a0 | [
"Unlicense"
] | 5 | 2016-03-07T12:19:11.000Z | 2021-06-14T10:43:20.000Z | src/MultiOption.js | wvbe/ask-nicely | 57b8335634e01168caaa4fe7b79112f55d25c1a0 | [
"Unlicense"
] | 2 | 2020-01-10T10:24:33.000Z | 2021-05-07T15:23:57.000Z | src/MultiOption.js | wvbe/ask-nicely | 57b8335634e01168caaa4fe7b79112f55d25c1a0 | [
"Unlicense"
] | 2 | 2018-04-21T13:04:09.000Z | 2020-01-08T10:54:28.000Z | 'use strict';
import symbols from './symbols';
import Option from './Option';
const breakPartsOnPart = Symbol();
const breakPartsDefaultPattern = /^[-.*]/;
export default class MultiOption extends Option {
constructor(name) {
super(name);
this.isInfinite();
}
// @todo: infinite arg as a callback
// @amazem... | 21.225352 | 85 | 0.624419 |
10053ad4946166af93a102fe4842de81b9ebea84 | 117 | js | JavaScript | public/script.js | TopTravel-Project/TopTravel. | 038cfba008e7ba293dfc2583af94297b614d81a6 | [
"MIT"
] | null | null | null | public/script.js | TopTravel-Project/TopTravel. | 038cfba008e7ba293dfc2583af94297b614d81a6 | [
"MIT"
] | 4 | 2022-02-20T17:54:28.000Z | 2022-02-28T16:04:13.000Z | public/script.js | TopTravel-Project/TopTravel. | 038cfba008e7ba293dfc2583af94297b614d81a6 | [
"MIT"
] | 11 | 2022-02-03T20:46:21.000Z | 2022-02-28T16:03:57.000Z | /* functionality, I want to do in the future...
all js file will be here, and then html get one js for getting all */ | 58.5 | 69 | 0.717949 |
7de9435e2c314d60fbc5da78339a314b9d912e90 | 2,284 | js | JavaScript | src/pages/kidok.js | hansvertriest/Orbit-DevStudio | 9a035876233149597338c5f4417509c12c594407 | [
"0BSD"
] | null | null | null | src/pages/kidok.js | hansvertriest/Orbit-DevStudio | 9a035876233149597338c5f4417509c12c594407 | [
"0BSD"
] | null | null | null | src/pages/kidok.js | hansvertriest/Orbit-DevStudio | 9a035876233149597338c5f4417509c12c594407 | [
"0BSD"
] | null | null | null | import React from "react"
import { Helmet } from "react-helmet"
import Layout from "../components/layout"
import img0 from '../images/screenshots/connus-banner.png'
import img1 from '../images/screenshots/connus-1.png'
import img2 from '../images/screenshots/connus-2.png'
import img3 from '../images/screenshots/conn... | 45.68 | 563 | 0.672942 |
7de9a6b150184275cdbb6a124920ce35a727cf1e | 603 | js | JavaScript | src/script/RequireConfig.js | leader22/mk8-kart-customizer | 91dac5af3cf17bff0cad4a0b76eaa1747ddd7812 | [
"MIT"
] | 2 | 2015-05-06T06:36:11.000Z | 2015-06-03T00:07:05.000Z | src/script/RequireConfig.js | leader22/mk8-kart-customizer | 91dac5af3cf17bff0cad4a0b76eaa1747ddd7812 | [
"MIT"
] | null | null | null | src/script/RequireConfig.js | leader22/mk8-kart-customizer | 91dac5af3cf17bff0cad4a0b76eaa1747ddd7812 | [
"MIT"
] | null | null | null | (function(global) {
let require = {
urlArgs: '_=' + (new Date()).getTime(),
baseUrl: 'dist/script',
waitSeconds: 120,
paths: {
'react': 'vendor/react/react-with-addons',
'react-router': 'vendor/react-router/build/umd/ReactRouter'
},
shim:... | 25.125 | 70 | 0.524046 |
7dea25ce3e653550e986b6f2b99da673f9dc96ad | 1,732 | js | JavaScript | src/components/SiteNav/SiteNav.js | lizbryson/the-halsey-wedding | b6defc16493cd23b81c33cef753aff8bd1759e54 | [
"MIT"
] | null | null | null | src/components/SiteNav/SiteNav.js | lizbryson/the-halsey-wedding | b6defc16493cd23b81c33cef753aff8bd1759e54 | [
"MIT"
] | null | null | null | src/components/SiteNav/SiteNav.js | lizbryson/the-halsey-wedding | b6defc16493cd23b81c33cef753aff8bd1759e54 | [
"MIT"
] | null | null | null | import * as React from "react";
import { Link } from "gatsby";
import Logo from "../../svg/Logo";
import "./SiteNav.css";
import { StaticImage } from "gatsby-plugin-image";
const SiteNav = () => {
return (
<header className="siteHeader">
<div className="siteLogo">
<Logo />
</div>
<nav c... | 27.935484 | 67 | 0.514434 |
7dea6720f89d369918a2ab80182f8b681ea9f055 | 2,315 | js | JavaScript | packages/@lwc/rollup-plugin/src/__tests__/fixtures/expected_default_config_simple_app_css_resolver.js | YamYamYamlFml/lwc | 7c2a7f6b7580f5c5cb4c035cdc4214e12efe8daf | [
"MIT"
] | 1 | 2020-02-11T21:01:50.000Z | 2020-02-11T21:01:50.000Z | packages/@lwc/rollup-plugin/src/__tests__/fixtures/expected_default_config_simple_app_css_resolver.js | YamYamYamlFml/lwc | 7c2a7f6b7580f5c5cb4c035cdc4214e12efe8daf | [
"MIT"
] | 31 | 2020-02-11T14:19:08.000Z | 2022-03-26T04:01:40.000Z | packages/@lwc/rollup-plugin/src/__tests__/fixtures/expected_default_config_simple_app_css_resolver.js | YamYamYamlFml/lwc | 7c2a7f6b7580f5c5cb4c035cdc4214e12efe8daf | [
"MIT"
] | null | null | null | (function(lwc, varResolver) {
'use strict';
varResolver =
varResolver && varResolver.hasOwnProperty("default")
? varResolver["default"]
: varResolver;
function stylesheet(hostSelector, shadowSelector, nativeShadow) {
return (
"\n" +
(nativeShadow
? ":host {colo... | 22.047619 | 79 | 0.52743 |
7dea9886cc908154b545eb4666497373f4543dde | 2,124 | js | JavaScript | style/js/Bloqueos/Bloqueos.js | dilearmo/administracion-cancha | 7d6826ba9348c60b03fb2a599d65cce19ce08c3d | [
"MIT"
] | null | null | null | style/js/Bloqueos/Bloqueos.js | dilearmo/administracion-cancha | 7d6826ba9348c60b03fb2a599d65cce19ce08c3d | [
"MIT"
] | null | null | null | style/js/Bloqueos/Bloqueos.js | dilearmo/administracion-cancha | 7d6826ba9348c60b03fb2a599d65cce19ce08c3d | [
"MIT"
] | null | null | null | /* global $ */
/* global location */
var contador = 0;
$(document).ready(function() {
return llenarPrecios();
});
function llenarPrecios() {
$(function() {
$.ajax({
type: 'GET',
url: 'https://cancha-la-primavera-dilearmo.c9users.io/index.php/WsBloqueo/bloque... | 21.673469 | 183 | 0.464218 |
7dead49617c3e6f560309d224e1e689bc7c91794 | 3,932 | js | JavaScript | src/babel-compile.js | helinjiang/babel-d | 12e05f8702f850f7427416489097c50b93093abb | [
"MIT"
] | null | null | null | src/babel-compile.js | helinjiang/babel-d | 12e05f8702f850f7427416489097c50b93093abb | [
"MIT"
] | 6 | 2017-07-12T01:55:47.000Z | 2018-05-11T12:46:22.000Z | src/babel-compile.js | helinjiang/babel-d | 12e05f8702f850f7427416489097c50b93093abb | [
"MIT"
] | null | null | null | const fs = require('fs');
const path = require('path');
const fse = require('fs-extra');
const fileUtil = require('./file');
//babel not export default property
//so can not use `import babel from 'babel-core'`
const babel = require('babel-core');
let allowFileExt = ['.js'];
/**
* store compiled files last mtime
*... | 22.860465 | 89 | 0.630722 |
7deb60de67c6bfa3d1222b996a4ca2a4d57b2040 | 757 | js | JavaScript | build/es6/faceFeatureExtractor/extractParamsFromWeigthMap.js | fhiguera/face-api.js | 514c0ec2c4191fd177edd5ff5b745ddf30e3cebc | [
"MIT"
] | 11 | 2019-07-08T19:48:34.000Z | 2022-01-04T07:04:23.000Z | build/es6/faceFeatureExtractor/extractParamsFromWeigthMap.js | fhiguera/face-api.js | 514c0ec2c4191fd177edd5ff5b745ddf30e3cebc | [
"MIT"
] | 8 | 2020-07-17T22:47:52.000Z | 2022-03-02T05:01:16.000Z | build/es6/faceFeatureExtractor/extractParamsFromWeigthMap.js | fhiguera/face-api.js | 514c0ec2c4191fd177edd5ff5b745ddf30e3cebc | [
"MIT"
] | 10 | 2019-05-24T18:49:38.000Z | 2021-11-07T14:39:54.000Z | import { TfjsImageRecognitionBase } from 'tfjs-image-recognition-base';
import { loadParamsFactory } from './loadParamsFactory';
export function extractParamsFromWeigthMap(weightMap) {
var paramMappings = [];
var extractDenseBlock4Params = loadParamsFactory(weightMap, paramMappings).extractDenseBlock4Params;
... | 50.466667 | 104 | 0.762219 |
7deb8de33a0029640824ef3518eb478d2f803a72 | 25,550 | js | JavaScript | test/httpClient.test.js | ryhinchey/autocannon | d1fc9eb8cea2f239ea1baddaa9c84e9e2f767fae | [
"MIT"
] | null | null | null | test/httpClient.test.js | ryhinchey/autocannon | d1fc9eb8cea2f239ea1baddaa9c84e9e2f767fae | [
"MIT"
] | null | null | null | test/httpClient.test.js | ryhinchey/autocannon | d1fc9eb8cea2f239ea1baddaa9c84e9e2f767fae | [
"MIT"
] | null | null | null | 'use strict'
const os = require('os')
const http = require('http')
const path = require('path')
const test = require('tap').test
const Client = require('../lib/httpClient')
const helper = require('./helper')
const server = helper.startServer()
const timeoutServer = helper.startTimeoutServer()
const httpsServer = helpe... | 26.476684 | 141 | 0.620548 |
7debfb63df9d06296ec189b1622700a871da4abc | 448 | js | JavaScript | test/helpers/config-test.js | sznowicki/ubbthreads-cherrypick-exporter | b56a70ce04438a49c5646004068425a935c6daab | [
"MIT"
] | null | null | null | test/helpers/config-test.js | sznowicki/ubbthreads-cherrypick-exporter | b56a70ce04438a49c5646004068425a935c6daab | [
"MIT"
] | null | null | null | test/helpers/config-test.js | sznowicki/ubbthreads-cherrypick-exporter | b56a70ce04438a49c5646004068425a935c6daab | [
"MIT"
] | null | null | null | const chai = require('chai');
const should = chai.should();
const config = require('../../app/helpers/config');
describe('Mysql config test', function() {
it('Should give all required properties for mysql', function() {
const keyToCheck = [
'host',
'dbname',
'username',
'password',
... | 24.888889 | 66 | 0.582589 |
7decfd2600c8b14ce870ca875c176de592bb2d87 | 1,422 | js | JavaScript | webpack/webpack.config-dev.js | vitalybe/react-json-view | 5f87710f97e5de686d1785e0eef2d7aef06836a3 | [
"MIT"
] | 2 | 2020-09-04T09:58:12.000Z | 2020-11-16T20:57:26.000Z | webpack/webpack.config-dev.js | vitalybe/react-json-view | 5f87710f97e5de686d1785e0eef2d7aef06836a3 | [
"MIT"
] | 1 | 2021-03-01T04:39:19.000Z | 2021-03-01T04:39:44.000Z | webpack/webpack.config-dev.js | vitalybe/react-json-view | 5f87710f97e5de686d1785e0eef2d7aef06836a3 | [
"MIT"
] | 3 | 2019-11-29T18:10:18.000Z | 2021-03-01T04:32:58.000Z | const path = require("path")
const webpack = require("webpack")
const PATHS = {
src: path.join(__dirname, "..", "src"),
js: path.join(__dirname, "..", "src", "js"),
style: path.join(__dirname, "..", "src", "style"),
build: path.join(__dirname, "..", "dev-server", "dist"),
devServer: path.join(__dirname, ".."... | 20.314286 | 58 | 0.497187 |
7ded079b6aa371c07606f67444b78be90176ddbc | 1,620 | js | JavaScript | server/main.js | danielesteban/blocks-editor-examples | 3ef32cc0aced4e52138fd0d203ac628b5e72f8b8 | [
"MIT"
] | 10 | 2020-10-26T22:08:22.000Z | 2021-11-09T11:41:50.000Z | server/main.js | danielesteban/blocks-editor-examples | 3ef32cc0aced4e52138fd0d203ac628b5e72f8b8 | [
"MIT"
] | null | null | null | server/main.js | danielesteban/blocks-editor-examples | 3ef32cc0aced4e52138fd0d203ac628b5e72f8b8 | [
"MIT"
] | 1 | 2021-06-05T07:14:19.000Z | 2021-06-05T07:14:19.000Z | const cors = require('cors');
const express = require('express');
const expressWS = require('express-ws');
const helmet = require('helmet');
const nocache = require('nocache');
const Game = require('./game');
const Room = require('./room');
const allowedOrigins = process.env.ALLOWED_ORIGINS ? process.env.ALLOWED_ORIGI... | 26.557377 | 100 | 0.612963 |
7ded8e24bac1d6270858ef5813bb5d07b46a9918 | 16,805 | js | JavaScript | pyfiddleproj/pyfiddleweb/static/js/main.js | priyankcommits/pyfiddleio | e54713e97cb65dd20989d971f9507d346f32972f | [
"MIT"
] | 29 | 2017-07-13T14:30:19.000Z | 2021-11-08T23:55:58.000Z | pyfiddleproj/pyfiddleweb/static/js/main.js | priyankcommits/pyfiddleio | e54713e97cb65dd20989d971f9507d346f32972f | [
"MIT"
] | 5 | 2018-06-14T17:02:36.000Z | 2021-06-10T19:58:45.000Z | pyfiddleproj/static/js/main.js | priyankcommits/pyfiddleio | e54713e97cb65dd20989d971f9507d346f32972f | [
"MIT"
] | 12 | 2018-03-07T19:49:02.000Z | 2022-02-11T14:11:46.000Z | var height = $(window).height();
var width = $(window).width();
var loader = $('#loader-div');
var spinner = $('#spinner-div');
var canRun = true;
var canReset = true;
var canSave = true;
var canShowNotification = true;
var editor;
var date = new Date();
/* pre ajax call setup */
var csrftoken = $.cookie('csrftoken');... | 30.948435 | 157 | 0.524308 |
7dee62cb801784dd2aa95c56b27e8321bee68bf0 | 1,013 | js | JavaScript | packages/Dashboard/lib/routers/api/chat.js | glkwhr/Server | 12fcdb23d710ca0fb6e6fae5814101c525ff65ce | [
"MIT"
] | 14 | 2020-04-08T16:01:13.000Z | 2021-07-10T02:25:42.000Z | packages/Dashboard/lib/routers/api/chat.js | glkwhr/Server | 12fcdb23d710ca0fb6e6fae5814101c525ff65ce | [
"MIT"
] | 23 | 2019-11-29T01:57:01.000Z | 2022-01-15T16:14:32.000Z | packages/Dashboard/lib/routers/api/chat.js | glkwhr/Server | 12fcdb23d710ca0fb6e6fae5814101c525ff65ce | [
"MIT"
] | 10 | 2019-10-12T11:15:30.000Z | 2022-01-22T11:29:51.000Z | const Router = require('koa-router');
const router = new Router();
const isUUID = require('is-uuid');
router.post('/_save', async (ctx, next) => {
// ctx.router available
await ctx.trpgapp.chat.saveChatLogAsync();
ctx.body = {
result: true,
};
});
router.get('/_log', async (ctx, next) => {
let { page, l... | 23.55814 | 68 | 0.619941 |
7def371d0a377134243f9361caa11b98d23b43a7 | 9,695 | js | JavaScript | test/server.js | uber/multitransport-jsonrpc | 8ad9bdb8121d872fc41f139cc411e77df2603489 | [
"MIT",
"Unlicense"
] | 79 | 2015-01-06T20:17:13.000Z | 2017-09-24T02:48:13.000Z | test/server.js | uber-archive/multitransport-jsonrpc | 8ad9bdb8121d872fc41f139cc411e77df2603489 | [
"MIT",
"Unlicense"
] | 18 | 2015-01-07T01:27:03.000Z | 2017-09-15T20:24:35.000Z | test/server.js | uber/multitransport-jsonrpc | 8ad9bdb8121d872fc41f139cc411e77df2603489 | [
"MIT",
"Unlicense"
] | 19 | 2015-02-26T08:52:26.000Z | 2017-09-18T03:32:44.000Z | var jsonrpc = require('../lib/index');
var HttpTransport = jsonrpc.transports.server.http;
var TcpTransport = jsonrpc.transports.server.tcp;
var shared = require('../lib/transports/shared/tcp');
var JSONRPCserver = jsonrpc.server;
var ErrorCode = jsonrpc.errorcode;
var http = require('http');
var net = require('net');
... | 35.254545 | 148 | 0.539969 |
7df01bea3650be35811fe8152b131db730e2ffec | 65,082 | js | JavaScript | server.js | dibend/blast_web_server | 2f7d4e118ff38b00248c50ee8f2643ab89e6ed30 | [
"Apache-2.0"
] | null | null | null | server.js | dibend/blast_web_server | 2f7d4e118ff38b00248c50ee8f2643ab89e6ed30 | [
"Apache-2.0"
] | null | null | null | server.js | dibend/blast_web_server | 2f7d4e118ff38b00248c50ee8f2643ab89e6ed30 | [
"Apache-2.0"
] | null | null | null | 'use strict';
var fs = require('fs');
var express = require('express');
var cors = require('cors');
var http = require('http');
var https = require('https');
var compression = require('compression');
var path = require('path');
var crypto = require('crypto');
var emailValidator = require('email-validator');
var nodemai... | 33.307062 | 269 | 0.660613 |
7df0793054e6f285563b612a684569cb4c6e75af | 544 | js | JavaScript | test/test_doxylua.js | dreamlover/DoxyLua | 9969f10396fe0671755cff087e68557c6eec4a1e | [
"MIT"
] | 2 | 2018-04-19T10:05:24.000Z | 2020-09-22T03:51:35.000Z | test/test_doxylua.js | dreamlover/DoxyLua | 9969f10396fe0671755cff087e68557c6eec4a1e | [
"MIT"
] | null | null | null | test/test_doxylua.js | dreamlover/DoxyLua | 9969f10396fe0671755cff087e68557c6eec4a1e | [
"MIT"
] | null | null | null |
process.chdir('./test');
var doxylua = require('../lib/doxylua.js'),
fs = require('fs');
function _runTest(test, file) {
test.equal(
doxylua(file + '.lua'),
fs.readFileSync(file + '.h').toString().replace(/(\r\n|\r|\n)/g, '\n'),
file);
}
exports['runAllTests'] = funct... | 24.727273 | 80 | 0.494485 |
7df1302387574da3d39b51d51811a1347a4d2db7 | 221 | js | JavaScript | src/test.js | CrystalAngelLee/vue-webpack-demo | 0467095fd822ea9b50808f22a84272d225f0f372 | [
"MIT"
] | null | null | null | src/test.js | CrystalAngelLee/vue-webpack-demo | 0467095fd822ea9b50808f22a84272d225f0f372 | [
"MIT"
] | null | null | null | src/test.js | CrystalAngelLee/vue-webpack-demo | 0467095fd822ea9b50808f22a84272d225f0f372 | [
"MIT"
] | null | null | null | export default () => {
const element = document.createElement("h2");
element.textContent = "Hello world";
element.addEventListener("click", () => {
alert("Hello webpack");
});
return element;
};
| 20.090909 | 48 | 0.606335 |
7df172133421b60e6d55a213ac1db4e641f278af | 159 | js | JavaScript | app/components/FormItem/index.js | ricsam/firestore-search | ce441a0cf5d7e5f4c24675683d8e20d17e4418e9 | [
"MIT"
] | null | null | null | app/components/FormItem/index.js | ricsam/firestore-search | ce441a0cf5d7e5f4c24675683d8e20d17e4418e9 | [
"MIT"
] | null | null | null | app/components/FormItem/index.js | ricsam/firestore-search | ce441a0cf5d7e5f4c24675683d8e20d17e4418e9 | [
"MIT"
] | null | null | null | /**
*
* FormItem
*
*/
export default `
border: 1px solid black;
padding: 0.5rem 0.25rem;
background-color: white;
margin: 0.15rem 0.15rem;
`;
| 12.230769 | 28 | 0.603774 |
7df298de3459dbacf8c779a502356c50c744aa74 | 704 | js | JavaScript | mobile/common-mobile/common/code-help/create-user/create-user-dotnet.js | Granjow/bullet-train-frontend | 92552b359c93031f139b085fdaae87e965317909 | [
"BSD-3-Clause"
] | null | null | null | mobile/common-mobile/common/code-help/create-user/create-user-dotnet.js | Granjow/bullet-train-frontend | 92552b359c93031f139b085fdaae87e965317909 | [
"BSD-3-Clause"
] | null | null | null | mobile/common-mobile/common/code-help/create-user/create-user-dotnet.js | Granjow/bullet-train-frontend | 92552b359c93031f139b085fdaae87e965317909 | [
"BSD-3-Clause"
] | 1 | 2020-07-31T15:01:56.000Z | 2020-07-31T15:01:56.000Z | module.exports = (envId, {LIB_NAME, USER_ID, LIB_NAME_JAVA, FEATURE_NAME, FEATURE_FUNCTION, FEATURE_NAME_ALT, FEATURE_NAME_ALT_VALUE, NPM_CLIENT}, userId) => {
return `${LIB_NAME_JAVA} ${LIB_NAME} = new ${LIB_NAME_JAVA}() {
environmentKey = "${envId}"
};
bool featureEnabled = await ${LIB_NAME}.HasFeatureFlag("... | 33.52381 | 159 | 0.700284 |
7df2e4429c557c9ffe37e45bffb7d76dacdbde0c | 1,927 | js | JavaScript | User/UserController.js | wangming-0215/learn-jwt | 6c2643f35a8f7fbca47dff26f204e3f5b1734f38 | [
"MIT"
] | null | null | null | User/UserController.js | wangming-0215/learn-jwt | 6c2643f35a8f7fbca47dff26f204e3f5b1734f38 | [
"MIT"
] | null | null | null | User/UserController.js | wangming-0215/learn-jwt | 6c2643f35a8f7fbca47dff26f204e3f5b1734f38 | [
"MIT"
] | null | null | null | const router = require('express').Router();
const bcrypt = require('bcryptjs');
const User = require('./User');
// 创建一个用户
router.post('/create', (req, res) => {
const { username, password = '123456' } = req.body;
const hashedPwd = bcrypt.hashSync(password, 8);
User.create({ name: username, password: hashedPwd }... | 26.763889 | 80 | 0.582252 |
7df2f86d448f2f9a4da31d92e89b06a391147acf | 988 | js | JavaScript | src/modules/knowledgeBase/components/category/CategoryList.js | wsmd/erxes | f206adeb1b7342b8b38d975d5c0f6b7892b083be | [
"MIT"
] | 1 | 2018-08-14T03:06:07.000Z | 2018-08-14T03:06:07.000Z | src/modules/knowledgeBase/components/category/CategoryList.js | Togtuunbayar/erxes | 4f30588238eb72e604b4fe782efa0b06996dc24a | [
"MIT"
] | null | null | null | src/modules/knowledgeBase/components/category/CategoryList.js | Togtuunbayar/erxes | 4f30588238eb72e604b4fe782efa0b06996dc24a | [
"MIT"
] | null | null | null | import React, { Component } from 'react';
import PropTypes from 'prop-types';
import { CategoryRow } from './';
import { Categories } from './styles';
const propTypes = {
currentCategoryId: PropTypes.string,
topicIds: PropTypes.string,
categories: PropTypes.array.isRequired,
articlesCount: PropTypes.number.isR... | 22.454545 | 57 | 0.621457 |
7df2f98b34cb53285feed984ea77505df45fd823 | 7,989 | js | JavaScript | specialpurpose/ofbiztools/deploysystem/config1/themes/ofcbusiness/webapp/ofcbusiness/js/application.js | wolfer0515/quzou | 67a383bd0fb1fff714000394f7b7e6734a9adffa | [
"Apache-2.0"
] | 1 | 2019-01-02T10:00:36.000Z | 2019-01-02T10:00:36.000Z | specialpurpose/ofbiztools/deploysystem/config1/themes/ofcbusiness/webapp/ofcbusiness/js/application.js | wolfer0515/quzou | 67a383bd0fb1fff714000394f7b7e6734a9adffa | [
"Apache-2.0"
] | 1 | 2020-11-16T09:17:39.000Z | 2020-11-16T09:17:39.000Z | specialpurpose/ofbiztools/deploysystem/config1/themes/ofcbusiness/webapp/ofcbusiness/js/application.js | wolfer0515/quzou | 67a383bd0fb1fff714000394f7b7e6734a9adffa | [
"Apache-2.0"
] | 3 | 2017-03-25T12:51:21.000Z | 2020-11-16T09:14:03.000Z | /***********************************************
APACHE OPEN FOR BUSINESS
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under ... | 36.646789 | 127 | 0.556515 |
7df320349ec275bef0c5c565280bb9dfa39b0780 | 5,874 | js | JavaScript | dist/node/index.js | alexboisselle-rd/json-url | 73461dcd22227f64fd5565e68ad103c53af35bd2 | [
"MIT"
] | null | null | null | dist/node/index.js | alexboisselle-rd/json-url | 73461dcd22227f64fd5565e68ad103c53af35bd2 | [
"MIT"
] | null | null | null | dist/node/index.js | alexboisselle-rd/json-url | 73461dcd22227f64fd5565e68ad103c53af35bd2 | [
"MIT"
] | null | null | null | "use strict";
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
Object.defineProperty(exports, "__esModule", {
value: true
});
exports["default"] = createClient;
var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator"));
var _asyncToGenerator2 = _interopR... | 27.971429 | 132 | 0.537964 |
7df3967d22d4c8fca144b224f71d42c6a6f57f11 | 1,653 | js | JavaScript | lib/cinema.js | imperodesign/impero-movie-uk | 6b24cc737d526b4d65414739c1a9c92b45b1167e | [
"MIT"
] | null | null | null | lib/cinema.js | imperodesign/impero-movie-uk | 6b24cc737d526b4d65414739c1a9c92b45b1167e | [
"MIT"
] | null | null | null | lib/cinema.js | imperodesign/impero-movie-uk | 6b24cc737d526b4d65414739c1a9c92b45b1167e | [
"MIT"
] | null | null | null | 'use strict'
const request = require('request')
function createHttpError (msg, body) {
const httpErr = new Error(msg)
httpErr.code = 'HTTP_ERROR'
httpErr.body = body
return httpErr
}
module.exports = {
findByPostcode (postcode) {
return new Promise((resolve, reject) => {
const apiBaseUrl = proces... | 33.06 | 103 | 0.61464 |
7df3c9d659c76e74629f2b571f8f8139bb3d4341 | 205 | js | JavaScript | 04/js/app.js | liuxuanhai/react-book-examples | 6b44ffc3d71aad8fbf014800a7961b8014b0c7f7 | [
"MIT"
] | 811 | 2016-10-08T02:39:28.000Z | 2022-03-31T11:32:55.000Z | 04/js/app.js | 470043830/react-book-examples | 7e98506b07b839a1f131eae97ec4ad7848c71b3d | [
"MIT"
] | 49 | 2016-11-21T13:24:32.000Z | 2021-04-20T03:40:56.000Z | 04/js/app.js | 470043830/react-book-examples | 7e98506b07b839a1f131eae97ec4ad7848c71b3d | [
"MIT"
] | 347 | 2016-11-20T12:43:54.000Z | 2021-12-27T14:13:38.000Z | import ReactDOM from 'react-dom';
import React from 'react';
import CommentBox from './components/CommentBox';
import '../css/style.css';
ReactDOM.render(<CommentBox />, document.getElementById('root'));
| 29.285714 | 65 | 0.746341 |
7df3f1dfabbeed83ec99bc756fb3b5134cba6de1 | 2,634 | js | JavaScript | src-cordova/www/js/3.cf18f3021ea4b2e2b82a.js | maxprog/ckpe-songbook | dd7b0c895b880af1d1d44b7a58c2310c9bcd8790 | [
"MIT"
] | null | null | null | src-cordova/www/js/3.cf18f3021ea4b2e2b82a.js | maxprog/ckpe-songbook | dd7b0c895b880af1d1d44b7a58c2310c9bcd8790 | [
"MIT"
] | null | null | null | src-cordova/www/js/3.cf18f3021ea4b2e2b82a.js | maxprog/ckpe-songbook | dd7b0c895b880af1d1d44b7a58c2310c9bcd8790 | [
"MIT"
] | null | null | null | webpackJsonp([3],{EIwa:function(t,a,n){(t.exports=n("lcwS")(!1)).push([t.i,"\n.page-showcase img {\n width: 100px;\n height: 100px;\n margin-bottom: 15px;\n}\n.page-showcase .showcase-top {\n margin-bottom: 35px;\n}\n.page-showcase .showcase-top .q-alert {\n max-width: 500px;\n}\n.page-showcase .card {\n cursor: ... | 2,634 | 2,634 | 0.656416 |
7df3f2937bbe0e458c9d7ed0c27bbef57be4a9b4 | 884 | js | JavaScript | test/ImprovedProcessor.js | ShipyardDAO/exam_processor | 995d8650640b3cf6df0620b8a4dbadf26c4eab94 | [
"MIT"
] | null | null | null | test/ImprovedProcessor.js | ShipyardDAO/exam_processor | 995d8650640b3cf6df0620b8a4dbadf26c4eab94 | [
"MIT"
] | null | null | null | test/ImprovedProcessor.js | ShipyardDAO/exam_processor | 995d8650640b3cf6df0620b8a4dbadf26c4eab94 | [
"MIT"
] | null | null | null | const { expect } = require("chai")
const examResults = require("../test/examResults.json")
describe("ImprovedProcessor contract", function () {
const numTestRepetitions = 10;
beforeEach(async function () {
improvedProcessorFactory = await ethers.getContractFactory("ImprovedProcessor")
improvedProcessor... | 36.833333 | 86 | 0.728507 |
7df412f2828a091baeca45cea84b0be42e2af1d8 | 829 | js | JavaScript | sitemap-builder.js | rahmankhalid/khal.dev-Website | dcd8086f83e85e8fb05e110856de219c9c7e2458 | [
"MIT"
] | null | null | null | sitemap-builder.js | rahmankhalid/khal.dev-Website | dcd8086f83e85e8fb05e110856de219c9c7e2458 | [
"MIT"
] | null | null | null | sitemap-builder.js | rahmankhalid/khal.dev-Website | dcd8086f83e85e8fb05e110856de219c9c7e2458 | [
"MIT"
] | null | null | null | require("@babel/register")({
presets: ["@babel/preset-env", "@babel/preset-react"],
plugins: [
[
require.resolve('babel-plugin-module-resolver'),
{
root: ["./src/"],
}
]
]
});
const router = require('./src/App').default;
const Sit... | 21.815789 | 60 | 0.466828 |
7df4b4e2537dbec3f43330e63ca9ad548c7718ea | 16,345 | js | JavaScript | packages/atom-ide-ui/modules/atom-ide-ui/pkg/atom-ide-diagnostics-ui/lib/ui/DiagnosticsTable.js | reactjsguru/atom-settings | da494561aa20ef1ddfaa557b6eba8af6e57deb8c | [
"MIT"
] | null | null | null | packages/atom-ide-ui/modules/atom-ide-ui/pkg/atom-ide-diagnostics-ui/lib/ui/DiagnosticsTable.js | reactjsguru/atom-settings | da494561aa20ef1ddfaa557b6eba8af6e57deb8c | [
"MIT"
] | null | null | null | packages/atom-ide-ui/modules/atom-ide-ui/pkg/atom-ide-diagnostics-ui/lib/ui/DiagnosticsTable.js | reactjsguru/atom-settings | da494561aa20ef1ddfaa557b6eba8af6e57deb8c | [
"MIT"
] | null | null | null | 'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _classnames;
function _load_classnames() {
return _classnames = _interopRequireDefault(require('classnames'));
}
var _idx;
function _load_idx() {
return _idx = _interopRequireDefault(require('idx'));
}
var _memoizeUntilChanged;... | 30.551402 | 288 | 0.632976 |
7df57a2521902986c2cf746b0f10e7515b24f51d | 422 | js | JavaScript | src/js/lib/eadmin.tag.js | finove/eadmin | 3bd5d720d06680319669bb0d2f002e6d3052a1a5 | [
"MIT"
] | 1 | 2022-01-17T04:01:51.000Z | 2022-01-17T04:01:51.000Z | src/js/lib/eadmin.tag.js | finove/eadmin | 3bd5d720d06680319669bb0d2f002e6d3052a1a5 | [
"MIT"
] | null | null | null | src/js/lib/eadmin.tag.js | finove/eadmin | 3bd5d720d06680319669bb0d2f002e6d3052a1a5 | [
"MIT"
] | null | null | null | /**
* eadmin 标签组件
*/
class Tag{
static run(dom = null){
dom = dom == null ? body : $(dom);
let tag = dom.find('[data-tag]');
if (tag.length == 0) return;
tag.each(function(){
let [_this, v] = [$(this), {
html : ''
}];
v.tag = _.words(_this.data('tag'));
_.each(v.tag, (val, key) => {
v.... | 18.347826 | 65 | 0.485782 |
7df5813692428bdf194e3410de4d1fd77e52085a | 94,706 | js | JavaScript | images.js | adnan-i/cue-combine | 5afa7201019ec5d1ca1c8461777685e95476559d | [
"MIT"
] | null | null | null | images.js | adnan-i/cue-combine | 5afa7201019ec5d1ca1c8461777685e95476559d | [
"MIT"
] | null | null | null | images.js | adnan-i/cue-combine | 5afa7201019ec5d1ca1c8461777685e95476559d | [
"MIT"
] | null | null | null | module.exports = [
'http://vail.net/sites/vail.net/files/website/559EagleDr.jpg',
'http://blog.paradizo.com/wp-content/uploads/2010/09/rocky-mountain-vacation-rentals-colorado.jpg',
'http://virtualcities.com/vacation/co/t/cot5hv1b.jpg',
'http://www.riverridgerentals.com/images/sm/799/220-Timbertrail-Breckenridg... | 95.469758 | 517 | 0.798492 |
7df5e6d236809512525c285005a663e7c3bd890f | 3,232 | js | JavaScript | src/screens/UserEntry.js | MeanBoyCousin/beer-compare | de03bb33598895204623cc09a7b7646167e40be5 | [
"MIT"
] | null | null | null | src/screens/UserEntry.js | MeanBoyCousin/beer-compare | de03bb33598895204623cc09a7b7646167e40be5 | [
"MIT"
] | null | null | null | src/screens/UserEntry.js | MeanBoyCousin/beer-compare | de03bb33598895204623cc09a7b7646167e40be5 | [
"MIT"
] | null | null | null | import React, { useState } from 'react'
import { motion, AnimatePresence } from 'framer-motion'
import { Link } from 'react-router-dom'
import { container } from '../motion/variants'
import { BeerEntryCard } from '../components/UserEntry/BeerEntryCard'
const UserEntry = ({ drinksState: { drinks, setDrinks }, lightMod... | 35.911111 | 90 | 0.393255 |
7df6545877476d0b4941539e550f56d24661e60e | 479 | js | JavaScript | doczrc.js | vikasmagar512/react-structured-query-search-with-suggestions | d3d27e07775c756ca0b6c0a398ee8bb8a7cf2d22 | [
"MIT"
] | null | null | null | doczrc.js | vikasmagar512/react-structured-query-search-with-suggestions | d3d27e07775c756ca0b6c0a398ee8bb8a7cf2d22 | [
"MIT"
] | null | null | null | doczrc.js | vikasmagar512/react-structured-query-search-with-suggestions | d3d27e07775c756ca0b6c0a398ee8bb8a7cf2d22 | [
"MIT"
] | null | null | null | module.exports = {
title: "React Structured Query Search With Suggestions",
themeConfig: {
showPlaygroundEditor: true
},
base: "/react-structured-query-search-with-suggestions/",
menu: ["Introduction", "Getting Started", "Props"],
onCreateWebpackChain: (config) => {
// Allow CSS imports
config.module
.r... | 23.95 | 58 | 0.63048 |