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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
993a17361024f9c873728c75b0a5f609a979004b | 2,458 | js | JavaScript | src/js/EventHandler.js | msartintarm/sony-camera-hack | 9427b061d98398bf83074a72851b159365cd34aa | [
"MIT"
] | 1 | 2018-06-14T17:42:31.000Z | 2018-06-14T17:42:31.000Z | src/js/EventHandler.js | msartintarm/sony-camera-hack | 9427b061d98398bf83074a72851b159365cd34aa | [
"MIT"
] | null | null | null | src/js/EventHandler.js | msartintarm/sony-camera-hack | 9427b061d98398bf83074a72851b159365cd34aa | [
"MIT"
] | 1 | 2021-04-04T13:12:16.000Z | 2021-04-04T13:12:16.000Z |
/*
Determines precedence of elements in handler map
1. target element class name -- example the_button
2. target element tag name (uppercase) -- for example Canvas
*/
const getElemKey = (elem) => { return elem.className || elem.tagName; };
/* Looks for handler defined in mapping for target element */
cons... | 28.252874 | 110 | 0.638731 |
993a48f4d2beff62d1b145578d8570b7b6e74c6c | 1,205 | js | JavaScript | src/data-interfaces/arweave/applications/arvatar.js | LeGaryGary/Message-Forever | dacfbe20b3471fa379c10fd1f6f52b6165ea8c81 | [
"MIT"
] | null | null | null | src/data-interfaces/arweave/applications/arvatar.js | LeGaryGary/Message-Forever | dacfbe20b3471fa379c10fd1f6f52b6165ea8c81 | [
"MIT"
] | null | null | null | src/data-interfaces/arweave/applications/arvatar.js | LeGaryGary/Message-Forever | dacfbe20b3471fa379c10fd1f6f52b6165ea8c81 | [
"MIT"
] | null | null | null | import { arweave } from '../';
const Arvatars = {};
/**
* LookupAvatarAsync uses arql to lookup the arweave ID name of the wallet address
*
* @export
* @param {string} walletAddress
* @returns {string}
*/
export async function LookupAvatarAsync(walletAddress) {
if (Arvatars[walletAddress]) return Arvatars[wall... | 26.777778 | 82 | 0.6 |
993b9f45f6348773ab892b281a313c9fe9c7edaf | 3,741 | js | JavaScript | src/main/webapp/bower_components/goJs/extensionsTS/SectorReshapingScript.js | dads-software-brotherhood/sekc | 96835b107a0ef39f601bc505ef37aa349133e6cb | [
"Apache-2.0"
] | 4 | 2017-05-16T22:44:55.000Z | 2021-12-23T07:11:25.000Z | src/main/webapp/bower_components/goJs/extensionsTS/SectorReshapingScript.js | dads-software-brotherhood/sekc | 96835b107a0ef39f601bc505ef37aa349133e6cb | [
"Apache-2.0"
] | 1 | 2017-07-20T18:10:03.000Z | 2017-07-20T18:10:09.000Z | src/main/webapp/bower_components/goJs/extensionsTS/SectorReshapingScript.js | dads-software-brotherhood/sekc | 96835b107a0ef39f601bc505ef37aa349133e6cb | [
"Apache-2.0"
] | null | null | null | (function (factory) {
if (typeof module === "object" && typeof module.exports === "object") {
var v = factory(require, exports);
if (v !== undefined) module.exports = v;
}
else if (typeof define === "function" && define.amd) {
define(["require", "exports", "../release/go", "./SectorR... | 56.681818 | 197 | 0.595563 |
993ba72f3c331190f3327e795ef4752a95c5cc11 | 1,093 | js | JavaScript | node_modules/foundation-sites/dist/js/plugins/foundation.util.imageLoader.min.js | jimikara/AFRIL-theme | aa12f0efa6ae904fc9c239444be522ea64beb351 | [
"MIT"
] | 1 | 2019-06-25T20:04:14.000Z | 2019-06-25T20:04:14.000Z | node_modules/foundation-sites/dist/js/plugins/foundation.util.imageLoader.min.js | jimikara/AFRIL-theme | aa12f0efa6ae904fc9c239444be522ea64beb351 | [
"MIT"
] | 7 | 2020-05-07T17:54:49.000Z | 2022-03-02T06:30:17.000Z | node_modules/foundation-sites/dist/js/plugins/foundation.util.imageLoader.min.js | jimikara/AFRIL-theme | aa12f0efa6ae904fc9c239444be522ea64beb351 | [
"MIT"
] | 1 | 2019-06-25T20:04:27.000Z | 2019-06-25T20:04:27.000Z | !function(n){function t(o){if(e[o])return e[o].exports;var r=e[o]={i:o,l:!1,exports:{}};return n[o].call(r.exports,r,r.exports,t),r.l=!0,r.exports}var e={};t.m=n,t.c=e,t.d=function(n,e,o){t.o(n,e)||Object.defineProperty(n,e,{configurable:!1,enumerable:!0,get:o})},t.n=function(n){var e=n&&n.__esModule?function(){return ... | 1,093 | 1,093 | 0.662397 |
993badc4527702ad1eb7b5dde8f82bfd1e055509 | 9,298 | js | JavaScript | all-hugo-themes/minimo/static/assets/js/twemoji.98d07d9e.js | CodeFreezr/hugo-lab | 8c06ac6dfc39648c8dd6472b31922ba62ce411a8 | [
"MIT"
] | null | null | null | all-hugo-themes/minimo/static/assets/js/twemoji.98d07d9e.js | CodeFreezr/hugo-lab | 8c06ac6dfc39648c8dd6472b31922ba62ce411a8 | [
"MIT"
] | null | null | null | all-hugo-themes/minimo/static/assets/js/twemoji.98d07d9e.js | CodeFreezr/hugo-lab | 8c06ac6dfc39648c8dd6472b31922ba62ce411a8 | [
"MIT"
] | null | null | null | (window.webpackJsonp=window.webpackJsonp||[]).push([[2],[function(d,u){var e;e=function(){return this}();try{e=e||Function("return this")()||(0,eval)("this")}catch(d){"object"==typeof window&&(e=window)}d.exports=e},,,function(d,u,e){(function(u){var e=u.location||{},f=function(){"use strict";var d={base:"https://twemo... | 9,298 | 9,298 | 0.739729 |
993bbe4e9447ee160e21b8b447bb7094b8ee18ce | 311 | js | JavaScript | lab3-4/back/models/location_type.js | DronSofiia/Subject_Web2 | 04b8d4018460b432e672fb7ed4369f9e242e8f45 | [
"MIT"
] | null | null | null | lab3-4/back/models/location_type.js | DronSofiia/Subject_Web2 | 04b8d4018460b432e672fb7ed4369f9e242e8f45 | [
"MIT"
] | 20 | 2020-05-27T12:04:33.000Z | 2022-02-27T05:49:40.000Z | lab3-4/back/models/location_type.js | DronSofiia/Subject_Web2 | 04b8d4018460b432e672fb7ed4369f9e242e8f45 | [
"MIT"
] | null | null | null | const mongoose = require('mongoose')
const Schema = mongoose.Schema
const locationTypeSchema = new Schema({
code: { type: String, required: true, unique: true, max: 6 },
name: { type: String, required: true, unique: true, max: 50 }
})
module.exports = mongoose.model('LocationType', locationTypeSchema)
| 28.272727 | 67 | 0.713826 |
993bf34000a6479938bcb0e49d39743dfa2d2d70 | 438 | js | JavaScript | src/KanbanAPI/app/models/cards.js | RookMeister/api-kanban-board | 71101a068ff5dfbbef02b7811b86703f37005922 | [
"MIT"
] | null | null | null | src/KanbanAPI/app/models/cards.js | RookMeister/api-kanban-board | 71101a068ff5dfbbef02b7811b86703f37005922 | [
"MIT"
] | null | null | null | src/KanbanAPI/app/models/cards.js | RookMeister/api-kanban-board | 71101a068ff5dfbbef02b7811b86703f37005922 | [
"MIT"
] | null | null | null | const mongoose = require('mongoose')
const Schema = mongoose.Schema({
name: {
type: String,
required: true
},
user_id: {
type: mongoose.Schema.Types.ObjectId,
ref: 'User'
},
board_id: {
type: mongoose.Schema.Types.ObjectId,
ref: 'Board'
},
list_id: {
type: mongoose.Schema.Type... | 16.222222 | 41 | 0.60274 |
993c9c1db2f9e0275adf1dca8e5f0c94409b7894 | 31,124 | js | JavaScript | src/datalayerclustererplus.js | jesusr/data-layer-clusterer-plus | 299e7de9a8216679087aedd2d1927437c86f42bd | [
"Apache-2.0"
] | null | null | null | src/datalayerclustererplus.js | jesusr/data-layer-clusterer-plus | 299e7de9a8216679087aedd2d1927437c86f42bd | [
"Apache-2.0"
] | null | null | null | src/datalayerclustererplus.js | jesusr/data-layer-clusterer-plus | 299e7de9a8216679087aedd2d1927437c86f42bd | [
"Apache-2.0"
] | null | null | null | /* globals google, _ */
/* exports DataLayerClusterer */
'use strict';
/**
* @name DataLayerClusterer for Google Maps v3
* @version version 0.7.2
* @author Jesús R Peinado Vergara
*
* The library creates and manages per-zoom-level clusters for large amounts of
* data layer features.
*
* Based on MarkerClustere... | 27.470432 | 102 | 0.672182 |
993d21166be39f265092a7cf6f1a67b862f358e6 | 969 | js | JavaScript | src/main.js | johndatserakis/johndatserakis-dot-com | 5328a0fd0c9cab8d70a25ae874d00455290ed03f | [
"MIT"
] | 4 | 2019-03-04T19:39:39.000Z | 2020-06-15T00:44:13.000Z | src/main.js | johndatserakis/johndatserakis-dot-com | 5328a0fd0c9cab8d70a25ae874d00455290ed03f | [
"MIT"
] | null | null | null | src/main.js | johndatserakis/johndatserakis-dot-com | 5328a0fd0c9cab8d70a25ae874d00455290ed03f | [
"MIT"
] | null | null | null | import Vue from 'vue'
import App from './App.vue'
import NotFound from './components/NotFound.vue'
import Home from './components/Home.vue'
import VueRouter from 'vue-router'
Vue.use(VueRouter)
const router = new VueRouter({
mode: 'history',
routes: [
{ path: '*', component: NotFound, name: 'notFound... | 20.1875 | 61 | 0.658411 |
993e19c59e652892e9a101fb07c71cf90daca14e | 539 | js | JavaScript | src/routes/ChatBox/components/MessageContent/Sent/SentStyles.js | tienlocbui1110/whatapp-ui | 02323d673e596c9e1880811194d657ad244b309a | [
"MIT"
] | 1 | 2018-02-10T12:01:54.000Z | 2018-02-10T12:01:54.000Z | src/routes/ChatBox/components/MessageContent/Sent/SentStyles.js | tienlocbui1110/whatapp-ui | 02323d673e596c9e1880811194d657ad244b309a | [
"MIT"
] | null | null | null | src/routes/ChatBox/components/MessageContent/Sent/SentStyles.js | tienlocbui1110/whatapp-ui | 02323d673e596c9e1880811194d657ad244b309a | [
"MIT"
] | null | null | null | import { StyleSheet } from "react-native";
const styles = StyleSheet.create({
textSize: {
fontSize: 15,
paddingLeft: 7,
paddingRight: 7,
paddingTop: 2,
color: "black"
},
chatBox: {
borderWidth: 0.3,
borderRadius: 5,
backgroundColor: "#dcf8c6",
borderColor: "#afafaf",
eleva... | 17.966667 | 42 | 0.612245 |
993e1abf08af6bea7002fc2d774073ea9a0e49b9 | 516 | js | JavaScript | src/store/sagas/index.js | FelipeGCastro/app-apetitte | d50ec91fbc69a65586573ed4b3521b6585fccbaa | [
"MIT"
] | null | null | null | src/store/sagas/index.js | FelipeGCastro/app-apetitte | d50ec91fbc69a65586573ed4b3521b6585fccbaa | [
"MIT"
] | 1 | 2020-08-26T23:58:22.000Z | 2020-08-26T23:58:22.000Z | src/store/sagas/index.js | FelipeGCastro/app-apetitte | d50ec91fbc69a65586573ed4b3521b6585fccbaa | [
"MIT"
] | null | null | null | import { all, takeLatest } from 'redux-saga/effects'
import { DaysTypes } from '~/store/ducks/days'
// import { UserTypes } from '~/store/ducks/user';
import { loadDays } from './days'
// eslint-disable-next-line import/no-cycle
import { init, checkDays, checkDaysUp } from './user'
export default function * rootSaga... | 28.666667 | 53 | 0.707364 |
993e4f42e526808151acc210facbd4cfc4819af0 | 433 | js | JavaScript | webpack.config.js | mi-c3/platform-ui | bb245c835dc86a251da9b282d8e568f722e04584 | [
"Apache-2.0"
] | null | null | null | webpack.config.js | mi-c3/platform-ui | bb245c835dc86a251da9b282d8e568f722e04584 | [
"Apache-2.0"
] | 14 | 2020-07-06T11:44:27.000Z | 2022-02-27T00:36:09.000Z | webpack.config.js | mi-c3/platform-ui | bb245c835dc86a251da9b282d8e568f722e04584 | [
"Apache-2.0"
] | null | null | null | const neutrino = require('neutrino');
const config = neutrino().webpack();
if (process.env.HOT === 'true') {
if (config.optimization && config.optimization.minimize) {
config.optimization.minimize = false;
}
if (Array.isArray(config.plugins)) {
config.plugins = config.plugins.filter((plugi... | 28.866667 | 131 | 0.669746 |
993e5c4f5a13c922494942f9587b9e953e99c614 | 9,456 | js | JavaScript | src/unread/__tests__/unreadHuddlesReducer-test.js | vaibhavs2/zulip-mobile | 09cbcecd14a9110da7252b167ea4326f14c4c4bf | [
"Apache-2.0"
] | 1 | 2021-03-28T20:53:54.000Z | 2021-03-28T20:53:54.000Z | src/unread/__tests__/unreadHuddlesReducer-test.js | vaibhavs2/zulip-mobile | 09cbcecd14a9110da7252b167ea4326f14c4c4bf | [
"Apache-2.0"
] | 8 | 2022-01-26T08:01:59.000Z | 2022-02-28T03:16:55.000Z | src/unread/__tests__/unreadHuddlesReducer-test.js | vaibhavs2/zulip-mobile | 09cbcecd14a9110da7252b167ea4326f14c4c4bf | [
"Apache-2.0"
] | null | null | null | /* @flow strict-local */
import deepFreeze from 'deep-freeze';
import unreadHuddlesReducer from '../unreadHuddlesReducer';
import {
ACCOUNT_SWITCH,
EVENT_NEW_MESSAGE,
EVENT_UPDATE_MESSAGE_FLAGS,
} from '../../actionConstants';
import { NULL_ARRAY } from '../../nullObjects';
import * as eg from '../../__tests__/l... | 27.811765 | 92 | 0.556789 |
993e9d7b23affb6fb0f7703e8b82c1ea77a23981 | 424 | js | JavaScript | node_modules/scratch-vm/src/extensions/scratch3_voicetotext/translation.js | komingshyu/osep_web_serial | 666aa63d56e514c07331d9713e8e33e11c6e4dde | [
"BSD-3-Clause"
] | 9 | 2021-10-31T09:39:01.000Z | 2022-01-20T18:31:45.000Z | node_modules/scratch-vm/src/extensions/scratch3_voicetotext/translation.js | komingshyu/osep_web_serial | 666aa63d56e514c07331d9713e8e33e11c6e4dde | [
"BSD-3-Clause"
] | 2 | 2021-11-02T05:32:24.000Z | 2021-11-06T23:04:13.000Z | node_modules/scratch-vm/src/extensions/scratch3_voicetotext/translation.js | komingshyu/osep_web_serial | 666aa63d56e514c07331d9713e8e33e11c6e4dde | [
"BSD-3-Clause"
] | 72 | 2021-11-02T03:23:18.000Z | 2022-03-24T04:20:59.000Z | export const name = {
'en': 'Speech to Text',
'zh-tw': '語音轉文字'
};
export const voicetoTEXT = {
'en': 'transcribed text ',
'zh-tw': '語音文字'
};
export const pauseVoice = {
'en': 'pause speech to text',
'zh-tw': '暫停語音辨識'
};
export const nullTEXT = {
'en': 'clear transcribed text',
'zh-tw'... | 16.307692 | 35 | 0.558962 |
1005f4a4dbb7d38dcbaa63ea91927e7df33913c2 | 1,683 | js | JavaScript | server/server.js | rushabh-wadkar/game-leaderboard-app | 77da07ba50ed2bb64600bfeca9501af4e04ad923 | [
"Apache-2.0"
] | null | null | null | server/server.js | rushabh-wadkar/game-leaderboard-app | 77da07ba50ed2bb64600bfeca9501af4e04ad923 | [
"Apache-2.0"
] | null | null | null | server/server.js | rushabh-wadkar/game-leaderboard-app | 77da07ba50ed2bb64600bfeca9501af4e04ad923 | [
"Apache-2.0"
] | null | null | null | require("dotenv").config();
const express = require("express");
const app = express();
const PORT = process.env.PORT || 4000;
const routes = require("./routes/app.router.js");
const mongoose = require("mongoose");
// Connect to db
const mongo = {
username: process.env.MONGO_USERNAME,
password: process.env.MONGO_PA... | 27.590164 | 112 | 0.668449 |
100612fca61a1158ee869f2a80c1b24968b6e95c | 3,238 | js | JavaScript | index.js | JessNah/parseargs | a44de49e64f6e62cf1d79b4e8d1dbfa97819e36d | [
"Apache-2.0"
] | null | null | null | index.js | JessNah/parseargs | a44de49e64f6e62cf1d79b4e8d1dbfa97819e36d | [
"Apache-2.0"
] | null | null | null | index.js | JessNah/parseargs | a44de49e64f6e62cf1d79b4e8d1dbfa97819e36d | [
"Apache-2.0"
] | null | null | null | 'use strict';
const parseArgs = (
argv = process.argv.slice(require.main ? 2 : 1),
options = {}
) => {
if (typeof options !== 'object' || options === null) {
throw new Error('Whoops!')
}
if (options.withValue !== undefined && !Array.isArray(options.withValue)) {
throw new Error('Whoops! options.withV... | 36.795455 | 171 | 0.609636 |
100698f5ca1f2e84412df38346572999d3cd1fed | 4,507 | js | JavaScript | node_modules/echarts/lib/data/helper/linkList.js | weizhxa/native-echarts | ca11c38e959ebcfcc0b464344db8b9d207b8d14f | [
"MIT"
] | 92 | 2017-11-21T17:08:10.000Z | 2022-03-19T12:47:04.000Z | node_modules/echarts/lib/data/helper/linkList.js | weizhxa/native-echarts | ca11c38e959ebcfcc0b464344db8b9d207b8d14f | [
"MIT"
] | 6 | 2015-12-19T09:36:30.000Z | 2020-03-18T15:24:27.000Z | node_modules/echarts/lib/data/helper/linkList.js | weizhxa/native-echarts | ca11c38e959ebcfcc0b464344db8b9d207b8d14f | [
"MIT"
] | 24 | 2018-03-14T16:04:03.000Z | 2022-03-17T13:34:26.000Z | /**
* Link lists and struct (graph or tree)
*/
var zrUtil = require('zrender/lib/core/util');
var each = zrUtil.each;
var DATAS = '\0__link_datas';
var MAIN_DATA = '\0__link_mainData';
// Caution:
// In most case, either list or its shallow clones (see list.cloneShallow)
// is active i... | 33.887218 | 90 | 0.596184 |
1006e217d4d13a2531723d3858152ed6827839d7 | 265 | js | JavaScript | src/containers/SettingsPage/index.js | ElridgeDMello/ringcentral-embeddable | 610b11d154d949256752dc6596de7200620345c6 | [
"MIT"
] | 56 | 2018-09-01T04:16:29.000Z | 2022-02-22T06:37:47.000Z | src/containers/SettingsPage/index.js | ElridgeDMello/ringcentral-embeddable | 610b11d154d949256752dc6596de7200620345c6 | [
"MIT"
] | 215 | 2018-08-23T06:04:15.000Z | 2022-03-28T15:01:23.000Z | src/containers/SettingsPage/index.js | ElridgeDMello/ringcentral-embeddable | 610b11d154d949256752dc6596de7200620345c6 | [
"MIT"
] | 35 | 2018-09-25T08:54:40.000Z | 2022-03-21T23:33:50.000Z | import { connectModule } from '@ringcentral-integration/widgets/lib/phoneContext';
import NewSettingsPanel from '../../components/SettingsPanel';
const SettingsPage = connectModule((phone) => phone.settingsUI)(
NewSettingsPanel,
);
export default SettingsPage;
| 29.444444 | 82 | 0.781132 |
100776cbd918626f8bf71dc7c5861fa6cff735ee | 299 | js | JavaScript | src/components/title.js | VisuallyAmazing/Empeek | 23724c7c3c6ac9385b86d69868857c6cbf3e4ff2 | [
"MIT"
] | null | null | null | src/components/title.js | VisuallyAmazing/Empeek | 23724c7c3c6ac9385b86d69868857c6cbf3e4ff2 | [
"MIT"
] | null | null | null | src/components/title.js | VisuallyAmazing/Empeek | 23724c7c3c6ac9385b86d69868857c6cbf3e4ff2 | [
"MIT"
] | null | null | null | import React from 'react'
export default ( { className }) => {
return (
<div style = {{ background: '#272b3c',color:'#fff'}} className = {className}>
<h2 style = {{ marginTop: '20px'}}>DIARY APP</h2>
<span style = {{ color : '#ccc'}}>Comment with no sense</span>
</div>
)
}
| 27.181818 | 81 | 0.568562 |
1007af93c8e92e6d26cf27922cc722fe80798f3f | 3,394 | js | JavaScript | test/ResourceFactory.spec.js | sparklit/adbutler-node | 6432a51574778f1bf1e2e03d64c1ed7a7f9ff2d8 | [
"MIT"
] | 5 | 2017-01-10T20:37:48.000Z | 2019-01-23T17:47:12.000Z | test/ResourceFactory.spec.js | sparklit/adbutler-node | 6432a51574778f1bf1e2e03d64c1ed7a7f9ff2d8 | [
"MIT"
] | 1 | 2019-06-12T11:35:33.000Z | 2019-08-05T16:59:19.000Z | test/ResourceFactory.spec.js | sparklit/adbutler-node | 6432a51574778f1bf1e2e03d64c1ed7a7f9ff2d8 | [
"MIT"
] | 3 | 2018-04-27T20:44:12.000Z | 2019-08-05T17:27:58.000Z | 'use strict';
describe('ResourceFactory', function() {
var ResourceFactory = require('../lib/ResourceFactory');
var expect = require('chai').expect;
it('should not contain the `create` method when it is false in the config', function() {
var ResourceFactory = require('../lib/ResourceFactory');
... | 50.656716 | 92 | 0.633765 |
10085f98bafb6f5b8722641cd5059fd24004b6d1 | 2,376 | js | JavaScript | www/chrome/inspector-20190809/audits_test_runner/audits_test_runner_module.js | wschiffels/webpagetest | 9926f691f4974370c8fead460973a532e0d5fb1b | [
"PHP-3.01",
"Apache-2.0"
] | 1 | 2020-08-06T16:39:40.000Z | 2020-08-06T16:39:40.000Z | www/chrome/inspector-20190809/audits_test_runner/audits_test_runner_module.js | wschiffels/webpagetest | 9926f691f4974370c8fead460973a532e0d5fb1b | [
"PHP-3.01",
"Apache-2.0"
] | 1 | 2021-07-24T15:15:52.000Z | 2021-07-24T15:15:52.000Z | www/chrome/inspector-20190809/audits_test_runner/audits_test_runner_module.js | wschiffels/webpagetest | 9926f691f4974370c8fead460973a532e0d5fb1b | [
"PHP-3.01",
"Apache-2.0"
] | 1 | 2020-05-09T19:48:23.000Z | 2020-05-09T19:48:23.000Z | AuditsTestRunner._panel=function(){return(UI.panels).audits;};AuditsTestRunner.getContainerElement=function(){return AuditsTestRunner._panel().contentElement;};AuditsTestRunner.getResultsElement=function(){return AuditsTestRunner._panel()._auditResultsElement;};AuditsTestRunner.getDialogElement=function(){return Audits... | 594 | 1,304 | 0.833754 |
10091a893591a05c02efeb9a9f4cc00930367ba8 | 621 | js | JavaScript | annotation_pipeline/decomposition_interface/src/Components/Layouts/Header.js | justeuer/Break | e7106929b9b7cca069e5d33c894d0eec10ef538f | [
"MIT"
] | 38 | 2020-02-06T04:01:45.000Z | 2022-03-17T13:42:45.000Z | annotation_pipeline/decomposition_interface/src/Components/Layouts/Header.js | justeuer/Break | e7106929b9b7cca069e5d33c894d0eec10ef538f | [
"MIT"
] | 23 | 2020-02-21T13:38:20.000Z | 2022-03-12T00:16:55.000Z | annotation_pipeline/decomposition_interface/src/Components/Layouts/Header.js | justeuer/Break | e7106929b9b7cca069e5d33c894d0eec10ef538f | [
"MIT"
] | 12 | 2020-03-18T17:26:52.000Z | 2022-03-21T00:43:42.000Z | import React from "react";
import { withStyles } from "@material-ui/core/styles";
import AppBar from "@material-ui/core/AppBar";
import Toolbar from "@material-ui/core/Toolbar";
import Typography from "@material-ui/core/Typography";
import Button from "@material-ui/core/Button";
import IconButton from "@material-ui/cor... | 32.684211 | 54 | 0.713366 |
100939bbbf74fb207faba94b732252ca334372ab | 115 | js | JavaScript | Aulas/12 - jQuery/09 - Modificando o Conteúdo e características dos Elementos/Ex. 04/script.js | wiltonmartinsdev/Meu-Curso-de-Desenvolvimento-Web | 2dcefc158522b3a529670c34edbdc4d508cbc2cd | [
"MIT"
] | null | null | null | Aulas/12 - jQuery/09 - Modificando o Conteúdo e características dos Elementos/Ex. 04/script.js | wiltonmartinsdev/Meu-Curso-de-Desenvolvimento-Web | 2dcefc158522b3a529670c34edbdc4d508cbc2cd | [
"MIT"
] | null | null | null | Aulas/12 - jQuery/09 - Modificando o Conteúdo e características dos Elementos/Ex. 04/script.js | wiltonmartinsdev/Meu-Curso-de-Desenvolvimento-Web | 2dcefc158522b3a529670c34edbdc4d508cbc2cd | [
"MIT"
] | null | null | null | // Dessa forma utilizando o .val() iremos modificar o valor do value no input.
console.log($("#novo").val("Arroz")) | 57.5 | 78 | 0.704348 |
1009c2d0ea3bb8c24a1770c77d863149b9ab1518 | 19,923 | js | JavaScript | src/charts/tests/unit/assets/numericaxis-min-tests.js | jeremykenedy/yui3 | 99fdcc889b1f5dbd94420a815b3de23dc57ad32b | [
"MIT"
] | 1 | 2019-05-08T03:16:20.000Z | 2019-05-08T03:16:20.000Z | src/charts/tests/unit/assets/numericaxis-min-tests.js | jeremykenedy/yui3 | 99fdcc889b1f5dbd94420a815b3de23dc57ad32b | [
"MIT"
] | null | null | null | src/charts/tests/unit/assets/numericaxis-min-tests.js | jeremykenedy/yui3 | 99fdcc889b1f5dbd94420a815b3de23dc57ad32b | [
"MIT"
] | null | null | null | YUI.add('numericaxis-min-tests', function(Y) {
var suite = new Y.Test.Suite("Charts: NumericAxisMin"),
AxisTestTemplate,
parentDiv = Y.DOM.create('<div style="position:absolute;top:500px;left:0px;width:500px;height:400px" id="testdiv"></div>'),
DOC = Y.config.doc;
DOC.body.appendChild(pa... | 31.8768 | 162 | 0.589118 |
100a8229946bae280f88741f7b78142474d52c90 | 23,969 | js | JavaScript | src/commands/create.js | izhyvaiev/claudia | 35f305e0f2f4bf75213505845c49dade82508b4c | [
"MIT"
] | 3,955 | 2016-02-13T15:42:29.000Z | 2022-03-24T08:43:03.000Z | src/commands/create.js | izhyvaiev/claudia | 35f305e0f2f4bf75213505845c49dade82508b4c | [
"MIT"
] | 214 | 2016-02-20T17:38:58.000Z | 2022-03-25T13:57:32.000Z | src/commands/create.js | izhyvaiev/claudia | 35f305e0f2f4bf75213505845c49dade82508b4c | [
"MIT"
] | 344 | 2016-02-15T15:55:32.000Z | 2022-03-28T20:28:47.000Z | const path = require('path'),
limits = require('../util/limits.json'),
fsUtil = require('../util/fs-util'),
aws = require('aws-sdk'),
zipdir = require('../tasks/zipdir'),
collectFiles = require('../tasks/collect-files'),
cleanUpPackage = require('../tasks/clean-up-package'),
addPolicy = require('../tasks/add-pol... | 35.145161 | 164 | 0.670574 |
100a95d0a98f2468521f34e69e1b86ee4e2083ee | 622 | js | JavaScript | test/lib/nock/aws.js | michaelgoin/node-newrelic | 4490db09b5963c0b35ed67747c1dc51615cfd675 | [
"Apache-2.0"
] | 637 | 2015-01-03T13:29:50.000Z | 2022-03-30T14:49:15.000Z | test/lib/nock/aws.js | michaelgoin/node-newrelic | 4490db09b5963c0b35ed67747c1dc51615cfd675 | [
"Apache-2.0"
] | 595 | 2015-01-06T18:14:13.000Z | 2022-03-31T16:32:21.000Z | test/lib/nock/aws.js | bizob2828/node-newrelic | 6bbadca92643506e9b1e4cd81b754443afdd0262 | [
"Apache-2.0"
] | 376 | 2015-01-15T02:22:44.000Z | 2022-03-11T18:05:07.000Z | /*
* Copyright 2020 New Relic Corporation. All rights reserved.
* SPDX-License-Identifier: Apache-2.0
*/
'use strict'
const nock = require('nock')
module.exports.mockAWSInfo = function () {
const awsHost = 'http://169.254.169.254'
const awsResponses = {
'instance-type': 'test.type',
'instance-id': 'te... | 24.88 | 91 | 0.672026 |
100bbf7f1e83fb6c5126343c05083f1ca5885bfc | 1,027 | js | JavaScript | unusedComponents/testMakePayment/payComponents/payPages/Recipt.js | wildpow/college-101 | 6fe0550528f1d85bfa700f2f5907d87339f86e1e | [
"MIT"
] | null | null | null | unusedComponents/testMakePayment/payComponents/payPages/Recipt.js | wildpow/college-101 | 6fe0550528f1d85bfa700f2f5907d87339f86e1e | [
"MIT"
] | null | null | null | unusedComponents/testMakePayment/payComponents/payPages/Recipt.js | wildpow/college-101 | 6fe0550528f1d85bfa700f2f5907d87339f86e1e | [
"MIT"
] | null | null | null | import React from "react";
import styled from "styled-components";
import { useSpring, animated } from "react-spring";
import { Box, Button, Heading } from "grommet";
import states from "../States";
const AnimateWrapper = styled(animated.div)`
width: 100%;
height: 100%;
`;
const Recipt = props => {
const transi... | 22.822222 | 61 | 0.560857 |
100cbee90f631c14112dc54ab50cc3f0b2c75519 | 3,847 | js | JavaScript | app.js | NathanHeffley/quickl | 2327c2b85b9b5e6cfd5e3138aaf385d1f320182e | [
"0BSD"
] | 2 | 2016-07-31T15:58:20.000Z | 2016-08-01T14:07:06.000Z | app.js | NathanHeffley/quickl | 2327c2b85b9b5e6cfd5e3138aaf385d1f320182e | [
"0BSD"
] | null | null | null | app.js | NathanHeffley/quickl | 2327c2b85b9b5e6cfd5e3138aaf385d1f320182e | [
"0BSD"
] | null | null | null | var express = require('express');
var mongoose = require("mongoose");
mongoose.connect('mongodb://localhost/quickl');
var postSchema = new mongoose.Schema({
slug: { type: String, required: true, unique: true },
title: { type: String, required: true },
author: { type: String, required: true },
content: { type: S... | 28.924812 | 145 | 0.615805 |
100d26046ff36b6853dfa7917e3be029462e1c34 | 1,638 | js | JavaScript | __tests__/server.test.js | Mhsalameh/basic-auth | 07f25647c7ba5f635c6c828e356adf3f210b8972 | [
"MIT"
] | null | null | null | __tests__/server.test.js | Mhsalameh/basic-auth | 07f25647c7ba5f635c6c828e356adf3f210b8972 | [
"MIT"
] | null | null | null | __tests__/server.test.js | Mhsalameh/basic-auth | 07f25647c7ba5f635c6c828e356adf3f210b8972 | [
"MIT"
] | null | null | null | "use strict";
const server = require("../src/server.js");
const supertest = require("supertest");
const { db } = require("../src/models/index.js");
const request = supertest(server.app);
describe("testing auth server", () => {
beforeAll(async () => {
db.sync();
});
afterAll(() => {
db.drop();
});
i... | 33.428571 | 78 | 0.638584 |
100d73b5c01ec34182c2bff608ff2d769fddfda6 | 719 | js | JavaScript | server/router/userRouter.js | tony-mtz/simple_cookie | b885e45d6355512b8fba851dd36423c9d6539018 | [
"Apache-2.0"
] | null | null | null | server/router/userRouter.js | tony-mtz/simple_cookie | b885e45d6355512b8fba851dd36423c9d6539018 | [
"Apache-2.0"
] | null | null | null | server/router/userRouter.js | tony-mtz/simple_cookie | b885e45d6355512b8fba851dd36423c9d6539018 | [
"Apache-2.0"
] | null | null | null | // const express = require('express');
// const router = express.Router();
// const userController = require('./controller/userController');
// /**
// * 1) create new user in db
// * 2) create a new cookie and set data
// * 3) redirect to restricted
// */
// router.post('/signup', userController.signup,
// (req... | 23.966667 | 65 | 0.595271 |
100dff53736cdbaac0ab647539472e092d0b0d34 | 159 | js | JavaScript | docs/search/enumvalues_3.js | sevagh/libjungle | a7153b327fcc83459d1bb7c36d7aae9eead51d42 | [
"MIT"
] | 2 | 2020-06-14T03:06:03.000Z | 2022-03-26T06:53:17.000Z | docs/search/enumvalues_3.js | sevagh/libmetro | a7153b327fcc83459d1bb7c36d7aae9eead51d42 | [
"MIT"
] | null | null | null | docs/search/enumvalues_3.js | sevagh/libmetro | a7153b327fcc83459d1bb7c36d7aae9eead51d42 | [
"MIT"
] | null | null | null | var searchData=
[
['two',['Two',['../classmetro_1_1Measure.html#aaef919c87cef83a4818ce8743065b03da79ec9b5ea1d07925af80eab9a4690820',1,'metro::Measure']]]
];
| 31.8 | 137 | 0.773585 |
100e562dbba136b358657cd90450f0c08c70511c | 66,521 | js | JavaScript | src/third_party/webdriver-atoms/swipe.js | amikey/ghostdriver | 4f8c27e6215a8422e08f27e721590c61b697f7bc | [
"BSD-2-Clause"
] | 25 | 2015-07-21T18:14:57.000Z | 2021-02-21T10:00:48.000Z | src/third_party/webdriver-atoms/swipe.js | amikey/ghostdriver | 4f8c27e6215a8422e08f27e721590c61b697f7bc | [
"BSD-2-Clause"
] | 33 | 2015-09-30T10:30:42.000Z | 2016-06-05T13:59:39.000Z | src/third_party/webdriver-atoms/swipe.js | amikey/ghostdriver | 4f8c27e6215a8422e08f27e721590c61b697f7bc | [
"BSD-2-Clause"
] | 9 | 2016-03-14T13:25:14.000Z | 2021-02-21T10:09:22.000Z | function(){return function(){function h(a){return function(){return this[a]}}function aa(a){return function(){return a}}var m,n=this;
function ca(a){var b=typeof a;if("object"==b)if(a){if(a instanceof Array)return"array";if(a instanceof Object)return b;var c=Object.prototype.toString.call(a);if("[object Window]"==c)ret... | 519.695313 | 1,977 | 0.653673 |
100f7b6105dea2c4a480d14cdbc14cc5eed31214 | 1,133 | js | JavaScript | dist/schema.js | gkarthiks/nodeJS-GraphQL | 470e1a3989c6f5f0701bb4a45fb00a86e3fb6f95 | [
"MIT"
] | 1 | 2020-08-09T17:25:57.000Z | 2020-08-09T17:25:57.000Z | dist/schema.js | gkarthiks/nodeJS-GraphQL | 470e1a3989c6f5f0701bb4a45fb00a86e3fb6f95 | [
"MIT"
] | null | null | null | dist/schema.js | gkarthiks/nodeJS-GraphQL | 470e1a3989c6f5f0701bb4a45fb00a86e3fb6f95 | [
"MIT"
] | null | null | null | 'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _index = require('graphql-tools/dist/index');
var _resolvers = require('./resolvers');
var _resolvers2 = _interopRequireDefault(_resolvers);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj ... | 51.5 | 670 | 0.66902 |
10100471144ae88e600949d95fa0f9ae3f6cd393 | 1,240 | js | JavaScript | server/core/paths.js | mymyoux/mynojs | c033a5fda9328fe7b8b4c1a8932b21b3e962f12a | [
"MIT"
] | null | null | null | server/core/paths.js | mymyoux/mynojs | c033a5fda9328fe7b8b4c1a8932b21b3e962f12a | [
"MIT"
] | null | null | null | server/core/paths.js | mymyoux/mynojs | c033a5fda9328fe7b8b4c1a8932b21b3e962f12a | [
"MIT"
] | null | null | null | var path = require("path");
import {Hardware} from "../../common/env/Hardware";
global.base_path = function (folder) {
var p = path.resolve(path.resolve());
if(Hardware.isElectron())
{
p = require('electron').app.getAppPath();
}
if (folder) {
p = path.resolve(p, folder);
}
r... | 30.243902 | 69 | 0.647581 |
101087b19fc3cf28e0693caf2f8ec0d931b7e804 | 30,506 | js | JavaScript | build/script/apache/notosanscoptic.js | xErik/pdfmake-fonts-google | f66c7c58d6590c87c0d1327f31da2f5a53e76f36 | [
"MIT"
] | 8 | 2015-09-16T14:23:40.000Z | 2020-10-20T19:49:11.000Z | build/script/apache/notosanscoptic.js | xErik/pdfmake-fonts-google | f66c7c58d6590c87c0d1327f31da2f5a53e76f36 | [
"MIT"
] | 1 | 2017-01-24T16:21:51.000Z | 2017-01-24T16:45:50.000Z | build/script/apache/notosanscoptic.js | xErik/pdfmake-fonts-google | f66c7c58d6590c87c0d1327f31da2f5a53e76f36 | [
"MIT"
] | 8 | 2016-04-07T05:58:05.000Z | 2021-03-14T10:26:50.000Z | window.pdfMake = window.pdfMake || {}; window.pdfMake.vfs = {"NotoSansCoptic-Regular.ttf":"AAEAAAAOAIAAAwBgR0RFRgLyAy4AAEXgAAAASEdQT1NbcfztAABGKAAACrpHU1VC5upxQwAAUOQAAAg0T1MvMn2blMQAAAFoAAAAYGNtYXCJojUTAAAEnAAAATRnYXNwAAcABwAARdQAAAAMZ2x5ZojpNNAAAAdQAAA6RGhlYWT6+dzOAAAA7AAAADZoaGVhCg8CZAAAASQAAAAkaG10eN4//+sAAAHIAAAC0... | 30,506 | 30,506 | 0.970858 |
1010ea779350887e14838555eb839b7a356dc9a1 | 1,423 | js | JavaScript | gulp/tasks/auth.js | seyself/ac-jam-vol3 | a0004adc0264a73ed6410904185da5094e4e3f54 | [
"MIT"
] | null | null | null | gulp/tasks/auth.js | seyself/ac-jam-vol3 | a0004adc0264a73ed6410904185da5094e4e3f54 | [
"MIT"
] | null | null | null | gulp/tasks/auth.js | seyself/ac-jam-vol3 | a0004adc0264a73ed6410904185da5094e4e3f54 | [
"MIT"
] | null | null | null | module.exports = function(gulp, config, argv)
{
gulp.task("auth", function(done){
var exec = require("child_process").execSync;
var path = require("path");
var fs = require('fs');
var authFile = path.join('../../', config.auth);
config.auth = require(authFile).basic;
config.auth.dest = config... | 35.575 | 96 | 0.614898 |
1010fcf4328e06294b8218f56dfd66ae068671dc | 405 | js | JavaScript | node_modules/@material-ui/core/styles/useTheme.js | adastra-react/OnlineArcadeAdminPanel | 167c69d1477fb159f016c9a3f367a9dbd576fdfd | [
"MIT"
] | null | null | null | node_modules/@material-ui/core/styles/useTheme.js | adastra-react/OnlineArcadeAdminPanel | 167c69d1477fb159f016c9a3f367a9dbd576fdfd | [
"MIT"
] | null | null | null | node_modules/@material-ui/core/styles/useTheme.js | adastra-react/OnlineArcadeAdminPanel | 167c69d1477fb159f016c9a3f367a9dbd576fdfd | [
"MIT"
] | null | null | null | import { useTheme as useThemeWithoutDefault } from '@material-ui/styles';
import * as React from 'react';
import defaultTheme from './defaultTheme';
export default function useTheme() {
const theme = useThemeWithoutDefault() || defaultTheme;
if (process.env.NODE_ENV !== 'production') {
// eslint-disable-next-l... | 31.153846 | 73 | 0.725926 |
10119c01ad1345aab85448e27d3e32dead238b3e | 3,236 | js | JavaScript | static/js/pages-test-index.84a299d0.js | huojiangame/jqcm | 725caaee46ca7b94f21cfd76639d93c794b411a5 | [
"Apache-2.0"
] | null | null | null | static/js/pages-test-index.84a299d0.js | huojiangame/jqcm | 725caaee46ca7b94f21cfd76639d93c794b411a5 | [
"Apache-2.0"
] | null | null | null | static/js/pages-test-index.84a299d0.js | huojiangame/jqcm | 725caaee46ca7b94f21cfd76639d93c794b411a5 | [
"Apache-2.0"
] | null | null | null | (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-test-index"],{3687:function(e,t,n){"use strict";var a=n("a0d4"),r=n.n(a);r.a},"3a37":function(e,t,n){var a=n("24fb");t=a(!1),t.push([e.i,".content[data-v-8e1490e8]{display:flex;flex-direction:column;align-items:center;justify-content:center}.logo[data-v-... | 3,236 | 3,236 | 0.682324 |
1011e25f8000ea5f7159ad2f034492f99d970db9 | 413 | js | JavaScript | js/constants.js | beeschurger1/leaf-browser | 69fa22160817b9176857be5545522d791b7d4197 | [
"MIT"
] | 76 | 2016-05-11T09:32:19.000Z | 2019-03-11T18:04:41.000Z | js/constants.js | beeschurger1/leaf-browser | 69fa22160817b9176857be5545522d791b7d4197 | [
"MIT"
] | 9 | 2016-10-14T17:49:08.000Z | 2019-04-15T17:58:07.000Z | js/constants.js | beeschurger1/leaf-browser | 69fa22160817b9176857be5545522d791b7d4197 | [
"MIT"
] | 44 | 2019-09-24T13:14:49.000Z | 2022-03-29T14:55:45.000Z | define([], function(){
'use strict';
var KEYCODES = {
ENTER: 13,
ESC: 27,
F: 70,
L: 76,
N: 78,
Q: 81,
R: 82,
T: 84,
W: 87
};
var REGEXES = {
// Basic regex that tries to attempt to match a domain name
URL_NO_PROTO: /^[a-z0-9\-\_]+(\.[a-z0-9\-\_]+)+(\/.*)?$/,
URL... | 14.75 | 63 | 0.450363 |
10120fd67446fde942ce416df758e854eeb9972c | 5,207 | js | JavaScript | ui/src/components/selfservice/SelfServiceModal.js | shyovn/consoleme | 471592b718b22f83244609ab47d5bf3f9a715a4d | [
"Apache-2.0"
] | 2,835 | 2020-12-09T19:07:24.000Z | 2022-03-31T06:38:44.000Z | ui/src/components/selfservice/SelfServiceModal.js | shyovn/consoleme | 471592b718b22f83244609ab47d5bf3f9a715a4d | [
"Apache-2.0"
] | 179 | 2020-12-10T01:51:25.000Z | 2022-03-31T02:06:06.000Z | ui/src/components/selfservice/SelfServiceModal.js | shyovn/consoleme | 471592b718b22f83244609ab47d5bf3f9a715a4d | [
"Apache-2.0"
] | 219 | 2020-12-09T21:30:56.000Z | 2022-03-31T05:57:36.000Z | import "./SelfService.css";
import { Button, Divider, Header, Message, Modal } from "semantic-ui-react";
import React, { Component } from "react";
import Editor from "@monaco-editor/react";
import { getLocalStorageSettings } from "../../helpers/utils";
const editor_options = {
selectOnLineNumbers: true,
readOnly: ... | 25.777228 | 108 | 0.575955 |
101234a562b9a276231a731bb941139cb5998a55 | 1,863 | js | JavaScript | tools/build/linknodemodules.js | WaleedMKasem/angular | 9fbafba993207cba3e23f050f4740fe9a0647d49 | [
"MIT"
] | 1 | 2016-07-03T05:59:48.000Z | 2016-07-03T05:59:48.000Z | tools/build/linknodemodules.js | WaleedMKasem/angular | 9fbafba993207cba3e23f050f4740fe9a0647d49 | [
"MIT"
] | null | null | null | tools/build/linknodemodules.js | WaleedMKasem/angular | 9fbafba993207cba3e23f050f4740fe9a0647d49 | [
"MIT"
] | null | null | null | var fs = require('fs');
var path = require('path');
module.exports = function(gulp, plugins, config) {
function symlink(relativeFolder, linkDir) {
var sourceDir = path.join('..', relativeFolder);
if (!fs.existsSync(linkDir)) {
console.log('creating link', linkDir, sourceDir);
try {
fs.sym... | 30.048387 | 94 | 0.630703 |
10128d8298066e8fc7eb63dbeb77f700d5745f39 | 1,791 | js | JavaScript | sample/recursiveParentSearch.js | cronvel/fs-kit | fd83f6b8541188ca018d6ecf2fe9cf1fe37f730c | [
"MIT"
] | null | null | null | sample/recursiveParentSearch.js | cronvel/fs-kit | fd83f6b8541188ca018d6ecf2fe9cf1fe37f730c | [
"MIT"
] | null | null | null | sample/recursiveParentSearch.js | cronvel/fs-kit | fd83f6b8541188ca018d6ecf2fe9cf1fe37f730c | [
"MIT"
] | null | null | null | #!/usr/bin/env node
/*
File System Kit
Copyright (c) 2015 - 2020 Cédric Ronvel
The MIT License (MIT)
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without ... | 29.360656 | 89 | 0.700168 |
1012c76e394926546d220cf2d6badd475ebdb05e | 5,426 | js | JavaScript | src/layouts/PageLayout/PageLayout.js | bushuangshuang/zhonghangyouobject | bcaaca1c057c7cd361f3ca5bd73547f051cba775 | [
"MIT"
] | null | null | null | src/layouts/PageLayout/PageLayout.js | bushuangshuang/zhonghangyouobject | bcaaca1c057c7cd361f3ca5bd73547f051cba775 | [
"MIT"
] | null | null | null | src/layouts/PageLayout/PageLayout.js | bushuangshuang/zhonghangyouobject | bcaaca1c057c7cd361f3ca5bd73547f051cba775 | [
"MIT"
] | null | null | null | import React from 'react'
import { IndexLink, Link } from 'react-router'
import PropTypes from 'prop-types'
import './PageLayout.scss'
import moment from 'moment'
// 引入对应的图片路径
import logoImg from '../../static/img/logo/logo3.png'
import oilImg from '../../static/img/header/油单@2x.png'
import FlightImg from '../../stati... | 36.662162 | 123 | 0.602101 |
10137fae92a563d49b45f5de26044cdb1d3b86ee | 741 | js | JavaScript | js/requirejs/jquery-plugin/otherclick.js | hisland/hdl-assets | fe141132a655e8bdcc2e5dbba67b6ebc9902a72b | [
"MIT"
] | null | null | null | js/requirejs/jquery-plugin/otherclick.js | hisland/hdl-assets | fe141132a655e8bdcc2e5dbba67b6ebc9902a72b | [
"MIT"
] | null | null | null | js/requirejs/jquery-plugin/otherclick.js | hisland/hdl-assets | fe141132a655e8bdcc2e5dbba67b6ebc9902a72b | [
"MIT"
] | null | null | null | /**
*
*/
define(['jquery', 'kissy'], function($, S){
var OTHER_CLICK = 'otherClick', map = {};
$.data(document, OTHER_CLICK, {});
$(document).on('click', function(e){
S.each($.data(document, OTHER_CLICK), function(v, i, o){
if(check(e.target, map[i][0])){
map[i][1]();
}
});
$.data(document, OTH... | 18.525 | 58 | 0.558704 |
1013a588b2fedcbc320e28c792e77c202803690f | 31,159 | js | JavaScript | packages/core/admin/build/content-type-builder-translation-uk-json.a1b9f71b.chunk.js | aistyler/custom-strapi4 | 249543b89e954ee522858c38996d2b4f8b9f6b6b | [
"MIT"
] | null | null | null | packages/core/admin/build/content-type-builder-translation-uk-json.a1b9f71b.chunk.js | aistyler/custom-strapi4 | 249543b89e954ee522858c38996d2b4f8b9f6b6b | [
"MIT"
] | null | null | null | packages/core/admin/build/content-type-builder-translation-uk-json.a1b9f71b.chunk.js | aistyler/custom-strapi4 | 249543b89e954ee522858c38996d2b4f8b9f6b6b | [
"MIT"
] | null | null | null | (self.webpackChunk_strapi_admin=self.webpackChunk_strapi_admin||[]).push([[8573],{83282:t=>{"use strict";t.exports=JSON.parse('{"attribute.boolean":"Boolean","attribute.boolean.description":"\u0422\u0430\u043a \u0447\u0438 \u043d\u0456, 1 \u0447\u0438 0, \u043f\u0440\u0430\u0432\u0434\u0430 \u0447\u0438 \u0431\u0440\u0... | 31,159 | 31,159 | 0.801245 |
10140b5ecc6da96dc42458887ef890233dc200f2 | 1,314 | js | JavaScript | public/js/finance.js | jellyfishgh/ng-starter-kit | edc5b0ca4f1cd4e5f44086df87f68bee854399bc | [
"MIT"
] | null | null | null | public/js/finance.js | jellyfishgh/ng-starter-kit | edc5b0ca4f1cd4e5f44086df87f68bee854399bc | [
"MIT"
] | null | null | null | public/js/finance.js | jellyfishgh/ng-starter-kit | edc5b0ca4f1cd4e5f44086df87f68bee854399bc | [
"MIT"
] | null | null | null | angular.module('finance', [])
.factory('currencyConverter', [
'$http',
function($http) {
var YAHOO_FINANCE_PATTERN = '//query.yahooapis.com/v1/public/yql?q=' +
'select * from yahoo.finance.xchange where pair in ("PAIRS")' +
'&format=json&env=' +
'store... | 43.8 | 100 | 0.509893 |
1015358ceee1b22986652d99e9e8bede177636b3 | 4,936 | js | JavaScript | webpack.config.js | MichaelKim/osu-online | 2a0485368db43a888adfdb5fe53b155e4df01e16 | [
"MIT"
] | 11 | 2021-03-10T02:03:27.000Z | 2022-03-13T06:03:16.000Z | webpack.config.js | MichaelKim/osu-online | 2a0485368db43a888adfdb5fe53b155e4df01e16 | [
"MIT"
] | 2 | 2021-07-26T22:16:02.000Z | 2022-02-14T02:55:50.000Z | webpack.config.js | MichaelKim/osu-online | 2a0485368db43a888adfdb5fe53b155e4df01e16 | [
"MIT"
] | 8 | 2021-05-21T20:20:00.000Z | 2022-03-01T08:34:53.000Z | /* eslint-disable no-undef */
/* eslint-disable @typescript-eslint/no-var-requires */
const { CleanWebpackPlugin } = require('clean-webpack-plugin');
const CopyWebpackPlugin = require('copy-webpack-plugin');
const HtmlWebpackPlugin = require('html-webpack-plugin');
const path = require('path');
const TerserPlugin = re... | 26.681081 | 77 | 0.462318 |
101559274555c96692a497735e4ed7d5bf5bd212 | 67 | js | JavaScript | testManager/src/app/testManager/components/IssueManageComponent/IssueTree/index.js | choerodon/choerodon-front-test-manager | b4e81974bf2fd9bbfa0ad423df990c265408993e | [
"Apache-2.0"
] | 6 | 2018-07-20T02:11:06.000Z | 2019-04-01T05:38:43.000Z | testManager/src/app/testManager/components/IssueManageComponent/IssueTree/index.js | choerodon/choerodon-front-test-manager | b4e81974bf2fd9bbfa0ad423df990c265408993e | [
"Apache-2.0"
] | null | null | null | testManager/src/app/testManager/components/IssueManageComponent/IssueTree/index.js | choerodon/choerodon-front-test-manager | b4e81974bf2fd9bbfa0ad423df990c265408993e | [
"Apache-2.0"
] | 12 | 2018-07-20T02:55:51.000Z | 2020-01-02T09:49:25.000Z | import IssueTree from './IssueTree';
export default IssueTree;
| 16.75 | 37 | 0.746269 |
10156fb74b01f1b2e681ee12285ceef86e25f27d | 880 | js | JavaScript | test/apply-defaults.test.js | raphinesse/cujs | 2441c8fcf3465d1533d0cda39a6912d01aafa65d | [
"MIT"
] | 1 | 2018-04-09T23:48:45.000Z | 2018-04-09T23:48:45.000Z | test/apply-defaults.test.js | raphinesse/cujs | 2441c8fcf3465d1533d0cda39a6912d01aafa65d | [
"MIT"
] | null | null | null | test/apply-defaults.test.js | raphinesse/cujs | 2441c8fcf3465d1533d0cda39a6912d01aafa65d | [
"MIT"
] | null | null | null | import { join } from 'path'
import test from 'ava'
import applyDefaults from '../lib/apply-defaults'
test('defaults for reading from stdin', t => {
t.deepEqual(applyDefaults({}), {
mangle: true,
compress: true,
comments: /@preserve|@license|@cc_on|^!/i,
})
})
test('defaults for malformed stdin config'... | 23.157895 | 50 | 0.601136 |
10159344d9106a2830f7814c8da634004517fa20 | 1,403 | js | JavaScript | gatsby-node.js | Cowbacca/decently-dressed-developer | 87f0fe9e460fd839d7a962e093548754bec340fd | [
"MIT"
] | null | null | null | gatsby-node.js | Cowbacca/decently-dressed-developer | 87f0fe9e460fd839d7a962e093548754bec340fd | [
"MIT"
] | null | null | null | gatsby-node.js | Cowbacca/decently-dressed-developer | 87f0fe9e460fd839d7a962e093548754bec340fd | [
"MIT"
] | null | null | null | const Promise = require(`bluebird`)
const path = require(`path`)
const slash = require(`slash`)
exports.createPages = async ({graphql, boundActionCreators}) => {
const result = await fetchAllArticles(graphql);
const allArticles = result.data.allContentfulArticle.edges
.map(edge => ({id: edge.node.id, slug: edg... | 25.981481 | 93 | 0.592302 |
1015d1c967011098fb13fa03fb4639b6bc90b69c | 54,036 | js | JavaScript | js/chunk-0de01333.1dd24e75.js | fnnix/network | 8addbd193ff52ab930d14f6e98e0d83114e3c255 | [
"MIT"
] | null | null | null | js/chunk-0de01333.1dd24e75.js | fnnix/network | 8addbd193ff52ab930d14f6e98e0d83114e3c255 | [
"MIT"
] | null | null | null | js/chunk-0de01333.1dd24e75.js | fnnix/network | 8addbd193ff52ab930d14f6e98e0d83114e3c255 | [
"MIT"
] | null | null | null | (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-0de01333"],{"0096":function(t,n,e){"use strict";e.r(n);var r=function(){var t=this,n=t.$createElement,e=t._self._c||n;return t.renderWhen?e(t.componentName,t._b({tag:"component"},"component",t.$props.config,!1),[t._t("default")],2):e(t.config.tag||"div",... | 54,036 | 54,036 | 0.662891 |
1016246f2a4139c29fa6254f1adb1e7fe380c69a | 845 | js | JavaScript | test/htmlToAbsoluteUrlsTest.js | anyuzx/eleventy-plugin-rss | c38bc4341b935d11b2021e4d692becf84e8579d9 | [
"MIT"
] | 3 | 2020-12-14T17:49:40.000Z | 2021-04-05T08:32:01.000Z | node_modules/@11ty/eleventy-plugin-rss/test/htmlToAbsoluteUrlsTest.js | KennethJ-USC/osrs-blog | ad63913d6a2e9c6138991063d324b78cbf279ae4 | [
"MIT"
] | 5 | 2020-07-13T03:54:15.000Z | 2022-02-26T01:42:06.000Z | node_modules/@11ty/eleventy-plugin-rss/test/htmlToAbsoluteUrlsTest.js | planetoftheweb/raybotest | 1e16b3bffe7920e4cb95c0cedd3055653cc0a3ea | [
"MIT"
] | null | null | null | import test from "ava";
import htmlToAbsUrls from "../src/HtmlToAbsoluteUrls.js";
test("Changes a link href", async t => {
t.is((await htmlToAbsUrls(`<a href="#testanchor">Hello</a>`, "http://example.com/")).html, `<a href="#testanchor">Hello</a>`);
t.is((await htmlToAbsUrls(`<a href="/test.html">Hello</a>`, "http... | 60.357143 | 152 | 0.626036 |
101672398838406dfce52b09dc966b13617de125 | 1,582 | js | JavaScript | test/services.products.test.js | johnserrano15/express | ddcfcffd687936ef13b0e381d70d4af267e0da51 | [
"MIT"
] | null | null | null | test/services.products.test.js | johnserrano15/express | ddcfcffd687936ef13b0e381d70d4af267e0da51 | [
"MIT"
] | 5 | 2020-03-12T22:36:03.000Z | 2021-09-01T22:02:43.000Z | test/services.products.test.js | johnserrano15/express | ddcfcffd687936ef13b0e381d70d4af267e0da51 | [
"MIT"
] | null | null | null | /* eslint-env mocha */
const assert = require('assert')
const proxyquire = require('proxyquire')
const {
MongoLibMock,
getAllStub,
createStub
} = require('../utils/mocks/mongoLib')
const {
productsMock,
filteredProductsMock
} = require('../utils/mocks/products')
describe('services - products', function () ... | 31.64 | 84 | 0.68268 |
1017005799e8fcee2225e5f563321ca080c53353 | 41 | js | JavaScript | collection/wallet.js | kasoki/reddcomet | e71bd7370b4496417f07759af42e3462bc8c6819 | [
"MIT"
] | null | null | null | collection/wallet.js | kasoki/reddcomet | e71bd7370b4496417f07759af42e3462bc8c6819 | [
"MIT"
] | null | null | null | collection/wallet.js | kasoki/reddcomet | e71bd7370b4496417f07759af42e3462bc8c6819 | [
"MIT"
] | null | null | null | Wallet = new Meteor.Collection("wallet"); | 41 | 41 | 0.756098 |
10182f319c531ad7aaa92b32207be1f259972517 | 2,041 | js | JavaScript | experiments/map/mapGen/test86.js | sola-da/LambdaTester | f993f9d67eab0120b14111be1a56d40b4c5ac9af | [
"MIT"
] | 2 | 2018-11-26T09:34:28.000Z | 2019-10-18T16:23:53.000Z | experiments/map/mapGen/test86.js | sola-da/LambdaTester | f993f9d67eab0120b14111be1a56d40b4c5ac9af | [
"MIT"
] | null | null | null | experiments/map/mapGen/test86.js | sola-da/LambdaTester | f993f9d67eab0120b14111be1a56d40b4c5ac9af | [
"MIT"
] | 1 | 2019-10-08T16:37:48.000Z | 2019-10-08T16:37:48.000Z |
var callbackArguments = [];
var argument1 = function callback(a,b,c) {
callbackArguments.push(JSON.stringify(arguments))
argument2[2] = 1.495342560590709e+308
base_0[6] = {"94!x&":"S","":7.775650504133382e+307,"Nd!(":"<:m"}
return a-b+c
};
var argument2 = function callback(a,b,c) {
callbackArguments.push(JSON.s... | 25.5125 | 218 | 0.695247 |
10187d77ea34d928ea9bd099b2d673194be63a56 | 751 | js | JavaScript | node_modules/@react-icons/all-files/io/IoIosFlask.js | syazwanirahimin/dotcom | 162acf4500655ec965d27bd1e45ef0415963d346 | [
"MIT"
] | null | null | null | node_modules/@react-icons/all-files/io/IoIosFlask.js | syazwanirahimin/dotcom | 162acf4500655ec965d27bd1e45ef0415963d346 | [
"MIT"
] | null | null | null | node_modules/@react-icons/all-files/io/IoIosFlask.js | syazwanirahimin/dotcom | 162acf4500655ec965d27bd1e45ef0415963d346 | [
"MIT"
] | null | null | null | // THIS FILE IS AUTO GENERATED
var GenIcon = require('../lib').GenIcon
module.exports.IoIosFlask = function IoIosFlask (props) {
return GenIcon({"tag":"svg","attr":{"viewBox":"0 0 512 512"},"child":[{"tag":"path","attr":{"d":"M437.4 354.4L320.7 159.9c-.4-.6-.6-1.3-.6-2.1V80c0-2.2 1.8-4 4-4 6.6 0 12-5.4 12-12v-4c0-6.6... | 125.166667 | 618 | 0.619174 |
10187df609ae3ec7a1da466ecbcbc0f2114437df | 1,922 | js | JavaScript | src/custom/NumExprs.js | jlenoble/casem | 51c92f8063923af34bc4472d8080829d2a619eee | [
"MIT"
] | null | null | null | src/custom/NumExprs.js | jlenoble/casem | 51c92f8063923af34bc4472d8080829d2a619eee | [
"MIT"
] | null | null | null | src/custom/NumExprs.js | jlenoble/casem | 51c92f8063923af34bc4472d8080829d2a619eee | [
"MIT"
] | null | null | null | const variables = {};
export const mixWithNumExprs = Interpreter => {
Object.assign(Interpreter.prototype, {
hasVariable (name) {
return name => name in variables;
},
getVariable (name) {
if (!this.hasVariable(name)) {
throw new ReferenceError(`Variable '${name}' is not initialized`)... | 24.025 | 74 | 0.561915 |
1018bed68de8f5ccc67010a7a2341c908a9fb2f7 | 3,311 | js | JavaScript | packages/york-web/src/components/complex/Header/QleanPlusItem.js | Qlean/york | 93098df0d917d89dff86bf658687bddf2039e5dc | [
"MIT"
] | 5 | 2019-07-03T13:47:17.000Z | 2021-06-11T20:16:36.000Z | packages/york-web/src/components/complex/Header/QleanPlusItem.js | Qlean/york | 93098df0d917d89dff86bf658687bddf2039e5dc | [
"MIT"
] | 31 | 2019-06-14T12:20:56.000Z | 2022-02-26T15:54:08.000Z | packages/york-web/src/components/complex/Header/QleanPlusItem.js | Qlean/york | 93098df0d917d89dff86bf658687bddf2039e5dc | [
"MIT"
] | 1 | 2019-11-05T12:44:29.000Z | 2019-11-05T12:44:29.000Z | import React from 'react'
import PropTypes from 'prop-types'
import styled from 'styled-components'
import { View, Separator } from 'york-web/components/primitive'
const icon =
'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFwAAAAkCAMAAAAzQK3GAAAB3VBMVEUAAAAnm+0Hff0nnfAEe/xKwOEioO8kmfEsoe5LwOItou4Fev1KweIroe0lm/IF... | 110.366667 | 2,746 | 0.90305 |
1019ab14d045d3c594e9da16cbde0cd842d0bb68 | 248 | js | JavaScript | 1-Project/backend-sql/src/api/pet/types/petInput.js | htouqeer938/pet-hotel | 10f278cc713a080a14eda864ae178c74fd42c095 | [
"MIT"
] | null | null | null | 1-Project/backend-sql/src/api/pet/types/petInput.js | htouqeer938/pet-hotel | 10f278cc713a080a14eda864ae178c74fd42c095 | [
"MIT"
] | null | null | null | 1-Project/backend-sql/src/api/pet/types/petInput.js | htouqeer938/pet-hotel | 10f278cc713a080a14eda864ae178c74fd42c095 | [
"MIT"
] | null | null | null | const schema = `
input PetInput {
owner: String!
name: String!
type: PetTypeEnum!
breed: String!
size: PetSizeEnum!
bookings: [ String! ]
}
`;
const resolver = {};
exports.schema = schema;
exports.resolver = resolver;
| 15.5 | 28 | 0.625 |
101a95d05f82a2a5543d69fd0684d876d4fe6876 | 160 | js | JavaScript | docs/custom.js | threema-danilo/ts-sql-query | eeee8f2c10917df68c1f26992e93ae26317ad2e4 | [
"MIT"
] | 55 | 2019-09-23T16:36:06.000Z | 2022-03-29T12:42:38.000Z | docs/custom.js | threema-danilo/ts-sql-query | eeee8f2c10917df68c1f26992e93ae26317ad2e4 | [
"MIT"
] | 27 | 2020-01-06T16:02:27.000Z | 2022-03-21T10:40:53.000Z | docs/custom.js | threema-danilo/ts-sql-query | eeee8f2c10917df68c1f26992e93ae26317ad2e4 | [
"MIT"
] | 8 | 2020-01-01T21:28:14.000Z | 2021-06-23T06:30:07.000Z | hljs.unregisterLanguage('sql');
hljs.registerAliases('sql', { languageName: 'pgsql' });
hljs.configure({ languages: ['sql', 'ts', 'tsx'] })
hljs.highlightAll(); | 40 | 55 | 0.6875 |
101afd8b2e1a9676943e3ac293362424df24347d | 2,011 | js | JavaScript | src/components/todo/form.js | oebitw/todo | c09d0d375abb7f03bbc9c82249bc5e2b61a8349c | [
"MIT"
] | null | null | null | src/components/todo/form.js | oebitw/todo | c09d0d375abb7f03bbc9c82249bc5e2b61a8349c | [
"MIT"
] | 4 | 2021-06-27T16:07:13.000Z | 2021-07-03T14:08:37.000Z | src/components/todo/form.js | oebitw/todo | c09d0d375abb7f03bbc9c82249bc5e2b61a8349c | [
"MIT"
] | null | null | null | //////////////////////////
//////// Imports ////////
////////////////////////
//==============//
// Dependencies//
//============//
import { useContext } from 'react';
import { Form, Button, Card } from 'react-bootstrap';
//==============//
// Components //
//============//
import useForm from '../../hooks/FormH... | 25.782051 | 74 | 0.465937 |
101b291c8a9b585dea8e24b425e97d93a0c6fb28 | 1,476 | js | JavaScript | nikel/public/js/exemplos.js | elizabethesantos/codai | af440d05243e251e5a1280f40cc56ad8f5b6d52a | [
"MIT"
] | null | null | null | nikel/public/js/exemplos.js | elizabethesantos/codai | af440d05243e251e5a1280f40cc56ad8f5b6d52a | [
"MIT"
] | null | null | null | nikel/public/js/exemplos.js | elizabethesantos/codai | af440d05243e251e5a1280f40cc56ad8f5b6d52a | [
"MIT"
] | null | null | null | const nome = "Elizabeth";
let nome2 = "Elizabeth";
let pessoa = {
nome : "Elizabeth",
idade : "35",
trabalho : "Programador"
}
let nomes = ["maria","pedro","jose"];
let pessoas = [
{
nome : "Elizabeth",
idade : "35",
trabalho : "Programador"
},
{
nome : "maria",
... | 18.45 | 75 | 0.642276 |
101b301effa0b320071fa0f28838af75e74e9861 | 3,613 | js | JavaScript | tests/unit/cli/lookup-command-test.js | rondale-sc/ember-cli | 961ec3668f1dc136206270fb15b51d316e125267 | [
"MIT"
] | 1 | 2021-11-21T12:48:53.000Z | 2021-11-21T12:48:53.000Z | tests/unit/cli/lookup-command-test.js | rondale-sc/ember-cli | 961ec3668f1dc136206270fb15b51d316e125267 | [
"MIT"
] | null | null | null | tests/unit/cli/lookup-command-test.js | rondale-sc/ember-cli | 961ec3668f1dc136206270fb15b51d316e125267 | [
"MIT"
] | null | null | null | 'use strict';
/*jshint expr: true*/
var expect = require('chai').expect;
var lookupCommand = require('../../../lib/cli/lookup-command');
var Command = require('../../../lib/models/command');
var Project = require('../../../lib/models/project');
var MockUI = require('../../helpers/mock-ui');
v... | 26.181159 | 111 | 0.613894 |
101b349f16af2e70d924b24e7cd58c085152ed8b | 10,551 | js | JavaScript | node_modules/scratch-vm/src/extensions/scratch3_urltxt/index.js | estea8968/OSEP | 25a6516b488f890057558146968fad65a27e8b6a | [
"BSD-3-Clause"
] | null | null | null | node_modules/scratch-vm/src/extensions/scratch3_urltxt/index.js | estea8968/OSEP | 25a6516b488f890057558146968fad65a27e8b6a | [
"BSD-3-Clause"
] | null | null | null | node_modules/scratch-vm/src/extensions/scratch3_urltxt/index.js | estea8968/OSEP | 25a6516b488f890057558146968fad65a27e8b6a | [
"BSD-3-Clause"
] | null | null | null | const ArgumentType = require('../../extension-support/argument-type');
const BlockType = require('../../extension-support/block-type');
const msg = require('./translation');
const formatMessage = require('format-message');
const menuIconURI = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAASCAYAAAApH5ymAAAABHNCS... | 36.763066 | 1,945 | 0.537864 |
101bd1c92b3230b572259fe2619c6f927b62ed9f | 383 | js | JavaScript | packages/omim/docs/build/static/js/29.8177ce30.chunk.js | mtonhuang/omi | 39c952a8a73c98acfb3ae29d536abcd9e0e18850 | [
"MIT"
] | 1 | 2019-03-04T03:10:24.000Z | 2019-03-04T03:10:24.000Z | packages/omim/docs/build/static/js/29.8177ce30.chunk.js | mtonhuang/omi | 39c952a8a73c98acfb3ae29d536abcd9e0e18850 | [
"MIT"
] | null | null | null | packages/omim/docs/build/static/js/29.8177ce30.chunk.js | mtonhuang/omi | 39c952a8a73c98acfb3ae29d536abcd9e0e18850 | [
"MIT"
] | null | null | null | webpackJsonp([29],{121:function(n,o){n.exports='## Loading\n\nLoading \u5143\u7d20\uff0c\u62e5\u6709\u591a\u79cd\u8272\u5f69\u548c\u5927\u5c0f\u53ef\u4ee5\u9009\u3002\n\n## \u4f7f\u7528\n\n```html\n<m-loading size="55" color="#2170b8"></m-loading>\n```\n\n## API\n\n### Props\n\n```jsx\n{\n size?: number,\n color?: st... | 191.5 | 337 | 0.686684 |
101bd4023e82f856ea6c0a1d84f79aee68c48481 | 1,131 | js | JavaScript | week6/webClient/config/karma.conf.js | yingding/hca17 | 34bbf6769e2ce2176b83b4cff61a2c9fe602be1f | [
"Apache-2.0"
] | 1 | 2018-04-11T09:44:53.000Z | 2018-04-11T09:44:53.000Z | week6/webClient/config/karma.conf.js | yingding/hca18 | 02c886812fbbb884c999547315186d30710436bc | [
"Apache-2.0"
] | null | null | null | week6/webClient/config/karma.conf.js | yingding/hca18 | 02c886812fbbb884c999547315186d30710436bc | [
"Apache-2.0"
] | null | null | null | var webpackConfig = require('./webpack.test');
module.exports = function (config) {
var _config = {
basePath: '',
frameworks: ['jasmine'],
files: [
{pattern: './config/karma-test-shim.js', watched: false}
],
preprocessors: {
'./config/karma-test-sh... | 26.302326 | 135 | 0.557029 |
101c1b00dcf16ee92c3a18b58ccf196148768d9d | 360 | js | JavaScript | painelProdutos/node_modules/ember-cli-materialize/app/components/materialize-card-panel.js | euvalentina/VCTR-portifolio | 85a18ff8088ae17303df85072c5ae61aa96b6b0b | [
"CC-BY-3.0"
] | null | null | null | painelProdutos/node_modules/ember-cli-materialize/app/components/materialize-card-panel.js | euvalentina/VCTR-portifolio | 85a18ff8088ae17303df85072c5ae61aa96b6b0b | [
"CC-BY-3.0"
] | null | null | null | painelProdutos/node_modules/ember-cli-materialize/app/components/materialize-card-panel.js | euvalentina/VCTR-portifolio | 85a18ff8088ae17303df85072c5ae61aa96b6b0b | [
"CC-BY-3.0"
] | null | null | null | import Ember from 'ember';
import MaterializeCardPanel from './md-card-panel';
export default MaterializeCardPanel.extend({
init() {
this._super(...arguments);
Ember.deprecate("{{materialize-card-panel}} has been deprecated. Please use {{md-card-panel}} instead", false, {url: "https://github.com/sgasser/embe... | 36 | 184 | 0.713889 |
101ca76347f1de55708fa430473903c35702c826 | 14,032 | js | JavaScript | test/r401_test.js | okeefm/cql-exec-fhir | f17566170f352b677f5882b4681c17950c005d72 | [
"Apache-2.0"
] | 1 | 2021-06-23T16:01:37.000Z | 2021-06-23T16:01:37.000Z | src/helpers/cql-exec-fhir/test/r401_test.js | chronic-care/AHRQ-CDS-Connect-PAIN-MANAGEMENT-SUMMARY | 8bf47944c00ff885f1c6ea2b687222d106a88f5d | [
"Apache-2.0"
] | 4 | 2020-07-01T16:57:07.000Z | 2020-11-09T21:52:30.000Z | src/helpers/cql-exec-fhir/test/r401_test.js | chronic-care/AHRQ-CDS-Connect-PAIN-MANAGEMENT-SUMMARY | 8bf47944c00ff885f1c6ea2b687222d106a88f5d | [
"Apache-2.0"
] | 2 | 2020-12-16T16:17:58.000Z | 2020-12-16T16:21:23.000Z | const cql = require('cql-execution');
const cqlfhir = require('../src/index');
const {expect} = require('chai');
const conditionResource = require('./fixtures/r4/Condition_f201.json');
const patientLuna = require('./fixtures/r4/Luna60_McCullough561_6662f0ca-b617-4e02-8f55-7275e9f49aa0.json');
const patientJohnnie = re... | 43.987461 | 175 | 0.67681 |
101d5134adab6edf8003220e310687911489d45f | 111 | js | JavaScript | 03-further-node/start-repl.js | johnehunt/NodejsIntro | 82a1b73492a69e5cae4bb6bea5af4c6619b42d9f | [
"Apache-2.0"
] | 1 | 2020-03-08T11:59:26.000Z | 2020-03-08T11:59:26.000Z | 03-further-node/start-repl.js | johnehunt/NodejsIntro | 82a1b73492a69e5cae4bb6bea5af4c6619b42d9f | [
"Apache-2.0"
] | 3 | 2021-03-03T09:00:38.000Z | 2021-03-24T17:39:39.000Z | 03-further-node/start-repl.js | johnehunt/NodejsIntro | 82a1b73492a69e5cae4bb6bea5af4c6619b42d9f | [
"Apache-2.0"
] | null | null | null | // Access the repl package
const repl = require('repl');
// Start the REPL running
const r = repl.start('> ');
| 22.2 | 29 | 0.666667 |
101d7de171b12c97bb1161a3b7f022d1a6fc2e10 | 18,186 | js | JavaScript | src/command/create.js | D-lyw/Graduation_Project | e81ea7c26cc66fb200bb5a267f015c390a9274d8 | [
"Apache-2.0"
] | 1 | 2020-07-30T08:52:47.000Z | 2020-07-30T08:52:47.000Z | src/command/create.js | D-lyw/Graduation_Project | e81ea7c26cc66fb200bb5a267f015c390a9274d8 | [
"Apache-2.0"
] | null | null | null | src/command/create.js | D-lyw/Graduation_Project | e81ea7c26cc66fb200bb5a267f015c390a9274d8 | [
"Apache-2.0"
] | null | null | null | /**
* command: create
* 创建初始化Lambda函数
*/
const aws = require('aws-sdk')
const path = require('path')
const fs = require('fs')
const fsPromise = fs.promises
const os = require('os')
const retry = require('oh-no-i-insist')
const NullLogger = require('../util/null-logger')
const entityWrap = require('../util/entity-wra... | 31.682927 | 171 | 0.558507 |
101da8d3810d8667168cbc2dbcaf1956c09e53d1 | 1,378 | js | JavaScript | js/styleManipulate.js | etterwin/anonymous-millionare | b07aaaac620cb313a5ac5a6c806efc56c33f51e6 | [
"MIT"
] | null | null | null | js/styleManipulate.js | etterwin/anonymous-millionare | b07aaaac620cb313a5ac5a6c806efc56c33f51e6 | [
"MIT"
] | null | null | null | js/styleManipulate.js | etterwin/anonymous-millionare | b07aaaac620cb313a5ac5a6c806efc56c33f51e6 | [
"MIT"
] | null | null | null | $(document).ready(function() {
let country = navigator.language||navigator.browserLanguage;
if (country === 'th') {
//class
$('html').addClass('font-th');
//text
$('title').text('Anonymous Millionaire');
$('h1.caption').text('ความลับนี้ทำให้ฉันเป็นเศรษฐีใน 60 วัน');
... | 34.45 | 115 | 0.560232 |
101e1856837ef01efd67f2588f13addd8efc0d79 | 92 | js | JavaScript | docs/html/search/groups_1.js | zypeh/utf8rewind | 46dd600a4716f80debbe4bbbe4a5b19daf0e2cb2 | [
"MIT"
] | 5 | 2021-02-07T08:19:59.000Z | 2021-11-18T01:17:01.000Z | docs/html/search/groups_1.js | zypeh/utf8rewind | 46dd600a4716f80debbe4bbbe4a5b19daf0e2cb2 | [
"MIT"
] | 1 | 2020-05-25T08:59:35.000Z | 2020-05-25T14:59:09.000Z | docs/html/search/groups_1.js | zypeh/utf8rewind | 46dd600a4716f80debbe4bbbe4a5b19daf0e2cb2 | [
"MIT"
] | 1 | 2022-03-27T05:53:28.000Z | 2022-03-27T05:53:28.000Z | var searchData=
[
['error_20codes_164',['Error codes',['../group__errors.html',1,'']]]
];
| 18.4 | 70 | 0.630435 |
101e2cdc1888e3f71c04ff37b468782d10b39008 | 292 | js | JavaScript | src/components/Globals/BackgroundSection.js | andyriles/Cake-shop | 22e87b937a386eecf7a3559f4315717e29bd1a8f | [
"RSA-MD"
] | null | null | null | src/components/Globals/BackgroundSection.js | andyriles/Cake-shop | 22e87b937a386eecf7a3559f4315717e29bd1a8f | [
"RSA-MD"
] | null | null | null | src/components/Globals/BackgroundSection.js | andyriles/Cake-shop | 22e87b937a386eecf7a3559f4315717e29bd1a8f | [
"RSA-MD"
] | null | null | null | import React from "react"
import BackgroundImage from "gatsby-background-image"
function BackgroundSection({ img, styleClass, title }) {
return (
<BackgroundImage fluid={img} className={styleClass}>
<h1>{title}</h1>
</BackgroundImage>
)
}
export default BackgroundSection
| 22.461538 | 56 | 0.722603 |
101ea6da1be974f15ed90df3cc3e3bd2f945de76 | 1,050 | js | JavaScript | data/js/00/02/a3/00/00/00.24.js | hdm/mac-tracker | 69f0c4efaa3d60111001d40f7a33886cc507e742 | [
"CC-BY-4.0",
"MIT"
] | null | null | null | data/js/00/02/a3/00/00/00.24.js | hdm/mac-tracker | 69f0c4efaa3d60111001d40f7a33886cc507e742 | [
"CC-BY-4.0",
"MIT"
] | null | null | null | data/js/00/02/a3/00/00/00.24.js | hdm/mac-tracker | 69f0c4efaa3d60111001d40f7a33886cc507e742 | [
"CC-BY-4.0",
"MIT"
] | null | null | null | macDetailCallback("0002a3000000/24",[{"d":"2000-09-08","t":"add","a":"Bahnhofstrasse\nCH-5300 Turgi\n\n","c":"SWITZERLAND","o":"ABB Power Automation"},{"d":"2002-06-05","t":"change","a":"Bahnhofstrasse\nCH-5300 Turgi\nSWITZERLAND\n","c":"SWITZERLAND","o":"ABB Power Automation"},{"d":"2004-10-26","t":"change","a":"Bahnh... | 525 | 1,049 | 0.659048 |
101eedc4e217a28892e42603f488841c232ca2bd | 317,986 | js | JavaScript | public/scripts/main.min.js | tylerwalters/maggie-gallery | cfa896fb9694d969e5e6d41b6bd374572619f8ee | [
"MIT"
] | 2 | 2015-08-17T03:40:50.000Z | 2020-02-27T21:29:49.000Z | public/scripts/main.min.js | tylerwalters/maggie-gallery | cfa896fb9694d969e5e6d41b6bd374572619f8ee | [
"MIT"
] | null | null | null | public/scripts/main.min.js | tylerwalters/maggie-gallery | cfa896fb9694d969e5e6d41b6bd374572619f8ee | [
"MIT"
] | null | null | null | !function t(e,n,r){function o(a,s){if(!n[a]){if(!e[a]){var u="function"==typeof require&&require;if(!s&&u)return u(a,!0);if(i)return i(a,!0);var c=new Error("Cannot find module '"+a+"'");throw c.code="MODULE_NOT_FOUND",c}var l=n[a]={exports:{}};e[a][0].call(l.exports,function(t){var n=e[a][1][t];return o(n?n:t)},l,l.ex... | 22,713.285714 | 32,260 | 0.712594 |
101f94a44e0d690008641c2c109bf75465d7683b | 403 | js | JavaScript | src/repositories/Cupom.js | Bratech-BR/emporio | 0a05f3cb0016d66adbc467242b0ffad6b4431d72 | [
"MIT"
] | 1 | 2022-01-25T02:58:24.000Z | 2022-01-25T02:58:24.000Z | src/repositories/Cupom.js | Bratech-BR/emporio | 0a05f3cb0016d66adbc467242b0ffad6b4431d72 | [
"MIT"
] | 19 | 2020-04-24T11:41:38.000Z | 2021-05-26T21:49:15.000Z | src/repositories/Cupom.js | Bratech-BR/emporio | 0a05f3cb0016d66adbc467242b0ffad6b4431d72 | [
"MIT"
] | 1 | 2022-03-28T19:17:52.000Z | 2022-03-28T19:17:52.000Z | import { Repository, createRepository } from '@/repositories/Base/Repository'
class CupomRepository extends Repository {
endpoint = 'cupom'
fetchTipos () {
return this.$axios.get(`${this.endpoint}/tipos`)
}
valida(params) {
return this.$axios.post(`${this.endpoint}/valida`, params)
}
}
export defa... | 22.388889 | 77 | 0.722084 |
101fae35c1eb35606906da76007e1dd9ab0636a9 | 643 | js | JavaScript | dist/transformers/transformer/dictionary.transformer.js | anowrot/Kakunin | 40432f26c4bc89971ef887605aaca612bae6912e | [
"MIT"
] | null | null | null | dist/transformers/transformer/dictionary.transformer.js | anowrot/Kakunin | 40432f26c4bc89971ef887605aaca612bae6912e | [
"MIT"
] | null | null | null | dist/transformers/transformer/dictionary.transformer.js | anowrot/Kakunin | 40432f26c4bc89971ef887605aaca612bae6912e | [
"MIT"
] | null | null | null | 'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.createDictionaryTransformer = undefined;
var _dictionaries = require('../../dictionaries');
class DictionaryTransformer {
constructor(dictionaries) {
this.dictionaries = dictionaries;
}
isSatisfiedBy(prefix) {
retur... | 26.791667 | 147 | 0.735614 |
10201508ab97d8158256c24de1776547a4b50643 | 5,895 | js | JavaScript | seller/assets/site_assets/js/components/hs.fancybox.js | 9xm/eshop | 76efb12e3c3ee2bc9489c2f334fd3cc58a1057cd | [
"MIT"
] | null | null | null | seller/assets/site_assets/js/components/hs.fancybox.js | 9xm/eshop | 76efb12e3c3ee2bc9489c2f334fd3cc58a1057cd | [
"MIT"
] | null | null | null | seller/assets/site_assets/js/components/hs.fancybox.js | 9xm/eshop | 76efb12e3c3ee2bc9489c2f334fd3cc58a1057cd | [
"MIT"
] | null | null | null | /**
* Fancybox wrapper.
*
* @author Htmlstream
* @version 1.0
* @requires
*
*/
;
(function ($) {
'use strict';
$.HSCore.components.HSFancyBox = {
/**
*
*
* @var Object _baseConfig
*/
_baseConfig: {
parentEl: 'html',
baseClass: 'u-fancybox-theme',
... | 32.39011 | 116 | 0.542154 |
10207ceca86d98b5624c683896f4091e555ef65a | 6,235 | js | JavaScript | js/ui/list/ui.list.edit.decorator.selection.js | RomanTsukanov/DevExtreme | 9e268cf6eed550dbe82cff13a619fcd6e3c3a54e | [
"Apache-2.0"
] | null | null | null | js/ui/list/ui.list.edit.decorator.selection.js | RomanTsukanov/DevExtreme | 9e268cf6eed550dbe82cff13a619fcd6e3c3a54e | [
"Apache-2.0"
] | null | null | null | js/ui/list/ui.list.edit.decorator.selection.js | RomanTsukanov/DevExtreme | 9e268cf6eed550dbe82cff13a619fcd6e3c3a54e | [
"Apache-2.0"
] | null | null | null | "use strict";
var $ = require("jquery"),
clickEvent = require("../../events/click"),
CheckBox = require("../check_box"),
RadioButton = require("../radio_group/radio_button"),
eventUtils = require("../../events/utils"),
registerDecorator = require("./ui.list.edit.decorator_registry").register,
E... | 35.426136 | 128 | 0.593745 |
10209b65849b92a2001198588584500850be12ad | 1,389 | js | JavaScript | assets/javascript/game.js | gregoryjmckenzie7/Psychic-Game | fb40aca1a0f8f316c2e909c6a97c5c5451df65cd | [
"MIT"
] | null | null | null | assets/javascript/game.js | gregoryjmckenzie7/Psychic-Game | fb40aca1a0f8f316c2e909c6a97c5c5451df65cd | [
"MIT"
] | null | null | null | assets/javascript/game.js | gregoryjmckenzie7/Psychic-Game | fb40aca1a0f8f316c2e909c6a97c5c5451df65cd | [
"MIT"
] | null | null | null | var computerOptions = ["a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z"];
var wins = 0;
var losses = 0;
var guessesLeft = 9;
var guessesSoFar = [];
var userGuess = null;
var letterToBeGuessed = computerOptions[Math.floor(Math.random() * c... | 35.615385 | 258 | 0.631389 |
1020bfb9e7ee52a0a3bc12a8ff9570f14c276d07 | 30,937 | js | JavaScript | bkpsiteantigo/vtigercrm/libraries/jquery/gantt/ganttMaster.js | renatoads1/mobytel | 8667d84f114a5de35313c0a7b98e61db2ce87271 | [
"MIT"
] | null | null | null | bkpsiteantigo/vtigercrm/libraries/jquery/gantt/ganttMaster.js | renatoads1/mobytel | 8667d84f114a5de35313c0a7b98e61db2ce87271 | [
"MIT"
] | null | null | null | bkpsiteantigo/vtigercrm/libraries/jquery/gantt/ganttMaster.js | renatoads1/mobytel | 8667d84f114a5de35313c0a7b98e61db2ce87271 | [
"MIT"
] | null | null | null | /*
Copyright (c) 2012-2014 Open Lab
Written by Roberto Bicchierai and Silvia Chelazzi http://roberto.open-lab.com
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including... | 28.330586 | 167 | 0.631962 |
1020eee6a1432b4f7a0e6ab231a8ca1f52868f93 | 1,667 | js | JavaScript | gulpfile.js | robertgarcia/template-university | ba424a4b014467c0e069886bd0668e6e80196cd4 | [
"Apache-2.0"
] | null | null | null | gulpfile.js | robertgarcia/template-university | ba424a4b014467c0e069886bd0668e6e80196cd4 | [
"Apache-2.0"
] | 4 | 2021-03-09T12:16:44.000Z | 2021-05-10T02:20:25.000Z | gulpfile.js | robertgarcia/template-university | ba424a4b014467c0e069886bd0668e6e80196cd4 | [
"Apache-2.0"
] | null | null | null | var gulp = require('gulp'),
settings = require('./settings'),
webpack = require('webpack'),
browserSync = require('browser-sync').create(),
postcss = require('gulp-postcss'),
rgba = require('postcss-hexrgba'),
autoprefixer = require('autoprefixer'),
cssvars = require('postcss-simple-vars'),
nested = require('postcss-ne... | 30.87037 | 134 | 0.676065 |
102107fe401c3fc9b0f8d8177846a7d9cbbfa13d | 94 | js | JavaScript | src/gatsby-theme-blog/gatsby-plugin-theme-ui/typography.js | RobRuizR/typedgames.dev | 01777bf80d50dab155516f3b0847e95a22598c3b | [
"MIT"
] | null | null | null | src/gatsby-theme-blog/gatsby-plugin-theme-ui/typography.js | RobRuizR/typedgames.dev | 01777bf80d50dab155516f3b0847e95a22598c3b | [
"MIT"
] | null | null | null | src/gatsby-theme-blog/gatsby-plugin-theme-ui/typography.js | RobRuizR/typedgames.dev | 01777bf80d50dab155516f3b0847e95a22598c3b | [
"MIT"
] | null | null | null | import typography from "../../gatsby-plugin-theme-ui/typography";
export default typography;
| 23.5 | 65 | 0.765957 |
102157f39930381f961e6f0e8223de641df5186e | 8,157 | js | JavaScript | app/static/script/app/overrides/gxp/script/widgets/form/AutoCompleteComboBox.js | zaanstad/ZaanAtlas | 3bfef7c6007224e8ca40e15a5dc2a4bfd0c5d518 | [
"BSD-3-Clause"
] | null | null | null | app/static/script/app/overrides/gxp/script/widgets/form/AutoCompleteComboBox.js | zaanstad/ZaanAtlas | 3bfef7c6007224e8ca40e15a5dc2a4bfd0c5d518 | [
"BSD-3-Clause"
] | 1 | 2015-12-03T13:03:44.000Z | 2015-12-03T13:03:44.000Z | app/static/script/app/overrides/gxp/script/widgets/form/AutoCompleteComboBox.js | zaanstad/ZaanAtlas | 3bfef7c6007224e8ca40e15a5dc2a4bfd0c5d518 | [
"BSD-3-Clause"
] | 4 | 2015-09-07T23:24:30.000Z | 2018-12-23T19:37:22.000Z | /**
* Copyright (c) 2008-2011 The Open Planning Project
*
* Published under the GPL license.
* See https://github.com/opengeo/gxp/raw/master/license.txt for the full text
* of the license.
*/
/**
* Reasons for override: Add outputFormat option to make JSON support available
*/
/**
* @include data/AutoCompl... | 33.024291 | 118 | 0.555351 |
10219f59b3b74ee4a5fbb87ce6d7946c31406230 | 301 | js | JavaScript | wxgh-jssdk/config.js | xuedingmiaojun/koa-demo | aca87607bcbce5415edf1e3cbdaf60bb30f2ed34 | [
"MIT"
] | null | null | null | wxgh-jssdk/config.js | xuedingmiaojun/koa-demo | aca87607bcbce5415edf1e3cbdaf60bb30f2ed34 | [
"MIT"
] | 16 | 2021-03-02T01:36:31.000Z | 2022-03-08T23:36:40.000Z | wxgh-jssdk/config.js | xuedingmiaojun/koa-demo | aca87607bcbce5415edf1e3cbdaf60bb30f2ed34 | [
"MIT"
] | 2 | 2021-12-27T07:12:29.000Z | 2022-02-07T04:51:45.000Z | module.exports = {
grant_type: 'client_credential',
appid: 'wx36963a5a84d5ca4d',
secret: '',
noncestr: 'Wm3WZYTPz0wzccnW',
accessTokenUrl: 'https://api.weixin.qq.com/cgi-bin/token',
ticketUrl: 'https://api.weixin.qq.com/cgi-bin/ticket/getticket',
cache_duration: 1000 * 60 * 60 * 24,
};
| 30.1 | 66 | 0.697674 |
10223269f2a6fe01bc21bee0ab08c9c5a95b49c2 | 10,788 | js | JavaScript | packages/boba/gateway/src/containers/modals/exit/steps/DoExitStepFast.js | gamedazed/optimism-v2 | 11c35fac814801d7c89e9615fe4c2048c09e907f | [
"MIT"
] | null | null | null | packages/boba/gateway/src/containers/modals/exit/steps/DoExitStepFast.js | gamedazed/optimism-v2 | 11c35fac814801d7c89e9615fe4c2048c09e907f | [
"MIT"
] | null | null | null | packages/boba/gateway/src/containers/modals/exit/steps/DoExitStepFast.js | gamedazed/optimism-v2 | 11c35fac814801d7c89e9615fe4c2048c09e907f | [
"MIT"
] | null | null | null | /*
Copyright 2019-present OmiseGO Pte Ltd
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 in writing,... | 32.592145 | 150 | 0.618558 |
1022906918a91c4d87568663f1433f17f0f79ce3 | 976 | js | JavaScript | lib/WarnCaseSensitiveModulesPlugin.js | joshunger/webpack | 0e1f9c637ca4c539ade26316e8c1261090efff21 | [
"MIT"
] | null | null | null | lib/WarnCaseSensitiveModulesPlugin.js | joshunger/webpack | 0e1f9c637ca4c539ade26316e8c1261090efff21 | [
"MIT"
] | null | null | null | lib/WarnCaseSensitiveModulesPlugin.js | joshunger/webpack | 0e1f9c637ca4c539ade26316e8c1261090efff21 | [
"MIT"
] | null | null | null | /*
MIT License http://www.opensource.org/licenses/mit-license.php
Author Tobias Koppers @sokra
*/
"use strict";
const CaseSensitiveModulesWarning = require("./CaseSensitiveModulesWarning");
class WarnCaseSensitiveModulesPlugin {
apply(compiler) {
compiler.hooks.compilation.tap("WarnCaseSensitiveModulesPlugin", (... | 28.705882 | 85 | 0.702869 |
102296c285a394ccffcd1e2cc2045ed228f24214 | 865 | js | JavaScript | auth/authenticate.js | tabless-thursday-4-15-2019/Backend-Itel | 467bb18aa16e69dd4c4f6a3c3c8c122b99a5af30 | [
"MIT"
] | null | null | null | auth/authenticate.js | tabless-thursday-4-15-2019/Backend-Itel | 467bb18aa16e69dd4c4f6a3c3c8c122b99a5af30 | [
"MIT"
] | null | null | null | auth/authenticate.js | tabless-thursday-4-15-2019/Backend-Itel | 467bb18aa16e69dd4c4f6a3c3c8c122b99a5af30 | [
"MIT"
] | null | null | null | const jwt = require('jsonwebtoken');
//const jwtKey = process.env.JWT_SECRET;
module.exports = {
authenticate,
generateToken
};
// implementation details
function authenticate(req, res, next) {
const token = req.get('Authorization');
if (token) {
jwt.verify(token, process.env.JWT_SECRET, (err, decoded... | 20.595238 | 97 | 0.62659 |
1022a36e0043db2e8e1760b9ce8dbfb1dbf7603a | 1,322 | js | JavaScript | ExpressJS Fundamentals/02.Web Server and Development Tools/MovieDB/handlers/detailsMovie.js | MartinValchevv/JS-Web-2019 | 10ac7f30f0fa7d1b7567ec8c6dd3352b766ed24d | [
"MIT"
] | null | null | null | ExpressJS Fundamentals/02.Web Server and Development Tools/MovieDB/handlers/detailsMovie.js | MartinValchevv/JS-Web-2019 | 10ac7f30f0fa7d1b7567ec8c6dd3352b766ed24d | [
"MIT"
] | null | null | null | ExpressJS Fundamentals/02.Web Server and Development Tools/MovieDB/handlers/detailsMovie.js | MartinValchevv/JS-Web-2019 | 10ac7f30f0fa7d1b7567ec8c6dd3352b766ed24d | [
"MIT"
] | null | null | null | const fs = require('fs');
const path = require('path');
const qs = require('querystring');
let database = require('../config/dataBase');
module.exports = (req, res) => {
if (req.path.startsWith('/movies/details')) {
let idMovie = +req.path.split('/')[3];
for (let movie of database) {
if... | 34.789474 | 91 | 0.403933 |
1022d7e03174af044d6ff83db844dcc8693f0336 | 445 | js | JavaScript | app/src/scripts/user/profile_user/education.fix/educationFix.state.js | HuynhHungManh/Capstone1 | e1f80289254f47187bd64ba27526eacc87d25e3b | [
"MIT"
] | null | null | null | app/src/scripts/user/profile_user/education.fix/educationFix.state.js | HuynhHungManh/Capstone1 | e1f80289254f47187bd64ba27526eacc87d25e3b | [
"MIT"
] | null | null | null | app/src/scripts/user/profile_user/education.fix/educationFix.state.js | HuynhHungManh/Capstone1 | e1f80289254f47187bd64ba27526eacc87d25e3b | [
"MIT"
] | null | null | null |
angular.module('myApp')
.config(function ($stateProvider) {
$stateProvider.state('education', {
url: '/education/username=:username',
parent: 'site',
views: {
'content@':{
templateUrl: 'src/scripts/user/profile_user/education.fix/educa... | 31.785714 | 97 | 0.494382 |
102436904cda291a20cdc01cdec2b4198e915d5f | 3,843 | js | JavaScript | service-worker.js | sachink23/crop-insurance-calculator | 46dd250ec70a4cb20eaae5028dd9918b6e02fb41 | [
"MIT"
] | null | null | null | service-worker.js | sachink23/crop-insurance-calculator | 46dd250ec70a4cb20eaae5028dd9918b6e02fb41 | [
"MIT"
] | null | null | null | service-worker.js | sachink23/crop-insurance-calculator | 46dd250ec70a4cb20eaae5028dd9918b6e02fb41 | [
"MIT"
] | null | null | null | const cacheName = 'crop-ins-cal-1.0.1';
const startPage = '/?utm_source=pwa';
const offlinePage = '/ofline.html';
const filesToCache = [startPage, offlinePage, '/PikvimaCalculator/', '/PikvimaCalculator', '/affiliate/','/PikvimaCalculator/Jalna/','/PikvimaCalculator/assets/js/script.js','/PikvimaCalculator/Jalna/assets... | 38.818182 | 1,353 | 0.697112 |
102469d0b01ba1f1c68b1c9c67633132c5b49e2e | 549 | js | JavaScript | apps/website/tasks/config/uglify.js | prateekbhatt/userjoy | 7b281a854f44cb51f56ab3d4b21e27049eb3ec72 | [
"MIT"
] | 3 | 2015-04-27T12:30:09.000Z | 2017-02-17T18:56:38.000Z | apps/website/tasks/config/uglify.js | prateekbhatt/userjoy | 7b281a854f44cb51f56ab3d4b21e27049eb3ec72 | [
"MIT"
] | null | null | null | apps/website/tasks/config/uglify.js | prateekbhatt/userjoy | 7b281a854f44cb51f56ab3d4b21e27049eb3ec72 | [
"MIT"
] | 3 | 2015-11-13T05:24:51.000Z | 2020-05-12T19:09:58.000Z | /**
* Minify files with UglifyJS.
*
* ---------------------------------------------------------------
*
* Minifies client-side javascript `assets`.
*
* For usage docs see:
* https://github.com/gruntjs/grunt-contrib-uglify
*
*/
module.exports = function (grunt) {
grunt.config.set('uglify', {
options:... | 20.333333 | 66 | 0.519126 |
102470134eb815d4a017380bb4850e484c3ce97d | 134 | js | JavaScript | lib/cli/generators/templates/middlewares/dynamic_helpers.js | dreamerslab/coke | ae802b5b9e96b3a1ce5814d727e818afabd1a705 | [
"MIT",
"Unlicense"
] | 30 | 2015-01-08T00:31:17.000Z | 2022-01-07T10:01:11.000Z | lib/cli/generators/templates/middlewares/dynamic_helpers.js | dreamerslab/coke | ae802b5b9e96b3a1ce5814d727e818afabd1a705 | [
"MIT",
"Unlicense"
] | null | null | null | lib/cli/generators/templates/middlewares/dynamic_helpers.js | dreamerslab/coke | ae802b5b9e96b3a1ce5814d727e818afabd1a705 | [
"MIT",
"Unlicense"
] | 3 | 2015-05-06T07:15:52.000Z | 2016-11-11T17:26:18.000Z | module.exports = function ( req, res, next ){
res.locals.styles = [ 'common' ];
res.locals.scripts = [ 'common' ];
next();
};
| 19.142857 | 45 | 0.58209 |
1024a729826b69457eee05544992fa6b6c3ca18a | 95,592 | js | JavaScript | src/jquery/jquery/plugins/jquery.layout.js | kosmas58/compass-jquery-plugin | 110237f9ff80cbc481d32b1d8e88280a4ca84309 | [
"MIT"
] | 3 | 2015-10-20T09:20:46.000Z | 2019-06-12T19:52:25.000Z | templates/jquery/jquery.layout.js | kosmas58/compass-jquery-plugin | 110237f9ff80cbc481d32b1d8e88280a4ca84309 | [
"MIT"
] | null | null | null | templates/jquery/jquery.layout.js | kosmas58/compass-jquery-plugin | 110237f9ff80cbc481d32b1d8e88280a4ca84309 | [
"MIT"
] | null | null | null | /*
* jquery.layout 1.2.0
*
* Copyright (c) 2008
* Fabrizio Balliano (http://www.fabrizioballiano.net)
* Kevin Dalman (http://allpro.net)
*
* Dual licensed under the GPL (http://www.gnu.org/licenses/gpl.html)
* and MIT (http://www.opensource.org/licenses/mit-license.php) licenses.
*
* $Date: 2008-12-27 02... | 37.340625 | 171 | 0.516759 |
1024a9a2a4e20547c728cf5f84ae17975a22d4c9 | 709 | js | JavaScript | demos/ids-checkbox/example.js | whernebrink/enterprise-wc | f8a3d5bfa4c8fc7a70b7f1de599fbd82b54c5a38 | [
"Apache-2.0"
] | 13 | 2020-10-13T19:00:22.000Z | 2021-09-30T04:12:07.000Z | demos/ids-checkbox/example.js | whernebrink/enterprise-wc | f8a3d5bfa4c8fc7a70b7f1de599fbd82b54c5a38 | [
"Apache-2.0"
] | 487 | 2020-07-22T17:43:46.000Z | 2022-03-31T19:58:19.000Z | demos/ids-checkbox/example.js | corpulent/enterprise-wc | 0527b7727f2b3a2632bbc811c93a7cae1de2c29b | [
"Apache-2.0"
] | 7 | 2021-03-04T01:44:45.000Z | 2021-11-18T08:08:21.000Z | // Supporting components
import IdsButton from '../../src/components/ids-button';
import IdsLayoutGrid from '../../src/components/ids-layout-grid';
document.addEventListener('DOMContentLoaded', () => {
const btnSetIndeterminate = document.querySelector('#btn-set-indeterminate');
const btnRemoveIndeterminate = docu... | 35.45 | 85 | 0.737659 |
1024b3a6c4008b239753f9be1cb14aae965894d6 | 2,692 | js | JavaScript | next.config.js | DaneTheory/next-with-moxy | 7fbd99e92fdf5d10751da62fbd0399ec09a66b08 | [
"MIT"
] | null | null | null | next.config.js | DaneTheory/next-with-moxy | 7fbd99e92fdf5d10751da62fbd0399ec09a66b08 | [
"MIT"
] | 1 | 2021-12-09T05:57:29.000Z | 2021-12-09T05:57:29.000Z | next.config.js | DaneTheory/next-with-moxy | 7fbd99e92fdf5d10751da62fbd0399ec09a66b08 | [
"MIT"
] | null | null | null | 'use strict';
const { withRasterImages, withPlayback, withSVG, withFonts, with3D } = require('@moxy/next-common-files');
const withOneOf = require('@moxy/next-webpack-oneof');
const withCompileNodeModules = require('@moxy/next-compile-node-modules');
const withNextIntl = require('@moxy/next-intl/plugin');
const withPl... | 29.582418 | 108 | 0.529346 |
10260c8e5b5eacc7aa2aa389909806c6dd83ffde | 4,333 | js | JavaScript | src/anol/layer/gml.js | MrSnyder/anol | 2ede6686cd834cf0ebe6642a7a987a767a019984 | [
"MIT"
] | 6 | 2015-03-16T06:29:21.000Z | 2021-04-09T10:45:19.000Z | src/anol/layer/gml.js | MrSnyder/anol | 2ede6686cd834cf0ebe6642a7a987a767a019984 | [
"MIT"
] | 7 | 2021-04-01T14:45:51.000Z | 2022-03-17T09:20:01.000Z | src/anol/layer/gml.js | MrSnyder/anol | 2ede6686cd834cf0ebe6642a7a987a767a019984 | [
"MIT"
] | 8 | 2015-01-12T08:15:08.000Z | 2021-02-17T10:22:30.000Z | /**
* @ngdoc object
* @name anol.layer.StaticGeoJSON
*
* @param {Object} options AnOl Layer options
* @param {Object} options.olLayer Options for ol.layer.Vector
* @param {Object} options.olLayer.source Options for ol.source.Vector
* @param {Object} options.olLayer.source.url Url to GeoJSON
* @param {String} op... | 32.578947 | 97 | 0.484883 |
1026214184f1f57f947defeb1c4e7bb267248f5c | 6,488 | js | JavaScript | app/libs/leaflet-mapbox-gl.js | hotosm/osm-analytics-fsp | b7cb48b8c4026fd59952a5df3c29e2b0c9ce93b3 | [
"BSD-3-Clause"
] | null | null | null | app/libs/leaflet-mapbox-gl.js | hotosm/osm-analytics-fsp | b7cb48b8c4026fd59952a5df3c29e2b0c9ce93b3 | [
"BSD-3-Clause"
] | 27 | 2017-06-07T05:57:22.000Z | 2017-09-13T11:03:46.000Z | app/libs/leaflet-mapbox-gl.js | hotosm/osm-analytics-fsp | b7cb48b8c4026fd59952a5df3c29e2b0c9ce93b3 | [
"BSD-3-Clause"
] | 1 | 2017-07-21T11:18:44.000Z | 2017-07-21T11:18:44.000Z | L.MapboxGL = L.Layer.extend({
options: {
updateInterval: 32
},
initialize: function (options) {
L.setOptions(this, options);
if (options.accessToken) {
mapboxgl.accessToken = options.accessToken;
} else {
//throw new Error('You should provide a Mapbox ... | 31.495146 | 118 | 0.563039 |
1026834631e8d532aa184e09cc600d516665d10a | 1,499 | js | JavaScript | src/spawn-promise.js | koush/windows-installer | b1889fa55a126598e286357a9e70831f7c1b04a1 | [
"MIT"
] | 4 | 2016-09-26T03:50:01.000Z | 2019-01-24T07:20:40.000Z | src/spawn-promise.js | koush/windows-installer | b1889fa55a126598e286357a9e70831f7c1b04a1 | [
"MIT"
] | null | null | null | src/spawn-promise.js | koush/windows-installer | b1889fa55a126598e286357a9e70831f7c1b04a1 | [
"MIT"
] | 3 | 2016-12-03T05:26:26.000Z | 2019-11-06T14:02:56.000Z | import { Promise } from 'bluebird';
import { spawn as spawnOg, execFile } from 'child_process';
const debug = require('debug')('electron-windows-installer');
// Public: Maps a process's output into an {Observable}
//
// exe - The program to execute
// params - Arguments passed to the process
//
// Returns an {Observa... | 27.759259 | 109 | 0.566378 |
10268af2ea0d7020607ce36fbe4155250f5ff22c | 17,744 | js | JavaScript | AlarmAppDemo/node_modules/sparqlee/dist/lib/functions/RegularFunctions.js | avatar-use-cases/CCO-LD-Avatar | ec98761657245e9ef33afce5caa3b107209c36e0 | [
"Apache-2.0"
] | null | null | null | AlarmAppDemo/node_modules/sparqlee/dist/lib/functions/RegularFunctions.js | avatar-use-cases/CCO-LD-Avatar | ec98761657245e9ef33afce5caa3b107209c36e0 | [
"Apache-2.0"
] | 1 | 2022-03-08T21:14:28.000Z | 2022-03-08T21:14:28.000Z | AlarmAppDemo/node_modules/sparqlee/dist/lib/functions/RegularFunctions.js | avatar-use-cases/CCO-LD-Avatar | ec98761657245e9ef33afce5caa3b107209c36e0 | [
"Apache-2.0"
] | null | null | null | "use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const RDFDM = require("@rdfjs/data-model");
const hash = require("create-hash");
const uuid = require("uuid");
const immutable_1 = require("immutable");
const E = require("../expressions");
const C = require("../util/Consts");
const Err = requ... | 33.669829 | 114 | 0.52615 |