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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
dbaa39b2452e1758a9908e9abcc77584cf7b0701 | 295 | js | JavaScript | basic/sources/producer.js | adaschevici/router-dealer | 4e5188bf31418b9b5258837e4a38fb991263fc41 | [
"MIT"
] | null | null | null | basic/sources/producer.js | adaschevici/router-dealer | 4e5188bf31418b9b5258837e4a38fb991263fc41 | [
"MIT"
] | 1 | 2021-05-11T05:41:42.000Z | 2021-05-11T05:41:42.000Z | basic/sources/producer.js | adaschevici/router-dealer | 4e5188bf31418b9b5258837e4a38fb991263fc41 | [
"MIT"
] | null | null | null | const zmq = require('zeromq')
async function run() {
const sock = new zmq.Push()
await sock.bind('tcp://127.0.0.1:3000')
console.log('Producer bound to port 3000')
while (true) {
await sock.send('some work')
await new Promise(resolve => setTimeout(resolve, 500))
}
}
run()
| 18.4375 | 58 | 0.644068 |
dbaad147102dbe270a364a90fbd82780620fb5df | 348 | js | JavaScript | hat/assets/js/apps/Iaso/routing/actions.js | ekhalilbsq/iaso | e6400c52aeb4f67ce1ca83b03efa3cb11ef235ee | [
"MIT"
] | 29 | 2020-12-26T07:22:19.000Z | 2022-03-07T13:40:09.000Z | hat/assets/js/apps/Iaso/routing/actions.js | ekhalilbsq/iaso | e6400c52aeb4f67ce1ca83b03efa3cb11ef235ee | [
"MIT"
] | 150 | 2020-11-09T15:03:27.000Z | 2022-03-07T15:36:07.000Z | hat/assets/js/apps/Iaso/routing/actions.js | ekhalilbsq/iaso | e6400c52aeb4f67ce1ca83b03efa3cb11ef235ee | [
"MIT"
] | 4 | 2020-11-09T10:38:13.000Z | 2021-10-04T09:42:47.000Z | import { push, replace } from 'react-router-redux';
import { createUrl } from 'bluesquare-components';
export function redirectTo(key, params) {
return dispatch => dispatch(push(`${key}${createUrl(params, '')}`));
}
export function redirectToReplace(key, params) {
return dispatch => dispatch(replace(`${key}${c... | 34.8 | 75 | 0.689655 |
dbac81f366da5784e8394fc3524cf43de8729bf9 | 2,399 | js | JavaScript | index.js | cs-fullstack-2019-spring/frontend-halfday1-itayanna | 198ecdc54622e8852d5759800f989057d8fc5aaf | [
"Apache-2.0"
] | null | null | null | index.js | cs-fullstack-2019-spring/frontend-halfday1-itayanna | 198ecdc54622e8852d5759800f989057d8fc5aaf | [
"Apache-2.0"
] | null | null | null | index.js | cs-fullstack-2019-spring/frontend-halfday1-itayanna | 198ecdc54622e8852d5759800f989057d8fc5aaf | [
"Apache-2.0"
] | null | null | null | //this code is pulling the button elements and making them count the score
var p1Score= document.getElementById('p1score');
var p2Score= document.getElementById('p2score');
var p1Btn= document.getElementById('p1');
var p2Btn= document.getElementById('p2');
// the code that gets the mouse and keybord buttons worki... | 21.230088 | 85 | 0.671113 |
dbac90db9a35c4c6f3dfe44c448b923dd5d262f4 | 597 | js | JavaScript | components/hero.js | eomine/work-omine-net | b96f24cb4adab3ea174b78f7f44d63543b7ccefd | [
"MIT"
] | 1 | 2021-05-07T22:02:22.000Z | 2021-05-07T22:02:22.000Z | components/hero.js | eomine/work-omine-net | b96f24cb4adab3ea174b78f7f44d63543b7ccefd | [
"MIT"
] | null | null | null | components/hero.js | eomine/work-omine-net | b96f24cb4adab3ea174b78f7f44d63543b7ccefd | [
"MIT"
] | null | null | null | import Link from 'next/link';
import common from '../styles/common.module.css';
export default function Hero() {
return (
<section className={common.box}>
<h1 className={common.h3}>
Eduardo Ōmine
</h1>
<p>
Senior front-end developer<br/>
React, Redux, Typescript
</... | 22.111111 | 53 | 0.517588 |
dbad4134d3b99fa08623a0d217ffaa1fd823071a | 3,115 | js | JavaScript | app/assets/javascripts/views/dataset/dataset_create_chorus_view_sidebar.js | bornio/chorus | dddee70821d9f37bf8fca919ddc41f7204c689dd | [
"Apache-2.0"
] | null | null | null | app/assets/javascripts/views/dataset/dataset_create_chorus_view_sidebar.js | bornio/chorus | dddee70821d9f37bf8fca919ddc41f7204c689dd | [
"Apache-2.0"
] | null | null | null | app/assets/javascripts/views/dataset/dataset_create_chorus_view_sidebar.js | bornio/chorus | dddee70821d9f37bf8fca919ddc41f7204c689dd | [
"Apache-2.0"
] | 1 | 2020-11-11T08:20:09.000Z | 2020-11-11T08:20:09.000Z | chorus.views.CreateChorusViewSidebar = chorus.views.Sidebar.extend({
templateName: "dataset_create_chorus_view_sidebar",
events: {
"click button.create": "createChorusView",
"click a.remove": "removeColumnClicked",
"click img.delete": "removeJoinClicked",
"click a.preview": "pre... | 33.138298 | 143 | 0.630177 |
dbad83f00cf0bff586fed45a4eff4583c41501f4 | 2,777 | js | JavaScript | server/test/e2e_local/test.e2e.findNearAws.js | pokers/TodayWeather | 17e0b2642039ac380705f0c9740dbcf5951853da | [
"MIT"
] | null | null | null | server/test/e2e_local/test.e2e.findNearAws.js | pokers/TodayWeather | 17e0b2642039ac380705f0c9740dbcf5951853da | [
"MIT"
] | null | null | null | server/test/e2e_local/test.e2e.findNearAws.js | pokers/TodayWeather | 17e0b2642039ac380705f0c9740dbcf5951853da | [
"MIT"
] | null | null | null | /**
* Created by aleckim on 2018. 03. 16..
*/
"use strict";
const controllerKmaStnWeather = require('../../controllers/controllerKmaStnWeather');
const Town = require('../../models/town');
const assert = require('assert');
const mongoose = require('mongoose');
const async = require('async');
const Logger = requ... | 35.151899 | 108 | 0.423839 |
dbb07e333d2adaec44f6efef2ccec8dfb44e94ae | 557 | js | JavaScript | middleware/index.js | gnurgeldiyev/object-detection-api | 95b75d2a81749cdf672f80dc567e486f2ccd2bf9 | [
"MIT"
] | 2 | 2022-02-05T11:54:33.000Z | 2022-02-22T19:21:45.000Z | middleware/index.js | gnurgeldiyev/object-detection-api | 95b75d2a81749cdf672f80dc567e486f2ccd2bf9 | [
"MIT"
] | 2 | 2020-07-08T10:48:53.000Z | 2021-09-02T11:41:56.000Z | middleware/index.js | gnurgeldiyev/object-detection-api | 95b75d2a81749cdf672f80dc567e486f2ccd2bf9 | [
"MIT"
] | 3 | 2021-03-18T05:35:32.000Z | 2021-03-28T19:40:35.000Z | function validateNewDetection(req, res, next) {
const imageBuffer = req.body
// validate input data length
if (!imageBuffer.length) {
return res.status(400).json({ message: 'Bad request' })
}
// validate image format
const head = imageBuffer.slice(0, 2)
const tail = imageBuffer.slice(-2)
if (
!h... | 25.318182 | 76 | 0.657092 |
dbb123f6c303e76c0565a7a35414eb3e3b417596 | 29,934 | js | JavaScript | servlet_JSP_Bootstrap_CRUD/src/main/webapp/static/custom/js/scripts.js | simiyu17/java_projects | eea23cf3373d808da545e026c00c86ad70f85c74 | [
"MIT"
] | null | null | null | servlet_JSP_Bootstrap_CRUD/src/main/webapp/static/custom/js/scripts.js | simiyu17/java_projects | eea23cf3373d808da545e026c00c86ad70f85c74 | [
"MIT"
] | 8 | 2020-07-04T21:24:44.000Z | 2022-03-02T09:38:08.000Z | struts2_JSP_Bootstrap_CRUD/src/main/webapp/static/custom/js/scripts.js | simiyu17/java_projects | eea23cf3373d808da545e026c00c86ad70f85c74 | [
"MIT"
] | null | null | null | function format_no(yourNumber) {
if (typeof yourNumber != 'undefined')
{
//Seperates the components of the number
var n = yourNumber.toString().split(".");
//Comma-fies the first part
n[0] = n[0].replace(/\B(?=(\d{3})+(?!\d))/g, ",");
//Combines the two sections
... | 30.145015 | 179 | 0.405459 |
dbb3c28a5babc061c36d92376412a632686bd0f4 | 161 | js | JavaScript | src/number.js | mrouabeh/type-utils-js | f282aab64d98bd8815852422b6d9dc3f8f4803e9 | [
"MIT"
] | null | null | null | src/number.js | mrouabeh/type-utils-js | f282aab64d98bd8815852422b6d9dc3f8f4803e9 | [
"MIT"
] | null | null | null | src/number.js | mrouabeh/type-utils-js | f282aab64d98bd8815852422b6d9dc3f8f4803e9 | [
"MIT"
] | null | null | null | const isNumber = (value) => {
return (typeof value === 'number' || value instanceof Number) && !Number.isNaN(value);
}
module.exports = exports = isNumber;
| 26.833333 | 90 | 0.658385 |
dbb6073442fa5b1e72a3ceb49712b4701b78467c | 1,139 | js | JavaScript | src/constants/CameraConstants.js | Jayden-Chiu/MinecraftClone | 44841a66cdbcef4ec65888f115c8bc3bee6f94b5 | [
"MIT"
] | 6 | 2020-09-27T14:44:15.000Z | 2022-03-10T19:06:45.000Z | src/constants/CameraConstants.js | Jayden-Chiu/MinecraftClone | 44841a66cdbcef4ec65888f115c8bc3bee6f94b5 | [
"MIT"
] | 1 | 2021-06-17T07:17:37.000Z | 2021-06-17T08:01:31.000Z | src/constants/CameraConstants.js | Jayden-Chiu/MinecraftClone | 44841a66cdbcef4ec65888f115c8bc3bee6f94b5 | [
"MIT"
] | 2 | 2020-09-26T16:58:23.000Z | 2021-12-10T07:43:54.000Z | import * as WorldConstants from "./WorldConstants.js";
import * as GameConstants from "./GameConstants.js";
export const RENDER_DISTANCE = 8;
export const CAMERA_DEFAULT_X = RENDER_DISTANCE * WorldConstants.CHUNK_SIZE + WorldConstants.CHUNK_SIZE/2 + 0.01;
export const CAMERA_DEFAULT_Y = WorldConstants.WORLD_HEIGHT/3 ... | 43.807692 | 113 | 0.803336 |
dbb7f9ceb45db368700c69e8e5eb1feb6a5c2e7b | 632 | js | JavaScript | NEXT_APPS/ecomerce/server/modals/cart.js | boby-tudu-au6/Projects | 6d6a46c1e153a4e8a87ca946d33142d46461927c | [
"MIT"
] | 4 | 2021-06-19T10:33:37.000Z | 2022-02-04T10:57:10.000Z | NEXT_APPS/ecomerce/server/modals/cart.js | attulsharmma/Projects | 6d6a46c1e153a4e8a87ca946d33142d46461927c | [
"MIT"
] | 20 | 2021-04-22T08:26:06.000Z | 2022-02-27T14:04:47.000Z | NEXT_APPS/ecomerce/server/modals/cart.js | attulsharmma/Projects | 6d6a46c1e153a4e8a87ca946d33142d46461927c | [
"MIT"
] | 5 | 2020-11-21T07:39:25.000Z | 2021-12-07T05:09:36.000Z | import { Schema, model, models } from 'mongoose';
const itemSchema = new Schema({
product: {
type: Schema.Types.ObjectId,
ref: 'product'
},
quantity: {
type: Number,
default: 1
}
})
const cartSchema = new Schema({
user: {
type: Schema.Types.Ob... | 20.387097 | 56 | 0.473101 |
dbb873814f734a246da2bd4331882238b035ff45 | 2,117 | js | JavaScript | src/components/App/App.test.js | martoio/exabyte-flo | d16ab40ed1205dfe1b6520ef3976e14e05262584 | [
"MIT"
] | null | null | null | src/components/App/App.test.js | martoio/exabyte-flo | d16ab40ed1205dfe1b6520ef3976e14e05262584 | [
"MIT"
] | null | null | null | src/components/App/App.test.js | martoio/exabyte-flo | d16ab40ed1205dfe1b6520ef3976e14e05262584 | [
"MIT"
] | null | null | null | import React from 'react';
import ReactDOM from 'react-dom';
import App from './App';
import Enzyme from 'enzyme';
import {expect} from 'chai';
import Adapter from 'enzyme-adapter-react-16';
Enzyme.configure({adapter: new Adapter()});
it('renders without crashing', () => {
const div = document.createElement('div');
... | 17.940678 | 46 | 0.470949 |
dbb8a1d9ff45e5cfbc328efb1147b282ba1cc78a | 978 | js | JavaScript | config/env/development.js | winechess/MEAN | 952ad211fbecde77139075dd0764d1bbb789ff47 | [
"MIT"
] | null | null | null | config/env/development.js | winechess/MEAN | 952ad211fbecde77139075dd0764d1bbb789ff47 | [
"MIT"
] | null | null | null | config/env/development.js | winechess/MEAN | 952ad211fbecde77139075dd0764d1bbb789ff47 | [
"MIT"
] | null | null | null | /**
* Created by vinichenkosa on 05.03.15.
*/
module.exports = {
//Development configuration options
sessionSecret: 'developmentSessionSecret',
db: 'mongodb://localhost/mean',
facebook: {
clientID: '362870707252113',
clientSecret: '968ff15583f63c0992132c2d94c9f490',
callbackURL... | 34.928571 | 93 | 0.677914 |
dbb8aed43023a2295023ca2d22655f8ed09a959c | 2,672 | js | JavaScript | dist/decoder/jpeg.js | dcm-web/dicom-parser | 46b9f05d257930955b6ac839eab88b191961db8d | [
"MIT"
] | null | null | null | dist/decoder/jpeg.js | dcm-web/dicom-parser | 46b9f05d257930955b6ac839eab88b191961db8d | [
"MIT"
] | null | null | null | dist/decoder/jpeg.js | dcm-web/dicom-parser | 46b9f05d257930955b6ac839eab88b191961db8d | [
"MIT"
] | null | null | null | "use strict";
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
return new (P || (P = Promise))(function (resolve, reject) {
function fulfilled(value) { t... | 48.581818 | 118 | 0.627994 |
dbb968b9da8abe37382e13f3f9068879adbf2094 | 2,747 | js | JavaScript | src/index.js | ChKer/https-github.com-dimpu-html5-video-chat | 2a49dd32a1026c71148b6efff4feb4821036fb58 | [
"MIT"
] | 25 | 2017-05-06T18:11:52.000Z | 2022-03-25T09:54:27.000Z | src/index.js | apex-quest/html5-video-chat | 2a49dd32a1026c71148b6efff4feb4821036fb58 | [
"MIT"
] | 1 | 2017-12-09T19:00:50.000Z | 2017-12-09T19:00:50.000Z | src/index.js | apex-quest/html5-video-chat | 2a49dd32a1026c71148b6efff4feb4821036fb58 | [
"MIT"
] | 20 | 2015-09-26T19:42:22.000Z | 2022-01-08T22:04:01.000Z | require('./app');
// navigator.getUserMedia_ = ( navigator.mediaDevices.getUserMedia
// || navigator.mediaDevices.webkitGetUserMedia
// || navigator.mediaDevices.mozGetUserMedia
// || navigator.mediaDevices.msGetUserMedia);
// var get... | 25.672897 | 78 | 0.598835 |
dbb9c6d321686982c7173f0af5ce5b4a44b664b2 | 1,149 | js | JavaScript | LongestCommonPrefix/JavaScript/LongestCommonPrefix.js | jasonmauss/LeetCode | f7bebb23ad2f5afe1249934a40332ec99ba3bffe | [
"MIT"
] | 1 | 2022-03-11T19:01:35.000Z | 2022-03-11T19:01:35.000Z | LongestCommonPrefix/JavaScript/LongestCommonPrefix.js | jasonmauss/LeetCode | f7bebb23ad2f5afe1249934a40332ec99ba3bffe | [
"MIT"
] | null | null | null | LongestCommonPrefix/JavaScript/LongestCommonPrefix.js | jasonmauss/LeetCode | f7bebb23ad2f5afe1249934a40332ec99ba3bffe | [
"MIT"
] | null | null | null | // Solution for: https://leetcode.com/problems/longest-common-prefix/
var longestCommonPrefix = function (strs) {
if (strs && strs.length > 0) {
// start off by making the first string the longest prefix
// then start comparing from the second word onward in the
// loop below
var lon... | 39.62069 | 81 | 0.571802 |
dbba5ac683aeb6634af8776ca0c50e7240f18b0c | 991 | js | JavaScript | src/slick-vertical/index.js | MrGoodBye/House-Desigh | 09f0aca020ccf59d255f42138131a6bc7da8cefd | [
"MIT"
] | null | null | null | src/slick-vertical/index.js | MrGoodBye/House-Desigh | 09f0aca020ccf59d255f42138131a6bc7da8cefd | [
"MIT"
] | null | null | null | src/slick-vertical/index.js | MrGoodBye/House-Desigh | 09f0aca020ccf59d255f42138131a6bc7da8cefd | [
"MIT"
] | null | null | null | import 'slick-carousel/slick/slick'
import 'slick-carousel/slick/slick.scss'
import 'slick-carousel/slick/slick-theme.scss'
import './index.scss'
const $slider = $('.slider')
if (!window.isMobile) {
console.log('init vertical slider')
$slider.slick({
infinite: false,
arrows: false,
vertical: true,
... | 26.078947 | 96 | 0.611504 |
dbbc266e11c2319f30c9099d86c51b11f0dd7d90 | 897 | js | JavaScript | custom-citgm-test.js | CloudNativeJS/module-insights-ci | 46a7b3c370f240a2212c1ec99b7bbddd7e395017 | [
"Apache-2.0"
] | null | null | null | custom-citgm-test.js | CloudNativeJS/module-insights-ci | 46a7b3c370f240a2212c1ec99b7bbddd7e395017 | [
"Apache-2.0"
] | 2 | 2019-03-06T16:11:22.000Z | 2020-11-25T11:21:26.000Z | custom-citgm-test.js | CloudNativeJS/module-insights-ci | 46a7b3c370f240a2212c1ec99b7bbddd7e395017 | [
"Apache-2.0"
] | 1 | 2021-02-25T06:27:25.000Z | 2021-02-25T06:27:25.000Z | "use strict";
/***************************************************************************
*
* (C) Copyright IBM Corp. 2018
*
* This program and the accompanying materials are made available
* under the terms of the Apache License v2.0 which accompanies
* this distribution.
*
* The Apache License v2.0 is avail... | 32.035714 | 76 | 0.576366 |
dbbc27b966fe736eaec6dc777aabd3cb53896eaf | 9,037 | js | JavaScript | src/image.js | ample/imgix-optimizer | 597a0781f1720594a3259a82de9192674e246e7b | [
"MIT"
] | null | null | null | src/image.js | ample/imgix-optimizer | 597a0781f1720594a3259a82de9192674e246e7b | [
"MIT"
] | 7 | 2018-07-26T11:54:02.000Z | 2020-07-16T07:17:49.000Z | src/image.js | ample/imgix-optimizer | 597a0781f1720594a3259a82de9192674e246e7b | [
"MIT"
] | null | null | null | export default class Image {
constructor(img) {
// Length of crossfade transition.
this.timeToFade = 500;
// Data attribute applied before processing.
this.processingAttr = 'data-imgix-img-processed';
// The main image (pixelated placeholder).
this.placeholderImg = $(img);
// Tracks state ... | 33.224265 | 94 | 0.661281 |
dbbd798ab59f9535899fee0b84543e4061b6e316 | 3,019 | js | JavaScript | node_modules/facebook-nodejs-business-sdk/src/objects/extended-credit.js | miguelaf4/UmbraWebsite | 72925ba2476801166a72f704141bad1d7ae8dbeb | [
"RSA-MD"
] | null | null | null | node_modules/facebook-nodejs-business-sdk/src/objects/extended-credit.js | miguelaf4/UmbraWebsite | 72925ba2476801166a72f704141bad1d7ae8dbeb | [
"RSA-MD"
] | null | null | null | node_modules/facebook-nodejs-business-sdk/src/objects/extended-credit.js | miguelaf4/UmbraWebsite | 72925ba2476801166a72f704141bad1d7ae8dbeb | [
"RSA-MD"
] | null | null | null | /**
* Copyright (c) 2017-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the license found in the
* LICENSE file in the root directory of this source tree.
* @flow
*/
import {AbstractCrudObject} from './../abstract-crud-object';
import AbstractObject from './../abstract-obje... | 30.494949 | 134 | 0.697913 |
dbbdeb5a2dd8cffd4a609b175472c9c8d7ab0f16 | 65 | js | JavaScript | app/pages/Editor/CrdtEditor/index.js | abdallahMansour/ESSA-6907 | b05ad4c5a17360d8fd1bbfd186c692153000dd35 | [
"MIT"
] | null | null | null | app/pages/Editor/CrdtEditor/index.js | abdallahMansour/ESSA-6907 | b05ad4c5a17360d8fd1bbfd186c692153000dd35 | [
"MIT"
] | 1 | 2020-07-17T17:40:05.000Z | 2020-07-17T17:40:05.000Z | app/pages/Editor/CrdtEditor/index.js | abdallahMansour/ESSA-6907 | b05ad4c5a17360d8fd1bbfd186c692153000dd35 | [
"MIT"
] | null | null | null | import CrdtEditor from './CrdtEditor'
export default CrdtEditor
| 16.25 | 37 | 0.815385 |
dbbe02cc7f9cae551a314239961ff23dba3ec12c | 798 | js | JavaScript | app/assets/scripts/components/assets-section-row.js | vnopenroads/openroads-vn-analytics | 27edfc9e8808a1155f2a47c5ca21ed209f0babfc | [
"BSD-2-Clause"
] | null | null | null | app/assets/scripts/components/assets-section-row.js | vnopenroads/openroads-vn-analytics | 27edfc9e8808a1155f2a47c5ca21ed209f0babfc | [
"BSD-2-Clause"
] | 15 | 2021-03-09T09:25:11.000Z | 2022-02-12T12:39:08.000Z | app/assets/scripts/components/assets-section-row.js | vnopenroads/openroads-vn-analytics | 27edfc9e8808a1155f2a47c5ca21ed209f0babfc | [
"BSD-2-Clause"
] | 3 | 2020-09-23T07:27:38.000Z | 2020-09-25T02:18:41.000Z | 'use strict';
import React from 'react';
const AssetsSectionRow = React.createClass({
'displayName': 'AssetsSectionRow',
propTypes: {
data: React.PropTypes.array,
onMouseOver: React.PropTypes.func,
onMouseOut: React.PropTypes.func
},
handleMouseOver: function () {
const { data, onMouseOver }... | 20.461538 | 78 | 0.591479 |
dbbe7e884675d257bfcb33b0edf398652b403499 | 373 | js | JavaScript | src/card.js | OfozorObianuju/robots | 21fe514b05a125e93d664b0639229a1707d151ed | [
"MIT"
] | null | null | null | src/card.js | OfozorObianuju/robots | 21fe514b05a125e93d664b0639229a1707d151ed | [
"MIT"
] | 8 | 2020-09-07T10:26:49.000Z | 2022-02-26T18:15:40.000Z | src/card.js | OfozorObianuju/robots | 21fe514b05a125e93d664b0639229a1707d151ed | [
"MIT"
] | null | null | null | import React from 'react';
const Card = (props) => {
return (
<div className='tc bg-light-green dib br3 pa3 ma2 grow bw2 shadow-5 '>
<img alt='robots' src={`http://robohash.org/${props.id}test?200200`} />
<div>
<h2>{ props.name}</h2>
<p>{props.email}</p>
... | 24.866667 | 81 | 0.509383 |
dbbfb2a5d857c814b463f616e5501f8dff391c28 | 759 | js | JavaScript | lib/adapter.js | smashwilson/hubot-harness | f751ee6f472cf2c9ce12a6c812750cd0af61e9b2 | [
"MIT"
] | 1 | 2020-09-02T16:03:03.000Z | 2020-09-02T16:03:03.000Z | lib/adapter.js | smashwilson/hubot-harness | f751ee6f472cf2c9ce12a6c812750cd0af61e9b2 | [
"MIT"
] | 20 | 2021-06-07T06:07:00.000Z | 2022-03-25T10:03:16.000Z | lib/adapter.js | smashwilson/hubot-harness | f751ee6f472cf2c9ce12a6c812750cd0af61e9b2 | [
"MIT"
] | null | null | null | const Hubot = require("hubot/es2015");
class Adapter extends Hubot.Adapter {
constructor(robot) {
super(robot);
this.subscribers = [];
}
send(envelope, ...strings) {
for (const string of strings) {
for (const subscriber of this.subscribers) {
subscriber({...envelope, message: string})... | 18.071429 | 78 | 0.566535 |
dbc06e98ad90be743fd5816a278a85d6cc216a80 | 9,519 | js | JavaScript | swagger/news.js | Weislife/egg-swagger-joi | ab397d44335c47fe726d56e3cc29405eed0f11f5 | [
"MIT"
] | 5 | 2018-07-31T02:17:42.000Z | 2019-01-15T07:10:25.000Z | swagger/news.js | Weislife/egg-swagger-joi | ab397d44335c47fe726d56e3cc29405eed0f11f5 | [
"MIT"
] | null | null | null | swagger/news.js | Weislife/egg-swagger-joi | ab397d44335c47fe726d56e3cc29405eed0f11f5 | [
"MIT"
] | null | null | null | 'use strict';
module.exports = function(Joi) {
return {
tag: { name: 'Site', description: '官网管理' },
paths: {
'/v1/manage/site/news': {
get: {
summary: '新闻列表(后台)',
tags: [ 'Site' ],
parameters: {
headers: Joi.object().keys({
authorization: ... | 39.995798 | 148 | 0.463179 |
dbc08634dbed8a0dc8a54a191d4df93caa860fa7 | 1,260 | js | JavaScript | src/navigation/BottomTabNavigator.js | Jamaru99/Fidelity-Company | 33ad8326257ff2c96c529544c9378d0bfa5462c9 | [
"MIT"
] | null | null | null | src/navigation/BottomTabNavigator.js | Jamaru99/Fidelity-Company | 33ad8326257ff2c96c529544c9378d0bfa5462c9 | [
"MIT"
] | null | null | null | src/navigation/BottomTabNavigator.js | Jamaru99/Fidelity-Company | 33ad8326257ff2c96c529544c9378d0bfa5462c9 | [
"MIT"
] | null | null | null | import { createBottomTabNavigator } from '@react-navigation/bottom-tabs';
import * as React from 'react';
import TabBarIcon from '../components/TabBarIcon';
import { ProfileScreen, QRCodeScreen } from '@screens';
const BottomTab = createBottomTabNavigator();
const INITIAL_ROUTE_NAME = 'Home';
export default function... | 27.391304 | 91 | 0.639683 |
dbc19dfb3fc32df4eefb833be16c7cba5ec31e3e | 110 | js | JavaScript | server/publications/column.js | palakbhansali/cross-tab | 7237eae4f83c2393c6c02058b6bb3a3a1eb16138 | [
"MIT"
] | null | null | null | server/publications/column.js | palakbhansali/cross-tab | 7237eae4f83c2393c6c02058b6bb3a3a1eb16138 | [
"MIT"
] | null | null | null | server/publications/column.js | palakbhansali/cross-tab | 7237eae4f83c2393c6c02058b6bb3a3a1eb16138 | [
"MIT"
] | null | null | null | /**
* Created by Dhingu on 5/4/15.
*/
Meteor.publish('columns', function () {
return Column.find();
});
| 15.714286 | 39 | 0.590909 |
dbc24b0740023de3db08eaa858eb7f5a071c5d1d | 1,928 | js | JavaScript | client/store/transactions.js | Thanh-Lai/TTP-FS | 86f1f98bf743e811d92e28892ced13d23d7b0e1e | [
"MIT"
] | null | null | null | client/store/transactions.js | Thanh-Lai/TTP-FS | 86f1f98bf743e811d92e28892ced13d23d7b0e1e | [
"MIT"
] | 2 | 2021-03-09T08:35:04.000Z | 2021-05-09T06:05:50.000Z | client/store/transactions.js | Thanh-Lai/TTP-FS | 86f1f98bf743e811d92e28892ced13d23d7b0e1e | [
"MIT"
] | null | null | null | import axios from 'axios'
//Action types
const GET_TRANSACTIONS = 'GET_TRANSACTIONS'
const POST_TRANSACTION = 'POST_TRANSACTION'
const UPDATE_UNIQUE_TRANSACTIONS = 'UPDATE_UNIQUE_TRANSACTIONS'
//Initial State
const initialState = {
allTransactions: [],
uniqueTransactions: {}
}
//Action creators
const getTran... | 27.542857 | 99 | 0.629149 |
dbc2b2b1bfcb1748977c6134c5e0c834e0a7b78d | 204 | js | JavaScript | src/views/PersonPage/Settings/routes.js | frontend-park-mail-ru/2020_1_Joblessness | 73c4580562b328ef3ad406f1a87ed9cd9d0ff1dd | [
"MIT"
] | 1 | 2020-02-10T15:48:57.000Z | 2020-02-10T15:48:57.000Z | src/views/PersonPage/Settings/routes.js | frontend-park-mail-ru/2020_1_Joblessness | 73c4580562b328ef3ad406f1a87ed9cd9d0ff1dd | [
"MIT"
] | 11 | 2020-02-21T10:54:13.000Z | 2022-02-27T00:20:01.000Z | src/views/PersonPage/Settings/routes.js | frontend-park-mail-ru/2020_1_Joblessness | 73c4580562b328ef3ad406f1a87ed9cd9d0ff1dd | [
"MIT"
] | null | null | null | import {SubRoutes, ROOT_ELEMENT} from './SubRoutes';
const Routes = [
{
path: '/*settings',
element: ROOT_ELEMENT,
childRoutes: [
...SubRoutes,
],
},
];
export default Routes;
| 14.571429 | 52 | 0.593137 |
dbc39061f3dbd97d0ae87e78b06cce95675884c1 | 349 | js | JavaScript | app/pods/dashboard/index/controller.js | NullVoxPopuli/aeonvera-ui | 9ffbb2033ebc9a6a0cb18b2bba5273f55c540292 | [
"MIT"
] | 4 | 2015-05-17T18:42:59.000Z | 2016-03-17T17:24:24.000Z | app/pods/dashboard/index/controller.js | NullVoxPopuli/aeonvera-ui | 9ffbb2033ebc9a6a0cb18b2bba5273f55c540292 | [
"MIT"
] | 367 | 2015-05-13T03:20:15.000Z | 2018-05-16T10:14:21.000Z | app/pods/dashboard/index/controller.js | NullVoxPopuli/aeonvera-ui | 9ffbb2033ebc9a6a0cb18b2bba5273f55c540292 | [
"MIT"
] | 2 | 2016-01-28T18:39:25.000Z | 2016-03-03T22:01:22.000Z | import Ember from 'ember';
import { alias } from 'ember-decorators/object/computed';
const { inject } = Ember;
export default Ember.Controller.extend({
session: inject.service('session'),
@alias('session.currentUser') currentUser: null,
@alias('model.upcoming') upcomingEvents: null,
@alias('model.hosted') up... | 26.846154 | 57 | 0.730659 |
dbc3980a31382d7a72a987a9fb0e81c7511417e5 | 693 | js | JavaScript | constants/hubs.js | Shashank151090/react-native | 26e7a84355dbcd3a59a4351063901eff17de5d0d | [
"MIT"
] | null | null | null | constants/hubs.js | Shashank151090/react-native | 26e7a84355dbcd3a59a4351063901eff17de5d0d | [
"MIT"
] | null | null | null | constants/hubs.js | Shashank151090/react-native | 26e7a84355dbcd3a59a4351063901eff17de5d0d | [
"MIT"
] | null | null | null | export default [
{
title: 'Hub 1',
src : require('../assets/imgs/hub-default.png'),
cta: 'View hub',
mac: '1234-xxxx-xxxx-5678'
},
{
title: 'Hub 2',
src : require('../assets/imgs/hub-default.png'),
cta: 'View hub',
mac: '1234-xxxx-xxxx-5678'
},
{
title: 'Hub 3',
src : ... | 21.65625 | 52 | 0.531025 |
dbc43ee9d1539083607bc222456b9a86dded4315 | 374 | js | JavaScript | perms.js | our-lab-training/olt-plugin-content | a94e59726996d1c85a815b8c2f73f34d7a785771 | [
"MIT"
] | null | null | null | perms.js | our-lab-training/olt-plugin-content | a94e59726996d1c85a815b8c2f73f34d7a785771 | [
"MIT"
] | null | null | null | perms.js | our-lab-training/olt-plugin-content | a94e59726996d1c85a815b8c2f73f34d7a785771 | [
"MIT"
] | null | null | null | module.exports = groupId => [
{ text: 'Content - View Visible', value: `${groupId}.content.read`, defaultRoles: ['user', 'moderator', 'admin'] },
{ text: 'Content - View Hidden', value: `${groupId}.content.read-hidden`, defaultRoles: ['moderator', 'admin'] },
{ text: 'Content - Edit All', value: `${groupId}.conte... | 62.333333 | 117 | 0.639037 |
dbc4539e37b8e755bbe7e6805edcd15ffd8d2e0f | 204 | js | JavaScript | src/main/utils/EmailUtil.js | greatbsky/ES6MVC | b28ebd9931a0228e2ef098ff6578b3b0607a4da8 | [
"Apache-2.0"
] | 1 | 2016-09-29T02:25:12.000Z | 2016-09-29T02:25:12.000Z | src/main/utils/EmailUtil.js | greatbsky/ES6MVC | b28ebd9931a0228e2ef098ff6578b3b0607a4da8 | [
"Apache-2.0"
] | null | null | null | src/main/utils/EmailUtil.js | greatbsky/ES6MVC | b28ebd9931a0228e2ef098ff6578b3b0607a4da8 | [
"Apache-2.0"
] | null | null | null | 'use strict';
/**
* email工具类
* @author Architect.bian
*/
var log = Log(__filename);
module.exports = class EmailUtil {
static send() {
log.debug('send()');
return true;
}
} | 12 | 34 | 0.558824 |
dbc487e8ddb16133e0979fe907aafc462763df85 | 1,353 | js | JavaScript | 02-JS-Language-Fundamentals/11-If-Statements-Comparison-Operators/app.js | 0x00000024/learn-javascript | 3687ed917a61ab93cae915dfa52ce50e97dd955e | [
"MIT"
] | null | null | null | 02-JS-Language-Fundamentals/11-If-Statements-Comparison-Operators/app.js | 0x00000024/learn-javascript | 3687ed917a61ab93cae915dfa52ce50e97dd955e | [
"MIT"
] | null | null | null | 02-JS-Language-Fundamentals/11-If-Statements-Comparison-Operators/app.js | 0x00000024/learn-javascript | 3687ed917a61ab93cae915dfa52ce50e97dd955e | [
"MIT"
] | null | null | null | const id = 100;
// EQUAL TO
if (id == 100) {
console.log('CORRECT');
} else {
console.log('INCORRECT');
}
// NOT EQUAL TO
if (id != 101) {
console.log('CORRECT');
} else {
console.log('INCORRECT');
}
// EQUAl TO VALUE & TYPE
if (id === 100) {
console.log('CORRECT');
} else {
console.log('INCO... | 17.802632 | 54 | 0.562454 |
dbc48f54710de6e21b4323c7c7e274c224dd5c34 | 223 | js | JavaScript | src/config/mail.js | Fbueno12/gymPoint | 2b295023b8aa8ce952c9e62aa241041ef8a70897 | [
"MIT"
] | null | null | null | src/config/mail.js | Fbueno12/gymPoint | 2b295023b8aa8ce952c9e62aa241041ef8a70897 | [
"MIT"
] | 3 | 2021-05-08T10:39:45.000Z | 2021-09-02T01:33:45.000Z | src/config/mail.js | Fbueno12/gymPoint-backend | 2b295023b8aa8ce952c9e62aa241041ef8a70897 | [
"MIT"
] | null | null | null | export default {
host: 'smtp.mailtrap.io',
port: 2525,
secure: false,
auth: {
user: '580f4db3556d47',
pass: 'ee521a89418700',
},
default: {
from: 'Equipe gymPoint <noreply@gympoint.com.br>',
},
};
| 17.153846 | 54 | 0.605381 |
dbc4be78598db3c3352b1e723970aa2ca65a0a77 | 1,085 | js | JavaScript | frontend/src/pages/Login/styles.js | mateusbzerra/edef-exam-generator | 15f5b7727dae0d4ad7df71613703eca85adb5f44 | [
"MIT"
] | null | null | null | frontend/src/pages/Login/styles.js | mateusbzerra/edef-exam-generator | 15f5b7727dae0d4ad7df71613703eca85adb5f44 | [
"MIT"
] | 5 | 2021-05-08T09:20:37.000Z | 2022-02-26T19:13:51.000Z | frontend/src/pages/Login/styles.js | mateusbzerra/edef-exam-generator | 15f5b7727dae0d4ad7df71613703eca85adb5f44 | [
"MIT"
] | null | null | null | import styled from 'styled-components';
export const Container = styled.div`
height: 100%;
background: #6986be;
display: flex;
align-items: center;
justify-content: center;
`;
export const Content = styled.form`
background: #eee;
display: flex;
flex-direction: column;
width: 100%;
max-width: 350px;... | 18.389831 | 39 | 0.671889 |
dbc590c94a49091bebc1a61e3ca7c97c295d3077 | 411 | js | JavaScript | reaction/src/Todo.js | mrngoitall/the-vue-reaction | ebbb51a89d0a5a6395589ad2656abd89b9fc8278 | [
"MIT"
] | 2 | 2017-09-20T23:59:14.000Z | 2017-09-21T01:19:15.000Z | reaction/src/Todo.js | mrngoitall/the-vue-reaction | ebbb51a89d0a5a6395589ad2656abd89b9fc8278 | [
"MIT"
] | 1 | 2017-09-21T05:51:28.000Z | 2017-09-21T05:51:28.000Z | reaction/src/Todo.js | mrngoitall/the-vue-reaction | ebbb51a89d0a5a6395589ad2656abd89b9fc8278 | [
"MIT"
] | 5 | 2017-09-21T01:02:33.000Z | 2017-09-21T17:17:12.000Z | import React from 'react'
import pt from 'prop-types'
export const Todo = (props) => (
<div>
{ props.todo.value }{ ' ' }
<button onClick={ (e) => {
e.preventDefault()
props.onDelete(props.todo.id)
}}>
[X]
</button>
</div>
)
Todo.defaultProps = {
todo: {},
onDelete() {}
}
Tod... | 16.44 | 52 | 0.559611 |
dbc6298e39773c18296acbf3a8b21a5360803f24 | 16,079 | js | JavaScript | admin/js/jsplumb/jsPlumb-renderers-vml-1.3.13-RC1.js | Dealerpriest/weather-sound-spacebrew | 0f799b872d14ba4e231959125d6068608ce0d109 | [
"MIT"
] | 117 | 2015-01-06T00:54:42.000Z | 2022-03-10T18:50:28.000Z | admin/js/jsplumb/jsPlumb-renderers-vml-1.3.13-RC1.js | Dealerpriest/weather-sound-spacebrew | 0f799b872d14ba4e231959125d6068608ce0d109 | [
"MIT"
] | 29 | 2015-01-20T08:27:19.000Z | 2019-11-06T01:03:32.000Z | admin/js/jsplumb/jsPlumb-renderers-vml-1.3.13-RC1.js | Dealerpriest/weather-sound-spacebrew | 0f799b872d14ba4e231959125d6068608ce0d109 | [
"MIT"
] | 27 | 2015-01-18T00:29:42.000Z | 2021-09-17T21:52:15.000Z | /*
* jsPlumb
*
* Title:jsPlumb 1.3.13
*
* Provides a way to visually connect elements on an HTML page, using either SVG, Canvas
* elements, or VML.
*
* This file contains the VML renderers.
*
* Copyright (c) 2010 - 2012 Simon Porritt (http://jsplumb.org)
*
* http://jsplumb.org
* http://github.com/spo... | 35.4163 | 135 | 0.622924 |
dbc6ffcdac1f08eb03b461afc72923c010ce2bae | 331 | js | JavaScript | public/js/clientIO.js | juancjara/my-hangout | 98501aa3b42c02312aef065eda014975ff80b66c | [
"MIT"
] | 1 | 2017-07-31T21:56:40.000Z | 2017-07-31T21:56:40.000Z | public/js/clientIO.js | juancjara/my-hangout | 98501aa3b42c02312aef065eda014975ff80b66c | [
"MIT"
] | null | null | null | public/js/clientIO.js | juancjara/my-hangout | 98501aa3b42c02312aef065eda014975ff80b66c | [
"MIT"
] | null | null | null |
module.exports = socket = io(); /*= (function() {
var socket = io();
var funs = {};
return {
join: function(user) {
socket.emit('add user', user);
},
register: function(nameFun, fun) {
funs[nameFun] = fun;
},
emit: function(nameFun, data) {
socket.emit(nameFun, data);
}
... | 20.6875 | 49 | 0.52568 |
dbc729825ce750404538628073e0c4c4d03f6e0d | 8,631 | js | JavaScript | react-native-sample/SendBirdReactNativeSample/src/pages/groupChannel.js | shilu-stha/SendBird-JavaScript | e55d0094eb0873458237b33c5744f22d90d4d3fc | [
"MIT"
] | 1 | 2020-09-26T03:42:55.000Z | 2020-09-26T03:42:55.000Z | react-native-sample/SendBirdReactNativeSample/src/pages/groupChannel.js | shilu-stha/SendBird-JavaScript | e55d0094eb0873458237b33c5744f22d90d4d3fc | [
"MIT"
] | 11 | 2020-01-21T21:46:52.000Z | 2020-03-27T03:40:51.000Z | react-native-sample/SendBirdReactNativeSample/src/pages/groupChannel.js | shilu-stha/SendBird-JavaScript | e55d0094eb0873458237b33c5744f22d90d4d3fc | [
"MIT"
] | 1 | 2021-04-14T20:20:22.000Z | 2021-04-14T20:20:22.000Z | import React, { Component } from 'react'
import {
View,
Text,
Image,
ListView,
TouchableHighlight,
Alert,
StyleSheet
} from 'react-native'
import { CachedImage } from 'react-native-cached-image';
import {APP_ID, PULLDOWN_DISTANCE} from '../consts';
import TopBar from '../components/topBar';
import moment... | 28.57947 | 249 | 0.578728 |
dbc783bbbb49f85d83f005a96f99db2caf6f378d | 637 | js | JavaScript | algorithm/sorting/counting/basic/code.js | diegous/AlgorithmVisualizer | 47010c4b2782d5ed7c322470d9fc5caa04f28a6e | [
"MIT"
] | 5 | 2017-02-18T15:40:04.000Z | 2018-04-23T07:42:02.000Z | algorithm/sorting/counting/basic/code.js | diegous/AlgorithmVisualizer | 47010c4b2782d5ed7c322470d9fc5caa04f28a6e | [
"MIT"
] | null | null | null | algorithm/sorting/counting/basic/code.js | diegous/AlgorithmVisualizer | 47010c4b2782d5ed7c322470d9fc5caa04f28a6e | [
"MIT"
] | 2 | 2020-11-06T17:00:10.000Z | 2021-06-11T19:36:28.000Z | //set counts values
for (let i = 0; i < A.length; i++) {
tracer._select(0, i)._wait();
counts[A[i]]++;
tracer._notify(1, A[i], D[1][A[i]])._wait();
tracer._deselect(0, i);
tracer._denotify(1, A[i], D[1][A[i]])._wait();
}
//sort
var i = 0;
for (var j = 0; j <= maxValue; j++) {
while (counts[j] >... | 26.541667 | 50 | 0.485086 |
dbc8bc72d3ead6aba9bf4ec80fbdf1730e701d79 | 649 | js | JavaScript | packages/griffith-mp4/src/fmp4/boxes/hdlr.js | kingsleydon/griffith | b14a0a87b4c37c67615db4520b940d29730a8fe5 | [
"MIT"
] | 2 | 2019-04-18T01:24:59.000Z | 2019-04-18T01:25:31.000Z | packages/griffith-mp4/src/fmp4/boxes/hdlr.js | kingsleydon/griffith | b14a0a87b4c37c67615db4520b940d29730a8fe5 | [
"MIT"
] | null | null | null | packages/griffith-mp4/src/fmp4/boxes/hdlr.js | kingsleydon/griffith | b14a0a87b4c37c67615db4520b940d29730a8fe5 | [
"MIT"
] | 1 | 2019-07-20T03:30:09.000Z | 2019-07-20T03:30:09.000Z | import {
generateVersionAndFlags,
generatePredefined,
generateReserved,
str2TypedArray,
generateBox,
} from '../utils'
export default function hdlr(type) {
let handler = ''
let name = ''
switch (type) {
case 'video':
handler = 'vide'
name = 'VideoHandler'
break
case 'audio':
... | 20.28125 | 37 | 0.619414 |
dbc99d28c7fa39dd1990c40d096c2a1bc77212cd | 736 | js | JavaScript | src/model/Person.js | WhatIfWeDigDeeper/logic-of-fp | d626447d4d42ef1bdcb16c454cf5f14cc2320107 | [
"MIT"
] | null | null | null | src/model/Person.js | WhatIfWeDigDeeper/logic-of-fp | d626447d4d42ef1bdcb16c454cf5f14cc2320107 | [
"MIT"
] | 9 | 2020-07-04T12:37:52.000Z | 2021-12-31T16:20:58.000Z | src/model/Person.js | WhatIfWeDigDeeper/logic-of-fp | d626447d4d42ef1bdcb16c454cf5f14cc2320107 | [
"MIT"
] | null | null | null | /**
* Person object
* Domain model object for LMS use cases covered in the book
* Author: Luis Atencio
*/
exports.Person = class Person {
constructor(ssn,firstname, lastname, birthYear = null, address = null) {
this._ssn = ssn;
this._firstname = firstname;
this._lastname = lastname;
this._birthYear = birth... | 17.116279 | 73 | 0.668478 |
dbc9cae5a86f71f4b88739d5925d7ef498f44459 | 8,871 | js | JavaScript | js/netpie.plugin.microgear.js | chavee/nexpie-freeboard | fc0a64c5f64c19350b16b32f49b6dfed7c1923f1 | [
"MIT"
] | 23 | 2016-05-30T01:42:24.000Z | 2021-05-02T07:21:32.000Z | js/netpie.plugin.microgear.js | chavee/nexpie-freeboard | fc0a64c5f64c19350b16b32f49b6dfed7c1923f1 | [
"MIT"
] | 4 | 2016-05-30T16:41:23.000Z | 2018-08-02T08:34:29.000Z | js/netpie.plugin.microgear.js | chavee/nexpie-freeboard | fc0a64c5f64c19350b16b32f49b6dfed7c1923f1 | [
"MIT"
] | 34 | 2016-05-30T01:42:41.000Z | 2020-06-11T04:32:19.000Z | /* NETPIE Microgear Freeboard plugin */
/* Developed by Chavee Issariyapat */
/* More information about NETPIE please visit https://netpie.io */
if (typeof microgear === "undefined") {
microgear = {};
}
(function()
{
freeboard.loadDatasourcePlugin(... | 35.063241 | 284 | 0.457671 |
dbca66c007c404ac09838a2e99b793f5840b4008 | 6,055 | js | JavaScript | src/index.js | Sheraff/use-imported-hook | ff9e10916468485af0b1fc611b218befd07ecf05 | [
"MIT"
] | 2 | 2021-06-05T18:38:59.000Z | 2022-02-05T16:25:30.000Z | src/index.js | Sheraff/use-imported-hook | ff9e10916468485af0b1fc611b218befd07ecf05 | [
"MIT"
] | 5 | 2021-06-06T11:09:36.000Z | 2021-11-23T07:32:45.000Z | src/index.js | Sheraff/use-imported-hook | ff9e10916468485af0b1fc611b218befd07ecf05 | [
"MIT"
] | null | null | null | const readImportee = require('./read-importee')
const findImportStatementNode = require('./resolve-import-statement')
const {
BABEL_MARKER_COMMENT,
EXTRA_DEPENDENCY_IDENTIFIER_NAME,
INITIAL_STATES_IDENTIFIER_NAME,
STATEFUL_HOOKS,
STATELESS_HOOKS,
SIMPLEST_HOOKS,
NO_MARKER_ERROR,
SINGLE_ARGUMENT_ERROR,
... | 36.257485 | 124 | 0.603303 |
dbca6bfb6a59f9f4a2919336ed0e8034b79aabf5 | 2,544 | js | JavaScript | src/depends/blackcoin-network.js | danielclough/blk.js | 91d3305b2e08780d714f6df72eb1d8d78d195a32 | [
"MIT"
] | null | null | null | src/depends/blackcoin-network.js | danielclough/blk.js | 91d3305b2e08780d714f6df72eb1d8d78d195a32 | [
"MIT"
] | null | null | null | src/depends/blackcoin-network.js | danielclough/blk.js | 91d3305b2e08780d714f6df72eb1d8d78d195a32 | [
"MIT"
] | null | null | null | const blackcoin = require("node-blackcoin-more");
const config = require('./config.js');
const client = new blackcoin.Client(config);
function addnode(node, arg) {
return new Promise((resolve, reject) => {
client.cmd('addnode', function(err, data){
if (err) return reject(err);
resolve(data);
});... | 21.559322 | 57 | 0.605739 |
dbca77bc848fa7df70969c98afb34b552a98baba | 295 | js | JavaScript | data/migrations/20201215174223_create-priority.js | MTaylor-tech/xcel-wom-be-b | be6b408076644d894d26ca3d381ceac7bd821104 | [
"MIT"
] | null | null | null | data/migrations/20201215174223_create-priority.js | MTaylor-tech/xcel-wom-be-b | be6b408076644d894d26ca3d381ceac7bd821104 | [
"MIT"
] | 7 | 2020-12-16T01:14:25.000Z | 2021-02-02T00:37:11.000Z | data/migrations/20201215174223_create-priority.js | MTaylor-tech/xcel-wom-be-b | be6b408076644d894d26ca3d381ceac7bd821104 | [
"MIT"
] | 3 | 2020-12-15T02:52:43.000Z | 2021-02-05T00:34:03.000Z | exports.up = (knex) => {
return knex.schema.createTable('priority', function (table) {
table.increments('id').notNullable().unique().primary();
table.string('name');
table.string('color');
});
};
exports.down = (knex) => {
return knex.schema.dropTableIfExists('priority');
};
| 24.583333 | 63 | 0.640678 |
dbca8a6cd198dd58874d356009efe3306e59bb5d | 4,239 | js | JavaScript | libs/graph/ccnetviz/0-quadTree.js | mwolf-eu/hdsf-hive-examples | 45d3673f4ac2ac83f9cae3b6ab4ac22572afe3ef | [
"MIT"
] | null | null | null | libs/graph/ccnetviz/0-quadTree.js | mwolf-eu/hdsf-hive-examples | 45d3673f4ac2ac83f9cae3b6ab4ac22572afe3ef | [
"MIT"
] | null | null | null | libs/graph/ccnetviz/0-quadTree.js | mwolf-eu/hdsf-hive-examples | 45d3673f4ac2ac83f9cae3b6ab4ac22572afe3ef | [
"MIT"
] | null | null | null | /**
* Copyright (c) 2016, Helikar Lab.
* All rights reserved.
*
* This source code is licensed under the GPLv3 License.
* Author: David Tichy
*/
H.Namespace.set(H, 'ccnetvis.quad');
H.ccnetvis.quad = function() {
var tree = function(points) {
let d, xs, ys, i, n, x1_, y1_, x2_, y2_;
x2_ = y2_ = -(x1... | 28.449664 | 86 | 0.404812 |
dbcadbe33b82a682e5a118d09dfd34950f38cf0c | 329 | js | JavaScript | js/components/plugins/testplugin2.js | rolfvandekrol/flux-react-requirejs-layers | a8c93c2a5e08c28d6c789042f0df9a717df7e8a7 | [
"MIT"
] | 7 | 2015-12-23T07:35:47.000Z | 2019-05-14T11:44:26.000Z | js/components/plugins/testplugin2.js | rolfvandekrol/flux-react-requirejs-layers | a8c93c2a5e08c28d6c789042f0df9a717df7e8a7 | [
"MIT"
] | null | null | null | js/components/plugins/testplugin2.js | rolfvandekrol/flux-react-requirejs-layers | a8c93c2a5e08c28d6c789042f0df9a717df7e8a7 | [
"MIT"
] | 4 | 2017-03-01T13:44:28.000Z | 2019-06-04T05:38:22.000Z |
define(
['react', 'components/plugins/testplugin2/sub'],
function(React, Sub) {
return React.createClass({
displayName: 'TestPlugin2',
render: function() {
return (
<div className="test-plugin">
TestPlugin2
<Sub />
</div>
);
}
})... | 18.277778 | 50 | 0.489362 |
dbcb6b666351068b5b335e175ad6975001141484 | 26,161 | js | JavaScript | jstests/multiVersion/set_feature_compatibility_version.js | i80and/mongo | 67f4d6495ad14fe95067f06e0366823887828c0e | [
"Apache-2.0"
] | null | null | null | jstests/multiVersion/set_feature_compatibility_version.js | i80and/mongo | 67f4d6495ad14fe95067f06e0366823887828c0e | [
"Apache-2.0"
] | null | null | null | jstests/multiVersion/set_feature_compatibility_version.js | i80and/mongo | 67f4d6495ad14fe95067f06e0366823887828c0e | [
"Apache-2.0"
] | null | null | null | /**
* Tests setFeatureCompatibilityVersion.
*/
// Checking UUID consistency involves talking to a shard node, which in this test is shutdown
TestData.skipCheckingUUIDsConsistentAcrossCluster = true;
// Some of the test cases in this file clear the FCV document, so the validate command's UUID checks
// will fail.
Te... | 45.027539 | 101 | 0.683116 |
dbcbeb34f8b395af2e6f49ff121df7697f3ebff7 | 440 | js | JavaScript | public/css/wp-content/themes/adalainedesign-ladyboss/js/global8a54.js | vutruong626/truong.sky.com | 0e1bba01e123c7f6c31b42dcb855dc7791e7d03d | [
"MIT"
] | null | null | null | public/css/wp-content/themes/adalainedesign-ladyboss/js/global8a54.js | vutruong626/truong.sky.com | 0e1bba01e123c7f6c31b42dcb855dc7791e7d03d | [
"MIT"
] | null | null | null | public/css/wp-content/themes/adalainedesign-ladyboss/js/global8a54.js | vutruong626/truong.sky.com | 0e1bba01e123c7f6c31b42dcb855dc7791e7d03d | [
"MIT"
] | null | null | null | jQuery(function( $ ){
// Sticky Announcement Bar
var headerHeight = $('.site-header').innerHeight();
var beforeheaderHeight = $('.before-header').outerHeight();
var abovenavHeight = headerHeight + beforeheaderHeight - 1;
$(window).scroll(function(){
if ($(document).scrollTop() > abovenavHeight){
$('.annou... | 20 | 60 | 0.647727 |
dbcc0fabc0195c03b59e2d711f2da389666389ff | 258 | js | JavaScript | src/components/transformer/index.js | xom9ikk/verticals-backend | d8b969965e7550c774c8fd0f8407ee0df6ccd8e7 | [
"MIT"
] | null | null | null | src/components/transformer/index.js | xom9ikk/verticals-backend | d8b969965e7550c774c8fd0f8407ee0df6ccd8e7 | [
"MIT"
] | null | null | null | src/components/transformer/index.js | xom9ikk/verticals-backend | d8b969965e7550c774c8fd0f8407ee0df6ccd8e7 | [
"MIT"
] | 1 | 2022-01-01T14:21:46.000Z | 2022-01-01T14:21:46.000Z | const {
CDN_ADDRESS,
} = process.env;
class TransformerComponent {
transformLink(relativePath) {
return relativePath ? `${CDN_ADDRESS}/${relativePath}` : relativePath;
}
}
module.exports = {
TransformerComponent: new TransformerComponent(),
};
| 18.428571 | 74 | 0.717054 |
dbcc3194e020036d8b7c5f1b7d0fc535923af21a | 827 | js | JavaScript | src/reducers/sleepRecorder.js | chriswu14/BabySleepNotes | d320266cc2a20f5ded89b53f059f74e576bba404 | [
"MIT"
] | null | null | null | src/reducers/sleepRecorder.js | chriswu14/BabySleepNotes | d320266cc2a20f5ded89b53f059f74e576bba404 | [
"MIT"
] | null | null | null | src/reducers/sleepRecorder.js | chriswu14/BabySleepNotes | d320266cc2a20f5ded89b53f059f74e576bba404 | [
"MIT"
] | null | null | null | import { START_WATCH, STOP_WATCH, RESET_WATCH } from '../actions/sleepRecorder';
const initialState = {
isRunning: false,
initialTime: null,
startTime: null,
stopTime: null
};
export default function sleepRecorder(state = initialState, action) {
switch (action.type) {
case START_WATCH:
return {
... | 20.170732 | 80 | 0.585248 |
dbcc4cbeb0c7ba7bc824dc84ed41989ce179fb2c | 525 | js | JavaScript | src/commands/restart.js | Musix-Development/musix-v3 | f6161004746077a55b0586b255dea2a1d68d97b5 | [
"MIT"
] | 1 | 2021-06-14T17:35:00.000Z | 2021-06-14T17:35:00.000Z | src/commands/restart.js | Musix-Development/musix-v3 | f6161004746077a55b0586b255dea2a1d68d97b5 | [
"MIT"
] | null | null | null | src/commands/restart.js | Musix-Development/musix-v3 | f6161004746077a55b0586b255dea2a1d68d97b5 | [
"MIT"
] | null | null | null | module.exports = {
name: 'restart',
alias: ["none"],
usage: '',
description: 'restart all shards',
onlyDev: true,
permission: 'dev',
category: 'util',
async execute(msg, args, client, Discord, command) {
client.shard.broadcastEval("this.funcs.saveDB(this);");
msg.channel.... | 35 | 114 | 0.655238 |
dbce49485883f37ca4cc153e089b8905d22fcb0a | 471 | js | JavaScript | publication/assets/admui/js/examples/pages/general/faq.js | ximenwenbo/iliao | cbb8eb91f1692a226e49fbf6b33f9adf439b27e7 | [
"Apache-2.0"
] | null | null | null | publication/assets/admui/js/examples/pages/general/faq.js | ximenwenbo/iliao | cbb8eb91f1692a226e49fbf6b33f9adf439b27e7 | [
"Apache-2.0"
] | null | null | null | publication/assets/admui/js/examples/pages/general/faq.js | ximenwenbo/iliao | cbb8eb91f1692a226e49fbf6b33f9adf439b27e7 | [
"Apache-2.0"
] | null | null | null | /**
* Admui-iframe v2.0.0 (http://www.admui.com/)
* Copyright 2015-2018 Admui Team
* Licensed under the Admui License 1.1 (http://www.admui.com/about/license)
*/
(function (document, window, $) {
'use strict';
if ($('.list-group[data-plugin="nav-tabs"]').length) {
$('a[data-toggle="tab"]').on('show... | 31.4 | 76 | 0.592357 |
dbce6b3127aefe8b8b321c353476668139078f65 | 8,772 | js | JavaScript | src/utils/list.js | lab-result/web-plugins | 6b18226e454b419454e8ded7676694933cfeeee2 | [
"MIT"
] | null | null | null | src/utils/list.js | lab-result/web-plugins | 6b18226e454b419454e8ded7676694933cfeeee2 | [
"MIT"
] | null | null | null | src/utils/list.js | lab-result/web-plugins | 6b18226e454b419454e8ded7676694933cfeeee2 | [
"MIT"
] | 1 | 2020-04-06T22:05:47.000Z | 2020-04-06T22:05:47.000Z | import _ from 'lodash';
/**
* Pushes items to the start of an array. Does not mutate the array.
*
* @example
* console.log(pushStart([1, 1, 1], 2));
* // [2, 1, 1, 1]
* console.log(pushStart([1, 1, 1], 1, 2, 3));
* // [3, 2, 1, 1, 1, 1]
*
* @param {any[]} arr - Array to push to.
* @param {...any} items - Ite... | 30.248276 | 82 | 0.589375 |
dbce97872a8f29c81b7711c94ea58e4b5f5fba99 | 3,811 | js | JavaScript | scripts/script.js | 3imed-jaberi/play-with-drawing | 911da7fff283a8ab86317668c418b3f302470b1b | [
"MIT"
] | null | null | null | scripts/script.js | 3imed-jaberi/play-with-drawing | 911da7fff283a8ab86317668c418b3f302470b1b | [
"MIT"
] | null | null | null | scripts/script.js | 3imed-jaberi/play-with-drawing | 911da7fff283a8ab86317668c418b3f302470b1b | [
"MIT"
] | null | null | null | "use strict";
// the url for the save.php script => save the image in aa folder ..
const GLOBALE_URL = "http://localhost/app/php/save.php" ;
// canvas dom object ..
let canvas = document.getElementById('myCan');
// put the context of the canvas => 2D ..
let context = canvas.getContext('2d');
// canvas size value ... | 28.22963 | 91 | 0.604828 |
dbcf0b3ff2fff35f7b7879a37dadbf463b48bd68 | 851 | js | JavaScript | src/lib/useRaf.js | 0m15/mysite | 4fe1189c10e54a8af029efe937c26e8399579de5 | [
"MIT"
] | null | null | null | src/lib/useRaf.js | 0m15/mysite | 4fe1189c10e54a8af029efe937c26e8399579de5 | [
"MIT"
] | 14 | 2020-01-06T10:01:02.000Z | 2022-02-26T13:01:28.000Z | src/lib/useRaf.js | 0m15/mysite | 4fe1189c10e54a8af029efe937c26e8399579de5 | [
"MIT"
] | null | null | null | import { useLayoutEffect, useState } from 'react';
const useRaf = (ms, delay) => {
const [elapsed, set] = useState(0);
useLayoutEffect(() => {
let raf;
let timerStop;
let start;
const onFrame = () => {
const time = Math.min(1, (Date.now() - start) / ms);
set(time);
... | 21.820513 | 59 | 0.515864 |
dbcf3907f9e76b15422c1b4b66a1233ea28ab289 | 247 | js | JavaScript | worker/worker.js | adamchalmers/quiet-serverless | 2a761ab28274b2c6349503edac272f09d9cb4bb2 | [
"Apache-2.0",
"MIT"
] | 1 | 2020-10-12T01:48:47.000Z | 2020-10-12T01:48:47.000Z | worker/worker.js | adamchalmers/quiet-serverless | 2a761ab28274b2c6349503edac272f09d9cb4bb2 | [
"Apache-2.0",
"MIT"
] | null | null | null | worker/worker.js | adamchalmers/quiet-serverless | 2a761ab28274b2c6349503edac272f09d9cb4bb2 | [
"Apache-2.0",
"MIT"
] | null | null | null | addEventListener('fetch', event => {
event.respondWith(handle(event))
})
async function handle(event) {
const { main } = wasm_bindgen;
await wasm_bindgen(wasm);
let resp = await main(event);
console.log("resp:", resp);
return resp;
}
| 20.583333 | 36 | 0.680162 |
dbd054c17fdd7e39983dd3a56a7f9e0f822b7ff8 | 286 | js | JavaScript | src/index.js | 1cgeo/dsgdocs | 59d8865de0f0bb36e9d4a6c411ec6f7d9eb3925e | [
"MIT"
] | 1 | 2019-01-13T23:54:16.000Z | 2019-01-13T23:54:16.000Z | src/index.js | 1cgeo/DSGDocs | 59d8865de0f0bb36e9d4a6c411ec6f7d9eb3925e | [
"MIT"
] | null | null | null | src/index.js | 1cgeo/DSGDocs | 59d8865de0f0bb36e9d4a6c411ec6f7d9eb3925e | [
"MIT"
] | null | null | null | "use strict";
require("dotenv").config();
const app = require("./app");
const { logger } = require("./logger");
//Starts server
app.listen(process.env.PORT, () => {
logger.info("Server start", {
context: "index",
information: {
port: process.env.PORT
}
});
});
| 16.823529 | 39 | 0.583916 |
dbd0cb82402ef1148bd0ee4ce549968abd3ec8ad | 290 | js | JavaScript | models/ordersModel.js | darksun27/zomentum-hiring-challenge | 82c19f55c3ad4e6ba614e3a18eb84c80d20a2fed | [
"MIT"
] | null | null | null | models/ordersModel.js | darksun27/zomentum-hiring-challenge | 82c19f55c3ad4e6ba614e3a18eb84c80d20a2fed | [
"MIT"
] | null | null | null | models/ordersModel.js | darksun27/zomentum-hiring-challenge | 82c19f55c3ad4e6ba614e3a18eb84c80d20a2fed | [
"MIT"
] | 1 | 2020-08-30T21:33:56.000Z | 2020-08-30T21:33:56.000Z | const mongoose = require('mongoose');
const OrderSchema = new mongoose.Schema({
serial_number: String,
name: String,
customer: String,
rent_on: Date,
rent_due: Date,
rent_pm: Number,
agreement: String,
});
module.exports = mongoose.model("Order", OrderSchema); | 22.307692 | 54 | 0.67931 |
dbd160d610854f6f2aa37a8ed2ff5b2185b82fdd | 5,178 | js | JavaScript | web-client/src/presenter/actions/updatePetitionDetailsAction.test.js | kkoskelin/ef-cms | 871bc91aff17ed57669b1608f21eb3f58a44a7dd | [
"CC0-1.0"
] | null | null | null | web-client/src/presenter/actions/updatePetitionDetailsAction.test.js | kkoskelin/ef-cms | 871bc91aff17ed57669b1608f21eb3f58a44a7dd | [
"CC0-1.0"
] | null | null | null | web-client/src/presenter/actions/updatePetitionDetailsAction.test.js | kkoskelin/ef-cms | 871bc91aff17ed57669b1608f21eb3f58a44a7dd | [
"CC0-1.0"
] | null | null | null | import { applicationContextForClient as applicationContext } from '../../../../shared/src/business/test/createTestApplicationContext';
import { presenter } from '../presenter-mock';
import { runAction } from 'cerebral/test';
import { updatePetitionDetailsAction } from './updatePetitionDetailsAction';
describe('updateP... | 28.766667 | 134 | 0.610854 |
dbd408f20297e1e5cd8a2154a4e9293e35bc8fa6 | 127 | js | JavaScript | src/components/status.js | lta4/eli-martinez-realtor | 41edcc66068465aa8ba6365dee340c6522fd282f | [
"RSA-MD"
] | null | null | null | src/components/status.js | lta4/eli-martinez-realtor | 41edcc66068465aa8ba6365dee340c6522fd282f | [
"RSA-MD"
] | null | null | null | src/components/status.js | lta4/eli-martinez-realtor | 41edcc66068465aa8ba6365dee340c6522fd282f | [
"RSA-MD"
] | null | null | null | import * as React from "react"
const Status = () => {
return (
<h1>status page</h1>
)
}
export default Status | 14.111111 | 30 | 0.566929 |
dbd4c153f8118316405ada8e67515aaa419da496 | 2,862 | js | JavaScript | bench/Path.bench.js | DarrenPaulWright/path-artisan | 54af38554c1a0e327198f5116e37ce706c10a08f | [
"MIT"
] | null | null | null | bench/Path.bench.js | DarrenPaulWright/path-artisan | 54af38554c1a0e327198f5116e37ce706c10a08f | [
"MIT"
] | 7 | 2021-06-20T17:16:58.000Z | 2021-06-20T17:17:04.000Z | bench/Path.bench.js | DarrenPaulWright/pathinator | 54af38554c1a0e327198f5116e37ce706c10a08f | [
"MIT"
] | null | null | null | import { benchSettings } from 'karma-webpack-bundle';
import { Path } from '../index.js';
suite('Path', () => {
let temporaryTarget = {};
benchmark('single point', () => {
temporaryTarget = new Path('m1,2l3,4z');
}, benchSettings);
benchmark('three points', () => {
temporaryTarget = new Path('m1,2c1,2 3,4 5,... | 63.6 | 1,008 | 0.62334 |
dbd55d5d334642a1521d83aa9e1a8273feb0af7d | 1,392 | js | JavaScript | backend/external_api/oauth.js | ClassroomWebApplication/classroom | d8a8464713d4e6843d43e155bccd0958491719fe | [
"MIT"
] | 2 | 2021-09-08T15:03:46.000Z | 2021-09-24T21:21:50.000Z | backend/external_api/oauth.js | ClassroomWebApplication/classroom | d8a8464713d4e6843d43e155bccd0958491719fe | [
"MIT"
] | null | null | null | backend/external_api/oauth.js | ClassroomWebApplication/classroom | d8a8464713d4e6843d43e155bccd0958491719fe | [
"MIT"
] | 1 | 2022-01-01T12:02:48.000Z | 2022-01-01T12:02:48.000Z | const { google } = require("googleapis");
const dotenv = require("dotenv");
dotenv.config();
const googleConfig = {
clientId: process.env.CLIENT_ID,
clientSecret: process.env.CLIENT_SECRET,
redirect: "https://3248-2401-4900-5304-8e99-d17f-1836-91be-9b6d.ngrok.io"
}
/**
* Create the google auth object w... | 26.264151 | 122 | 0.68319 |
dbd5c295c87b5f9851e5fa2197d14a68f5a6ac86 | 345 | js | JavaScript | src/reducers/index.js | markanator/foodtrucktrackr-frontend | 94ba878bef9eaa71dfa1f4d89e4b481b139619da | [
"MIT"
] | null | null | null | src/reducers/index.js | markanator/foodtrucktrackr-frontend | 94ba878bef9eaa71dfa1f4d89e4b481b139619da | [
"MIT"
] | null | null | null | src/reducers/index.js | markanator/foodtrucktrackr-frontend | 94ba878bef9eaa71dfa1f4d89e4b481b139619da | [
"MIT"
] | 2 | 2020-07-22T23:23:37.000Z | 2020-08-03T02:21:21.000Z | import { combineReducers } from "redux";
// import all reducers
import { truckReducer } from "./TruckReducer";
import { menuItemReducer } from "./MenuItemReducer";
import { dinerOperatorReducer } from "./dinerOperatorReducer.js";
export const rootReducer = combineReducers({
dinerOperatorReducer,
truckReducer,
... | 28.75 | 65 | 0.744928 |
dbd601bf9dc30b83e9b3c6df2085666722a84d59 | 5,244 | js | JavaScript | scorm_c2_plugin/edittime.js | Mimiste/c2-scorm-plugin | 11b25bc3e3cf22a622643e84de55a11970682a6f | [
"MIT"
] | 6 | 2016-10-06T08:13:02.000Z | 2020-07-14T16:43:36.000Z | scorm_c2_plugin/edittime.js | wagstalos/c2-scorm-plugin | 11b25bc3e3cf22a622643e84de55a11970682a6f | [
"MIT"
] | 3 | 2016-10-25T22:26:41.000Z | 2017-03-14T08:42:25.000Z | scorm_c2_plugin/edittime.js | wagstalos/c2-scorm-plugin | 11b25bc3e3cf22a622643e84de55a11970682a6f | [
"MIT"
] | 3 | 2019-03-12T17:30:50.000Z | 2021-03-19T10:49:05.000Z | function GetPluginSettings()
{
return {
"name": "Scorm C2", // as appears in 'insert object' dialog, can be changed as long as "id" stays the same
"id": "scormc2", // this is used to identify this plugin and is saved to the project; never change it
"version": "1.0", // (float in x.y format) Plugin... | 41.619048 | 185 | 0.688215 |
dbd76a9a60036d77c63a1a45c348aab34c6a3fd9 | 504 | js | JavaScript | packages/terra-functional-testing/tests/jest/commands/utils/getViewportSize.test.js | cerner/terra-toolk | d325a7a65b9ee064d7a056019308e1901b268dd8 | [
"Apache-2.0"
] | 31 | 2017-07-28T22:11:18.000Z | 2022-01-28T17:38:27.000Z | packages/terra-functional-testing/tests/jest/commands/utils/getViewportSize.test.js | cerner/terra-toolk | d325a7a65b9ee064d7a056019308e1901b268dd8 | [
"Apache-2.0"
] | 423 | 2017-01-30T18:16:15.000Z | 2022-03-21T15:17:00.000Z | packages/terra-functional-testing/tests/jest/commands/utils/getViewportSize.test.js | cerner/terra-toolk | d325a7a65b9ee064d7a056019308e1901b268dd8 | [
"Apache-2.0"
] | 45 | 2017-11-02T13:04:02.000Z | 2021-12-16T09:50:15.000Z | const { getViewportSize } = require('../../../../src/commands/utils');
describe('getViewportSize', () => {
it('should get the current viewport size', () => {
const mockExecute = jest.fn().mockReturnValue({ screenWidth: 1000, screenHeight: 768 });
global.browser = {
execute: mockExecute,
};
con... | 29.647059 | 92 | 0.654762 |
dbd7b0a2c59be0b1b3df24c6b8becfad989741e1 | 367 | js | JavaScript | frontend/src/store/index.js | bayramlcm/vue-basic-panel | a43ea821eebe4800f58628ece5ff9b7a80dae0ff | [
"MIT"
] | 2 | 2019-12-24T15:05:04.000Z | 2020-01-20T15:35:37.000Z | frontend/src/store/index.js | bayramlcm/vue-basic-panel | a43ea821eebe4800f58628ece5ff9b7a80dae0ff | [
"MIT"
] | 4 | 2021-03-10T02:22:12.000Z | 2022-02-18T17:19:43.000Z | frontend/src/store/index.js | bayramlcm/vue-node-basic-panel | a43ea821eebe4800f58628ece5ff9b7a80dae0ff | [
"MIT"
] | null | null | null | import Vue from 'vue';
import Vuex from 'vuex';
import Server from './modules/server';
import UI from './modules/ui';
import Account from './modules/account';
import Notification from './modules/notification';
Vue.use(Vuex);
export default new Vuex.Store({
modules: {
server: Server,
ui: UI,
account: Ac... | 19.315789 | 50 | 0.686649 |
dbd86b4c711ae76e915bd68f541609ab6c0e7d1c | 1,311 | js | JavaScript | JS Advanced/05. DOM Manipulation and Events - Lab/07. Shopping-Cart/solution.js | A-Manev/SoftUni-JavaScript | d1989e570f0b29112ab74f4921db3b79d19fff1d | [
"MIT"
] | 1 | 2021-04-12T10:11:28.000Z | 2021-04-12T10:11:28.000Z | JS Advanced/05. DOM Manipulation and Events - Lab/07. Shopping-Cart/solution.js | A-Manev/SoftUni-JavaScript | d1989e570f0b29112ab74f4921db3b79d19fff1d | [
"MIT"
] | null | null | null | JS Advanced/05. DOM Manipulation and Events - Lab/07. Shopping-Cart/solution.js | A-Manev/SoftUni-JavaScript | d1989e570f0b29112ab74f4921db3b79d19fff1d | [
"MIT"
] | 5 | 2021-01-20T21:51:20.000Z | 2022-03-05T16:12:35.000Z | function solve() {
let allAddButtons = [...document.querySelectorAll('body > div > div > div.product-add > button')];
allAddButtons.forEach(b => {
b.addEventListener('click', addToBasket);
});
let textarea = document.querySelector('body > div > textarea');
let producuts = {};
function addTo... | 30.488372 | 104 | 0.651411 |
dbd9d5e1b4c0283b5c4aab683a7339125f1001c9 | 1,191 | js | JavaScript | components/WYSIWYG/components/Toolbar/toolbar.js | augusto-santos/webapp | 2db4a3d4fbd0f4b5633a78368ec4f082186dcf1d | [
"MIT"
] | null | null | null | components/WYSIWYG/components/Toolbar/toolbar.js | augusto-santos/webapp | 2db4a3d4fbd0f4b5633a78368ec4f082186dcf1d | [
"MIT"
] | null | null | null | components/WYSIWYG/components/Toolbar/toolbar.js | augusto-santos/webapp | 2db4a3d4fbd0f4b5633a78368ec4f082186dcf1d | [
"MIT"
] | null | null | null | import React, { Component } from 'react'
import s from './toolbar.css'
class Toolbar extends Component{
render(){
return(
<div className={`${s.wysiwyg_toolbar}`}>
<div className={`${s.toolbar_section}`}>
<button><i className={`material-icons`}>format_italic</i></button>
<button>... | 38.419355 | 83 | 0.604534 |
dbdab3c965f09d8105ee49f14dd2e5be08a04e72 | 1,078 | js | JavaScript | lib/tunnel.js | Gerhut/koxy | a95eb1321ea89735f84778553865e38446aeb46e | [
"MIT"
] | 1 | 2017-06-08T08:33:40.000Z | 2017-06-08T08:33:40.000Z | lib/tunnel.js | Gerhut/koxy | a95eb1321ea89735f84778553865e38446aeb46e | [
"MIT"
] | 18 | 2020-05-09T06:39:57.000Z | 2020-11-24T00:46:15.000Z | lib/tunnel.js | Gerhut/kroxy | a95eb1321ea89735f84778553865e38446aeb46e | [
"MIT"
] | null | null | null | 'use strict'
const net = require('net')
const debug = require('debug')('kroxy:tunnel')
module.exports = () => (request, source, head) => {
debug(`CONNECT ${request.url}`)
function cleanup (error) {
/* istanbul ignore if */
if (error instanceof Error) {
debug('ERROR', error)
}
debug(`DISCONN... | 24.5 | 82 | 0.624304 |
dbdbe854f8e1d47d60bfcb015c4cad21d79716a6 | 534 | js | JavaScript | src/components/aggrid/date.js | ndom91/timeoff | 21f2aa654cd220b16e6e75cca18f1469ef65cd13 | [
"MIT"
] | 6 | 2020-06-27T20:12:04.000Z | 2021-04-26T03:14:59.000Z | src/components/aggrid/date.js | ndom91/timeoff | 21f2aa654cd220b16e6e75cca18f1469ef65cd13 | [
"MIT"
] | 11 | 2020-06-17T11:36:08.000Z | 2022-03-23T18:51:27.000Z | src/components/aggrid/date.js | ndom91/timeoff | 21f2aa654cd220b16e6e75cca18f1469ef65cd13 | [
"MIT"
] | null | null | null | import React, { Component } from 'react'
export default class DateField extends Component {
render () {
const props = this.props
const value = this.props.value
let dateTime
if (props.value && !isNaN(Date.parse(props.value))) {
const dateAr = value.split('.')
const day = dateAr[0]
co... | 22.25 | 57 | 0.56367 |
dbdc3476da9b1af8f36349553a8f292914f14b50 | 897 | js | JavaScript | assets/test/integrationTest/xcrpc/SqlServiceSpec.js | xcalar/xcalar-idl | 69aa08fb42cde6c905b3aa2129c365c4c3e575f9 | [
"Apache-2.0"
] | null | null | null | assets/test/integrationTest/xcrpc/SqlServiceSpec.js | xcalar/xcalar-idl | 69aa08fb42cde6c905b3aa2129c365c4c3e575f9 | [
"Apache-2.0"
] | null | null | null | assets/test/integrationTest/xcrpc/SqlServiceSpec.js | xcalar/xcalar-idl | 69aa08fb42cde6c905b3aa2129c365c4c3e575f9 | [
"Apache-2.0"
] | 1 | 2021-01-31T20:52:28.000Z | 2021-01-31T20:52:28.000Z | const expect = require('chai').expect;
exports.testSuite = function(sqlService) {
describe('SqlService Test', function () {
it('Check service availability', async () => {
let error = null;
const invalidSql = 'MyInvalidSql';
try {
await sqlService.executeS... | 37.375 | 96 | 0.500557 |
dbdc9a658a8d4db5979f3c7c6deb7973a8bd0f57 | 4,946 | js | JavaScript | zipdata/zip-076.js | danglephuc/jp-postalcode-lookup | eb58480bee152712edadd0f52ba5db0868a3a314 | [
"MIT"
] | null | null | null | zipdata/zip-076.js | danglephuc/jp-postalcode-lookup | eb58480bee152712edadd0f52ba5db0868a3a314 | [
"MIT"
] | null | null | null | zipdata/zip-076.js | danglephuc/jp-postalcode-lookup | eb58480bee152712edadd0f52ba5db0868a3a314 | [
"MIT"
] | null | null | null | zipdata({
"0760000":[[1,1229,"富良野市","フラノシ",12290000,""," ",""]],
"0760001":[[1,1229,"富良野市","フラノシ",12290009,"北扇山","キタオウギヤマ",""]],
"0760002":[[1,1229,"富良野市","フラノシ",12290058,"南扇山","ミナミオウギヤマ",""]],
"0760003":[[1,1229,"富良野市","フラノシ",12290040,"布部石綿","ヌノベイシワタ",""]],
"0760004":[[1,1229,"富良野市","フラノシ",12290042,"布部市街地","ヌノベシガ... | 61.825 | 68 | 0.578447 |
dbdd890fab0a4b036d1f7a3e050db60ebcee6ba3 | 192 | js | JavaScript | excel-snippets/addChartTitle.js | nhun206/office-js-snippet-explorer | d481baaadd72f1ec9f3bd1cd6e909f812861190a | [
"MIT"
] | 51 | 2015-09-25T22:27:07.000Z | 2021-08-30T21:19:49.000Z | excel-snippets/addChartTitle.js | rashidkhan46211/VSTO | de7ed69e36b8c5f9c60e5238163b4ecffbbe4805 | [
"MIT"
] | 11 | 2015-10-03T06:06:50.000Z | 2017-06-27T23:03:41.000Z | excel-snippets/addChartTitle.js | rashidkhan46211/VSTO | de7ed69e36b8c5f9c60e5238163b4ecffbbe4805 | [
"MIT"
] | 24 | 2015-11-04T01:55:45.000Z | 2021-12-22T03:21:25.000Z |
Excel.run(function (ctx) {
ctx.workbook.worksheets.getActiveWorksheet().charts.getItemAt(0).title.text = "New Title";
return ctx.sync();
}).catch(function (error) {
console.log(error);
}); | 27.428571 | 91 | 0.713542 |
dbdded53c0bd732e1a490193011b812e0e4ee7b6 | 40,063 | js | JavaScript | node_modules/sucrase/dist/esm/parser/plugins/typescript.js | aquaigni/455-project | 75821f6d388b73d74192496afabe3c88f95333ef | [
"Unlicense",
"MIT"
] | null | null | null | node_modules/sucrase/dist/esm/parser/plugins/typescript.js | aquaigni/455-project | 75821f6d388b73d74192496afabe3c88f95333ef | [
"Unlicense",
"MIT"
] | null | null | null | node_modules/sucrase/dist/esm/parser/plugins/typescript.js | aquaigni/455-project | 75821f6d388b73d74192496afabe3c88f95333ef | [
"Unlicense",
"MIT"
] | null | null | null | import {
eat,
lookaheadType,
lookaheadTypeAndKeyword,
match,
next,
nextTemplateToken,
popTypeContext,
pushTypeContext,
} from "../tokenizer/index";
import {ContextualKeyword} from "../tokenizer/keywords";
import {TokenType, TokenType as tt} from "../tokenizer/types";
import {isJSXEnabled, state} from ".... | 27.033063 | 173 | 0.676909 |
dbde0bd624e68b67c90b11c2df1c2086137d6dde | 2,240 | js | JavaScript | Utils/GenerateM.js | anhnguyendon92/ReadMeGenerator- | a1e1f51a490b71c079d0e9a553bd419ffa9469fa | [
"MIT"
] | null | null | null | Utils/GenerateM.js | anhnguyendon92/ReadMeGenerator- | a1e1f51a490b71c079d0e9a553bd419ffa9469fa | [
"MIT"
] | null | null | null | Utils/GenerateM.js | anhnguyendon92/ReadMeGenerator- | a1e1f51a490b71c079d0e9a553bd419ffa9469fa | [
"MIT"
] | null | null | null | const licenseBadgeLinks = require('./License');
// function to generate markdown for README
const generateMarkdown = (data) => {
// set url for license badge
data.licenseBadge = licenseBadgeLinks[data.license];
//return markdown content
return `
## Badges
${data.licenseBadge}
# Project Title : ${data.t... | 37.966102 | 460 | 0.748661 |
dbde8aec0f9d200a4439405252148a82a59e212c | 1,628 | js | JavaScript | test/import-export.js | squidsoup/js-macaroon | 667cfc44782ae43c168c22cb8570ad4bc86bc5b2 | [
"BSD-3-Clause"
] | 34 | 2015-01-22T07:02:46.000Z | 2021-11-03T21:49:36.000Z | test/import-export.js | squidsoup/js-macaroon | 667cfc44782ae43c168c22cb8570ad4bc86bc5b2 | [
"BSD-3-Clause"
] | 25 | 2015-10-15T13:36:49.000Z | 2021-05-07T20:09:06.000Z | test/import-export.js | squidsoup/js-macaroon | 667cfc44782ae43c168c22cb8570ad4bc86bc5b2 | [
"BSD-3-Clause"
] | 19 | 2015-01-05T09:34:37.000Z | 2021-02-25T18:21:10.000Z | 'use strict';
const test = require('tape');
const m = require('../macaroon');
const testUtils = require('./test-utils');
test('importMacaroon should import from a single object', t => {
const obj = {
location: 'a location',
identifier: 'id 1',
signature: 'e0831c334c600631bf7b860ca20c9930f584b077b8eac1f... | 28.561404 | 86 | 0.67629 |
c12df958f896e7911eeb191ac5f762ed59eca4b9 | 473 | js | JavaScript | genKeys.js | hmbeale/dictionary | 4d652f81eace30d38c3081777b298165af36aa3c | [
"MIT"
] | null | null | null | genKeys.js | hmbeale/dictionary | 4d652f81eace30d38c3081777b298165af36aa3c | [
"MIT"
] | null | null | null | genKeys.js | hmbeale/dictionary | 4d652f81eace30d38c3081777b298165af36aa3c | [
"MIT"
] | null | null | null | const fs = require('fs');
//note this isn't actual json just js that looks like json
//dictionary is an object with a whole dictionary in it!
//it's big so be careful
const dictionaryObject = require('./dictionary.js');
const dictionary = dictionaryObject['dictionary'];
//awkward because it generates a rather large a... | 27.823529 | 58 | 0.744186 |
c12e2e69dbff8d4561d5275e436e4531326e00f0 | 5,707 | js | JavaScript | test/server-version.spec.js | aldebout/nuxeo-js-client | f9a786c4ca4913da36be54e74432298e46cd4e7d | [
"Apache-2.0"
] | null | null | null | test/server-version.spec.js | aldebout/nuxeo-js-client | f9a786c4ca4913da36be54e74432298e46cd4e7d | [
"Apache-2.0"
] | null | null | null | test/server-version.spec.js | aldebout/nuxeo-js-client | f9a786c4ca4913da36be54e74432298e46cd4e7d | [
"Apache-2.0"
] | null | null | null | const ServerVersion = require('../lib/server-version');
describe('ServerVersion', () => {
describe('#constructor', () => {
it('should parse known server versions', () => {
let version = new ServerVersion('9.10');
expect(version.major).to.equal(9);
expect(version.minor).to.equal(10);
expec... | 32.426136 | 107 | 0.628001 |
c12e566a1b8f7f54e29abc8cfccc6b311c4afe34 | 130 | js | JavaScript | index.js | maslick/react-radiaslider | 2d561bea0b8c2117fdc1f6fae93d4cf64ba3cd74 | [
"MIT"
] | null | null | null | index.js | maslick/react-radiaslider | 2d561bea0b8c2117fdc1f6fae93d4cf64ba3cd74 | [
"MIT"
] | 1 | 2021-03-09T00:01:21.000Z | 2021-03-09T00:01:21.000Z | index.js | maslick/react-radiaslider | 2d561bea0b8c2117fdc1f6fae93d4cf64ba3cd74 | [
"MIT"
] | null | null | null | import RadiaSlider from "./RadiaComponent";
import LinearSlider from "./LinearComponent";
export { RadiaSlider, LinearSlider };
| 21.666667 | 45 | 0.776923 |
c12e91af776d157cef628e44cc160def1f3f2e3d | 394 | js | JavaScript | JavaScript/M02_JavaScriptFundamentals/L06_ObjectsAndClasses/Exercises/P06_MakeADictionary.js | todorkrastev/softuni-software-engineering | cfc0b5eaeb82951ff4d4668332ec3a31c59a5f84 | [
"MIT"
] | 3 | 2021-04-06T21:35:50.000Z | 2021-08-07T09:51:58.000Z | JavaScript/M02_JavaScriptFundamentals/L06_ObjectsAndClasses/Exercises/P06_MakeADictionary.js | todorkrastev/softuni-software-engineering | cfc0b5eaeb82951ff4d4668332ec3a31c59a5f84 | [
"MIT"
] | null | null | null | JavaScript/M02_JavaScriptFundamentals/L06_ObjectsAndClasses/Exercises/P06_MakeADictionary.js | todorkrastev/softuni-software-engineering | cfc0b5eaeb82951ff4d4668332ec3a31c59a5f84 | [
"MIT"
] | 1 | 2022-02-23T13:03:14.000Z | 2022-02-23T13:03:14.000Z | function foo(data) {
let result = {};
data.forEach(x => {
const parsed = JSON.parse(x)
const key = Object.keys(parsed)[0]
const value = Object.values(parsed)[0]
result[key] = value
});
Object
.entries(result)
.sort((x, y) => x[0].localeCompare(y[0]))
... | 26.266667 | 75 | 0.515228 |
c12f8b88c624dbcd58d043ec60c160a327037bb8 | 2,411 | js | JavaScript | app/containers/ManageTaskPage/constants.js | osehra-ocp/ocp-ui | 22868ff1496dda6324f89c569e262bf8805518b7 | [
"Apache-2.0"
] | null | null | null | app/containers/ManageTaskPage/constants.js | osehra-ocp/ocp-ui | 22868ff1496dda6324f89c569e262bf8805518b7 | [
"Apache-2.0"
] | null | null | null | app/containers/ManageTaskPage/constants.js | osehra-ocp/ocp-ui | 22868ff1496dda6324f89c569e262bf8805518b7 | [
"Apache-2.0"
] | 1 | 2020-03-23T03:18:57.000Z | 2020-03-23T03:18:57.000Z | /*
*
* ManageTaskPage constants
*
*/
/**
* ManageTaskPage action types
* @type {string}
*/
export const GET_PATIENT = 'ocpui/ManageTaskPage/GET_PATIENT';
export const GET_PATIENT_SUCCESS = 'ocpui/ManageTaskPage/GET_PATIENT_SUCCESS';
export const GET_ACTIVITY_DEFINITIONS = 'ocpui/ManageTaskPage/GET_ACTIVITY_D... | 46.365385 | 104 | 0.842804 |
c131c027ae70d5b26520383c7b0b131710bdd624 | 29,598 | js | JavaScript | widgets/timeandweather/js/jquery.zweatherfeed.js | aurodionov/ioBroker.vis-timeandweather | fde8246202042328770a995eba191541272d4ede | [
"MIT"
] | 16 | 2016-02-10T05:54:16.000Z | 2021-06-26T12:17:22.000Z | widgets/timeandweather/js/jquery.zweatherfeed.js | aurodionov/ioBroker.vis-timeandweather | fde8246202042328770a995eba191541272d4ede | [
"MIT"
] | 11 | 2017-08-09T08:06:21.000Z | 2022-03-24T10:34:04.000Z | widgets/timeandweather/js/jquery.zweatherfeed.js | aurodionov/ioBroker.vis-timeandweather | fde8246202042328770a995eba191541272d4ede | [
"MIT"
] | 7 | 2016-02-15T15:37:37.000Z | 2019-12-12T23:02:25.000Z | /**
* Plugin: jquery.zWeatherFeed
*
* Version: 1.2.1
* (c) Copyright 2011-2013, Zazar Ltd
*
* Description: jQuery plugin for display of Yahoo! Weather feeds
*
* History:
* 1.2.1 - Handle invalid locations
* 1.2.0 - Added forecast data option
* 1.1.0 - Added user callback function
* New option to ... | 45.959627 | 265 | 0.42736 |
c132d707c645c5c076ff3dcfaf07f05d07cbdb49 | 901 | js | JavaScript | src/citizenapp/src/Utils/fakeGlucose.js | helsenorge/pasientdata | 69bc31db1874d113af4096ce60a2767a3e4c598b | [
"MIT"
] | null | null | null | src/citizenapp/src/Utils/fakeGlucose.js | helsenorge/pasientdata | 69bc31db1874d113af4096ce60a2767a3e4c598b | [
"MIT"
] | 1 | 2021-01-21T15:19:36.000Z | 2021-01-21T15:19:36.000Z | src/citizenapp/src/Utils/fakeGlucose.js | helsenorge/pasientdata2019 | 69bc31db1874d113af4096ce60a2767a3e4c598b | [
"MIT"
] | 1 | 2019-08-07T10:09:25.000Z | 2019-08-07T10:09:25.000Z | import moment from "moment";
function FakeGlucoseData() {
let start = [];
let end = [];
let value = [];
let data = [];
const period = 10;
let currX;
const interval = 8;
const mean = 9;
const sum = 15;
const dataLength = 2000;
for (let i = 0; i < dataLength; i++) {
currX = i / period;
star... | 20.477273 | 65 | 0.510544 |
c132dec788bb89aec97123a5fda0ef003394a111 | 257 | js | JavaScript | react-admin-dashboard/src/App.js | yetabalij/react-admin-dashboard | 232f48136f290281058228ff31dfd543154d367d | [
"MIT"
] | null | null | null | react-admin-dashboard/src/App.js | yetabalij/react-admin-dashboard | 232f48136f290281058228ff31dfd543154d367d | [
"MIT"
] | null | null | null | react-admin-dashboard/src/App.js | yetabalij/react-admin-dashboard | 232f48136f290281058228ff31dfd543154d367d | [
"MIT"
] | null | null | null | import { Topbar } from "./components/topbar/Topbar";
import { MainContainer } from "./components/container/MainContainer";
function App() {
return (
<div className="App">
<Topbar />
<MainContainer />
</div>
);
}
export default App;
| 19.769231 | 69 | 0.634241 |
c13327815abf977ba5db8f29a24829ed12275b42 | 48 | js | JavaScript | src/exceptions/index.js | med499/contact-vue-project | e27adae4ca42114344a173dfa670f7e23783a861 | [
"MIT"
] | null | null | null | src/exceptions/index.js | med499/contact-vue-project | e27adae4ca42114344a173dfa670f7e23783a861 | [
"MIT"
] | null | null | null | src/exceptions/index.js | med499/contact-vue-project | e27adae4ca42114344a173dfa670f7e23783a861 | [
"MIT"
] | null | null | null | export const HTTP_EXCEPTION = "HTTP_EXCEPTION";
| 24 | 47 | 0.8125 |
c133d54d181351693f070b4eccb4717e598aa159 | 10,878 | js | JavaScript | tools/test/wish-rpc-large-reply.js | ControlThings/mist-node-api-node | 09f05bb63f6b0eae77d0ade681311754a05932c7 | [
"Apache-2.0"
] | null | null | null | tools/test/wish-rpc-large-reply.js | ControlThings/mist-node-api-node | 09f05bb63f6b0eae77d0ade681311754a05932c7 | [
"Apache-2.0"
] | null | null | null | tools/test/wish-rpc-large-reply.js | ControlThings/mist-node-api-node | 09f05bb63f6b0eae77d0ade681311754a05932c7 | [
"Apache-2.0"
] | null | null | null | /**
* Copyright (C) 2020, ControlThings Oy Ab
*
* 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
*
* @license Apache-2.0
*/
var Mist = re... | 37.770833 | 211 | 0.47619 |
c1346d0beb973d2a2a718e6668833ab4c644cc57 | 8,945 | js | JavaScript | docs/cpp_linear/search/enumvalues_9.js | AlohaChina/or-tools | 1ece0518104db435593a1a21882801ab6ada3e15 | [
"Apache-2.0"
] | 8,273 | 2015-02-24T22:10:50.000Z | 2022-03-31T21:19:27.000Z | docs/cpp_linear/search/enumvalues_9.js | AlohaChina/or-tools | 1ece0518104db435593a1a21882801ab6ada3e15 | [
"Apache-2.0"
] | 2,530 | 2015-03-05T04:27:21.000Z | 2022-03-31T06:13:02.000Z | docs/cpp_linear/search/enumvalues_9.js | AlohaChina/or-tools | 1ece0518104db435593a1a21882801ab6ada3e15 | [
"Apache-2.0"
] | 2,057 | 2015-03-04T15:02:02.000Z | 2022-03-30T02:29:27.000Z | var searchData=
[
['model_5finvalid_0',['MODEL_INVALID',['../classoperations__research_1_1_m_p_solver.html#a573d479910e373f5d771d303e440587dae071e79c23f061c9dd00ee09519a0031',1,'operations_research::MPSolver']]],
['model_5fsynchronized_1',['MODEL_SYNCHRONIZED',['../classoperations__research_1_1_m_p_solver_interface... | 212.97619 | 280 | 0.883846 |
c1349eabd09639ab42547f15e0bc248cf579fe1c | 133 | js | JavaScript | exercicios/ex006/f05.js | brenoedl0/JavaScript | f1cea38cc42d6b07523f2d18686600ac5d30e414 | [
"MIT"
] | null | null | null | exercicios/ex006/f05.js | brenoedl0/JavaScript | f1cea38cc42d6b07523f2d18686600ac5d30e414 | [
"MIT"
] | null | null | null | exercicios/ex006/f05.js | brenoedl0/JavaScript | f1cea38cc42d6b07523f2d18686600ac5d30e414 | [
"MIT"
] | null | null | null | function fatoriaal(n){
if(n == 1){
return 1
}else{
return n* fatoriaal(n-1)
}
}
console.log(fatoriaal(5)) | 16.625 | 32 | 0.533835 |
c134bf8a9cab771f6b12451f961fe6885f9f2268 | 1,407 | js | JavaScript | PPD/src/components/Testimonial/Testimonial.js | alphiek/PPD | cd361ee9a425d7fc49bb0ae8303dbdf9e60179a5 | [
"MIT"
] | null | null | null | PPD/src/components/Testimonial/Testimonial.js | alphiek/PPD | cd361ee9a425d7fc49bb0ae8303dbdf9e60179a5 | [
"MIT"
] | 5 | 2021-03-09T18:46:21.000Z | 2022-02-18T11:29:32.000Z | PPD/src/components/Testimonial/Testimonial.js | alphiek/PPD | cd361ee9a425d7fc49bb0ae8303dbdf9e60179a5 | [
"MIT"
] | 1 | 2019-11-23T21:44:48.000Z | 2019-11-23T21:44:48.000Z | import React from "react";
import styled from "styled-components";
import { colors } from "../Utils/colors";
import quotes from "../../images/quotes.png";
import quotesbottom from "../../images/quotesbottom.png";
export const Testimonial = () => {
return (
<Section>
<Top src={quotes} alt="opening quotation... | 21.318182 | 79 | 0.626155 |
c1352181e8c3247e0525ab2f1de43a2a3644daa3 | 3,315 | js | JavaScript | build/static/js/main.99bf9421.chunk.js | swhachey/reactive_employee_manager | 9db9e9858fd2de5d311fa81dcb3b661df1742fd3 | [
"ISC"
] | null | null | null | build/static/js/main.99bf9421.chunk.js | swhachey/reactive_employee_manager | 9db9e9858fd2de5d311fa81dcb3b661df1742fd3 | [
"ISC"
] | null | null | null | build/static/js/main.99bf9421.chunk.js | swhachey/reactive_employee_manager | 9db9e9858fd2de5d311fa81dcb3b661df1742fd3 | [
"ISC"
] | null | null | null | (this.webpackJsonpempire=this.webpackJsonpempire||[]).push([[0],{24:function(e,t,n){},45:function(e,t,n){"use strict";n.r(t);var c=n(2),r=n(12),a=n.n(r),s=(n(24),n(0));var i=function(){return Object(s.jsxs)("div",{className:"jumbotron",children:[Object(s.jsx)("h1",{children:"EMPIRE"}),Object(s.jsx)("h3",{children:"Orga... | 1,657.5 | 3,267 | 0.696531 |
c1353c0d6d0346db3300e2b72a1097c8fa740150 | 401 | js | JavaScript | tests/perf/test-closure-inner-functions.js | wenq1/duktape | 5ed3eee19b291f3b3de0b212cc62c0aba0ab4ecb | [
"MIT"
] | 4,268 | 2015-01-01T17:33:40.000Z | 2022-03-31T17:53:31.000Z | tests/perf/test-closure-inner-functions.js | GyonGyon/duktape | 3f732345c745059d1d7307b17b5b8d070e9609e9 | [
"MIT"
] | 1,667 | 2015-01-01T22:43:03.000Z | 2022-02-23T22:27:19.000Z | tests/perf/test-closure-inner-functions.js | GyonGyon/duktape | 3f732345c745059d1d7307b17b5b8d070e9609e9 | [
"MIT"
] | 565 | 2015-01-08T14:15:28.000Z | 2022-03-31T16:29:31.000Z | function test() {
var src = [];
var i;
var fun;
src.push('(function outer() {');
for (i = 0; i < 100; i++) {
src.push(' function inner' + i + '() {}');
}
src.push('})');
//print(src.join('\n'));
fun = eval(src.join('\n'));
for (i = 0; i < 1e4; i++) {
fun();
... | 15.423077 | 53 | 0.394015 |
c136877d54dca1c01e8ee6e6cfe68238a16ae2c8 | 13,298 | js | JavaScript | build/ti-selector.js | kchapelier/ti-selector | 3fe2c25196ee0ca80f6ffe9dac64e9ab5189c467 | [
"MIT"
] | 2 | 2015-11-21T11:14:02.000Z | 2015-12-10T07:01:14.000Z | build/ti-selector.js | kchapelier/ti-selector | 3fe2c25196ee0ca80f6ffe9dac64e9ab5189c467 | [
"MIT"
] | null | null | null | build/ti-selector.js | kchapelier/ti-selector | 3fe2c25196ee0ca80f6ffe9dac64e9ab5189c467 | [
"MIT"
] | null | null | null | /**
* ti-selector
*
* Simple selector for Titanium's native view elements.
*
* Author: Kevin Chapelier
* Version: 1.0.0
* License: MIT
* Repository: https://github.com/kchapelier/ti-selector.git
*/
(function() {
"use strict";
var operators = (function () {
var list = {
'match-ta... | 32.593137 | 118 | 0.418484 |
c1371247a3e76af1a309ee4265f6807f9e2aa35e | 290 | js | JavaScript | lecture_notes/importing_from_other_file.js | nia-ja/notes-app | 82ff76a0cc71d15638696007c6d6f462a0decf03 | [
"MIT"
] | null | null | null | lecture_notes/importing_from_other_file.js | nia-ja/notes-app | 82ff76a0cc71d15638696007c6d6f462a0decf03 | [
"MIT"
] | null | null | null | lecture_notes/importing_from_other_file.js | nia-ja/notes-app | 82ff76a0cc71d15638696007c6d6f462a0decf03 | [
"MIT"
] | null | null | null | // IMPORTing variables
const name = require('./exporting_vars_funcs_etc.js'); // will run first -> first output in console
console.log(name); // second output in console
// IMPORTing functions
const add = require('./exporting_vars_funcs_etc.js');
const sum = add(4, -2);
console.log(sum); | 32.222222 | 99 | 0.731034 |
c1378241f3310e2a5f19b90ee8b84afff69f5aa3 | 38 | js | JavaScript | test/fixtures/string/actual.js | 0xflotus/babel-plugin-tcomb | 1c97001ec5c9b5fcc63ad2733dfb91e32660efdd | [
"MIT"
] | 534 | 2015-10-03T18:12:01.000Z | 2021-05-07T14:07:48.000Z | test/fixtures/string/actual.js | 0xflotus/babel-plugin-tcomb | 1c97001ec5c9b5fcc63ad2733dfb91e32660efdd | [
"MIT"
] | 144 | 2015-06-03T19:16:28.000Z | 2019-11-04T07:14:57.000Z | test/fixtures/string/actual.js | 0xflotus/babel-plugin-tcomb | 1c97001ec5c9b5fcc63ad2733dfb91e32660efdd | [
"MIT"
] | 31 | 2015-10-22T05:43:57.000Z | 2018-09-16T16:17:54.000Z | function foo(x: string) {
return x
} | 12.666667 | 25 | 0.657895 |
c13807e2d2e7b15b1b98c27bdfbfb3ba6d079f91 | 1,661 | js | JavaScript | frontend/src/global.js | jeferson-sb/be-the-hero | 49aabd2e4b2101b8c1d52ee2aee2e3d32df1f1da | [
"MIT"
] | 1 | 2020-07-18T04:54:47.000Z | 2020-07-18T04:54:47.000Z | frontend/src/global.js | MatteusGuedz/be-the-hero-1 | 132d254c29ea2dcd95eb83e566213dfe5e7ca70c | [
"MIT"
] | 4 | 2022-01-02T11:28:20.000Z | 2022-02-20T01:56:06.000Z | frontend/src/global.js | MatteusGuedz/be-the-hero-1 | 132d254c29ea2dcd95eb83e566213dfe5e7ca70c | [
"MIT"
] | 13 | 2020-03-29T00:44:40.000Z | 2020-10-08T12:17:17.000Z | import { createGlobalStyle } from 'styled-components';
export const GlobalStyle = createGlobalStyle`
@import url("https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap");
:root {
--font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open ... | 20.256098 | 153 | 0.583384 |
c13b615810b5ff4f7f83c8b324ae241461b7311f | 680 | js | JavaScript | dist/src/migrations/1641700889714-update_user_email_09_01_2021.js | minhhc06/source_backend_JSC | 4b87222965714240d31b0126e50e5cb661271806 | [
"MIT"
] | null | null | null | dist/src/migrations/1641700889714-update_user_email_09_01_2021.js | minhhc06/source_backend_JSC | 4b87222965714240d31b0126e50e5cb661271806 | [
"MIT"
] | null | null | null | dist/src/migrations/1641700889714-update_user_email_09_01_2021.js | minhhc06/source_backend_JSC | 4b87222965714240d31b0126e50e5cb661271806 | [
"MIT"
] | null | null | null | "use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.updateUserEmail090120211641700889714 = void 0;
class updateUserEmail090120211641700889714 {
constructor() {
this.name = 'updateUserEmail090120211641700889714';
}
async up(queryRunner) {
await queryRunner.que... | 42.5 | 94 | 0.75 |
c13b66be606599ff3846d8950c71fc968ae3b28b | 16,579 | js | JavaScript | generators/app/index.js | liucaizhong/generator-dsx-misvc | f5511af7911c05874aef72fcf0dea93864c6bb61 | [
"MIT"
] | null | null | null | generators/app/index.js | liucaizhong/generator-dsx-misvc | f5511af7911c05874aef72fcf0dea93864c6bb61 | [
"MIT"
] | null | null | null | generators/app/index.js | liucaizhong/generator-dsx-misvc | f5511af7911c05874aef72fcf0dea93864c6bb61 | [
"MIT"
] | null | null | null | const Generator = require('yeoman-generator')
const fs = require('fs-extra')
const chalk = require('chalk')
const minimist = require('minimist')
const path = require('path')
const execa = require('execa')
const { execSync } = require('child_process')
const validateServiceName = require('validate-npm-package-name')
cons... | 32.829703 | 211 | 0.579649 |