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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
22892c530e01151f8141a53f3cda1386bd5bca58 | 653 | js | JavaScript | src/Merchello.Web.UI.Client/src/common/models/factories/detachedcontent/umbContentTypeDisplayBuilder.factory.js | raindigi/Merchello | 7116fefe5be4eb424d43afc6590cfa3077ade185 | [
"MIT"
] | 191 | 2015-01-22T16:22:22.000Z | 2022-01-12T18:50:07.000Z | src/Merchello.Web.UI.Client/src/common/models/factories/detachedcontent/umbContentTypeDisplayBuilder.factory.js | raindigi/Merchello | 7116fefe5be4eb424d43afc6590cfa3077ade185 | [
"MIT"
] | 286 | 2015-01-16T12:30:01.000Z | 2022-03-02T01:45:41.000Z | src/Merchello.Web.UI.Client/src/common/models/factories/detachedcontent/umbContentTypeDisplayBuilder.factory.js | raindigi/Merchello | 7116fefe5be4eb424d43afc6590cfa3077ade185 | [
"MIT"
] | 300 | 2015-01-07T15:32:27.000Z | 2022-02-08T12:31:44.000Z | /**
* @ngdoc service
* @name umbContentTypeDisplayBuilder
*
* @description
* A utility service that builds UmbContentTypeDisplay models
*/
angular.module('merchello.models').factory('umbContentTypeDisplayBuilder',
['genericModelBuilder', 'UmbContentTypeDisplay',
function(genericModelBuilder, UmbContentTyp... | 27.208333 | 78 | 0.646248 |
22899aa50d8c7aa481630df2e8f46f035e9a6e16 | 2,286 | js | JavaScript | common/utils/schedule/index.js | eliassama/ComSvr | 6bdb30c5ca4ab3fdd580b0adcd08323dde8826ef | [
"MIT"
] | 2 | 2021-08-19T01:12:03.000Z | 2021-12-14T07:16:37.000Z | common/utils/schedule/index.js | eliassama/ComSvr | 6bdb30c5ca4ab3fdd580b0adcd08323dde8826ef | [
"MIT"
] | null | null | null | common/utils/schedule/index.js | eliassama/ComSvr | 6bdb30c5ca4ab3fdd580b0adcd08323dde8826ef | [
"MIT"
] | null | null | null | const path = require("path");
const basicSchedule = require("./basicSchedule");
class Schedule{
constructor(){
this.serves = {};
this.basicPath = path.resolve("schedule");
}
/***
* @description 初始化定时任务
* @returns {boolean}
*/
async init(){
// 初始化定时任务路径
awa... | 29.307692 | 84 | 0.566929 |
2289a4f8bcd4c652e76ff43508f9bc036c45776c | 1,509 | js | JavaScript | components/TrendPlot.stories.js | jojomango/rumors-site | 16da740397ed3484eb9e1fceca43168cc1ece044 | [
"MIT"
] | 58 | 2017-08-11T15:31:02.000Z | 2021-12-11T07:04:20.000Z | components/TrendPlot.stories.js | jojomango/rumors-site | 16da740397ed3484eb9e1fceca43168cc1ece044 | [
"MIT"
] | 312 | 2017-04-04T16:24:39.000Z | 2022-03-08T23:05:06.000Z | components/TrendPlot.stories.js | jojomango/rumors-site | 16da740397ed3484eb9e1fceca43168cc1ece044 | [
"MIT"
] | 40 | 2017-05-01T02:52:18.000Z | 2021-12-11T03:12:25.000Z | import React from 'react';
import { startOfDay, eachDayOfInterval, subDays } from 'date-fns';
import TrendPlot from './TrendPlot';
export default {
title: 'TrendPlot',
component: 'TrendPlot',
};
const stats = [
null,
null,
{ webVisit: '2969', lineVisit: '29' },
{ webVisit: '14865', lineVisit: '84' },
{ we... | 25.576271 | 73 | 0.551359 |
2289ca1152f491e967e6fe1403adc285256b1d8f | 757 | js | JavaScript | frontend/webpack.config.dev.js | N140233/fb | ab1e8d898226cc72d386d6c4d72e3f096dba9839 | [
"MIT"
] | null | null | null | frontend/webpack.config.dev.js | N140233/fb | ab1e8d898226cc72d386d6c4d72e3f096dba9839 | [
"MIT"
] | 4 | 2021-10-06T19:32:47.000Z | 2022-02-27T03:30:44.000Z | frontend/webpack.config.dev.js | sprakas/fb | ab1e8d898226cc72d386d6c4d72e3f096dba9839 | [
"MIT"
] | 1 | 2020-08-14T20:22:56.000Z | 2020-08-14T20:22:56.000Z | const path = require('path');
const common = require('./webpack.common.js');
var webpack = require('webpack');
const merge = require('webpack-merge');
module.exports = merge(common,{
mode: 'development',
watch: true,
devtool: 'source-map',
devServer: {
contentBase: path.join(__dirname, 'public'),
histor... | 22.939394 | 53 | 0.597094 |
228d0245016febf1338a98bee2325825f1df139e | 3,777 | js | JavaScript | test/mocha/object.js | tanhauhau/terser | 4e3ca5db15d806bee66dc87877700b4f5b36310e | [
"BSD-2-Clause"
] | 3 | 2020-09-29T02:56:58.000Z | 2020-10-07T22:32:34.000Z | test/mocha/object.js | tanhauhau/terser | 4e3ca5db15d806bee66dc87877700b4f5b36310e | [
"BSD-2-Clause"
] | 2 | 2022-01-11T19:33:08.000Z | 2022-01-11T19:33:11.000Z | test/mocha/object.js | tanhauhau/terser | 4e3ca5db15d806bee66dc87877700b4f5b36310e | [
"BSD-2-Clause"
] | null | null | null | import assert from "assert";
import { minify } from "../../main.js";
import { parse } from "../../lib/parse.js";
describe("Object", function() {
it("Should allow objects to have a methodDefinition as property", async function() {
var code = "var a = {test() {return true;}}";
assert.equal((await min... | 31.475 | 104 | 0.391845 |
228dfd211dcdf5eac7a4073550b951b6287af821 | 3,264 | js | JavaScript | easytok/src/icons/Logo.js | junioridi/portfolio | f2ec28a0ab2a6d547385da07fa4679febbffb8e4 | [
"MIT"
] | 1 | 2022-01-03T09:45:14.000Z | 2022-01-03T09:45:14.000Z | easytok/src/icons/Logo.js | junioridi/portfolio | f2ec28a0ab2a6d547385da07fa4679febbffb8e4 | [
"MIT"
] | null | null | null | easytok/src/icons/Logo.js | junioridi/portfolio | f2ec28a0ab2a6d547385da07fa4679febbffb8e4 | [
"MIT"
] | null | null | null | import * as React from "react"
import Svg, { Circle, Path, G } from "react-native-svg"
function LogoBak(props) {
return (
<Svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" {...props}>
<Circle cx={256} cy={256} r={256} fill="#268596" />
<Path
d="M272.372 511.464C406.126 503.018 5... | 44.108108 | 201 | 0.598958 |
228f97082f4029622553bc470b5b6f594db19d46 | 583 | js | JavaScript | docs/backups/buy-odd-yucca-gui/src/js/shop.js | jesperancinha/buy-odd-yucca-concert | 59f829448d9401a06b7b2028f4a410d66ee34fe1 | [
"Apache-2.0"
] | 1 | 2020-09-05T14:40:57.000Z | 2020-09-05T14:40:57.000Z | docs/backups/buy-odd-yucca-gui/src/js/shop.js | jesperancinha/buy-odd-react | 27df737a1017e4f91515ba4b096c8d5b2a0f495a | [
"Apache-2.0"
] | 5 | 2021-12-16T09:40:03.000Z | 2022-03-10T13:32:19.000Z | docs/backups/buy-odd-yucca-gui/src/js/shop.js | jesperancinha/buy-odd-yucca-concert | 59f829448d9401a06b7b2028f4a410d66ee34fe1 | [
"Apache-2.0"
] | null | null | null | import React from 'react';
import ReactDom from 'react-dom';
import ShopButtons from './components/ShopButtons';
import ProductComponent from './components/ProductComponent';
import Shop from './components/Shop';
import '../css/main.shop.styles.css';
const shopapp = document.getElementById('shop-app');
const shopbut... | 34.294118 | 74 | 0.782161 |
228fe0ae8aed6e766f9665fa2632846c18a90fef | 1,238 | js | JavaScript | middleware/validation/smsValidator.js | megame24/sms_management | 264c4273a228786bb04c428ad264b21599ae9596 | [
"MIT"
] | null | null | null | middleware/validation/smsValidator.js | megame24/sms_management | 264c4273a228786bb04c428ad264b21599ae9596 | [
"MIT"
] | null | null | null | middleware/validation/smsValidator.js | megame24/sms_management | 264c4273a228786bb04c428ad264b21599ae9596 | [
"MIT"
] | null | null | null | const { Contact } = require('../../database/models');
const { throwError } = require('../../helpers/errorHelper');
/**
* SmsValidator constructor
* @returns {undefined}
*/
function SmsValidator() {}
/**
* Validate sending sms
* @param {Object} req request object
* @param {Object} res response object
* @param {... | 33.459459 | 94 | 0.668013 |
2290675bbfbc13d9014ba67decb36c6585baa54b | 2,019 | js | JavaScript | src/components/customers/ducks/operations.js | owlvey/owlvey_ui | b6d586422729ccac548c1e7f15273b4eb4009e84 | [
"Apache-2.0"
] | null | null | null | src/components/customers/ducks/operations.js | owlvey/owlvey_ui | b6d586422729ccac548c1e7f15273b4eb4009e84 | [
"Apache-2.0"
] | 2 | 2019-06-22T04:56:56.000Z | 2019-06-23T02:34:22.000Z | src/components/customers/ducks/operations.js | owlvey/owlvey_ui | b6d586422729ccac548c1e7f15273b4eb4009e84 | [
"Apache-2.0"
] | null | null | null | import request from "helper/request";
import { entityActions } from "ducks";
const getCustomers = () => {
return (dispatch, getState) => {
const { apiUrl } = getState().conf;
dispatch(entityActions.getCollectionStart("customer"));
return request
.get(`${apiUrl}/customers`)
.then(customers => ... | 28.43662 | 80 | 0.604755 |
229316e711dc72b43ff670d59603ee98c73ef946 | 392 | js | JavaScript | app/actions/index.js | syoun0620/Hangman-for-Education | bf7ba2e07a6480e1cdf8a1013f7a3e30b2383591 | [
"MIT"
] | null | null | null | app/actions/index.js | syoun0620/Hangman-for-Education | bf7ba2e07a6480e1cdf8a1013f7a3e30b2383591 | [
"MIT"
] | null | null | null | app/actions/index.js | syoun0620/Hangman-for-Education | bf7ba2e07a6480e1cdf8a1013f7a3e30b2383591 | [
"MIT"
] | null | null | null | // Action Creators
export function serveBadGuess(inputLetter) {
return {
type: 'BAD_GUESS',
letter: inputLetter
};
}
export function serveGoodGuess(inputLetter) {
return {
type: 'GOOD_GUESS',
letter: inputLetter
};
}
export function serveNewGame(inputLanguage) {
retu... | 18.666667 | 45 | 0.617347 |
2293449f809cf2d673b8d8d7258d30b1a1329245 | 1,679 | js | JavaScript | test/topology.js | mikolalysenko/refine-mesh | 683433b66a71524645597080c559e9221fab73dd | [
"MIT"
] | 79 | 2015-10-18T09:45:58.000Z | 2022-03-01T05:15:49.000Z | test/topology.js | Erkaman/refine-mesh | 683433b66a71524645597080c559e9221fab73dd | [
"MIT"
] | 2 | 2016-10-14T18:40:19.000Z | 2016-10-14T20:58:18.000Z | test/topology.js | Erkaman/refine-mesh | 683433b66a71524645597080c559e9221fab73dd | [
"MIT"
] | 14 | 2015-10-20T15:34:11.000Z | 2022-03-24T09:38:20.000Z | 'use strict'
var tape = require('tape')
var indexTopology = require('../lib/topology')
tape('topology', function(t) {
var cells = [
0, 1, 2,
1, 2, 3,
2, 3, 4,
1, 0, 5,
0, 2, 6
]
var valence = new Array(7)
var corners = new Array(cells.length)
indexTopology(5, cells, corners, 7, valen... | 21.525641 | 88 | 0.580107 |
2293d0262e3eede9ec6b38f5ad24cbefc7b98d37 | 636 | js | JavaScript | modules/insights/server/routes/insights.server.routes.js | sarvesh123/04082015 | 562394ae5d90f5685515cc920158f405de4f6296 | [
"MIT"
] | null | null | null | modules/insights/server/routes/insights.server.routes.js | sarvesh123/04082015 | 562394ae5d90f5685515cc920158f405de4f6296 | [
"MIT"
] | null | null | null | modules/insights/server/routes/insights.server.routes.js | sarvesh123/04082015 | 562394ae5d90f5685515cc920158f405de4f6296 | [
"MIT"
] | null | null | null | 'use strict';
/**
* Module dependencies.
*/
var insightsPolicy = require('../policies/insights.server.policy'),
insights = require('../controllers/insights.server.controller');
module.exports = function (app) {
// Insights collection routes
app.route('/api/insights').all(insightsPolicy.isAllowed)
.get(ins... | 26.5 | 69 | 0.709119 |
2293e2d6aeb88adef2db758dbde0128c937957d0 | 1,790 | js | JavaScript | src/components/icons/redux.js | DanPete/portfolio | a06b0e2b89d4a2967017828fe7badc9f0acc013b | [
"MIT"
] | null | null | null | src/components/icons/redux.js | DanPete/portfolio | a06b0e2b89d4a2967017828fe7badc9f0acc013b | [
"MIT"
] | 5 | 2021-05-27T13:30:33.000Z | 2022-02-27T14:41:42.000Z | src/components/icons/redux.js | DanPete/portfolio | a06b0e2b89d4a2967017828fe7badc9f0acc013b | [
"MIT"
] | null | null | null | import React from 'react';
const IconRedux = () => (
// <!-- Generated by IcoMoon.io -->
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">
<title>redux</title>
<path fill="#764abc" d="M22.177 22.005c1.159-0.1 2.057-1.12 1.999-2.339-0.061-1.219-1.060-2.197-2.277-2... | 149.166667 | 1,533 | 0.66257 |
22942ca87e475b6a6232c419efcbfc046dbcad9b | 683 | js | JavaScript | src/components/lists/EnterItem.js | ibalaji777/togle | 40e68a40ecdd5b9dec99dbed0865612fb0e2fce8 | [
"Unlicense",
"MIT"
] | null | null | null | src/components/lists/EnterItem.js | ibalaji777/togle | 40e68a40ecdd5b9dec99dbed0865612fb0e2fce8 | [
"Unlicense",
"MIT"
] | 2 | 2021-05-08T23:37:33.000Z | 2022-03-15T20:20:44.000Z | src/components/lists/EnterItem.js | ibalaji777/iot-thinger-io | 992dc87d6919499599022315b81e80a244766c30 | [
"Unlicense",
"MIT"
] | null | null | null | //@flow
import React from "react";
import ItemList from "./ItemList";
import Icon from "react-native-vector-icons/FontAwesome";
import { FONT_SIZE_P } from "../../constants/ThingerStyles";
import { DARK_BLUE } from "../../constants/ThingerColors";
type Props = {
name: string,
onPress: () => any
};
export default... | 22.032258 | 63 | 0.579795 |
2294c3019fb2dcda049fb9454dd8982ba33d11c6 | 1,600 | js | JavaScript | app/modules/processes/designer/designer.filter.js | SmartEnergyPlatform/web-ui | 8f95cfcf5746fb1dabc1fb6691b33fcf78cabf9d | [
"Apache-2.0"
] | null | null | null | app/modules/processes/designer/designer.filter.js | SmartEnergyPlatform/web-ui | 8f95cfcf5746fb1dabc1fb6691b33fcf78cabf9d | [
"Apache-2.0"
] | null | null | null | app/modules/processes/designer/designer.filter.js | SmartEnergyPlatform/web-ui | 8f95cfcf5746fb1dabc1fb6691b33fcf78cabf9d | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2018 InfAI (CC SES)
*
* 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 applica... | 32 | 89 | 0.590625 |
22954847d2e9fb2fa3f5f4cad11a1497fa615036 | 540 | js | JavaScript | src/test/addSourceWizard/addSourceWizard/sslFormLabel.test.js | lpichler/sources-ui | b83c33f91dc9533aff973dcac1fa578282a067f6 | [
"Apache-2.0"
] | 1 | 2022-03-29T11:00:32.000Z | 2022-03-29T11:00:32.000Z | src/test/addSourceWizard/addSourceWizard/sslFormLabel.test.js | lpichler/sources-ui | b83c33f91dc9533aff973dcac1fa578282a067f6 | [
"Apache-2.0"
] | 517 | 2019-11-18T11:28:45.000Z | 2022-03-29T10:09:56.000Z | src/test/addSourceWizard/addSourceWizard/sslFormLabel.test.js | Hyperkid123/sources-ui | 15d9512416fea66c169330cb6c9f029c515f92bf | [
"Apache-2.0"
] | 22 | 2019-11-17T15:23:35.000Z | 2022-03-24T15:22:31.000Z | import React from 'react';
import { Popover } from '@patternfly/react-core';
import QuestionCircleIcon from '@patternfly/react-icons/dist/esm/icons/question-circle-icon';
import SSLFormLabel from '../../../components/addSourceWizard/SSLFormLabel';
import mount from '../__mocks__/mount';
describe('SSLFormLabel', () ... | 31.764706 | 93 | 0.712963 |
2296562c5b3d8ad273ee694b68dc526f21e1b2ee | 723 | js | JavaScript | docs/html/struct_microsoft_1_1_mixed_reality_1_1_toolkit_1_1_open_v_r_1_1_headers_1_1_hmd_quaternion__t.js | interaction-lab/MoveToCode | 6649f0adbe0f4cf280052616f3d98c9ca9ba9f94 | [
"MIT"
] | 1 | 2021-11-30T06:05:40.000Z | 2021-11-30T06:05:40.000Z | docs/html/struct_microsoft_1_1_mixed_reality_1_1_toolkit_1_1_open_v_r_1_1_headers_1_1_hmd_quaternion__t.js | interaction-lab/MoveToCode | 6649f0adbe0f4cf280052616f3d98c9ca9ba9f94 | [
"MIT"
] | 61 | 2020-07-01T22:39:27.000Z | 2022-02-08T17:34:52.000Z | docs/html/struct_microsoft_1_1_mixed_reality_1_1_toolkit_1_1_open_v_r_1_1_headers_1_1_hmd_quaternion__t.js | interaction-lab/MoveToCode | 6649f0adbe0f4cf280052616f3d98c9ca9ba9f94 | [
"MIT"
] | 1 | 2020-07-01T20:56:03.000Z | 2020-07-01T20:56:03.000Z | var struct_microsoft_1_1_mixed_reality_1_1_toolkit_1_1_open_v_r_1_1_headers_1_1_hmd_quaternion__t =
[
[ "w", "struct_microsoft_1_1_mixed_reality_1_1_toolkit_1_1_open_v_r_1_1_headers_1_1_hmd_quaternion__t.html#adff5dd698894f1ed5998e737a58c8a09", null ],
[ "x", "struct_microsoft_1_1_mixed_reality_1_1_toolkit_1_1_... | 103.285714 | 154 | 0.879668 |
22983cadbb48ba60ea0ef289450be718f974d73d | 1,684 | js | JavaScript | utils/dateFormat.js | TheBryan-Acosta/Social-Network | ed85e7ac4291f2446ffc19b520cd5a6d05fff321 | [
"Unlicense"
] | null | null | null | utils/dateFormat.js | TheBryan-Acosta/Social-Network | ed85e7ac4291f2446ffc19b520cd5a6d05fff321 | [
"Unlicense"
] | null | null | null | utils/dateFormat.js | TheBryan-Acosta/Social-Network | ed85e7ac4291f2446ffc19b520cd5a6d05fff321 | [
"Unlicense"
] | null | null | null | const addDateSuffix = (date) => {
let dateString = date.toString();
const endCharacter = dateString.charAt(dateString.length - 1);
if (endCharacter === "1" && dateString !== "11") {
dateString = `${dateString}st`;
} else if (endCharacter === "2" && dateString !== "12") {
dateString = `${dateString}nd`;
} els... | 17.541667 | 83 | 0.558195 |
22993f27d1b839806240e638df997a76fdea039d | 45,203 | js | JavaScript | PROJEKTEK/Arveresek/dist/js/teszt.js | gaborsarkozi/Admin---Teszt- | 58bacbac1e4f2ca1c744580bef00bf1ec9c9b24e | [
"MIT"
] | null | null | null | PROJEKTEK/Arveresek/dist/js/teszt.js | gaborsarkozi/Admin---Teszt- | 58bacbac1e4f2ca1c744580bef00bf1ec9c9b24e | [
"MIT"
] | null | null | null | PROJEKTEK/Arveresek/dist/js/teszt.js | gaborsarkozi/Admin---Teszt- | 58bacbac1e4f2ca1c744580bef00bf1ec9c9b24e | [
"MIT"
] | 1 | 2021-09-12T17:49:21.000Z | 2021-09-12T17:49:21.000Z | function runSAPSearch(qob, target) {
target.html("");
$.getJSON("json_getSerachResults", qob, function(data) {
page = data[0];
$(page).appendTo(target);
})
.fail(function() {
$('#overlay').fadeOut();
$("#searchresults").html( "Hiba történt az adatok le... | 61.333786 | 2,226 | 0.536911 |
2299c65a835e10a4223bb64d168ec9591e9ff645 | 1,297 | js | JavaScript | src/components/hahoo/ToastAlert/ToastAlert.js | hahoocn/hahoo-admin | 782b63432d49324a645fa8f89e29934964c76d54 | [
"MIT"
] | 1 | 2016-07-29T16:25:56.000Z | 2016-07-29T16:25:56.000Z | src/components/hahoo/ToastAlert/ToastAlert.js | hahoocn/hahoo-admin | 782b63432d49324a645fa8f89e29934964c76d54 | [
"MIT"
] | null | null | null | src/components/hahoo/ToastAlert/ToastAlert.js | hahoocn/hahoo-admin | 782b63432d49324a645fa8f89e29934964c76d54 | [
"MIT"
] | null | null | null | import React from 'react';
import styles from './ToastAlert.css';
class ToastAlert extends React.Component {
static propTypes = {
info: React.PropTypes.string.isRequired,
isAutoClose: React.PropTypes.bool,
isBlock: React.PropTypes.bool,
onClose: React.PropTypes.func,
closeSpeed: React.PropTypes.... | 20.265625 | 89 | 0.606014 |
229b4abb9d6110dfb793fe2d30fc5600e5d87294 | 1,468 | js | JavaScript | src/app/views/User.js | tnandwani/disco-music | 7c7d3cce7b657cc51dc78e6e34eb99d0454f5d9e | [
"MIT"
] | null | null | null | src/app/views/User.js | tnandwani/disco-music | 7c7d3cce7b657cc51dc78e6e34eb99d0454f5d9e | [
"MIT"
] | null | null | null | src/app/views/User.js | tnandwani/disco-music | 7c7d3cce7b657cc51dc78e6e34eb99d0454f5d9e | [
"MIT"
] | null | null | null | import React from "react";
import PropTypes from 'prop-types';
import { browserHistory } from "react-router";
import { UserBlock } from "./components/blocks/UserBlock";
export class User extends React.Component {
constructor(props) {
super(props);
}
render() {
return (
... | 24.065574 | 105 | 0.433924 |
229bc27ab42a36d8f43c19acd6411122c71e67f6 | 1,116 | js | JavaScript | mobile-web-apps/07/js/index/script.js | bb-87/wifi-jwe21 | 1fcfe1acd0a2751f1b49b58ad8c17cbd24dc9782 | [
"MIT"
] | null | null | null | mobile-web-apps/07/js/index/script.js | bb-87/wifi-jwe21 | 1fcfe1acd0a2751f1b49b58ad8c17cbd24dc9782 | [
"MIT"
] | null | null | null | mobile-web-apps/07/js/index/script.js | bb-87/wifi-jwe21 | 1fcfe1acd0a2751f1b49b58ad8c17cbd24dc9782 | [
"MIT"
] | null | null | null | function getFilms(event) {
// fetch: https://ghibliapi.herokuapp.com/films
fetch('https://ghibliapi.herokuapp.com/films')
.then(function(response) {
if (response.ok) {
return response.json();
} else {
throw new Error('API error');
}
... | 31.885714 | 76 | 0.485663 |
229cfeceb007b9ccc72e0e8a78b010484d1e1aba | 183 | js | JavaScript | sample/app/app.js | al-pez/dynamic-table | 06d2f5bab7556ba50f5efb092db48e6e8c55151d | [
"MIT"
] | 3 | 2017-05-09T07:00:03.000Z | 2018-04-16T11:26:52.000Z | sample/app/app.js | al-pez/dynamic-table | 06d2f5bab7556ba50f5efb092db48e6e8c55151d | [
"MIT"
] | 1 | 2021-02-23T09:03:56.000Z | 2021-02-23T09:03:56.000Z | sample/app/app.js | al-pez/dynamic-table | 06d2f5bab7556ba50f5efb092db48e6e8c55151d | [
"MIT"
] | 2 | 2017-05-17T06:40:46.000Z | 2018-05-30T11:05:23.000Z | (function(){
'use strict';
angular.module('alpez.sample',['ui.bootstrap','ui.bootstrap.tpls','alpez.dynamictable']).config(AppConfig);
function AppConfig(){
}
})(); | 20.333333 | 111 | 0.63388 |
221a22072298968b5d38e7b4ee808d23fbe90486 | 1,927 | js | JavaScript | src/reducers/kegData.js | Alexx/tap-room | 8252a6120767c1a6733bc1f14ab0409d0dcb25e1 | [
"Unlicense"
] | null | null | null | src/reducers/kegData.js | Alexx/tap-room | 8252a6120767c1a6733bc1f14ab0409d0dcb25e1 | [
"Unlicense"
] | 7 | 2020-09-07T04:17:17.000Z | 2022-02-26T17:25:40.000Z | src/reducers/kegData.js | Alexx/tap-room | 8252a6120767c1a6733bc1f14ab0409d0dcb25e1 | [
"Unlicense"
] | null | null | null | import newKeg from './newKeg';
const kegData = [
{
id: 1,
name: 'Hyper Bomb',
brand: 'Galax',
price: 3.99,
alcoholContent: 7,
inventory: 75
},
{
id: 2,
name: 'Tracks',
brand: 'Green Woods',
price: 3.79,
alcoholContent: 6,
inventory: 103
},
{
id: 3,
name... | 19.865979 | 126 | 0.529839 |
221a4f5fec0a352704802eec22211e4bcc47eb92 | 1,757 | js | JavaScript | server/controllers/company.controller.js | Ripley6811/TAIMAU-CHARTS | 420156fb821cc3fd8f5b0502d5d4e4860da427bb | [
"MIT"
] | 1 | 2021-08-30T07:02:34.000Z | 2021-08-30T07:02:34.000Z | server/controllers/company.controller.js | maksympogonets/React-D3-Chart | e5406b8df7b6815c59c28b5e0e4d84e29bf34c5f | [
"MIT"
] | null | null | null | server/controllers/company.controller.js | maksympogonets/React-D3-Chart | e5406b8df7b6815c59c28b5e0e4d84e29bf34c5f | [
"MIT"
] | null | null | null | /**
* Uses Mongoose Models for db operations.
*/
import Company from '../models/company.model'
import { Router } from 'express'
import * as utils from '../../shared/utils/utils'
const router = new Router()
// host:port/api/companies
/**
* RETRIEVE LIST OF COMPANY (abbr) NAMES
* 'distinct' returns a list of a sp... | 21.691358 | 74 | 0.546955 |
221b772809d6c09d881d34306db73790d5590542 | 5,944 | js | JavaScript | src/components/StudentView.js | karoldavid/one-one-app | 4e96b72893a2c12bafe7b16d8f6d955c55c35130 | [
"MIT"
] | null | null | null | src/components/StudentView.js | karoldavid/one-one-app | 4e96b72893a2c12bafe7b16d8f6d955c55c35130 | [
"MIT"
] | null | null | null | src/components/StudentView.js | karoldavid/one-one-app | 4e96b72893a2c12bafe7b16d8f6d955c55c35130 | [
"MIT"
] | null | null | null | import React, { Component } from "react";
import { connect } from "react-redux";
import {
Dimensions,
Image,
Text,
View,
Animated,
PanResponder
} from "react-native";
import {
deleteStudent,
deselectStudent,
selectStudent,
studentAppointmentsNumber
} from "../actions";
import styles from "../utils/styles";
im... | 22.262172 | 78 | 0.622645 |
221bb86bdecb3da2e453a4bc05460a21766a4b3d | 113 | js | JavaScript | bower_components/geomicons-open/src/home.js | ranchodeluxemedia/laineywilson | 4ec16bed58e28d1602b68ed486ea2393d02e1f24 | [
"WTFPL"
] | 346 | 2015-01-05T13:37:34.000Z | 2021-11-12T11:29:22.000Z | bower_components/geomicons-open/src/home.js | ranchodeluxemedia/laineywilson | 4ec16bed58e28d1602b68ed486ea2393d02e1f24 | [
"WTFPL"
] | 26 | 2015-03-26T17:22:24.000Z | 2019-07-04T04:30:54.000Z | bower_components/geomicons-open/src/home.js | ranchodeluxemedia/laineywilson | 4ec16bed58e28d1602b68ed486ea2393d02e1f24 | [
"WTFPL"
] | 35 | 2015-01-22T18:54:24.000Z | 2022-01-27T14:07:09.000Z |
module.exports = [
'M16 0 L32 16 L28 16 L28 30 L20 30 L20 20 L12 20 L12 30 L4 30 L4 16 L0 16 Z'
].join(' ');
| 18.833333 | 78 | 0.610619 |
221be451e1828cdf1b84b651fb99de5e9c39f397 | 914 | js | JavaScript | src/ui/map-ui.js | cuza22/javascript-subway-map-precourse | 67f4bca9e50230bf2082a4b19f9207bbf55aa94b | [
"MIT"
] | null | null | null | src/ui/map-ui.js | cuza22/javascript-subway-map-precourse | 67f4bca9e50230bf2082a4b19f9207bbf55aa94b | [
"MIT"
] | null | null | null | src/ui/map-ui.js | cuza22/javascript-subway-map-precourse | 67f4bca9e50230bf2082a4b19f9207bbf55aa94b | [
"MIT"
] | null | null | null | import {getList} from '../util/storageAccess.js';
import {LINE, TEMPLATE} from '../constants.js';
import {clearHTML} from './init-ui.js';
export function createMap() {
clearHTML(TEMPLATE.MAP);
const map = document.createElement('div');
map.className = 'map';
const lineList = getList(LINE.LISTNAME);
for (le... | 26.114286 | 50 | 0.693654 |
221d02bbaefcbc76e115eb0435b84e491cea43a6 | 994 | js | JavaScript | client/src/icons/Upload.js | jsmunsch/Boardhero | 117e3c1d1f00fdd2004703d1bb86709820115bba | [
"MIT"
] | 12 | 2019-10-09T07:22:43.000Z | 2019-12-04T10:49:21.000Z | client/src/icons/Upload.js | jsmunsch/Boardhero | 117e3c1d1f00fdd2004703d1bb86709820115bba | [
"MIT"
] | 22 | 2019-10-08T09:06:48.000Z | 2022-02-26T19:26:48.000Z | client/src/icons/Upload.js | jsmunsch/Boardhero | 117e3c1d1f00fdd2004703d1bb86709820115bba | [
"MIT"
] | null | null | null | import React from "react";
import styled from "styled-components";
function UploadIcon({ className }) {
return (
<svg
xmlns="http://www.w3.org/2000/svg"
width="24"
height="24"
viewBox="0 0 24 24"
className={className}
>
<path fill="none" d="M0 0h24v24H0V0z" />
<path ... | 33.133333 | 378 | 0.627767 |
221dae9bf59a28dbdb573605778069258172df95 | 646 | js | JavaScript | dist-remix/remix/System/thumb-up-fill.js | maciejg-git/vue-bootstrap-icons | bc60cf77193e15cc72ec7eb7f9949ed8b552e7ec | [
"MIT",
"CC-BY-4.0",
"MIT-0"
] | null | null | null | dist-remix/remix/System/thumb-up-fill.js | maciejg-git/vue-bootstrap-icons | bc60cf77193e15cc72ec7eb7f9949ed8b552e7ec | [
"MIT",
"CC-BY-4.0",
"MIT-0"
] | null | null | null | dist-remix/remix/System/thumb-up-fill.js | maciejg-git/vue-bootstrap-icons | bc60cf77193e15cc72ec7eb7f9949ed8b552e7ec | [
"MIT",
"CC-BY-4.0",
"MIT-0"
] | null | null | null | import { h } from 'vue'
export default {
name: "ThumbUpFill",
vendor: "Rx",
type: "",
tags: ["thumb","up","fill"],
render() {
return h(
"svg",
{"xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 24 24","class":"v-icon","fill":"currentColor","data-name":"rx-thumb-up-fill","innerHTML":" <g> ... | 49.692308 | 471 | 0.568111 |
222051ca933a24b3f65b2c3e3eee1c6076cf25a3 | 800 | js | JavaScript | js/index.js | AAASTRIDLIN/Touch-Colour-Questionnaire | 3b50985d3251cf189b6d6051baaab85f33b2fe58 | [
"MIT"
] | null | null | null | js/index.js | AAASTRIDLIN/Touch-Colour-Questionnaire | 3b50985d3251cf189b6d6051baaab85f33b2fe58 | [
"MIT"
] | null | null | null | js/index.js | AAASTRIDLIN/Touch-Colour-Questionnaire | 3b50985d3251cf189b6d6051baaab85f33b2fe58 | [
"MIT"
] | 1 | 2021-05-18T08:18:34.000Z | 2021-05-18T08:18:34.000Z | $(document).ready(function ($) {
var fbOptions = {
dataType: 'json'
};
var formBuilder = $('.build-wrap').formBuilder(fbOptions);
$("#btn_view").click(function () {
var formData = formBuilder.data('formBuilder').save();
var frOptions = {
dataType: 'json',
... | 26.666667 | 122 | 0.50875 |
2220a0de9147ad52ea5f70340519e37b41e9e2d0 | 224 | js | JavaScript | public/components/funkit/lib/ops/lt.js | elovalo/webide | 131644c3246cd2d6572f1834c401a96bdb580901 | [
"MIT"
] | 1 | 2018-02-13T21:10:46.000Z | 2018-02-13T21:10:46.000Z | public/components/funkit/lib/ops/lt.js | elovalo/webide | 131644c3246cd2d6572f1834c401a96bdb580901 | [
"MIT"
] | null | null | null | public/components/funkit/lib/ops/lt.js | elovalo/webide | 131644c3246cd2d6572f1834c401a96bdb580901 | [
"MIT"
] | null | null | null | define(['annotate', 'is-js'], function(annotate, is) {
function lt(a, b) {
return a > b;
}
return annotate('lt', 'Less than')
.on(is.number, is.number, lt)
.on(is.number, is.fn, lt);
});
| 22.4 | 54 | 0.517857 |
2220d7f4ce1951772c17e64af37b067fd831e996 | 28,699 | js | JavaScript | src/static/hatividade.js | ronaldomg/Valim_EFS_REDIS | 67ce6769fccffef1455cbb616ab3a02e30e034b2 | [
"Unlicense"
] | null | null | null | src/static/hatividade.js | ronaldomg/Valim_EFS_REDIS | 67ce6769fccffef1455cbb616ab3a02e30e034b2 | [
"Unlicense"
] | null | null | null | src/static/hatividade.js | ronaldomg/Valim_EFS_REDIS | 67ce6769fccffef1455cbb616ab3a02e30e034b2 | [
"Unlicense"
] | null | null | null | /**@preserve GeneXus Java 10_3_12-110051 on February 11, 2021 17:33:43.8
*
gx.evt.autoSkip=!1;gx.define("hatividade",!1,function(){var n,t;this.ServerClass="hatividade";this.PackageName="";this.setObjectType("web");this.setOnAjaxSessionTimeout("Warn");this.hasEnterEvent=!1;this.skipOnEnter=!1;this.addKeyListener("7","... | 9,566.333333 | 28,623 | 0.772884 |
2221599a4248fe11ecf7daaff716492deaadd0fa | 440 | js | JavaScript | server/models/cinema-model.js | onely6721/multiplex_clone | f10764d68a168480216e368141da0479957a1ec2 | [
"MIT"
] | 4 | 2021-12-19T11:35:29.000Z | 2021-12-28T18:00:35.000Z | server/models/cinema-model.js | onely6721/multiplex_clone | f10764d68a168480216e368141da0479957a1ec2 | [
"MIT"
] | null | null | null | server/models/cinema-model.js | onely6721/multiplex_clone | f10764d68a168480216e368141da0479957a1ec2 | [
"MIT"
] | null | null | null | const {Schema, model, Types} = require('mongoose');
const CinemaSchema = new Schema({
name: {
type: String,
required: true
},
address: {
type: String,
required: true
},
city: {
type: String,
required: true,
enum: ["Chernihiv", "Kiev", "Lviv", ... | 18.333333 | 64 | 0.518182 |
2224608bbdd9fb349fdc63e1756462ebe026512f | 141 | js | JavaScript | src/config.js | Kchymet/hello-frontend | 2bf50f19959c7b89e66ddb7af96f882d461d1870 | [
"Unlicense"
] | null | null | null | src/config.js | Kchymet/hello-frontend | 2bf50f19959c7b89e66ddb7af96f882d461d1870 | [
"Unlicense"
] | null | null | null | src/config.js | Kchymet/hello-frontend | 2bf50f19959c7b89e66ddb7af96f882d461d1870 | [
"Unlicense"
] | null | null | null |
module.exports = {
backendHost: process.env.BACKEND_HOST,
backendPort: process.env.BACKEND_PORT,
port: process.env.LOCAL_PORT
}; | 23.5 | 42 | 0.730496 |
222589b85cf256d3b94fc6570fb6f9fbe1c84396 | 1,317 | js | JavaScript | src/random/random.js | davide97g/utils | ad5c588378f082bbaf10751061884d2cbfdfd69f | [
"MIT"
] | null | null | null | src/random/random.js | davide97g/utils | ad5c588378f082bbaf10751061884d2cbfdfd69f | [
"MIT"
] | null | null | null | src/random/random.js | davide97g/utils | ad5c588378f082bbaf10751061884d2cbfdfd69f | [
"MIT"
] | null | null | null | /**
* @name randf
* @description
* Generate a random float between `a` and `b` (`b` excluded)
* @param {Number} a lower bound value
* @param {Number} b upper bound value
*/
function randf(a, b) {
return Math.random() * (b - a) + a;
}
/**
* @name randi
* @description
* Generate a random integer between `a` a... | 23.105263 | 83 | 0.627183 |
22277ad66a934dc0f11f76f68e731075dd46eebb | 5,805 | js | JavaScript | src/Projects.js | santiaago/gh-srw | 5a508e946067a943964569745c0e244d1a75a375 | [
"MIT"
] | null | null | null | src/Projects.js | santiaago/gh-srw | 5a508e946067a943964569745c0e244d1a75a375 | [
"MIT"
] | null | null | null | src/Projects.js | santiaago/gh-srw | 5a508e946067a943964569745c0e244d1a75a375 | [
"MIT"
] | null | null | null | import React, { useContext, useState } from "react"
import UserContext from "./UserContext"
import { Loading, Error } from "./Messages"
import useProjects from "./hooks/useProjects"
import useColumns from "./hooks/useColumns"
import useCards from "./hooks/useCards"
import useCardInfo from "./hooks/useCardInfo"
import ... | 26.03139 | 78 | 0.578122 |
2229652e31f3e1df2e6f9337a520ebf8a45eadb4 | 972 | js | JavaScript | web/src/App.js | keeperSpot/shop | 3943b724a83ec44d36f5a0dad19e8f9b57923548 | [
"Unlicense"
] | 1 | 2021-09-28T06:07:34.000Z | 2021-09-28T06:07:34.000Z | web/src/App.js | keeperSpot/shop | 3943b724a83ec44d36f5a0dad19e8f9b57923548 | [
"Unlicense"
] | null | null | null | web/src/App.js | keeperSpot/shop | 3943b724a83ec44d36f5a0dad19e8f9b57923548 | [
"Unlicense"
] | null | null | null | import React from 'react';
import './App.css';
import { Provider } from 'react-redux';
import storage from 'localforage';
import { PersistGate } from 'redux-persist/integration/react';
import { getStore } from 'common/reducers';
import { Initial } from 'components/Initial';
import { getStorage } from 'common/storage... | 24.3 | 71 | 0.685185 |
222982de35827462e6579784f74471b57626f6b4 | 891 | js | JavaScript | resources/assets/lib/tinymce/plugins/math/config.js | dcat-admin-ext/tinymce-mathjax | 3544c4b14fd7945a0319b77907ade19582280f92 | [
"MIT"
] | null | null | null | resources/assets/lib/tinymce/plugins/math/config.js | dcat-admin-ext/tinymce-mathjax | 3544c4b14fd7945a0319b77907ade19582280f92 | [
"MIT"
] | null | null | null | resources/assets/lib/tinymce/plugins/math/config.js | dcat-admin-ext/tinymce-mathjax | 3544c4b14fd7945a0319b77907ade19582280f92 | [
"MIT"
] | null | null | null | let className = 'math-tex';
if (document.currentScript) {
let urlParts = document.currentScript.getAttribute('src').split('?');
if (urlParts[1]) {
let queryParams = urlParts[1].split('&');
for (let i = 0; i < queryParams.length; i++) {
let param = queryParams[i].split('=');
if (param[0] === 'cla... | 26.205882 | 71 | 0.523008 |
222a0c6ba7da60fbbad153bb78168c85eb0a5f18 | 431 | js | JavaScript | Algorithms/selectionSort.js | qiuhuachuan/Data-Structures-and-Algorithms-in-JavaScript | 16320dbc793eda17336d4ad383330ee8a2130b9c | [
"MIT"
] | null | null | null | Algorithms/selectionSort.js | qiuhuachuan/Data-Structures-and-Algorithms-in-JavaScript | 16320dbc793eda17336d4ad383330ee8a2130b9c | [
"MIT"
] | null | null | null | Algorithms/selectionSort.js | qiuhuachuan/Data-Structures-and-Algorithms-in-JavaScript | 16320dbc793eda17336d4ad383330ee8a2130b9c | [
"MIT"
] | null | null | null | /**
*
* @param {Array} array
*/
function selectionSort(array) {
for (let i = 0; i < array.length - 1; i++) {
let minValue = array[i];
let minIndex = i;
for (let j = i + 1; j < array.length; j++) {
if (minValue > array[j]) {
minValue = array[j];
minIndex = j;
}
}
if (... | 19.590909 | 64 | 0.4942 |
222c3ecc2fded142e32a2de987e30067129254e3 | 13,954 | js | JavaScript | js/algorithms.js | ermel272/convex-hull-animations | 029a25b878e9a839dc0278a1f48f5c9809aaf518 | [
"MIT"
] | 1 | 2020-05-23T08:10:43.000Z | 2020-05-23T08:10:43.000Z | js/algorithms.js | ermel272/convex-hull-animations | 029a25b878e9a839dc0278a1f48f5c9809aaf518 | [
"MIT"
] | null | null | null | js/algorithms.js | ermel272/convex-hull-animations | 029a25b878e9a839dc0278a1f48f5c9809aaf518 | [
"MIT"
] | null | null | null | var refEdgeColor = "rgba(0, 0, 255, 0.5)"
var checkEdgeColor = "rgba(255, 0, 0, 0.5)"
var hullEdgeColor = "rgba(0, 255, 0, 0.5)"
var edges = []
/**
* Removes all edges from the canvas
*/
function clearHull(two) {
if (edges.length == 0) { return }
for (var i in edges) {
two.remove(edges[i])
}
}... | 32.679157 | 109 | 0.484306 |
222da30595bc0a85f860d79757dd6dc31a2c47e0 | 580 | js | JavaScript | src/pages/404.js | AimHigher-Web-Design/techtrails-toolkit | 74f52e2e690c71796a11f6114a016cf3b478e33b | [
"MIT"
] | null | null | null | src/pages/404.js | AimHigher-Web-Design/techtrails-toolkit | 74f52e2e690c71796a11f6114a016cf3b478e33b | [
"MIT"
] | 1 | 2020-04-06T05:14:27.000Z | 2020-04-06T05:14:27.000Z | src/pages/404.js | AimHigher-Web-Design/techtrails-toolkit | 74f52e2e690c71796a11f6114a016cf3b478e33b | [
"MIT"
] | 1 | 2020-05-20T08:42:44.000Z | 2020-05-20T08:42:44.000Z | import React, { Fragment } from 'react'
import { graphql, Link } from 'gatsby'
import Layout from '../components/layout'
// import NotFound from '../img/fourohfour.svg'
export default class FourOhFour extends React.Component {
render() {
return (
<Layout>
<h1>Page Not Found</h1>
<div className="error-40... | 24.166667 | 81 | 0.625862 |
222f5e2435999142471e45d62cbb3911de925b48 | 3,979 | js | JavaScript | src/app/shared/services/examTerm.service.js | matejklemen/sis-frontend | 681bea4888631864ea58250cbbc4ce5314a07e9c | [
"Apache-2.0"
] | 1 | 2018-06-10T18:57:33.000Z | 2018-06-10T18:57:33.000Z | src/app/shared/services/examTerm.service.js | matejklemen/sis-frontend | 681bea4888631864ea58250cbbc4ce5314a07e9c | [
"Apache-2.0"
] | null | null | null | src/app/shared/services/examTerm.service.js | matejklemen/sis-frontend | 681bea4888631864ea58250cbbc4ce5314a07e9c | [
"Apache-2.0"
] | null | null | null | (function() {
var examTermService = function($http) {
var sendExamTerm = function(body) {
return $http.put(apiBaseRoute + '/api/course-exam-term', body);
};
var updateExamTerm = function(body) {
return $http.post(apiBaseRoute + '/api/course-exam-term', body);
};
var getExamTermById ... | 38.631068 | 214 | 0.662227 |
22312be255364dc4bd251053c18d51a5363b4e80 | 1,621 | js | JavaScript | src/components/NavLink/index.js | MilosMladenovicWork/cubical-website | aeb9f36ff97e5f3ed43bb8afa21521b2409178ef | [
"MIT"
] | null | null | null | src/components/NavLink/index.js | MilosMladenovicWork/cubical-website | aeb9f36ff97e5f3ed43bb8afa21521b2409178ef | [
"MIT"
] | null | null | null | src/components/NavLink/index.js | MilosMladenovicWork/cubical-website | aeb9f36ff97e5f3ed43bb8afa21521b2409178ef | [
"MIT"
] | null | null | null | import React from 'react'
import {Link} from 'gatsby'
import {useSelector} from 'react-redux'
import styles from './nav-link.module.scss'
import RoofSVG from '../RoofSVG'
const NavLink = ({link, subLinks, deactivated, onClick}) => {
let pageOffset = useSelector(state => state.scrollFromTop)
let backgro... | 30.584906 | 139 | 0.415793 |
2231bfcd9c0175f32f4c1517ee9b26153b9dfcda | 296 | js | JavaScript | Doc/html/class_in_control_1_1_device_binding_source_listener.js | aFranchon/FrancoisSauce | 8d1933508a2cfb01dcfeb1307b273c30fe16d1fc | [
"MIT"
] | 4 | 2020-09-03T13:39:51.000Z | 2022-02-07T18:53:47.000Z | Doc/html/class_in_control_1_1_device_binding_source_listener.js | aFranchon/FrancoisSauce | 8d1933508a2cfb01dcfeb1307b273c30fe16d1fc | [
"MIT"
] | 24 | 2020-08-05T19:19:46.000Z | 2020-09-03T22:33:12.000Z | Doc/html/class_in_control_1_1_device_binding_source_listener.js | aFranchon/FrancoisSauce | 8d1933508a2cfb01dcfeb1307b273c30fe16d1fc | [
"MIT"
] | null | null | null | var class_in_control_1_1_device_binding_source_listener =
[
[ "Listen", "class_in_control_1_1_device_binding_source_listener.html#ab44b002b56c4a20d153b661d75766477", null ],
[ "Reset", "class_in_control_1_1_device_binding_source_listener.html#aaf5d2029b7dcabb26379b0d816b09954", null ]
]; | 59.2 | 117 | 0.841216 |
2231f5d819c742eabcc81ba0710cb2a112c62e2b | 381 | js | JavaScript | test/unit/errorTransformer.spec.js | lessworkjs/framework | 397c784d8d1c60e737f2501b62c5235ca7f6f6ac | [
"MIT"
] | 3 | 2019-03-25T21:46:13.000Z | 2019-07-05T13:45:07.000Z | test/unit/errorTransformer.spec.js | lessworkjs/framework | 397c784d8d1c60e737f2501b62c5235ca7f6f6ac | [
"MIT"
] | 5 | 2018-03-28T20:30:05.000Z | 2019-04-09T01:00:50.000Z | test/unit/errorTransformer.spec.js | lessworkjs/framework | 397c784d8d1c60e737f2501b62c5235ca7f6f6ac | [
"MIT"
] | 1 | 2018-03-28T20:29:04.000Z | 2018-03-28T20:29:04.000Z | const test = require('japa')
const path = require('path')
require('../../lib/env')
test.group('ErrorTransformer', (group) => {
test('shoud set, get, and check locale', (assert) => {
const ErrorTransformer = require('../../src/Transformers/ErrorTransformer');
ErrorTransformer.transform({
error: 'error... | 21.166667 | 80 | 0.611549 |
223218dad43d54d3d0b0857b3bc9ab46066718bb | 1,082 | js | JavaScript | React/components/src/index.js | Mickey0001/JavaScript-Playground | 0b77b7e50fe4ff4168dc75d2bdb1b8e2698bca7c | [
"MIT"
] | 1 | 2018-07-25T13:21:57.000Z | 2018-07-25T13:21:57.000Z | React/components/src/index.js | Mickey0001/jQueryPractice | 0b77b7e50fe4ff4168dc75d2bdb1b8e2698bca7c | [
"MIT"
] | null | null | null | React/components/src/index.js | Mickey0001/jQueryPractice | 0b77b7e50fe4ff4168dc75d2bdb1b8e2698bca7c | [
"MIT"
] | 1 | 2018-10-09T14:02:27.000Z | 2018-10-09T14:02:27.000Z | import React from 'react';
import ReactDOM from 'react-dom';
import faker from 'faker';
import CommentDetail from './CommentDetail';
import ApprovalCard from './ApprovalCard';
import './App.css';
const App = () =>
{
return (
<div className="ui container comments">
<ApprovalCard>
<CommentDetail
... | 25.761905 | 57 | 0.536044 |
22327ac951fcd7e7cc7de28d5f5355aa97ac6a96 | 698 | js | JavaScript | src/server/db/seeds/dist_seed.js | AlFalahTaieb/PostgreKoaMocha | b69a070cf668c1827447c6d2bb1448b31c7d9b8e | [
"MIT"
] | null | null | null | src/server/db/seeds/dist_seed.js | AlFalahTaieb/PostgreKoaMocha | b69a070cf668c1827447c6d2bb1448b31c7d9b8e | [
"MIT"
] | null | null | null | src/server/db/seeds/dist_seed.js | AlFalahTaieb/PostgreKoaMocha | b69a070cf668c1827447c6d2bb1448b31c7d9b8e | [
"MIT"
] | null | null | null |
exports.seed = (knex, Promise) => {
// Deletes ALL existing entries
return knex('dist').del()
.then(() => {
// Inserts seed entries
return knex('dist').insert(
{
name: 'Ubuntu',
basedOn: 'Debian',
rating: 7.3,
explicit: false
}
)
}).... | 19.942857 | 35 | 0.41404 |
22330957b4c69ae24b438abb61fa6a6554826e88 | 343 | js | JavaScript | doc/html/search/all_65.js | arturocepeda/Modus | 849c9ada0e8bf7803db6e1b5c6098ab5898bc430 | [
"MIT"
] | 2 | 2015-04-08T21:03:09.000Z | 2016-03-20T17:46:31.000Z | doc/html/search/all_65.js | arturocepeda/Modus | 849c9ada0e8bf7803db6e1b5c6098ab5898bc430 | [
"MIT"
] | null | null | null | doc/html/search/all_65.js | arturocepeda/Modus | 849c9ada0e8bf7803db6e1b5c6098ab5898bc430 | [
"MIT"
] | 2 | 2015-08-18T08:59:07.000Z | 2021-04-02T23:03:48.000Z | var searchData=
[
['equal',['equal',['../class_m_c_chords.html#a173247a7ced9d4777e1cd3bacf87dda9',1,'MCChords::equal()'],['../class_m_c_scales.html#a560a68951cb6bf3fca48f30fef7130ed',1,'MCScales::equal()']]],
['extractnoteentries',['extractNoteEntries',['../class_m_c_note_maps.html#af516f6304c125cce30fbb7fa3614e3f3... | 57.166667 | 192 | 0.758017 |
223459aef45706766a081543568184c0054cfe83 | 2,774 | js | JavaScript | src/fonteditor/editor.js | chengmuni66/fonteditor | 639a84caa0e19fc03271e82abe8fa48e3e902d5c | [
"MIT"
] | 2 | 2017-09-05T22:10:30.000Z | 2021-02-13T06:44:36.000Z | src/fonteditor/editor.js | chengmuni66/fonteditor | 639a84caa0e19fc03271e82abe8fa48e3e902d5c | [
"MIT"
] | 11 | 2017-09-27T16:26:22.000Z | 2017-11-06T01:59:53.000Z | src/fonteditor/editor.js | fontmoa/fonteditor | fddc986c64474e23bd549a39c702d13bb148acbf | [
"MIT"
] | 1 | 2019-11-06T08:38:56.000Z | 2019-11-06T08:38:56.000Z | /**
* @file 编辑器导出接口,用于编辑字形相关的矢量图形
* @author mengke01(kekee000@gmail.com)
*/
define(function (require) {
var editor = require('../editor/main');
var options = require('../editor/options');
var commandList = require('../editor/menu/commandList');
// 用来做跨域通信的密钥
var EDITOR_KEY = require('../common/... | 28.597938 | 104 | 0.506128 |
22349f94f58a06183ba9c9d4af309bdb91430854 | 792 | js | JavaScript | src/__tests__/components/CreateExpensePage.test.js | dbeigi/react-budget-app | 64ab51401ed68770e88d8c378e469dfb4b42bbe9 | [
"MIT"
] | 7 | 2018-10-16T23:39:27.000Z | 2021-06-23T11:13:46.000Z | src/__tests__/components/CreateExpensePage.test.js | dbeigi/react-budget-app | 64ab51401ed68770e88d8c378e469dfb4b42bbe9 | [
"MIT"
] | 72 | 2020-11-06T07:22:12.000Z | 2021-07-30T07:41:22.000Z | src/__tests__/components/CreateExpensePage.test.js | dbeigi/react-budget-app | 64ab51401ed68770e88d8c378e469dfb4b42bbe9 | [
"MIT"
] | 13 | 2018-10-07T03:02:41.000Z | 2021-06-29T22:28:32.000Z | import React from 'react';
import { shallow } from 'enzyme';
import { CreateExpensePage } from '../../components/CreateExpensePage';
const expenses = [
{
id: '1',
description: 'Gum',
note: '',
amount: 195,
createdAt: 0
}];
let startAddExpense, history, wrapper;
beforeEach(() => {
startAddExp... | 26.4 | 95 | 0.674242 |
223570767dbcc7568c8917e6006f4e634b2b0e2c | 1,763 | js | JavaScript | src/renderer/directives/v-tooltip.js | Darkgit-tech/codepilot | 07c8ecc7ee45c0e9641b1712bc4322d0dbfdedd3 | [
"MIT"
] | 468 | 2018-10-31T20:31:58.000Z | 2022-03-31T00:07:52.000Z | src/renderer/directives/v-tooltip.js | Darkgit-tech/codepilot | 07c8ecc7ee45c0e9641b1712bc4322d0dbfdedd3 | [
"MIT"
] | 14 | 2018-12-05T00:56:14.000Z | 2022-03-25T19:23:02.000Z | src/renderer/directives/v-tooltip.js | Darkgit-tech/codepilot | 07c8ecc7ee45c0e9641b1712bc4322d0dbfdedd3 | [
"MIT"
] | 74 | 2018-11-01T19:20:03.000Z | 2022-03-08T13:17:37.000Z | import Vue from 'vue'
// https://github.com/Akryum/v-tooltip#usage
import VTooltip from 'v-tooltip'
// Add global styles for our tooltip
import style from './v-tooltip.scss'
Vue.use(VTooltip, {
// Default tooltip placement relative to target element
defaultPlacement: 'right',
// Default HTML template of the tool... | 36.729167 | 74 | 0.713556 |
2235a182decd87f7dc5b3c329c52964abf622ad1 | 857 | js | JavaScript | setPermissions.js | Aconka/BABOT | a7730f364e9f3be941d172638c23827377c8b39e | [
"WTFPL"
] | null | null | null | setPermissions.js | Aconka/BABOT | a7730f364e9f3be941d172638c23827377c8b39e | [
"WTFPL"
] | null | null | null | setPermissions.js | Aconka/BABOT | a7730f364e9f3be941d172638c23827377c8b39e | [
"WTFPL"
] | null | null | null | const { Client, Intents, Collection } = require('discord.js'); //discord module for interation with discord api
const Discord = require('discord.js'); //discord module for interation with discord api
var babadata = require('./babotdata.json'); //baba configuration file
const { setCommandRoles } = require('./helperFunc'... | 47.611111 | 143 | 0.740957 |
22394869648ca557effd04130f319a8aa377cbbf | 8,841 | js | JavaScript | tests/index.js | halojs/halo-parameter | 64c5abc26a3a288153215269d8cb98982d8caf17 | [
"MIT"
] | 1 | 2017-05-16T08:45:51.000Z | 2017-05-16T08:45:51.000Z | tests/index.js | halojs/halo-parameter | 64c5abc26a3a288153215269d8cb98982d8caf17 | [
"MIT"
] | null | null | null | tests/index.js | halojs/halo-parameter | 64c5abc26a3a288153215269d8cb98982d8caf17 | [
"MIT"
] | null | null | null | import fs from 'fs'
import koa from 'koa'
import test from 'ava'
import { join } from 'path'
import request from 'request'
import mount from 'koa-mount'
import parameter from '../src'
const req = request.defaults({
json: true,
baseUrl: 'http://localhost:3000'
})
function toBoolean(val) {
if (val === '') {... | 27.036697 | 101 | 0.48309 |
22394cb70aaa3755d6fa4b0f9bc21eed9fb5833d | 6,779 | js | JavaScript | plugin/vue/lazy.js | JMwill/exercise | 603cf257c7d088fd12196bb77cdb8d15e4369fcb | [
"MIT"
] | null | null | null | plugin/vue/lazy.js | JMwill/exercise | 603cf257c7d088fd12196bb77cdb8d15e4369fcb | [
"MIT"
] | null | null | null | plugin/vue/lazy.js | JMwill/exercise | 603cf257c7d088fd12196bb77cdb8d15e4369fcb | [
"MIT"
] | null | null | null | export default (Vue, Options = {}) => {
const DEFAULT_URL = 'data:img/jpg;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABA'
+ 'QMAAAAl21bKAAAAA1BMVEXs7Oxc9QatAAAACklEQVQI12NgAAAAAg'
+ 'AB4iG8MwAAAABJRU5ErkJggg==';
const Opt = Object.assign({}, {
loadPosRate: 1.2,
... | 31.826291 | 85 | 0.493583 |
2239c9c6a7cde355e6402a73968a3901fc77b266 | 295 | js | JavaScript | src/components/projects.js | CRivera19/GatsbyPortfolio | 490bf2551ee2da1ea60481f7d73a5c84e50ea8d3 | [
"MIT"
] | null | null | null | src/components/projects.js | CRivera19/GatsbyPortfolio | 490bf2551ee2da1ea60481f7d73a5c84e50ea8d3 | [
"MIT"
] | 7 | 2021-03-09T10:55:33.000Z | 2022-02-26T14:50:44.000Z | src/components/projects.js | CRivera19/GatsbyPortfolio | 490bf2551ee2da1ea60481f7d73a5c84e50ea8d3 | [
"MIT"
] | null | null | null | import React from "react";
const Projects = () => {
return (
<div id="projects">
<h2>Projects</h2>
<div id="project-list">
<div id="hamburger" className="card">
<h3>Hamburger Shop</h3>
</div>
</div>
</div>
);
};
export default Projects;
| 17.352941 | 45 | 0.522034 |
223a88c35012de7580853f0bfde75a05a39bd682 | 4,333 | js | JavaScript | index.js | jesusprubio/pown-dns | 01b3e1bdb9dc628752d9f483adf0ad08f1965e77 | [
"MIT"
] | null | null | null | index.js | jesusprubio/pown-dns | 01b3e1bdb9dc628752d9f483adf0ad08f1965e77 | [
"MIT"
] | null | null | null | index.js | jesusprubio/pown-dns | 01b3e1bdb9dc628752d9f483adf0ad08f1965e77 | [
"MIT"
] | null | null | null | /*
Copyright Jesús Pérez <jesusprubio@fsf.org>
Sergio García <s3rgio.gr@gmail.com>
This code may only be used under the MIT license found at
https://opensource.org/licenses/MIT.
*/
'use strict';
// To test:
// - https://digi.ninja/projects/zonetransferme.php
// - POWN_ROOT=./ pown dns -t zonetransf... | 26.420732 | 96 | 0.562889 |
223bd214694ad08055ff5bbd448186dfed43e1c6 | 910 | js | JavaScript | src/actions/SettingsActions.js | suchoudh/Introvert | c39447044604b3f51121489eba78c7e762618150 | [
"MIT"
] | 86 | 2020-03-27T15:22:47.000Z | 2021-11-17T02:28:17.000Z | src/actions/SettingsActions.js | suchoudh/Introvert | c39447044604b3f51121489eba78c7e762618150 | [
"MIT"
] | 7 | 2020-03-27T15:34:20.000Z | 2022-03-26T09:34:42.000Z | src/actions/SettingsActions.js | suchoudh/Introvert | c39447044604b3f51121489eba78c7e762618150 | [
"MIT"
] | 7 | 2020-03-27T15:51:46.000Z | 2020-03-29T06:06:30.000Z | // @flow
import { SettingsActionTypes } from '../constants';
import { saveHelper } from '../common/utils';
const SOUND_STATE_TAG = 'SOUND_STATE_TAG';
export function setSoundStatePref(soundOn: boolean) {
return (dispatch: Function) => {
// Save sound
saveHelper.saveFlag(SOUND_STATE_TAG, soundOn);
dispa... | 21.666667 | 62 | 0.664835 |
223bf44803b77b93de831b92839efc57d5a6bb73 | 358,643 | js | JavaScript | public/js/app.js | pikarin/laravel-inertia-vue-starter | 1c7e8003d7563e69cf0d27ebd49972f7413b63ba | [
"MIT"
] | null | null | null | public/js/app.js | pikarin/laravel-inertia-vue-starter | 1c7e8003d7563e69cf0d27ebd49972f7413b63ba | [
"MIT"
] | null | null | null | public/js/app.js | pikarin/laravel-inertia-vue-starter | 1c7e8003d7563e69cf0d27ebd49972f7413b63ba | [
"MIT"
] | null | null | null | /*! For license information please see app.js.LICENSE.txt */
(()=>{var e,t={9038:(e,t,n)=>{function r(e){return e&&"object"==typeof e&&"default"in e?e.default:e}var o=r(n(2307)),i=n(821),a=r(n(3465)),s=n(9680);function c(){return(c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(va... | 179,321.5 | 358,582 | 0.651818 |
223c59d62b50e473d648f514542be3484dcff107 | 838 | js | JavaScript | employee-directory/src/components/Table/table.js | vfavorito/react-employee-directory | ba9654c1e42d37527034ff0dd3ba993ec402279b | [
"MIT"
] | null | null | null | employee-directory/src/components/Table/table.js | vfavorito/react-employee-directory | ba9654c1e42d37527034ff0dd3ba993ec402279b | [
"MIT"
] | null | null | null | employee-directory/src/components/Table/table.js | vfavorito/react-employee-directory | ba9654c1e42d37527034ff0dd3ba993ec402279b | [
"MIT"
] | null | null | null | import React from "react";
function Table(props) {
return (
<table className="table">
<thead>
<tr className="tableHead">
<th>Portrait:</th>
<th>First Name:</th>
<th>Last Name:</th>
<th>Phone Number... | 27.933333 | 92 | 0.397375 |
223d23edf70d8c257c7afa0b8ed411a1889a57e2 | 4,983 | js | JavaScript | resources/js/menu.js | olayodepossible/myGlit_Project | 36e1e7ec28956362ac80ee1d197155d9d82e1ee3 | [
"MIT"
] | null | null | null | resources/js/menu.js | olayodepossible/myGlit_Project | 36e1e7ec28956362ac80ee1d197155d9d82e1ee3 | [
"MIT"
] | 3 | 2021-02-02T21:15:56.000Z | 2022-02-27T09:08:08.000Z | resources/js/menu.js | olayodepossible/myGlit_Project | 36e1e7ec28956362ac80ee1d197155d9d82e1ee3 | [
"MIT"
] | null | null | null | //set initial State of menu
let showMenu = false;
$(document).ready(function(){
/* Candidate Dashboard Begins */
$(".menu-btn").click(function(){
if (!showMenu) {
$('.menu-btn').addClass("close").css( "transform", "rotate(180deg)");
$(".btn-line:nth-of-type(1)").css("transform... | 36.639706 | 98 | 0.480233 |
223e713bbd27aef3ffe951540fcfa0bb87da4250 | 538 | js | JavaScript | _templates/tablelist/with-prompt/prompt.js | LingF/vue-admin-template | d3555f952c987dc648f15a479b3b2be486d6f232 | [
"MIT"
] | null | null | null | _templates/tablelist/with-prompt/prompt.js | LingF/vue-admin-template | d3555f952c987dc648f15a479b3b2be486d6f232 | [
"MIT"
] | null | null | null | _templates/tablelist/with-prompt/prompt.js | LingF/vue-admin-template | d3555f952c987dc648f15a479b3b2be486d6f232 | [
"MIT"
] | null | null | null | // see types of prompts:
// https://github.com/enquirer/enquirer/tree/master/examples
//
module.exports = [
{
type: 'input',
name: 'name',
message: "请输入你要增加的页面的模块名称(小驼峰命名: my-page)"
},
{
type: 'input',
name: 'path',
message: '请输入模块路径,路径会在 views/${path} 下创建 (例如:输入my/path 会创建 views/my/path/x... | 24.454545 | 125 | 0.592937 |
223ec5c1d950372d75cd7c24e58117992e21e37d | 607 | js | JavaScript | components/shared/ActivityIndex.js | roschaefer/democracy-desktop | a23535c9481a161d94126a7b5e3dc3f028b79ba5 | [
"Apache-2.0"
] | 52 | 2018-03-20T15:27:01.000Z | 2022-03-27T11:20:17.000Z | components/shared/ActivityIndex.js | roschaefer/democracy-desktop | a23535c9481a161d94126a7b5e3dc3f028b79ba5 | [
"Apache-2.0"
] | 108 | 2018-03-20T08:17:39.000Z | 2021-12-12T13:36:50.000Z | components/shared/ActivityIndex.js | roschaefer/democracy-desktop | a23535c9481a161d94126a7b5e3dc3f028b79ba5 | [
"Apache-2.0"
] | 11 | 2019-05-06T14:01:33.000Z | 2021-04-01T00:11:14.000Z | import styled from 'styled-components';
import IconComponent from 'Components/shared/Icon';
const Wrapper = styled.div`
font-size: 25px;
color: ${({ theme }) => theme.colors.inactive};
text-align: center;
padding: 0;
margin-top: -10px;
padding-left: ${({ theme }) => theme.space(2)}px;
`;
const Icon = sty... | 20.233333 | 52 | 0.635914 |
223f66bea5f8d6b2ccc9bff2b18c22055dba1230 | 412 | js | JavaScript | index.js | jmurilloariza/monicapp | 71b4b9a1e1206c0382c643a896e50ccfd8667b09 | [
"MIT"
] | null | null | null | index.js | jmurilloariza/monicapp | 71b4b9a1e1206c0382c643a896e50ccfd8667b09 | [
"MIT"
] | null | null | null | index.js | jmurilloariza/monicapp | 71b4b9a1e1206c0382c643a896e50ccfd8667b09 | [
"MIT"
] | null | null | null | 'use strict'
const app = require('./app')
const config = require('./config')
const http = require('./sockets/server')
const ip = require('ip');
app.listen(config.port_api, () => {
console.log(`SERVER OF API RUNNING IN http://${ip.address()}:${config.port_api}/`)
})
http.listen(config.port_socket, () => {
cons... | 22.888889 | 91 | 0.645631 |
2241540d98b2b8e76f2387235cec7c49e79a5921 | 1,365 | js | JavaScript | astromatch/src/actions/profiles.js | Meira-JH/AstroMatch | 1689bc071c96f8c1d76f0de75e9de5928fed9eda | [
"MIT"
] | null | null | null | astromatch/src/actions/profiles.js | Meira-JH/AstroMatch | 1689bc071c96f8c1d76f0de75e9de5928fed9eda | [
"MIT"
] | null | null | null | astromatch/src/actions/profiles.js | Meira-JH/AstroMatch | 1689bc071c96f8c1d76f0de75e9de5928fed9eda | [
"MIT"
] | null | null | null | import axios from 'axios'
// API ACTIONS
export const clearSwipes = () => async (dispatch) => {
await axios.put('https://us-central1-missao-newton.cloudfunctions.net/astroMatch/joao-meira/clear')
}
export const getProfileToSwipe = () => async (dispatch, getState) =>{
const response = await axios... | 25.277778 | 120 | 0.720147 |
2246a030ca55d9b0f02dcd21bd8c11ca2ee769ad | 733 | js | JavaScript | gulp/bundle/base.config.js | AlexanderSychev/frontend-boilerplate | 06811e96284bff9c57b64a29b3bf20aaddb6bd45 | [
"MIT"
] | null | null | null | gulp/bundle/base.config.js | AlexanderSychev/frontend-boilerplate | 06811e96284bff9c57b64a29b3bf20aaddb6bd45 | [
"MIT"
] | 14 | 2021-03-10T21:46:24.000Z | 2021-09-02T08:03:09.000Z | gulp/bundle/base.config.js | AlexanderSychev/frontend-boilerplate | 06811e96284bff9c57b64a29b3bf20aaddb6bd45 | [
"MIT"
] | null | null | null | 'use strict';
const TerserWebpackPlugin = require('terser-webpack-plugin');
const OptimizeCSSAssetsPlugin = require('optimize-css-assets-webpack-plugin');
const dirs = require('../../dirs');
const metadata = require('../metadata');
module.exports = {
mode: metadata.APP_ENV,
target: 'web',
optimization: {... | 23.645161 | 78 | 0.549795 |
22485e87aac78c4d8842773bcf1911ee947d7e45 | 273 | js | JavaScript | packages/vital-flowcontainer/tailwind.config.js | Asemirski/Bodiless-JS | e9dc1e55ed6f9d19dfa7d86375efd2b5ce5ca612 | [
"Apache-2.0"
] | null | null | null | packages/vital-flowcontainer/tailwind.config.js | Asemirski/Bodiless-JS | e9dc1e55ed6f9d19dfa7d86375efd2b5ce5ca612 | [
"Apache-2.0"
] | 1 | 2022-02-22T09:51:48.000Z | 2022-02-22T09:51:48.000Z | packages/vital-flowcontainer/tailwind.config.js | Asemirski/Bodiless-JS | e9dc1e55ed6f9d19dfa7d86375efd2b5ce5ca612 | [
"Apache-2.0"
] | null | null | null | import { getPackageTailwindConfig } from '@bodiless/fclasses';
const resolver = (pkgName) => require.resolve(pkgName);
const twConfig = {
content: [
'./lib/**/!(*.d).{ts,js,jsx,tsx}',
],
};
module.exports = getPackageTailwindConfig({
twConfig,
resolver,
});
| 18.2 | 62 | 0.652015 |
224970cf31ff6f5b2316293df1661a849d9305c4 | 500 | js | JavaScript | onlinejudge/360/2.js | ssydz/baseKnowledge | 2bc487e86a25eeb587227e87a84a27370ea1b7f1 | [
"MIT"
] | null | null | null | onlinejudge/360/2.js | ssydz/baseKnowledge | 2bc487e86a25eeb587227e87a84a27370ea1b7f1 | [
"MIT"
] | 3 | 2020-03-02T04:07:27.000Z | 2021-05-07T20:48:15.000Z | onlinejudge/360/2.js | ssydz/baseKnowledge | 2bc487e86a25eeb587227e87a84a27370ea1b7f1 | [
"MIT"
] | null | null | null | var n = readline();
for (var i = 0; i < n; i++) {
var nums = readline().split(' ');
var k = nums[0];
var l = nums[1];
var r = nums[2];
var count1 = 0;
var tmp = 0;
while (Math.floor(l / k)) {
count1++;
l = Math.floor(l / k);
}
tmp=Math.pow(k,++count1)-1;
if (tm... | 17.857143 | 44 | 0.398 |
224a4cbe34a9cefc0a914643cbfb267132b2c745 | 2,328 | js | JavaScript | models/session.js | arxitics/arxiv-analytics | df0fd8a10287ea12676da09b0675fe414f1f772b | [
"MIT"
] | 23 | 2015-01-07T05:55:21.000Z | 2022-01-20T11:55:59.000Z | models/session.js | ozlvk/arxiv-analytics | df0fd8a10287ea12676da09b0675fe414f1f772b | [
"MIT"
] | 1 | 2022-01-20T11:57:19.000Z | 2022-01-20T12:45:56.000Z | models/session.js | ozlvk/arxiv-analytics | df0fd8a10287ea12676da09b0675fe414f1f772b | [
"MIT"
] | 12 | 2015-04-13T02:11:03.000Z | 2021-11-05T12:38:34.000Z | /**
* Session management.
*/
var account = require('./account');
var settings = require('../settings').session;
// Track the user's view history
exports.track = function (sess, req) {
var views = sess.views || [];
var maxViews = settings.maxViews;
var path = req.path;
if (/^\/(articles|reviews|users)\/([\w\... | 29.1 | 74 | 0.606959 |
224a8e47bf9e8b8cdb01545b069b7b3199e4458c | 31,015 | js | JavaScript | vendors/cypress/MTB/psoc6/psoc6hal/docs/html/navtreeindex3.js | CarolinaAzcona/FreeRTOS | 912e08f9ed9c250b36aa22227bcf678d608b8bfd | [
"MIT"
] | 3 | 2020-09-06T15:46:14.000Z | 2021-06-03T13:36:03.000Z | docs/html/navtreeindex3.js | lizimu1711285081/psoc6hal | 72abdecad39f41b326a74f65591af09ce6aec224 | [
"Apache-2.0"
] | null | null | null | docs/html/navtreeindex3.js | lizimu1711285081/psoc6hal | 72abdecad39f41b326a74f65591af09ce6aec224 | [
"Apache-2.0"
] | 6 | 2020-04-06T19:01:21.000Z | 2021-02-25T15:49:49.000Z | var NAVTREEINDEX3 =
{
"group__group__hal__impl__opamp.html":[1,2,15],
"group__group__hal__impl__pdmpcm.html":[1,2,16],
"group__group__hal__impl__pin__package.html":[1,2,6],
"group__group__hal__impl__pin__package.html#gac30c50b470a38324d9a19057ac1eb0be":[1,2,6,19],
"group__group__hal__impl__pin__package__psoc6__01__104_... | 122.106299 | 159 | 0.892504 |
224af565da901a55270d42647fad7db2ea1af2dd | 2,242 | js | JavaScript | sleep-tracker/src/components/signup/SignupConfirm.js | buildweek-sleeptracker3/frontend | 10186d78004b63c730f5e43e7dfcea926e2fb4b1 | [
"MIT"
] | null | null | null | sleep-tracker/src/components/signup/SignupConfirm.js | buildweek-sleeptracker3/frontend | 10186d78004b63c730f5e43e7dfcea926e2fb4b1 | [
"MIT"
] | null | null | null | sleep-tracker/src/components/signup/SignupConfirm.js | buildweek-sleeptracker3/frontend | 10186d78004b63c730f5e43e7dfcea926e2fb4b1 | [
"MIT"
] | 1 | 2020-04-29T22:56:13.000Z | 2020-04-29T22:56:13.000Z | import React from 'react'
import {Link} from 'react-router-dom'
import styled from 'styled-components'
const Confirmation = styled.div`
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
width: 100vw;
height:100vh;
padding: 5px;
background-color: #12121... | 25.477273 | 95 | 0.4438 |
224bf349690bff6d568d6bc217b15e04b32c3f25 | 1,421 | js | JavaScript | index.js | AndreaGennaioli/Youtube-Playlist-Downloader | e29f506da9cd7f15a718a5ca94dc95122be7e412 | [
"MIT"
] | 6 | 2021-05-05T14:10:23.000Z | 2022-03-25T10:51:25.000Z | index.js | AndreaGennaioli/Youtube-Playlist-Downloader | e29f506da9cd7f15a718a5ca94dc95122be7e412 | [
"MIT"
] | null | null | null | index.js | AndreaGennaioli/Youtube-Playlist-Downloader | e29f506da9cd7f15a718a5ca94dc95122be7e412 | [
"MIT"
] | 3 | 2021-05-18T03:38:05.000Z | 2022-02-01T17:14:00.000Z | const config = require('./config.json');
const ytdl = require('ytdl-core');
const fs = require('fs');
const path = require('path');
const { google } = require('googleapis');
const youtube = google.youtube('v3');
const sleep = (ms) => {
return new Promise(resolve => setTimeout(resolve, ms))
}
let playlistID = config... | 29.604167 | 106 | 0.632653 |
224cd637af816a1e640bc012e935c742299fbbdd | 320 | js | JavaScript | models/UserDocumentCount.js | uk-gov-mirror/ukforeignoffice.loi-payment-service | 245043169a7832e4c11af2a4949b9d08161e50df | [
"MIT"
] | 1 | 2017-09-07T09:55:31.000Z | 2017-09-07T09:55:31.000Z | models/UserDocumentCount.js | uk-gov-mirror/ukforeignoffice.loi-payment-service | 245043169a7832e4c11af2a4949b9d08161e50df | [
"MIT"
] | 24 | 2016-11-11T09:48:44.000Z | 2022-02-17T14:19:03.000Z | models/UserDocumentCount.js | uk-gov-mirror/ukforeignoffice.loi-payment-service | 245043169a7832e4c11af2a4949b9d08161e50df | [
"MIT"
] | 2 | 2017-08-01T10:02:16.000Z | 2021-04-11T08:54:15.000Z |
module.exports = function(sequelize, DataTypes) {
return sequelize.define('UserDocumentCount', {
application_id:{
type: DataTypes.INTEGER
},
doc_count:{
type: DataTypes.INTEGER
},
price:{
type: DataTypes.INTEGER
}
});
};
| 15.238095 | 50 | 0.515625 |
224d089a31a490333d3147e813343a154a937fae | 5,843 | js | JavaScript | dist/bidders/bidder-95.js | webdeveloperpr/react-gpt-prebid-ads | fbbebe386cc86e6d23601f0d21ddc03d2e286048 | [
"MIT"
] | 14 | 2019-02-07T00:15:10.000Z | 2021-01-27T03:22:15.000Z | dist/bidders/bidder-95.js | webdeveloperpr/react-gpt-prebid-ads | fbbebe386cc86e6d23601f0d21ddc03d2e286048 | [
"MIT"
] | 4 | 2020-03-14T05:42:18.000Z | 2021-10-05T19:55:33.000Z | dist/bidders/bidder-95.js | webdeveloperpr/react-gpt-prebid-ads | fbbebe386cc86e6d23601f0d21ddc03d2e286048 | [
"MIT"
] | 4 | 2019-02-07T00:15:19.000Z | 2020-04-07T08:55:32.000Z | (window.webpackJsonpreact_ads=window.webpackJsonpreact_ads||[]).push([[95],{272:function(e,t,n){"use strict";n.r(t);var i=n(281),a=n(285),r=n(290),o=n(282),s=n(288),u=n(277);function c(){return(c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProp... | 5,843 | 5,843 | 0.73541 |
224d5b4c6f3392720d3301ee73c21bfcd4fd7ad1 | 181 | js | JavaScript | tests/dummy/app/pods/invoices/route.js | parablesoft/ember-invoicing | 90c60579c5c58dff9f57d2dc62e785ee29f3a14a | [
"MIT"
] | 1 | 2017-02-23T18:55:06.000Z | 2017-02-23T18:55:06.000Z | tests/dummy/app/pods/invoices/route.js | parablesoft/ember-invoicing | 90c60579c5c58dff9f57d2dc62e785ee29f3a14a | [
"MIT"
] | null | null | null | tests/dummy/app/pods/invoices/route.js | parablesoft/ember-invoicing | 90c60579c5c58dff9f57d2dc62e785ee29f3a14a | [
"MIT"
] | null | null | null | import Ember from "ember";
import InvoiceListRoute from "ember-invoicing/mixins/invoice-list-route";
const {RSVP,Route} = Ember;
export default Route.extend(InvoiceListRoute,{
});
| 25.857143 | 73 | 0.779006 |
224d77c3c24d4fab51b2b4de0aa3726f5a57615d | 81 | js | JavaScript | App/Config/index.dev.js | tientnvn/interview-exercise-react-native | 76d3063a756b67347a988eee1fd3e3ae0ea0e182 | [
"MIT"
] | null | null | null | App/Config/index.dev.js | tientnvn/interview-exercise-react-native | 76d3063a756b67347a988eee1fd3e3ae0ea0e182 | [
"MIT"
] | 4 | 2019-12-30T03:55:56.000Z | 2021-05-10T17:54:14.000Z | App/Config/index.staging.js | tientnvn/interview-exercise-react-native | 76d3063a756b67347a988eee1fd3e3ae0ea0e182 | [
"MIT"
] | null | null | null | export const Config = {
API_URL: 'https://randomuser.me/api/0.4/?randomapi',
}
| 20.25 | 54 | 0.679012 |
224da37d9eb063d6c3ac98c73853ad3e6b09208c | 1,639 | js | JavaScript | utils/typography.js | agoldenduck/agoldenduck.github.io | a2e0c0770f1aa13503fc35c043b19f4861171095 | [
"MIT"
] | null | null | null | utils/typography.js | agoldenduck/agoldenduck.github.io | a2e0c0770f1aa13503fc35c043b19f4861171095 | [
"MIT"
] | null | null | null | utils/typography.js | agoldenduck/agoldenduck.github.io | a2e0c0770f1aa13503fc35c043b19f4861171095 | [
"MIT"
] | null | null | null | import ReactDOM from 'react-dom/server';
import React from 'react';
import Typography from 'typography';
import { GoogleFont } from 'react-typography';
// import styles from '../pages/styles.css';
const options = {
googleFonts: [
{
name: 'Source Code Pro',
styles: [
'300',
'400',
... | 21.565789 | 61 | 0.575961 |
224dddeaf9a6dba74fcfbc8db946d72f649472c4 | 723 | js | JavaScript | lib/TwoToneLeakAdd.js | eugeneilyin/mdi-norm | e9ee50f99aafa1f4dd77ffbe8c06fbdc49ec58f4 | [
"MIT"
] | 3 | 2018-11-11T01:48:20.000Z | 2019-12-02T06:13:14.000Z | lib/TwoToneLeakAdd.js | eugeneilyin/mdi-norm | e9ee50f99aafa1f4dd77ffbe8c06fbdc49ec58f4 | [
"MIT"
] | 1 | 2019-02-21T05:59:35.000Z | 2019-02-21T21:57:57.000Z | lib/TwoToneLeakAdd.js | eugeneilyin/mdi-norm | e9ee50f99aafa1f4dd77ffbe8c06fbdc49ec58f4 | [
"MIT"
] | null | null | null | "use strict";
var _babelHelpers = require("./utils/babelHelpers.js");
exports.__esModule = true;
var _react = _babelHelpers.interopRequireDefault(require("react"));
var _Icon = require("./Icon");
var _fragments = require("./fragments");
var TwoToneLeakAdd =
/*#__PURE__*/
function TwoToneLeakAdd(props) {
return ... | 34.428571 | 264 | 0.699862 |
224ff2f5e20fc166de6c118ac404351a93033ae6 | 304 | js | JavaScript | test/browser/proxy.js | lachrist/aran-lite | 18ba75709bdf79c52e83400a8cff687bef77670f | [
"MIT"
] | null | null | null | test/browser/proxy.js | lachrist/aran-lite | 18ba75709bdf79c52e83400a8cff687bef77670f | [
"MIT"
] | null | null | null | test/browser/proxy.js | lachrist/aran-lite | 18ba75709bdf79c52e83400a8cff687bef77670f | [
"MIT"
] | null | null | null | const proxy = require("../../browser/proxy.js")("../analysis.js", {
"ca-home": "../../../otiluke/browser/ca-home"
});
proxy.on("request", require("../request-handler.js"));
proxy.on("error", (error, location, target) => {
console.log(error.message+" at "+location);
});
proxy.listen(process.argv[2]); | 38 | 67 | 0.625 |
22501128914017380942768869e87baa345ff8cb | 7,886 | js | JavaScript | src/App.js | hashmapinc/snowflake-healthcheck | b149f5f5b5b4f4579e88afde639f9dd422866dea | [
"Apache-2.0"
] | 2 | 2021-01-26T02:13:39.000Z | 2021-08-09T02:08:26.000Z | src/App.js | hashmapinc/snowflake-healthcheck | b149f5f5b5b4f4579e88afde639f9dd422866dea | [
"Apache-2.0"
] | 20 | 2020-10-19T15:39:44.000Z | 2021-11-01T14:17:43.000Z | src/App.js | hashmapinc/snowflake-healthcheck | b149f5f5b5b4f4579e88afde639f9dd422866dea | [
"Apache-2.0"
] | 2 | 2021-01-26T02:13:40.000Z | 2021-03-14T21:17:26.000Z | import React, { Component } from 'react';
import PageNavbar from './Components/PageNavbar.js';
import GraphTab from './Components/GraphTab.js';
//import HubspotFormNavbar from './Components/HubspotFormNavbar.js'
import Cookies from 'js-cookie';
//import HubspotForm from './Components/HubspotForm.js';
import * as Papa f... | 36.009132 | 123 | 0.665103 |
2250759e3091c876bd9f36500549d8aa43072a2d | 674 | js | JavaScript | routes/index.js | bartlomiej-zdrojewski/involve-backup | a953d8d14620674350980e3c8df9296f598f3a35 | [
"Apache-2.0"
] | null | null | null | routes/index.js | bartlomiej-zdrojewski/involve-backup | a953d8d14620674350980e3c8df9296f598f3a35 | [
"Apache-2.0"
] | null | null | null | routes/index.js | bartlomiej-zdrojewski/involve-backup | a953d8d14620674350980e3c8df9296f598f3a35 | [
"Apache-2.0"
] | null | null | null | const express = require('express'),
path = require('path');
const router = express.Router();
router.use((req, res, next) => {
res.data = res.data || {};
res.data.notifications = req.notifications;
next();
});
router.use('/user', require(path.join(__dirname, 'user')));
router.use('/project', require(... | 33.7 | 82 | 0.676558 |
2251598eb189d0b85055d4f3bd4bc6d172900927 | 7,901 | js | JavaScript | client/src/pages/CookiesPolicy.js | aleksandra-b-t/FightPandemics | 7ad430f2ede42e39c52ed111448121a4ae414cd2 | [
"MIT"
] | 135 | 2020-04-13T19:17:36.000Z | 2021-11-14T19:55:55.000Z | client/src/pages/CookiesPolicy.js | ddveloper/FightPandemics | 75946d86a8a6bf7cd11e8c93303fc0fff35058a4 | [
"MIT"
] | 2,102 | 2020-04-13T03:19:56.000Z | 2022-02-21T10:29:03.000Z | client/src/pages/CookiesPolicy.js | ddveloper/FightPandemics | 75946d86a8a6bf7cd11e8c93303fc0fff35058a4 | [
"MIT"
] | 205 | 2020-04-14T20:25:08.000Z | 2021-09-10T05:36:59.000Z | import React from "react";
import { Trans, useTranslation } from "react-i18next";
import {
PolicyContainer,
TextContainer,
} from "components/PolicyPages/PolicyContainer";
import { ListNoIndent } from "components/PolicyPages/ListStyles";
import { TermsLink } from "components/PolicyPages/TermsLink";
import { Date } ... | 46.751479 | 189 | 0.520314 |
22516a763fd767214479d6a61941e13f779284cb | 283 | js | JavaScript | app/assets/javascripts/multiplication/show.js | sad16/mltplctn | d35971846e0196d0c4b704b26dba6b0d7ee44f5e | [
"MIT"
] | null | null | null | app/assets/javascripts/multiplication/show.js | sad16/mltplctn | d35971846e0196d0c4b704b26dba6b0d7ee44f5e | [
"MIT"
] | null | null | null | app/assets/javascripts/multiplication/show.js | sad16/mltplctn | d35971846e0196d0c4b704b26dba6b0d7ee44f5e | [
"MIT"
] | null | null | null | if (~location.href.indexOf('multiplications')) {
document.addEventListener('DOMContentLoaded', multiplicationsReady);
}
function multiplicationsReady() {
var id = findElementById('multiplication_id').innerText;
subscribeToMultiplicationChannel(id);
callMultiplication(id);
} | 31.444444 | 70 | 0.791519 |
22521fa1cf2ae647913e0950499b23e00426f683 | 5,195 | js | JavaScript | app/scripts/object-animate-danish.js | charliekuldip/web-starter-kit | f4f43c2b7c02feef411c0b7fb109954eca0d5072 | [
"CC-BY-4.0"
] | null | null | null | app/scripts/object-animate-danish.js | charliekuldip/web-starter-kit | f4f43c2b7c02feef411c0b7fb109954eca0d5072 | [
"CC-BY-4.0"
] | null | null | null | app/scripts/object-animate-danish.js | charliekuldip/web-starter-kit | f4f43c2b7c02feef411c0b7fb109954eca0d5072 | [
"CC-BY-4.0"
] | null | null | null | // DOCUMENT READY
function prefixTransform(element, property) {
element.style.webkitTransform = property;
element.style.MozTransform = property;
element.style.msTransform = property;
element.style.OTransform = property;
element.style.transform = property;
}
(function() {
'use strict';
// WINDOW VARS
var windo... | 27.342105 | 169 | 0.672762 |
225237b92cc7e08df5f935ecc0818c5ee852f5d6 | 377 | js | JavaScript | client/src/game/movePlayer.js | JoscaWij/Spacey | 1b5fdf32504dad03cf0d24434cafb2d540b3bf44 | [
"MIT"
] | 26 | 2020-09-09T07:21:47.000Z | 2022-02-28T09:20:49.000Z | client/src/game/movePlayer.js | JoscaWij/Spacey | 1b5fdf32504dad03cf0d24434cafb2d540b3bf44 | [
"MIT"
] | 36 | 2020-09-04T14:08:00.000Z | 2022-02-27T09:56:40.000Z | client/src/game/movePlayer.js | JoscaWij/Spacey | 1b5fdf32504dad03cf0d24434cafb2d540b3bf44 | [
"MIT"
] | null | null | null | export default function movePlayer(keyCode, player) {
const offsetXExtent = 3;
const offsetYExtent = 16;
if (keyCode === "ArrowRight") {
player.offsetX += offsetXExtent;
}
if (keyCode === "ArrowLeft") {
player.offsetX -= offsetXExtent;
}
if (keyCode === "Space" && !player.jumping) {
player.of... | 23.5625 | 53 | 0.64191 |
225389d0ace7bf50f1cc8170a458e92c3c3a165f | 601 | js | JavaScript | dist/index.min.js | seognil/approx-fix | 33d9d3ec8514ba5a85e5a466fc7886a95c40714b | [
"MIT"
] | null | null | null | dist/index.min.js | seognil/approx-fix | 33d9d3ec8514ba5a85e5a466fc7886a95c40714b | [
"MIT"
] | 3 | 2021-05-07T14:15:10.000Z | 2021-09-01T06:15:52.000Z | dist/index.min.js | seognil/approx-fix | 33d9d3ec8514ba5a85e5a466fc7886a95c40714b | [
"MIT"
] | null | null | null | "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var fp=require("lodash/fp"),isEqualApprox=require("is-equal-approx"),approxFixNum=function(r){var p=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;if(0===r)return 0;p=Math.pow(10,p);var e=Math.round(r*p)/p;return isEqualApprox.isEqualApproxNu... | 200.333333 | 562 | 0.758735 |
2253e27ed0ece6c65f49d04d80ba78012f61138a | 113 | js | JavaScript | index.js | pelias/microservice-wrapper | 4e02b219e43c4d5da82e1294d830c8ddc33df090 | [
"MIT"
] | 3 | 2019-07-10T10:06:52.000Z | 2021-02-08T08:41:46.000Z | index.js | pelias/microservice-wrapper | 4e02b219e43c4d5da82e1294d830c8ddc33df090 | [
"MIT"
] | 15 | 2017-07-19T19:13:22.000Z | 2020-05-25T04:12:24.000Z | index.js | pelias/microservice-wrapper | 4e02b219e43c4d5da82e1294d830c8ddc33df090 | [
"MIT"
] | 1 | 2017-12-19T17:50:50.000Z | 2017-12-19T17:50:50.000Z | module.exports = {
service: require('./service'),
ServiceConfiguration: require('./ServiceConfiguration')
};
| 22.6 | 57 | 0.716814 |
225565e793e574404bf0590ffe26a8b7f5b3230c | 16,247 | js | JavaScript | lists/static/lists/itemActions.js | ChrisLydic/ContentTracker | ef9ec3d8d5e6049b6a9dc4f90f99042c8c137a32 | [
"MIT"
] | null | null | null | lists/static/lists/itemActions.js | ChrisLydic/ContentTracker | ef9ec3d8d5e6049b6a9dc4f90f99042c8c137a32 | [
"MIT"
] | null | null | null | lists/static/lists/itemActions.js | ChrisLydic/ContentTracker | ef9ec3d8d5e6049b6a9dc4f90f99042c8c137a32 | [
"MIT"
] | null | null | null | // ajax for item editing, deletion, and re-ordering
$( document ).ready( function() {
//
// set up ajax to use django's csrf cookies
// csrf cookie code is from https://docs.djangoproject.com/en/1.9/ref/csrf/
//
function getCookie( name ) {
var cookieValue = null;
if ( document.co... | 46.956647 | 91 | 0.392626 |
22580bc33c315e800683b6d44d7067af47f468ea | 322 | js | JavaScript | src/routes/NotFound/components/NotFoundView.js | eseakin/Lollipop-Bandana | 5de51c9640a1160d3208c22ea5b1bd13b27cb5c7 | [
"MIT"
] | null | null | null | src/routes/NotFound/components/NotFoundView.js | eseakin/Lollipop-Bandana | 5de51c9640a1160d3208c22ea5b1bd13b27cb5c7 | [
"MIT"
] | null | null | null | src/routes/NotFound/components/NotFoundView.js | eseakin/Lollipop-Bandana | 5de51c9640a1160d3208c22ea5b1bd13b27cb5c7 | [
"MIT"
] | null | null | null | import React from 'react';
import { Link } from 'react-router';
import './NotFoundView.scss';
class NotFoundView extends React.Component {
constructor(props) {
super(props);
}
render() {
return (
<div className=''>
<h2>Not Found</h2>
</div>
);
}
}
export default NotFoundView... | 14.636364 | 44 | 0.60559 |
2259844b268cf68ddb8aba06466a81fbaef405b2 | 828 | js | JavaScript | tests/bach.js | RedGoldBelt/jsb-js | 09508a8bec78be41d2f278417ed42798fec7de2f | [
"MIT"
] | 1 | 2021-11-24T23:01:48.000Z | 2021-11-24T23:01:48.000Z | tests/bach.js | RedGoldBelt/jsb-js | 09508a8bec78be41d2f278417ed42798fec7de2f | [
"MIT"
] | 1 | 2021-12-16T10:48:27.000Z | 2021-12-16T10:48:27.000Z | tests/bach.js | RedGoldBelt/jsb-js | 09508a8bec78be41d2f278417ed42798fec7de2f | [
"MIT"
] | null | null | null | import fs from 'fs';
fs.readFile('./tests/chorales.csv', 'utf-8', (e, data) => $.analyse(data));
const $ = {
analyse(data) {
this.previous = [];
const lines = data.split('\n');
for (const line of lines) {
const row = line.split(',');
if (line === '') {
... | 24.352941 | 75 | 0.371981 |
22598457ea4fa11c64038aabe8c96a5354ce9d87 | 724 | js | JavaScript | src/ui/Spinner/index.js | vtfk/component-library | d4359afaea7605a67224405e09797af3497de0ba | [
"MIT"
] | null | null | null | src/ui/Spinner/index.js | vtfk/component-library | d4359afaea7605a67224405e09797af3497de0ba | [
"MIT"
] | 318 | 2021-02-08T23:40:07.000Z | 2022-03-31T05:15:57.000Z | src/ui/Spinner/index.js | vtfk/component-library | d4359afaea7605a67224405e09797af3497de0ba | [
"MIT"
] | 2 | 2021-03-23T14:55:50.000Z | 2022-02-24T14:41:07.000Z | import React from 'react'
import PropTypes from 'prop-types'
import './styles.scss'
export function Spinner ({ size, transparent, className, ...props }) {
return (
<svg
className={`spinner ${size || ''} ${className || ''}`}
viewBox='0 0 50 50'
focusable='false'
title='Laster...'
ar... | 25.857143 | 85 | 0.571823 |
225a5103ea17a87679eb61d48d7a6ef7ef04fe98 | 725 | js | JavaScript | src/lib/isObject.js | poechiang/type-is | b9fc91c341a6d25d155fc9d67a77405cc7fdaa85 | [
"MIT"
] | 1 | 2020-08-30T21:46:56.000Z | 2020-08-30T21:46:56.000Z | src/lib/isObject.js | poechiang/type-is | b9fc91c341a6d25d155fc9d67a77405cc7fdaa85 | [
"MIT"
] | null | null | null | src/lib/isObject.js | poechiang/type-is | b9fc91c341a6d25d155fc9d67a77405cc7fdaa85 | [
"MIT"
] | null | null | null | import fnToStr from '../core/fnToStr';
import getTypeRegex from '../core/getTypeRegex';
import isEmpty from './isEmpty';
const { getPrototypeOf: protoOf } = Object;
const class2Type = {};
const { hasOwnProperty: ownProp } = class2Type;
const isObject = (value) => getTypeRegex('object').test(fnToStr.call(value));
i... | 24.166667 | 101 | 0.678621 |
225a80f873ca3425a0d2c52e76c901e2024792f8 | 1,837 | js | JavaScript | public/chat.js | crazycamaro/camaro.loc | db7b86df5cbb4468c398d260bf5576bc97924d46 | [
"MIT"
] | null | null | null | public/chat.js | crazycamaro/camaro.loc | db7b86df5cbb4468c398d260bf5576bc97924d46 | [
"MIT"
] | null | null | null | public/chat.js | crazycamaro/camaro.loc | db7b86df5cbb4468c398d260bf5576bc97924d46 | [
"MIT"
] | null | null | null | $(document).ready(function(){
// setInterval(function(){get_chat_messages();}, 1000);
$('#chat_message').keypress(function(e){
if(e.which==13)
{
$('#submit_message').click();
return false;
}
});
$('#submit_message').click(function(){
var chat_message_content = $('#chat... | 23.857143 | 101 | 0.42515 |
225c248c35584b21ada74c744807484394954893 | 801 | js | JavaScript | src/components/Styled.js | GhostxRipper/react-starter-kit | c2143bb1829ef373f8f5d12ae08014ca5cce5e9e | [
"MIT"
] | null | null | null | src/components/Styled.js | GhostxRipper/react-starter-kit | c2143bb1829ef373f8f5d12ae08014ca5cce5e9e | [
"MIT"
] | null | null | null | src/components/Styled.js | GhostxRipper/react-starter-kit | c2143bb1829ef373f8f5d12ae08014ca5cce5e9e | [
"MIT"
] | null | null | null | import styled from 'styled-components'
export const Input = styled.input`
display: block;
font-size: 1.25em;
padding: 0.5em;
margin: 0.5em auto;
background: white;
border: solid 1px lightgrey;
border-radius: 3px;
appearance: none;
outline: none;
&:hover, &:focus {
border-color: rgb(0, 128, 255... | 17.8 | 50 | 0.645443 |
225e62b503e98fd19173d51d23faa9b88d3df119 | 3,877 | js | JavaScript | node_modules/patternfly-webcomponents/dist/es2015/pf-utils/pf-utils.js | grayox/brass-beagle-07 | 80eff83f84a50622c28919ec75c30e90272e8c26 | [
"BSD-Source-Code"
] | null | null | null | node_modules/patternfly-webcomponents/dist/es2015/pf-utils/pf-utils.js | grayox/brass-beagle-07 | 80eff83f84a50622c28919ec75c30e90272e8c26 | [
"BSD-Source-Code"
] | null | null | null | node_modules/patternfly-webcomponents/dist/es2015/pf-utils/pf-utils.js | grayox/brass-beagle-07 | 80eff83f84a50622c28919ec75c30e90272e8c26 | [
"BSD-Source-Code"
] | null | null | null | 'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("va... | 32.855932 | 564 | 0.568997 |
225f92ffc4f5df7582f363f0900fb9892b975c82 | 10,143 | js | JavaScript | src/toolkit/J6.DevFw.WebResource/JS_Lib/ui.js | atnet/devfw | ffbae900dbb4c97e1603b5c0e8878899e9e2c667 | [
"MIT"
] | 13 | 2015-03-04T10:05:21.000Z | 2015-07-26T02:10:15.000Z | src/toolkit/J6.DevFw.WebResource/JS_Lib/ui.js | atnet/devfw | ffbae900dbb4c97e1603b5c0e8878899e9e2c667 | [
"MIT"
] | null | null | null | src/toolkit/J6.DevFw.WebResource/JS_Lib/ui.js | atnet/devfw | ffbae900dbb4c97e1603b5c0e8878899e9e2c667 | [
"MIT"
] | 11 | 2015-03-04T10:02:05.000Z | 2015-06-09T02:15:26.000Z |
/*
* 名称 : UI库
* 创建时间:2012-09-22
*/
/********* Tipbox (2013-06-01) ************/
jr.extend({
tipbox: {
id: 'ui-tipbox',
size: { x: 0, y: 0, bx: 0, by: 0 },
show: function (html,topOffset, timeout, dir,opacity) {
var div = document.getElementById(this.id);
if (div)... | 34.151515 | 159 | 0.406389 |
22622d71ff6d3451b38dcd86bbdf45253da8b2aa | 992 | js | JavaScript | images/components/TodoItem.js | DiGregorioC/digregorioc.github.io | 88f0570fe8694e7e44c0939cb68145ef4afca445 | [
"MIT"
] | null | null | null | images/components/TodoItem.js | DiGregorioC/digregorioc.github.io | 88f0570fe8694e7e44c0939cb68145ef4afca445 | [
"MIT"
] | 2 | 2020-07-17T19:16:03.000Z | 2021-05-10T02:22:51.000Z | images/components/TodoItem.js | DiGregorioC/digregorioc.github.io | 88f0570fe8694e7e44c0939cb68145ef4afca445 | [
"MIT"
] | null | null | null | import React from 'react';
import { StyleSheet, Text, Button, TouchableOpacity } from 'react-native';
export default class TodoItem extends React.Component {
constructor (props) {
super(props)
}
render () {
const todoItem = this.props.todoItem
return (
<TouchableOpacity
style={styles.todoI... | 22.545455 | 82 | 0.574597 |
22629a74be97262e366e2bf231a352ac46024200 | 63 | js | JavaScript | src/app/utils/paymentFee.js | anderfilth/payment-gateway-api | 3f9344fb0370cf880000bc797eaa5e20bf5c2291 | [
"MIT"
] | 1 | 2020-11-25T02:23:25.000Z | 2020-11-25T02:23:25.000Z | src/app/utils/paymentFee.js | anderfilth/payment-gateway-api | 3f9344fb0370cf880000bc797eaa5e20bf5c2291 | [
"MIT"
] | null | null | null | src/app/utils/paymentFee.js | anderfilth/payment-gateway-api | 3f9344fb0370cf880000bc797eaa5e20bf5c2291 | [
"MIT"
] | 2 | 2020-09-02T16:52:38.000Z | 2020-09-10T18:05:21.000Z | module.exports = {
debit_card: 0.03,
credit_card: 0.05,
};
| 12.6 | 20 | 0.634921 |
226344f0b83cbd555bf79fd07a7e2fb5e65221e4 | 4,859 | js | JavaScript | src/logging.js | bishwenduk029/vayu | 1a71e41df822303397449afa6588f159767dd3c8 | [
"MIT"
] | null | null | null | src/logging.js | bishwenduk029/vayu | 1a71e41df822303397449afa6588f159767dd3c8 | [
"MIT"
] | null | null | null | src/logging.js | bishwenduk029/vayu | 1a71e41df822303397449afa6588f159767dd3c8 | [
"MIT"
] | null | null | null | /**
* Returning ansi escape color codes
* Credit to: https://github.com/chalk/ansi-styles
*
* @type {Object}
*/
export const Style = {
/**
* Parse ansi code while making sure we can nest colors
*
* @param {string} text - The text to be enclosed with an ansi escape string
* @param {string} start - ... | 26.845304 | 160 | 0.48899 |
226397e83353e7e896f5c294c063ce5049350b81 | 1,116 | js | JavaScript | src/generator_map.js | leonardoEugenio/table-game | 33c78d95862cd8445af3107d0def663551e8e9f7 | [
"MIT"
] | 1 | 2020-03-08T05:30:00.000Z | 2020-03-08T05:30:00.000Z | src/generator_map.js | leonardoEugenio/table-game | 33c78d95862cd8445af3107d0def663551e8e9f7 | [
"MIT"
] | 1 | 2020-06-18T00:03:01.000Z | 2020-06-18T00:03:28.000Z | src/generator_map.js | leonardoEugenio/table-game | 33c78d95862cd8445af3107d0def663551e8e9f7 | [
"MIT"
] | null | null | null | var total_coluna = 0;
var total_linha = 0;
var mensagem = ''
function verifica_numero() {
total_coluna = $('#input_colunas').val()
total_linha = $('#input_linhas').val()
if (total_coluna > 70) {
mensagem += ' -/- O numero maximo de colunas é de 70'
}
if (total_linha > 40) {
mensagem... | 25.953488 | 69 | 0.439964 |