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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
f8d0d11b5929f1e8ef9d218696b7d8e62e7c2e2f | 1,248 | js | JavaScript | omc_doxygen/html/class_range_symbol.js | openmpp/openmpp.github.io | 11902bf6b814edfe4d230d98723af4b8d523d44f | [
"MIT"
] | null | null | null | omc_doxygen/html/class_range_symbol.js | openmpp/openmpp.github.io | 11902bf6b814edfe4d230d98723af4b8d523d44f | [
"MIT"
] | null | null | null | omc_doxygen/html/class_range_symbol.js | openmpp/openmpp.github.io | 11902bf6b814edfe4d230d98723af4b8d523d44f | [
"MIT"
] | null | null | null | var class_range_symbol =
[
[ "RangeSymbol", "class_range_symbol.html#a78648b3c86477aa3efb65d9f4418567a", null ],
[ "cxx_declaration_global", "class_range_symbol.html#afaa7dafc938f36450c4835905357f5b5", null ],
[ "cxx_definition_global", "class_range_symbol.html#a5d98944954425c49d17aabe244496685", null ],
... | 78 | 100 | 0.786058 |
f8d1259c8997ff3e87d9ee4a50aa0a1b04eb98e4 | 3,266 | js | JavaScript | dist/chain/executer/reducer.js | rickzx98/fluid-func | 2b624cfd392a84b6f29c51df154a9ecd793dfdb1 | [
"MIT"
] | null | null | null | dist/chain/executer/reducer.js | rickzx98/fluid-func | 2b624cfd392a84b6f29c51df154a9ecd793dfdb1 | [
"MIT"
] | 4 | 2018-04-30T07:02:32.000Z | 2018-12-24T16:42:12.000Z | dist/chain/executer/reducer.js | rickzx98/fluid-func | 2b624cfd392a84b6f29c51df154a9ecd793dfdb1 | [
"MIT"
] | 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 ("... | 52.677419 | 564 | 0.553276 |
f8d39dcec40221435ed963852b722ce2a17e9bf5 | 302 | js | JavaScript | src/components/SubSection/style.js | araphel/website | feaf811bd828fbb07b1cde37f062bffda441b32d | [
"Apache-2.0"
] | null | null | null | src/components/SubSection/style.js | araphel/website | feaf811bd828fbb07b1cde37f062bffda441b32d | [
"Apache-2.0"
] | null | null | null | src/components/SubSection/style.js | araphel/website | feaf811bd828fbb07b1cde37f062bffda441b32d | [
"Apache-2.0"
] | null | null | null | import styled from 'styled-components';
import { margins } from '../../theme';
export const SectionContainer = styled.section`
${margins}
@supports (display: grid) {
margin-top: 0;
}
grid-area: subsection;
@media all and (max-width: 992px) {
grid-column-gap: 0.5rem;
}
`;
| 17.764706 | 47 | 0.629139 |
f8d41e40340f2fd386105941b77190db5cc05314 | 588 | js | JavaScript | src/test/pages/movieDetails.page.js | snekse/redbox-protractor-tests | ca34bbaf6b7d5dbee5a8d430e7c13c5a6dd3e45c | [
"MIT"
] | 1 | 2016-11-09T12:03:40.000Z | 2016-11-09T12:03:40.000Z | src/test/pages/movieDetails.page.js | snekse/redbox-protractor-tests | ca34bbaf6b7d5dbee5a8d430e7c13c5a6dd3e45c | [
"MIT"
] | null | null | null | src/test/pages/movieDetails.page.js | snekse/redbox-protractor-tests | ca34bbaf6b7d5dbee5a8d430e7c13c5a6dd3e45c | [
"MIT"
] | null | null | null | var MovieDetailsPage = function() {
var _self = this;
var dvdButton = element.all(by.css('.find_dvd .ui-button-text')).first();
var searchInput = element.all(by.css('#buttonset0_StoreDialog .search-location-field #buttonset0_StorePicker_SearchBox')).first();
this.clickHoldDvd = function() {
return dvdButto... | 29.4 | 132 | 0.715986 |
f8d470b382b1f35f4fe7c0c03cda9cc224682711 | 1,201 | js | JavaScript | hacks.js | cakemanny/lestgern | 8720f8d1d68bcbd0901670bbc9f85d6dc78bbbcb | [
"MIT"
] | null | null | null | hacks.js | cakemanny/lestgern | 8720f8d1d68bcbd0901670bbc9f85d6dc78bbbcb | [
"MIT"
] | null | null | null | hacks.js | cakemanny/lestgern | 8720f8d1d68bcbd0901670bbc9f85d6dc78bbbcb | [
"MIT"
] | null | null | null |
window.importData = function () {
let input = document.createElement('input');
input.type = 'file';
input.onchange = function () {
const file = input.files[0];
if (file) {
file.text().then(text => {
window.importedData = JSON.parse(text);
console.log(
... | 26.108696 | 94 | 0.573689 |
f8d475b126aa969416b5f3c0ce7fd62bcc09598a | 915 | js | JavaScript | Axios/axios.js | Dmusketeer/NodeJS | 7289564c55619184364379414310527642b93133 | [
"MIT"
] | 1 | 2021-11-15T10:24:46.000Z | 2021-11-15T10:24:46.000Z | Axios/axios.js | Dmusketeer/NodeJS | 7289564c55619184364379414310527642b93133 | [
"MIT"
] | null | null | null | Axios/axios.js | Dmusketeer/NodeJS | 7289564c55619184364379414310527642b93133 | [
"MIT"
] | 1 | 2021-10-04T07:35:56.000Z | 2021-10-04T07:35:56.000Z | const axios = require('axios');
const fs = require('fs')
// Axios GET request with callbacks
// axios.get('http://webcode.me').then(res => {
// console.log(res.data)
// })
// Axios GET request with async / await
async function getRequest() {
let res = await axios.get('http://webcode.me')
let data = res.d... | 21.27907 | 75 | 0.662295 |
f8d605480174da98e08d541d0b956686c01fd805 | 858 | js | JavaScript | config/cards.js | reacto11mecha/wuno-bot | 303ff4b972e4b38fc33dca181fe5d76e30003c66 | [
"MIT"
] | 1 | 2021-12-07T10:06:53.000Z | 2021-12-07T10:06:53.000Z | config/cards.js | reacto11mecha/wuno-bot | 303ff4b972e4b38fc33dca181fe5d76e30003c66 | [
"MIT"
] | null | null | null | config/cards.js | reacto11mecha/wuno-bot | 303ff4b972e4b38fc33dca181fe5d76e30003c66 | [
"MIT"
] | null | null | null | export default [
"red0",
"red1",
"red2",
"red3",
"red4",
"red5",
"red6",
"red7",
"red8",
"red9",
"wildred",
"wilddraw4red",
"green0",
"green1",
"green2",
"green3",
"green4",
"green5",
"green6",
"green7",
"green8",
"green9",
"wildgreen",
"wilddraw4green",
"blue0",
"b... | 11.44 | 20 | 0.539627 |
f8d6cc06177232f699c14aa6c576636ef27afcf2 | 1,279 | js | JavaScript | src/cqrs/command-handler/command-handler.class.js | davidnussio/feathers-cqrs-demo | c06a81ea67d9cc03b6424794ea26297674d0b3c3 | [
"MIT"
] | null | null | null | src/cqrs/command-handler/command-handler.class.js | davidnussio/feathers-cqrs-demo | c06a81ea67d9cc03b6424794ea26297674d0b3c3 | [
"MIT"
] | null | null | null | src/cqrs/command-handler/command-handler.class.js | davidnussio/feathers-cqrs-demo | c06a81ea67d9cc03b6424794ea26297674d0b3c3 | [
"MIT"
] | null | null | null | /* eslint-disable no-unused-vars */
const { Conflict } = require("@feathersjs/errors");
const Validator = require("fastest-validator");
const logger = require("../../logger");
exports.CommandHandler = class CommandHandler {
constructor(options, app) {
this.options = options || {};
this.app = app;
this.ex... | 27.804348 | 76 | 0.620016 |
f8d8ce20b53f827c7a0907ffb4d88463dd76f409 | 2,156 | js | JavaScript | lib/index.js | Namamono1129/threejs-imageloader-mock | bcfea4605f0c5e3ec6f9c18667ee21424b83d226 | [
"MIT"
] | null | null | null | lib/index.js | Namamono1129/threejs-imageloader-mock | bcfea4605f0c5e3ec6f9c18667ee21424b83d226 | [
"MIT"
] | null | null | null | lib/index.js | Namamono1129/threejs-imageloader-mock | bcfea4605f0c5e3ec6f9c18667ee21424b83d226 | [
"MIT"
] | null | null | null | "use strict";
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enu... | 31.705882 | 317 | 0.667904 |
f8d90d5e97dff7737175e4ca357094f69ada89e4 | 2,457 | js | JavaScript | third_party/ComputeLibrary/documentation/search/defines_6.js | gautamkmr/caffe2 | cde7f21d1e34ec714bc08dbfab945a1ad30e92ff | [
"MIT"
] | 1 | 2018-08-02T06:49:04.000Z | 2018-08-02T06:49:04.000Z | third_party/ComputeLibrary/documentation/search/defines_6.js | gautamkmr/caffe2 | cde7f21d1e34ec714bc08dbfab945a1ad30e92ff | [
"MIT"
] | null | null | null | third_party/ComputeLibrary/documentation/search/defines_6.js | gautamkmr/caffe2 | cde7f21d1e34ec714bc08dbfab945a1ad30e92ff | [
"MIT"
] | null | null | null | var searchData=
[
['fixture_5fdata_5fsetup',['FIXTURE_DATA_SETUP',['../tests_2framework_2_macros_8h.xhtml#ab10b1385f1891ea74430f2e623b09961',1,'Macros.h']]],
['fixture_5fdata_5ftest_5fcase',['FIXTURE_DATA_TEST_CASE',['../tests_2framework_2_macros_8h.xhtml#a42699a26fbdddf91da4aa58a610bb8a8',1,'Macros.h']]],
['fixt... | 136.5 | 508 | 0.826618 |
f8d90ffceac85180b93b476b335def6b5dc9af8d | 254 | js | JavaScript | src/plugins/table.js | foundations/artemis | 2619f1ba3ed888d0bd7670234002169aa9de77e9 | [
"MIT"
] | null | null | null | src/plugins/table.js | foundations/artemis | 2619f1ba3ed888d0bd7670234002169aa9de77e9 | [
"MIT"
] | null | null | null | src/plugins/table.js | foundations/artemis | 2619f1ba3ed888d0bd7670234002169aa9de77e9 | [
"MIT"
] | null | null | null | import Vue from 'vue'
import VXETable from 'vxe-table'
import 'vxe-table/lib/style.css'
import VXETablePluginElement from 'vxe-table-plugin-element'
import 'vxe-table-plugin-element/dist/style.css'
VXETable.use(VXETablePluginElement)
Vue.use(VXETable)
| 25.4 | 60 | 0.80315 |
f8d94b81f3a706b93201e12a08f0b4011e1afadf | 138 | js | JavaScript | config.js | pankhil7/TodoProject | 11035110d3b91dec1e17ed4dcba5475e90d96452 | [
"MIT"
] | null | null | null | config.js | pankhil7/TodoProject | 11035110d3b91dec1e17ed4dcba5475e90d96452 | [
"MIT"
] | null | null | null | config.js | pankhil7/TodoProject | 11035110d3b91dec1e17ed4dcba5475e90d96452 | [
"MIT"
] | null | null | null | const port=5555;
const url="mongodb://localhost:27017/";
const dbname="todo";
const urldb=url+dbname;
module.exports={port,urldb}; | 19.714286 | 40 | 0.710145 |
f8d9836a1bef723d0ce61286edb00cc2c388e5da | 1,632 | js | JavaScript | server/index.js | dimitur2204/Bookify | b608d27d61d77a9cdf430ec679c3d4cd9b8187db | [
"Apache-2.0",
"Unlicense"
] | 1 | 2020-12-11T13:57:39.000Z | 2020-12-11T13:57:39.000Z | server/index.js | dimitur2204/Bookify | b608d27d61d77a9cdf430ec679c3d4cd9b8187db | [
"Apache-2.0",
"Unlicense"
] | null | null | null | server/index.js | dimitur2204/Bookify | b608d27d61d77a9cdf430ec679c3d4cd9b8187db | [
"Apache-2.0",
"Unlicense"
] | null | null | null | global.__basedir = __dirname;
const path = require('path');
require('dotenv').config({path:path.resolve('./config/.env')});
const express = require('express');
const bodyParser = require('body-parser');
const cookieParser = require('cookie-parser');
const cors = require('cors');
const { server: {port, cors: corsConfi... | 30.792453 | 74 | 0.681373 |
f8db01006929e64a78de35afe333c6de171db983 | 1,232 | js | JavaScript | routes/auth.js | passport/todos-express-openidconnect | 28bc37be6b749a49bbf90214e43255b8fcc915f9 | [
"Unlicense"
] | 14 | 2016-07-22T23:36:12.000Z | 2020-08-09T21:39:13.000Z | routes/auth.js | passport/todos-express-openidconnect | 28bc37be6b749a49bbf90214e43255b8fcc915f9 | [
"Unlicense"
] | 2 | 2016-08-04T10:54:25.000Z | 2017-06-13T21:09:09.000Z | routes/auth.js | passport/express-4.x-openidconnect-example | 28bc37be6b749a49bbf90214e43255b8fcc915f9 | [
"Unlicense"
] | 13 | 2015-11-10T09:53:40.000Z | 2019-08-05T16:57:22.000Z | var express = require('express');
var passport = require('passport');
var OpenIDConnectStrategy = require('passport-openidconnect');
passport.use(new OpenIDConnectStrategy({
issuer: 'https://server.example.com',
authorizationURL: 'https://server.example.com/authorize',
tokenURL: 'https://server.example.com/toke... | 26.212766 | 79 | 0.698864 |
f8de54e9d5d2e549c7cccf966e6e27fa9c1477d0 | 4,507 | js | JavaScript | src/screens/Player.js | Zizwar/mushaf-mauri | 070c578abf95f588af5c655f415ede174c602e91 | [
"MIT"
] | 3 | 2021-08-29T12:35:20.000Z | 2022-01-25T20:23:51.000Z | src/screens/Player.js | Zizwar/mushaf-mauri | 070c578abf95f588af5c655f415ede174c602e91 | [
"MIT"
] | null | null | null | src/screens/Player.js | Zizwar/mushaf-mauri | 070c578abf95f588af5c655f415ede174c602e91 | [
"MIT"
] | 1 | 2021-09-27T14:21:21.000Z | 2021-09-27T14:21:21.000Z | //import Expo, { FileSystem as FS, Asset, SQLite } from "expo";
import React, { Component } from "react";
import { ActivityIndicator } from "react-native";
import {
Container,
Header,
Content,
Button,
List,
ListItem,
Body,
Card,
Left,
Right,
Text,
} from "native-base";
import { connect } from "rea... | 25.320225 | 86 | 0.508986 |
f8ded433f397218d84fa8288519140b241d650d6 | 23,097 | js | JavaScript | src/componentsNad/print.component.js | BR-Faria-Netto/SystemSOF | f88038583714e4cd473c18f17ab4173cc3ef6dbf | [
"MIT"
] | 1 | 2020-07-21T21:59:17.000Z | 2020-07-21T21:59:17.000Z | src/componentsNad/print.component.js | Ronaldofaria/SystemSOF | f88038583714e4cd473c18f17ab4173cc3ef6dbf | [
"MIT"
] | 6 | 2020-08-14T22:18:07.000Z | 2020-08-14T22:18:09.000Z | src/componentsNad/print.component.js | BR-Faria-Netto/SystemSOF | f88038583714e4cd473c18f17ab4173cc3ef6dbf | [
"MIT"
] | 1 | 2020-09-02T12:05:21.000Z | 2020-09-02T12:05:21.000Z | import React, { Component } from 'react';
import axios from 'axios';
import serverapi from '../serverapi';
import CurrencyInput from '../componentsCurrency/CurrencyInput'
import InputMask from 'react-input-mask';
const logo = require('../images/logoRJ.png');
export default class PrintNad extends Component {
con... | 48.523109 | 215 | 0.484219 |
f8e013f910d133de570cd355c24b01fbc2a3564b | 30,784 | js | JavaScript | js/main.js | abc3dz/YingLaek | e630676189e4909c0409d17839e21c85a956cdb9 | [
"MIT"
] | 1 | 2020-08-11T23:58:38.000Z | 2020-08-11T23:58:38.000Z | js/main.js | abc3dz/YingLak | e630676189e4909c0409d17839e21c85a956cdb9 | [
"MIT"
] | null | null | null | js/main.js | abc3dz/YingLak | e630676189e4909c0409d17839e21c85a956cdb9 | [
"MIT"
] | null | null | null | if ( WEBGL.isWebGLAvailable() === false ) {
document.body.appendChild( WEBGL.getWebGLErrorMessage() );
}
Physijs.scripts.worker = "./js/lib/physijs_worker.js";
Physijs.scripts.ammo = "ammo.js";
var camera, scene, dlight, renderer, effcutout
var numPower = 180, powerBarNum = 100
var clock = new THREE.Clock()
var goalk... | 38.52816 | 140 | 0.688442 |
f8e060d3b6b1a003bf2bf7effeb19a423adfe1f5 | 993 | js | JavaScript | src/lib/operations/operation.test.js | mrozbarry/declarativas | c4c5cb05ccc7a1a7bcf61a12df684c5144247b6f | [
"MIT"
] | 5 | 2020-05-30T21:20:05.000Z | 2021-12-13T01:24:15.000Z | src/lib/operations/operation.test.js | mrozbarry/declarativas | c4c5cb05ccc7a1a7bcf61a12df684c5144247b6f | [
"MIT"
] | null | null | null | src/lib/operations/operation.test.js | mrozbarry/declarativas | c4c5cb05ccc7a1a7bcf61a12df684c5144247b6f | [
"MIT"
] | null | null | null | import test from 'ava';
import sinon from 'sinon';
import { make } from './operation';
test('it creates build and exec methods', (t) => {
const foo = make('foo', () => {});
t.is(typeof foo.build, 'function');
t.is(typeof foo.exec, 'function');
});
test('.build() creates a canvas render node', (t) => {
const ... | 23.093023 | 90 | 0.562941 |
f8e1fb4837dd3d9b3fdfb2a6c4f000170b570129 | 189 | js | JavaScript | libraries/hmmChase/ProjectLink/ProjectLink.stories.js | hmmChase/hmmUI | 90a63b64a6d2515f602cdd5bf0e38e65c701e084 | [
"RSA-MD"
] | null | null | null | libraries/hmmChase/ProjectLink/ProjectLink.stories.js | hmmChase/hmmUI | 90a63b64a6d2515f602cdd5bf0e38e65c701e084 | [
"RSA-MD"
] | null | null | null | libraries/hmmChase/ProjectLink/ProjectLink.stories.js | hmmChase/hmmUI | 90a63b64a6d2515f602cdd5bf0e38e65c701e084 | [
"RSA-MD"
] | null | null | null | import { ProjectLink } from './ProjectLink';
export default { title: 'libraries/hmmChase', component: ProjectLink };
export const projectLink = () => <ProjectLink>click me</ProjectLink>;
| 31.5 | 71 | 0.730159 |
f8e4016108d3153dbc1c66c856cf67e4e6f4ca0c | 314 | js | JavaScript | test/fixtures/apps/options-require/inject.js | kiddnoke/egg-cluster | 63d68f299e31a93f98f45a9d236974d83e50f3b7 | [
"MIT"
] | 210 | 2016-08-29T02:55:31.000Z | 2022-01-28T02:03:17.000Z | test/fixtures/apps/options-require/inject.js | kiddnoke/egg-cluster | 63d68f299e31a93f98f45a9d236974d83e50f3b7 | [
"MIT"
] | 94 | 2016-07-25T11:45:16.000Z | 2021-11-15T06:07:34.000Z | test/fixtures/apps/options-require/inject.js | kiddnoke/egg-cluster | 63d68f299e31a93f98f45a9d236974d83e50f3b7 | [
"MIT"
] | 68 | 2017-02-10T04:02:23.000Z | 2021-11-12T08:23:38.000Z | 'use strict';
// in travis, the argv[2] is special
const index = process.argv.length - 2;
const file = process.argv[index];
console.log('###', process.argv);
if (file.includes('app_worker')) {
console.log('### inject application');
}
if (file.includes('agent_worker')) {
console.log('### inject agent');
}
| 19.625 | 40 | 0.656051 |
f8e4e894f58a25c74192fa31942a7df997415993 | 633 | js | JavaScript | src/Actions/index.js | Rashad-Muntar/21-days | 35c953a417ffef71402260ac17412c853cc22ae7 | [
"MIT"
] | 1 | 2021-11-18T21:16:22.000Z | 2021-11-18T21:16:22.000Z | src/Actions/index.js | Rashad-Muntar/21-days | 35c953a417ffef71402260ac17412c853cc22ae7 | [
"MIT"
] | null | null | null | src/Actions/index.js | Rashad-Muntar/21-days | 35c953a417ffef71402260ac17412c853cc22ae7 | [
"MIT"
] | null | null | null | export const categoryAction = (data) => ({
type: 'FETCH-CATEGORIES',
data,
});
export const signInUserAction = (login) => ({
type: 'SIGN-IN',
login,
});
export const signUpUserAction = (signup) => ({
type: 'SIGN-UP',
signup,
});
export const setLogginAction = (logout) => ({
type: 'SET-LOGIN-USER',
lo... | 16.657895 | 46 | 0.608215 |
f8e5a4fe4cc92c49cab4ebdec56d3626b9ad331d | 1,029 | js | JavaScript | js/app.js | GrindToday/grindapp | efb3650f3d414f1c9e9a75b633c5550d25d9d4c2 | [
"MIT"
] | 1 | 2018-07-15T19:10:57.000Z | 2018-07-15T19:10:57.000Z | js/app.js | GrindToday/grindapp | efb3650f3d414f1c9e9a75b633c5550d25d9d4c2 | [
"MIT"
] | 3 | 2017-02-10T08:14:15.000Z | 2017-02-12T18:40:51.000Z | js/app.js | GrindToday/grindapp | efb3650f3d414f1c9e9a75b633c5550d25d9d4c2 | [
"MIT"
] | 1 | 2021-07-26T14:32:16.000Z | 2021-07-26T14:32:16.000Z | /*global $ */
/*jshint unused:false */
var app = app || {};
var ENTER_KEY = 13;
var ESC_KEY = 27;
$(function () {
'use strict';
// kick things off by creating the `App`
new app.AppView();
// initialize timer clock
startTime();
var randomized = Math.round(19000 + (Math.random() * 899));
$('body').cs... | 26.384615 | 125 | 0.594752 |
f8e60c98b39db00509d1d9b5b7f92565dde50897 | 34,749 | js | JavaScript | mapJs/haikou.js | Anguei/CengFanMap | 05ff37da0e1b75bd2fcbe4ffc5ba4ec8c7aa6bfa | [
"Apache-2.0"
] | 1 | 2021-07-25T02:08:36.000Z | 2021-07-25T02:08:36.000Z | mapJs/haikou.js | Anguei/CengFanMap | 05ff37da0e1b75bd2fcbe4ffc5ba4ec8c7aa6bfa | [
"Apache-2.0"
] | null | null | null | mapJs/haikou.js | Anguei/CengFanMap | 05ff37da0e1b75bd2fcbe4ffc5ba4ec8c7aa6bfa | [
"Apache-2.0"
] | null | null | null | var haikouJson = {"type":"FeatureCollection","features":[{"type":"Feature","properties":{"adcode":460105,"name":"秀英区","center":[110.282393,20.008145],"centroid":[110.229218,19.907335],"childrenNum":0,"level":"district","parent":{"adcode":460100},"subFeatureIndex":0,"acroutes":[100000,460000,460100]},"geometry":{"type"... | 17,374.5 | 34,709 | 0.735129 |
f8e6e5efaec2ae09394ae4b8247f4724239e3842 | 1,614 | js | JavaScript | components/inspectit-ocelot-configurationserver-ui/src/redux/ducks/authentication/actions.js | tangerstein/inspectit-oce | 3230b12bea93df92ddf2b15b2ef876380efc6c45 | [
"Apache-2.0"
] | null | null | null | components/inspectit-ocelot-configurationserver-ui/src/redux/ducks/authentication/actions.js | tangerstein/inspectit-oce | 3230b12bea93df92ddf2b15b2ef876380efc6c45 | [
"Apache-2.0"
] | null | null | null | components/inspectit-ocelot-configurationserver-ui/src/redux/ducks/authentication/actions.js | tangerstein/inspectit-oce | 3230b12bea93df92ddf2b15b2ef876380efc6c45 | [
"Apache-2.0"
] | null | null | null | import * as types from "./types";
import { axiosPlain } from "../../../lib/axios-api";
import axiosBearer from "../../../lib/axios-api";
import { configurationActions } from "../configuration";
/**
* Fetches an access token for the given credentials.
*
* @param {string} username
* @param {string} password
*/
expo... | 24.454545 | 84 | 0.560719 |
f8e832c7757ea02bf2935b37292aa881eb211b66 | 441 | js | JavaScript | bot/commands/moderation/filter.js | thennal10/discord-mod-bot | 2239c70011bff53f5855b2aa2836c1b4bdf82cb9 | [
"MIT"
] | 2 | 2021-04-20T05:29:57.000Z | 2021-04-20T05:31:39.000Z | bot/commands/moderation/filter.js | thennal10/discord-mod-bot | 2239c70011bff53f5855b2aa2836c1b4bdf82cb9 | [
"MIT"
] | null | null | null | bot/commands/moderation/filter.js | thennal10/discord-mod-bot | 2239c70011bff53f5855b2aa2836c1b4bdf82cb9 | [
"MIT"
] | 1 | 2021-04-20T05:30:13.000Z | 2021-04-20T05:30:13.000Z | const {Command} = require('yuuko');
const config = require('../../../config');
function filterConfigURL (guildID) {
return `${config.web.host}/guilds/${guildID}/filter`;
}
module.exports = new Command(['filter', 'filters'], msg => {
const url = filterConfigURL(msg.channel.guild.id);
msg.channel.createMessage(`Edit... | 25.941176 | 85 | 0.653061 |
f8e8585d0d930b1e5b1956aa5d82b5412152e879 | 1,729 | js | JavaScript | src/storage/filesystem.js | OctaveSand/lorebot | 5a3fc8438ab4679ecde33fc49f31eee9ded2be72 | [
"MIT"
] | null | null | null | src/storage/filesystem.js | OctaveSand/lorebot | 5a3fc8438ab4679ecde33fc49f31eee9ded2be72 | [
"MIT"
] | null | null | null | src/storage/filesystem.js | OctaveSand/lorebot | 5a3fc8438ab4679ecde33fc49f31eee9ded2be72 | [
"MIT"
] | null | null | null | 'use strict'
const fs = require('fs')
const home = './records'
const fn_regex = /.json$/
/* sample record:
{ title:The og dick-girl,
uid:5,
tags:[speria, godlore, origin story,dickgirls ],
roles:[futanari_citizen],
body:In the beginning, there were gods, and the women who fucked them. And amoung these, was Sp... | 23.053333 | 135 | 0.653557 |
f8e85a912a37ab1040c99c7a27f42acf19d202f7 | 3,745 | js | JavaScript | src/Component/Validator/src/Constraints/ChoiceValidator.js | fossabot/jymfony | a8426a16b85b4136fe1a0b50a048ce8ec6dbe64f | [
"MIT"
] | 24 | 2017-01-08T13:09:16.000Z | 2022-03-17T16:25:21.000Z | src/Component/Validator/src/Constraints/ChoiceValidator.js | fossabot/jymfony | a8426a16b85b4136fe1a0b50a048ce8ec6dbe64f | [
"MIT"
] | 28 | 2017-08-03T13:16:32.000Z | 2020-09-05T02:05:51.000Z | src/Component/Validator/src/Constraints/ChoiceValidator.js | fossabot/jymfony | a8426a16b85b4136fe1a0b50a048ce8ec6dbe64f | [
"MIT"
] | 7 | 2017-01-08T13:09:35.000Z | 2019-07-23T10:25:50.000Z | const Choice = Jymfony.Component.Validator.Constraints.Choice;
const ConstraintDefinitionException = Jymfony.Component.Validator.Exception.ConstraintDefinitionException;
const ConstraintValidator = Jymfony.Component.Validator.ConstraintValidator;
const UnexpectedTypeException = Jymfony.Component.Validator.Exception.Une... | 38.214286 | 125 | 0.557543 |
f8e9ae9e8b43c6822e11dcfabae5c01e63e6db96 | 923 | js | JavaScript | frontend/src/components/Header.js | sarbjot-14/driving-automation | ef2d7d9fdefe54dc92d60f996147a764dcc8b2c2 | [
"MIT"
] | null | null | null | frontend/src/components/Header.js | sarbjot-14/driving-automation | ef2d7d9fdefe54dc92d60f996147a764dcc8b2c2 | [
"MIT"
] | 1 | 2022-03-09T07:11:39.000Z | 2022-03-10T02:22:40.000Z | frontend/src/components/Header.js | sarbjot-14/driving-automation | ef2d7d9fdefe54dc92d60f996147a764dcc8b2c2 | [
"MIT"
] | null | null | null | import React from "react";
import { Container, Nav, Navbar } from "react-bootstrap";
import {} from "react-router-dom";
function Header({ setSearch }) {
//const dispatch = useDispatch();
return (
<Navbar collapseOnSelect expand="lg" bg="primary" variant="dark">
<Container>
<Navbar.Brand href="/... | 29.774194 | 69 | 0.570964 |
f8ea2510f90a5551509c6cd8f0f04288470c6a85 | 7,493 | js | JavaScript | resources/sap/ui/commons/MenuBar.js | monavari-lebrecht/openui5-sources | dbb29ce79770e21406bbd336ec9fc8e2779afae6 | [
"Apache-2.0"
] | 1 | 2019-03-26T07:28:27.000Z | 2019-03-26T07:28:27.000Z | resources/sap/ui/commons/MenuBar.js | monavari-lebrecht/openui5-sources | dbb29ce79770e21406bbd336ec9fc8e2779afae6 | [
"Apache-2.0"
] | null | null | null | resources/sap/ui/commons/MenuBar.js | monavari-lebrecht/openui5-sources | dbb29ce79770e21406bbd336ec9fc8e2779afae6 | [
"Apache-2.0"
] | null | null | null | /*!
* SAP UI development toolkit for HTML5 (SAPUI5/OpenUI5)
* (c) Copyright 2009-2014 SAP AG or an SAP affiliate company.
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
*/
jQuery.sap.declare("sap.ui.commons.MenuBar");jQuery.sap.require("sap.ui.commons.library");jQuery.sap.require("sap.ui.core.... | 1,070.428571 | 7,294 | 0.754571 |
f8eae3b21bdb5343d22156aa0b3396ab06379970 | 1,207 | js | JavaScript | script/content.js | xieweiking/your-last-tabs | 55457d5e6fc09a8c4cb2972ff12d64fb9acf383a | [
"MIT"
] | 2 | 2019-02-13T09:20:52.000Z | 2019-10-15T08:15:18.000Z | script/content.js | xieweiking/your-last-tabs | 55457d5e6fc09a8c4cb2972ff12d64fb9acf383a | [
"MIT"
] | null | null | null | script/content.js | xieweiking/your-last-tabs | 55457d5e6fc09a8c4cb2972ff12d64fb9acf383a | [
"MIT"
] | null | null | null | (function () {
var current_url = location.href, b = document.body, count = -1, count_intrvl = null;
chrome.storage.local.get(current_url, function (items) {
var pos = items[current_url];
if (is_position_valid(pos)) {
b.scrollTop = pos.top;
b.scrollLeft = pos.left;
... | 27.431818 | 88 | 0.466446 |
f8ec16dde25c3e15ffe4e138b423e964f1445792 | 1,268 | js | JavaScript | app/components/Chart/ReChart/components/radial.js | hveitia/cuban-news-collaborators-tool | adf60ecb79f3dfc617b2d061f80f86e777e55434 | [
"MIT"
] | null | null | null | app/components/Chart/ReChart/components/radial.js | hveitia/cuban-news-collaborators-tool | adf60ecb79f3dfc617b2d061f80f86e777e55434 | [
"MIT"
] | 2 | 2021-09-03T02:48:40.000Z | 2022-03-26T22:44:59.000Z | app/components/Chart/ReChart/components/radial.js | hveitia/cuban-news-collaborators-tool | adf60ecb79f3dfc617b2d061f80f86e777e55434 | [
"MIT"
] | null | null | null | import React from 'react';
import { RadialBarChart, RadialBar, Legend, ResponsiveContainer, Tooltip, } from 'recharts';
import { Grid } from '@material-ui/core'
const data = [
{ name: 'Total User', user: 2540, fill: '#6fac85', },
{ name: 'Active user', user: 1570, fill: '#8fd3f4', },
{ name: 'Deleted User',... | 33.368421 | 92 | 0.458202 |
f8ecbbb4cd98471a1ddbb96ce4b69c3314daab7d | 2,557 | js | JavaScript | tart/Carousel/spec/CarouselSpec.js | ChuckFork/tartJS | 3b677e6969af7fc3247a5fcb380edb2290e89804 | [
"Apache-2.0"
] | 124 | 2015-01-28T15:47:57.000Z | 2022-03-02T14:16:39.000Z | tart/Carousel/spec/CarouselSpec.js | ChuckFork/tartJS | 3b677e6969af7fc3247a5fcb380edb2290e89804 | [
"Apache-2.0"
] | 5 | 2015-06-25T10:32:52.000Z | 2015-07-30T23:02:18.000Z | tart/Carousel/spec/CarouselSpec.js | ChuckFork/tartJS | 3b677e6969af7fc3247a5fcb380edb2290e89804 | [
"Apache-2.0"
] | 23 | 2015-03-25T11:08:19.000Z | 2020-06-28T07:18:06.000Z | goog.require('tart.Carousel');
goog.provide('tart.Carousel.SpecRunner');
describe('Carousel', function() {
var carousel;
var items = [
{name: 'one'},
{name: 'two'},
{name: 'three'},
{name: 'four'},
{name: 'five'},
{name: 'six'},
{name: 'seven'}
];
... | 26.360825 | 98 | 0.557685 |
f8ee151a809ee104cc69cb0a0b9b755ea6aba66b | 264 | js | JavaScript | app/js/reducers/settings-reducers.js | davesroka/willowtree-name-game | c860dbcad78ade2427744c7a4e197b8371f2e904 | [
"MIT"
] | null | null | null | app/js/reducers/settings-reducers.js | davesroka/willowtree-name-game | c860dbcad78ade2427744c7a4e197b8371f2e904 | [
"MIT"
] | null | null | null | app/js/reducers/settings-reducers.js | davesroka/willowtree-name-game | c860dbcad78ade2427744c7a4e197b8371f2e904 | [
"MIT"
] | null | null | null | import {
UPDATE_SETTINGS,
} from 'actions/settings-actions';
export default function settingsReducers(state = {}, action) {
switch (action.type) {
case UPDATE_SETTINGS:
return { ...state, ...action.settings };
default:
return state;
}
}
| 20.307692 | 62 | 0.655303 |
f8ee263a23556c719823416743c0f69118de0146 | 18,019 | js | JavaScript | src/imq.spec.js | redxdev/iqed | f38e9e0c412a478a8218b3c30925c04b4f15a3bb | [
"MIT"
] | 1 | 2017-11-03T20:29:34.000Z | 2017-11-03T20:29:34.000Z | src/imq.spec.js | redxdev/iqed | f38e9e0c412a478a8218b3c30925c04b4f15a3bb | [
"MIT"
] | null | null | null | src/imq.spec.js | redxdev/iqed | f38e9e0c412a478a8218b3c30925c04b4f15a3bb | [
"MIT"
] | null | null | null | import {expect} from 'chai';
import imq from './imq';
describe('imq binding library', function () {
describe('.getVersion()', function () {
it('should return a version in the format x.x.x', function () {
var version = imq.getVersion();
expect(version).to.be.a('string');
... | 41.327982 | 111 | 0.524613 |
f8eedb8fd1395bb373cb4b7ee32742751830953c | 7,298 | js | JavaScript | src/main/webapp/scripts/jquery/vaadinBootstrap.js | jbjares/vaadin | 524d260409c291ca2e4063f2cec4742ff971a432 | [
"Apache-2.0"
] | null | null | null | src/main/webapp/scripts/jquery/vaadinBootstrap.js | jbjares/vaadin | 524d260409c291ca2e4063f2cec4742ff971a432 | [
"Apache-2.0"
] | null | null | null | src/main/webapp/scripts/jquery/vaadinBootstrap.js | jbjares/vaadin | 524d260409c291ca2e4063f2cec4742ff971a432 | [
"Apache-2.0"
] | null | null | null | (function() {
var defaults;
var apps = {};
var themesLoaded = {};
var widgetsets = {};
var log;
if (typeof console === "undefined" || !window.location.search.match(/[&?]debug(&|$)/)) {
//If no console.log present, just use a no-op
log = function() {};
} else if (typeof console.log === "fun... | 27.231343 | 119 | 0.595643 |
f8efe19300244afb6253a37e3599bc712be1d371 | 1,590 | js | JavaScript | client/webpack.prod.js | shrey-chaudhary/react-node-starter-boilerplate | a46d2605bca296b9518cca2bcf67f40910bbfe17 | [
"MIT"
] | null | null | null | client/webpack.prod.js | shrey-chaudhary/react-node-starter-boilerplate | a46d2605bca296b9518cca2bcf67f40910bbfe17 | [
"MIT"
] | null | null | null | client/webpack.prod.js | shrey-chaudhary/react-node-starter-boilerplate | a46d2605bca296b9518cca2bcf67f40910bbfe17 | [
"MIT"
] | null | null | null | const { merge } = require('webpack-merge');
const path = require('path');
const commonconfig = require('./webpack.common');
const { CleanWebpackPlugin } = require('clean-webpack-plugin');
const TerserWebpackPlugin = require('terser-webpack-plugin');
const MiniCssExtractPlugin = require('mini-css-extract-plugin');
const... | 33.125 | 94 | 0.531447 |
f8f037101b838f0eda5dd170c5aab6e2c55a3622 | 4,201 | js | JavaScript | src/runtime/runtime.js | RamblingIndieGames/zettai | 6ba2b7306362ea099f246d5e34fa3bd94144badd | [
"MIT"
] | 1 | 2022-02-19T09:55:27.000Z | 2022-02-19T09:55:27.000Z | src/runtime/runtime.js | RamblingIndieGames/zettai | 6ba2b7306362ea099f246d5e34fa3bd94144badd | [
"MIT"
] | 8 | 2020-09-04T23:10:47.000Z | 2022-02-26T11:26:36.000Z | src/runtime/runtime.js | RamblingIndieGames/zettai | 6ba2b7306362ea099f246d5e34fa3bd94144badd | [
"MIT"
] | null | null | null | import assetManager from './asset-manager'
import inputManager from './input-manager'
import audioManager from './audio-manager'
import canvasRenderer from './canvas-renderer'
import glRenderer from './gl-renderer'
export const defaultOptions = {
title: 'Untitled Zettai Project',
root: 'div#game',
width: 640,
... | 25.773006 | 91 | 0.62009 |
f8f06a8c8788e10e46f260590c280386f1d76e68 | 4,159 | js | JavaScript | js/games/olympics/components.js | Sebring/OlympicsRR | 9caad001ad63489d5f82fdee9c2525f129d27026 | [
"MIT"
] | 2 | 2015-12-05T21:28:19.000Z | 2015-12-06T01:08:25.000Z | js/games/olympics/components.js | Sebring/OlympicsRR | 9caad001ad63489d5f82fdee9c2525f129d27026 | [
"MIT"
] | 6 | 2015-12-07T10:17:27.000Z | 2015-12-21T08:52:02.000Z | js/games/olympics/components.js | Sebring/OlympicsRR | 9caad001ad63489d5f82fdee9c2525f129d27026 | [
"MIT"
] | null | null | null | /**@
* #Placeable
* @category Grid
* Utility component to easily place an entity in the grid
*/
Crafty.c("Placeable", {
place: function(x, y) {
this.x = x*Game.dimensions.tile;
this.y = y*Game.dimensions.tile;
return this;
}
});
/**@
* #Sizable
* @category Grid
* Utility componen... | 27.912752 | 147 | 0.599423 |
f8f19c47c53bfecc363ac181949f0d22bc531906 | 700 | js | JavaScript | public/js/services/JournalService.js | tresnotas/SpeakAndLearn | f9601b5503acd2f680faf9452053e9e693da8aa4 | [
"MIT"
] | null | null | null | public/js/services/JournalService.js | tresnotas/SpeakAndLearn | f9601b5503acd2f680faf9452053e9e693da8aa4 | [
"MIT"
] | null | null | null | public/js/services/JournalService.js | tresnotas/SpeakAndLearn | f9601b5503acd2f680faf9452053e9e693da8aa4 | [
"MIT"
] | null | null | null | app.factory("JournalService", function($http, $sanitize, CSRF_TOKEN) {
var sanitizeInput = function(entry) {
return {
title: $sanitize(entry.title),
body: $sanitize(entry.body),
city: $sanitize(entry.city),
state: $sanitize(entry.state),
country: $sanitize(entry.country),
event_date: $sanitize(ent... | 24.137931 | 70 | 0.67 |
f8f314b7f96d22ef9743dcc2fa9ce6d4001a5ae3 | 618 | js | JavaScript | model/Avaliar.js | thisLucio/TDS-API-NODE | 4429c75a99abcd4ca36129b62bd1ba4f23fe0f23 | [
"Apache-2.0"
] | 1 | 2021-11-27T04:36:40.000Z | 2021-11-27T04:36:40.000Z | model/Avaliar.js | thisLucio/TDS-API-NODE | 4429c75a99abcd4ca36129b62bd1ba4f23fe0f23 | [
"Apache-2.0"
] | null | null | null | model/Avaliar.js | thisLucio/TDS-API-NODE | 4429c75a99abcd4ca36129b62bd1ba4f23fe0f23 | [
"Apache-2.0"
] | null | null | null | const { number } = require('@hapi/joi');
const mongoose = require('mongoose');
const avaliarSchema = new mongoose.Schema({
comentario_pedido: {
type: String,
required: true,
max: 255
},
stars: {
type: Number,
required: true,
min: 1,
max: 5
},
... | 17.166667 | 58 | 0.501618 |
f8f34aaf749395206580b7585646216355b07058 | 784 | js | JavaScript | 20210707/code/mysql-demo/demo.js | haohaitao/node_learning | 9a7486d050b7c45314bfbb9fb7830e2f9fdae60a | [
"MIT"
] | null | null | null | 20210707/code/mysql-demo/demo.js | haohaitao/node_learning | 9a7486d050b7c45314bfbb9fb7830e2f9fdae60a | [
"MIT"
] | null | null | null | 20210707/code/mysql-demo/demo.js | haohaitao/node_learning | 9a7486d050b7c45314bfbb9fb7830e2f9fdae60a | [
"MIT"
] | null | null | null | /*
* @Description : 连接mysql
* @Author : pacino
* @Date : 2021-07-07 10:42:58
* @LastEditTime : 2021-07-07 11:08:21
* @LastEditors : pacino
*/
var mysql = require("mysql");
// 1. 创建数据库连接
var connection = mysql.createConnection({
host: "localhost",
user: "root",
password: "root",
database:... | 21.777778 | 78 | 0.61352 |
f8f4c61cb2bf3e5ff9b98ac33b192fe91ab1b64e | 541 | js | JavaScript | src/__tests__/get-repo-info.test.js | kira0x1/github-npm-stats | ee07d2ed2922410f7b7311fbf97a54771f1322d0 | [
"MIT"
] | 52 | 2017-09-25T08:10:44.000Z | 2021-12-15T16:37:33.000Z | src/__tests__/get-repo-info.test.js | kira0x1/github-npm-stats | ee07d2ed2922410f7b7311fbf97a54771f1322d0 | [
"MIT"
] | 15 | 2017-10-11T13:28:31.000Z | 2020-09-16T19:49:12.000Z | src/__tests__/get-repo-info.test.js | kira0x1/github-npm-stats | ee07d2ed2922410f7b7311fbf97a54771f1322d0 | [
"MIT"
] | 8 | 2017-10-15T11:31:49.000Z | 2020-12-30T07:43:34.000Z | import getRepoInfo from '../get-repo-info'
describe('getRepoInfo', () => {
it('extracts owner and repo name from github url', () => {
expect(getRepoInfo('https://github.com/vuejs/vue'))
.toEqual({ owner: 'vuejs', repo: 'vue' })
expect(getRepoInfo('https://github.com/vuejs/vue/issues/42'))
.toEqu... | 31.823529 | 65 | 0.621072 |
f8f50d51884ee45915403b39e2fa3cc6d2280017 | 474 | js | JavaScript | src/34/send.js | chinesedfan/qlcoder-notes | 50aae709b1fd590ae3c1ed7283164cdb399720c2 | [
"MIT"
] | null | null | null | src/34/send.js | chinesedfan/qlcoder-notes | 50aae709b1fd590ae3c1ed7283164cdb399720c2 | [
"MIT"
] | null | null | null | src/34/send.js | chinesedfan/qlcoder-notes | 50aae709b1fd590ae3c1ed7283164cdb399720c2 | [
"MIT"
] | null | null | null | const fetch = require('node-fetch');
// replace if need
const token = '';
const user = 'chinesedfan';
function send(i) {
return fetch(`http://www.qlcoder.com/train/handsomerank?_token=${token}&user=${user}&checkcode=${i}`)
.then((res) => res.text())
.then((text) => console.log(`${i}...${text.subst... | 24.947368 | 105 | 0.592827 |
f8f5587edfdd77d9d0380b67dae5936688933478 | 1,393 | js | JavaScript | tests/tap/010-mock-console.js | xpack/logger-js | 38cb59ccad841a4bd50f11c22a0b3da6c54e96f7 | [
"MIT"
] | null | null | null | tests/tap/010-mock-console.js | xpack/logger-js | 38cb59ccad841a4bd50f11c22a0b3da6c54e96f7 | [
"MIT"
] | 11 | 2018-12-30T15:30:06.000Z | 2021-03-31T10:00:13.000Z | tests/tap/010-mock-console.js | xpack/logger-ts | 38cb59ccad841a4bd50f11c22a0b3da6c54e96f7 | [
"MIT"
] | null | null | null | /*
* This file is part of the xPack project (http://xpack.github.io).
* Copyright (c) 2017 Liviu Ionescu. All rights reserved.
*
* Licensed under the terms of the MIT License.
* See LICENSE in the project root for license information.
*/
'use strict'
/* eslint valid-jsdoc: "error" */
/* eslint max-len: [ "error"... | 29.638298 | 79 | 0.502513 |
f8f59f68ad85d027a9b12122c45af3fa227a1e56 | 968 | js | JavaScript | apps/capacity-canvas/components/Legend/marker.js | flowingis/make-up-your-mind | ae2c7b5ac4630c8b00b6b9872e3b088f38292dfd | [
"MIT"
] | 1 | 2018-06-12T20:18:42.000Z | 2018-06-12T20:18:42.000Z | apps/capacity-canvas/components/Legend/marker.js | flowingis/make-up-your-mind | ae2c7b5ac4630c8b00b6b9872e3b088f38292dfd | [
"MIT"
] | 5 | 2018-06-29T12:28:56.000Z | 2018-07-30T06:58:31.000Z | apps/capacity-canvas/components/Legend/marker.js | flowingis/make-up-your-mind | ae2c7b5ac4630c8b00b6b9872e3b088f38292dfd | [
"MIT"
] | null | null | null | import canvasToMarkerPosition from './model/canvasToMarkerPosition'
export default (legend, observedElement) => {
const { innerWidth, innerHeight } = window
const legendDOMRect = legend.getBoundingClientRect()
const canvasDOMRect = observedElement.getBoundingClientRect()
const legendWidth = legendDOMRect.widt... | 27.657143 | 67 | 0.744835 |
f8f5cef0f2ce9f744a4eae94a5f9ea364cfe049e | 369 | js | JavaScript | exercise7.js | jdegand/tower-of-babel-solutions | 1881948a8009a0bbf763bebe4b5c869518ac103a | [
"MIT"
] | null | null | null | exercise7.js | jdegand/tower-of-babel-solutions | 1881948a8009a0bbf763bebe4b5c869518ac103a | [
"MIT"
] | null | null | null | exercise7.js | jdegand/tower-of-babel-solutions | 1881948a8009a0bbf763bebe4b5c869518ac103a | [
"MIT"
] | null | null | null | var obj = {};
obj[(()=> +process.argv[2] % 2 === 0 ? "even" : "odd")()] = +process.argv[2];
obj[+process.argv[3] + +process.argv[2]] = +process.argv[3] + +process.argv[2];
console.log(obj);
//real answer
console.log({
[+process.argv[2] % 2 === 0 ? "even" : "odd"]: +process.argv[2],
[+process.argv[2] + +process.ar... | 30.75 | 79 | 0.560976 |
f8f62d03d45be293a49774265d8bb3fcbac74ef3 | 29 | js | JavaScript | packages/plugin-remove-useless-functions/test/fixture/bool.js | em-/putout | 619d17432438113cace21ed298b76bdeeb46876e | [
"MIT"
] | 260 | 2019-01-21T21:21:09.000Z | 2022-03-28T13:06:47.000Z | packages/plugin-remove-useless-functions/test/fixture/bool.js | em-/putout | 619d17432438113cace21ed298b76bdeeb46876e | [
"MIT"
] | 98 | 2019-04-24T12:01:35.000Z | 2022-03-31T18:38:15.000Z | packages/plugin-remove-useless-functions/test/fixture/bool.js | em-/putout | 619d17432438113cace21ed298b76bdeeb46876e | [
"MIT"
] | 31 | 2019-02-19T14:25:40.000Z | 2022-02-12T22:20:53.000Z | const a = (b) => Boolean(b);
| 14.5 | 28 | 0.517241 |
f8f6338e174fc4bcea04649e5bd07d05c60bcd0c | 594 | js | JavaScript | src/server/actions/collection/create.js | Enijar/cms | 687269a5107524c3f46a87c50ad22ed8e207d2b1 | [
"MIT"
] | null | null | null | src/server/actions/collection/create.js | Enijar/cms | 687269a5107524c3f46a87c50ad22ed8e207d2b1 | [
"MIT"
] | null | null | null | src/server/actions/collection/create.js | Enijar/cms | 687269a5107524c3f46a87c50ad22ed8e207d2b1 | [
"MIT"
] | null | null | null | const collections = require("../../services/collections");
module.exports = async function collectionCreate(req, res) {
const { collection } = req?.params ?? {};
const data = req?.body ?? {};
if (!collections.hasOwnProperty(collection)) {
return res.status(404).json({ errors: { server: "No collection found" ... | 34.941176 | 79 | 0.658249 |
f8f64d4bff2710af0a99213f9bc37024e4971ebf | 1,096 | js | JavaScript | app/components/filterbar/FilterBar.js | tienan92it/Yelp | 71288204bfe16da228c6b5959196cbac64c62dce | [
"Apache-2.0"
] | null | null | null | app/components/filterbar/FilterBar.js | tienan92it/Yelp | 71288204bfe16da228c6b5959196cbac64c62dce | [
"Apache-2.0"
] | 1 | 2017-04-09T19:45:45.000Z | 2017-04-10T10:21:32.000Z | app/components/filterbar/FilterBar.js | tienan92it/Yelp | 71288204bfe16da228c6b5959196cbac64c62dce | [
"Apache-2.0"
] | null | null | null | /**
* Created by AnTran on 3/26/17.
*/
import React from 'react'
import { View, Text, TouchableOpacity } from 'react-native'
import styles from './styles'
const SearchBar = (props) => {
const { onCancelClick, onSearchClick } = props
return (
<View style={styles.container}>
<TouchableOpac... | 29.621622 | 81 | 0.617701 |
f8f661e558163d2a3aee34909a8327cf60d70f2b | 289 | js | JavaScript | middleware/validateList.js | michaelacook/to-do-api | cbb7645ce0f50bd9d1921470ccf406464711cd3a | [
"MIT"
] | null | null | null | middleware/validateList.js | michaelacook/to-do-api | cbb7645ce0f50bd9d1921470ccf406464711cd3a | [
"MIT"
] | null | null | null | middleware/validateList.js | michaelacook/to-do-api | cbb7645ce0f50bd9d1921470ccf406464711cd3a | [
"MIT"
] | null | null | null | /**
* Validate payload from client to create new list
* Run on list POST routes
*/
module.exports = () => {
return function (req, res, next) {
const { categoryId, title } = req.body
if (!categoryId || !title) {
return res.status(400).end()
}
return next()
}
}
| 20.642857 | 50 | 0.591696 |
f8f69508b72a0ccff00a7ebcd8d1f6eae28a8388 | 218 | js | JavaScript | babel.config.js | ermesonsampaio/nodejs-streams | c62b7ee931716b9da478bd3f9d69507b8c6b6359 | [
"MIT"
] | null | null | null | babel.config.js | ermesonsampaio/nodejs-streams | c62b7ee931716b9da478bd3f9d69507b8c6b6359 | [
"MIT"
] | null | null | null | babel.config.js | ermesonsampaio/nodejs-streams | c62b7ee931716b9da478bd3f9d69507b8c6b6359 | [
"MIT"
] | null | null | null | module.exports = {
presets: [
[
'@babel/preset-env',
{
targets: {
node: 'current'
}
}
],
'@babel/preset-typescript'
],
ignore: ['**/*.zip', '**/*.old'],
};
| 14.533333 | 35 | 0.389908 |
f8f69f68a90db315b4a503f3237909ad60772708 | 75 | js | JavaScript | node_modules/primus-rooms-redis-adapter/index.js | dfeddon/joust-multiplayer-js | c4939849a9f989479cefd540cbdd1de19818ad6c | [
"MIT"
] | 8 | 2016-12-05T00:10:36.000Z | 2021-03-04T23:39:40.000Z | node_modules/primus-rooms-redis-adapter/index.js | dfeddon/joust-multiplayer-js | c4939849a9f989479cefd540cbdd1de19818ad6c | [
"MIT"
] | 23 | 2017-02-03T20:28:28.000Z | 2021-12-19T23:32:24.000Z | node_modules/primus-rooms-redis-adapter/index.js | dfeddon/joust-multiplayer-js | c4939849a9f989479cefd540cbdd1de19818ad6c | [
"MIT"
] | 2 | 2017-02-21T16:17:22.000Z | 2020-12-22T05:38:04.000Z | exports = module.exports = require('./lib/primus-rooms-redis-adapter.js');
| 37.5 | 74 | 0.733333 |
f8f7247a216409638fe2fa808c2702fb35d50162 | 1,122 | js | JavaScript | lineargauge/indicator.js | syncfusion/angularjs-ej1-demos | 00cebe4900b89cbebafced712534673a5f5f7803 | [
"Info-ZIP"
] | 1 | 2020-10-25T02:12:52.000Z | 2020-10-25T02:12:52.000Z | lineargauge/indicator.js | syncfusion/angularjs-ej1-demos | 00cebe4900b89cbebafced712534673a5f5f7803 | [
"Info-ZIP"
] | null | null | null | lineargauge/indicator.js | syncfusion/angularjs-ej1-demos | 00cebe4900b89cbebafced712534673a5f5f7803 | [
"Info-ZIP"
] | 2 | 2020-10-25T02:12:56.000Z | 2021-04-08T10:47:29.000Z | syncApp.controller('LinearGauge', function ($scope) {
$scope.DrawLabel = "drawLabels";
$scope.DrawMarkerPointers = "drawMarkerPointers";
$scope.DrawIndicators = "drawIndicators";
});
var text = "";
var XPosition;
function drawLabels(args)
{
args.style.textValue = Math.round(arg... | 38.689655 | 324 | 0.616756 |
f8f784629463fc13043fc9f8284ec44e37e89680 | 409 | js | JavaScript | pc-ops/ROBAFIS_UI/js/toggleButton.js | darckoune/lrobot | 8b293236319a7ed46278fca1dd45ef63e0c01f39 | [
"MIT"
] | null | null | null | pc-ops/ROBAFIS_UI/js/toggleButton.js | darckoune/lrobot | 8b293236319a7ed46278fca1dd45ef63e0c01f39 | [
"MIT"
] | null | null | null | pc-ops/ROBAFIS_UI/js/toggleButton.js | darckoune/lrobot | 8b293236319a7ed46278fca1dd45ef63e0c01f39 | [
"MIT"
] | null | null | null | addWebsocketCallback(function(data){
if(data.type == "robot") {
var str = data.message;
var strCopy = str.split(':');
if(strCopy[0] == "AUTOPILOT") {
changeAutopilot(strCopy[1]);
}
}
});
function changeAutopilot(status) {
var button = document.getElementById("e");
if(status == 1) {
... | 21.526316 | 44 | 0.591687 |
f8f91e59db691c49a78d2e04da864805eb8e7f05 | 7,684 | js | JavaScript | dist/js-model-0.9.4.min.js | benpickles/js-model | 5feb0bde0d175bb2cd71b4615716863de4c6f20f | [
"MIT"
] | 112 | 2015-01-19T15:57:17.000Z | 2021-11-16T19:41:23.000Z | dist/js-model-0.9.4.min.js | lzyzsd/js-model | 2a38718fe378d380eac8133f535dc780f06e791b | [
"MIT"
] | 5 | 2015-01-05T13:27:18.000Z | 2017-05-31T07:31:20.000Z | dist/js-model-0.9.4.min.js | lzyzsd/js-model | 2a38718fe378d380eac8133f535dc780f06e791b | [
"MIT"
] | 18 | 2015-02-26T10:34:11.000Z | 2020-05-19T12:30:23.000Z | /* js-model JavaScript library, version 0.9.4
* (c) 2010 Ben Pickles
*
* Released under MIT license.
*/
var Model=function(a,b,c){b=b||{};c=c||{};var d=function(e){this.attributes=jQuery.extend({},e);this.changes={};this.errors=new Model.Errors(this);this.uid=[a,Model.UID.generate()].join("-");jQuery.isFunction(... | 334.086957 | 525 | 0.708615 |
f8f93fa10b9db94afad05a2dc675788a27853c0f | 152 | js | JavaScript | Courses/JavaScript Basics/First JavaScript Program/shoutOut.js | EdgarSpickerman/TreehouseStudentWork | d4e0ca41ad877ed01a47a5074259800fdd72af80 | [
"MIT"
] | null | null | null | Courses/JavaScript Basics/First JavaScript Program/shoutOut.js | EdgarSpickerman/TreehouseStudentWork | d4e0ca41ad877ed01a47a5074259800fdd72af80 | [
"MIT"
] | null | null | null | Courses/JavaScript Basics/First JavaScript Program/shoutOut.js | EdgarSpickerman/TreehouseStudentWork | d4e0ca41ad877ed01a47a5074259800fdd72af80 | [
"MIT"
] | null | null | null | // JavaScript source code
const stringToShout = Prompt("What should I shout!");
let shout = stringToShout.toUpperCase();
shout += "!";
alert(shout); | 16.888889 | 53 | 0.703947 |
f8f9ff2d120498c1dafb311afdb14fd1adde5d0b | 10,707 | js | JavaScript | www/components/novosPedidos.js | anderrf/rentalsystem_app | 209a3c521df81738fc8e8162b893d7a40f4c61c3 | [
"MIT"
] | null | null | null | www/components/novosPedidos.js | anderrf/rentalsystem_app | 209a3c521df81738fc8e8162b893d7a40f4c61c3 | [
"MIT"
] | 1 | 2021-05-10T11:47:56.000Z | 2021-05-10T11:47:56.000Z | www/components/novosPedidos.js | anderrf/rentalsystem_app | 209a3c521df81738fc8e8162b893d7a40f4c61c3 | [
"MIT"
] | null | null | null | // This is a JavaScript file
function listarNovosPedidos() {
var status = 01;
$.ajax({
type: "post",
url: "https://rentalsystempm.000webhostapp.com/php/pedido/listarPedidoSt.php",
data: "status=" + status,
dataType: "json",
success: function (data) {
var novoPedido = "";
$.each(data... | 49.569444 | 2,177 | 0.616326 |
f8fa1a2a7252156ca04559b58b319cc95252fba2 | 612 | js | JavaScript | class_net_suite_1_1_classes_1_1_accounting_transaction_search.js | bharath063/NSPHP-DOC | cc6eb52d22a9eddde3e4dd5d6305387b58b321bd | [
"MIT"
] | null | null | null | class_net_suite_1_1_classes_1_1_accounting_transaction_search.js | bharath063/NSPHP-DOC | cc6eb52d22a9eddde3e4dd5d6305387b58b321bd | [
"MIT"
] | null | null | null | class_net_suite_1_1_classes_1_1_accounting_transaction_search.js | bharath063/NSPHP-DOC | cc6eb52d22a9eddde3e4dd5d6305387b58b321bd | [
"MIT"
] | null | null | null | var class_net_suite_1_1_classes_1_1_accounting_transaction_search =
[
[ "$accountJoin", "class_net_suite_1_1_classes_1_1_accounting_transaction_search.html#ab72034cfd47f8f7e943e47a35262d548", null ],
[ "$basic", "class_net_suite_1_1_classes_1_1_accounting_transaction_search.html#a0218f1993284fe7ad15fd37e39c1ec4... | 87.428571 | 140 | 0.851307 |
f8fafa4ca91e6015b07093a693036983ab452c4e | 6,471 | js | JavaScript | gatsby-config.js | saint1729/saint1729.github.io2 | adeb07bb52e557124157e9edfc4622648741dd5c | [
"MIT"
] | null | null | null | gatsby-config.js | saint1729/saint1729.github.io2 | adeb07bb52e557124157e9edfc4622648741dd5c | [
"MIT"
] | null | null | null | gatsby-config.js | saint1729/saint1729.github.io2 | adeb07bb52e557124157e9edfc4622648741dd5c | [
"MIT"
] | null | null | null | module.exports = {
siteMetadata: {
// Site URL for when it goes live
siteUrl: `http://saint1729.me/`,
// Your Name
name: 'Sai Nikhil Thirandas',
// Main Site Title
title: `Sai Nikhil | Graduate Student - Applied Mathematics | Aspiring Machine Learning Engineer`,
// Description that goes un... | 41.748387 | 508 | 0.635605 |
f8fb7d0870fcfbfff05941e576e20b79ed85cee1 | 1,980 | js | JavaScript | src/testQuestionnaire1.js | dermatologist/fhir-questionnaire-render-react | e2a9e864d4b48aec78163de8d742c8b4bf35f409 | [
"MIT"
] | 22 | 2018-05-26T17:13:08.000Z | 2022-03-19T00:39:57.000Z | src/testQuestionnaire1.js | dermatologist/fhir-questionnaire-render-react | e2a9e864d4b48aec78163de8d742c8b4bf35f409 | [
"MIT"
] | 101 | 2019-12-09T10:49:17.000Z | 2022-03-31T10:16:41.000Z | src/testQuestionnaire1.js | dermatologist/fhir-questionnaire-render-react | e2a9e864d4b48aec78163de8d742c8b4bf35f409 | [
"MIT"
] | 1 | 2021-11-18T09:23:33.000Z | 2021-11-18T09:23:33.000Z | export const TestQuestionnaire1 = {
resourceType: 'Questionnaire',
id: 'f201',
text: {
status: 'generated',
div:
'<div xmlns="http://www.w3.org/1999/xhtml">\n <pre>Lifelines Questionnaire 1 part 1\n 1. Do you have allergies?\n 2. General Questions:\n 2.a) What is your gender?\n... | 27.5 | 402 | 0.436869 |
f8fc3a6e41055ac4c2fdc70b30f08f9841075e7e | 5,879 | js | JavaScript | src/client/widgets/ConfirmationModal.js | lucykolosova/waivio | 4d3983377ba54f45ab6b9654545502211e3c6efb | [
"MIT"
] | 8 | 2018-11-05T08:00:46.000Z | 2021-12-10T11:10:22.000Z | src/client/widgets/ConfirmationModal.js | lucykolosova/waivio | 4d3983377ba54f45ab6b9654545502211e3c6efb | [
"MIT"
] | 1,632 | 2018-11-20T16:13:50.000Z | 2022-03-31T12:50:23.000Z | src/client/widgets/ConfirmationModal.js | lucykolosova/waivio | 4d3983377ba54f45ab6b9654545502211e3c6efb | [
"MIT"
] | 8 | 2019-08-09T10:40:22.000Z | 2022-02-03T12:09:06.000Z | import React, { useEffect, useState } from 'react';
import { Modal, message } from 'antd';
import { upperFirst } from 'lodash';
import { injectIntl } from 'react-intl';
import { withRouter } from 'react-router-dom';
import { useSelector } from 'react-redux';
import PropTypes from 'prop-types';
import { estimateAmount,... | 30.304124 | 98 | 0.5256 |
f8fdbf84458dee72e80ec5cb7de120abf4b3c0a0 | 382 | js | JavaScript | src/store/index.js | Merrick17/EnvHero_Admin | 6d5da0dc8248c80d10f6dce39ea33a8f182ea103 | [
"MIT"
] | null | null | null | src/store/index.js | Merrick17/EnvHero_Admin | 6d5da0dc8248c80d10f6dce39ea33a8f182ea103 | [
"MIT"
] | null | null | null | src/store/index.js | Merrick17/EnvHero_Admin | 6d5da0dc8248c80d10f6dce39ea33a8f182ea103 | [
"MIT"
] | null | null | null | import {createStore, applyMiddleware} from 'redux';
import {composeWithDevTools} from 'redux-devtools-extension'
import thunk from "redux-thunk";
import rootReducers from '../reducers/root.reducer'
const initialState = {};
const middleware = [thunk];
const store = createStore(rootReducers, initialState, composeWithDev... | 34.727273 | 107 | 0.790576 |
5d007e1c73e99293fc3db668ad0495fd3181a6f9 | 557 | js | JavaScript | src/action/readHubAction.js | Opelar/story | b87ccf1bbb6280308f7aab0c2c3d86a28d038cde | [
"MIT"
] | 2 | 2018-11-16T05:44:19.000Z | 2018-11-16T06:02:19.000Z | src/action/readHubAction.js | Opelar/opelar-react-app | b87ccf1bbb6280308f7aab0c2c3d86a28d038cde | [
"MIT"
] | 13 | 2020-09-04T08:53:25.000Z | 2022-03-08T21:58:17.000Z | src/action/readHubAction.js | Opelar/react-app | b87ccf1bbb6280308f7aab0c2c3d86a28d038cde | [
"MIT"
] | null | null | null | import action from '../utils/action';
import { getReadHubService } from '../service/index';
import { showError } from '../utils/toast';
export const GET_READHUB_OK = 'GET_READHUB_OK';
export const GET_READHUB_FAIL = 'GET_READHUB_FAIL';
export const getReadHub = ({ fromReadHub, pageSize }) => dispatch =>
getReadHubS... | 32.764706 | 68 | 0.685817 |
5d009136e432b491a497d073b55fe97146a4f28b | 350 | js | JavaScript | src/components/LayoutDefault.js | cajoca3/ethereumclassic.github.io | 8846f0728e9e9bd8a3d8634aca0c50b394638215 | [
"MIT"
] | 3 | 2020-08-05T20:41:15.000Z | 2021-07-13T19:03:05.000Z | src/components/LayoutDefault.js | cajoca3/ethereumclassic.github.io | 8846f0728e9e9bd8a3d8634aca0c50b394638215 | [
"MIT"
] | null | null | null | src/components/LayoutDefault.js | cajoca3/ethereumclassic.github.io | 8846f0728e9e9bd8a3d8634aca0c50b394638215 | [
"MIT"
] | 1 | 2021-08-23T05:57:35.000Z | 2021-08-23T05:57:35.000Z | import React from 'react';
import LayoutPage from './LayoutPage';
import CommonContent from './CommonContent';
const LayoutDefault = props => {
const {
pageContext: { i18n }
} = props;
return (
<LayoutPage {...props}>
<CommonContent content={i18n.content} refs={i18n} />
</LayoutPage>
);
};
... | 19.444444 | 58 | 0.657143 |
5d01aa3062785c5a0e2215fff82ab6d0d85ed18a | 453 | js | JavaScript | src/graph-traversal/utils.js | stephencweiss/code-katas | 1d0b787bea73f2d4ba952ffe100dac36a341c2af | [
"MIT"
] | 1 | 2020-06-07T00:18:25.000Z | 2020-06-07T00:18:25.000Z | src/graph-traversal/utils.js | stephencweiss/hackerRankChallenges | 2684f631514bf6a865e6535a90b58360bc407730 | [
"MIT"
] | 1 | 2021-11-19T14:28:28.000Z | 2021-11-19T14:28:28.000Z | src/graph-traversal/utils.js | stephencweiss/hackerRankChallenges | 2684f631514bf6a865e6535a90b58360bc407730 | [
"MIT"
] | 2 | 2020-10-08T06:21:24.000Z | 2022-01-21T21:55:55.000Z | function add(x, y) {
return x + y
}
module.exports.default = add
// export function diff(x, y) {
// return x - y;
// }
// const PI = 3.1415
// export const area = (r) => {
// return PI * (r ** 2)
// }
// export const circumference = (r) => {
// return 2 * PI * r;
// }
// class Sample {
// doSomething() {co... | 16.777778 | 46 | 0.547461 |
5d01fce62a060f4dc5e2dec737844cdafeb608b0 | 703 | js | JavaScript | public/assets/plugins/bootstrap-select2/select2_locale_lt.min.js | Aviithapa/Portfolio | 0406753996b8693c49e8893a80cf7868cf325ebf | [
"MIT"
] | 3 | 2019-08-30T12:51:01.000Z | 2020-01-10T14:51:54.000Z | public/assets/plugins/bootstrap-select2/select2_locale_lt.min.js | Aviithapa/Portfolio | 0406753996b8693c49e8893a80cf7868cf325ebf | [
"MIT"
] | 12 | 2020-02-25T08:44:51.000Z | 2022-02-26T03:35:03.000Z | public/assets/plugins/bootstrap-select2/select2_locale_lt.min.js | Aviithapa/Portfolio | 0406753996b8693c49e8893a80cf7868cf325ebf | [
"MIT"
] | 4 | 2017-05-30T03:18:35.000Z | 2022-01-08T02:46:52.000Z | !function(t){"use strict";t.extend(t.fn.select2.defaults,{formatNoMatches:function(){return"Atitikmenų nerasta"},formatInputTooShort:function(t,e){var i=e-t.length,s=1==i%10&&11!=i%100?"į":i%10>=2&&(10>i%100||i%100>=20)?"ius":"ių";return"Įrašykite dar "+i+" simbol"+s},formatInputTooLong:function(t,e){var i=t.length-e,s... | 703 | 703 | 0.688478 |
5d02aa1f578eaaaea455b1ba0454b81bd618c709 | 1,319 | js | JavaScript | src/CornerButton.js | dorechen/shaarp | 2f22be8b4de15e778d3ebb26bb53ce4f24a79595 | [
"MIT"
] | null | null | null | src/CornerButton.js | dorechen/shaarp | 2f22be8b4de15e778d3ebb26bb53ce4f24a79595 | [
"MIT"
] | null | null | null | src/CornerButton.js | dorechen/shaarp | 2f22be8b4de15e778d3ebb26bb53ce4f24a79595 | [
"MIT"
] | null | null | null | import { jsx, css } from '@emotion/core'
import T from 'prop-types'
const baseButton = css`
border: none;
height: 48px;
min-width: 204px;
background: #000;
color: #fff;
font-size: 24px;
cursor: pointer;
transition: linear background 300ms;
&:focus {
outline: none;
background: #080808;
}
... | 15.517647 | 68 | 0.59818 |
5d03d85cbe693a8a5e8f3f4363aaf6cff815e638 | 508 | js | JavaScript | js/min/soundmaker-ck.js | bartbarto/Tuner-B | 110778d847f05059ddd55753b79b2131bd0a4c33 | [
"MIT"
] | 1 | 2022-01-08T19:39:09.000Z | 2022-01-08T19:39:09.000Z | js/min/soundmaker-ck.js | bartbarto/Tuner-B | 110778d847f05059ddd55753b79b2131bd0a4c33 | [
"MIT"
] | null | null | null | js/min/soundmaker-ck.js | bartbarto/Tuner-B | 110778d847f05059ddd55753b79b2131bd0a4c33 | [
"MIT"
] | null | null | null | function createOscillator(e){var i=10,a=2500,t=audio.createGain(),n=audio.createOscillator();t.connect(audio.destination),t.gain.setValueAtTime(0,audio.currentTime),t.gain.linearRampToValueAtTime(1,audio.currentTime+i/1e3),t.gain.linearRampToValueAtTime(0,audio.currentTime+a/1e3),n.frequency.value=e,n.type="square",n.c... | 508 | 508 | 0.793307 |
5d0487e11950e3f4b8ef13fbda1b7be32ac5e18d | 3,472 | js | JavaScript | src/components/testPage/Content.styled.js | YoungProducer/Zno | cfb6a6c48ca2695b01da616e4ee43feecdd5a25a | [
"MIT"
] | null | null | null | src/components/testPage/Content.styled.js | YoungProducer/Zno | cfb6a6c48ca2695b01da616e4ee43feecdd5a25a | [
"MIT"
] | 7 | 2020-07-17T20:28:59.000Z | 2022-02-26T15:45:18.000Z | src/components/testPage/Content.styled.js | YoungProducer/Zno | cfb6a6c48ca2695b01da616e4ee43feecdd5a25a | [
"MIT"
] | null | null | null | import posed from "react-pose";
import styled from "styled-components";
export const Header = styled.div`
width: 100%;
height: 70px;
`;
export const NameWrapper = styled.div`
float: left;
`;
export const CountDownWrapper = styled.div`
float: right;
text-align: right;
${"" /* button {
color: #E57... | 18.083333 | 84 | 0.616647 |
5d04b8eab3e55a145bb4b0463434ba71c86bab9a | 924 | js | JavaScript | web/js/app/model/InvestmentModel.js | jarenal/leasing-crm | fcbfa9be2c66d287eca2086ce94050756624a7e1 | [
"0BSD"
] | null | null | null | web/js/app/model/InvestmentModel.js | jarenal/leasing-crm | fcbfa9be2c66d287eca2086ce94050756624a7e1 | [
"0BSD"
] | null | null | null | web/js/app/model/InvestmentModel.js | jarenal/leasing-crm | fcbfa9be2c66d287eca2086ce94050756624a7e1 | [
"0BSD"
] | null | null | null | define(function(require, exports, module){
"use strict";
var ko = require("knockout");
var _ = require("underscore");
var BaseModel = require("app/model/BaseModel");
function InvestmentModel(data){
this.investment = {};
this.investment.token = ko.observable(_.uniqueId("investment-"));
this.investment.id =... | 26.4 | 67 | 0.70671 |
5d04c48e08b6591b67bcc057cc261bd38432a286 | 820 | js | JavaScript | .storybook/main.js | KarovInal/odi-timer | ebbccaf451218759bd2aab987f07dc654045c1f9 | [
"MIT"
] | null | null | null | .storybook/main.js | KarovInal/odi-timer | ebbccaf451218759bd2aab987f07dc654045c1f9 | [
"MIT"
] | null | null | null | .storybook/main.js | KarovInal/odi-timer | ebbccaf451218759bd2aab987f07dc654045c1f9 | [
"MIT"
] | null | null | null | const TsconfigPathsPlugin = require('tsconfig-paths-webpack-plugin');
module.exports = {
stories: [
'../stories/**/*.stories.js',
'../src/**/*.stories.{js,jsx,ts,tsx}',
],
addons: [
'@storybook/addon-knobs/register',
'@storybook/addon-backgrounds/register',
'@storybook/addon-actions',
'@s... | 25.625 | 92 | 0.568293 |
5d05a5264788b7a777016cede4bca3264ec9b384 | 542 | js | JavaScript | resources/js/backend/services/product_category_service.js | ngoantoan/ShopLaravelVue | c264f08a61f801b1b811831e9bf4d88b3633ba2e | [
"MIT"
] | null | null | null | resources/js/backend/services/product_category_service.js | ngoantoan/ShopLaravelVue | c264f08a61f801b1b811831e9bf4d88b3633ba2e | [
"MIT"
] | null | null | null | resources/js/backend/services/product_category_service.js | ngoantoan/ShopLaravelVue | c264f08a61f801b1b811831e9bf4d88b3633ba2e | [
"MIT"
] | null | null | null | import {http, httpFile} from "./http_service";
export function getProductCategoryParent()
{
return http().get('get-product-category-parent');
}
export function createProductCategory(data)
{
return httpFile().post('product-category',data);
}
export function getCategories()
{
return http().get('product-cat... | 20.074074 | 58 | 0.719557 |
5d06a05aa1d2797f978430cca449cdbc23be3827 | 10,478 | js | JavaScript | public_html/layout/js/quest/questPlay.js | nenuadrian/Secret-Republic-Hacking-Browser-Game-V3 | b3fb085ce3be4f165c9dd952b44eb437010da96a | [
"CC-BY-4.0"
] | 12 | 2018-02-12T15:31:18.000Z | 2022-02-22T22:59:27.000Z | public_html/layout/js/quest/questPlay.js | nenuadrian/Secret-Republic-Hacking-Browser-Game-V3 | b3fb085ce3be4f165c9dd952b44eb437010da96a | [
"CC-BY-4.0"
] | 11 | 2018-02-12T13:00:03.000Z | 2021-12-19T19:49:24.000Z | public_html/layout/js/quest/questPlay.js | nenuadrian/Secret-Republic-Hacking-Browser-Game-V3 | b3fb085ce3be4f165c9dd952b44eb437010da96a | [
"CC-BY-4.0"
] | 11 | 2018-06-13T16:02:01.000Z | 2022-02-03T00:30:51.000Z | /*
questPlay plugin for TSR
Created by Nenu Adrian Mircea (http://nenuadrian.com)
All rights reserved
2014 - *
*/
function add_input(text){
$("#consoleInput").val($("#consoleInput").val() + text).focus();
}
jQuery.fn.questPlay = function(userOptions)
{
//alert(2);
... | 26.526582 | 150 | 0.511357 |
8ed4f323cf073a77d49cc07cf7af726db4750ed7 | 946 | js | JavaScript | src/components/footer/Footer.js | yndajas/StackStore | d769aeb786d05601b8d2cab5e9c7858dd2761e1e | [
"MIT"
] | 1 | 2021-10-03T03:23:32.000Z | 2021-10-03T03:23:32.000Z | src/components/footer/Footer.js | yndajas/StackStore | d769aeb786d05601b8d2cab5e9c7858dd2761e1e | [
"MIT"
] | null | null | null | src/components/footer/Footer.js | yndajas/StackStore | d769aeb786d05601b8d2cab5e9c7858dd2761e1e | [
"MIT"
] | null | null | null | import React from "react";
import { connect } from "react-redux";
import UserInfo from "./UserInfo";
class Footer extends React.Component {
render() {
const year = new Date().getFullYear();
return (
<footer>
<nav className="navbar navbar-light">
<div className="container">
... | 23.65 | 72 | 0.504228 |
8ed574705e9560c4c037e9d64e21544efde8cc12 | 379 | js | JavaScript | generators/component/index.js | ship-components/generator-ship-components-boilerplate | f60f3e77d7261dd430cb7c711f940bdef7f1837c | [
"MIT"
] | null | null | null | generators/component/index.js | ship-components/generator-ship-components-boilerplate | f60f3e77d7261dd430cb7c711f940bdef7f1837c | [
"MIT"
] | 3 | 2017-12-23T19:08:31.000Z | 2018-05-24T02:15:37.000Z | generators/component/index.js | ship-components/generator-ship-components-boilerplate | f60f3e77d7261dd430cb7c711f940bdef7f1837c | [
"MIT"
] | null | null | null | 'use strict';
var Generator = require('yeoman-generator');
var ComponentGenerator = class extends Generator {
constructor(args, opts) {
super(args, opts);
}
initializing() {
this.log('Component Name -->' + this.name + '.');
}
writing() {
this.template('component_tmpl', 'src/components/'+ this.na... | 21.055556 | 75 | 0.646438 |
8ed605c013e2a74096bf8dc7dfa385d9de56de97 | 2,711 | js | JavaScript | web/web-api/src/main/resources/sample/org.boazglean.kathab.web/web-api/jframe.js | dodtsair/kathab | 66ccab486dd076351254026e8cd4bb917e1fdd5b | [
"MIT"
] | 1 | 2020-05-27T20:42:46.000Z | 2020-05-27T20:42:46.000Z | web/web-api/src/main/resources/sample/org.boazglean.kathab.web/web-api/jframe.js | dodtsair/kathab | 66ccab486dd076351254026e8cd4bb917e1fdd5b | [
"MIT"
] | null | null | null | web/web-api/src/main/resources/sample/org.boazglean.kathab.web/web-api/jframe.js | dodtsair/kathab | 66ccab486dd076351254026e8cd4bb917e1fdd5b | [
"MIT"
] | null | null | null | /*
* The MIT License
*
* Copyright 2012 mpower.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify,... | 46.741379 | 145 | 0.641461 |
8ed75f471312dc3546fbf6b77e1f371bb1a6fe46 | 9,872 | js | JavaScript | site/js/imagediscovery/ui/manipulation/function/base/NdviWidget.js | soomro30/image-discovery-app-js | b0a9219724d47b4764cfb5a9fe027fcbd9b018a7 | [
"Apache-2.0",
"MIT"
] | 1 | 2021-07-12T14:40:53.000Z | 2021-07-12T14:40:53.000Z | site/js/imagediscovery/ui/manipulation/function/base/NdviWidget.js | FlavioFalcao/image-discovery-app-js | bb0f0ecff4fcdde3b54a1e2a7f8be09952cecf37 | [
"Apache-2.0",
"MIT"
] | null | null | null | site/js/imagediscovery/ui/manipulation/function/base/NdviWidget.js | FlavioFalcao/image-discovery-app-js | bb0f0ecff4fcdde3b54a1e2a7f8be09952cecf37 | [
"Apache-2.0",
"MIT"
] | null | null | null | define([
"dojo/_base/declare",
"dojo/text!./template/NdviWidgetTemplate.html",
"./BaseRasterFunctionWidget",
"dojo/_base/lang" ,
"dijit/form/Select",
"esri/layers/RasterFunction",
"dijit/form/Button"
],
function (declare, template, BaseRasterFunctionWidget, lang, Select, RasterFunction, ... | 48.871287 | 160 | 0.41562 |
8ed7f8dd44b678c2cd926b215c6f7dc9b6d0f042 | 130 | js | JavaScript | src/components/LineBreak/LineBreak.js | ZanHong/react-portfolio | 58ade9d86cc11a7fcf9c59a1384fe331b3510630 | [
"MIT"
] | null | null | null | src/components/LineBreak/LineBreak.js | ZanHong/react-portfolio | 58ade9d86cc11a7fcf9c59a1384fe331b3510630 | [
"MIT"
] | null | null | null | src/components/LineBreak/LineBreak.js | ZanHong/react-portfolio | 58ade9d86cc11a7fcf9c59a1384fe331b3510630 | [
"MIT"
] | null | null | null | import React from 'react';
import "./style.css";
function LineBreak() {
return (
<hr></hr>
)
}
export default LineBreak; | 13 | 26 | 0.638462 |
8ed9ce04fff1e20df9675cff99aed08079a09027 | 985 | js | JavaScript | lib/web/security/TokenService.spec.js | arpinum-oss/js-toolbox | d2ea24dbc56b6d5bc0c2b14651c2f5ca33bf389a | [
"MIT"
] | 5 | 2016-07-19T15:29:23.000Z | 2017-09-05T09:13:01.000Z | lib/web/security/TokenService.spec.js | arpinum-oss/js-toolbox | d2ea24dbc56b6d5bc0c2b14651c2f5ca33bf389a | [
"MIT"
] | null | null | null | lib/web/security/TokenService.spec.js | arpinum-oss/js-toolbox | d2ea24dbc56b6d5bc0c2b14651c2f5ca33bf389a | [
"MIT"
] | null | null | null | 'use strict';
var should = require('chai').should();
var jwt = require('jsonwebtoken');
var TokenService = require('./TokenService');
var constants = require('../../test/constants');
describe('The token service', function () {
var tokenService;
beforeEach(function () {
tokenService = new TokenService();
})... | 28.970588 | 93 | 0.702538 |
8eda9562f1a2ac18613215cd72d015d336e07291 | 861 | js | JavaScript | test/getCategoriesForRange.js | inspect-js/node-exports-info | 4da8514b0a869f53b64e1386be5f2e032c1189fe | [
"MIT"
] | null | null | null | test/getCategoriesForRange.js | inspect-js/node-exports-info | 4da8514b0a869f53b64e1386be5f2e032c1189fe | [
"MIT"
] | null | null | null | test/getCategoriesForRange.js | inspect-js/node-exports-info | 4da8514b0a869f53b64e1386be5f2e032c1189fe | [
"MIT"
] | null | null | null | 'use strict';
var test = require('tape');
var forEach = require('for-each');
var getCategoriesForRange = require('../getCategoriesForRange');
var getCategory = require('../getCategory');
var boundaryVersions = require('./versions');
test('getCategoriesForRange', function (t) {
t['throws'](
function () { getCateg... | 21.525 | 64 | 0.684088 |
8edaf281febd459df8cba5597d7c193ef0148b35 | 2,167 | js | JavaScript | transforms/__tests__/page-config-test.js | jianzhouf/taro2-to-3 | 504c9993401cb9e0224a18605bf2ccdbbf9c484d | [
"MIT"
] | 28 | 2021-03-05T07:31:08.000Z | 2022-03-16T09:42:15.000Z | transforms/__tests__/page-config-test.js | jianzhouf/taro2-to-3 | 504c9993401cb9e0224a18605bf2ccdbbf9c484d | [
"MIT"
] | 4 | 2021-03-11T10:07:48.000Z | 2022-03-22T02:10:38.000Z | transforms/__tests__/page-config-test.js | jianzhouf/taro2-to-3 | 504c9993401cb9e0224a18605bf2ccdbbf9c484d | [
"MIT"
] | 3 | 2021-06-10T06:39:32.000Z | 2022-01-21T07:51:32.000Z | 'use strict';
jest.autoMockOff();
const {defineTest, runInlineTest} = require('jscodeshift/dist/testUtils');
const path = require('path');
const fs = require('fs-extra');
const tests = [
'class-component',
'class-component-without-id',
'class-component-with-config-property',
'class-component-with-config-assig... | 22.572917 | 76 | 0.592986 |
8edd67882390e1d6bb01bbf3482a1e72c1237f49 | 15,457 | js | JavaScript | compiler.module.js | Electogenius/EGCode | fa0e2bc190b99924e74c236405267ff5a4dea784 | [
"MIT"
] | 8 | 2021-03-23T01:10:45.000Z | 2021-06-25T06:02:15.000Z | compiler.module.js | Electogenius/EGCode | fa0e2bc190b99924e74c236405267ff5a4dea784 | [
"MIT"
] | 2 | 2021-05-07T21:37:13.000Z | 2022-01-22T17:13:08.000Z | compiler.module.js | Electogenius/EGCode | fa0e2bc190b99924e74c236405267ff5a4dea784 | [
"MIT"
] | 2 | 2021-03-23T02:12:24.000Z | 2021-05-07T07:50:20.000Z | var EGCode = {
version: 0.96,
//UVar -> js
UVarToJS: function(uvar) {
if (uvar == "") return "0"
if (typeof uvar == 'number') return String(uvar)
let x = uvar
var isNumber = false,isMath = false
//x = x.slice(0, x.length - 1)
//check type:
if (!Number.isNaN(Number(x))) { //number
isNumber =... | 31.289474 | 215 | 0.543508 |
8edf8ffa3eca5b9465c113f32e57cc0491c5de04 | 1,058 | js | JavaScript | engine_docs/v2.0.0-beta/classph_1_1_render_state.js | TzuChieh/TzuChieh.github.io | a45a85932b627aa6f352dac57956aa323569b3b0 | [
"MIT",
"BSD-3-Clause"
] | 1 | 2019-10-07T01:02:10.000Z | 2019-10-07T01:02:10.000Z | engine_docs/v2.0.0-beta/classph_1_1_render_state.js | TzuChieh/TzuChieh.github.io | a45a85932b627aa6f352dac57956aa323569b3b0 | [
"MIT",
"BSD-3-Clause"
] | null | null | null | engine_docs/v2.0.0-beta/classph_1_1_render_state.js | TzuChieh/TzuChieh.github.io | a45a85932b627aa6f352dac57956aa323569b3b0 | [
"MIT",
"BSD-3-Clause"
] | 1 | 2020-05-05T02:47:58.000Z | 2020-05-05T02:47:58.000Z | var classph_1_1_render_state =
[
[ "IntegerState", "classph_1_1_render_state.html#a79af6df3e178c2a2da32b402a22bcb1e", null ],
[ "RealState", "classph_1_1_render_state.html#a57b9b5175b97941ff7181c022cad023f", null ],
[ "EType", "classph_1_1_render_state.html#a21dd70b126bdac622b0e064f70b532e4", [
[ "INT... | 75.571429 | 126 | 0.794896 |
8edfcffb0b0171a0d7e7a44549a9004c3cd021e3 | 2,143 | js | JavaScript | src/components/Components/Sections/SectionNotifications.js | bisoncorps/bisoncorps.com | 0e98e6674846a492b52fa5ddc040de8c7acfff4d | [
"MIT"
] | null | null | null | src/components/Components/Sections/SectionNotifications.js | bisoncorps/bisoncorps.com | 0e98e6674846a492b52fa5ddc040de8c7acfff4d | [
"MIT"
] | null | null | null | src/components/Components/Sections/SectionNotifications.js | bisoncorps/bisoncorps.com | 0e98e6674846a492b52fa5ddc040de8c7acfff4d | [
"MIT"
] | null | null | null | // disable:eslint
import React from "react"
// @material-ui/core components
import withStyles from "@material-ui/core/styles/withStyles"
// @material-ui/icons
import Check from "@material-ui/icons/Check"
import Warning from "@material-ui/icons/Warning"
// core components
import SnackbarContent from "components/Snackba... | 28.573333 | 108 | 0.558096 |
8ee0977a9c29d816dc4087a600993ac3931dbb13 | 132 | js | JavaScript | src/components/footer.js | svu-seguridad/svuseguridad.com | 0640636de883c68d2bf2b973a1105b5af02b36cf | [
"MIT"
] | null | null | null | src/components/footer.js | svu-seguridad/svuseguridad.com | 0640636de883c68d2bf2b973a1105b5af02b36cf | [
"MIT"
] | null | null | null | src/components/footer.js | svu-seguridad/svuseguridad.com | 0640636de883c68d2bf2b973a1105b5af02b36cf | [
"MIT"
] | null | null | null | import React from "react"
export const Footer = () => (
<div className="footer">
<div>♥ from the ggsoft team</div>
</div>
)
| 18.857143 | 37 | 0.613636 |
8ee0ff025eefd5406d0b63858ca18fb850ee06ca | 394 | js | JavaScript | node_modules/redux-devtools-log-monitor/src/reducers.js | hai5nguy/allmychildren | 7f79da319a2fee08996d53efd62178c9a806bd8a | [
"MIT"
] | 5 | 2017-08-02T10:02:39.000Z | 2017-08-02T13:14:31.000Z | node_modules/redux-devtools-log-monitor/src/reducers.js | hai5nguy/allmychildren | 7f79da319a2fee08996d53efd62178c9a806bd8a | [
"MIT"
] | 2 | 2020-02-24T19:26:51.000Z | 2020-02-24T19:27:21.000Z | node_modules/redux-devtools-log-monitor/src/reducers.js | hai5nguy/allmychildren | 7f79da319a2fee08996d53efd62178c9a806bd8a | [
"MIT"
] | 1 | 2020-05-08T21:04:38.000Z | 2020-05-08T21:04:38.000Z | import { UPDATE_SCROLL_TOP } from './actions';
function initialScrollTop(props, state = 0, action) {
if (!props.preserveScrollTop) {
return 0;
}
return action.type === UPDATE_SCROLL_TOP ?
action.scrollTop :
state;
}
export default function reducer(props, state = {}, action) {
return {
initial... | 21.888889 | 77 | 0.692893 |
8ee1d7d274f9704976b714d54cdaaf0ae1a80286 | 1,577 | js | JavaScript | example.js | unframework/jquery-fxrm | 4fc990b2e424b0aa1e6647f9aa1cdcdeeaec0285 | [
"MIT"
] | 1 | 2015-11-07T12:28:38.000Z | 2015-11-07T12:28:38.000Z | example.js | unframework/jquery-fxrm | 4fc990b2e424b0aa1e6647f9aa1cdcdeeaec0285 | [
"MIT"
] | null | null | null | example.js | unframework/jquery-fxrm | 4fc990b2e424b0aa1e6647f9aa1cdcdeeaec0285 | [
"MIT"
] | null | null | null | /**
* Sample code to submit forms via AJAX and decorate form load/error/success.
*/
$(function() {
$('body').fxrm('json');
// when loading, add decorative class and remove again on error (but not on success)
$('body').delegate('form', 'fxrm:loading', function() {
$(this).addClass('loading');
... | 42.621622 | 98 | 0.598605 |
8ee3ea100cd9ef8c89da7f177d265d8b204f0052 | 406 | js | JavaScript | src/index.js | sun-23/react-blockly | 2fc23a37de6b2457ee424cee5f4653cc149907d2 | [
"MIT"
] | null | null | null | src/index.js | sun-23/react-blockly | 2fc23a37de6b2457ee424cee5f4653cc149907d2 | [
"MIT"
] | null | null | null | src/index.js | sun-23/react-blockly | 2fc23a37de6b2457ee424cee5f4653cc149907d2 | [
"MIT"
] | null | null | null | import BlocklyEditor from './BlocklyEditor';
import BlocklyToolbox from './BlocklyToolbox';
import BlocklyToolboxBlock from './BlocklyToolboxBlock';
import BlocklyToolboxCategory from './BlocklyToolboxCategory';
import BlocklyWorkspace from './BlocklyWorkspace';
export {
BlocklyEditor, BlocklyToolbox, BlocklyToolbox... | 29 | 62 | 0.82266 |
8ee43f4db69c22aee779bb2fd59c41db61f056f7 | 1,222 | js | JavaScript | gatsby-node.js | daviwil/uxblog | cdae1275868c45b49b5fa3201a1de1f02b0e5d52 | [
"MIT"
] | null | null | null | gatsby-node.js | daviwil/uxblog | cdae1275868c45b49b5fa3201a1de1f02b0e5d52 | [
"MIT"
] | null | null | null | gatsby-node.js | daviwil/uxblog | cdae1275868c45b49b5fa3201a1de1f02b0e5d52 | [
"MIT"
] | null | null | null | /**
* Implement Gatsby's Node APIs in this file.
*
* See: https://www.gatsbyjs.org/docs/node-apis/
*/
// You can delete this file if you're not using it
const path = require("path")
const {buildSlug} = require(path.resolve(__dirname, "src/resources/post-builder.js"));
exports.onCreateNode = ({ actions }) => {
a... | 24.44 | 86 | 0.574468 |
8ee51478d6916400f6c8994605316cc95c9fe67c | 383 | js | JavaScript | src/views/Home.js | joaoricardo15/baitaHelp-front | 76edcd45bc82fb8ece031a60bdd374da94448604 | [
"MIT"
] | null | null | null | src/views/Home.js | joaoricardo15/baitaHelp-front | 76edcd45bc82fb8ece031a60bdd374da94448604 | [
"MIT"
] | null | null | null | src/views/Home.js | joaoricardo15/baitaHelp-front | 76edcd45bc82fb8ece031a60bdd374da94448604 | [
"MIT"
] | null | null | null | import React, { Fragment } from "react";
import { useAuth0 } from "@auth0/auth0-react";
import LandingComponent from "../views/Landing";
import Bots from "../views/Bots";
const Home = (props) => {
const { isAuthenticated } = useAuth0();
return (
<Fragment>
{isAuthenticated ? <Bots {...props} /> : <Land... | 21.277778 | 69 | 0.634465 |
8ee5e156bec87c99b2c008608df02bbfc4cc9d09 | 10,586 | js | JavaScript | dist/angular-freebox-auth.js | xelita/angular-freebox-authentication | a69eaa31714280e6faf9c6eb883cef885c82fdc4 | [
"MIT"
] | null | null | null | dist/angular-freebox-auth.js | xelita/angular-freebox-authentication | a69eaa31714280e6faf9c6eb883cef885c82fdc4 | [
"MIT"
] | null | null | null | dist/angular-freebox-auth.js | xelita/angular-freebox-authentication | a69eaa31714280e6faf9c6eb883cef885c82fdc4 | [
"MIT"
] | null | null | null | var app = angular.module("app", ['fbAuthModule']);
app.controller("appCtrl", function ($scope, fbAuthService, fbCommonService) {
$scope.appToken = 'Ik9n1gQ4V/xZgqmSrC48pGw/WgqIQGyVGNsQLr6BJ9e3LkWkPtQGBAktzItJ5g5j';
$scope.apiVersion = function () {
fbCommonService.apiVersion().then(function (r... | 34.708197 | 163 | 0.522483 |
8ee733503734860b14668c2d399cee4ffe23a31a | 4,178 | js | JavaScript | src/pages/records.js | friendlyduck/rossmalpass.co.uk | 24e5509b1d55f34331c2bbddb94da04caf82e3ec | [
"MIT"
] | null | null | null | src/pages/records.js | friendlyduck/rossmalpass.co.uk | 24e5509b1d55f34331c2bbddb94da04caf82e3ec | [
"MIT"
] | 10 | 2021-03-09T00:56:02.000Z | 2022-02-26T09:54:16.000Z | src/pages/records.js | friendlyduck/fkt.life | 24e5509b1d55f34331c2bbddb94da04caf82e3ec | [
"MIT"
] | null | null | null | import React, { Component } from "react";
import { Link, graphql } from "gatsby";
import classNames from 'classnames';
import Img from 'gatsby-image';
// Component
import SEO from '../components/seo';
import StickyMenu from '../components/stickyMenu/stickyMenu';
// style
import '../styles/styles.scss';
import styles ... | 34.245902 | 320 | 0.564864 |
8ee82f13a08cd4b9fd615727504630c1976f8843 | 762 | js | JavaScript | js/TodoItem.stories.js | LucasGabrielBecker/percy-test | dd31dc3c67b60a7dbe281a45ee6458cfef0c722b | [
"MIT"
] | null | null | null | js/TodoItem.stories.js | LucasGabrielBecker/percy-test | dd31dc3c67b60a7dbe281a45ee6458cfef0c722b | [
"MIT"
] | null | null | null | js/TodoItem.stories.js | LucasGabrielBecker/percy-test | dd31dc3c67b60a7dbe281a45ee6458cfef0c722b | [
"MIT"
] | null | null | null | import React from 'react';
import TodoItem from './TodoItem';
export default {
title: 'TodoItem',
component: TodoItem
};
const Template = args => (
<section className="main">
<ul className="todo-list">
<TodoItem {...args}/>
</ul>
</section>
);
Template.args = {
onEdit: () => {},
onToggle: (... | 16.212766 | 43 | 0.589239 |
8ee8e2a8c53d4b6578024a2b90fdf819680a9ff0 | 3,582 | js | JavaScript | modules/db/models/notification.js | fuseio/fuse-inventory-manager | 1370650ae27a94fb6b839ac84b755fb60193428f | [
"MIT"
] | 1 | 2019-08-19T20:03:04.000Z | 2019-08-19T20:03:04.000Z | modules/db/models/notification.js | fuseio/fuse-inventory-manager | 1370650ae27a94fb6b839ac84b755fb60193428f | [
"MIT"
] | 6 | 2018-08-22T08:19:11.000Z | 2018-12-18T08:34:46.000Z | modules/db/models/notification.js | fuseio/fuse-inventory-manager | 1370650ae27a94fb6b839ac84b755fb60193428f | [
"MIT"
] | 3 | 2018-11-15T16:30:16.000Z | 2018-12-13T01:14:25.000Z | const timestamps = require('mongoose-time')
const pagination = require('mongoose-paginate')
module.exports = (osseus) => {
const db = osseus.mongo
const Schema = db.mongoose.Schema
const NOTIFICATION_TYPES = ['SYSTEM', 'GENERAL', 'API', 'JOB', 'LISTENER', 'TRANSFER_EVENT', 'BLOCKCHAIN']
const NOTIFICATION_LEV... | 29.360656 | 153 | 0.589894 |
8ee9f8c0a152c35a363b1f4a1f7e6c558675cc8c | 247 | js | JavaScript | src/ex4_js-objects-part2/task-09.js | AndreiBJJ/external-courses | b7f9b591e1925e1c08cd785c8d2a2a1c8df1150e | [
"MIT"
] | null | null | null | src/ex4_js-objects-part2/task-09.js | AndreiBJJ/external-courses | b7f9b591e1925e1c08cd785c8d2a2a1c8df1150e | [
"MIT"
] | null | null | null | src/ex4_js-objects-part2/task-09.js | AndreiBJJ/external-courses | b7f9b591e1925e1c08cd785c8d2a2a1c8df1150e | [
"MIT"
] | null | null | null | function insertWordInString(string, word, number) {
let stringArray = string.split(' ');
stringArray.splice(number + 1, 0, word);
let resultString = stringArray.join(' ');
return resultString;
}
module.exports = insertWordInString; | 35.285714 | 51 | 0.708502 |
8eea81c5fd59760248cf1fe52201d1c1394db39f | 591 | js | JavaScript | docs/_out/html/cpp_api/search/enumvalues_7.js | avnishsachar/Open3D_homework_task | 56fb41c812b3e60c0a284abb13e6d196997575d8 | [
"MIT"
] | null | null | null | docs/_out/html/cpp_api/search/enumvalues_7.js | avnishsachar/Open3D_homework_task | 56fb41c812b3e60c0a284abb13e6d196997575d8 | [
"MIT"
] | null | null | null | docs/_out/html/cpp_api/search/enumvalues_7.js | avnishsachar/Open3D_homework_task | 56fb41c812b3e60c0a284abb13e6d196997575d8 | [
"MIT"
] | null | null | null | var searchData=
[
['halfedgetrianglemesh',['HalfEdgeTriangleMesh',['../classopen3d_1_1geometry_1_1_geometry.html#a69975c2b054d4fd12cf36866a030ed8eaa79a2e14e35ed8368058ad93d3d39dc3',1,'open3d::geometry::Geometry']]],
['hot',['Hot',['../classopen3d_1_1visualization_1_1_color_map.html#a269435f6cbcdfeb465ab553aebdbf2b5... | 84.428571 | 199 | 0.830795 |
8eeaf46faf63099be14eabe9b0d6df7ef523dc27 | 523,293 | js | JavaScript | example/src/testData.js | wisemuffin/wisemuffin-charts | 7e609969c0a62ad6067fc7a16929289efdf81d55 | [
"MIT"
] | null | null | null | example/src/testData.js | wisemuffin/wisemuffin-charts | 7e609969c0a62ad6067fc7a16929289efdf81d55 | [
"MIT"
] | 8 | 2021-03-01T21:15:14.000Z | 2022-02-27T06:04:29.000Z | example/src/testData.js | wisemuffin/wisemuffin-charts | 7e609969c0a62ad6067fc7a16929289efdf81d55 | [
"MIT"
] | null | null | null | export const testData = [
{ date: 1587564000000, metricvalue: 400, __typename: "MetricByDate" },
{ date: 1587564000000, metricvalue: 59, __typename: "MetricByDate" },
{ date: 1587564000000, metricvalue: 828, __typename: "MetricByDate" },
{ date: 1587564000000, metricvalue: 587, __typename: "MetricByDate" },
{... | 72.11866 | 74 | 0.722777 |
8eeb032284f18e955e456cdc0fc457b7bb22d031 | 1,431 | js | JavaScript | utils/db.js | AshikNesin/serverless-starter | e3fd6855bff9992fd6ec7f7c97ac4fe32a121846 | [
"MIT"
] | null | null | null | utils/db.js | AshikNesin/serverless-starter | e3fd6855bff9992fd6ec7f7c97ac4fe32a121846 | [
"MIT"
] | null | null | null | utils/db.js | AshikNesin/serverless-starter | e3fd6855bff9992fd6ec7f7c97ac4fe32a121846 | [
"MIT"
] | null | null | null | import mongoose from 'mongoose';
let isConnected;
let conn = null;
const uri = process.env.DATABASE_URL;
// Ensure virtual fields are serialised.
mongoose.set('toJSON', {
virtuals: true,
});
// Ensure virtual fields are serialised.
mongoose.set('toObject', {
virtuals: true,
});
// avoid deprecation warnings
... | 29.8125 | 82 | 0.694619 |
8eec5df710b6573603d0f81c7dc5310e3e7b7e27 | 845 | js | JavaScript | docs/html/class_inter_atributo.js | rodrigofegui/JVM | 74e1d8aac6ead1465b40b4990a0ea6f900071e1f | [
"MIT"
] | 1 | 2021-02-03T13:49:53.000Z | 2021-02-03T13:49:53.000Z | docs/html/class_inter_atributo.js | rodrigofegui/JVM | 74e1d8aac6ead1465b40b4990a0ea6f900071e1f | [
"MIT"
] | 6 | 2019-10-18T00:02:54.000Z | 2019-11-28T02:56:17.000Z | docs/html/class_inter_atributo.js | rodrigofegui/JVM | 74e1d8aac6ead1465b40b4990a0ea6f900071e1f | [
"MIT"
] | null | null | null | var class_inter_atributo =
[
[ "InterAtributo", "class_inter_atributo.html#a21110f7f3d911a37f8edf70a14686dfb", null ],
[ "InterAtributo", "class_inter_atributo.html#abb1825bafdad5b58622dd19f343a175c", null ],
[ "InterAtributo", "class_inter_atributo.html#a6d2146de090a1065b1472b0cd115aec3", null ],
[ "de... | 70.416667 | 93 | 0.778698 |
8eece90cfc940c6ae7793146f0fd23d1ca90cf1d | 2,540 | js | JavaScript | src/components/TopTenPrizes/TopTenPrizes.js | mpaulasaari/lotto-numbers | 663c4ac7c1139f49871ce713a2b39cdfa387253c | [
"MIT"
] | 2 | 2017-10-17T08:43:56.000Z | 2020-10-24T02:02:01.000Z | src/components/TopTenPrizes/TopTenPrizes.js | mpaulasaari/lotto-numbers | 663c4ac7c1139f49871ce713a2b39cdfa387253c | [
"MIT"
] | null | null | null | src/components/TopTenPrizes/TopTenPrizes.js | mpaulasaari/lotto-numbers | 663c4ac7c1139f49871ce713a2b39cdfa387253c | [
"MIT"
] | 2 | 2017-10-17T13:41:42.000Z | 2020-10-26T09:20:26.000Z | import React from 'react'
import PropTypes from 'prop-types'
import {
Bar,
BarChart,
ResponsiveContainer,
XAxis,
YAxis
} from 'recharts'
import Article from 'components/Article'
import RoundedBar from 'components/RoundedBar'
import {
formatDate,
formatEUR
} from 'helpers/formatters'
import {
getMaxInArr... | 22.280702 | 74 | 0.515354 |