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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
8eecefa54246992c384c489ee006933f39e53fe7 | 242 | js | JavaScript | a03/src/medium/data/stats_helpers.js | adamalston/comp426 | 0de9ee1fe104f89607be398c11d42d4a5acc774e | [
"MIT"
] | null | null | null | a03/src/medium/data/stats_helpers.js | adamalston/comp426 | 0de9ee1fe104f89607be398c11d42d4a5acc774e | [
"MIT"
] | null | null | null | a03/src/medium/data/stats_helpers.js | adamalston/comp426 | 0de9ee1fe104f89607be398c11d42d4a5acc774e | [
"MIT"
] | null | null | null | export function variance(array, mean) {
return array.map(function (sample) {
return Math.pow(mean - sample, 2);
})
.reduce(function sum(m, v) {
m += v;
return m;
}, 0) / array.length;
}
| 24.2 | 42 | 0.508264 |
8eee5c2a1b9124a7d24ce391110ca56ccf888cae | 1,349 | js | JavaScript | Jeeel/String/Hash/Base64/Encode.js | DonutsNeJp/Jeeel | bd793d81b396a487561675c046e6e7efddb29f79 | [
"MIT-0",
"MIT"
] | 1 | 2020-06-01T21:58:10.000Z | 2020-06-01T21:58:10.000Z | Jeeel/String/Hash/Base64/Encode.js | DonutsNeJp/Jeeel | bd793d81b396a487561675c046e6e7efddb29f79 | [
"MIT-0",
"MIT"
] | null | null | null | Jeeel/String/Hash/Base64/Encode.js | DonutsNeJp/Jeeel | bd793d81b396a487561675c046e6e7efddb29f79 | [
"MIT-0",
"MIT"
] | null | null | null |
/**
* 指定した文字列に対してbsse64エンコードを行う
*
* @param {String} str エンコード対象文字列
* @return {String} bsse64文字列
*/
Jeeel.String.Hash.Base64.encode = function (str) {
str = '' + str;
var out, i, len;
var c1, c2, c3;
len = str.length;
i = 0;
out = [];
while(i < len) {
c1 = str.c... | 27.530612 | 94 | 0.475908 |
8eef41926f414c4a8f8896d430511f04b480a57b | 5,900 | js | JavaScript | js/controllers/videoTexture.js | googlevr/tabel | 845ebcea4fb745c5d329b164fa4678cf3bab5748 | [
"Apache-2.0"
] | null | null | null | js/controllers/videoTexture.js | googlevr/tabel | 845ebcea4fb745c5d329b164fa4678cf3bab5748 | [
"Apache-2.0"
] | null | null | null | js/controllers/videoTexture.js | googlevr/tabel | 845ebcea4fb745c5d329b164fa4678cf3bab5748 | [
"Apache-2.0"
] | 2 | 2018-04-19T11:29:04.000Z | 2022-01-13T11:23:48.000Z | /**
* Copyright 2016 Google Inc. 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 applic... | 23.694779 | 90 | 0.571186 |
8eefef530db7f4b9497d404bf94b6e962da74b7e | 2,503 | js | JavaScript | src/integration.js | rreusser/spacetime.js | 7388039094051ff0a485ed0923d81acef2246f99 | [
"MIT"
] | 13 | 2015-04-24T19:30:17.000Z | 2017-04-21T02:55:32.000Z | src/integration.js | rreusser/spacetime.js | 7388039094051ff0a485ed0923d81acef2246f99 | [
"MIT"
] | 1 | 2015-04-25T02:26:28.000Z | 2016-02-04T19:24:29.000Z | src/integration.js | rreusser/spacetime.js | 7388039094051ff0a485ed0923d81acef2246f99 | [
"MIT"
] | null | null | null | window.Spacetime = window.Spacetime || {};
window.Spacetime.Integration = (function(Spacetime, Math) {
'use strict';
var FunctionIntegrators = {
trapezoidal: function() {
var h = this.h;
var sum = 0;
sum += this.f(this.a,this.data) * 0.5;
sum += this.f(this.b,this.data) * 0.5;
fo... | 25.03 | 111 | 0.570515 |
8ef01608eec60d1b3d076e63c1ee8ee2f7f8926e | 3,762 | js | JavaScript | client/src/containers/requester/Packs.js | knagware9/sawtooth-next-directory | be80852e08d2b27e105d964c727509f2a974002d | [
"Apache-2.0"
] | null | null | null | client/src/containers/requester/Packs.js | knagware9/sawtooth-next-directory | be80852e08d2b27e105d964c727509f2a974002d | [
"Apache-2.0"
] | null | null | null | client/src/containers/requester/Packs.js | knagware9/sawtooth-next-directory | be80852e08d2b27e105d964c727509f2a974002d | [
"Apache-2.0"
] | 1 | 2018-12-07T10:55:08.000Z | 2018-12-07T10:55:08.000Z | /* Copyright 2018 Contributors to Hyperledger Sawtooth
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... | 27.26087 | 80 | 0.605529 |
8ef1ba8060cba3b8da9c2c46ee3e05dc3efb9ed5 | 496 | js | JavaScript | frontend/src/components/assortment/LabelList.js | StichtingIAPC/swipe | d1ea35a40813d2d5e9cf9edde33148c0a825efc4 | [
"BSD-3-Clause-Clear"
] | null | null | null | frontend/src/components/assortment/LabelList.js | StichtingIAPC/swipe | d1ea35a40813d2d5e9cf9edde33148c0a825efc4 | [
"BSD-3-Clause-Clear"
] | null | null | null | frontend/src/components/assortment/LabelList.js | StichtingIAPC/swipe | d1ea35a40813d2d5e9cf9edde33148c0a825efc4 | [
"BSD-3-Clause-Clear"
] | null | null | null | import React from 'react';
import AssortmentLabel from './AssortmentLabel';
export default function LabelList({ labels, insert, ...rest }) {
const Insert = insert;
return <div {...rest}>
{[].concat(Object.entries(labels).map(([ ltID, values ]) =>
values.map(
lValue => (
<AssortmentLabel key={`${ltID}-... | 26.105263 | 95 | 0.622984 |
8ef293a12e9d2d899c2eab89cd29faf063c0898d | 631 | js | JavaScript | packages/hoc/src/withWhiteSpace/index.js | wjmcg/govuk-react | 09a08d91a0fa17f93a760b4f5bd1e85333d9107b | [
"MIT"
] | 1 | 2021-01-28T08:29:57.000Z | 2021-01-28T08:29:57.000Z | packages/hoc/src/withWhiteSpace/index.js | wjmcg/govuk-react | 09a08d91a0fa17f93a760b4f5bd1e85333d9107b | [
"MIT"
] | null | null | null | packages/hoc/src/withWhiteSpace/index.js | wjmcg/govuk-react | 09a08d91a0fa17f93a760b4f5bd1e85333d9107b | [
"MIT"
] | null | null | null | import styled from 'styled-components';
import { spacing } from '@govuk-react/lib';
import deprecate from '../deprecate';
// NB withWhiteSpace HOC is DEPRECATED
// Please use `spacing.withWhiteSpace(config)` instead in styled components
const withWhiteSpace = config => Component => {
const StyledHoc = styled(
... | 25.24 | 110 | 0.719493 |
8ef2ea198e43ab874386438ef77da4531038e3b8 | 1,024 | js | JavaScript | resources/js/components/ShowBerita.js | Abanx/websitebankaceh | 3e4cb5f15aab462975eb99e73a9c6f5121a7ea93 | [
"MIT"
] | null | null | null | resources/js/components/ShowBerita.js | Abanx/websitebankaceh | 3e4cb5f15aab462975eb99e73a9c6f5121a7ea93 | [
"MIT"
] | null | null | null | resources/js/components/ShowBerita.js | Abanx/websitebankaceh | 3e4cb5f15aab462975eb99e73a9c6f5121a7ea93 | [
"MIT"
] | null | null | null | import React from 'react';
import ReactDOM from 'react-dom';
import {Button, CssBaseline, Grid, makeStyles} from '@material-ui/core';
import Navbar from './include/Navbar';
import Footer from './include/Footer';
import BeritaPage from './berita/BeritaPage';
export default function ShowBerita(props) {
const useStyl... | 28.444444 | 80 | 0.553711 |
8ef31cf4382aa940beb377f471bd72613f2eedfd | 549 | js | JavaScript | react/router-demo/src/component/nav.js | liushuiyuan001/learn-vue | 16da252e140b39d0c86c6f41a52612520ed7204d | [
"MIT"
] | null | null | null | react/router-demo/src/component/nav.js | liushuiyuan001/learn-vue | 16da252e140b39d0c86c6f41a52612520ed7204d | [
"MIT"
] | null | null | null | react/router-demo/src/component/nav.js | liushuiyuan001/learn-vue | 16da252e140b39d0c86c6f41a52612520ed7204d | [
"MIT"
] | null | null | null | import React, { Fragment } from 'react'
import { navs } from '../router/router'
import { NavLink, useLocation } from 'react-router-dom'
export default function Nav() {
let { pathname } = useLocation()
return (
<div>
<span>|</span>
{
navs.map(item => {
return <Fragment key={item.to}>
<NavLink
... | 20.333333 | 55 | 0.544627 |
8ef656952c9190631d8ff55b921f7a2ea444239f | 759 | js | JavaScript | addon/-private/functions.js | sandstrom/ember-could-get-used-to-this | bae59452ee8ee867107bcf4f0d73605a0dc3ff3c | [
"MIT"
] | 39 | 2020-10-26T02:42:25.000Z | 2021-09-15T23:11:59.000Z | addon/-private/functions.js | pzuraq/ember-resource | 1a387e9034810074aa244747b31cc5435a5871ef | [
"MIT"
] | 27 | 2020-10-29T04:46:35.000Z | 2021-10-02T22:00:50.000Z | addon/-private/functions.js | pzuraq/ember-resource | 1a387e9034810074aa244747b31cc5435a5871ef | [
"MIT"
] | 7 | 2020-10-27T16:32:18.000Z | 2021-06-11T00:28:10.000Z | import {
setHelperManager,
capabilities as helperCapabilities,
} from '@ember/helper';
import { assert } from '@ember/debug';
class FunctionalHelperManager {
capabilities = helperCapabilities('3.23', {
hasValue: true,
});
createHelper(fn, args) {
return { fn, args };
}
getValue({ fn, args }) {
... | 23 | 124 | 0.674572 |
8efa6c1f1a3177781fa4c02ffcb3ce2c24ff3c3f | 3,381 | js | JavaScript | lambda/handlers/StartGameIntentHandler.js | dadeke/alexa-skill-jogo-tabuada | 367c2b25a681072231a694f63e0cf73044e1c5fe | [
"MIT"
] | 6 | 2019-10-27T16:44:09.000Z | 2020-06-16T21:18:13.000Z | lambda/handlers/StartGameIntentHandler.js | dadeke/alexa-skill-jogo-tabuada | 367c2b25a681072231a694f63e0cf73044e1c5fe | [
"MIT"
] | null | null | null | lambda/handlers/StartGameIntentHandler.js | dadeke/alexa-skill-jogo-tabuada | 367c2b25a681072231a694f63e0cf73044e1c5fe | [
"MIT"
] | 1 | 2020-07-14T17:42:44.000Z | 2020-07-14T17:42:44.000Z | const Alexa = require('ask-sdk-core');
const { speaks, b200ms, cardLineBreak } = require('../speakStrings');
const SetAnswerIntentHandler = require('./SetAnswerIntentHandler');
const NoUnderstand = require('../responses/NoUnderstandResponse');
const StartGameIntentHandler = {
canHandle(handlerInput) {
return (... | 31.018349 | 79 | 0.642709 |
8efb19b2c50dd7276b3c58db7bf90a0be672686f | 556 | js | JavaScript | src/node_modules/elasticsearch/aggs/nested.todo.js | nestauk/dapsboard | e36737c2610cf899162bfa379132e7728239d6ab | [
"MIT"
] | 1 | 2020-05-27T09:03:41.000Z | 2020-05-27T09:03:41.000Z | src/node_modules/elasticsearch/aggs/nested.todo.js | nestauk/dapsboard | e36737c2610cf899162bfa379132e7728239d6ab | [
"MIT"
] | 155 | 2020-05-12T16:03:38.000Z | 2021-02-23T19:32:07.000Z | src/node_modules/elasticsearch/aggs/nested.todo.js | nestauk/dapsboard | e36737c2610cf899162bfa379132e7728239d6ab | [
"MIT"
] | 2 | 2020-05-19T03:14:43.000Z | 2020-05-19T03:17:49.000Z | import {esSearchableField} from 'elasticsearch/aggs/ref/typeGroups';
import {string} from 'types';
export default {
id: 'nested',
availability: {
from: '1.3'
},
docPath: '/search-aggregations-bucket-nested-aggregation.html',
docs: 'A special single bucket aggregation that enables aggregating nested documents.',... | 25.272727 | 88 | 0.71223 |
8efc19614487a65c3040a7bfdb06bd456b133880 | 315 | js | JavaScript | js-test-suite/testsuite/b6de5dbf7527ab7bcceca25fd43fbc7b.js | hao-wang/Montage | d1c98ec7dbe20d0449f0d02694930cf1f69a5cea | [
"MIT"
] | 16 | 2020-03-23T12:53:10.000Z | 2021-10-11T02:31:50.000Z | js-test-suite/testsuite/b6de5dbf7527ab7bcceca25fd43fbc7b.js | hao-wang/Montage | d1c98ec7dbe20d0449f0d02694930cf1f69a5cea | [
"MIT"
] | null | null | null | js-test-suite/testsuite/b6de5dbf7527ab7bcceca25fd43fbc7b.js | hao-wang/Montage | d1c98ec7dbe20d0449f0d02694930cf1f69a5cea | [
"MIT"
] | 1 | 2020-08-17T14:06:59.000Z | 2020-08-17T14:06:59.000Z | load("201224b0d1c296b45befd2285e95dd42.js");
// |jit-test| --ion-eager
load("19d7bc83becec11ee32c3a85fbc4d93d.js");
[1, "", true, Symbol(), undefined].forEach(props => {
assertEq(Object.getPrototypeOf(Object.create(null, props)), null);
});
assertThrowsInstanceOf(() => Object.create(null, null), TypeError);
| 31.5 | 70 | 0.720635 |
8efe84d64647d06fcf63782f59e01c563bca1468 | 277 | js | JavaScript | src/store/reducers/activeProduct.js | NashatAlzaatreh/storefront | 5b27dedd00cabee8fb278fcb61bffc7c79daeba4 | [
"MIT"
] | null | null | null | src/store/reducers/activeProduct.js | NashatAlzaatreh/storefront | 5b27dedd00cabee8fb278fcb61bffc7c79daeba4 | [
"MIT"
] | 3 | 2021-12-20T23:52:06.000Z | 2021-12-22T20:29:49.000Z | src/store/reducers/activeProduct.js | NashatAlzaatreh/storefront | 5b27dedd00cabee8fb278fcb61bffc7c79daeba4 | [
"MIT"
] | null | null | null | const initialState = {};
const activeProductReducer = (state = initialState, action) => {
const { type, payload } = action;
switch (type) {
case "ADD_ACTIVE_PRODUCT":
return payload;
default:
return state;
}
};
export default activeProductReducer;
| 18.466667 | 64 | 0.66065 |
f1025a548d1819e7dac888f6e15e37fdf51f8c8b | 1,664 | js | JavaScript | src/reducers/index.js | BernardTolosajr/mrt-ninja-redux | 1e2c976d4406d44bce9be033bf05050f14d73ba3 | [
"MIT"
] | null | null | null | src/reducers/index.js | BernardTolosajr/mrt-ninja-redux | 1e2c976d4406d44bce9be033bf05050f14d73ba3 | [
"MIT"
] | null | null | null | src/reducers/index.js | BernardTolosajr/mrt-ninja-redux | 1e2c976d4406d44bce9be033bf05050f14d73ba3 | [
"MIT"
] | null | null | null | import { combineReducers } from 'redux'
const updateStatus = (state, snapshot) => {
return state.map((station) => {
if (station.name === snapshot.station) {
station.status = snapshot.status
}
return station
})
}
const stations = (state = [], action) => {
switch(action.type) {
case 'LOAD_ST... | 20.048193 | 57 | 0.647837 |
f1026430bb143d842d73975d8cbb37fba5799534 | 1,633 | js | JavaScript | app/controllers/build.js | kcguo/travis-web | e3120f395b756c26f56f8c073084138842498dfa | [
"MIT"
] | 1 | 2021-01-13T15:39:43.000Z | 2021-01-13T15:39:43.000Z | app/controllers/build.js | kcguo/travis-web | e3120f395b756c26f56f8c073084138842498dfa | [
"MIT"
] | null | null | null | app/controllers/build.js | kcguo/travis-web | e3120f395b756c26f56f8c073084138842498dfa | [
"MIT"
] | null | null | null | import Ember from 'ember';
import Polling from 'travis/mixins/polling';
import GithubUrlProperties from 'travis/mixins/github-url-properties';
import Visibility from 'npm:visibilityjs';
import config from 'travis/config/environment';
const { service, controller } = Ember.inject;
const { alias } = Ember.computed;
expo... | 28.155172 | 89 | 0.68463 |
f103e8198404cd984b0e8488a3713bcb76e2362f | 571 | js | JavaScript | fuzzer_output/interesting/sample_1554102655792.js | patil215/v8 | bb941b58df9ee1e4048b69a555a2ce819fb819ed | [
"BSD-3-Clause"
] | null | null | null | fuzzer_output/interesting/sample_1554102655792.js | patil215/v8 | bb941b58df9ee1e4048b69a555a2ce819fb819ed | [
"BSD-3-Clause"
] | null | null | null | fuzzer_output/interesting/sample_1554102655792.js | patil215/v8 | bb941b58df9ee1e4048b69a555a2ce819fb819ed | [
"BSD-3-Clause"
] | null | null | null | function main() {
function v0(v1,v2,v3,v4) {
let v9 = "undefined";
const v12 = {max:Function,setPrototypeOf:1337};
const v15 = [13.37,13.37,13.37,13.37];
let v18 = 9007199254740991;
do {
for (const v19 in v15) {
}
const v20 = v18 + 1;
v18 = v20;
} while (v18 < 6);... | 21.961538 | 51 | 0.530648 |
f10419860657878561194deb7876fd17c1238e67 | 5,384 | js | JavaScript | gradview/frontend/src/Component/Catalogue/CatalogueSelectBar/CatalogueSelectBar.js | RNMaximo/GradView | b195522d2355c8f5cf802a2a658d476e3a53c525 | [
"MIT"
] | null | null | null | gradview/frontend/src/Component/Catalogue/CatalogueSelectBar/CatalogueSelectBar.js | RNMaximo/GradView | b195522d2355c8f5cf802a2a658d476e3a53c525 | [
"MIT"
] | null | null | null | gradview/frontend/src/Component/Catalogue/CatalogueSelectBar/CatalogueSelectBar.js | RNMaximo/GradView | b195522d2355c8f5cf802a2a658d476e3a53c525 | [
"MIT"
] | null | null | null | import React from "react";
import Select from "react-select";
import './CatalogueSelectBar.css';
import Button from "@material-ui/core/Button";
import {
findIndexByCatalogueLabel,
findIndexByValue, firstCourseToLoad,
getCatalogueCourseOptionsByYear,
getCatalogueYearOptions,
getModalitiesOptionsByYearAndCours... | 36.134228 | 148 | 0.683692 |
f104c48358e3b97a857b80508e75cd7791542669 | 187 | js | JavaScript | src/api/mic/chart.js | neko374/shuiLic | da7bc785c2719cb805168c8c6fa0e44dc6b27c61 | [
"MIT"
] | null | null | null | src/api/mic/chart.js | neko374/shuiLic | da7bc785c2719cb805168c8c6fa0e44dc6b27c61 | [
"MIT"
] | null | null | null | src/api/mic/chart.js | neko374/shuiLic | da7bc785c2719cb805168c8c6fa0e44dc6b27c61 | [
"MIT"
] | null | null | null |
import request from '@/utils/request'
export function micRunData(data) {
return request({
baseURL: MicrogridIp,
url: '/sys/chart/runData',
method: 'post',
data
})
}
| 15.583333 | 37 | 0.641711 |
f10565a3f00d250f7ae5db78ad93dea716d9880b | 2,601 | js | JavaScript | ee/spec/frontend/security_configuration/components/app_spec.js | fxiao/gitlab | 899798758025f2618b6524a0509098f554132776 | [
"MIT"
] | null | null | null | ee/spec/frontend/security_configuration/components/app_spec.js | fxiao/gitlab | 899798758025f2618b6524a0509098f554132776 | [
"MIT"
] | 6 | 2021-03-30T13:55:11.000Z | 2022-02-26T10:18:56.000Z | ee/spec/frontend/security_configuration/components/app_spec.js | fxiao/gitlab | 899798758025f2618b6524a0509098f554132776 | [
"MIT"
] | 4 | 2020-11-04T05:30:03.000Z | 2021-07-12T23:32:36.000Z | import { mount } from '@vue/test-utils';
import { GlLink } from '@gitlab/ui';
import SecurityConfigurationApp from 'ee/security_configuration/components/app.vue';
import stubChildren from 'helpers/stub_children';
describe('Security Configuration App', () => {
let wrapper;
const createComponent = (props = {}) => {
... | 32.924051 | 94 | 0.604383 |
f105b49e8dce2f1713341d3c75aadf98a7232290 | 9,189 | js | JavaScript | dist/react-flexible-switch.min.js | IFTTT/react-flexible-switch | 8f8c387605e0375c936682f0a386375b430ed57f | [
"MIT"
] | 5 | 2017-05-20T23:21:56.000Z | 2021-09-10T21:55:13.000Z | dist/react-flexible-switch.min.js | IFTTT/react-flexible-switch | 8f8c387605e0375c936682f0a386375b430ed57f | [
"MIT"
] | null | null | null | dist/react-flexible-switch.min.js | IFTTT/react-flexible-switch | 8f8c387605e0375c936682f0a386375b430ed57f | [
"MIT"
] | 3 | 2017-05-31T13:19:41.000Z | 2022-03-27T05:58:20.000Z | !function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var t;t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this,t.Switch=e()}}(function(){return function e(t,n,o){functi... | 9,189 | 9,189 | 0.733703 |
f106f7a8a760736ab8f8105ad7836d92ca96d147 | 1,899 | js | JavaScript | packages/types/test/Exception.test.js | inceptjs/incept.js | e3ea1da9752962ff5a84e3447e3ffee07678a7c7 | [
"MIT"
] | null | null | null | packages/types/test/Exception.test.js | inceptjs/incept.js | e3ea1da9752962ff5a84e3447e3ffee07678a7c7 | [
"MIT"
] | 2 | 2021-10-15T04:50:39.000Z | 2021-10-15T15:08:35.000Z | packages/types/test/Exception.test.js | inceptjs/incept.js | e3ea1da9752962ff5a84e3447e3ffee07678a7c7 | [
"MIT"
] | null | null | null | const { expect } = require('chai')
const { Exception } = require('../dist')
class TestExeption extends Exception {}
describe('Exception', () => {
it('Should throw alot of errors', () => {
try {
throw TestExeption.for('Something good is bad')
} catch(e) {
expect(e.name).to.equal('TestExeption')
... | 29.215385 | 70 | 0.59347 |
f1092d432e10242a07958af694dddbc7b653eadb | 13,126 | js | JavaScript | server.js | kaephas/languagelab | d3e908bacf45a45479d1ba27e5ff7dca756904dc | [
"MIT"
] | 1 | 2020-06-09T20:52:05.000Z | 2020-06-09T20:52:05.000Z | server.js | kaephas/languagelab | d3e908bacf45a45479d1ba27e5ff7dca756904dc | [
"MIT"
] | 4 | 2020-07-06T03:41:13.000Z | 2022-02-19T04:36:41.000Z | server.js | jason-engelbrecht/language-lab | d7f06964d4e170c4cb12c3133b3846e157b2d2db | [
"MIT"
] | null | null | null | import express from 'express';
import fileUpload from 'express-fileupload';
import cookieParser from 'cookie-parser';
import fs from 'fs';
import excelToJson from 'convert-excel-to-json';
import {ProficiencyModel, UploadModel} from './src/server/database';
import router from './src/server/api';
import crypto from 'cryp... | 36.259669 | 109 | 0.479659 |
f10a4699313ef478ed53789bdb9052fc31d42d62 | 1,835 | js | JavaScript | pages/docs/navigation/navbars.js | GabrielFemi/choc-ui | bbe276c3e1dca3d3865c0bea617a9c6c47bb723c | [
"MIT"
] | null | null | null | pages/docs/navigation/navbars.js | GabrielFemi/choc-ui | bbe276c3e1dca3d3865c0bea617a9c6c47bb723c | [
"MIT"
] | null | null | null | pages/docs/navigation/navbars.js | GabrielFemi/choc-ui | bbe276c3e1dca3d3865c0bea617a9c6c47bb723c | [
"MIT"
] | null | null | null | import React from "react";
import PageHead from "~/components/head";
import { PageHeader, Section } from "~/components/docs";
import ComponentDemo from "@/component-demo";
import DocsLayout from "~/components/layouts/docs/index";
const Navbars = () => {
return (
<DocsLayout>
<PageHead title="Navbars" />
... | 27.38806 | 76 | 0.533515 |
f10bc7ce1ac0f783318d2116e95e0610bac76eaf | 899 | js | JavaScript | public/js/hide-show.js | gabrielgomes94/Sociedade-Participativa | 6239455927cce15ea2c1af080ea0d01558a80b43 | [
"MIT"
] | null | null | null | public/js/hide-show.js | gabrielgomes94/Sociedade-Participativa | 6239455927cce15ea2c1af080ea0d01558a80b43 | [
"MIT"
] | null | null | null | public/js/hide-show.js | gabrielgomes94/Sociedade-Participativa | 6239455927cce15ea2c1af080ea0d01558a80b43 | [
"MIT"
] | null | null | null | $(document).ready(function(){
$(".btn-hide-show").click(function(){
var target = $(this);
var type = target.data("value");
if($(this).children().attr("class") == "glyphicon glyphicon-chevron-up"){ ... | 49.944444 | 147 | 0.449388 |
f10d0cecab2d1801afaaa06e4209fea7a37bfb95 | 771 | js | JavaScript | Albion.Network.Electron/src/NetHandler/JoinOperationHandler.js | orracosta/Albion-radar-2.0 | cbf5ae5fe043fc12e08e7ceb14446cde4da80771 | [
"MIT"
] | null | null | null | Albion.Network.Electron/src/NetHandler/JoinOperationHandler.js | orracosta/Albion-radar-2.0 | cbf5ae5fe043fc12e08e7ceb14446cde4da80771 | [
"MIT"
] | null | null | null | Albion.Network.Electron/src/NetHandler/JoinOperationHandler.js | orracosta/Albion-radar-2.0 | cbf5ae5fe043fc12e08e7ceb14446cde4da80771 | [
"MIT"
] | null | null | null | class JoinOperationHandler {
constructor(app, game) {
this.app = app;
this.game = game;
}
listen(_connection) {
const _app = this.app;
const _game = this.game;
_connection.on('NetHandler.JoinOperation', function (data) {
_game.localPlayer.id = data.id;
_game.localPlayer.name = da... | 26.586207 | 64 | 0.666667 |
f10ec6f24278511effa3e9ca56808609622dbdc1 | 2,396 | js | JavaScript | tree-printer/main.js | bhatiasiddharth/Compiler | 01fdc04b3ab7dd9c9b1583536cb73fe85b7d4eed | [
"MIT"
] | 1 | 2021-03-16T15:22:13.000Z | 2021-03-16T15:22:13.000Z | tree-printer/main.js | bhatiasiddharth/Compiler | 01fdc04b3ab7dd9c9b1583536cb73fe85b7d4eed | [
"MIT"
] | null | null | null | tree-printer/main.js | bhatiasiddharth/Compiler | 01fdc04b3ab7dd9c9b1583536cb73fe85b7d4eed | [
"MIT"
] | null | null | null | var fs = require("fs");
var textToTree = require("./textToTree");
var treeToDiagram = require("./treetodiagram");
var jsdom = require("node-jsdom").jsdom;
function clear(node) {
while (node.childNodes.length > 0)
node.removeChild(node.childNodes[0]);
}
var options = {
"flipXY": 0,
"width": 1000,
"height": ... | 26.622222 | 96 | 0.613105 |
f10faee13dd2c6fc0945e2331605045da86812a5 | 1,391 | js | JavaScript | experimental/src/app.js | 0bLondon/VizFinal | 316240e12fc04b269274b53a3bd0a3412886dccf | [
"MIT"
] | null | null | null | experimental/src/app.js | 0bLondon/VizFinal | 316240e12fc04b269274b53a3bd0a3412886dccf | [
"MIT"
] | null | null | null | experimental/src/app.js | 0bLondon/VizFinal | 316240e12fc04b269274b53a3bd0a3412886dccf | [
"MIT"
] | 1 | 2021-01-05T21:40:03.000Z | 2021-01-05T21:40:03.000Z | import React, {Component} from 'react';
import {connect} from 'react-redux';
import AutoSizer from 'react-virtualized/dist/commonjs/AutoSizer';
import KeplerGl from 'kepler.gl';
import {createAction} from 'redux-actions';
import {processKeplerglJSON} from 'kepler.gl/processors';
import {addDataToMap, wrapTo} from 'kepl... | 30.23913 | 124 | 0.677211 |
f1101267940ad648f4bdb92996ee22d5c2a11020 | 4,088 | js | JavaScript | src/components/Homepage/AboutMe/AboutMe.js | Developerayo/shodipoayomide.com | b9e405b566b0103aaa0cc080df65226a7faa03a4 | [
"MIT"
] | 91 | 2019-03-14T09:47:35.000Z | 2022-03-23T18:56:58.000Z | src/components/Homepage/AboutMe/AboutMe.js | Developerayo/shodipoayomide.com | b9e405b566b0103aaa0cc080df65226a7faa03a4 | [
"MIT"
] | 102 | 2019-03-07T01:26:56.000Z | 2022-03-31T08:39:27.000Z | src/components/Homepage/AboutMe/AboutMe.js | Developerayo/shodipoayomide.com | b9e405b566b0103aaa0cc080df65226a7faa03a4 | [
"MIT"
] | 4 | 2019-04-10T09:33:14.000Z | 2020-10-20T23:02:10.000Z | import React from "react";
import "./_aboutMe.scss";
import aboutImg from "../../../assets/images/about.svg";
import contact from "../../../assets/images/contact.png";
import { Link } from "react-router-dom";
import * as routes from "../../../routePaths";
const AboutMe = props => (
<section id="aboutMe" className="a... | 61.014925 | 483 | 0.642123 |
f11054d5c0ff0322c1dd484d6d4c882cd543b536 | 1,491 | js | JavaScript | src/model/sound/ecs/SoundEmitter.spec.js | jellehak/meep | caea7d510c8bea1f70f7713c03c12a139baea129 | [
"MIT"
] | 150 | 2019-10-09T09:46:21.000Z | 2022-03-24T17:30:39.000Z | src/model/sound/ecs/SoundEmitter.spec.js | jellehak/meep | caea7d510c8bea1f70f7713c03c12a139baea129 | [
"MIT"
] | 5 | 2019-10-30T04:01:04.000Z | 2022-03-18T19:15:11.000Z | src/model/sound/ecs/SoundEmitter.spec.js | jellehak/meep | caea7d510c8bea1f70f7713c03c12a139baea129 | [
"MIT"
] | 26 | 2019-10-10T09:24:58.000Z | 2022-03-18T07:48:24.000Z | import { BinaryBuffer } from "../../core/binary/BinaryBuffer.js";
import { SoundEmitter, SoundEmitterSerializationAdapter, SoundTrack } from "./SoundEmitter.js";
test('binary serialization consistency', () => {
const buffer = new BinaryBuffer();
const emitter0 = new SoundEmitter();
emitter0.channel = 'he... | 29.82 | 95 | 0.715627 |
f110c2d9af98c590c905145a2ff16792c7c299cd | 2,838 | js | JavaScript | src/app/ripple.js | ho4040/water_effect | 741c79845469b7a1ca5999dee0d6d346b25d1908 | [
"MIT"
] | 1 | 2018-02-28T10:01:35.000Z | 2018-02-28T10:01:35.000Z | src/app/ripple.js | ho4040/water_effect | 741c79845469b7a1ca5999dee0d6d346b25d1908 | [
"MIT"
] | null | null | null | src/app/ripple.js | ho4040/water_effect | 741c79845469b7a1ca5999dee0d6d346b25d1908 | [
"MIT"
] | null | null | null | var PIXI = require('pixi.js');
// You can use either `new PIXI.WebGLRenderer`, `new PIXI.CanvasRenderer`, or `PIXI.autoDetectRenderer`
// which will try to choose the best renderer for the environment you are in.
var renderer = new PIXI.WebGLRenderer(800, 600);
// The renderer will create a canvas element for you tha... | 24.894737 | 103 | 0.586328 |
f1118156a68d2b284a82095b9dc24654fc4f92fa | 2,864 | js | JavaScript | app/scripts/main.js | XDATA-Year-3/sitar-lite | eb7e121983187e0d2d5fd551d7a9c427d7c6cee4 | [
"Apache-2.0"
] | 1 | 2015-11-11T19:17:30.000Z | 2015-11-11T19:17:30.000Z | dist/scripts/main.js | XDATA-Year-3/sitar-lite | eb7e121983187e0d2d5fd551d7a9c427d7c6cee4 | [
"Apache-2.0"
] | 1 | 2015-07-31T17:04:25.000Z | 2015-07-31T17:04:25.000Z | dist/scripts/main.js | XDATA-Year-3/sitar-lite | eb7e121983187e0d2d5fd551d7a9c427d7c6cee4 | [
"Apache-2.0"
] | null | null | null | (function ($, Backbone, d3, vg) {
'use strict';
var router = new Backbone.Router();
function renderVega(data) {
var vegaFile = data.files['vega.json'],
that = this,
spec;
if (vegaFile) {
spec = JSON.parse(vegaFile.content);
if (spec.data) {
... | 33.694118 | 74 | 0.481145 |
f1124049648b27073b802213f55b074d2ecee68c | 385 | js | JavaScript | day1/http-client/07_agent_false.js | xiaolozhang/node_training | bf6d148e5d98a316ef71b918c09ca1a21e4b77f0 | [
"MIT"
] | 4 | 2017-08-17T11:31:54.000Z | 2020-03-28T06:54:54.000Z | day1/http-client/07_agent_false.js | xiaolozhang/node_training | bf6d148e5d98a316ef71b918c09ca1a21e4b77f0 | [
"MIT"
] | null | null | null | day1/http-client/07_agent_false.js | xiaolozhang/node_training | bf6d148e5d98a316ef71b918c09ca1a21e4b77f0 | [
"MIT"
] | null | null | null | var http = require('http');
var url = require('url');
var count = Number(process.argv[2]) || 10;
var options = url.parse('http://localhost:8081');
options.agent = false;
for (var i=0; i < count; i++) {
get(i);
}
function get(i) {
http.get(options, function(res) {
res.on('data', function (data) {
consol... | 20.263158 | 49 | 0.584416 |
f1126d0a761da89afdd9994001b4b540866e3f7e | 178 | js | JavaScript | disabled_plugins/SetId/lang/ja.js | ryumaru/xinha4ryuzine | 6d746b8786bc3662b371099305d177d80fc6a2a8 | [
"BSD-3-Clause"
] | 2 | 2015-09-26T15:07:29.000Z | 2016-07-01T14:26:54.000Z | disabled_plugins/SetId/lang/ja.js | ryumaru/xinha4ryuzine | 6d746b8786bc3662b371099305d177d80fc6a2a8 | [
"BSD-3-Clause"
] | null | null | null | disabled_plugins/SetId/lang/ja.js | ryumaru/xinha4ryuzine | 6d746b8786bc3662b371099305d177d80fc6a2a8 | [
"BSD-3-Clause"
] | 2 | 2016-07-01T14:27:09.000Z | 2021-02-21T08:24:54.000Z | // I18N constants
// LANG: "ja", ENCODING: UTF-8
{
"Set Id and Name": "IDと名前の設定",
"Name/Id": "名前/ID",
"Delete": "削除",
"Set ID/Name": "IDと名前の設定",
"ID/Name:": "ID/名前:"
}; | 19.777778 | 32 | 0.539326 |
f113b41fc67e25ecda7301857725b59542b2e817 | 1,188 | js | JavaScript | 11/1.js | aidenfoxx/aoc-2020 | 241f76d6d7fd8f17ad41db833e73e0e314a0b50b | [
"MIT"
] | 1 | 2020-12-03T11:24:51.000Z | 2020-12-03T11:24:51.000Z | 11/1.js | aidenfoxx/aoc2020 | 241f76d6d7fd8f17ad41db833e73e0e314a0b50b | [
"MIT"
] | null | null | null | 11/1.js | aidenfoxx/aoc2020 | 241f76d6d7fd8f17ad41db833e73e0e314a0b50b | [
"MIT"
] | null | null | null | let prevState = [];
let nextState = require('fs').readFileSync('data.txt', 'utf8').trim().split('\n').map((row) => row.split(''));;
const adjacentsOccupied = (startX, startY) => {
let collisions = 0;
for (let offsetX = -1; offsetX <= 1; offsetX++) {
for (let offsetY = -1; offsetY <= 1; offsetY++) {
if (... | 27.627907 | 130 | 0.526094 |
f11498bc90ffaf30f01dd7a704f9bb261df34929 | 4,681 | js | JavaScript | src/js/components/VolumeTable.js | zhe-sun/dcos-ui | 7fbc51578f517a28b981d8652a29fa7ee24622e6 | [
"Apache-2.0"
] | null | null | null | src/js/components/VolumeTable.js | zhe-sun/dcos-ui | 7fbc51578f517a28b981d8652a29fa7ee24622e6 | [
"Apache-2.0"
] | null | null | null | src/js/components/VolumeTable.js | zhe-sun/dcos-ui | 7fbc51578f517a28b981d8652a29fa7ee24622e6 | [
"Apache-2.0"
] | null | null | null | import classNames from 'classnames';
import {Link} from 'react-router';
import React from 'react';
import {Table} from 'reactjs-components';
import Volume from '../structs/Volume';
import VolumeStatus from '../constants/VolumeStatus';
const METHODS_TO_BIND = ['renderIDColumn'];
class VolumeTable extends React.Compon... | 24.636842 | 100 | 0.575091 |
f114cd6cac96c647e20d17b46470efadce8a6e9a | 289 | js | JavaScript | frontend/app/auth-page/SysMsg.js | gurland/SIGame_web | e8e5a90b21dd7bcd4af2306c4329aa6f7a8ee4f5 | [
"MIT"
] | 6 | 2018-07-26T04:05:49.000Z | 2020-06-10T23:39:56.000Z | frontend/app/auth-page/SysMsg.js | gurland/SIGame_web | e8e5a90b21dd7bcd4af2306c4329aa6f7a8ee4f5 | [
"MIT"
] | 19 | 2018-06-13T12:45:57.000Z | 2020-04-25T14:17:42.000Z | frontend/app/auth-page/SysMsg.js | gurland/SIGame_web | e8e5a90b21dd7bcd4af2306c4329aa6f7a8ee4f5 | [
"MIT"
] | 2 | 2018-06-18T18:49:46.000Z | 2020-04-19T06:31:09.000Z | import {Component} from "react";
import React from "react";
import './SysMsg.css'
export default class SysMsg extends Component{
render() {
return (
<div id={'warnings-block'}>
<span>Error message here!</span>
</div>
);
}
} | 20.642857 | 48 | 0.539792 |
f115016403f9dcbef630adc83726b0ad8616b163 | 278 | js | JavaScript | packages/nidle-spa/config/defaultSettings.js | hanrenguang/nidle-test | f9ded8e3dad030d28c4a0dcb32d1d5593b1fe28f | [
"MIT"
] | null | null | null | packages/nidle-spa/config/defaultSettings.js | hanrenguang/nidle-test | f9ded8e3dad030d28c4a0dcb32d1d5593b1fe28f | [
"MIT"
] | null | null | null | packages/nidle-spa/config/defaultSettings.js | hanrenguang/nidle-test | f9ded8e3dad030d28c4a0dcb32d1d5593b1fe28f | [
"MIT"
] | 1 | 2022-03-23T01:22:13.000Z | 2022-03-23T01:22:13.000Z | const Settings = {
navTheme: 'light',
// 拂晓蓝
primaryColor: '#96cb87',
layout: 'mix',
contentWidth: 'Fluid',
fixedHeader: false,
fixSiderbar: true,
colorWeak: false,
title: 'Nidle',
pwa: false,
logo: '/logo.png',
iconfontUrl: ''
}
export default Settings
| 17.375 | 26 | 0.643885 |
f1158175dc26630b3f4a32ee9c03a5856a393f55 | 9,757 | js | JavaScript | src/pages/gameboard.js | onurcelikeng/Evant_Mobile | 4d274214a1fe21dc15c537a4cd3f23d7ef4cbdba | [
"MIT"
] | 3 | 2018-06-02T14:10:47.000Z | 2019-04-16T11:17:16.000Z | src/pages/gameboard.js | onurcelikeng/Evant_Mobile | 4d274214a1fe21dc15c537a4cd3f23d7ef4cbdba | [
"MIT"
] | 6 | 2018-06-03T08:16:27.000Z | 2021-05-06T22:07:42.000Z | src/pages/gameboard.js | onurcelikeng/Evant_Mobile | 4d274214a1fe21dc15c537a4cd3f23d7ef4cbdba | [
"MIT"
] | 1 | 2018-06-02T14:10:43.000Z | 2018-06-02T14:10:43.000Z | import React from 'react';
import { ListView, View, Image, TouchableOpacity, TouchableHighlight, RefreshControl, Dimensions, ScrollView, StyleSheet, ActivityIndicator } from 'react-native';
import { RkStyleSheet, RkText, RkTextInput, RkTabView } from 'react-native-ui-kitten';
import {Actions} from 'react-native-router-... | 36.271375 | 212 | 0.48683 |
f1165c60e7ff776704ed4c5144393fc598718dbb | 79 | js | JavaScript | src/details-screen/index.js | alexjinchina/game-tools | 66c90f3a06921557df8d0c892d002559f1ab7b18 | [
"MIT"
] | null | null | null | src/details-screen/index.js | alexjinchina/game-tools | 66c90f3a06921557df8d0c892d002559f1ab7b18 | [
"MIT"
] | null | null | null | src/details-screen/index.js | alexjinchina/game-tools | 66c90f3a06921557df8d0c892d002559f1ab7b18 | [
"MIT"
] | null | null | null | import DetailesScreen from "./details-screen";
export default DetailesScreen;
| 19.75 | 46 | 0.810127 |
f116873d637491f22ed64faa75a75427a435acd8 | 280 | js | JavaScript | mongo/mongo.js | MISTCLICK/999DispatcherBot | 0ca1c60c80bad75d1ecd3f128bc573889034d181 | [
"MIT"
] | null | null | null | mongo/mongo.js | MISTCLICK/999DispatcherBot | 0ca1c60c80bad75d1ecd3f128bc573889034d181 | [
"MIT"
] | null | null | null | mongo/mongo.js | MISTCLICK/999DispatcherBot | 0ca1c60c80bad75d1ecd3f128bc573889034d181 | [
"MIT"
] | null | null | null | const mongoose = require('mongoose');
const { mongoURI } = require('../config.json');
//Function that lets you connect to the DB
module.exports = async () => {
await mongoose.connect(mongoURI, {
useNewUrlParser: true,
useUnifiedTopology: true
});
return mongoose;
} | 25.454545 | 47 | 0.685714 |
f118dc08c52ae0bada075cd9ae940244e30927c3 | 928 | js | JavaScript | fmt/index.js | popperized/terraform-action | fedb052692f52d7f70a556e64c346ee732e6356a | [
"MIT"
] | 1 | 2019-09-23T00:51:44.000Z | 2019-09-23T00:51:44.000Z | fmt/index.js | popperized/terraform-action | fedb052692f52d7f70a556e64c346ee732e6356a | [
"MIT"
] | null | null | null | fmt/index.js | popperized/terraform-action | fedb052692f52d7f70a556e64c346ee732e6356a | [
"MIT"
] | null | null | null | const { Toolkit } = require('actions-toolkit')
Toolkit.run(async tools => {
await tools.runInWorkspace('git', ['config', '--global', 'user.email', 'actions@github.com'])
await tools.runInWorkspace('git', ['config', '--global', 'user.name', 'GitHub Actions'])
const { code, stderr } = await tools.runInWorkspace('... | 38.666667 | 118 | 0.634698 |
f11b73995b3877e65c0fe51b0a20847c172ae318 | 3,620 | js | JavaScript | controllers/annotation_controller.js | INRokh/waldo-experiment | 3230a9cd3ac76cebcf151928afefb6cb4da49702 | [
"Apache-2.0"
] | 1 | 2020-01-20T00:26:10.000Z | 2020-01-20T00:26:10.000Z | controllers/annotation_controller.js | INRokh/waldo-experiment | 3230a9cd3ac76cebcf151928afefb6cb4da49702 | [
"Apache-2.0"
] | 1 | 2020-02-01T09:52:37.000Z | 2020-02-01T09:52:37.000Z | controllers/annotation_controller.js | INRokh/waldo-experiment | 3230a9cd3ac76cebcf151928afefb6cb4da49702 | [
"Apache-2.0"
] | 1 | 2020-02-07T09:18:37.000Z | 2020-02-07T09:18:37.000Z | const AnnotationModel = require("../database/models/annotation_model");
const UserModel = require('../database/models/user_model');
const ImageModel = require('../database/models/image_model');
// show assigned annotations to user
async function index(req, res) {
// If admin, show all annotations,
// if user apply... | 29.430894 | 75 | 0.672652 |
f11bbc59919a19bc3d35251347f10e31bd955b14 | 269 | js | JavaScript | webpack.config.js | LucasIcarus/DataProcessor | cf3903ca096862edd33a0165110e7f096c51bc27 | [
"MIT"
] | null | null | null | webpack.config.js | LucasIcarus/DataProcessor | cf3903ca096862edd33a0165110e7f096c51bc27 | [
"MIT"
] | null | null | null | webpack.config.js | LucasIcarus/DataProcessor | cf3903ca096862edd33a0165110e7f096c51bc27 | [
"MIT"
] | null | null | null | const webpack = require('webpack')
module.exports = {
entry: 'app.js',
module: {
rules: [
{
test: /\.json$/,
use: {
loader: 'json-loader'
}
}
]
}
}
| 16.8125 | 41 | 0.32342 |
f11c0709a1f8aa49bc2206a7ae3e94b2f0790adf | 187 | js | JavaScript | Regular Expressions/31.js | LahkLeKey/FCC-JavaScript-Algorithms-and-Data-Structures-Certification | 74fda0671027fe71aad230fbb1b0eba7f72d9fe2 | [
"MIT"
] | null | null | null | Regular Expressions/31.js | LahkLeKey/FCC-JavaScript-Algorithms-and-Data-Structures-Certification | 74fda0671027fe71aad230fbb1b0eba7f72d9fe2 | [
"MIT"
] | null | null | null | Regular Expressions/31.js | LahkLeKey/FCC-JavaScript-Algorithms-and-Data-Structures-Certification | 74fda0671027fe71aad230fbb1b0eba7f72d9fe2 | [
"MIT"
] | null | null | null | /*
FCC Version - 7.0
Reuse Patterns Using Capture Groups
Task - 31 / 33
*/
let repeatNum = "42 42 42";
let reRegex = /^(\d+)\s\1\s\1$/;
let result = reRegex.test(repeatNum);
| 18.7 | 39 | 0.604278 |
f11cae2516ecb7585046eb9ef1a366c538ced81d | 953 | js | JavaScript | resources/assets/js/app.js | programando/balquimia-prd | 68f5fbb24721d69fd6f34bfce4e59025b39e972e | [
"MIT"
] | null | null | null | resources/assets/js/app.js | programando/balquimia-prd | 68f5fbb24721d69fd6f34bfce4e59025b39e972e | [
"MIT"
] | null | null | null | resources/assets/js/app.js | programando/balquimia-prd | 68f5fbb24721d69fd6f34bfce4e59025b39e972e | [
"MIT"
] | null | null | null | Vue.config.devtools = true;
$(document).ready(function() {
$("html , .side-navbar").niceScroll({
cursorcolor:"#47bc6a",
cursorwidth:"8px",
});
$('.summernote').summernote({
height: 300,
width: 1070,
});
});
function BuscarEnTabla( Tabla, InputBusqueda ) {
// D... | 22.690476 | 84 | 0.551941 |
f11cdd5603dd1d5a7ee60b9984b7b762b6401262 | 13,519 | js | JavaScript | old/src/ol/expr/parser.js | twpayne/ol3 | 189ba34955029280ba348a65540e5e36539477f9 | [
"BSD-3-Clause",
"BSD-2-Clause-FreeBSD",
"Apache-2.0",
"MIT"
] | 1 | 2022-02-10T17:56:27.000Z | 2022-02-10T17:56:27.000Z | old/src/ol/expr/parser.js | ywkwon0812/ol3 | 0b21c6bea76ccc5de73eee651aaf0449c4f78729 | [
"BSD-3-Clause",
"BSD-2-Clause-FreeBSD",
"Apache-2.0",
"MIT"
] | null | null | null | old/src/ol/expr/parser.js | ywkwon0812/ol3 | 0b21c6bea76ccc5de73eee651aaf0449c4f78729 | [
"BSD-3-Clause",
"BSD-2-Clause-FreeBSD",
"Apache-2.0",
"MIT"
] | null | null | null | /**
* The logic and naming of methods here are inspired by Esprima (BSD Licensed).
* Esprima (http://esprima.org) includes the following copyright notices:
*
* Copyright (C) 2013 Ariya Hidayat <ariya.hidayat@gmail.com>
* Copyright (C) 2013 Thaddee Tyl <thaddee.tyl@gmail.com>
* Copyright (C) 2012 Ariya Hidayat <ar... | 28.223382 | 80 | 0.656705 |
f11d20a7b9bf4f61999faf3d42427e6d66179955 | 116 | js | JavaScript | ui/constants/notifications.js | sanabhass/lbry-desktop | 5918aaa5fe5d5189aebd51d30f74e3999258cdca | [
"MIT"
] | null | null | null | ui/constants/notifications.js | sanabhass/lbry-desktop | 5918aaa5fe5d5189aebd51d30f74e3999258cdca | [
"MIT"
] | null | null | null | ui/constants/notifications.js | sanabhass/lbry-desktop | 5918aaa5fe5d5189aebd51d30f74e3999258cdca | [
"MIT"
] | null | null | null | export const NOTIFICATION_CREATOR_SUBSCRIBER = 'creator_subscriber';
export const NOTIFICATION_COMMENT = 'comment';
| 38.666667 | 68 | 0.844828 |
f11ec456eaece6c4fcd9d17da02aa82f5b7706a5 | 180 | js | JavaScript | client/src/countdown.js | ViduusEntertainment/synceddb | a04355fba90b298064e4d0d1d78bdf14cff22188 | [
"MIT"
] | 427 | 2015-01-28T15:47:01.000Z | 2022-03-26T01:04:31.000Z | client/src/countdown.js | ViduusEntertainment/synceddb | a04355fba90b298064e4d0d1d78bdf14cff22188 | [
"MIT"
] | 43 | 2015-02-18T08:47:47.000Z | 2021-01-03T07:41:39.000Z | client/src/countdown.js | ViduusEntertainment/synceddb | a04355fba90b298064e4d0d1d78bdf14cff22188 | [
"MIT"
] | 44 | 2015-02-08T09:32:24.000Z | 2022-01-09T20:15:15.000Z | class Countdown {
constructor(initial) {
this.val = initial || 0;
}
add(n) {
this.val += n;
if (this.val === 0) this.onZero();
}
}
module.exports = Countdown;
| 15 | 38 | 0.561111 |
f11eebc738778f0eda1c4f959968385027bf88a8 | 1,176 | js | JavaScript | public_html/js/admin/view_news_categories.js | Asynctive/AsynctiveWeb | 13cea0253cede835f7316bab79e9f6f2eb19d5d1 | [
"MIT"
] | null | null | null | public_html/js/admin/view_news_categories.js | Asynctive/AsynctiveWeb | 13cea0253cede835f7316bab79e9f6f2eb19d5d1 | [
"MIT"
] | 1 | 2015-07-14T07:06:54.000Z | 2015-07-14T07:06:54.000Z | public_html/js/admin/view_news_categories.js | Asynctive/AsynctiveWeb | 13cea0253cede835f7316bab79e9f6f2eb19d5d1 | [
"MIT"
] | null | null | null | /*
* Asynctive Web View News Categories Script
* Author: Andy Deveaux
*/
$('document').ready(function() {
$("button[id^='createCategory']").click(function() {
window.location.href = '/admin/news/categories/create';
});
$("button[id^='deleteCategories']").click(function() {
var ids = [];
$("input:checkb... | 25.021277 | 87 | 0.568878 |
f1205e3ed7d716d5a1392b2dd9d5d802a3e5b746 | 689 | js | JavaScript | facia-tool/public/js/utils/sanitize-api-query.js | thisismana/frontend | fd38c2e932454ee994f90e1d2d842d0120802f9a | [
"Apache-2.0"
] | null | null | null | facia-tool/public/js/utils/sanitize-api-query.js | thisismana/frontend | fd38c2e932454ee994f90e1d2d842d0120802f9a | [
"Apache-2.0"
] | null | null | null | facia-tool/public/js/utils/sanitize-api-query.js | thisismana/frontend | fd38c2e932454ee994f90e1d2d842d0120802f9a | [
"Apache-2.0"
] | null | null | null | define([
'underscore',
'utils/parse-query-params',
'utils/identity'
], function(
_,
parseQueryParams,
identity
) {
return function (url) {
var bits = (url + '').split('?');
if (bits.length <= 1) {
return url;
} else {
return _.initial(bits).c... | 23.758621 | 82 | 0.406386 |
f1206f1b4a116453512c56eb893293d6c7a61913 | 1,069 | js | JavaScript | bin/auth.js | snakazawa/slack2youtube-playlist | b3f0cea94d09a3ecf2550e12db7b849501120fce | [
"MIT"
] | null | null | null | bin/auth.js | snakazawa/slack2youtube-playlist | b3f0cea94d09a3ecf2550e12db7b849501120fce | [
"MIT"
] | 1 | 2017-07-04T21:09:38.000Z | 2017-07-04T21:09:38.000Z | bin/auth.js | snakazawa/slack2youtube-playlist | b3f0cea94d09a3ecf2550e12db7b849501120fce | [
"MIT"
] | null | null | null | require('dotenv').config();
const readline = require('readline');
const YoutubeApi = require('../lib/youtube_api');
const api = new YoutubeApi();
(async () => {
const res = await authorize();
console.log(res);
const info = await api.requestInfo(res.access_token);
console.log('Access token info:');
... | 27.410256 | 86 | 0.614593 |
f12072ce7e58a569429a6ae188e0f216fb354f79 | 10,726 | js | JavaScript | samples/akamai/amp/ais/Ais.js | newrelic/video-akamai-js | 6dd2946904ebbfeda141d25e73da6db5e5942154 | [
"Apache-2.0"
] | null | null | null | samples/akamai/amp/ais/Ais.js | newrelic/video-akamai-js | 6dd2946904ebbfeda141d25e73da6db5e5942154 | [
"Apache-2.0"
] | null | null | null | samples/akamai/amp/ais/Ais.js | newrelic/video-akamai-js | 6dd2946904ebbfeda141d25e73da6db5e5942154 | [
"Apache-2.0"
] | null | null | null | (function (exports) {
'use strict';
var AISEvents = {
CHOOSE_PROVIDER: "chooseprovider",
AUTHENTICATED: "authenticated",
AUTHENTICATION_FAILED: "authenticationfailed",
AUTHORIZED: "authorized",
AUTHORIZATION_FAILED: "authorizationfailed"
};
var Chooser = function Chooser(plugin, response) {
babelHelpers.c... | 31.733728 | 135 | 0.599851 |
f12091df905e56faf5f222c01f1bd6a879299287 | 1,248 | js | JavaScript | public/js/frontend/owlcarousel.js | yacinebest/laravel-hwshop | b9831430419a8f0ef490bec70ad80cc97085b690 | [
"MIT"
] | null | null | null | public/js/frontend/owlcarousel.js | yacinebest/laravel-hwshop | b9831430419a8f0ef490bec70ad80cc97085b690 | [
"MIT"
] | null | null | null | public/js/frontend/owlcarousel.js | yacinebest/laravel-hwshop | b9831430419a8f0ef490bec70ad80cc97085b690 | [
"MIT"
] | null | null | null | $("#product-tabs a").click(function(e) {
e.preventDefault();
$(this).tab("show");
});
$(document).ready(function() {
$(".zoom-gallery").magnificPopup({
delegate: "a",
type: "image",
closeOnContentClick: false,
closeBtnInside: false,
mainClass: "mfp-with-zoom mfp-img-... | 24 | 76 | 0.423878 |
f121ea066b065fd9069573a21b80f9aba9112cca | 286 | js | JavaScript | dist/index.js | akamuraasai/xmpp-muc-read-marker | 3b34cbdb6dcde72c899d3cb00c763dbcace733ec | [
"MIT"
] | null | null | null | dist/index.js | akamuraasai/xmpp-muc-read-marker | 3b34cbdb6dcde72c899d3cb00c763dbcace733ec | [
"MIT"
] | null | null | null | dist/index.js | akamuraasai/xmpp-muc-read-marker | 3b34cbdb6dcde72c899d3cb00c763dbcace733ec | [
"MIT"
] | null | null | null | 'use strict';module.exports=function(client,stanzas,configs){var NS='urn:xmpp:receipts';var readAttribute=stanzas.define({name:'read',element:'read',namespace:NS,fields:{id:stanzas.utils.attribute('id')}});stanzas.withMessage(function(Message){stanzas.extend(Message,readAttribute)})};
| 143 | 285 | 0.79021 |
f1226e41b321a424eab32dc1ce1e111dd4c47e95 | 232 | js | JavaScript | rotas-avancadas/src/routes/index.js | mrmelem/nodejs | ac21faf24e744e401fa546c29def0109065a19f5 | [
"MIT"
] | null | null | null | rotas-avancadas/src/routes/index.js | mrmelem/nodejs | ac21faf24e744e401fa546c29def0109065a19f5 | [
"MIT"
] | null | null | null | rotas-avancadas/src/routes/index.js | mrmelem/nodejs | ac21faf24e744e401fa546c29def0109065a19f5 | [
"MIT"
] | null | null | null | const app = require('express')();
const Public = require('./public');
app.use(Public);
const Auth = require('../middlewares/authRoute');
const Private = require('./private');
app.use(Auth);
app.use(Private);
module.exports = app; | 21.090909 | 49 | 0.685345 |
f122ffaec2ab551c6ceb7f4f84b0242a90fb79c2 | 291 | js | JavaScript | web/client/views/process/loglist/entry.js | cinderblock/guvnor | 2dd914c6ed2b7010a297add0750a3b40963e9c63 | [
"MIT"
] | 453 | 2015-02-23T17:52:19.000Z | 2022-03-16T07:27:20.000Z | web/client/views/process/loglist/entry.js | cinderblock/guvnor | 2dd914c6ed2b7010a297add0750a3b40963e9c63 | [
"MIT"
] | 74 | 2015-02-20T11:26:27.000Z | 2019-02-01T19:04:15.000Z | web/client/views/process/loglist/entry.js | cinderblock/guvnor | 2dd914c6ed2b7010a297add0750a3b40963e9c63 | [
"MIT"
] | 47 | 2015-02-20T14:37:38.000Z | 2022-02-22T08:49:05.000Z | var View = require('ampersand-view')
var templates = require('../../../templates')
module.exports = View.extend({
template: templates.includes.process.loglist.entry,
bindings: {
'model.visible': {
type: 'booleanClass',
selector: 'li',
name: 'visible'
}
}
})
| 20.785714 | 53 | 0.61512 |
f12317964d68593bc20c10a156fb8a945b0fa113 | 2,037 | js | JavaScript | src/features/articlesfeat/articlesSlice.js | Samk13/react-redux-sim-sam-app | 1db4f5caade7f9094d501123694a68a7d85f28c0 | [
"MIT"
] | null | null | null | src/features/articlesfeat/articlesSlice.js | Samk13/react-redux-sim-sam-app | 1db4f5caade7f9094d501123694a68a7d85f28c0 | [
"MIT"
] | null | null | null | src/features/articlesfeat/articlesSlice.js | Samk13/react-redux-sim-sam-app | 1db4f5caade7f9094d501123694a68a7d85f28c0 | [
"MIT"
] | null | null | null | import { createSlice } from '@reduxjs/toolkit'
import { v1 as uuid } from 'uuid'
import { setInitialState, SetState, setItem, getItem } from '../../Service/LocalStorage'
import { articleInitialState } from '../../app/data'
const LOCALSTATE = 'stateSession'
export const articleSlice = createSlice({
name: 'articles',... | 30.863636 | 88 | 0.600393 |
f1242db1343fa73ad78f196520096305e672292f | 264 | js | JavaScript | akb48teamsh/fileadmin/templates/v2/public/js/index.js | liurenjie520/backupwww | 6989716901922dee3e6824f4de9a7773b9dcab83 | [
"Apache-2.0"
] | null | null | null | akb48teamsh/fileadmin/templates/v2/public/js/index.js | liurenjie520/backupwww | 6989716901922dee3e6824f4de9a7773b9dcab83 | [
"Apache-2.0"
] | null | null | null | akb48teamsh/fileadmin/templates/v2/public/js/index.js | liurenjie520/backupwww | 6989716901922dee3e6824f4de9a7773b9dcab83 | [
"Apache-2.0"
] | null | null | null | var mySwiper = new Swiper('.banner-swiper', {
navigation: {
nextEl: '.swiper-button-next',
prevEl: '.swiper-button-prev',
},
pagination: {
el: '.swiper-pagination',
},
});
$('#mymember').carousel({
interval:3000,
wrap:true,
pause:'hover'
});
| 15.529412 | 45 | 0.606061 |
f12494b78706c35891984ff9defa34ab9555f196 | 8,270 | js | JavaScript | packages/node-opcua-basic-types/src/nodeid.js | hschmidtchen/node-opcua | 425821c6e800b0f7a002c6281ecfa691c1b1c355 | [
"MIT"
] | null | null | null | packages/node-opcua-basic-types/src/nodeid.js | hschmidtchen/node-opcua | 425821c6e800b0f7a002c6281ecfa691c1b1c355 | [
"MIT"
] | 1 | 2018-03-23T12:42:01.000Z | 2018-03-23T12:42:01.000Z | packages/node-opcua-basic-types/src/nodeid.js | bruegth/node-opcua | 2df4170f4f1d283257e4af48b5659abdfa71d482 | [
"MIT"
] | null | null | null | "use strict";
var Enum = require("node-opcua-enum");
var assert = require("node-opcua-assert");
var makeNodeId = exports.makeNodeId = require("node-opcua-nodeid").makeNodeId;
var NodeIdType = exports.NodeIdType = require("node-opcua-nodeid").NodeIdType;
var NodeId = require("node-opcua-nodeid").NodeId;
var ExpandedN... | 35.191489 | 122 | 0.676058 |
f1284abd54c12cf319633c6afd2790ae3726b3b6 | 78 | js | JavaScript | doc/html/search/files_1.js | hugobarreiro/ea872-dictionary | 79bc687dea358b1ae0928106efd2779f5f9b3beb | [
"MIT"
] | null | null | null | doc/html/search/files_1.js | hugobarreiro/ea872-dictionary | 79bc687dea358b1ae0928106efd2779f5f9b3beb | [
"MIT"
] | null | null | null | doc/html/search/files_1.js | hugobarreiro/ea872-dictionary | 79bc687dea358b1ae0928106efd2779f5f9b3beb | [
"MIT"
] | null | null | null | var searchData=
[
['logger_2ec',['logger.c',['../logger_8c.html',1,'']]]
];
| 15.6 | 56 | 0.564103 |
f12a475ce28cbe16dde33ee960c2184b84ac2a09 | 9,089 | js | JavaScript | src/states/Travel.js | mikkpr/LD38 | 5c5751ebd0f8676ca76a943117b4460310877ded | [
"MIT"
] | null | null | null | src/states/Travel.js | mikkpr/LD38 | 5c5751ebd0f8676ca76a943117b4460310877ded | [
"MIT"
] | 1 | 2017-04-28T06:56:34.000Z | 2017-04-28T06:56:34.000Z | src/states/Travel.js | mikkpr/LD38 | 5c5751ebd0f8676ca76a943117b4460310877ded | [
"MIT"
] | null | null | null | import Phaser from 'phaser'
import Player from '../sprites/Player'
import Turret from '../sprites/Turret'
import { enableMusicForState } from '../utils.js'
export default class extends Phaser.State {
init (tilemap) {
this.tilemap = tilemap
this.game.tilemap = tilemap
}
create () {
this.disableMusi... | 41.692661 | 125 | 0.634173 |
f12be86d903203d801c35f93ea9576f448893fb4 | 68,099 | js | JavaScript | build/kissy-nodejs-min.js | zhaozexin/kissy | e276722b92bd434d399a15fbd4f4fac0424a5ac2 | [
"MIT"
] | null | null | null | build/kissy-nodejs-min.js | zhaozexin/kissy | e276722b92bd434d399a15fbd4f4fac0424a5ac2 | [
"MIT"
] | null | null | null | build/kissy-nodejs-min.js | zhaozexin/kissy | e276722b92bd434d399a15fbd4f4fac0424a5ac2 | [
"MIT"
] | 1 | 2020-08-14T06:24:01.000Z | 2020-08-14T06:24:01.000Z | /*
Copyright 2011, KISSY UI Library v1.20dev
MIT Licensed
build time: ${build.time}
*/
(function(){var c=require("jsdom").jsdom;document=c("<html><head></head><body></body></html>");window=document.createWindow();location=window.location;navigator=window.navigator;KISSY={__HOST:window};exports.KISSY=window.KISSY=KISSY}... | 436.532051 | 816 | 0.662389 |
f12ccd4ab903e7f900df630521b75e2ef5ca3d87 | 1,327 | js | JavaScript | .eslintrc.js | jaypeng2015/decision-maker | 91f1692b2148b53ef2b104a93125a54968ff9884 | [
"MIT"
] | 2 | 2018-11-22T19:03:23.000Z | 2019-07-27T03:26:50.000Z | .eslintrc.js | jaypeng2015/decision-maker | 91f1692b2148b53ef2b104a93125a54968ff9884 | [
"MIT"
] | 644 | 2018-07-24T03:29:42.000Z | 2021-01-21T15:31:15.000Z | .eslintrc.js | jaypeng2015/decision-maker | 91f1692b2148b53ef2b104a93125a54968ff9884 | [
"MIT"
] | null | null | null | module.exports = {
env: {
es6: true,
node: true,
jest: true,
},
extends: [
'eslint:recommended',
'plugin:import/errors',
'plugin:import/warnings',
'plugin:import/typescript',
'plugin:@typescript-eslint/recommended', // Uses the recommended rules from the @typescript-eslint/eslint-p... | 32.365854 | 218 | 0.64431 |
f12e0eb953062f3b5347157eb337111606971bc6 | 350 | js | JavaScript | src/modules/contact.js | Ceci007/restaurant-page | a74684c244dbd3bdbb695462dd29a584634257b0 | [
"MIT"
] | 2 | 2020-12-05T03:03:15.000Z | 2021-01-28T22:48:37.000Z | src/modules/contact.js | Ceci007/restaurant-page | a74684c244dbd3bdbb695462dd29a584634257b0 | [
"MIT"
] | null | null | null | src/modules/contact.js | Ceci007/restaurant-page | a74684c244dbd3bdbb695462dd29a584634257b0 | [
"MIT"
] | null | null | null | /* eslint-disable import/prefer-default-export */
import { createList } from './helper';
const contact = {
renderAreaId: 'contContainer',
render: (location) => {
createList(location, 'Contact me at:', 'GitHub: https://github.com/Ceci007', 'Linkedin: www.linkedin.com/in/cecilia-benítez', '+595981-123-456-arf!')... | 31.818182 | 154 | 0.677143 |
f12ed4faf5d0daf5e775627b79870b5ff172565d | 6,191 | js | JavaScript | src/app/common/components/icons/icons.stories.js | AurelienGasser/substra-frontend | ba033bf70587a41011283e26fc814a72c8216437 | [
"Apache-2.0"
] | 17 | 2019-10-25T13:35:15.000Z | 2021-03-23T21:17:59.000Z | src/app/common/components/icons/icons.stories.js | AurelienGasser/substra-frontend | ba033bf70587a41011283e26fc814a72c8216437 | [
"Apache-2.0"
] | 37 | 2019-10-31T12:51:41.000Z | 2020-11-05T14:14:21.000Z | src/app/common/components/icons/icons.stories.js | dino0633/substrafrontend | a8226aac1fd548d53df3d9296953cb5c5d03ab25 | [
"Apache-2.0"
] | 11 | 2019-10-25T13:46:54.000Z | 2021-06-03T11:47:38.000Z | import React from 'react';
import {storiesOf} from '@storybook/react';
import {withKnobs, color, number} from '@storybook/addon-knobs/react';
import styled from '@emotion/styled';
import {
Alert,
Algo,
Book,
Check,
ClearIcon,
Clipboard,
Collapse,
CopyDrop,
CopySimple,
Dataset,
... | 32.07772 | 132 | 0.365369 |
f12ed6a8d22e39088b5a9c9cfb5752bb657d0e4f | 606 | js | JavaScript | assets/js/IpsumListener.js | Steven24K/lorum-ipsum-generator | d81d0b429e176dc94ea460cd12b3cdf33240328c | [
"MIT"
] | 10 | 2017-04-15T05:46:36.000Z | 2021-02-23T14:30:59.000Z | assets/js/IpsumListener.js | Steven24K/lorum-ipsum-generator | d81d0b429e176dc94ea460cd12b3cdf33240328c | [
"MIT"
] | 21 | 2017-01-09T22:29:31.000Z | 2017-01-30T00:30:22.000Z | assets/js/IpsumListener.js | Steven24K/lorum-ipsum-generator | d81d0b429e176dc94ea460cd12b3cdf33240328c | [
"MIT"
] | 3 | 2017-10-28T23:40:31.000Z | 2021-02-23T14:31:12.000Z | "use strict"
var IpsumListener = (function (_doc, _ipsumGen) {
var _formGenerator = _doc.getElementById('form-generate'),
_paragNumInput = _doc.getElementById('paragraph-number-input'),
_startWith = _doc.getElementById('start-with');
/**
* Add all the listeners here
*/
_formGener... | 28.857143 | 84 | 0.671617 |
f12f1c46b4b0c119214920afbc2b871ca665a03d | 34 | js | JavaScript | src/MenuCard/index.js | ox2/ui | 583a132aa7c050cd987d7b6367e2a8837d56c91f | [
"MIT"
] | null | null | null | src/MenuCard/index.js | ox2/ui | 583a132aa7c050cd987d7b6367e2a8837d56c91f | [
"MIT"
] | null | null | null | src/MenuCard/index.js | ox2/ui | 583a132aa7c050cd987d7b6367e2a8837d56c91f | [
"MIT"
] | null | null | null | export default from './MenuCard';
| 17 | 33 | 0.735294 |
f12fb37601bc652b959e989c1825595056e3b963 | 447 | js | JavaScript | backend/web/js/ajax.js | abedghr/selling-vehicles | dedd17d267029a4aa63f5674c0ce15de837965a2 | [
"BSD-3-Clause"
] | null | null | null | backend/web/js/ajax.js | abedghr/selling-vehicles | dedd17d267029a4aa63f5674c0ce15de837965a2 | [
"BSD-3-Clause"
] | null | null | null | backend/web/js/ajax.js | abedghr/selling-vehicles | dedd17d267029a4aa63f5674c0ce15de837965a2 | [
"BSD-3-Clause"
] | null | null | null | $('document').ready(function () {
$('.featureCheckBox').change(function () {
var make_id = $(this).val();
var featured_type = $(this).attr('attribute');
$.ajax({
url: base_url + "/ajax/feature/",
type: "POST",
dataType: 'json',
data: {'make_id'... | 27.9375 | 69 | 0.494407 |
f12fc487a1c7b6e0a9b5be13dd3b358c52826685 | 1,478 | js | JavaScript | Serverless/simple_crud/src/handlers/updateBook.js | jugaldb/Simple-CRUD | 243091cdc2f9f6b4181c0ca5a4e154254e746dd0 | [
"MIT"
] | 9 | 2020-11-02T05:45:27.000Z | 2021-09-18T16:19:37.000Z | Serverless/simple_crud/src/handlers/updateBook.js | jugaldb/Simple-CRUD | 243091cdc2f9f6b4181c0ca5a4e154254e746dd0 | [
"MIT"
] | 1 | 2020-11-14T11:42:50.000Z | 2020-11-24T06:59:46.000Z | Serverless/simple_crud/src/handlers/updateBook.js | jugaldb/Simple-CRUD | 243091cdc2f9f6b4181c0ca5a4e154254e746dd0 | [
"MIT"
] | 5 | 2020-11-02T05:45:52.000Z | 2020-12-29T07:57:29.000Z | import AWS from 'aws-sdk';
///
import middy from '@middy/core';
import httpJsonBodyParser from '@middy/http-json-body-parser';
import httpEventNormalizer from '@middy/http-event-normalizer';
import httpErrorHandler from '@middy/http-error-handler';
import createError from 'http-errors'
///
const dynamodb = new AWS.Dyna... | 24.229508 | 92 | 0.652909 |
f12fcec66dcc8805c25b45381438ddc540ab5483 | 1,507 | js | JavaScript | index.js | ArtifexYT/JSON-Constructor | 137987813dbd0b0bad286fda5a814ffbb8200c48 | [
"MIT"
] | null | null | null | index.js | ArtifexYT/JSON-Constructor | 137987813dbd0b0bad286fda5a814ffbb8200c48 | [
"MIT"
] | null | null | null | index.js | ArtifexYT/JSON-Constructor | 137987813dbd0b0bad286fda5a814ffbb8200c48 | [
"MIT"
] | null | null | null | const path = require("path");
const fs = require("fs-extra");
class JSONMaker {
constructor(path) {
this.json = {};
if (path) this.load(path);
}
addField(title, data) {
if (this.json[title]) return "This value already exists in the file.";
this.json[title] = data... | 23.920635 | 79 | 0.4572 |
f130d84968939bcb6f33589f271b1f33c2a32280 | 8,155 | js | JavaScript | client/templates/set-night-out/map.js | JoeKarlsson/night-out | 4db965a878a18300224141f1543e59372467f9be | [
"MIT"
] | 1 | 2021-09-27T11:58:08.000Z | 2021-09-27T11:58:08.000Z | client/templates/set-night-out/map.js | JoeKarlsson1/night-out | 4db965a878a18300224141f1543e59372467f9be | [
"MIT"
] | 1 | 2019-01-11T03:07:16.000Z | 2019-01-11T03:14:18.000Z | client/templates/set-night-out/map.js | JoeKarlsson1/night-out | 4db965a878a18300224141f1543e59372467f9be | [
"MIT"
] | null | null | null | //Global variable for setting default zoom in google maps
var MAP_ZOOM = 14;
var results;
//When app starts load google maps
Meteor.startup(function() {
GoogleMaps.load({ v : '3', key : 'AIzaSyAG_bYopvQf3H2lrQBNfKJyo4fic2ETdFI', libraries : 'geometry,places' });
});
//Pull latitude and longitude from google maps ap... | 57.429577 | 3,794 | 0.653096 |
f130eb76f134533353d09da7a6454c303c8ad0d7 | 343 | js | JavaScript | node_modules/packet/t/parser/length-encoded.t.js | caleby117/TallyArbiter | 29b3e14c4ae88a8cecbc1286ae93d764344359aa | [
"MIT"
] | null | null | null | node_modules/packet/t/parser/length-encoded.t.js | caleby117/TallyArbiter | 29b3e14c4ae88a8cecbc1286ae93d764344359aa | [
"MIT"
] | null | null | null | node_modules/packet/t/parser/length-encoded.t.js | caleby117/TallyArbiter | 29b3e14c4ae88a8cecbc1286ae93d764344359aa | [
"MIT"
] | null | null | null | #!/usr/bin/env node
require('./proof')(6, function (parseEqual) {
var bytes = [ 0x00, 0x03, 0x02, 0x03, 0x04 ];
var field = bytes.slice(2);
parseEqual("b16/b8", bytes, 5, field, "read a length encoded array of bytes");
parseEqual("b16/b8 => array", bytes, 5, { array: field },
"read a named length encoded... | 34.3 | 80 | 0.635569 |
f131da40e347006e2f3f8093c02abd25c48938dd | 150 | js | JavaScript | src/ExpansionPanel/index.js | RayJune/san-mui | 98580dbb1c66df7eb49916b1e0f25173f9febbfc | [
"MIT"
] | 96 | 2017-01-23T06:59:09.000Z | 2021-12-02T08:44:12.000Z | src/ExpansionPanel/index.js | RayJune/san-mui | 98580dbb1c66df7eb49916b1e0f25173f9febbfc | [
"MIT"
] | 71 | 2017-02-13T06:28:23.000Z | 2020-02-18T07:01:57.000Z | src/ExpansionPanel/index.js | RayJune/san-mui | 98580dbb1c66df7eb49916b1e0f25173f9febbfc | [
"MIT"
] | 44 | 2017-04-17T05:05:59.000Z | 2020-06-11T06:35:09.000Z | /**
* @file Expansion Panel
* @author leon <ludafa@outlook.com>
*/
import ExpansionPanel from './ExpansionPanel';
export default ExpansionPanel;
| 16.666667 | 46 | 0.726667 |
f13205bb70c5ff599ca4a63bacc6da4b6dd019d2 | 2,327 | js | JavaScript | src/controllers/users.js | halkeand/poller-fcc | 960ffcd99231d73b1b5ec114a1b362d15bd9725e | [
"MIT"
] | null | null | null | src/controllers/users.js | halkeand/poller-fcc | 960ffcd99231d73b1b5ec114a1b362d15bd9725e | [
"MIT"
] | null | null | null | src/controllers/users.js | halkeand/poller-fcc | 960ffcd99231d73b1b5ec114a1b362d15bd9725e | [
"MIT"
] | null | null | null | const to = require('await-to-js').to,
User = require('../models/User'),
{
json400,
json403,
json200,
allowFields,
getMessages,
rejectKeys
} = require('../utils')
// When we receive a json body, the only fields which can be
// Updated on the User model are the following
const extractFields... | 27.702381 | 75 | 0.554362 |
f1325248f0005330dcf8f60156631b34b5b7898e | 313 | js | JavaScript | packages/service/src/serverless/util/callbackOnWarmup.js | fossabot/me-1 | 71aff052c6cd66e0891f6648e0f599d7ba229bc4 | [
"MIT"
] | 6 | 2018-07-19T05:59:05.000Z | 2021-12-29T21:07:18.000Z | packages/service/src/serverless/util/callbackOnWarmup.js | fossabot/me-1 | 71aff052c6cd66e0891f6648e0f599d7ba229bc4 | [
"MIT"
] | 526 | 2018-08-03T04:58:27.000Z | 2020-11-29T16:21:09.000Z | packages/service/src/serverless/util/callbackOnWarmup.js | fossabot/me-1 | 71aff052c6cd66e0891f6648e0f599d7ba229bc4 | [
"MIT"
] | 3 | 2020-01-04T19:37:31.000Z | 2020-07-15T18:48:33.000Z | import logger from "../logger";
export const callbackOnWarmup = (event, context, callback) => {
logger.debug("%s@%s warmed up request %s", context.functionName, context.functionVersion, context.awsRequestId, event, context);
return callback(null, "Lambda is warm!");
};
export default callbackOnWarmup;
| 34.777778 | 132 | 0.731629 |
f13372925d5437828837337ddd62e6a0596e0b14 | 135 | js | JavaScript | lib/utils/index.js | devanp92/combinatorics.js | c29f81a3dda64227ac49b9d0354cd385109b4316 | [
"MIT"
] | 177 | 2015-08-29T17:48:04.000Z | 2020-10-21T11:56:58.000Z | lib/utils/index.js | devanp92/combinatorics.js | c29f81a3dda64227ac49b9d0354cd385109b4316 | [
"MIT"
] | 1 | 2017-10-30T07:12:33.000Z | 2019-07-17T14:51:53.000Z | lib/utils/index.js | devanp92/combinatorics.js | c29f81a3dda64227ac49b9d0354cd385109b4316 | [
"MIT"
] | 9 | 2015-08-29T23:59:26.000Z | 2021-12-29T21:38:38.000Z | module.exports = [
require('./combinations'),
require('./isInteger'),
require('./object'),
require('./enumerative')
];
| 19.285714 | 30 | 0.585185 |
f133da17be6e94df729f9db6036dab072c5ba005 | 264 | js | JavaScript | migrations/2_deploy_contracts.js | The-Poolz/Locked-pools | 155f02de944195f18319f7f22c9ad0746c058ad3 | [
"MIT"
] | null | null | null | migrations/2_deploy_contracts.js | The-Poolz/Locked-pools | 155f02de944195f18319f7f22c9ad0746c058ad3 | [
"MIT"
] | 11 | 2021-03-18T12:34:21.000Z | 2022-02-23T10:43:37.000Z | migrations/2_deploy_contracts.js | The-Poolz/Locked-pools | 155f02de944195f18319f7f22c9ad0746c058ad3 | [
"MIT"
] | 3 | 2021-01-22T09:37:13.000Z | 2021-05-04T13:44:17.000Z | const LockedDeal = artifacts.require("LockedDeal");
const TestToken = artifacts.require("Token");
module.exports = function(deployer) {
deployer.deploy(LockedDeal);
// deployer.link(LockedDeal, TestToken);
deployer.deploy(TestToken, 'TestToken', 'TEST');
}; | 33 | 51 | 0.742424 |
f13498d536a5d7cdd751a7d23ebdd22cb290076b | 834 | js | JavaScript | src/pages/react/components/Language/getPackage.js | 13462652275/react-laboratory | 7f609b87507c256cd91c72c4307f54a704b998f2 | [
"MIT"
] | null | null | null | src/pages/react/components/Language/getPackage.js | 13462652275/react-laboratory | 7f609b87507c256cd91c72c4307f54a704b998f2 | [
"MIT"
] | 2 | 2022-02-14T13:37:15.000Z | 2022-02-27T17:32:04.000Z | src/pages/react/components/Language/getPackage.js | liuzane/react-laboratory | aaf26ea498c76344ede4e0caf92a9dfbc47f26ed | [
"MIT"
] | null | null | null | // 方法
import { getStorage, setStorage } from '@/utils/local-storage';
// 检索搜索值是否为 key 子字符串
const isMatch = function (searchKey, object) {
const keys = Object.keys(object);
return keys.find(key => key.search(searchKey) !== -1);
};
export default function (packages, language) {
const packageKey = (getStorage('la... | 26.903226 | 80 | 0.684652 |
f134c018ed2cf7a279fe0b5a1a1aa3ff324139c5 | 1,000 | js | JavaScript | dist-mdi/mdi/robot-confused.js | maciejg-git/vue-bootstrap-icons | bc60cf77193e15cc72ec7eb7f9949ed8b552e7ec | [
"MIT",
"CC-BY-4.0",
"MIT-0"
] | null | null | null | dist-mdi/mdi/robot-confused.js | maciejg-git/vue-bootstrap-icons | bc60cf77193e15cc72ec7eb7f9949ed8b552e7ec | [
"MIT",
"CC-BY-4.0",
"MIT-0"
] | null | null | null | dist-mdi/mdi/robot-confused.js | maciejg-git/vue-bootstrap-icons | bc60cf77193e15cc72ec7eb7f9949ed8b552e7ec | [
"MIT",
"CC-BY-4.0",
"MIT-0"
] | null | null | null | import { h } from 'vue'
export default {
name: "RobotConfused",
vendor: "Mdi",
type: "",
tags: ["robot","confused"],
render() {
return h(
"svg",
{"xmlns":"http://www.w3.org/2000/svg","width":"24","height":"24","viewBox":"0 0 24 24","class":"v-icon","fill":"currentColor","data-name":"mdi-robot-... | 76.923077 | 823 | 0.662 |
f134ff9106cadba8ba6dbfc0e1634534f95bc3e6 | 1,557 | js | JavaScript | frontend/src/tests/unit/epics/startGame.spec.js | ilkka-rautiainen/e-getkanban | 28d4f6c5174f266f297fa0783380f04cbe769eca | [
"MIT"
] | null | null | null | frontend/src/tests/unit/epics/startGame.spec.js | ilkka-rautiainen/e-getkanban | 28d4f6c5174f266f297fa0783380f04cbe769eca | [
"MIT"
] | null | null | null | frontend/src/tests/unit/epics/startGame.spec.js | ilkka-rautiainen/e-getkanban | 28d4f6c5174f266f297fa0783380f04cbe769eca | [
"MIT"
] | 2 | 2017-06-01T07:37:02.000Z | 2017-06-01T07:39:20.000Z | import { ActionsObservable } from 'redux-observable';
import { Observable } from 'rxjs/Observable';
import { START_GAME, SET_GAME_DATA } from '../../../actions/actionTypes';
import { startGame } from '../../../actions/index';
import startGameEpic from '../../../epics/startGame';
import game from "../../resources/initia... | 43.25 | 98 | 0.700064 |
f1358cc1c77417ce375ca9c6e34d68547801bc4a | 223 | js | JavaScript | data/minors/concussive-trap.js | Crowcaine/crowfall-data | ae6b3356a342389ab5634563dc445e3e93dbdd4a | [
"MIT"
] | 1 | 2021-08-09T01:25:38.000Z | 2021-08-09T01:25:38.000Z | data/minors/concussive-trap.js | filaraujo/crowfall-data | ae6b3356a342389ab5634563dc445e3e93dbdd4a | [
"MIT"
] | 16 | 2021-02-07T21:27:57.000Z | 2021-04-15T00:25:02.000Z | data/minors/concussive-trap.js | Crowcaine/crowfall-data | ae6b3356a342389ab5634563dc445e3e93dbdd4a | [
"MIT"
] | 2 | 2021-06-17T21:13:41.000Z | 2021-08-31T13:20:21.000Z | export default {
description: '',
id: 'concussive-trap',
name: 'Concussive Trap',
powers: ['concussive-trap'],
requirements: ['domain:dark'],
stats: {
health: 500
},
type: 'minor',
version: '6.540'
};
| 17.153846 | 32 | 0.600897 |
f136df71334d778c65186dfe8b3e5aa0bfa54761 | 498 | js | JavaScript | src/carbon-dating.js | ukulya/basic-js | ed54fc9b39af8e9a7e9e615fbe3d8819190b0c1b | [
"MIT"
] | null | null | null | src/carbon-dating.js | ukulya/basic-js | ed54fc9b39af8e9a7e9e615fbe3d8819190b0c1b | [
"MIT"
] | null | null | null | src/carbon-dating.js | ukulya/basic-js | ed54fc9b39af8e9a7e9e615fbe3d8819190b0c1b | [
"MIT"
] | null | null | null | //const CustomError = require("../extensions/custom-error");
module.exports = function dateSample(/* sampleActivity */) {
//throw new CustomError('Not implemented');
// remove line with error and write your code here
const MODERN_ACTIVITY = 15;
const HALF_LIFE_PERIOD = 0.693/5730;
const dateSample = function... | 38.307692 | 97 | 0.728916 |
f1370721b3593fba699e6194d72d738342ee9edc | 617 | js | JavaScript | Documentation/HElib/html/search/classes_0.js | iruAiweapps/fhe-toolkit-macos | 9011dfad573aef83b3f2182f5e0e3e5453d842dc | [
"MIT"
] | 348 | 2020-05-23T22:40:29.000Z | 2022-03-06T09:54:36.000Z | Documentation/HElib/html/search/classes_0.js | iruAiweapps/fhe-toolkit-macos | 9011dfad573aef83b3f2182f5e0e3e5453d842dc | [
"MIT"
] | 38 | 2020-05-18T11:35:18.000Z | 2021-11-23T21:44:50.000Z | Documentation/HElib/html/search/classes_0.js | iruAiweapps/fhe-toolkit-macos | 9011dfad573aef83b3f2182f5e0e3e5453d842dc | [
"MIT"
] | 40 | 2020-06-05T17:47:10.000Z | 2022-03-13T14:41:24.000Z | var searchData=
[
['add_5fpa_5fimpl_630',['add_pa_impl',['../classhelib_1_1add__pa__impl.html',1,'helib']]],
['adddag_631',['AddDAG',['../classhelib_1_1_add_d_a_g.html',1,'helib']]],
['aligned_5fallocator_632',['aligned_allocator',['../classhelib_1_1_p_g_f_f_t_1_1aligned__allocator.html',1,'helib::PGFFT']]],
['... | 61.7 | 128 | 0.729335 |
f137a2a8edb1df51d9e385b99ba54df426d8ffa0 | 5,438 | js | JavaScript | backend/api/routes/status.js | logan-life/penn_pals | 5bfa816856a04af457a4a8ddd8d886d1d0f927ea | [
"MIT"
] | null | null | null | backend/api/routes/status.js | logan-life/penn_pals | 5bfa816856a04af457a4a8ddd8d886d1d0f927ea | [
"MIT"
] | null | null | null | backend/api/routes/status.js | logan-life/penn_pals | 5bfa816856a04af457a4a8ddd8d886d1d0f927ea | [
"MIT"
] | null | null | null | const express = require('express');
const router = express.Router();
const authenticate = require("../middleware/authenticate.js");
const upload = require("../middleware/upload.js");
const singleUpload = upload.single('image')
const User = require('../../schemas/User.js');
// @route PUT api/status
// @desc Uploa... | 36.496644 | 111 | 0.506804 |
f13ab6149fc13a5401c448b5acf9209f51693b11 | 192 | js | JavaScript | aprendendo-html-css/WEBII-IFMG/revisao-js/ex05.js | ArthurTerozendi/html-css | bfc56edabbbdb863af03543b36481373ebb74408 | [
"MIT"
] | null | null | null | aprendendo-html-css/WEBII-IFMG/revisao-js/ex05.js | ArthurTerozendi/html-css | bfc56edabbbdb863af03543b36481373ebb74408 | [
"MIT"
] | null | null | null | aprendendo-html-css/WEBII-IFMG/revisao-js/ex05.js | ArthurTerozendi/html-css | bfc56edabbbdb863af03543b36481373ebb74408 | [
"MIT"
] | null | null | null | removerPropriedade({a: 1, b: 20}, "b");
function removerPropriedade(obj, propriedade) {
let newObj = obj;
delete newObj[propriedade];
window.alert(JSON.stringify(newObj));
} | 21.333333 | 47 | 0.671875 |
f13c16fe1bb88c3bbb49ef4f346e2ffaffb6f358 | 4,428 | js | JavaScript | routes/Statistics.js | d0minYk/the-open-data-map | 64f6abc09c1ad0a56201ef4efcc8eac54b0080c0 | [
"MIT"
] | null | null | null | routes/Statistics.js | d0minYk/the-open-data-map | 64f6abc09c1ad0a56201ef4efcc8eac54b0080c0 | [
"MIT"
] | null | null | null | routes/Statistics.js | d0minYk/the-open-data-map | 64f6abc09c1ad0a56201ef4efcc8eac54b0080c0 | [
"MIT"
] | null | null | null | const router = require('express').Router();
const auth = require('./Auth');
const Keys = require('../config/Keys.js');
const Statistics = require('../models/Statistics.js');
const Utilities = require('../Utilities.js');
const { Client } = require('pg');
router.get('/', auth.optional, (req, res, next) => {
return ... | 39.891892 | 246 | 0.581301 |
f13db770ca0af8ecfa81e8fe65b8ff0e9f2bfc7e | 8,144 | js | JavaScript | resources/react/pages/Register/Upload.js | wolvecode/frsc | 407cc17332887902a94c975b95c5e08f686a19b4 | [
"MIT"
] | null | null | null | resources/react/pages/Register/Upload.js | wolvecode/frsc | 407cc17332887902a94c975b95c5e08f686a19b4 | [
"MIT"
] | null | null | null | resources/react/pages/Register/Upload.js | wolvecode/frsc | 407cc17332887902a94c975b95c5e08f686a19b4 | [
"MIT"
] | null | null | null | import React, { useState, useEffect } from "react";
import { FaArrowAltCircleUp, FaFingerprint, FaTrashAlt } from "react-icons/fa";
import { AiOutlineScan } from "react-icons/ai";
import { Link, useHistory, useRouteMatch } from "react-router-dom";
import Camera from "react-html5-camera-photo";
import WebCam from "./com... | 38.597156 | 80 | 0.337058 |
f13e0e8e4ac2e463d2e5c8f0dbca2e725218e7bd | 6,370 | js | JavaScript | App/Containers/ProfileScreen/ProfileScreen.js | sebastianoscarlopez/country-ingresos | c565f55d083691cabd5c3712d31493b4872acf1f | [
"MIT"
] | null | null | null | App/Containers/ProfileScreen/ProfileScreen.js | sebastianoscarlopez/country-ingresos | c565f55d083691cabd5c3712d31493b4872acf1f | [
"MIT"
] | null | null | null | App/Containers/ProfileScreen/ProfileScreen.js | sebastianoscarlopez/country-ingresos | c565f55d083691cabd5c3712d31493b4872acf1f | [
"MIT"
] | null | null | null | import React, { useState, useEffect } from 'react'
import { TextInput, Text, View, ActivityIndicator } from 'react-native'
import { shallowEqual, useSelector, useDispatch } from 'react-redux'
import ContainerScreen from 'App/Containers/ContainerScreen/ContainerScreen'
import { InputField, Label, Header, Button, Modal }... | 40.316456 | 212 | 0.654945 |
f13ed09c86d4c4985b148583e886909c09657265 | 112 | js | JavaScript | index.js | distributed-systems/playr-webservice | c9e83b32c8531cd188d4745f6802a3c7c74f2474 | [
"MIT"
] | null | null | null | index.js | distributed-systems/playr-webservice | c9e83b32c8531cd188d4745f6802a3c7c74f2474 | [
"MIT"
] | null | null | null | index.js | distributed-systems/playr-webservice | c9e83b32c8531cd188d4745f6802a3c7c74f2474 | [
"MIT"
] | null | null | null | (function() {
'use strict';
let Service = require('./src/PlayrWebservice');
new Service();
})();
| 12.444444 | 51 | 0.553571 |
f13ee026ec33913b99f13d418e05b77beb4bf086 | 4,218 | js | JavaScript | src/templates/category.js | santuan/bqxn | 4123e2e77dde3a1e723b5b38534b49129db1c00e | [
"RSA-MD"
] | null | null | null | src/templates/category.js | santuan/bqxn | 4123e2e77dde3a1e723b5b38534b49129db1c00e | [
"RSA-MD"
] | null | null | null | src/templates/category.js | santuan/bqxn | 4123e2e77dde3a1e723b5b38534b49129db1c00e | [
"RSA-MD"
] | null | null | null | //import { Link, FormattedMessage } from "gatsby-plugin-intl"
import Layout from "../components/layout"
import { graphql } from "gatsby"
import { Link } from "gatsby"
import SEO from "../components/seo"
import Img from "gatsby-image"
import React from "react"
import { kebabCase } from "lodash"
import tw from "twin.mac... | 29.496503 | 185 | 0.516833 |
f1401a120e0924f08f4bbdc1d3709a97e0c8ba6d | 3,619 | js | JavaScript | lib/utils.js | chinnurtb/app-scraper | 04ff9a2636a19db517788b6866ce088e124a6ecf | [
"MIT"
] | 1 | 2019-03-04T02:22:18.000Z | 2019-03-04T02:22:18.000Z | lib/utils.js | chinnurtb/app-scraper | 04ff9a2636a19db517788b6866ce088e124a6ecf | [
"MIT"
] | null | null | null | lib/utils.js | chinnurtb/app-scraper | 04ff9a2636a19db517788b6866ce088e124a6ecf | [
"MIT"
] | null | null | null | var path = require('path'),
fs = require('fs'),
program = require('commander'),
AppInfo = require('./model/').AppInfo,
query = require('./query/');
module.exports = exports = utils = {};
utils.endsWith = function(str, suffix) {
return str.indexOf(suffix, str.length - suffix.length) !== -1;
}
util... | 24.787671 | 72 | 0.651009 |
f140d93b0838024c5b0500692d544dab30589d9c | 967 | js | JavaScript | api/handlers/recipeTypesValidate.js | mheppner/scale-ui | ae2c9a8414331638b64a7437292f488828571725 | [
"Apache-2.0"
] | 8 | 2018-09-24T11:09:05.000Z | 2022-03-10T05:00:08.000Z | api/handlers/recipeTypesValidate.js | mheppner/scale-ui | ae2c9a8414331638b64a7437292f488828571725 | [
"Apache-2.0"
] | 348 | 2018-08-11T20:11:57.000Z | 2022-03-02T02:48:31.000Z | api/handlers/recipeTypesValidate.js | mheppner/scale-ui | ae2c9a8414331638b64a7437292f488828571725 | [
"Apache-2.0"
] | 6 | 2019-03-13T17:31:41.000Z | 2020-08-19T15:32:56.000Z | const _ = require('lodash');
module.exports = function (request) {
var warnings = [];
var errors = [];
var nodes = {};
if (!request.payload.definition) {
warnings.push({
id: 'Missing Definition',
details: 'Recipe type definition is undefined'
});
}... | 28.441176 | 78 | 0.517063 |
f14203edd89893a95cf1b030c539fe6f4c86b5d3 | 248 | js | JavaScript | src/website/app/demos/Form/FormFieldDivider/description.js | avetisk/mineral-ui | 5abbc4b7fd4937a85322e11f4bd0def194dfe7cc | [
"Apache-2.0"
] | 562 | 2017-04-21T19:37:27.000Z | 2022-02-13T03:27:24.000Z | src/website/app/demos/Form/FormFieldDivider/description.js | avetisk/mineral-ui | 5abbc4b7fd4937a85322e11f4bd0def194dfe7cc | [
"Apache-2.0"
] | 590 | 2017-04-25T19:38:34.000Z | 2020-10-07T14:53:04.000Z | src/website/app/demos/Form/FormFieldDivider/description.js | targetx/fork-mineral-ui | f47073b76443dcd895b218e43d510df0616870ec | [
"Apache-2.0"
] | 68 | 2017-04-25T21:11:10.000Z | 2022-01-21T12:25:59.000Z | /* @flow */
export default `FormFieldDivider separates [FormFields](/components/form-field)
to group form inputs.
FormFieldDividers help your users grok forms with several inputs by hinting at
related fields, without explicitly adding a legend.`;
| 35.428571 | 79 | 0.798387 |
f1435cfd83438b73ec742f2d4cf996bdc76c79b9 | 5,033 | js | JavaScript | test/bcdbuilder.js | jpmedley/mdn-helper | 297c7f1b4967572440fc60f542f06d944c53fcc8 | [
"Apache-2.0"
] | 4 | 2021-02-17T03:21:33.000Z | 2022-01-30T16:00:21.000Z | test/bcdbuilder.js | jpmedley/mdn-helper | 297c7f1b4967572440fc60f542f06d944c53fcc8 | [
"Apache-2.0"
] | 57 | 2019-01-22T20:50:04.000Z | 2021-12-13T19:30:49.000Z | test/bcdbuilder.js | jpmedley/mdn-helper | 297c7f1b4967572440fc60f542f06d944c53fcc8 | [
"Apache-2.0"
] | 2 | 2019-02-27T15:54:07.000Z | 2019-04-09T19:23:47.000Z | // Copyright 2019 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | 35.95 | 265 | 0.633618 |
f14428d9186fe3de7559b4f499cf51c23bdfb322 | 219 | js | JavaScript | examples/js/defaultStyling.js | magplus/intl-tel-input | 4fb04b2f6c14881c5fd1f4a608268e0e4987ba82 | [
"MIT"
] | 1 | 2017-07-08T12:47:12.000Z | 2017-07-08T12:47:12.000Z | examples/js/defaultStyling.js | denizhacisalihoglu/intl-tel-input | afa3e4df4531ba37201936f8de8d590ecb3d7fd3 | [
"MIT"
] | null | null | null | examples/js/defaultStyling.js | denizhacisalihoglu/intl-tel-input | afa3e4df4531ba37201936f8de8d590ecb3d7fd3 | [
"MIT"
] | null | null | null | $("#phone1").intlTelInput({defaultStyling: "inside"});
$("#phone2").intlTelInput({defaultStyling: "outside"});
$("#phone3").intlTelInput({defaultStyling: "outside"});
$("#phone4").intlTelInput({defaultStyling: "none"}); | 54.75 | 55 | 0.694064 |
f1442f9e12d2a8c78b400ab08f6695252e4a651b | 494 | js | JavaScript | main.js | warbelt/dicemaster | a922d184aace3ab3259e8189e24988cb05a48fa9 | [
"MIT"
] | null | null | null | main.js | warbelt/dicemaster | a922d184aace3ab3259e8189e24988cb05a48fa9 | [
"MIT"
] | 2 | 2021-01-28T19:48:52.000Z | 2022-03-25T18:41:16.000Z | main.js | warbelt/dicemaster | a922d184aace3ab3259e8189e24988cb05a48fa9 | [
"MIT"
] | 1 | 2019-06-10T16:13:51.000Z | 2019-06-10T16:13:51.000Z | const { app, BrowserWindow } = require('electron');
let win; // Global reference to the window so the GC does not close it
function createWindow () {
win = new BrowserWindow({
width: 1280,
height: 720,
frame: false,
});
win.loadURL('file://' + __dirname + '/app/www/index.html');
... | 19.76 | 70 | 0.580972 |
f1446d3c31b85f84ae712cb11e941788bd3298e8 | 96 | js | JavaScript | km_dev/nodejs_experiments/print_to_console/console_output.js | KyleMahan/MarshallSt_code | 5bc514ff01aa6cc600e18718afe2a25e7f7a9cab | [
"MIT"
] | null | null | null | km_dev/nodejs_experiments/print_to_console/console_output.js | KyleMahan/MarshallSt_code | 5bc514ff01aa6cc600e18718afe2a25e7f7a9cab | [
"MIT"
] | 1 | 2020-12-01T23:18:39.000Z | 2020-12-01T23:18:39.000Z | km_dev/nodejs_experiments/print_to_console/console_output.js | KyleMahan/MarshallSt_code | 5bc514ff01aa6cc600e18718afe2a25e7f7a9cab | [
"MIT"
] | null | null | null | // This will output to the console
console.log('Trying to output to the console')
console.log(0) | 32 | 46 | 0.760417 |
f144ba329dfd70225c30b0c30ea58f94df6cd78e | 581 | js | JavaScript | cheat/index.js | cursorweb/Wordle-Guess-Engine | fae297a4e6dc6ef3021ae82c99fc27f668514a1b | [
"MIT"
] | null | null | null | cheat/index.js | cursorweb/Wordle-Guess-Engine | fae297a4e6dc6ef3021ae82c99fc27f668514a1b | [
"MIT"
] | null | null | null | cheat/index.js | cursorweb/Wordle-Guess-Engine | fae297a4e6dc6ef3021ae82c99fc27f668514a1b | [
"MIT"
] | null | null | null | // cheaty method!
import { wordList } from "./la.js";
import { question as prompt } from "readline-sync";
const epox = new Date(2021, 5, 19, 0, 0, 0, 0);
// generates date (Na)
function makeDate(e, a) {
let s = new Date(e);
let t = new Date(a).setHours(0, 0, 0, 0) - s.setHours(0, 0, 0, 0);
return Math.flo... | 22.346154 | 70 | 0.60241 |
f1451a7695c1c11eb31301b299b32551bbc1710b | 1,781 | js | JavaScript | index.js | ReklatsMasters/win-ps | ea5f7e5978b3a8620556a0d898000429e5baeb4f | [
"MIT"
] | 1 | 2017-04-03T07:41:46.000Z | 2017-04-03T07:41:46.000Z | index.js | ReklatsMasters/win-ps | ea5f7e5978b3a8620556a0d898000429e5baeb4f | [
"MIT"
] | null | null | null | index.js | ReklatsMasters/win-ps | ea5f7e5978b3a8620556a0d898000429e5baeb4f | [
"MIT"
] | null | null | null | 'use strict';
const shell = require('child_process').spawn;
const command = {
shell: "powershell.exe",
shell_arg: "-NoProfile -ExecutionPolicy Bypass -Command",
ps: "get-wmiobject win32_process",
select: "select",
convert: "convertto-json -compress",
alias: (from, to) => `@{ Name = '${to}'; Expression = { $_.${ ... | 23.434211 | 122 | 0.645143 |