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
a1a684682c42a85e43b1633266ad5fae7a27ac9a
128
js
JavaScript
public/ziplookup/db/us/524.js
dieseltravis/ziplookup
4653fa77b365316ad194d28da48e6cc18f2d2728
[ "Apache-2.0" ]
null
null
null
public/ziplookup/db/us/524.js
dieseltravis/ziplookup
4653fa77b365316ad194d28da48e6cc18f2d2728
[ "Apache-2.0" ]
null
null
null
public/ziplookup/db/us/524.js
dieseltravis/ziplookup
4653fa77b365316ad194d28da48e6cc18f2d2728
[ "Apache-2.0" ]
1
2016-02-03T03:23:29.000Z
2016-02-03T03:23:29.000Z
__zl([{"1":0,"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"97":0,"98":0,"99":0},["Cedar Rapids"],["IA|Iowa"]]);
128
128
0.421875
a1a7cc68e8c2b4d5c32b12146143548bb9bd888e
606
js
JavaScript
docs/search/searchdata.js
benthie/wearables-praktikum
14c9240fd1dc078deb714e9e38269c2feed1d795
[ "MIT" ]
3
2017-03-04T11:10:10.000Z
2020-04-06T11:23:55.000Z
docs/search/searchdata.js
benthie/wearables-praktikum
14c9240fd1dc078deb714e9e38269c2feed1d795
[ "MIT" ]
null
null
null
docs/search/searchdata.js
benthie/wearables-praktikum
14c9240fd1dc078deb714e9e38269c2feed1d795
[ "MIT" ]
null
null
null
var indexSectionsWithContent = { 0: "abcdeghilmnoprstuwx", 1: "abcpsu", 2: "abcpsu", 3: "abcdeghimnoprsuw", 4: "abcdeghilmnprstuwx", 5: "c", 6: "bcu", 7: "bcu", 8: "abcdeghilmnoprstuwx", 9: "s" }; var indexSectionNames = { 0: "all", 1: "classes", 2: "files", 3: "functions", 4: "variables"...
14.093023
30
0.559406
a1a7e91571bb6c82af5f7a366e218f33996a83b9
5,423
js
JavaScript
src/handleHighlight.js
MissingNotes/dauber
8af58d855612b57a340ecc6d54096e758a522d1b
[ "MIT" ]
1
2019-08-05T10:00:40.000Z
2019-08-05T10:00:40.000Z
src/handleHighlight.js
MissingNotes/dauber
8af58d855612b57a340ecc6d54096e758a522d1b
[ "MIT" ]
2
2016-11-15T06:19:19.000Z
2018-01-07T14:08:39.000Z
src/handleHighlight.js
MissingNotes/dauber
8af58d855612b57a340ecc6d54096e758a522d1b
[ "MIT" ]
null
null
null
import styles from './handlehighlight.css' let currentValue export default function handlehighlight(state) { let previousValue = currentValue let highlightTextsAdd = {} let highlightTextsDelete = {} if (state.highlight.toolbarOn === 1) { currentValue = state.highlight.highlightMap if (previousValue !...
42.367188
162
0.602987
a1a8c6624913232c5d0c25d2a6c4da1522d2c701
278
js
JavaScript
packages/framework/src/Resources/scripts/admin/components/select2.js
machicek/shopsys
bd0ccc5acafbfa7b16ba3a24303480fd3c09269f
[ "PostgreSQL" ]
null
null
null
packages/framework/src/Resources/scripts/admin/components/select2.js
machicek/shopsys
bd0ccc5acafbfa7b16ba3a24303480fd3c09269f
[ "PostgreSQL" ]
1
2019-12-17T19:45:10.000Z
2019-12-17T19:47:54.000Z
packages/framework/src/Resources/scripts/admin/components/select2.js
machicek/shopsys
bd0ccc5acafbfa7b16ba3a24303480fd3c09269f
[ "PostgreSQL" ]
null
null
null
(function ($) { Shopsys = window.Shopsys || {}; Shopsys.register.registerCallback(function ($container) { $container.filterAllNodes('select').select2({ minimumResultsForSearch: 5, width: 'computedstyle' }); }); })(jQuery);
21.384615
61
0.57554
a1a9b2369c1f7b802831836eb1dff35eb75d0981
522
js
JavaScript
test/getIp.js
renzhezhilu/mini-node-web-server
4739ff1e454e98a98ed763afdfe524bdcac9da20
[ "Apache-2.0" ]
null
null
null
test/getIp.js
renzhezhilu/mini-node-web-server
4739ff1e454e98a98ed763afdfe524bdcac9da20
[ "Apache-2.0" ]
null
null
null
test/getIp.js
renzhezhilu/mini-node-web-server
4739ff1e454e98a98ed763afdfe524bdcac9da20
[ "Apache-2.0" ]
null
null
null
var os = require('os'); var interfaces = os.networkInterfaces(); console.log(interfaces.en0[1].address); // for (item in interfaces) { // console.log('Network interface name: ' + item); // for (att in interfaces[item]) { // var address = interfaces[item][att]; // console.log('Family: ' + address.family);...
30.705882
55
0.56705
a1a9cae68a67adae224ac60a2aedce732428e8af
2,442
js
JavaScript
www/scripts/service-worker.js
romainDavaze/devfest-conferences
63218cfbc1bb474ab8ea89e88f4200e8bb1ed930
[ "MIT" ]
null
null
null
www/scripts/service-worker.js
romainDavaze/devfest-conferences
63218cfbc1bb474ab8ea89e88f4200e8bb1ed930
[ "MIT" ]
null
null
null
www/scripts/service-worker.js
romainDavaze/devfest-conferences
63218cfbc1bb474ab8ea89e88f4200e8bb1ed930
[ "MIT" ]
null
null
null
importScripts("../vendors/js/localforage.js"); const FILES_TO_CACHE = [ '../home.html', '../views/note.html', '../views/session-detail.html', '../views/sessions.html', '../views/speaker-detail.html', '../views/speakers.html', 'home.js', 'service-worker.js', 'cache-service.js', '...
27.438202
82
0.555283
a1aa78fdc983b150008625ebb32a41142d0d710e
1,002
js
JavaScript
rollup.config.js
ramiel/mikro-orm-cache-adapter-redis
e98e226f38bec2ae3d5810cecdc131b9d9754a20
[ "MIT" ]
9
2021-01-30T06:59:41.000Z
2022-03-19T15:18:42.000Z
rollup.config.js
ramiel/mikro-orm-cache-adapter-redis
e98e226f38bec2ae3d5810cecdc131b9d9754a20
[ "MIT" ]
2
2022-02-24T06:39:10.000Z
2022-03-19T19:29:54.000Z
rollup.config.js
ramiel/mikro-orm-cache-adapter-redis
e98e226f38bec2ae3d5810cecdc131b9d9754a20
[ "MIT" ]
2
2021-11-05T02:38:45.000Z
2022-03-19T02:04:11.000Z
/* eslint-env node */ // import { nodeResolve } from '@rollup/plugin-node-resolve'; // import commonjs from 'rollup-plugin-commonjs'; // import resolve from 'rollup-plugin-node-resolve'; import pkg from './package.json'; import typescript from 'typescript'; import typescriptPlugin from 'rollup-plugin-typescript2'; con...
27.081081
72
0.612774
a1ac057e1ffdc64e3000c60a4285332819c3ba14
6,361
js
JavaScript
apps/js/StudentApp.js
ThaumicMekanism/examtool-web
d1617539582e17a57fa8ae819b9d7a9a20dd31e9
[ "MIT" ]
null
null
null
apps/js/StudentApp.js
ThaumicMekanism/examtool-web
d1617539582e17a57fa8ae819b9d7a9a20dd31e9
[ "MIT" ]
null
null
null
apps/js/StudentApp.js
ThaumicMekanism/examtool-web
d1617539582e17a57fa8ae819b9d7a9a20dd31e9
[ "MIT" ]
null
null
null
import React, { useEffect, useState } from "react"; import { Col, Container, Form, Navbar, Row, } from "react-bootstrap"; import EndModal from "./EndModal"; import Exam from "./Exam"; import ExamContext from "./ExamContext"; import InternetDown from "./InternetDown"; import PasswordDecryptor from "./PasswordDecrypt...
38.319277
109
0.407798
a1ac3a0c96866a560407ee5fab75e9b50af80936
614
js
JavaScript
ui/v1/local/master.js
jsxcad/JSxCAD
fa788d9ddbd196fa591d91977ba20dc7ec645db5
[ "MIT" ]
32
2019-03-06T05:44:53.000Z
2022-01-02T15:21:40.000Z
ui/v1/local/master.js
jsxcad/JSxCAD
fa788d9ddbd196fa591d91977ba20dc7ec645db5
[ "MIT" ]
85
2019-03-18T01:13:31.000Z
2022-03-24T10:26:50.000Z
ui/v1/local/master.js
jsxcad/JSxCAD
fa788d9ddbd196fa591d91977ba20dc7ec645db5
[ "MIT" ]
11
2019-03-18T05:35:13.000Z
2021-09-27T08:14:12.000Z
/* global location */ import { installUi } from './jsxcad-ui-v1.js'; document.onreadystatechange = () => { if (document.readyState === 'complete') { const bootstrap = async () => { const booting = document.createElement('center'); booting.innerText = `Booting sha`; document.getElementById('loa...
32.315789
68
0.640065
a1ac519547151527d16a62e05d15aa6a42bb3c58
386
js
JavaScript
lib/fetcher.js
Keshavdulal/dogstudio-next-starter
b5f72a80123313c7119aeb9d18781285983bcb30
[ "MIT" ]
null
null
null
lib/fetcher.js
Keshavdulal/dogstudio-next-starter
b5f72a80123313c7119aeb9d18781285983bcb30
[ "MIT" ]
null
null
null
lib/fetcher.js
Keshavdulal/dogstudio-next-starter
b5f72a80123313c7119aeb9d18781285983bcb30
[ "MIT" ]
null
null
null
const WORDPRESS_GRAPHQL_ENDPOINT = process.env.WORDPRESS_GRAPHQL_ENDPOINT; async function fetcher(query, { variables } = {}) { const res = await fetch(WORDPRESS_GRAPHQL_ENDPOINT, { method: 'POST', headers: { 'Content-Type': 'application/json' }, body: JSON.stringify({ query, variables }) }); const j...
25.733333
74
0.699482
a1ac756f27de4d3752dcb9581d08577dde5868c3
741
js
JavaScript
modules/productlists/server/routes/productlists.server.routes.js
mob35/ecommerce-server
37b33fa0db7e36f6d4f1d2a9f603aa14c4706a36
[ "MIT" ]
null
null
null
modules/productlists/server/routes/productlists.server.routes.js
mob35/ecommerce-server
37b33fa0db7e36f6d4f1d2a9f603aa14c4706a36
[ "MIT" ]
null
null
null
modules/productlists/server/routes/productlists.server.routes.js
mob35/ecommerce-server
37b33fa0db7e36f6d4f1d2a9f603aa14c4706a36
[ "MIT" ]
null
null
null
'use strict'; /** * Module dependencies */ var productlistsPolicy = require('../policies/productlists.server.policy'), productlists = require('../controllers/productlists.server.controller'); module.exports = function(app) { // Productlists Routes app.route('/api/productlists') //.all(productlistsPolicy...
33.681818
86
0.703104
a1ac7ece018a6e2c45c647613aa108de728cb61a
9,867
js
JavaScript
js/main.js
3t13nn3/-S5-TP1-Dev-Web
bd46ce0f6ae1b7c6113dba491114ccf3fb66147e
[ "MIT" ]
null
null
null
js/main.js
3t13nn3/-S5-TP1-Dev-Web
bd46ce0f6ae1b7c6113dba491114ccf3fb66147e
[ "MIT" ]
null
null
null
js/main.js
3t13nn3/-S5-TP1-Dev-Web
bd46ce0f6ae1b7c6113dba491114ccf3fb66147e
[ "MIT" ]
null
null
null
/*Etienne PENAULT */ /*TODO - Fix Speed in size function */ /*TODO - Add some generic picture detection */ window.addEventListener("load", event => { main(); }); const main = event => { let canvas = new Gallery(); canvas.createImage(); canvas.loop(); } class Gallery { /*To create a canv...
36.010949
162
0.610419
a1ad24fcdc480d892ead4a89456250f2e55c4a6c
19,735
js
JavaScript
bitrix/components/bitrix/forum.topic.reviews/templates/.default/script.js
Poulhouse/dev_don360
9e7b60e38cdd8be47d31a0080c9cdfabe22215ce
[ "Apache-2.0" ]
null
null
null
bitrix/components/bitrix/forum.topic.reviews/templates/.default/script.js
Poulhouse/dev_don360
9e7b60e38cdd8be47d31a0080c9cdfabe22215ce
[ "Apache-2.0" ]
null
null
null
bitrix/components/bitrix/forum.topic.reviews/templates/.default/script.js
Poulhouse/dev_don360
9e7b60e38cdd8be47d31a0080c9cdfabe22215ce
[ "Apache-2.0" ]
null
null
null
this.BX = this.BX || {}; this.BX.Forum = this.BX.Forum || {}; (function (exports,main_core,main_core_events) { 'use strict'; var Form = /*#__PURE__*/function () { babelHelpers.createClass(Form, null, [{ key: "makeQuote", value: function makeQuote(formId, _ref) { var entity = _ref.entity, ...
30.787832
180
0.555359
a1ad45bf5e364ec99dad1dc54d9fefcc0b95fe33
381
js
JavaScript
Overview/app.js
Brevering/WebAppsWithNodeJS
e3145a0c0e0c8cfb0692cf188002b62595c2b89b
[ "MIT" ]
null
null
null
Overview/app.js
Brevering/WebAppsWithNodeJS
e3145a0c0e0c8cfb0692cf188002b62595c2b89b
[ "MIT" ]
null
null
null
Overview/app.js
Brevering/WebAppsWithNodeJS
e3145a0c0e0c8cfb0692cf188002b62595c2b89b
[ "MIT" ]
null
null
null
/*globals require */ const fs = require('fs'); var contents = fs.readFileSync('app.js', 'utf8'); //console.log(contents); /* variant 1 const SuperheroModule = require('./models/superhero.js'); const Superhero = SuperheroModule.Superhero; var batman = new Superhero('Batman', 'Bruce Wayne', 'Utility Belt'); consol...
22.411765
68
0.700787
a1ad8bebaba397353e40acbb3f1176e934b90746
183
js
JavaScript
src/utils/chrono.js
navikt/podlet-vta-situasjon
328a35339df32510e93b040b5bef8af19dfa3897
[ "MIT" ]
null
null
null
src/utils/chrono.js
navikt/podlet-vta-situasjon
328a35339df32510e93b040b5bef8af19dfa3897
[ "MIT" ]
1
2021-02-15T06:33:46.000Z
2021-02-15T06:33:46.000Z
src/utils/chrono.js
navikt/podlet-vta-situasjon
328a35339df32510e93b040b5bef8af19dfa3897
[ "MIT" ]
null
null
null
const chrono = { iDag: null, }; export const setFastTidspunktForIDag = (iDag) => { chrono.iDag = iDag; }; export const hentIDag = () => { return chrono.iDag || new Date(); };
15.25
50
0.617486
a1ade83b98b985f896e57861258bf0ffe1f9e11d
998
js
JavaScript
src/data/types/ExerciseQuestionItem.js
champentrustz/react-ge
d547dd5faa71349889fbf32c35088ad916810722
[ "MIT" ]
null
null
null
src/data/types/ExerciseQuestionItem.js
champentrustz/react-ge
d547dd5faa71349889fbf32c35088ad916810722
[ "MIT" ]
null
null
null
src/data/types/ExerciseQuestionItem.js
champentrustz/react-ge
d547dd5faa71349889fbf32c35088ad916810722
[ "MIT" ]
null
null
null
import { GraphQLObjectType as ObjectType, GraphQLInt as Integer, GraphQLList as List, GraphQLString as StringType, GraphQLNonNull as NonNull, GraphQLFloat as Float, } from 'graphql'; import ExerciseItem from '../types/ExerciseItem'; import Exercise from '../models/Exercise'; import ExerciseQuestionChoiceIt...
27.722222
96
0.710421
a1ae323e56cd5377d6bcefce7aa9134e9cf2a860
1,261
js
JavaScript
dist/skylark-selectize/contrib/MicroPlugin.js
skylark-integration/skylark-selectize
f60f447f2da6982f67ecdd063749e05e1eafef03
[ "MIT" ]
null
null
null
dist/skylark-selectize/contrib/MicroPlugin.js
skylark-integration/skylark-selectize
f60f447f2da6982f67ecdd063749e05e1eafef03
[ "MIT" ]
1
2022-03-02T07:04:44.000Z
2022-03-02T07:04:44.000Z
dist/skylark-selectize/contrib/MicroPlugin.js
skylark-integration/skylark-selectize
f60f447f2da6982f67ecdd063749e05e1eafef03
[ "MIT" ]
null
null
null
/** * skylark-selectize - A version of jquery.appendgrid that ported to running on skylarkjs ui. * @author Hudaokeji, Inc. * @version v0.9.0 * @link https://github.com/skylark-integration/skylark-selectize/ * @license MIT */ define([],function(){var n={mixin:function(n){n.plugins={},n.prototype.initializePlugins=...
126.1
967
0.706582
a1aff824ae6758761a703295c2fdee3e49d8fa68
5,879
js
JavaScript
src/routes/link.js
danilovilhena/whatsapp-redirect
7cd0ecbe8d3625ca54400c17f92cff05b0a37cfe
[ "MIT" ]
1
2021-10-10T01:54:05.000Z
2021-10-10T01:54:05.000Z
src/routes/link.js
danilovilhena/whatsapp-redirect
7cd0ecbe8d3625ca54400c17f92cff05b0a37cfe
[ "MIT" ]
2
2021-10-14T20:36:09.000Z
2021-10-16T00:56:07.000Z
src/routes/link.js
danilovilhena/whatsapp-redirect
7cd0ecbe8d3625ca54400c17f92cff05b0a37cfe
[ "MIT" ]
1
2021-10-10T01:54:05.000Z
2021-10-10T01:54:05.000Z
const express = require('express') const { Deta } = require('deta') const { sanitizeLink } = require('../helper.js') const router = new express.Router() const deta = Deta('b0t6xspl_PfV5pfhncSNXq84EkMki2FtjUrXMH57R') const db = deta.Base('whatsapp') // READ - Get/redirect to current link router.get('/:key', async (re...
38.933775
125
0.587515
a1b03caba496f07938114bf88f7404da47a7d674
280
js
JavaScript
src/controls/questionBubble.js
XaveScor/chat-builder
2957050291766e350167b87e420b8bcfafbf1ab1
[ "MIT" ]
null
null
null
src/controls/questionBubble.js
XaveScor/chat-builder
2957050291766e350167b87e420b8bcfafbf1ab1
[ "MIT" ]
9
2019-06-27T14:30:07.000Z
2021-09-01T07:26:34.000Z
src/controls/questionBubble.js
XaveScor/conforms
2957050291766e350167b87e420b8bcfafbf1ab1
[ "MIT" ]
null
null
null
// @flow import * as React from 'react' import { createBubble } from '../createBubble' type ComponentProps = { question: string, } const component = ({ question }) => <p className='robot'>{question}</p> export const questionBubble = createBubble<ComponentProps>({ component })
25.454545
73
0.707143
a1b1b77735ef2c36d7a46b0c93fa120ee82db6fe
5,463
js
JavaScript
src/js/components/chatInterface/interfaceFooter.js
ShiningZeng/EasyChat
1940b679496e816f61c31e527c56aceb677c339a
[ "MIT" ]
1
2016-10-10T08:04:57.000Z
2016-10-10T08:04:57.000Z
src/js/components/chatInterface/interfaceFooter.js
ShiningZeng/EasyChat
1940b679496e816f61c31e527c56aceb677c339a
[ "MIT" ]
null
null
null
src/js/components/chatInterface/interfaceFooter.js
ShiningZeng/EasyChat
1940b679496e816f61c31e527c56aceb677c339a
[ "MIT" ]
null
null
null
import React, { Component } from 'react'; import {socket, NAME, PHOTO} from '../../main'; export class InterfaceFooter extends Component { constructor(props) { super(props); } componentDidMount() { this.showFile(); this.hideEmoji(); this.initEmoji(); //初始化表情点击事件 const emoji = this.refs.emoji; this....
30.519553
86
0.647996
a1b1f3de70acee78d5ef01d3196698d02a934fb3
6,703
js
JavaScript
1945/lib/javascript/game.js
austinkao91/austinkao91.github.io
17fd2e9e01f86c2f8f1da599f75c72e9cf98bf37
[ "CC-BY-3.0" ]
null
null
null
1945/lib/javascript/game.js
austinkao91/austinkao91.github.io
17fd2e9e01f86c2f8f1da599f75c72e9cf98bf37
[ "CC-BY-3.0" ]
null
null
null
1945/lib/javascript/game.js
austinkao91/austinkao91.github.io
17fd2e9e01f86c2f8f1da599f75c72e9cf98bf37
[ "CC-BY-3.0" ]
null
null
null
(function(root) { if(typeof Asteroids === "undefined") { root.Asteroids = {}; } var Game = Asteroids.Game = function(width, height) { this.width = width; this.height = height; this.asteroids = []; this.bullets = []; this.explosions = []; this.addAsteroids(); this.battleship = new...
26.389764
142
0.586006
a1b221a57d3db91c30d1f2a1f4a0446ebf9b3d74
679
js
JavaScript
src/client/schema/index.js
yoo2001818/IoTLogic-server
91a2887b8f41fc6d21898dce20af9d9a9ed1ee44
[ "MIT" ]
null
null
null
src/client/schema/index.js
yoo2001818/IoTLogic-server
91a2887b8f41fc6d21898dce20af9d9a9ed1ee44
[ "MIT" ]
null
null
null
src/client/schema/index.js
yoo2001818/IoTLogic-server
91a2887b8f41fc6d21898dce20af9d9a9ed1ee44
[ "MIT" ]
null
null
null
// This is client's schema: used internally by frontend. If you're looking for // server's DB schema, you should look /db/index.js instead. import { Schema, arrayOf } from 'normalizr'; export const User = new Schema('users', { idAttribute: entity => { if (entity.username) return entity.username.toLowerCase(); ...
20.575758
78
0.677467
a1b3c6a72219c1e5e11396a289debb085820eeb4
1,385
js
JavaScript
home.js
henrycii97/uploadbackendlazadahome
ba8b2d15311a87763bb2db3a0a77616d87323bb9
[ "MIT" ]
null
null
null
home.js
henrycii97/uploadbackendlazadahome
ba8b2d15311a87763bb2db3a0a77616d87323bb9
[ "MIT" ]
null
null
null
home.js
henrycii97/uploadbackendlazadahome
ba8b2d15311a87763bb2db3a0a77616d87323bb9
[ "MIT" ]
null
null
null
$(document).ready(function () { $('.icon').click(function (e) { e.preventDefault(); $('.ads').hide(); }); $('li.app').click(function (e) { e.preventDefault(); $('.content-app-all').toggleClass('visible'); $('.customer-care.mp').removeClass('visible'); $('...
31.477273
57
0.548014
a1b3d1e560076fd24fe4c12eb7806597d0096195
172
js
JavaScript
.huskyrc.js
eliduty/libs
04199b2ec43b10bd09333d3403dc6aee51f0b2c8
[ "MIT" ]
3
2022-01-14T13:02:57.000Z
2022-03-22T10:10:12.000Z
.huskyrc.js
eliduty/libs
04199b2ec43b10bd09333d3403dc6aee51f0b2c8
[ "MIT" ]
null
null
null
.huskyrc.js
eliduty/libs
04199b2ec43b10bd09333d3403dc6aee51f0b2c8
[ "MIT" ]
null
null
null
module.exports = { hooks: { 'pre-commit': 'npx @ls-lint/ls-lint && npx lint-staged --allow-empty', 'commit-msg': 'npx --no-install commitlint --edit $1', }, };
24.571429
74
0.587209
a1b3d2a64bf70f7aaf1f4d6d2313b02f09a5f899
3,402
js
JavaScript
gulpfile.js
davidsekar/jQuery-UI-ScrollTab
1fe60282c6a8bec477e15f11b6c007725565b623
[ "MIT" ]
9
2017-08-26T07:04:24.000Z
2021-11-19T07:57:56.000Z
gulpfile.js
davidsekar/jQuery-UI-ScrollTab
1fe60282c6a8bec477e15f11b6c007725565b623
[ "MIT" ]
null
null
null
gulpfile.js
davidsekar/jQuery-UI-ScrollTab
1fe60282c6a8bec477e15f11b6c007725565b623
[ "MIT" ]
3
2021-03-10T21:28:32.000Z
2022-01-22T19:53:29.000Z
var gulp = require('gulp'); var browserSync = require('browser-sync').create(); var sass = require('gulp-sass'); var typeScript = require('gulp-typescript'); var sourcemaps = require('gulp-sourcemaps'); var tsProject = typeScript.createProject("tsconfig.json"); var rimraf = require('rimraf'); var header = require('gulp...
24.47482
84
0.604056
a1b55e379aa2b7afb56b77b8d92a8528cf495aed
5,894
js
JavaScript
src/bitset.js
Andrew-He/geom2d
8c393c54f972b2185e0cb408328d78192254544b
[ "Apache-2.0" ]
null
null
null
src/bitset.js
Andrew-He/geom2d
8c393c54f972b2185e0cb408328d78192254544b
[ "Apache-2.0" ]
1
2022-03-24T08:13:40.000Z
2022-03-24T08:13:40.000Z
src/bitset.js
Andrew-He/geom2d
8c393c54f972b2185e0cb408328d78192254544b
[ "Apache-2.0" ]
null
null
null
/** * @file Bitset.js * @author andrew he * @reference http://www.cplusplus.com/reference/bitset/ */ export default class Bitset { constructor(value) { if (typeof value === 'number') { this.value = new Number(value).valueOf(); if (this.value === Infinity) { thro...
25.188034
119
0.537326
a1b5a9174fe98e396db492290fed84d077c61234
5,248
js
JavaScript
site/web/app/plugins/dhl-for-woocommerce/dhlpwoocommerce/assets/js/dhlpwc.parcelshop.select.js
Giannisduke/loukia-v2
cef4ab03249ab1601768a70fa3dd4ed75727555c
[ "RSA-MD" ]
null
null
null
site/web/app/plugins/dhl-for-woocommerce/dhlpwoocommerce/assets/js/dhlpwc.parcelshop.select.js
Giannisduke/loukia-v2
cef4ab03249ab1601768a70fa3dd4ed75727555c
[ "RSA-MD" ]
null
null
null
site/web/app/plugins/dhl-for-woocommerce/dhlpwoocommerce/assets/js/dhlpwc.parcelshop.select.js
Giannisduke/loukia-v2
cef4ab03249ab1601768a70fa3dd4ed75727555c
[ "RSA-MD" ]
null
null
null
jQuery(document).ready(function ($) { var dhlpwc_parcelshop_selector_timeout = null; var dhlpwc_shipping_input_name = '_unavailable_option_'; if ($('[id^=shipping_method_][id$=_dhlpwc-parcelshop]').length > 0) { dhlpwc_shipping_input_name = $('[id^=shipping_method_][id$=_dhlpwc-parcelshop]').attr('...
53.010101
208
0.580412
a1b6afaa57fbac3f7da9afc4b5de6fc49606a7b1
315
js
JavaScript
scripts/webpack.js
thesaikot/xde
9570cd4e198ff33c81e54c45ade7a16ab715970a
[ "MIT" ]
879
2017-03-25T08:48:47.000Z
2021-11-15T09:48:43.000Z
scripts/webpack.js
thesaikot/xde
9570cd4e198ff33c81e54c45ade7a16ab715970a
[ "MIT" ]
93
2017-03-27T06:10:14.000Z
2018-07-10T11:30:33.000Z
scripts/webpack.js
joss12/xde
5ed22972afbdc7b0ecdc4d2eaa9f5e3bc3e8b088
[ "MIT" ]
148
2017-04-09T14:52:27.000Z
2020-08-24T13:42:01.000Z
let path = require('path'); let execSync = require('child_process').execSync; if (process.env.HOT) { execSync('npm run webpack-hot', { cwd: path.join(__dirname, '..'), stdio: 'inherit', }); } else { execSync('npm run webpack-dev', { cwd: path.join(__dirname, '..'), stdio: 'inherit', }); }
21
49
0.596825
a1b6b6b7716cea12c434fe84a09b30a3d50361a9
810
js
JavaScript
register_commands.js
web-tech-tw/discord-manager
ca069c1f2f06ab596e40f7bd46a8253fe747626c
[ "MIT" ]
null
null
null
register_commands.js
web-tech-tw/discord-manager
ca069c1f2f06ab596e40f7bd46a8253fe747626c
[ "MIT" ]
null
null
null
register_commands.js
web-tech-tw/discord-manager
ca069c1f2f06ab596e40f7bd46a8253fe747626c
[ "MIT" ]
null
null
null
'use strict' require('dotenv').config() const { REST } = require('@discordjs/rest'); const { Routes } = require('discord-api-types/v9'); const commands = [ { name: 'ping', description: 'Replies with Pong!' }, { name: 'user_id', description: 'Replies with Pong!' }, { name: 'clear', d...
20.769231
88
0.624691
a1b72d2eb14dc9c63bcb232c28a960bac889fce8
122,379
js
JavaScript
quickui/libs/js/graphical/map_data/china/province/heilongjiang.js
tengge1/quickui-trail
258faea9ab55fc4959f0723f16ba80d38525aeba
[ "Apache-2.0" ]
2
2018-08-22T01:09:05.000Z
2020-08-16T03:58:15.000Z
quickui/libs/js/graphical/map_data/china/province/heilongjiang.js
tengge1/quickui-trail
258faea9ab55fc4959f0723f16ba80d38525aeba
[ "Apache-2.0" ]
null
null
null
quickui/libs/js/graphical/map_data/china/province/heilongjiang.js
tengge1/quickui-trail
258faea9ab55fc4959f0723f16ba80d38525aeba
[ "Apache-2.0" ]
2
2018-08-22T01:09:07.000Z
2022-01-18T03:48:57.000Z
var heilongjiangMapConfig = { base: { 'fontSize': 12, 'point': 3.5 }, viewBox: [1185.0861642873883, -1435.9087566254907, 680.9449423479143, 618.3772597960831], shapes: { "c2311":"M1390.3797655818084,-1137.3229146350443L1390.3268891236778,-1140.0252769281378L1392.2251701489672,-1145.8454867891712L1391.67701481...
2,266.277778
12,662
0.892433
a1b8c3cddd8e85726bb40d271c1fae952cc3bd33
13,491
js
JavaScript
src/jquery-bootstrap-popover.js
FCOO/fcoo-bootstrap
8c7133bc34e9ab370dbe8b07206638828cc6c364
[ "MIT" ]
null
null
null
src/jquery-bootstrap-popover.js
FCOO/fcoo-bootstrap
8c7133bc34e9ab370dbe8b07206638828cc6c364
[ "MIT" ]
7
2020-02-07T16:56:02.000Z
2021-01-05T14:58:08.000Z
src/jquery-bootstrap-popover.js
FCOO/jquery-bootstrap
f8fe0b950900a26bbbdcd75f793d1d428aa4d770
[ "MIT" ]
null
null
null
/**************************************************************************** jquery-bootstrap-popover.js, (c) 2017, FCOO https://github.com/fcoo/jquery-bootstrap https://github.com/fcoo ****************************************************************************/ (function ($, window/*, document, undefined*/) ...
40.032641
207
0.512712
a1ba07f708f6455c2faa8166c1c0a5fc931f667f
831
js
JavaScript
sagas/todos.test.js
pmdarrow/react-todo
94532d44434826cf1917f5f2422e534e24061ea8
[ "MIT" ]
4
2017-08-01T07:42:31.000Z
2019-02-20T10:47:08.000Z
sagas/todos.test.js
pmdarrow/react-todo
94532d44434826cf1917f5f2422e534e24061ea8
[ "MIT" ]
null
null
null
sagas/todos.test.js
pmdarrow/react-todo
94532d44434826cf1917f5f2422e534e24061ea8
[ "MIT" ]
null
null
null
import { call, put } from 'redux-saga/effects'; import { addTodoSucceeded, addTodoFailed } from '../actions/todos'; import { addTodo } from './todos'; import api from '../services/api'; describe('todos sagas', () => { it('should call the addTodo API function succesfully', () => { const gen = addTodo(); expec...
33.24
71
0.629362
a1babd380e13b60de7e225b7bbf5d67be19172a7
475
js
JavaScript
bin/store/startup.js
rayk/criticli
b0ae3b9e2b93061a5df42c796840171f2618da5b
[ "MIT" ]
null
null
null
bin/store/startup.js
rayk/criticli
b0ae3b9e2b93061a5df42c796840171f2618da5b
[ "MIT" ]
null
null
null
bin/store/startup.js
rayk/criticli
b0ae3b9e2b93061a5df42c796840171f2618da5b
[ "MIT" ]
null
null
null
/** * Startup Module */ const env = require('../env/config'); const pkg = require('../../package'); /** * Returns the state object found in the current work path. * * Startup functions have and transforms between version. * @param version */ const maybeConfig = async version => { return await env .getCon...
16.964286
59
0.606316
a1bad4e268095324992aa7f30f51b0463f57c0d5
1,303
js
JavaScript
commands/moderation/clear.js
sadnothappy/test
b6ef25def7fbc24a1524c3ee7b5c9c72c6443e45
[ "Apache-2.0" ]
5
2021-05-16T13:51:29.000Z
2021-12-21T20:54:10.000Z
commands/moderation/clear.js
sadnothappy/test
b6ef25def7fbc24a1524c3ee7b5c9c72c6443e45
[ "Apache-2.0" ]
null
null
null
commands/moderation/clear.js
sadnothappy/test
b6ef25def7fbc24a1524c3ee7b5c9c72c6443e45
[ "Apache-2.0" ]
3
2021-03-20T19:54:25.000Z
2021-05-23T20:27:11.000Z
const Discord = require("discord.js"); module.exports = { name: "clear", aliases: ["purge"], description: "Delete messages from a chat", category: "Moderation", usage: "clear <amount>", cooldown: 3, run: async (client, message, args) => { if(!message.member.hasPermission("MANAGE_MESSAGES")) return mess...
36.194444
181
0.720645
a1baf7b3d5233c43cfb4abf3c55f15deba8b409b
130
js
JavaScript
auth0-variables.js
JasonBao-BB/Lovoco-Life
2cde403d3e5d58be572370849e2cf64193f47db3
[ "MIT" ]
null
null
null
auth0-variables.js
JasonBao-BB/Lovoco-Life
2cde403d3e5d58be572370849e2cf64193f47db3
[ "MIT" ]
null
null
null
auth0-variables.js
JasonBao-BB/Lovoco-Life
2cde403d3e5d58be572370849e2cf64193f47db3
[ "MIT" ]
null
null
null
var AUTH0_CLIENT_ID='aVaEKNo1bNVQe8AGde1LdY4YIPMPJw9S'; var AUTH0_DOMAIN='lovoco.auth0.com'; var AUTH0_CALLBACK_URL=location.href;
43.333333
55
0.861538
a1bba3523cbf213b0abc50af3e23ed3be4173f69
224
js
JavaScript
polymath-apps/packages/polymath-ui/src/images/icons/Play.js
Morpheuslabs-io/sto-as-service-app-ref
54c92e24f2368d2e8dfe85f07eae2e59948bcc62
[ "MIT" ]
17
2018-09-22T15:40:13.000Z
2021-09-21T13:49:35.000Z
polymath-apps/packages/polymath-ui/src/images/icons/Play.js
Morpheuslabs-io/sto-as-service-app-ref
54c92e24f2368d2e8dfe85f07eae2e59948bcc62
[ "MIT" ]
169
2018-09-19T16:30:52.000Z
2020-09-30T20:44:45.000Z
polymath-apps/packages/polymath-ui/src/images/icons/Play.js
Morpheuslabs-io/sto-as-service-app-ref
54c92e24f2368d2e8dfe85f07eae2e59948bcc62
[ "MIT" ]
13
2018-09-18T16:55:45.000Z
2021-08-29T13:33:47.000Z
import React from 'react'; const SvgPlay = props => ( <svg width="1em" height="1em" {...props}> <path d="M8 0C3.6 0 0 3.6 0 8s3.6 8 8 8 8-3.6 8-8-3.6-8-8-8zM5 11V5l6.6 3L5 11z" /> </svg> ); export default SvgPlay;
22.4
87
0.598214
a1bc2c65e2816a277af0259a4a009c2ded13b56f
355
js
JavaScript
models/firm.js
dkapper01/TitanHub
ed7e238319f16022cb2d7f2b7586d428182556a9
[ "CC0-1.0" ]
null
null
null
models/firm.js
dkapper01/TitanHub
ed7e238319f16022cb2d7f2b7586d428182556a9
[ "CC0-1.0" ]
null
null
null
models/firm.js
dkapper01/TitanHub
ed7e238319f16022cb2d7f2b7586d428182556a9
[ "CC0-1.0" ]
null
null
null
var mongoose = require('mongoose'); var Schema = mongoose.Schema; var FirmSchema = new Schema({ name: {type: String, required: true, min: 3, max: 100} }); // Virtual for this firm instance URL. FirmSchema .virtual('url') .get(function () { return '/data/firm/'+this._id; }); // Export model. module.exports = m...
19.722222
58
0.673239
a1bcc38b7fc93aa4d7bd412ab67b93d04c225e36
2,323
js
JavaScript
src/playground.js
justinobney/redux-learning-1
9ffbb84f673976190534918118b7432494fd8698
[ "MIT" ]
null
null
null
src/playground.js
justinobney/redux-learning-1
9ffbb84f673976190534918118b7432494fd8698
[ "MIT" ]
null
null
null
src/playground.js
justinobney/redux-learning-1
9ffbb84f673976190534918118b7432494fd8698
[ "MIT" ]
null
null
null
import React, {Component} from 'react'; import {connect} from 'react-redux'; import {bindActionCreators} from 'redux'; import {Row, Col} from 'react-bootstrap'; class Playground extends Component { displayName = 'Playground component' renderOtherDdl() { const state = this.props.playgroundState; if (state.n...
24.978495
83
0.586741
a1bdafb3ff2a2517bf2ef7c62ba5fbb088269250
264
js
JavaScript
src/components/Banner.js
ajscholz/madison-hills-website
c54a6d55c515d25c5f3ed9608bd1ad32444d6fac
[ "MIT" ]
null
null
null
src/components/Banner.js
ajscholz/madison-hills-website
c54a6d55c515d25c5f3ed9608bd1ad32444d6fac
[ "MIT" ]
14
2020-04-22T21:15:51.000Z
2022-02-28T02:56:26.000Z
src/components/Banner.js
ajscholz/madison-hills-website
c54a6d55c515d25c5f3ed9608bd1ad32444d6fac
[ "MIT" ]
null
null
null
import styled from 'styled-components'; export default styled.h1` font-size: 2.25rem; font-weight: bold; color: var(--white); text-align: center; padding: 0 5vw; max-width: 700px; margin: 0; @media (min-width: 400px) { font-size: 3rem; } `;
17.6
39
0.643939
a1bdfdf3a343b30c0772972e1def0c21341dc1e1
2,056
js
JavaScript
generators/scaffold/index.js
ericmcgregor/generator-meteorstarter
c67f9a35788817e2877eb0ffd8d982723602342d
[ "Apache-2.0" ]
null
null
null
generators/scaffold/index.js
ericmcgregor/generator-meteorstarter
c67f9a35788817e2877eb0ffd8d982723602342d
[ "Apache-2.0" ]
null
null
null
generators/scaffold/index.js
ericmcgregor/generator-meteorstarter
c67f9a35788817e2877eb0ffd8d982723602342d
[ "Apache-2.0" ]
null
null
null
'use strict'; const Generator = require('yeoman-generator'); const chalk = require('chalk'); const yosay = require('yosay'); module.exports = class extends Generator { setup() { this.props = this.options.props; console.log(this.props) const startupPath = 'imports/startup/server' const dbPath = 'impo...
27.052632
81
0.598735
a1be34732c2abccc5e89f868e0d81a03f584b6f4
1,024
js
JavaScript
src/apps/crm/db/migrations/20191016194120_create_enrollments.js
ccetc/mahaplatform.com
6e8610fe6e835e071492784655dbb5502863d031
[ "MIT" ]
null
null
null
src/apps/crm/db/migrations/20191016194120_create_enrollments.js
ccetc/mahaplatform.com
6e8610fe6e835e071492784655dbb5502863d031
[ "MIT" ]
52
2019-10-28T15:38:35.000Z
2022-02-28T04:23:48.000Z
src/apps/crm/db/migrations/20191016194120_create_enrollments.js
mahaplatform/mahaplatform.com
a96d8f7b12288c7cb01b036077182238c77d5b03
[ "MIT" ]
null
null
null
const CreateEnrollment = { databaseName: 'maha', up: async (knex) => { await knex.schema.createTable('crm_enrollments', (table) => { table.increments('id').primary() table.integer('team_id').unsigned() table.foreign('team_id').references('maha_teams.id') table.integer('workflow_id').un...
32
77
0.677734
a1beb8e5a1d1d3f484104f74c7d6188ccf6bc646
4,073
js
JavaScript
src/components/periods/PeriodSelect.js
dhis2/maps-app
3c1d09393aada129c73c96d228e0c92a51111337
[ "BSD-3-Clause" ]
12
2018-02-07T05:08:44.000Z
2021-06-16T05:06:21.000Z
src/components/periods/PeriodSelect.js
dhis2/maps-app
3c1d09393aada129c73c96d228e0c92a51111337
[ "BSD-3-Clause" ]
1,217
2018-04-24T07:48:35.000Z
2022-03-25T07:08:52.000Z
src/components/periods/PeriodSelect.js
dhis2/maps-app
3c1d09393aada129c73c96d228e0c92a51111337
[ "BSD-3-Clause" ]
7
2018-03-20T09:07:26.000Z
2021-02-24T16:55:28.000Z
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import i18n from '@dhis2/d2-i18n'; import { Button, Tooltip, IconChevronLeft24, IconChevronRight24, } from '@dhis2/ui'; import cx from 'classnames'; import { SelectField } from '../core'; import { getFixedPeriodsByType, filter...
29.302158
101
0.486865
a1c044c4c6f3ffe5516008ff2f5d9fdb6d1b7b3c
5,742
js
JavaScript
demo/internal/expReport.js
mathieulagrange/paperBandwidthExtension
4e4c1f57acba66a8b121369f0f3176b665ec03ca
[ "MIT" ]
2
2020-05-06T14:13:04.000Z
2020-05-08T19:50:43.000Z
demo/internal/expReport.js
mathieulagrange/paperBandwidthExtension
4e4c1f57acba66a8b121369f0f3176b665ec03ca
[ "MIT" ]
null
null
null
demo/internal/expReport.js
mathieulagrange/paperBandwidthExtension
4e4c1f57acba66a8b121369f0f3176b665ec03ca
[ "MIT" ]
1
2020-05-06T14:13:06.000Z
2020-05-06T14:13:06.000Z
// app.js angular.module('sortApp', []) .controller('mainController', function($scope, $http, $timeout) { var context = new AudioContext(); var source = null; $scope.selectedSetting = 0; $scope.fileId = 0; $scope.playing = false; $scope.playRandom = false; $scope.audioFileNames = data.audioFileName...
30.062827
117
0.648729
a1c18b53592f4f352c1150a5344b8f1055bf23f3
657
js
JavaScript
__mocks__/child_process.js
Satyam/cra-dotenv
bbfb5ba5c4b9839d435aaaff3e9d3e92e32d2c22
[ "MIT" ]
null
null
null
__mocks__/child_process.js
Satyam/cra-dotenv
bbfb5ba5c4b9839d435aaaff3e9d3e92e32d2c22
[ "MIT" ]
null
null
null
__mocks__/child_process.js
Satyam/cra-dotenv
bbfb5ba5c4b9839d435aaaff3e9d3e92e32d2c22
[ "MIT" ]
null
null
null
const mockSpawn = require('spawn-mock').mockSpawn; const child_process = require.requireActual('child_process'); const REACT_APP = /^REACT_APP_/i; const spawn = mockSpawn(function(cp) { // the command (cmd) and the arguments (args) that the returned function // has bene called wth const { cmd, args } = cp; c...
31.285714
79
0.677321
a1c1d60d6589a200ef8cec249598257de91ad04c
653
js
JavaScript
cli-tools/cli-lib/modules/tt-tags.js
alexdinari/aofl
f8a7977459cb90fefcb6f0ee89da1909495c36ef
[ "MIT" ]
29
2018-08-28T17:20:48.000Z
2022-01-07T23:09:47.000Z
cli-tools/cli-lib/modules/tt-tags.js
alexdinari/aofl
f8a7977459cb90fefcb6f0ee89da1909495c36ef
[ "MIT" ]
9
2018-12-27T05:09:40.000Z
2021-06-14T20:38:22.000Z
cli-tools/cli-lib/modules/tt-tags.js
alexdinari/aofl
f8a7977459cb90fefcb6f0ee89da1909495c36ef
[ "MIT" ]
10
2018-10-30T20:19:51.000Z
2021-12-22T00:56:03.000Z
const uuidv4 = require('uuid/v4'); const uniki = require('uniki'); const translationRegex = /(\._[_c]\()[^`'"{]*[`'"{)](?!<tt-.*?>)/g; class TtTag { static addIds(str) { let matches = translationRegex.exec(str); let pivot = 0; let out = ''; while (matches !== null) { const ttTag = `'<tt-${uni...
22.517241
67
0.574273
a1c38aa5bf8d66d2d8a4b8acf4b50befba3ec3ec
8,943
js
JavaScript
implementation/test/DepositFactoryTest.js
aliatiia/tbtc
00c38c8b71ed76a5e6e5c2af0cb569ff8d918bf9
[ "MIT" ]
2
2021-01-08T16:56:12.000Z
2021-01-08T17:41:25.000Z
implementation/test/DepositFactoryTest.js
aliatiia/tbtc
00c38c8b71ed76a5e6e5c2af0cb569ff8d918bf9
[ "MIT" ]
null
null
null
implementation/test/DepositFactoryTest.js
aliatiia/tbtc
00c38c8b71ed76a5e6e5c2af0cb569ff8d918bf9
[ "MIT" ]
null
null
null
import deployTestDeposit from './helpers/deployTestDeposit' import expectThrow from './helpers/expectThrow' import BN from 'bn.js' import utils from './utils' import chai, { expect } from 'chai' import bnChai from 'bn-chai' chai.use(bnChai(BN)) const ECDSAKeepStub = artifacts.require('ECDSAKeepStub') const Deposit = ...
44.272277
1,154
0.76093
a1c41eddc7937ce2b501a32f5fa45a0d6ee5da3e
1,916
js
JavaScript
api/marketplace/customer/customer.controller.js
williamlagos/boxer
e96edbc309139e7398915635bdecead21c35f605
[ "MIT" ]
null
null
null
api/marketplace/customer/customer.controller.js
williamlagos/boxer
e96edbc309139e7398915635bdecead21c35f605
[ "MIT" ]
1
2020-04-24T22:36:22.000Z
2020-04-24T22:36:22.000Z
api/marketplace/customer/customer.controller.js
efforia/boxer
e96edbc309139e7398915635bdecead21c35f605
[ "MIT" ]
null
null
null
/** * @license MIT * @version 1.1.0 * @author M.A.R.S. Labs * @description Customer controller. */ // --------------- Module Imports const Customer = require("../customer/customer.model"); const Order = require("../order/order.model"); // --------------- Module Controller const CustomerCtrl = module.exports = { ...
47.9
185
0.650835
a1c431b2f8d1becee439e466a22b940a9419c1e6
533
js
JavaScript
js/directives.js
silvaaraujo/weather-forecast-spa
8ee8ca48374acb25b1dc36e71f5bc4368c1edba7
[ "MIT" ]
null
null
null
js/directives.js
silvaaraujo/weather-forecast-spa
8ee8ca48374acb25b1dc36e71f5bc4368c1edba7
[ "MIT" ]
null
null
null
js/directives.js
silvaaraujo/weather-forecast-spa
8ee8ca48374acb25b1dc36e71f5bc4368c1edba7
[ "MIT" ]
null
null
null
weatherApp.directive('temperatureReport', function() { return { templateUrl: 'directives/temperatureReport.html', restrict: 'E', scope: { weather: '=' }, link: function(scope, element, attrs) { scope.kelvinToCelcius = function(degreeKe...
26.65
60
0.476548
a1c488835ce9cc6e8ea13c2ba062cb381e35fc02
24,582
js
JavaScript
server.js
xrysanthopoulos/Trivia
b705b377c838ed5cdd23bc2fc58ddbc41cc9952b
[ "Unlicense" ]
null
null
null
server.js
xrysanthopoulos/Trivia
b705b377c838ed5cdd23bc2fc58ddbc41cc9952b
[ "Unlicense" ]
null
null
null
server.js
xrysanthopoulos/Trivia
b705b377c838ed5cdd23bc2fc58ddbc41cc9952b
[ "Unlicense" ]
null
null
null
const express = require('express'); const bodyParser = require('body-parser'); const request = require('request'); const axios = require('axios'); const MongoClient = require('mongodb').MongoClient; const PAGE_ACCESS_TOKEN = process.env.PAGE_ACCESS_TOKEN; const PORT = process.env.PORT; const VERIFY_TOKEN = process.env...
29.796364
257
0.528842
a1c4d4e76961caf73447fff95f6672acbed669db
435
js
JavaScript
application/config/config.js
mirevsky/emeraldBuilder
3c258b91dac30947f52855a2b0b93b8f0bd25e25
[ "MIT" ]
null
null
null
application/config/config.js
mirevsky/emeraldBuilder
3c258b91dac30947f52855a2b0b93b8f0bd25e25
[ "MIT" ]
null
null
null
application/config/config.js
mirevsky/emeraldBuilder
3c258b91dac30947f52855a2b0b93b8f0bd25e25
[ "MIT" ]
null
null
null
export const Config = { "version" : "0.0.1", "name" : "emerald+", "mode": "development", "mod_rewrite": false, "default": { "language": { "name" : "English", "code" : "en-us" }, "currency" : { "sign" : "USD", "name" : "American Dollar" }, "localization" : { ...
18.913043
40
0.471264
a1c562c61350fde720756e0d56e8f9ea75072a9a
360
js
JavaScript
web/themes/custom/particle/apps/pl-default/pattern-lab/_patterns/01-atoms-demo/aaronpero-button/index.js
teodyseguin/aaronpero
aa5e899f60a5a72d3902c1d0dd5ec0e93a2211f7
[ "MIT" ]
null
null
null
web/themes/custom/particle/apps/pl-default/pattern-lab/_patterns/01-atoms-demo/aaronpero-button/index.js
teodyseguin/aaronpero
aa5e899f60a5a72d3902c1d0dd5ec0e93a2211f7
[ "MIT" ]
6
2021-01-18T00:20:51.000Z
2021-02-09T00:30:56.000Z
web/themes/custom/particle/apps/pl-default/pattern-lab/_patterns/01-atoms-demo/aaronpero-button/index.js
teodyseguin/aaronpero
aa5e899f60a5a72d3902c1d0dd5ec0e93a2211f7
[ "MIT" ]
null
null
null
/** * Demo of aaronpero-button. Pulls in aaronpero-button assets, and provides demo-only assets. * * (This file is NOT imported by the design system, but is included as part of * a Pattern Lab app.) */ // Import component assets import 'atoms/aaronpero-button'; // Import demo assets import './aaronpero-buttons.t...
25.714286
93
0.725
a1c596056d46b1759c32780479130abd01c541ff
4,089
js
JavaScript
src/EdgeSlice.js
BenjaminMichaelis/graph-sketchpad
f8fb1a34e7735ab0abc20117b6a6897170333150
[ "MIT" ]
1
2022-01-20T07:01:12.000Z
2022-01-20T07:01:12.000Z
src/EdgeSlice.js
BenjaminMichaelis/graph-sketchpad
f8fb1a34e7735ab0abc20117b6a6897170333150
[ "MIT" ]
18
2022-01-26T18:19:56.000Z
2022-03-31T18:20:19.000Z
src/EdgeSlice.js
BenjaminMichaelis/GraphSketchpad
f8fb1a34e7735ab0abc20117b6a6897170333150
[ "MIT" ]
null
null
null
import React from "react"; import './Edge.css' function EdgeSlice(props) { const {edge, onClick, offsetLeft, overlappingEdges} = props const [start, end] = edge.endpoints const isLoop = start === end; const [x1, y1] = [start.position[0] - offsetLeft, start.position[1]] const [x2, y2] = [end.positi...
37.861111
148
0.523844
a1c638e5875efaec2ce76e8d23dd86fcee0d6400
101,478
js
JavaScript
pc/js/app.2783ea08.js
renserve/music-pc
0568926b85c122c6a6488704de79ae06a2426a22
[ "MIT" ]
null
null
null
pc/js/app.2783ea08.js
renserve/music-pc
0568926b85c122c6a6488704de79ae06a2426a22
[ "MIT" ]
null
null
null
pc/js/app.2783ea08.js
renserve/music-pc
0568926b85c122c6a6488704de79ae06a2426a22
[ "MIT" ]
null
null
null
!function(t){function e(e){for(var a,r,s=e[0],c=e[1],u=e[2],l=0,p=[];l<s.length;l++)r=s[l],Object.prototype.hasOwnProperty.call(i,r)&&i[r]&&p.push(i[r][0]),i[r]=0;for(a in c)Object.prototype.hasOwnProperty.call(c,a)&&(t[a]=c[a]);for(d&&d(e);p.length;)p.shift()();return o.push.apply(o,u||[]),n()}function n(){for(var t,e...
101,478
101,478
0.70365
a1c6cb97746e5502296c0b8eeac740c26fd0b944
856
js
JavaScript
src/main/resources/static/plugins/jqueryvalidation/additional-methods.js
wangcl/admin-boot
df6c9280609bdd57fb548b366bdbfb4fb59f74a6
[ "MIT" ]
null
null
null
src/main/resources/static/plugins/jqueryvalidation/additional-methods.js
wangcl/admin-boot
df6c9280609bdd57fb548b366bdbfb4fb59f74a6
[ "MIT" ]
1
2021-09-13T08:09:12.000Z
2021-09-24T03:59:18.000Z
src/main/resources/static/plugins/jqueryvalidation/additional-methods.js
wangcl/admin-boot
df6c9280609bdd57fb548b366bdbfb4fb59f74a6
[ "MIT" ]
null
null
null
/* * 扩展自定义的 jQuery validation 校验规则 */ (function (factory) { if (typeof define === "function" && define.amd) { define(["jquery", "./jquery.validate.min-1.17.0"], factory); } else if (typeof module === "object" && module.exports) { module.exports = factory(require("jquery")); } else { factory(jQuery); } }(fun...
29.517241
91
0.595794
a1c781e854f8843925a8beec1449d54b85589c63
808
js
JavaScript
src/redux/thunk.js
MR-liu/react-redux
14bba5d4ba81f908ea61117e98e834f19844ef73
[ "MIT" ]
null
null
null
src/redux/thunk.js
MR-liu/react-redux
14bba5d4ba81f908ea61117e98e834f19844ef73
[ "MIT" ]
null
null
null
src/redux/thunk.js
MR-liu/react-redux
14bba5d4ba81f908ea61117e98e834f19844ef73
[ "MIT" ]
null
null
null
const { applyMiddleware, createStore } = require("redux"); let thunk = store => next => action => { if (typeof action === 'function') { return action(next); } else { return next(action) } } let store = applyMiddleware(thunk)(createStore)(counter); store.dispatch(function(dispatch) { setTimeout(() => ...
17.955556
59
0.585396
a1c7b13ec2deff681dafa2ee06db7d0f2a20d165
12,055
js
JavaScript
Album/static/js/upload/main.js
NeKoSaNnn/AICloudAlbum
2ed6936bf6126f37eb4cca384ba8731850e98880
[ "MIT" ]
2
2021-04-10T14:03:08.000Z
2021-08-31T09:39:43.000Z
Album/static/js/upload/main.js
NeKoSaNnn/AICloudAlbum
2ed6936bf6126f37eb4cca384ba8731850e98880
[ "MIT" ]
null
null
null
Album/static/js/upload/main.js
NeKoSaNnn/AICloudAlbum
2ed6936bf6126f37eb4cca384ba8731850e98880
[ "MIT" ]
1
2021-08-15T10:25:46.000Z
2021-08-15T10:25:46.000Z
var asyn_cnt = 0; var syn_cnt = 0; $.ajaxSetup({ beforeSend: function (xhr, settings) { xhr.setRequestHeader("X-CSRFtoken", $.cookie("csrftoken")) } }); $(document).ready(function () { var folder_fake_name = $("#now_folder_fake_name").val() toastr.options = { "closeButton": false, ...
39.52459
153
0.396433
a1c8e766dc286e12df4addeed623b31993da21c0
2,501
js
JavaScript
src/core/Netop.js
appletjs/netop
687a2c47704cd7c4df3d13ed604f2924436b9b0d
[ "MIT" ]
null
null
null
src/core/Netop.js
appletjs/netop
687a2c47704cd7c4df3d13ed604f2924436b9b0d
[ "MIT" ]
null
null
null
src/core/Netop.js
appletjs/netop
687a2c47704cd7c4df3d13ed604f2924436b9b0d
[ "MIT" ]
null
null
null
import Applet from 'applet'; import createError from './createError'; import createRequest from './createRequest'; import createThrowable from './createThrowable'; function cutoff(netop, flag) { if (netop[flag] != null) { throw createError(flag, netop.init); } } export default class Netop extends Applet { c...
21.016807
69
0.551379
a1c911517d4fe9e3915f5636c44f028dea75af46
209
js
JavaScript
src/lib/copytext/index.js
david-szabo97/cpvault.com
4d50dc61c438d3fe9342ef63786bf7e6c8af428e
[ "Apache-2.0" ]
1
2017-08-15T19:28:22.000Z
2017-08-15T19:28:22.000Z
src/lib/copytext/index.js
david-szabo97/cpvault.com
4d50dc61c438d3fe9342ef63786bf7e6c8af428e
[ "Apache-2.0" ]
20
2017-06-10T20:39:23.000Z
2017-08-01T11:17:38.000Z
src/lib/copytext/index.js
david-szabo97/cpvault.com
4d50dc61c438d3fe9342ef63786bf7e6c8af428e
[ "Apache-2.0" ]
null
null
null
import Clipboard from 'clipboard'; export default function copyText(text) { const ele = document.createElement('a'); new Clipboard(ele, { action: 'copy', text: () => text }); ele.click(); }
16.076923
42
0.631579
a1c954667b0e3462c4fdebb992e4c0da710428ee
1,414
js
JavaScript
src/javascriptintro.js
142-Bupa-Acibadem-FullStack-Bootcamp/week-6-assignment-2-yahyaerdoan
69b5e984ca058e01c5ec947f93795cc0bc3f5c15
[ "MIT" ]
null
null
null
src/javascriptintro.js
142-Bupa-Acibadem-FullStack-Bootcamp/week-6-assignment-2-yahyaerdoan
69b5e984ca058e01c5ec947f93795cc0bc3f5c15
[ "MIT" ]
null
null
null
src/javascriptintro.js
142-Bupa-Acibadem-FullStack-Bootcamp/week-6-assignment-2-yahyaerdoan
69b5e984ca058e01c5ec947f93795cc0bc3f5c15
[ "MIT" ]
null
null
null
console.log("**----------- İntro ------**"); //Saf Javascript dosya bazlı bir yapıdır. Dosyalar yukarıdan aşağı taranır. //Değişken tanımlar kullanılabilecek var let const var number = 10; var number = "Yahya"; //Var tip güvenli olmadığı için araya giren değeri okudu console.log(number); let student = { id: 2, name: ...
35.35
187
0.693777
a1c9a11b6d5f8f7ee3d21869301e677ac345de1b
271
js
JavaScript
build/translations/de.js
vistance/ckeditor5-build-default
8fcb1e7a20ba84867565793ed921133dbcba3308
[ "MIT" ]
null
null
null
build/translations/de.js
vistance/ckeditor5-build-default
8fcb1e7a20ba84867565793ed921133dbcba3308
[ "MIT" ]
null
null
null
build/translations/de.js
vistance/ckeditor5-build-default
8fcb1e7a20ba84867565793ed921133dbcba3308
[ "MIT" ]
null
null
null
(function(d){d['de']=Object.assign(d['de']||{},{a:"Kursiv",b:"Fett",c:"Unterstrichen",d:"Hochgestellt",e:"Tiefgestellt",f:"Rückgängig",g:"Wiederherstellen",h:"Rich Text Editor",i:"Rich-Text-Editor, %0"})})(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
271
271
0.708487
a1c9fd167f625ddac13700ca9500a6e354e1af84
66
js
JavaScript
src/components/EventDetail/index.js
junjchen/smarkets-events
74ac9c409218261270ff6e2d44661ea85b573c0c
[ "MIT" ]
null
null
null
src/components/EventDetail/index.js
junjchen/smarkets-events
74ac9c409218261270ff6e2d44661ea85b573c0c
[ "MIT" ]
null
null
null
src/components/EventDetail/index.js
junjchen/smarkets-events
74ac9c409218261270ff6e2d44661ea85b573c0c
[ "MIT" ]
null
null
null
import EventDetail from './EventDetail' export default EventDetail
33
39
0.848485
a1cb0172fd7401e58b4c78ae8ebf3fae592740f7
282
js
JavaScript
gulp/build/gulpfile.js
zhaobinglong/test
b26a32fa5304f322bcbf638cec4c03dc606b48ac
[ "MIT" ]
null
null
null
gulp/build/gulpfile.js
zhaobinglong/test
b26a32fa5304f322bcbf638cec4c03dc606b48ac
[ "MIT" ]
1
2018-04-11T06:43:31.000Z
2020-05-27T09:18:12.000Z
gulp/build/gulpfile.js
zhaobinglong/test
b26a32fa5304f322bcbf638cec4c03dc606b48ac
[ "MIT" ]
null
null
null
var gulp=require("gulp"),uglify=require("gulp-uglify"),jshint=require("gulp-jshint");gulp.task("compress",function(){gulp.src("*.js").pipe(uglify()).pipe(gulp.dest("build"))}),gulp.task("default",function(){gulp.run("compress"),gulp.watch("*.js",function(){gulp.run("compress")})});
282
282
0.695035
a1cb25422c987219c70c0741820983dfbef69ed0
237
js
JavaScript
src/actions/index.js
chulinguy/tango-for-dummies
d188b4a0f6d0edee37a5fddbd08773fa5fc54ed2
[ "MIT" ]
2
2018-11-29T05:19:03.000Z
2019-10-30T09:07:53.000Z
src/actions/index.js
chulinguy/tango-for-dummies
d188b4a0f6d0edee37a5fddbd08773fa5fc54ed2
[ "MIT" ]
1
2018-08-01T10:14:15.000Z
2018-08-01T10:14:15.000Z
src/actions/index.js
chulinguy/tango-for-dummies
d188b4a0f6d0edee37a5fddbd08773fa5fc54ed2
[ "MIT" ]
null
null
null
export const imgChange = value => ({ type: 'MOVE_CHANGE', value }); export const markFavMove = value => ({ type: 'MARK_MOVE_AS_FAV', value }); export const unmarkFavMove = value => ({ type: 'UNMARK_MOVE_AS_FAV', value });
15.8
40
0.64557
a1cb3ffa9620f3fe91150d892c9d193b5d407027
276
js
JavaScript
app/containers/Signup/selectors.js
activedecay/musical-meme
7c2fb1dd9edae019bf27365cc20656ac4b17cf28
[ "MIT" ]
null
null
null
app/containers/Signup/selectors.js
activedecay/musical-meme
7c2fb1dd9edae019bf27365cc20656ac4b17cf28
[ "MIT" ]
5
2020-07-17T11:17:36.000Z
2022-03-02T04:33:26.000Z
app/containers/Signup/selectors.js
activedecay/musical-meme
7c2fb1dd9edae019bf27365cc20656ac4b17cf28
[ "MIT" ]
1
2019-08-29T02:17:00.000Z
2019-08-29T02:17:00.000Z
import { createSelector } from 'reselect'; const selectSignupDomain = () => (state) => state.get('signup'); const selectSignup = () => createSelector( selectSignupDomain(), (substate) => substate.toJS() ); export default selectSignup; export { selectSignupDomain, };
19.714286
64
0.695652
a1cbb7ef8b23a15a548b1998648798a3b43cb57c
1,772
js
JavaScript
test/setup/profile/secondInstance.js
ionnlab/ionn-backend
c0043206175937143c1c035eb93e214271dd89e2
[ "MIT" ]
1
2017-01-02T08:23:53.000Z
2017-01-02T08:23:53.000Z
test/setup/profile/secondInstance.js
ionnlab/ionn-backend
c0043206175937143c1c035eb93e214271dd89e2
[ "MIT" ]
null
null
null
test/setup/profile/secondInstance.js
ionnlab/ionn-backend
c0043206175937143c1c035eb93e214271dd89e2
[ "MIT" ]
null
null
null
import connection from '../create/connection'; import createInstance from '../create/instance'; import createTestClasses from '../create/classes'; import createTestDataEndpoints from '../create/dataEndpoint'; import createTestScripts from '../create/scripts'; import createAPNSSocket from '../create/apnsSocket'; import...
29.533333
70
0.711061
a1cfd8771b047d74e8062d0cea072ee40f9e10b4
5,029
js
JavaScript
src/pe.js
RichardMarks/firestarter-iii
660aa1bf2eda32e37d3f494672a0b3b47f19295f
[ "MIT" ]
null
null
null
src/pe.js
RichardMarks/firestarter-iii
660aa1bf2eda32e37d3f494672a0b3b47f19295f
[ "MIT" ]
null
null
null
src/pe.js
RichardMarks/firestarter-iii
660aa1bf2eda32e37d3f494672a0b3b47f19295f
[ "MIT" ]
null
null
null
import { point, magnitude, normalize, dotProduct, perpDotProduct } from './vmath' export const body = actor => { const bodyInst = { centerOfMass: point(0, 0), mass: 10.0, inertia: 0.0, staticFrictionCoefficient: 0.7, kineticFrictionCoefficient: 0.6, coefficientOfRestitution: 0.4, ...
33.304636
87
0.662756
a1d13ab804f952547a2ab600dc6c5d08d7e76c2e
5,136
js
JavaScript
SuiteCommerce Advanced/SC_21.1_Live/LocalDistributionAdvanced/javascript/compiled/Cart.Item.Summary.View.js
Rudracool/MotherCareBackend-
1e38dd4c839929b026b8565739fcc7879a9b79c3
[ "MIT" ]
null
null
null
SuiteCommerce Advanced/SC_21.1_Live/LocalDistributionAdvanced/javascript/compiled/Cart.Item.Summary.View.js
Rudracool/MotherCareBackend-
1e38dd4c839929b026b8565739fcc7879a9b79c3
[ "MIT" ]
null
null
null
SuiteCommerce Advanced/SC_21.1_Live/LocalDistributionAdvanced/javascript/compiled/Cart.Item.Summary.View.js
Rudracool/MotherCareBackend-
1e38dd4c839929b026b8565739fcc7879a9b79c3
[ "MIT" ]
null
null
null
/* © 2020 NetSuite Inc. User may not copy, modify, distribute, or re-bundle or otherwise make available this code; provided, however, if you are an authorized user with a NetSuite account or log-in, you may use this code subject to the terms that govern your access and use. */ define("Cart.Item.Summary....
50.352941
327
0.567952
a1d153e97f692ccd5d8322a1197818e28b99273e
6,636
js
JavaScript
screens/Profile.js
austinbyersking/CryptoWallet
82d7e5f23e510220fc9fc4cfb235ce8e8f21e4e4
[ "MIT" ]
null
null
null
screens/Profile.js
austinbyersking/CryptoWallet
82d7e5f23e510220fc9fc4cfb235ce8e8f21e4e4
[ "MIT" ]
null
null
null
screens/Profile.js
austinbyersking/CryptoWallet
82d7e5f23e510220fc9fc4cfb235ce8e8f21e4e4
[ "MIT" ]
null
null
null
import React from 'react'; import { View, Text, TouchableOpacity, ScrollView, Image, Switch } from 'react-native'; import { MainLayout } from "./"; import { HeaderBar } from "../components"; import { FONTS, COLORS, SIZES, dummyData, icons } from "../constants"; const SectionTitle = ({ title })...
31.15493
126
0.313894
a1d1e29cbd7c226926e8154e1880b2a728f6baee
426
js
JavaScript
src/retrieve.js
ElegastVZW/mock-xrm
2bdf21246cd52bfad967da55831507b74ae69645
[ "MIT" ]
5
2020-09-02T14:47:31.000Z
2022-03-17T03:07:27.000Z
src/retrieve.js
ElegastVZW/mock-xrm
2bdf21246cd52bfad967da55831507b74ae69645
[ "MIT" ]
4
2020-09-13T03:27:21.000Z
2020-12-16T19:54:49.000Z
src/retrieve.js
ElegastVZW/mock-xrm
2bdf21246cd52bfad967da55831507b74ae69645
[ "MIT" ]
5
2020-09-04T05:00:58.000Z
2021-11-29T15:48:10.000Z
import executeGet from "./utility/executeGet"; import retrieveMetadataWrapperMemo from './retrieveMetadataWrapperMemo'; const retrieve = async (entityLogicalName, id, options = '') => { let meta = await retrieveMetadataWrapperMemo(entityLogicalName); let result = await executeGet(`${meta.EntityMetadata.Logical...
42.6
116
0.744131
a1d264db9f38bc24a982c6a19327c04a22079535
2,871
js
JavaScript
data/js/modules/irclog/users-list.js
inexor-game/community-site-deprecated
31b101f658b9506184c86621f1af258f4d8344b3
[ "MIT" ]
1
2015-02-01T12:44:49.000Z
2015-02-01T12:44:49.000Z
data/js/modules/irclog/users-list.js
inexor-game/community-site
31b101f658b9506184c86621f1af258f4d8344b3
[ "MIT" ]
8
2015-01-18T21:30:04.000Z
2015-02-21T00:37:03.000Z
data/js/modules/irclog/users-list.js
inexor-game/community-site-deprecated
31b101f658b9506184c86621f1af258f4d8344b3
[ "MIT" ]
null
null
null
$(document).ready(function () { var _check_irc_users_height = function () { if ($(window).scrollTop() > topDistance) { if(($(window).scrollTop() - topDistance - 10) < $('#log').height() - $('#user-list').height()) { $('#user-list').css({ 'margin-top': $(window).scrollTop() - topDistance + $('header').hei...
32.258427
118
0.574364
a1d27803c258659b00ccccc6b9ecb93b172abf90
2,916
js
JavaScript
js/projects.js
frontendops/portfolio-alejandro-dev
24dda3ca64fd72883fb0bc31afe21760ae0e8324
[ "CC-BY-3.0" ]
null
null
null
js/projects.js
frontendops/portfolio-alejandro-dev
24dda3ca64fd72883fb0bc31afe21760ae0e8324
[ "CC-BY-3.0" ]
1
2021-03-09T20:46:16.000Z
2021-03-09T20:46:16.000Z
js/projects.js
frontendops/portfolio-alejandro-dev
24dda3ca64fd72883fb0bc31afe21760ae0e8324
[ "CC-BY-3.0" ]
null
null
null
export const projects = [ { title: 'Speed Reader', description: "Add any text and read it at a much faster rate.", technology: 'javascript', link: 'https://frontendops.github.io/speed-reader-js/', img: 'images/speed-reader.jpg', alt: 'computer productivity', button: 'Try Dem...
34.305882
187
0.621056
a1d312eb5779a79ef970b2ff22d88c947b435e96
149
js
JavaScript
benchmarks/ssr-comparison/src/size-test/cssobj-server.js
theghostyced/fela
e58f5b722ae52acd08c1f5030c9b2549beb61b0e
[ "MIT" ]
1
2020-04-08T17:05:23.000Z
2020-04-08T17:05:23.000Z
benchmarks/ssr-comparison/src/size-test/cssobj-server.js
theghostyced/fela
e58f5b722ae52acd08c1f5030c9b2549beb61b0e
[ "MIT" ]
null
null
null
benchmarks/ssr-comparison/src/size-test/cssobj-server.js
theghostyced/fela
e58f5b722ae52acd08c1f5030c9b2549beb61b0e
[ "MIT" ]
null
null
null
import cssobjCore from 'cssobj-core' import cssobjPluginLocalize from 'cssobj-plugin-localize' import cssobjPluginGencss from 'cssobj-plugin-gencss'
37.25
57
0.845638
a1d3207cf2e5d4d195637733dd639a59a758bd2c
3,676
js
JavaScript
App.js
mositodrone/smart-brain-frontend
b4d5311df3e3cc1ab27a47e2b53794f5e97888fd
[ "Apache-2.0" ]
null
null
null
App.js
mositodrone/smart-brain-frontend
b4d5311df3e3cc1ab27a47e2b53794f5e97888fd
[ "Apache-2.0" ]
1
2020-07-21T12:50:22.000Z
2020-07-21T12:50:22.000Z
App.js
mositodrone/smart-brain-frontend
b4d5311df3e3cc1ab27a47e2b53794f5e97888fd
[ "Apache-2.0" ]
null
null
null
import React, { Component } from 'react'; import Particles from 'react-particles-js' import Register from './components/Register/register.js' import FaceRecognition from './components/FaceRecognition/FaceRecognition'; import Navigation from './components/Navigation/Navigation'; import { SignIn } from './components/...
24.506667
100
0.635201
a1d44ef389d07a0b380996e9bf0ebaf1c389b329
326
js
JavaScript
app/containers/Admin/actions.js
CaoThien96/DATN
2c4306a529d13e1477ddf5e82b521a937e7ffa73
[ "MIT" ]
2
2021-07-09T15:35:55.000Z
2021-11-23T08:21:38.000Z
app/containers/Admin/actions.js
CaoThien96/DATN
2c4306a529d13e1477ddf5e82b521a937e7ffa73
[ "MIT" ]
null
null
null
app/containers/Admin/actions.js
CaoThien96/DATN
2c4306a529d13e1477ddf5e82b521a937e7ffa73
[ "MIT" ]
1
2019-12-21T12:59:22.000Z
2019-12-21T12:59:22.000Z
import { UPDATE_NEWS, UPDATE_NEWS_SUCCESS, UPDATE_NEWS_FAIL, } from './constanst'; export const updateNews = () => ({ type: UPDATE_NEWS, }); export const updateNewsSuccess = payload => ({ type: UPDATE_NEWS_SUCCESS, payload, }); export const updateNewsFail = err => ({ type: UPDATE_NEWS_FAIL, payload: err...
19.176471
46
0.687117
a1d6ff55d90f026422c70d71b83618b1a0373654
2,004
js
JavaScript
build/cjs/modules/functions/_common/plnFromRay.js
design-automation/mobius-sim-funcs
8e7a8a7b0f7f4d0f3f28746a2127e24500475214
[ "MIT" ]
null
null
null
build/cjs/modules/functions/_common/plnFromRay.js
design-automation/mobius-sim-funcs
8e7a8a7b0f7f4d0f3f28746a2127e24500475214
[ "MIT" ]
null
null
null
build/cjs/modules/functions/_common/plnFromRay.js
design-automation/mobius-sim-funcs
8e7a8a7b0f7f4d0f3f28746a2127e24500475214
[ "MIT" ]
null
null
null
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.plnFromRay = void 0; const mobius_sim_1 = require("@design-automation/mobius-sim"); function plnFromRay(ray) { // overloaded case const ray_dep = (0, mobius_sim_1.getArrDepth)(ray); if (ray_dep === 3) { return ray.m...
87.130435
1,242
0.853792
a1d71a635eb4f4ab1227dc1c19d0255f4c0aa2d8
2,327
js
JavaScript
UI/05_ChartedUI/web/public/assets/chartdata/boxplot/boxplot-multi.js
erhwenkuo/streaming-training
e49fa732b1a41519dfca7fe88463c10a36114f1e
[ "Apache-2.0" ]
19
2018-03-31T06:20:16.000Z
2021-04-08T16:04:33.000Z
WebContent/data/boxplot-multi.js
ultraN/project-luna
f114c23501f3db4b62f7ae36479b13f9cc38fc51
[ "MIT" ]
null
null
null
WebContent/data/boxplot-multi.js
ultraN/project-luna
f114c23501f3db4b62f7ae36479b13f9cc38fc51
[ "MIT" ]
3
2018-04-10T14:02:41.000Z
2020-11-17T06:40:19.000Z
// Generate data. data = []; for (var seriesIndex = 0; seriesIndex < 5; seriesIndex++) { var seriesData = []; for (var i = 0; i < 18; i++) { var cate = []; for (var j = 0; j < 100; j++) { cate.push(Math.random() * 200); } seriesData.push(cate); } data.push(ec...
21.348624
66
0.400516
a1d804149aa5a0ad60a0953095a50a985d63f163
677
js
JavaScript
client/pages/index/config.js
lijunren/zfb-mini-program
6ebcdd51ec3d13e5d5bf7b1b99779bfbbd0a15fc
[ "Apache-2.0" ]
null
null
null
client/pages/index/config.js
lijunren/zfb-mini-program
6ebcdd51ec3d13e5d5bf7b1b99779bfbbd0a15fc
[ "Apache-2.0" ]
null
null
null
client/pages/index/config.js
lijunren/zfb-mini-program
6ebcdd51ec3d13e5d5bf7b1b99779bfbbd0a15fc
[ "Apache-2.0" ]
null
null
null
export const config = { title: '小程序 Serverless 快速入门', subTitle: '以下展示小程序 Serverless 入门教程', listItems1: [ { title: '开通小程序 Serverless', arrow: true, url: '/pages/open/open' }, ], listItems2: [ { title: '上传文件', arrow: true, url: '/pages/upload/upload' }, { title: '前端操作数据库', arrow: t...
17.815789
60
0.604136
a1da09d95874162ab6bdcfd879e6d8a8d89dd2a8
2,974
js
JavaScript
src/js/main.js
strongfanfan/3D-carousel
522989be994dd6d06691151b95775443ebf165ba
[ "MIT" ]
null
null
null
src/js/main.js
strongfanfan/3D-carousel
522989be994dd6d06691151b95775443ebf165ba
[ "MIT" ]
null
null
null
src/js/main.js
strongfanfan/3D-carousel
522989be994dd6d06691151b95775443ebf165ba
[ "MIT" ]
null
null
null
(function () { var figureNode = document.getElementsByClassName('figure-carousel'), wrapNode = document.getElementsByClassName('wrap-carousel')[0], navNode=document.getElementsByClassName('nav-carousel')[0], controllerNode=[], count = carousel.count, median = Math.floor((coun...
38.623377
126
0.544385
a1da3543b3e80d8bb95605943de17550642f440d
1,869
js
JavaScript
src/components/Search/SearchResults.js
zenott/movie-browser
11b377ce3746d02f0bc0b25f1c4036f9d3406e0d
[ "MIT" ]
1
2020-05-21T19:33:53.000Z
2020-05-21T19:33:53.000Z
src/components/Search/SearchResults.js
zenott/movie-browser
11b377ce3746d02f0bc0b25f1c4036f9d3406e0d
[ "MIT" ]
null
null
null
src/components/Search/SearchResults.js
zenott/movie-browser
11b377ce3746d02f0bc0b25f1c4036f9d3406e0d
[ "MIT" ]
null
null
null
import React, { Component } from 'react'; import axios from 'axios'; import { Container, Row, Col } from 'mdbreact'; import { bg } from '../Style/style.module.css'; import SearchResultsElem from './SearchResultsElem'; import { API_KEY } from '../../utils/resources'; import Loading from '../Misc/Loading'; import Error f...
26.323944
68
0.548957
a1dc9afdb13a9552202d7d3af162981521d93661
412
js
JavaScript
src/App/ExpenseList/AddButton/AddExpenseListButton.js
dmcshehan/my-expenses
899b8cad51d670e3be93899e53263b17411b2f70
[ "MIT" ]
3
2019-03-29T05:27:13.000Z
2020-12-22T20:28:33.000Z
src/App/ExpenseList/AddButton/AddExpenseListButton.js
dmcshehan/my-expenses
899b8cad51d670e3be93899e53263b17411b2f70
[ "MIT" ]
11
2020-08-05T04:49:49.000Z
2022-02-26T16:00:13.000Z
src/App/ExpenseList/AddButton/AddExpenseListButton.js
dmcshehan/my-expenses
899b8cad51d670e3be93899e53263b17411b2f70
[ "MIT" ]
null
null
null
import React from "react"; import { useDispatch } from "react-redux"; import AddButton from "../../AddButton/AddButton"; import { showAddExpenseListForm } from "../../../store/actionCreators/expenseList"; export default function AddExpenseListButton() { const dispatch = useDispatch(); function handleClick() { ...
24.235294
83
0.720874
a1dcaa78c079b92498cff6b3858f342521b9f38e
808
js
JavaScript
src/core_plugins/metrics/server/lib/vis_data/request_processors/series/split_by_filters.js
IBMResearch/kibana-bluemix
a07267965791f2582a978e8c7190a2af8d43e159
[ "Apache-2.0" ]
2
2018-10-19T22:55:25.000Z
2018-10-19T22:55:27.000Z
src/core_plugins/metrics/server/lib/vis_data/request_processors/series/split_by_filters.js
IBMResearch/kibana-bluemix
a07267965791f2582a978e8c7190a2af8d43e159
[ "Apache-2.0" ]
2
2020-07-17T10:03:57.000Z
2021-05-09T15:42:13.000Z
src/core_plugins/metrics/server/lib/vis_data/request_processors/series/split_by_filters.js
IBMResearch/kibana-bluemix
a07267965791f2582a978e8c7190a2af8d43e159
[ "Apache-2.0" ]
1
2018-08-26T15:45:59.000Z
2018-08-26T15:45:59.000Z
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = splitByFilter; var _lodash = require('lodash'); var _lodash2 = _interopRequireDefault(_lodash); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function splitByFilter(req...
31.076923
125
0.678218
a1de4fa279c4fb35505033c930a8b4b5b1688f24
451
js
JavaScript
tests/unit/utils/helpers/email-validator.spec.js
douglashsilva/challenge-accenture
e67a28acbed90c98b7cfcc42399b5e731319cbea
[ "MIT" ]
null
null
null
tests/unit/utils/helpers/email-validator.spec.js
douglashsilva/challenge-accenture
e67a28acbed90c98b7cfcc42399b5e731319cbea
[ "MIT" ]
null
null
null
tests/unit/utils/helpers/email-validator.spec.js
douglashsilva/challenge-accenture
e67a28acbed90c98b7cfcc42399b5e731319cbea
[ "MIT" ]
null
null
null
/* eslint-disable no-undef */ const EmailValidator = require("../../../../src/utils/helpers/email-validator") const emailValidator = new EmailValidator() describe('EmailValidator Helper', () => { it('Should validate an valid email', () => { expect(emailValidator.isValid("test@teste.com")).toBeTruthy() ...
37.583333
79
0.654102
a1df86e15c26d99d622d11d22ba3127ab30f8101
5,163
js
JavaScript
src/Collisions.js
chanibal/js13k-2021
4e623bec84994bc8e6655aad02dc4149119ed202
[ "MIT" ]
null
null
null
src/Collisions.js
chanibal/js13k-2021
4e623bec84994bc8e6655aad02dc4149119ed202
[ "MIT" ]
null
null
null
src/Collisions.js
chanibal/js13k-2021
4e623bec84994bc8e6655aad02dc4149119ed202
[ "MIT" ]
1
2021-09-13T15:57:41.000Z
2021-09-13T15:57:41.000Z
import { Transform } from "./Transform.js"; /** * Supported collider types: * 1. no radius nor height - point * 2. radius - sphere * 3. both radius and height - vertical capsule */ export class Collider { constructor(radius = 0, height = 0) { this.radius = radius; this.height = h...
34.885135
159
0.474337
a1df9fcecbcc079133f220b761873622c5844a9e
59
js
JavaScript
src/nor/norApp/controllers/norCtrl/index.js
sendanor/nor-app
157ccab1260b5a0827f7763b75be2fca7ee8ad27
[ "MIT" ]
1
2020-08-28T08:22:05.000Z
2020-08-28T08:22:05.000Z
src/nor/norApp/controllers/norCtrl/index.js
sendanor/nor-app
157ccab1260b5a0827f7763b75be2fca7ee8ad27
[ "MIT" ]
null
null
null
src/nor/norApp/controllers/norCtrl/index.js
sendanor/nor-app
157ccab1260b5a0827f7763b75be2fca7ee8ad27
[ "MIT" ]
null
null
null
"use strict"; module.exports = require('./controller.js');
19.666667
44
0.694915
a1e119d80c9fa479d284711239aaefae4a1c2b1a
2,836
js
JavaScript
tests/ArchiveTools.spec.js
perry-mitchell/buttercup-core-web
40b6ff7ee4b04a085720dbb013782be8e921f864
[ "MIT" ]
8
2017-10-03T20:53:28.000Z
2021-02-06T05:11:35.000Z
tests/ArchiveTools.spec.js
buttercup/buttercup-core-web
40b6ff7ee4b04a085720dbb013782be8e921f864
[ "MIT" ]
5
2016-04-09T20:51:33.000Z
2017-03-07T19:44:02.000Z
tests/ArchiveTools.spec.js
buttercup/buttercup-core-web
40b6ff7ee4b04a085720dbb013782be8e921f864
[ "MIT" ]
1
2016-02-21T16:02:07.000Z
2016-02-21T16:02:07.000Z
describe("ArchiveManager", function() { "use strict"; var Buttercup = window.Buttercup; var ButtercupWeb = window.Buttercup.Web, ArchiveTools = ButtercupWeb.ArchiveTools; describe("extractDomain", function() { it("extracts from full URLs", function() { expect(ArchiveTool...
37.813333
94
0.573343
a1e1e2663eb4a77f9e3ca092443a9051e3f436f4
491
js
JavaScript
index.js
steem-sdk/steem-utils
2aa54015d0be15baa51a0f0cc0207bde7a4e5289
[ "MIT" ]
null
null
null
index.js
steem-sdk/steem-utils
2aa54015d0be15baa51a0f0cc0207bde7a4e5289
[ "MIT" ]
2
2022-02-10T20:31:18.000Z
2022-02-26T21:21:12.000Z
index.js
steem-sdk/steem-utils
2aa54015d0be15baa51a0f0cc0207bde7a4e5289
[ "MIT" ]
null
null
null
'use strict' /* sort, format, parse, stats, validate */ var utils = require('./dist/lib/index.js') var sort = require('./dist/lib/sort.js') var format = require('./dist/lib/format.js') var parse = require('./dist/lib/parse.js') var stats = require('./dist/lib/stats.js') var validate = require('./dist/lib/validate.js...
22.318182
48
0.668024
a1e26cd36b9872fff4642b161a457ea551723d61
1,698
js
JavaScript
mmv-dev/js/dxz_brand_titile.js
luwenshu1207/mmb
476234abb1029e0fb858df753e09a6bf9a603b65
[ "MIT" ]
null
null
null
mmv-dev/js/dxz_brand_titile.js
luwenshu1207/mmb
476234abb1029e0fb858df753e09a6bf9a603b65
[ "MIT" ]
null
null
null
mmv-dev/js/dxz_brand_titile.js
luwenshu1207/mmb
476234abb1029e0fb858df753e09a6bf9a603b65
[ "MIT" ]
null
null
null
$(function () { mui('.mui-scroll-wrapper').scroll({ deceleration: 0.0005 //flick 减速系数,系数越大,滚动速度越慢,滚动距离越小,默认值0.0006 }); // 网络请求 $.ajax({ type: "get", url: "http://58.218.199.45:14985/api/getbrandtitle", // data: "data", dataType: "json", success: funct...
36.12766
162
0.402827
a1e2ff9d23d1d1c31a789cab056534eee75eec2a
8,714
js
JavaScript
src/Component/UserAccess/JobDetail.js
tansizheng89/ASDJPReactWebApp
9116feed118f4e1b854ac3eb2214a3ccc170bf79
[ "MIT" ]
null
null
null
src/Component/UserAccess/JobDetail.js
tansizheng89/ASDJPReactWebApp
9116feed118f4e1b854ac3eb2214a3ccc170bf79
[ "MIT" ]
null
null
null
src/Component/UserAccess/JobDetail.js
tansizheng89/ASDJPReactWebApp
9116feed118f4e1b854ac3eb2214a3ccc170bf79
[ "MIT" ]
null
null
null
import React, { Component } from "react"; import DataService from "../../Services/WebUserJobService"; import DataService1 from "../../Services/WebUserReviewService"; import '../../Css/JobDetail.css'; import { Link } from "react-router-dom"; import { ReactComponent as Logo } from '../../images/button_save.svg'; import ...
32.036765
148
0.56415
a1e58c8d6e44744f2e1172447dc511cf8f7fb155
1,534
js
JavaScript
app/assets/javascripts/posts.js
ozgecokyasar/YumNoms
a4000e992c1b5d5cf280e0ea90b40e5ff5c96684
[ "MIT" ]
null
null
null
app/assets/javascripts/posts.js
ozgecokyasar/YumNoms
a4000e992c1b5d5cf280e0ea90b40e5ff5c96684
[ "MIT" ]
null
null
null
app/assets/javascripts/posts.js
ozgecokyasar/YumNoms
a4000e992c1b5d5cf280e0ea90b40e5ff5c96684
[ "MIT" ]
null
null
null
$(function () { $('#post_tag_list').selectize({ delimeter: ",", persist: false, create: function (input) { return { value: input, text: input } } }); }) (function($, window, document, undefined) { "use strict"; var el= $('.readmore'), clone= el.clone(), ori...
26.912281
121
0.571708
a1e81f5c8b5a0d3c8295e4f90d71b9b081832335
1,442
js
JavaScript
web/src/main/webapp/WEB-INF/js/ly-main.js
phylame/gradpro
02f2d81e7369a034e7264287d5a0b7236fb9f986
[ "Apache-2.0" ]
null
null
null
web/src/main/webapp/WEB-INF/js/ly-main.js
phylame/gradpro
02f2d81e7369a034e7264287d5a0b7236fb9f986
[ "Apache-2.0" ]
null
null
null
web/src/main/webapp/WEB-INF/js/ly-main.js
phylame/gradpro
02f2d81e7369a034e7264287d5a0b7236fb9f986
[ "Apache-2.0" ]
null
null
null
/* * This file is part of Linyin, Peng Wan's graduation project in Haut. * Copyright (C) 2016 Peng Wan <phylame@163.com>. All Rights Reserved. */ function notEmpty(s) { return s != null && s.length > 0; } function lessThan(n) { return function (s) { return s != null && s.length < n; } } functi...
26.218182
83
0.491678
a1ea5d2323e2c435774b369c5612220c46a9e910
499
js
JavaScript
app/containers/App/index.js
zsajjad/MyStylingApp
1ae5ae49c19ff077de7c7547231737efb2f44787
[ "MIT" ]
1
2019-03-28T06:43:10.000Z
2019-03-28T06:43:10.000Z
app/containers/App/index.js
zsajjad/MyStylingApp
1ae5ae49c19ff077de7c7547231737efb2f44787
[ "MIT" ]
null
null
null
app/containers/App/index.js
zsajjad/MyStylingApp
1ae5ae49c19ff077de7c7547231737efb2f44787
[ "MIT" ]
2
2020-06-16T14:35:47.000Z
2021-11-24T16:37:33.000Z
/** * * App Container * */ import React from 'react'; // import PropTypes from 'prop-types'; import { StatusBar } from 'react-native'; // import { translationMessages } from 'i18n'; import Router from 'router'; // import NoNetworkThumb from 'components/NoNetworkThumb'; export default class App extends React.Pur...
17.206897
58
0.675351
a1eb048945cb2a4feb6498668a8f223e20703464
336
js
JavaScript
script/nag.js
ffcafe-overlays/ffxiv-cmskin
d90cd3c1b789dbffd2d3f5c5b7a47e89a5da0820
[ "MIT" ]
75
2017-10-23T02:32:24.000Z
2021-08-04T03:19:23.000Z
script/nag.js
ffcafe-overlays/ffxiv-cmskin
d90cd3c1b789dbffd2d3f5c5b7a47e89a5da0820
[ "MIT" ]
17
2017-10-23T16:25:59.000Z
2022-03-08T23:39:00.000Z
script/nag.js
ffcafe-overlays/ffxiv-cmskin
d90cd3c1b789dbffd2d3f5c5b7a47e89a5da0820
[ "MIT" ]
32
2017-11-03T10:00:19.000Z
2021-02-05T01:42:50.000Z
import _ from 'lodash'; export default () => { const Input = process.argv.splice(2); const newChangelog = _.compact(Input[2].split('|')); let ngaChangelog = '[tr]'; newChangelog.forEach(item => ngaChangelog += `[td]${item}[/td]`); ngaChangelog += '[/tr]'; console.log(''); console.log(ngaChangelog); co...
28
66
0.625
a1eb631f7624a9824a6d4aa01892997c42ca250c
3,116
js
JavaScript
contracts/bootstrap/Bootstrap.js
freedomexio/rocketx-ssc
c869d67a4e609e7aa9e6d6cedef7f650b98ee998
[ "MIT" ]
null
null
null
contracts/bootstrap/Bootstrap.js
freedomexio/rocketx-ssc
c869d67a4e609e7aa9e6d6cedef7f650b98ee998
[ "MIT" ]
null
null
null
contracts/bootstrap/Bootstrap.js
freedomexio/rocketx-ssc
c869d67a4e609e7aa9e6d6cedef7f650b98ee998
[ "MIT" ]
1
2019-08-06T08:44:39.000Z
2019-08-06T08:44:39.000Z
const { Base64 } = require('js-base64'); const fs = require('fs-extra'); const { Transaction } = require('../../libs/Transaction'); const BP_CONSTANTS = require('../../libs/BlockProduction.contants').CONSTANTS; class Bootstrap { static async getBootstrapTransactions(genesisSteemBlock) { const transactions = []; ...
46.507463
392
0.715019
a1eb63638ee1cdc0a010c42d5e1a99cb5a168940
2,343
js
JavaScript
tests/resources/genera/genera.post.test.js
farshiana/balcony-planner-api
114944fb9c6eaa4fcd3171140e495d9dcb5006d7
[ "MIT" ]
null
null
null
tests/resources/genera/genera.post.test.js
farshiana/balcony-planner-api
114944fb9c6eaa4fcd3171140e495d9dcb5006d7
[ "MIT" ]
13
2020-12-13T06:43:17.000Z
2022-03-28T05:54:56.000Z
tests/resources/genera/genera.post.test.js
farshiana/balcony-planner-api
114944fb9c6eaa4fcd3171140e495d9dcb5006d7
[ "MIT" ]
null
null
null
import request from 'supertest'; import faker from 'faker'; import app from '@/server'; import db from '@/models/models'; import { ROLE_ADMIN, CATEGORIES } from '@/constants'; import auth from '../../factories/auth.factory'; import createGenus from '../../factories/genus.factory'; const { Genus } = db; const route = '...
33.956522
90
0.559539
a1ebc3f4448c83f44249ece2cc6a3c714102b741
1,601
js
JavaScript
server/public/javascripts/relems/marquee.js
fullrange-interactive/pmw
c9e23f6870b266eab8382f7825e5a159ff116c93
[ "MIT" ]
null
null
null
server/public/javascripts/relems/marquee.js
fullrange-interactive/pmw
c9e23f6870b266eab8382f7825e5a159ff116c93
[ "MIT" ]
null
null
null
server/public/javascripts/relems/marquee.js
fullrange-interactive/pmw
c9e23f6870b266eab8382f7825e5a159ff116c93
[ "MIT" ]
null
null
null
var Marquee = rElem.extend({ destroyed: false, load: function(callback) { this.createDom(); this.type="Marquee"; this.textField = $('<p class="marqu">' + this.data.text + '</p>'); $(this.viewPort).append(this.textField); $(this.textField).css({ position:'abso...
34.06383
120
0.509681
a1ebfe3be9bcaf4f7b0cc17f7b3d6ddcf432b424
13,317
js
JavaScript
common/entity/PlayerCharacter.js
homemadearcade/game
752a956fc0e76801fe94dbe75e9700bf73c6f786
[ "MIT" ]
null
null
null
common/entity/PlayerCharacter.js
homemadearcade/game
752a956fc0e76801fe94dbe75e9700bf73c6f786
[ "MIT" ]
null
null
null
common/entity/PlayerCharacter.js
homemadearcade/game
752a956fc0e76801fe94dbe75e9700bf73c6f786
[ "MIT" ]
null
null
null
import n from 'nengi' let nengi = n if(nengi.default) nengi = nengi.default import WeaponSystem from '../WeaponSystem.js' import SAT from 'sat' import CollisionSystem from '../CollisionSystem.js' class PlayerCharacter { constructor({heroId}) { this.heroId = heroId this.x = 0 this.y = 0 ...
35.512
115
0.525869
a1ecc0ff3560dd93578785214fdb61800cea59e2
1,378
js
JavaScript
app/analytics.js
dankuck/bookstore
08fbb831547481707c750c0bf5801e174b284fb7
[ "MIT" ]
2
2019-10-25T03:45:54.000Z
2020-06-17T21:09:21.000Z
app/analytics.js
dankuck/bookstore
08fbb831547481707c750c0bf5801e174b284fb7
[ "MIT" ]
5
2020-11-06T18:34:59.000Z
2021-04-28T14:58:13.000Z
app/analytics.js
dankuck/bookstore
08fbb831547481707c750c0bf5801e174b284fb7
[ "MIT" ]
null
null
null
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','https://www.google-analytics.com/analytics.js','ga'); ...
36.263158
82
0.5791
a1ed0847d63ea028c844a8e383ba053114ed9586
269
js
JavaScript
node/node_modules/node-env-file/test/helper.js
oswaldo89/RealTimeUserMonitor
a7e2a897647f0fe3670c53b922193ecfdc548f73
[ "MIT" ]
112
2015-01-08T19:13:50.000Z
2021-05-16T08:32:08.000Z
node/node_modules/node-env-file/test/helper.js
oswaldo89/RealTimeUserMonitor
a7e2a897647f0fe3670c53b922193ecfdc548f73
[ "MIT" ]
14
2019-07-08T08:55:17.000Z
2019-07-08T08:55:41.000Z
node_modules/node-env-file/test/helper.js
mikelovskij/sauron2
b8cb73684809de000ff360f7733518a315137538
[ "MIT" ]
16
2015-02-04T23:18:56.000Z
2021-11-29T21:20:14.000Z
'use strict' process.env.NODE_ENV = 'test' module.exports.chai = require('chai') module.exports.chai.config.includeStack = true module.exports.assert = module.exports.chai.assert module.exports.expect = module.exports.chai.expect module.exports.debug = console.log
22.416667
50
0.780669
a1ef05bc4d1157f2708a7510e98e2713b86ad68d
430
js
JavaScript
src/util/randArr.js
Matthewmob/mobsin-game-engine
b443691e04ee02d9803c47bb70163e6a37af3930
[ "MIT" ]
1
2020-05-20T04:25:54.000Z
2020-05-20T04:25:54.000Z
src/util/randArr.js
Matthewmob/mobsin-game-engine
b443691e04ee02d9803c47bb70163e6a37af3930
[ "MIT" ]
9
2020-05-18T03:10:15.000Z
2020-07-11T06:21:55.000Z
src/util/randArr.js
Matthewmob/mobsin-game-engine
b443691e04ee02d9803c47bb70163e6a37af3930
[ "MIT" ]
null
null
null
/** * Get the value from a random index of the given array. * * @memberof Whirl.util * * @param {any[]} arr Array to retrieve the value from. * @returns {any} * * @example * Whirl.util.randArr([1, 5, "2", {x: 5}]); // "2" * Whirl.util.randArr([1, 5, 2]); // 2 * Whirl.util.randArr([3, 8, 9, 9, 1, 6]); // 9 *...
22.631579
56
0.583721
a1ef994ba32e5b3598bd78f98ae0414e9ba7f71e
487
js
JavaScript
src/pages/background/reducers/linkInfo.js
CoolCoderTech/Lab12-Linkedin-Chrome-extension
4935063dac271e67c12da669a9740ba662cbaa4e
[ "MIT" ]
1
2021-11-27T22:48:02.000Z
2021-11-27T22:48:02.000Z
src/pages/background/reducers/linkInfo.js
CoolCoderTech/Lab12-Linkedin-Chrome-extension
4935063dac271e67c12da669a9740ba662cbaa4e
[ "MIT" ]
11
2020-07-17T00:32:43.000Z
2021-06-21T04:51:47.000Z
src/pages/background/reducers/linkInfo.js
CoolCoderTech/Lab12-Linkedin-Chrome-extension
4935063dac271e67c12da669a9740ba662cbaa4e
[ "MIT" ]
1
2021-08-28T15:48:29.000Z
2021-08-28T15:48:29.000Z
const initialState = { name: null, jobTitle: null, location: null, skills: null }; const linkInfo = (state = initialState, action) => { switch (action.type) { case "LINK_INFO": return { ...state, name: action.name, jobTitle: action.jobTitle, location: action.location...
18.730769
52
0.583162