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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1e14428075b8f9806ab22244ba8fa6df7b37a9d5 | 512 | js | JavaScript | settings.js | armyputera/webmap_kphbagansiapiapi | 612655445cc150bea2fae10cc82d43cb6d8de4a4 | [
"MIT"
] | null | null | null | settings.js | armyputera/webmap_kphbagansiapiapi | 612655445cc150bea2fae10cc82d43cb6d8de4a4 | [
"MIT"
] | null | null | null | settings.js | armyputera/webmap_kphbagansiapiapi | 612655445cc150bea2fae10cc82d43cb6d8de4a4 | [
"MIT"
] | 1 | 2021-12-05T12:20:45.000Z | 2021-12-05T12:20:45.000Z | // Where to load data from. Choose either a local file in GitHub repo, such as `data/places.csv`,
// or a Google Sheets URL (File > Publish to the Web > CSV )
const dataLocation = 'data/Format_Web_Map_BSA.csv';
// Map's initial center, and zoom level
const mapCenter = [1.5127, 101.1647];
const mapZoom = 10;
// Marker... | 32 | 97 | 0.730469 |
1e147b3e6ba9561762fd9ed752dd74ceb7d79262 | 5,132 | js | JavaScript | sdk/eventhub/event-hubs/rollup.base.config.js | anuchandy/azure-sdk-for-js | 283bb2dcdd1b44b0a5ad6491a5d79e9eebf1b900 | [
"MIT"
] | null | null | null | sdk/eventhub/event-hubs/rollup.base.config.js | anuchandy/azure-sdk-for-js | 283bb2dcdd1b44b0a5ad6491a5d79e9eebf1b900 | [
"MIT"
] | null | null | null | sdk/eventhub/event-hubs/rollup.base.config.js | anuchandy/azure-sdk-for-js | 283bb2dcdd1b44b0a5ad6491a5d79e9eebf1b900 | [
"MIT"
] | null | null | null | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import nodeResolve from "@rollup/plugin-node-resolve";
import multiEntry from "@rollup/plugin-multi-entry";
import cjs from "@rollup/plugin-commonjs";
import json from "@rollup/plugin-json";
import replace from "@rollup/plu... | 30.547619 | 107 | 0.606976 |
1e14805a2fafbb44c4bd038e40f24bcefa393a40 | 648 | js | JavaScript | bin/cmd.js | Apfelmann/jutility | 2446785f3badc88064622a5c9b5b5d8bd62be96b | [
"MIT"
] | 1 | 2019-01-18T22:40:51.000Z | 2019-01-18T22:40:51.000Z | bin/cmd.js | Apfelmann/jutility | 2446785f3badc88064622a5c9b5b5d8bd62be96b | [
"MIT"
] | null | null | null | bin/cmd.js | Apfelmann/jutility | 2446785f3badc88064622a5c9b5b5d8bd62be96b | [
"MIT"
] | null | null | null | #!/usr/bin/env node
const CommandFactory = require('../lib/CommandFactory');
module.exports = main = async () => {
if( process.argv.length < 3 ) { throw new Error("At least one argument is expected") }
else {
const cmdtype = process.argv[2];
const args = [];
for( let i = 3; i < proces... | 28.173913 | 91 | 0.558642 |
1e14b8121e38aecd91b7ed959161737f4231ceb6 | 1,452 | js | JavaScript | extensions/igniter/local/assets/js/local.js | themepress360/Tasti_Updated | 434c2674c83d489770db693356968535b32a769a | [
"MIT"
] | null | null | null | extensions/igniter/local/assets/js/local.js | themepress360/Tasti_Updated | 434c2674c83d489770db693356968535b32a769a | [
"MIT"
] | null | null | null | extensions/igniter/local/assets/js/local.js | themepress360/Tasti_Updated | 434c2674c83d489770db693356968535b32a769a | [
"MIT"
] | 1 | 2021-06-02T18:00:20.000Z | 2021-06-02T18:00:20.000Z | /* ========================================================================
* TastyIgniter: local.js v2.2.0
* https://tastyigniter.com/docs/javascript
* ======================================================================== */
+function ($) {
"use strict"
$(document).on('click', '[data-control="search-lo... | 33.767442 | 105 | 0.480028 |
1e15173a524f5bf631168f4bedb4e2f0b3345694 | 595 | js | JavaScript | src/utils/storage.js | zetapush/zetapush-js | 4088bd443f8d9edc90c15d4ffb36b8a5994b906c | [
"MIT"
] | 6 | 2015-05-21T13:24:16.000Z | 2017-02-08T10:18:55.000Z | src/utils/storage.js | zetapush/zetapush-js | 4088bd443f8d9edc90c15d4ffb36b8a5994b906c | [
"MIT"
] | 16 | 2016-09-08T13:41:16.000Z | 2020-06-17T21:47:51.000Z | src/utils/storage.js | zetapush/zetapush-js | 4088bd443f8d9edc90c15d4ffb36b8a5994b906c | [
"MIT"
] | 4 | 2015-10-27T20:19:32.000Z | 2016-09-08T10:34:01.000Z | /**
* Provide fallback for DOMStorage
* @access protected
*/
class MemoryStorage {
constructor() {
this._map = new Map()
}
getItem(key) {
return this._map.get(key)
}
setItem(key, value) {
return this._map.get(key)
}
removeItem(key) {
this._map.delete(key)
}
clear() {
this._map =... | 17.5 | 103 | 0.615126 |
1e1547d0ee7fadb37d2c03e8ee59eeb906bec5e8 | 577 | js | JavaScript | fetch/index.js | tdmgit/javascript-for-web-2020-03 | a0031c12cc2d724900ea411a212716b397ca3586 | [
"MIT"
] | null | null | null | fetch/index.js | tdmgit/javascript-for-web-2020-03 | a0031c12cc2d724900ea411a212716b397ca3586 | [
"MIT"
] | null | null | null | fetch/index.js | tdmgit/javascript-for-web-2020-03 | a0031c12cc2d724900ea411a212716b397ca3586 | [
"MIT"
] | null | null | null | const content = document.getElementById("content");
const button = document .createElement("button");
const reload = () => {
fetch("https://catfact.ninja/fact")
.then(res => res.json())
.then(json => {
console.log(json.fact);
let catfact = json.fact;
content.i... | 21.37037 | 51 | 0.4974 |
1e159182f3ffd23ac57661634a708720ffd232d6 | 1,359 | js | JavaScript | Resources/vendor/retrieve.devicetoken.js | Freifunk-Dresden/Freifunker | 3e38e6906ddce424840e64d407379b71c4219f1f | [
"Apache-2.0"
] | 21 | 2015-07-06T13:50:17.000Z | 2018-05-07T23:40:04.000Z | Resources/vendor/retrieve.devicetoken.js | Freifunk-Dresden/Freifunker | 3e38e6906ddce424840e64d407379b71c4219f1f | [
"Apache-2.0"
] | 81 | 2015-07-04T18:56:06.000Z | 2019-12-24T08:14:32.000Z | Resources/vendor/retrieve.devicetoken.js | Freifunk-Dresden/Freifunker | 3e38e6906ddce424840e64d407379b71c4219f1f | [
"Apache-2.0"
] | 47 | 2015-07-06T09:09:25.000Z | 2021-08-12T18:42:46.000Z | module.exports = function() {
var gcm = require('vendor/gcmjs'),
pendingData = gcm.getData();
if (pendingData !== null) {
console.log('GCM: has pending data on START. Data is:');
console.log(JSON.stringify(pendingData));
require('view.green').show(pendingData);
}
gcm.doRe... | 37.75 | 126 | 0.566593 |
1e15ae76a3ffebac36d6a00a3e40fa3061a8cfd8 | 8,857 | js | JavaScript | site/src/pages/index.js | shubhamahuja1399/mds-docs | b01fd5339f27e39026e6a457859e4532172673a4 | [
"MIT"
] | null | null | null | site/src/pages/index.js | shubhamahuja1399/mds-docs | b01fd5339f27e39026e6a457859e4532172673a4 | [
"MIT"
] | 24 | 2021-10-21T18:17:51.000Z | 2022-01-19T13:25:09.000Z | site/src/pages/index.js | shubhamahuja1399/mds-docs | b01fd5339f27e39026e6a457859e4532172673a4 | [
"MIT"
] | 5 | 2021-11-23T19:05:12.000Z | 2022-01-13T10:38:01.000Z | import React from 'react';
import { navigate } from 'gatsby';
import Meta from '../../../gatsby-theme-mds/src/components/Meta';
import Homepage from '../../../gatsby-theme-mds/src/templates/Homepage';
import Footer from '../../../gatsby-theme-mds/src/components/Footer/Footer';
import { MediumBlogs, useHomeMenu, MdsChan... | 36.599174 | 116 | 0.393361 |
1e1675876cb93610dd1067e3c132f7a61532ab6c | 255,530 | js | JavaScript | assets/js/editor.blocks.js | time-to-first-byte/ttfb-blocks | 46c1fe18db4f3771266b465734dfacd8aa8ae0d0 | [
"MIT"
] | null | null | null | assets/js/editor.blocks.js | time-to-first-byte/ttfb-blocks | 46c1fe18db4f3771266b465734dfacd8aa8ae0d0 | [
"MIT"
] | null | null | null | assets/js/editor.blocks.js | time-to-first-byte/ttfb-blocks | 46c1fe18db4f3771266b465734dfacd8aa8ae0d0 | [
"MIT"
] | null | null | null | /******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId]) {
/******/ re... | 373.036496 | 38,834 | 0.850965 |
1e16769b5d5c79f531171e84289c57ea435890d1 | 11,729 | js | JavaScript | apps/settings/js/utils.js | ganesh7/gaia | 32112b10072e82ac8d52be891d09685f8eaa02f8 | [
"Apache-2.0"
] | 1 | 2016-03-04T05:51:46.000Z | 2016-03-04T05:51:46.000Z | apps/settings/js/utils.js | ganesh7/gaia | 32112b10072e82ac8d52be891d09685f8eaa02f8 | [
"Apache-2.0"
] | null | null | null | apps/settings/js/utils.js | ganesh7/gaia | 32112b10072e82ac8d52be891d09685f8eaa02f8 | [
"Apache-2.0"
] | null | null | null | /* -*- Mode: js; js-indent-level: 2; indent-tabs-mode: nil -*- */
/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
'use strict';
/**
* Constants
*/
var DEBUG = false;
/**
* Debug method
*/
function debug(msg, optObject) {
if (DEBUG) {
var output = '[DEBUG # Settings] ' + msg;
if (o... | 26.476298 | 80 | 0.628101 |
1e168deaa03473f450d352e7a05c260ca5c2411c | 4,760 | js | JavaScript | tests/asm-test.js | brettz9/asm.js-lint | 2a5932a394d2c453a402a0e403a01805254bf932 | [
"MIT"
] | 6 | 2015-02-05T13:03:48.000Z | 2017-05-28T00:56:33.000Z | tests/asm-test.js | brettz9/asm.js-lint | 2a5932a394d2c453a402a0e403a01805254bf932 | [
"MIT"
] | 1 | 2017-12-14T04:19:25.000Z | 2017-12-14T04:19:25.000Z | tests/asm-test.js | brettz9/asm.js-lint | 2a5932a394d2c453a402a0e403a01805254bf932 | [
"MIT"
] | 1 | 2019-10-21T14:01:30.000Z | 2019-10-21T14:01:30.000Z | /*globals CodeMirror*/
/*
TODOS:
1. We could allow separate tabs when new pathIDs are obtained via our message listener
*/
(function () {'use strict';
var saveMessage = 'webapp-save',
excludedMessages = [saveMessage];
function $ (sel) {
return document.querySelector(sel);
}
window.addEventListener('DOMCont... | 38.387097 | 199 | 0.577311 |
1e16e7135cdba2aab6dc34241c762b169ffc12fa | 1,057 | js | JavaScript | examples/addserver.js | mmgrant73/AmpJS | 80ce6536934d8f3ff777120f5f98e2d57f030922 | [
"MIT"
] | null | null | null | examples/addserver.js | mmgrant73/AmpJS | 80ce6536934d8f3ff777120f5f98e2d57f030922 | [
"MIT"
] | null | null | null | examples/addserver.js | mmgrant73/AmpJS | 80ce6536934d8f3ff777120f5f98e2d57f030922 | [
"MIT"
] | null | null | null | var ampjs = require('../lib/ampjs-min');
class Add extends ampjs.Command {
//Custom command Add that adds two variables a + b and returns the total = a + b
constructor(receiveargs, funcallback) {
var argumentMap = new Map([['a', 'integer'], ['b', 'integer']]);
var respondsMap = new Map([['total', 'integer']... | 27.102564 | 81 | 0.678335 |
1e16e9fbe3840a9aa6491979f7cba61e70b305f9 | 2,389 | js | JavaScript | src/exiftool/filetypes/386.js | redaktor/exiftool.js | b5ee423fc61e1f8ea1a50564f077c5ae9dea0822 | [
"MIT"
] | 1 | 2015-09-21T11:12:22.000Z | 2015-09-21T11:12:22.000Z | src/exiftool/filetypes/386.js | redaktor/exiftool.js | b5ee423fc61e1f8ea1a50564f077c5ae9dea0822 | [
"MIT"
] | null | null | null | src/exiftool/filetypes/386.js | redaktor/exiftool.js | b5ee423fc61e1f8ea1a50564f077c5ae9dea0822 | [
"MIT"
] | null | null | null | exports.info = { FormatID: '1134',
FormatName: 'Microsoft Animated Cursor Format',
FormatVersion: '',
FormatAliases: '',
FormatFamilies: '',
FormatTypes: 'Image (Raster)',
FormatDisclosure: '',
FormatDescription: 'Animated Cursor Format (ANI), also known as Windows NT Animated Cursor, is a chunk-based bit... | 62.868421 | 905 | 0.730431 |
1e1729759a50aeb7a90eba30edaf7a773b5015ce | 240,563 | js | JavaScript | sm-core-model/target/apidocs/member-search-index.js | irwansarwaji/shopizer | eebcdb2f3bab04bcb002faf1b903e3d6e26e3623 | [
"Apache-2.0"
] | null | null | null | sm-core-model/target/apidocs/member-search-index.js | irwansarwaji/shopizer | eebcdb2f3bab04bcb002faf1b903e3d6e26e3623 | [
"Apache-2.0"
] | null | null | null | sm-core-model/target/apidocs/member-search-index.js | irwansarwaji/shopizer | eebcdb2f3bab04bcb002faf1b903e3d6e26e3623 | [
"Apache-2.0"
] | null | null | null | memberSearchIndex = [{"p":"com.salesmanager.core.model.customer.connection","c":"AbstractUserConnection","l":"AbstractUserConnection()","u":"%3Cinit%3E()"},{"p":"com.salesmanager.core.model.customer.connection","c":"AbstractUserConnectionWithCompositeKey","l":"AbstractUserConnectionWithCompositeKey()","u":"%3Cinit%3E()... | 240,563 | 240,563 | 0.725473 |
1e17a63501a40fe4b5fedee2e61833c0dc8faf21 | 6,080 | js | JavaScript | public/assets/frontend/js/customs.js | iqbalmalik89/sababoo | c397a3d75d2b045e81772ce9648dc1e53acabc57 | [
"MIT"
] | null | null | null | public/assets/frontend/js/customs.js | iqbalmalik89/sababoo | c397a3d75d2b045e81772ce9648dc1e53acabc57 | [
"MIT"
] | null | null | null | public/assets/frontend/js/customs.js | iqbalmalik89/sababoo | c397a3d75d2b045e81772ce9648dc1e53acabc57 | [
"MIT"
] | null | null | null |
jQuery(function($) {
"use strict";
/**
* introLoader - Preloader
*/
$("#introLoader").introLoader({
animation: {
name: 'gifLoader',
options: {
ease: "easeInOutCirc",
style: 'dark bubble',
delayBefore: 500,
delayAfter: 0,
exitTime: 300
}
}
});
/**
*... | 18.258258 | 173 | 0.557237 |
1e17e69f4881a9101df15585e2020416c105a579 | 1,094 | js | JavaScript | service/StoreService.js | gustavobertolino/route-optmizer | 0de60c2ac407328feb9b6aa02a7881ce230760aa | [
"Apache-2.0"
] | null | null | null | service/StoreService.js | gustavobertolino/route-optmizer | 0de60c2ac407328feb9b6aa02a7881ce230760aa | [
"Apache-2.0"
] | 15 | 2020-02-15T13:40:49.000Z | 2020-10-09T22:43:54.000Z | service/StoreService.js | gustavobertolino/route-optmizer | 0de60c2ac407328feb9b6aa02a7881ce230760aa | [
"Apache-2.0"
] | null | null | null | const Store = require('../model/Store.js');
exports.createNewStore = async (storeDto) => {
const newStore = new Store({
name: storeDto.name,
latitude: storeDto.latitude,
longitude: storeDto.longitude
});
await newStore.save()
.then(data => {return {success: true, result: da... | 26.682927 | 83 | 0.586837 |
1e17e9c5bb03243528ff2195c27fb298cbef5865 | 3,313 | js | JavaScript | packages/@vue/cli-ui/tests/e2e/specs/g1-projects.js | shangsandalaohu123/vue-cli | a7d14996c1d3d5ebef359d8e8696df6ce13e3829 | [
"MIT"
] | 3 | 2019-12-05T19:09:24.000Z | 2020-12-28T05:56:44.000Z | packages/@vue/cli-ui/tests/e2e/specs/g1-projects.js | webmas0124/vue-cli | 17339d7726c63807aca5d2a91d02e69de5b965fc | [
"MIT"
] | 19 | 2020-10-13T05:24:02.000Z | 2020-10-13T05:24:53.000Z | packages/@vue/cli-ui/tests/e2e/specs/g1-projects.js | webmas0124/vue-cli | 17339d7726c63807aca5d2a91d02e69de5b965fc | [
"MIT"
] | 3 | 2018-07-23T11:10:28.000Z | 2018-10-17T11:30:42.000Z | describe('Vue project manager', () => {
it('Switches between tabs', () => {
cy.visit('/project/select')
cy.get('.project-select-list').should('be.visible')
cy.get('.tab-button').eq(1).click()
cy.get('.folder-explorer').should('be.visible')
cy.get('.tab-button').eq(2).click()
cy.get('.folder-ex... | 39.915663 | 92 | 0.57863 |
1e17ed9cef3d44973f03446f74af496c529ceecc | 91 | js | JavaScript | www/js/component/layout/input/input-text/input-text-const.js | webbestmaster/forgot-password | 847a85a43bcccad74f6ac89c5c1accc997696332 | [
"MIT"
] | null | null | null | www/js/component/layout/input/input-text/input-text-const.js | webbestmaster/forgot-password | 847a85a43bcccad74f6ac89c5c1accc997696332 | [
"MIT"
] | null | null | null | www/js/component/layout/input/input-text/input-text-const.js | webbestmaster/forgot-password | 847a85a43bcccad74f6ac89c5c1accc997696332 | [
"MIT"
] | null | null | null | // @flow
export const inputTextTypeMap = {
text: 'text',
password: 'password',
};
| 13 | 33 | 0.604396 |
1e181041becf2ac7df103f24dcca5f4a67dee0b0 | 10,023 | js | JavaScript | dist/seulex/core/LexParser.js | Withod/seu-lex-yacc | 0036bd2bda5ebbac4c889b3b0ee548fbd7f80627 | [
"MIT"
] | 4 | 2020-05-14T06:17:25.000Z | 2022-03-15T06:13:30.000Z | dist/seulex/core/LexParser.js | Withod/seu-lex-yacc | 0036bd2bda5ebbac4c889b3b0ee548fbd7f80627 | [
"MIT"
] | null | null | null | dist/seulex/core/LexParser.js | Withod/seu-lex-yacc | 0036bd2bda5ebbac4c889b3b0ee548fbd7f80627 | [
"MIT"
] | 6 | 2020-05-02T01:11:41.000Z | 2021-07-09T05:30:19.000Z | "use strict";
/**
* Lex源文件(.l)解析器
* by z0gSh1u & Withod
* 2020-05 @ https://github.com/z0gSh1u/seu-lex-yacc
*/
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
con... | 42.113445 | 153 | 0.396887 |
1e1820724fee2f6ee99a0e41f6e58d072049e7e0 | 619 | js | JavaScript | icons/SelectionOffIcon.js | cyjake/material | eb0ee2393f200b544900d7360741ef760a6db48c | [
"MIT"
] | 5 | 2018-11-21T09:41:06.000Z | 2020-11-04T13:46:37.000Z | icons/SelectionOffIcon.js | cyjake/material | eb0ee2393f200b544900d7360741ef760a6db48c | [
"MIT"
] | 4 | 2019-03-06T13:41:48.000Z | 2020-04-08T00:53:00.000Z | icons/SelectionOffIcon.js | cyjake/material | eb0ee2393f200b544900d7360741ef760a6db48c | [
"MIT"
] | 5 | 2020-04-07T22:11:38.000Z | 2022-01-10T20:10:06.000Z | import React from 'react'
const DEFAULT_SIZE = 24
export default ({
fill = 'currentColor',
width = DEFAULT_SIZE,
height = DEFAULT_SIZE,
style = {},
...props
}) => (
<svg
viewBox={ `0 0 ${ DEFAULT_SIZE } ${ DEFAULT_SIZE }` }
style={{ fill, width, height, ...style }}
{ ...props }
>
<path d... | 30.95 | 298 | 0.675283 |
1e185ce63f93917a62d6f54f78737431a6855cb1 | 1,085 | js | JavaScript | src/Modules/SimplCommerce.Module.Catalog/wwwroot/admin/simple-product-widget/simple-product-widget-service.js | shirajulmamun/SimplCommerce | baa772568fc6155f060403e67a3da76f59fa17b2 | [
"Apache-2.0"
] | 4 | 2017-11-01T15:29:57.000Z | 2019-08-17T04:05:52.000Z | src/Modules/SimplCommerce.Module.Catalog/wwwroot/admin/simple-product-widget/simple-product-widget-service.js | shirajulmamun/SimplCommerce | baa772568fc6155f060403e67a3da76f59fa17b2 | [
"Apache-2.0"
] | 2 | 2019-04-21T14:36:01.000Z | 2019-05-13T14:11:36.000Z | src/Modules/SimplCommerce.Module.Catalog/wwwroot/admin/simple-product-widget/simple-product-widget-service.js | shirajulmamun/SimplCommerce | baa772568fc6155f060403e67a3da76f59fa17b2 | [
"Apache-2.0"
] | 2 | 2019-04-10T16:12:38.000Z | 2019-05-03T06:28:51.000Z | /*global angular*/
(function () {
angular
.module('simplAdmin.catalog')
.factory('simpleProductWidgetService', simpleProductWidgetService);
/* @ngInject */
function simpleProductWidgetService($http, Upload) {
var service = {
getWidgetZones: getWidgetZones,
g... | 31.911765 | 96 | 0.62765 |
1e186a4983bc2473f62ee0b1a95b72cfdf1323d5 | 639 | js | JavaScript | packages/generator-casco/generators/example-ping-pong/templates/start.js | ledgitbe/casco | b6c5d1cb7c663cca5c1eb9314bca7849644378b8 | [
"MIT"
] | 12 | 2019-09-10T12:53:47.000Z | 2021-06-24T15:05:23.000Z | packages/generator-casco/generators/example-ping-pong/templates/start.js | ledgitbe/casco | b6c5d1cb7c663cca5c1eb9314bca7849644378b8 | [
"MIT"
] | 8 | 2020-05-14T12:37:15.000Z | 2022-02-26T15:25:46.000Z | packages/generator-casco/generators/example-ping-pong/templates/start.js | ledgitbe/casco | b6c5d1cb7c663cca5c1eb9314bca7849644378b8 | [
"MIT"
] | null | null | null | #!/usr/bin/node
const path = require('path');
const Datapay = require('datapay')
const QRCode = require('qrcode-terminal');
require('dotenv').config();
if (process.argv.length < 3) {
console.log(`Usage: ./start.js ping`);
console.log(`Address: ${process.env.ADDRESS}`);
QRCode.generate(process.env.ADDRESS, { sm... | 22.034483 | 56 | 0.616588 |
1e19396f8b3d73e22bbe7713e2d6e2589dba09b1 | 5,794 | js | JavaScript | js/getResource.js | thisisrajneel/QuickLearn | 1e9880612653ae25d645d53efe15be5a2a87fad2 | [
"MIT"
] | 1 | 2022-03-14T18:20:29.000Z | 2022-03-14T18:20:29.000Z | js/getResource.js | thisisrajneel/QuickLearn | 1e9880612653ae25d645d53efe15be5a2a87fad2 | [
"MIT"
] | null | null | null | js/getResource.js | thisisrajneel/QuickLearn | 1e9880612653ae25d645d53efe15be5a2a87fad2 | [
"MIT"
] | null | null | null | /* Source Logic */
let selectCategoryBtn = document.querySelectorAll(".select-category-btn");
// Contribution and Resource Box
const resourceBox = document.getElementById("resourceBox");
const contributionGuidline = document.getElementById("contributionGuideline");
// Resource Showcase Section
const beginnerResourceBox... | 31.318919 | 129 | 0.553158 |
1e1996b24873281466e3abcc641c4c266fadc8f2 | 1,186 | js | JavaScript | 26-stripe-follow-along-nav/script.js | GaneshmKumar/javascript30 | c7bd6fac74e10aa0e2718d066e4f813616ecf2ce | [
"MIT"
] | 1 | 2020-12-30T10:31:24.000Z | 2020-12-30T10:31:24.000Z | 26-stripe-follow-along-nav/script.js | GaneshmKumar/javascript30 | c7bd6fac74e10aa0e2718d066e4f813616ecf2ce | [
"MIT"
] | null | null | null | 26-stripe-follow-along-nav/script.js | GaneshmKumar/javascript30 | c7bd6fac74e10aa0e2718d066e4f813616ecf2ce | [
"MIT"
] | null | null | null | const triggers = document.querySelectorAll('.cool > li');
const background = document.querySelector('.dropdownBackground');
const nav = document.querySelector('.top');
const handleEnter = function() {
this.classList.add('trigger-enter');
setTimeout(() => this.classList.contains('trigger-enter') && this.classList.add... | 37.0625 | 111 | 0.745363 |
1e19cf5e624ef926dfb7c4a39970c4d9b66e6bd3 | 15,763 | js | JavaScript | public/theme/libs/bower/bootstrap-tagsinput/dist/bootstrap-tagsinput.min.js | Kirito223/dutoan | b07324e1b398a0326309612b9c77f443a461a555 | [
"MIT"
] | null | null | null | public/theme/libs/bower/bootstrap-tagsinput/dist/bootstrap-tagsinput.min.js | Kirito223/dutoan | b07324e1b398a0326309612b9c77f443a461a555 | [
"MIT"
] | 6 | 2021-01-07T02:14:35.000Z | 2021-05-01T08:00:53.000Z | public/theme/libs/bower/bootstrap-tagsinput/dist/bootstrap-tagsinput.min.js | Kirito223/dutoan | b07324e1b398a0326309612b9c77f443a461a555 | [
"MIT"
] | null | null | null | /*
* bootstrap-tagsinput v0.8.0
*
*/
! function(a) {
"use strict";
function b(b, c) {
this.isInit = !0, this.itemsArray = [], this.$element = a(b), this.$element.hide(), this.isSelect = "SELECT" === b.tagName, this.multiple = this.isSelect && b.hasAttribute("multiple"), this.objectItems = c && c.i... | 48.057927 | 628 | 0.420859 |
1e1ab878eb3a4b19c1534e30942d8b2189b4f6d0 | 847 | js | JavaScript | public/backend_admin/vendors/jquery/src/core/ready.min.js | liudianpeng/wisdom | 76a86f02440faa53adcfb6ee8f1037e256a6263b | [
"Apache-2.0"
] | 1 | 2021-03-28T07:35:01.000Z | 2021-03-28T07:35:01.000Z | public/backend_admin/vendors/jquery/src/core/ready.min.js | liudianpeng/wisdom | 76a86f02440faa53adcfb6ee8f1037e256a6263b | [
"Apache-2.0"
] | null | null | null | public/backend_admin/vendors/jquery/src/core/ready.min.js | liudianpeng/wisdom | 76a86f02440faa53adcfb6ee8f1037e256a6263b | [
"Apache-2.0"
] | null | null | null | define(["../core","../var/document","../core/init","../deferred"],function(c,a){var d;c.fn.ready=function(e){c.ready.promise().done(e);return this};c.extend({isReady:false,readyWait:1,holdReady:function(e){if(e){c.readyWait++}else{c.ready(true)}},ready:function(e){if(e===true?--c.readyWait:c.isReady){return}c.isReady=t... | 847 | 847 | 0.720189 |
1e1ad61986c4a64fd74dff83f8e22f9dfe9460a2 | 3,338 | js | JavaScript | packages/hardhat/deploy/00_deploy_your_contract.js | eagleDAO/NeptuneHalo | 04ea65e558948b7eec6cb304c68e6b9f5b8005b4 | [
"MIT"
] | null | null | null | packages/hardhat/deploy/00_deploy_your_contract.js | eagleDAO/NeptuneHalo | 04ea65e558948b7eec6cb304c68e6b9f5b8005b4 | [
"MIT"
] | null | null | null | packages/hardhat/deploy/00_deploy_your_contract.js | eagleDAO/NeptuneHalo | 04ea65e558948b7eec6cb304c68e6b9f5b8005b4 | [
"MIT"
] | null | null | null | // deploy/00_deploy_your_contract.js
const { ethers } = require("hardhat");
const localChainId = "31337";
const owner = "0x7cAb1990de608084D5865aa87EBe4947Cf0A6700";
const host = "0xEB796bdb90fFA0f28255275e16936D25d3418603";
const cfa = "0x49e565Ed1bdc17F3d220f72DF0857C26FA83F873";
const ETHx = "0x5D8B4C2554aeB7e86F... | 32.72549 | 193 | 0.68544 |
1e1b4be638975699f2651a9258e00c0dd6e7ab64 | 401 | js | JavaScript | lib/constants.js | kurtaking/nextjs-personal-website-template | 2e8b74a7ff067477fad4adda952712d13fbb0643 | [
"MIT"
] | 1 | 2022-02-16T05:19:05.000Z | 2022-02-16T05:19:05.000Z | lib/constants.js | kurtaking/nextjs-personal-website-template | 2e8b74a7ff067477fad4adda952712d13fbb0643 | [
"MIT"
] | 18 | 2022-02-16T04:29:33.000Z | 2022-02-28T04:17:12.000Z | lib/constants.js | kurtaking/nextjs-personal-website-template | 2e8b74a7ff067477fad4adda952712d13fbb0643 | [
"MIT"
] | null | null | null | /**
* Social Links
*/
export const TWITTER_BASE_URL = 'https://twitter.com/'
export const GITHUB_BASE_URL = 'https://github.com/'
export const INSTAGRAM_BASE_URL = 'https://www.instagram.com/'
export const LINKEDIN_BASE_URL = 'https://www.linkedin.com/in/'
export const EASTER_EGG = '/kurtaking/nextjs-personal-website... | 28.642857 | 71 | 0.74813 |
1e1bf5bca363ac94ffef6dfe22668a086c4e93bc | 1,264 | js | JavaScript | src/dashboard/rewards/RewardsModernCompat.js | Capeia/capeia | 8ffef214972f7879d33fc3d2117150091ef761fe | [
"MIT"
] | null | null | null | src/dashboard/rewards/RewardsModernCompat.js | Capeia/capeia | 8ffef214972f7879d33fc3d2117150091ef761fe | [
"MIT"
] | null | null | null | src/dashboard/rewards/RewardsModernCompat.js | Capeia/capeia | 8ffef214972f7879d33fc3d2117150091ef761fe | [
"MIT"
] | null | null | null | // @flow
import React from 'react'
import PropTypes from 'prop-types'
import { QueryRenderer, graphql } from 'react-relay'
import RewardsScreen from './RewardsScreen'
import type { RewardsModernCompatQueryResponse } from './__generated__/RewardsModernCompatQuery'
const query = graphql`
query RewardsModernCompatQuery... | 21.793103 | 96 | 0.664557 |
1e1bf824b41f2deea308925fdc7a81aa661b68f0 | 747,876 | js | JavaScript | Dataset 2017/4- Games/5- Wowhead.com/1- basketball-keyword/basketball_files/locale_enus.js | Fadwa-estuka/Testbed-Dataset-for-Data-Record-Extraction-and-Alignment | 2a40c15b6987d2b6aac0ed0ed224de32dfa35ec7 | [
"MIT"
] | 1 | 2018-04-28T00:50:52.000Z | 2018-04-28T00:50:52.000Z | Dataset 2017/4- Games/5- Wowhead.com/3- playstation-keyword/playstation_files/locale_enus.js | Fadwa-estuka/Testbed-Dataset-for-Data-Record-Extraction-and-Alignment | 2a40c15b6987d2b6aac0ed0ed224de32dfa35ec7 | [
"MIT"
] | null | null | null | Dataset 2017/4- Games/5- Wowhead.com/3- playstation-keyword/playstation_files/locale_enus.js | Fadwa-estuka/Testbed-Dataset-for-Data-Record-Extraction-and-Alignment | 2a40c15b6987d2b6aac0ed0ed224de32dfa35ec7 | [
"MIT"
] | null | null | null | function mn_setSubmenu(e,a,c){for(var d=0,b;b=e[d];d++){if(b[0]==a){b[3]=c}}}var l_reputation_names=["","Registered account","Daily visit","Posted comment","Your comment was upvoted","Your comment was downvoted","Submitted screenshot","Cast vote","Uploaded data","Report accepted","Report declined","Copper Achievement",... | 747,876 | 747,876 | 0.734793 |
1e1c3dca6985c56ff1221f9e2866dfb580795d54 | 4,284 | js | JavaScript | js/influencers.js | HenryKleinschmidt/hyper.re | 4b9d81509b6790952475bc2f4e28113eba150286 | [
"Unlicense"
] | null | null | null | js/influencers.js | HenryKleinschmidt/hyper.re | 4b9d81509b6790952475bc2f4e28113eba150286 | [
"Unlicense"
] | null | null | null | js/influencers.js | HenryKleinschmidt/hyper.re | 4b9d81509b6790952475bc2f4e28113eba150286 | [
"Unlicense"
] | null | null | null | class Influencer {
constructor(options) {
this._limit = options.limit;
this._parseQuery = options.parseQuery;
}
addItem() {}
getSuggestions() {}
_addSearchPrefix(items, query) {
const searchPrefix = this._getSearchPrefix(query);
return items.map(s => (searchP... | 25.5 | 100 | 0.556956 |
1e1d2d2629536f4868d313d36972d45bcf8bdedb | 4,044 | js | JavaScript | node/node_modules/pdfkit/js/mixins/annotations.js | kukulkan-project/kukulkan-staruml-plugin | 828fd959dc9f07bdd27cf99e6ec2cc25a706c2ea | [
"MIT"
] | null | null | null | node/node_modules/pdfkit/js/mixins/annotations.js | kukulkan-project/kukulkan-staruml-plugin | 828fd959dc9f07bdd27cf99e6ec2cc25a706c2ea | [
"MIT"
] | null | null | null | node/node_modules/pdfkit/js/mixins/annotations.js | kukulkan-project/kukulkan-staruml-plugin | 828fd959dc9f07bdd27cf99e6ec2cc25a706c2ea | [
"MIT"
] | null | null | null | // Generated by CoffeeScript 1.7.1
(function() {
module.exports = {
annotate: function(x, y, w, h, options) {
var key, ref, val;
options.Type = 'Annot';
options.Rect = this._convertRect(x, y, w, h);
options.Border = [0, 0, 0];
if (options.Subtype !== 'Link') {
if (options.C =... | 30.179104 | 107 | 0.505935 |
1e1d778b3ede4518e4ae9bfbeac525416ecd2818 | 1,870 | js | JavaScript | assets/plugin/sweetalert/src/utils/utils.js | wangling97/tokokue | 366bc41dd62f90e60637ffe7d7b9d5908b0939ce | [
"MIT"
] | 1 | 2021-01-28T05:01:50.000Z | 2021-01-28T05:01:50.000Z | assets/plugins/sweetalert2/src/utils/utils.js | cloner3000/Sistem-Informasi-Penjaminan-Mutu-Internal-Unila | 37c8948d48fe1e73b930ca570c1a3ce9b683c0ee | [
"MIT"
] | null | null | null | assets/plugins/sweetalert2/src/utils/utils.js | cloner3000/Sistem-Informasi-Penjaminan-Mutu-Internal-Unila | 37c8948d48fe1e73b930ca570c1a3ce9b683c0ee | [
"MIT"
] | 9 | 2017-12-27T04:39:25.000Z | 2019-10-25T03:15:47.000Z | export const consolePrefix = 'SweetAlert2:'
/**
* Filter the unique values into a new array
* @param arr
*/
export const uniqueArray = (arr) => {
const result = []
for (let i = 0; i < arr.length; i++) {
if (result.indexOf(arr[i]) === -1) {
result.push(arr[i])
}
}
return result
}
/**
* Conver... | 22.53012 | 99 | 0.641176 |
1e1d9fd55dd4f406090af164e95406df665f710c | 106 | js | JavaScript | lang/JavaScript/file-modification-time-2.js | ethansaxenian/RosettaDecode | 8ea1a42a5f792280b50193ad47545d14ee371fb7 | [
"MIT"
] | 5 | 2021-01-29T20:08:05.000Z | 2022-03-22T06:16:05.000Z | lang/JavaScript/file-modification-time-2.js | ethansaxenian/RosettaDecode | 8ea1a42a5f792280b50193ad47545d14ee371fb7 | [
"MIT"
] | null | null | null | lang/JavaScript/file-modification-time-2.js | ethansaxenian/RosettaDecode | 8ea1a42a5f792280b50193ad47545d14ee371fb7 | [
"MIT"
] | 1 | 2021-04-13T04:19:31.000Z | 2021-04-13T04:19:31.000Z | var file = document.getElementById("fileInput").files.item(0);
var last_modified = file.lastModifiedDate;
| 35.333333 | 62 | 0.792453 |
1e1e1c3c74430f37bf381c2625c091a6481f9417 | 2,726 | js | JavaScript | src/_tests_/BuildData.test.js | stephkchiu/Auxpack | 916ac5291b6cd4827d8c74f504692aca649c83c4 | [
"MIT"
] | 95 | 2020-01-10T19:21:27.000Z | 2021-08-18T02:09:11.000Z | src/_tests_/BuildData.test.js | stephkchiu/Auxpack | 916ac5291b6cd4827d8c74f504692aca649c83c4 | [
"MIT"
] | 8 | 2020-03-15T10:12:04.000Z | 2022-02-26T20:56:38.000Z | src/_tests_/BuildData.test.js | stephkchiu/Auxpack | 916ac5291b6cd4827d8c74f504692aca649c83c4 | [
"MIT"
] | 5 | 2019-11-30T03:05:39.000Z | 2020-01-08T04:10:29.000Z | import { Tab, Tabs } from '@material-ui/core';
import BuildData from '../client/content/containers/BuildData.jsx';
import ChangesTable from '../client/content/components/ChangesTable.jsx';
import AssetsTable from '../client/content/components/AssetsTable.jsx';
import ErrorsTable from '../client/content/components/Error... | 35.868421 | 200 | 0.626926 |
1e1e2c36c0ad466b9659fe649545628a972211b7 | 1,688 | js | JavaScript | QuickAndroid/Styles/utils.js | JohnPoison/quickandroid | 0748db59e8e834da3a85469451bfd5375aff6c56 | [
"Apache-2.0"
] | 234 | 2015-01-05T08:34:20.000Z | 2022-03-04T03:20:47.000Z | QuickAndroid/Styles/utils.js | JohnPoison/quickandroid | 0748db59e8e834da3a85469451bfd5375aff6c56 | [
"Apache-2.0"
] | 25 | 2015-01-18T15:58:20.000Z | 2017-06-12T08:20:24.000Z | QuickAndroid/Styles/utils.js | JohnPoison/quickandroid | 0748db59e8e834da3a85469451bfd5375aff6c56 | [
"Apache-2.0"
] | 56 | 2015-06-04T15:34:40.000Z | 2022-03-04T03:20:53.000Z | .pragma library
/// Merge the contents of two or more objects together into the first object.
function merge() {
if (arguments.length === 0)
return;
if (arguments.length === 1)
return arguments[0];
var target = arguments[0];
var reserved = ["objectName","extend","merge"];
for (v... | 28.133333 | 93 | 0.461493 |
1e1e44d09606a8e50a6cb2d96e4bb8439131999a | 779 | js | JavaScript | lib/express-seo-noslash.js | john-doherty/express-seo-noslash | c521daf2459c4fc19a8c5ae9faeea24c39b4bfe3 | [
"MIT"
] | 2 | 2020-07-30T04:59:55.000Z | 2020-08-08T10:54:32.000Z | lib/express-seo-noslash.js | orca-scan/express-seo-noslash | c521daf2459c4fc19a8c5ae9faeea24c39b4bfe3 | [
"MIT"
] | null | null | null | lib/express-seo-noslash.js | orca-scan/express-seo-noslash | c521daf2459c4fc19a8c5ae9faeea24c39b4bfe3 | [
"MIT"
] | null | null | null | 'use strict';
var url = require('url');
/**
* Intercepts requests ad 301 redirects to remove trailing slashes
* @returns {function} express middleware
*/
module.exports = function (req, res, next) {
var method = req.method.toLowerCase();
var requestedUrl = url.parse(req.url);
// we're only interested... | 25.129032 | 66 | 0.558408 |
1e1ec45665da5099b8f2c580c91f3a220ef54f1c | 283 | js | JavaScript | public/script/controllers/main.js | indrasaswita/Jakartabrosur2018 | eb46813fe1a1cf3e96c8cf503f10468dfa5a5358 | [
"MIT"
] | null | null | null | public/script/controllers/main.js | indrasaswita/Jakartabrosur2018 | eb46813fe1a1cf3e96c8cf503f10468dfa5a5358 | [
"MIT"
] | 4 | 2018-09-23T09:40:45.000Z | 2021-03-08T21:59:03.000Z | public/script/controllers/main.js | indrasaswita/Jakartabrosur2018 | eb46813fe1a1cf3e96c8cf503f10468dfa5a5358 | [
"MIT"
] | null | null | null | module.exports = function(app){
$(function () {
//BOOTSTRAP TOOOOLTIP!!!
try{
$('[data-toggle="tooltip"]').tooltip();
}catch(e){
console.log("tooltip disabled - runtime error");
}
})
/*$(window).ready(function(){
$('[data-toggle="tooltip"]').tooltip();
});*/
} | 17.6875 | 51 | 0.575972 |
1e1ec87cbf4015b60c79fa65c73337de99b8a165 | 6,476 | js | JavaScript | samples.sciter/@sys/fs/folder-view.js | AlecHaring/sciter-js-sdk | 6cedc57ff09404ad17e1899abc06f843a4677b69 | [
"BSD-3-Clause"
] | 1,688 | 2020-10-10T06:08:27.000Z | 2022-03-31T09:57:58.000Z | samples.sciter/@sys/fs/folder-view.js | AlecHaring/sciter-js-sdk | 6cedc57ff09404ad17e1899abc06f843a4677b69 | [
"BSD-3-Clause"
] | 156 | 2020-10-16T05:50:01.000Z | 2022-03-31T13:26:18.000Z | samples.sciter/@sys/fs/folder-view.js | AlecHaring/sciter-js-sdk | 6cedc57ff09404ad17e1899abc06f843a4677b69 | [
"BSD-3-Clause"
] | 111 | 2020-10-12T00:37:54.000Z | 2022-03-30T07:56:33.000Z |
import * as sys from "@sys";
import * as env from "@env";
export class FolderView extends Element
{
path = "";
filter = null; // file filter
currentNode = null; // like "foo.txt" or ".."
elcontent = null; // dom element
elpath = null; // dom element
constructor(props) {
super();
... | 28.403509 | 151 | 0.54509 |
1e1f50fc6f5660ecd5f15bee4a0588e264051b84 | 732 | js | JavaScript | aula_04/script.js | GabrielBorges-code/Imersao_Dev | 9cd5162d04c70f68bb74d66a27110e88bbe14ecb | [
"MIT"
] | 1 | 2021-04-09T13:03:03.000Z | 2021-04-09T13:03:03.000Z | aula_04/script.js | GabrielBorges-code/Imersao_Dev | 9cd5162d04c70f68bb74d66a27110e88bbe14ecb | [
"MIT"
] | null | null | null | aula_04/script.js | GabrielBorges-code/Imersao_Dev | 9cd5162d04c70f68bb74d66a27110e88bbe14ecb | [
"MIT"
] | null | null | null | var listaFilmes = ['https://m.media-amazon.com/images/M/MV5BZjhkMDM4MWItZTVjOC00ZDRhLThmYTAtM2I5NzBmNmNlMzI1XkEyXkFqcGdeQXVyNDYyMDk5MTU@._V1_UY268_CR0,0,182,268_AL_.jpg', 'https://m.media-amazon.com/images/M/MV5BNjdlY2Q4MzAtOGJkYy00MjI2LTk3YTAtY2JjZWIyMmNhNWQ3XkEyXkFqcGdeQXVyMjgzNjQyMjI@._V1_UY268_CR3,0,182,268_AL_.jpg... | 146.4 | 627 | 0.825137 |
1e1f60b9f9e94994c1890463403856962189e325 | 3,662 | js | JavaScript | Request.js | amanganiello90/alm-migrate-excel | d5bb75ac9b5b36dbd2198b52649522f3a4c568a2 | [
"MIT"
] | 1 | 2019-03-31T07:45:31.000Z | 2019-03-31T07:45:31.000Z | Request.js | amanganiello90/alm-migrate-excel | d5bb75ac9b5b36dbd2198b52649522f3a4c568a2 | [
"MIT"
] | null | null | null | Request.js | amanganiello90/alm-migrate-excel | d5bb75ac9b5b36dbd2198b52649522f3a4c568a2 | [
"MIT"
] | null | null | null | module.exports = {
FolderRequestTest: function (folder1, parentId) {
return "<Entity Type='test-folder'><Fields> <Field Name='name'> <Value>" + folder1 + "</Value> </Field> <Field Name='parent-id'> <Value>" + parentId + "</Value> </Field></Fields><RelatedEntities/></Entity>";
},
TestRequest: function (testName... | 122.066667 | 1,094 | 0.648007 |
1e203b3f73f9c9c69496b119d00413bb01436344 | 751 | js | JavaScript | src/cli/migrate/__testfixtures__/onchange-prop.input.js | evemontalvao/circuit-ui | 72038b455a7135e9397ccaf3b656e4183b43bddd | [
"Apache-2.0"
] | 1 | 2020-10-26T12:24:26.000Z | 2020-10-26T12:24:26.000Z | src/cli/migrate/__testfixtures__/onchange-prop.input.js | evemontalvao/circuit-ui | 72038b455a7135e9397ccaf3b656e4183b43bddd | [
"Apache-2.0"
] | null | null | null | src/cli/migrate/__testfixtures__/onchange-prop.input.js | evemontalvao/circuit-ui | 72038b455a7135e9397ccaf3b656e4183b43bddd | [
"Apache-2.0"
] | null | null | null | import React from 'react';
import styled from '@emotion/styled';
import { RadioButton, Switch, Toggle } from '@sumup/circuit-ui';
const BaseRadioButton = () => <RadioButton onToggle={console.log} checked />;
const RedRadioButton = styled(RadioButton)`
color: red;
`;
const StyledRadioButton = () => (
<RedRadioBut... | 25.033333 | 77 | 0.691079 |
1e208ab2ef199244a019222d3cafd242af739423 | 17,638 | js | JavaScript | assets/hergo/funciones.js | wilmix/hergo | ecfb15fadbbd73f8d616f6d56e70e01ec748756a | [
"MIT"
] | null | null | null | assets/hergo/funciones.js | wilmix/hergo | ecfb15fadbbd73f8d616f6d56e70e01ec748756a | [
"MIT"
] | 5 | 2020-07-30T13:28:43.000Z | 2020-08-19T15:32:48.000Z | assets/hergo/funciones.js | wilmix/hergo | ecfb15fadbbd73f8d616f6d56e70e01ec748756a | [
"MIT"
] | null | null | null | var glob_tipoCambio = 0;
var glob_art = [];
var glob_alm_usu
var fechaHoySystem
var PermisosUser
const isAdminGlobal = $('#isAdmin').val()
const isNacionalGlobal = $('#nacional').val()
glob_tipoCambio = parseFloat($("#mostrarTipoCambio").text())
permisos()
$(document).ready(function ()
{
glob_tipoCambio = parseFlo... | 28.914754 | 287 | 0.573364 |
1e20a7fc295a284853a5e4a140af14c1ca0228eb | 611 | js | JavaScript | src/Parameters.js | sneha-belkhale/AI4Animation-js | 7bc83e61c7ff8c6620c2534a6f7cc97ab3331b06 | [
"MIT"
] | 230 | 2019-04-11T17:21:58.000Z | 2022-03-21T01:49:06.000Z | src/Parameters.js | sneha-belkhale/AI4Animation-js | 7bc83e61c7ff8c6620c2534a6f7cc97ab3331b06 | [
"MIT"
] | 4 | 2019-04-19T09:13:07.000Z | 2020-04-08T18:04:06.000Z | src/Parameters.js | sneha-belkhale/AI4Animation-js | 7bc83e61c7ff8c6620c2534a6f7cc97ab3331b06 | [
"MIT"
] | 20 | 2019-04-22T17:35:34.000Z | 2022-01-05T11:01:32.000Z | import * as nj from 'numjs';
export default class Parameters {
static async Load(name, rows, cols) {
const mat = nj.zeros([rows, cols]);
// eslint-disable-next-line
const response = await fetch(require(`./NN_Wolf_MANN${name}`));
const buffer = await response.arrayBuffer();
const data = new DataVi... | 26.565217 | 67 | 0.577741 |
1e20cca393d8217de7bf33505b6667b37abfb9bf | 7,783 | js | JavaScript | VR_with_balls/node_modules/three/src/extras/core/Curve.js | PonomarovP/threejs_experiments | 3714fe751a9437ddeb60354a6186576176e70cb4 | [
"MIT"
] | 1,956 | 2015-01-29T03:16:17.000Z | 2022-03-30T07:47:47.000Z | VR_with_balls/node_modules/three/src/extras/core/Curve.js | PonomarovP/threejs_experiments | 3714fe751a9437ddeb60354a6186576176e70cb4 | [
"MIT"
] | 160 | 2015-02-03T17:28:09.000Z | 2018-08-06T19:34:54.000Z | VR_with_balls/node_modules/three/src/extras/core/Curve.js | PonomarovP/threejs_experiments | 3714fe751a9437ddeb60354a6186576176e70cb4 | [
"MIT"
] | 574 | 2015-01-29T07:48:30.000Z | 2022-03-09T17:00:01.000Z | import { _Math } from '../../math/Math';
import { Vector3 } from '../../math/Vector3';
import { Matrix4 } from '../../math/Matrix4';
/**
* @author zz85 / http://www.lab4games.net/zz85/blog
* Extensible curve object
*
* Some common of Curve methods
* .getPoint(t), getTangent(t)
* .getPointAt(u), getTangentAt(u)
... | 20.059278 | 162 | 0.603366 |
1e21016044c0440b4ea702beb541bedcc6572202 | 1,124 | js | JavaScript | server/handlers/renderers/sub-resources.js | madnight/gitter | 599aa0d3fd638d43eef0f9c0d8758481f592e1f3 | [
"MIT"
] | null | null | null | server/handlers/renderers/sub-resources.js | madnight/gitter | 599aa0d3fd638d43eef0f9c0d8758481f592e1f3 | [
"MIT"
] | null | null | null | server/handlers/renderers/sub-resources.js | madnight/gitter | 599aa0d3fd638d43eef0f9c0d8758481f592e1f3 | [
"MIT"
] | null | null | null | 'use strict';
var cdn = require("gitter-web-cdn");
function cdnSubResources(resources, jsRoot) {
var resourceList = ['vendor'];
if (resources) {
resourceList = resourceList.concat(resources);
}
return resourceList.map(function(f) {
return cdn(jsRoot + '/' + f + '.js');
})
.concat(cdn('fonts... | 26.761905 | 88 | 0.678826 |
1e22102dd0719cb6949f30fdac867e3c077cfb6e | 1,562 | js | JavaScript | src/assets/js/pages/admin/plan/info.page.js | HiroyukiNIshimura/lycaon-ce | e8a8c796c88aca62e0bc6e494e17fb9672e4b26c | [
"MIT"
] | null | null | null | src/assets/js/pages/admin/plan/info.page.js | HiroyukiNIshimura/lycaon-ce | e8a8c796c88aca62e0bc6e494e17fb9672e4b26c | [
"MIT"
] | null | null | null | src/assets/js/pages/admin/plan/info.page.js | HiroyukiNIshimura/lycaon-ce | e8a8c796c88aca62e0bc6e494e17fb9672e4b26c | [
"MIT"
] | null | null | null | parasails.registerPage('admin-plan-info', {
// ╦╔╗╔╦╔╦╗╦╔═╗╦ ╔═╗╔╦╗╔═╗╔╦╗╔═╗
// ║║║║║ ║ ║╠═╣║ ╚═╗ ║ ╠═╣ ║ ║╣
// ╩╝╚╝╩ ╩ ╩╩ ╩╩═╝ ╚═╝ ╩ ╩ ╩ ╩ ╚═╝
data: {
formatter: formatter,
floatFormatter: floatFormatter,
},
// ╦ ╦╔═╗╔═╗╔═╗╦ ╦╔═╗╦ ╔═╗
// ║ ║╠╣ ║╣ ║ ╚╦╝║ ║ ║╣
// ╩═╝╩╚ ╚═╝╚═╝... | 27.403509 | 84 | 0.453265 |
1e226d29f2829efc7c577f51cfe229c663b9c7fd | 5,844 | js | JavaScript | vendor/kartik-v/yii2-grid/src/assets/js/kv-grid-expand.min.js | galusmarcin87/nol | 1d89e84d649bd200667f2b0aecb89cb8703e1092 | [
"BSD-3-Clause"
] | 15 | 2016-07-28T02:37:06.000Z | 2021-11-26T03:26:55.000Z | vendor/kartik-v/yii2-grid/src/assets/js/kv-grid-expand.min.js | galusmarcin87/nol | 1d89e84d649bd200667f2b0aecb89cb8703e1092 | [
"BSD-3-Clause"
] | 3 | 2021-05-11T04:21:34.000Z | 2022-02-10T21:24:29.000Z | vendor/kartik-v/yii2-grid/src/assets/js/kv-grid-expand.min.js | galusmarcin87/nol | 1d89e84d649bd200667f2b0aecb89cb8703e1092 | [
"BSD-3-Clause"
] | 7 | 2017-02-05T07:32:07.000Z | 2018-09-27T02:49:39.000Z | /*!
* @package yii2-grid
* @author Kartik Visweswaran <kartikv2@gmail.com>
* @copyright Copyright © Kartik Visweswaran, Krajee.com, 2014 - 2020
* @version 3.3.5
*
* jQuery methods library for yii2-grid expand row column
*
* Author: Kartik Visweswaran
* Copyright: 2014 - 2020, Kartik Visweswaran, K... | 417.428571 | 5,391 | 0.655202 |
1e232cfe4ebb345f9a01fff89e46c89dbbab7405 | 2,752 | js | JavaScript | rreport/libraries/widgets/mathjax/jax/element/mml/optable/MiscMathSymbolsB.js | yufree/democode | f09a89437bfeb4b56d245a568bedb39e48dbe7b9 | [
"MIT"
] | 5 | 2016-11-08T11:11:39.000Z | 2022-03-15T13:36:31.000Z | rreport/libraries/widgets/mathjax/jax/element/mml/optable/MiscMathSymbolsB.js | yufree/democode | f09a89437bfeb4b56d245a568bedb39e48dbe7b9 | [
"MIT"
] | 2 | 2016-09-30T20:16:26.000Z | 2016-10-23T14:52:34.000Z | rreport/libraries/widgets/mathjax/jax/element/mml/optable/MiscMathSymbolsB.js | yufree/democode | f09a89437bfeb4b56d245a568bedb39e48dbe7b9 | [
"MIT"
] | 13 | 2016-09-30T15:44:19.000Z | 2022-03-15T13:36:30.000Z | /*
* /MathJax/jax/element/mml/optable/MiscMathSymbolsB.js
*
* Copyright (c) 2012 Design Science, Inc.
*
* Part of the MathJax library.
* See http://www.mathjax.org for details.
*
* Licensed under the Apache License, Version 2.0;
* you may not use this file except in compliance with the Licens... | 161.882353 | 2,362 | 0.639172 |
1e23b970f560a29ac521a7e989a2eab9fd9836ba | 4,320 | js | JavaScript | public/dashboard/tmp/app/directives/graphiteSegment.js | mabotech/maboss | cad6466979aa4df97a672512414b587074bbeba4 | [
"MIT"
] | null | null | null | public/dashboard/tmp/app/directives/graphiteSegment.js | mabotech/maboss | cad6466979aa4df97a672512414b587074bbeba4 | [
"MIT"
] | null | null | null | public/dashboard/tmp/app/directives/graphiteSegment.js | mabotech/maboss | cad6466979aa4df97a672512414b587074bbeba4 | [
"MIT"
] | 1 | 2019-11-29T10:42:29.000Z | 2019-11-29T10:42:29.000Z | define([
'angular',
'app',
'lodash',
'jquery'
], function (angular, app, _, $) {
'use strict';
angular.module('grafana.directives').directive('graphiteSegment', [
'$compile',
'$sce',
function ($compile, $sce) {
var inputTemplate = '<input type="text" data-provide="typeahead" ' + ' class="g... | 36.610169 | 179 | 0.479861 |
1e24153277186b7630c3768c30838669c0a9aa82 | 29,469 | js | JavaScript | Legacy-Code/Masters/plotters/Plotters-Candles-Volumes/Volumes.js | rico4dev/Superalgos | 91f17d0edf84b3750b47e802832bbce66b0d7892 | [
"Apache-2.0"
] | null | null | null | Legacy-Code/Masters/plotters/Plotters-Candles-Volumes/Volumes.js | rico4dev/Superalgos | 91f17d0edf84b3750b47e802832bbce66b0d7892 | [
"Apache-2.0"
] | null | null | null | Legacy-Code/Masters/plotters/Plotters-Candles-Volumes/Volumes.js | rico4dev/Superalgos | 91f17d0edf84b3750b47e802832bbce66b0d7892 | [
"Apache-2.0"
] | null | null | null | function newMastersPlottersCandlesVolumesVolumes() {
const MODULE_NAME = "Volumes Plotter";
const ERROR_LOG = true;
const INTENSIVE_LOG = false;
const logger = newWebDebugLog();
logger.fileName = MODULE_NAME;
let thisObject = {
/* Events declared outside the plotter. */
onDa... | 38.928666 | 184 | 0.533883 |
1e242c1635bfbbc0b2d59c84c20f1f035ca4d24e | 472 | js | JavaScript | cmds/Other/bug.js | Guiding-Lanterns/Guiding-Lanterns | 5fc3bac28efe4708d87f0c2d44ee63362f756454 | [
"Apache-2.0"
] | 2 | 2019-06-22T10:52:36.000Z | 2019-09-26T16:17:06.000Z | cmds/Other/bug.js | GreepTheSheep/CoronaLanterns | 5fc3bac28efe4708d87f0c2d44ee63362f756454 | [
"Apache-2.0"
] | 9 | 2019-10-18T19:54:22.000Z | 2021-01-27T22:39:17.000Z | cmds/Other/bug.js | Guiding-Lanterns/Guiding-Lanterns | 5fc3bac28efe4708d87f0c2d44ee63362f756454 | [
"Apache-2.0"
] | 3 | 2019-09-26T16:14:55.000Z | 2020-01-10T12:56:42.000Z | const Discord = require("discord.js");
module.exports = function(message, client, prefix, lang, logchannel) {
if (message.content.startsWith(prefix + 'bug')) {
message.reply(lang.bug_text + '\n> https://github.com/Guiding-Lanterns/Guiding-Lanterns/issues/new').then(
message.channel.send(lang.bug_d... | 36.307692 | 114 | 0.627119 |
1e2459103f4642bd305aa6bddc92b551b3a37b4a | 1,402 | js | JavaScript | server/models/users.js | richard4s/kliine-api | ce52d88ee63a0d37a68b97c7136fae12cc5bd8bb | [
"MIT"
] | null | null | null | server/models/users.js | richard4s/kliine-api | ce52d88ee63a0d37a68b97c7136fae12cc5bd8bb | [
"MIT"
] | null | null | null | server/models/users.js | richard4s/kliine-api | ce52d88ee63a0d37a68b97c7136fae12cc5bd8bb | [
"MIT"
] | null | null | null | 'use strict';
module.exports = (sequelize, DataTypes) => {
const Users = sequelize.define('Users', {
firstName: {
allowNull: false,
type: DataTypes.STRING
},
lastName: {
allowNull: false,
type: DataTypes.STRING
},
phone: {
allowNull: false,
type: DataTypes.STRIN... | 19.746479 | 44 | 0.531384 |
1e25202e287f33fcaefb26710b1f2acd7170071f | 461 | js | JavaScript | packages/saboteur-shared/src/game.js | kombucha/saboteur | a6a37a7a4cf23ce729d43c5f516ec1d19f152252 | [
"MIT"
] | 3 | 2018-07-30T23:41:53.000Z | 2020-05-01T14:33:02.000Z | packages/saboteur-shared/src/game.js | kombucha/saboteur | a6a37a7a4cf23ce729d43c5f516ec1d19f152252 | [
"MIT"
] | 1 | 2017-10-10T06:29:17.000Z | 2017-10-10T06:29:17.000Z | packages/saboteur-shared/src/game.js | kombucha/saboteur | a6a37a7a4cf23ce729d43c5f516ec1d19f152252 | [
"MIT"
] | 2 | 2017-09-20T09:44:58.000Z | 2022-01-21T17:28:45.000Z | const MIN_PLAYERS_COUNT = 2;
const MAX_PLAYERS_COUNT = 10;
const ROLES = {
BUILDER: "BUILDER",
SABOTEUR: "SABOTEUR"
};
const STATUSES = {
WAITING_FOR_PLAYERS: "WAITING_FOR_PLAYERS",
PLAYING: "PLAYING",
ROUND_END: "ROUND_END",
COMPLETED: "COMPLETED"
};
const DESTINATION_TYPES = {
DISCARD: "DISCARD",
S... | 15.896552 | 45 | 0.696312 |
1e25907ab302b1fbff0351da26c19bfdd365fccc | 675 | js | JavaScript | src/components/elements/widgets/product/ProductTop/ProductDetailRight.js | SUNNYKIMM/tmax_Front | edd779e4ba90a29394671f4ebac1a0dc08091564 | [
"MIT"
] | null | null | null | src/components/elements/widgets/product/ProductTop/ProductDetailRight.js | SUNNYKIMM/tmax_Front | edd779e4ba90a29394671f4ebac1a0dc08091564 | [
"MIT"
] | null | null | null | src/components/elements/widgets/product/ProductTop/ProductDetailRight.js | SUNNYKIMM/tmax_Front | edd779e4ba90a29394671f4ebac1a0dc08091564 | [
"MIT"
] | null | null | null | import ProductDetailRightTop from "./ProductDetailRightTop";
import ProductDetailRightMiddle from "./ProductDetailRightMiddle";
import ProductDetailRightBottom from "./ProductDetailRightBottom";
export default function ProductDetailRight({ productData }) {
return(
<div className="col-lg-6 col-md-6"... | 39.705882 | 67 | 0.555556 |
1e261917c8befef2163d29ce3664d2959c908534 | 89,173 | js | JavaScript | src/physics/arcade/World.js | wiserim/phaser | d2e2e86ef1017a082f09de09042df40700b737c9 | [
"MIT"
] | 1 | 2020-12-02T06:41:59.000Z | 2020-12-02T06:41:59.000Z | src/physics/arcade/World.js | liuxiaolong-ai/phaser | 827851d02c28c15730bd68c301ae18c40375bd55 | [
"MIT"
] | null | null | null | src/physics/arcade/World.js | liuxiaolong-ai/phaser | 827851d02c28c15730bd68c301ae18c40375bd55 | [
"MIT"
] | 1 | 2020-12-15T19:29:05.000Z | 2020-12-15T19:29:05.000Z | /**
* @author Richard Davey <rich@photonstorm.com>
* @copyright 2020 Photon Storm Ltd.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
var AngleBetweenPoints = require('../../math/angle/BetweenPoints');
var Body = require('./Body');
var Clamp = require('../../math/Clamp');
var C... | 36.681613 | 259 | 0.587655 |
1e26889b25679eb9bfe9255d885040f6ca682ad2 | 56 | js | JavaScript | controllers/post.js | innomann/NODE-BOOK-L9 | 73143e71169f914f2ba3114715d584feff8e0d1b | [
"MIT"
] | null | null | null | controllers/post.js | innomann/NODE-BOOK-L9 | 73143e71169f914f2ba3114715d584feff8e0d1b | [
"MIT"
] | null | null | null | controllers/post.js | innomann/NODE-BOOK-L9 | 73143e71169f914f2ba3114715d584feff8e0d1b | [
"MIT"
] | null | null | null | module.exports = (req,res) => {
res.render('post')
} | 18.666667 | 31 | 0.571429 |
1e26e28cdf46d9a03ca25d1c8f3c9624c3705301 | 469 | js | JavaScript | bin/itunes_current_track.js | fletchan/dotfiles | 24b680b23dce67a425bd835c49b17000b2f49001 | [
"MIT"
] | 1 | 2017-04-25T08:12:39.000Z | 2017-04-25T08:12:39.000Z | bin/itunes_current_track.js | fletchan/dotfiles | 24b680b23dce67a425bd835c49b17000b2f49001 | [
"MIT"
] | null | null | null | bin/itunes_current_track.js | fletchan/dotfiles | 24b680b23dce67a425bd835c49b17000b2f49001 | [
"MIT"
] | null | null | null | let output = '';
if (Application('iTunes').running()) {
const track = Application('iTunes').currentTrack;
const artist = track.artist();
const title = track.name();
output = (`${title} - ${artist}`).substr(0, 50);
} /*else if (Application('Spotify').running()) {
const track = Application('Spotify').... | 31.266667 | 54 | 0.607676 |
1e271b3136c2842c9aa4052aa6d7ed28dbef8d6e | 262 | js | JavaScript | test/stubs/render/rss-item-description-basic--input.js | nik-garmash/works-for-me | 6deef030bc161ad467370c4da6a12a8d0aa09160 | [
"MIT"
] | 144 | 2017-06-07T06:53:34.000Z | 2019-06-27T12:30:18.000Z | test/stubs/render/rss-item-description-basic--input.js | mykolaharmash/works-for-me | 6deef030bc161ad467370c4da6a12a8d0aa09160 | [
"MIT"
] | 4 | 2017-07-12T07:45:48.000Z | 2017-07-30T15:25:04.000Z | test/stubs/render/rss-item-description-basic--input.js | mykolaharmash/works-for-me | 6deef030bc161ad467370c4da6a12a8d0aa09160 | [
"MIT"
] | 10 | 2017-06-07T09:05:45.000Z | 2018-11-20T23:57:45.000Z | const {
RSS_ITEM_DESCRIPTION_CONTEXT,
COMMIT_MESSAGE_CONTEXT
} = require('../../../lib/constants')
module.exports = {
type: RSS_ITEM_DESCRIPTION_CONTEXT,
content: [
{
type: COMMIT_MESSAGE_CONTEXT,
content: `John Doe's setup`
}
]
}
| 17.466667 | 37 | 0.656489 |
1e272ba9832cc5d166fe07fa450b48923976b3a1 | 447 | js | JavaScript | src/actions/API/Post/getUserPosts.js | ahmedgaafer/blog-front-end | 41bd7f0d0d22dfdb4ea1ae26f9f4569f0cde2293 | [
"MIT"
] | null | null | null | src/actions/API/Post/getUserPosts.js | ahmedgaafer/blog-front-end | 41bd7f0d0d22dfdb4ea1ae26f9f4569f0cde2293 | [
"MIT"
] | 2 | 2021-05-06T22:20:58.000Z | 2021-05-29T08:38:48.000Z | src/actions/API/Post/getUserPosts.js | ahmedgaafer/blog-front-end | 41bd7f0d0d22dfdb4ea1ae26f9f4569f0cde2293 | [
"MIT"
] | null | null | null | import CONFIG from "../Config";
import { setUserPosts } from "../../index";
const URL = CONFIG.URL;
export default function getUserPosts(skip, userID) {
return async function (dispatch) {
await fetch(`${URL}post/user/${userID}?skip=${skip}`, {
method: "GET",
headers: {
"Content-Type": "application/json",... | 22.35 | 57 | 0.599553 |
1e27fbea96032ed02d28243496943fc2de78bff1 | 1,175 | js | JavaScript | packages/frontend/src/plugins/vuetify.js | sujal23ks/BCF | 9f2d3a961c18358f69358ed64d4a94bd07174916 | [
"Apache-2.0"
] | 195 | 2020-11-06T03:26:56.000Z | 2022-03-31T22:53:20.000Z | packages/frontend/src/plugins/vuetify.js | sujal23ks/BCF | 9f2d3a961c18358f69358ed64d4a94bd07174916 | [
"Apache-2.0"
] | 440 | 2020-11-03T18:42:34.000Z | 2022-03-31T13:56:57.000Z | packages/frontend/src/plugins/vuetify.js | sujal23ks/BCF | 9f2d3a961c18358f69358ed64d4a94bd07174916 | [
"Apache-2.0"
] | 59 | 2020-12-08T13:15:20.000Z | 2022-03-23T09:28:35.000Z | import '@mdi/font/css/materialdesignicons.css'
import Vue from 'vue'
import Vuetify from 'vuetify/lib'
Vue.use(Vuetify)
let darkMediaQuery = window.matchMedia('(prefers-color-scheme: dark)')
let hasDarkMode = localStorage.getItem('darkModeEnabled')
if (!hasDarkMode && darkMediaQuery) {
localStorage.setItem('darkMod... | 26.111111 | 70 | 0.577021 |
1e28b3c2cf87df5eb03f585c764b14523eef166c | 1,912 | js | JavaScript | src/ui/assets/PackageKitPage.js | TheNexusCity/editaverse | db008a1f6527bc2a805e15a9566e0ef1a8a61511 | [
"MIT"
] | null | null | null | src/ui/assets/PackageKitPage.js | TheNexusCity/editaverse | db008a1f6527bc2a805e15a9566e0ef1a8a61511 | [
"MIT"
] | 6 | 2022-02-23T13:30:17.000Z | 2022-02-23T14:36:01.000Z | src/ui/assets/PackageKitPage.js | TheNexusCity/editaverse | db008a1f6527bc2a805e15a9566e0ef1a8a61511 | [
"MIT"
] | null | null | null | import React, { useCallback, useState } from "react";
import styled from "styled-components";
import NavBar from "../navigation/NavBar";
import FileInput from "../inputs/FileInput";
import ProgressBar from "../inputs/ProgressBar";
import KitPackager from "../../editor/kits/KitPackager";
const Container = styled.div`
... | 24.202532 | 103 | 0.606695 |
1e29526931133024a1cb59da9b74cc86d7fe7202 | 3,004 | js | JavaScript | packages/core/__tests__/registration/schema/create-schema.test.js | gleb-smagliy/unity | 2c61052b1bf4e4b66232d2c9fedc8ecbc95e364b | [
"Apache-2.0"
] | null | null | null | packages/core/__tests__/registration/schema/create-schema.test.js | gleb-smagliy/unity | 2c61052b1bf4e4b66232d2c9fedc8ecbc95e364b | [
"Apache-2.0"
] | null | null | null | packages/core/__tests__/registration/schema/create-schema.test.js | gleb-smagliy/unity | 2c61052b1bf4e4b66232d2c9fedc8ecbc95e364b | [
"Apache-2.0"
] | null | null | null | import { createSchema } from "../../../src/registration/schema/create-schema";
import { createRegistrationHandler, createSchemaBuilders, executeRegistration } from './utils';
const HANDLER_RESULT_PAYLOAD = { version: '213' };
const HANDLER_ERROR_MESSAGE = 'something went wrong';
describe('schema, created by schema cr... | 38.025316 | 110 | 0.696072 |
1e29b8741d7818c972692feb6510cca98198d506 | 665 | js | JavaScript | helpers/errorHandlers.js | chocoban/pc-frontend | 3f94f1a586830c4aab892a734aa18be707317300 | [
"MIT"
] | null | null | null | helpers/errorHandlers.js | chocoban/pc-frontend | 3f94f1a586830c4aab892a734aa18be707317300 | [
"MIT"
] | 7 | 2019-11-16T13:50:49.000Z | 2021-12-09T01:18:55.000Z | helpers/errorHandlers.js | chocoban/pc-frontend | 3f94f1a586830c4aab892a734aa18be707317300 | [
"MIT"
] | null | null | null | export default (error) => {
let errorMessage;
let validationErrors;
if (error.response) {
switch (error.response.status) {
case 500:
errorMessage = 'Server error, try again';
break;
case 422:
validationErrors = error.response.data.errors
.map(error => error.msg || error.messa... | 27.708333 | 78 | 0.631579 |
1e29e92a0a8a9a1086004bd2f4566767426e8e17 | 2,525 | js | JavaScript | app/utils/routes.js | Innovahora/Reactjs | 42d0e4464cef76f59717b2e16450221d68dacf32 | [
"MIT"
] | null | null | null | app/utils/routes.js | Innovahora/Reactjs | 42d0e4464cef76f59717b2e16450221d68dacf32 | [
"MIT"
] | null | null | null | app/utils/routes.js | Innovahora/Reactjs | 42d0e4464cef76f59717b2e16450221d68dacf32 | [
"MIT"
] | null | null | null | import api from './api';
import { TYPE_FETCHING } from './constants';
export const apiLoginUser = data =>
api(`api/users/login`, TYPE_FETCHING.post, data);
export const apiAddUser = data =>
api(`api/users/store`, TYPE_FETCHING.post, data);
export const apiGetUser = data => api(`api/users/${data.id}`);
export const... | 49.509804 | 78 | 0.742574 |
1e2a2f2770c2fa366089fd0b743f36e93c67bca2 | 1,879 | js | JavaScript | src/styles/global.js | aryclenio/TruckPad-Front-End-Challenge | fb945c24a2ee9c4b47ae5e0c60ba55d4339c6e52 | [
"MIT"
] | 3 | 2020-07-06T13:40:06.000Z | 2021-09-01T22:46:29.000Z | src/styles/global.js | aryclenio/TruckPad-Front-End-Challenge | fb945c24a2ee9c4b47ae5e0c60ba55d4339c6e52 | [
"MIT"
] | null | null | null | src/styles/global.js | aryclenio/TruckPad-Front-End-Challenge | fb945c24a2ee9c4b47ae5e0c60ba55d4339c6e52 | [
"MIT"
] | null | null | null | import { createGlobalStyle } from 'styled-components';
import { darken } from 'polished';
import 'react-toastify/dist/ReactToastify.css';
import 'antd/dist/antd.css';
export default createGlobalStyle`
html {
height: 100%;
}
* {
margin: 0;
padding: 0;
outline: 0;
box-sizing: border-box;
}
... | 19.371134 | 62 | 0.566259 |
1e2ad2f5796fc7b20f4f5b6d5fc3b0056fdfaa6f | 181 | js | JavaScript | src/configs/typescript.js | d-hussar/eslint-plugin | 546bb3b748427812021f08df9fa0e237b75e66cc | [
"MIT"
] | null | null | null | src/configs/typescript.js | d-hussar/eslint-plugin | 546bb3b748427812021f08df9fa0e237b75e66cc | [
"MIT"
] | null | null | null | src/configs/typescript.js | d-hussar/eslint-plugin | 546bb3b748427812021f08df9fa0e237b75e66cc | [
"MIT"
] | null | null | null | module.exports = {
plugins: [
'@d-hussar',
'@typescript-eslint',
],
extends: [
'plugin:@d-hussar/javascript',
'plugin:@typescript-eslint/recommended',
],
};
| 16.454545 | 44 | 0.585635 |
1e2bc7d8f2deb8b681142c5cc57cfb78968af12e | 4,620 | js | JavaScript | example2/streamInformationObject.js | triangle42/Oakstreaming | 9253b701cf42b95380ffe857a8fcef38c75614b5 | [
"MIT"
] | 9 | 2016-06-16T15:40:39.000Z | 2022-03-05T17:21:13.000Z | example2/streamInformationObject.js | triangle42/Oakstreaming | 9253b701cf42b95380ffe857a8fcef38c75614b5 | [
"MIT"
] | null | null | null | example2/streamInformationObject.js | triangle42/Oakstreaming | 9253b701cf42b95380ffe857a8fcef38c75614b5 | [
"MIT"
] | 4 | 2016-05-10T06:00:46.000Z | 2016-09-12T01:29:18.000Z | var streamInformationObject = {"magnetURI":"magnet:?xt=urn:btih:1b5169e27e943cd615b1e10ba98e9e4a0b2086b8&dn=example.mp4&tr=wss%3A%2F%2Ftracker.btorrent.xyz","videoFileSize":788493,"XHRPath":"/example.mp4","torrentFile":{"type":"Buffer","data":[100,56,58,97,110,110,111,117,110,99,101,50,54,58,119,115,115,58,47,47,116,11... | 4,620 | 4,620 | 0.723377 |
1e2bdb391b3f566a8d62b3b9a0cc94a95debbc4a | 6,221 | js | JavaScript | public/static/js/int.js | xssilent/avi | 94c9d2022e740a18d429ddaf36854a41d937e3e2 | [
"Apache-2.0"
] | null | null | null | public/static/js/int.js | xssilent/avi | 94c9d2022e740a18d429ddaf36854a41d937e3e2 | [
"Apache-2.0"
] | null | null | null | public/static/js/int.js | xssilent/avi | 94c9d2022e740a18d429ddaf36854a41d937e3e2 | [
"Apache-2.0"
] | null | null | null | $(function() {
$('#footer .nav ul li:last').css('background','none');
$('#goTop').show();
$('#goTop').scrollFollow({offset:380});
$('#goTop').click(function(){
$('html,body').animate({scrollTop: '0px'}, 600);
return false;
});
goTop();
$('.reg input,.login input').focus(function(){
$(this).addClass('hover'... | 32.233161 | 68 | 0.57981 |
1e2bf595293c9ed491b58cb19b29522815d0c194 | 628,712 | js | JavaScript | lang/src/Kernel-Tests.js | MilkTool/amber-unofficial | e756476b01ed1e0e6fe8fe1be58d0374353c325d | [
"MIT"
] | null | null | null | lang/src/Kernel-Tests.js | MilkTool/amber-unofficial | e756476b01ed1e0e6fe8fe1be58d0374353c325d | [
"MIT"
] | null | null | null | lang/src/Kernel-Tests.js | MilkTool/amber-unofficial | e756476b01ed1e0e6fe8fe1be58d0374353c325d | [
"MIT"
] | null | null | null | define(["amber/boot", "require", "amber/core/Kernel-Objects", "amber/core/SUnit"], function($boot,requirejs){"use strict";
var $core=$boot.api,nil=$boot.nilAsValue,$nil=$boot.nilAsReceiver,$recv=$boot.asReceiver,$globals=$boot.globals;
var $pkg = $core.addPackage("Kernel-Tests");
$pkg.innerEval = function (expr) { retu... | 36.803372 | 2,420 | 0.698379 |
1e2c45fb15357b0f0599667f770553d9b0798680 | 967 | js | JavaScript | test/validations/utilities/is-primative.js | flowcommerce/lib-apidoc | f07c4dd03a454718e2fcabd55c9c1704cf83382e | [
"MIT"
] | 5 | 2019-03-06T01:22:28.000Z | 2021-03-23T02:53:56.000Z | test/validations/utilities/is-primative.js | flowcommerce/lib-apidoc | f07c4dd03a454718e2fcabd55c9c1704cf83382e | [
"MIT"
] | 4 | 2017-06-22T22:02:07.000Z | 2021-03-23T20:16:53.000Z | test/validations/utilities/is-primative.js | flowcommerce/lib-apidoc | f07c4dd03a454718e2fcabd55c9c1704cf83382e | [
"MIT"
] | 1 | 2019-03-06T01:22:38.000Z | 2019-03-06T01:22:38.000Z | import isPrimative from '../../../script/validations/utilities/is-primative';
describe('isPrimative', () => {
it('should find all the apidoc primatives', () => {
expect(isPrimative('boolean'), 'boolean').to.equal(true);
expect(isPrimative('date-iso8601'), 'date-iso8601').to.equal(true);
expect(isPrimativ... | 43.954545 | 81 | 0.654602 |
1e2c6ed20f2eaf18abcf56097c97f7c559ca3c27 | 15,303 | js | JavaScript | test/dco.test.js | macklinu/dco | 35f7202cb0e6648e03c8fedbae11437e1fb09de6 | [
"ISC"
] | null | null | null | test/dco.test.js | macklinu/dco | 35f7202cb0e6648e03c8fedbae11437e1fb09de6 | [
"ISC"
] | null | null | null | test/dco.test.js | macklinu/dco | 35f7202cb0e6648e03c8fedbae11437e1fb09de6 | [
"ISC"
] | null | null | null | const getDCOStatus = require('../lib/dco.js')
const success = []
const sha = '18aebfa67dde85da0f5099ad70ef647685a05205'
const alwaysRequireSignoff = async () => true
const dontRequireSignoffFor = (allowedLogin) => async (login) => { return login !== allowedLogin }
const prInfo = 'https://github.com/hiimbex/testing-thi... | 32.28481 | 208 | 0.582631 |
1e2c7cdadfdaf9dc5f5c3e7c05a96ee2c8f0b6f9 | 3,680 | js | JavaScript | doctor.js | ALai57/NeuralNet | cb1a1e69ceead24b6d18205aca86280eaf91b730 | [
"BSD-3-Clause"
] | null | null | null | doctor.js | ALai57/NeuralNet | cb1a1e69ceead24b6d18205aca86280eaf91b730 | [
"BSD-3-Clause"
] | null | null | null | doctor.js | ALai57/NeuralNet | cb1a1e69ceead24b6d18205aca86280eaf91b730 | [
"BSD-3-Clause"
] | null | null | null |
var svg = d3.select('#DoctorDiv')
.append("svg")
.style("width",wd)
.style("height",ht);
var tableDr = d3.select('#DoctorDiv').select('svg')
.append("foreignObject")
.attr("width", 480)
.attr("height", 500)
.append("xhtml:body");
tableDr.append("div")
.attr('class','ANN_Table')
.attr("style", "m... | 26.47482 | 90 | 0.589402 |
1e2ca778765d66df0f14bff9e4c68d64ee62af43 | 14,233 | js | JavaScript | docs/cpp_routing/search/functions_c.js | kharazian/or-tools-em | 8df912821e013203523ba433ff2babbbc91c6a4b | [
"Apache-2.0"
] | null | null | null | docs/cpp_routing/search/functions_c.js | kharazian/or-tools-em | 8df912821e013203523ba433ff2babbbc91c6a4b | [
"Apache-2.0"
] | null | null | null | docs/cpp_routing/search/functions_c.js | kharazian/or-tools-em | 8df912821e013203523ba433ff2babbbc91c6a4b | [
"Apache-2.0"
] | null | null | null | var searchData=
[
['objective_0',['Objective',['../classoperations__research_1_1_assignment.html#a4787369b2c9922e8ad325759d2a559b3',1,'operations_research::Assignment']]],
['objective_5fvalue_1',['objective_value',['../classoperations__research_1_1_solution_collector.html#a9ff7a59105722fe8b129e9e69b6c9028',1,'opera... | 273.711538 | 1,511 | 0.842198 |
1e2d3caba51c6fdfe152d8e25a767af74cef151e | 25,320 | js | JavaScript | apps/metastore/src/metastore/static/metastore/js/metastore.model.js | bopopescu/Hue-4 | 127a23f563611b0e8dc0dd35ad393cbaff8a64c6 | [
"Apache-2.0"
] | 1 | 2018-08-01T05:10:26.000Z | 2018-08-01T05:10:26.000Z | apps/metastore/src/metastore/static/metastore/js/metastore.model.js | bopopescu/Hue-4 | 127a23f563611b0e8dc0dd35ad393cbaff8a64c6 | [
"Apache-2.0"
] | null | null | null | apps/metastore/src/metastore/static/metastore/js/metastore.model.js | bopopescu/Hue-4 | 127a23f563611b0e8dc0dd35ad393cbaff8a64c6 | [
"Apache-2.0"
] | 1 | 2020-07-25T19:27:13.000Z | 2020-07-25T19:27:13.000Z | // Licensed to Cloudera, Inc. under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. Cloudera, Inc. licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may not use this f... | 32.96875 | 304 | 0.583215 |
1e2d6c84e96a9fcc0ae9a576f5dd7274d280877e | 1,568 | js | JavaScript | examples/mllib/word2vec.js | EclairJS/eclairjs-node | c143ab67af80b67850279ca083c2f40d1b0387f3 | [
"Apache-2.0"
] | 395 | 2015-12-08T23:26:21.000Z | 2021-09-18T19:25:43.000Z | examples/mllib/word2vec.js | RuslanMaznytsia/eclairjs-node | c143ab67af80b67850279ca083c2f40d1b0387f3 | [
"Apache-2.0"
] | 117 | 2015-11-17T16:46:48.000Z | 2021-03-02T12:46:53.000Z | examples/mllib/word2vec.js | RuslanMaznytsia/eclairjs-node | c143ab67af80b67850279ca083c2f40d1b0387f3 | [
"Apache-2.0"
] | 60 | 2016-01-29T23:27:41.000Z | 2021-06-01T03:08:16.000Z | /*
* Copyright 2016 IBM Corp.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... | 27.034483 | 75 | 0.69324 |
1e2da0afb6e77df6a674c689b79337e8ccb32cc7 | 10,072 | js | JavaScript | packages/react-relay/relay-hooks/useQueryLoader.js | bonafideyan/relay | 64bb633a57fa1560405463adc932d571d162cb67 | [
"MIT"
] | 18,545 | 2015-08-11T19:32:49.000Z | 2022-03-31T10:17:36.000Z | packages/react-relay/relay-hooks/useQueryLoader.js | bonafideyan/relay | 64bb633a57fa1560405463adc932d571d162cb67 | [
"MIT"
] | 3,562 | 2015-08-11T20:02:55.000Z | 2022-03-30T23:08:05.000Z | packages/react-relay/relay-hooks/useQueryLoader.js | bonafideyan/relay | 64bb633a57fa1560405463adc932d571d162cb67 | [
"MIT"
] | 2,165 | 2015-08-11T19:32:04.000Z | 2022-03-15T19:18:50.000Z | /**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @emails oncall+relay
* @flow strict-local
* @format
*/
// flowlint ambiguous-object-type:error
'use strict';
import type {
... | 38.738462 | 85 | 0.709988 |
1e2dc02c64b38a39fa8482ecbd5dde75aeecec80 | 324 | js | JavaScript | imports/ui/components/buttons/twitComposer.js | JeroenBe/Tweeter | b8084aec906714fb832ed667f6dc8ed5d6ac4766 | [
"MIT"
] | 2 | 2016-06-08T14:03:15.000Z | 2016-06-08T14:03:16.000Z | imports/ui/components/buttons/twitComposer.js | JeroenBe/SnapTwit | b8084aec906714fb832ed667f6dc8ed5d6ac4766 | [
"MIT"
] | 2 | 2016-05-09T10:22:31.000Z | 2016-05-15T17:43:28.000Z | imports/ui/components/buttons/twitComposer.js | JeroenBe/SnapTwit | b8084aec906714fb832ed667f6dc8ed5d6ac4766 | [
"MIT"
] | null | null | null | /**
* Created by Jeroen on 17/08/16.
*/
import {Meteor} from 'meteor/meteor'
import {Twits} from '/imports/api/twits/collection'
export const twitComposer = (props, onData) => {
if (Meteor.subscribe('twit', props.twitId).ready()){
const twit = Twits.findOne(props.twitId)
onData(null, {twit})
... | 24.923077 | 56 | 0.641975 |
1e2e144f1b105ae24f6b25a78730c9af7e39c4bc | 1,576 | js | JavaScript | examples/ui-fontsize-expand-text/fontsize.js | realkotob/phaser3-rex-notes | ddf209d5630f345e1e84b039324d132a8bf8aca8 | [
"MIT"
] | null | null | null | examples/ui-fontsize-expand-text/fontsize.js | realkotob/phaser3-rex-notes | ddf209d5630f345e1e84b039324d132a8bf8aca8 | [
"MIT"
] | null | null | null | examples/ui-fontsize-expand-text/fontsize.js | realkotob/phaser3-rex-notes | ddf209d5630f345e1e84b039324d132a8bf8aca8 | [
"MIT"
] | null | null | null | import phaser from 'phaser/src/phaser.js';
import UIPlugin from '../../templates/ui/ui-plugin.js';
class Demo extends Phaser.Scene {
constructor() {
super({
key: 'examples'
})
}
preload() { }
create() {
var sizer = this.rexUI.add.sizer({
x: 400, y: 300,... | 24.625 | 111 | 0.474619 |
1e2f0e41a2fdead6dc0803f6dfb906c3f9b39e6f | 8,543 | js | JavaScript | src/main/resources/static/js/transaction-and-invoice.js | surajcm/Poseidon | f414f8a91b9be74f09df1c7d7e31672a0250adac | [
"MIT"
] | 6 | 2016-01-29T09:58:59.000Z | 2021-06-23T11:40:05.000Z | src/main/resources/static/js/transaction-and-invoice.js | surajcm/Poseidon | f414f8a91b9be74f09df1c7d7e31672a0250adac | [
"MIT"
] | 14 | 2015-11-22T03:07:54.000Z | 2022-01-26T05:56:45.000Z | src/main/resources/static/js/transaction-and-invoice.js | surajcm/Poseidon | f414f8a91b9be74f09df1c7d7e31672a0250adac | [
"MIT"
] | 6 | 2019-06-15T00:42:20.000Z | 2021-06-16T16:13:42.000Z | function addSmartInvoiceOnTransaction() {
let rowCheck = validateEditModalSelection('invoiceModalBody');
if (rowCheck) {
addSmartInvoice(true);
}
}
function addSmartInvoiceOnInvoicePage() {
addSmartInvoice(false);
}
function addSmartInvoice(fromInvoice) {
let saveModal = document.getElemen... | 37.469298 | 102 | 0.678684 |
1e2f1ca6ae9b4d8a0a588a5f918c43d17f259781 | 1,414 | js | JavaScript | dist/helpers/descriptors/cloneDescriptorDetail.js | jheagle/functional-helpers | 266f4b00fef24d9236c2c6709bc8b4e98e75800b | [
"MIT"
] | null | null | null | dist/helpers/descriptors/cloneDescriptorDetail.js | jheagle/functional-helpers | 266f4b00fef24d9236c2c6709bc8b4e98e75800b | [
"MIT"
] | null | null | null | dist/helpers/descriptors/cloneDescriptorDetail.js | jheagle/functional-helpers | 266f4b00fef24d9236c2c6709bc8b4e98e75800b | [
"MIT"
] | null | null | null | 'use strict'
Object.defineProperty(exports, '__esModule', {
value: true
})
exports.default = void 0
require('core-js/modules/es.object.to-string.js')
require('core-js/modules/esnext.async-iterator.for-each.js')
require('core-js/modules/esnext.iterator.constructor.js')
require('core-js/modules/esnext.iterator.for... | 27.72549 | 95 | 0.743989 |
1e2f20b0405a3cb64e9a6bfa514386d501d34b11 | 230 | js | JavaScript | client/createRouter.js | Val-istar-Guo/assist | f11d2e1f175f6623528bdaf6974fd0580fdb3640 | [
"MIT"
] | null | null | null | client/createRouter.js | Val-istar-Guo/assist | f11d2e1f175f6623528bdaf6974fd0580fdb3640 | [
"MIT"
] | null | null | null | client/createRouter.js | Val-istar-Guo/assist | f11d2e1f175f6623528bdaf6974fd0580fdb3640 | [
"MIT"
] | null | null | null | import Vue from 'vue'
import VueRouter from 'vue-router'
import routes from './routes'
Vue.use(VueRouter)
export default function () {
return new VueRouter({
mode: 'history',
linkActiveClass: 'active',
routes,
})
}
| 14.375 | 34 | 0.686957 |
1e303b1cc927eeeeb7725f91d81b56eb3746b71f | 374 | js | JavaScript | src/routes/permissions.js | kemijibola/untappedapi | 737bec4277441566947675dffee90b23cc081864 | [
"MIT"
] | null | null | null | src/routes/permissions.js | kemijibola/untappedapi | 737bec4277441566947675dffee90b23cc081864 | [
"MIT"
] | null | null | null | src/routes/permissions.js | kemijibola/untappedapi | 737bec4277441566947675dffee90b23cc081864 | [
"MIT"
] | null | null | null | const { Permissions } = require('../controllers');
const { requireLogin } = require('../middlewares/auth');
module.exports = (lib, app) => {
app.get('/permissions', async (req, res, next) =>{
new Permissions(lib).index(req, res, next)
});
app.post('/permissions', async (req, res, next) => {
... | 31.166667 | 56 | 0.593583 |
1e30fd23a967fa41e6515bf1d77e4b43f51206e5 | 99 | js | JavaScript | vsdoc/search--/s_1063.js | asiboro/asiboro.github.io | a2e56607dca65eed437b6a666dcbc3f586492d8c | [
"MIT"
] | null | null | null | vsdoc/search--/s_1063.js | asiboro/asiboro.github.io | a2e56607dca65eed437b6a666dcbc3f586492d8c | [
"MIT"
] | null | null | null | vsdoc/search--/s_1063.js | asiboro/asiboro.github.io | a2e56607dca65eed437b6a666dcbc3f586492d8c | [
"MIT"
] | null | null | null | search_result['1063']=["topic_000000000000026F_events--.html","tlece_ApplicantCvVideos Events",""]; | 99 | 99 | 0.79798 |
1e31594e441d20db6edb2e368862156519ec68a3 | 2,650 | js | JavaScript | src/components/Links/RecordLink.js | 3scava1i3r/ens-app | 35e095dc2fbe763266d71774e9ba9be9b7c40c73 | [
"BSD-2-Clause"
] | null | null | null | src/components/Links/RecordLink.js | 3scava1i3r/ens-app | 35e095dc2fbe763266d71774e9ba9be9b7c40c73 | [
"BSD-2-Clause"
] | null | null | null | src/components/Links/RecordLink.js | 3scava1i3r/ens-app | 35e095dc2fbe763266d71774e9ba9be9b7c40c73 | [
"BSD-2-Clause"
] | null | null | null | import React from 'react'
import styled from '@emotion/styled/macro'
import externalLinkSvg from '../Icons/externalLink.svg'
import CopyToClipboard from '../CopyToClipboard/'
import { isRecordEmpty } from '../../utils/utils'
const LinkContainer = styled('div')`
display: block;
align-items: center;
a {
text-o... | 20.703125 | 66 | 0.567925 |
1e31b7cfc9a324a4accccb6ebd947b6bd3eb6d7e | 3,030 | js | JavaScript | src/Filters.js | dh-center/Digital-Portraits | 6d9e7ca15d56281c0129803119d75d701ec8fe00 | [
"MIT"
] | 1 | 2021-09-09T12:25:14.000Z | 2021-09-09T12:25:14.000Z | src/Filters.js | dh-center/Digital-Portraits | 6d9e7ca15d56281c0129803119d75d701ec8fe00 | [
"MIT"
] | 11 | 2021-04-20T19:52:51.000Z | 2021-05-06T21:04:51.000Z | src/Filters.js | dh-center/Digital-Portraits | 6d9e7ca15d56281c0129803119d75d701ec8fe00 | [
"MIT"
] | 1 | 2021-06-12T20:18:35.000Z | 2021-06-12T20:18:35.000Z | import React, { useState } from 'react';
import './filters.css';
function Filters(props) {
const romanCentury = { 15: 'XV', 16: 'XVI', 17: 'XVII', 18: 'XVIII', 19: 'XIX', 20: 'XX' }
const century = props.value?.century || 15
let romCentValue
if (props.value?.century) { romCentValue = romanCentury[prop... | 43.913043 | 166 | 0.541584 |
1e31da046ea49ad25dfa8a3c396fe9ca4ee4c850 | 1,376 | js | JavaScript | App/Components/AccountInfo/DisplayName/index.js | okmttdhr/Miss-YT | 1b76187d81e6b6a5272a9100122072d766d76a7b | [
"MIT"
] | 4 | 2017-02-20T17:51:34.000Z | 2017-12-26T06:27:51.000Z | App/Components/AccountInfo/DisplayName/index.js | okmttdhr/YoutuVote | 1b76187d81e6b6a5272a9100122072d766d76a7b | [
"MIT"
] | 10 | 2017-01-03T01:45:26.000Z | 2017-12-27T08:22:04.000Z | App/Components/AccountInfo/DisplayName/index.js | okmttdhr/Miss-YT | 1b76187d81e6b6a5272a9100122072d766d76a7b | [
"MIT"
] | null | null | null | // @flow
import React, {Component} from 'react';
import {View, TextInput} from 'react-native';
import styles from './style';
import type {TUserUpdateProfile, TDefaultUser} from '../../../types/';
import {Loading} from '../../Loading/';
type TDisplayName = {
user: TDefaultUser;
updateProfile: TUserUpdateProfile;
}... | 25.481481 | 81 | 0.62718 |
1e31dd9a77d12df8672e865370b03f286dcc48bd | 338 | js | JavaScript | Oss/app.js | MkMuhammetKaradag/Oss-Kafka | 923087cca4648c2b39b6bfe1bbf3e744e51f3b28 | [
"Apache-2.0"
] | null | null | null | Oss/app.js | MkMuhammetKaradag/Oss-Kafka | 923087cca4648c2b39b6bfe1bbf3e744e51f3b28 | [
"Apache-2.0"
] | null | null | null | Oss/app.js | MkMuhammetKaradag/Oss-Kafka | 923087cca4648c2b39b6bfe1bbf3e744e51f3b28 | [
"Apache-2.0"
] | null | null | null | const express = require('express');
const routes = require('./Routes/router.js');
const {getcreateTopic}=require('./controllers/topic.js');
const app = express();
const port = 3000;
getcreateTopic();
app.use(express.json());
app.use(routes);
app.listen(port, () => {
console.log(`Example app listening at http://loca... | 26 | 66 | 0.692308 |
1e327e03cfa113efaddc34d34fbe71820afc6360 | 1,716 | js | JavaScript | app/views/preferences/PreferencesItem.js | amikeliunas/campus-mobile | 525d4062e661663e8c95317f7f173e0ba80df764 | [
"MIT"
] | null | null | null | app/views/preferences/PreferencesItem.js | amikeliunas/campus-mobile | 525d4062e661663e8c95317f7f173e0ba80df764 | [
"MIT"
] | null | null | null | app/views/preferences/PreferencesItem.js | amikeliunas/campus-mobile | 525d4062e661663e8c95317f7f173e0ba80df764 | [
"MIT"
] | null | null | null | import React from 'react'
import { Text } from 'react-native'
import { withNavigation } from 'react-navigation'
import Entypo from 'react-native-vector-icons/Entypo'
import FontAwesome from 'react-native-vector-icons/FontAwesome'
import Feather from 'react-native-vector-icons/Feather'
import Ionicons from 'react-native... | 29.586207 | 85 | 0.682401 |
1e328093702d85fdad92517d6cd49217b58adb87 | 123,287 | js | JavaScript | moodle/lib/yuilib/3.7.3/build/charts-base/charts-base-min.js | pulipulichen/kals-moodle | 041a2ad9fc1f009efc3f670d495ad435dddfbbae | [
"BSD-3-Clause"
] | 156 | 2015-01-04T04:25:52.000Z | 2021-11-15T10:07:22.000Z | moodle/lib/yuilib/3.7.3/build/charts-base/charts-base-min.js | pulipulichen/kals-moodle | 041a2ad9fc1f009efc3f670d495ad435dddfbbae | [
"BSD-3-Clause"
] | 9 | 2015-01-12T05:11:24.000Z | 2016-06-14T23:19:23.000Z | moodle/lib/yuilib/3.7.3/build/charts-base/charts-base-min.js | pulipulichen/kals-moodle | 041a2ad9fc1f009efc3f670d495ad435dddfbbae | [
"BSD-3-Clause"
] | 36 | 2015-01-12T05:38:31.000Z | 2020-02-27T23:18:33.000Z | /*
YUI 3.7.3 (build 5687)
Copyright 2012 Yahoo! Inc. All rights reserved.
Licensed under the BSD License.
http://yuilibrary.com/license/
*/
YUI.add("charts-base",function(e,t){function b(){}function w(e){w.superclass.constructor.apply(this,arguments)}function E(e){E.superclass.constructor.apply(this,arguments)}function... | 15,410.875 | 123,146 | 0.719687 |
1e329f530094bb42acc37906cb5c9efe639c23ec | 331 | js | JavaScript | app/datviewer/datviewer_test.js | tjvilakis/test4 | 2f3f191bdf1ff888533f627953de261dba6e0f06 | [
"MIT"
] | null | null | null | app/datviewer/datviewer_test.js | tjvilakis/test4 | 2f3f191bdf1ff888533f627953de261dba6e0f06 | [
"MIT"
] | null | null | null | app/datviewer/datviewer_test.js | tjvilakis/test4 | 2f3f191bdf1ff888533f627953de261dba6e0f06 | [
"MIT"
] | null | null | null | 'use strict';
describe('datviewer module', function() {
beforeEach(module('datviewer'));
describe('datviewer controller', function(){
it('should ....', inject(function($controller) {
//spec body
var datviewerctrl = $controller('datviewerctrl');
expect(datviewerctrl).toBeDefined();
}));... | 20.6875 | 55 | 0.63142 |
1e32ae0260c941a6cf108af79f1a79bfe9c60e0c | 1,177 | js | JavaScript | node_modules/cloud-js/src/command.js | elliotberry/wacom-inkspace | 2dac66a9cdf89ce93a82190690bfacf56493b845 | [
"MIT"
] | 5 | 2019-05-31T03:52:48.000Z | 2020-08-29T15:58:12.000Z | node_modules/cloud-js/src/command.js | elliotberry/wacom-inkspace | 2dac66a9cdf89ce93a82190690bfacf56493b845 | [
"MIT"
] | 1 | 2019-07-01T02:23:51.000Z | 2020-01-27T16:20:32.000Z | node_modules/cloud-js/src/command.js | elliotberry/wacom-inkspace | 2dac66a9cdf89ce93a82190690bfacf56493b845 | [
"MIT"
] | null | null | null | "use strict";
const commandFormat = require('./format/command-format');
class SyncCommand {
/**
* @param {Payload} parent
* @param {EditList} edits
* @param {EditList} [shadowEdits]
*/
constructor(parent, edits, shadowEdits) {
this.parent = parent;
this.edits = edits;
... | 23.54 | 85 | 0.657604 |
1e3301b94315e092af1a76f794b4d9be096e0f5c | 522 | js | JavaScript | admin/ckeditor/plugins/pastefromword/lang/pl.js | ngoctruong472k/vanminh_php | 8533268bf65120855efcd7a4bb99721d64b8a9bf | [
"Apache-2.0"
] | null | null | null | admin/ckeditor/plugins/pastefromword/lang/pl.js | ngoctruong472k/vanminh_php | 8533268bf65120855efcd7a4bb99721d64b8a9bf | [
"Apache-2.0"
] | null | null | null | admin/ckeditor/plugins/pastefromword/lang/pl.js | ngoctruong472k/vanminh_php | 8533268bf65120855efcd7a4bb99721d64b8a9bf | [
"Apache-2.0"
] | null | null | null | /*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'pastefromword', 'pl', {
confirmCleanup: 'Tekst, który chcesz wkleić, prawdopodobnie pochodzi z programu Microsoft Word. Czy chcesz go wycz... | 47.454545 | 142 | 0.731801 |
1e333cd331584b04a5b41583eaa60b09130eadef | 360 | js | JavaScript | test/most_profitable_test.js | Bluette1/NelisaNarrative | ccd842fc65047c73eeec154ec7b503c397fa863f | [
"MIT"
] | null | null | null | test/most_profitable_test.js | Bluette1/NelisaNarrative | ccd842fc65047c73eeec154ec7b503c397fa863f | [
"MIT"
] | 2 | 2020-01-04T14:45:53.000Z | 2021-05-06T05:55:01.000Z | test/most_profitable_test.js | Bluette1/NelisaNarrative | ccd842fc65047c73eeec154ec7b503c397fa863f | [
"MIT"
] | null | null | null | var most_profitable = require('../most_profitable');
var assert = require('assert');
describe("most_profitable", function(){
it("should return 'oranges'", function(){
var result = most_profitable({"Shopright":{"oranges":2, "pears":4}, "Checkers":{"apples":1, "oranges":7, "pears":1}});
assert.deepEqual(result, ... | 36 | 121 | 0.663889 |
1e34e0a8bf4371f2c72cdc817e96a36bbf395e7d | 208 | js | JavaScript | crud/src/routes/emailRoutes.js | dipenparmar12/awsome-nodejs-practice | a6019724e387ee10ab42f8c662a91b4fb64e2e29 | [
"MIT"
] | 1 | 2021-06-22T08:54:39.000Z | 2021-06-22T08:54:39.000Z | email_scheduler/src/routes/emailRoutes.js | dipenparmar12/awsome-nodejs-practice | a6019724e387ee10ab42f8c662a91b4fb64e2e29 | [
"MIT"
] | null | null | null | email_scheduler/src/routes/emailRoutes.js | dipenparmar12/awsome-nodejs-practice | a6019724e387ee10ab42f8c662a91b4fb64e2e29 | [
"MIT"
] | null | null | null | const express = require('express');
const emailController = require('../controllers/emailController');
const route = express.Router();
route.get('/test', emailController.testMail);
module.exports = route;
| 23.111111 | 66 | 0.745192 |
1e3507b2b1a5cccd162399a8b08a1e54c5e9fe8f | 1,186 | js | JavaScript | src/mock/index.js | archilleu/demo-app | 7a7284fc1c3966b919f07afea25dc8f3e763b253 | [
"Unlicense"
] | null | null | null | src/mock/index.js | archilleu/demo-app | 7a7284fc1c3966b919f07afea25dc8f3e763b253 | [
"Unlicense"
] | 3 | 2020-08-19T08:14:34.000Z | 2021-04-22T09:16:48.000Z | src/mock/index.js | archilleu/demo-app | 7a7284fc1c3966b919f07afea25dc8f3e763b253 | [
"Unlicense"
] | null | null | null | import Mock from 'mockjs'
import { baseURL } from '@/utils/global'
import user from './modules/user/api'
import sys from './modules/sys/api'
// 1. 开启/关闭[所有模块]拦截, 通过调[openMock参数]设置.
// 2. 开启/关闭[业务模块]拦截, 通过调用fnCreate方法[isOpen参数]设置.
// 3. 开启/关闭[业务模块中某个请求]拦截, 通过函数返回对象中的[isOpen属性]设置.
const openMock = false
// const openMoc... | 24.708333 | 70 | 0.558179 |
1e3546d62d5181d7b3b2591e089c58ae6734ccce | 425 | js | JavaScript | ckeditor/plugins/giella/lang/eu.js | albbas/giella-demo | 66ffec60560cf1d6056483b08a150330fad43f7a | [
"MIT"
] | null | null | null | ckeditor/plugins/giella/lang/eu.js | albbas/giella-demo | 66ffec60560cf1d6056483b08a150330fad43f7a | [
"MIT"
] | null | null | null | ckeditor/plugins/giella/lang/eu.js | albbas/giella-demo | 66ffec60560cf1d6056483b08a150330fad43f7a | [
"MIT"
] | null | null | null | /*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'giella', 'eu', {
btn_about: 'GIELLAi buruz',
btn_dictionaries: 'Hiztegiak',
btn_disable: 'Desgaitu GIELLA',
btn_enable: 'Gaitu GIELLA',
btn_lan... | 30.357143 | 75 | 0.738824 |
1e35781080a774bd4158046e3c6152e90c894fb6 | 1,818 | js | JavaScript | app/api/migrations/migrations/30-mutliple-sync/specs/30-multiple-sync.spec.js | daneryl/uwazi | 9efc21bb4c7db5a6b2405b4d14451c76da12c560 | [
"MIT"
] | 155 | 2016-07-18T13:25:29.000Z | 2022-03-09T08:36:01.000Z | app/api/migrations/migrations/30-mutliple-sync/specs/30-multiple-sync.spec.js | huridocs/uwazi | 7b43f1cc3611e6bd41dca05c627ad9212e0316d0 | [
"MIT"
] | 3,051 | 2016-05-30T21:55:00.000Z | 2022-03-31T19:26:47.000Z | app/api/migrations/migrations/30-mutliple-sync/specs/30-multiple-sync.spec.js | daneryl/uwazi | 9efc21bb4c7db5a6b2405b4d14451c76da12c560 | [
"MIT"
] | 68 | 2016-08-04T13:09:20.000Z | 2022-02-23T22:05:34.000Z | import testingDB from 'api/utils/testing_db';
import migration from '../index.js';
import fixturesWithSync from './fixtures_with_sync.js';
import fixturesWithoutSync from './fixtures_without_sync.js';
describe('migration multiple sync', () => {
beforeEach(() => {
spyOn(process.stdout, 'write');
});
afterAll... | 33.054545 | 99 | 0.669417 |
1e3677c6dfa93c2826606d71fa2e4e2bf62781f7 | 5,840 | js | JavaScript | components/collective-page/graphql/queries.js | fakISPdesigner/opencollective-frontend | 64913f18ded9d2cfaeb2c317c6a24cc322945f33 | [
"MIT"
] | null | null | null | components/collective-page/graphql/queries.js | fakISPdesigner/opencollective-frontend | 64913f18ded9d2cfaeb2c317c6a24cc322945f33 | [
"MIT"
] | null | null | null | components/collective-page/graphql/queries.js | fakISPdesigner/opencollective-frontend | 64913f18ded9d2cfaeb2c317c6a24cc322945f33 | [
"MIT"
] | null | null | null | import { gql } from '@apollo/client';
import { MAX_CONTRIBUTORS_PER_CONTRIBUTE_CARD } from '../../contribute-cards/Contribute';
import * as fragments from './fragments';
export const collectivePageQuery = gql`
query CollectivePage($slug: String!, $nbContributorsPerContributeCard: Int) {
Collective(slug: $slug,... | 20.348432 | 90 | 0.489384 |
1e3692ad134d8c60437018d6b289354beaec8323 | 753 | js | JavaScript | gateclient/vue.config.js | calebebrim/gateinterface | cfc93fad3937ba982ed8410011752695c2a21570 | [
"Apache-2.0"
] | null | null | null | gateclient/vue.config.js | calebebrim/gateinterface | cfc93fad3937ba982ed8410011752695c2a21570 | [
"Apache-2.0"
] | 3 | 2021-10-06T17:10:05.000Z | 2022-02-27T01:10:21.000Z | gateclient/vue.config.js | calebebrim/gateinterface | cfc93fad3937ba982ed8410011752695c2a21570 | [
"Apache-2.0"
] | null | null | null | const HtmlWebpackPlugin = require('html-webpack-plugin')
const HtmlWebpackInlineSourcePlugin = require('html-webpack-inline-source-plugin');
module.exports = {
css: {
extract: false,
},
configureWebpack: {
optimization: {
splitChunks: false // makes there only be 1 js file - leftover f... | 37.65 | 109 | 0.641434 |