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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0c7f6b46d21aa9dad7501d688df9a48b6bfeff61 | 10,224 | js | JavaScript | test/unit/common/template-compiler.spec.js | mazur33k/aurelia-kendoui-bridge | 4d18c821f52e1d9dd840a33fb78791a8c70b2fa1 | [
"MIT"
] | 121 | 2016-01-22T21:03:07.000Z | 2021-12-24T15:02:41.000Z | test/unit/common/template-compiler.spec.js | mazur33k/aurelia-kendoui-bridge | 4d18c821f52e1d9dd840a33fb78791a8c70b2fa1 | [
"MIT"
] | 589 | 2016-01-22T19:12:28.000Z | 2021-08-31T14:28:29.000Z | test/unit/common/template-compiler.spec.js | mazur33k/aurelia-kendoui-bridge | 4d18c821f52e1d9dd840a33fb78791a8c70b2fa1 | [
"MIT"
] | 45 | 2016-01-28T23:29:30.000Z | 2020-10-21T15:11:35.000Z | import '../setup';
import {Container} from 'aurelia-dependency-injection';
import {TemplatingEngine} from 'aurelia-templating';
import {initialize} from 'aurelia-pal-browser';
import {DOM} from 'aurelia-pal';
import {TemplateCompiler} from 'src/common/template-compiler';
describe('TemplateCompiler', () => {
let cont... | 29.295129 | 117 | 0.618153 |
0c801d0ad8d9460c65f446e94ede00a837299d22 | 65 | js | JavaScript | modules/dom/Response.js | ndugger/std | 57e2cdab225ba10d13012394a329f2b2321dc363 | [
"MIT"
] | null | null | null | modules/dom/Response.js | ndugger/std | 57e2cdab225ba10d13012394a329f2b2321dc363 | [
"MIT"
] | null | null | null | modules/dom/Response.js | ndugger/std | 57e2cdab225ba10d13012394a329f2b2321dc363 | [
"MIT"
] | null | null | null | import global from '../global';
export default global.Response;
| 16.25 | 31 | 0.753846 |
0c817f7bec2222b01d3266aa14f6f02ac527bbb5 | 1,256 | js | JavaScript | assets/js/swap.js | devancakra/Bookshelf-Apps | 8447c102eaa91d8d31066d6e4a2ad9d260c1fd1a | [
"MIT"
] | 5 | 2021-05-17T12:08:26.000Z | 2022-01-17T11:20:41.000Z | assets/js/swap.js | devancakra/Bookshelf-Apps | 8447c102eaa91d8d31066d6e4a2ad9d260c1fd1a | [
"MIT"
] | null | null | null | assets/js/swap.js | devancakra/Bookshelf-Apps | 8447c102eaa91d8d31066d6e4a2ad9d260c1fd1a | [
"MIT"
] | 5 | 2021-06-11T08:08:07.000Z | 2022-03-13T01:17:15.000Z | function readedBook(id) {
let cfm = confirm("Pindahkan buku ke rak yang [SELESAI DIBACA] ?");
if (cfm == true) {
const bookDataDetail = getData().filter(a => a.id == id);
const newBook = {
id: bookDataDetail[0].id,
title: bookDataDetail[0].title,
author: book... | 29.209302 | 76 | 0.565287 |
0c817f9bcdd78585be1406b2760d0dda89e61118 | 1,380 | js | JavaScript | src/pages/blog.js | arhoy/theorderguys | 4f6fad59ca43b47facacbaf246712aef591cdfc2 | [
"MIT"
] | null | null | null | src/pages/blog.js | arhoy/theorderguys | 4f6fad59ca43b47facacbaf246712aef591cdfc2 | [
"MIT"
] | null | null | null | src/pages/blog.js | arhoy/theorderguys | 4f6fad59ca43b47facacbaf246712aef591cdfc2 | [
"MIT"
] | null | null | null | import React from 'react';
import { graphql } from 'gatsby';
import Layout from '../components/layouts/Layout';
import SEO from '../hooks/SEO';
import { Section0 } from '../components/_blogPage/Section0/_Section0';
import { Section1 } from '../components/_blogPage/Section1/_Section1';
export const query = graphql`
... | 24.210526 | 123 | 0.593478 |
0c83c7565fde17d785eddb3e289774fc91d5fa19 | 1,517 | js | JavaScript | src/index.js | IAIAE/shu.js | fac51700d051383e27eb99881014c75bfcca188c | [
"MIT"
] | null | null | null | src/index.js | IAIAE/shu.js | fac51700d051383e27eb99881014c75bfcca188c | [
"MIT"
] | null | null | null | src/index.js | IAIAE/shu.js | fac51700d051383e27eb99881014c75bfcca188c | [
"MIT"
] | null | null | null | // import fs from 'fs'
// import praan from 'praan'
// import walk from 'babylon-walker'
// import generate from 'babel-generator'
// import babylon from 'babylon'
// import {parserOption, generatorOption} from './option'
// import {readFile, writeFile, findMethod, findAllReturn} from './util/sugar'
// const findRender... | 30.34 | 221 | 0.680949 |
0c86544630963f653e1ec5ecfae06b440594a167 | 226 | js | JavaScript | ___Language___/JavaScript - ES6/Module/After ES6 - for Modern JS/1.1.js | JUD210/Study-Note | 2add9db3f11d99370f49878f0c19e9caa60d2d02 | [
"MIT"
] | null | null | null | ___Language___/JavaScript - ES6/Module/After ES6 - for Modern JS/1.1.js | JUD210/Study-Note | 2add9db3f11d99370f49878f0c19e9caa60d2d02 | [
"MIT"
] | null | null | null | ___Language___/JavaScript - ES6/Module/After ES6 - for Modern JS/1.1.js | JUD210/Study-Note | 2add9db3f11d99370f49878f0c19e9caa60d2d02 | [
"MIT"
] | null | null | null | // import { area, circumference } from "./1.2.js";
import * as calc from "./1.2.js";
radius = 4;
console.log(`
-- Circle
- radius = ${radius}
- area = ${calc.area(radius)}
- circumference = ${calc.circumference(radius)}
`);
| 18.833333 | 50 | 0.619469 |
0c88396a11a7b304c04f1994e9402ac395940c86 | 307 | js | JavaScript | src/locales/en/messages.js | maichong/alaska-page | 54a0780ab032166b1f21d353f575414a3bae602e | [
"MIT"
] | null | null | null | src/locales/en/messages.js | maichong/alaska-page | 54a0780ab032166b1f21d353f575414a3bae602e | [
"MIT"
] | null | null | null | src/locales/en/messages.js | maichong/alaska-page | 54a0780ab032166b1f21d353f575414a3bae602e | [
"MIT"
] | null | null | null | /**
* 脉冲软件
* http://maichong.it
* Created by Rong on 16/4/11.
* chaorong@maichong.it
*/
export default {
Page: 'Page',
Title: 'Title',
Content: 'Content',
'SEO Title': 'Seo Title',
'SEO Keywords': 'Seo Keywords',
'SEO Description': 'Seo Description',
'Page Template': 'Page template'
};
| 18.058824 | 39 | 0.62215 |
0c8875b758a79d563e4da832201cf7a2e5b90946 | 727 | js | JavaScript | src/components/Link.js | jasonbrandoo/bible-app-react | 1040933c9c5b11004c7e60b7b18d6ba0e71cf0c2 | [
"MIT"
] | 1 | 2020-11-17T16:10:13.000Z | 2020-11-17T16:10:13.000Z | src/components/Link.js | jasonbrandoo/bible-app-react | 1040933c9c5b11004c7e60b7b18d6ba0e71cf0c2 | [
"MIT"
] | 5 | 2020-03-18T18:44:32.000Z | 2022-02-26T16:07:52.000Z | src/components/Link.js | jasonbrandoo/bible-app-react | 1040933c9c5b11004c7e60b7b18d6ba0e71cf0c2 | [
"MIT"
] | 3 | 2020-03-18T18:46:42.000Z | 2022-01-01T01:22:27.000Z | import React from 'react';
import styled from '@emotion/styled';
import { layout, typography, color, system, space } from 'styled-system';
import { NavLink } from 'react-router-dom';
import PropTypes from 'prop-types';
const NavigationLink = ({ className, to, children }) => (
<NavLink className={className} to={to}>
... | 22.030303 | 73 | 0.68088 |
0c88f5b0488727a0de3a5cec514a2f632e29a297 | 290 | js | JavaScript | docs/frontend/node/code/file_20200427/index.js | dreamer1103/docsify | e94e4201d8879e208c9075caeeaeb231438c9500 | [
"MIT"
] | null | null | null | docs/frontend/node/code/file_20200427/index.js | dreamer1103/docsify | e94e4201d8879e208c9075caeeaeb231438c9500 | [
"MIT"
] | null | null | null | docs/frontend/node/code/file_20200427/index.js | dreamer1103/docsify | e94e4201d8879e208c9075caeeaeb231438c9500 | [
"MIT"
] | null | null | null | const requestHandlers=require("./requestHandlers")
const router=require("../router_20200427/router")
const server=require("../router_20200427/server")
const handle={
"/readFile":requestHandlers.readFile,
"/writeFile":requestHandlers.writeFile
}
//启动服务
server.start(router.route,handle); | 26.363636 | 50 | 0.782759 |
0c8a4b29eb2901d3f6f29539d5f18ee699206961 | 273 | js | JavaScript | util/uuid.js | micha3ldavid/verona | 6c0c94b381660be0e249cfb07c9e35cdcde6153e | [
"MIT"
] | null | null | null | util/uuid.js | micha3ldavid/verona | 6c0c94b381660be0e249cfb07c9e35cdcde6153e | [
"MIT"
] | null | null | null | util/uuid.js | micha3ldavid/verona | 6c0c94b381660be0e249cfb07c9e35cdcde6153e | [
"MIT"
] | null | null | null |
module.exports = function (key) {
var r,
uuid = 'xxxx-4xxx-yxxx'.replace(/[xy]/g, function(c) {
r = Math.random() * 16|0, v = c == 'x' ? r : (r&0x3|0x8);
return v.toString(16);
});
return ((key ? key + '-' : '') + uuid).toUpperCase();
};
| 22.75 | 65 | 0.483516 |
0c8b19090f5052368e8dea2b46a184a6fd2e4f18 | 534 | js | JavaScript | backend/controllers/post/remove.js | Franklin-Siqueira/unclefrank-blog | 43f83469c1fad2f609f66b76f2138e6866e778ce | [
"MIT"
] | 1 | 2021-11-03T06:01:24.000Z | 2021-11-03T06:01:24.000Z | backend/controllers/post/remove.js | Franklin-Siqueira/unclefrank-blog | 43f83469c1fad2f609f66b76f2138e6866e778ce | [
"MIT"
] | null | null | null | backend/controllers/post/remove.js | Franklin-Siqueira/unclefrank-blog | 43f83469c1fad2f609f66b76f2138e6866e778ce | [
"MIT"
] | null | null | null | // Copyright 2021 Franklin Siqueira.
// SPDX-License-Identifier: Apache-2.0
const { errorHandler } = require("../../helpers/dbErrorHandler");
/**
*
* @param {*} req
* @param {*} res
*/
exports.remove = (req, res) => {
let post = req.post;
post.remove((err, deletedPost) => {
if (err) {
return res.sta... | 24.272727 | 69 | 0.59176 |
0c8b9734d90308a50d1dd77e97d464e1dc3e38ce | 2,037 | js | JavaScript | js/geo.js | mmomjian/mmomjian.github.io | 6bfc2e0dbec2f4bc0ce64e88d2d6daafcc57c14a | [
"MIT"
] | null | null | null | js/geo.js | mmomjian/mmomjian.github.io | 6bfc2e0dbec2f4bc0ce64e88d2d6daafcc57c14a | [
"MIT"
] | null | null | null | js/geo.js | mmomjian/mmomjian.github.io | 6bfc2e0dbec2f4bc0ce64e88d2d6daafcc57c14a | [
"MIT"
] | null | null | null | // Initialize and add the map
function initMap() {
// The location of Uluru
// The map, centered at Ulur
var mapCenter = {lat: 15, lng: 11}; // new google.maps.LatLng(15, 11);
var map = new google.maps.Map(
document.getElementById('map'), {zoom: 2, center: mapCenter});
// The marker, positioned at Uluru
... | 29.521739 | 71 | 0.61512 |
0c8d1004f844c8ab86a2519eafc64ad68a827629 | 926 | js | JavaScript | lib/libcamera_jpeg/index.js | DR-HOMEAUTOMATION/libcamera-js | ef1d83b701b7165d4caa5e0107f66acb959ed15e | [
"MIT"
] | null | null | null | lib/libcamera_jpeg/index.js | DR-HOMEAUTOMATION/libcamera-js | ef1d83b701b7165d4caa5e0107f66acb959ed15e | [
"MIT"
] | null | null | null | lib/libcamera_jpeg/index.js | DR-HOMEAUTOMATION/libcamera-js | ef1d83b701b7165d4caa5e0107f66acb959ed15e | [
"MIT"
] | null | null | null | const {spawn} = require('child_process');
const defaultCommandArgs = {
'--width':480,
'--height':480,
'-o':'./public/libJpeg.jpg',
'-t':1000,
'-n':''
}
class JpegCam{
constructor(args = defaultCommandArgs ){
this.args = args
}
// this function takes a new image and saves it at the specifed path, then using... | 23.15 | 97 | 0.647948 |
0c8de647f7e91e5b2a2468e3f6724a353fb774f6 | 2,196 | js | JavaScript | app/client/src/store/callDependingOnBackend.js | drew-chen/boundless | b6f5cfcefdd2b403922f782fc9c008ecbc0ec124 | [
"Apache-2.0"
] | 1 | 2020-10-24T11:30:39.000Z | 2020-10-24T11:30:39.000Z | app/client/src/store/callDependingOnBackend.js | drew-chen/boundless | b6f5cfcefdd2b403922f782fc9c008ecbc0ec124 | [
"Apache-2.0"
] | 29 | 2020-12-28T12:59:13.000Z | 2021-08-03T07:36:29.000Z | app/client/src/store/callDependingOnBackend.js | drew-chen/boundless | b6f5cfcefdd2b403922f782fc9c008ecbc0ec124 | [
"Apache-2.0"
] | 3 | 2020-06-01T20:18:02.000Z | 2020-06-08T16:43:15.000Z | /* ##
## Copyright (c) 2020 Wind River Systems, Inc.
##
## Licensed under the Apache License, Version 2.0 (the "License");
## you may not use this file except in compliance with the License.
## You may obtain a copy of the License at:
## http://www.apache.org/licenses/LICENSE-2.0
## Unless required by applicable ... | 36.6 | 83 | 0.705373 |
0c8dfe10ac769ba657227e638b6aed7bd54a5a96 | 99 | js | JavaScript | vsdoc/search--/s_4077.js | asiboro/asiboro.github.io | a2e56607dca65eed437b6a666dcbc3f586492d8c | [
"MIT"
] | null | null | null | vsdoc/search--/s_4077.js | asiboro/asiboro.github.io | a2e56607dca65eed437b6a666dcbc3f586492d8c | [
"MIT"
] | null | null | null | vsdoc/search--/s_4077.js | asiboro/asiboro.github.io | a2e56607dca65eed437b6a666dcbc3f586492d8c | [
"MIT"
] | null | null | null | search_result['4077']=["topic_00000000000009C9_props--.html","TemplatesResponseDto Properties",""]; | 99 | 99 | 0.79798 |
0c8e98b40636c4b91ecfb76f848954ae9d5d2e32 | 1,504 | js | JavaScript | test/functional/fixtures/api/es-next/cookies/test.js | PayBas/testcafe | 8287cffcec35d484e72980f1633be9651388a177 | [
"MIT"
] | null | null | null | test/functional/fixtures/api/es-next/cookies/test.js | PayBas/testcafe | 8287cffcec35d484e72980f1633be9651388a177 | [
"MIT"
] | null | null | null | test/functional/fixtures/api/es-next/cookies/test.js | PayBas/testcafe | 8287cffcec35d484e72980f1633be9651388a177 | [
"MIT"
] | null | null | null | const config = require('../../../../config');
describe('[API] Cookies', function () {
it('Should get cookies by name', function () {
return runTests('./testcafe-fixtures/cookies-test.js', 'Should get cookies by name');
});
it('Should get cookies by objects', function () {
return runTests('... | 37.6 | 112 | 0.62234 |
0c8f068894737c629c59b39934d93bf7a0e740d9 | 15,434 | js | JavaScript | src/assets/fonts/iconfont.js | mike652638/webpack-learning | 422d262f04e155f779b8a1ca726ebc116185124b | [
"MIT"
] | null | null | null | src/assets/fonts/iconfont.js | mike652638/webpack-learning | 422d262f04e155f779b8a1ca726ebc116185124b | [
"MIT"
] | 7 | 2021-03-09T08:34:03.000Z | 2022-02-26T16:21:59.000Z | src/assets/fonts/iconfont.js | mike652638/webpack-learning | 422d262f04e155f779b8a1ca726ebc116185124b | [
"MIT"
] | null | null | null | !function(a){var l,t='<svg><symbol id="icon-hanbao" viewBox="0 0 1024 1024"><path d="M128 449.536l769.024 0 0 130.048-23.552 0q-20.48 0-26.624-10.752t-10.24-24.064-12.8-24.576-33.28-13.312q-24.576-1.024-44.544 8.704t-38.4 22.016-36.352 23.04-38.4 10.752-30.72-9.216-18.944-19.968-19.968-19.968-32.768-9.216-43.008 7.168-... | 15,434 | 15,434 | 0.788778 |
0c8ff249123e7e08463ca1b354356284010f19d5 | 46 | js | JavaScript | src/views/logout/index.js | dejimania/Team-025-Frontend | 83ade4ba6b530825bc6ca5078045962e899603a6 | [
"MIT"
] | null | null | null | src/views/logout/index.js | dejimania/Team-025-Frontend | 83ade4ba6b530825bc6ca5078045962e899603a6 | [
"MIT"
] | 11 | 2020-08-24T19:18:06.000Z | 2020-10-14T05:06:32.000Z | src/views/logout/index.js | dejimania/Team-025-Frontend | 83ade4ba6b530825bc6ca5078045962e899603a6 | [
"MIT"
] | 4 | 2020-08-20T16:50:59.000Z | 2020-10-09T07:13:14.000Z | export { default as LogOut } from './LogOut';
| 23 | 45 | 0.673913 |
0c90aa2d258d2401cd423c4336792376055785e0 | 159 | js | JavaScript | src/components/Modal/ModalPropsStore.js | cantonjs/re-admin | d9c76f193846be7269d1c89d920d5184275d4410 | [
"MIT"
] | 5 | 2017-06-02T09:01:38.000Z | 2019-01-20T17:00:43.000Z | src/components/Modal/ModalPropsStore.js | cantonjs/re-admin | d9c76f193846be7269d1c89d920d5184275d4410 | [
"MIT"
] | 2 | 2017-06-28T04:13:27.000Z | 2017-09-05T09:08:16.000Z | src/components/Modal/ModalPropsStore.js | cantonjs/re-admin | d9c76f193846be7269d1c89d920d5184275d4410 | [
"MIT"
] | 1 | 2019-01-09T09:10:50.000Z | 2019-01-09T09:10:50.000Z | import { observable, action } from 'mobx';
export default class ModalPropsStore {
@observable props = {};
@action
set(props) {
this.props = props;
}
}
| 14.454545 | 42 | 0.666667 |
0c91bf10a9873de216ec0751fb2897a89e3b2630 | 3,295 | js | JavaScript | tests/integration/specs/ors-api-runner.spec.js | trendspotter/ors-map-client | 186351224d408ee22d6dc67ddbb79f923241cfba | [
"Apache-2.0"
] | 45 | 2020-07-08T16:56:00.000Z | 2022-03-13T12:42:23.000Z | tests/integration/specs/ors-api-runner.spec.js | trendspotter/ors-map-client | 186351224d408ee22d6dc67ddbb79f923241cfba | [
"Apache-2.0"
] | 217 | 2020-07-16T17:13:31.000Z | 2022-03-29T19:05:32.000Z | tests/integration/specs/ors-api-runner.spec.js | trendspotter/ors-map-client | 186351224d408ee22d6dc67ddbb79f923241cfba | [
"Apache-2.0"
] | 17 | 2020-09-30T20:19:44.000Z | 2022-03-23T20:49:26.000Z | import { Directions, Isochrones, PlacesSearch, ReverseGeocode, Pois } from '@/support/ors-api-runner'
import Place from '@/models/place'
import mockupPlaces from '../mockups/places.js'
import constants from '@/resources/constants'
import AppLoader from '@/app-loader'
import store from '@/store/store'
import lodash from... | 37.443182 | 101 | 0.679514 |
0c930849f9d0ec7313c1fa7784fea26577411815 | 233 | js | JavaScript | src/md/ic_format_quote.js | ElasticSuite/react-icons-kit | 37ff9e070af7a5fa54db99252fef5e6458ff465c | [
"MIT"
] | 372 | 2017-01-07T01:54:27.000Z | 2022-03-02T10:16:01.000Z | src/md/ic_format_quote.js | ElasticSuite/react-icons-kit | 37ff9e070af7a5fa54db99252fef5e6458ff465c | [
"MIT"
] | 72 | 2016-12-17T04:04:02.000Z | 2022-02-26T03:35:19.000Z | src/md/ic_format_quote.js | qza7849467chensh5/react-icons-kit | 09aeaf39d13e33c45bd032cc1b42a64c5a334dd9 | [
"MIT"
] | 66 | 2017-05-14T21:52:41.000Z | 2021-12-08T12:15:09.000Z | export const ic_format_quote = {"viewBox":"0 0 24 24","children":[{"name":"path","attribs":{"d":"M0 0h24v24H0z","fill":"none"},"children":[]},{"name":"path","attribs":{"d":"M6 17h3l2-4V7H5v6h3zm8 0h3l2-4V7h-6v6h3z"},"children":[]}]}; | 233 | 233 | 0.643777 |
0c93244a9649ca59d3432b67116859c9f5273084 | 1,443 | js | JavaScript | core-examples/src/main/js/io/vertx/example/core/verticle/deploy/deploy_example.js | oshai/vertx-examples | b8d98bf315f1868ff59ab95dd2d3a0c18e56842e | [
"Apache-2.0"
] | 3 | 2018-07-09T08:05:36.000Z | 2018-07-09T08:05:40.000Z | core-examples/src/main/js/io/vertx/example/core/verticle/deploy/deploy_example.js | oshai/vertx-examples | b8d98bf315f1868ff59ab95dd2d3a0c18e56842e | [
"Apache-2.0"
] | 1 | 2022-02-11T00:30:06.000Z | 2022-02-11T00:30:06.000Z | core-examples/src/main/js/io/vertx/example/core/verticle/deploy/deploy_example.js | oshai/vertx-examples | b8d98bf315f1868ff59ab95dd2d3a0c18e56842e | [
"Apache-2.0"
] | 1 | 2022-01-09T16:41:04.000Z | 2022-01-09T16:41:04.000Z |
console.log("Main verticle has started, let's deploy some others...");
// Different ways of deploying verticles
// Deploy a verticle and don't wait for it to start
vertx.deployVerticle("io.vertx.example.core.verticle.deploy.OtherVerticle");
// Deploy another instance and want for it to start
vertx.deployVerticle("... | 27.226415 | 106 | 0.70201 |
0c93576f17f816f059fa33415002021784099db4 | 199 | js | JavaScript | test/base/possible-errors/getter-return/bad.js | Shuli-FE/eslint-config-shuli | cddc52156a8511c33132c55148660b915b759f9c | [
"MIT"
] | null | null | null | test/base/possible-errors/getter-return/bad.js | Shuli-FE/eslint-config-shuli | cddc52156a8511c33132c55148660b915b759f9c | [
"MIT"
] | 1 | 2017-12-04T09:59:20.000Z | 2017-12-04T09:59:20.000Z | test/base/possible-errors/getter-return/bad.js | Shuli-FE/eslint-config-shuli | cddc52156a8511c33132c55148660b915b759f9c | [
"MIT"
] | null | null | null | class Person {
get name() {
// disallows implicitly returning undefined with a return; statement.
return;
}
}
Object.defineProperty(Person, 'age', {
get: function() {
// no returns.
}
});
| 199 | 199 | 0.653266 |
0c946f23596b5e2f12a495281bcf537360362ed3 | 156 | js | JavaScript | tests/common/string/indexReplace.test.js | GHBJayce/j-weapons | ea4be9d78f021ced60d85348cbfeba6ab6002293 | [
"MIT"
] | 3 | 2020-06-04T06:44:39.000Z | 2020-11-18T18:41:18.000Z | tests/common/string/indexReplace.test.js | GHBJayce/j-weapons | ea4be9d78f021ced60d85348cbfeba6ab6002293 | [
"MIT"
] | 1 | 2019-12-25T01:36:45.000Z | 2019-12-25T01:36:45.000Z | tests/common/string/indexReplace.test.js | GHBJayce/j-weapons | ea4be9d78f021ced60d85348cbfeba6ab6002293 | [
"MIT"
] | null | null | null |
require('../../../src/common/string');
test('indexReplace', () => {
const str1 = 'banena';
expect(str1.indexReplace('a', 3)).toBe('banana');
}); | 17.333333 | 53 | 0.557692 |
0c9479ffa77daaa3ca1a41d605b440c4bbbee6d4 | 2,366 | js | JavaScript | Chapter04/src/App.js | heyjoec/Electron-Projects | 17480fcde63cee4c8f72bf637dd65725d4f30983 | [
"MIT"
] | 60 | 2019-12-07T02:58:07.000Z | 2022-03-18T11:02:58.000Z | Chapter04/src/App.js | heyjoec/Electron-Projects | 17480fcde63cee4c8f72bf637dd65725d4f30983 | [
"MIT"
] | 48 | 2020-03-22T09:19:27.000Z | 2022-03-25T19:10:26.000Z | Chapter04/src/App.js | heyjoec/Electron-Projects | 17480fcde63cee4c8f72bf637dd65725d4f30983 | [
"MIT"
] | 22 | 2019-12-07T02:58:41.000Z | 2022-03-29T09:29:30.000Z | import React from 'react';
import './App.css';
import { Navbar, Button, Alignment, Icon } from '@blueprintjs/core';
function App() {
const onSnipClick = async () => {
const { desktopCapturer, shell, remote } = window.require('electron');
const screen = remote.screen;
const path = window.require('path');
... | 27.511628 | 79 | 0.562975 |
0c94b13b689c80c80b5b8c5fb2f95c3dd97d2d3a | 59 | js | JavaScript | public/assets/js/es5/gull.script.js | Dazca08/proyecto_laravel_vue | e5d11620bcdc8b999c2efdb8571c62d7573f34c3 | [
"MIT"
] | 2 | 2019-08-24T16:50:37.000Z | 2020-09-05T08:39:49.000Z | public/assets/js/es5/gull.script.js | Dazca08/proyecto_laravel_vue | e5d11620bcdc8b999c2efdb8571c62d7573f34c3 | [
"MIT"
] | 4 | 2021-02-02T20:49:42.000Z | 2022-02-27T08:29:45.000Z | public/assets/js/es5/gull.script.js | Dazca08/proyecto_laravel_vue | e5d11620bcdc8b999c2efdb8571c62d7573f34c3 | [
"MIT"
] | null | null | null | // sidebarCompact();
// console.log('test4')
"use strict"; | 14.75 | 23 | 0.644068 |
0c95001812bca0b9b190b8c363cd6bf198662b09 | 575 | js | JavaScript | src/tools/timestamp.js | ianisl/cours-design-generatif-hetic-2015 | c0182d96885cb01f476759ff3eea653a3ed8476d | [
"CC-BY-3.0"
] | 16 | 2016-11-08T14:51:09.000Z | 2021-07-27T05:48:22.000Z | src/tools/timestamp.js | ianisl/cours-design-generatif-hetic-2015 | c0182d96885cb01f476759ff3eea653a3ed8476d | [
"CC-BY-3.0"
] | null | null | null | src/tools/timestamp.js | ianisl/cours-design-generatif-hetic-2015 | c0182d96885cb01f476759ff3eea653a3ed8476d | [
"CC-BY-3.0"
] | 1 | 2016-11-29T13:19:58.000Z | 2016-11-29T13:19:58.000Z | function getTimestamp() {
var today = new Date();
var day = today.getDate();
var month = today.getMonth() + 1; // Le mois de janvier porte le numéro 0
var year = today.getFullYear();
var hours = today.getHours();
var minutes = today.getMinutes();
var seconds = today.getSeconds();
timest... | 28.75 | 133 | 0.546087 |
0c143f5237563c3f6a07ed26ebb76e1a0a326a77 | 1,069 | js | JavaScript | src/actions/mnn-actions.js | v0xat/react-ml | 561939b6982ffdedadacc5bed458d64029c1aae8 | [
"MIT"
] | null | null | null | src/actions/mnn-actions.js | v0xat/react-ml | 561939b6982ffdedadacc5bed458d64029c1aae8 | [
"MIT"
] | null | null | null | src/actions/mnn-actions.js | v0xat/react-ml | 561939b6982ffdedadacc5bed458d64029c1aae8 | [
"MIT"
] | null | null | null | import { createAction } from 'redux-actions';
export const updateCanvas = createAction('UPDATE_MNN_CANVAS');
export const updateNetSettings = createAction('UPDATE_MNN_SETTINGS');
export const addLayer = createAction('ADD_LAYER');
export const removeLayer = createAction('REMOVE_LAYER');
// export const updateLayer = cr... | 48.590909 | 81 | 0.817587 |
0c14d4e5be882203ffb874340beae68ad4e01c6f | 166 | js | JavaScript | src/extra-components/index.js | wilzbach/components | 70b87f914941bfa5bcd52c5368570c74fd162118 | [
"Apache-2.0"
] | null | null | null | src/extra-components/index.js | wilzbach/components | 70b87f914941bfa5bcd52c5368570c74fd162118 | [
"Apache-2.0"
] | null | null | null | src/extra-components/index.js | wilzbach/components | 70b87f914941bfa5bcd52c5368570c74fd162118 | [
"Apache-2.0"
] | null | null | null | import Player from './Player'
// import Wordmark from './Wordmark'
import Snippet from './Snippet'
// export { Player, Wordmark, Snippet }
export { Player, Snippet } | 27.666667 | 39 | 0.710843 |
0c1528797dc51e1f771eb1d0f48d7c3ad7cae1de | 449 | js | JavaScript | src/components/flex.js | Gramaya/react-native-beginner | 4fac4a67ca13d500eb99e1bdc899751631246e04 | [
"MIT"
] | 2 | 2018-05-27T23:40:35.000Z | 2018-05-28T15:50:17.000Z | src/components/flex.js | Gramaya/react-native-beginner | 4fac4a67ca13d500eb99e1bdc899751631246e04 | [
"MIT"
] | null | null | null | src/components/flex.js | Gramaya/react-native-beginner | 4fac4a67ca13d500eb99e1bdc899751631246e04 | [
"MIT"
] | null | null | null | import React, { Component } from 'react';
import { View, Text, } from 'react-native';
export default class FlexComponent extends Component {
render() {
return (
<View style={{flex : 1, flexDirection : 'row'}}>
<View style={{flex :1, backgroundColor : 'red'}}></View>
<View style={{flex :2, ... | 29.933333 | 66 | 0.583519 |
0c158f8355c6f819d04861149de5d120b1f36a6f | 340 | js | JavaScript | projects/angular-line-awesome/icons/build/-las-file-powerpoint.icon.js | daniol/angular-line-awesome | 2510a44c23dab25478b4338d0a7bcf1c2b1da3fd | [
"MIT"
] | 3 | 2020-04-27T12:20:25.000Z | 2020-08-14T06:48:02.000Z | projects/angular-line-awesome/icons/build/-las-file-powerpoint.icon.js | daniol/angular-line-awesome | 2510a44c23dab25478b4338d0a7bcf1c2b1da3fd | [
"MIT"
] | 4 | 2021-01-30T20:08:02.000Z | 2022-02-18T17:09:11.000Z | projects/angular-line-awesome/icons/build/-las-file-powerpoint.icon.js | daniol/angular-line-awesome | 2510a44c23dab25478b4338d0a7bcf1c2b1da3fd | [
"MIT"
] | 1 | 2022-02-17T11:17:30.000Z | 2022-02-17T11:17:30.000Z | export const lasFilePowerpoint = {
name: 'las-file-powerpoint',
data: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path d="M6 3v26h20V9.6l-.3-.3-6-6-.3-.3H6zm2 2h10v6h6v16H8V5zm12 1.4L22.6 9H20V6.4zM13 13v2h4c1.2 0 2 .8 2 2s-.8 2-2 2-2-.8-2-2h-2v7h2v-3.6c.6.4 1.3.6 2 .6 2.2 0 4-1.8 4-4s-1.8-4-4... | 68 | 268 | 0.641176 |
0c15e792b9dcdbe2c8f222648ca3c607477ac0c0 | 256 | js | JavaScript | node_modules/unicode-5.2.0/Script/Ol_Chiki/code-points.js | Sichelle/js-training | d9ec8d05a7dd0010bd79be7650f396db224f60ff | [
"MIT"
] | 23 | 2017-10-31T00:56:17.000Z | 2019-07-08T01:33:26.000Z | node_modules/gulp-jscs/node_modules/jscs/node_modules/unicode-6.3.0/scripts/Ol_Chiki/code-points.js | marclundgren/mithril-fidm-app | bb4b36f847e48ad6edef02f7d7ed9552c7e85496 | [
"MIT"
] | 10 | 2020-02-03T06:25:48.000Z | 2022-03-22T08:13:32.000Z | node_modules/gulp-jscs/node_modules/jscs/node_modules/unicode-6.3.0/scripts/Ol_Chiki/code-points.js | marclundgren/mithril-fidm-app | bb4b36f847e48ad6edef02f7d7ed9552c7e85496 | [
"MIT"
] | 4 | 2018-03-31T14:50:46.000Z | 2019-10-31T12:24:40.000Z | module.exports=[7248,7249,7250,7251,7252,7253,7254,7255,7256,7257,7258,7259,7260,7261,7262,7263,7264,7265,7266,7267,7268,7269,7270,7271,7272,7273,7274,7275,7276,7277,7278,7279,7280,7281,7282,7283,7284,7285,7286,7287,7288,7289,7290,7291,7292,7293,7294,7295] | 256 | 256 | 0.800781 |
0c175cc2341174315fbdf3c3f7b8ced548baac90 | 441 | js | JavaScript | packages/ossus-components/src/components/Link.js | brandoboyd/Ossus | 43016e238598b9268c7e2a3bdf229c656332ddf3 | [
"MIT"
] | 5 | 2019-01-28T18:45:13.000Z | 2019-12-19T12:53:34.000Z | packages/ossus-components/src/components/Link.js | brandoboyd/Ossus | 43016e238598b9268c7e2a3bdf229c656332ddf3 | [
"MIT"
] | 15 | 2020-09-04T15:07:39.000Z | 2021-12-09T00:58:25.000Z | packages/ossus-components/src/components/Link.js | brandoboyd/Ossus | 43016e238598b9268c7e2a3bdf229c656332ddf3 | [
"MIT"
] | 1 | 2020-11-20T16:21:54.000Z | 2020-11-20T16:21:54.000Z | import React from 'react';
import { Routes } from 'ossus';
function Link({ href, route, params, children, prefetch, as, ...rest }) {
const LinkComp = as || 'a';
if (href) {
return <LinkComp href={href} {...rest}>{children}</LinkComp>;
}
// Dynamic Route
return (
<Routes.Link route={route} params={par... | 25.941176 | 73 | 0.623583 |
0c17817bf61e349e5578ffaa1c50c7f6c2308a44 | 502 | js | JavaScript | packages/poach-typescript/config/eslint/eslint.core.js | marcellomontemagno/poach | 5bc2ad2e5073571dece8f0938050b2e8cbb72ca2 | [
"MIT"
] | 2 | 2020-05-29T18:31:29.000Z | 2020-06-02T20:32:24.000Z | packages/poach-typescript/config/eslint/eslint.core.js | marcellomontemagno/poach | 5bc2ad2e5073571dece8f0938050b2e8cbb72ca2 | [
"MIT"
] | 2 | 2021-09-02T11:55:14.000Z | 2022-01-22T12:23:08.000Z | packages/poach-typescript/config/eslint/eslint.core.js | marcellomontemagno/poach | 5bc2ad2e5073571dece8f0938050b2e8cbb72ca2 | [
"MIT"
] | null | null | null | function configure(config) {
return {
...config,
extends: [
...config.extends,
'plugin:@typescript-eslint/eslint-recommended'
],
parser: '@typescript-eslint/parser',
plugins: [
...(config.plugins || []),
'@typescript-eslint'
],
rules: {
...config.rules,
... | 21.826087 | 66 | 0.579681 |
0c18875e391c17dc2e6f6493120094edd621d01a | 525 | js | JavaScript | src/components/Footer.js | fluoroom/casweb | 9379e68d417f5f933736e52ae9ea32f74c0317b1 | [
"0BSD"
] | null | null | null | src/components/Footer.js | fluoroom/casweb | 9379e68d417f5f933736e52ae9ea32f74c0317b1 | [
"0BSD"
] | null | null | null | src/components/Footer.js | fluoroom/casweb | 9379e68d417f5f933736e52ae9ea32f74c0317b1 | [
"0BSD"
] | null | null | null | import React from "react"
import BGimg from "../images/bg.png"
const Footer = notSticky => {
return (
<footer>
<p>
© 2020 casfoust.
<br />
all rights reserved
</p>
<style jsx>
{`
footer {
position: relative;
margin: 1em auto... | 17.5 | 38 | 0.438095 |
0c18dff3179c9f10d6995a418403d5ccb2647da5 | 756 | js | JavaScript | wordpress_team007/wp-content/plugins/testimonial-builder/assets/js/media-upload-script.js | cp5637-sp21-2019-assessment2/Team-007 | 661a710df9d70b76da1601317e34c29a31095b7a | [
"MIT",
"Unlicense"
] | null | null | null | wordpress_team007/wp-content/plugins/testimonial-builder/assets/js/media-upload-script.js | cp5637-sp21-2019-assessment2/Team-007 | 661a710df9d70b76da1601317e34c29a31095b7a | [
"MIT",
"Unlicense"
] | null | null | null | wordpress_team007/wp-content/plugins/testimonial-builder/assets/js/media-upload-script.js | cp5637-sp21-2019-assessment2/Team-007 | 661a710df9d70b76da1601317e34c29a31095b7a | [
"MIT",
"Unlicense"
] | 1 | 2021-01-05T12:38:57.000Z | 2021-01-05T12:38:57.000Z |
function wpsm_media_upload(el){
showImg = jQuery(el).prev('img');
uploadID = jQuery(el).next('input');
teamID = jQuery(uploadID).next('input');
media_uploader = wp.media({
frame: "post",
state: "insert",
library: {
type: 'image' // limits the frame to show only images
}... | 21 | 71 | 0.608466 |
0c1b3a37278f94d27a5874c33f408dd6d739c7d2 | 3,387 | js | JavaScript | src/store/entities/wikiArticles/reducer.js | humaniq/humaniq-pwa-website | fdb9b71d9160acde17c891e13140ea8a577b5919 | [
"Apache-2.0"
] | 8 | 2017-09-28T07:32:34.000Z | 2019-03-14T14:01:33.000Z | src/store/entities/wikiArticles/reducer.js | humaniq/humaniq-pwa-website | fdb9b71d9160acde17c891e13140ea8a577b5919 | [
"Apache-2.0"
] | 4 | 2017-08-22T15:40:13.000Z | 2017-09-26T11:41:11.000Z | src/store/entities/wikiArticles/reducer.js | humaniq/humaniq-pwa-website | fdb9b71d9160acde17c891e13140ea8a577b5919 | [
"Apache-2.0"
] | 11 | 2017-08-22T15:00:00.000Z | 2020-11-01T14:15:57.000Z | import {REQUEST, WIKI, START, SUCCESS, FAIL} from 'store/constants'
import mapper from './mapper'
const initLevel0 = {
level0Title: '',
ids:[],
entities: {}
}
const initWikiArticles = {
loading: false,
loaded: false,
'technical-mecca': {...initLevel0 },
'about-humaniq': {...initLevel0 },
descriptions:... | 54.629032 | 461 | 0.716859 |
0c1c3f6df4af49874eccb4a2583b8bd30b2e10e8 | 847 | js | JavaScript | docs/class_hoard_1_1_profile_utilities_1_1_profile_description.js | hoardexchange/hoard-overlay-unity | bd58fc0022caf39c61bff49a474a581b55780022 | [
"MIT"
] | null | null | null | docs/class_hoard_1_1_profile_utilities_1_1_profile_description.js | hoardexchange/hoard-overlay-unity | bd58fc0022caf39c61bff49a474a581b55780022 | [
"MIT"
] | null | null | null | docs/class_hoard_1_1_profile_utilities_1_1_profile_description.js | hoardexchange/hoard-overlay-unity | bd58fc0022caf39c61bff49a474a581b55780022 | [
"MIT"
] | 1 | 2020-06-07T11:13:09.000Z | 2020-06-07T11:13:09.000Z | var class_hoard_1_1_profile_utilities_1_1_profile_description =
[
[ "ProfileDescription", "class_hoard_1_1_profile_utilities_1_1_profile_description.html#a1aaf4fd0e68ce679a7cfe6592cb99546", null ],
[ "ProfileDescription", "class_hoard_1_1_profile_utilities_1_1_profile_description.html#ac9020ca0fee538305d1f03211... | 94.111111 | 135 | 0.850059 |
0c1c657428c4e56c3a768a12988689a30f4c0ded | 433 | js | JavaScript | docs/class_skeleton.js | MatthewRagas/GraphicsAssessment-master | d8f22573e8afb20960c0fc7fef982386e79448fb | [
"MIT"
] | null | null | null | docs/class_skeleton.js | MatthewRagas/GraphicsAssessment-master | d8f22573e8afb20960c0fc7fef982386e79448fb | [
"MIT"
] | null | null | null | docs/class_skeleton.js | MatthewRagas/GraphicsAssessment-master | d8f22573e8afb20960c0fc7fef982386e79448fb | [
"MIT"
] | null | null | null | var class_skeleton =
[
[ "Skeleton", "class_skeleton.html#af01a02f1ce9ae4c801cd6e66ccf7407f", null ],
[ "~Skeleton", "class_skeleton.html#aeece886a4e2f039128144f94f25efd10", null ],
[ "addBone", "class_skeleton.html#a41043bafbee8983a01fdc5f7ac91bfd7", null ],
[ "draw", "class_skeleton.html#a7b824bff20f9... | 54.125 | 83 | 0.750577 |
0c1c70235e3e6dc0e58440a3fc89a62723984c52 | 1,739 | js | JavaScript | src/pages/survey/house.js | JevinAnderson/DM-Memorial | 52a188e273bf6f2cce1eca43186c644d52698b72 | [
"Apache-2.0"
] | null | null | null | src/pages/survey/house.js | JevinAnderson/DM-Memorial | 52a188e273bf6f2cce1eca43186c644d52698b72 | [
"Apache-2.0"
] | null | null | null | src/pages/survey/house.js | JevinAnderson/DM-Memorial | 52a188e273bf6f2cce1eca43186c644d52698b72 | [
"Apache-2.0"
] | null | null | null | import React from "react";
import styles from "./index.module.css";
import SurveyLayout from "../../components/survey-layout";
import SEO from "../../components/seo";
import Container from "../../components/container";
import HRBorder from "../../components/hr-border";
const House = () => (
<SurveyLayout>
<SEO ... | 31.618182 | 80 | 0.573893 |
0c1d8398e5266e04c271b4de4d3a9e83e7f6a9c0 | 1,096 | js | JavaScript | nodes/artemis/packets/objectUpdate/torpedoUpdate.js | ohwHack/artemis-red | 419a00de24bc47dd4c3e8489aae5bbe86ff5600c | [
"Apache-2.0"
] | 1 | 2015-02-04T22:47:14.000Z | 2015-02-04T22:47:14.000Z | nodes/artemis/packets/objectUpdate/torpedoUpdate.js | ohwHack/artemis-red | 419a00de24bc47dd4c3e8489aae5bbe86ff5600c | [
"Apache-2.0"
] | null | null | null | nodes/artemis/packets/objectUpdate/torpedoUpdate.js | ohwHack/artemis-red | 419a00de24bc47dd4c3e8489aae5bbe86ff5600c | [
"Apache-2.0"
] | null | null | null |
// Provides an update on the status of a player-fired torpedo.
exports.name = 'torpedoUpdate';
exports.type = 0x80803df9;
exports.subtype = 0x0a;
exports.subtypeLength = 1; // 1 byte -> UInt8
exports.pack = null; // Only from server to client
exports.unpack = function(data) {
var unpacked = {};
unpacked.id = ... | 29.621622 | 92 | 0.631387 |
0c1e1ac1be87542cf31ef21f6e5b89837a02e628 | 1,250 | js | JavaScript | src/components/nav.js | uptheirons78/avis-nepi | f9cb232f547873bcdbb02ae125f872c9f7a356e0 | [
"MIT"
] | null | null | null | src/components/nav.js | uptheirons78/avis-nepi | f9cb232f547873bcdbb02ae125f872c9f7a356e0 | [
"MIT"
] | null | null | null | src/components/nav.js | uptheirons78/avis-nepi | f9cb232f547873bcdbb02ae125f872c9f7a356e0 | [
"MIT"
] | null | null | null | import React from "react";
import { graphql, useStaticQuery, Link } from "gatsby";
import AnchorLink from "react-anchor-link-smooth-scroll";
const Nav = () => {
const data = useStaticQuery(logoQuery);
return (
<ul id="top" className="flex py-5">
<Link to="/" className="mr-12">
<img
clas... | 25 | 144 | 0.5576 |
0c1e58e8ffab3b59e31e3db22d7053671b115bfe | 14,092 | js | JavaScript | flow-typed/npm/base16_vx.x.x.js | alexkuz/react-devtools-inspector | 3b7c92ea92b854ce6b35fdda365ddcf0e78a8482 | [
"MIT"
] | 264 | 2016-02-23T13:33:58.000Z | 2021-05-07T14:08:05.000Z | flow-typed/npm/base16_vx.x.x.js | alexkuz/redux-devtools-inspector | 3b7c92ea92b854ce6b35fdda365ddcf0e78a8482 | [
"MIT"
] | 65 | 2016-02-23T13:47:44.000Z | 2020-06-05T10:36:09.000Z | flow-typed/npm/base16_vx.x.x.js | alexkuz/react-devtools-inspector | 3b7c92ea92b854ce6b35fdda365ddcf0e78a8482 | [
"MIT"
] | 48 | 2016-02-23T15:22:52.000Z | 2018-11-16T19:50:58.000Z | // flow-typed signature: 09c2a7aa84e2b116423946aeea0ac2a8
// flow-typed version: <<STUB>>/base16_v^1.0.0/flow_v0.38.0
/**
* This is an autogenerated libdef stub for:
*
* 'base16'
*
* Fill this stub out by replacing all the `any` types.
*
* Once filled out, we encourage you to share your work with the
* comm... | 25.25448 | 77 | 0.730769 |
0c1ebdb7451edcef2d9b93154a4faaf11b151e25 | 1,463 | js | JavaScript | tests/acceptance/index-test.js | MartinMalinda/ember-hiding-menu | 0659ee4a92c7e112517c27810d05201aef52286b | [
"MIT"
] | 10 | 2016-08-07T21:15:14.000Z | 2018-01-24T15:46:28.000Z | tests/acceptance/index-test.js | MartinMalinda/ember-hiding-menu | 0659ee4a92c7e112517c27810d05201aef52286b | [
"MIT"
] | 9 | 2016-08-08T08:43:38.000Z | 2017-11-03T21:26:23.000Z | tests/acceptance/index-test.js | MartinMalinda/ember-hiding-menu | 0659ee4a92c7e112517c27810d05201aef52286b | [
"MIT"
] | 2 | 2016-08-08T12:19:39.000Z | 2017-07-05T16:45:30.000Z | import { test } from 'qunit';
import moduleForAcceptance from '../../tests/helpers/module-for-acceptance';
import animateScroll from '../../tests/helpers/animate-scroll';
moduleForAcceptance('Acceptance | index');
function hasClass(element, className) {
return element.classList.contains(className);
}
test('test hi... | 34.023256 | 131 | 0.735475 |
0c1fa737f3555ff6e4679600139501ae5fdaf2b1 | 6,528 | js | JavaScript | common/src/proto/api_grpc_pb.js | agreatfool/node_fullstack_startup | 9037e3594696a0ecbf557595ef677216cf75f6a8 | [
"MIT"
] | null | null | null | common/src/proto/api_grpc_pb.js | agreatfool/node_fullstack_startup | 9037e3594696a0ecbf557595ef677216cf75f6a8 | [
"MIT"
] | 12 | 2021-03-02T00:41:26.000Z | 2022-03-08T23:02:07.000Z | common/src/proto/api_grpc_pb.js | agreatfool/node_fullstack_startup | 9037e3594696a0ecbf557595ef677216cf75f6a8 | [
"MIT"
] | null | null | null | // GENERATED CODE -- DO NOT EDIT!
'use strict';
var grpc = require('grpc');
var api_pb = require('./api_pb.js');
function serialize_com_api_CreateUserReq(arg) {
if (!(arg instanceof api_pb.CreateUserReq)) {
throw new Error('Expected argument of type com.api.CreateUserReq');
}
return Buffer.from(arg.serializ... | 32.80402 | 83 | 0.772212 |
0c2031bd1a216fe956e53bfeb0f10e326db31e22 | 13,217 | js | JavaScript | src/helpers.js | ChrisCruze/BnbConnect | 90e26b9c8cc1b46913e95f02a1a612d17adead6d | [
"MIT"
] | null | null | null | src/helpers.js | ChrisCruze/BnbConnect | 90e26b9c8cc1b46913e95f02a1a612d17adead6d | [
"MIT"
] | null | null | null | src/helpers.js | ChrisCruze/BnbConnect | 90e26b9c8cc1b46913e95f02a1a612d17adead6d | [
"MIT"
] | null | null | null | function dataTablesColumnsCreateFromBaseColumns(base_columns, data) {
return base_columns;
console.log({ base_columns, data });
if (data == undefined) {
return base_columns;
} else {
all_columns = datatables_columns_create_from_data(data);
base_column_names = _.map(base_columns, "data");
all_columns_filtere... | 24.612663 | 178 | 0.681925 |
0c20806b11807654bfea7101cd7c4f80d401d8c2 | 6,130 | js | JavaScript | Pepito/client/src/Disguise.js | rajanpaulsarella/ETHDenver2021 | f26827f4daae7c263d9b136abf5c8f84a1831b30 | [
"MIT"
] | 3 | 2021-01-22T17:22:15.000Z | 2021-02-23T04:28:46.000Z | Pepito/client/src/Disguise.js | rajanpaulsarella/ETHDenver2021 | f26827f4daae7c263d9b136abf5c8f84a1831b30 | [
"MIT"
] | 1 | 2021-01-12T20:23:42.000Z | 2021-01-12T20:23:42.000Z | Pepito/client/src/Disguise.js | rajanpaulsarella/ETHDenver2021 | f26827f4daae7c263d9b136abf5c8f84a1831b30 | [
"MIT"
] | 4 | 2021-01-12T20:20:00.000Z | 2021-07-22T04:17:10.000Z | /** class Disguise - project Pepito
* @author Vu Tien Khang - Jan 2021
* @notice generate random disguise, call App.setDisguise to store on App.state
*/
import React from 'react';
import './App.css';
class Disguise extends React.Component{
constructor() {
super();
this.options = { /** @dev the ... | 65.212766 | 681 | 0.666721 |
0c21cc307bf3fcb25b784e0061165cbe96025150 | 275 | js | JavaScript | libs/output.js | Fluidbyte/tetra | 9da0f53f0f5d4f4a7d364c20a870a35ff36e650c | [
"MIT"
] | 1 | 2018-12-29T09:05:43.000Z | 2018-12-29T09:05:43.000Z | libs/output.js | Fluidbyte/tetra | 9da0f53f0f5d4f4a7d364c20a870a35ff36e650c | [
"MIT"
] | null | null | null | libs/output.js | Fluidbyte/tetra | 9da0f53f0f5d4f4a7d364c20a870a35ff36e650c | [
"MIT"
] | null | null | null | var clc = require('cli-color');
// Creates colored, typed console outputs
module.exports = function (type, message) {
if (type === 'success') {
console.log(clc.greenBright.bold('#> ') + message);
} else {
console.log(clc.redBright.bold('#> ') + message);
}
};
| 25 | 55 | 0.621818 |
0c2203bb974e8c32013938ce4b2656b4f4d2525d | 575 | js | JavaScript | test/unit/specs/fab-item.spec.js | Luffy-D-Monkey/vue-floating-action-button | 79ae11f20b0c16a1c7f1854e65e0d30eddcfdd3d | [
"MIT"
] | 110 | 2019-04-04T14:02:19.000Z | 2022-03-11T01:48:08.000Z | test/unit/specs/fab-item.spec.js | Luffy-D-Monkey/vue-floating-action-button | 79ae11f20b0c16a1c7f1854e65e0d30eddcfdd3d | [
"MIT"
] | 30 | 2019-03-27T07:40:36.000Z | 2022-03-15T02:46:19.000Z | test/unit/specs/fab-item.spec.js | Luffy-D-Monkey/vue-floating-action-button | 79ae11f20b0c16a1c7f1854e65e0d30eddcfdd3d | [
"MIT"
] | 21 | 2019-03-28T03:28:42.000Z | 2022-02-04T11:13:36.000Z | import Vue from 'vue'
import { mount, createLocalVue } from 'vue-test-utils'
import index from '../../../src/index.js'
import Fab from '../../../src/fab.vue'
import FabItem from '../../../src/fab-item.vue'
describe('fab-item.vue', () => {
const localVue = createLocalVue()
localVue.use(index)
let wrapper = null
... | 21.296296 | 54 | 0.586087 |
0c227756262ef9ea90f5b74f4529fc03bbcc6fd7 | 1,098 | js | JavaScript | src/pages/ExploreFoods/index.js | rafaelgeronimo/trybe-recipe-app | 3ab8f395653a7d546b25b513231d44fb7375218a | [
"MIT"
] | null | null | null | src/pages/ExploreFoods/index.js | rafaelgeronimo/trybe-recipe-app | 3ab8f395653a7d546b25b513231d44fb7375218a | [
"MIT"
] | 1 | 2021-07-15T19:56:32.000Z | 2021-07-15T19:56:32.000Z | src/pages/ExploreFoods/index.js | rafaelgeronimo/trybe-recipes-app | 3ab8f395653a7d546b25b513231d44fb7375218a | [
"MIT"
] | null | null | null | import React, { useState } from 'react';
import { Link } from 'react-router-dom';
import FooterMenu from '../../components/footerMenu';
import Header from '../../components/Header';
import { randomMeal } from '../../services/apiRequests';
export default function ExploreFoods() {
document.title = 'Explorar Comidas';
... | 30.5 | 70 | 0.581056 |
0c229a076ed4b9d312b0d82b29fc75493ef11c0f | 764,740 | js | JavaScript | images/toxictank_png.js | erikjreid/save-the-town | b98cff08413484fc7e77b6998fd7caf712f2900b | [
"MIT"
] | 1 | 2019-02-26T14:25:05.000Z | 2019-02-26T14:25:05.000Z | images/toxictank_png.js | erikjreid/save-the-town | b98cff08413484fc7e77b6998fd7caf712f2900b | [
"MIT"
] | null | null | null | images/toxictank_png.js | erikjreid/save-the-town | b98cff08413484fc7e77b6998fd7caf712f2900b | [
"MIT"
] | 1 | 2019-02-26T14:25:08.000Z | 2019-02-26T14:25:08.000Z | /* eslint-disable */
import simLauncher from '../../joist/js/simLauncher.js';
const image = new Image();
const unlock = simLauncher.createLock( image );
image.onload = unlock;
image.src = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAA+4AAAXuCAYAAAD1NHKEAAABYWlDQ1BrQ0dDb2xvclNwYWNlRGlzcGxheVAzAAAokWNgYFJJLCjIYWFgYMjN... | 95,592.5 | 764,541 | 0.945606 |
0c22def932bd2bb081e0a7a127f66a6056b684a8 | 942 | js | JavaScript | Web Design & Development/3. JavaScript Fundamentals/08. Strings/09. Extract all valid emails/script.js | elena-andonova/telerik-academy | 1dc9daf75c06694b887253d52492d0df1a5bdbe3 | [
"MIT"
] | 2 | 2020-01-21T09:12:37.000Z | 2020-01-21T09:13:44.000Z | Web Design & Development/3. JavaScript Fundamentals/08. Strings/09. Extract all valid emails/script.js | elena-andonova/telerik-academy | 1dc9daf75c06694b887253d52492d0df1a5bdbe3 | [
"MIT"
] | null | null | null | Web Design & Development/3. JavaScript Fundamentals/08. Strings/09. Extract all valid emails/script.js | elena-andonova/telerik-academy | 1dc9daf75c06694b887253d52492d0df1a5bdbe3 | [
"MIT"
] | 3 | 2015-05-11T06:50:35.000Z | 2016-12-05T12:07:09.000Z | /*
9. Write a function for extracting all email addresses
from given text. All substrings that match the format
<identifier>@<host>…<domain> should be recognized as
emails. Return the emails as array of strings.
*/
taskName = "9. Extract all valid emails";
function Main(bufferElement) {
var tex... | 34.888889 | 222 | 0.613588 |
0c232c87875c0184d5de03527019a7ad41094d43 | 289 | js | JavaScript | src/components/TaskPane/VirtualChallengeNameLink/Messages.js | Zverik/maproulette3 | f1040d14500beaf041b4cfebc2b7f7ed6c748152 | [
"MIT"
] | 78 | 2018-05-14T02:58:14.000Z | 2022-02-01T05:01:53.000Z | src/components/TaskPane/VirtualChallengeNameLink/Messages.js | Zverik/maproulette3 | f1040d14500beaf041b4cfebc2b7f7ed6c748152 | [
"MIT"
] | 478 | 2018-05-11T05:29:07.000Z | 2022-03-31T22:25:14.000Z | src/components/TaskPane/VirtualChallengeNameLink/Messages.js | Zverik/maproulette3 | f1040d14500beaf041b4cfebc2b7f7ed6c748152 | [
"MIT"
] | 29 | 2018-07-08T22:36:52.000Z | 2022-03-18T21:17:11.000Z | import { defineMessages } from 'react-intl'
/**
* Internationalized messages for use with VirtualChallengeNameLink
*/
export default defineMessages({
virtualChallengeTooltip: {
id: 'ActiveTask.indicators.virtualChallenge.tooltip',
defaultMessage: 'Virtual Challenge',
},
})
| 24.083333 | 67 | 0.750865 |
0c23d708edbd275fe7086c90616050228dc0f790 | 1,543 | js | JavaScript | js/hestest.js | ndlib/hesburgh_utilities | cdaa1dd9599ba6e98e2143a27d6912582042203d | [
"Apache-2.0"
] | null | null | null | js/hestest.js | ndlib/hesburgh_utilities | cdaa1dd9599ba6e98e2143a27d6912582042203d | [
"Apache-2.0"
] | 1 | 2020-07-17T11:19:39.000Z | 2020-07-17T11:19:39.000Z | js/hestest.js | ndlib/hesburgh_utilities | cdaa1dd9599ba6e98e2143a27d6912582042203d | [
"Apache-2.0"
] | 1 | 2021-12-17T22:37:04.000Z | 2021-12-17T22:37:04.000Z | var fs = require("fs")
var heslog = require("./heslog")
var hesutil = require("./hesutil")
var _testData = null
var _basepath = "testdata"
const _basefile = "accounts.json"
function _makePath(file) {
return _basepath + "/" + file
}
function _recurse(data) {
for(var k in data) {
var v = data[k];
if(k =... | 18.369048 | 55 | 0.60661 |
0c243927d8e0d924251f5a02ad2c85d0f87eb4de | 432 | js | JavaScript | project/src/App/pages/ListCategories/styled.js | nicolasrafaelduma/TheNews | 6e5db89d7ceaa633e355182cd3e2e0c96c9aa194 | [
"MIT"
] | null | null | null | project/src/App/pages/ListCategories/styled.js | nicolasrafaelduma/TheNews | 6e5db89d7ceaa633e355182cd3e2e0c96c9aa194 | [
"MIT"
] | null | null | null | project/src/App/pages/ListCategories/styled.js | nicolasrafaelduma/TheNews | 6e5db89d7ceaa633e355182cd3e2e0c96c9aa194 | [
"MIT"
] | null | null | null | import styled from 'styled-components'
export const Conteiner = styled.div``
export const Content = styled.ul`
padding: 40px 15%;
`
export const ListItem = styled.li`
display: flex;
justify-content: space-between;
padding: 15px;
border-bottom: solid 1px #000;
`
export const Text = styled.span`
font-size... | 17.28 | 38 | 0.703704 |
0c2459391b7de69aec04d10c454ae66fed75ba6c | 1,208 | js | JavaScript | src/tests/SpecificRegionCards.test.js | VanessaAoki/covid-tracker | 2b34ec14454fe9cd3fdf10fff80d79d220e0ff5e | [
"MIT"
] | 3 | 2021-12-21T18:19:41.000Z | 2021-12-22T22:10:02.000Z | src/tests/SpecificRegionCards.test.js | VanessaAoki/covid-tracker | 2b34ec14454fe9cd3fdf10fff80d79d220e0ff5e | [
"MIT"
] | null | null | null | src/tests/SpecificRegionCards.test.js | VanessaAoki/covid-tracker | 2b34ec14454fe9cd3fdf10fff80d79d220e0ff5e | [
"MIT"
] | null | null | null | import React from 'react';
import { BrowserRouter } from 'react-router-dom';
import { render, screen } from '@testing-library/react';
import '@testing-library/jest-dom';
import SpecificRegionCard from '../components/SpecificRegionCard';
describe('Region card loads as it should', () => {
const data = {
date: '202... | 30.974359 | 78 | 0.687086 |
0c248cc46f3abb02165704eec5c8f888948274f3 | 369 | js | JavaScript | jest.config.js | samkahchiin/santavana-cny | 941f03bb3706a488c9c2c2bfabae266acc07ab70 | [
"MIT"
] | null | null | null | jest.config.js | samkahchiin/santavana-cny | 941f03bb3706a488c9c2c2bfabae266acc07ab70 | [
"MIT"
] | null | null | null | jest.config.js | samkahchiin/santavana-cny | 941f03bb3706a488c9c2c2bfabae266acc07ab70 | [
"MIT"
] | null | null | null | module.exports = {
roots: ['<rootDir>'],
moduleFileExtensions: ['js', 'json'],
testPathIgnorePatterns: [
'<rootDir>[/\\\\](build|docs|node_modules|.next)[/\\\\]',
],
transformIgnorePatterns: ['[/\\\\]node_modules[/\\\\].+\\.(js|jsx)$'],
testEnvironment: 'jsdom',
testURL: 'http://localhost',
transfor... | 26.357143 | 72 | 0.563686 |
0c256cbed29f7493487e701342d9862ce93ad127 | 3,798 | js | JavaScript | packages/react/benchmarks/cx.js | aesthetic-suite/react-ui | be869d0f0cc23c09bcffcd9bb3101d24aad918f2 | [
"MIT"
] | 3 | 2020-07-06T12:07:08.000Z | 2020-07-14T10:52:45.000Z | packages/react/benchmarks/cx.js | aesthetic-suite/react-ui | be869d0f0cc23c09bcffcd9bb3101d24aad918f2 | [
"MIT"
] | 3 | 2020-09-03T06:26:27.000Z | 2021-08-31T20:27:10.000Z | packages/react/benchmarks/cx.js | aesthetic-suite/react-ui | be869d0f0cc23c09bcffcd9bb3101d24aad918f2 | [
"MIT"
] | null | null | null | /* eslint-disable sort-keys, babel/no-invalid-this, import/no-extraneous-dependencies */
const { generateClassName } = require('@aesthetic/core');
const { isObject, objectLoop } = require('@aesthetic/utils');
const Benchmark = require('benchmark');
const suite = new Benchmark.Suite();
const sizes = ['xs', 'sm', 'df',... | 23.158537 | 90 | 0.679305 |
0c2573cdcf74049f4e073222778ada535ee5943d | 143 | js | JavaScript | middlewares/static/index.js | dzh1104/server-summary | e87a981734ced729c4797bdb58dd91b105b803d8 | [
"MIT"
] | 7 | 2017-11-23T07:50:21.000Z | 2018-03-07T06:37:33.000Z | middlewares/static/index.js | dzh1104/server-summary | e87a981734ced729c4797bdb58dd91b105b803d8 | [
"MIT"
] | null | null | null | middlewares/static/index.js | dzh1104/server-summary | e87a981734ced729c4797bdb58dd91b105b803d8 | [
"MIT"
] | null | null | null | 'use strict';
const serve = require('koa-static');
module.exports = function _static(path, options = {}) {
return serve(path, options);
} | 20.428571 | 55 | 0.671329 |
0c25bfd645d5d0be06cbb5cc6631f69279e67485 | 2,034 | js | JavaScript | src/api/cms/reviewComment.js | xiawang1024/cms2 | 01d2795f4c6c3bd7fcc59877b59067d78296b9d0 | [
"MIT"
] | null | null | null | src/api/cms/reviewComment.js | xiawang1024/cms2 | 01d2795f4c6c3bd7fcc59877b59067d78296b9d0 | [
"MIT"
] | 9 | 2020-04-30T13:49:47.000Z | 2022-02-26T21:45:55.000Z | src/api/cms/reviewComment.js | xiawang1024/cms2 | 01d2795f4c6c3bd7fcc59877b59067d78296b9d0 | [
"MIT"
] | null | null | null | import request from "@/utils/request";
// var Cpath = "http://192.168.7.55:8093/news-comment";
var Cpath = "/news-comment";
import QS from "qs";
export function saveAudit(data) {
return request({
url: Cpath + `/permission/save`,
method: "post",
data
// loadingConfig: {
// noLoading: true
//... | 18.490909 | 130 | 0.591445 |
0c25f833ea015c34ed6b117e3a60b88a4fb224c6 | 200 | js | JavaScript | physx/documentation/PhysXAPI/files/search/groups_0.js | ceti-dev/PhysX | c3d5537bdebd6f5cd82fcaf87474b838fe6fd5fa | [
"BSD-3-Clause"
] | 2,372 | 2018-12-20T18:01:39.000Z | 2022-03-31T09:58:37.000Z | physx/documentation/PhysXAPI/files/search/groups_0.js | ceti-dev/PhysX | c3d5537bdebd6f5cd82fcaf87474b838fe6fd5fa | [
"BSD-3-Clause"
] | 534 | 2018-12-20T20:04:42.000Z | 2022-03-31T19:00:50.000Z | physx/documentation/PhysXAPI/files/search/groups_0.js | ceti-dev/PhysX | c3d5537bdebd6f5cd82fcaf87474b838fe6fd5fa | [
"BSD-3-Clause"
] | 694 | 2018-12-20T18:32:36.000Z | 2022-03-16T03:45:42.000Z | var searchData=
[
['character',['Character',['../group__character.html',1,'']]],
['common',['Common',['../group__common.html',1,'']]],
['cooking',['Cooking',['../group__cooking.html',1,'']]]
];
| 28.571429 | 64 | 0.575 |
0c262a8e31afa50ed4b7b1090b00a5f7aa18005e | 724 | js | JavaScript | web-client/src/index.js | batkot/Wonsz | 24e3cf12cadba469987c73725b188115d06adc5d | [
"MIT"
] | null | null | null | web-client/src/index.js | batkot/Wonsz | 24e3cf12cadba469987c73725b188115d06adc5d | [
"MIT"
] | 1 | 2022-02-14T18:50:14.000Z | 2022-02-14T18:50:14.000Z | web-client/src/index.js | batkot/Wonsz | 24e3cf12cadba469987c73725b188115d06adc5d | [
"MIT"
] | null | null | null | require('./static/theme.scss');
const { Elm } = require('./Main.elm');
const env = require('./environment.js');
env.authToken = window.localStorage.getItem(env.sessionCacheKey);
const initSettings =
{
node: document.getElementById('app-container'),
flags: env
};
const app = Elm.Main.init(ini... | 26.814815 | 65 | 0.689227 |
0c28c4cea8b568eb730d46f55dd350b0038a6e94 | 7,839 | js | JavaScript | reddit_final/server/src/services/dataService.js | pgmgent-2021-students/pgm-2 | 25f703a0d5578a65ed8cbae8b7562332b922a420 | [
"Apache-2.0"
] | null | null | null | reddit_final/server/src/services/dataService.js | pgmgent-2021-students/pgm-2 | 25f703a0d5578a65ed8cbae8b7562332b922a420 | [
"Apache-2.0"
] | null | null | null | reddit_final/server/src/services/dataService.js | pgmgent-2021-students/pgm-2 | 25f703a0d5578a65ed8cbae8b7562332b922a420 | [
"Apache-2.0"
] | 4 | 2020-12-04T12:54:01.000Z | 2022-01-12T08:45:17.000Z | /*
Import packages
*/
const fs = require('fs');
const path = require('path');
const { v4: uuidv4 } = require('uuid');
/*
Import custom packages
*/
const { HTTPError, convertArrayToPagedObject } = require('../utils');
/*
File paths
*/
const filePathCategories = path.join(__dirname, '..', 'data', 'categories.json');
co... | 24.12 | 103 | 0.628652 |
0c28cfeb26e6ec30b5cff6584b8ac79f28f68e5f | 259 | js | JavaScript | tests/interpreter/array.spec.js | newbotjs/newbot-framework | 0da835e31f6889e0a907158dc76838e973074c8f | [
"MIT"
] | 40 | 2019-08-22T15:28:42.000Z | 2022-03-10T21:57:11.000Z | tests/interpreter/array.spec.js | newbotjs/newbot-framework | 0da835e31f6889e0a907158dc76838e973074c8f | [
"MIT"
] | 30 | 2019-08-25T14:30:06.000Z | 2022-03-08T10:30:47.000Z | tests/interpreter/array.spec.js | newbotjs/newbot-framework | 0da835e31f6889e0a907158dc76838e973074c8f | [
"MIT"
] | 3 | 2019-10-03T06:21:34.000Z | 2021-07-10T13:07:02.000Z | module.exports = function (user, assert, converse) {
return user
.start()
.spy('start', function (testing) {
assert.equal(testing.output(0), ['2'])
assert.equal(testing.output(1), ['ok'])
})
.end()
} | 28.777778 | 52 | 0.513514 |
0c293105b3da8fa8f14f7ec0a2579d7fc98daf31 | 382 | js | JavaScript | server/static/script.js | vishva8kumara/rain-catcher | 5ef5fa2ff0f27561b90554bf230f99a65645ccfc | [
"MIT"
] | null | null | null | server/static/script.js | vishva8kumara/rain-catcher | 5ef5fa2ff0f27561b90554bf230f99a65645ccfc | [
"MIT"
] | null | null | null | server/static/script.js | vishva8kumara/rain-catcher | 5ef5fa2ff0f27561b90554bf230f99a65645ccfc | [
"MIT"
] | 1 | 2018-03-26T20:30:38.000Z | 2018-03-26T20:30:38.000Z |
var station = 8;
var images = document.querySelectorAll('img.img');
function refreshImages(){
var t = (new Date()).getTime();
for (var i = 0; i < 4; i++)
new arc.ajax('static/images/'+station+'/'+i+'.png?t='+t,
{
callback: function(data, i){
images[3-i].setAttribute('src', data.responseText);
}
... | 22.470588 | 58 | 0.620419 |
0c2b3f41b4742e74a869b0342970b18246d8a376 | 1,943 | js | JavaScript | index.js | h5-mod/storage | 464cda34477f796cef768d46b4371536f87390f4 | [
"MIT"
] | null | null | null | index.js | h5-mod/storage | 464cda34477f796cef768d46b4371536f87390f4 | [
"MIT"
] | null | null | null | index.js | h5-mod/storage | 464cda34477f796cef768d46b4371536f87390f4 | [
"MIT"
] | null | null | null | import {localStorage, uniapp} from './adaptor'
const defaultConfig = {
expire_suffix: '_expiry',
adaptor: 'localStorage'
}
export default class Storage {
constructor(config) {
this.config = Object.assign({}, defaultConfig, config)
this._store = localStorage
switch (this.config.adap... | 22.858824 | 81 | 0.458569 |
0c2b524de5a64a28864eb51fd9cf55b39ea4206d | 2,167 | js | JavaScript | src/scripts/lib/companion/store.js | mozillabrasil/companion | 23a2833d61b0a1ad5f3b55c75fe0ed35c5bb10d7 | [
"MIT"
] | 2 | 2017-01-14T19:14:25.000Z | 2017-03-02T16:08:08.000Z | src/scripts/lib/companion/store.js | mozillabrasil/companion | 23a2833d61b0a1ad5f3b55c75fe0ed35c5bb10d7 | [
"MIT"
] | null | null | null | src/scripts/lib/companion/store.js | mozillabrasil/companion | 23a2833d61b0a1ad5f3b55c75fe0ed35c5bb10d7 | [
"MIT"
] | null | null | null | 'use strict';
/*
Stored records:
- updateInfo: Object with the attributes:
- time: epoch miliseconds timestamp,
- size: file size in bytes
- latestFeed: String containing the raw xml document
- bookmarkedSessions: Object which is a hash table
where each key is a session id.
... | 28.513158 | 86 | 0.588832 |
0c2b9ae40931b33211ceb4caee1f6b5b08da83c0 | 321 | js | JavaScript | detox/test/integration/stub/StubArtifactPluginsProvider.js | spnraju/Detox | c368a16cce91dac2e55acd79c9bfab3674a4a939 | [
"MIT"
] | 3,308 | 2016-06-16T20:38:19.000Z | 2018-09-27T19:07:47.000Z | detox/test/integration/stub/StubArtifactPluginsProvider.js | spnraju/Detox | c368a16cce91dac2e55acd79c9bfab3674a4a939 | [
"MIT"
] | 817 | 2016-08-02T06:41:24.000Z | 2018-09-27T18:59:16.000Z | detox/test/integration/stub/StubArtifactPluginsProvider.js | spnraju/Detox | c368a16cce91dac2e55acd79c9bfab3674a4a939 | [
"MIT"
] | 515 | 2016-07-28T11:14:17.000Z | 2018-09-27T01:13:38.000Z | const TimelineArtifactPlugin = require('detox/src/artifacts/timeline/TimelineArtifactPlugin');
class StubArtifactPluginsProvider {
declareArtifactPlugins() {
return {
timeline: (api) => new TimelineArtifactPlugin({ api, useFakeTimestamps: true }),
};
}
}
module.exports = StubArtifactPluginsProvider;... | 26.75 | 94 | 0.750779 |
0c2bf073027b7d5a490fe70f0283ed0613d57934 | 5,019 | js | JavaScript | src/sprites/wise.js | fpvideojuegos/rpgfantasticcreatures | bba9fb31b5ff2189deb211724a268fff1ed5fb24 | [
"MIT"
] | null | null | null | src/sprites/wise.js | fpvideojuegos/rpgfantasticcreatures | bba9fb31b5ff2189deb211724a268fff1ed5fb24 | [
"MIT"
] | 9 | 2019-11-14T07:39:49.000Z | 2022-02-26T20:15:52.000Z | src/sprites/wise.js | fpvideojuegos/rpgfantasticcreatures | bba9fb31b5ff2189deb211724a268fff1ed5fb24 | [
"MIT"
] | 7 | 2019-11-14T07:35:13.000Z | 2019-11-17T18:57:52.000Z | export default class Wise extends Phaser.GameObjects.Sprite {
constructor(config) {
super(config.scene, config.x, config.y, 'atlas', 'wise');
config.scene.physics.world.enable(this);
this.scene = config.scene;
this.number = config.number;
this.body.moves = false;
this.textbox = false;
... | 28.517045 | 195 | 0.535565 |
0c2c70d9738e1d53ace111ecd277d6fa998395dd | 366 | js | JavaScript | src/utils/persistenceUtils/index.js | bsiggelkow/weather-app | 44a2bf7fe78cd2830ad1e493b02eb6e32435a561 | [
"MIT"
] | null | null | null | src/utils/persistenceUtils/index.js | bsiggelkow/weather-app | 44a2bf7fe78cd2830ad1e493b02eb6e32435a561 | [
"MIT"
] | 1 | 2019-02-08T16:00:30.000Z | 2019-02-11T02:16:26.000Z | src/utils/persistenceUtils/index.js | bsiggelkow/weather-app | 44a2bf7fe78cd2830ad1e493b02eb6e32435a561 | [
"MIT"
] | 1 | 2019-02-07T21:33:29.000Z | 2019-02-07T21:33:29.000Z | const LOCAL_STORAGE_KEY = 'NIYA_WEATHER_APP_LOCATION_DATA'
export const saveLocationData = (data) => {
const json = JSON.stringify(data)
window.localStorage.setItem(LOCAL_STORAGE_KEY, json)
}
export const readLocationData = () => {
const str = window.localStorage.getItem(LOCAL_STORAGE_KEY)
if (str === null) {... | 24.4 | 60 | 0.724044 |
0c2c9b403c59bba742c7000db21db5fd87c80dec | 877 | js | JavaScript | index.js | jasonkuhrt/timeout | e0ef8040fdadbb679c0ec536e0b4d76da4acac79 | [
"BSD-2-Clause"
] | null | null | null | index.js | jasonkuhrt/timeout | e0ef8040fdadbb679c0ec536e0b4d76da4acac79 | [
"BSD-2-Clause"
] | null | null | null | index.js | jasonkuhrt/timeout | e0ef8040fdadbb679c0ec536e0b4d76da4acac79 | [
"BSD-2-Clause"
] | null | null | null | 'use strict';
function Timeout(f, ms){
var t = {};
t.conf = {
ms: ms,
f: function(){
t.state.isOn = false;
f();
}
};
t.state = {
setTimeoutInstance: undefined,
isOn: false
};
return start(t);
}
function start(t){
if (!isOn(t)){
t.state.isOn = !t.state.isOn;
... | 13.492308 | 74 | 0.616876 |
0c2d2e22cc60a92ab21c3a19f9af3d7fa1a4c15d | 7,841 | js | JavaScript | src/app.js | anna-liepina/loot-checker | 8ad3f3965f73a89bf7a5953bcee3ef6aaa92fcb3 | [
"MIT"
] | null | null | null | src/app.js | anna-liepina/loot-checker | 8ad3f3965f73a89bf7a5953bcee3ef6aaa92fcb3 | [
"MIT"
] | null | null | null | src/app.js | anna-liepina/loot-checker | 8ad3f3965f73a89bf7a5953bcee3ef6aaa92fcb3 | [
"MIT"
] | null | null | null | import React, { PureComponent } from 'react';
import Side from './component/side';
import Items from './component/items';
export default class App extends PureComponent {
constructor() {
super();
this.state = {
alliances: '',
players: '',
items: '',
... | 30.157692 | 190 | 0.411682 |
0c2d35c83d8dc2ddb44f7b36f97085b5399668f6 | 4,914 | js | JavaScript | src/Components/Header/NavBar.js | Banaanas/components-library | fcebb135bbfd12185bcd9f4aac75a8ce15119bd4 | [
"MIT"
] | null | null | null | src/Components/Header/NavBar.js | Banaanas/components-library | fcebb135bbfd12185bcd9f4aac75a8ce15119bd4 | [
"MIT"
] | null | null | null | src/Components/Header/NavBar.js | Banaanas/components-library | fcebb135bbfd12185bcd9f4aac75a8ce15119bd4 | [
"MIT"
] | 1 | 2021-09-17T18:28:23.000Z | 2021-09-17T18:28:23.000Z | import {useRef, useState} from "react";
import styled from "@emotion/styled";
import {NavLink, useLocation} from "react-router-dom";
import {usePopper} from "react-popper";
const StyledNav = styled.nav`
display: none;
@media (min-width: 710px) {
display: flex;
flex-direction: row;
align-content: cente... | 23.4 | 87 | 0.573667 |
0c2d860795d7bd547ec53bcdac3039b3f522bebe | 2,056 | js | JavaScript | old/jsCanvas/scripts/hand-drawn-polygon.js | Mickey253/hyperbolic-space-graphs | f23b071cf07e2a85a8a23a0af3aa99455f26b3e3 | [
"MIT"
] | 47 | 2015-06-14T01:50:25.000Z | 2021-11-09T09:30:00.000Z | old/jsCanvas/scripts/hand-drawn-polygon.js | Mickey253/hyperbolic-space-graphs | f23b071cf07e2a85a8a23a0af3aa99455f26b3e3 | [
"MIT"
] | 12 | 2015-06-14T03:59:41.000Z | 2019-07-31T08:50:55.000Z | old/jsCanvas/scripts/hand-drawn-polygon.js | Mickey253/hyperbolic-space-graphs | f23b071cf07e2a85a8a23a0af3aa99455f26b3e3 | [
"MIT"
] | 9 | 2015-06-14T02:25:38.000Z | 2021-01-29T15:48:13.000Z | ;
(function () {
if (typeof HyperbolicCanvas === 'undefined') {
window.HyperbolicCanvas = {};
}
if (typeof HyperbolicCanvas.scripts === 'undefined') {
window.HyperbolicCanvas.scripts = {};
}
HyperbolicCanvas.scripts['hand-drawn-polygon'] = function (canvas) {
canvas.setContextProperties({ fillSty... | 27.413333 | 82 | 0.59144 |
0c2da3eef92cc811407fe88fc7ec616092092ba2 | 5,351 | js | JavaScript | test/api/bodies-details.test.js | AEGEE/core | 62c49f3a2c1ecc7718c5a0d58b822d5e6af8a2eb | [
"Apache-2.0"
] | null | null | null | test/api/bodies-details.test.js | AEGEE/core | 62c49f3a2c1ecc7718c5a0d58b822d5e6af8a2eb | [
"Apache-2.0"
] | 423 | 2020-06-20T20:21:53.000Z | 2022-03-26T02:53:27.000Z | test/api/bodies-details.test.js | AEGEE/core | 62c49f3a2c1ecc7718c5a0d58b822d5e6af8a2eb | [
"Apache-2.0"
] | 4 | 2020-06-24T19:19:11.000Z | 2021-12-28T16:42:44.000Z | const { startServer, stopServer } = require('../../lib/server');
const { request } = require('../scripts/helpers');
const generator = require('../scripts/generator');
describe('Body details', () => {
beforeAll(async () => {
await startServer();
});
afterAll(async () => {
await stopServer()... | 33.654088 | 102 | 0.578583 |
0c2ed082372b65299648bea99f9b9cf4a0cb15f9 | 2,823 | js | JavaScript | test/test.js | eight04/inline-js-default-resources | 101b186da280e379d0d023da6f16e6041f09f58a | [
"MIT"
] | null | null | null | test/test.js | eight04/inline-js-default-resources | 101b186da280e379d0d023da6f16e6041f09f58a | [
"MIT"
] | 1 | 2019-06-05T09:20:15.000Z | 2019-06-05T09:20:15.000Z | test/test.js | eight04/inline-js-default-resources | 101b186da280e379d0d023da6f16e6041f09f58a | [
"MIT"
] | null | null | null | /* eslint-env mocha */
const assert = require("assert");
const path = require("path");
const {withDir} = require("tempdir-yaml");
describe("resource", () => {
const {createResourceLoader} = require("inline-js-core/lib/resource");
const {RESOURCES, PATH_LIKE} = require("..");
const resource = createResourceLoa... | 27.676471 | 73 | 0.534183 |
0c2eec5ce5a2084c23f3c9a5c5955e301f0b864c | 241 | js | JavaScript | src/domains/card/view/card/components/footer-card/buttons/index.js | emanuelgsouza/debate3d | 12a4f05e50ed025f6c569e844bf46113aa187ba6 | [
"MIT"
] | 3 | 2017-10-18T00:44:09.000Z | 2017-10-19T14:32:52.000Z | src/domains/card/view/card/components/footer-card/buttons/index.js | emanuelgsouza/debate3d | 12a4f05e50ed025f6c569e844bf46113aa187ba6 | [
"MIT"
] | 19 | 2017-10-21T13:26:42.000Z | 2017-11-21T01:46:20.000Z | src/domains/card/view/card/components/footer-card/buttons/index.js | debate3d/debate3d-site | 12a4f05e50ed025f6c569e844bf46113aa187ba6 | [
"MIT"
] | null | null | null | export { default as LikeButton } from './like-button.vue'
export { default as DislikeButton } from './dislike-button.vue'
export { default as FavoriteButton } from './favorite-button.vue'
export { default as Comments } from './comments.vue'
| 48.2 | 65 | 0.738589 |
0c2f15fbef8dd2963121a33135ea314f0ed28ee9 | 510 | js | JavaScript | UI/assets/js/buttons.js | Pomile/Quick-Credit | 570b2bf34e2603f8911d9bab345c4c624f3436f2 | [
"MIT"
] | 2 | 2019-06-11T19:50:46.000Z | 2019-08-07T10:53:39.000Z | UI/assets/js/buttons.js | Pomile/Quick-Credit | 570b2bf34e2603f8911d9bab345c4c624f3436f2 | [
"MIT"
] | 2 | 2019-05-15T10:37:56.000Z | 2021-01-16T15:08:47.000Z | UI/assets/js/buttons.js | Pomile/Quick-Credit | 570b2bf34e2603f8911d9bab345c4c624f3436f2 | [
"MIT"
] | 1 | 2019-08-08T17:27:13.000Z | 2019-08-08T17:27:13.000Z | export const sidedrawerBtn = document.getElementById('sidedrawer');
export const backDrobBtn = document.getElementById('backdrop');
export const backDrobBtn1 = document.getElementById('backdrop1');
export const backDrobBtn2 = document.getElementById('backdrop2');
export const signupBtn = document.getElementById('signup... | 56.666667 | 67 | 0.811765 |
0c2f8fbf327f80eb0d7d78d82609669f42925a4f | 1,966 | js | JavaScript | languages/en.js | borboss/Undefiner | b2883f951ffab6d41efec041699e2cf83d828f0d | [
"MIT"
] | null | null | null | languages/en.js | borboss/Undefiner | b2883f951ffab6d41efec041699e2cf83d828f0d | [
"MIT"
] | null | null | null | languages/en.js | borboss/Undefiner | b2883f951ffab6d41efec041699e2cf83d828f0d | [
"MIT"
] | 1 | 2021-01-14T16:10:07.000Z | 2021-01-14T16:10:07.000Z | module.exports = {
lang: "english",
commands: {
ban: {
permission: "Manage Bans",
action: "ban",
actionHappened: "banned",
}
},
global: {
permissions: {
member(command) {
return `I may be blind, but I don't see ${thi... | 39.32 | 126 | 0.528484 |
0c2f92fc237dca78a70116c5887f3c5ce7340503 | 184 | js | JavaScript | templates/helpers/m.js | addaleax/newww | ec7ed58a3406c2ebd7a121218b99349432d8d575 | [
"0BSD"
] | 4 | 2017-08-25T04:38:25.000Z | 2019-09-04T06:49:04.000Z | templates/helpers/m.js | addaleax/newww | ec7ed58a3406c2ebd7a121218b99349432d8d575 | [
"0BSD"
] | null | null | null | templates/helpers/m.js | addaleax/newww | ec7ed58a3406c2ebd7a121218b99349432d8d575 | [
"0BSD"
] | 6 | 2016-08-08T22:14:51.000Z | 2020-10-01T06:12:59.000Z | /* Manifest file reader for grabbing new static assets */
var manifest = require('../../static/rev-manifest');
module.exports = function m(filename) {
return manifest[filename];
};
| 26.285714 | 57 | 0.711957 |
0c2fbe45df2d9f79d7ded42456c02b8e478e1053 | 3,254 | js | JavaScript | src/builders/content-node-helpers.js | lynx-json/jsua-lynx | 40f9fa348e8aff0ad5e5926e614995963a207868 | [
"MIT"
] | 1 | 2017-05-03T01:28:56.000Z | 2017-05-03T01:28:56.000Z | src/builders/content-node-helpers.js | lynx-json/jsua-lynx | 40f9fa348e8aff0ad5e5926e614995963a207868 | [
"MIT"
] | 27 | 2017-03-14T17:40:50.000Z | 2022-02-12T02:23:43.000Z | src/builders/content-node-helpers.js | lynx-json/jsua-lynx | 40f9fa348e8aff0ad5e5926e614995963a207868 | [
"MIT"
] | null | null | null | import url from "url";
import { transferring } from "@lynx-json/jsua";
export var brokenContent = {
url: "",
blob: new Blob(['<svg fill="#000000" height="18" viewBox="0 0 24 24" width="18" xmlns="http://www.w3.org/2000/svg"><path d="M0 0h24v24H0z" fill="none"/><path d="M19.35 10.04C18.67 6.59 15.64 4 12 4c-1.48 0-... | 33.204082 | 579 | 0.606945 |
0c30c787ef35bed7919c47e999423d83acda5a8a | 695 | js | JavaScript | commands/new.js | enterstudio/aframe-cli | 0ca889bf3fd1f41cfda89791382befcbf6c07a3a | [
"MIT"
] | 23 | 2017-06-22T17:27:05.000Z | 2021-11-09T11:42:52.000Z | commands/new.js | enterstudio/aframe-cli | 0ca889bf3fd1f41cfda89791382befcbf6c07a3a | [
"MIT"
] | 66 | 2017-05-31T14:15:19.000Z | 2017-11-14T09:06:37.000Z | commands/new.js | enterstudio/aframe-cli | 0ca889bf3fd1f41cfda89791382befcbf6c07a3a | [
"MIT"
] | 13 | 2017-06-03T01:31:37.000Z | 2022-03-16T22:00:04.000Z | const path = require('path');
const logger = require('loggy');
const checkLegacyNewSyntax = options => {
const rawArgs = options.parent.rawArgs;
const newArgs = rawArgs.slice(rawArgs.indexOf('new') + 1);
const oldSyntax = !options.template && newArgs.length === 2;
if (!oldSyntax) { return; }
};
module.export... | 23.166667 | 65 | 0.646043 |
0c30ed943ddf0c91e30a1f24077f12143912bf11 | 3,573 | js | JavaScript | src/theme/index.js | obviousneil/me-site | 4dc05e4880b7219b2f06afa3cbe9da59ded9c465 | [
"MIT"
] | null | null | null | src/theme/index.js | obviousneil/me-site | 4dc05e4880b7219b2f06afa3cbe9da59ded9c465 | [
"MIT"
] | null | null | null | src/theme/index.js | obviousneil/me-site | 4dc05e4880b7219b2f06afa3cbe9da59ded9c465 | [
"MIT"
] | null | null | null | const spacing = {
xxl: '9em',
xl: '6rem',
lg: '4rem',
md: '2.75rem',
sm: '1rem',
xs: '0.5rem',
};
const breakpoints = {
xs: '600px',
sm: '768px',
md: '960px',
lg: '1280px',
xl: '1820px',
};
const zIndex = {};
const transitions = {
easing: {
easeIn: "cubic-bezie... | 20.894737 | 53 | 0.456479 |
0c3216f1ca671104d188cb3a9e709d90c91449f0 | 1,701 | js | JavaScript | visu/exploratory/cleanData_Files/compatibility.js | angerhang/cmuDSC | b80a362391220b0cc502679308cd3bc5f4449998 | [
"MIT"
] | null | null | null | visu/exploratory/cleanData_Files/compatibility.js | angerhang/cmuDSC | b80a362391220b0cc502679308cd3bc5f4449998 | [
"MIT"
] | null | null | null | visu/exploratory/cleanData_Files/compatibility.js | angerhang/cmuDSC | b80a362391220b0cc502679308cd3bc5f4449998 | [
"MIT"
] | null | null | null | window.onbeforeprint = function()
{
// Bail out if not IE 7.
if(window.navigator.appVersion.indexOf("MSIE 7.0") < 0)
{
return;
}
var forEach = function(collection, executor)
{
var i;
for(i=0; i<collection.length; i++)
{
executor(collection[i]);
}
};
var getComputedStylePropertyValue = fu... | 27.885246 | 120 | 0.663139 |
0c32ba6e93a327ff3cd1339b919cfec918854101 | 120 | js | JavaScript | src/main.js | rmrfslashbin/rsigler.com | 8b44ac1291299ecfd7806e707c771fe6ad7fee34 | [
"MIT"
] | null | null | null | src/main.js | rmrfslashbin/rsigler.com | 8b44ac1291299ecfd7806e707c771fe6ad7fee34 | [
"MIT"
] | 11 | 2021-07-22T20:50:25.000Z | 2021-11-26T22:00:28.000Z | src/main.js | rmrfslashbin/rsigler.com | 8b44ac1291299ecfd7806e707c771fe6ad7fee34 | [
"MIT"
] | null | null | null | import { createApp } from 'vue'
import './styles/custom.scss'
import App from './App.vue'
createApp(App).mount('#app')
| 20 | 31 | 0.691667 |
0c32bf2aa425cd65ca88711a1dc5f991d9c2913b | 230 | js | JavaScript | src/routes/Home/components/Home.js | lqs469/svg-react-playground | 34ffc7067b4bfa8ba8fa9a164917bb6cf3ff6974 | [
"MIT"
] | null | null | null | src/routes/Home/components/Home.js | lqs469/svg-react-playground | 34ffc7067b4bfa8ba8fa9a164917bb6cf3ff6974 | [
"MIT"
] | null | null | null | src/routes/Home/components/Home.js | lqs469/svg-react-playground | 34ffc7067b4bfa8ba8fa9a164917bb6cf3ff6974 | [
"MIT"
] | null | null | null | // @flow
import React from 'react'
import GridWall from 'components/GridWall'
import './Home.css'
export const Home = () => (
<div>
<h2>Welcome to svg react playground!</h2>
<GridWall />
</div>
)
export default Home
| 16.428571 | 45 | 0.652174 |
0c3329ee1ae933731d9f4bc1d9076e8abd7ae99f | 805 | js | JavaScript | WebMenuEditor/MenuXML.js | Vladimir-Novick/SysPortal | a5ee77b174393c8b5d93b672c6bbec0d89f3330d | [
"MIT"
] | null | null | null | WebMenuEditor/MenuXML.js | Vladimir-Novick/SysPortal | a5ee77b174393c8b5d93b672c6bbec0d89f3330d | [
"MIT"
] | null | null | null | WebMenuEditor/MenuXML.js | Vladimir-Novick/SysPortal | a5ee77b174393c8b5d93b672c6bbec0d89f3330d | [
"MIT"
] | 1 | 2021-11-21T07:26:10.000Z | 2021-11-21T07:26:10.000Z | function GetChildElem(eSrc,sTagName)
{
var cKids = eSrc.children;
for (var i=0;i<cKids.length;i++)
{
if (sTagName == cKids[i].tagName) return cKids[i];
}
return false;
}
function document.onclick()
{
var eSrc = window.event.srcElement;
if ("clsHasKids" == eSrc.className && (eChild = GetC... | 23.676471 | 81 | 0.636025 |
0c333945f6a242cbdb361390ba406b71ddbbbc09 | 3,195 | js | JavaScript | docs/searchindex.js | biosimulators/Biosimulators_iBioSim | 6178f3319f5200a006614b69ad691fcfc4574eaf | [
"Apache-2.0"
] | null | null | null | docs/searchindex.js | biosimulators/Biosimulators_iBioSim | 6178f3319f5200a006614b69ad691fcfc4574eaf | [
"Apache-2.0"
] | 1 | 2021-01-11T01:46:24.000Z | 2021-01-11T01:46:24.000Z | docs/searchindex.js | biosimulators/Biosimulators_iBioSim | 6178f3319f5200a006614b69ad691fcfc4574eaf | [
"Apache-2.0"
] | null | null | null | Search.setIndex({docnames:["about","genindex","index","installation","source/biosimulators_ibiosim","tutorial"],envversion:{"sphinx.domains.c":2,"sphinx.domains.changeset":1,"sphinx.domains.citation":1,"sphinx.domains.cpp":3,"sphinx.domains.index":1,"sphinx.domains.javascript":2,"sphinx.domains.math":2,"sphinx.domains.... | 3,195 | 3,195 | 0.7277 |
0c3451c1fcbc968bbf5d4c69eaace20d59ba0b1b | 6,775 | js | JavaScript | pages/playsong/playsong.js | LRChang/qqmusic | 505f89eae13ff32bc2d6e22e5af32cebe2bc7fa8 | [
"MIT"
] | 1 | 2017-10-28T02:29:46.000Z | 2017-10-28T02:29:46.000Z | pages/playsong/playsong.js | LRChang/qqmusic | 505f89eae13ff32bc2d6e22e5af32cebe2bc7fa8 | [
"MIT"
] | null | null | null | pages/playsong/playsong.js | LRChang/qqmusic | 505f89eae13ff32bc2d6e22e5af32cebe2bc7fa8 | [
"MIT"
] | null | null | null | var app = getApp();
var util = require('../../utils/util.js');
var that;
Page({
data: {
playsong: null,
songlists: null,
songUrl: '',
songImg: '',
songTitle: '',
songState: {
progress: 0,
currentPosition: '00:00',
duration: '00:00'
},
isPlaying: true,
selectedInde... | 27.653061 | 117 | 0.5569 |
0c35a37696723fcfac73da592d41ede20da89dde | 576 | js | JavaScript | test/createPromiseTest.js | congviec18120062/mysqloose | 61db16297a51f187cebce30ade757a6068dcaa5f | [
"MIT"
] | null | null | null | test/createPromiseTest.js | congviec18120062/mysqloose | 61db16297a51f187cebce30ade757a6068dcaa5f | [
"MIT"
] | 1 | 2021-05-11T10:44:54.000Z | 2021-05-11T10:44:54.000Z | test/createPromiseTest.js | congviec18120062/mysqloose | 61db16297a51f187cebce30ade757a6068dcaa5f | [
"MIT"
] | null | null | null | const User = require("./src/user");
const faker = require("faker");
const chai = require("chai");
const expect = chai.expect;
const chaiAsPromised = require("chai-as-promised");
chai.use(chaiAsPromised);
describe("Creating documents with promise", () => {
it("inserts a user", () => {
let name = faker.name.findN... | 25.043478 | 71 | 0.633681 |
0c366f3e68cb4829879a1500e2f3ac7d3ca3310b | 3,322 | js | JavaScript | js/itemManager.js | Tym17/SymbiozUtils | ba77b9e7fbfa1623fa754f499d6a6eb5d31582b5 | [
"MIT"
] | null | null | null | js/itemManager.js | Tym17/SymbiozUtils | ba77b9e7fbfa1623fa754f499d6a6eb5d31582b5 | [
"MIT"
] | null | null | null | js/itemManager.js | Tym17/SymbiozUtils | ba77b9e7fbfa1623fa754f499d6a6eb5d31582b5 | [
"MIT"
] | null | null | null | const mysql = require('mysql2');
const db = require('../dbconf.json');
const fs = require('fs');
const navigator = require('./navigator');
const Misbehave = require('misbehave');
const Prism = require('prismjs');
const remote = require('electron').remote;
const package = require('../package.json');
let itemManager = {... | 30.477064 | 88 | 0.444913 |
0c3677f67796d7d3a3cf2166b401166de4a603fa | 1,835 | js | JavaScript | widgets/tools/arcGISDynamicMapServiceLayer.js | fu-yujie/guangyang | 75258da3cce75b43bfc0866b8e741f48c98c2734 | [
"MIT"
] | 1 | 2019-08-20T06:48:08.000Z | 2019-08-20T06:48:08.000Z | widgets/tools/arcGISDynamicMapServiceLayer.js | fu-yujie/guangyang | 75258da3cce75b43bfc0866b8e741f48c98c2734 | [
"MIT"
] | null | null | null | widgets/tools/arcGISDynamicMapServiceLayer.js | fu-yujie/guangyang | 75258da3cce75b43bfc0866b8e741f48c98c2734 | [
"MIT"
] | null | null | null | /**
* Created by Administrator on 2015/10/1.
*/
define([
"dojo/_base/array"
],function(
array
){
function setLayerInfoVisible(map,layerName,layerInfoName,visible){
var layer = map.getLayer(layerName);
if(layer.loaded){
//获取所有子图层
var layerInfos = layer.layerInfos;
... | 32.192982 | 86 | 0.552589 |
0c36d628ee010ad6b1b62b361fce4d4af350b363 | 261 | js | JavaScript | test/map/index.js | JackEasons/esl | e7a0790fa65ef6a1d642940250152cef72816ff1 | [
"BSD-3-Clause"
] | 771 | 2015-01-03T02:00:21.000Z | 2022-03-11T01:48:55.000Z | test/map/index.js | JackEasons/esl | e7a0790fa65ef6a1d642940250152cef72816ff1 | [
"BSD-3-Clause"
] | 49 | 2015-01-04T08:22:02.000Z | 2019-11-19T08:22:02.000Z | test/map/index.js | JackEasons/esl | e7a0790fa65ef6a1d642940250152cef72816ff1 | [
"BSD-3-Clause"
] | 244 | 2015-01-04T02:55:08.000Z | 2022-01-27T10:19:10.000Z | define(function (require) {
var view = require('./view');
var lib = require('./lib');
return {
name: 'map/index',
check: function () {
return view.name === 'map/view' && lib.name === 'map/betterlib';
}
};
}); | 23.727273 | 76 | 0.482759 |
0c376e738c94f1997cb668e641448d0564277fba | 3,592 | js | JavaScript | starbeat-core/src/components/Setting.js | kirainmoe/tongfang-hackintosh-utility | 3659be8c01f614c22fb754eaad5b8fa9e403aeac | [
"MIT"
] | 99 | 2020-03-05T14:17:22.000Z | 2021-11-04T10:19:02.000Z | starbeat-core/src/components/Setting.js | kirainmoe/tongfang-hackintosh-utility | 3659be8c01f614c22fb754eaad5b8fa9e403aeac | [
"MIT"
] | 42 | 2020-03-25T12:51:32.000Z | 2021-11-04T14:00:44.000Z | starbeat-core/src/components/Setting.js | kirainmoe/tongfang-hackintosh-utility | 3659be8c01f614c22fb754eaad5b8fa9e403aeac | [
"MIT"
] | 10 | 2020-04-25T04:15:57.000Z | 2021-04-23T18:41:57.000Z | import React, { Component } from "react";
import { Form, Input, Button, message } from "antd";
import str from "../resource/string";
import "../styles/Setting.styl";
export default class Setting extends Component {
onFinish = (values) => {
message.success(str("settingApplied"));
localStorage.setItem("tfu-d... | 32.954128 | 134 | 0.550947 |
0c394795422d4552d62c65eeaed1250af21ea509 | 78 | js | JavaScript | docs/search--/s_5252.js | Zalexanninev15/VitNX | 43f2dd04b8ba97c4a78ae51a99e7980a6b9b85a9 | [
"MIT"
] | 2 | 2022-01-25T12:09:46.000Z | 2022-01-27T11:26:48.000Z | docs/search--/s_5252.js | Zalexanninev15/VitNX | 43f2dd04b8ba97c4a78ae51a99e7980a6b9b85a9 | [
"MIT"
] | null | null | null | docs/search--/s_5252.js | Zalexanninev15/VitNX | 43f2dd04b8ba97c4a78ae51a99e7980a6b9b85a9 | [
"MIT"
] | null | null | null | search_result['5252']=["topic_0000000000001382.html","_TextChanged Event",""]; | 78 | 78 | 0.769231 |
0c3974bd295979d7dfebf2f9787812c9ce82fb89 | 331 | js | JavaScript | imports/ui/message.js | AdrianKrebs/chatbot-bootstrap | 6d77c329bf017336b4a88d2fccc09a7f521de58b | [
"MIT"
] | 26 | 2017-04-23T22:54:38.000Z | 2020-12-19T10:21:51.000Z | imports/ui/message.js | AdrianKrebs/chatbot-bootstrap | 6d77c329bf017336b4a88d2fccc09a7f521de58b | [
"MIT"
] | 3 | 2019-02-06T18:25:13.000Z | 2019-02-13T01:36:46.000Z | imports/ui/message.js | AdrianKrebs/chatbot-bootstrap | 6d77c329bf017336b4a88d2fccc09a7f521de58b | [
"MIT"
] | 10 | 2017-04-30T01:27:53.000Z | 2019-11-16T09:52:38.000Z | import { Meteor } from 'meteor/meteor';
import { Template } from 'meteor/templating';
import './message.html';
import './answer_options.html';
Template.message.helpers({
userIsBot(user) {
return user == 'bot';
}
});
Template.message.events({
'click .delete'() {
Meteor.call('messages.remove', this._id... | 18.388889 | 45 | 0.646526 |
0c3a21f87874197a2adecc433b990f831ebbd0d7 | 49,103 | js | JavaScript | public/js/module/Application/Index/Helper.js | willianspalaor/project-stream | 520f2538d0da2aba2c8cd42a8810ea256041b3b3 | [
"BSD-3-Clause"
] | null | null | null | public/js/module/Application/Index/Helper.js | willianspalaor/project-stream | 520f2538d0da2aba2c8cd42a8810ea256041b3b3 | [
"BSD-3-Clause"
] | null | null | null | public/js/module/Application/Index/Helper.js | willianspalaor/project-stream | 520f2538d0da2aba2c8cd42a8810ea256041b3b3 | [
"BSD-3-Clause"
] | null | null | null | let App_Helper = new (function () {
let _content = null;
let _containerFluid = null;
let _containerCarousel = null;
let _column = null;
let _carousel = null;
let _carouselInner = null;
let _carouselId = null;
let _loader = null;
let _loaderLogin = null;
let _containerNavbar = nu... | 28.026826 | 1,665 | 0.453292 |
0c3a46c91c93e5a192d19180c77c422bc34dd0f4 | 1,924 | js | JavaScript | src/index.js | donkeyclip/motorcortex-2dcam | 74e0703b02ebf0ce9237cd24595b3cc5ab44386b | [
"MIT"
] | null | null | null | src/index.js | donkeyclip/motorcortex-2dcam | 74e0703b02ebf0ce9237cd24595b3cc5ab44386b | [
"MIT"
] | 31 | 2021-09-24T13:23:08.000Z | 2022-03-31T22:52:36.000Z | src/index.js | donkeyclip/motorcortex-2dcam | 74e0703b02ebf0ce9237cd24595b3cc5ab44386b | [
"MIT"
] | 1 | 2022-01-13T16:44:49.000Z | 2022-01-13T16:44:49.000Z | import ZoomTo from "./Incidents/ZoomTo";
import FollowPath from "./Incidents/FollowPath";
import { name, version } from "../package.json";
export default {
npm_name: name,
version: version,
incidents: [
{
exportable: ZoomTo,
name: "ZoomTo",
attributesValidationRules: {
animatedAttrs... | 21.863636 | 48 | 0.339397 |
0c3aa35eb7585bafd92844fa1c166bb84726c6b5 | 408 | js | JavaScript | JavaScript/vue/vue_webpack/webpack.config.js | castial/CodeSnippets | dba619949976261610869c6d928062196a50929e | [
"MIT"
] | 1 | 2020-06-03T20:50:02.000Z | 2020-06-03T20:50:02.000Z | JavaScript/vue/vue_webpack/webpack.config.js | castial/CodeSnippets | dba619949976261610869c6d928062196a50929e | [
"MIT"
] | 5 | 2021-03-09T20:24:45.000Z | 2022-02-26T19:01:13.000Z | JavaScript/vue/vue_webpack/webpack.config.js | castial/CodeSnippets | dba619949976261610869c6d928062196a50929e | [
"MIT"
] | null | null | null | const VueLoaderPlugin = require('./node_modules/vue-loader/lib/plugin')
module.exports = {
entry: './main.js',
output: {
filename: 'bundle.js'
},
module: {
rules: [
{test:/\.vue$/,use:'vue-loader'}
]
},
plugins: [
new VueLoaderPlugin()
],
reso... | 19.428571 | 71 | 0.453431 |
0c3befe44fef6853de9745f8f8f5384162ed2af8 | 4,288 | js | JavaScript | test/integration/specs/list/list_spec.js | typecode/typester | 6e81233d4046474105c2d238643fba3f00a1606e | [
"Unlicense",
"MIT"
] | 28 | 2018-04-19T00:51:35.000Z | 2021-01-30T23:44:02.000Z | test/integration/specs/list/list_spec.js | typecode/typester | 6e81233d4046474105c2d238643fba3f00a1606e | [
"Unlicense",
"MIT"
] | 39 | 2018-03-06T18:48:02.000Z | 2022-02-26T11:32:11.000Z | test/integration/specs/list/list_spec.js | typecode/typester | 6e81233d4046474105c2d238643fba3f00a1606e | [
"Unlicense",
"MIT"
] | 2 | 2019-06-04T14:04:37.000Z | 2021-06-23T04:29:03.000Z | /*global cy*/
describe('List specs', function () {
beforeEach(function () {
cy.contentEditable().setSampleContent('paragraph');
cy.toolbar().should('not.be.visible');
cy.contentEditable().selectAll();
});
it('should create/toggle OL', function () {
cy.toolbarClick('orderedli... | 42.88 | 73 | 0.663713 |