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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
7fce9c74273ed0a5abafd0b2508f753844037b98 | 286 | js | JavaScript | assets/js/app.js | johnroyflores/sphinx | 9829d05209da672cdb17c4cf8a2f0bd445324a51 | [
"MIT"
] | null | null | null | assets/js/app.js | johnroyflores/sphinx | 9829d05209da672cdb17c4cf8a2f0bd445324a51 | [
"MIT"
] | null | null | null | assets/js/app.js | johnroyflores/sphinx | 9829d05209da672cdb17c4cf8a2f0bd445324a51 | [
"MIT"
] | null | null | null | // $(function(){
// var queryURL = "https://api.instagram.com/oembed?url=http://instagr.am/p/BJwLbkVDmCz/";
// $.ajax({url: queryURL, method: 'GET'})
// .done(function(response) {
// var results = response;
// console.log(results);
// });
// }); | 28.6 | 94 | 0.531469 |
7fcee3f75794a4c4cf59c413c6614a89a5c5a310 | 640 | js | JavaScript | src/components/Post/Meta/Meta.js | aaronvb/aaronvb.github.io | 37eba44e6440b3e5cdf9cd5f78e9d2f026c3b41c | [
"MIT"
] | null | null | null | src/components/Post/Meta/Meta.js | aaronvb/aaronvb.github.io | 37eba44e6440b3e5cdf9cd5f78e9d2f026c3b41c | [
"MIT"
] | 12 | 2021-07-12T00:36:20.000Z | 2021-07-12T01:47:42.000Z | src/components/Post/Meta/Meta.js | aaronvb/aaronvb.github.io | 37eba44e6440b3e5cdf9cd5f78e9d2f026c3b41c | [
"MIT"
] | null | null | null | // @flow strict
import React from 'react';
import styles from './Meta.module.scss';
type Props = {
date: string
};
const Meta = ({ date }: Props) => {
const parsedDate = new Date(date);
const dateTimeFormat = new Intl.DateTimeFormat('en',
{
year: 'numeric',
month: 'short',
day: '2-digit',
... | 19.393939 | 76 | 0.579688 |
7fcef79bd14dea6d8cebc774aea9ca6f0beab35f | 74 | js | JavaScript | packages/core/src/registration/command-handlers/registration-handler/index.js | gleb-smagliy/unity | 2c61052b1bf4e4b66232d2c9fedc8ecbc95e364b | [
"Apache-2.0"
] | null | null | null | packages/core/src/registration/command-handlers/registration-handler/index.js | gleb-smagliy/unity | 2c61052b1bf4e4b66232d2c9fedc8ecbc95e364b | [
"Apache-2.0"
] | null | null | null | packages/core/src/registration/command-handlers/registration-handler/index.js | gleb-smagliy/unity | 2c61052b1bf4e4b66232d2c9fedc8ecbc95e364b | [
"Apache-2.0"
] | null | null | null | export { ServiceRegistrationCommandHander } from './registration-handler'; | 74 | 74 | 0.824324 |
7fd1b415865451dd6eccf345ec5c633674d16b04 | 4,459 | js | JavaScript | MVCAng/AngularCompiled/out-tsc/AngularCode/app/Services/Common/fakeajax.service.js | ishanbawa/MVCRazorPlusAngular5 | 445f2b315b33e1a87b88e33105b9289d71ff045a | [
"MIT"
] | null | null | null | MVCAng/AngularCompiled/out-tsc/AngularCode/app/Services/Common/fakeajax.service.js | ishanbawa/MVCRazorPlusAngular5 | 445f2b315b33e1a87b88e33105b9289d71ff045a | [
"MIT"
] | null | null | null | MVCAng/AngularCompiled/out-tsc/AngularCode/app/Services/Common/fakeajax.service.js | ishanbawa/MVCRazorPlusAngular5 | 445f2b315b33e1a87b88e33105b9289d71ff045a | [
"MIT"
] | null | null | null | "use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var http_1 = require("@angular/http");
var testing_1 = require("@angular/http/testing");
function fakeBackendFactory(backend, options, realBackend) {
// array in local storage for registered users
var users = JSON.parse(localStorage.ge... | 50.670455 | 146 | 0.554833 |
7fd2d0a7f5941265aa61a670b8289bd765be92f8 | 5,459 | js | JavaScript | src/elements/content-sidebar/activity-feed/task-new/Assignees.js | baipenghan/box-ui-elements | 169f7bfb70e3132e12b6ec754c2b4f316dce3c1c | [
"Apache-2.0"
] | null | null | null | src/elements/content-sidebar/activity-feed/task-new/Assignees.js | baipenghan/box-ui-elements | 169f7bfb70e3132e12b6ec754c2b4f316dce3c1c | [
"Apache-2.0"
] | null | null | null | src/elements/content-sidebar/activity-feed/task-new/Assignees.js | baipenghan/box-ui-elements | 169f7bfb70e3132e12b6ec754c2b4f316dce3c1c | [
"Apache-2.0"
] | null | null | null | // @flow strict
import * as React from 'react';
import { injectIntl, FormattedMessage } from 'react-intl';
import type { InjectIntlProvidedProps } from 'react-intl';
import uniqueId from 'lodash/uniqueId';
import { Flyout, Overlay } from '../../../../components/flyout';
import Tooltip from '../../../../components/toolt... | 45.491667 | 119 | 0.529035 |
7fd331f36b8c08b714f2379321bb1d52e335d8a9 | 3,016 | js | JavaScript | benchmark/MapBenchmark.js | pverscha/sharify-js | 3742eab9d9ec6092898c5ae5396569e81d575b85 | [
"MIT"
] | 5 | 2021-02-09T14:09:49.000Z | 2021-12-09T19:51:17.000Z | benchmark/MapBenchmark.js | pverscha/sharify-js | 3742eab9d9ec6092898c5ae5396569e81d575b85 | [
"MIT"
] | 3 | 2021-02-11T08:58:47.000Z | 2021-05-11T14:42:27.000Z | benchmark/MapBenchmark.js | pverscha/sharify-js | 3742eab9d9ec6092898c5ae5396569e81d575b85 | [
"MIT"
] | 1 | 2022-02-24T09:09:18.000Z | 2022-02-24T09:09:18.000Z | class MapBenchmark {
keyValuePairs = [];
repetitionFactor = 20;
mapSizeSteps;
constructor(
keyGenerator,
valueGenerator,
mapSizeSteps = [1000, 10000, 50000, 250000, 1000000]
) {
this.mapSizeSteps = mapSizeSteps;
for (let i = 0; i < mapSizeSteps[mapSizeSteps.... | 31.416667 | 123 | 0.542772 |
7fd38aa432e3a4750e470412d59aff48135c3043 | 1,154 | js | JavaScript | public/apps/equifit/test/jasmine/specs/app.spec.js | mromanoff/equifit | 674863bcacf924396cdde8b1736169345c0f7ae9 | [
"MIT"
] | null | null | null | public/apps/equifit/test/jasmine/specs/app.spec.js | mromanoff/equifit | 674863bcacf924396cdde8b1736169345c0f7ae9 | [
"MIT"
] | null | null | null | public/apps/equifit/test/jasmine/specs/app.spec.js | mromanoff/equifit | 674863bcacf924396cdde8b1736169345c0f7ae9 | [
"MIT"
] | null | null | null | define(function(require) {
'use strict';
var app = require('app');
var Backbone = require('backbone');
var Layout = require('backbone.layoutmanager');
var Store = require('entities/store');
var moment = require('moment');
// Test that the Router exists.
describe('Application', function... | 25.644444 | 51 | 0.528596 |
7fd3ef373ca1e1101b4263b4e61ff9f326a6e34d | 650 | js | JavaScript | pages_components/Home/Hero/index.js | julzel/dnature_next | ad84d4ab34e8942727d3477537e99e6fc2192d5a | [
"MIT"
] | null | null | null | pages_components/Home/Hero/index.js | julzel/dnature_next | ad84d4ab34e8942727d3477537e99e6fc2192d5a | [
"MIT"
] | 1 | 2022-03-23T18:26:27.000Z | 2022-03-23T18:26:27.000Z | pages_components/Home/Hero/index.js | julzel/dnature_next | ad84d4ab34e8942727d3477537e99e6fc2192d5a | [
"MIT"
] | null | null | null | import React from 'react'
// local imports
// styles
import styles from './Hero.module.scss'
const Benefits = () => {
return (
<div className={styles.hero}>
<h1 className='seo-hidden'>
Alimentación natural y dieta cruda para mascotas
</h1>
<div classNa... | 24.074074 | 64 | 0.513846 |
7fd4b9a15797f64347181bbf5616d7fe32fef8f3 | 1,043 | js | JavaScript | src/components/GameList.js | RudyWeber/ps1-games-manager | c870375d381ff79ec005d5f0fffd524354fd3b2b | [
"MIT"
] | null | null | null | src/components/GameList.js | RudyWeber/ps1-games-manager | c870375d381ff79ec005d5f0fffd524354fd3b2b | [
"MIT"
] | 7 | 2021-01-28T19:59:34.000Z | 2022-03-25T18:47:38.000Z | src/components/GameList.js | RudyWeber/ps1-games-manager | c870375d381ff79ec005d5f0fffd524354fd3b2b | [
"MIT"
] | null | null | null | import React from "react";
import {
Card,
CardMedia,
CardAction,
CardActions,
CardActionButtons
} from "@rmwc/card";
import { Typography } from "@rmwc/typography";
import { Grid, GridCell } from "@rmwc/grid";
const GameList = ({ games, onDelete }) => (
<Grid>
{games.map(({ Title }, index) => (
<G... | 24.833333 | 82 | 0.519655 |
7fd69ec30a95c43e063b23c19b3cc69f1c436438 | 935 | js | JavaScript | resources/assets/js/plugin-binders/BootstrapDatetimePicker.js | softworx-digital/rocxolid-ui | 974730577709ef6c9371bc4eaf72e40a87ec9bfe | [
"MIT"
] | null | null | null | resources/assets/js/plugin-binders/BootstrapDatetimePicker.js | softworx-digital/rocxolid-ui | 974730577709ef6c9371bc4eaf72e40a87ec9bfe | [
"MIT"
] | 6 | 2021-05-11T11:02:23.000Z | 2022-03-18T13:55:10.000Z | resources/assets/js/plugin-binders/BootstrapDatetimePicker.js | softworx-digital/rocxolid-ui | 974730577709ef6c9371bc4eaf72e40a87ec9bfe | [
"MIT"
] | null | null | null | import 'eonasdan-bootstrap-datetimepicker/build/css/bootstrap-datetimepicker.min.css';
import 'eonasdan-bootstrap-datetimepicker';
import { PluginBinder } from '../core/PluginBinder';
/**
* @author softworx <hello@softworx.digital>
* @package Softworx\RocXolid\UI
* @version 1.0.0
*/
class BootstrapDatetimePicker e... | 27.5 | 113 | 0.641711 |
7fd82b0fbadf04a6322381046ae2326b15d36e05 | 1,246 | js | JavaScript | B2G/gecko/services/healthreport/tests/xpcshell/test_provider_sysinfo.js | wilebeast/FireFox-OS | 43067f28711d78c429a1d6d58c77130f6899135f | [
"Apache-2.0"
] | 3 | 2015-08-31T15:24:31.000Z | 2020-04-24T20:31:29.000Z | B2G/gecko/services/healthreport/tests/xpcshell/test_provider_sysinfo.js | wilebeast/FireFox-OS | 43067f28711d78c429a1d6d58c77130f6899135f | [
"Apache-2.0"
] | null | null | null | B2G/gecko/services/healthreport/tests/xpcshell/test_provider_sysinfo.js | wilebeast/FireFox-OS | 43067f28711d78c429a1d6d58c77130f6899135f | [
"Apache-2.0"
] | 3 | 2015-07-29T07:17:15.000Z | 2020-11-04T06:55:37.000Z | /* Any copyright is dedicated to the Public Domain.
* http://creativecommons.org/publicdomain/zero/1.0/ */
"use strict";
const {interfaces: Ci, results: Cr, utils: Cu} = Components;
Cu.import("resource://gre/modules/XPCOMUtils.jsm");
Cu.import("resource://gre/modules/services/healthreport/providers.jsm");
Cu.import... | 27.086957 | 72 | 0.729535 |
7fdaec6eab0ec7a14f2d7689db1b5bac81159105 | 1,364 | js | JavaScript | src/components/IconButton.js | amorfati0310/todoPractice | 07ba70fabbf22db2e720a041bd1ff0edf0156c6e | [
"MIT"
] | null | null | null | src/components/IconButton.js | amorfati0310/todoPractice | 07ba70fabbf22db2e720a041bd1ff0edf0156c6e | [
"MIT"
] | 4 | 2018-09-12T13:35:56.000Z | 2018-09-19T09:13:03.000Z | src/components/IconButton.js | amorfati0310/todoPractice | 07ba70fabbf22db2e720a041bd1ff0edf0156c6e | [
"MIT"
] | null | null | null | import React from 'react';
import styled, {css} from "styled-components";
const defaultSize = 50
const IconButtonEl = styled.button`
width: ${props => props.size+'px'};
height: ${props => props.size+'px'};
${props =>props.circle && css`
border-radius: 50%;
border: 1px solid #eee
`}
${props =>pr... | 20.058824 | 120 | 0.595308 |
7fdb39c68ae40b8ae5b72a31df241b28154c6490 | 831 | js | JavaScript | src/models/index.js | MisterFixx/core | 410b21088588095acf6638aa89b7a1bf95ede1aa | [
"MIT"
] | 1 | 2021-06-13T00:29:21.000Z | 2021-06-13T00:29:21.000Z | src/models/index.js | eyes-0nly/core | 61e9fc70630d53073a5b758a19a9767c90dc2756 | [
"MIT"
] | null | null | null | src/models/index.js | eyes-0nly/core | 61e9fc70630d53073a5b758a19a9767c90dc2756 | [
"MIT"
] | null | null | null | 'use strict';
const aclRoleSchema = require('./AclRole');
const authenticationSchema = require('./Authentication');
const historySchema = require('./History');
const mediaSchema = require('./Media');
const playlistSchema = require('./Playlist');
const playlistItemSchema = require('./PlaylistItem');
const userSchema = ... | 34.625 | 75 | 0.720818 |
7fdbe80a67fbfdf2265e8f89013235c0071c5cfc | 238 | js | JavaScript | 09.ArraysAndMatricesExercise/02.PrintEveryNthEleemntFromAnArray.js | vsaraminev/JavaScriptFundamentals | d170bef6a0051101a828bc0e999f810ad40e40c8 | [
"MIT"
] | null | null | null | 09.ArraysAndMatricesExercise/02.PrintEveryNthEleemntFromAnArray.js | vsaraminev/JavaScriptFundamentals | d170bef6a0051101a828bc0e999f810ad40e40c8 | [
"MIT"
] | null | null | null | 09.ArraysAndMatricesExercise/02.PrintEveryNthEleemntFromAnArray.js | vsaraminev/JavaScriptFundamentals | d170bef6a0051101a828bc0e999f810ad40e40c8 | [
"MIT"
] | null | null | null | function printElements(input) {
let step = +input.pop();
for (let i = 0; i < input.length; i+=step) {
console.log(input[i]);
}
}
printElements([5, 20, 31, 4, 20, 2]);
printElements(['dsa', 'asd', 'test', 'tset', 2]);
| 23.8 | 49 | 0.554622 |
7fde0f2d67cca896729c6ae6088fbfa175c330d8 | 2,079 | js | JavaScript | docs/search/all_d.js | RyanVreeke/TSGL-GitHubPage | dec356805af299328a3c64041d5d2700da378b73 | [
"MIT"
] | null | null | null | docs/search/all_d.js | RyanVreeke/TSGL-GitHubPage | dec356805af299328a3c64041d5d2700da378b73 | [
"MIT"
] | 2 | 2021-06-24T18:15:24.000Z | 2021-06-24T18:58:45.000Z | docs/search/functions_d.js | RyanVreeke/TSGL-GitHubPage | dec356805af299328a3c64041d5d2700da378b73 | [
"MIT"
] | null | null | null | var searchData=
[
['oddevenmethod',['oddEvenMethod',['../class_table.html#a9a4f2d947df11a5c59f973a0b2e22094',1,'Table::oddEvenMethod()'],['../class_table3_d.html#acc4b9ab7a1110676580d64a67d4c1168',1,'Table3D::oddEvenMethod()']]],
['operator_20colorfloat',['operator ColorFloat',['../structtsgl_1_1_color_int.html#a34... | 173.25 | 280 | 0.777778 |
7fdff583e2a5a9f9db5ed9f629c4ae5a792252e9 | 2,794 | js | JavaScript | packages/@stimulus/core/dist/tests/cases/controller_test_case.js | qinmingyuan/stimulus | 3d20e4b8abc79f2c2be4ddab62a8c91aaae65849 | [
"MIT"
] | null | null | null | packages/@stimulus/core/dist/tests/cases/controller_test_case.js | qinmingyuan/stimulus | 3d20e4b8abc79f2c2be4ddab62a8c91aaae65849 | [
"MIT"
] | null | null | null | packages/@stimulus/core/dist/tests/cases/controller_test_case.js | qinmingyuan/stimulus | 3d20e4b8abc79f2c2be4ddab62a8c91aaae65849 | [
"MIT"
] | null | null | null | var __extends = (this && this.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] =... | 36.763158 | 93 | 0.572298 |
7fe282e25db5ab6a119d7bfbaabaafbfa427de7a | 2,366 | js | JavaScript | classes/graphics.js | dolmo/ev3-snake | 3f5a5aa39af4c89072cbc5c2efd3d6724433e305 | [
"MIT"
] | 10 | 2015-01-27T19:07:31.000Z | 2020-05-25T06:59:37.000Z | classes/graphics.js | dolmo/ev3-snake | 3f5a5aa39af4c89072cbc5c2efd3d6724433e305 | [
"MIT"
] | 6 | 2015-03-31T07:15:00.000Z | 2018-11-06T01:01:37.000Z | classes/graphics.js | dolmo/ev3-snake | 3f5a5aa39af4c89072cbc5c2efd3d6724433e305 | [
"MIT"
] | 3 | 2020-06-24T06:23:22.000Z | 2022-03-11T14:07:58.000Z | var fs = require("fs");
var fd;
var reverseBitsTable = require("./reverse-bits-table");
var frameBufferFile = '/dev/fb0';
var bufferSize = 3072;
var buffer;
var map;
exports.init = function (callback) {
buffer = new Buffer(bufferSize);
//buffer.fill(0);
fs.open(frameBufferFile, "w", function(error, fileDesc) {
... | 23.66 | 66 | 0.588335 |
7fe35c6ffed582d296860e8661df887946cb452f | 1,061 | js | JavaScript | artifact_evaluation/data/codeCoverage/deepsmith_generate/466.js | weucode/COMFORT | 0cfce5d70a58503f8ba3c3ff825abc24b79a1d2b | [
"Apache-2.0"
] | 55 | 2021-03-05T06:42:22.000Z | 2022-02-22T05:33:47.000Z | artifact_evaluation/data/codeCoverage/deepsmith_generate/466.js | Delepha/COMFORT | a76ab2cc0069542b2bd75e4952c4709eef936124 | [
"Apache-2.0"
] | null | null | null | artifact_evaluation/data/codeCoverage/deepsmith_generate/466.js | Delepha/COMFORT | a76ab2cc0069542b2bd75e4952c4709eef936124 | [
"Apache-2.0"
] | 20 | 2021-04-14T15:17:05.000Z | 2022-02-15T10:48:00.000Z | var NISLFuzzingFunc = function(attributes) {
return this.get("title", {
value: this.value(),
unsap: result.replace(/^[0-9]*/, " "._stroke(), null, "", "values", {
details: "httpHeight",
dragoural: !1
};
} els... | 50.52381 | 148 | 0.549482 |
7fe3ee601f230ff6d4660aeed2361b507eacd1db | 2,291 | js | JavaScript | js/register-validation.js | WebTehnologijeETF/Rathings---review-site | 00264a617ff62e03f74b01ae0497efb6f2f91a04 | [
"Apache-2.0"
] | null | null | null | js/register-validation.js | WebTehnologijeETF/Rathings---review-site | 00264a617ff62e03f74b01ae0497efb6f2f91a04 | [
"Apache-2.0"
] | null | null | null | js/register-validation.js | WebTehnologijeETF/Rathings---review-site | 00264a617ff62e03f74b01ae0497efb6f2f91a04 | [
"Apache-2.0"
] | null | null | null |
function validateFormR()
{
valid = true;
checkName('el0');
checkLastName('el1');
checkAge('el2');
checkImage('el4');
checkEmail('el8');
checkValidPass('el9');
checkPassConf('el10');
checkCountry('el5');
checkCallingCode('el6');
checkPhone('el7');
return valid;
}
function fieldsValidationR()
{
var v... | 22.91 | 58 | 0.696203 |
7fe4e06af0b6bb0d3088454d83ced365402aa161 | 2,753 | js | JavaScript | node_modules/dag-map/dist/dag-map.min.js | jordaoqualho/Lorena-Felicio | 7c63ab127c7e52fadcc7d590dd50be505bba39c8 | [
"MIT"
] | 1 | 2020-05-26T07:41:13.000Z | 2020-05-26T07:41:13.000Z | node_modules/dag-map/dist/dag-map.min.js | jordaoqualho/Lorena-Felicio | 7c63ab127c7e52fadcc7d590dd50be505bba39c8 | [
"MIT"
] | 15 | 2021-05-10T19:46:29.000Z | 2022-01-04T16:37:49.000Z | node_modules/dag-map/dist/dag-map.min.js | jordaoqualho/Lorena-Felicio | 7c63ab127c7e52fadcc7d590dd50be505bba39c8 | [
"MIT"
] | 2 | 2019-11-21T13:25:01.000Z | 2020-07-20T08:16:46.000Z | (function(){"use strict";var lib$dag$map$platform$$platform;if(typeof self==="object"){lib$dag$map$platform$$platform=self}else if(typeof global==="object"){lib$dag$map$platform$$platform=global}else{throw new Error("no global: `self` or `global` found")}var lib$dag$map$platform$$default=lib$dag$map$platform$$platform;... | 2,753 | 2,753 | 0.758445 |
7fe58c6959542691674ffe5742bfd7e45f3776b9 | 954 | js | JavaScript | knownlanguages.js | AsiaFoundation/translate-stories | 6bcc32689ff1878e4b501c6a8c6145c0903a646e | [
"MIT"
] | null | null | null | knownlanguages.js | AsiaFoundation/translate-stories | 6bcc32689ff1878e4b501c6a8c6145c0903a646e | [
"MIT"
] | null | null | null | knownlanguages.js | AsiaFoundation/translate-stories | 6bcc32689ff1878e4b501c6a8c6145c0903a646e | [
"MIT"
] | null | null | null | /*
list of language names for each language
the database stores a language by its code (English -> en)
then in English it displays "English"
in Thai it displays "ภาษาไทย"
*/
const keys = {
en: {
en: 'English',
th: 'Thai',
karen: 'Karen',
kh: 'Khmer'
},
th: {
en: 'อังกฤษ',
th: 'ภาษ... | 22.186047 | 174 | 0.613208 |
7fe74dd57b094e72fabcb250d104253aafb2e73f | 1,158 | js | JavaScript | routes/roomRoute.js | MatanZada/Hotel-California | 4beaeae118457c894f70f86c00b9d33f9ce7b44d | [
"MIT"
] | null | null | null | routes/roomRoute.js | MatanZada/Hotel-California | 4beaeae118457c894f70f86c00b9d33f9ce7b44d | [
"MIT"
] | null | null | null | routes/roomRoute.js | MatanZada/Hotel-California | 4beaeae118457c894f70f86c00b9d33f9ce7b44d | [
"MIT"
] | null | null | null | const express = require('express'),
router = express.Router();
const {
insertRoom,
getAllRooms,
returnsAllRoomsWithBath,
gettingAllRoomsAreNotVip,
} = require('../controller/roomController')
router.post('/', (req, res) => {
const {
isVip,
haveBath,
roomNumber
} = re... | 21.444444 | 49 | 0.541451 |
7fe7ac4f22aa832363cb90fc03d5f24652f0be41 | 24,294 | js | JavaScript | node_modules/pg-promise/lib/database.js | julyano/game | 4f9143f5d4cce9016dbd88d986aa891c13108761 | [
"MIT"
] | null | null | null | node_modules/pg-promise/lib/database.js | julyano/game | 4f9143f5d4cce9016dbd88d986aa891c13108761 | [
"MIT"
] | 1 | 2020-04-29T23:51:11.000Z | 2020-04-29T23:51:11.000Z | node_modules/pg-promise/lib/database.js | julyano/game | 4f9143f5d4cce9016dbd88d986aa891c13108761 | [
"MIT"
] | null | null | null | 'use strict';
var $npm = {
result: require('./result'),
special: require('./special'),
context: require('./cnContext'),
events: require('./events'),
utils: require('./utils'),
connect: require('./connect'),
query: require('./query'),
task: require('./task')
};
/**
* @con... | 39.631321 | 130 | 0.535235 |
7fe7b03edbf938be102b76928699898d91df0aa6 | 1,182 | js | JavaScript | components/Header/index.js | serhatgundogdu/serhatgundogdu.com.tr | 61f592f7c95e428339bcc578339d19eaf66264b9 | [
"MIT"
] | 1 | 2022-02-06T17:13:33.000Z | 2022-02-06T17:13:33.000Z | components/Header/index.js | serhatgundogdu/serhatgundogdu.com.tr | 61f592f7c95e428339bcc578339d19eaf66264b9 | [
"MIT"
] | null | null | null | components/Header/index.js | serhatgundogdu/serhatgundogdu.com.tr | 61f592f7c95e428339bcc578339d19eaf66264b9 | [
"MIT"
] | null | null | null | import React from "react";
import Link from "next/link";
import { useRouter } from "next/router";
const Header = () => {
const router = useRouter();
return (
<header className="flex items-center justify-center h-16 max-w-5xl px-4 py-4 mx-auto mt-12 bg-transparent ">
<nav className="flex font-semibold text-gray-5... | 23.176471 | 110 | 0.549915 |
7fe9781fd03dc7ddbe30fd006151baaa44206591 | 313 | js | JavaScript | doc/html/search/classes_6.js | romainfroidevaux/RealTimeEmbeddedConsole | 36b5330b088396ab46c89730be02d504ec2391a0 | [
"MIT"
] | null | null | null | doc/html/search/classes_6.js | romainfroidevaux/RealTimeEmbeddedConsole | 36b5330b088396ab46c89730be02d504ec2391a0 | [
"MIT"
] | null | null | null | doc/html/search/classes_6.js | romainfroidevaux/RealTimeEmbeddedConsole | 36b5330b088396ab46c89730be02d504ec2391a0 | [
"MIT"
] | null | null | null | var searchData=
[
['gpio_5fctrl',['gpio_ctrl',['../a00019.html',1,'']]],
['gpio_5fisr_5fhandlers',['gpio_isr_handlers',['../a00020.html',1,'']]],
['gpt_5fhandler',['gpt_handler',['../a00021.html',1,'']]],
['gpt_5fregs',['gpt_regs',['../a00022.html',1,'']]],
['grid',['grid',['../a00023.html',1,'']]]
];
| 34.777778 | 74 | 0.5623 |
7fea62942ae6a66eaceffe96b05adaba0deebdc7 | 47 | js | JavaScript | src/auth/codes.js | thevetdoctor/wayfarer | 9e7cd2ea842c4605ea2086a0759821f4210ecdba | [
"MIT"
] | null | null | null | src/auth/codes.js | thevetdoctor/wayfarer | 9e7cd2ea842c4605ea2086a0759821f4210ecdba | [
"MIT"
] | 4 | 2020-09-06T08:58:02.000Z | 2021-09-01T18:29:46.000Z | src/auth/codes.js | thevetdoctor/wayfarer | 9e7cd2ea842c4605ea2086a0759821f4210ecdba | [
"MIT"
] | null | null | null | module.exports = {
secretKey: 'mycode',
};
| 7.833333 | 22 | 0.595745 |
7fea6b01584a4ef72ac0fbfe912416c4134f6c23 | 234 | js | JavaScript | develop/Utils.js | idle-js-games/happyking | c2e6e45aba9c49405c57cd830bb9d4a6191acfd1 | [
"MIT"
] | 2 | 2018-07-04T07:02:40.000Z | 2021-01-18T23:10:54.000Z | develop/Utils.js | idle-js-games/happyking | c2e6e45aba9c49405c57cd830bb9d4a6191acfd1 | [
"MIT"
] | 4 | 2017-09-02T18:15:22.000Z | 2019-01-05T19:31:49.000Z | develop/Utils.js | idle-js-games/happyking | c2e6e45aba9c49405c57cd830bb9d4a6191acfd1 | [
"MIT"
] | 4 | 2018-02-23T10:15:01.000Z | 2021-05-31T17:42:12.000Z | /**
* Happy King
* Author: Sam Creamer
*/
module.exports = class Utils {
/**
* Rounds number
*/
static roundNumber(number, decimals) {
return Math.round(number * Math.pow(10, decimals)) / Math.pow(10, decimals);
}
};
| 16.714286 | 80 | 0.623932 |
7fecb38e241df6402d5dbb0c9f3f0345567e77c8 | 7,314 | js | JavaScript | app/components/Reusables/DetailScrollView/QuickInfoBox/index.js | Mai-Hong-Son/wefitv2 | f2905524aaeeced448f4f345e9aab6cdabf41df0 | [
"MIT"
] | 1 | 2020-06-19T13:57:41.000Z | 2020-06-19T13:57:41.000Z | app/components/Reusables/DetailScrollView/QuickInfoBox/index.js | Mai-Hong-Son/wefitv2 | f2905524aaeeced448f4f345e9aab6cdabf41df0 | [
"MIT"
] | null | null | null | app/components/Reusables/DetailScrollView/QuickInfoBox/index.js | Mai-Hong-Son/wefitv2 | f2905524aaeeced448f4f345e9aab6cdabf41df0 | [
"MIT"
] | null | null | null | /**
* @providesModule WeFit.Components.Reusables.DetailScrollView.QuickInfoBox
*/
import React from 'react';
import PropTypes from 'prop-types';
import { StyleSheet, Image, View } from 'react-native';
import I18n from 'react-native-i18n';
import _ from 'lodash';
// Components
import FitnessTypeIcon, {
variants as... | 30.098765 | 100 | 0.649576 |
7fed09f3c4ae8aeee02ff97f35d64497576822fc | 172 | js | JavaScript | addon/helpers/prevent-default.js | rtablada/ember-prevent-default-helper | 07e76506cb6056da246a0d85db0141d7d25cfb98 | [
"MIT"
] | 1 | 2016-01-11T20:55:16.000Z | 2016-01-11T20:55:16.000Z | addon/helpers/prevent-default.js | rtablada/ember-prevent-default-helper | 07e76506cb6056da246a0d85db0141d7d25cfb98 | [
"MIT"
] | null | null | null | addon/helpers/prevent-default.js | rtablada/ember-prevent-default-helper | 07e76506cb6056da246a0d85db0141d7d25cfb98 | [
"MIT"
] | null | null | null | import Ember from 'ember';
export function preventDefault() {
return function(ev) {
ev.preventDefault();
};
}
export default Ember.Helper.helper(preventDefault);
| 17.2 | 51 | 0.72093 |
7feda7107456593a0bd3e04b150713a616ffbf88 | 664 | js | JavaScript | lib/collectComments.js | TitanNano/es-code-docer | fd179e966759e4e56abee1d4549abe345df6bf10 | [
"Apache-2.0"
] | null | null | null | lib/collectComments.js | TitanNano/es-code-docer | fd179e966759e4e56abee1d4549abe345df6bf10 | [
"Apache-2.0"
] | 42 | 2018-05-17T13:27:16.000Z | 2022-03-28T22:08:51.000Z | lib/collectComments.js | TitanNano/es-code-docer | fd179e966759e4e56abee1d4549abe345df6bf10 | [
"Apache-2.0"
] | null | null | null | module.exports = function(node, commentList) {
const matchingComments = [];
const innerComments = [];
while (commentList.length) {
const comment = commentList[0];
if (comment.type === 'Line') {
commentList.shift();
continue;
}
if (comment.start > n... | 21.419355 | 67 | 0.533133 |
7fee5e1c816da2c51e20890186a151813fc95835 | 282 | js | JavaScript | frontend/src/components/MyNavbar/MyNavbar.test.js | Codubee/RecipeMakerTTH11-1 | 09cc283520b74617e3e8d094adaada4f03e321b3 | [
"MIT"
] | 2 | 2020-11-09T20:23:47.000Z | 2020-11-15T16:18:28.000Z | frontend/src/components/MyNavbar/MyNavbar.test.js | Codubee/RecipeMakerTTH11-1 | 09cc283520b74617e3e8d094adaada4f03e321b3 | [
"MIT"
] | 2 | 2020-11-13T19:50:22.000Z | 2020-12-17T18:01:14.000Z | frontend/src/components/MyNavbar/MyNavbar.test.js | Codubee/RecipeMakerTTH11-1 | 09cc283520b74617e3e8d094adaada4f03e321b3 | [
"MIT"
] | null | null | null | import enzyme, {shallow} from 'enzyme';
import MyNavbar from './MyNavbar';
import React from 'react';
const wrapper = shallow(<MyNavbar/>);
it('Check for Navbar title', ()=> {
let TitleText = wrapper.find('h2').text();
expect(TitleText).toEqual('Recipe Maker');
});
| 21.692308 | 46 | 0.656028 |
7fee6f72a8994c5992e44279c17552cf81e07621 | 516 | js | JavaScript | src/api/authenticate.js | chris-stytch/gatsby-starter-stytch | 0f91caab3b58b642a9e880c12648c10ffc5239d4 | [
"0BSD"
] | null | null | null | src/api/authenticate.js | chris-stytch/gatsby-starter-stytch | 0f91caab3b58b642a9e880c12648c10ffc5239d4 | [
"0BSD"
] | null | null | null | src/api/authenticate.js | chris-stytch/gatsby-starter-stytch | 0f91caab3b58b642a9e880c12648c10ffc5239d4 | [
"0BSD"
] | null | null | null | export default function handler(req, res) {
const stytch = require('stytch');
const client = new stytch.Client({
project_id: process.env.STYTCH_PROJECT_ID,
secret: process.env.STYTCH_SECRET,
env: stytch.envs.test
});
var token = req.query.token;
client.magicLinks.authenticate(token, { session_dura... | 28.666667 | 73 | 0.680233 |
7feed84622ec56badb2086632edc3f755117649e | 413 | js | JavaScript | __DATASUTRA__/forms/DATASUTRA_WEB__blank_3.js | kabootit/data-sutra | a9c08515dd3a6902a1737d2b812349f19e9633d8 | [
"MIT"
] | 1 | 2017-03-08T08:08:00.000Z | 2017-03-08T08:08:00.000Z | __DATASUTRA__/forms/DATASUTRA_WEB__blank_3.js | kabootit/data-sutra | a9c08515dd3a6902a1737d2b812349f19e9633d8 | [
"MIT"
] | 4 | 2017-03-07T08:50:18.000Z | 2017-03-08T03:28:52.000Z | __DATASUTRA__/forms/DATASUTRA_WEB__blank_3.js | kabootit/data-sutra | a9c08515dd3a6902a1737d2b812349f19e9633d8 | [
"MIT"
] | null | null | null | /**
* Callback method for when form is shown.
*
* @param {Boolean} firstShow form is shown first time after load
* @param {JSEvent} event the event that triggered the action
*
* @properties={typeid:24,uuid:"095B1A4C-2266-4F38-B262-F2B1A43910FB"}
*/
function FORM_on_show(firstShow, event) {
if (firstShow) {
//... | 27.533333 | 75 | 0.731235 |
7feffb7a76d77d4a1e077df7d1b52c11a75497f0 | 815 | js | JavaScript | j2file.js | korshunov/json2text | 589408d16978620f6ad748727cef5a34384fcc6c | [
"MIT"
] | null | null | null | j2file.js | korshunov/json2text | 589408d16978620f6ad748727cef5a34384fcc6c | [
"MIT"
] | null | null | null | j2file.js | korshunov/json2text | 589408d16978620f6ad748727cef5a34384fcc6c | [
"MIT"
] | null | null | null | #! /usr/bin/env node
var process = require('process');
var f = require('find');
var fs = require('fs');
var path = require('path');
try {
if (process.argv[2]) var src = process.argv[2];
else throw 'file to convert skipped. Abort';
var ext = 'j2.'+(process.argv[3]||'template');
var dir = path.dirname(src) || '.';
... | 28.103448 | 73 | 0.647853 |
7ff2f0c17cd46f847f982c62a8311e0d8ac98c02 | 1,434 | js | JavaScript | app/scripts/permissionApp.js | lxlneo/angularTest | 022ea1b184a24efcd3560dc03e4f8200e0ae76ad | [
"MIT"
] | null | null | null | app/scripts/permissionApp.js | lxlneo/angularTest | 022ea1b184a24efcd3560dc03e4f8200e0ae76ad | [
"MIT"
] | null | null | null | app/scripts/permissionApp.js | lxlneo/angularTest | 022ea1b184a24efcd3560dc03e4f8200e0ae76ad | [
"MIT"
] | null | null | null | var app = angular.module('permissionApp', ['ngRoute']);
app.config(["$routeProvider", function ($routeProvider) {
/*配置路由*/
$routeProvider
.when("/a", {
template: "<div><h1>controllerA</h1> <a href='#/b'>gotoB</a></div>",
controller: 'controllerA',
resolve:{
... | 35.85 | 81 | 0.517434 |
7ff52275f520f7dd13decc8a83ea78638f964e56 | 630 | js | JavaScript | lib/inject/buttons/edit-buttons.js | Xyfir/Xyfir-Buttons-client | 4fd72409bb49a59a3a1c944c9374ad88e4c2f702 | [
"MIT"
] | 1 | 2018-01-10T13:34:37.000Z | 2018-01-10T13:34:37.000Z | lib/inject/buttons/edit-buttons.js | Xyfir/Buttons | 4fd72409bb49a59a3a1c944c9374ad88e4c2f702 | [
"MIT"
] | null | null | null | lib/inject/buttons/edit-buttons.js | Xyfir/Buttons | 4fd72409bb49a59a3a1c944c9374ad88e4c2f702 | [
"MIT"
] | null | null | null | /**
* Opens a new tab to where user can modify button placement, sizes, etc.
*/
export default {
id: 'edit-buttons',
urlMatch: '.*',
size: '2em',
tooltip: 'Edit buttons in preset',
position: '90%,1%',
content: '%F0%9F%96%8A%EF%B8%8F',
styles: {},
script: {
'main.js': function(Butto... | 21.724138 | 79 | 0.492063 |
7ff535bb3dda69b554e2069f86b73dd73cdc066f | 6,189 | js | JavaScript | controllers/admin.js | courseshark/courseshark | acd339eb1f498c637292f71dfe01d4c6004a9205 | [
"MIT"
] | 1 | 2015-01-11T06:19:57.000Z | 2015-01-11T06:19:57.000Z | controllers/admin.js | courseshark/courseshark | acd339eb1f498c637292f71dfe01d4c6004a9205 | [
"MIT"
] | null | null | null | controllers/admin.js | courseshark/courseshark | acd339eb1f498c637292f71dfe01d4c6004a9205 | [
"MIT"
] | null | null | null | /*
* Admin controller
*/
var EventEmitter = require("events").EventEmitter
, seatWatcher = require('../lib/seat-watcher')
exports = module.exports = function(app){
// Admin dashboard
app.get('/admin', requireAdmin, function(req, res){
User.count().exec(function(err,totalUsers){
var weekAgo = new Dat... | 33.63587 | 130 | 0.58911 |
7ff5bde5d2056ba6cee96fd05e8fc5c38f0327fd | 875 | js | JavaScript | google.user.js | Proflylab/GoogleDrive-Download-anyway | 5d3071ee27f1ff3212edd3c278b74c2da57b58e9 | [
"MIT"
] | 1 | 2020-12-01T15:53:55.000Z | 2020-12-01T15:53:55.000Z | google.user.js | Proflylab/GoogleDrive-Download-anyway | 5d3071ee27f1ff3212edd3c278b74c2da57b58e9 | [
"MIT"
] | null | null | null | google.user.js | Proflylab/GoogleDrive-Download-anyway | 5d3071ee27f1ff3212edd3c278b74c2da57b58e9 | [
"MIT"
] | 1 | 2019-03-26T01:50:25.000Z | 2019-03-26T01:50:25.000Z | // ==UserScript==
// @name GoogleDrive Download anyway
// @namespace https://konayuki.moe/
// @version 1.0.0
// @description Skip GoogleDrive can't scan this file for viruses
// @author Proflylab
// @icon https://avatars1.githubusercontent.com/u/27909158?s=460&v=4
// @match https:/... | 41.666667 | 92 | 0.632 |
7ff7a341524e9c0035602e27a864309a8f5d2164 | 392 | js | JavaScript | packages/remax-cli/src/__tests__/integration/fixtures/turbo-pages-swiper/src/pages/index.js | nekronhuang/remax | de76a9b2aaafaf1558ca6767c4e9dc5095869757 | [
"MIT"
] | 4,350 | 2019-06-27T15:33:53.000Z | 2022-03-31T15:06:45.000Z | packages/remax-cli/src/__tests__/integration/fixtures/turbo-pages-swiper/src/pages/index.js | nekronhuang/remax | de76a9b2aaafaf1558ca6767c4e9dc5095869757 | [
"MIT"
] | 1,783 | 2019-06-27T12:31:03.000Z | 2022-03-30T06:18:28.000Z | packages/remax-cli/src/__tests__/integration/fixtures/turbo-pages-swiper/src/pages/index.js | nekronhuang/remax | de76a9b2aaafaf1558ca6767c4e9dc5095869757 | [
"MIT"
] | 430 | 2019-07-01T03:43:09.000Z | 2022-03-29T00:41:51.000Z | import * as React from 'react';
import { View, Swiper, SwiperItem } from 'remax';
export default props => {
const pictures = ['https://example.com/1.jpg', 'https://example.com/2.jpg'];
return (
<View>
<Swiper>
{pictures.map(pic => (
<SwiperItem key={pic}>
<View>{pic}</View>
... | 21.777778 | 78 | 0.517857 |
7ff945204428846b324ed9df8137f5d9b5ae4fd3 | 1,731 | js | JavaScript | dist-amd/amchart/Funnel.js | yangxulexis/pivot | 21275c37a2b0c8a60bb6ce5f7275d7d2323ff7e9 | [
"Apache-2.0"
] | null | null | null | dist-amd/amchart/Funnel.js | yangxulexis/pivot | 21275c37a2b0c8a60bb6ce5f7275d7d2323ff7e9 | [
"Apache-2.0"
] | null | null | null | dist-amd/amchart/Funnel.js | yangxulexis/pivot | 21275c37a2b0c8a60bb6ce5f7275d7d2323ff7e9 | [
"Apache-2.0"
] | 3 | 2016-10-23T09:13:49.000Z | 2018-10-31T16:56:47.000Z |
(function(root, factory) {
if (typeof define === "function" && define.amd) {
define(["d3", "./CommonFunnel", "../api/I2DChart"], factory);
} else {
root.amchart_Funnel = factory(root.d3, root.amchart_CommonFunnel, root.api_I2DChart);
}
}(this, function(d3, CommonFunnel, I2DChart) {
func... | 36.0625 | 137 | 0.650491 |
7ff9a18df94b7c4347627858a6c9102a3fab617c | 820 | js | JavaScript | server/data/audit.js | tinymoth/licences | dc7b16eb4532951896434b99992816ad05bfad54 | [
"MIT"
] | null | null | null | server/data/audit.js | tinymoth/licences | dc7b16eb4532951896434b99992816ad05bfad54 | [
"MIT"
] | null | null | null | server/data/audit.js | tinymoth/licences | dc7b16eb4532951896434b99992816ad05bfad54 | [
"MIT"
] | null | null | null | const logger = require('../../log');
const db = require('./dataAccess/db');
const keys = [
'LOGIN',
'LICENCE_RECORD_STARTED',
'UPDATE_SECTION',
'SEND',
'CREATE_PDF'
];
exports.record = function record(key, user, data) {
if (!keys.includes(key)) {
throw new Error(`Unknown audit key: ${... | 22.162162 | 81 | 0.543902 |
7ffa1c6f4d7ec1c3e5113e575940d4b5606f4475 | 750 | js | JavaScript | routes/game_detail.js | V41SH/GameKart | 39349c12e9d6ee77cece56460a678816b6d60851 | [
"MIT"
] | null | null | null | routes/game_detail.js | V41SH/GameKart | 39349c12e9d6ee77cece56460a678816b6d60851 | [
"MIT"
] | null | null | null | routes/game_detail.js | V41SH/GameKart | 39349c12e9d6ee77cece56460a678816b6d60851 | [
"MIT"
] | null | null | null | const express = require('express');
const router= express.Router();
const carousel = require("../public/js/game_carousel")
const gameModel = require("../models/games")
const reviewModel = require("../models/reviews")
router.route('/')
.get(async(req,res)=>{
var gameID = req.query.id
try{
var game = aw... | 31.25 | 138 | 0.672 |
7ffaa6572439c03cbeb288048c2d0714df1bd2d5 | 2,447 | js | JavaScript | src/modules/vehiclestaff/models/model.js | yothinn/tvds-service | 80df4b1f455de1de920f11e9ee172993b540a89f | [
"MIT"
] | null | null | null | src/modules/vehiclestaff/models/model.js | yothinn/tvds-service | 80df4b1f455de1de920f11e9ee172993b540a89f | [
"MIT"
] | 1 | 2021-04-16T16:45:44.000Z | 2021-04-16T16:45:44.000Z | src/modules/vehiclestaff/models/model.js | yothinn/tvds-service | 80df4b1f455de1de920f11e9ee172993b540a89f | [
"MIT"
] | 2 | 2020-09-04T13:56:02.000Z | 2020-11-23T10:14:11.000Z | "use strict";
// use model
var mongoose = require("mongoose");
var Schema = mongoose.Schema;
var VehiclestaffSchema = new Schema({
title: {
type: String,
},
firstName: {
type: String,
},
lastName: {
type: String,
},
displayName: {
type: String,
unique: true,
},
driverId: {
typ... | 20.057377 | 93 | 0.57172 |
7ffbe9d0c3912777e45d4f0fcdb3d0dce6fa1cd0 | 702 | js | JavaScript | x-editable-defaults.jquery.min.js | WisdomSky/jquery-x-editable-defaults | 5e6ac6865d0497d3e036c5dd2da49e9c14174a84 | [
"MIT"
] | null | null | null | x-editable-defaults.jquery.min.js | WisdomSky/jquery-x-editable-defaults | 5e6ac6865d0497d3e036c5dd2da49e9c14174a84 | [
"MIT"
] | null | null | null | x-editable-defaults.jquery.min.js | WisdomSky/jquery-x-editable-defaults | 5e6ac6865d0497d3e036c5dd2da49e9c14174a84 | [
"MIT"
] | null | null | null | /**
* X-editable-defaults
* by: WisdomSky
* https://github.com/WisdomSky/jquery-x-editable-defaults/
* The MIT License (MIT)
*
**/
!function(e){for(var t=e.fn.editableutils.createInput,a=["text","textarea","select","date","datetime","dateui","combodate","html5types","checklist","wysihtml5","typeahead","typ... | 70.2 | 557 | 0.68661 |
7ffc672dfaca1455aa6804faeb9b78400fad3360 | 3,811 | js | JavaScript | routes/profile.js | vatz88/VzBlog | 567f015be2a051feac1d31534975ce5706e9dcaa | [
"MIT"
] | 1 | 2017-02-05T17:37:51.000Z | 2017-02-05T17:37:51.000Z | routes/profile.js | VaTz88/VzBlog | 567f015be2a051feac1d31534975ce5706e9dcaa | [
"MIT"
] | 1 | 2017-12-31T17:39:08.000Z | 2017-12-31T17:57:43.000Z | routes/profile.js | VaTz88/VzBlog | 567f015be2a051feac1d31534975ce5706e9dcaa | [
"MIT"
] | null | null | null | var express = require('express');
var router = express.Router();
var pool = app.get('pool');
var bodyParser = require('body-parser');
var xssFilters = require('xss-filters');
var regexEmail = require('regex-email');
router.use(bodyParser.json());
router.use(bodyParser.urlencoded({
extended: false
}));
... | 45.915663 | 330 | 0.469693 |
7ffd21970ad185a6209dbfea40b600be4eb461e5 | 1,850 | js | JavaScript | resolvers/queries.js | sntwandy/API-Testing | a1a67229b47e65e67555c845227cf63dfe02c1bb | [
"MIT"
] | null | null | null | resolvers/queries.js | sntwandy/API-Testing | a1a67229b47e65e67555c845227cf63dfe02c1bb | [
"MIT"
] | null | null | null | resolvers/queries.js | sntwandy/API-Testing | a1a67229b47e65e67555c845227cf63dfe02c1bb | [
"MIT"
] | null | null | null | 'use strict';
const dbConnection = require('../db');
const { ObjectId } = require('mongodb');
module.exports = {
getCourses: () => {
return courses;
},
getCourse: (root, args) => {
// args, here the arguments are comming!!!
const course = courses.find((course) => course._id === args.id);
return ... | 21.764706 | 71 | 0.519459 |
7fff17dba36c0efa876bd06eb2fd71637b283984 | 31,426 | js | JavaScript | js/plugins/BrugisInfo/GFI_Configuration/gfic_fr.js | Brugis-SPRB/brugisv2 | 83aab0c0e168ac3f3b72cc5c89939fff384eddf9 | [
"BSD-2-Clause-FreeBSD"
] | 1 | 2021-04-12T14:04:46.000Z | 2021-04-12T14:04:46.000Z | js/plugins/BrugisInfo/GFI_Configuration/gfic_fr.js | Brugis-SPRB/brugisv2 | 83aab0c0e168ac3f3b72cc5c89939fff384eddf9 | [
"BSD-2-Clause-FreeBSD"
] | 3 | 2020-07-16T03:41:38.000Z | 2021-05-07T01:42:34.000Z | js/plugins/BrugisInfo/GFI_Configuration/gfic_fr.js | Brugis-SPRB/brugisv2 | 83aab0c0e168ac3f3b72cc5c89939fff384eddf9 | [
"BSD-2-Clause-FreeBSD"
] | null | null | null |
const gfiFr = {
"BDU:Affectations": {
"actiontype": "GRID",
"title": "Affectation: [%NAME_FR%]",
"attributes": [{
"name": "Affectation",
"label": "[%NAME_FR%]",
"type": "string"
},
{
"name": "Lien",
"label": "[%URL_P_FR%]",
"type": "link"
}
]
},
"BDU:Espaces_structurants": {... | 19.604492 | 133 | 0.474098 |
3d010071a7e3439ecfd5253e021fc1d19a7ce53e | 1,472 | js | JavaScript | routes/api/weather.js | suganyasomu/WeekendGetAway | bd3a3170b7cc715a60f4305df999b42e785efa5a | [
"MIT"
] | null | null | null | routes/api/weather.js | suganyasomu/WeekendGetAway | bd3a3170b7cc715a60f4305df999b42e785efa5a | [
"MIT"
] | 26 | 2020-12-05T18:10:59.000Z | 2021-01-06T05:08:19.000Z | routes/api/weather.js | suganyasomu/WeekendGetAway | bd3a3170b7cc715a60f4305df999b42e785efa5a | [
"MIT"
] | 2 | 2021-01-08T20:41:54.000Z | 2021-01-09T22:33:01.000Z | const router = require("express").Router();
const axios = require("axios");
const authKey = "5d1c7596956991e51b3545595059228a";
const mapKey = "hVo9dYzXvu21iSyKZbnJiYJOdbtvRCDN";
let displayDate;
function unixTime(dt) {
let date = new Date(dt * 1000);
let month = date.getMonth() + 1;
let day = date.getDate();
... | 27.259259 | 147 | 0.608016 |
3d0248aa56f3435d8813203303af0e5583bdcb43 | 2,067 | js | JavaScript | src/pages/Entry.js | VSai2314108/MilkBankClient | 9782263bb41ff5a51ab9c426b5e5256484ce9448 | [
"MIT"
] | 1 | 2022-02-01T03:39:00.000Z | 2022-02-01T03:39:00.000Z | src/pages/Entry.js | VSai2314108/MilkBankClient | 9782263bb41ff5a51ab9c426b5e5256484ce9448 | [
"MIT"
] | null | null | null | src/pages/Entry.js | VSai2314108/MilkBankClient | 9782263bb41ff5a51ab9c426b5e5256484ce9448 | [
"MIT"
] | 1 | 2022-02-03T17:46:15.000Z | 2022-02-03T17:46:15.000Z | import NewForm from "../components/form/NewForm";
import {useState} from 'react';
import './Entry.css';
import {useNavigate} from 'react-router-dom';
import Hyperform from "../components/Hyperform/Hyperform.js"
import Results from "../components/results/Results.js"
import Result from "../pages/Result.js"
import { Link... | 24.317647 | 115 | 0.496372 |
3d037b8fdef286df3c1996b4452fc63a54dff3f0 | 7,345 | js | JavaScript | app.js | Alucia/todo-list | d8e117b8fdf1ca7699d6086443d730578e16f3da | [
"MIT"
] | null | null | null | app.js | Alucia/todo-list | d8e117b8fdf1ca7699d6086443d730578e16f3da | [
"MIT"
] | null | null | null | app.js | Alucia/todo-list | d8e117b8fdf1ca7699d6086443d730578e16f3da | [
"MIT"
] | null | null | null | (function () {
var optionAdd = 1;
var optionEdit = 2;
var optionDelete = 3;
var optionUpdateStatus = 4;
var optionPrintList = 5;
var Todo = /** @class */ (function () {
function Todo(title, description, status) {
if (status === void 0) { status = false; }
this.tit... | 35.3125 | 208 | 0.488496 |
3d03e59b76cd13223dabaa76be6ccf60853b6f39 | 1,246 | js | JavaScript | src/store/jobs/jobs.mutations.js | fuleinist/VUE-TC | a347272f745972d81980baf318bd33d1704a023b | [
"MIT"
] | null | null | null | src/store/jobs/jobs.mutations.js | fuleinist/VUE-TC | a347272f745972d81980baf318bd33d1704a023b | [
"MIT"
] | null | null | null | src/store/jobs/jobs.mutations.js | fuleinist/VUE-TC | a347272f745972d81980baf318bd33d1704a023b | [
"MIT"
] | null | null | null | export default {
/* Job input name */
// setJobNameToCreate: (state, jobNameToCreate) =>
// (state.jobToCreate.name = jobNameToCreate),
// /* Job input category */
// setJobCategoryToCreate: (state, jobCategoryToCreate) =>
// (state.jobToCreate = jobCategoryToCreate),
// /* Job input category */
//... | 33.675676 | 80 | 0.651685 |
3d04171bf17cfa496f146902aced69e0b5c52660 | 884 | js | JavaScript | demo/index.js | ewnd9/media-center | 477313a715695a1eb8dae201aebcc5fe34073cb3 | [
"CC-BY-3.0",
"MIT"
] | 18 | 2016-03-20T10:57:38.000Z | 2021-07-29T00:55:44.000Z | demo/index.js | ewnd9/media-center | 477313a715695a1eb8dae201aebcc5fe34073cb3 | [
"CC-BY-3.0",
"MIT"
] | 5 | 2015-10-04T10:40:47.000Z | 2016-10-31T15:11:23.000Z | demo/index.js | ewnd9/media-center | 477313a715695a1eb8dae201aebcc5fe34073cb3 | [
"CC-BY-3.0",
"MIT"
] | 2 | 2018-12-28T03:54:45.000Z | 2021-11-28T11:18:29.000Z | 'use strict';
import AppInjector from 'inject!../frontend/app';
import * as RouterMock from 'react-router';
import * as api from '../frontend/api';
const SocketMock = function(url) {
return {
on: () => {}
}
};
const ApiMock = Object.keys(api).reduce((total, fnName) => {
total[fnName] = () => Promise.reject... | 28.516129 | 97 | 0.656109 |
3d042075281192fd701225ad588320ad6d53e9eb | 16,732 | js | JavaScript | client/src/components/usermenu.js | whoanuragverma/ratemyprof | bca2a96184a15931fca108d94272d89861bad76a | [
"MIT"
] | 4 | 2020-06-11T09:39:32.000Z | 2022-03-02T23:40:23.000Z | client/src/components/usermenu.js | whoanuragverma/ratemyprof | bca2a96184a15931fca108d94272d89861bad76a | [
"MIT"
] | 4 | 2022-01-22T12:36:32.000Z | 2022-02-27T17:16:19.000Z | client/src/components/usermenu.js | whoanuragverma/ratemyprof | bca2a96184a15931fca108d94272d89861bad76a | [
"MIT"
] | 1 | 2022-01-07T07:33:23.000Z | 2022-01-07T07:33:23.000Z | import React, { useState } from "react";
import SearchBarHome from "./searchbarhome";
import { Modal, Typography, Tabs, Form, Input, Button, Space } from "antd";
import {
UserOutlined,
LockOutlined,
SmileOutlined,
LockFilled,
LogoutOutlined,
} from "@ant-design/icons";
const { Title, Text } = Typog... | 41.51861 | 80 | 0.323333 |
3d05b86a8935acb6eddfda6cba0b58a626bc7636 | 1,281 | js | JavaScript | dist/src/commands/orders.js | 117/alpaca-terminal | d3d5b6e90cdf85e09da355d3c4817bd7b8fe671d | [
"0BSD"
] | 9 | 2020-12-13T06:44:24.000Z | 2022-01-14T17:15:26.000Z | dist/src/commands/orders.js | 117/alpaca-terminal | d3d5b6e90cdf85e09da355d3c4817bd7b8fe671d | [
"0BSD"
] | 2 | 2020-12-18T15:46:25.000Z | 2021-02-06T17:46:29.000Z | dist/src/commands/orders.js | 117/alpaca-terminal | d3d5b6e90cdf85e09da355d3c4817bd7b8fe671d | [
"0BSD"
] | null | null | null | "use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const lodash_1 = __importDefault(require("lodash"));
const pretty_table_js_1 = __importDefault(require("... | 34.621622 | 102 | 0.56128 |
3d06287db623b7a9cc9ce7d8c20edce4ce225661 | 526 | js | JavaScript | packages/slimkit-plus-news/public/v1/component/edit.md/locale/zh.js | goleden/thinksns-plus | dab08915534353856d2cc4744c9b1c9ab41ed80e | [
"Apache-2.0"
] | 1,466 | 2017-06-30T02:52:22.000Z | 2018-07-03T15:58:09.000Z | packages/slimkit-plus-news/public/v1/component/edit.md/locale/zh.js | goleden/thinksns-plus | dab08915534353856d2cc4744c9b1c9ab41ed80e | [
"Apache-2.0"
] | 245 | 2017-06-30T01:55:20.000Z | 2018-07-03T13:42:16.000Z | packages/slimkit-plus-news/public/v1/component/edit.md/locale/zh.js | goleden/thinksns-plus | dab08915534353856d2cc4744c9b1c9ab41ed80e | [
"Apache-2.0"
] | 284 | 2017-06-30T02:53:33.000Z | 2018-06-26T09:58:41.000Z | export default {
"zh": {
"tabText": " ",
"strongText": "加粗文本",
"italicText": "强调文本",
"strikethroughText": "删除线",
"headingText": "在这里输入标题",
"lineText": "----",
"quoteText": "在这引用",
"codeText": "在这里输入代码",
"linkText": "链接描述",
"linkTip": "输入链接地址",
"imageText": "图片描述",
"i... | 25.047619 | 104 | 0.522814 |
3d069632a098ef495ce5d9d2b71e3136200a5986 | 6,167 | js | JavaScript | controllers/organizations.controller.js | dmytrovelychko/node-api | dabe53e1584dca37e7345df26e090f77052ad368 | [
"MIT"
] | null | null | null | controllers/organizations.controller.js | dmytrovelychko/node-api | dabe53e1584dca37e7345df26e090f77052ad368 | [
"MIT"
] | null | null | null | controllers/organizations.controller.js | dmytrovelychko/node-api | dabe53e1584dca37e7345df26e090f77052ad368 | [
"MIT"
] | null | null | null | /**
* Provides classes and methods that process requests for /api/organizations
* @module organizations.controller
*/
const _ = require('lodash');
const httpStatus = require('http-status');
const models = require('../models/models');
const er = require('../helpers/errors');
/**
* Allows to parse input JSON data ... | 31.304569 | 80 | 0.595427 |
3d06e0716957bc9f02d2d29596c3216dd0a45c69 | 334 | js | JavaScript | lib/locals/factory.js | ozipi/data-point | ba002b4e591d827cb1279edeedb91314d01faad6 | [
"Apache-2.0"
] | null | null | null | lib/locals/factory.js | ozipi/data-point | ba002b4e591d827cb1279edeedb91314d01faad6 | [
"Apache-2.0"
] | null | null | null | lib/locals/factory.js | ozipi/data-point | ba002b4e591d827cb1279edeedb91314d01faad6 | [
"Apache-2.0"
] | null | null | null | 'use strict'
const _ = require('lodash')
function Locals () {}
module.exports.Locals = Locals
/**
* parses a raw transform
* @param {string} transformRaw raw value path to be parsed
* @return {Locals}
*/
function create (spec) {
const locals = new Locals()
return _.assign(locals, spec)
}
module.exports.cr... | 16.7 | 60 | 0.685629 |
3d0707ddc5da450c71e5fcde606d6999086a6a2b | 7,962 | js | JavaScript | etcwallet/src/entry/inpage.js | HebePlatform/etcwallet-extension | f9ada7c82eb93f6a117304cc3dfcdcf69b9549cf | [
"Apache-2.0"
] | null | null | null | etcwallet/src/entry/inpage.js | HebePlatform/etcwallet-extension | f9ada7c82eb93f6a117304cc3dfcdcf69b9549cf | [
"Apache-2.0"
] | null | null | null | etcwallet/src/entry/inpage.js | HebePlatform/etcwallet-extension | f9ada7c82eb93f6a117304cc3dfcdcf69b9549cf | [
"Apache-2.0"
] | null | null | null | console.log('other script333');
window.ethereum = {
selectedAddress: '',
chainId: '0x3d',
isMetaMask: true,
isHebe: true,
networkVersion: '1',
api: '',
listfn: [],
postMessage: function(ttt) {
window.postMessage({ 'test': ttt }, '*');
},
request: function(args, callbak) {
console.log(args, a... | 34.768559 | 108 | 0.558026 |
3d07c6fe83e3992cc7f9efc2d43fc6f1f5360350 | 746 | js | JavaScript | 45.jwt/front/src/components/Login.js | sillyhong/whongjiagou-learn | c4f879db7d213a0cf843e13e806e5488ca3abe1f | [
"Apache-2.0"
] | 5 | 2020-06-15T03:26:25.000Z | 2021-12-28T07:40:54.000Z | 45.jwt/front/src/components/Login.js | codertony/zf-code-test | 3ca3b3bcb9f5fc1e928e869d0dfc760a329ff4c3 | [
"Apache-2.0"
] | 63 | 2020-07-21T12:40:19.000Z | 2022-03-08T23:21:22.000Z | 45.jwt/front/src/components/Login.js | codertony/zf-code-test | 3ca3b3bcb9f5fc1e928e869d0dfc760a329ff4c3 | [
"Apache-2.0"
] | 1 | 2021-11-28T10:13:24.000Z | 2021-11-28T10:13:24.000Z | import React, { Component } from 'react';
import { signin } from '../api';
export default class Login extends Component {
handleSubmit = (event) => {
event.preventDefault();// /signin
let username = this.username.value;
let password = this.password.value;
signin({ username, password ... | 32.434783 | 62 | 0.50134 |
3d07ec378fbe2e2614318b567f43f3ad26e85d2e | 1,440 | js | JavaScript | tests/models/helpers.test.js | mrdrewgurley/cellular-automata | 686cd5912615e0b7b9680df243f2678011cebb97 | [
"MIT"
] | 1 | 2018-06-20T17:47:25.000Z | 2018-06-20T17:47:25.000Z | tests/models/helpers.test.js | mrdrewgurley/cellular-automata | 686cd5912615e0b7b9680df243f2678011cebb97 | [
"MIT"
] | null | null | null | tests/models/helpers.test.js | mrdrewgurley/cellular-automata | 686cd5912615e0b7b9680df243f2678011cebb97 | [
"MIT"
] | null | null | null | import * as helpers from '../../app/js/libs/helpers'
describe('helpers.getPlots', () => {
let expected = [ [ 5, 5 ], [ 5, 6 ], [ 5, 7 ], [ 6, 5 ], [ 6, 7 ], [ 7, 5 ], [ 7, 6 ], [ 7, 7 ] ]
it('should return a list of neigboring plots', () => {
expect(helpers.getPlots({ x: 6, y: 6 })).toEqual(expected)
})
})
... | 32 | 99 | 0.559722 |
3d08080cd102d63f225fcac371a0517c5f2b3525 | 2,452 | js | JavaScript | api/user/change_password.js | AlexVCS/user-account-system | d3582004e429f64c741e4d445482b91f3bb8bcea | [
"MIT"
] | null | null | null | api/user/change_password.js | AlexVCS/user-account-system | d3582004e429f64c741e4d445482b91f3bb8bcea | [
"MIT"
] | null | null | null | api/user/change_password.js | AlexVCS/user-account-system | d3582004e429f64c741e4d445482b91f3bb8bcea | [
"MIT"
] | null | null | null | const router = require("express").Router();
const db = require("../../db/db.js");
const passport = require("passport");
const config = require("../../config.js");
const bcrypt = require("bcrypt");
const send_password_change_confirmation_email =
require("../../email/templates/password_reset_confirmation.js").send_pas... | 32.263158 | 106 | 0.484502 |
3d082512911ac14cc322168bcd9a53f59899d875 | 18,821 | js | JavaScript | public/lib/next/module-topology/model/CollapsibleGraph.js | CiscoDevNet/Glance | 4a3e504670cd5e4cb6a5f14a7476bcd0ed9fe524 | [
"Apache-2.0"
] | 2 | 2019-07-15T21:55:21.000Z | 2019-08-23T17:41:39.000Z | public/lib/next/module-topology/model/CollapsibleGraph.js | CiscoDevNet/Glance | 4a3e504670cd5e4cb6a5f14a7476bcd0ed9fe524 | [
"Apache-2.0"
] | 1 | 2021-06-18T02:33:06.000Z | 2021-06-21T02:45:21.000Z | public/lib/next/module-topology/model/CollapsibleGraph.js | CiscoDevNet/Glance | 4a3e504670cd5e4cb6a5f14a7476bcd0ed9fe524 | [
"Apache-2.0"
] | 2 | 2021-08-20T10:41:27.000Z | 2022-01-11T22:27:59.000Z | /// require util
/// require bean
/// require Graph
(function (nx, global) {
var Util = nx.path(nx.global, "nx.topology.common.Util");
/**
* A graph which supporting collapse/expand by Union.
*
* @class CollapsibleGraph
* @extends nx.topology.model.Graph
* @namespace nx.topology.mode... | 44.077283 | 160 | 0.356145 |
0c65cbc14dca4cd4cda7b3284d64309e44d10078 | 872 | js | JavaScript | src/components/pages/AboutMe.js | dimitermusic/react-portfolio | 7a3992c7184c14e53c680741bcc9232c0631fa96 | [
"MIT"
] | null | null | null | src/components/pages/AboutMe.js | dimitermusic/react-portfolio | 7a3992c7184c14e53c680741bcc9232c0631fa96 | [
"MIT"
] | 6 | 2021-11-20T17:32:49.000Z | 2022-02-28T20:54:36.000Z | src/components/pages/AboutMe.js | dimitermusic/react-portfolio | 7a3992c7184c14e53c680741bcc9232c0631fa96 | [
"MIT"
] | null | null | null | import React from 'react';
import '../../styles/AboutMe.css'
import dimiterProfile from '../../images/dimiter-profile-2.webp'
export default function AboutMe() {
return (
<div className="about-me">
<h1>
About Me
</h1>
<img src={dimiterProfile} alt="dimiter yordanov" />
<p>
... | 48.444444 | 529 | 0.724771 |
0c6617fc7c342ff408e575f119541738c2590d76 | 441 | js | JavaScript | lib/params/config.js | mysticmetal/wordpress-hybrid-client | 13e08f2ea4a63f8b9404bf72ebb345278bd0d3b2 | [
"MIT"
] | 2 | 2017-11-10T16:07:10.000Z | 2018-02-24T10:41:02.000Z | lib/params/config.js | mysticmetal/wordpress-hybrid-client | 13e08f2ea4a63f8b9404bf72ebb345278bd0d3b2 | [
"MIT"
] | 2 | 2021-05-11T23:56:55.000Z | 2022-02-11T00:08:54.000Z | lib/params/config.js | mysticmetal/wordpress-hybrid-client | 13e08f2ea4a63f8b9404bf72ebb345278bd0d3b2 | [
"MIT"
] | 1 | 2018-02-27T10:41:39.000Z | 2018-02-27T10:41:39.000Z | export default function($stateProvider) {
'ngInject';
$stateProvider
.state('public.params', {
url: "/params",
class: 'module-params',
views: {
'content': {
templateProvider: ($templateCache) => $templateCache.get('module/params.ht... | 27.5625 | 99 | 0.482993 |
0c662d808cfdb87eeb879b2dbe567638f860f837 | 1,646 | js | JavaScript | back/controllers/Profile.js | UIC-CS484/assignment-2---final-project-repository-team-2 | 0731b548bf15e0327788a08db151cc0501832d89 | [
"MIT"
] | null | null | null | back/controllers/Profile.js | UIC-CS484/assignment-2---final-project-repository-team-2 | 0731b548bf15e0327788a08db151cc0501832d89 | [
"MIT"
] | null | null | null | back/controllers/Profile.js | UIC-CS484/assignment-2---final-project-repository-team-2 | 0731b548bf15e0327788a08db151cc0501832d89 | [
"MIT"
] | null | null | null | const { _jsonError } = require("../misc");
const { removeSession, getSessionUsername, createSession } = require("../models/Sessions");
const { removeUser, getUser, updateUsername } = require("../models/Users");
const Profile = {
delete_,
getData,
update
}
async function delete_(req, res) {
await remo... | 29.927273 | 91 | 0.632442 |
0c664212c3de8a974b2c414cef050523d933b39c | 138 | js | JavaScript | src/public/javascripts/jquery-script.js | TRex22/BorrowMyBooks | 54c2111fa05eb74f9a944720a04ac4cd758d6c28 | [
"MIT"
] | 2 | 2016-08-20T11:11:54.000Z | 2022-01-24T09:08:59.000Z | src/public/javascripts/jquery-script.js | TRex22/BorrowMyBooks | 54c2111fa05eb74f9a944720a04ac4cd758d6c28 | [
"MIT"
] | 125 | 2016-08-20T11:05:37.000Z | 2019-11-02T14:58:45.000Z | src/public/javascripts/jquery-script.js | TRex22/BorrowMyBooks | 54c2111fa05eb74f9a944720a04ac4cd758d6c28 | [
"MIT"
] | 1 | 2016-11-13T05:38:12.000Z | 2016-11-13T05:38:12.000Z | $(document).ready(function() {
$('.selectpicker').selectpicker();
});
$(window).on('beforeunload', function(){
socket.close();
}); | 19.714286 | 40 | 0.608696 |
0c6712f7fc22d5b6554f4590786a00fa3ab9025b | 1,834 | js | JavaScript | jstests/replsets/tenant_migration_shard_merge_recipient_fetches_retryable_writes.js | benety/mongo | 203430ac9559f82ca01e3cbb3b0e09149fec0835 | [
"Apache-2.0"
] | null | null | null | jstests/replsets/tenant_migration_shard_merge_recipient_fetches_retryable_writes.js | benety/mongo | 203430ac9559f82ca01e3cbb3b0e09149fec0835 | [
"Apache-2.0"
] | null | null | null | jstests/replsets/tenant_migration_shard_merge_recipient_fetches_retryable_writes.js | benety/mongo | 203430ac9559f82ca01e3cbb3b0e09149fec0835 | [
"Apache-2.0"
] | null | null | null | /**
* Tests that the shard merge recipient correctly fetches retryable writes.
*
* @tags: [
* incompatible_with_macos,
* incompatible_with_windows_tls,
* featureFlagShardMerge,
* requires_majority_read_concern,
* requires_persistence,
* serverless,
* ]
*/
(function() {
"use strict";
load("jstest... | 27.787879 | 87 | 0.740458 |
0c677795006a2e2f2dc138abf7566b7670ba6fee | 11,424 | js | JavaScript | _site/git/gitweb/static/js/adjust-timezone.js | dean-s-oliver/4DSEIS | 98ab3b2fe25c685304924f8559c2f9ada638de9f | [
"MIT"
] | 7 | 2018-01-18T06:13:21.000Z | 2020-07-09T03:46:16.000Z | _site/git/gitweb/static/js/adjust-timezone.js | dean-s-oliver/4DSEIS | 98ab3b2fe25c685304924f8559c2f9ada638de9f | [
"MIT"
] | 3 | 2020-02-26T00:45:02.000Z | 2020-03-04T17:03:58.000Z | source/git-1.7.6.4/gitweb/static/js/adjust-timezone.js | racker/omnibus | 7f619cee98d551acaef3aed28c85f1c150d0ed8a | [
"Apache-2.0"
] | 2 | 2017-03-14T17:42:09.000Z | 2021-04-07T11:31:25.000Z | // Copyright (C) 2011, John 'Warthog9' Hawley <warthog9@eaglescrag.net>
// 2011, Jakub Narebski <jnareb@gmail.com>
/**
* @fileOverview Manipulate dates in gitweb output, adjusting timezone
* @license GPLv2 or later
*/
/**
* Get common timezone, add UI for changing timezones, and adjust
* dates to u... | 34.513595 | 88 | 0.697829 |
0c67d64b5e52bb8b851a4246f76327503ca41d88 | 265 | js | JavaScript | public/assets/index.ad7a6ac7.js | Thach23/Project_Petpro | 978701f42bcc98277f0b4ff2fe1197b98fa2dc03 | [
"MIT"
] | null | null | null | public/assets/index.ad7a6ac7.js | Thach23/Project_Petpro | 978701f42bcc98277f0b4ff2fe1197b98fa2dc03 | [
"MIT"
] | null | null | null | public/assets/index.ad7a6ac7.js | Thach23/Project_Petpro | 978701f42bcc98277f0b4ff2fe1197b98fa2dc03 | [
"MIT"
] | null | null | null | import"./modulepreload-polyfill.b7f2da20.js";/* empty css */import"./hover.38850bf6.js";import"./number-counter.7b8a0687.js";import"./vendor.c7c98add.js";(function(){return new Swiper("#kvCarousel",{loop:!0,pagination:{el:".swiper-pagination"}})})();
| 132.5 | 264 | 0.690566 |
0c6862ff6caa66e42c8bf4785081b4499fd0f8ba | 1,410 | js | JavaScript | src/containers/Faq/Faq.js | GolosChain/golos.io | d7e1f766f6a25ba9808dd9039ae742ebcc677f06 | [
"MIT"
] | 5 | 2016-09-12T22:48:49.000Z | 2019-06-01T14:29:51.000Z | src/containers/Faq/Faq.js | GolosChain/golos.io | d7e1f766f6a25ba9808dd9039ae742ebcc677f06 | [
"MIT"
] | 363 | 2016-09-15T14:23:06.000Z | 2021-12-09T01:09:15.000Z | src/containers/Faq/Faq.js | GolosChain/golos.io | d7e1f766f6a25ba9808dd9039ae742ebcc677f06 | [
"MIT"
] | 7 | 2016-09-26T18:27:43.000Z | 2020-10-29T19:14:01.000Z | import React, { Component } from 'react';
import styled from 'styled-components';
import tt from 'counterpart';
import Header from '../../components/faq/Header';
import QuestionsList from '../../components/faq/QuestionsList';
import Channels from '../../components/faq/Channels';
import Footer from '../../components/fa... | 24.310345 | 63 | 0.576596 |
0c686d1c37c72b265d8071926804539aa1423bfc | 1,150 | js | JavaScript | src/addEslintDisableLine.js | jedwards1211/codemods | 9573cb8cf472b1b719941d2addb752a430b77acc | [
"MIT"
] | 1 | 2022-02-03T19:28:43.000Z | 2022-02-03T19:28:43.000Z | src/addEslintDisableLine.js | jedwards1211/codemods | 9573cb8cf472b1b719941d2addb752a430b77acc | [
"MIT"
] | 6 | 2020-07-07T20:37:31.000Z | 2022-01-22T04:01:41.000Z | src/addEslintDisableLine.js | jedwards1211/codemods | 9573cb8cf472b1b719941d2addb752a430b77acc | [
"MIT"
] | null | null | null | const fs = require('fs-extra')
const { EOL } = require('os')
module.exports = function addEslintDisableLine({
eslintJsonOutput,
ruleIds,
dryRun,
}) {
if (typeof ruleIds === 'string') ruleIds = new Set([ruleIds])
else if (Array.isArray(ruleIds)) ruleIds = new Set(ruleIds)
for (let { filePath, messages } of ... | 31.081081 | 71 | 0.621739 |
0c68b8cc48f5f5abfe21f6bd4a7ca577e1c75fda | 157 | js | JavaScript | index6.js | AxlidnovJ/JavaS | fcf05e9e3d4fa01b1c79e93f37a28028e219b092 | [
"MIT"
] | 2 | 2021-12-08T10:21:23.000Z | 2021-12-18T05:33:02.000Z | index6.js | AxlidnovJ/JavaS | fcf05e9e3d4fa01b1c79e93f37a28028e219b092 | [
"MIT"
] | null | null | null | index6.js | AxlidnovJ/JavaS | fcf05e9e3d4fa01b1c79e93f37a28028e219b092 | [
"MIT"
] | null | null | null | function change() {
var text = document.getSelection("p");
text.style.setProperty('color', 'lime');
text.style.setProperty('font-siz', "25px");
} | 31.4 | 47 | 0.649682 |
0c68ef7e2aef2b7c3db9552795ecdf8b4b2f3e83 | 873 | js | JavaScript | ecosystem.config.js | ToolsZhang/zqs-base | 95c7c1695f4befd796e5992fb018a2024232399f | [
"MIT"
] | 2 | 2020-07-01T11:29:51.000Z | 2021-01-14T09:04:57.000Z | ecosystem.config.js | ToolsZhang/zqs-base | 95c7c1695f4befd796e5992fb018a2024232399f | [
"MIT"
] | 2 | 2020-12-24T02:31:18.000Z | 2021-03-24T08:32:35.000Z | ecosystem.config.js | ToolsZhang/zqs-base | 95c7c1695f4befd796e5992fb018a2024232399f | [
"MIT"
] | null | null | null | module.exports = {
/**
* Application configuration section
* http://pm2.keymetrics.io/docs/usage/application-declaration/
*/
apps: [
// First application
{
name: 'my-zqs-project',
script: './build',
instances: 'max',
exec_mode: "cluster",
env: {
COMMON_VARIABL... | 21.292683 | 126 | 0.533792 |
0c6980afbed96c6037936a83094615281ce9ec5b | 338 | js | JavaScript | src/components/linkSlide.js | itsmeow/betteranimalsplus.com | 6f92ad3da634110fdd8fcb7300c6ecdab17a5344 | [
"MIT"
] | null | null | null | src/components/linkSlide.js | itsmeow/betteranimalsplus.com | 6f92ad3da634110fdd8fcb7300c6ecdab17a5344 | [
"MIT"
] | 1 | 2021-05-27T23:16:14.000Z | 2021-05-27T23:16:14.000Z | src/components/linkSlide.js | itsmeow/betteranimalsplus.com | 6f92ad3da634110fdd8fcb7300c6ecdab17a5344 | [
"MIT"
] | null | null | null | import { Slide } from "pure-react-carousel";
import CenterImage from "./centerImage";
const LinkSlide = ({ index, href, img, text, name }) => (
<Slide index={index} className="menu-item" key={name}>
<CenterImage className="hover-scale" href={href} img={img} alt={name} />
<p>{text}</p>
</Slide>
);
export d... | 28.166667 | 76 | 0.653846 |
0c69c3d0819c941f282b50c715b237ed077467a8 | 8,327 | js | JavaScript | Web_Site/cloud.home.yimian.xyz/apps/firstrunwizard/l10n/is.js | IoTcat/archive | b43dd5c01c3b38cde97bbdbb87bfc51847303e58 | [
"MIT"
] | null | null | null | Web_Site/cloud.home.yimian.xyz/apps/firstrunwizard/l10n/is.js | IoTcat/archive | b43dd5c01c3b38cde97bbdbb87bfc51847303e58 | [
"MIT"
] | null | null | null | Web_Site/cloud.home.yimian.xyz/apps/firstrunwizard/l10n/is.js | IoTcat/archive | b43dd5c01c3b38cde97bbdbb87bfc51847303e58 | [
"MIT"
] | null | null | null | OC.L10N.register(
"firstrunwizard",
{
"First run wizard" : "Fyrsta-skiptis-leiðarvísir",
"Add your profile information! For example your email is needed to reset your password." : "Bættu við notandaupplýsingarnar þínar! Til dæmis þarftu að setja inn tölvupóstfangið þitt til að geta endurstillt lykilorð.... | 128.107692 | 662 | 0.745767 |
0c6a8c18065e50340c2f6fa3136c525c1bbceacd | 1,833 | js | JavaScript | resources/assets/js/components/global/ProgressBar.js | timonschenzel/worldservantsdoetinchem | b654a9d17be089fec0ac93b65783faee3c8272c8 | [
"MIT"
] | null | null | null | resources/assets/js/components/global/ProgressBar.js | timonschenzel/worldservantsdoetinchem | b654a9d17be089fec0ac93b65783faee3c8272c8 | [
"MIT"
] | 8 | 2021-01-05T09:32:11.000Z | 2022-02-26T12:21:44.000Z | resources/assets/js/components/global/ProgressBar.js | timonschenzel/worldservantsdoetinchem | b654a9d17be089fec0ac93b65783faee3c8272c8 | [
"MIT"
] | null | null | null | module.exports = {
template: `
<div>
<div class="bg-indigo-900 text-center py-4 lg:px-4">
<a href="http://www.worldservantsdoetinchem.nl/nieuws/werkvakantie-ecuador-afgelast-bouw-gaat-wel-door" target="_blank" title="Voor meer informatie over de verplaatsing klik hier">
<div class="p-2 bg-indigo-800 items-ce... | 31.067797 | 209 | 0.654119 |
0c6b09c3e40855f04d8f84b4b970d9e8a3043c4e | 288 | js | JavaScript | src/pages/Quote/Author/index.js | AdrianOrlow/summi-decem | f694605eba20c1a26cb51d261435968051cd7153 | [
"MIT"
] | 2 | 2020-07-05T21:15:10.000Z | 2021-02-02T11:04:47.000Z | src/pages/Quote/Author/index.js | AdrianOrlow/summi-decem | f694605eba20c1a26cb51d261435968051cd7153 | [
"MIT"
] | null | null | null | src/pages/Quote/Author/index.js | AdrianOrlow/summi-decem | f694605eba20c1a26cb51d261435968051cd7153 | [
"MIT"
] | null | null | null | import React from 'react'
import './index.scss'
const Author = props => {
return (
<div className='quote__author'>
<div className='author__el author__title'>Autor</div>
<div className='author__el author__name'>{props.name}</div>
</div>
)
}
export default Author
| 20.571429 | 65 | 0.670139 |
0c6b2cd5562e7a8858a429fad2c366bc7ee08d1b | 1,238 | js | JavaScript | controllers/photo.js | tedce/basic-image-converter | 02f6c2fc91c8f188933262c340a50ed4f54b729f | [
"MIT"
] | null | null | null | controllers/photo.js | tedce/basic-image-converter | 02f6c2fc91c8f188933262c340a50ed4f54b729f | [
"MIT"
] | null | null | null | controllers/photo.js | tedce/basic-image-converter | 02f6c2fc91c8f188933262c340a50ed4f54b729f | [
"MIT"
] | null | null | null | const shell = require('shelljs');
module.exports = {
// use imagemagick convert function to convert image files to and from png/jpg
// format should be zip folder containing 1 of either png or jpg
process(zipfolder,s3version) {
try {
shell.exec('unzip -d pics/' + s3version + '/' + zipf... | 35.371429 | 117 | 0.519386 |
0c6be9f115db5244fda5be48e73663cc3b4b613a | 116 | js | JavaScript | src/components/layout/main/index.js | wynn-w/ikon-UI | f80dd81a22996047802a6c33f17ae1a22e4e302c | [
"MIT"
] | 1 | 2021-03-03T11:26:52.000Z | 2021-03-03T11:26:52.000Z | src/components/layout/main/index.js | wynn-w/ikon-UI | f80dd81a22996047802a6c33f17ae1a22e4e302c | [
"MIT"
] | 2 | 2020-12-06T08:43:46.000Z | 2021-02-17T15:51:53.000Z | src/components/layout/main/index.js | wynn-w/ikon-UI | f80dd81a22996047802a6c33f17ae1a22e4e302c | [
"MIT"
] | null | null | null | import Main from './src/main'
Main.install = function (Vue) {
Vue.component(Main.name, Main)
}
export default Main | 23.2 | 32 | 0.724138 |
0c6d5e82c37ce2dbf887b1a2a5a275a1de76d09b | 865 | js | JavaScript | Array Implementation/mergeSortArrays.js | yashwanthambati/dev-notes | f4661694558da2db8d2c8c6b5809b7e1d5f1f54b | [
"MIT"
] | null | null | null | Array Implementation/mergeSortArrays.js | yashwanthambati/dev-notes | f4661694558da2db8d2c8c6b5809b7e1d5f1f54b | [
"MIT"
] | null | null | null | Array Implementation/mergeSortArrays.js | yashwanthambati/dev-notes | f4661694558da2db8d2c8c6b5809b7e1d5f1f54b | [
"MIT"
] | null | null | null | function mergeSortArrays(array1,array2){
const mergeArray = [];
let array1Item = array1[0];
let array2item = array2[0];
let i=1;
let j=1;
//check input
if(array1.length === 0){
return array2;
}
if(array2.length === 0){
return array1;
}
while(array1Item || array2item){
console.log(array1I... | 18.404255 | 46 | 0.615029 |
0c6da92d6fe012abba8c7496a44ff91f0c56aefc | 6,138 | js | JavaScript | node_modules/phosphor-react/dist/icons/FileVideo.esm.js | VictorAlv1/Projeto-Site-de-Viagens | ae1c9b5fbbffeafd5af55663aa79b37fa6336ba2 | [
"MIT"
] | null | null | null | node_modules/phosphor-react/dist/icons/FileVideo.esm.js | VictorAlv1/Projeto-Site-de-Viagens | ae1c9b5fbbffeafd5af55663aa79b37fa6336ba2 | [
"MIT"
] | null | null | null | node_modules/phosphor-react/dist/icons/FileVideo.esm.js | VictorAlv1/Projeto-Site-de-Viagens | ae1c9b5fbbffeafd5af55663aa79b37fa6336ba2 | [
"MIT"
] | null | null | null | import React, { forwardRef } from 'react';
import { renderPathForWeight } from '../lib/index.esm.js';
import IconBase from '../lib/IconBase.esm.js';
/* GENERATED FILE */
var pathsByWeight = /*#__PURE__*/new Map();
pathsByWeight.set("bold", function (color) {
return React.createElement(React.Fragment, null, React.cre... | 29.368421 | 402 | 0.617954 |
0c6de2b3068df7b5ad0cadd62fd5d361e83e781e | 1,934 | js | JavaScript | brigade.js | u2takey/brigade | 078eca0fd2563d535cb24efbdd65c58555fccb48 | [
"MIT"
] | 1 | 2021-08-29T07:34:48.000Z | 2021-08-29T07:34:48.000Z | brigade.js | u2takey/brigade | 078eca0fd2563d535cb24efbdd65c58555fccb48 | [
"MIT"
] | null | null | null | brigade.js | u2takey/brigade | 078eca0fd2563d535cb24efbdd65c58555fccb48 | [
"MIT"
] | null | null | null | // ============================================================================
// NOTE: This is the actual brigade.js file for testing the Brigade project.
// Be careful when editing!
// ============================================================================
const { events, Job, Group} = require("brigadier")
fun... | 26.861111 | 79 | 0.575491 |
0c6ded38290621236761386faf5e1d62262ad0de | 192 | js | JavaScript | utils/dates-filter.js | adwinmbd/neat | f72de39fad48bba6075ad4c8bae22cac21c13486 | [
"MIT"
] | null | null | null | utils/dates-filter.js | adwinmbd/neat | f72de39fad48bba6075ad4c8bae22cac21c13486 | [
"MIT"
] | 2 | 2021-06-29T16:58:08.000Z | 2021-09-20T22:24:10.000Z | utils/dates-filter.js | adwinmbd/neat | f72de39fad48bba6075ad4c8bae22cac21c13486 | [
"MIT"
] | null | null | null |
/*
A date formatter filter for Nunjucks
*/
module.exports = function(dateIn) {
return new Date(dateIn).toLocaleDateString('en-US', { day: 'numeric', month: 'short', year: 'numeric'});
} | 27.428571 | 108 | 0.677083 |
0c6e517c01f16954999317a7c2677ce0c3d67afc | 3,958 | js | JavaScript | src/PreparationSlides.js | esveo/react-basics | f2ab7179456ec6017b29129ff6e0a7426bd39bec | [
"MIT"
] | null | null | null | src/PreparationSlides.js | esveo/react-basics | f2ab7179456ec6017b29129ff6e0a7426bd39bec | [
"MIT"
] | 5 | 2020-09-07T07:10:44.000Z | 2022-02-12T20:38:19.000Z | src/PreparationSlides.js | esveo/react-basics | f2ab7179456ec6017b29129ff6e0a7426bd39bec | [
"MIT"
] | null | null | null | import styled from '@emotion/styled/macro';
import React from 'react';
import { Deck, Slide } from 'spectacle';
import { preambelSlides } from './sections/001-intro/slides/01-preambelSlides';
import { dash } from './__helpers/dash';
import { Footer } from './__helpers/slides/Footer';
import { Header } from './__helpers... | 29.537313 | 182 | 0.578828 |
0c6e96ea18a6c8926859c8a29782dfb81fd06323 | 5,841 | js | JavaScript | src/tw/public/reteta/main.js | amarieioana/Cuisine-Web-Helper | f4925d0a46ab89ff2fd4f48faad04bd9febccf97 | [
"MIT"
] | null | null | null | src/tw/public/reteta/main.js | amarieioana/Cuisine-Web-Helper | f4925d0a46ab89ff2fd4f48faad04bd9febccf97 | [
"MIT"
] | null | null | null | src/tw/public/reteta/main.js | amarieioana/Cuisine-Web-Helper | f4925d0a46ab89ff2fd4f48faad04bd9febccf97 | [
"MIT"
] | null | null | null | let log = document.getElementById('logOut');
log.onclick = function () {
function reqListener() {
if (this.response === 'success') {
window.location.href = '/';
}
}
// get new XHR object
var ajax = new XMLHttpRequest();
// bind our event listener to the "load" event.
... | 23.938525 | 90 | 0.593905 |
0c6ebd152751da76eb5166a640782d6199fc6caa | 531 | js | JavaScript | resources/js/router/index.js | godgodwinter/laravel-vue-base | 1c9ff936495cf7aa8ab67771fb83c119f1771f85 | [
"MIT"
] | null | null | null | resources/js/router/index.js | godgodwinter/laravel-vue-base | 1c9ff936495cf7aa8ab67771fb83c119f1771f85 | [
"MIT"
] | null | null | null | resources/js/router/index.js | godgodwinter/laravel-vue-base | 1c9ff936495cf7aa8ab67771fb83c119f1771f85 | [
"MIT"
] | null | null | null | import Home from '../views/Home.vue'
import About from '../views/About.vue'
import Contact from '../views/Contact.vue'
export default {
mode:'history',
linkActiveClass:'active',
routes:[
{
path:'/',
name:'home',
component:Home
},
{
p... | 18.964286 | 42 | 0.455744 |
0c6f0c16831ad9ec2a47c9fe56ceab70c50b5358 | 354 | js | JavaScript | frontend/src/use-cases/rules/rules.labels.js | cthit/bookIT-node | 08441183c54235eaf5aa1d10ffd53b84b45705c6 | [
"MIT"
] | null | null | null | frontend/src/use-cases/rules/rules.labels.js | cthit/bookIT-node | 08441183c54235eaf5aa1d10ffd53b84b45705c6 | [
"MIT"
] | 25 | 2021-09-22T08:37:51.000Z | 2021-12-20T22:27:58.000Z | frontend/src/use-cases/rules/rules.labels.js | cthit/bookIT-node | 08441183c54235eaf5aa1d10ffd53b84b45705c6 | [
"MIT"
] | 1 | 2022-02-16T15:17:07.000Z | 2022-02-16T15:17:07.000Z | export const detailed_view_keys = [
"title",
"priority",
"start_date",
"end_date",
"start_time",
"end_time",
"description",
"_room",
"_day_mask",
"_allow",
"created_at",
"updated_at",
];
export const table_header_keys = [
"title",
"priority",
"start_date",
"end_date",
"_time",
"_roo... | 13.615385 | 35 | 0.601695 |
0c6f870055cbfa0bf60ba2d50746b0a9bffa0a64 | 760 | js | JavaScript | node_modules/umi/lib/createHistory.js | 1298698045/react-web | 8f42210cd73ed897e6a37e5641bea4117510b118 | [
"MIT"
] | 1 | 2020-10-27T12:09:49.000Z | 2020-10-27T12:09:49.000Z | node_modules/umi/lib/createHistory.js | 1298698045/react-web | 8f42210cd73ed897e6a37e5641bea4117510b118 | [
"MIT"
] | 34 | 2020-09-28T07:24:42.000Z | 2022-02-26T14:29:57.000Z | node_modules/umi/lib/createHistory.js | 1298698045/react-web | 8f42210cd73ed897e6a37e5641bea4117510b118 | [
"MIT"
] | null | null | null | "use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = _default;
var _createBrowserHistory = _interopRequireDefault(require("history/createBrowserHistory"));
var _utils = require("./utils");
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { defau... | 24.516129 | 95 | 0.688158 |
0c70ef2a1816a5bab58f8d7361daa6c496de6d66 | 558 | js | JavaScript | example/timer-component.js | eavichay/showroom | 32dccf881401a142327f84dd6b8fc013b4274a83 | [
"Apache-2.0"
] | 92 | 2018-10-18T15:21:32.000Z | 2021-07-29T21:46:52.000Z | example/timer-component.js | doc22940/showroom | 32dccf881401a142327f84dd6b8fc013b4274a83 | [
"Apache-2.0"
] | 10 | 2019-01-11T01:52:37.000Z | 2019-10-31T04:53:35.000Z | example/timer-component.js | doc22940/showroom | 32dccf881401a142327f84dd6b8fc013b4274a83 | [
"Apache-2.0"
] | 8 | 2018-11-12T07:05:22.000Z | 2020-12-19T01:41:55.000Z | customElements.define('timer-component', class extends HTMLElement {
constructor () {
super();
this.attachShadow({mode: 'open'});
}
connectedCallback () {
clearInterval(this.intervalId);
this.intervalId = setInterval(() => {
this.update();
}, 1000);
this.update();
}
disconnecte... | 21.461538 | 68 | 0.616487 |
0c752299e6c245bbd2decc42178d89b53c8c05ec | 615 | js | JavaScript | users/modules/users.error.test.js | sashmlv/backend-application | 2063c760764e9fa6347d7313141984c749e7617a | [
"Unlicense"
] | null | null | null | users/modules/users.error.test.js | sashmlv/backend-application | 2063c760764e9fa6347d7313141984c749e7617a | [
"Unlicense"
] | null | null | null | users/modules/users.error.test.js | sashmlv/backend-application | 2063c760764e9fa6347d7313141984c749e7617a | [
"Unlicense"
] | null | null | null | 'use strict';
const test = require( 'ava' ),
{ UsersError, notFound } = require( './users.error' );
test( 'users error', t => {
const usersError = new UsersError({
name: 'unsuccessful',
message: 'message',
code: 'CODE',
status: 200,
data: { a: 1 },
});
t.deepEqual( usersEr... | 23.653846 | 57 | 0.598374 |
0c78e31d48832777752710a2123bae0a1185fe20 | 275 | js | JavaScript | tests/dummy/app/animations-page/route-dependent-three/component.js | wongpeiyi/ember-routable-components-today | d1fe31ecf6e4ba2278c7f672bc79d3476caeaae0 | [
"MIT"
] | 25 | 2018-08-08T19:53:42.000Z | 2019-05-03T18:03:42.000Z | tests/dummy/app/animations-page/route-dependent-three/component.js | wongpeiyi/ember-routable-components-today | d1fe31ecf6e4ba2278c7f672bc79d3476caeaae0 | [
"MIT"
] | 2 | 2018-08-16T08:05:07.000Z | 2018-11-27T09:11:36.000Z | tests/dummy/app/animations-page/route-dependent-three/component.js | wongpeiyi/ember-component-routes | d1fe31ecf6e4ba2278c7f672bc79d3476caeaae0 | [
"MIT"
] | null | null | null | import Component from '@ember/component';
import RouteDependent from 'dummy/mixins/route-dependent';
export default Component.extend(RouteDependent, {
classNames: 'animation-box__frame animation-box__frame_three',
elementId: 'route-dependent_three',
name: 'three'
});
| 30.555556 | 64 | 0.785455 |
0c79667512d27321989f60dcf4a4b950e8363b48 | 11,342 | js | JavaScript | src/main/resources/lib/commentManager.js | enonic/app-discussion | 7ecb9676f5b5b25a585f605f1d0eaa7dfeb63f99 | [
"Apache-2.0"
] | null | null | null | src/main/resources/lib/commentManager.js | enonic/app-discussion | 7ecb9676f5b5b25a585f605f1d0eaa7dfeb63f99 | [
"Apache-2.0"
] | 3 | 2019-04-03T09:16:48.000Z | 2021-01-14T13:34:48.000Z | src/main/resources/lib/commentManager.js | enonic/app-discussion | 7ecb9676f5b5b25a585f605f1d0eaa7dfeb63f99 | [
"Apache-2.0"
] | null | null | null | var contentLib = require('/lib/xp/content');
var nodeLib = require('/lib/xp/node');
var authLib = require('/lib/xp/auth');
var repoLib = require('/lib/xp/repo');
var tools = require('/lib/tools');
exports.createComment = createComment;
exports.modifyComment = modifyComment;
exports.getNodeData = getNodeData;
exports.g... | 29.847368 | 98 | 0.567184 |
0c79ade2d2e5b5798da108c2f14f2854132c6105 | 6,250 | js | JavaScript | app/containers/StudyPage/PatientDetail/TagSection.js | ngkhoawork/study-web | d9011a6a10951b27b6823e5631797eaafb8e6b55 | [
"MIT"
] | null | null | null | app/containers/StudyPage/PatientDetail/TagSection.js | ngkhoawork/study-web | d9011a6a10951b27b6823e5631797eaafb8e6b55 | [
"MIT"
] | 1 | 2020-07-19T13:41:05.000Z | 2020-07-19T13:41:05.000Z | app/containers/StudyPage/PatientDetail/TagSection.js | starsoftdev/study-web | d9011a6a10951b27b6823e5631797eaafb8e6b55 | [
"MIT"
] | null | null | null | /**
* Created by Younes on 04/27/18.
*/
import React from 'react';
import { connect } from 'react-redux';
import Button from 'react-bootstrap/lib/Button';
import Overlay from 'react-bootstrap/lib/Overlay';
import classNames from 'classnames';
import { createStructuredSelector } from 'reselect';
import Form from 'rea... | 33.783784 | 168 | 0.61568 |
0c79bf21cbd3992c076600250e7021222c350a24 | 1,041 | js | JavaScript | .stylelintrc.js | sbwsg/dashboard | 3ac3952db4e811044421907b151deb41d68b63b7 | [
"Apache-2.0"
] | 634 | 2019-04-05T16:57:43.000Z | 2022-03-30T17:31:22.000Z | .stylelintrc.js | sbwsg/dashboard | 3ac3952db4e811044421907b151deb41d68b63b7 | [
"Apache-2.0"
] | 2,319 | 2019-04-04T19:30:19.000Z | 2022-03-28T10:53:49.000Z | .stylelintrc.js | sbwsg/dashboard | 3ac3952db4e811044421907b151deb41d68b63b7 | [
"Apache-2.0"
] | 250 | 2019-04-04T19:25:29.000Z | 2022-03-29T09:14:21.000Z | /*
Copyright 2020 The Tekton Authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software... | 34.7 | 72 | 0.692603 |
0c7b4d7c0b1303da9765af2781d685e3f333b62c | 127 | js | JavaScript | server/v1/app/migration/dropTable.js | misanj/wayFarer | 159dba920563a0ef39ac89508181e4fa10442900 | [
"ISC"
] | null | null | null | server/v1/app/migration/dropTable.js | misanj/wayFarer | 159dba920563a0ef39ac89508181e4fa10442900 | [
"ISC"
] | 4 | 2020-09-06T10:22:42.000Z | 2021-09-01T18:45:43.000Z | server/v1/app/migration/dropTable.js | misanj/wayFarer | 159dba920563a0ef39ac89508181e4fa10442900 | [
"ISC"
] | null | null | null | import Pool from './db';
const queryText = 'DROP TABLE IF EXISTS users, bus, trip, bookings CASCADE';
Pool.query(queryText);
| 21.166667 | 76 | 0.724409 |
0c7b804ff71a16a64491ad02181ac650c09073d3 | 3,683 | js | JavaScript | backend/services/appointmentsService.js | uk-gov-mirror/ministryofjustice.prisonstaffhub | 15108ff28f79781dd184c7e5bd369e3f322c9177 | [
"MIT"
] | null | null | null | backend/services/appointmentsService.js | uk-gov-mirror/ministryofjustice.prisonstaffhub | 15108ff28f79781dd184c7e5bd369e3f322c9177 | [
"MIT"
] | null | null | null | backend/services/appointmentsService.js | uk-gov-mirror/ministryofjustice.prisonstaffhub | 15108ff28f79781dd184c7e5bd369e3f322c9177 | [
"MIT"
] | null | null | null | const moment = require('moment')
const { repeatTypes, endRecurringEndingDate } = require('../shared/appointmentConstants')
const { DATE_TIME_FORMAT_SPEC, Time } = require('../../src/dateHelpers')
const { properCaseName } = require('../utils')
const isVideoLinkBooking = appointmentType => appointmentType === 'VLB'
con... | 32.883929 | 118 | 0.724681 |
0c7b947002b0477cc3bb9ee4ce7dc8d6558ea7b3 | 1,361 | js | JavaScript | packages/manager/modules/pci/src/projects/project/storages/databases/database/namespaces/delete/delete.controller.js | ovh-ux/manager | 51195f60762609dfd0014c1b1eced4243f01d0ba | [
"BSD-3-Clause"
] | 14 | 2018-10-30T09:45:52.000Z | 2019-10-14T12:43:02.000Z | packages/manager/modules/pci/src/projects/project/storages/databases/database/namespaces/delete/delete.controller.js | ovh-ux/manager | 51195f60762609dfd0014c1b1eced4243f01d0ba | [
"BSD-3-Clause"
] | 289 | 2018-11-15T20:18:26.000Z | 2019-10-18T11:40:15.000Z | packages/manager/modules/pci/src/projects/project/storages/databases/database/namespaces/delete/delete.controller.js | ovh-ux/manager | 51195f60762609dfd0014c1b1eced4243f01d0ba | [
"BSD-3-Clause"
] | 10 | 2019-01-16T19:12:57.000Z | 2019-10-07T18:29:46.000Z | export default class DeleteNamespaceCtrl {
/* @ngInject */
constructor($translate, DatabaseService) {
this.DatabaseService = DatabaseService;
this.$translate = $translate;
}
$onInit() {
this.trackDashboard('namespaces_delete', 'page');
}
cancel() {
this.trackDashboard('namespaces::delete_n... | 25.203704 | 72 | 0.584129 |
0c7d1a4f814efbd0f824e50f80acb50e75e4c5e4 | 216 | js | JavaScript | node_modules/node-libcurl/lib/generated-stubs/http.js | yesyayen/Website-Uptime-Monitor | 7814a91fc21ad91baf26d08f15c8183226b91ff2 | [
"MIT"
] | 14 | 2015-07-12T05:29:31.000Z | 2021-04-05T23:22:58.000Z | node_modules/node-libcurl/lib/generated-stubs/http.js | yesyayen/Website-Uptime-Monitor | 7814a91fc21ad91baf26d08f15c8183226b91ff2 | [
"MIT"
] | 2 | 2015-08-09T19:17:49.000Z | 2015-08-11T14:48:24.000Z | node_modules/node-libcurl/lib/generated-stubs/http.js | yesyayen/Website-Uptime-Monitor | 7814a91fc21ad91baf26d08f15c8183226b91ff2 | [
"MIT"
] | 3 | 2016-10-09T14:59:27.000Z | 2017-06-03T09:47:06.000Z | // generated by /home/yesyayen/GitProject/Website-Uptime-Monitor/node_modules/node-libcurl/tools/generate-stubs.js at 20/7/2015 @ 1:4:56
Curl.http = {"VERSION_1_0":0,"VERSION_1_1":0,"VERSION_2_0":0,"VERSION_NONE":0}; | 108 | 136 | 0.768519 |
0c7dfac6626e80b5761523772c38f6a8583dec85 | 238 | js | JavaScript | ConvexHull/docs/html/search/all_8.js | RikilG/Geometry-Algorithms | 7bdf25e425b93dc6955331a48980a4b4d8051a6d | [
"MIT"
] | null | null | null | ConvexHull/docs/html/search/all_8.js | RikilG/Geometry-Algorithms | 7bdf25e425b93dc6955331a48980a4b4d8051a6d | [
"MIT"
] | null | null | null | ConvexHull/docs/html/search/all_8.js | RikilG/Geometry-Algorithms | 7bdf25e425b93dc6955331a48980a4b4d8051a6d | [
"MIT"
] | null | null | null | var searchData=
[
['setsentinels_19',['setSentinels',['../class_point_list.html#a9e5e7af2955034946aeadade570e6227',1,'PointList']]],
['size_20',['size',['../class_point_list.html#a31c9f031f5c78f4afd01f457550204ec',1,'PointList']]]
];
| 39.666667 | 116 | 0.743697 |
0c7e5dc29e5a5fd8b334a3808d1ff17ab938b21d | 4,717 | js | JavaScript | webapp/controller/DetailManager.controller.js | stef12121999/BTA | a76e8fa45c5bed87aaa9128a81ca6b9571fe488b | [
"Apache-2.0"
] | null | null | null | webapp/controller/DetailManager.controller.js | stef12121999/BTA | a76e8fa45c5bed87aaa9128a81ca6b9571fe488b | [
"Apache-2.0"
] | 1 | 2020-08-26T14:43:05.000Z | 2020-08-26T14:43:05.000Z | webapp/controller/DetailManager.controller.js | stef12121999/BTA | a76e8fa45c5bed87aaa9128a81ca6b9571fe488b | [
"Apache-2.0"
] | 1 | 2020-08-10T07:14:26.000Z | 2020-08-10T07:14:26.000Z | sap.ui.define(
[
"intern2020/controller/BaseController",
"sap/m/MessageToast",
"sap/m/Button",
"sap/m/Dialog",
"sap/m/Label",
"sap/m/TextArea",
"sap/ui/core/BusyIndicator",
],
function (
BaseController,
MessageToast,
Button,
Dialog,
Label,
TextArea,
BusyIndi... | 27.911243 | 77 | 0.441382 |