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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
b8f048e5f1d7a68e3b342af4514b2c327b9e964e | 545 | js | JavaScript | Utils/ResponseCodes.js | jfescobar18/Login-API | cfe155a412a45cbf0d4793b67bd54f1b99926042 | [
"MIT"
] | null | null | null | Utils/ResponseCodes.js | jfescobar18/Login-API | cfe155a412a45cbf0d4793b67bd54f1b99926042 | [
"MIT"
] | null | null | null | Utils/ResponseCodes.js | jfescobar18/Login-API | cfe155a412a45cbf0d4793b67bd54f1b99926042 | [
"MIT"
] | null | null | null | var ResponseCodes = {}
ResponseCodes.UserInserted = { name: "UserInserted", code: 1 };
ResponseCodes.UserNotInserted = { name: "UserNotInserted", code: 2 };
ResponseCodes.InvalidCredentials = { name: "Invalid Credentials", code: 3 };
ResponseCodes.AuthenticatedUser = { name: "Authenticated User", code: 4 };
ResponseCo... | 49.545455 | 82 | 0.73211 |
b8f14a6d25fe103a449695eca000b5d843f5bb2e | 1,164 | js | JavaScript | examples/helloadaptive/clientReplica.js | cafjs/caf_sharing | 7ef6664daddbe2a00c2c8bd5f367adfd4f152b38 | [
"Apache-2.0"
] | null | null | null | examples/helloadaptive/clientReplica.js | cafjs/caf_sharing | 7ef6664daddbe2a00c2c8bd5f367adfd4f152b38 | [
"Apache-2.0"
] | 1 | 2019-12-21T01:03:00.000Z | 2019-12-21T01:03:00.000Z | examples/helloadaptive/clientReplica.js | cafjs/caf_sharing | 7ef6664daddbe2a00c2c8bd5f367adfd4f152b38 | [
"Apache-2.0"
] | null | null | null | 'use strict';
/* eslint-disable no-console */
const caf_core = require('caf_core');
const caf_comp = caf_core.caf_components;
const myUtils = caf_comp.myUtils;
const caf_cli = caf_core.caf_cli;
const util = require('util');
/* `from` CA needs to be the same as target `ca` to enable creation, i.e.,
* only owners ca... | 27.069767 | 77 | 0.602234 |
b8f162072cf54339a750f655aa208af25b36d961 | 1,495 | js | JavaScript | projects/in-the-picture/js/main.js | OrelVaizman/Portofilo | a2ffbcf80767d65b27ed57ea12406285a1c25866 | [
"MIT"
] | null | null | null | projects/in-the-picture/js/main.js | OrelVaizman/Portofilo | a2ffbcf80767d65b27ed57ea12406285a1c25866 | [
"MIT"
] | null | null | null | projects/in-the-picture/js/main.js | OrelVaizman/Portofilo | a2ffbcf80767d65b27ed57ea12406285a1c25866 | [
"MIT"
] | null | null | null | var gQuests = [
{ id: 0, opts: ['The weekend', 'Justin Bieber'], correctOptIndex: 0 },
{ id: 1, opts: ['Lil Uzi', 'Drake'], correctOptIndex: 1 },
{ id: 2, opts: ['Young MA', 'Bobby Shmurda'], correctOptIndex: 1 },
{ id: 3, opts: ['Travis Scott', 'Juice-WRLD'], correctOptIndex: 0 },
]
var isVictory = f... | 27.685185 | 140 | 0.589298 |
b8f16bd10517f9947854ceb3e5fff398adae3a18 | 3,762 | js | JavaScript | client/user_pharmacist/update_stocks/partials/scripts/add_medicine.js | yasgun/easypharma | fb929608afcf165d0b166e8d584dc186648dc397 | [
"MIT"
] | 10 | 2018-09-30T14:15:07.000Z | 2021-11-25T16:51:15.000Z | client/user_pharmacist/update_stocks/partials/scripts/add_medicine.js | yasgun/easypharma | fb929608afcf165d0b166e8d584dc186648dc397 | [
"MIT"
] | null | null | null | client/user_pharmacist/update_stocks/partials/scripts/add_medicine.js | yasgun/easypharma | fb929608afcf165d0b166e8d584dc186648dc397 | [
"MIT"
] | 1 | 2021-02-16T19:38:36.000Z | 2021-02-16T19:38:36.000Z | Template.add_medicine.onCreated(function () {
const self = this;
self.add_medicine_color = new ReactiveDict();
self.add_medicine_color.set("add_medicine_green", true);
self.add_medicine_color.set("add_medicine_yellow", false);
self.add_medicine_color.set("add_medicine_blue", false);
});
Template.a... | 36.524272 | 82 | 0.65311 |
b8f1915398586782653bb69d8d6b127152b939c5 | 841 | js | JavaScript | resources/js/components/Expense/Components/Summary/SummaryCategory/AllSummary/Chart.js | nishanthveemarasan/expense-pro | d6689e9c5a0154808af9db302cfc281cf64967ec | [
"MIT"
] | null | null | null | resources/js/components/Expense/Components/Summary/SummaryCategory/AllSummary/Chart.js | nishanthveemarasan/expense-pro | d6689e9c5a0154808af9db302cfc281cf64967ec | [
"MIT"
] | null | null | null | resources/js/components/Expense/Components/Summary/SummaryCategory/AllSummary/Chart.js | nishanthveemarasan/expense-pro | d6689e9c5a0154808af9db302cfc281cf64967ec | [
"MIT"
] | null | null | null | import React, { useEffect, useState } from "react";
import SimplePieChart from "../../../../../../Chart/PieChart/SimplePieChart";
import { limitDemialPlaces } from "../../../../../Helper/Helper";
const Chart = ({ data }) => {
const [series, setSeries] = useState([]);
const [categories, setCategories] = useState... | 31.148148 | 77 | 0.537455 |
b8f1bf7dfcf71cf4c9e93c028552f98239a847a6 | 13,011 | js | JavaScript | js/src/Itrans.js | androidpcguy/itrans | 32578dfb80e5889fd78099b2d3bcf15df0006ed0 | [
"MIT"
] | 17 | 2017-01-31T19:43:16.000Z | 2022-02-14T10:08:48.000Z | js/src/Itrans.js | androidpcguy/itrans | 32578dfb80e5889fd78099b2d3bcf15df0006ed0 | [
"MIT"
] | 5 | 2017-09-04T05:37:22.000Z | 2022-02-03T10:30:22.000Z | js/src/Itrans.js | androidpcguy/itrans | 32578dfb80e5889fd78099b2d3bcf15df0006ed0 | [
"MIT"
] | 8 | 2018-07-25T19:56:16.000Z | 2021-06-01T18:38:35.000Z | /**
* @fileoverview Convert input text tokens into Unicode output using a table driven
* conversion. The tables are loaded from a .tsv spreadsheet text file.
* @author Avinash Chopde <avinash@aczoom.com>
* @version 0.2.0
* @since 2016-10-10
*
* http://www.aczoom.com/itrans/
*/
'use strict';
/*jshint esver... | 41.304762 | 96 | 0.656214 |
b8f2fcc4400c62dcff75e9b1e322eed82a7b2992 | 1,988 | js | JavaScript | src/components/Map/Popup.js | BennaceurHichem/Corrona_Project_2cs | 64d7125410b6d7b606e62f7a7bf25be7ad4dfc24 | [
"MIT"
] | null | null | null | src/components/Map/Popup.js | BennaceurHichem/Corrona_Project_2cs | 64d7125410b6d7b606e62f7a7bf25be7ad4dfc24 | [
"MIT"
] | null | null | null | src/components/Map/Popup.js | BennaceurHichem/Corrona_Project_2cs | 64d7125410b6d7b606e62f7a7bf25be7ad4dfc24 | [
"MIT"
] | null | null | null | import React from 'react';
import Button from '@material-ui/core/Button';
import TextField from '@material-ui/core/TextField';
import Dialog from '@material-ui/core/Dialog';
import DialogActions from '@material-ui/core/DialogActions';
import DialogContent from '@material-ui/core/DialogContent';
import DialogContentText... | 20.080808 | 102 | 0.566398 |
b8f3559a0fb49af108768c1280a5fb40e8fe1d78 | 1,028 | js | JavaScript | frontend/app/src/js/KgpIframeInterface.js | isplab-unil/kin-genomic-privacy | a563a1cc02269d240efd687b64d20f25b12a9650 | [
"Apache-2.0"
] | null | null | null | frontend/app/src/js/KgpIframeInterface.js | isplab-unil/kin-genomic-privacy | a563a1cc02269d240efd687b64d20f25b12a9650 | [
"Apache-2.0"
] | null | null | null | frontend/app/src/js/KgpIframeInterface.js | isplab-unil/kin-genomic-privacy | a563a1cc02269d240efd687b64d20f25b12a9650 | [
"Apache-2.0"
] | null | null | null |
/******** down events ********/
export function kgpSetSourceEvent(source){
return {"type": "KgpSetSourceEvent", "source":source}
}
export function kgpSetLanguageEvent(lng){
return {"type": "KgpSetLanguageEvent", "lng":lng}
}
/** Event from kgpmeter to kgp-iframe to signale iframe max dimensions */
export funct... | 29.371429 | 97 | 0.747082 |
b8f36617bfce9b6e1b21a9f49cd81d5c4a42e064 | 89 | js | JavaScript | docs/search--/s_3295.js | Zalexanninev15/VitNX | 43f2dd04b8ba97c4a78ae51a99e7980a6b9b85a9 | [
"MIT"
] | 2 | 2022-01-25T12:09:46.000Z | 2022-01-27T11:26:48.000Z | docs/search--/s_3295.js | Zalexanninev15/VitNX | 43f2dd04b8ba97c4a78ae51a99e7980a6b9b85a9 | [
"MIT"
] | null | null | null | docs/search--/s_3295.js | Zalexanninev15/VitNX | 43f2dd04b8ba97c4a78ae51a99e7980a6b9b85a9 | [
"MIT"
] | null | null | null | search_result['3295']=["topic_0000000000000C29.html","OSS_REAL_DLL_NOT_LINKED Field",""]; | 89 | 89 | 0.797753 |
b8f37c69d0eefbe289628cfa67e79e36353fc956 | 785 | js | JavaScript | src/index.js | cds-snc/lighthouse-cloud | 9be1f556f37a2ffcea0084ff92d324392bcd82fd | [
"MIT"
] | null | null | null | src/index.js | cds-snc/lighthouse-cloud | 9be1f556f37a2ffcea0084ff92d324392bcd82fd | [
"MIT"
] | null | null | null | src/index.js | cds-snc/lighthouse-cloud | 9be1f556f37a2ffcea0084ff92d324392bcd82fd | [
"MIT"
] | null | null | null | require = require("esm")(module); // eslint-disable-line no-global-assign
require("dotenv-safe").config({ allowEmptyValues: true });
const handle = require("./handler").handle;
const scanURL = async (request, response) => {
if (request.query.secret === process.env.SECRET) {
const data = await handle(request.que... | 27.068966 | 73 | 0.648408 |
b8f5e2e06c71fd1e743f7e948786fc075de78eef | 8,073 | js | JavaScript | src/core/ui/components/Autocomplete/Autocomplete.stories.js | COMATCH/comatch-ui | 74fd12472b75639b27bab8ee22a31941954f562d | [
"MIT"
] | 12 | 2018-11-14T07:14:01.000Z | 2020-10-08T17:15:34.000Z | src/core/ui/components/Autocomplete/Autocomplete.stories.js | COMATCH/comatch-ui | 74fd12472b75639b27bab8ee22a31941954f562d | [
"MIT"
] | 16 | 2019-01-17T15:46:57.000Z | 2021-10-05T20:42:01.000Z | src/core/ui/components/Autocomplete/Autocomplete.stories.js | COMATCH/comatch-ui | 74fd12472b75639b27bab8ee22a31941954f562d | [
"MIT"
] | 1 | 2019-08-06T12:29:32.000Z | 2019-08-06T12:29:32.000Z | /* eslint-disable max-classes-per-file */
import React, { Component } from 'react';
import { debounce } from 'lodash';
import Highlight from 'react-highlight';
import { storiesOf } from '@storybook/react';
import { Autocomplete } from './Autocomplete';
const options = [
{ value: 'John Doe', label: 'John Doe' },
... | 31.909091 | 115 | 0.46575 |
b8f5e907a84ceac198146b968410c13c6a8f68ff | 3,052 | js | JavaScript | gatsby-config.js | viral810/gatsby-viralpatel.blog | c290e262bb0fedae1816435e681deea880fea250 | [
"MIT"
] | null | null | null | gatsby-config.js | viral810/gatsby-viralpatel.blog | c290e262bb0fedae1816435e681deea880fea250 | [
"MIT"
] | 6 | 2020-07-11T19:44:41.000Z | 2022-02-17T20:18:02.000Z | gatsby-config.js | viral810/gatsby-viralpatel.blog | c290e262bb0fedae1816435e681deea880fea250 | [
"MIT"
] | null | null | null | module.exports = {
siteMetadata: {
title: `Viral Patel | Software Developer | Toronto`,
description: `Viral Patel | Software Developer | Toronto | thedecodedcoder.`,
author: `@thedecodedcoder`,
siteUrl: `https://viralpatel.blog`,
},
plugins: [
`gatsby-plugin-react-helmet`,
`gatsby-plugin-s... | 37.679012 | 153 | 0.587156 |
b8f5f26dcfe429530af49afd03830b86f71c07c7 | 116 | js | JavaScript | lbh/components/lbh-error-summary/error-summary.js | dracos/lbh-frontend | faf0007ee4cdeaa7b91385889a711861acb59fd3 | [
"MIT"
] | 4 | 2021-03-15T13:51:19.000Z | 2021-05-31T10:56:30.000Z | lbh/components/lbh-error-summary/error-summary.js | dracos/lbh-frontend | faf0007ee4cdeaa7b91385889a711861acb59fd3 | [
"MIT"
] | 43 | 2021-03-13T15:11:29.000Z | 2021-11-02T13:19:53.000Z | lbh/components/lbh-error-summary/error-summary.js | dracos/lbh-frontend | faf0007ee4cdeaa7b91385889a711861acb59fd3 | [
"MIT"
] | 6 | 2021-03-12T16:35:59.000Z | 2022-01-22T15:40:01.000Z | import ErrorSummary from 'govuk-frontend/govuk/components/error-summary/error-summary'
export default ErrorSummary
| 29 | 86 | 0.853448 |
b8f6ff86aa49f4bbc79cddb04e3d7105392cbf1e | 3,281 | js | JavaScript | resources/js/app.js | nafism05/chat_TA_pusher | 7fb663d340ed9572436108d662639e3055602cdb | [
"MIT"
] | null | null | null | resources/js/app.js | nafism05/chat_TA_pusher | 7fb663d340ed9572436108d662639e3055602cdb | [
"MIT"
] | 5 | 2021-03-09T17:17:48.000Z | 2022-02-26T17:32:51.000Z | resources/js/app.js | nafism05/chat_TA_pusher | 7fb663d340ed9572436108d662639e3055602cdb | [
"MIT"
] | null | null | null | /**
* First we will load all of this project's JavaScript dependencies which
* includes Vue and other libraries. It is a great starting point when
* building robust, powerful web applications using Vue and Laravel.
*/
require('./bootstrap');
window.Vue = require('vue');
/**
* The following block of code may be ... | 31.247619 | 98 | 0.563548 |
b8f7b288a8fa05ba0899b43693fbc66d1e356236 | 450 | js | JavaScript | js/github-interface.js | Russspruce/github_API_demo | dbdd103b4ba8070fe4e54e14da0056c3332f4e4f | [
"MIT"
] | null | null | null | js/github-interface.js | Russspruce/github_API_demo | dbdd103b4ba8070fe4e54e14da0056c3332f4e4f | [
"MIT"
] | null | null | null | js/github-interface.js | Russspruce/github_API_demo | dbdd103b4ba8070fe4e54e14da0056c3332f4e4f | [
"MIT"
] | null | null | null | var getRepos = require('./../js/github.js').getRepos;
var displayRepos = function(username, profileData) {
$('.showGithub').text(""+username+"'s GitHub repositories currently on display: "+profileData+".");
}
$(document).ready(function() {
var githubInfo = new getRepos();
$('#githubSearch').click(function() {
... | 30 | 101 | 0.648889 |
b8f8f0a6d3c021877cfb5eba3571fee3722ddb88 | 1,312 | js | JavaScript | utils/api.js | nishantbn/flashcards | 27b46634fb6b4ee5133b593ac6e702182d4fbe66 | [
"MIT"
] | null | null | null | utils/api.js | nishantbn/flashcards | 27b46634fb6b4ee5133b593ac6e702182d4fbe66 | [
"MIT"
] | 3 | 2021-05-11T17:58:51.000Z | 2022-02-27T06:48:50.000Z | utils/api.js | nishantbn/flashcards | 27b46634fb6b4ee5133b593ac6e702182d4fbe66 | [
"MIT"
] | 1 | 2020-06-19T06:40:08.000Z | 2020-06-19T06:40:08.000Z | import AsyncStorage from "@react-native-community/async-storage";
const DATABASE_KEY = "flash:decks";
export const getDecks = () => {
// TODO - return all decks
return AsyncStorage.getItem(DATABASE_KEY);
};
export const getDeck = (id) => {
return AsyncStorage.getItem(DATABASE_KEY).then((result) => {
const ... | 23.017544 | 65 | 0.602134 |
b8fa9c4439369ac97dde404e4dd960ac2ecd565e | 2,350 | js | JavaScript | src/color-namer/dist/picker/picker.js | Uvacoder/test-tailwind-ink | fbfdcd036d5c8b636aa2e24f8a36d1f5f90704eb | [
"MIT"
] | 336 | 2020-08-29T16:33:40.000Z | 2022-03-08T23:30:26.000Z | dist/picker/picker.js | BombinateLive/color-namer | 9b3745128cf3e47836fdf1b430ea0df4c24bb364 | [
"MIT"
] | 12 | 2019-08-24T18:34:05.000Z | 2022-01-24T15:05:00.000Z | dist/picker/picker.js | BombinateLive/color-namer | 9b3745128cf3e47836fdf1b430ea0df4c24bb364 | [
"MIT"
] | 32 | 2018-04-14T14:15:07.000Z | 2022-03-29T11:09:50.000Z | $(function() {
var l = 50;
var h = parseInt(Math.random()*360, 10);
var s = parseInt(Math.random()*100, 10);
var set = true;
var clipRGB = new ZeroClipboard.Client();
clipRGB.setHandCursor(true);
var clipHEX = new ZeroClipboard.Client();
clipHEX.setHandCursor(true);
var clipHSL = new ZeroClipboard.Cl... | 26.404494 | 120 | 0.531064 |
b8fab53191202e474ca95a194e3ec0bc98a6b3b5 | 1,135 | js | JavaScript | dist-mdi/mdi/link-variant-off.js | maciejg-git/vue-bootstrap-icons | bc60cf77193e15cc72ec7eb7f9949ed8b552e7ec | [
"MIT",
"CC-BY-4.0",
"MIT-0"
] | null | null | null | dist-mdi/mdi/link-variant-off.js | maciejg-git/vue-bootstrap-icons | bc60cf77193e15cc72ec7eb7f9949ed8b552e7ec | [
"MIT",
"CC-BY-4.0",
"MIT-0"
] | null | null | null | dist-mdi/mdi/link-variant-off.js | maciejg-git/vue-bootstrap-icons | bc60cf77193e15cc72ec7eb7f9949ed8b552e7ec | [
"MIT",
"CC-BY-4.0",
"MIT-0"
] | null | null | null | import { h } from 'vue'
export default {
name: "LinkVariantOff",
vendor: "Mdi",
type: "",
tags: ["link","variant","off"],
render() {
return h(
"svg",
{"xmlns":"http://www.w3.org/2000/svg","width":"24","height":"24","viewBox":"0 0 24 24","class":"v-icon","fill":"currentColor","data-name":"mdi-l... | 87.307692 | 953 | 0.643172 |
b8ff7913868e9a7696bc04fb02518a59b579bdd2 | 2,475 | js | JavaScript | gulpfile.js | nhusher/js-channels | 5be4ef2d4df8e4efdc4a61cf1803e1613ad44bf8 | [
"MIT"
] | null | null | null | gulpfile.js | nhusher/js-channels | 5be4ef2d4df8e4efdc4a61cf1803e1613ad44bf8 | [
"MIT"
] | 2 | 2015-02-22T02:31:50.000Z | 2015-02-22T02:35:40.000Z | gulpfile.js | nhusher/js-channels | 5be4ef2d4df8e4efdc4a61cf1803e1613ad44bf8 | [
"MIT"
] | null | null | null | /*jshint node:true */
var babelify = require('babelify');
var babel = require('gulp-babel');
var browserify = require('browserify');
var concat = require('gulp-concat');
var gulp = require('gulp');
var merge = require('gulp-merge');
var ngAnnotate = require('gulp-ng-annotate');
var rename = require('gulp-rename');
var... | 30.9375 | 122 | 0.598788 |
b8ff9ec2febb47f2745e70ec180e1f0ff7d5404b | 2,953 | js | JavaScript | public/static/js/factory/approve.js | beads123/ikacn | 5af2fb900b4c269043654fe301c38fbf2af98496 | [
"Apache-2.0"
] | null | null | null | public/static/js/factory/approve.js | beads123/ikacn | 5af2fb900b4c269043654fe301c38fbf2af98496 | [
"Apache-2.0"
] | null | null | null | public/static/js/factory/approve.js | beads123/ikacn | 5af2fb900b4c269043654fe301c38fbf2af98496 | [
"Apache-2.0"
] | null | null | null | app.factory("approve", function ($http) {
var obj = {}
// 网站认证
// 网站认证 代码2 文件1
obj.codeIndex = 2 //验证类型
// 获取网站认证需要 网站wid ---obj.webWid
// 获取网站认证信息
obj.getApproveInfo = function () {
$http.post("/member/Account/getmete", { wid: obj.webWid }).success(function (data) {
... | 29.828283 | 105 | 0.408737 |
77013721d8dd730e510abcd19a62790193dbefd1 | 550 | js | JavaScript | models/payslip.js | Carllawrence/StudentAdminSystem | 7194be74bea4a391e80e7c906c00746e95a161fe | [
"MIT"
] | null | null | null | models/payslip.js | Carllawrence/StudentAdminSystem | 7194be74bea4a391e80e7c906c00746e95a161fe | [
"MIT"
] | null | null | null | models/payslip.js | Carllawrence/StudentAdminSystem | 7194be74bea4a391e80e7c906c00746e95a161fe | [
"MIT"
] | null | null | null | var mongoose = require('mongoose'),
Schema = mongoose.Schema;
/**
* Todo Schema
*/
var PayslipSchema = new Schema({
ncp: Number,
dco: Date,
dva: Date,
uti: String,
pie: String,
eve: Number,
ope: Number,
lib: String,
debit: String,
credit: String,
createdAt:Date,
updatedAt:Date
});
// keep track o... | 17.1875 | 51 | 0.658182 |
7702f3936eccc77fa9053d0cdddd61c24bbecbdf | 359 | js | JavaScript | api/src/controllers/category/createCategory.js | Drivello/On-The-Rocks | 40614601f538431dd418be85a66c215684a5fdba | [
"MIT"
] | 2 | 2021-10-06T19:23:04.000Z | 2022-03-08T15:57:27.000Z | api/src/controllers/category/createCategory.js | Drivello/On-The-Rocks | 40614601f538431dd418be85a66c215684a5fdba | [
"MIT"
] | 11 | 2021-08-23T02:19:48.000Z | 2021-08-30T16:38:43.000Z | api/src/controllers/category/createCategory.js | Drivello/On-The-Rocks | 40614601f538431dd418be85a66c215684a5fdba | [
"MIT"
] | 1 | 2021-09-07T01:35:55.000Z | 2021-09-07T01:35:55.000Z | const { Category } = require("../../db");
module.exports = async (req, res, next) => {
let category = req.body;
try {
category = await Category.create({ ...category });
return res.json({ success: "Category successfully created" }).status(200);
} catch (err) {
return res.send({ error... | 29.916667 | 82 | 0.576602 |
77068dad5a4659847f5f4cc8f874e174a99e1c38 | 440 | js | JavaScript | 6kyu/WeIrD-StRiNg-CaSe/toWeirdCase.js | robhung/codewars | c3f213c08f1d1286b0e899d31f552b52bb2f9b92 | [
"MIT"
] | null | null | null | 6kyu/WeIrD-StRiNg-CaSe/toWeirdCase.js | robhung/codewars | c3f213c08f1d1286b0e899d31f552b52bb2f9b92 | [
"MIT"
] | null | null | null | 6kyu/WeIrD-StRiNg-CaSe/toWeirdCase.js | robhung/codewars | c3f213c08f1d1286b0e899d31f552b52bb2f9b92 | [
"MIT"
] | null | null | null | const toWeirdCase = string => {
const isEven = num => num % 2 === 0;
const wordArr = string.split(' ');
const newWordArr = wordArr.map(word => {
const characterArr = word.split('');
const newCharacterArr = characterArr.map((letter, index) =>
isEven(index) ? letter.toUpperCase() : letter.toLowerCase... | 24.444444 | 65 | 0.634091 |
770891b8b84476d2eea99506a4d0a341d8d0bc7e | 450 | js | JavaScript | src/components/App.test.js | dmaixner/todorr | dd200a70d0e8327b3b89091c5fb14fc526dce04a | [
"Apache-2.0"
] | 1 | 2022-03-25T06:17:08.000Z | 2022-03-25T06:17:08.000Z | src/components/App.test.js | sunkisrinivas005/todorr | dd200a70d0e8327b3b89091c5fb14fc526dce04a | [
"Apache-2.0"
] | null | null | null | src/components/App.test.js | sunkisrinivas005/todorr | dd200a70d0e8327b3b89091c5fb14fc526dce04a | [
"Apache-2.0"
] | 1 | 2022-03-25T06:12:37.000Z | 2022-03-25T06:12:37.000Z | import { render, screen } from '@testing-library/react';
import App from './App';
import { Provider } from 'react-redux'
import { createStore } from 'redux';
import reducers from '../reducers';
test('renders title', () => {
let store = createStore(reducers);
render(
<Provider store={store}>
<App />
... | 25 | 62 | 0.662222 |
7709a26023fa6d413ee06e8ebb4947c570d179d1 | 6,624 | js | JavaScript | api/controllers/modules/dj-dps-commands/src/markdown/render/plugins/markit/test/server.js | vadim-lev/jace-dps | cc1d9dde388908924bd7b71fe0296d25df3c4556 | [
"MIT"
] | null | null | null | api/controllers/modules/dj-dps-commands/src/markdown/render/plugins/markit/test/server.js | vadim-lev/jace-dps | cc1d9dde388908924bd7b71fe0296d25df3c4556 | [
"MIT"
] | null | null | null | api/controllers/modules/dj-dps-commands/src/markdown/render/plugins/markit/test/server.js | vadim-lev/jace-dps | cc1d9dde388908924bd7b71fe0296d25df3c4556 | [
"MIT"
] | 4 | 2020-05-28T17:36:05.000Z | 2021-05-17T16:38:29.000Z | 'use strict';
const should = require('should');
// introduce models for fixtures
require('engine/koa/tutorial').Article;
require('engine/koa/tutorial').Task;
const Parser = require('../serverParser');
const dataUtil = require('lib/dataUtil');
const path = require('path');
const stripYamlMetadata = require('../stripY... | 30.385321 | 118 | 0.601147 |
770a5d188c47591c722c415a3e8cc6bd42143781 | 82 | js | JavaScript | trananhtuan-hust/lesson2/gen-key.js | tatuan19/blockchain-course-032021 | b08af03cdbb6cbc3bc06ac91489edca4480f55bb | [
"MIT"
] | null | null | null | trananhtuan-hust/lesson2/gen-key.js | tatuan19/blockchain-course-032021 | b08af03cdbb6cbc3bc06ac91489edca4480f55bb | [
"MIT"
] | null | null | null | trananhtuan-hust/lesson2/gen-key.js | tatuan19/blockchain-course-032021 | b08af03cdbb6cbc3bc06ac91489edca4480f55bb | [
"MIT"
] | null | null | null | const requests = require("./requests");
console.log(requests.generateKeyPairs()); | 27.333333 | 41 | 0.756098 |
770ac09b131381fbf23ab94fd25ad08357323111 | 6,559 | js | JavaScript | ForumArchive/acc/post_34294_page_1.js | doc22940/Extensions | d8dbc9be08e0b8c0bd6b72e068ef73223d2799a8 | [
"Apache-2.0"
] | 136 | 2015-01-01T17:33:35.000Z | 2022-02-26T16:38:08.000Z | ForumArchive/acc/post_34294_page_1.js | doc22940/Extensions | d8dbc9be08e0b8c0bd6b72e068ef73223d2799a8 | [
"Apache-2.0"
] | 60 | 2015-06-20T00:39:16.000Z | 2021-09-02T22:55:27.000Z | ForumArchive/acc/post_34294_page_1.js | doc22940/Extensions | d8dbc9be08e0b8c0bd6b72e068ef73223d2799a8 | [
"Apache-2.0"
] | 141 | 2015-04-29T09:50:11.000Z | 2022-03-18T09:20:44.000Z | [{"Owner":"hunts","Date":"2017-11-29T22:14:05Z","Content":"_lt_div class_eq__qt_mages_qt__gt_\n\t\t\t\n_lt_p_gt_\n\tlocation and rotation is already applied\n_lt_/p_gt_\n\n_lt_p_gt_\n\ti tried playing my gltf model in the sandbox_co_\n_lt_/p_gt_\n\n_lt_p_gt_\n\tthis is the model i used _eq_ _lt_a href_eq__qt_https_dd_... | 6,559 | 6,559 | 0.853026 |
770b152dc0face4f27fa26924f499f4a688d5420 | 1,350 | js | JavaScript | components/MessageItem.js | WoleIlori/React-Native-Chat-App | 6209819bc4a4051d9cd5b1f8a9f1ae0706699643 | [
"MIT"
] | null | null | null | components/MessageItem.js | WoleIlori/React-Native-Chat-App | 6209819bc4a4051d9cd5b1f8a9f1ae0706699643 | [
"MIT"
] | null | null | null | components/MessageItem.js | WoleIlori/React-Native-Chat-App | 6209819bc4a4051d9cd5b1f8a9f1ae0706699643 | [
"MIT"
] | null | null | null | import React from 'react';
import {StyleSheet, Text, View} from 'react-native'
const OTHER = "Kevin"
const handleDateDisplay = date=>{
const split = date.split(" ")
if(split[0] === new Date().toLocaleDateString()){
return split[1]
}
return date
}
const MessageItem = props => (
//Patient Name
<View st... | 22.881356 | 151 | 0.548148 |
770c90a3c95b9fc074e04707a4689a1b614df039 | 424 | js | JavaScript | src/store.js | Masa331/mekbadzappa | 1afe9ec334607226dab82c43d3edd55804caa714 | [
"MIT"
] | null | null | null | src/store.js | Masa331/mekbadzappa | 1afe9ec334607226dab82c43d3edd55804caa714 | [
"MIT"
] | null | null | null | src/store.js | Masa331/mekbadzappa | 1afe9ec334607226dab82c43d3edd55804caa714 | [
"MIT"
] | null | null | null | export const Store = {
get() {
return JSON.parse(localStorage.getItem('MekBadzappa')) || this.blank()
},
set(value) {
localStorage.setItem('MekBadzappa', JSON.stringify(value))
},
mergeAndSet(value) {
let currentData = this.get()
let newData = Object.assign(currentData, value)
this.set(... | 19.272727 | 74 | 0.617925 |
770fa5e5ac36b30a90bd9ba56f59c8f676c18d3d | 465 | js | JavaScript | src/firebase-root.js | romannurik/dataurl.app | 3cd74475a3e0bf96b0cc547366d5aecbdf3655fe | [
"Apache-2.0"
] | 8 | 2020-11-16T18:51:25.000Z | 2022-01-22T19:31:39.000Z | src/firebase-root.js | romannurik/dataurl.app | 3cd74475a3e0bf96b0cc547366d5aecbdf3655fe | [
"Apache-2.0"
] | 2 | 2020-11-19T16:46:42.000Z | 2020-11-26T19:08:02.000Z | src/firebase-root.js | romannurik/dataurl.app | 3cd74475a3e0bf96b0cc547366d5aecbdf3655fe | [
"Apache-2.0"
] | 3 | 2021-02-09T12:51:28.000Z | 2021-12-19T10:33:22.000Z | import firebase from 'firebase/app';
import 'firebase/analytics';
firebase.initializeApp({
apiKey: "AIzaSyCp8fs-nMOQ-rQInNgc68mU8wXxGOrkDHg",
authDomain: "dataurl-app.firebaseapp.com",
databaseURL: "https://dataurl-app.firebaseio.com",
projectId: "dataurl-app",
storageBucket: "dataurl-app.appspot.com",
mes... | 29.0625 | 53 | 0.76129 |
77116f4a138596f1a7dd685a15b379a48aab8710 | 1,429 | js | JavaScript | models/customersMdl.js | mfraht/-TravelExpertsINC | b6cded3663109cb5cc43f70c2241bc5defd5674d | [
"MIT"
] | null | null | null | models/customersMdl.js | mfraht/-TravelExpertsINC | b6cded3663109cb5cc43f70c2241bc5defd5674d | [
"MIT"
] | null | null | null | models/customersMdl.js | mfraht/-TravelExpertsINC | b6cded3663109cb5cc43f70c2241bc5defd5674d | [
"MIT"
] | 1 | 2021-08-03T16:29:29.000Z | 2021-08-03T16:29:29.000Z | //- Updated by: Mohamed Ibrahim
const mongoose = require("mongoose");
const uniqueValidator = require("mongoose-unique-validator");
const customerSchema = new mongoose.Schema({
_id: Number,
CustomerId: {
type: Number,
required: "CustomerId is required",
trim: true,
unique: "The CustomerId must be u... | 20.126761 | 77 | 0.585724 |
771457e7d002c013255d22dd99a27cf62bfb7f0c | 89 | js | JavaScript | OS/AppMan/src/renderer/antDesignVue.js | ywymoshi/JSCourse | 7f030d1e487ca5ad33e2b52348b10f6ca71207a3 | [
"MIT"
] | 5 | 2021-03-31T13:17:41.000Z | 2021-08-07T12:13:11.000Z | OS/AppMan/src/renderer/antDesignVue.js | ywymoshi/JSCourse | 7f030d1e487ca5ad33e2b52348b10f6ca71207a3 | [
"MIT"
] | null | null | null | OS/AppMan/src/renderer/antDesignVue.js | ywymoshi/JSCourse | 7f030d1e487ca5ad33e2b52348b10f6ca71207a3 | [
"MIT"
] | null | null | null | import Vue from "vue";
import { DatePicker } from "ant-design-vue";
Vue.use(DatePicker);
| 22.25 | 44 | 0.719101 |
771693fc3c026f55a9d5c12723fa88d300566e74 | 83 | js | JavaScript | assets/js/main.js | xiaohan2012/xiaohan2012.github.io | b76f518695a14152c30f18bbfc9149c4f2cd8456 | [
"Unlicense",
"MIT"
] | 89 | 2016-07-21T11:49:36.000Z | 2021-11-25T20:22:34.000Z | assets/js/main.js | xiaohan2012/xiaohan2012.github.io | b76f518695a14152c30f18bbfc9149c4f2cd8456 | [
"Unlicense",
"MIT"
] | 73 | 2017-05-30T13:36:48.000Z | 2018-01-12T03:51:17.000Z | assets/js/main.js | xiaohan2012/xiaohan2012.github.io | b76f518695a14152c30f18bbfc9149c4f2cd8456 | [
"Unlicense",
"MIT"
] | 140 | 2016-07-23T18:08:15.000Z | 2022-03-17T20:32:49.000Z | (function () {
'use strict';
// Your additional js should go there
}());
| 11.857143 | 41 | 0.554217 |
771694c7a59b813b1763cb85f98b79637831127f | 16,990 | js | JavaScript | controllers/patient.js | medhelp-app/api | b8297687f01797734a9aea9514a7c024b0b9fada | [
"MIT"
] | null | null | null | controllers/patient.js | medhelp-app/api | b8297687f01797734a9aea9514a7c024b0b9fada | [
"MIT"
] | null | null | null | controllers/patient.js | medhelp-app/api | b8297687f01797734a9aea9514a7c024b0b9fada | [
"MIT"
] | null | null | null | var Patient = require('../models/patient');
var UserController = require('../controllers/user');
var Functions = require('../util/functions');
var fs = require('fs');
function PatientController () {
this.functions = new Functions();
}
PatientController.prototype.getAll = function(callback) {
Patient.find(fun... | 39.60373 | 113 | 0.408711 |
77172efb87e69a4f2d3c4a21279b327174ad6eb9 | 502 | js | JavaScript | src/pages/contact.js | hugofabricio/hugo | 9e5ae3514f7786e6af7f23a20d6b9217a754310d | [
"MIT"
] | null | null | null | src/pages/contact.js | hugofabricio/hugo | 9e5ae3514f7786e6af7f23a20d6b9217a754310d | [
"MIT"
] | 7 | 2021-05-10T12:33:36.000Z | 2022-02-26T17:29:26.000Z | src/pages/contact.js | hugofabricio/hugo | 9e5ae3514f7786e6af7f23a20d6b9217a754310d | [
"MIT"
] | null | null | null | import React from "react"
import Layout from "../components/Layout"
import SEO from "../components/Seo"
import Contact from "../components/Contact"
const ContactPage = () => (
<Layout>
<SEO title="Let's talk" body={{ class: "pink" }} />
<Contact
title="Let's talk about everything!"
slogan="Got a... | 25.1 | 89 | 0.649402 |
7717d04c64af59b76446424b417e991a6fe6c2c8 | 4,485 | js | JavaScript | src/v1/controller/hr-module/kpi.js | khaliqCodes/erp-backend | f0b23cf60395c4634a0c40e69848e0f446cb6e7d | [
"MIT"
] | null | null | null | src/v1/controller/hr-module/kpi.js | khaliqCodes/erp-backend | f0b23cf60395c4634a0c40e69848e0f446cb6e7d | [
"MIT"
] | null | null | null | src/v1/controller/hr-module/kpi.js | khaliqCodes/erp-backend | f0b23cf60395c4634a0c40e69848e0f446cb6e7d | [
"MIT"
] | null | null | null | 'use strict'
const {confirmAccessLevel} = require("../../core/access-management")
const {errorHandling} = require("../../core/error-handler")
const {uid, sanitizeUserInput} = require("../../core/classes")
const {getDocumentWithKey, createDocument, updateDocumentByUid, searchDocument, deleteDocumentByUid} = require("..... | 32.737226 | 139 | 0.59019 |
77186da1ccd73aae8c1371ae80fb95491b3238e0 | 4,797 | js | JavaScript | data/split-book-data/1799755657.1641439054816.js | Nicodemous55/my-audible-library | d24c0adbff4007a28ec23f2a0200ffaa7e6b4172 | [
"0BSD"
] | null | null | null | data/split-book-data/1799755657.1641439054816.js | Nicodemous55/my-audible-library | d24c0adbff4007a28ec23f2a0200ffaa7e6b4172 | [
"0BSD"
] | null | null | null | data/split-book-data/1799755657.1641439054816.js | Nicodemous55/my-audible-library | d24c0adbff4007a28ec23f2a0200ffaa7e6b4172 | [
"0BSD"
] | null | null | null | window.peopleAlsoBoughtJSON = [{"asin":"1713547058","authors":"C. T. Rwizi","cover":"51rj84xR3BL","length":"20 hrs and 39 mins","narrators":"Korey Jackson, Susan Dalian, Kimberly Woods, and others","subHeading":"Scarlet Odyssey, Book 2","title":"Requiem Moon"},{"asin":"1549190911","authors":"M. A. Carrick","cover":"514... | 1,599 | 3,398 | 0.725036 |
7718f4e0d8063fabfb5d79521c8d34614a83169f | 611 | js | JavaScript | public/js/edit.js | waperdomob/guiasAprendizaje | 79ac148ad38f4140b41663d846c88c753c9c9d1f | [
"MIT"
] | null | null | null | public/js/edit.js | waperdomob/guiasAprendizaje | 79ac148ad38f4140b41663d846c88c753c9c9d1f | [
"MIT"
] | null | null | null | public/js/edit.js | waperdomob/guiasAprendizaje | 79ac148ad38f4140b41663d846c88c753c9c9d1f | [
"MIT"
] | null | null | null | $(function(){
alert('hola');
$('ficha_id').on('change', onSelectFichaChange);
})
function onSelectFichaChange() {
var ficha_id = $(this).val();
if (!ficha_id){
$('#aprendiz').html('<option value="">Seleccione aprendiz</option>');
}
$.get('/guias/'+ficha_id+'/aprendices', function(data... | 33.944444 | 92 | 0.536825 |
771a9925fbb5417522d6034d5f929a0ee3ab9a04 | 942 | js | JavaScript | src/pages/Character.js | adranuz/rick-n-morty-spa | 922274118a44305bb1df5bf138faa64739411a8e | [
"MIT"
] | null | null | null | src/pages/Character.js | adranuz/rick-n-morty-spa | 922274118a44305bb1df5bf138faa64739411a8e | [
"MIT"
] | 1 | 2022-02-19T00:21:13.000Z | 2022-02-19T00:21:13.000Z | src/pages/Character.js | adranuz/rick-n-morty-spa | 922274118a44305bb1df5bf138faa64739411a8e | [
"MIT"
] | null | null | null | import getHash from '../utils/getHash'
import getData from '../utils/getData'
const Character = async () => {
const id = getHash() //mediante el hash obtenemos el id
const character = await getData(id) //se manda el id a get data y me genera la peticion a la api con ese id
const view = `
<div class="Characters-... | 37.68 | 109 | 0.646497 |
771af7b11616f8df43eaee37145b86ddd349fdce | 109 | js | JavaScript | src/App/Algorithms/Pathfinding/Content/mazeAlgorithms.js | bernatfogarasi/algorithm-visualizer | 3c945d89119ad886ecd642f7ac3d19dee9ad9ed3 | [
"MIT"
] | null | null | null | src/App/Algorithms/Pathfinding/Content/mazeAlgorithms.js | bernatfogarasi/algorithm-visualizer | 3c945d89119ad886ecd642f7ac3d19dee9ad9ed3 | [
"MIT"
] | null | null | null | src/App/Algorithms/Pathfinding/Content/mazeAlgorithms.js | bernatfogarasi/algorithm-visualizer | 3c945d89119ad886ecd642f7ac3d19dee9ad9ed3 | [
"MIT"
] | null | null | null | const first = {};
const mazeAlgorithms = [{ label: "First", func: first }];
export default mazeAlgorithms;
| 18.166667 | 57 | 0.688073 |
771b4c33eccf5477b4dd9e01748105a9469aee24 | 429 | js | JavaScript | js/goGame.js | larrykevin/memoryjs | 6d7848ec552ec54ea1e295001351231d341fbf7c | [
"MIT"
] | null | null | null | js/goGame.js | larrykevin/memoryjs | 6d7848ec552ec54ea1e295001351231d341fbf7c | [
"MIT"
] | null | null | null | js/goGame.js | larrykevin/memoryjs | 6d7848ec552ec54ea1e295001351231d341fbf7c | [
"MIT"
] | null | null | null | export const goGame = () => {
const welcome = document.querySelector('.welcome');
const table = document.querySelector('.table');
const headerScore = document.querySelector('.header__score');
const headerInitial = document.querySelector('.header__initial');
welcome.style.display = 'none';
heade... | 35.75 | 69 | 0.692308 |
771b7313889d73452083eb78f36f6d609428e9d6 | 3,152 | js | JavaScript | client/tailwind.config.js | scott306lr/fcs_orient_2021 | 3f343100340a58a1eeee5d89e7392492719f3309 | [
"MIT"
] | 2 | 2021-09-01T15:50:24.000Z | 2021-09-04T13:20:17.000Z | client/tailwind.config.js | scott306lr/fcs_orient_2021 | 3f343100340a58a1eeee5d89e7392492719f3309 | [
"MIT"
] | null | null | null | client/tailwind.config.js | scott306lr/fcs_orient_2021 | 3f343100340a58a1eeee5d89e7392492719f3309 | [
"MIT"
] | 1 | 2022-02-06T07:43:42.000Z | 2022-02-06T07:43:42.000Z | module.exports = {
purge: ['./src/**/*.{js,jsx,ts,tsx}', './public/index.html'],
darkMode: false, // or 'media' or 'class'
theme: {
extend: {
colors: { // https://www.tailwindshades.com/
cusorange: {
50: '#FFFFFF',
100: '#FFFFFF',
200: '#FFFFFF',
300: '#FF... | 37.52381 | 227 | 0.41085 |
771cb98369a219cd836037417a5a1c0715cd2d89 | 1,630 | js | JavaScript | src/PickButtonBack.js | ninglee47/pickonemoive | b99ccc590cb81cef356663db14a80fa0122c8fdf | [
"MIT"
] | null | null | null | src/PickButtonBack.js | ninglee47/pickonemoive | b99ccc590cb81cef356663db14a80fa0122c8fdf | [
"MIT"
] | null | null | null | src/PickButtonBack.js | ninglee47/pickonemoive | b99ccc590cb81cef356663db14a80fa0122c8fdf | [
"MIT"
] | null | null | null | import React from 'react';
import ReactDOM from 'react-dom';
const apiKey = '361c5360d12fe6b74f04ebd76dfd7c4b'
const min_movie_id = 2
let latestUrl = `https://api.themoviedb.org/3/movie/latest?api_key=${apiKey}&language=en-US`
//generate random number
function getRandom(min,max){
return Math.floor(Math.random()*... | 25.873016 | 109 | 0.546012 |
771d17491091daae2aab65b6fa31214d8edc5154 | 4,095 | js | JavaScript | backend/frontend/src/views/ResetPasswordView/ResetPasswordView.js | guilhermeKodama/Closetinn | 44d6792cfb0db9cce56db83f2e8c4b8777530f68 | [
"MIT"
] | null | null | null | backend/frontend/src/views/ResetPasswordView/ResetPasswordView.js | guilhermeKodama/Closetinn | 44d6792cfb0db9cce56db83f2e8c4b8777530f68 | [
"MIT"
] | null | null | null | backend/frontend/src/views/ResetPasswordView/ResetPasswordView.js | guilhermeKodama/Closetinn | 44d6792cfb0db9cce56db83f2e8c4b8777530f68 | [
"MIT"
] | null | null | null | import React, { Component } from 'react'
import { connect } from 'react-redux'
import { Button, FormControl } from 'react-bootstrap'
import styles from './ResetPasswordView.scss'
import CustomAlert from '../../components/CustomAlert'
import _ from 'lodash'
import {
isForgotPasswordTokenValid,
resetPassword,
} fr... | 28.4375 | 190 | 0.63663 |
771d6bf07416c45560cbdc77a287f16426571fa8 | 3,202 | js | JavaScript | lib/htmlRenderer.js | rpdurk/TemplateEngine | b216ee8a204efe0cde01ea34cbb23d1a1c0d88e5 | [
"MTLL"
] | null | null | null | lib/htmlRenderer.js | rpdurk/TemplateEngine | b216ee8a204efe0cde01ea34cbb23d1a1c0d88e5 | [
"MTLL"
] | null | null | null | lib/htmlRenderer.js | rpdurk/TemplateEngine | b216ee8a204efe0cde01ea34cbb23d1a1c0d88e5 | [
"MTLL"
] | null | null | null | // require path
const path = require("path");
// require write file
const fs = require("fs");
// template folder connect to pathway to html
const templatesDir = path.resolve(__dirname, "../templates");
// function render all employee information to an array
const render = employees => {
const html = [];
// push ... | 39.530864 | 86 | 0.71955 |
771dd2475e7510afd706a3251e06d65a91d6bec7 | 50 | js | JavaScript | src/constants.js | Hentaro1989/search-tours | 94de0b53855297fb3bd1507cb6646f17ec89e1b4 | [
"MIT"
] | 1 | 2018-12-06T14:21:50.000Z | 2018-12-06T14:21:50.000Z | src/constants.js | Hentaro1989/search-tours | 94de0b53855297fb3bd1507cb6646f17ec89e1b4 | [
"MIT"
] | 7 | 2021-03-01T22:07:51.000Z | 2022-03-08T22:31:41.000Z | src/constants.js | Hentaro1989/search-tours | 94de0b53855297fb3bd1507cb6646f17ec89e1b4 | [
"MIT"
] | null | null | null | export const API_KEY = 'N2NlNGM3NzUwMTA1MDY3Yg=='
| 25 | 49 | 0.8 |
771fab1aed6d35fc019ff7c179b13f71204183db | 8,760 | js | JavaScript | Resources/android/alloy/controllers/nominalLength.js | HippoMarketingGit/hackett | 241ff08184f2659818c2e5e0d6758cb69260042c | [
"Apache-2.0"
] | 1 | 2015-04-27T08:49:23.000Z | 2015-04-27T08:49:23.000Z | Resources/android/alloy/controllers/nominalLength.js | HippoMarketingGit/hackett | 241ff08184f2659818c2e5e0d6758cb69260042c | [
"Apache-2.0"
] | null | null | null | Resources/android/alloy/controllers/nominalLength.js | HippoMarketingGit/hackett | 241ff08184f2659818c2e5e0d6758cb69260042c | [
"Apache-2.0"
] | null | null | null | function __processArg(obj, key) {
var arg = null;
if (obj) {
arg = obj[key] || null;
delete obj[key];
}
return arg;
}
function Controller() {
function setLength() {
var nominalLength, meter = $.legMeter.value, fraction = $.legFraction.value;
if ("00" === meter && "00... | 32.324723 | 150 | 0.547146 |
771fdf1efb7b5706bedab557258f9d5b2e21fddf | 961 | js | JavaScript | public/app/controller/NavCtrl.js | mpgn/Ipsum | daa335e56ac51319043c01321b5afc685e59e27f | [
"MIT"
] | 2 | 2019-06-17T21:39:12.000Z | 2020-04-05T17:23:50.000Z | public/app/controller/NavCtrl.js | mpgn/Ipsum | daa335e56ac51319043c01321b5afc685e59e27f | [
"MIT"
] | null | null | null | public/app/controller/NavCtrl.js | mpgn/Ipsum | daa335e56ac51319043c01321b5afc685e59e27f | [
"MIT"
] | 2 | 2016-05-16T04:32:23.000Z | 2020-04-05T17:23:51.000Z | app.controller('NavCtrl', ['$scope', '$location', '$translate', 'shareProperty', '$http',
function ($scope, $location, $translate, shareProperty, $http) {
$scope.currentPage = "";
$scope.$on('$routeChangeSuccess', function(event, current) {
$scope.currentPage = $location.path().slice(... | 30.03125 | 91 | 0.522373 |
772098ae337f192c2f02a227c8f03ae3d297193f | 550 | js | JavaScript | src/scaffolder-chooser.js | form8ion/lift | 2ec2477d0f6598b716008f1a1c0ffc7818cfc98e | [
"MIT"
] | 1 | 2020-03-23T04:51:56.000Z | 2020-03-23T04:51:56.000Z | src/scaffolder-chooser.js | form8ion/lift | 2ec2477d0f6598b716008f1a1c0ffc7818cfc98e | [
"MIT"
] | 608 | 2020-03-22T21:28:55.000Z | 2022-03-27T12:46:38.000Z | src/scaffolder-chooser.js | form8ion/lift | 2ec2477d0f6598b716008f1a1c0ffc7818cfc98e | [
"MIT"
] | 2 | 2020-04-16T18:35:15.000Z | 2020-10-13T00:08:35.000Z | import {Separator} from 'inquirer';
import {prompt} from '@form8ion/overridable-prompts';
import {questionNames} from './question-names';
export default async function (scaffolders, decisions) {
const {[questionNames.SCAFFOLDER]: chosenScaffolderName} = await prompt(
[{
name: questionNames.SCAFFOLDER,
... | 30.555556 | 84 | 0.703636 |
7721f0dfaef20b21d25ae1cfb935e16d7c9ba6e1 | 1,448 | js | JavaScript | src/controllers/loaiDichVu.controller.js | quyen46919/NodeJs_Express_BoilerPlate | 4c3484c458a3b84ae3be1ca856bcfc7c891ee149 | [
"MIT"
] | null | null | null | src/controllers/loaiDichVu.controller.js | quyen46919/NodeJs_Express_BoilerPlate | 4c3484c458a3b84ae3be1ca856bcfc7c891ee149 | [
"MIT"
] | null | null | null | src/controllers/loaiDichVu.controller.js | quyen46919/NodeJs_Express_BoilerPlate | 4c3484c458a3b84ae3be1ca856bcfc7c891ee149 | [
"MIT"
] | null | null | null | const httpStatus = require('http-status');
const pick = require('../utils/pick');
const ApiError = require('../utils/ApiError');
const catchAsync = require('../utils/catchAsync');
const { loaiDichVuService } = require('../services');
const taoLoaiDichVu = catchAsync(async (req, res) => {
const loaiDichVu = await loa... | 32.909091 | 98 | 0.729972 |
77235a209189aef0e2b8db9ff8cf19ed1a7ab931 | 207 | js | JavaScript | src/app.js | puresick/chit | 6592e0b990e5c442ac58acf99e8b8e6807ed98f2 | [
"MIT"
] | 1 | 2020-03-20T14:44:44.000Z | 2020-03-20T14:44:44.000Z | src/app.js | puresick/chit | 6592e0b990e5c442ac58acf99e8b8e6807ed98f2 | [
"MIT"
] | 2 | 2021-03-10T15:25:25.000Z | 2021-05-10T21:33:53.000Z | src/app.js | puresick/chit | 6592e0b990e5c442ac58acf99e8b8e6807ed98f2 | [
"MIT"
] | null | null | null | import Vue from "vue"
import router from "./router"
import store from "./store"
import i18n from "./i18n"
import App from "./App.vue"
new Vue({
router,
store,
i18n,
el: "#app",
render: h => h(App)
})
| 13.8 | 29 | 0.637681 |
772473586c3f56af254baba44b8fdcfb836a52b7 | 665 | js | JavaScript | assets/scripts/app.js | Deliciaes/Tasks | 4d456c6d1653bfdef8cdb3c9dfe5dec406be2255 | [
"MIT"
] | null | null | null | assets/scripts/app.js | Deliciaes/Tasks | 4d456c6d1653bfdef8cdb3c9dfe5dec406be2255 | [
"MIT"
] | null | null | null | assets/scripts/app.js | Deliciaes/Tasks | 4d456c6d1653bfdef8cdb3c9dfe5dec406be2255 | [
"MIT"
] | 2 | 2022-01-12T16:44:36.000Z | 2022-01-13T15:17:28.000Z | const todayForms = document.querySelectorAll('.checkboxForm');
const taskForms = document.querySelectorAll('.tasksForm');
const deadlineToday = document.querySelectorAll('.deadlineToday');
if (todayForms.length !== 0) {
setCheckboxEventListener(todayForms);
}
if (taskForms.length !== 0) {
setCheckboxEventListener... | 26.6 | 66 | 0.720301 |
77247738799e9639b5ff641f13ce52024af4dd1e | 81 | js | JavaScript | public/js/main.js | jayce85/jayce85.github.io | 136add804792f10b55b22b68dd3f96522d62dcbb | [
"MIT"
] | null | null | null | public/js/main.js | jayce85/jayce85.github.io | 136add804792f10b55b22b68dd3f96522d62dcbb | [
"MIT"
] | null | null | null | public/js/main.js | jayce85/jayce85.github.io | 136add804792f10b55b22b68dd3f96522d62dcbb | [
"MIT"
] | null | null | null | $(document).ready(function(){return $("article").fitVids(),$("#nav").tinyNav()}); | 81 | 81 | 0.62963 |
7724b0f5804ea6da6dcde84841623d557d132c5a | 7,285 | js | JavaScript | tests/index.js | evheniy/yeps-response | e585194747c1679dd5ef269b9fc937dcd277a5bf | [
"MIT"
] | null | null | null | tests/index.js | evheniy/yeps-response | e585194747c1679dd5ef269b9fc937dcd277a5bf | [
"MIT"
] | null | null | null | tests/index.js | evheniy/yeps-response | e585194747c1679dd5ef269b9fc937dcd277a5bf | [
"MIT"
] | null | null | null | const chai = require('chai');
const chaiHttp = require('chai-http');
const App = require('yeps');
const srv = require('yeps-server');
const error = require('yeps-error');
const response = require('..');
const { expect } = chai;
chai.use(chaiHttp);
let app;
let server;
describe('YEPS response test', () => {
beforeE... | 23.126984 | 67 | 0.581057 |
7725151dc78b8499a0d0e3a11c7b9cd62b8523a2 | 441 | js | JavaScript | app.js | vandaimer/NodeJS | 4c943d8773b4a1f18331cf5b429d594e0446fd40 | [
"MIT"
] | null | null | null | app.js | vandaimer/NodeJS | 4c943d8773b4a1f18331cf5b429d594e0446fd40 | [
"MIT"
] | null | null | null | app.js | vandaimer/NodeJS | 4c943d8773b4a1f18331cf5b429d594e0446fd40 | [
"MIT"
] | null | null | null | var express = require('express'),
app = express();
function sleep(milliseconds) {
var start = new Date().getTime();
for (var i = 0; i < 1e7; i++) {
if ((new Date().getTime() - start) > milliseconds){
break;
}
}
}
app.get('/', function(req, res){
sleep(10);
res.send('Ola Mundo');
... | 20.045455 | 78 | 0.575964 |
77261ed9af7285090b019401b827866af419087e | 1,423 | js | JavaScript | cytofpipe/v1.3/Rlibs/scaffold/shinyGUI/www/sort.js | UCL-BLIC/legion-buildscripts | 5fd6c4e2a36b5ca35fa06577b2face58174a7d78 | [
"MIT"
] | null | null | null | cytofpipe/v1.3/Rlibs/scaffold/shinyGUI/www/sort.js | UCL-BLIC/legion-buildscripts | 5fd6c4e2a36b5ca35fa06577b2face58174a7d78 | [
"MIT"
] | null | null | null | cytofpipe/v1.3/Rlibs/scaffold/shinyGUI/www/sort.js | UCL-BLIC/legion-buildscripts | 5fd6c4e2a36b5ca35fa06577b2face58174a7d78 | [
"MIT"
] | null | null | null | // return order of a sortable list
// function created by ZJ: https://groups.google.com/forum/?fromgroups=#!topic/shiny-discuss/f3n5Iv2wNQ8
var returnOrderBinding = new Shiny.InputBinding();
$.extend(returnOrderBinding, {
find: function(scope) {
return $(scope).find('.ui-sortable');
},
getId: function(el) {... | 32.340909 | 144 | 0.617006 |
7727b778f5f3f5bfb4f5ec7fa55d015e9065b71c | 701 | js | JavaScript | public_html/js/tipo/service.js | Samyfos/Facturacion-Samuel | 00deb90bcc7e4275c232692e4feb6f8ec544b0d7 | [
"MIT"
] | null | null | null | public_html/js/tipo/service.js | Samyfos/Facturacion-Samuel | 00deb90bcc7e4275c232692e4feb6f8ec544b0d7 | [
"MIT"
] | null | null | null | public_html/js/tipo/service.js | Samyfos/Facturacion-Samuel | 00deb90bcc7e4275c232692e4feb6f8ec544b0d7 | [
"MIT"
] | null | null | null | 'use strict';
moduloTipo.factory('tipoService', ['serverService', function (serverService) {
return {
getFields: function () {
return [
{name: "id", shortname: "ID", longname: "Identificador", visible: true, type: "id"},
{name: "descripcion", s... | 30.478261 | 115 | 0.435093 |
77282b18bc280ecf08da80b793c2b60e9ce2ba7b | 659 | js | JavaScript | resources/assets/js/components/Search.js | AlexPutrya/carlight_catalog | 20934180c13a61105499d33fbd4a20d8c75bb6c3 | [
"MIT"
] | null | null | null | resources/assets/js/components/Search.js | AlexPutrya/carlight_catalog | 20934180c13a61105499d33fbd4a20d8c75bb6c3 | [
"MIT"
] | null | null | null | resources/assets/js/components/Search.js | AlexPutrya/carlight_catalog | 20934180c13a61105499d33fbd4a20d8c75bb6c3 | [
"MIT"
] | null | null | null | import React, { Component } from 'react';
class Search extends Component {
findValue(event) {
this.props.changeHandle(event.target.value);
}
render() {
return (
<div className="search">
<div className="input-group input-group-lg">
<span clas... | 28.652174 | 150 | 0.531108 |
772a434251cb08fee4c1ca96ecb8b27980b420d7 | 363 | js | JavaScript | src/etc/dom.js | jiseonk/js-todo-list-step3 | 7aa5af381f8b3605b0ad36aa1793e409560f738b | [
"MIT"
] | null | null | null | src/etc/dom.js | jiseonk/js-todo-list-step3 | 7aa5af381f8b3605b0ad36aa1793e409560f738b | [
"MIT"
] | null | null | null | src/etc/dom.js | jiseonk/js-todo-list-step3 | 7aa5af381f8b3605b0ad36aa1793e409560f738b | [
"MIT"
] | null | null | null | export const $addTeamButton = document.querySelector('#add-team-button');
export const $teamListContainer = document.querySelector('.team-list-container');
export const $todoApp = document.querySelector('#app');
export const $todoApps = document.querySelector('.todoapp-list-container');
export const $addUserButton = d... | 51.857143 | 81 | 0.782369 |
772a4e9ecd547e9510d3e369e9e0fee58e3f0396 | 1,594 | js | JavaScript | app/util/gamegoldHelper.js | bookmansoft/gamegold-wechat-server | 6c064ad044eb32ef655c6d9a31ab560b6b0ba746 | [
"MIT"
] | 2 | 2018-11-12T10:30:01.000Z | 2018-11-20T11:14:52.000Z | app/util/gamegoldHelper.js | bookmansoft/gamegold-wechat-server | 6c064ad044eb32ef655c6d9a31ab560b6b0ba746 | [
"MIT"
] | null | null | null | app/util/gamegoldHelper.js | bookmansoft/gamegold-wechat-server | 6c064ad044eb32ef655c6d9a31ab560b6b0ba746 | [
"MIT"
] | 1 | 2019-10-23T03:20:43.000Z | 2019-10-23T03:20:43.000Z | const toolkit = require('gamerpc')
let facade = require('gamecloud')
let CoreOfBase = facade.CoreOfBase
class gamegoldHelper extends facade.Service
{
/**
* 构造函数
* @param {CoreOfBase} core
*/
constructor(core) {
super(core);
this.remote = new toolkit.conn();
//兼容性设置,提供模拟... | 20.701299 | 57 | 0.519448 |
772af84b829e2dcd0d9a39097c7229c20565a408 | 1,735 | js | JavaScript | src/components/Posts.js | MatterhornDev/mountain-top | 1bc4b80ee7b3ee97c66f90ec2c6f04219f8c412f | [
"MIT"
] | 3 | 2019-05-23T18:19:32.000Z | 2019-12-02T20:32:46.000Z | src/components/Posts.js | MatterhornDev/mountain-top | 1bc4b80ee7b3ee97c66f90ec2c6f04219f8c412f | [
"MIT"
] | 36 | 2019-05-28T06:14:15.000Z | 2021-07-21T05:55:37.000Z | src/components/Posts.js | MatterhornDev/mountain-top | 1bc4b80ee7b3ee97c66f90ec2c6f04219f8c412f | [
"MIT"
] | 1 | 2019-07-05T07:59:39.000Z | 2019-07-05T07:59:39.000Z | import React from 'react'
import { StaticQuery, graphql, Link } from 'gatsby'
// import GatsbyImage from 'gatsby-image'
export const _Posts = ({data}) => {
const { edges } = data.allMarkdownRemark
return (
<div className='posts'>
{edges.map(edge => {
const {fields, frontmatter} = edge.node
... | 23.445946 | 91 | 0.458213 |
772b34e19a1d90e43f55833329972e4102a3d952 | 10,381 | js | JavaScript | server/plugins/UIPlugin/src/components/PTC10.js | vzakharchenko/poersmart-controller | 71a1aa58acd4c6a80ebfa63cca920d482389a9ee | [
"Apache-2.0"
] | 1 | 2020-02-08T13:39:52.000Z | 2020-02-08T13:39:52.000Z | server/plugins/UIPlugin/src/components/PTC10.js | vzakharchenko/poersmart-controller | 71a1aa58acd4c6a80ebfa63cca920d482389a9ee | [
"Apache-2.0"
] | 1 | 2020-02-19T06:39:34.000Z | 2020-02-19T06:39:34.000Z | server/plugins/UIPlugin/src/components/PTC10.js | vzakharchenko/poersmart-controller | 71a1aa58acd4c6a80ebfa63cca920d482389a9ee | [
"Apache-2.0"
] | 2 | 2020-08-26T19:47:46.000Z | 2021-12-08T07:25:17.000Z | import React from 'react';
import { Panel, Table } from 'react-bootstrap';
import { observer, inject } from 'mobx-react';
import { temps } from './TempValues';
import PoersPTC10Temp from './TempTemperature.js';
import PoersPTC10Scheduler from './SchedulerTemperature.js';
export default @inject('poerSmartStore', 'langu... | 32.747634 | 112 | 0.367402 |
772c0f8373b3a62d1e3fb8726606fbf6ab6a1227 | 415 | js | JavaScript | helpers/timeToReadImages.js | ftlabs/time-to-read | 3b6cb6d6c326232366a0f119f4e4959686aa1e8b | [
"MIT"
] | 2 | 2018-08-13T16:01:12.000Z | 2019-11-11T08:09:05.000Z | helpers/timeToReadImages.js | ftlabs/time-to-read | 3b6cb6d6c326232366a0f119f4e4959686aa1e8b | [
"MIT"
] | 2 | 2020-07-16T08:03:51.000Z | 2022-01-22T02:20:00.000Z | helpers/timeToReadImages.js | ftlabs/time-to-read | 3b6cb6d6c326232366a0f119f4e4959686aa1e8b | [
"MIT"
] | 3 | 2018-08-13T16:01:13.000Z | 2020-12-24T10:47:36.000Z | function calculate(imageCounts) {
return inSeconds(imageCounts) / 60;
}
function inSeconds(imageCounts) {
return imageCounts
.map(count => {
let total = 0;
let timeForImage = 12;
for (let i = 0; i < count; i++) {
total = total + timeForImage;
if (timeForImage !== 3) timeForImage = timeForImage - ... | 20.75 | 60 | 0.616867 |
772c78030dd59eb8d6ff4a7484025c84b12fecf9 | 1,481 | js | JavaScript | theme/df-owner/login/resources/dsfr/src/core/script/collapse/collapse.js | MTES-MCT/Dossier-Facile-Keycloak | 9a8f0825bf67a90623edb5d91eade09914d8df71 | [
"MIT"
] | 63 | 2021-06-29T12:46:20.000Z | 2022-03-29T15:05:20.000Z | theme/df-owner/login/resources/dsfr/src/core/script/collapse/collapse.js | MTES-MCT/Dossier-Facile-Keycloak | 9a8f0825bf67a90623edb5d91eade09914d8df71 | [
"MIT"
] | 40 | 2021-07-06T08:35:13.000Z | 2022-03-25T09:23:57.000Z | src/core/script/collapse/collapse.js | GouvernementFR/dsfr | 1b24b4e5902b2f6bda5145719fa078c703299146 | [
"MIT"
] | 13 | 2021-07-06T10:20:21.000Z | 2022-03-31T07:40:39.000Z | import { Disclosure } from '../disclosure/disclosure.js';
import { CollapseSelector } from './collapse-selector.js';
import { DisclosureType } from '../disclosure/disclosure-type.js';
import { CollapseButton } from './collapse-button.js';
/**
* Tab coorespond au panel d'un élement Tabs (tab panel)
* Tab étend disclo... | 25.101695 | 94 | 0.650912 |
772c9aa92068dd3a2585ec4596aad868a5b32193 | 915 | js | JavaScript | server.js | Enyorose/cpnt262-robots-with-appliances | eb46b60ac038ec34940d4469e42ddaecf1a5cd1a | [
"MIT"
] | null | null | null | server.js | Enyorose/cpnt262-robots-with-appliances | eb46b60ac038ec34940d4469e42ddaecf1a5cd1a | [
"MIT"
] | null | null | null | server.js | Enyorose/cpnt262-robots-with-appliances | eb46b60ac038ec34940d4469e42ddaecf1a5cd1a | [
"MIT"
] | 2 | 2021-11-04T19:12:47.000Z | 2021-11-17T07:07:16.000Z | /******************/
/* Import Modules */
/******************/
const express = require('express')
const app = express()
const router = require('./routes/api')
const teamRouter = require('./routes/team')
const loginRouter = require('./routes/login')
const subRouter = require('./routes/sub')
// Use middleware for ind... | 21.27907 | 46 | 0.580328 |
772d0bbebb4c63a968e03e86be623f83d6cea998 | 1,402 | js | JavaScript | test/app.js | chihab/generator-angular-es2015 | dc840c96492dccd69d41e2b043d7d54c342de674 | [
"MIT"
] | null | null | null | test/app.js | chihab/generator-angular-es2015 | dc840c96492dccd69d41e2b043d7d54c342de674 | [
"MIT"
] | null | null | null | test/app.js | chihab/generator-angular-es2015 | dc840c96492dccd69d41e2b043d7d54c342de674 | [
"MIT"
] | null | null | null | 'use strict';
var path = require('path');
var assert = require('yeoman-assert');
var helpers = require('yeoman-test');
var fs = require('fs-extra');
describe('angular-es2015:app', function () {
before(function () {
return helpers.run(path.join(__dirname, '../generators/app'))
.toPromise();
});
it('crea... | 26.961538 | 105 | 0.601997 |
772d6e045d87b1e1c95b705f7342ba444a6f7f22 | 4,353 | js | JavaScript | src/@system.geolocation.js | onekit-x2x/quick2weixin | d57ddf3f794c47f1ff2b4339150898241f74607c | [
"MIT"
] | null | null | null | src/@system.geolocation.js | onekit-x2x/quick2weixin | d57ddf3f794c47f1ff2b4339150898241f74607c | [
"MIT"
] | null | null | null | src/@system.geolocation.js | onekit-x2x/quick2weixin | d57ddf3f794c47f1ff2b4339150898241f74607c | [
"MIT"
] | 1 | 2020-07-20T06:35:46.000Z | 2020-07-20T06:35:46.000Z | /* eslint-disable consistent-return */
/* eslint-disable no-console */
/* eslint-disable camelcase */
import PROMISE from '../node_modules/oneutil/PROMISE'
module.exports = {
getLocation(quick_object) {
if (!quick_object) {
return
}
const quick_success = quick_object.success
const quick_fail = ... | 28.638158 | 61 | 0.634735 |
772db1615c2d6947b16cf89a93331272065be140 | 4,094 | js | JavaScript | modules/qrevents/server/controllers/qrevents.server.controller.js | nicknameismos/web-qr | 2213227ed65fea8da31f77c054672d3747b63f50 | [
"MIT"
] | null | null | null | modules/qrevents/server/controllers/qrevents.server.controller.js | nicknameismos/web-qr | 2213227ed65fea8da31f77c054672d3747b63f50 | [
"MIT"
] | null | null | null | modules/qrevents/server/controllers/qrevents.server.controller.js | nicknameismos/web-qr | 2213227ed65fea8da31f77c054672d3747b63f50 | [
"MIT"
] | null | null | null | 'use strict';
/**
* Module dependencies.
*/
var path = require('path'),
mongoose = require('mongoose'),
Qrevent = mongoose.model('Qrevent'),
errorHandler = require(path.resolve('./modules/core/server/controllers/errors.server.controller')),
_ = require('lodash');
/**
* Create a Qrevent
*/
exports.create =... | 23.94152 | 124 | 0.583537 |
772e56dc96adc4b79d957db0863a4cd8d60771fb | 362 | js | JavaScript | Front-End/e-commerce-front-end/e-commerce-front-end/test/test/test.js | jm27/E-Commerce-MERN | e39508e37ecbca4714ca861d4e5fa987f12b98c6 | [
"Unlicense"
] | 3 | 2018-09-22T07:39:02.000Z | 2020-03-17T17:19:54.000Z | Front-End/e-commerce-front-end/e-commerce-front-end/test/test/test.js | jm27/E-Commerce-MERN | e39508e37ecbca4714ca861d4e5fa987f12b98c6 | [
"Unlicense"
] | null | null | null | Front-End/e-commerce-front-end/e-commerce-front-end/test/test/test.js | jm27/E-Commerce-MERN | e39508e37ecbca4714ca861d4e5fa987f12b98c6 | [
"Unlicense"
] | null | null | null | var expect = require("chai").expect;
var multiply = require("../index");
describe("Multiply", function() {
it("should multiply properly when passed numbers", function() {
expect(multiply(2, 4)).to.equal(8);
});
it("should throw when not passed numbers", function() {
expect(function() {
multiply(2... | 22.625 | 65 | 0.616022 |
772e8c3cb5ab4cc565d53a9b907ad7c426822119 | 126 | js | JavaScript | simple-fem/src/index.js | server-state/fem-test-environment | b0ec0631e6131ca77d7b5c7940a8d61ab911e27c | [
"MIT"
] | null | null | null | simple-fem/src/index.js | server-state/fem-test-environment | b0ec0631e6131ca77d7b5c7940a8d61ab911e27c | [
"MIT"
] | 55 | 2020-04-30T10:33:58.000Z | 2021-09-30T10:02:14.000Z | simple-fem/src/index.js | server-state/fem-test-environment | b0ec0631e6131ca77d7b5c7940a8d61ab911e27c | [
"MIT"
] | null | null | null | import MyFEM from './my-fem';
export default {
component: MyFEM,
// logoUrl: "/path/to/logo or base64" // optional
}; | 21 | 53 | 0.634921 |
0117bf12fa3183851e5bc67c43608735506843f4 | 300 | js | JavaScript | src/components/atoms/upload/index.js | adhitiad/react_coba | 0f5b6d67e3113e1a330978ffd7bebe93e38ac725 | [
"MIT"
] | 1 | 2021-03-03T14:12:15.000Z | 2021-03-03T14:12:15.000Z | src/components/atoms/upload/index.js | adhitiad/react_coba | 0f5b6d67e3113e1a330978ffd7bebe93e38ac725 | [
"MIT"
] | null | null | null | src/components/atoms/upload/index.js | adhitiad/react_coba | 0f5b6d67e3113e1a330978ffd7bebe93e38ac725 | [
"MIT"
] | null | null | null | import React from "react";
import { LoginBg } from "../../../assets";
import "./upload.scss";
function UploadImg() {
return (
<div className="upload">
<img className="preview" src={LoginBg} alt="preview" />
<input type="file"></input>
</div>
);
}
export default UploadImg;
| 18.75 | 61 | 0.606667 |
0117fc82a10be9fd81ca03a9e294ee0edef29d70 | 401 | js | JavaScript | test/normalization/exercise/no-problem.js | katalysteducation/cnx-designer | 1d779840a03cb266f750a05919cb95efd9d6f205 | [
"MIT"
] | 1 | 2021-06-22T13:47:28.000Z | 2021-06-22T13:47:28.000Z | test/normalization/exercise/no-problem.js | openstax-poland/cnx-designer | 5d43ba7f012db8c63f7ce6f6ec247fa978e5cb03 | [
"MIT"
] | 57 | 2019-07-09T14:48:01.000Z | 2022-03-18T15:42:42.000Z | test/normalization/exercise/no-problem.js | katalysteducation/cnx-designer | 1d779840a03cb266f750a05919cb95efd9d6f205 | [
"MIT"
] | 1 | 2019-11-18T16:15:57.000Z | 2019-11-18T16:15:57.000Z | /** @jsx h */
export const input = <editor>
<exercise>
<exsolution>
<p><cursor/>Missing problem</p>
</exsolution>
</exercise>
</editor>
export const output = <editor>
<exercise>
<exproblem>
<p><text/></p>
</exproblem>
<exsolution>
... | 19.095238 | 43 | 0.501247 |
01188a525403a802e4e1657877dddef331995941 | 2,010 | js | JavaScript | experiments/some/someGen/test136.js | sola-da/LambdaTester | f993f9d67eab0120b14111be1a56d40b4c5ac9af | [
"MIT"
] | 2 | 2018-11-26T09:34:28.000Z | 2019-10-18T16:23:53.000Z | experiments/some/someGen/test136.js | sola-da/LambdaTester | f993f9d67eab0120b14111be1a56d40b4c5ac9af | [
"MIT"
] | null | null | null | experiments/some/someGen/test136.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))
argument3[6] = {"213":"5G^T@z","705":82,"714":843,"969":9.479467245673807e+307,"|$":242,"":"L","'z0:HiL:g}`":"","w":714,"N^9>t<u25":1.0436550389996668e+308}
return a*b+c
};
var argument2 = nul... | 25.769231 | 221 | 0.686567 |
0118bae3ddd3c18e68c43fd5c03179054619b0ca | 1,538 | js | JavaScript | test/vacancies.repository.test.js | Floby/lazyboss | 4b225e55e7723048bda92629eead8eba5a02586b | [
"Unlicense"
] | null | null | null | test/vacancies.repository.test.js | Floby/lazyboss | 4b225e55e7723048bda92629eead8eba5a02586b | [
"Unlicense"
] | 1 | 2021-05-08T07:55:07.000Z | 2021-05-08T07:55:07.000Z | test/vacancies.repository.test.js | Floby/lazyboss | 4b225e55e7723048bda92629eead8eba5a02586b | [
"Unlicense"
] | null | null | null | const shortid = require('shortid')
const delay = require('delay')
const uuid = require('uuid/v4')
const { expect } = require('chai')
const Vacancy = require('../src/domain/vacancy')
const Job = require('../src/domain/job')
const VacanciesRepository = require('../src/infra/vacancies.repository')
describe('REPOSITORY V... | 32.041667 | 72 | 0.618986 |
0119295d3815642d11645825f79d7a3b969ef5a9 | 2,021 | js | JavaScript | dist/jquery.peek.min.js | nguyenj/peek-js | 8174efeee728be9515dfa65f3ec9f2be1a0bf62c | [
"MIT"
] | null | null | null | dist/jquery.peek.min.js | nguyenj/peek-js | 8174efeee728be9515dfa65f3ec9f2be1a0bf62c | [
"MIT"
] | null | null | null | dist/jquery.peek.min.js | nguyenj/peek-js | 8174efeee728be9515dfa65f3ec9f2be1a0bf62c | [
"MIT"
] | null | null | null | /*! Peek - v0.1.0 - 2015-03-22
* https://github.com/jnguyen/jquery-peek
* Copyright (c) 2015 John Nguyen; Licensed MIT */
!function(a,b,c){a.fn.peek=function(b){return"undefined"==typeof b&&(b={}),"object"==typeof b||"number"==typeof b?("number"==typeof b&&(b={animateTo:b}),this.each(function(){if(c===a(this).data("pee... | 505.25 | 1,899 | 0.712519 |
011a4e7aee21f4e03206bb5d63c6f062280081d1 | 1,441 | js | JavaScript | build/module/endpoints/options/EndOfDayOptions.js | bolekro/iex-cloud | 42c7fbaed0a108360646d4efc1670c571b0d41f9 | [
"MIT"
] | null | null | null | build/module/endpoints/options/EndOfDayOptions.js | bolekro/iex-cloud | 42c7fbaed0a108360646d4efc1670c571b0d41f9 | [
"MIT"
] | null | null | null | build/module/endpoints/options/EndOfDayOptions.js | bolekro/iex-cloud | 42c7fbaed0a108360646d4efc1670c571b0d41f9 | [
"MIT"
] | null | null | null | import { ApiRequest } from '../../core';
/**
* [End of Day Options](https://iexcloud.io/docs/api/#end-of-day-options)
* This call returns an array of OptionResponse for the given symbol.
*/
export const endOfDayOptions = (optionsParams) => {
const { expiration, optionSide, symbol } = optionsParams;
if (expir... | 80.055556 | 822 | 0.843858 |
011a6fa87cf7c91d4b48484637051b310a0ecaf3 | 616 | js | JavaScript | icons/VectorBeizer2.js | fork-ecosystem/fork-ui | 9755e7574bdb61a91e188067518fc540fbff1e01 | [
"MIT"
] | null | null | null | icons/VectorBeizer2.js | fork-ecosystem/fork-ui | 9755e7574bdb61a91e188067518fc540fbff1e01 | [
"MIT"
] | null | null | null | icons/VectorBeizer2.js | fork-ecosystem/fork-ui | 9755e7574bdb61a91e188067518fc540fbff1e01 | [
"MIT"
] | null | null | null | import React from 'react';
import withIconEnhancer from '../HOCs/withIconEnhancer';
export default withIconEnhancer('VectorBeizer2', 'vector-beizer-2', (props) => (
<svg {...props} xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
<path stroke="none" d="M0 0h24v24H0z" fill="none"/>
<rect x="3" y="3" width="4... | 38.5 | 80 | 0.576299 |
011a902fe9d410ec3b5ef44ee904948cd4a72054 | 1,058 | js | JavaScript | commands/devsend.js | NobleWolf42/Stormageddon-Bot | 14cad9c52e9f6a6cdd922fd30bf3e356ad62b0ce | [
"MIT"
] | 1 | 2020-09-13T04:54:35.000Z | 2020-09-13T04:54:35.000Z | commands/devsend.js | NobleWolf42/Stormageddon-Bot | 14cad9c52e9f6a6cdd922fd30bf3e356ad62b0ce | [
"MIT"
] | 22 | 2019-11-27T04:54:59.000Z | 2020-12-07T06:54:21.000Z | commands/devsend.js | NobleWolf42/Stormageddon-Bot | 14cad9c52e9f6a6cdd922fd30bf3e356ad62b0ce | [
"MIT"
] | 1 | 2019-11-28T05:08:35.000Z | 2019-11-28T05:08:35.000Z | //#regions dependancies
const { errorCustom, embedCustom } = require('../helpers/embedMessages.js');
const botConfig = require('../data/botconfig.json');
//#endregion
module.exports = {
name: "devsend",
type: ['DM'],
aliases: [],
cooldown: 0,
class: 'direct',
usage: '!devsend ***USER-ID***, ***... | 36.482759 | 147 | 0.594518 |
011ac5def6ba7b53cfb7590b62840d425031d5bb | 258 | js | JavaScript | joe-eames-fundamentals/app/js/services/ExceptionHandler.js | moonrise/angsb | 9ae8015b2e8554607deef69c36b91dc210df4526 | [
"MIT"
] | null | null | null | joe-eames-fundamentals/app/js/services/ExceptionHandler.js | moonrise/angsb | 9ae8015b2e8554607deef69c36b91dc210df4526 | [
"MIT"
] | null | null | null | joe-eames-fundamentals/app/js/services/ExceptionHandler.js | moonrise/angsb | 9ae8015b2e8554607deef69c36b91dc210df4526 | [
"MIT"
] | null | null | null | 'use strict';
//
// notice '$' prefix with $exceptionHandler; we're overriding angular $exceptionHandler
//
eventsApp.factory("$exceptionHandler", function() {
return function(exception) {
console.log("exception occurred:", exception);
}
}); | 25.8 | 87 | 0.686047 |
011ade0d71050c69b6cc74776704cf088bf0164a | 7,945 | js | JavaScript | JS/main.js | Zephyr-Quest/ZQ_server | efe32b7c2e0fe98c943644c416c35662ba6f7869 | [
"MIT-0"
] | null | null | null | JS/main.js | Zephyr-Quest/ZQ_server | efe32b7c2e0fe98c943644c416c35662ba6f7869 | [
"MIT-0"
] | null | null | null | JS/main.js | Zephyr-Quest/ZQ_server | efe32b7c2e0fe98c943644c416c35662ba6f7869 | [
"MIT-0"
] | null | null | null | /**
* !Global Var
*/
let canvas = document.getElementById('myCanvas')
let x = canvas.getAttribute('width') / 2;
let y = canvas.getAttribute('height') / 2;
let startX = 320;
let startY = canvas.getAttribute('height') / 2;
let endX = 14;
let endY = 7;
let alive = true;
let playing = false
let state
/*! ODD NUMBER... | 30.094697 | 293 | 0.572561 |
011b91091cb5b422803c2791965ff80ea29b8158 | 81 | js | JavaScript | src/pages/Test/index.js | Torix-Park/ProxyPurchase | 76a0ca26503916cd3e18bc7660b9cf0905f9b59f | [
"BSD-3-Clause"
] | null | null | null | src/pages/Test/index.js | Torix-Park/ProxyPurchase | 76a0ca26503916cd3e18bc7660b9cf0905f9b59f | [
"BSD-3-Clause"
] | 1 | 2020-06-20T02:46:50.000Z | 2020-07-15T08:01:22.000Z | src/pages/Test/index.js | Torix05/ProxyPurchase | 76a0ca26503916cd3e18bc7660b9cf0905f9b59f | [
"BSD-3-Clause"
] | null | null | null | import { Test } from './test';
window.customElements.define('test-page', Test);
| 20.25 | 48 | 0.691358 |
011c28b9816f2c06e6bdd586ffa2acab9ec609f7 | 2,203 | js | JavaScript | src/store/modules/rongIm/index.js | hester2/web-jsb | 86f3858245001cbe46f2f4e1099c651bc9e36655 | [
"MIT"
] | null | null | null | src/store/modules/rongIm/index.js | hester2/web-jsb | 86f3858245001cbe46f2f4e1099c651bc9e36655 | [
"MIT"
] | null | null | null | src/store/modules/rongIm/index.js | hester2/web-jsb | 86f3858245001cbe46f2f4e1099c651bc9e36655 | [
"MIT"
] | null | null | null | import im from '@/common/rongIm'
import user from '@/store/modules/rongIm/user'
import conversation from '@/store/modules/rongIm/conversation'
import message from '@/store/modules/rongIm/message'
import {
SET_RONG_USER_ID
} from '@/store/mutationTypes/rongIm'
const rongIm = {
namespaced: true,
modules: {
us... | 23.688172 | 67 | 0.555152 |
011c9e141a955cd77d09f61fec063259ed140a9d | 1,057 | js | JavaScript | api/invoice/index.js | jilson23/REPECO-backend | c79baa8010ac48e937064a8baf31e991809e614a | [
"MIT"
] | 2 | 2021-12-09T21:50:03.000Z | 2022-02-05T21:58:11.000Z | api/invoice/index.js | jilson23/REPECO-backend | c79baa8010ac48e937064a8baf31e991809e614a | [
"MIT"
] | null | null | null | api/invoice/index.js | jilson23/REPECO-backend | c79baa8010ac48e937064a8baf31e991809e614a | [
"MIT"
] | null | null | null | const { Router } = require('express');
const { isAuthenticated } = require('../../auth/auth.service');
const {
createInvoiceHandler,
deleteInvoiceHandler,
getAllInvoicesHandler,
getInvoiceByIdHandler,
updateInvoiceHandler,
createCardTokenHandlers,
createCustomerHandlers,
makePaymentHandlers,
getInvoi... | 33.03125 | 71 | 0.763482 |
011cf5f88d5641ddf7109c0fd11e4eb603504f8e | 503 | js | JavaScript | bin/cmd.js | m59peacemaker/node-tap-filter | 76e61a808f5e7acc9c146f6db8e5abe5417700f0 | [
"CC0-1.0"
] | null | null | null | bin/cmd.js | m59peacemaker/node-tap-filter | 76e61a808f5e7acc9c146f6db8e5abe5417700f0 | [
"CC0-1.0"
] | null | null | null | bin/cmd.js | m59peacemaker/node-tap-filter | 76e61a808f5e7acc9c146f6db8e5abe5417700f0 | [
"CC0-1.0"
] | null | null | null | #!/usr/bin/env node
const program = require('commander')
const filter = require('../')
const supportedTypes = require('../lib/supported-types')
const spacer = '\n '
const args = program
.arguments('[types...]', 'types of TAP to be output')
.option('-r, --reverse', 'filter out given types')
.on('--help', () =... | 26.473684 | 70 | 0.646123 |
011e42337831ab24164b744ba299f4de27326e5c | 5,341 | js | JavaScript | app/services/wizard/wizard-service.js | leandrocgsi/erudio-angular-api-client | 0e95ae6a7d811c61935adbe88b5e4a63f21e2a98 | [
"MIT"
] | null | null | null | app/services/wizard/wizard-service.js | leandrocgsi/erudio-angular-api-client | 0e95ae6a7d811c61935adbe88b5e4a63f21e2a98 | [
"MIT"
] | null | null | null | app/services/wizard/wizard-service.js | leandrocgsi/erudio-angular-api-client | 0e95ae6a7d811c61935adbe88b5e4a63f21e2a98 | [
"MIT"
] | null | null | null | angular.module('erudioApp').factory('WizardControll', ['$state', function($state){
return function($wizard){
var self = angular.extend(this,angular.copy($wizard));
self.currenSize = 0;
self.current = function(){
var cur = -1;
angular.forEach( self.steps, func... | 36.087838 | 103 | 0.453286 |
011eee0cfb160a2b4d72d7f0cc022b54c0225801 | 1,387 | js | JavaScript | compliancemanager-web-interface/packages/jest-preset-graylog/src/setup-files/console-warnings-fail-tests.js | xformation/xformation-compliancemanager-service | 6a0dd1f7f30afd3528239cbfcd436a2d2786fde4 | [
"Apache-2.0"
] | null | null | null | compliancemanager-web-interface/packages/jest-preset-graylog/src/setup-files/console-warnings-fail-tests.js | xformation/xformation-compliancemanager-service | 6a0dd1f7f30afd3528239cbfcd436a2d2786fde4 | [
"Apache-2.0"
] | null | null | null | compliancemanager-web-interface/packages/jest-preset-graylog/src/setup-files/console-warnings-fail-tests.js | xformation/xformation-compliancemanager-service | 6a0dd1f7f30afd3528239cbfcd436a2d2786fde4 | [
"Apache-2.0"
] | 1 | 2022-01-09T12:50:05.000Z | 2022-01-09T12:50:05.000Z | /*
* Copyright (C) 2020 Graylog, Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the Server Side Public License, version 1,
* as published by MongoDB, Inc.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; withou... | 28.895833 | 120 | 0.699351 |
011f52b90c0516b0699e70063796c468bb12e08c | 354 | js | JavaScript | resources/assets/js/frontend/pages/SignIn.js | ChrisReeves12/so-good-php | 81866f5d76caf5344d5b7fedf901b4bee769639d | [
"MIT"
] | null | null | null | resources/assets/js/frontend/pages/SignIn.js | ChrisReeves12/so-good-php | 81866f5d76caf5344d5b7fedf901b4bee769639d | [
"MIT"
] | null | null | null | resources/assets/js/frontend/pages/SignIn.js | ChrisReeves12/so-good-php | 81866f5d76caf5344d5b7fedf901b4bee769639d | [
"MIT"
] | null | null | null | import React from 'react';
import ReactDOM from 'react-dom';
import SignInForm from '../components/sign_in_form/SignInForm';
export default class SignIn extends React.Component
{
static initialize()
{
let element = document.getElementById('sign_in_form');
if(element)
ReactDOM.render... | 25.285714 | 63 | 0.686441 |
012066a8ad9077e8155ad0c6e4b3475a22b4faba | 407 | js | JavaScript | public/static/common/chajian/wind.js | fishcg/imusicApp | 8c60d720c3c9e755334db5ddb762cad1c2c41479 | [
"Apache-2.0"
] | 539 | 2015-01-02T11:16:27.000Z | 2022-03-18T18:20:47.000Z | public/static/common/chajian/wind.js | fishcg/imusicApp | 8c60d720c3c9e755334db5ddb762cad1c2c41479 | [
"Apache-2.0"
] | 5 | 2015-01-06T02:21:19.000Z | 2020-08-28T01:18:17.000Z | public/static/common/chajian/wind.js | fishcg/imusicApp | 8c60d720c3c9e755334db5ddb762cad1c2c41479 | [
"Apache-2.0"
] | 108 | 2015-01-10T18:06:14.000Z | 2021-12-17T05:36:25.000Z | /***********************************************************************
The only purpose of this file is to load all the Wind.js modules and
return the root object in Node.js environment.
***********************************************************************/
var Wind = require("./wind-core");
require("./wind-... | 37 | 73 | 0.452088 |
0121185e6af7998b64ed9ebe98ca19ef4a3e708f | 7,192 | js | JavaScript | app/@esri/calcite-app-components/dist/esm-es5/calcite-fab.entry.js | lizeidsness/minimalist | 57657f7b37d2251b95dafe92e1d3776301a3a1c0 | [
"Apache-2.0"
] | 3 | 2020-07-17T21:04:01.000Z | 2021-11-30T15:14:45.000Z | app/@esri/calcite-app-components/dist/esm-es5/calcite-fab.entry.js | lizeidsness/minimalist | 57657f7b37d2251b95dafe92e1d3776301a3a1c0 | [
"Apache-2.0"
] | 4 | 2020-04-16T19:24:25.000Z | 2021-11-29T20:15:32.000Z | app/@esri/calcite-app-components/dist/esm-es5/calcite-fab.entry.js | lizeidsness/minimalist | 57657f7b37d2251b95dafe92e1d3776301a3a1c0 | [
"Apache-2.0"
] | 5 | 2020-06-11T20:51:53.000Z | 2021-11-30T15:22:13.000Z | var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
return new (P || (P = Promise))(function (resolve, reject) {
function fulfilled(value) { try { step(gene... | 62 | 1,536 | 0.543938 |
0121598ef4279a6a40df5572119a7b188cb82089 | 831 | js | JavaScript | Euler-5.js | VadimEv/ProjectEuler100 | b0e7f5672540ee2ed0e5143f21dffb37f67289fd | [
"MIT"
] | null | null | null | Euler-5.js | VadimEv/ProjectEuler100 | b0e7f5672540ee2ed0e5143f21dffb37f67289fd | [
"MIT"
] | null | null | null | Euler-5.js | VadimEv/ProjectEuler100 | b0e7f5672540ee2ed0e5143f21dffb37f67289fd | [
"MIT"
] | null | null | null | /* This one returns smallest common multiple of all Natural number less or equal to N */
/* Greatest common divisor, Euclid says Hi! */
var gcd = function (a, b) {
if (!b) { return a }
return gcd(b, a % b)
}
/* LArgest common multiple of 2 numbers */
var lcm = function (a, b) {
return a * b / gcd(a, b)
}
/* Pop... | 29.678571 | 108 | 0.66787 |
0121688b28dec59532bee489185491468d402e32 | 11,161 | js | JavaScript | dist/src/lib/discovery.js | iherman/PubManifest | d21b256b34f784cd4d8cb6424b5c6aed9c07fddd | [
"W3C-20150513"
] | 1 | 2022-03-19T09:48:28.000Z | 2022-03-19T09:48:28.000Z | dist/src/lib/discovery.js | panaC/PubManifest | edb58baedf696c37dd45ebd6594f889670f31368 | [
"W3C-20150513"
] | 3 | 2020-08-06T15:06:53.000Z | 2022-02-18T05:24:39.000Z | dist/src/lib/discovery.js | panaC/PubManifest | edb58baedf696c37dd45ebd6594f889670f31368 | [
"W3C-20150513"
] | 1 | 2020-08-06T13:47:30.000Z | 2020-08-06T13:47:30.000Z | "use strict";
var __importStar = (this && this.__importStar) || function (mod) {
if (mod && mod.__esModule) return mod;
var result = {};
if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];
result["default"] = mod;
return result;
};
Object.defineProperty(ex... | 41.490706 | 248 | 0.60568 |
0121efbace66d2d09b2d847cb3ca3b5c922d9519 | 1,488 | js | JavaScript | app/scripts/payload-builder.js | graemepatt/BerryCamExpress | bc23cee5ef4dd251db685f96ade03f97891f5452 | [
"BSD-3-Clause"
] | 1 | 2021-11-09T10:23:24.000Z | 2021-11-09T10:23:24.000Z | app/scripts/payload-builder.js | sam9032/BerryCamExpress | e548d61cbd3ed8ae8bec33d7a2551fe759b88723 | [
"BSD-3-Clause"
] | 1 | 2015-07-13T09:43:43.000Z | 2015-07-13T09:43:43.000Z | app/scripts/payload-builder.js | sam9032/BerryCamExpress | e548d61cbd3ed8ae8bec33d7a2551fe759b88723 | [
"BSD-3-Clause"
] | null | null | null | define(['config', 'image-utils', 'jquery', 'model/datamodel'], function (config, imageUtils, $, datamodel) {
'use strict';
function buildPayload() {
var data = datamodel.data,
dimensions = imageUtils.createImageDimension(data.size.selectedValue()),
opts = {
w: ... | 31 | 108 | 0.502688 |
012231274f41ec66466dd95de182ffcc33512770 | 57 | js | JavaScript | src/components/pages/PageNav/index.js | Lambda-School-Labs/Labs26-Citrics-FE-TeamB | 2bd2c6fd8eefaa84238db59a864662a3872ecb0a | [
"MIT"
] | 4 | 2020-09-08T21:38:11.000Z | 2021-03-24T08:42:30.000Z | src/components/pages/PageNav/index.js | labs26-citrics/Labs26-Citrics-FE-TeamB | 20e4a7d66ee24c8cd949981e5466bad6d96a86b5 | [
"MIT"
] | 2 | 2020-09-16T19:29:17.000Z | 2020-09-21T20:24:20.000Z | src/components/pages/PageNav/index.js | labs26-citrics/Labs26-Citrics-FE-TeamB | 20e4a7d66ee24c8cd949981e5466bad6d96a86b5 | [
"MIT"
] | 4 | 2020-10-13T21:56:16.000Z | 2021-01-24T17:00:01.000Z | export { default as PageNav } from "./PageNavContainer";
| 28.5 | 56 | 0.736842 |
0122694eda8454e166b857baffa5060c3cf52db3 | 1,033 | js | JavaScript | gemini.js | gemini-testing/retry-limiter | 90106c12798145846bbd43dc06a88dbc9a34307c | [
"MIT"
] | 1 | 2019-05-31T06:34:31.000Z | 2019-05-31T06:34:31.000Z | gemini.js | gemini-testing/retry-limiter | 90106c12798145846bbd43dc06a88dbc9a34307c | [
"MIT"
] | 2 | 2017-06-30T11:22:47.000Z | 2019-09-05T15:06:49.000Z | gemini.js | gemini-testing/retry-limiter | 90106c12798145846bbd43dc06a88dbc9a34307c | [
"MIT"
] | 1 | 2022-03-19T07:41:39.000Z | 2022-03-19T07:41:39.000Z | 'use strict';
const _ = require('lodash');
const ConfigDecorator = require('./lib/gemini-config-decorator');
const parseOpts = require('./lib/plugin-opts');
const Limiter = require('./lib/limiter');
module.exports = (gemini, opts) => {
opts = parseOpts(opts);
if (!opts.enabled) {
return;
}
c... | 27.918919 | 102 | 0.653437 |
01243a45079ec0db0df82e9d9bc88aef6a43d892 | 7,833 | js | JavaScript | highmaps/230303.js | lbp0200/highcharts-china-geo | a8342835f3004d257c11aab196272b449aa58899 | [
"MIT"
] | 40 | 2016-06-24T03:14:42.000Z | 2022-01-15T11:17:13.000Z | highmaps/230303.js | lbp0200/highcharts-china-geo | a8342835f3004d257c11aab196272b449aa58899 | [
"MIT"
] | null | null | null | highmaps/230303.js | lbp0200/highcharts-china-geo | a8342835f3004d257c11aab196272b449aa58899 | [
"MIT"
] | 46 | 2016-01-12T16:08:07.000Z | 2022-03-30T17:37:44.000Z | Highcharts.maps["countries/cn/230303"] = {"type":"FeatureCollection","features":[{"type":"Feature","properties":{"adcode":230303,"name":"恒山区","center":[130.910636,45.213242],"centroid":[130.913982,45.158084],"childrenNum":0,"level":"district","acroutes":[100000,230000,230300],"parent":{"adcode":230300},"longitude":130.... | 7,833 | 7,833 | 0.670241 |
0124f357fd2ea60c408dc86144d94e82089912a4 | 618 | js | JavaScript | assets/js/afegirServei.js | bruno51194/webPekiApp | 3150af399c2dc379da2a696aa7256118ed01ffdd | [
"CC-BY-3.0"
] | 1 | 2017-06-07T10:04:02.000Z | 2017-06-07T10:04:02.000Z | assets/js/afegirServei.js | bruno51194/webPekiApp | 3150af399c2dc379da2a696aa7256118ed01ffdd | [
"CC-BY-3.0"
] | null | null | null | assets/js/afegirServei.js | bruno51194/webPekiApp | 3150af399c2dc379da2a696aa7256118ed01ffdd | [
"CC-BY-3.0"
] | null | null | null | // Form Submission
var servei = $("#form-solicitudServei");
servei.submit(function() {
$.ajax({
url: "Slim/api.php/afegirServei",
type: "POST",
data: servei.serialize(),
success: function(responseText){
var responseTextarray = responseText.split(" ");
... | 29.428571 | 66 | 0.483819 |
01270791fa84240d2250d50339fd94b7b53628b4 | 8,545 | js | JavaScript | test/discover.js | 0xflotus/gc-siphon | 0075da1a5680301888bc842e2c17f83566b86729 | [
"MIT"
] | 1 | 2020-07-24T22:21:56.000Z | 2020-07-24T22:21:56.000Z | test/discover.js | 0xflotus/gc-siphon | 0075da1a5680301888bc842e2c17f83566b86729 | [
"MIT"
] | 17 | 2018-05-01T09:47:23.000Z | 2020-06-01T01:04:27.000Z | test/discover.js | 0xflotus/gc-siphon | 0075da1a5680301888bc842e2c17f83566b86729 | [
"MIT"
] | 2 | 2018-10-29T15:12:24.000Z | 2020-08-03T00:50:27.000Z | /* eslint-env mocha */
const { expect } = require("chai");
const sinon = require("sinon");
const moment = require("moment");
const mongodb = require("mongo-mock");
const mock = require("mock-require");
const request = {};
const turf = require("@turf/turf");
mock("superagent", request);
const discover = require("../lib... | 25.356083 | 78 | 0.536337 |
01278f0dacb5beb076eb0ff688a442d20500330c | 4,319 | js | JavaScript | server.js | Monther-alkhwaldeh/My_Book_app | f3fa0347115995e97f92b98747b87506cb03cdcc | [
"MIT"
] | null | null | null | server.js | Monther-alkhwaldeh/My_Book_app | f3fa0347115995e97f92b98747b87506cb03cdcc | [
"MIT"
] | null | null | null | server.js | Monther-alkhwaldeh/My_Book_app | f3fa0347115995e97f92b98747b87506cb03cdcc | [
"MIT"
] | null | null | null | require('dotenv').config();
const express = require('express')
const superagent = require('superagent')
const pg =require('pg');
const app = express();
const PORT = process.env.PORT;
const DATABASE_URL=process.env.DATABASE_URL;
const override = require('method-override');
// const client = new pg.Client(DATABASE_URL);
... | 31.757353 | 153 | 0.68025 |
0127e296e2aaf59b23b22e54401bf9be0c23f5c7 | 166 | js | JavaScript | examples/sqlite/test.js | leobia/alasql | 0736d3fbf14071ff7ede25e47c35d2ba1ab48c2d | [
"MIT"
] | 5,641 | 2015-01-02T04:02:46.000Z | 2022-03-16T18:36:34.000Z | examples/sqlite/test.js | leobia/alasql | 0736d3fbf14071ff7ede25e47c35d2ba1ab48c2d | [
"MIT"
] | 1,337 | 2015-01-03T19:23:19.000Z | 2022-03-14T04:02:34.000Z | examples/sqlite/test.js | leobia/alasql | 0736d3fbf14071ff7ede25e47c35d2ba1ab48c2d | [
"MIT"
] | 677 | 2015-01-04T07:15:09.000Z | 2022-03-05T10:24:35.000Z | var fs = require('fs');
var SQL = require('./sql.js');
var data = fs.readFileSync('./Chinook_Sqlite.sqlite');
var sqldb = new SQL.Database(data);
console.log(sqldb);
| 27.666667 | 54 | 0.686747 |
0128e00ce3b63632999d82de17a5229e970538ac | 7,543 | js | JavaScript | examples/index.js | dorayakikun/taiyaki | 9fe2f65828531ab4a4b9eb959d28cd8fd9d05c84 | [
"MIT"
] | null | null | null | examples/index.js | dorayakikun/taiyaki | 9fe2f65828531ab4a4b9eb959d28cd8fd9d05c84 | [
"MIT"
] | 33 | 2017-02-10T12:47:04.000Z | 2020-01-07T09:24:00.000Z | examples/index.js | dorayakikun/taiyaki | 9fe2f65828531ab4a4b9eb959d28cd8fd9d05c84 | [
"MIT"
] | null | null | null | "use strict";
const mat4 = require("gl-matrix-mat4");
const quat = require("gl-matrix-quat");
const { RenderingContext } = require("../build/src/RenderingContext");
function createSphere(widthSegment, heightSegment, radius, rgba) {
const position = [];
const normal = [];
const color = [];
const textureCoord =... | 27.231047 | 78 | 0.641389 |