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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
cdc5379cd19824badb536b4d8196627d2a88d3fa | 172 | js | JavaScript | bids-validator/validators/bids/obj.js | olgn/bids-validator | d93f054ff8567243982b438991c83911c72a54c3 | [
"MIT"
] | null | null | null | bids-validator/validators/bids/obj.js | olgn/bids-validator | d93f054ff8567243982b438991c83911c72a54c3 | [
"MIT"
] | null | null | null | bids-validator/validators/bids/obj.js | olgn/bids-validator | d93f054ff8567243982b438991c83911c72a54c3 | [
"MIT"
] | 2 | 2019-05-12T16:15:29.000Z | 2020-09-23T23:53:47.000Z | module.exports = {
options: {},
issues: [],
summary: {
sessions: [],
subjects: [],
tasks: [],
modalities: [],
totalFiles: [],
size: 0,
},
}
| 13.230769 | 19 | 0.459302 |
cdc53a0856062715cbff3ff4187248820333a797 | 1,823 | js | JavaScript | testnet-contracts/truffle-config.js | trinhtan/harmony-cosmos | b32685d98447032e63f28e62877063aa89757db8 | [
"MIT"
] | null | null | null | testnet-contracts/truffle-config.js | trinhtan/harmony-cosmos | b32685d98447032e63f28e62877063aa89757db8 | [
"MIT"
] | null | null | null | testnet-contracts/truffle-config.js | trinhtan/harmony-cosmos | b32685d98447032e63f28e62877063aa89757db8 | [
"MIT"
] | 2 | 2020-08-28T08:34:27.000Z | 2020-08-31T01:08:29.000Z | require('dotenv').config();
const { TruffleProvider } = require('@harmony-js/core');
const operator_private_key = process.env.OPERATOR_PRIVATE_KEY;
const operator_meemonic = process.env.OPERATOR_MNEMONIC;
const testnet_url = process.env.TESTNET_0_URL;
//Mainnet
const mainnet_mnemonic = process.env.MAINNET_MNEMONIC;
c... | 28.936508 | 77 | 0.653319 |
cdc5f999e3643d3b1165d0ca084502c4e7bc453e | 1,110 | js | JavaScript | src/index.js | shellytang/react-simple-app | a1420c1f2603d9c348965f72f1e111232e58aae3 | [
"MIT"
] | null | null | null | src/index.js | shellytang/react-simple-app | a1420c1f2603d9c348965f72f1e111232e58aae3 | [
"MIT"
] | null | null | null | src/index.js | shellytang/react-simple-app | a1420c1f2603d9c348965f72f1e111232e58aae3 | [
"MIT"
] | null | null | null | import _ from 'lodash';
import React, {Component} from 'react';
import ReactDOM from 'react-dom';
import YTSearch from 'youtube-api-search';
import SearchBar from './components/search_bar';
import VideoList from './components/video_list';
import VideoDetail from './components/video_detail';
class App extends Component... | 25.813953 | 76 | 0.632432 |
cdc6cb91224099388b7f909f4f24ac6b7d2f1713 | 744 | js | JavaScript | custom-rocketchat/bundle/programs/server/packages/raix_ui-dropped-event.js | BetaBlocksCo/Rocket.Chat | b00a99ccaa66b47a9fe581fd81de34de547f6bb7 | [
"MIT"
] | 1 | 2021-05-24T17:36:09.000Z | 2021-05-24T17:36:09.000Z | custom-rocketchat/bundle/programs/server/packages/raix_ui-dropped-event.js | BetaBlocksCo/Rocket.Chat | b00a99ccaa66b47a9fe581fd81de34de547f6bb7 | [
"MIT"
] | null | null | null | custom-rocketchat/bundle/programs/server/packages/raix_ui-dropped-event.js | BetaBlocksCo/Rocket.Chat | b00a99ccaa66b47a9fe581fd81de34de547f6bb7 | [
"MIT"
] | null | null | null | (function () {
/* Imports */
var Meteor = Package.meteor.Meteor;
var global = Package.meteor.global;
var meteorEnv = Package.meteor.meteorEnv;
(function(){
///////////////////////////////////////////////////////////////////////
// //
// packages/raix_... | 29.76 | 71 | 0.290323 |
cdc8015208f38b1bf0b72d99ae1247af3d2b647d | 13,373 | js | JavaScript | routes/theatre.js | vishnucprasad/MovieMaster | cad4009ee0fbc71f788ee1b49e353a811568ca6c | [
"MIT"
] | null | null | null | routes/theatre.js | vishnucprasad/MovieMaster | cad4009ee0fbc71f788ee1b49e353a811568ca6c | [
"MIT"
] | null | null | null | routes/theatre.js | vishnucprasad/MovieMaster | cad4009ee0fbc71f788ee1b49e353a811568ca6c | [
"MIT"
] | null | null | null | const express = require('express');
const router = express.Router();
const fs = require('fs');
const theatreHelpers = require('../helpers/theatreHelpers');
const passport = require('passport');
const date = require('date-and-time');
const isTheatre = require('../middleware/auth').isTheatre;
router.get('/login'... | 36.143243 | 278 | 0.622747 |
cdc80ebc473c288c7497c1a9d935d475825e9ca8 | 865 | js | JavaScript | Programming-Basics-with-JavaScript/Labs-and-Exercises/Conditional-Statements/Exercise/scholarship.js | Aykut5645/Software-University | 1990afd1d09c60b043c9771c516bc314c4922736 | [
"MIT"
] | null | null | null | Programming-Basics-with-JavaScript/Labs-and-Exercises/Conditional-Statements/Exercise/scholarship.js | Aykut5645/Software-University | 1990afd1d09c60b043c9771c516bc314c4922736 | [
"MIT"
] | null | null | null | Programming-Basics-with-JavaScript/Labs-and-Exercises/Conditional-Statements/Exercise/scholarship.js | Aykut5645/Software-University | 1990afd1d09c60b043c9771c516bc314c4922736 | [
"MIT"
] | null | null | null | function scholarship(arg1, arg2, arg3) {
let income = Number(arg1);
let averageGrade = Number(arg2);
let minIncome = Number(arg3);
let socialScholarship = 0;
let excellentScholarship = 0;
if (averageGrade >= 5.50) {
excellentScholarship = averageGrade * 25;
}
if ((averageGrade... | 29.827586 | 107 | 0.641618 |
cdc83fc4d3d2f35ea0b5ea6783b31932081f53cb | 8,669 | js | JavaScript | src/common/overlay/Pie.js | qingqibing/iClient-JavaScript | 1e54082fd010284732727d3a77e0d2860bd00d7c | [
"Apache-2.0"
] | 1 | 2020-12-21T07:32:20.000Z | 2020-12-21T07:32:20.000Z | src/common/overlay/Pie.js | qingqibing/iClient-JavaScript | 1e54082fd010284732727d3a77e0d2860bd00d7c | [
"Apache-2.0"
] | null | null | null | src/common/overlay/Pie.js | qingqibing/iClient-JavaScript | 1e54082fd010284732727d3a77e0d2860bd00d7c | [
"Apache-2.0"
] | 3 | 2020-12-21T07:32:23.000Z | 2021-12-29T13:16:21.000Z | /* Copyright© 2000 - 2020 SuperMap Software Co.Ltd. All rights reserved.
* This program are made available under the terms of the Apache License, Version 2.0
* which accompanies this distribution and is available at http://www.apache.org/licenses/LICENSE-2.0.html.*/
import {SuperMap} from '../SuperMap';
import {S... | 41.085308 | 343 | 0.59211 |
cdc87f48455ed31d5d583030f20bfb03ac8517ca | 813 | js | JavaScript | packages/styles/src/theme/createTheme.js | sirreal/g2 | 77a7f1e07fe14aeefa316ba9a2bd2b25c4999fcd | [
"MIT"
] | null | null | null | packages/styles/src/theme/createTheme.js | sirreal/g2 | 77a7f1e07fe14aeefa316ba9a2bd2b25c4999fcd | [
"MIT"
] | null | null | null | packages/styles/src/theme/createTheme.js | sirreal/g2 | 77a7f1e07fe14aeefa316ba9a2bd2b25c4999fcd | [
"MIT"
] | null | null | null | import { get } from '@wp-g2/create-styles';
import { colorize, getComputedColor, is, noop } from '@wp-g2/utils';
import { space } from '../mixins/space';
import { config } from './config';
import { generateColorAdminColors } from './utils';
const baseTheme = Object.freeze(Object.assign({}, config));
export function ... | 22.583333 | 68 | 0.701107 |
cdc8a452ffa60e7f35911a061c2f035a149d7c11 | 20,612 | js | JavaScript | public/js/9.67c8d55a65301a6f0cb8.js | youceef79/laravel_vuejs_jsecom | 37f74d96e19edff572d3dfd2fcea5a59147fd376 | [
"MIT"
] | null | null | null | public/js/9.67c8d55a65301a6f0cb8.js | youceef79/laravel_vuejs_jsecom | 37f74d96e19edff572d3dfd2fcea5a59147fd376 | [
"MIT"
] | null | null | null | public/js/9.67c8d55a65301a6f0cb8.js | youceef79/laravel_vuejs_jsecom | 37f74d96e19edff572d3dfd2fcea5a59147fd376 | [
"MIT"
] | null | null | null | (window["webpackJsonp"] = window["webpackJsonp"] || []).push([[9],{
/***/ "./node_modules/babel-loader/lib/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/components/productItem.vue?vue&type=script&lang=js&":
/*!******************************************************************************************... | 66.705502 | 1,227 | 0.627547 |
cdc8e4304882e0a09d42da964c8505aace3dcb1c | 2,677 | js | JavaScript | assets/spinner.js | spiderbites/hoc-talk | 027ee77c89b1221c43abc7728163ca856689fed5 | [
"MIT"
] | 3 | 2017-01-31T15:47:15.000Z | 2018-03-15T17:03:38.000Z | assets/spinner.js | spiderbites/hoc-talk | 027ee77c89b1221c43abc7728163ca856689fed5 | [
"MIT"
] | null | null | null | assets/spinner.js | spiderbites/hoc-talk | 027ee77c89b1221c43abc7728163ca856689fed5 | [
"MIT"
] | null | null | null | import React from 'react'
export default () => (
<svg
width="80px"
height="80px"
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 100 100"
preserveAspectRatio="xMidYMid"
class="lds-fidget-spinner"
>
<g transform="rotate(6 50 50)">
<g transform="translate(50 50)">
<g ng-attr-... | 50.509434 | 1,129 | 0.493463 |
cdc94cd390c692ddc61e653e5d1047709fc07737 | 29,510 | js | JavaScript | assets/js/lunr/lunr.min.js | dh5473/dh5473.github.io | 3b9b0acf8b1bb389af9a54415e39918f6cc8b8f0 | [
"MIT"
] | 36,017 | 2015-01-01T03:25:15.000Z | 2022-03-31T14:16:37.000Z | assets/js/lunr/lunr.min.js | ywkim92/ywkim92.github.io | 0ff95e898df4e711d42c84c69407e7446b9d6d23 | [
"MIT"
] | 3,102 | 2015-01-01T18:16:38.000Z | 2022-03-31T18:49:43.000Z | assets/js/lunr/lunr.min.js | ywkim92/ywkim92.github.io | 0ff95e898df4e711d42c84c69407e7446b9d6d23 | [
"MIT"
] | 42,545 | 2015-01-01T05:54:51.000Z | 2022-03-31T21:35:14.000Z | /**
* lunr - http://lunrjs.com - A bit like Solr, but much smaller and not as bright - 2.3.9
* Copyright (C) 2020 Oliver Nightingale
* @license MIT
*/
!function(){var e=function(t){var r=new e.Builder;return r.pipeline.add(e.trimmer,e.stopWordFilter,e.stemmer),r.searchPipeline.add(e.stemmer),t.call(r,r),r.build()};... | 4,215.714286 | 29,354 | 0.715554 |
cdc964a87c247690ae8d6390c5ffe0322382e453 | 1,809 | js | JavaScript | client-react/src/components/TileUserProfile/index.js | RikKierkels/Charlie-Chatlin | 15a7d50b3605727435a48dddc1d7b330cd548c25 | [
"MIT"
] | 1 | 2021-09-09T11:34:39.000Z | 2021-09-09T11:34:39.000Z | client-react/src/components/TileUserProfile/index.js | RikKierkels/Charlie-Chatlin | 15a7d50b3605727435a48dddc1d7b330cd548c25 | [
"MIT"
] | 61 | 2020-02-12T08:30:14.000Z | 2022-02-27T03:39:40.000Z | client-react/src/components/TileUserProfile/index.js | RikKierkels/Charlie-Chatlin | 15a7d50b3605727435a48dddc1d7b330cd548c25 | [
"MIT"
] | 1 | 2020-02-28T14:15:00.000Z | 2020-02-28T14:15:00.000Z | import React from 'react';
import styled from '@emotion/styled';
import Tile from '../Tile';
import { getAvatarById } from '../../shared/avatars';
import { StyledText, transparent } from '../../design/shared-styles';
import { useSelector } from 'react-redux';
const TileUserProfile = () => {
const isConnected = useSe... | 26.602941 | 105 | 0.641238 |
cdc96f36517dc2540577d75e2174a2a464b813b6 | 483 | js | JavaScript | src/utils/useContentfulImage.js | TakaShinoda/myblog | ab3378a7292290b5375838f4ac2e225648e4fd4d | [
"MIT"
] | null | null | null | src/utils/useContentfulImage.js | TakaShinoda/myblog | ab3378a7292290b5375838f4ac2e225648e4fd4d | [
"MIT"
] | null | null | null | src/utils/useContentfulImage.js | TakaShinoda/myblog | ab3378a7292290b5375838f4ac2e225648e4fd4d | [
"MIT"
] | null | null | null | import { useStaticQuery, graphql } from "gatsby"
export default assetUrl => {
const { allContentfulAsset } = useStaticQuery(graphql`
query {
allContentfulAsset {
nodes {
file {
url
}
fluid(maxWidth: 785) {
... | 24.15 | 72 | 0.492754 |
cdca00573e12e729d1c979faaf1e207b3f099e50 | 2,133 | js | JavaScript | index.js | duongaaazzz/react-native-sketch-view | c16dc4414402ccbf1a7fd185340ba3b08a18769e | [
"MIT"
] | null | null | null | index.js | duongaaazzz/react-native-sketch-view | c16dc4414402ccbf1a7fd185340ba3b08a18769e | [
"MIT"
] | null | null | null | index.js | duongaaazzz/react-native-sketch-view | c16dc4414402ccbf1a7fd185340ba3b08a18769e | [
"MIT"
] | null | null | null | import React, { Component } from "react";
import {
requireNativeComponent,
View,
UIManager,
findNodeHandle,
DeviceEventEmitter
} from "react-native";
import PropTypes from "prop-types";
class SketchView extends Component {
constructor(props) {
super(props);
this.onChange = this.onChange.bind(this);... | 21.118812 | 71 | 0.646976 |
cdca3c75653865a544c38fbce5f6cf676caa3f63 | 161 | js | JavaScript | src/app/config/constants.js | onemargaro/trivia | bbbb9dede3d05e377f3020ae636c244b5f6ccbcf | [
"Apache-2.0"
] | null | null | null | src/app/config/constants.js | onemargaro/trivia | bbbb9dede3d05e377f3020ae636c244b5f6ccbcf | [
"Apache-2.0"
] | null | null | null | src/app/config/constants.js | onemargaro/trivia | bbbb9dede3d05e377f3020ae636c244b5f6ccbcf | [
"Apache-2.0"
] | 1 | 2021-02-22T22:28:23.000Z | 2021-02-22T22:28:23.000Z | export const AMOUNT = 10;
export const TYPES = ['multiple', 'boolean'];
export const DIFFICULTIES = ['easy', 'medium', 'hard'];
export const ANSWER_VALUE = 100;
| 32.2 | 55 | 0.701863 |
cdcae1b8ef8ad3eeea6738f96199b6a6b71a4324 | 183 | js | JavaScript | backend/authn/index.js | loliva/az_ad_angular_express_serverless | 154e7cb29140f4c9b082c4f5a1e5da27e7a8c40d | [
"Apache-2.0"
] | null | null | null | backend/authn/index.js | loliva/az_ad_angular_express_serverless | 154e7cb29140f4c9b082c4f5a1e5da27e7a8c40d | [
"Apache-2.0"
] | null | null | null | backend/authn/index.js | loliva/az_ad_angular_express_serverless | 154e7cb29140f4c9b082c4f5a1e5da27e7a8c40d | [
"Apache-2.0"
] | null | null | null | const authenticationMiddleware = require("./authn");
const corsMiddleware = require("./cors");
module.exports = {
azureAuth: authenticationMiddleware,
cors: corsMiddleware
}
| 22.875 | 52 | 0.737705 |
cdcb512d7457a9ffaeb6486eac008b03c2cb37cf | 9,966 | js | JavaScript | antd-tools/gulpfile.js | liulinboyi/ant-design-vue | 5108f67c11edbc3ae3e26091d7b9eaabf82d0516 | [
"MIT"
] | 1 | 2020-11-09T14:00:24.000Z | 2020-11-09T14:00:24.000Z | antd-tools/gulpfile.js | sunmd/ant-design-vue | 970a72fca80f046a40dcb078c4eb9f385464b0ec | [
"MIT"
] | null | null | null | antd-tools/gulpfile.js | sunmd/ant-design-vue | 970a72fca80f046a40dcb078c4eb9f385464b0ec | [
"MIT"
] | 1 | 2020-06-13T07:20:50.000Z | 2020-06-13T07:20:50.000Z | /* eslint-disable no-console */
'use strict';
// const install = require('./install')
const runCmd = require('./runCmd');
const getBabelCommonConfig = require('./getBabelCommonConfig');
const merge2 = require('merge2');
const { execSync } = require('child_process');
const through2 = require('through2');
const transfor... | 26.935135 | 118 | 0.561108 |
cdcd2511212e5d223915d044004269ec6d52cca4 | 948 | js | JavaScript | src/server/routes/users/get/profile.js | maya-abe/mysite | d46338ce92c68b1bb32e7b3aadb4c4d8dd6d121a | [
"MIT"
] | null | null | null | src/server/routes/users/get/profile.js | maya-abe/mysite | d46338ce92c68b1bb32e7b3aadb4c4d8dd6d121a | [
"MIT"
] | null | null | null | src/server/routes/users/get/profile.js | maya-abe/mysite | d46338ce92c68b1bb32e7b3aadb4c4d8dd6d121a | [
"MIT"
] | null | null | null | import fs from 'fs-extra'
import path from 'path'
import {coreUtils, config, Handlebars, User} from '../../../../cli'
var route = function route(req, res) {
var resHtml = ''
var page = path.join(__dirname + '/../../../views/users/profile.html')
if (coreUtils.file.exist(page)) {
resHtml = fs.readFileSync(pa... | 22.046512 | 72 | 0.649789 |
cdcd46a6aa1ba0aee4ce04f0c8583fd23a49fd73 | 1,514 | js | JavaScript | src/components/NavBar/index.js | lfernandez79/reactPortfolio | ff7481b8be68e7beb2060df4610a46f0c919f5e5 | [
"MIT"
] | null | null | null | src/components/NavBar/index.js | lfernandez79/reactPortfolio | ff7481b8be68e7beb2060df4610a46f0c919f5e5 | [
"MIT"
] | null | null | null | src/components/NavBar/index.js | lfernandez79/reactPortfolio | ff7481b8be68e7beb2060df4610a46f0c919f5e5 | [
"MIT"
] | null | null | null | import React from "react";
import { Wave } from "react-animated-text";
import { Link } from "react-scroll";
import TravisCI from "../../pages/images/TravisCI-Mascot-2.png";
import "./style.css";
const style = {
removeUnderline: {
textDecoration: "none",
},
};
function NavBar() {
return (
<header classN... | 31.541667 | 151 | 0.584544 |
cdce10b50f7fdcef5a3cd06956144ff207f5184b | 1,380 | js | JavaScript | website/docgen/spec/transfer-see-spec.js | EnzDev/protractor | 2bea6d6c9c96ea39ae7f2c34a17491d438a27d5c | [
"MIT"
] | 7,039 | 2015-01-02T10:46:53.000Z | 2022-03-31T00:52:10.000Z | website/docgen/spec/transfer-see-spec.js | EnzDev/protractor | 2bea6d6c9c96ea39ae7f2c34a17491d438a27d5c | [
"MIT"
] | 3,912 | 2015-01-02T01:45:41.000Z | 2022-03-28T17:03:43.000Z | website/docgen/spec/transfer-see-spec.js | cambiph/protractor | 1c97c9f28d8b5fb3306d7fed3c8ecd609144be67 | [
"MIT"
] | 2,684 | 2015-01-06T03:55:49.000Z | 2022-03-31T11:56:29.000Z | var seeProcessorFn = require('../processors/transfer-see');
describe('transfer-see', function() {
var seeProcessor;
beforeEach(function() {
seeProcessor = seeProcessorFn();
});
var transferSee = function(docs) {
seeProcessor.$process(docs);
};
it('should put @see info in the description', funct... | 26.538462 | 87 | 0.616667 |
cdce19894a96b3d68512e920cd664b1230dd4a95 | 4,261 | js | JavaScript | build/static/js/3.1f9f47dc.chunk.js | sahmwanga/inventory-management-system | b6aaf4580639e02bd5c153558ba9bff458235dce | [
"MIT"
] | 2 | 2021-04-15T12:05:16.000Z | 2021-05-07T19:07:59.000Z | build/static/js/3.1f9f47dc.chunk.js | sahmwanga/inventory-management-system | b6aaf4580639e02bd5c153558ba9bff458235dce | [
"MIT"
] | 1 | 2021-04-08T10:31:42.000Z | 2021-04-08T10:31:42.000Z | build/static/js/3.1f9f47dc.chunk.js | sahmwanga/inventory-management-system | b6aaf4580639e02bd5c153558ba9bff458235dce | [
"MIT"
] | null | null | null | (this["webpackJsonpinventory-management-system"]=this["webpackJsonpinventory-management-system"]||[]).push([[3],{402:function(t,e,n){"use strict";n.r(e),n.d(e,"getCLS",(function(){return p})),n.d(e,"getFCP",(function(){return g})),n.d(e,"getFID",(function(){return F})),n.d(e,"getLCP",(function(){return k})),n.d(e,"getT... | 2,130.5 | 4,216 | 0.677775 |
cdd0309c4abb886eb5cb44bc85b93211cae65bb2 | 6,434 | js | JavaScript | 2015/07_SomeAssemblyRequired/aoc_07.js | deanearlwright/AdventOfCode | ca4cf6315c0efa38bd7748fb6f4bc99e7934871d | [
"MIT"
] | 1 | 2021-01-03T23:09:28.000Z | 2021-01-03T23:09:28.000Z | 2015/07_SomeAssemblyRequired/aoc_07.js | deanearlwright/AdventOfCode | ca4cf6315c0efa38bd7748fb6f4bc99e7934871d | [
"MIT"
] | 6 | 2020-12-26T21:02:42.000Z | 2020-12-26T21:02:52.000Z | 2015/07_SomeAssemblyRequired/aoc_07.js | deanearlwright/AdventOfCode | ca4cf6315c0efa38bd7748fb6f4bc99e7934871d | [
"MIT"
] | null | null | null | /* eslint-disable linebreak-style */
// ======================================================================
// Some Assembly Required
// Advent of Code 2015 Day 07 -- Eric Wastl -- https://adventofcode.com
//
// Javascript implementation by Dr. Dean Earl Wright III
// =============================================... | 32.994872 | 92 | 0.392602 |
cdd103b5ea504b8e2a60699da22e6d1787fa2cf1 | 1,975 | js | JavaScript | test/app-jobs-buildPackage.js | fuqunaga/openupm | fb9b2cde215eadedf1336027640c8d26c39a2874 | [
"BSD-3-Clause"
] | null | null | null | test/app-jobs-buildPackage.js | fuqunaga/openupm | fb9b2cde215eadedf1336027640c8d26c39a2874 | [
"BSD-3-Clause"
] | null | null | null | test/app-jobs-buildPackage.js | fuqunaga/openupm | fb9b2cde215eadedf1336027640c8d26c39a2874 | [
"BSD-3-Clause"
] | null | null | null | /* eslint-disable no-unused-vars */
/* eslint-disable no-undef */
const assert = require("assert");
const should = require("should");
const rewire = require("rewire");
const buildPackageModule = rewire("../app/jobs/buildPackage");
const filterRemoteTags = buildPackageModule.__get__("filterRemoteTags");
describe("app... | 25.986842 | 72 | 0.467342 |
cdd1212d04cbbe59f83bad8190b76f65af0ed710 | 12,358 | js | JavaScript | src/components/charts/bar-chart.js | duynguyen158/website | 71a7c326aee8702fbd4cc4909872e03d8bf097e3 | [
"Apache-2.0"
] | 1 | 2020-10-24T20:53:26.000Z | 2020-10-24T20:53:26.000Z | src/components/charts/bar-chart.js | duynguyen158/website | 71a7c326aee8702fbd4cc4909872e03d8bf097e3 | [
"Apache-2.0"
] | null | null | null | src/components/charts/bar-chart.js | duynguyen158/website | 71a7c326aee8702fbd4cc4909872e03d8bf097e3 | [
"Apache-2.0"
] | null | null | null | import React, { Fragment, useState } from 'react'
import PropTypes from 'prop-types' // ES6
import { extent, max } from 'd3-array'
import { scaleBand, scaleLinear, scaleTime } from 'd3-scale'
import { line, curveCardinal } from 'd3-shape'
import { timeMonth, timeDay } from 'd3-time'
import { formatDate, formatNumber ... | 33.131367 | 856 | 0.533905 |
cdd1e2542edbf75ca7dacea216f2f4814d892978 | 337 | js | JavaScript | src/util.js | Li-Yang-528/storage-hook | 5b9127ab3b0ce2c5a4e72955220247ab97958373 | [
"MIT"
] | null | null | null | src/util.js | Li-Yang-528/storage-hook | 5b9127ab3b0ce2c5a4e72955220247ab97958373 | [
"MIT"
] | null | null | null | src/util.js | Li-Yang-528/storage-hook | 5b9127ab3b0ce2c5a4e72955220247ab97958373 | [
"MIT"
] | null | null | null | function type(obj, type) {
return Object.prototype.toString.call(obj).slice(8, -1).toLocaleLowerCase() === type;
}
export const assert = [
'String',
'Object',
'Function',
'Array'
].reduce((init, key) => {
init['is' + key] = function(target) {
return type(target, key.toLocaleLowerCase());
};
retu... | 21.0625 | 87 | 0.614243 |
cdd2757cbd4759ed7579c5db4b3d283494eef3e1 | 4,125 | js | JavaScript | class-00/lab-a/starter-code/js/app.js | ibrahim18101996/amman-301d4 | cd02a8b9880bf9d09bdf016233a5f80d954fc2dc | [
"MIT"
] | null | null | null | class-00/lab-a/starter-code/js/app.js | ibrahim18101996/amman-301d4 | cd02a8b9880bf9d09bdf016233a5f80d954fc2dc | [
"MIT"
] | null | null | null | class-00/lab-a/starter-code/js/app.js | ibrahim18101996/amman-301d4 | cd02a8b9880bf9d09bdf016233a5f80d954fc2dc | [
"MIT"
] | null | null | null | 'use strict';
const names = ['bag', 'banana', 'bathroom', 'boots', 'breakfast', 'bubblegum', 'chair', 'cthulhu', 'dog-duck', 'dragon', 'pen', 'pet-sweep', 'scissors', 'shark', 'sweep', 'tauntaun', 'unicorn', 'usb', 'water-can', 'wine-glass'];
const leftImage = document.getElementById(`left`);
const centerImage =... | 30.330882 | 242 | 0.621333 |
cdd30f2e40dd84d03b201d2925d485dbe425db4e | 5,506 | js | JavaScript | utils/selector.js | vincent99/dashboard | 5da61bfe8e2aa721ff6c8fac89af5476afe3301e | [
"Apache-2.0"
] | 168 | 2019-12-12T07:28:16.000Z | 2022-03-29T12:51:59.000Z | utils/selector.js | vincent99/dashboard | 5da61bfe8e2aa721ff6c8fac89af5476afe3301e | [
"Apache-2.0"
] | 3,634 | 2019-12-03T21:50:12.000Z | 2022-03-31T23:23:04.000Z | utils/selector.js | vincent99/dashboard | 5da61bfe8e2aa721ff6c8fac89af5476afe3301e | [
"Apache-2.0"
] | 112 | 2017-05-03T17:26:22.000Z | 2022-03-28T17:56:33.000Z | import { isArray, addObject, findBy } from '@/utils/array';
const parseCache = {};
const OP_MAP = {
'=': 'In',
'==': 'In',
'!=': 'NotIn',
'<': 'Lt',
'>': 'Gt',
};
// Parse a labelSelector string
export function parse(labelSelector) {
// matchLabels:
// comma-separated list, all rules ANDed together
... | 24.149123 | 97 | 0.57174 |
cdd43871c52619e2e05f166990bfdcde4d17e821 | 1,727 | js | JavaScript | packages/node_modules/@webex/internal-plugin-search/src/index.js | antti2000/spark-js-sdk | b9363a8cacc42597a7ffe8d338cd88f7a25eef62 | [
"MIT"
] | null | null | null | packages/node_modules/@webex/internal-plugin-search/src/index.js | antti2000/spark-js-sdk | b9363a8cacc42597a7ffe8d338cd88f7a25eef62 | [
"MIT"
] | null | null | null | packages/node_modules/@webex/internal-plugin-search/src/index.js | antti2000/spark-js-sdk | b9363a8cacc42597a7ffe8d338cd88f7a25eef62 | [
"MIT"
] | null | null | null | /*!
* Copyright (c) 2015-2017 Cisco Systems, Inc. See LICENSE file.
*/
import {registerInternalPlugin} from '@webex/webex-core';
import Search from './search';
import config from './config';
import {has} from 'lodash';
import '@webex/internal-plugin-encryption';
registerInternalPlugin('search', Search, {
config,... | 27.854839 | 141 | 0.579039 |
cdd49afda3d4af6d91f92fc57d3dbcf7617c7cf9 | 5,891 | js | JavaScript | src/components/pages/profile/Audio.js | robin-thomas/multiverse | b54bc768e11901ebb8337c9c33b9973c71f81d97 | [
"MIT"
] | 2 | 2020-08-11T18:36:35.000Z | 2020-10-20T17:00:31.000Z | src/components/pages/profile/Audio.js | robin-thomas/multiverse | b54bc768e11901ebb8337c9c33b9973c71f81d97 | [
"MIT"
] | null | null | null | src/components/pages/profile/Audio.js | robin-thomas/multiverse | b54bc768e11901ebb8337c9c33b9973c71f81d97 | [
"MIT"
] | null | null | null | import React, { useEffect, useRef, useState } from 'react';
import { Row, Col } from 'react-bootstrap';
import Card from '@material-ui/core/Card';
import IconButton from '@material-ui/core/IconButton';
import PlayArrowIcon from '@material-ui/icons/PlayArrow';
import PauseIcon from '@material-ui/icons/Pause';
import { ... | 25.951542 | 85 | 0.533526 |
cdd502402f5c3f913c9cd78e3f0ad81e8db3fa39 | 1,346 | js | JavaScript | application/assets/javascripts/loop.js | nicolabosco87/threejs-test | 4dbef0f00798838b59a5cf47f45268d425fa927f | [
"MIT"
] | null | null | null | application/assets/javascripts/loop.js | nicolabosco87/threejs-test | 4dbef0f00798838b59a5cf47f45268d425fa927f | [
"MIT"
] | null | null | null | application/assets/javascripts/loop.js | nicolabosco87/threejs-test | 4dbef0f00798838b59a5cf47f45268d425fa927f | [
"MIT"
] | null | null | null | function loop(){
// Rotate the propeller, the sea and the sky
//airplane.propeller.rotation.x += 0.3;
sky.mesh.rotation.z += .05;
// update the plane on each frame
updatePlane();
airplane.pilot.updateHairs();
sea.moveWaves();
// render the scene
renderer.render(scene, camera);
// call the loop ... | 26.392157 | 80 | 0.684993 |
cdd55b0e5119077d6a50937a8b84af5cdd8a1ad2 | 12,431 | js | JavaScript | js/geoestadistica.js | OpenICGC/mapa-delinquencial | ba0796a975c6ab92f7c49a417153b7a8963086a4 | [
"MIT"
] | 4 | 2019-07-02T14:20:12.000Z | 2019-07-07T07:39:30.000Z | js/geoestadistica.js | gencat/ICGC-mapa-delinquencial | a886cc7d92ac13a1e6729082d00c43be7bf7d29a | [
"MIT"
] | null | null | null | js/geoestadistica.js | gencat/ICGC-mapa-delinquencial | a886cc7d92ac13a1e6729082d00c43be7bf7d29a | [
"MIT"
] | null | null | null | function getGEOJSONArray(geojson, positions, clau) {
var array1 = []
var z = 0;
$.each(geojson.features, function (key, val) {
z = z + 1;
if (z <= positions) {
$.each(val.properties, function (i, j) {
if (i == clau) {
array1.push(j);
... | 24.518738 | 175 | 0.564556 |
cdd56450185e125457d3931fb71685ab533cc4f4 | 882 | js | JavaScript | node_modules/caniuse-lite/data/features/mathml.js | FrankHartmanDSP/FrankHartmanDSP.github.io | a965a0375ffe5a3b3eb543f24fb01029865810dc | [
"MIT"
] | 2 | 2020-05-04T20:03:25.000Z | 2022-03-20T15:11:35.000Z | node_modules/caniuse-lite/data/features/mathml.js | FrankHartmanDSP/FrankHartmanDSP.github.io | a965a0375ffe5a3b3eb543f24fb01029865810dc | [
"MIT"
] | 12 | 2020-09-04T17:47:57.000Z | 2022-03-08T22:41:26.000Z | node_modules/caniuse-lite/data/features/mathml.js | FrankHartmanDSP/FrankHartmanDSP.github.io | a965a0375ffe5a3b3eb543f24fb01029865810dc | [
"MIT"
] | 2 | 2020-07-15T08:30:19.000Z | 2021-09-06T06:37:24.000Z | module.exports={A:{A:{"2":"E A B gB","8":"K D G"},B:{"2":"1 C c J M H I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 F N K D G E A B C c J M H I O P Q R S T U V W X Y Z a b d e f g h i j k l m n o L q r s t u v w x y z AB CB DB","129":"eB EB cB WB"},D:{"1":"T","8":"0 1 2 3 4 5 6 7 8 9 F N K D G E A B C c J M H I O P Q R S U V W X Y Z... | 441 | 881 | 0.465986 |
cdd566ad1ce47daf2dd90b64605ed9ca6e1ec13e | 9,200 | js | JavaScript | src/packages/default/Settings/module-panel.js | dreadkopp/SHMC-OS.js | 407b918e5d16e5cd6d5ea1a54d76970a23fed562 | [
"BSD-2-Clause"
] | 8 | 2017-08-19T12:37:27.000Z | 2019-09-29T07:45:58.000Z | src/packages/default/Settings/module-panel.js | andersevenrud/OS.js-v2.0 | 7ccf4bde24e55172e4e6f9736e130c37b05b975e | [
"BSD-2-Clause"
] | null | null | null | src/packages/default/Settings/module-panel.js | andersevenrud/OS.js-v2.0 | 7ccf4bde24e55172e4e6f9736e130c37b05b975e | [
"BSD-2-Clause"
] | 1 | 2017-08-19T12:37:28.000Z | 2017-08-19T12:37:28.000Z | /*!
* OS.js - JavaScript Cloud/Web Panel Platform
*
* Copyright (c) 2011-2017, Anders Evenrud <andersevenrud@gmail.com>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributi... | 34.328358 | 111 | 0.58587 |
cdd5ac060720c7569052ea547d792252368bfc1b | 252 | js | JavaScript | esm/html/html-directory-element.js | cramforce/linkedom | 5876cf13cf6dc97c0a4bd5b9c7bb0eda7752bd2a | [
"0BSD"
] | null | null | null | esm/html/html-directory-element.js | cramforce/linkedom | 5876cf13cf6dc97c0a4bd5b9c7bb0eda7752bd2a | [
"0BSD"
] | null | null | null | esm/html/html-directory-element.js | cramforce/linkedom | 5876cf13cf6dc97c0a4bd5b9c7bb0eda7752bd2a | [
"0BSD"
] | null | null | null | import {HTMLElement} from './html-element.js';
/**
* @implements globalThis.HTMLDirectoryElement
*/
export class HTMLDirectoryElement extends HTMLElement {
constructor(ownerDocument, localName = 'dir') {
super(ownerDocument, localName);
}
}
| 22.909091 | 55 | 0.738095 |
cdd6d954cb9d6a293d8353e774825c2f9d5b7901 | 22,069 | js | JavaScript | node_modules/js-sdsl/dist/esm/Map/Map.js | NMSLSB-001/mqttDatabase | 6b781647bf5d7ee2527a14b43e2b2c9931d81230 | [
"Apache-2.0"
] | null | null | null | node_modules/js-sdsl/dist/esm/Map/Map.js | NMSLSB-001/mqttDatabase | 6b781647bf5d7ee2527a14b43e2b2c9931d81230 | [
"Apache-2.0"
] | 7 | 2022-01-26T04:48:38.000Z | 2022-03-02T20:12:23.000Z | node_modules/js-sdsl/dist/esm/Map/Map.js | NMSLSB-001/mqttDatabase | 6b781647bf5d7ee2527a14b43e2b2c9931d81230 | [
"Apache-2.0"
] | null | null | null | var __generator = (this && this.__generator) || function (thisArg, body) {
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = fu... | 42.76938 | 218 | 0.520549 |
cdd6fb2994f946e9c53087f55d52faf440b08383 | 3,323 | js | JavaScript | test/cli/multipartformbody.spec.js | matmar10/rest-ez-backup | 8f992af486fb2115837dffbb0f0f757546308b29 | [
"MIT"
] | 773 | 2018-06-08T13:28:10.000Z | 2022-02-25T11:25:18.000Z | test/cli/multipartformbody.spec.js | matmar10/rest-ez-backup | 8f992af486fb2115837dffbb0f0f757546308b29 | [
"MIT"
] | 34 | 2018-06-08T13:19:48.000Z | 2021-08-08T15:53:29.000Z | test/cli/multipartformbody.spec.js | matmar10/rest-ez-backup | 8f992af486fb2115837dffbb0f0f757546308b29 | [
"MIT"
] | 45 | 2018-06-08T12:54:33.000Z | 2021-09-29T02:13:50.000Z | 'use strict';
const runJustAPIJSON = require('./helpers').runJustAPIJSON;
const expect = require('chai').expect;
const fs = require('fs');
describe('Multipart form post', function () {
let suiteContext = this;
before(async function () {
let result = runJustAPIJSON('multipartformpost.suite.yml');
... | 43.723684 | 137 | 0.648209 |
cdd754a4a02cc2ccdf7cad6733bf1e32dcbf9312 | 7,909 | js | JavaScript | client/templates/gamesession/gamesession_edit.js | pfritsch/bandedejoueurs | 5430d361fbdc8511cae596cebc7ea878ba7b9451 | [
"Apache-2.0"
] | 1 | 2015-04-16T13:36:34.000Z | 2015-04-16T13:36:34.000Z | client/templates/gamesession/gamesession_edit.js | pfritsch/bandedejoueurs | 5430d361fbdc8511cae596cebc7ea878ba7b9451 | [
"Apache-2.0"
] | null | null | null | client/templates/gamesession/gamesession_edit.js | pfritsch/bandedejoueurs | 5430d361fbdc8511cae596cebc7ea878ba7b9451 | [
"Apache-2.0"
] | null | null | null | Template.gamesessionEdit.helpers({
gamesession: function() {
var gamesessionId = FlowRouter.getParam('gamesessionId');
var gamesession = Gamesessions.findOne(gamesessionId) || {};
if(gamesession.boardgameTags) gamesession.category = 'boardgame';
if(gamesession.videogameTags) gamesession.category = 'vi... | 35.95 | 152 | 0.615628 |
cdd77622f55b78ff0f3aceccab273ab11f732a4f | 1,667 | js | JavaScript | reverseWordsInString/reverse_words_in_string.js | pitanyc/toy-problems | 502ef2d2774373349aae7cffdaf287e5ca8613f9 | [
"MIT"
] | null | null | null | reverseWordsInString/reverse_words_in_string.js | pitanyc/toy-problems | 502ef2d2774373349aae7cffdaf287e5ca8613f9 | [
"MIT"
] | null | null | null | reverseWordsInString/reverse_words_in_string.js | pitanyc/toy-problems | 502ef2d2774373349aae7cffdaf287e5ca8613f9 | [
"MIT"
] | null | null | null | /**
* LEETCODE 151: Reverse Words in String
*
* https://leetcode.com/problems/reverse-words-in-a-string/
*
* Given an input string, reverse the string word by word. A word is
* defined as a sequence of non-space characters.
*
* The input string does not contain leading or trailing spaces and the
* words are al... | 22.527027 | 75 | 0.606479 |
cdd7ae82428e5fdf53f6626eea03c024d8a3e985 | 148 | js | JavaScript | React16/SourceCode/Chapter01/multiple-elements-and-strings/src/Multi.js | MikeAlexMartinez/ReactBooks | 7fa2f5ab7a29eed00311ca0823784950c8d64e1f | [
"MIT"
] | 15 | 2018-01-02T15:29:14.000Z | 2021-07-24T15:48:56.000Z | React16/SourceCode/Chapter01/multiple-elements-and-strings/src/Multi.js | MikeAlexMartinez/ReactBooks | 7fa2f5ab7a29eed00311ca0823784950c8d64e1f | [
"MIT"
] | 2 | 2019-03-28T04:00:54.000Z | 2019-05-06T09:03:30.000Z | React16/SourceCode/Chapter01/multiple-elements-and-strings/src/Multi.js | MikeAlexMartinez/ReactBooks | 7fa2f5ab7a29eed00311ca0823784950c8d64e1f | [
"MIT"
] | 17 | 2017-12-07T08:02:36.000Z | 2020-06-03T11:11:37.000Z | import React from 'react';
const Multi = () => [
'first sibling',
'second sibling'
].map((v, i) => <p key={i}>{v}</p>);
export default Multi;
| 16.444444 | 36 | 0.574324 |
cdd7fc0929f525d59626bcc36d2daac41c3f8aa5 | 4,999 | js | JavaScript | source/ajax/xhr.js | micro-tech/enyo | c350ce1d8903b4cf43e40c9c4109765831cc779d | [
"Apache-2.0"
] | null | null | null | source/ajax/xhr.js | micro-tech/enyo | c350ce1d8903b4cf43e40c9c4109765831cc779d | [
"Apache-2.0"
] | null | null | null | source/ajax/xhr.js | micro-tech/enyo | c350ce1d8903b4cf43e40c9c4109765831cc779d | [
"Apache-2.0"
] | null | null | null | //* @protected
/**
If you make changes to _enyo.xhr_, be sure to add or update the appropriate
[unit tests](https://github.com/enyojs/enyo/tree/master/tools/test/ajax/tests).
*/
enyo.xhr = {
/**
<code>inParams</code> is an Object that may contain these properties:
- _url_: The URL to request (required).
- _me... | 34.715278 | 178 | 0.665533 |
cdd8311c4725d32766ded7b1c383b592fcf6a6a1 | 3,179 | js | JavaScript | test/utils/navigation-acceptance-tests/app-under-test/root-app.js | darvelo/ether | 8459e9a48dc8fd9fc9ae2a98cf31c64efaff0d3b | [
"MIT"
] | 2 | 2015-12-15T03:33:53.000Z | 2016-03-15T21:48:26.000Z | test/utils/navigation-acceptance-tests/app-under-test/root-app.js | darvelo/ether | 8459e9a48dc8fd9fc9ae2a98cf31c64efaff0d3b | [
"MIT"
] | 1 | 2016-10-07T16:30:12.000Z | 2016-10-07T16:32:29.000Z | test/utils/navigation-acceptance-tests/app-under-test/root-app.js | darvelo/ether | 8459e9a48dc8fd9fc9ae2a98cf31c64efaff0d3b | [
"MIT"
] | null | null | null | import Outlet from '../../../../src/classes/outlet';
import {
mountSpies,
cMountSpies,
} from '../sinon-spies';
import { SinonSpyRootApp } from './base-mounts';
import {
RootRootRoute,
RootNewsRoute,
RootAllConditionalRoute,
RootNewsConditionalRoute,
RootIdConditionalRouteOne,
RootIdC... | 34.934066 | 86 | 0.547342 |
cdd88df6ba388cfb348f9cfe3ac4469f0cf10db4 | 2,176 | js | JavaScript | src/Client.spec.js | Lukasz-pluszczewski/cucumber-steps | 7d392a40bb952418988f60fe8246a30098110173 | [
"MIT"
] | null | null | null | src/Client.spec.js | Lukasz-pluszczewski/cucumber-steps | 7d392a40bb952418988f60fe8246a30098110173 | [
"MIT"
] | null | null | null | src/Client.spec.js | Lukasz-pluszczewski/cucumber-steps | 7d392a40bb952418988f60fe8246a30098110173 | [
"MIT"
] | null | null | null | import Client from './Client';
import sinon from 'sinon';
import { expect } from './tests/chai';
describe('Client', () => {
it('makes a GET request', () => {
const superagent = {
get: sinon.stub(),
};
superagent
.get.withArgs('http://example.com/custom-path')
.returns(Promise.resolve({
... | 22.43299 | 91 | 0.514246 |
cdd890ec9dc54429032ed7b78233b7d37530b12b | 1,377 | js | JavaScript | vue-music/src/api/singer.js | Liangyongxian/App | e01873be1f64db53231fea01feddf749b58206f9 | [
"MIT"
] | null | null | null | vue-music/src/api/singer.js | Liangyongxian/App | e01873be1f64db53231fea01feddf749b58206f9 | [
"MIT"
] | null | null | null | vue-music/src/api/singer.js | Liangyongxian/App | e01873be1f64db53231fea01feddf749b58206f9 | [
"MIT"
] | null | null | null | import jsonp from '../common/js/jsonp'
import {commonParams, options} from './config'
/* eslint-disable */
/*export function getSingerList() {
const url = ' https://u.y.qq.com/cgi-bin/musicu.fcg'
const data = Object.assign({}, commonParams, {
jsonpCallback: 'getUCGI6636201101768355',
g_tk: 5381,
logi... | 24.157895 | 197 | 0.632534 |
cdd8b7cd63ad1f8eb0ea97545a4ec65f0d187c61 | 26,415 | js | JavaScript | src/structures/Message.js | BaumianerNiklas/discord.js | 67e9ce46933c6471fad60d38255f19ce4318c7d2 | [
"Apache-2.0"
] | null | null | null | src/structures/Message.js | BaumianerNiklas/discord.js | 67e9ce46933c6471fad60d38255f19ce4318c7d2 | [
"Apache-2.0"
] | null | null | null | src/structures/Message.js | BaumianerNiklas/discord.js | 67e9ce46933c6471fad60d38255f19ce4318c7d2 | [
"Apache-2.0"
] | null | null | null | 'use strict';
const Base = require('./Base');
const BaseMessageComponent = require('./BaseMessageComponent');
const ClientApplication = require('./ClientApplication');
const InteractionCollector = require('./InteractionCollector');
const MessageAttachment = require('./MessageAttachment');
const Embed = require('./Mess... | 32.135036 | 120 | 0.645921 |
cdd99be19daae717ecb4620abc56367c66748c79 | 22,394 | js | JavaScript | installer/templates/phx_static/phoenix.js | joshchernoff/phoenix | cd1541a8bc12cdb2501be6b08403558e82c5b72b | [
"MIT"
] | null | null | null | installer/templates/phx_static/phoenix.js | joshchernoff/phoenix | cd1541a8bc12cdb2501be6b08403558e82c5b72b | [
"MIT"
] | 1 | 2020-11-08T08:30:10.000Z | 2020-11-08T08:30:10.000Z | installer/templates/phx_static/phoenix.js | joshchernoff/phoenix | cd1541a8bc12cdb2501be6b08403558e82c5b72b | [
"MIT"
] | null | null | null | !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.Phoenix=t():e.Phoenix=t()}(this,function(){return function(e){var t={};function n(i){if(t[i])return t[i].exports;var o=t[i]={i:i,l:!1,exports:{}};return... | 22,394 | 22,394 | 0.724346 |
cddabc9b2a1041017683cb116811162abec2939a | 15,767 | js | JavaScript | src/Services/Air/AirFormat.js | digital230/uapi-json | 22a21e85dacf75ad63e47434f7fd1c5dd44919ba | [
"MIT"
] | null | null | null | src/Services/Air/AirFormat.js | digital230/uapi-json | 22a21e85dacf75ad63e47434f7fd1c5dd44919ba | [
"MIT"
] | null | null | null | src/Services/Air/AirFormat.js | digital230/uapi-json | 22a21e85dacf75ad63e47434f7fd1c5dd44919ba | [
"MIT"
] | null | null | null | const parsers = require('../../utils/parsers');
const { AirParsingError } = require('./AirErrors');
function ProviderSegmentOrderReducer(acc, { ProviderSegmentOrder }) {
const x = parseInt(ProviderSegmentOrder, 10);
if (x > acc) {
return x;
}
return acc;
}
/**
* getBaggage -- get baggage information from... | 31.408367 | 133 | 0.64654 |
cddaf993ae8a09eb1da5402a28ea2df4b60e3367 | 3,803 | js | JavaScript | 03-HW_ArrayInt/che-dashboard/node_modules/monaco-languages/release/dev/scheme/scheme.js | romankurnovskii/cw | 992a1029ae45f7e01a194896f496dd3f056c9e37 | [
"MIT"
] | 212 | 2021-10-11T05:54:29.000Z | 2022-03-31T16:22:09.000Z | 03-HW_ArrayInt/che-dashboard/node_modules/monaco-languages/release/dev/scheme/scheme.js | romankurnovskii/cw | 992a1029ae45f7e01a194896f496dd3f056c9e37 | [
"MIT"
] | 145 | 2018-11-28T12:08:34.000Z | 2022-03-10T05:30:59.000Z | 03-HW_ArrayInt/che-dashboard/node_modules/monaco-languages/release/dev/scheme/scheme.js | romankurnovskii/cw | 992a1029ae45f7e01a194896f496dd3f056c9e37 | [
"MIT"
] | 33 | 2018-12-04T04:17:28.000Z | 2021-11-03T17:28:52.000Z | /*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*------------------------------------------------------------... | 34.572727 | 97 | 0.285564 |
cddb0d905a5d96ef61dbae53cec9c49ed4017dc2 | 1,456 | js | JavaScript | src/components/Following/index.js | gabrielprog/wa-consume-api-github | 8c94328754348fc974909f88e6dbc840859fe1bd | [
"MIT"
] | null | null | null | src/components/Following/index.js | gabrielprog/wa-consume-api-github | 8c94328754348fc974909f88e6dbc840859fe1bd | [
"MIT"
] | null | null | null | src/components/Following/index.js | gabrielprog/wa-consume-api-github | 8c94328754348fc974909f88e6dbc840859fe1bd | [
"MIT"
] | null | null | null | import React,{Component} from 'react';
import {Link} from 'react-router-dom';
import api from '../../services/api';
class Following extends Component {
constructor(props) {
super(props);
this.state = {
followings: [],
loading: true
}
}
async handleGetFollowing(following_url) {
... | 21.731343 | 77 | 0.521291 |
cddb1015558d8d244cbc4b8f329f14448e5b55bb | 18,951 | js | JavaScript | src/pages/EcProjectManagement/CustomerMaintenance/CustomerMaintenance.js | baoxqw/econtral | e52c363ab5e5887081e49f9fd5ff551ea16a7552 | [
"MIT"
] | null | null | null | src/pages/EcProjectManagement/CustomerMaintenance/CustomerMaintenance.js | baoxqw/econtral | e52c363ab5e5887081e49f9fd5ff551ea16a7552 | [
"MIT"
] | null | null | null | src/pages/EcProjectManagement/CustomerMaintenance/CustomerMaintenance.js | baoxqw/econtral | e52c363ab5e5887081e49f9fd5ff551ea16a7552 | [
"MIT"
] | null | null | null | import React, { Fragment, PureComponent } from 'react';
import { connect } from 'dva';
import { formatMessage, FormattedMessage } from 'umi/locale';
import {
Form,
Input,
DatePicker,
Select,
Button,
Card,
Popconfirm,
Divider,
Icon,
Table,
Row,
Modal,
Col,
message,
} from 'antd';
import PageH... | 25.437584 | 126 | 0.444145 |
cddb266317bd2cfee45e48d9a8861a29b1242f86 | 1,764 | js | JavaScript | pub-examples/iWmo_Jw_Eb_Splits/data/view_28543_data.js | onnohaldar/istd-ld-voorbeelden | f2d949db39193ac1b52c897a6dd0ce5ce1a94c7e | [
"MIT"
] | null | null | null | pub-examples/iWmo_Jw_Eb_Splits/data/view_28543_data.js | onnohaldar/istd-ld-voorbeelden | f2d949db39193ac1b52c897a6dd0ce5ce1a94c7e | [
"MIT"
] | null | null | null | pub-examples/iWmo_Jw_Eb_Splits/data/view_28543_data.js | onnohaldar/istd-ld-voorbeelden | f2d949db39193ac1b52c897a6dd0ce5ce1a94c7e | [
"MIT"
] | null | null | null | var viewData = {"id":28543,"isExpandedObject":false};
var objectRelations = {
"28543" : [{"via": "is geassocieerd met","to": ["28542"]}]
};
var objectData = {
"28543" : {
"id":28543,
"typeIconPath":"data/icons/UML/UML_ClassDiagram.png",
"data" : [
{
"lang":"nl",
"name":"WMO319",
"type":"Klassendiagram",
"c... | 16.641509 | 159 | 0.595238 |
cddb59479b9cbb2ec7825fb9aee1407181755cd2 | 1,771 | js | JavaScript | src/storage.js | KevinMidboe/seasonedRequest | 1bed14c8c3005796310f0cb192482165717b61b8 | [
"MIT"
] | null | null | null | src/storage.js | KevinMidboe/seasonedRequest | 1bed14c8c3005796310f0cb192482165717b61b8 | [
"MIT"
] | 1 | 2018-07-25T22:31:26.000Z | 2018-07-25T22:31:26.000Z | src/storage.js | KevinMidboe/seasonedRequest | 1bed14c8c3005796310f0cb192482165717b61b8 | [
"MIT"
] | null | null | null | let storage = {
apiKey: 'a70dbfe19b800809dfdd3e89e8532c9e',
token: localStorage.getItem('token') || null,
username: localStorage.getItem('username') || null,
admin: localStorage.getItem('admin') || null,
pageTitlePostfix: ' — ' + document.title,
listTypes: [
{
title: 'Your Requests',
shortTi... | 23.613333 | 57 | 0.594015 |
cddc2ae63b0dc28c9803b6c63bc17a891a3b1b7e | 659 | js | JavaScript | web/src/components/Input/index.js | eduardoc7/volunteer-psychologist | de56fa8ce566a3f92cd10fbf49b47413200972ed | [
"MIT"
] | 2 | 2021-06-17T21:05:10.000Z | 2022-01-27T16:03:14.000Z | web/src/components/Input/index.js | eduardoc7/volunteer-psychologist | de56fa8ce566a3f92cd10fbf49b47413200972ed | [
"MIT"
] | null | null | null | web/src/components/Input/index.js | eduardoc7/volunteer-psychologist | de56fa8ce566a3f92cd10fbf49b47413200972ed | [
"MIT"
] | null | null | null | import React from 'react';
import PropTypes from 'prop-types';
import './styles.css';
function Input({
label, name, type, value, onChange,
}) {
return (
<div className="input-block">
<label htmlFor={name}>{label}</label>
<input
id={name}
type={type}
value={value}
o... | 17.810811 | 43 | 0.611533 |
cddd1291426aa3f34c134b92cc72d844dd08b104 | 2,484 | js | JavaScript | node_modules/styled-icons/fa-solid/Tty/Tty.js | TrueMarketing/trimtileandstone | 020756d8dcd4cb0540c375020cf5a11f0deb497c | [
"MIT"
] | null | null | null | node_modules/styled-icons/fa-solid/Tty/Tty.js | TrueMarketing/trimtileandstone | 020756d8dcd4cb0540c375020cf5a11f0deb497c | [
"MIT"
] | null | null | null | node_modules/styled-icons/fa-solid/Tty/Tty.js | TrueMarketing/trimtileandstone | 020756d8dcd4cb0540c375020cf5a11f0deb497c | [
"MIT"
] | null | null | null | "use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var tslib_1 = require("tslib");
var React = tslib_1.__importStar(require("react"));
var StyledIconBase_1 = require("../../StyledIconBase");
exports.Tty = React.forwardRef(function (props, ref) {
var attrs = {
"fill": "currentColor"... | 155.25 | 1,821 | 0.706522 |
cddd42ec58982002ca2bd9a791e98beb0c71a4e0 | 697 | js | JavaScript | src/classes/sanitize/board.js | Devilpants/MapTest | 4c33901794dbdd16cce29a10747598217fead468 | [
"Apache-2.0"
] | 37 | 2015-02-04T04:57:56.000Z | 2021-03-09T19:46:13.000Z | src/classes/sanitize/board.js | Devilpants/MapTest | 4c33901794dbdd16cce29a10747598217fead468 | [
"Apache-2.0"
] | 17 | 2015-09-17T13:33:19.000Z | 2020-09-15T15:42:59.000Z | src/classes/sanitize/board.js | Devilpants/MapTest | 4c33901794dbdd16cce29a10747598217fead468 | [
"Apache-2.0"
] | 14 | 2015-07-19T15:57:14.000Z | 2021-12-18T23:30:42.000Z | var validator = require('validator');
BoardSanitize = function(validator) {
this.sanitize = validator.sanitize
this.check = validator.check
}
BoardSanitize.prototype.rename = function(data) {
data.name = this.sanitize(data.name).entityEncode()
data.name = this.sanitize(data.name).xss()
retu... | 23.233333 | 55 | 0.685796 |
cdddbd7ac272a38c8490e3eab077d535e60a873d | 431 | js | JavaScript | Portal de noticias/Introducao/noticias.js | juniorBM/Curso-Nodejs | 37bb276877907e293b1c14425bfd408fa3eaffd4 | [
"MIT"
] | null | null | null | Portal de noticias/Introducao/noticias.js | juniorBM/Curso-Nodejs | 37bb276877907e293b1c14425bfd408fa3eaffd4 | [
"MIT"
] | null | null | null | Portal de noticias/Introducao/noticias.js | juniorBM/Curso-Nodejs | 37bb276877907e293b1c14425bfd408fa3eaffd4 | [
"MIT"
] | null | null | null | var http = require('http');
var server = http.createServer(function(req, res) {
var categoria = req.url;
if(categoria == '/tecnologia') {
res.end("<html><body>Noticias de tecnologia</body></html>");
}else if(categoria == '/moda') {
res.end("<html><body>Noticias de moda</body></html>"... | 26.9375 | 72 | 0.582367 |
cdddc440e15a86b1bd5e934cbac59cd9232ad184 | 2,170 | js | JavaScript | vue/tests/e2e/specs/home.js | exomia/cloud | 1b8600c6327da3979b2a9c6f47ab74d80b1a0466 | [
"MIT"
] | 8 | 2018-08-31T21:53:46.000Z | 2022-03-04T18:38:09.000Z | vue/tests/e2e/specs/home.js | exomia/nuxt-cloud | 1b8600c6327da3979b2a9c6f47ab74d80b1a0466 | [
"MIT"
] | 1 | 2018-12-08T16:19:07.000Z | 2018-12-08T16:19:07.000Z | vue/tests/e2e/specs/home.js | exomia/nuxt-cloud | 1b8600c6327da3979b2a9c6f47ab74d80b1a0466 | [
"MIT"
] | null | null | null | // https://docs.cypress.io/api/introduction/api.html
// https://docs.cypress.io/guides/core-concepts/introduction-to-cypress.html#Cypress-Is-Simple
// Cypress.on('uncaught:exception', (err, runnable) => {
// // returning false here prevents Cypress from
// // failing the test
// return false
// })
// // t... | 35.57377 | 113 | 0.562212 |
cdddd5bc85bb9959ce9a078ab631815c617f30b6 | 170,640 | js | JavaScript | public/f65a48b9-c17f53720034fc9d5f50.js | thetechdevs/tailwind-converter | 7cd1e87d211b20d81000b4691bcb8f0bc0dfed14 | [
"MIT"
] | 95 | 2020-04-26T08:46:28.000Z | 2022-03-23T00:23:49.000Z | public/f65a48b9-c17f53720034fc9d5f50.js | Uvacoder/tailwind-converter | 9fd52e364839eed20fa6b35c8369972e854e33fc | [
"MIT"
] | 6 | 2020-11-17T13:33:16.000Z | 2022-02-28T17:36:56.000Z | public/f65a48b9-c17f53720034fc9d5f50.js | thetechdevs/tailwind-converter | 7cd1e87d211b20d81000b4691bcb8f0bc0dfed14 | [
"MIT"
] | 21 | 2020-06-22T15:56:49.000Z | 2022-03-23T00:23:53.000Z | (window.webpackJsonp=window.webpackJsonp||[]).push([[7],{"VrN/":function(e,t,r){r("0l/t"),r("Vd3H"),r("hEkN"),r("a1Th"),r("h7Nl"),r("Btvt"),r("bWfx"),r("dRSK"),r("pIFo"),r("f3/d"),r("hHhE"),r("V+eJ"),r("OG14"),r("KKXr"),r("Oyvg"),r("xfY5"),r("SRfc"),e.exports=function(){"use strict";var e=navigator.userAgent,t=navigato... | 85,320 | 170,582 | 0.690237 |
cdddf88dffea3b5219f26a8d887f6d0141a72e0b | 5,810 | js | JavaScript | Specs/Scene/DiscardMissingTileImagePolicySpec.js | fstoner/cesium | 24cc60fab031b7963b1213626bd1a7665d4db60d | [
"Zlib",
"Apache-2.0"
] | 10 | 2017-10-19T13:16:11.000Z | 2021-05-30T15:22:41.000Z | Specs/Scene/DiscardMissingTileImagePolicySpec.js | fstoner/cesium | 24cc60fab031b7963b1213626bd1a7665d4db60d | [
"Zlib",
"Apache-2.0"
] | 21 | 2018-01-23T14:26:06.000Z | 2018-04-26T01:34:43.000Z | Specs/Scene/DiscardMissingTileImagePolicySpec.js | fstoner/cesium | 24cc60fab031b7963b1213626bd1a7665d4db60d | [
"Zlib",
"Apache-2.0"
] | 7 | 2019-02-20T03:14:56.000Z | 2021-07-14T22:53:35.000Z | defineSuite([
'Scene/DiscardMissingTileImagePolicy',
'Core/Cartesian2',
'Core/loadImage',
'Core/loadWithXhr',
'Specs/pollToPromise',
'ThirdParty/when'
], function(
DiscardMissingTileImagePolicy,
Cartesian2,
loadImage,
loadWithXhr,
... | 37.727273 | 137 | 0.567642 |
cdde0cf3e0a41154229eeaf15feba53237f54433 | 192 | js | JavaScript | node_modules/@fluentui/react-component-nesting-registry/dist/dts/src/NestingContext.js | paige-ingram/nwhacks2022 | ea35bfaa8fb6eb8109db8ed357a097474f3bfd1d | [
"Apache-2.0"
] | null | null | null | node_modules/@fluentui/react-component-nesting-registry/dist/dts/src/NestingContext.js | paige-ingram/nwhacks2022 | ea35bfaa8fb6eb8109db8ed357a097474f3bfd1d | [
"Apache-2.0"
] | null | null | null | node_modules/@fluentui/react-component-nesting-registry/dist/dts/src/NestingContext.js | paige-ingram/nwhacks2022 | ea35bfaa8fb6eb8109db8ed357a097474f3bfd1d | [
"Apache-2.0"
] | null | null | null | "use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.NestingContext = void 0;
var React = require("react");
exports.NestingContext = React.createContext(null);
| 32 | 62 | 0.75 |
cdde0f20ba16cc8e2345328812fbd2322e36e04e | 645 | js | JavaScript | src/framework/utils/createUrl.js | RaySnow/vue-ssr | a71558e401c0326be573dde5b5b7a49f7bf8c117 | [
"MIT"
] | 2 | 2019-04-25T08:40:46.000Z | 2019-04-25T09:52:21.000Z | src/framework/utils/createUrl.js | RaySnow/vue2-ssr-boilerplate | a71558e401c0326be573dde5b5b7a49f7bf8c117 | [
"MIT"
] | null | null | null | src/framework/utils/createUrl.js | RaySnow/vue2-ssr-boilerplate | a71558e401c0326be573dde5b5b7a49f7bf8c117 | [
"MIT"
] | null | null | null | import qs from 'qs';
/**
* 创建一个地址附带查询参数
* @param {String} baseUrl 基础地址
* @param {Object} params key-value 对象,选填
* @return {void}
*/
export default function createUrl(baseUrl, params) {
const paramsStr = qs.stringify(params || {});
if (!paramsStr) {
return baseUrl;
}
let subStr = '';
... | 21.5 | 52 | 0.51938 |
cdde29bdb037cf8a1fc27462531549128e111672 | 3,554 | js | JavaScript | webpack/webpack.common.js | xtforgame/az-ricio-dev | 0f62bfb4f04eb718790c14992e9e0c1f850329ba | [
"MIT"
] | null | null | null | webpack/webpack.common.js | xtforgame/az-ricio-dev | 0f62bfb4f04eb718790c14992e9e0c1f850329ba | [
"MIT"
] | 2 | 2019-11-06T18:46:03.000Z | 2020-09-04T03:51:25.000Z | webpack/webpack.common.js | xtforgame/az-ricio-dev | 0f62bfb4f04eb718790c14992e9e0c1f850329ba | [
"MIT"
] | null | null | null | var path = require('path');
var webpack = require('webpack');
var HtmlWebpackPlugin = require('html-webpack-plugin');
var CopyWebpackPlugin = require('copy-webpack-plugin');
var gulpConfig = require('../.azdata/gulp-config');
var baseFolderName = 'assets';
var projRoot = path.resolve(__dirname, '..');
var commonConf... | 31.175439 | 89 | 0.510411 |
cdde96bfaa5133a113dac230bd2016a50fcee4ef | 1,598 | js | JavaScript | node_modules/styled-icons/crypto/Tusd/Tusd.esm.js | venhrun-petro/oselya | 8f0476105c0d08495661f2b7236b4af89f6e0b72 | [
"MIT"
] | null | null | null | node_modules/styled-icons/crypto/Tusd/Tusd.esm.js | venhrun-petro/oselya | 8f0476105c0d08495661f2b7236b4af89f6e0b72 | [
"MIT"
] | null | null | null | node_modules/styled-icons/crypto/Tusd/Tusd.esm.js | venhrun-petro/oselya | 8f0476105c0d08495661f2b7236b4af89f6e0b72 | [
"MIT"
] | null | null | null | import * as tslib_1 from "tslib";
import * as React from 'react';
import { StyledIconBase } from '../../StyledIconBase';
export var Tusd = React.forwardRef(function (props, ref) {
var attrs = {
"fill": "currentColor",
};
return (React.createElement(StyledIconBase, tslib_1.__assign({ iconAttrs: attrs... | 122.923077 | 1,110 | 0.657697 |
cddee0cc9ef775936725b8658d87b16f5cdbc714 | 933 | js | JavaScript | src/server/run-in-vm.js | tommyzqfeng/vue-study | f8abf8f7371e8c8b8c84c253bb260047024bd47b | [
"MIT"
] | 2 | 2021-07-27T15:21:52.000Z | 2021-07-27T18:02:33.000Z | src/server/run-in-vm.js | tommyzqfeng/vue-study | f8abf8f7371e8c8b8c84c253bb260047024bd47b | [
"MIT"
] | null | null | null | src/server/run-in-vm.js | tommyzqfeng/vue-study | f8abf8f7371e8c8b8c84c253bb260047024bd47b | [
"MIT"
] | null | null | null | import NativeModule from 'module'
import vm from 'vm'
function createContext (context) {
const sandbox = {
Buffer,
clearImmediate,
clearInterval,
clearTimeout,
setImmediate,
setInterval,
setTimeout,
console,
process,
__VUE_SSR_CONTEXT__: context
}
sandbox.global = sandbox
... | 25.216216 | 74 | 0.672026 |
cde0010c1c1263f1d4c658201b36ee1b200481aa | 709 | js | JavaScript | gulpfile.js | J0rgeSerran0/j0rgeserran0.github.io | d045bb110dd7f271c7540d9c276e3fe50a43f207 | [
"MIT"
] | null | null | null | gulpfile.js | J0rgeSerran0/j0rgeserran0.github.io | d045bb110dd7f271c7540d9c276e3fe50a43f207 | [
"MIT"
] | null | null | null | gulpfile.js | J0rgeSerran0/j0rgeserran0.github.io | d045bb110dd7f271c7540d9c276e3fe50a43f207 | [
"MIT"
] | null | null | null | 'use strict';
const gulp = require('gulp');
const sass = require('gulp-sass');
const prefix = require('gulp-autoprefixer');
const plumber = require('gulp-plumber');
const browserSync = require('browser-sync').create();
gulp.task('sass', () =>{
gulp.src('./sass/**/*.scss')
.pipe(plumber())
.pipe(sass())
... | 23.633333 | 58 | 0.583921 |
cde01ac4a3b84c9fc82eee4d8253cc21115575d3 | 207 | js | JavaScript | src/components/EngageClient/ui/buttons/ButtonD.js | xpertana/engage-demo | 6b706dfbb7d001431e754aa94d1f2d194ea185e6 | [
"RSA-MD"
] | null | null | null | src/components/EngageClient/ui/buttons/ButtonD.js | xpertana/engage-demo | 6b706dfbb7d001431e754aa94d1f2d194ea185e6 | [
"RSA-MD"
] | 1 | 2022-01-15T02:37:16.000Z | 2022-01-15T02:37:16.000Z | src/components/EngageClient/ui/buttons/ButtonD.js | xpertana/engage-demo | 6b706dfbb7d001431e754aa94d1f2d194ea185e6 | [
"RSA-MD"
] | null | null | null | import style from "./ButtonA.module.css";
import React from "react";
export default function Round1(props) {
return (
<button type="button" class={style.btn}>
{props.text}
</button>
);
}
| 17.25 | 44 | 0.642512 |
cde0543c7760ed9897baff9ce5a63ad36dd155aa | 201,224 | js | JavaScript | ios/versioned-react-native/ABI22_0_0/Libraries/Renderer/ReactNativeStack-dev.js | iilab/expo | 0fb6dbb91a5df6d9fbd5f4a458211acf743f5a1c | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | ios/versioned-react-native/ABI22_0_0/Libraries/Renderer/ReactNativeStack-dev.js | iilab/expo | 0fb6dbb91a5df6d9fbd5f4a458211acf743f5a1c | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | ios/versioned-react-native/ABI22_0_0/Libraries/Renderer/ReactNativeStack-dev.js | iilab/expo | 0fb6dbb91a5df6d9fbd5f4a458211acf743f5a1c | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | /**
* Copyright 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.
*
* @noflow
* @p... | 65.867103 | 1,223 | 0.673846 |
cde098cce6e9601fa2bddb4919b58d3828cae01d | 350 | js | JavaScript | client/src/utils/validateEmails.js | shashankkatte/feedbackr-mern | 2292b55e6851b3d42510541f22ee060aa82776a3 | [
"MIT"
] | 6 | 2021-04-10T11:59:36.000Z | 2022-02-14T03:57:58.000Z | client/src/utils/validateEmails.js | shashankkatte/feedbackr-mern | 2292b55e6851b3d42510541f22ee060aa82776a3 | [
"MIT"
] | 3 | 2021-04-09T21:05:13.000Z | 2021-04-11T01:29:45.000Z | client/src/utils/validateEmails.js | shashankkatte/feedbackr-mern | 2292b55e6851b3d42510541f22ee060aa82776a3 | [
"MIT"
] | 1 | 2022-01-05T13:38:09.000Z | 2022-01-05T13:38:09.000Z | const re = /^[a-zA-Z0-9.!#$%&’*+/=?^_`{|}~-]+@[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)*$/;
export default (emails) => {
const invalidEmails = emails
.split(',')
.map((email) => email.trim())
.filter((email) => re.test(email) === false);
if (invalidEmails.length) {
return `These emails are invalid: ${inval... | 23.333333 | 82 | 0.528571 |
cde0d2ba94f83dddf59897c4b5b7a4da0e015f82 | 324 | js | JavaScript | src/Views/Page404.js | 3CV11-IS-Equipo-4/ciudadano-poda-app | 5a9f3422c3a0cf14911e83b621076045b7241432 | [
"MIT"
] | null | null | null | src/Views/Page404.js | 3CV11-IS-Equipo-4/ciudadano-poda-app | 5a9f3422c3a0cf14911e83b621076045b7241432 | [
"MIT"
] | 22 | 2021-03-24T21:08:50.000Z | 2021-03-30T00:49:50.000Z | src/Views/Page404.js | 3CV11-IS-Equipo-4/ciudadano-poda-app | 5a9f3422c3a0cf14911e83b621076045b7241432 | [
"MIT"
] | null | null | null | import { Link } from 'react-router-dom';
import Layout from '../Components/Layout';
export default function Page404() {
return(
<Layout head="No encontrado :c" subheading="404" type="ciudadano">
<h1>Esa ruta no existe</h1>
<Link to="/">Volver al inicio</Link>
</Layout>
... | 27 | 74 | 0.592593 |
cde0d4d49185d7fbababa92e45a3b82fd436878f | 503 | js | JavaScript | models/comments.js | IntellectualCoders/project-cost-cutting | 44ef95d78dd92159ff810148c9407477d8860945 | [
"MIT"
] | null | null | null | models/comments.js | IntellectualCoders/project-cost-cutting | 44ef95d78dd92159ff810148c9407477d8860945 | [
"MIT"
] | null | null | null | models/comments.js | IntellectualCoders/project-cost-cutting | 44ef95d78dd92159ff810148c9407477d8860945 | [
"MIT"
] | null | null | null | const mongoose = require("mongoose");
const Schema = mongoose.Schema;
var commentSchema = new Schema(
{
user: {
type: mongoose.Schema.Types.ObjectId,
ref: "User",
},
expense: {
type: String,
required: true,
},
ideal: {
type: Number,
required: true,
},
... | 14.794118 | 56 | 0.554672 |
cde188697764e544ae7c2f758e90d8caa2d92764 | 3,872 | js | JavaScript | lib/job.js | draftedus/faktory_worker_node | 427267c3db5c29f8f9b5049596c1d50febe63981 | [
"MIT"
] | null | null | null | lib/job.js | draftedus/faktory_worker_node | 427267c3db5c29f8f9b5049596c1d50febe63981 | [
"MIT"
] | null | null | null | lib/job.js | draftedus/faktory_worker_node | 427267c3db5c29f8f9b5049596c1d50febe63981 | [
"MIT"
] | null | null | null | const uuid = require('uuid/v4');
/**
* A class wrapping a {@link external:JobPayload|JobPayload}
*
* @example
* // with a client
* const client = await faktory.connect();
* const job = client.job('SendWelcomeEmail', id);
*
* @example
* // without a client
* const job = new Job('SendWelcomeEmail');
* job.arg... | 18.887805 | 97 | 0.594267 |
cde1e992f1c6917fa34394179d136d9f3c1720fb | 1,387 | js | JavaScript | src/QueryParams.js | sevtapim/redi-react | 096cb27d28ccec6da220aed6c4fe6ee6bcae28a7 | [
"MIT"
] | null | null | null | src/QueryParams.js | sevtapim/redi-react | 096cb27d28ccec6da220aed6c4fe6ee6bcae28a7 | [
"MIT"
] | null | null | null | src/QueryParams.js | sevtapim/redi-react | 096cb27d28ccec6da220aed6c4fe6ee6bcae28a7 | [
"MIT"
] | null | null | null | import React from "react";
import styled from "styled-components";
const Form = styled.form`
display: flex;
flex-direction: row;
justify-content: center;
`;
const Space = styled.div`
margin-left: 15px;
`;
const Spacespan = styled.span`
margin-left: 5px;
`;
const QueryParams = ({
year,
years,
country,... | 21.671875 | 85 | 0.53713 |
cde25ed3b0b5770f45ad8967afd3cd7c1453b77d | 3,136 | js | JavaScript | server/sso/index.js | jleveugle/ovh-manager-webpack-toolkit | 52213de97885595d7aa4f081c1ed8267dc698c10 | [
"BSD-3-Clause"
] | null | null | null | server/sso/index.js | jleveugle/ovh-manager-webpack-toolkit | 52213de97885595d7aa4f081c1ed8267dc698c10 | [
"BSD-3-Clause"
] | null | null | null | server/sso/index.js | jleveugle/ovh-manager-webpack-toolkit | 52213de97885595d7aa4f081c1ed8267dc698c10 | [
"BSD-3-Clause"
] | 1 | 2018-09-12T17:29:34.000Z | 2018-09-12T17:29:34.000Z | /* eslint-disable no-console */
const base64url = require('base64url');
const cookie = require('cookie');
const proxy = require('request');
const config = {
ssoAuth: {
host: 'www.ovh.com',
baseUrl: 'https://www.ovh.com/cgi-bin/crosslogin.cgi',
devLoginUrl: 'https://www.ovh.com/auth/requestDevLogin/',
}... | 24.692913 | 99 | 0.575255 |
cde262452b8b2b21086888c002d16db5fc532f69 | 1,026 | js | JavaScript | config/systemSettings.js | shalininegi/quindar-mqclient | 00fff36ec33cfd95fcccc6da5da592ffa2d80fc2 | [
"MIT"
] | null | null | null | config/systemSettings.js | shalininegi/quindar-mqclient | 00fff36ec33cfd95fcccc6da5da592ffa2d80fc2 | [
"MIT"
] | null | null | null | config/systemSettings.js | shalininegi/quindar-mqclient | 00fff36ec33cfd95fcccc6da5da592ffa2d80fc2 | [
"MIT"
] | null | null | null | module.exports = {
'dbUrl': 'mongodb://data01.audacy.space:11001/telemetry',
'dbOptions': {
'user': 'audacyapp',
'pass': 'quindar',
'auth': {
'authdb': 'admin'
},
"server": {
"auto_reconnect": true,
"poolSize": 200,
"socketOptions": {
"keepAlive": 1
}
... | 25.65 | 90 | 0.582846 |
cde2aa403faa5ade2e0558a62652c31063c8fc14 | 967 | js | JavaScript | node_modules/@loaders.gl/core/dist/esm/utils/globals.js | calebperelini/nzbikeaccidents | a7edd0d51137afcf1130698cb3308ef0a852d848 | [
"MIT"
] | 5 | 2019-10-17T02:19:14.000Z | 2020-02-25T07:00:01.000Z | node_modules/@loaders.gl/core/dist/esm/utils/globals.js | calebperelini/nzbikeaccidents | a7edd0d51137afcf1130698cb3308ef0a852d848 | [
"MIT"
] | 2 | 2019-11-05T06:42:42.000Z | 2019-11-05T07:42:20.000Z | Pydeck/node_modules/@loaders.gl/core/dist/esm/utils/globals.js | mincloud1501/Python | d6bbd7e22c8b8ff83217199b8af178f07b4cd724 | [
"MIT"
] | null | null | null | import _typeof from "@babel/runtime/helpers/esm/typeof";
var isBrowser = (typeof process === "undefined" ? "undefined" : _typeof(process)) !== 'object' || String(process) !== '[object process]' || process.browser;
var globals = {
self: typeof self !== 'undefined' && self,
window: typeof window !== 'undefined' && wi... | 60.4375 | 156 | 0.695967 |
cde2bda1b36858adbd9db3fbc266fffe93f004cf | 9,793 | js | JavaScript | app/views/product-case-testing/_routes.js | DH02/product-safety-database-prototypes | 833086d2e12519511ce194a45c4a9cca9df217aa | [
"MIT"
] | 3 | 2020-11-23T12:28:17.000Z | 2021-10-03T00:30:58.000Z | app/views/product-case-testing/_routes.js | DH02/product-safety-database-prototypes | 833086d2e12519511ce194a45c4a9cca9df217aa | [
"MIT"
] | null | null | null | app/views/product-case-testing/_routes.js | DH02/product-safety-database-prototypes | 833086d2e12519511ce194a45c4a9cca9df217aa | [
"MIT"
] | 1 | 2021-04-11T08:58:45.000Z | 2021-04-11T08:58:45.000Z | const express = require('express')
const router = express.Router()
/*const strFullproductname = "Sony Vector 8000xc";
const strBrandName = "Sony";
const strProductName = "Vector 8000xc";
//const strModelName = "";
//const strCategory = "Electrical appliances and equipment";
const strModelNumber = '001-600006';
const s... | 40.634855 | 787 | 0.665373 |
cde2fad7e8dbb0091c73c09adbfc06fec1226a4d | 231 | js | JavaScript | src/csv/parser/fallbackParser.js | khujo/comdirect-to-ynab | 4c72bcf2a26b0c2e8e63d0dd381e05b0a0f2402d | [
"MIT"
] | 2 | 2019-10-16T19:52:25.000Z | 2020-12-30T18:02:33.000Z | src/csv/parser/fallbackParser.js | khujo/comdirect-to-ynab | 4c72bcf2a26b0c2e8e63d0dd381e05b0a0f2402d | [
"MIT"
] | 4 | 2019-11-09T12:25:59.000Z | 2020-06-19T07:00:35.000Z | src/csv/parser/fallbackParser.js | khujo/comdirect-to-ynab | 4c72bcf2a26b0c2e8e63d0dd381e05b0a0f2402d | [
"MIT"
] | 2 | 2020-12-30T20:29:20.000Z | 2021-02-27T14:13:36.000Z | const regex = / SUMME MONATSABRECHNUNG VISA /;
function canParse() {
return true;
}
function parse(text) {
return {
payee: {
name: null
},
text
}
}
export default {parse, canParse} | 14.4375 | 46 | 0.549784 |
cde36c15b8d639cc15e658c0330102a93c310ba4 | 2,988 | js | JavaScript | www/js/waterbug-config.js | SCPR/lunchbox | 603c0518aa1594b073174a132585f93c7772ef3c | [
"MIT"
] | 177 | 2015-07-24T17:00:12.000Z | 2022-01-24T20:31:18.000Z | www/js/waterbug-config.js | SCPR/lunchbox | 603c0518aa1594b073174a132585f93c7772ef3c | [
"MIT"
] | 79 | 2015-07-24T17:20:16.000Z | 2022-01-21T18:31:04.000Z | www/js/waterbug-config.js | SCPR/lunchbox | 603c0518aa1594b073174a132585f93c7772ef3c | [
"MIT"
] | 170 | 2015-07-27T05:54:44.000Z | 2021-08-10T20:01:18.000Z | // widths and padding
var canvasWidth = 1000; // this will be the exported width of the image
var elementPadding = 40; // padding around the logo and credit text
// logo configuration
// the name of the logo object should match the value of the corresponding radio button in the HTML.
var logos = {
'lunchbox': {
... | 33.2 | 100 | 0.634203 |
cde39919788f2b4ac69d43e3af3b9f75dd835085 | 2,526 | js | JavaScript | main.js | jinsukmik/flashcard-generator | cc9d30e2bde08eacd5bfa6928f583319e6a017bc | [
"MIT"
] | null | null | null | main.js | jinsukmik/flashcard-generator | cc9d30e2bde08eacd5bfa6928f583319e6a017bc | [
"MIT"
] | null | null | null | main.js | jinsukmik/flashcard-generator | cc9d30e2bde08eacd5bfa6928f583319e6a017bc | [
"MIT"
] | null | null | null | var basicCard = require('./basicCard.js');
var clozeCard = require('./clozeCard.js');
var quest = require('./quest.js')
var inquirer = require('inquirer');
var basicArray = [];
var clozeArray = [];
inquirer.prompt([{
name:'addOrShow',
message: 'Would you like to make Flash Cards?',
type: 'list',
choices: [{
nam... | 21.40678 | 74 | 0.571655 |
cde44374551cbd71bfb1ae27b20b1541fc1e3b4f | 151 | js | JavaScript | index.js | martinswiderski/config.ini | d4477b3d4d1cd215b558eb687907b7aadaeced5d | [
"MIT"
] | 3 | 2018-05-17T09:04:41.000Z | 2021-08-09T16:40:11.000Z | index.js | martinswiderski/config.ini | d4477b3d4d1cd215b558eb687907b7aadaeced5d | [
"MIT"
] | 8 | 2017-04-09T21:26:39.000Z | 2020-07-07T19:41:10.000Z | index.js | martinswiderski/config.ini | d4477b3d4d1cd215b558eb687907b7aadaeced5d | [
"MIT"
] | 1 | 2018-11-12T07:03:20.000Z | 2018-11-12T07:03:20.000Z | 'use strict';
Object.defineProperty(
exports,
'__esModule',
{ value: true }
);
module.exports = exports.default = require('./src/parser'); | 18.875 | 59 | 0.649007 |
cde4495e6362a9ec2b2acaf2b301fdbf1e8012cb | 16,088 | js | JavaScript | index.js | kuzyakiev/session-ws-rn | a3a9bb0448ae3948e7da340e5e69f859d4a2eef4 | [
"MIT"
] | null | null | null | index.js | kuzyakiev/session-ws-rn | a3a9bb0448ae3948e7da340e5e69f859d4a2eef4 | [
"MIT"
] | null | null | null | index.js | kuzyakiev/session-ws-rn | a3a9bb0448ae3948e7da340e5e69f859d4a2eef4 | [
"MIT"
] | null | null | null | /*!
* express-session-ws-rn
* Copyright(c) 2019 Kudrenko Oleg
* MIT Licensed
*/
/*!
* forked from express-session
* Copyright(c) 2010 Sencha Inc.
* Copyright(c) 2011 TJ Holowaychuk
* Copyright(c) 2014-2015 Douglas Christopher Wilson
* MIT Licensed
*/
'use strict';
/**
* Module dependencies.
* @private
*/... | 23.798817 | 91 | 0.596718 |
cde44bd4f56ddcd3efe7f07b78cb834db4645589 | 581 | js | JavaScript | x-pack/test/api_integration/apis/uptime/index.js | albertzaharovits/kibana | 2c30e9f24565e5b63918ea46feaac317d9ebfc15 | [
"Apache-2.0"
] | 2 | 2020-11-30T22:57:33.000Z | 2021-08-24T19:40:57.000Z | x-pack/test/api_integration/apis/uptime/index.js | albertzaharovits/kibana | 2c30e9f24565e5b63918ea46feaac317d9ebfc15 | [
"Apache-2.0"
] | 10 | 2020-04-17T16:26:19.000Z | 2021-06-07T16:26:02.000Z | x-pack/test/api_integration/apis/uptime/index.js | albertzaharovits/kibana | 2c30e9f24565e5b63918ea46feaac317d9ebfc15 | [
"Apache-2.0"
] | 1 | 2020-02-08T22:24:09.000Z | 2020-02-08T22:24:09.000Z | /*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License;
* you may not use this file except in compliance with the Elastic License.
*/
export default function ({ getService, loadTestFile }) {
const es = getServ... | 27.666667 | 79 | 0.655766 |
cde55aa080d5f7b39dd376c58c74b05ad3e3bf0b | 6,054 | js | JavaScript | assets/scripts/store/__tests__/street.integration.test.js | pkuzmickas/streetmix | 978ca5f9796a6344de4f7b0b45bf943db44cb388 | [
"BSD-3-Clause"
] | null | null | null | assets/scripts/store/__tests__/street.integration.test.js | pkuzmickas/streetmix | 978ca5f9796a6344de4f7b0b45bf943db44cb388 | [
"BSD-3-Clause"
] | null | null | null | assets/scripts/store/__tests__/street.integration.test.js | pkuzmickas/streetmix | 978ca5f9796a6344de4f7b0b45bf943db44cb388 | [
"BSD-3-Clause"
] | null | null | null | /* eslint-env jest */
import MockAdapter from 'axios-mock-adapter'
import { createStore } from '../../../../test/helpers/store'
import { addSegment, clearSegments, incrementSegmentWidth, getLastStreet } from '../actions/street'
// ToDo: Remove this once refactoring of redux action saveStreetToServerIfNecessary is co... | 34.20339 | 114 | 0.610671 |
cde58c70294ba7eea28f86150b663951494b6f5b | 615 | js | JavaScript | src/pages/Challenge/Challenge.js | Izook/portfolio | fc5b8872a55a335acd629ae6d225aedf665d16f1 | [
"MIT"
] | null | null | null | src/pages/Challenge/Challenge.js | Izook/portfolio | fc5b8872a55a335acd629ae6d225aedf665d16f1 | [
"MIT"
] | 3 | 2022-02-14T05:57:15.000Z | 2022-02-27T13:36:31.000Z | src/pages/Challenge/Challenge.js | Izook/portfolio | fc5b8872a55a335acd629ae6d225aedf665d16f1 | [
"MIT"
] | null | null | null | import React from "react";
import PageBaseComponent from "../../components/PageBaseComponent/PageBaseComponent";
import ModalContainer from "../../components/Modals/ModalContainer";
import Modal from "../../components/Modals/Modal";
const Challenge = () => {
return (
<PageBaseComponent className="Challenge">
... | 29.285714 | 85 | 0.663415 |
cde5b33fdc9c8de97f7095ac87f1683c07df84b8 | 2,150 | js | JavaScript | static/custom2.js | ahkarimi/MMTOD | d8160f643a0ee1943630b45fa094617dd2237c7e | [
"MIT"
] | null | null | null | static/custom2.js | ahkarimi/MMTOD | d8160f643a0ee1943630b45fa094617dd2237c7e | [
"MIT"
] | null | null | null | static/custom2.js | ahkarimi/MMTOD | d8160f643a0ee1943630b45fa094617dd2237c7e | [
"MIT"
] | null | null | null | function submit_message(message) {
$.post( "/send_message", {message: message}, handle_response);
function handle_response(data) {
// append the bot repsonse to the div
$('.card-body').append(`
<div class="d-flex justify-content-start mb-4">
<div class="img_cont_msg">
... | 26.875 | 76 | 0.56093 |
cde6932d1da5b07cb13fa94682b72df792e57499 | 831 | js | JavaScript | example/pages/checkbox/index.js | ranwawa/vant-weapp | 67dd1ff3606115ac4e896783a485887e4245e251 | [
"MIT"
] | 2 | 2019-09-19T08:51:38.000Z | 2019-11-03T10:09:23.000Z | example/pages/checkbox/index.js | ranwawa/vant-weapp | 67dd1ff3606115ac4e896783a485887e4245e251 | [
"MIT"
] | 47 | 2021-06-11T06:45:11.000Z | 2022-02-28T10:23:07.000Z | example/pages/checkbox/index.js | ranwawa/vant-weapp | 67dd1ff3606115ac4e896783a485887e4245e251 | [
"MIT"
] | 2 | 2020-02-23T08:02:03.000Z | 2020-02-25T02:03:18.000Z | import Page from '../../common/page';
Page({
data: {
checkbox1: true,
checkbox2: true,
checkbox3: true,
checkboxLabel: true,
checkboxSize: true,
checkboxShape: true,
list: ['a', 'b', 'c'],
result: ['a', 'b'],
result2: [],
result3: [],
activeIcon: 'https://img.yzcdn.cn/vant... | 21.307692 | 66 | 0.588448 |
cde7aac1e26dd53b1e7b366007c22fd02cb37916 | 23,554 | js | JavaScript | node_modules/ionic-angular/es2015/components/refresher/refresher.js | gapozzebom/fellow | f88fa9d6ec9966852775559e9938793b487d5f13 | [
"MIT"
] | 1 | 2018-03-22T22:16:45.000Z | 2018-03-22T22:16:45.000Z | node_modules/ionic-angular/es2015/components/refresher/refresher.js | gapozzebom/fellow | f88fa9d6ec9966852775559e9938793b487d5f13 | [
"MIT"
] | 19 | 2019-12-17T13:41:37.000Z | 2022-02-01T04:59:35.000Z | node_modules/ionic-angular/es2015/components/refresher/refresher.js | gapozzebom/fellow | f88fa9d6ec9966852775559e9938793b487d5f13 | [
"MIT"
] | 2 | 2021-04-08T10:49:46.000Z | 2021-05-25T11:09:32.000Z | import { Directive, EventEmitter, Host, Input, NgZone, Output } from '@angular/core';
import { Content } from '../content/content';
import { GestureController, GESTURE_PRIORITY_REFRESHER, GESTURE_REFRESHER } from '../../gestures/gesture-controller';
import { isTrueProperty } from '../../util/util';
import { Platform } ... | 37.566188 | 279 | 0.582746 |
cde7dc904b8107df44c3bb829e5f712c841fbfa5 | 1,243 | js | JavaScript | src/modules/core/js/app/CoreRouterApp.js | christophe238/angular-ui-dashboard | ee7e985d0b7fde83b893bd4debbb10d21d32df47 | [
"MIT"
] | 6 | 2015-05-08T17:54:11.000Z | 2016-07-04T11:50:53.000Z | src/modules/core/js/app/CoreRouterApp.js | FriendsBet/Website | d66b113ba00660fa422176e14bd04fbc68d4970f | [
"MIT"
] | null | null | null | src/modules/core/js/app/CoreRouterApp.js | FriendsBet/Website | d66b113ba00660fa422176e14bd04fbc68d4970f | [
"MIT"
] | 8 | 2016-06-09T05:14:50.000Z | 2021-06-02T06:33:57.000Z | define([
'angular',
'core/services/CommonResolveStateService',
'angular-ui-router',
'views/core/page-not-found'
],function(ng,CommonResolveStateService){
var app = ng.module('CoreRouterApp',['ui.router']);
app.config(['$stateProvider', '$urlRouterProvider',
function($stateProvider, $u... | 36.558824 | 79 | 0.456959 |
cde8b695e4379af2bd4f9f8ed248394681bc90cd | 444 | js | JavaScript | src/pages/404.js | akhilam512/akhilam512.github.io | e9c5679c09318ec66601509774dcd44a5edf4c9b | [
"MIT"
] | 1 | 2020-10-21T16:43:42.000Z | 2020-10-21T16:43:42.000Z | src/pages/404.js | akhilam512/akhilam512.github.io | e9c5679c09318ec66601509774dcd44a5edf4c9b | [
"MIT"
] | 3 | 2019-01-23T11:01:16.000Z | 2020-02-25T22:17:26.000Z | src/pages/404.js | akhilam512/akhilam512.github.io | e9c5679c09318ec66601509774dcd44a5edf4c9b | [
"MIT"
] | 2 | 2019-01-23T10:53:39.000Z | 2019-10-14T10:02:12.000Z | import React from "react"
import Layout from "../components/layout"
import SEO from "../components/seo"
const NotFoundPage = () => (
<Layout>
<SEO title="404: Not found" />
<h1>451 – Unavailable For Legal Reasons</h1>
Just kidding - it's a 404. <br></br>
It seems you've found something that used to ... | 26.117647 | 77 | 0.682432 |
cde8d4cf8729cd887f74c0c9efaf1dc0b1975a0c | 612 | js | JavaScript | src/Helpers/App.js | ElCusanero/amortization-system | 3144934eda59739fea67acc26dc1fce41a0f99b0 | [
"MIT"
] | null | null | null | src/Helpers/App.js | ElCusanero/amortization-system | 3144934eda59739fea67acc26dc1fce41a0f99b0 | [
"MIT"
] | null | null | null | src/Helpers/App.js | ElCusanero/amortization-system | 3144934eda59739fea67acc26dc1fce41a0f99b0 | [
"MIT"
] | null | null | null | class App
{
static parseDouble(number, digits = 2)
{
return Number.parseFloat(parseFloat(number).toFixed(digits))
}
static borrowedTypeToDays(borrowedType, borrowedTime)
{
let idditionalDaysDateStart = 0
switch (borrowedType)
{
case 'day':
idditionalDaysDateStart = borrowedTime
break;
c... | 19.125 | 62 | 0.694444 |
cde91c404b91b56db835313234da7cdcc1637a76 | 1,108 | js | JavaScript | packages/adminjs-e2e/cypress/integration/external-employees/create-external-employee.spec.js | NeobilitySRL/adminjs | 2b69304c13b157febc3607f41e8555a33de3670b | [
"MIT"
] | 3,821 | 2018-11-24T18:46:31.000Z | 2021-06-18T07:02:31.000Z | packages/adminjs-e2e/cypress/integration/external-employees/create-external-employee.spec.js | NeobilitySRL/adminjs | 2b69304c13b157febc3607f41e8555a33de3670b | [
"MIT"
] | 746 | 2018-12-11T10:45:15.000Z | 2021-06-18T10:07:24.000Z | packages/admin-bro-e2e/cypress/integration/external-employees/create-external-employee.spec.js | limegeeks/lg-admin-for-node-web | b7ea6f8084824fab9db5c21a995aab6b8a537422 | [
"MIT"
] | 347 | 2019-02-04T22:02:50.000Z | 2021-06-16T13:05:49.000Z | /// <reference types="cypress" />
/// <reference types="../../support" />
context('resources/ExternalEmployees/actions/new', () => {
before(() => {
cy.abLoginAPI({ password: Cypress.env('ADMIN_PASSWORD'), email: Cypress.env('ADMIN_EMAIL') })
})
beforeEach(() => {
cy.abKeepLoggedIn({ cookie: Cypress.env(... | 35.741935 | 97 | 0.627256 |
cde92f062f8c8b1ff0852324dc9152bfcbf53c11 | 282 | js | JavaScript | database/models/weather.js | shripriyaprabhakar/Boiler-plate-Mongo-React-Node-Express-Webpack | 638dd94d91970b8f0e8bbfbc3dc0445d3b4add5b | [
"MIT"
] | null | null | null | database/models/weather.js | shripriyaprabhakar/Boiler-plate-Mongo-React-Node-Express-Webpack | 638dd94d91970b8f0e8bbfbc3dc0445d3b4add5b | [
"MIT"
] | null | null | null | database/models/weather.js | shripriyaprabhakar/Boiler-plate-Mongo-React-Node-Express-Webpack | 638dd94d91970b8f0e8bbfbc3dc0445d3b4add5b | [
"MIT"
] | null | null | null | const mongoose = require('mongoose');
const WeatherSchema = new mongoose.Schema({
weatherForNext5days: String,
weatherForNext28days: String,
suggestions: String,
imgPath: String
});
const Weather = mongoose.model('Weather', WeatherSchema);
module.exports = {
Weather,
}; | 20.142857 | 57 | 0.741135 |
cde940fc48088a1e4103ed80dd9f390c8f63b8a3 | 23,536 | js | JavaScript | uit.js | arsa666/uit | 1c21124f7a96e2b00d4bc51614dac1c5f1dadf7e | [
"MIT"
] | 1 | 2016-05-16T17:04:22.000Z | 2016-05-16T17:04:22.000Z | uit.js | arsa666/uit | 1c21124f7a96e2b00d4bc51614dac1c5f1dadf7e | [
"MIT"
] | null | null | null | uit.js | arsa666/uit | 1c21124f7a96e2b00d4bc51614dac1c5f1dadf7e | [
"MIT"
] | null | null | null | 'use strict';
var Uit = {};
/**if developer wants to apply his/her own rivets rules, then include that file before uit.js
and make window.customRivets === true. **/
if (window.rivets && _.isUndefined(window.customRivets)) {
(function () {
rivets.configure({
// Attribute prefix in templates
... | 33.479374 | 147 | 0.506543 |
cde956cd730e1765fbff21c416a20c8496d294a6 | 10,177 | js | JavaScript | clients/nodejs/google-api-nodejs-client/apis/prediction/v1.4.js | cclauss/discovery-artifact-manager | 9eb6bcef290ef87006758349c725d440fbfc85d6 | [
"Apache-2.0"
] | 48 | 2016-12-12T13:59:30.000Z | 2021-01-22T01:34:39.000Z | clients/nodejs/google-api-nodejs-client/apis/prediction/v1.4.js | cclauss/discovery-artifact-manager | 9eb6bcef290ef87006758349c725d440fbfc85d6 | [
"Apache-2.0"
] | 183 | 2017-03-23T17:17:24.000Z | 2022-02-09T00:07:17.000Z | clients/nodejs/google-api-nodejs-client/apis/prediction/v1.4.js | cclauss/discovery-artifact-manager | 9eb6bcef290ef87006758349c725d440fbfc85d6 | [
"Apache-2.0"
] | 42 | 2017-03-23T19:20:20.000Z | 2022-02-20T02:17:09.000Z | /**
* Copyright 2015 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 appli... | 33.25817 | 158 | 0.636042 |
cde9a13f89d57c636e418edced6b3806a131d21a | 1,099 | js | JavaScript | bc/static_src/javascript/components/steps.js | Buckinghamshire-Digital-Service/buckinghamshire-council | bbbdb52b515bcdfc79a2bd9198dfa4828405370e | [
"BSD-3-Clause"
] | 1 | 2021-02-27T07:27:17.000Z | 2021-02-27T07:27:17.000Z | bc/static_src/javascript/components/steps.js | Buckinghamshire-Digital-Service/buckinghamshire-council | bbbdb52b515bcdfc79a2bd9198dfa4828405370e | [
"BSD-3-Clause"
] | null | null | null | bc/static_src/javascript/components/steps.js | Buckinghamshire-Digital-Service/buckinghamshire-council | bbbdb52b515bcdfc79a2bd9198dfa4828405370e | [
"BSD-3-Clause"
] | 1 | 2021-06-09T15:56:54.000Z | 2021-06-09T15:56:54.000Z | import Accordion from './accordion';
class Steps {
static selector() {
return '[data-steps-container]';
}
constructor(stepsContainer) {
this.stepsContainer = stepsContainer;
this.steps = [];
stepsContainer
.querySelectorAll('[data-step-accordion]')
... | 25.55814 | 79 | 0.523203 |
cdea8473cf6090e3a2a83a655c712aba98688b3c | 93 | js | JavaScript | src/app/indices/userComponents/usr/index.js | ipselon/webcodesk_auth_tutorial | 5ce67dc5532899b5d6c85f670c370e7009badad1 | [
"MIT"
] | 1 | 2019-11-23T13:19:47.000Z | 2019-11-23T13:19:47.000Z | src/app/indices/userComponents/usr/index.js | ipselon/webcodesk_auth_tutorial | 5ce67dc5532899b5d6c85f670c370e7009badad1 | [
"MIT"
] | null | null | null | src/app/indices/userComponents/usr/index.js | ipselon/webcodesk_auth_tutorial | 5ce67dc5532899b5d6c85f670c370e7009badad1 | [
"MIT"
] | 2 | 2019-11-23T13:19:49.000Z | 2021-08-08T01:39:12.000Z | import forms from './forms';
import layouts from './layouts';
export default {forms,layouts,} | 31 | 32 | 0.741935 |
cdeab483c359137222d6f575610748e69a8f588e | 1,094 | js | JavaScript | src/routers/PrivateRoute.js | dumblole/budgetless | 3e079b36bfc5c333a10c1ea8571d7e92d83f3dc3 | [
"MIT"
] | 1 | 2019-12-04T16:05:49.000Z | 2019-12-04T16:05:49.000Z | src/routers/PrivateRoute.js | dumblole/budgetless | 3e079b36bfc5c333a10c1ea8571d7e92d83f3dc3 | [
"MIT"
] | null | null | null | src/routers/PrivateRoute.js | dumblole/budgetless | 3e079b36bfc5c333a10c1ea8571d7e92d83f3dc3 | [
"MIT"
] | null | null | null | import React from "react";
import { connect } from "react-redux";
import { Route, Redirect } from "react-router-dom";
import Header from "../components/Header";
import Footer from "../components/Footer";
import ScrollAnimation from "react-animate-on-scroll";
export const PrivateRoute = ({
isAuthenticated,
componen... | 24.863636 | 78 | 0.553931 |
cdeb59bb211f9a6c16203692f702c365f569f8e0 | 131 | js | JavaScript | pages/syntax/slides.js | luisabellan/javascript-express | d85f19bc070ea409b680ebf4ab6430772a14ffd5 | [
"MIT"
] | 28 | 2020-09-05T04:04:49.000Z | 2022-03-31T09:08:59.000Z | pages/syntax/slides.js | luisabellan/javascript-express | d85f19bc070ea409b680ebf4ab6430772a14ffd5 | [
"MIT"
] | 7 | 2020-09-27T09:20:13.000Z | 2022-02-13T07:19:13.000Z | pages/syntax/slides.js | luisabellan/javascript-express | d85f19bc070ea409b680ebf4ab6430772a14ffd5 | [
"MIT"
] | 4 | 2020-10-22T03:18:07.000Z | 2021-11-23T01:49:20.000Z | import SectionSlideshow from '../../components/SectionSlideshow'
export default () => <SectionSlideshow sectionName={'syntax'} />
| 32.75 | 64 | 0.748092 |
cdeb5efd45dc1fdfa6d5c2cf90cebc19aaac108a | 194 | js | JavaScript | src/main/config/env.js | kelwinap/clean-node-api | e1cec9181d1021f51f72af18906a0b3a5566d6f0 | [
"MIT"
] | null | null | null | src/main/config/env.js | kelwinap/clean-node-api | e1cec9181d1021f51f72af18906a0b3a5566d6f0 | [
"MIT"
] | null | null | null | src/main/config/env.js | kelwinap/clean-node-api | e1cec9181d1021f51f72af18906a0b3a5566d6f0 | [
"MIT"
] | null | null | null | module.exports = {
mongoUrl: process.env.MONGO_URL || 'mongodb://localhost:27017/clean-node-api',
tokenSecret: process.env.TOKEN_SECRET || 'token_secret',
port: process.env.PORT || 5858
}
| 32.333333 | 80 | 0.721649 |
cdebc953ef4ce98c456f52499d51e1e0fb45b785 | 23,939 | js | JavaScript | target/doc/implementors/core/convert/trait.From.js | second-state/SSVMContainer | b721a7642b58c41b0e120f4e2972b165d51e89d0 | [
"MIT"
] | 2 | 2019-12-11T02:53:10.000Z | 2019-12-11T08:30:44.000Z | target/doc/implementors/core/convert/trait.From.js | second-state/SSVMContainer | b721a7642b58c41b0e120f4e2972b165d51e89d0 | [
"MIT"
] | null | null | null | target/doc/implementors/core/convert/trait.From.js | second-state/SSVMContainer | b721a7642b58c41b0e120f4e2972b165d51e89d0 | [
"MIT"
] | 3 | 2020-02-06T05:47:41.000Z | 2021-05-13T06:32:57.000Z | (function() {var implementors = {};
implementors["getrandom"] = [{text:"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/convert/trait.From.html\" title=\"trait core::convert::From\">From</a><<a class=\"struct\" href=\"https://doc.rust-lang.org/nightly/core/num/struct.NonZeroU32.html\" title=\"s... | 1,709.928571 | 14,278 | 0.701241 |
cdede1601bc7ea585da39f117718074602a37fb1 | 1,458 | js | JavaScript | app/containers/App/index.js | Marttinn/rose | 467743b77016647bec57e82b53875b32d01818fc | [
"MIT"
] | null | null | null | app/containers/App/index.js | Marttinn/rose | 467743b77016647bec57e82b53875b32d01818fc | [
"MIT"
] | 9 | 2018-05-21T10:27:44.000Z | 2018-05-23T15:47:01.000Z | app/containers/App/index.js | Marttinn/rose | 467743b77016647bec57e82b53875b32d01818fc | [
"MIT"
] | null | null | null | /**
*
* App.js
*
* This component is the skeleton around the actual pages, and should only
* contain code that should be seen on all pages. (e.g. navigation bar)
*
* NOTE: while this component should technically be a stateless functional
* component (SFC), hot reloading does not currently support SFCs. If hot
... | 27.509434 | 89 | 0.688615 |