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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
4aea600dfeb2ef0f26a9a61102a0b814034b13d2 | 3,867 | js | JavaScript | src/themes/fonts.js | Pokesi/tohu-frontend | 8216f9994c70be55abaebc2c1d06602c9e65c225 | [
"MIT"
] | null | null | null | src/themes/fonts.js | Pokesi/tohu-frontend | 8216f9994c70be55abaebc2c1d06602c9e65c225 | [
"MIT"
] | 7 | 2022-03-11T04:51:00.000Z | 2022-03-28T04:54:41.000Z | src/themes/fonts.js | Pokesi/tohu-frontend | 8216f9994c70be55abaebc2c1d06602c9e65c225 | [
"MIT"
] | 1 | 2022-03-10T02:44:45.000Z | 2022-03-10T02:44:45.000Z | import SquareWOFF from "../assets/fonts/Inconsolata-Regular.ttf";
import SquareBoldWOFF from "../assets/fonts/Inconsolata-Bold.ttf";
import SquareSemiBoldWOFF from "../assets/fonts/Inconsolata-SemiBold.ttf";
import SquareItalicWOFF from "../assets/fonts/Inconsolata-Regular.ttf";
import SquareLightWOFF from "../assets/f... | 23.87037 | 157 | 0.696923 |
4aea804a11fa445fd2b1555c4714e29fba1e6350 | 5,252 | js | JavaScript | dist/api/auth/auth.controller.js | june2/talk-server | 4f7fd88f9f5551c021b3f6bb5a1fab98e383ebf1 | [
"MIT"
] | 1 | 2019-08-13T16:07:30.000Z | 2019-08-13T16:07:30.000Z | dist/api/auth/auth.controller.js | june2/talk-server | 4f7fd88f9f5551c021b3f6bb5a1fab98e383ebf1 | [
"MIT"
] | 4 | 2020-09-06T12:14:30.000Z | 2022-01-22T08:11:24.000Z | dist/api/auth/auth.controller.js | june2/talk-server | 4f7fd88f9f5551c021b3f6bb5a1fab98e383ebf1 | [
"MIT"
] | null | null | null | "use strict";
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Refl... | 46.477876 | 151 | 0.632711 |
4aea9ba6c0bda18292c1934035f3033f57df99bd | 335 | js | JavaScript | src/utils/index.js | arielerv/hero-journey-be | 952cb63c994e55ca4348397848293f8b25bef35f | [
"MIT"
] | 1 | 2021-04-01T23:34:02.000Z | 2021-04-01T23:34:02.000Z | src/utils/index.js | arielerv/hero-journey-be | 952cb63c994e55ca4348397848293f8b25bef35f | [
"MIT"
] | null | null | null | src/utils/index.js | arielerv/hero-journey-be | 952cb63c994e55ca4348397848293f8b25bef35f | [
"MIT"
] | null | null | null | const { getOffset, getPageSize } = require('./getOffset');
const validate = require('./validate');
const validateJWT = require('./validateJWT');
const createJWT = require('./createJWT');
const rename = require('./rename');
module.exports = {
getOffset,
getPageSize,
rename,
validate,
validateJWT,
... | 22.333333 | 58 | 0.668657 |
4aed0dd8842a3a85e8d2f0110c0ed745ab25e3b0 | 1,740 | js | JavaScript | functions/Attribute/AuthManager.js | stories2/Firebase-Google-Drive | da3ccf0ec5c0231a7ed8765d14f86a1dd324570c | [
"MIT"
] | 1 | 2021-02-03T15:59:37.000Z | 2021-02-03T15:59:37.000Z | functions/Attribute/AuthManager.js | stories2/Firebase-Google-Drive | da3ccf0ec5c0231a7ed8765d14f86a1dd324570c | [
"MIT"
] | null | null | null | functions/Attribute/AuthManager.js | stories2/Firebase-Google-Drive | da3ccf0ec5c0231a7ed8765d14f86a1dd324570c | [
"MIT"
] | null | null | null | exports.verifyAuthToken = function(request, response, next) {
var responseManager = require('../Utils/ResponseManager')
const admin = global.admin
try {
token = request.get('Authorization')
admin.auth().verifyIdToken(token)
.then(function (decodedToken) {
global.... | 47.027027 | 122 | 0.560345 |
4aed7e7c24de7bec34117603e42c8056c0d3cc58 | 229 | js | JavaScript | dist/styles/rem.js | dfds-frontend/react-components | 51e62edce56d16a63f5bf936b4c044f145c9f015 | [
"Unlicense"
] | 2 | 2019-01-07T11:13:08.000Z | 2019-01-28T12:57:29.000Z | dist/styles/rem.js | dfds-frontend/react-components | 51e62edce56d16a63f5bf936b4c044f145c9f015 | [
"Unlicense"
] | null | null | null | dist/styles/rem.js | dfds-frontend/react-components | 51e62edce56d16a63f5bf936b4c044f145c9f015 | [
"Unlicense"
] | null | null | null | // replacement for the rem function from polished
export var rem = function rem(targetPixelValue) {
var base = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 16;
return targetPixelValue / base + 'rem';
}; | 45.8 | 84 | 0.707424 |
4aede2ce93ade477849c629a5dd15ed3ba0f390d | 348 | js | JavaScript | spoopy-site/src/components/centerLoading.js | SpoopySite/spoopy-python | da68e454eee2a242e3df2ae8ef31bf1e50da571b | [
"MIT"
] | 1 | 2020-01-27T17:42:30.000Z | 2020-01-27T17:42:30.000Z | spoopy-site/src/components/centerLoading.js | SpoopySite/spoopy-python | da68e454eee2a242e3df2ae8ef31bf1e50da571b | [
"MIT"
] | 59 | 2021-11-17T08:21:59.000Z | 2022-03-29T08:29:55.000Z | spoopy-site/src/components/centerLoading.js | SpoopySite/SpoopySite | da68e454eee2a242e3df2ae8ef31bf1e50da571b | [
"MIT"
] | 3 | 2020-01-26T23:19:24.000Z | 2021-09-25T07:07:59.000Z | import React from "react";
import { CircularProgress } from "@mui/material";
import { styled } from "@mui/system";
const StyledDiv = styled("div")({
loading: {
position: "absolute",
left: "50%",
top: "40%"
}
})
export default function CenterLoading() {
return (
<StyledDiv>
<CircularProgres... | 17.4 | 49 | 0.612069 |
dbe042c4ae359aa46d3b9272810b5f2c9c49a76d | 437 | js | JavaScript | lib/util/Cursor.js | stdevi/diagram-js | dd379faa3ec5358158a00e7dd5e50b31f9fed54e | [
"MIT"
] | 1,156 | 2015-01-07T01:02:22.000Z | 2022-03-29T04:12:41.000Z | lib/util/Cursor.js | stdevi/diagram-js | dd379faa3ec5358158a00e7dd5e50b31f9fed54e | [
"MIT"
] | 412 | 2015-01-06T17:15:22.000Z | 2022-03-27T18:36:46.000Z | lib/util/Cursor.js | stdevi/diagram-js | dd379faa3ec5358158a00e7dd5e50b31f9fed54e | [
"MIT"
] | 418 | 2015-01-13T10:06:41.000Z | 2022-03-28T12:25:45.000Z | import {
classes as domClasses
} from 'min-dom';
var CURSOR_CLS_PATTERN = /^djs-cursor-.*$/;
export function set(mode) {
var classes = domClasses(document.body);
classes.removeMatching(CURSOR_CLS_PATTERN);
if (mode) {
classes.add('djs-cursor-' + mode);
}
}
export function unset() {
set(null);
}
e... | 16.185185 | 45 | 0.672769 |
dbe0a5960425245f1a641f4070ed720a06da4ee4 | 1,281 | js | JavaScript | src/libs/header.js | cypherkunp/serverless-js-template | 16a216ea0aeaa6ce875f1ec90fb95bfac2d3952b | [
"Unlicense"
] | null | null | null | src/libs/header.js | cypherkunp/serverless-js-template | 16a216ea0aeaa6ce875f1ec90fb95bfac2d3952b | [
"Unlicense"
] | null | null | null | src/libs/header.js | cypherkunp/serverless-js-template | 16a216ea0aeaa6ce875f1ec90fb95bfac2d3952b | [
"Unlicense"
] | null | null | null | const commonAccessControlAllowHeaders = [
'Content-Type',
'Content-Encoding',
'X-Amz-Date',
'Authorization',
'X-Api-Key',
'X-Auth-Token',
'X-Amz-Security-Token',
'X-Amz-User-Agent',
'Access-Control-Request-Method',
'Access-Control-Request-Headers',
];
function getCapHeaderValue(header) {
return h... | 25.117647 | 97 | 0.676815 |
dbe0c3d44b67414edd33d24f388623a1c01f1494 | 1,829 | js | JavaScript | instacart.com/out/scripts/status_common-1fd834a384bbe98054e27a8f008945ad030e03ce2da00ef88610bf6bb8485193.js | Bhagavan-Bollina/Recon-Data | aabc3e6cee4f6f43be32b781fca88e41d60a3193 | [
"MIT"
] | 5 | 2020-08-16T04:35:58.000Z | 2020-09-04T17:35:24.000Z | instacart.com/out/scripts/status_common-1fd834a384bbe98054e27a8f008945ad030e03ce2da00ef88610bf6bb8485193.js | Bhagavan-Bollina/Recon-Data | aabc3e6cee4f6f43be32b781fca88e41d60a3193 | [
"MIT"
] | null | null | null | instacart.com/out/scripts/status_common-1fd834a384bbe98054e27a8f008945ad030e03ce2da00ef88610bf6bb8485193.js | Bhagavan-Bollina/Recon-Data | aabc3e6cee4f6f43be32b781fca88e41d60a3193 | [
"MIT"
] | 6 | 2021-01-24T13:12:13.000Z | 2021-08-24T09:07:28.000Z | $(function(){SP.currentPage.updatesDropdown={getParent:function(){return HRB.utils.djshook("updates-dropdown-container")},getDropdown:function(){return HRB.utils.djshook("updates-dropdown").filter(".updates-dropdown")},isOpen:!1,toggleDropdown:function(){0==this.isOpen?this.show():this.hide()},show:function(){this.getD... | 1,829 | 1,829 | 0.725533 |
dbe0fdcb6c3a4c7e0019b81f4c66dd545ff371ec | 1,606 | js | JavaScript | frontend/src/reducers/nav.js | unicef/un-partner-portal | 73afa193a5f6d626928cae0025c72a17f0ef8f61 | [
"Apache-2.0"
] | 6 | 2017-11-21T10:00:44.000Z | 2022-02-12T16:51:48.000Z | frontend/src/reducers/nav.js | unicef/un-partner-portal | 73afa193a5f6d626928cae0025c72a17f0ef8f61 | [
"Apache-2.0"
] | 995 | 2017-07-31T02:08:36.000Z | 2022-03-08T22:44:03.000Z | frontend/src/reducers/nav.js | unicef/un-partner-portal | 73afa193a5f6d626928cae0025c72a17f0ef8f61 | [
"Apache-2.0"
] | 1 | 2021-07-21T10:45:15.000Z | 2021-07-21T10:45:15.000Z | import cfeiIcon from 'material-ui-icons/Language';
import applicationsIcon from 'material-ui-icons/Assignment';
import settingsIcon from 'material-ui-icons/Settings';
import partnersIcon from 'material-ui-icons/Group';
import dashboardIcon from 'material-ui-icons/Dashboard';
import help from 'material-ui-icons/Help';
... | 41.179487 | 141 | 0.703611 |
dbe172fd24ac19b74a460dc0072dc5b4451afb21 | 165 | js | JavaScript | src/components/pages/Services.js | baraboulka/spa-center | fd8c9df0e21e5d5719b0e9604c575073173ae5cc | [
"MIT"
] | null | null | null | src/components/pages/Services.js | baraboulka/spa-center | fd8c9df0e21e5d5719b0e9604c575073173ae5cc | [
"MIT"
] | null | null | null | src/components/pages/Services.js | baraboulka/spa-center | fd8c9df0e21e5d5719b0e9604c575073173ae5cc | [
"MIT"
] | null | null | null | import Layout from "../basic/layout";
const Services = () => {
return (
<Layout>
<h1>Services page</h1>
</Layout>
);
};
export default Services;
| 13.75 | 37 | 0.575758 |
dbe34a28fe6a4651d143c0e3ce836088aa401dd4 | 8,367 | js | JavaScript | JavaScript OOP/Exam 2015/academy-online-catalogs/tasks/solution.js | Paskow/Telerik-Academy-JavaScript-Homeworks | 05ae0d5b6388be06a1b64940950c6a623bb7eecd | [
"MIT"
] | null | null | null | JavaScript OOP/Exam 2015/academy-online-catalogs/tasks/solution.js | Paskow/Telerik-Academy-JavaScript-Homeworks | 05ae0d5b6388be06a1b64940950c6a623bb7eecd | [
"MIT"
] | null | null | null | JavaScript OOP/Exam 2015/academy-online-catalogs/tasks/solution.js | Paskow/Telerik-Academy-JavaScript-Homeworks | 05ae0d5b6388be06a1b64940950c6a623bb7eecd | [
"MIT"
] | null | null | null | function solve() {
let itemId = 0;
let catalogId = 0;
class Item {
constructor(description, name) {
this._id = Item._idGenerator();
if (description.length === 0) {
throw new Error();
}
if (name.length < 2 || name.length > 40) {
... | 25.050898 | 87 | 0.409466 |
dbe3d46d9415edf40c2b17f0e0420f90c60c5b3a | 859 | js | JavaScript | src/scripts/setjs/loaders/ssr-loader.js | stateempire/setjs.org | 9d2f996b3f7efece5fcf0f7a36f7289ab4e5bbcd | [
"MIT"
] | 2 | 2021-03-05T07:25:14.000Z | 2021-03-09T02:39:14.000Z | src/scripts/setjs/loaders/ssr-loader.js | stateempire/setjs.org | 9d2f996b3f7efece5fcf0f7a36f7289ab4e5bbcd | [
"MIT"
] | null | null | null | src/scripts/setjs/loaders/ssr-loader.js | stateempire/setjs.org | 9d2f996b3f7efece5fcf0f7a36f7289ab4e5bbcd | [
"MIT"
] | null | null | null | var $container = $('#main-content');
var $prev = $('.initial');
var $body = $('body');
var bodyStyle = {};
var bodyCls;
function progress() {}
function loadContent($content) {
var bodyCss;
if (typeof $content === 'string') {
$content = $($content);
}
bodyCss = $content.data('css');
if (typeof bodyCss !=... | 23.861111 | 96 | 0.594878 |
dbe5514250fec890747161dce0077b60297ebb2b | 274 | js | JavaScript | src/utils/index.js | ozlongblack/h2 | 7d1212c7ec1eb233672b6f2905834fc9dc15df29 | [
"MIT"
] | 1 | 2019-01-11T05:57:30.000Z | 2019-01-11T05:57:30.000Z | src/utils/index.js | ozlongblack/h2 | 7d1212c7ec1eb233672b6f2905834fc9dc15df29 | [
"MIT"
] | null | null | null | src/utils/index.js | ozlongblack/h2 | 7d1212c7ec1eb233672b6f2905834fc9dc15df29 | [
"MIT"
] | null | null | null | // @flow
export { default as delay } from './transitions/delay';
export { default as lazyContainer } from './transitions/lazyContainer';
export { default as useScrollStatus } from './hooks/useScrollStatus';
export { default as useViewStatus } from './hooks/useViewStatus';
| 39.142857 | 71 | 0.744526 |
dbe81cedac22545481bf1fd44c2404542143fb61 | 489 | js | JavaScript | frontend/components/edit_user/edit_user_container.js | RenanCostaSource/HOPE | fc104a4afcb84ff0543ef1b4a5930cbe54cca0fc | [
"MIT"
] | 1 | 2020-09-29T23:08:50.000Z | 2020-09-29T23:08:50.000Z | frontend/components/edit_user/edit_user_container.js | renanpaiva/HOPE | fc104a4afcb84ff0543ef1b4a5930cbe54cca0fc | [
"MIT"
] | 1 | 2020-10-05T14:25:10.000Z | 2020-10-05T14:25:10.000Z | frontend/components/edit_user/edit_user_container.js | renanpaiva/HOPE | fc104a4afcb84ff0543ef1b4a5930cbe54cca0fc | [
"MIT"
] | null | null | null | import EditUser from './edit_user';
import { connect } from 'react-redux';
import { updateUser, fetchSingleUser } from '../../actions/user_actions';
const mapStateToProps = (state) => {
return {
user: state.user,
};
};
const mapDispatchToProps = dispatch => {
return {
updateUser: (user) => dispatch(upda... | 22.227273 | 73 | 0.687117 |
dbe834543b4a31867d9dc230aaadc7bf0c68c6dd | 1,273 | js | JavaScript | src/validations/SinhVien_NguyenChauQuyen_de3.validation.js | quyen46919/NodeJs_Express_BoilerPlate | 4c3484c458a3b84ae3be1ca856bcfc7c891ee149 | [
"MIT"
] | null | null | null | src/validations/SinhVien_NguyenChauQuyen_de3.validation.js | quyen46919/NodeJs_Express_BoilerPlate | 4c3484c458a3b84ae3be1ca856bcfc7c891ee149 | [
"MIT"
] | null | null | null | src/validations/SinhVien_NguyenChauQuyen_de3.validation.js | quyen46919/NodeJs_Express_BoilerPlate | 4c3484c458a3b84ae3be1ca856bcfc7c891ee149 | [
"MIT"
] | null | null | null | const Joi = require('joi');
const { objectId } = require('./custom.validation');
const taoSinhVien = {
body: Joi.object().keys({
hoTen: Joi.string().max(30).required(),
maKhoa: Joi.string().custom(objectId).required(),
namSinh: Joi.number().required(),
queQuan: Joi.string().max(30).required(),
}),
... | 21.948276 | 53 | 0.619796 |
dbe92b23d1023eddddbaa50f00ea6343743c4da3 | 468 | js | JavaScript | client/src/store/theme.js | iivanovw7/work-book | 826a98dd8073e2f3d994875ce3652db07396bf34 | [
"MIT"
] | null | null | null | client/src/store/theme.js | iivanovw7/work-book | 826a98dd8073e2f3d994875ce3652db07396bf34 | [
"MIT"
] | 10 | 2021-03-09T17:07:32.000Z | 2022-03-24T08:55:31.000Z | client/src/store/theme.js | iivanovw7/work-book | 826a98dd8073e2f3d994875ce3652db07396bf34 | [
"MIT"
] | null | null | null | import Cookies from 'js-cookie';
export default (store) => {
const previousTheme = Cookies.get('theme');
const verifiedPreviousTheme = previousTheme === 'dark' ? 'dark' : 'light';
store.on('@init', () => ({ theme: verifiedPreviousTheme }));
store.on('switch', ({ theme }) => {
if (theme === 'dark') {
... | 27.529412 | 76 | 0.564103 |
dbe9e83731126094b1f87bbae6ce05d55ec55dba | 198 | js | JavaScript | JavaScript-Mateus_Battisti/projetos/Secao_3/ex04/scripts.js | BrunoEnriqueB/HTML_CSS | 596202e03905b85daf3a59572587a7d96077e21b | [
"MIT"
] | null | null | null | JavaScript-Mateus_Battisti/projetos/Secao_3/ex04/scripts.js | BrunoEnriqueB/HTML_CSS | 596202e03905b85daf3a59572587a7d96077e21b | [
"MIT"
] | null | null | null | JavaScript-Mateus_Battisti/projetos/Secao_3/ex04/scripts.js | BrunoEnriqueB/HTML_CSS | 596202e03905b85daf3a59572587a7d96077e21b | [
"MIT"
] | null | null | null | // Escreva três valores em string em um arquivo e exiba no navegador com o console.log();
console.log((3 < 5) && (20 < 10));
console.log((3 < 5) || (20 > 10));
console.log(!((3 < 5) && (20 < 10))); | 39.6 | 89 | 0.585859 |
dbeb7878174ed37db100d9a07d35b101cdf6b24d | 2,150 | js | JavaScript | src/js/components/Camera.js | r-wittmann/IFD-proto | 05ecce6547f0698e05e50e21db2920c870119399 | [
"MIT"
] | null | null | null | src/js/components/Camera.js | r-wittmann/IFD-proto | 05ecce6547f0698e05e50e21db2920c870119399 | [
"MIT"
] | null | null | null | src/js/components/Camera.js | r-wittmann/IFD-proto | 05ecce6547f0698e05e50e21db2920c870119399 | [
"MIT"
] | null | null | null | import React from 'react'
import { Entity } from 'aframe-react'
const Camera = (props) => (
<Entity>
<Entity id='main-camera' camera='userHeight: 1.6' look-controls wasd-controls='' {...props}>
{/* hover cursor, product hovering */}
<a-entity
raycaster='far: 8; near: 6.1;'
cursor='fus... | 27.922078 | 100 | 0.503721 |
dbebf2b2760b4a0aa98fe7391d9d71625ca7208a | 5,428 | js | JavaScript | node_modules/@sap/cds-compiler/lib/checks/checkArtifacts.js | Showkath/car-cap-demo | 738ce73f2016d4a3f2b5ca6882b303440cd26fdf | [
"Apache-2.0"
] | null | null | null | node_modules/@sap/cds-compiler/lib/checks/checkArtifacts.js | Showkath/car-cap-demo | 738ce73f2016d4a3f2b5ca6882b303440cd26fdf | [
"Apache-2.0"
] | null | null | null | node_modules/@sap/cds-compiler/lib/checks/checkArtifacts.js | Showkath/car-cap-demo | 738ce73f2016d4a3f2b5ca6882b303440cd26fdf | [
"Apache-2.0"
] | null | null | null | 'use strict';
const alerts = require('../base/alerts');
const { getMessageFunction } = require('../base/messages');
const { hasArtifactTypeInformation } = require('../model/modelUtils')
// Semantic checks that are performed on artifacts
// Check that artifact 'art' is not empty and does not contain only virtual elem... | 37.694444 | 156 | 0.693257 |
dbec0c95c96cf4632fda6c7fb7bfe528272611e7 | 303 | js | JavaScript | client/app.routing.js | melissa8717/Laiterie | cb9427eacf9bd605466252391c0d6498cefe8568 | [
"MIT"
] | null | null | null | client/app.routing.js | melissa8717/Laiterie | cb9427eacf9bd605466252391c0d6498cefe8568 | [
"MIT"
] | null | null | null | client/app.routing.js | melissa8717/Laiterie | cb9427eacf9bd605466252391c0d6498cefe8568 | [
"MIT"
] | null | null | null | "use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var router_1 = require("@angular/router");
exports.appRoutingProviders = [router_1.provideRouter(exports.appRoutes)];
exports.routing = router_1.RouterModule.forRoot(exports.appRoutes);
//# sourceMappingURL=app.routing.js.map | 43.285714 | 74 | 0.782178 |
dbec81c6170d3a79a88f67362d2ec89b1024adeb | 17,334 | js | JavaScript | public/js/searchFilter.js | Joymania/Advanced-Ecommerce-7 | 41c548ded74c675958e3f9df385fcfa016a81c2d | [
"MIT"
] | null | null | null | public/js/searchFilter.js | Joymania/Advanced-Ecommerce-7 | 41c548ded74c675958e3f9df385fcfa016a81c2d | [
"MIT"
] | null | null | null | public/js/searchFilter.js | Joymania/Advanced-Ecommerce-7 | 41c548ded74c675958e3f9df385fcfa016a81c2d | [
"MIT"
] | null | null | null | //Filter by price or
$(document).ready(function () {
$('.priceFilter').on('click', function () {
$(".priceFilter").css({
'backgroundColor':'#FFFFFF',
'color': 'black'
});
$(this).css({
'backgroundColor':'#666666',
'color': 'white'
});
l... | 56.832787 | 136 | 0.377005 |
dbecd3accd89f611e36991fdbb7ccefde5025c80 | 1,324 | js | JavaScript | public/js/validate/metodos.js | lbovolini/gig_hunter | 9423374bfaa52f3de8d8b1e2c402e3342e47fc5d | [
"Apache-2.0"
] | null | null | null | public/js/validate/metodos.js | lbovolini/gig_hunter | 9423374bfaa52f3de8d8b1e2c402e3342e47fc5d | [
"Apache-2.0"
] | null | null | null | public/js/validate/metodos.js | lbovolini/gig_hunter | 9423374bfaa52f3de8d8b1e2c402e3342e47fc5d | [
"Apache-2.0"
] | null | null | null | // somente letras
jQuery.validator.addMethod("lettersonly", function(value, element)
{
return this.optional(element) || /^[a-z," "]+$/i.test(value);
}, "Deve conter somente letras.");
// somente letras, numeros e hifen
$.validator.addMethod("loginRegex", function(value, element) {
return this.optional(element) ... | 36.777778 | 120 | 0.509819 |
dbedb16fbe0104fafb4292e8b6a3641f68447a00 | 7,902 | js | JavaScript | open-falcon4j-web/src/main/webapp/WEB-INF/resources/js/service/action.js | minlingchao1/open-falcon4j | 65a0e6476c2d91e070abb32a0e209a1338904543 | [
"Apache-2.0"
] | 10 | 2017-05-11T08:14:04.000Z | 2021-12-13T04:06:07.000Z | open-falcon4j-web/src/main/webapp/WEB-INF/resources/js/service/action.js | minlingchao1/open-falcon4j | 65a0e6476c2d91e070abb32a0e209a1338904543 | [
"Apache-2.0"
] | 1 | 2018-04-27T08:44:03.000Z | 2018-04-27T08:44:03.000Z | open-falcon4j-web/src/main/webapp/WEB-INF/resources/js/service/action.js | minlingchao1/open-falcon4j | 65a0e6476c2d91e070abb32a0e209a1338904543 | [
"Apache-2.0"
] | 4 | 2017-08-07T05:18:37.000Z | 2021-12-13T04:06:12.000Z | $(function () {
Action.init()
})
var Action={
init:function () {
Action.getAllUserGroup()
Action.bind()
},
bind:function () {
$("#confirmAddAction").click(Action.addAction)
$("#confirmModifyAction").click(Action.modifyAction)
$(".modify").click(Action.showModifyMo... | 37.628571 | 78 | 0.363958 |
dbee0a928956c43e3546a65c8cd78b54b9fea87f | 2,815 | js | JavaScript | public/assets/front/js/script.js | taouraghti/association | a51ec5c6d595405ee99dd4fae0eaaa42c2b7c9e9 | [
"MIT"
] | null | null | null | public/assets/front/js/script.js | taouraghti/association | a51ec5c6d595405ee99dd4fae0eaaa42c2b7c9e9 | [
"MIT"
] | null | null | null | public/assets/front/js/script.js | taouraghti/association | a51ec5c6d595405ee99dd4fae0eaaa42c2b7c9e9 | [
"MIT"
] | null | null | null | $(function(){
/*********** Start slider ***********/
var winH = $(window).height(),
upperH = $('.upper-bar').innerHeight(),
navH = $('.navbar').innerHeight();
$('.slider, .carousel-item').height(winH - upperH - navH);
/*********** End slider *************/
/*******... | 29.631579 | 106 | 0.46643 |
dbee51bae3be96679af79923e800bc44adfdec6b | 270 | js | JavaScript | src/state/action-creators/calcIsFinishedAction.js | slawekSk13/PaniKrwinka_sumator_hematologiczny | f0fad651eb21088e4a6fe5dc76b5e8d38d58905f | [
"Unlicense"
] | null | null | null | src/state/action-creators/calcIsFinishedAction.js | slawekSk13/PaniKrwinka_sumator_hematologiczny | f0fad651eb21088e4a6fe5dc76b5e8d38d58905f | [
"Unlicense"
] | null | null | null | src/state/action-creators/calcIsFinishedAction.js | slawekSk13/PaniKrwinka_sumator_hematologiczny | f0fad651eb21088e4a6fe5dc76b5e8d38d58905f | [
"Unlicense"
] | null | null | null | const setCalcFinished = () => {
return (dispatch) => {
dispatch({ type: "FINISHED" });
};
};
const setCalcUnFinished = () => {
return (dispatch) => {
dispatch({ type: "ONGOING" });
};
};
export {setCalcUnFinished, setCalcFinished} | 20.769231 | 45 | 0.544444 |
dbefc90bd74af0f4fd0ba0fe8b858a000b5b50d9 | 1,508 | js | JavaScript | src/components/topic/TopicMain.js | oheart/react-cnode | b92f92233294d95e9abdc55334c97b37e2e35266 | [
"MIT"
] | null | null | null | src/components/topic/TopicMain.js | oheart/react-cnode | b92f92233294d95e9abdc55334c97b37e2e35266 | [
"MIT"
] | null | null | null | src/components/topic/TopicMain.js | oheart/react-cnode | b92f92233294d95e9abdc55334c97b37e2e35266 | [
"MIT"
] | null | null | null | import React, {Component} from 'react'
import TopicDetail from './TopicDetail'
import TopicReplyDetail from './TopicReplyDetail'
import {withRouter} from 'react-router-dom'
import Fetch from '../../utils/fetch'
import Service from '../../utils/service'
class TopicMain extends Component{
constructor(){
sup... | 27.418182 | 80 | 0.498674 |
dbefe2d1f5aac36ed5e8c63e45600228eb4dfe17 | 3,405 | js | JavaScript | Source/Devices/Vessel/all_websocket.js | dolittle-casestudies/ocfev | e485ea33132eaf67a27a1dc6060a4afe7c5a14f8 | [
"MIT"
] | 1 | 2018-06-08T08:48:42.000Z | 2018-06-08T08:48:42.000Z | Source/Devices/Vessel/all_websocket.js | dolittle-casestudies/ocfev | e485ea33132eaf67a27a1dc6060a4afe7c5a14f8 | [
"MIT"
] | 39 | 2018-05-16T06:57:05.000Z | 2018-06-14T12:57:59.000Z | Source/Devices/Vessel/all_websocket.js | dolittle-casestudies/ocfev | e485ea33132eaf67a27a1dc6060a4afe7c5a14f8 | [
"MIT"
] | 2 | 2018-05-28T10:21:26.000Z | 2021-09-15T12:00:18.000Z | var host = '104.40.203.222';
var port = 8080;
var WebSocket = require('ws');
var ws = null;
var connected = false;
var motorAMin = 0.555;
var motorBMin = 0.555;
var motorRelationship = (motorAMin/motorBMin);
var motorBMax = 0.7;
var motorAMax = motorBMax * motorRelationship;
var motorDirectionPins = [19, 25];
var mot... | 21.967742 | 84 | 0.61116 |
dbf03fb174d11a7c5ef184c93a3dc563438005e1 | 618 | js | JavaScript | models/user.js | matiascoar/node-express-postgresql-sequelize | e1ec4ed911b2a0130ee5f19a9254e63d02b3812c | [
"MIT"
] | null | null | null | models/user.js | matiascoar/node-express-postgresql-sequelize | e1ec4ed911b2a0130ee5f19a9254e63d02b3812c | [
"MIT"
] | null | null | null | models/user.js | matiascoar/node-express-postgresql-sequelize | e1ec4ed911b2a0130ee5f19a9254e63d02b3812c | [
"MIT"
] | null | null | null | 'use strict';
module.exports = (sequelize, DataTypes) => {
const User = sequelize.define('User', {
user_name: DataTypes.STRING,
mail: DataTypes.STRING,
is_admin: DataTypes.BOOLEAN,
password: DataTypes.STRING
}, {});
User.associate = function(models) {
User.hasMany(models.Command, {
as: '... | 24.72 | 44 | 0.606796 |
dbf144deed54a78c03cfa619a20ec5d164d9f2a6 | 1,436 | js | JavaScript | resources/js/router.js | nerdroid23/url-shortener | cc77f66f512d146c40f4bcf3978eab3f26e809f0 | [
"MIT"
] | null | null | null | resources/js/router.js | nerdroid23/url-shortener | cc77f66f512d146c40f4bcf3978eab3f26e809f0 | [
"MIT"
] | 4 | 2021-02-02T21:16:05.000Z | 2022-02-27T09:22:34.000Z | resources/js/router.js | nerdroid23/url-shortener | cc77f66f512d146c40f4bcf3978eab3f26e809f0 | [
"MIT"
] | null | null | null | import Vue from 'vue';
import VueRouter from 'vue-router';
Vue.use(VueRouter);
const routes = [
{
path: '/',
name: 'dashboard',
component: () => import(/* webpackChunkName: "index" */ './pages/Index'),
meta: {
middleware: 'auth'
}
},
{
path: '/login',
name: 'login',
compone... | 20.225352 | 101 | 0.557799 |
dbf1505501bad86bd8c8f55b0f0796e5231e14cd | 1,960 | js | JavaScript | data/test/js/dbf1505501bad86bd8c8f55b0f0796e5231e14cdnav_controller.js | aliostad/deep-learning-lang-detection | d6b031f3ebc690cf2ffd0ae1b08ffa8fb3b38a62 | [
"MIT"
] | 84 | 2017-10-25T15:49:21.000Z | 2021-11-28T21:25:54.000Z | data/test/js/dbf1505501bad86bd8c8f55b0f0796e5231e14cdnav_controller.js | vassalos/deep-learning-lang-detection | cbb00b3e81bed3a64553f9c6aa6138b2511e544e | [
"MIT"
] | 5 | 2018-03-29T11:50:46.000Z | 2021-04-26T13:33:18.000Z | data/test/js/dbf1505501bad86bd8c8f55b0f0796e5231e14cdnav_controller.js | vassalos/deep-learning-lang-detection | cbb00b3e81bed3a64553f9c6aa6138b2511e544e | [
"MIT"
] | 24 | 2017-11-22T08:31:00.000Z | 2022-03-27T01:22:31.000Z | PortfolioApp.controller('NavController', NavController);
NavController.$inject = ['$http'];
function NavController($http) {
var nav = this;
nav.toggle = false;
nav.whichNav = '';
nav.theFunction = "nav.scrollJavaScript()";
nav.secondNav = {
'projects' : ['JAVA', 'RUBY', 'JAVASCIPT'],
'background'... | 28.405797 | 71 | 0.535714 |
dbf1898a015485164cf6312b60563f62b8919d74 | 3,707 | js | JavaScript | sapui5-sdk-1.74.0/resources/sap/zen/crosstab/DataCell.js | juanfelipe82193/opensap | 568c01843a07b8a1be88f8fb8ccb49845fb8110e | [
"Apache-2.0"
] | null | null | null | sapui5-sdk-1.74.0/resources/sap/zen/crosstab/DataCell.js | juanfelipe82193/opensap | 568c01843a07b8a1be88f8fb8ccb49845fb8110e | [
"Apache-2.0"
] | null | null | null | sapui5-sdk-1.74.0/resources/sap/zen/crosstab/DataCell.js | juanfelipe82193/opensap | 568c01843a07b8a1be88f8fb8ccb49845fb8110e | [
"Apache-2.0"
] | null | null | null | /*!
* (c) Copyright 2010-2019 SAP SE or an SAP affiliate company.
*/
jQuery.sap.declare("sap.zen.crosstab.DataCell");jQuery.sap.require("sap.zen.crosstab.library");jQuery.sap.require("sap.ui.core.Control");sap.ui.core.Control.extend("sap.zen.crosstab.DataCell",{metadata:{library:"sap.zen.crosstab",properties:{text:{t... | 123.566667 | 727 | 0.80901 |
dbf1918b5b8b6c3fe3be2df0c3c5cc466a0251e2 | 5,253 | js | JavaScript | ex-member/jack/mkSnakeGame/mkSnakeGame.js | honux77/level1-js | 61a615e1984714750c0cb57b82250d822cd25e2e | [
"MIT"
] | 8 | 2017-11-06T01:41:31.000Z | 2019-11-13T04:49:48.000Z | ex-member/jack/mkSnakeGame/mkSnakeGame.js | honux77/level1-js | 61a615e1984714750c0cb57b82250d822cd25e2e | [
"MIT"
] | 19 | 2017-11-03T06:48:35.000Z | 2017-12-21T02:52:44.000Z | jack/mkSnakeGame/mkSnakeGame.js | code-squad/level1-js | cd2b0523f6507ac2059cc10dd473de55974bb28a | [
"MIT"
] | 19 | 2017-11-03T06:02:18.000Z | 2017-12-29T05:18:51.000Z | var canvas = document.getElementById("canvas");
var ctx = canvas.getContext("2d");
//canvas end
var h = document.getElementById("h1");
h.innerHTML = "Snake patterned CodeSquad Game";
var btn = document.getElementById("btn");
btn.innerHTML = "REPLAY!";
var score = document.getElementById("score");
var dpscore = "";
scor... | 27.941489 | 93 | 0.565962 |
dbf3774f36758bdfe8466d6a5d3cf3fe3e0e866e | 2,165 | js | JavaScript | extensions/init-workspace-1.0.7/out/utils.js | guopingbo/TestFirstRepo | 608df9352cf24b3a016f28f94d98c4c4bc040700 | [
"Apache-2.0"
] | null | null | null | extensions/init-workspace-1.0.7/out/utils.js | guopingbo/TestFirstRepo | 608df9352cf24b3a016f28f94d98c4c4bc040700 | [
"Apache-2.0"
] | 1 | 2019-08-15T12:42:31.000Z | 2019-08-15T12:43:11.000Z | extensions/init-workspace-1.0.7/out/utils.js | guopingbo/TestFirstRepo | 608df9352cf24b3a016f28f94d98c4c4bc040700 | [
"Apache-2.0"
] | null | null | null | "use strict";
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
return new (P || (P = Promise))(function (resolve, reject) {
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
function rejected(value) { try { step(gene... | 37.327586 | 151 | 0.581986 |
dbf50449186b5a4e1aaad44a1376d0f9b75ffeed | 647,715 | js | JavaScript | worker.js | Bizboard/SPSoapAdapter | 16a2ad11b81b0c7ef28f95cfd63967dbde901637 | [
"MIT"
] | null | null | null | worker.js | Bizboard/SPSoapAdapter | 16a2ad11b81b0c7ef28f95cfd63967dbde901637 | [
"MIT"
] | null | null | null | worker.js | Bizboard/SPSoapAdapter | 16a2ad11b81b0c7ef28f95cfd63967dbde901637 | [
"MIT"
] | null | null | null | (function(){ var curSystem = typeof System != 'undefined' ? System : undefined;
/* */
"format global";
"exports $traceurRuntime";
(function(global) {
'use strict';
if (global.$traceurRuntime) {
return;
}
var $Object = Object;
var $TypeError = TypeError;
var $create = $Object.create;
var $defineProper... | 34.875888 | 580 | 0.544009 |
dbf67dd1c951d91524f9806ffe9a9e7396211c75 | 656 | js | JavaScript | client/app/components/contactUs/index.js | sapir-levy/Tea-Party | 7091d6a269405e35089fe161d6a8794c3044facf | [
"Apache-2.0"
] | null | null | null | client/app/components/contactUs/index.js | sapir-levy/Tea-Party | 7091d6a269405e35089fe161d6a8794c3044facf | [
"Apache-2.0"
] | null | null | null | client/app/components/contactUs/index.js | sapir-levy/Tea-Party | 7091d6a269405e35089fe161d6a8794c3044facf | [
"Apache-2.0"
] | null | null | null | import angular from 'angular';
import uiRouter from 'angular-ui-router';
import './contact.css';
const contactModule = angular.module('contactUs', [
uiRouter
]);
class ContactController {
constructor() {
"ngInject"
this.name = 'contactUs';
window.scrollTo(0 , 0);
}
}
contactModule.component('contac... | 18.742857 | 51 | 0.669207 |
dbf824f889fb151d9c6739aae5616a0439abfbe0 | 731 | js | JavaScript | magic.js | abdih17/Algorithms-Arrays | 35b9848ef3a43c06636ad1c2fc53bfd781e00706 | [
"MIT"
] | null | null | null | magic.js | abdih17/Algorithms-Arrays | 35b9848ef3a43c06636ad1c2fc53bfd781e00706 | [
"MIT"
] | null | null | null | magic.js | abdih17/Algorithms-Arrays | 35b9848ef3a43c06636ad1c2fc53bfd781e00706 | [
"MIT"
] | null | null | null | // 2. A magic index in an array A[0…n-1] is defined to be an index
// such that A[i] = i. Given a sorted array of distinct integers, write
// a method to find a magic index if one exists, in an array A.
// FOLLOW UP: What if the values are not distinct?
// Answer to follow-up => Just check for A[A[0]] with A[0] ;)
// .... | 23.580645 | 71 | 0.555404 |
dbf89eb51800629b3de8576dcbe532c37a806b7d | 239 | js | JavaScript | src/marketPlace/courseOrder.js | mnath75/LMSTEAM | 9ff8c69183b77a7643bdee500fe197d4f1234ad3 | [
"MIT"
] | null | null | null | src/marketPlace/courseOrder.js | mnath75/LMSTEAM | 9ff8c69183b77a7643bdee500fe197d4f1234ad3 | [
"MIT"
] | null | null | null | src/marketPlace/courseOrder.js | mnath75/LMSTEAM | 9ff8c69183b77a7643bdee500fe197d4f1234ad3 | [
"MIT"
] | null | null | null | import React, {useEffect, useState} from 'react'
export default function CourseOrder() {
return (
<>
<div className={'container-fluid py-4 '}>
</div>
</>
)
}
| 10.863636 | 53 | 0.447699 |
dbf8ba785fe3a86bf79f9386761e9aca3688252b | 2,886 | js | JavaScript | src/products/product-repo.js | ElrikSouza/pw20212tpbackend | d9de1f2d51460c3cf4f7f28bd3b7352588907931 | [
"MIT"
] | null | null | null | src/products/product-repo.js | ElrikSouza/pw20212tpbackend | d9de1f2d51460c3cf4f7f28bd3b7352588907931 | [
"MIT"
] | null | null | null | src/products/product-repo.js | ElrikSouza/pw20212tpbackend | d9de1f2d51460c3cf4f7f28bd3b7352588907931 | [
"MIT"
] | null | null | null | import { v4 } from "uuid";
import { NotFound } from "../errors/errors.js";
import { ImagesService } from "../image-upload/images-service.js";
import { Products } from "./product.model.js";
import Sequelize from "sequelize";
const createProduct = async (product, product_img) => {
let img_filename = null;
if (produ... | 23.85124 | 80 | 0.662162 |
dbf94d83b1573e0df4199a9815bc51258dd24619 | 819 | js | JavaScript | app/components/modals/change-image-modal.js | AyushSarode/open-event-frontend | 0a682034737f1c0f75323eaf8bbc564aa1026b9b | [
"Apache-2.0"
] | 2,913 | 2017-04-15T18:09:01.000Z | 2022-03-31T14:40:21.000Z | app/components/modals/change-image-modal.js | AyushSarode/open-event-frontend | 0a682034737f1c0f75323eaf8bbc564aa1026b9b | [
"Apache-2.0"
] | 7,946 | 2017-04-21T17:02:37.000Z | 2022-03-31T21:16:36.000Z | app/components/modals/change-image-modal.js | maheshschand/open-event-frontend | eafd0dde2545519c20c5b26fc365b97a6dc767da | [
"Apache-2.0"
] | 2,401 | 2017-04-07T03:10:32.000Z | 2022-03-26T03:08:52.000Z | import classic from 'ember-classic-decorator';
import { action } from '@ember/object';
import ModalBase from 'open-event-frontend/components/modals/modal-base';
@classic
export default class ChangeImageModal extends ModalBase {
isSmall = true;
@action
updatePlaceholder() {
this.placeholder.then(placeholder ... | 29.25 | 102 | 0.605617 |
dbfa2659c51f33fb628fbdd16c1bb61df6e4bec5 | 4,929 | js | JavaScript | client/src/hooks/useHome.js | GabrielCarames/argview-data-visualization | 6474a37db2fdd08b7e684e876b854472a5449504 | [
"Apache-2.0"
] | 6 | 2022-01-06T01:57:33.000Z | 2022-01-18T08:37:53.000Z | client/src/hooks/useHome.js | GabrielCarames/argview-data-visualization | 6474a37db2fdd08b7e684e876b854472a5449504 | [
"Apache-2.0"
] | null | null | null | client/src/hooks/useHome.js | GabrielCarames/argview-data-visualization | 6474a37db2fdd08b7e684e876b854472a5449504 | [
"Apache-2.0"
] | null | null | null | import { useEffect, useState } from "react";
import useLocationWeather from "./useLocationWeather";
import useDefaultWeather from "./useDefaultWeather";
const useHome = () => {
const [currentHourBAWeather, setCurrentHourBAWeather] = useState([])
useEffect(() => {
checkCurrentHour()
const curre... | 42.86087 | 155 | 0.631974 |
dbfadb5a0eb6c8e84455dd14ea58d3021eff3e6a | 776 | js | JavaScript | api/controllers/PublicController.js | craigvantonder/sails-jquery-bootstrap-blog | 843121da2b8b4a5ae7e47b414ff36501eca1dcb1 | [
"MIT"
] | 8 | 2016-02-24T14:19:23.000Z | 2018-09-06T08:47:17.000Z | api/controllers/PublicController.js | craigvantonder/sails-jquery-bootstrap-blog | 843121da2b8b4a5ae7e47b414ff36501eca1dcb1 | [
"MIT"
] | null | null | null | api/controllers/PublicController.js | craigvantonder/sails-jquery-bootstrap-blog | 843121da2b8b4a5ae7e47b414ff36501eca1dcb1 | [
"MIT"
] | 2 | 2018-08-14T11:33:40.000Z | 2018-09-06T08:47:17.000Z | /**
* PublicController
*
* @description :: Server-side logic for managing public pages
* @help :: See http://sailsjs.org/#!/documentation/concepts/Controllers
*/
module.exports = {
showLanding: function (req, res) {
console.log(req.session);
// extras = {};
// extras.styles = '<link rel="styleshe... | 32.333333 | 117 | 0.626289 |
dbfc75882908935f002e8842d9ef9cf8f97c4527 | 963 | js | JavaScript | Mvc/Scripts/Pages/mixins.test.for.databinding.js | rippo/React.Tests | ca07eb3c37a251c172e3f1c7c77264bd3bc9852d | [
"MIT"
] | null | null | null | Mvc/Scripts/Pages/mixins.test.for.databinding.js | rippo/React.Tests | ca07eb3c37a251c172e3f1c7c77264bd3bc9852d | [
"MIT"
] | null | null | null | Mvc/Scripts/Pages/mixins.test.for.databinding.js | rippo/React.Tests | ca07eb3c37a251c172e3f1c7c77264bd3bc9852d | [
"MIT"
] | null | null | null | var app = app || {};
app.components = app.components || {};
(function(){
'use strict';
var MixInTest = app.components.MixInTest = React.createClass({displayName: "MixInTest",
mixins: [React.addons.LinkedStateMixin],
getInitialState: function() {
return {
... | 25.342105 | 105 | 0.498442 |
dbfcae26e438256bd2c475aa24afec3010da93bf | 3,214 | js | JavaScript | Documentation/html/search/all_9.js | billcshi/MagicLeapCard | f6ef56ecf0fcc9634f4ace21691f941d734baf04 | [
"MIT"
] | null | null | null | Documentation/html/search/all_9.js | billcshi/MagicLeapCard | f6ef56ecf0fcc9634f4ace21691f941d734baf04 | [
"MIT"
] | 1 | 2020-03-11T18:44:24.000Z | 2020-03-11T18:44:24.000Z | Documentation/html/search/all_9.js | billcshi/MagicLeapCard | f6ef56ecf0fcc9634f4ace21691f941d734baf04 | [
"MIT"
] | 1 | 2021-07-18T00:09:06.000Z | 2021-07-18T00:09:06.000Z | var searchData=
[
['id_198',['id',['../class_card_info_1_1_new_card.html#ab0d88e0ac5dc3560076a0cae20f64be3',1,'CardInfo::NewCard']]],
['idle_199',['Idle',['../namespace_game_world.html#a873363129b1d9b17330a9b9a2832c1eeae599161956d626eda4cb0a5ffb85271c',1,'GameWorld']]],
['idle_5fphase_200',['Idle_Phase',['../name... | 128.56 | 284 | 0.801493 |
dbfd6965dad93d91aafbf676eac36cdae267b0eb | 3,107 | js | JavaScript | information-security-and-quality-assurance/issue-tracker/routes/api.js | theforbiddenpool/fcc-projects | 194c931584bac56a8d1273f9489bdd24dc0dfec6 | [
"MIT"
] | null | null | null | information-security-and-quality-assurance/issue-tracker/routes/api.js | theforbiddenpool/fcc-projects | 194c931584bac56a8d1273f9489bdd24dc0dfec6 | [
"MIT"
] | 4 | 2020-10-19T16:05:21.000Z | 2020-10-19T16:06:50.000Z | information-security-and-quality-assurance/issue-tracker/routes/api.js | theforbiddenpool/fcc-projects | 194c931584bac56a8d1273f9489bdd24dc0dfec6 | [
"MIT"
] | null | null | null | /*
*
*
* Complete the API routing below
*
*
*/
'use strict';
const expect = require('chai').expect;
const MongoClient = require('mongodb').MongoClient;
const ObjectId = require('mongodb').ObjectID;
let db;
MongoClient.connect(process.env.MONGO_URI, { useUnifiedTopology: true })
.then(client => db = client.db... | 23.537879 | 96 | 0.547152 |
dbfdcebced7640df62eb08ee2c34239dd8cc5096 | 2,840 | js | JavaScript | repository/blood_post_repository.js | Hmasum18/BloodDonors-backend | 332ee786d09ddb13df70b86f7bd9800fe7fec984 | [
"MIT"
] | null | null | null | repository/blood_post_repository.js | Hmasum18/BloodDonors-backend | 332ee786d09ddb13df70b86f7bd9800fe7fec984 | [
"MIT"
] | null | null | null | repository/blood_post_repository.js | Hmasum18/BloodDonors-backend | 332ee786d09ddb13df70b86f7bd9800fe7fec984 | [
"MIT"
] | null | null | null | import {db_query} from "../database/oracle_db.js";
export default class BloodPostRepository{
insertOne = async (postInfo, autoCommit = true) => {
let columns = Object.keys(postInfo);
columns = columns.join(', ');
let params = Object.values(postInfo);
// console.log("BloodPostReposi... | 35.061728 | 140 | 0.510211 |
dbfeb7ac6eed00568991401fccd0e95972a6fc12 | 1,322 | js | JavaScript | test/cli.js | DScheglov/jsonschema-builder | a1eb58a95eed36b4b6cdfdbc160a72d0af28b706 | [
"MIT"
] | 4 | 2017-02-07T16:00:56.000Z | 2020-09-29T14:46:31.000Z | test/cli.js | DScheglov/jsonschema-builder | a1eb58a95eed36b4b6cdfdbc160a72d0af28b706 | [
"MIT"
] | null | null | null | test/cli.js | DScheglov/jsonschema-builder | a1eb58a95eed36b4b6cdfdbc160a72d0af28b706 | [
"MIT"
] | null | null | null | 'use strict';
const assert = require('assert');
const child_process = require('child_process');
describe('node index', function (done) {
it('should process ./models', function(done) {
child_process.exec('node index test/models', function(err, stdout, stderr) {
assert.ok(!err);
assert.equal(std... | 25.921569 | 80 | 0.464448 |
e001c68365bc0e717cfe00439fb775524c872f45 | 292 | js | JavaScript | modules/javascript-codes/modules/default-parameter/01-defaultParameter.js | drigols/Studies | 9c293156935b491ded24be6b511daac67fd43538 | [
"MIT"
] | 1 | 2020-09-06T22:17:19.000Z | 2020-09-06T22:17:19.000Z | modules/javascript-codes/modules/default-parameter/01-defaultParameter.js | drigols/Studies | 9c293156935b491ded24be6b511daac67fd43538 | [
"MIT"
] | null | null | null | modules/javascript-codes/modules/default-parameter/01-defaultParameter.js | drigols/Studies | 9c293156935b491ded24be6b511daac67fd43538 | [
"MIT"
] | null | null | null | /*
* Rodrigo Leite - Software Engineer
* 19/11/2017
*/
function employee(name = 'anonymous', business = 'Google') {
console.log(`Nome: ${name}, ${business}`); // eslint-disable-line no-console
}
employee();
employee(undefined, 'IBM');
employee('drigols');
employee('Rodrigo', 'Amazon');
| 19.466667 | 78 | 0.667808 |
e0035f52f867fa3014f98e71de9c880a8d2a9bef | 621 | js | JavaScript | test/donor.js | karmelyoei/bloodBank-API | 3f46722043dabc2106687bd3a8652134dcb6979c | [
"MIT"
] | 1 | 2020-12-04T09:06:09.000Z | 2020-12-04T09:06:09.000Z | test/donor.js | karmelyoei/bloodBank-API | 3f46722043dabc2106687bd3a8652134dcb6979c | [
"MIT"
] | null | null | null | test/donor.js | karmelyoei/bloodBank-API | 3f46722043dabc2106687bd3a8652134dcb6979c | [
"MIT"
] | null | null | null | const tape = require('tape');
const supertest = require('supertest');
const app = require('../src/app');
tape('test the donors End point', test => {
supertest(app)
.get('/donors')
.expect(200)
.end((err, result) => {
test.equal(
result.body[0].name,
'Farah',
'this is the sec... | 22.178571 | 70 | 0.553945 |
e003f36f640144e4a8c62d429ee5e6716ceebd8b | 759 | js | JavaScript | src/index.js | dewsign/maxfactor-vue-support | 018265c6fe39670716a5978783af065f673cfae8 | [
"MIT"
] | null | null | null | src/index.js | dewsign/maxfactor-vue-support | 018265c6fe39670716a5978783af065f673cfae8 | [
"MIT"
] | null | null | null | src/index.js | dewsign/maxfactor-vue-support | 018265c6fe39670716a5978783af065f673cfae8 | [
"MIT"
] | null | null | null | // Modules
import FormatNumber from './Modules/FormatNumber'
import DateOrdinal from './Modules/DateOrdinal'
import AjaxStore from './Store/AjaxStore'
// Vue Mixins
import FormMixin from './Mixins/FormMixin'
// Vue Filters
import DefaultFilter from './Filters/DefaultFilter'
import MoneyFilter from './Filters/MoneyFil... | 22.323529 | 57 | 0.715415 |
e0052334833c751965603ae4ccc16d310a3d0131 | 1,967 | js | JavaScript | src/main/resources/static/js/app/badge.js | linuzilla/dns-analyzer | a6e0525effb2a01948e7f3dc9c834a0408d97ed7 | [
"MIT"
] | null | null | null | src/main/resources/static/js/app/badge.js | linuzilla/dns-analyzer | a6e0525effb2a01948e7f3dc9c834a0408d97ed7 | [
"MIT"
] | null | null | null | src/main/resources/static/js/app/badge.js | linuzilla/dns-analyzer | a6e0525effb2a01948e7f3dc9c834a0408d97ed7 | [
"MIT"
] | null | null | null | function delete_instance_message(imDelUrl, id) {
var actionUrl = imDelUrl + '/' + id;
ncuCommonLib.delete(actionUrl, function (err, data) {
});
}
function update_badge(badgeUrl, imDelUrl, checkEvent) {
function update_badge_function() {
ncuCommonLib.get(badgeUrl, function(err,data) {
... | 40.979167 | 123 | 0.464667 |
e0055b0b27fcab0e756412888042e7ace04d4ea4 | 384 | js | JavaScript | public/blocks/pmenu/pmenu.js | PavelZubkov/student-project-control | 1bf054c601f38ab3727fa50d661194db44fa7526 | [
"MIT"
] | null | null | null | public/blocks/pmenu/pmenu.js | PavelZubkov/student-project-control | 1bf054c601f38ab3727fa50d661194db44fa7526 | [
"MIT"
] | null | null | null | public/blocks/pmenu/pmenu.js | PavelZubkov/student-project-control | 1bf054c601f38ab3727fa50d661194db44fa7526 | [
"MIT"
] | null | null | null | 'use strict';
$(function() {
const con = new __control();
const el = con.getElem();
el.appendTo('.pmenu__control');
$.post(
'/projects/get',
function(data, textStatus, jqXHR) {
if (textStatus === 'success') {
const list = new __list( { projects: data } );
con.setList(list);
... | 24 | 54 | 0.554688 |
e005e5729a1dfe1980ff8bed7dcd35ef494c4ecd | 357 | js | JavaScript | projects/hslayers-server/server.js | hslayers/hslayers-ng | adc2ccffc1c76e7465909fb814d7ae05c85215c3 | [
"MIT"
] | 42 | 2016-01-12T13:57:51.000Z | 2022-02-02T14:08:00.000Z | projects/hslayers-server/server.js | hslayers/hslayers-ng | adc2ccffc1c76e7465909fb814d7ae05c85215c3 | [
"MIT"
] | 1,378 | 2016-01-12T15:53:43.000Z | 2022-03-31T16:17:55.000Z | projects/hslayers-server/server.js | hslayers/hslayers-ng | adc2ccffc1c76e7465909fb814d7ae05c85215c3 | [
"MIT"
] | 17 | 2016-01-30T21:14:01.000Z | 2021-12-14T13:52:52.000Z | #!/usr/bin/env node
require('dotenv').config();
const path = require('path');
const fs = require("fs");
if (!process.env.DB_PATH)
process.env.DB_PATH = 'data/hslayers-server.db';
let dbdir = path.dirname(process.env.DB_PATH);
if (!fs.existsSync(dbdir)) {
fs.mkdirSync(dbdir);
}
require('./src/proxy');
require('./s... | 22.3125 | 50 | 0.67507 |
e00625327f564320391b6d45df9a796a0b05cd07 | 434 | js | JavaScript | app/containers/FilterBar/selectors.js | irff/athena | 491eb5f6b061cc946e3bb87910efdc70fa0ada12 | [
"MIT"
] | null | null | null | app/containers/FilterBar/selectors.js | irff/athena | 491eb5f6b061cc946e3bb87910efdc70fa0ada12 | [
"MIT"
] | null | null | null | app/containers/FilterBar/selectors.js | irff/athena | 491eb5f6b061cc946e3bb87910efdc70fa0ada12 | [
"MIT"
] | null | null | null | import { createSelector } from 'reselect';
/**
* Direct selector to the filterBar state domain
*/
const selectFilterBarDomain = () => state => state.get('filterBar');
/**
* Other specific selectors
*/
/**
* Default selector used by FilterBar
*/
const selectFilterBar = () => createSelector(
selectFilterBarD... | 16.692308 | 68 | 0.693548 |
e0063d9eaf381a28e71b0f60664fa7784fb94e10 | 408 | js | JavaScript | src/index.js | verymadmax/brackets | f3d3323826442322c484306c09eefe07624eacf5 | [
"MIT"
] | null | null | null | src/index.js | verymadmax/brackets | f3d3323826442322c484306c09eefe07624eacf5 | [
"MIT"
] | null | null | null | src/index.js | verymadmax/brackets | f3d3323826442322c484306c09eefe07624eacf5 | [
"MIT"
] | null | null | null | module.exports = function check(str, bracketsConfig) {
var strArr = str.split('');
var brack = bracketsConfig;
for (var i=0;i<strArr.length;i++){
for (var j = 0; j < brack.length; j++){
if(strArr[i] === brack[j][0] && strArr[i+1] === brack[j][1]){
strArr.splice(i,2);
if (strArr.length ==... | 24 | 67 | 0.509804 |
e006b869a5b51af4debd627ea4efd9d4e906d296 | 302 | js | JavaScript | src/components/header/logo.js | etarasova/my-website | 20d7ff64fba94c9cf49ccd3722e906097ca13409 | [
"MIT"
] | 1 | 2020-04-30T20:49:21.000Z | 2020-04-30T20:49:21.000Z | src/components/header/logo.js | etarasova/my-website | 20d7ff64fba94c9cf49ccd3722e906097ca13409 | [
"MIT"
] | 2 | 2020-05-01T14:21:36.000Z | 2022-02-10T22:17:20.000Z | src/components/header/logo.js | etarasova/my-website | 20d7ff64fba94c9cf49ccd3722e906097ca13409 | [
"MIT"
] | 1 | 2020-04-30T20:50:52.000Z | 2020-04-30T20:50:52.000Z | import React from "react"
import avatar from "../../assets/images/avatar.jpg"
const Logo = props => (
<div id="logo">
<span className="image avatar48"><img src={avatar} alt=""/></span>
<h1 id="title">Elena Tarasova</h1>
<p>Junior Software Developer</p>
</div>
)
export default Logo
| 20.133333 | 70 | 0.642384 |
e008005a8a0aa447aadbd4ff2e6b6f12d7289e35 | 1,186 | js | JavaScript | src/routes/product.js | D3AH/APIStock | 229f4e665e46fa383b5562b252a13a164af11ace | [
"MIT"
] | null | null | null | src/routes/product.js | D3AH/APIStock | 229f4e665e46fa383b5562b252a13a164af11ace | [
"MIT"
] | null | null | null | src/routes/product.js | D3AH/APIStock | 229f4e665e46fa383b5562b252a13a164af11ace | [
"MIT"
] | null | null | null | 'use strict';
var express = require('express');
var ProductController = require('../controllers/product');
var md_auth = require('../middlewares/authenticated');
var api = express.Router();
/**
* GET
*/
api.get('/search',
md_auth.ensureAut,
ProductController.searchProduct);
api.get('/',
ProductContro... | 19.129032 | 58 | 0.677909 |
e008824033c0dc0b907d232904f3dcfe78c3e91b | 17,035 | js | JavaScript | public/js/directory.js | CollinWood12/wattserp | 5eb7f175c7e5aed2d4b7a1e920483bfacd782124 | [
"MIT"
] | null | null | null | public/js/directory.js | CollinWood12/wattserp | 5eb7f175c7e5aed2d4b7a1e920483bfacd782124 | [
"MIT"
] | null | null | null | public/js/directory.js | CollinWood12/wattserp | 5eb7f175c7e5aed2d4b7a1e920483bfacd782124 | [
"MIT"
] | null | null | null | var rate_tier_count = 0;
var rate_interval_count = 0;
var chart_colors = ['rgba(75, 192, 192, 0.2)', 'rgba(54, 162, 235, 0.2)', 'rgba(153, 102, 255, 0.2)', 'rgba(255, 99, 132, 0.2)', 'rgba(255, 159, 64, 0.2)', 'rgba(255, 206, 86, 0.2)'];
var chart_colors2 = ['#d41f36', '#3a9922', '#c66906', '#fdfd00', '#1465a5'];
var c... | 36.321962 | 217 | 0.631993 |
e008a2a5db48d616e31e2df3a9c9a5ee8780f135 | 2,106 | js | JavaScript | src/components/AuthLayout.js | MishaHnatyshyn/supermarket-self-service-app | fbd7b23b35842729b93a836837558ce901c18e13 | [
"Apache-2.0"
] | null | null | null | src/components/AuthLayout.js | MishaHnatyshyn/supermarket-self-service-app | fbd7b23b35842729b93a836837558ce901c18e13 | [
"Apache-2.0"
] | 5 | 2020-04-26T17:50:36.000Z | 2022-02-27T00:28:46.000Z | src/components/AuthLayout.js | MishaHnatyshyn/supermarket-self-service-app | fbd7b23b35842729b93a836837558ce901c18e13 | [
"Apache-2.0"
] | 1 | 2020-11-17T21:29:00.000Z | 2020-11-17T21:29:00.000Z | import React from 'react';
import {
Image, StyleSheet, View,
} from 'react-native';
import PropTypes from 'prop-types';
import { $white } from '../constants/Colors';
import Layout from '../constants/Layout';
import CachableImage from './CachableImage';
const { width } = Layout.window;
const logo = require('../asset... | 21.06 | 89 | 0.594967 |
e008cc571bf6a455497ea6e46b615d6762b34c82 | 381 | js | JavaScript | jsonp/320803.js | c-tsy/data_location | f7db57bf8cfec889b7d90f5d30b3a062490b2125 | [
"MIT"
] | null | null | null | jsonp/320803.js | c-tsy/data_location | f7db57bf8cfec889b7d90f5d30b3a062490b2125 | [
"MIT"
] | null | null | null | jsonp/320803.js | c-tsy/data_location | f7db57bf8cfec889b7d90f5d30b3a062490b2125 | [
"MIT"
] | null | null | null | if(_area_jsonp_320803){_area_jsonp_320803({"320803001":"淮城街道","320803002":"河下街道","320803004":"山阳街道","320803101":"平桥镇","320803104":"朱桥镇","320803106":"施河镇","320803107":"车桥镇","320803109":"流均镇","320803110":"博里镇","320803112":"复兴镇","320803113":"苏嘴镇","320803114":"钦工镇","320803115":"顺河镇","320803121":"漕运镇","320803122":"石塘镇","320... | 381 | 381 | 0.698163 |
e00aab6424e7ff6fe5534438b754e87b474a2f63 | 3,233 | js | JavaScript | public/script/madmin-console.js | bustardcelly/madmin | 4456008157cc70cadd39417dabd4620e0ac469bb | [
"MIT"
] | null | null | null | public/script/madmin-console.js | bustardcelly/madmin | 4456008157cc70cadd39417dabd4620e0ac469bb | [
"MIT"
] | null | null | null | public/script/madmin-console.js | bustardcelly/madmin | 4456008157cc70cadd39417dabd4620e0ac469bb | [
"MIT"
] | 1 | 2018-09-22T04:10:01.000Z | 2018-09-22T04:10:01.000Z | /*global define:false */
define(['jquery', 'script/controller/route-console-controller'],
function($, routeConsoleControllerFactory) {
var routeConsoleControllers = [],
activeConsoleController;
function activateConsole(consoleController) {
if(typeof activeConsoleController !== 'undefined' ) {
... | 28.359649 | 83 | 0.691308 |
e00cccdfa679c8e87aa090e0904c94c854a60319 | 231 | js | JavaScript | src/components/theme-legacy/raw-link.js | cfowles/mop-frontend | 3ea1477e588ef754a9155f4917f8e5b93dca3d90 | [
"BSD-3-Clause"
] | null | null | null | src/components/theme-legacy/raw-link.js | cfowles/mop-frontend | 3ea1477e588ef754a9155f4917f8e5b93dca3d90 | [
"BSD-3-Clause"
] | null | null | null | src/components/theme-legacy/raw-link.js | cfowles/mop-frontend | 3ea1477e588ef754a9155f4917f8e5b93dca3d90 | [
"BSD-3-Clause"
] | null | null | null | // Theme-legacy thanks page doesn't render this
// but this component needs to exist because a theme-giraffe component exists
// and our theme-switching build process requires both
const RawLink = () => null
export default RawLink
| 38.5 | 77 | 0.779221 |
e00dab020ad5344f607d9639249e2f3b7f07f5b2 | 7,716 | js | JavaScript | dist/js/chunk-146c7137.e29fc705.js | ArilexWang/basketballbackend | 313506cce0e14c9535e18b26b868a859021d5d73 | [
"MIT"
] | null | null | null | dist/js/chunk-146c7137.e29fc705.js | ArilexWang/basketballbackend | 313506cce0e14c9535e18b26b868a859021d5d73 | [
"MIT"
] | null | null | null | dist/js/chunk-146c7137.e29fc705.js | ArilexWang/basketballbackend | 313506cce0e14c9535e18b26b868a859021d5d73 | [
"MIT"
] | null | null | null | (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-146c7137"],{"365c":function(t,e,n){"use strict";n.d(e,"i",(function(){return a})),n.d(e,"j",(function(){return l})),n.d(e,"h",(function(){return r})),n.d(e,"k",(function(){return u})),n.d(e,"c",(function(){return i})),n.d(e,"a",(function(){return s})),n.... | 3,858 | 7,664 | 0.660964 |
e00ef179537f5e0a71e7e0a0ad5a458c5cf1baa9 | 3,914 | js | JavaScript | lib/__tests/lexer.js | bramus/csstree | 41f276e8862d8223eeaa01a3d113ab70bb13d2d9 | [
"MIT"
] | 1,421 | 2016-09-12T23:05:48.000Z | 2022-03-29T15:31:27.000Z | lib/__tests/lexer.js | bramus/csstree | 41f276e8862d8223eeaa01a3d113ab70bb13d2d9 | [
"MIT"
] | 179 | 2016-09-12T22:11:21.000Z | 2022-02-27T20:14:08.000Z | lib/__tests/lexer.js | bramus/csstree | 41f276e8862d8223eeaa01a3d113ab70bb13d2d9 | [
"MIT"
] | 96 | 2016-09-20T13:48:29.000Z | 2022-03-12T20:42:30.000Z | import assert from 'assert';
import { lexer, createLexer, fork } from 'css-tree';
describe('lexer', () => {
it('should not override generic types when used', () => {
const customLexer = createLexer({
generic: true,
types: {
length: 'foo'
}
});
... | 32.616667 | 101 | 0.495657 |
e00f819bea8493d23978d0e41e788c730f7c6387 | 591 | js | JavaScript | api_server/modules/users/test/gitlens_user/multiple_email_hashes_test.js | reneelpetit/codestream-server | 03a9b7ee578ec42534038ef3b77662f44ab25b6b | [
"Apache-2.0"
] | 1 | 2021-11-07T18:53:39.000Z | 2021-11-07T18:53:39.000Z | api_server/modules/users/test/gitlens_user/multiple_email_hashes_test.js | reneelpetit/codestream-server | 03a9b7ee578ec42534038ef3b77662f44ab25b6b | [
"Apache-2.0"
] | null | null | null | api_server/modules/users/test/gitlens_user/multiple_email_hashes_test.js | reneelpetit/codestream-server | 03a9b7ee578ec42534038ef3b77662f44ab25b6b | [
"Apache-2.0"
] | null | null | null | 'use strict';
const GitLensUserTest = require('./gitlens_user_test');
class MultipleEmailHashesTest extends GitLensUserTest {
get description () {
return 'should be ok to provide multiple email hashes when creating a GitLens user';
}
// before the test runs...
before (callback) {
// add more email hashes
... | 21.888889 | 86 | 0.693739 |
e00f9f021fc1084a30636279c8269c5fce75b6fa | 23,154 | js | JavaScript | releases/0.10.0/docs/user_guide/bokeh-plot-2f1dd061e4b85e6d21f8267486e34080.js | Daniel-Mietchen/docs.bokeh.org | 5aab9ea64e7b6f9267e356bb6920e0342260444d | [
"BSD-3-Clause"
] | null | null | null | releases/0.10.0/docs/user_guide/bokeh-plot-2f1dd061e4b85e6d21f8267486e34080.js | Daniel-Mietchen/docs.bokeh.org | 5aab9ea64e7b6f9267e356bb6920e0342260444d | [
"BSD-3-Clause"
] | null | null | null | releases/0.10.0/docs/user_guide/bokeh-plot-2f1dd061e4b85e6d21f8267486e34080.js | Daniel-Mietchen/docs.bokeh.org | 5aab9ea64e7b6f9267e356bb6920e0342260444d | [
"BSD-3-Clause"
] | null | null | null | (function(global) {
if (typeof (window._bokeh_onload_callbacks) === "undefined"){
window._bokeh_onload_callbacks = [];
}
function load_lib(url, callback){
window._bokeh_onload_callbacks.push(callback);
if (window._bokeh_is_loading){
console.log("Bokeh: BokehJS is being loaded, scheduling callbac... | 492.638298 | 21,395 | 0.628747 |
e00fe0ed7fed679faa5bbe388bc6a91c74d609b2 | 127 | js | JavaScript | www/js/controller.js | lakmalniranga/ionic-boilerplate | f588009545199a21198aa27adf0d808d35f03473 | [
"MIT"
] | null | null | null | www/js/controller.js | lakmalniranga/ionic-boilerplate | f588009545199a21198aa27adf0d808d35f03473 | [
"MIT"
] | null | null | null | www/js/controller.js | lakmalniranga/ionic-boilerplate | f588009545199a21198aa27adf0d808d35f03473 | [
"MIT"
] | null | null | null | app.controller('HomeCtrl', ['$scope', function($scope){
}]);
app.controller('AnotherCtrl', ['$scope', function($scope){
}]); | 18.142857 | 58 | 0.637795 |
e00fefb7137a3816ecad5bd75ea2ffc9f2bfcfc8 | 1,382 | js | JavaScript | test/server/api/services/admin/beneficiariesSpec.js | jbournonville/gadael | 3e60daf688e0002888f7624b56a304d018aef8d2 | [
"MIT"
] | 56 | 2016-02-28T09:49:04.000Z | 2021-07-21T06:54:25.000Z | test/server/api/services/admin/beneficiariesSpec.js | jbournonville/gadael | 3e60daf688e0002888f7624b56a304d018aef8d2 | [
"MIT"
] | 39 | 2017-06-07T07:49:58.000Z | 2022-01-26T10:13:52.000Z | test/server/api/services/admin/beneficiariesSpec.js | jbournonville/gadael | 3e60daf688e0002888f7624b56a304d018aef8d2 | [
"MIT"
] | 27 | 2017-11-17T18:22:21.000Z | 2021-04-09T19:05:36.000Z | 'use strict';
var app = require('../../../../../api/Headless.api.js');
describe('users admin API service', function UsersTestSuite() {
it("should connect to the database", function(done) {
app.connect(function() {
done();
});
});
it("verify beneficiaries query", function(done) {
var find = a... | 25.592593 | 69 | 0.557887 |
e0103829a085665bfe7b3e86981fed931e0bd610 | 244 | js | JavaScript | playground/resources/tune.json/odd2.js | gibber-cc/Gibber | 05f17b5058cbfa970d287e7d70594f242199f1e2 | [
"MIT"
] | 374 | 2017-07-05T18:46:34.000Z | 2022-03-19T10:58:46.000Z | playground/resources/tune.json/odd2.js | gibber-cc/Gibber | 05f17b5058cbfa970d287e7d70594f242199f1e2 | [
"MIT"
] | 41 | 2017-06-11T16:34:04.000Z | 2022-02-16T19:02:35.000Z | playground/resources/tune.json/odd2.js | gibber-cc/Gibber | 05f17b5058cbfa970d287e7d70594f242199f1e2 | [
"MIT"
] | 32 | 2017-06-08T03:09:09.000Z | 2022-02-17T22:16:22.000Z | {"frequencies":[261.6255653006,290.69507255622,294.32876096318,306.59245933664,313.95067836072,327.03195662575,348.83408706747,363.36884069528,392.4383479509,436.04260883433,470.92601754108,490.54793493862,523.2511306012],"description":"ODD-2"} | 244 | 244 | 0.840164 |
e0109718afe4855f089949b22141b58ed519d1eb | 1,939 | js | JavaScript | 08dom/07removingReplacingElements.js | hn3ir/Hannah-FED | dc2f6fd2020cdf72c7ae78def475b5cb8f0da493 | [
"MIT"
] | null | null | null | 08dom/07removingReplacingElements.js | hn3ir/Hannah-FED | dc2f6fd2020cdf72c7ae78def475b5cb8f0da493 | [
"MIT"
] | null | null | null | 08dom/07removingReplacingElements.js | hn3ir/Hannah-FED | dc2f6fd2020cdf72c7ae78def475b5cb8f0da493 | [
"MIT"
] | null | null | null | // Replacing Items
// Create a new element to replace the original with
const newHeading = document.createElement('h2');
//add ID
newHeading.id = 'task-title'
// new textnode
newHeading.appendChild(document.createTextNode('New Tasks Heading'));
console.log(newHeading);
// First, get the old element thats to be repl... | 24.858974 | 80 | 0.712739 |
e0113bf687f808f7401db8044298ce1518445394 | 534 | js | JavaScript | elements/utils/mixins/main-dom-element.js | ucd-library/ucdlib-theme | 13eb2894d54539e59c8f346518d57711ed21a066 | [
"MIT"
] | null | null | null | elements/utils/mixins/main-dom-element.js | ucd-library/ucdlib-theme | 13eb2894d54539e59c8f346518d57711ed21a066 | [
"MIT"
] | 39 | 2021-07-13T15:40:20.000Z | 2022-03-29T14:32:52.000Z | elements/utils/mixins/main-dom-element.js | ucd-library/ucdlib-theme | 13eb2894d54539e59c8f346518d57711ed21a066 | [
"MIT"
] | null | null | null | /**
* @function MainDomElement
* @param {Class} superClass - LitElement or child class.
* @description set render context for lit element to main DOM instead of the
* default shadow root
*
* @returns {Class} LitElement updated createRenderRoot function.
*/
const MainDomElement = (superClass) => class extends su... | 23.217391 | 77 | 0.694757 |
e0119d0f8114b8b93a94cbc146c4f0427658a358 | 1,688 | js | JavaScript | src/Confluence.js | pustovitDmytro/atlassian | 6bfcbbbdd8eea571c08a8c17ce86acce424d6a18 | [
"MIT"
] | null | null | null | src/Confluence.js | pustovitDmytro/atlassian | 6bfcbbbdd8eea571c08a8c17ce86acce424d6a18 | [
"MIT"
] | 91 | 2021-04-23T21:14:18.000Z | 2022-03-29T00:03:56.000Z | src/Confluence.js | pustovitDmytro/atlassian | 6bfcbbbdd8eea571c08a8c17ce86acce424d6a18 | [
"MIT"
] | 3 | 2021-04-23T21:12:08.000Z | 2021-09-20T10:59:47.000Z | import path from 'path';
import fs from 'fs-extra';
import { pause } from 'myrmidon';
import Api from './api/ConfluenceApi';
const CONFLUENCE_LOG_POLLING_INTERVAL = 500;
export default class Confluence extends Api {
constructor(config, logger) {
super(config.host, {
username : config.email,
... | 29.103448 | 106 | 0.626185 |
e0147afa072ed0ee12f1a681e112c83d385f41a0 | 1,272 | js | JavaScript | !Work/190310-inherit-prototypes/test011.js | lilliputten/webpack-bem-sample-v01-1903 | 46dcfa516e03f4c91c420b84544522facde60b19 | [
"MIT"
] | null | null | null | !Work/190310-inherit-prototypes/test011.js | lilliputten/webpack-bem-sample-v01-1903 | 46dcfa516e03f4c91c420b84544522facde60b19 | [
"MIT"
] | null | null | null | !Work/190310-inherit-prototypes/test011.js | lilliputten/webpack-bem-sample-v01-1903 | 46dcfa516e03f4c91c420b84544522facde60b19 | [
"MIT"
] | null | null | null | /* eslint-disable no-debugger */
const inherit = require('inherit');
/** Block1A ** {{{
*/
const Block1A = inherit({
__constructor: function() {
console.log('Block1A:__constructor');
// debugger;
this.__base && this.__base.apply(this, arguments);
},
method1: function() {
console.log('Block1A:me... | 22.714286 | 56 | 0.615566 |
e014d5f7767af064851d28b2a86d469e5b6d5eda | 2,861 | js | JavaScript | test/required-params.test.js | JamieREvans/RequiredParams | 4c2ce6053584b5438564c72efd2db5949e799aa4 | [
"MIT"
] | null | null | null | test/required-params.test.js | JamieREvans/RequiredParams | 4c2ce6053584b5438564c72efd2db5949e799aa4 | [
"MIT"
] | null | null | null | test/required-params.test.js | JamieREvans/RequiredParams | 4c2ce6053584b5438564c72efd2db5949e799aa4 | [
"MIT"
] | null | null | null | require('rootpath')();
var request = require('supertest')(require('test/test-app.js'));
var expect = require('chai').expect;
describe('Required Params', function() {
describe('GET /endpoint', function() {
describe('without the required parameters', function() {
it('should return 422 with the missing param... | 32.511364 | 103 | 0.537225 |
e01576a5446c56be6ccd0b7fb3c2b4ac1eb4d6d7 | 471 | js | JavaScript | frontend/src/pages/Home.js | WernerBudtke/mytinerary-budtke | 6e008c451a7c2e0b7a73e1a0ff6630d392e762b3 | [
"MIT"
] | null | null | null | frontend/src/pages/Home.js | WernerBudtke/mytinerary-budtke | 6e008c451a7c2e0b7a73e1a0ff6630d392e762b3 | [
"MIT"
] | 1 | 2021-10-19T14:02:34.000Z | 2021-10-19T14:02:34.000Z | frontend/src/pages/Home.js | WernerBudtke/mytinerary-budtke | 6e008c451a7c2e0b7a73e1a0ff6630d392e762b3 | [
"MIT"
] | null | null | null | import Header from '../components/Header'
import Footer from '../components/Footer'
import Mainhome from '../components/Mainhome'
import { useEffect } from 'react'
const Home = () =>{
useEffect(() =>{
window.scrollTo(0,0)
document.title = "myTinerary - Home"
return () => document.title = "my... | 24.789474 | 50 | 0.545648 |
e018c43d43ad5b72603b52450fa83fd37f426c93 | 459 | js | JavaScript | public/js/stats/linelength.js | maconard/watson-code-reviewer | de1479150f36222426227d741364b25f19218ac1 | [
"Apache-2.0"
] | 1 | 2019-07-19T18:00:07.000Z | 2019-07-19T18:00:07.000Z | public/js/stats/linelength.js | maconard/watson-code-reviewer | de1479150f36222426227d741364b25f19218ac1 | [
"Apache-2.0"
] | null | null | null | public/js/stats/linelength.js | maconard/watson-code-reviewer | de1479150f36222426227d741364b25f19218ac1 | [
"Apache-2.0"
] | 1 | 2019-07-15T17:30:20.000Z | 2019-07-15T17:30:20.000Z | statRules.lineLength = function(stats, code)
{
let totalLines = 0.0;
let maxLineLen = 0;
let count = 0;
for (let i in code.lines)
{
let len = code.lines[i].length;
totalLines += len;
count++;
stats.lines[i].lineLength = len;
if (len > maxLineLen) max... | 24.157895 | 48 | 0.572985 |
e01a2e30b4cecc9fb7e37287a07bab620e81a923 | 487 | js | JavaScript | src/measures/correlations.js | yarden-livnat/cg-core | 75e11b5910a5f9b8e96279c561f259ad4053818c | [
"MIT"
] | null | null | null | src/measures/correlations.js | yarden-livnat/cg-core | 75e11b5910a5f9b8e96279c561f259ad4053818c | [
"MIT"
] | null | null | null | src/measures/correlations.js | yarden-livnat/cg-core | 75e11b5910a5f9b8e96279c561f259ad4053818c | [
"MIT"
] | null | null | null | /**
* Created by yarden on 5/31/16.
*/
import * as d3 from 'd3';
function variance(a) {
if (a.var == undefined) {
if (a.mean == undefined) a.mean = d3.mean(a);
let ss = 0;
for (let v of a) {
ss += v * v;
}
a.var = ss - a.length * a.mean;
}
return a.var;
}
export function pearson(... | 16.233333 | 50 | 0.49692 |
e01b2690d667bd89d288a9c53250d453e812c969 | 3,583 | js | JavaScript | src/pages/sol-lewitt/wall-drawing-16.js | kimdhoe/dhk.github.io | 2963215f4f10b9b05bb60fb87ca2a98af35940f5 | [
"MIT"
] | null | null | null | src/pages/sol-lewitt/wall-drawing-16.js | kimdhoe/dhk.github.io | 2963215f4f10b9b05bb60fb87ca2a98af35940f5 | [
"MIT"
] | 12 | 2021-03-01T20:34:39.000Z | 2022-02-26T14:06:54.000Z | src/pages/sol-lewitt/wall-drawing-16.js | kimdhoe/dhk.github.io | 2963215f4f10b9b05bb60fb87ca2a98af35940f5 | [
"MIT"
] | null | null | null | import React from 'react'
import { css } from 'glamor'
import random from 'canvas-sketch-util/random'
import Layout from '../../components/layout'
const LINE_SPACING = 5
const WIDTH = 512
const BAND_WIDTH = WIDTH / random.range(1.5, 3)
class Sol16 extends React.Component {
canvas = React.createRef()
componentDi... | 22.534591 | 96 | 0.52777 |
e01d31aa0423d81f49b813ac48c70aa1125d7054 | 17,417 | js | JavaScript | src/chartmogul/chartmogul-router.js | Dakad/dashyAPINode | c9f809d31d33c58c5a95b87e8e930c67ba90295d | [
"MIT"
] | null | null | null | src/chartmogul/chartmogul-router.js | Dakad/dashyAPINode | c9f809d31d33c58c5a95b87e8e930c67ba90295d | [
"MIT"
] | null | null | null | src/chartmogul/chartmogul-router.js | Dakad/dashyAPINode | c9f809d31d33c58c5a95b87e8e930c67ba90295d | [
"MIT"
] | null | null | null | /**
* @overview SubRouter to handle the all path related to /chartmogul
*
* @module router/chartmogul
* @requires config
* @requires components/util
* @requires components/pusher
* @requires router/base
* @requires feeder/chartmogul
*
*/
// -------------------------------------------------------------------... | 27.515008 | 79 | 0.486938 |
e01dca6f1c340608e1fdd547978c19d45862c69c | 2,457 | js | JavaScript | api/src/models/user.model.js | EvelynAnyebe/team-stats | cfb1a39f1c4fe3b0c1e7523737bd76425d23fbfd | [
"MIT"
] | null | null | null | api/src/models/user.model.js | EvelynAnyebe/team-stats | cfb1a39f1c4fe3b0c1e7523737bd76425d23fbfd | [
"MIT"
] | 10 | 2022-02-11T17:54:13.000Z | 2022-02-12T15:28:00.000Z | api/src/models/user.model.js | EvelynAnyebe/team-stats | cfb1a39f1c4fe3b0c1e7523737bd76425d23fbfd | [
"MIT"
] | null | null | null | const mongoose = require('mongoose');
const bcrypt = require('bcrypt');
const jwt = require('jsonwebtoken');
const { Schema, model } = mongoose;
const UserSchema = Schema(
{
userName: {
type: String,
},
email: {
type: String,
required: true,
... | 23.179245 | 79 | 0.496133 |
e01e61f2914637829e056a0e24f4b78536870578 | 3,479 | js | JavaScript | public/js/base.js | ft4733520/Laravel-Angular | 68c1d5bf9a22257bc9552f7e49956d343eb3cbb1 | [
"MIT"
] | null | null | null | public/js/base.js | ft4733520/Laravel-Angular | 68c1d5bf9a22257bc9552f7e49956d343eb3cbb1 | [
"MIT"
] | null | null | null | public/js/base.js | ft4733520/Laravel-Angular | 68c1d5bf9a22257bc9552f7e49956d343eb3cbb1 | [
"MIT"
] | null | null | null |
;(function()
{
'use strict';
angular.module('xiaohu',[
'ui.router',
])
.config([
'$interpolateProvider',
'$stateProvider',
'$urlRouterProvider',
function($interpolateProvider,
$stateProvider,
$urlRouterProvider)
{
$interpolateProvider.startSymbol('[:');
$... | 20.464706 | 78 | 0.509917 |
e01e83ca217cd2faa6b48b7c62c4a06d642199f6 | 3,584 | js | JavaScript | components/RoomCard.js | cadupuy/airbnb-front | 2412c55595be32721fa685e9b2dd3d68ec1d2e6d | [
"MIT"
] | null | null | null | components/RoomCard.js | cadupuy/airbnb-front | 2412c55595be32721fa685e9b2dd3d68ec1d2e6d | [
"MIT"
] | null | null | null | components/RoomCard.js | cadupuy/airbnb-front | 2412c55595be32721fa685e9b2dd3d68ec1d2e6d | [
"MIT"
] | null | null | null | import React from "react";
import { useNavigation } from "@react-navigation/core";
import { Entypo } from "@expo/vector-icons";
import {
Button,
Text,
Image,
StyleSheet,
TouchableOpacity,
View,
FlatList,
} from "react-native";
import colors from "../assets/colors";
const RoomCard = ({ room }) => {
con... | 21.207101 | 79 | 0.490513 |
e01e9113cb04d8a23f047f19d71638ecd294a26a | 704 | js | JavaScript | public/index.js | afeiship/react-ant-menu-burger | 9a5e4421bfa512fa60dc668e1b5648555b7c402b | [
"MIT"
] | null | null | null | public/index.js | afeiship/react-ant-menu-burger | 9a5e4421bfa512fa60dc668e1b5648555b7c402b | [
"MIT"
] | null | null | null | public/index.js | afeiship/react-ant-menu-burger | 9a5e4421bfa512fa60dc668e1b5648555b7c402b | [
"MIT"
] | null | null | null | import ReactDemokit from '@jswork/react-demokit';
import React from 'react';
import ReactDOM from 'react-dom';
import ReactAntMenuBurger from '../src/main';
import ReactAdminIcons from '@jswork/react-admin-icons';
import './assets/style.scss';
class App extends React.Component {
render() {
return (
<ReactD... | 27.076923 | 64 | 0.636364 |
e01f0e7839ea8e7f5b6e0b748ce7afcf873324b5 | 3,069 | js | JavaScript | Client/pages/mine/mycenter/mycenter.js | TateYdq/DietRegimen | 66c88e84b7c4d9226db1d9567d300b1c6f7344b7 | [
"MIT"
] | null | null | null | Client/pages/mine/mycenter/mycenter.js | TateYdq/DietRegimen | 66c88e84b7c4d9226db1d9567d300b1c6f7344b7 | [
"MIT"
] | null | null | null | Client/pages/mine/mycenter/mycenter.js | TateYdq/DietRegimen | 66c88e84b7c4d9226db1d9567d300b1c6f7344b7 | [
"MIT"
] | null | null | null | // pages/mine/mycenter/mycenter.js
const apiRequest = require("../../../utils/api_request.js")
const app = getApp()
Page({
/**
* 页面的初始数据
*/
data: {
isLogin:false,
userAvatarUrl: null,
myUserInfo:{}
},
/**
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
this.setData({
... | 17.739884 | 59 | 0.531769 |
e01fce14a977337506e503381ba05d87a9f603a6 | 557 | js | JavaScript | src/services/movie/mappers/movies.js | awinogrodzki/tmdb-client | 157a092959e831bcb9a896596b67100cfae69f39 | [
"MIT"
] | 1 | 2017-10-27T22:09:01.000Z | 2017-10-27T22:09:01.000Z | src/services/movie/mappers/movies.js | awinogrodzki/cherryscope-client | 157a092959e831bcb9a896596b67100cfae69f39 | [
"MIT"
] | null | null | null | src/services/movie/mappers/movies.js | awinogrodzki/cherryscope-client | 157a092959e831bcb9a896596b67100cfae69f39 | [
"MIT"
] | null | null | null | import movieService from 'services/movie';
export const mapMovies = (results, imageSize) => results.map(item => ({
id: item.id,
title: item.title,
originalTitle: item.original_title,
imageUrl: movieService.getImageUrl(item.poster_path, imageSize),
voteAverage: item.vote_average,
voteCount: item.vote_count,... | 29.315789 | 71 | 0.737882 |
db9d8bb083649efab073334219b84a624e5e9dee | 414 | js | JavaScript | src/templates/blog-post.js | JesusGerardoAguiar/Felicia | c2d1494b113c9d5a8be46dfa70bdb7524950431d | [
"MIT"
] | null | null | null | src/templates/blog-post.js | JesusGerardoAguiar/Felicia | c2d1494b113c9d5a8be46dfa70bdb7524950431d | [
"MIT"
] | null | null | null | src/templates/blog-post.js | JesusGerardoAguiar/Felicia | c2d1494b113c9d5a8be46dfa70bdb7524950431d | [
"MIT"
] | null | null | null | import React from "react"
import { Link, graphql } from "gatsby"
import { MDXRenderer } from "gatsby-plugin-mdx"
import Bio from "../components/bio"
import Layout from "../components/layout"
import SEO from "../components/seo"
import { rhythm, scale } from "../utils/typography"
class BlogPostTemplate extends React.Co... | 20.7 | 51 | 0.690821 |
db9eb17a100f3658d3911cd6cc10908fae67a266 | 897 | js | JavaScript | d7/d13/class_ext_1_1_net_1_1_observable_direct_event.js | extnet/docs5.ext.net | e99e4d3894640fb1f66882443fe7348fc3181f55 | [
"Apache-2.0"
] | null | null | null | d7/d13/class_ext_1_1_net_1_1_observable_direct_event.js | extnet/docs5.ext.net | e99e4d3894640fb1f66882443fe7348fc3181f55 | [
"Apache-2.0"
] | null | null | null | d7/d13/class_ext_1_1_net_1_1_observable_direct_event.js | extnet/docs5.ext.net | e99e4d3894640fb1f66882443fe7348fc3181f55 | [
"Apache-2.0"
] | null | null | null | var class_ext_1_1_net_1_1_observable_direct_event =
[
[ "Clear", "d7/d13/class_ext_1_1_net_1_1_observable_direct_event.html#afe3c588c1e4dc4d71d861932a4f877b7", null ],
[ "After", "d7/d13/class_ext_1_1_net_1_1_observable_direct_event.html#a0b50e92c624a2a11728159b9bf837fcb", null ],
[ "Before", "d7/d13/class_... | 89.7 | 125 | 0.820513 |
dba09ed9420ac2eb61b7509be40353f9cab40487 | 47 | js | JavaScript | test/merge-rakaz/js/amd1.min.js | artzstudio/Boot | 4c0ba6df1a6e1af2f631f13591583f90f1dbda5e | [
"MIT"
] | 3 | 2015-11-30T13:41:40.000Z | 2016-03-25T20:22:50.000Z | test/merge-rakaz/js/amd1.min.js | artz/Boot | 4c0ba6df1a6e1af2f631f13591583f90f1dbda5e | [
"MIT"
] | 1 | 2016-04-04T15:14:41.000Z | 2016-04-04T15:14:41.000Z | test/merge-rakaz/js/amd1.min.js | artzstudio/Boot | 4c0ba6df1a6e1af2f631f13591583f90f1dbda5e | [
"MIT"
] | 2 | 2016-09-09T08:09:08.000Z | 2016-09-21T20:52:33.000Z | Boot.define(function(){ return { amd: 1 }; });
| 23.5 | 46 | 0.595745 |
dba0b62082e3780efdfe515f3c8a0156d4d40226 | 326 | js | JavaScript | tests/map.js | aredridel/bennu | 4e7235d2fb2d5fe9f4bd1311616d0134a5ff0b2c | [
"MIT"
] | 138 | 2015-01-02T12:59:04.000Z | 2022-02-01T16:58:53.000Z | tests/map.js | aredridel/bennu | 4e7235d2fb2d5fe9f4bd1311616d0134a5ff0b2c | [
"MIT"
] | 5 | 2015-01-09T22:55:49.000Z | 2017-01-10T18:08:02.000Z | tests/map.js | aredridel/bennu | 4e7235d2fb2d5fe9f4bd1311616d0134a5ff0b2c | [
"MIT"
] | 12 | 2015-01-09T22:48:52.000Z | 2021-12-15T08:32:32.000Z | var parse = require('../index').parse;
exports.simple = function(test) {
var result = parse.anyToken
.map(function(x) {
return (+x) + 5;
})
.map(function(x) {
return x / 2;
});
test.deepEqual(
parse.run(result, "3"),
4);
test.done... | 20.375 | 38 | 0.457055 |
dba11132dc8f6be327d9373b0b1bdfd0c5761753 | 791 | js | JavaScript | rollup.config.js | bastienrobert/primitives | f13308b969100b513fe1fc55542106b80552e364 | [
"MIT"
] | null | null | null | rollup.config.js | bastienrobert/primitives | f13308b969100b513fe1fc55542106b80552e364 | [
"MIT"
] | 5 | 2019-10-12T15:04:36.000Z | 2021-05-08T14:52:50.000Z | rollup.config.js | bastienrobert/primitives | f13308b969100b513fe1fc55542106b80552e364 | [
"MIT"
] | null | null | null | import typescript from 'rollup-plugin-typescript2'
import resolve from 'rollup-plugin-node-resolve'
import commonjs from 'rollup-plugin-commonjs'
import { terser } from 'rollup-plugin-terser'
import bundleSize from 'rollup-plugin-bundle-size'
import pkg from './package.json'
const production = !process.env.ROLLUP_WAT... | 24.71875 | 69 | 0.629583 |
dba1af4b32ffb737e389d0dd1264693d80635563 | 23,171 | js | JavaScript | public/3.js | HuanDang-Dev/Nha-Tro-Tot | bcedb1f264a03c1a2192553a897acdb154f6b95c | [
"MIT"
] | null | null | null | public/3.js | HuanDang-Dev/Nha-Tro-Tot | bcedb1f264a03c1a2192553a897acdb154f6b95c | [
"MIT"
] | null | null | null | public/3.js | HuanDang-Dev/Nha-Tro-Tot | bcedb1f264a03c1a2192553a897acdb154f6b95c | [
"MIT"
] | null | null | null | (window["webpackJsonp"] = window["webpackJsonp"] || []).push([[3],{
/***/ "./node_modules/babel-loader/lib/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/components/motel/ViewMotel.vue?vue&type=script&lang=js&":
/*!**************************************************************************************... | 56.514634 | 1,171 | 0.577101 |
dba23fca21742f80a68c677a4f8f7b089ed6776c | 231 | js | JavaScript | babel.config.js | magicdawn/clash-config-manager | 6a42b764373e7874ed870f2452610c74b7fe22f7 | [
"MIT"
] | 34 | 2020-09-25T10:30:52.000Z | 2022-03-25T10:02:27.000Z | babel.config.js | magicdawn/clash-config-manager | 6a42b764373e7874ed870f2452610c74b7fe22f7 | [
"MIT"
] | 5 | 2020-10-01T14:50:08.000Z | 2021-01-01T07:14:17.000Z | babel.config.js | magicdawn/clash-config-manager | 6a42b764373e7874ed870f2452610c74b7fe22f7 | [
"MIT"
] | 4 | 2021-03-24T06:28:48.000Z | 2022-03-15T10:14:26.000Z | module.exports = {
sourceType: 'unambiguous',
presets: [
// Our default preset
[
'poi/babel',
{
env: {
targets: {
electron: '11',
},
},
},
],
],
}
| 13.588235 | 28 | 0.367965 |
dba2fc025b585fb4c383d4932e0ea9d6218319a5 | 7,141 | js | JavaScript | dist/js/Card.min.js | Biangkerok32/html5-solitaire-js | 1a069df6848d7b03793724a6afc9fa99e1940496 | [
"MIT"
] | 47 | 2015-01-07T22:52:24.000Z | 2022-02-23T09:26:39.000Z | dist/js/Card.min.js | Biangkerok32/html5-solitaire-js | 1a069df6848d7b03793724a6afc9fa99e1940496 | [
"MIT"
] | 2 | 2015-03-03T06:30:26.000Z | 2015-09-22T13:07:18.000Z | dist/js/Card.min.js | Biangkerok32/html5-solitaire-js | 1a069df6848d7b03793724a6afc9fa99e1940496 | [
"MIT"
] | 44 | 2015-01-06T11:04:59.000Z | 2022-03-10T03:50:04.000Z | function Card(b,d,a){this.color=0;this.status=ST_UNSELECTED;this.number=d;this.colorNumber=0;this.cardtype=b;this.selectable=false;this.visible=false;this.deck=null;this.position={x:0,y:0};this.jQueryElt=jQuery("<div/>");this.zIndex=0;this.dblclickTimeout=null;this.dragging=false;this.dragEnabled=false;this.dropEnabled... | 7,141 | 7,141 | 0.775382 |
dba3b37352bacd217b147771d67e62b8d84a1d78 | 4,474 | js | JavaScript | SW_withReact/public/javascripts/form.js | ajrauen/SampleJobQuestions | 7aaef9cdd7115ebbb5ee5afded16ff0396284e28 | [
"MIT"
] | null | null | null | SW_withReact/public/javascripts/form.js | ajrauen/SampleJobQuestions | 7aaef9cdd7115ebbb5ee5afded16ff0396284e28 | [
"MIT"
] | null | null | null | SW_withReact/public/javascripts/form.js | ajrauen/SampleJobQuestions | 7aaef9cdd7115ebbb5ee5afded16ff0396284e28 | [
"MIT"
] | null | null | null | var appData = [
{ name: "Mark-Paul Gosselaar", photo_url: "", id:"1" },
{ name: "Delta Burke", photo_url: "images/avatars/delta.png", id:"2" },
{ name: "Alf", photo_url: "images/avatars/alf.png", id:"3" },
{ name: "Jaleel White", photo_url: "images/avatars/jaleel.png", id:"4" },
{ name: "Ralph Ma... | 26.630952 | 124 | 0.519669 |
dba427252f168960cf7a3155ff22351503da6836 | 2,784 | js | JavaScript | build/translations/de.js | nhiennt/ckeditor5-build-decoupled-document | a9aad8723f0d745c4ea149b9f295c80ffddca5e9 | [
"MIT"
] | null | null | null | build/translations/de.js | nhiennt/ckeditor5-build-decoupled-document | a9aad8723f0d745c4ea149b9f295c80ffddca5e9 | [
"MIT"
] | null | null | null | build/translations/de.js | nhiennt/ckeditor5-build-decoupled-document | a9aad8723f0d745c4ea149b9f295c80ffddca5e9 | [
"MIT"
] | null | null | null | (function(d){d['de']=Object.assign(d['de']||{},{a:"Datei kann nicht hochgeladen werden:",b:"Bild Werkzeugleiste",c:"Tabelle Werkzeugleiste",d:"Schriftgröße",e:"Standard",f:"Sehr klein",g:"Klein",h:"Groß",i:"Sehr groß",j:"Schriftart",k:"Kursiv",l:"Linksbündig",m:"Rechtsbündig",n:"Zentriert",o:"Blocksatz",p:"Textausricht... | 2,784 | 2,784 | 0.757543 |
dba475afe4c6c508d2722fa8b66d2f662e2781ca | 451 | js | JavaScript | packages/egg-beidou/test/example/redux/saga/index.js | canvasT/beidou | 5fde1f2366d3a0b7464f36f890c57c9467a2fd8c | [
"MIT"
] | 2,922 | 2017-06-13T09:42:37.000Z | 2022-03-23T07:51:05.000Z | packages/egg-beidou/test/example/redux/saga/index.js | canvasT/beidou | 5fde1f2366d3a0b7464f36f890c57c9467a2fd8c | [
"MIT"
] | 281 | 2017-12-16T16:31:57.000Z | 2022-03-01T13:10:58.000Z | packages/egg-beidou/test/example/redux/saga/index.js | canvasT/beidou | 5fde1f2366d3a0b7464f36f890c57c9467a2fd8c | [
"MIT"
] | 346 | 2017-07-17T13:16:08.000Z | 2022-03-31T09:11:37.000Z | import createSagaMiddleware from 'redux-saga';
import { put, takeLatest } from 'redux-saga/effects';
import actions from '../actions';
// create the saga middleware
export const sagaMiddleware = createSagaMiddleware();
function* greet() {
yield put(actions.success('everyone'));
}
function* mySaga() {
yield takeL... | 20.5 | 53 | 0.720621 |
dba89a682f5a9885d8817b2a193b88bac197f0b6 | 4,541 | js | JavaScript | app.js | yhkaplan/Shop | 2ee7deb42af2c1b49b1d16609916ff6d468509b7 | [
"MIT"
] | 8 | 2020-09-22T10:51:09.000Z | 2021-01-22T17:36:13.000Z | app.js | yhkaplan/Shop | 2ee7deb42af2c1b49b1d16609916ff6d468509b7 | [
"MIT"
] | null | null | null | app.js | yhkaplan/Shop | 2ee7deb42af2c1b49b1d16609916ff6d468509b7 | [
"MIT"
] | null | null | null | const faker = require('faker')
const express = require('express')
const app = express()
const port = 3000
// SFSymbols to stand in as product images
productImages = ['headphones', 'gift', 'alarm', 'lightbulb', 'bandage', 'metronome', 'paperclip', 'book', 'pencil', 'flag']
function sample(array) {
const index = Mat... | 23.9 | 123 | 0.49967 |
dba8f87c8d8d1b2af706b68c6ef95b48e135dce7 | 3,058 | js | JavaScript | src/after_all.js | borisyankov/binary-bot | acffc84842fdc2dca3f74ca47a875df96fa8bedd | [
"MIT"
] | null | null | null | src/after_all.js | borisyankov/binary-bot | acffc84842fdc2dca3f74ca47a875df96fa8bedd | [
"MIT"
] | null | null | null | src/after_all.js | borisyankov/binary-bot | acffc84842fdc2dca3f74ca47a875df96fa8bedd | [
"MIT"
] | null | null | null | (function AfterAll(){
var supportedLanguages = ['zh_tw', 'de', 'id', 'zh_cn', 'it', 'vi', 'ar', 'pl', 'ru', 'pt', 'es', 'fr', 'en'];
var parseQueryString = function parseQueryString() {
var str = window.location.search;
var objURL = {};
str.replace(
new RegExp( "([^?=&]+)(=([^&]*))?", "g" ),
function( $0,... | 25.272727 | 111 | 0.567037 |
dba91d94e8aa997da6b66b194fe7aed0c143f479 | 2,472 | js | JavaScript | server/examples/sql/sparkjdbc.js | ckadner/eclairjs | e354253af9a92cb868783060feb6fb7a6ee12403 | [
"Apache-2.0"
] | 138 | 2016-10-10T22:18:46.000Z | 2022-01-20T18:47:52.000Z | server/examples/sql/sparkjdbc.js | ckadner/eclairjs | e354253af9a92cb868783060feb6fb7a6ee12403 | [
"Apache-2.0"
] | 27 | 2016-10-12T19:58:45.000Z | 2022-02-16T13:55:39.000Z | server/examples/sql/sparkjdbc.js | ckadner/eclairjs | e354253af9a92cb868783060feb6fb7a6ee12403 | [
"Apache-2.0"
] | 25 | 2016-09-30T18:08:58.000Z | 2020-07-07T03:05:53.000Z | /*
* Copyright 2015 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... | 43.368421 | 189 | 0.735032 |
dba9e5cc84e74f61c7ae039708072d64b136201a | 22,718 | js | JavaScript | common/js/libs/ui/notifications.js | YouComedy/YCM-frontend | 899e3fc7f1f4b12016eb45e6d84800cf3ad3d5d8 | [
"Apache-2.0"
] | 3 | 2016-11-04T07:12:38.000Z | 2017-11-22T16:55:35.000Z | common/js/libs/ui/notifications.js | YouComedy/YCM-frontend | 899e3fc7f1f4b12016eb45e6d84800cf3ad3d5d8 | [
"Apache-2.0"
] | 1 | 2016-11-10T07:47:28.000Z | 2016-11-20T11:43:48.000Z | common/js/libs/ui/notifications.js | YouComedy/YCM-frontend | 899e3fc7f1f4b12016eb45e6d84800cf3ad3d5d8 | [
"Apache-2.0"
] | null | null | null | // http://demo.sofcase.net/jnotifier-codecanyon/
// https://github.com/diy/intercom.js
;
(function (a, APP, _, doc ) {
var $ = a, Notify = APP.Notify;
Notify.set({
"timer" : 10E3,
"lastfocus" : +new Date,
"visible" : 0
});
Notify.visibleCounter = function(val){
var ... | 30.090066 | 338 | 0.509288 |