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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
6ffd869f2f64a6384d38342dbeaf06db034de67a | 862 | js | JavaScript | node_modules/sails-stringfile/deprecation.js | Pikorua/sails-0.10.0 | ec757fd62708cfb018c11ec8d62d291486182dae | [
"MIT"
] | null | null | null | node_modules/sails-stringfile/deprecation.js | Pikorua/sails-0.10.0 | ec757fd62708cfb018c11ec8d62d291486182dae | [
"MIT"
] | null | null | null | node_modules/sails-stringfile/deprecation.js | Pikorua/sails-0.10.0 | ec757fd62708cfb018c11ec8d62d291486182dae | [
"MIT"
] | null | null | null | /**
* Module dependencies
*/
var _ = require('lodash')
, logMoreInfoLink = require('./links').logMoreInfoLink
, util = require('util');
//
// Used for throttling deprecation notices
//
var featureCache = {};
module.exports = {
logUpgradeNotice: function(template, values, log) {
log = log || ... | 24.628571 | 72 | 0.639211 |
6fffb5e2e8cac99792ad6052c85d710cd5567399 | 138 | js | JavaScript | src/pages/index.js | Razatastic/wassup | d72e020c32b1f878b41afa5fbea10ed800f5af8c | [
"MIT"
] | null | null | null | src/pages/index.js | Razatastic/wassup | d72e020c32b1f878b41afa5fbea10ed800f5af8c | [
"MIT"
] | null | null | null | src/pages/index.js | Razatastic/wassup | d72e020c32b1f878b41afa5fbea10ed800f5af8c | [
"MIT"
] | null | null | null | export { default as Home } from "./Home";
export { default as Profile } from "./Profile";
export { default as NoMatch } from "./NoMatch";
| 34.5 | 47 | 0.673913 |
6fffda9e9739558e4b0f4df939ea89323189963b | 4,627 | js | JavaScript | wordpress/wp-content/themes/timber-lite/assets/js/main/main.js | wc-work/wc-site | ab26af532d6cd9d55d763a84f693e29af8a4728b | [
"MIT"
] | null | null | null | wordpress/wp-content/themes/timber-lite/assets/js/main/main.js | wc-work/wc-site | ab26af532d6cd9d55d763a84f693e29af8a4728b | [
"MIT"
] | 11 | 2020-02-03T19:33:52.000Z | 2020-02-12T22:17:23.000Z | wordpress/wp-content/themes/timber-lite/assets/js/main/main.js | wc-work/wc-site | ab26af532d6cd9d55d763a84f693e29af8a4728b | [
"MIT"
] | null | null | null | // /* ====== ON DOCUMENT READY ====== */
$(function () {
init();
});
function init() {
browserSupport();
platformDetect();
browserSize();
scrollToTop();
focusItems();
Nav.init();
updateHeader();
$html.addClass('ready');
$('.site-header, #page, .site-footer').css('opacity', 1);
... | 22.570732 | 96 | 0.589151 |
b5000b96a5e58507210f9af9ba9da3b3511abf0e | 9,390 | js | JavaScript | src/components/layout/sidebar.js | Afh21/adopt-client | ba34b258fe8817a6ed08313cefaad542b6fca718 | [
"MIT"
] | null | null | null | src/components/layout/sidebar.js | Afh21/adopt-client | ba34b258fe8817a6ed08313cefaad542b6fca718 | [
"MIT"
] | null | null | null | src/components/layout/sidebar.js | Afh21/adopt-client | ba34b258fe8817a6ed08313cefaad542b6fca718 | [
"MIT"
] | null | null | null | import React, { Component } from "react";
import { Layout, Icon, Button, Menu } from "antd";
import { Tag } from "antd";
// import MenuLinkSidebar from "./sider";
import PropTypes from "prop-types";
import {
Switch,
withRouter,
BrowserRouter as Router,
Route,
Link
} from "react-router-dom";
// Components
imp... | 31.3 | 77 | 0.414164 |
b50325e7d6465e8d4bdc1db80ca6bf4c067f8421 | 1,063 | js | JavaScript | resources/assets/js/controllers/municipio/municipioList.js | desenv-1dl/bancotalentos | feb62221e6591c86fc1c68974277529965054473 | [
"MIT"
] | null | null | null | resources/assets/js/controllers/municipio/municipioList.js | desenv-1dl/bancotalentos | feb62221e6591c86fc1c68974277529965054473 | [
"MIT"
] | null | null | null | resources/assets/js/controllers/municipio/municipioList.js | desenv-1dl/bancotalentos | feb62221e6591c86fc1c68974277529965054473 | [
"MIT"
] | null | null | null | angular.module('app.controllers')
.controller('MunicipioListController',['$scope', 'Municipio','UnidadeFederacao', function($scope, Municipio,UnidadeFederacao){
$scope.municipios = Municipio.query();
$scope.unidadeFederacao = UnidadeFederacao.query();
$scope.gridOptions = {... | 37.964286 | 131 | 0.523048 |
b503ce74fe82f6d8c8c2022983da97d5b30bd76e | 856 | js | JavaScript | components/layout.js | NimitzDEV/next-press | 6de36a14cffa3f1e48cc42ff5a27e30ec0bcdb96 | [
"MIT"
] | null | null | null | components/layout.js | NimitzDEV/next-press | 6de36a14cffa3f1e48cc42ff5a27e30ec0bcdb96 | [
"MIT"
] | null | null | null | components/layout.js | NimitzDEV/next-press | 6de36a14cffa3f1e48cc42ff5a27e30ec0bcdb96 | [
"MIT"
] | null | null | null | import Link from 'next/link';
import Head from 'next/head';
import React from 'react';
import PropTypes from 'prop-types';
import styled from 'styled-components';
import { media } from '../tools/server';
const config = require('../config');
const Layout = styled.div`
display: flex;
flex-direction: row;
height: 1... | 19.022222 | 56 | 0.599299 |
b5044aab4e5e95f117e5237539980216a3ed334b | 119 | js | JavaScript | resources/js/app.js | stevy-sys/kaly | ce2dae13ad0c8d1df64c71eae2b26e2e3ac27606 | [
"MIT"
] | null | null | null | resources/js/app.js | stevy-sys/kaly | ce2dae13ad0c8d1df64c71eae2b26e2e3ac27606 | [
"MIT"
] | 1 | 2021-08-17T22:56:33.000Z | 2021-08-17T22:56:33.000Z | resources/js/app.js | stevy-sys/kaly | ce2dae13ad0c8d1df64c71eae2b26e2e3ac27606 | [
"MIT"
] | null | null | null | require('./bootstrap');
require("./main")
require("./publication/jquery-ui.min")
require("./publication/jquery.steps")
| 23.8 | 38 | 0.714286 |
b5051e5291bab269e834276e31cfe3d4aa7809ad | 1,649 | js | JavaScript | src/routes/clothes.js | bushraAD98/api-server | 8559a9ed21239b0a406f5ab949596238a683d455 | [
"MIT"
] | null | null | null | src/routes/clothes.js | bushraAD98/api-server | 8559a9ed21239b0a406f5ab949596238a683d455 | [
"MIT"
] | null | null | null | src/routes/clothes.js | bushraAD98/api-server | 8559a9ed21239b0a406f5ab949596238a683d455 | [
"MIT"
] | null | null | null | 'use strict';
const express = require ('express');//to make a router
// const {clothes} = require('../models/index')
const routers = express.Router();//to put all the clothes router inside it then export it in the server.js
const {clothesCollection} = require('../models/index');
//we call the points by the routers to ... | 33.653061 | 108 | 0.746513 |
b5062ba5a300c7da98235d4246655cdf0df76ca7 | 1,329 | js | JavaScript | routes/api.js | mhans003/budgettracker | c8756090c118bcf94c76593c4e84a787259b92d3 | [
"MIT"
] | null | null | null | routes/api.js | mhans003/budgettracker | c8756090c118bcf94c76593c4e84a787259b92d3 | [
"MIT"
] | null | null | null | routes/api.js | mhans003/budgettracker | c8756090c118bcf94c76593c4e84a787259b92d3 | [
"MIT"
] | null | null | null | const router = require("express").Router();
const Transaction = require("../models/transaction.js");
//Post one transaction to the database using the request body destructured.
router.post("/api/transaction", ({body}, res) => {
//Create the transaction with the request body.
Transaction.create(body)
.then(dbTr... | 29.533333 | 77 | 0.617005 |
b50741721511db04d3874242cdeb2fc767a6ca3e | 492 | js | JavaScript | public/search-controller.js | thejdavid/feedbacks | 6d9c14f05671382b720219daaecfdadde9f42980 | [
"MIT"
] | null | null | null | public/search-controller.js | thejdavid/feedbacks | 6d9c14f05671382b720219daaecfdadde9f42980 | [
"MIT"
] | null | null | null | public/search-controller.js | thejdavid/feedbacks | 6d9c14f05671382b720219daaecfdadde9f42980 | [
"MIT"
] | null | null | null | angular.module('FeedbackTool')
.controller("mainCtrl", function ($scope, $http) {
$scope.selected = '';
$http.get('/feedbacks/search.json').
then(function(response) {
$scope.test = " ok "
$scope.states = response.data;
// this callback will be called asynchronously
// when the response is availa... | 32.8 | 55 | 0.654472 |
b507755632f9e87587d257ef9372e34f8210dfce | 559 | js | JavaScript | ReactJS-Fundamentals/Exam/frontend/src/cars/details/ReviewForm.js | VladimirAnaniev/JS-Web | 9c90fb2622b1c7e59fd14ac60d405c58007e426d | [
"MIT"
] | null | null | null | ReactJS-Fundamentals/Exam/frontend/src/cars/details/ReviewForm.js | VladimirAnaniev/JS-Web | 9c90fb2622b1c7e59fd14ac60d405c58007e426d | [
"MIT"
] | null | null | null | ReactJS-Fundamentals/Exam/frontend/src/cars/details/ReviewForm.js | VladimirAnaniev/JS-Web | 9c90fb2622b1c7e59fd14ac60d405c58007e426d | [
"MIT"
] | null | null | null | import React from 'react'
export default function ReviewForm ({formState, onChange, onSubmit}) {
return (
<div>
<label htmlFor='rating'>Rating: </label>
<input
name='rating'
type='number'
value={formState.rating}
onChange={onChange} />
<br />
<label htmlFor... | 23.291667 | 70 | 0.567084 |
b507b583b90bf3ab6b566283c084372465164b90 | 3,235 | js | JavaScript | bin/index.js | pidtchay/openapi-codegen | ee1f1bb6e1efeb0dfb57629113e1065efc9c9627 | [
"MIT"
] | null | null | null | bin/index.js | pidtchay/openapi-codegen | ee1f1bb6e1efeb0dfb57629113e1065efc9c9627 | [
"MIT"
] | 3 | 2021-09-10T11:35:56.000Z | 2021-11-17T15:14:14.000Z | bin/index.js | pidtchay/openapi-codegen | ee1f1bb6e1efeb0dfb57629113e1065efc9c9627 | [
"MIT"
] | null | null | null | #!/usr/bin/env node
'use strict';
const path = require('path');
const program = require('commander');
const pkg = require('../package.json');
const OpenAPI = require(path.resolve(__dirname, '../dist/index.js'));
const { rmdirSync } = require('fs');
const params = program
.name('openapi')
.usage('[options]')... | 38.975904 | 108 | 0.620402 |
b5083990565af798396af7923aad459e6190ee15 | 3,467 | js | JavaScript | server/src/constants/err.type.js | SaraiNoQ/covid_maga | e2015ba0b3f3d8db8576f36d7b23575f7b1d2574 | [
"MIT"
] | null | null | null | server/src/constants/err.type.js | SaraiNoQ/covid_maga | e2015ba0b3f3d8db8576f36d7b23575f7b1d2574 | [
"MIT"
] | null | null | null | server/src/constants/err.type.js | SaraiNoQ/covid_maga | e2015ba0b3f3d8db8576f36d7b23575f7b1d2574 | [
"MIT"
] | null | null | null | // constant error info
module.exports = {
userFormatError: {
code: '10001',
message: 'account or password is null!',
result: ''
},
userAlreadyExited: {
code: '10002',
message: 'account duplicate (has exited) !',
result: ''
},
userRegisterError: {
code: '10003',
message: 'register error!',
result:... | 18.441489 | 57 | 0.618979 |
b509305b41c20896d4cf6eca4d7940bc843e7cd3 | 555 | js | JavaScript | lib/script.js | Marconi-Lab/evaluation_system | bf5f6c70a344270372f21b7170317742b423f56e | [
"MIT"
] | null | null | null | lib/script.js | Marconi-Lab/evaluation_system | bf5f6c70a344270372f21b7170317742b423f56e | [
"MIT"
] | 6 | 2021-12-03T20:55:40.000Z | 2021-12-03T22:37:06.000Z | lib/script.js | Marconi-Lab/evaluation_system | bf5f6c70a344270372f21b7170317742b423f56e | [
"MIT"
] | 3 | 2021-12-03T10:15:03.000Z | 2021-12-04T21:01:08.000Z | const { PrismaClient } = require('@prisma/client')
const prisma = new PrismaClient()
// A `main` function so that you can use async/await
export async function main(some_work) {
// ... you will write your Prisma Client queries here
const user_one = await prisma.user.create({
data: {
name: "user.nickname... | 20.555556 | 55 | 0.6 |
b50a6f9dbf7986b85861821770cb682e8f31a9bb | 688 | js | JavaScript | src/server/server.js | duro/react-redux-webpack-univeral-starter | d64982bd3b8977db6978a7ff9a7360b698aec251 | [
"MIT"
] | null | null | null | src/server/server.js | duro/react-redux-webpack-univeral-starter | d64982bd3b8977db6978a7ff9a7360b698aec251 | [
"MIT"
] | null | null | null | src/server/server.js | duro/react-redux-webpack-univeral-starter | d64982bd3b8977db6978a7ff9a7360b698aec251 | [
"MIT"
] | null | null | null | import Glue from 'glue'
import Manifest from 'server/manifest'
import ServerConfig from 'server/config'
const composeOptions = {
relativeTo: __dirname
};
const Composer = module.exports = Glue.compose.bind(Glue, Manifest.get('/'), composeOptions);
Composer((err, server) => {
if (err) throw err;
server.log([... | 26.461538 | 144 | 0.622093 |
b51008d294207c57e64da73efe786dfedc5b71ae | 702 | js | JavaScript | src/App.js | lysprestes/trybe-online-store | 271f87ad3aa447181a466c19eb494adf7b3f5f6d | [
"MIT"
] | null | null | null | src/App.js | lysprestes/trybe-online-store | 271f87ad3aa447181a466c19eb494adf7b3f5f6d | [
"MIT"
] | null | null | null | src/App.js | lysprestes/trybe-online-store | 271f87ad3aa447181a466c19eb494adf7b3f5f6d | [
"MIT"
] | null | null | null | import React from 'react';
import { Route, Switch, BrowserRouter } from 'react-router-dom';
import './App.css';
import Home from './pages/Home';
import ShoppingCart from './pages/ShoppingCart';
import ProductDetails from './pages/ProductDetails';
import Checkout from './pages/Checkout';
import 'bootstrap/dist/css/boots... | 29.25 | 66 | 0.659544 |
b51045f6441b7d6214b02fe2ef37ad12fa72627f | 949 | js | JavaScript | rules/limit-language-features.js | Kin-Carta-Connect/stylelint-conf | 9b381f5bca23737cf4ddb41732ac149d11012886 | [
"MIT"
] | null | null | null | rules/limit-language-features.js | Kin-Carta-Connect/stylelint-conf | 9b381f5bca23737cf4ddb41732ac149d11012886 | [
"MIT"
] | 39 | 2020-12-21T07:25:15.000Z | 2022-03-28T16:26:33.000Z | rules/limit-language-features.js | Kin-Carta-Connect/stylelint-config | 9b381f5bca23737cf4ddb41732ac149d11012886 | [
"MIT"
] | null | null | null | module.exports = {
"number-max-precision": 6,
"shorthand-property-no-redundant-values": true,
"value-no-vendor-prefix": true,
"property-no-vendor-prefix": true,
"declaration-block-no-redundant-longhand-properties": true,
"declaration-no-important": true,
"declaration-block-single-line-max-declarations": 1,
// D... | 36.5 | 141 | 0.685985 |
b51126c541b933a54ed2818468a02fc23f19e3a5 | 2,627 | js | JavaScript | site/src/meta.js | sevka/orc-data | 5663a01c4936f7ee27fb2f5086ed9ae30b12d17d | [
"MIT"
] | null | null | null | site/src/meta.js | sevka/orc-data | 5663a01c4936f7ee27fb2f5086ed9ae30b12d17d | [
"MIT"
] | null | null | null | site/src/meta.js | sevka/orc-data | 5663a01c4936f7ee27fb2f5086ed9ae30b12d17d | [
"MIT"
] | null | null | null | var d3 = require('d3');
var polarcsv = require('./polar-csv.js').export;
var polartable = require('./polartable.js');
var meta = d3.select('#meta').attr('class', 'meta');
function metaItem (label, className, contents, title) {
var className = 'meta-label' + (className ? ' ' + className : '');
var title = tit... | 38.072464 | 120 | 0.522649 |
b5139217a1d1a85beb076793969f0df6ebb1c036 | 2,525 | js | JavaScript | js/src/components/Controls/FontSize/Component/index.js | understory-dev/react-draft-wysiwyg | 6a67ffa63227790ff960f05d1c79e5c9d91fc9b4 | [
"MIT"
] | null | null | null | js/src/components/Controls/FontSize/Component/index.js | understory-dev/react-draft-wysiwyg | 6a67ffa63227790ff960f05d1c79e5c9d91fc9b4 | [
"MIT"
] | 5 | 2017-12-01T19:11:55.000Z | 2018-02-06T21:24:07.000Z | js/src/components/Controls/FontSize/Component/index.js | understory-dev/react-draft-wysiwyg | 6a67ffa63227790ff960f05d1c79e5c9d91fc9b4 | [
"MIT"
] | null | null | null | /* @flow */
import React, { Component } from 'react';
import PropTypes from 'prop-types';
import classNames from 'classnames';
import { Dropdown, DropdownOption } from '../../../Dropdown';
import styles from './styles.css'; // eslint-disable-line no-unused-vars
export default class LayoutComponent extends Component ... | 28.370787 | 81 | 0.588911 |
b515f0faeff3ded398b72f4790bad56aed28a015 | 529 | js | JavaScript | src/Muck_V2.1/LineCheck/Layout.js | G-Pig/Extra | 89da377325be8609081883b103d37f97d5f368da | [
"MIT"
] | null | null | null | src/Muck_V2.1/LineCheck/Layout.js | G-Pig/Extra | 89da377325be8609081883b103d37f97d5f368da | [
"MIT"
] | null | null | null | src/Muck_V2.1/LineCheck/Layout.js | G-Pig/Extra | 89da377325be8609081883b103d37f97d5f368da | [
"MIT"
] | null | null | null | /**
* Created by liulin on 2017/9/1.
*/
ES.Muck.Layout= ES.Muck.BaseLayout.extend({
initUI: function () {
// 主地图显示
$('.ex-layout-content').css({ height: $(window).height() , width: $(window).width() - this.oOption.nWidth });
var $dtGridCantrain = $('.dt-grid-container');
var $f... | 33.0625 | 156 | 0.589792 |
b5164328a0a75e8b53ed2ef5c2040e179c8626a3 | 993 | js | JavaScript | app/modules/create-job/controllers/create-job.ctrl.js | stackdot/cuid | 802937a05b028ab5b4bbc2341f9f165c9e348d49 | [
"MIT"
] | null | null | null | app/modules/create-job/controllers/create-job.ctrl.js | stackdot/cuid | 802937a05b028ab5b4bbc2341f9f165c9e348d49 | [
"MIT"
] | null | null | null | app/modules/create-job/controllers/create-job.ctrl.js | stackdot/cuid | 802937a05b028ab5b4bbc2341f9f165c9e348d49 | [
"MIT"
] | null | null | null | // create-job controller:
// const Later = require('later')
const PrettyCron = require('prettycron')
const lodash = require('lodash')
module.exports = ( $scope, $state, createJobService ) => {
var self = this
$scope.cron = {
name: 'New Cron',
description: 'My new cron description',
cron: '0,30 * * * *'
}
... | 21.586957 | 58 | 0.612286 |
b518895f9e9959d776502ea7b53a38a7bcaefaa1 | 5,595 | js | JavaScript | dist/js/kategoriCamp.js | nurulfauziahh/wedding | 264e5780c775976ac2ae9129a8d7669e5bf50b6a | [
"MIT"
] | null | null | null | dist/js/kategoriCamp.js | nurulfauziahh/wedding | 264e5780c775976ac2ae9129a8d7669e5bf50b6a | [
"MIT"
] | null | null | null | dist/js/kategoriCamp.js | nurulfauziahh/wedding | 264e5780c775976ac2ae9129a8d7669e5bf50b6a | [
"MIT"
] | null | null | null |
const database = firebase.firestore();
const userCollection = database.collection('Kategori');
var statusAdd = false;
$("#add-kategori-button").click(function(){
var kategori = {
namaKat: $("#namaKategoriAdd").val(),
gambarKat: $("#gambarKategoriAdd").val(),
// tanggal: firebase.firestore.FieldValue.ser... | 30.407609 | 197 | 0.594459 |
b519e902dad988add3b9476f390d5c80189feba5 | 256 | js | JavaScript | frontend/src/widgets/CareForm/service.js | PSW-ISA-G4-MNS/PSW-ISA | f96858c64b91f7b61e8995e59154d6df36f3a970 | [
"MIT"
] | null | null | null | frontend/src/widgets/CareForm/service.js | PSW-ISA-G4-MNS/PSW-ISA | f96858c64b91f7b61e8995e59154d6df36f3a970 | [
"MIT"
] | 1 | 2022-01-21T23:35:26.000Z | 2022-01-21T23:35:26.000Z | frontend/src/widgets/CareForm/service.js | PSW-ISA-G4-MNS/PSW-ISA | f96858c64b91f7b61e8995e59154d6df36f3a970 | [
"MIT"
] | null | null | null | import { API_URL } from "./../../config";
import axios from "axios"
export default class CareFormService
{
constructor(self)
{
this.self = self;
}
static submit(x)
{
return axios.post(API_URL + "/care/", x);
}
} | 16 | 49 | 0.558594 |
6febc8403c3b5a4968a8fe09b076a740ce8834f9 | 501 | js | JavaScript | javascripts/jquery_rails_ujs_helper.js | pixelvitamina/jquery_rails_ujs_helper | 00539a285a77b8cd66c445f88fd7055807845af6 | [
"MIT"
] | 1 | 2016-05-09T02:55:51.000Z | 2016-05-09T02:55:51.000Z | javascripts/jquery_rails_ujs_helper.js | pixelvitamina/jquery_rails_ujs_helper | 00539a285a77b8cd66c445f88fd7055807845af6 | [
"MIT"
] | null | null | null | javascripts/jquery_rails_ujs_helper.js | pixelvitamina/jquery_rails_ujs_helper | 00539a285a77b8cd66c445f88fd7055807845af6 | [
"MIT"
] | null | null | null |
// Ajaxify links and form elements with ujs class
$(document).ready(function() {
$('a.ujs').click(function() {return false;});
$('form.ujs').submit(function() {
$.ajax({
data: $.param($(this).serializeArray()),
dataType: 'script',
type: 'post',
url: $(this).attr('action')
});
$(this).reset(); ... | 21.782609 | 86 | 0.62475 |
6ff272bb4ebcdda27bb566b12ec4d0455f775305 | 3,936 | js | JavaScript | themes/Basic/Gruntfile.js | WasabiCMS/wasabi | e020c02d576ed9b3606b4740376d285e18e7c0c9 | [
"MIT"
] | 1 | 2016-06-30T22:58:06.000Z | 2016-06-30T22:58:06.000Z | themes/Basic/Gruntfile.js | WasabiCMS/wasabi | e020c02d576ed9b3606b4740376d285e18e7c0c9 | [
"MIT"
] | null | null | null | themes/Basic/Gruntfile.js | WasabiCMS/wasabi | e020c02d576ed9b3606b4740376d285e18e7c0c9 | [
"MIT"
] | null | null | null | module.exports = function(grunt) {
"use strict";
require('jit-grunt')(grunt);
require('time-grunt')(grunt);
grunt.initConfig({
//-------------------------------------------- STYLE PROCESSING --------------------------------------------------//
less: {
frontend: {
options: {
so... | 27.71831 | 167 | 0.4375 |
6ff3caa6c11d86727fdcedccba98cb7d79e4fc61 | 1,672 | js | JavaScript | cli.js | abranhe/abranhe-feedback | 1bd24a89c911339c5d2ec1eed1e9084374c48ef1 | [
"MIT"
] | 2 | 2018-08-14T04:30:08.000Z | 2018-10-14T06:42:32.000Z | cli.js | abranhe/abranhe-feedback | 1bd24a89c911339c5d2ec1eed1e9084374c48ef1 | [
"MIT"
] | null | null | null | cli.js | abranhe/abranhe-feedback | 1bd24a89c911339c5d2ec1eed1e9084374c48ef1 | [
"MIT"
] | null | null | null | #!/usr/bin/env node
'use strict';
const meow = require('meow');
const username = require('username');
const open = require('opn');
const capitalize = require('capitalize');
const feedback = require('./index.js');
const cli = meow(`
Usage
$ abranhe-feedback <option>
Options
-h, --help Show this messa... | 20.390244 | 75 | 0.587321 |
6fe9f0d33c99ba8cd6c0d3301c4c63bbe220441e | 736 | js | JavaScript | eletivaspro/aluno_frontend/src/containers/LanguageProvider/selectors.js | flavioVitoriano/EletivasPro | 34447081a1923286d78c56bd1f019214a8b25999 | [
"MIT"
] | 4 | 2018-11-22T22:29:21.000Z | 2019-01-31T17:57:16.000Z | eletivaspro/aluno_frontend/internals/templates/containers/LanguageProvider/selectors.js | luckysora/EletivasPro | 34447081a1923286d78c56bd1f019214a8b25999 | [
"MIT"
] | 11 | 2021-03-19T12:20:56.000Z | 2022-03-12T00:47:14.000Z | eletivaspro/aluno_frontend/internals/templates/containers/LanguageProvider/selectors.js | flavioVitoriano/EletivasPro | 34447081a1923286d78c56bd1f019214a8b25999 | [
"MIT"
] | 2 | 2018-11-22T22:37:58.000Z | 2018-11-22T22:49:20.000Z | /**
*
* LanguageProvider selectors
*
*/
import { createSelector } from 'reselect';
import { initialState } from './reducer';
/**
* Direct selector to the languageProvider state domain
*/
const selectLanguageProviderDomain = state =>
state.languageProvider || initialState;
/**
* Other specific selectors
*... | 18.4 | 58 | 0.726902 |
b508d2069a6d91ece28f4c577032e09256a22bd0 | 1,277 | js | JavaScript | lib/ClassHelpers.js | techery/janet-ts | 0ca74a329b41f771c1342dfa804503b810d5ae51 | [
"MIT"
] | 5 | 2017-09-08T12:01:28.000Z | 2019-02-05T19:47:36.000Z | lib/ClassHelpers.js | techery/janet-ts | 0ca74a329b41f771c1342dfa804503b810d5ae51 | [
"MIT"
] | null | null | null | lib/ClassHelpers.js | techery/janet-ts | 0ca74a329b41f771c1342dfa804503b810d5ae51 | [
"MIT"
] | null | null | null | "use strict";
Object.defineProperty(exports, "__esModule", { value: true });
function getClassName(constructor) {
var funcNameRegex = new RegExp("function (\\w+)\\(");
var results = (funcNameRegex).exec(constructor.toString());
return (results && results.length > 1) ? results[1] : "";
}
exports.getClassName... | 34.513514 | 82 | 0.671104 |
b5110e4e421275ad3c29bcb26958bdc029100c36 | 17,232 | js | JavaScript | help/PE.js | kcomain/Detect-It-Easy | b80d655ef54f7d3f14192c03f5207018aa6835a4 | [
"MIT"
] | 1 | 2019-02-06T14:36:45.000Z | 2019-02-06T14:36:45.000Z | help/PE.js | kwl3434/Detect-It-Easy | 9f418121c83ef9c88421f2a19f1493a61c1ea8ce | [
"MIT"
] | null | null | null | help/PE.js | kwl3434/Detect-It-Easy | 9f418121c83ef9c88421f2a19f1493a61c1ea8ce | [
"MIT"
] | null | null | null | /**
* @class
* @classdesc This is a description of the PE class.
*/
function PE(){}
/**
* @see Binary.calculateEntropy
*/
PE.calculateEntropy=function(nOffset,nSize){}
/**
* @see Binary.calculateMD5
*/
PE.calculateMD5=function(nOffset,nSize){}
/**
* Calculate the size of the headers.
* @returns {UInt}
*/
PE.c... | 24.829971 | 174 | 0.657904 |
6ff3cee220c545d6ae4a1d1478267433f69cb43f | 8,593 | js | JavaScript | docs/doxygen/html/search/all_12.js | QiuAhha/NumCpp | 3d7c09fe004d7cd414dc657fc1603940dc617cb8 | [
"MIT"
] | 1 | 2019-06-17T02:04:04.000Z | 2019-06-17T02:04:04.000Z | docs/doxygen/html/search/all_12.js | QiuAhha/NumCpp | 3d7c09fe004d7cd414dc657fc1603940dc617cb8 | [
"MIT"
] | null | null | null | docs/doxygen/html/search/all_12.js | QiuAhha/NumCpp | 3d7c09fe004d7cd414dc657fc1603940dc617cb8 | [
"MIT"
] | null | null | null | var searchData=
[
['ra',['RA',['../classnc_1_1coordinates_1_1_r_a.html',1,'nc::coordinates::RA'],['../classnc_1_1coordinates_1_1_r_a.html#aecba08a8023c2db83cad9a4081acc2f8',1,'nc::coordinates::RA::RA() noexcept=default'],['../classnc_1_1coordinates_1_1_r_a.html#ab14fd57fb6ab65c4d8ca668d549a507f',1,'nc::coordinates::R... | 214.825 | 816 | 0.766903 |
b504e281d8827c870fff9816696e799badc5c877 | 351 | js | JavaScript | client/src/views/styles/MediatoSearchBox.js | rogercp/BravFrontEndDeploy | 2f00a42d98f011338e7b1287b17a046ce2aa9fed | [
"MIT"
] | 2 | 2019-08-24T18:46:42.000Z | 2020-01-29T05:31:18.000Z | client/src/views/styles/MediatoSearchBox.js | rogercp/Frontend | 78670f0896da43ef6d538f753d6c6fdee247052f | [
"MIT"
] | 17 | 2019-07-12T20:48:43.000Z | 2022-02-26T15:11:13.000Z | client/src/views/styles/MediatoSearchBox.js | rogercp/Frontend | 78670f0896da43ef6d538f753d6c6fdee247052f | [
"MIT"
] | 5 | 2019-09-11T20:34:40.000Z | 2019-09-13T20:51:42.000Z | // /**
// * Dependencies
// */
// import { styled } from '@material-ui/styles';
// /**
// * Define style
// */
// const MediatorSearchBox=styled('div')({
// paddingTop:"10%",
// display:"flex",
// justifyContent:"space around",
// alignItems:"center"
// });
// /**
// * Export style
// */
// ex... | 16.714286 | 48 | 0.54416 |
b514e36c10763bf36b6335d00dcdf2bac0d1b389 | 682 | js | JavaScript | src/server/db/queries/products.js | jeneser/smart-pos-api | 2143724420ac85bbd4ec7196c051e2c9a8d5c18e | [
"MIT"
] | 1 | 2020-02-12T23:12:09.000Z | 2020-02-12T23:12:09.000Z | src/server/db/queries/products.js | jeneser/smart-pos-api | 2143724420ac85bbd4ec7196c051e2c9a8d5c18e | [
"MIT"
] | 6 | 2020-07-17T00:13:38.000Z | 2022-03-08T22:45:10.000Z | src/server/db/queries/products.js | jeneser/smart-pos-api | 2143724420ac85bbd4ec7196c051e2c9a8d5c18e | [
"MIT"
] | null | null | null | const knex = require('../connection');
function getAllProducts() {
return knex('products').select('*');
}
function getSingleProduct(id) {
return knex('products')
.select('*')
.where({ itemId: id });
}
function addProduct(movie) {
return knex('products')
.insert(movie)
.returning('*');
}
functi... | 17.05 | 38 | 0.627566 |
b51ab4e95bed284c735acc8df2d4197013afcf7b | 1,761 | js | JavaScript | hwdisk/hwdisk.js | molda/flow-components | 579e476f041b7beeef7d7e26c1a75fe592b9ad43 | [
"MIT"
] | 4 | 2019-02-03T18:18:07.000Z | 2020-02-17T03:19:28.000Z | hwdisk/hwdisk.js | molda/flow-components | 579e476f041b7beeef7d7e26c1a75fe592b9ad43 | [
"MIT"
] | null | null | null | hwdisk/hwdisk.js | molda/flow-components | 579e476f041b7beeef7d7e26c1a75fe592b9ad43 | [
"MIT"
] | null | null | null | exports.id = 'hwdisk';
exports.title = 'Disk';
exports.version = '1.0.0';
exports.author = 'Martin Smola';
exports.group = 'Hardware monitor';
exports.color = '#F6BB42';
exports.input = 1;
exports.output = 1;
exports.icon = 'hdd-o';
exports.options = { path: '/' };
exports.readme = `# Disk monitoring
This component mo... | 25.521739 | 94 | 0.641681 |
b5091bb45fb8fde77000410501297d4b0a325ab3 | 4,223 | js | JavaScript | demo/detectBrowser.js | wgkoro/detectbrowser | 10aa773f432bc317ab7bab0d84f62ec7e0a07a5b | [
"MIT"
] | 5 | 2015-01-02T11:42:53.000Z | 2020-03-04T06:41:00.000Z | src/detectBrowser.js | wgkoro/detectbrowser | 10aa773f432bc317ab7bab0d84f62ec7e0a07a5b | [
"MIT"
] | null | null | null | src/detectBrowser.js | wgkoro/detectbrowser | 10aa773f432bc317ab7bab0d84f62ec7e0a07a5b | [
"MIT"
] | null | null | null | /**
* detectBrowser.js
* Version: 1.0.1
*
* A tool discern browser and device user using.
*
* This detects
* - device (PC / Android / iPhone / iPad / Windows Phone)
* - tablet or not
* - browser (InternetExplorer, Firefox, Chrome, Safari, Opera)
* - browser version (IE only)
*
* Copyright (c) 2013 wgkoro (... | 20.6 | 97 | 0.6287 |
6ff41dff10834a8b979e092e94aabfe33decce76 | 10,284 | js | JavaScript | node_modules/mathjs/test/function/relational/compareNatural.test.js | lydiaxing/snail-motion-profiles2 | d219537072be30dad14be3227ee4ca8780e05d72 | [
"MIT"
] | 25 | 2018-03-28T10:17:20.000Z | 2020-03-20T03:28:34.000Z | node_modules/mathjs/test/function/relational/compareNatural.test.js | Alekcy/vacancy-analysis | 0938e90db8827ac33036996b8492df4ebce0ad0c | [
"MIT"
] | 2 | 2018-03-29T04:13:06.000Z | 2018-03-29T09:02:05.000Z | node_modules/mathjs/test/function/relational/compareNatural.test.js | Alekcy/vacancy-analysis | 0938e90db8827ac33036996b8492df4ebce0ad0c | [
"MIT"
] | 11 | 2018-03-28T10:47:44.000Z | 2019-08-31T04:16:39.000Z | // test compareNatural
var assert = require('assert');
var math = require('../../../index');
var bignumber = math.bignumber;
var complex = math.complex;
var matrix = math.matrix;
var sparse = math.sparse;
var unit = math.unit;
var compareNatural = math.compareNatural;
describe('compareNatural', function() {
it('sho... | 41.301205 | 154 | 0.65986 |
b510e7e5e8510f8ab5141012441c9184a3264768 | 423 | js | JavaScript | components/Header.js | mdheller/reddigg | 9d5f2433285d0ca611fd79a1fc127cba7f312e04 | [
"MIT"
] | 1 | 2020-06-23T07:49:38.000Z | 2020-06-23T07:49:38.000Z | components/Header.js | mdheller/reddigg | 9d5f2433285d0ca611fd79a1fc127cba7f312e04 | [
"MIT"
] | null | null | null | components/Header.js | mdheller/reddigg | 9d5f2433285d0ca611fd79a1fc127cba7f312e04 | [
"MIT"
] | null | null | null | import { Button, Jumbotron } from 'react-bootstrap';
import FontAwesome from 'react-fontawesome';
export default () => (
<div>
<Jumbotron>
<h1>Reddigg</h1>
<p>A Reddit/Digg clone by @indocomsoft, hence the portmanteau name!</p>
<a href="https://github.com/indocomsoft/reddigg">
<Button b... | 28.2 | 79 | 0.635934 |
b5136523d1fd00702ec07ac9011158f7a5066177 | 23 | js | JavaScript | examples/simple/src/javascripts/pathSplit-foo.js | aokiken/gulp-pug-template-underscore | 7367a20e4a9c8e765b5e1d9224417bd61b039795 | [
"MIT"
] | 1 | 2020-07-23T13:05:28.000Z | 2020-07-23T13:05:28.000Z | examples/simple/src/javascripts/pathSplit-foo.js | aokiken/gulp-pug-template-underscore | 7367a20e4a9c8e765b5e1d9224417bd61b039795 | [
"MIT"
] | 10 | 2016-08-17T22:55:04.000Z | 2019-09-18T03:27:27.000Z | examples/simple/src/javascripts/pathSplit-foo.js | aokiken/gulp-pug-template-underscore | 7367a20e4a9c8e765b5e1d9224417bd61b039795 | [
"MIT"
] | null | null | null | _.template('nest/foo'); | 23 | 23 | 0.695652 |
6ff4e0c73bdd9e21e9c8a3e4682cdbda183f86c7 | 1,817 | js | JavaScript | src/main/resources/static/js/userCreation.js | CarolineS-QA/hwa-game-time-log | e3b0c38b402364d5e2b040f49fb181b16b0f0884 | [
"MIT"
] | 1 | 2020-10-16T11:10:27.000Z | 2020-10-16T11:10:27.000Z | src/main/resources/static/js/userCreation.js | CarolineS-QA/hwa-game-time-log | e3b0c38b402364d5e2b040f49fb181b16b0f0884 | [
"MIT"
] | 74 | 2020-05-06T11:42:03.000Z | 2020-08-04T15:05:53.000Z | src/main/resources/static/js/userCreation.js | CarolineS-QA/hwa-game-time-log | e3b0c38b402364d5e2b040f49fb181b16b0f0884 | [
"MIT"
] | 1 | 2020-06-11T10:11:50.000Z | 2020-06-11T10:11:50.000Z | let submitCreateUser = document.querySelector("#bSubmit");
const REQ = new XMLHttpRequest();
function postNewUser() {
let username = document.getElementById("username").value;
let freeTimeHours = document.getElementById("freeTimeHours").valueAsNumber;
let freeTimeMinutes = document.getElementById("freeTime... | 35.627451 | 83 | 0.617501 |
6fea4761c121433045a5dbddfe47a9762424b211 | 132 | js | JavaScript | doc/html/search/functions_6d.js | DimitrisVlachos/INTEL-AYC-2013SUMMER--2ND-PLACE-SOLUTION | 94a0a4ad8b423c081061515f334e932fa9206f57 | [
"MIT"
] | 1 | 2020-12-07T19:42:38.000Z | 2020-12-07T19:42:38.000Z | doc/html/search/functions_6d.js | DimitrisVlachos/INTEL-AYC-2013SUMMER--2ND-PLACE-SOLUTION | 94a0a4ad8b423c081061515f334e932fa9206f57 | [
"MIT"
] | null | null | null | doc/html/search/functions_6d.js | DimitrisVlachos/INTEL-AYC-2013SUMMER--2ND-PLACE-SOLUTION | 94a0a4ad8b423c081061515f334e932fa9206f57 | [
"MIT"
] | 1 | 2020-12-07T19:42:41.000Z | 2020-12-07T19:42:41.000Z | var searchData=
[
['match_5ftemplate',['match_template',['../main_8cpp.html#a02f38ff47a6797124d1f6f09573d9ad3',1,'main.cpp']]]
];
| 26.4 | 110 | 0.734848 |
6ff59c4f622e7b45cf7cf52c6da9528f45398b49 | 338 | js | JavaScript | app/src/components/Navbar/tests/index.test.js | RyanCCollins/code-review-app | c447cd43e0d0392e9975636888350f8d76af0178 | [
"MIT"
] | 23 | 2016-10-08T08:44:11.000Z | 2021-02-04T22:17:57.000Z | app/src/components/Navbar/tests/index.test.js | RyanCCollins/code-review-app | c447cd43e0d0392e9975636888350f8d76af0178 | [
"MIT"
] | 5 | 2020-06-25T09:47:16.000Z | 2022-02-26T07:05:50.000Z | app/src/components/Navbar/tests/index.test.js | RyanCCollins/code-review-app | c447cd43e0d0392e9975636888350f8d76af0178 | [
"MIT"
] | 9 | 2016-10-14T19:37:52.000Z | 2021-07-06T05:16:46.000Z | import { shallow } from 'enzyme';
import React from 'react';
import { shallowToJson } from 'enzyme-to-json';
import Navbar from '../index';
describe('<Navbar />', () => {
it('should render with default props', () => {
const wrapper = shallow(
<Navbar />
);
expect(shallowToJson(wrapper)).toMatchSnap... | 24.142857 | 53 | 0.618343 |
6ff5a1360f1fb8987d9b6c17a9296dfb6c835152 | 12,683 | js | JavaScript | test/test-objects.js | telnetbot-com/rivescript-js | 441f6e13918b4ff33b3e8881133c32304a6ed615 | [
"MIT"
] | 2 | 2021-03-18T17:02:44.000Z | 2021-04-15T10:51:30.000Z | test/test-objects.js | telnetbot-com/rivescript-js | 441f6e13918b4ff33b3e8881133c32304a6ed615 | [
"MIT"
] | null | null | null | test/test-objects.js | telnetbot-com/rivescript-js | 441f6e13918b4ff33b3e8881133c32304a6ed615 | [
"MIT"
] | null | null | null | var TestCase = require("./test-base");
//###############################################################################
// Object Macro Tests
//###############################################################################
exports.test_js_objects = async function(test) {
var bot;
bot = new TestCase(test, `
> obj... | 28.247216 | 98 | 0.656154 |
b502b31aeb75a67cdcc311cd29b7a9abea2e51c9 | 550 | js | JavaScript | nextjs/test/integration/babel-custom/test/index.test.js | benjakugler96/blitz | 1e39604ae10366c1fc741a7badd5a06a798cbe70 | [
"MIT"
] | 2 | 2021-06-11T06:51:54.000Z | 2021-06-12T16:11:08.000Z | nextjs/test/integration/babel-custom/test/index.test.js | benjakugler96/blitz | 1e39604ae10366c1fc741a7badd5a06a798cbe70 | [
"MIT"
] | null | null | null | nextjs/test/integration/babel-custom/test/index.test.js | benjakugler96/blitz | 1e39604ae10366c1fc741a7badd5a06a798cbe70 | [
"MIT"
] | 1 | 2021-06-22T03:17:22.000Z | 2021-06-22T03:17:22.000Z | /* eslint-env jest */
import { join } from 'path'
import { nextBuild } from 'next-test-utils'
jest.setTimeout(1000 * 60 * 5)
describe('Babel', () => {
it('should allow setting babelrc env', async () => {
await nextBuild(join(__dirname, '../fixtures/babel-env'))
})
it('should allow setting targets.browsers... | 26.190476 | 68 | 0.643636 |
b50c6f642ac83e49470ded314e7322809a5b37cc | 405 | js | JavaScript | src/sources/CORSImage.js | awentzonline/doppelchat | 6734f2cf2e278e4acc97bd7df77006ab3fe96b37 | [
"MIT"
] | 6 | 2015-10-27T02:27:59.000Z | 2021-06-19T15:27:34.000Z | src/sources/CORSImage.js | awentzonline/doppelchat | 6734f2cf2e278e4acc97bd7df77006ab3fe96b37 | [
"MIT"
] | null | null | null | src/sources/CORSImage.js | awentzonline/doppelchat | 6734f2cf2e278e4acc97bd7df77006ab3fe96b37 | [
"MIT"
] | null | null | null | let $ = require('jquery');
export default class CORSImage {
static checkURL(url, onSuccess, onFail) {
var img = document.createElement('img');
img.crossOrigin = 'Anonymous';
img.onerror = (err) => {
onFail('Could not load image. Maybe they don\'t allow cross-domain requests.');
};
... | 25.3125 | 87 | 0.562963 |
6ff6aa664160c5392e2175cfc42dc35e17041238 | 589 | js | JavaScript | frontend/mono-ui/web/dss-dashboard/src/index.js | pradeepkumarcm-egov/DIGIT-Dev | d8fb601fae6d919d2386f36b36dfc7fde77ebd4f | [
"MIT"
] | 11 | 2021-04-22T13:18:00.000Z | 2021-07-13T06:24:48.000Z | frontend/mono-ui/web/dss-dashboard/src/index.js | pradeepkumarcm-egov/DIGIT-Dev | d8fb601fae6d919d2386f36b36dfc7fde77ebd4f | [
"MIT"
] | 2,489 | 2019-12-05T11:56:06.000Z | 2022-03-31T23:05:12.000Z | frontend/mono-ui/web/dss-dashboard/src/index.js | pradeepkumarcm-egov/DIGIT-Dev | d8fb601fae6d919d2386f36b36dfc7fde77ebd4f | [
"MIT"
] | 65 | 2019-11-29T10:08:05.000Z | 2021-09-24T09:48:03.000Z | import React from 'react';
import ReactDOM from 'react-dom';
import { Provider } from 'react-redux'
// import configureStore from '../store';
import { BrowserRouter } from 'react-router-dom';
import storeFactory from './store/store';
import App from './App';
import 'typeface-roboto';
//import registerServiceWorker from... | 28.047619 | 62 | 0.692699 |
b518061aaeeb8b2d2aaa89e77cdaa392bf70bcb5 | 576 | js | JavaScript | routes/index.js | Healthstart/health-start-back-end | ef990a07448994b54e24fc05b2481d8578c15091 | [
"MIT"
] | 1 | 2021-08-31T08:53:34.000Z | 2021-08-31T08:53:34.000Z | routes/index.js | Healthstart/health-start-back-end | ef990a07448994b54e24fc05b2481d8578c15091 | [
"MIT"
] | null | null | null | routes/index.js | Healthstart/health-start-back-end | ef990a07448994b54e24fc05b2481d8578c15091 | [
"MIT"
] | null | null | null | const express = require("express");
const router = express.Router();
const con = require("../db/mysql");
const verifyToken = require("./middlewares/authorization");
router.get("/profile", verifyToken, (req, res, next) => {
const sql = "SELECT name, sub_date FROM users WHERE email=?";
con.query(sql, [res.locals.ema... | 26.181818 | 63 | 0.609375 |
6fea4bc8189df4a0aeefc1f885dcf19930f6d1af | 9,537 | js | JavaScript | src/fileformats/fasttracker.js | Rorkien/pasuuna-player | e36c6518fd38338fc74732aa918ffafb67accee5 | [
"MIT"
] | 3 | 2020-07-29T17:59:42.000Z | 2021-09-05T06:34:57.000Z | src/fileformats/fasttracker.js | Rorkien/pasuuna-player | e36c6518fd38338fc74732aa918ffafb67accee5 | [
"MIT"
] | 3 | 2021-03-09T02:11:06.000Z | 2022-02-12T08:12:08.000Z | src/fileformats/fasttracker.js | Rorkien/pasuuna-player | e36c6518fd38338fc74732aa918ffafb67accee5 | [
"MIT"
] | 2 | 2020-07-29T18:07:20.000Z | 2021-02-07T20:13:10.000Z | import { Sample } from '../models/sample';
import { Note } from '../models/note';
import { Instrument } from '../models/instrument';
import { EVENT, LOOPTYPE, TRACKERMODE } from '../enum';
import { processEnvelope, checkEnvelope } from '../lib/util';
import { events } from '../events';
export class FastTracker {
cons... | 32.438776 | 189 | 0.653979 |
b5029838258e962cecd798af7e4924127f127e9a | 9,836 | js | JavaScript | server/routes.js | jlvoiseux/opbeans-node | e561abdd26edaaefdfb79696895a3db40a6c7f88 | [
"MIT"
] | 32 | 2018-08-06T21:47:36.000Z | 2021-09-29T23:09:06.000Z | server/routes.js | jlvoiseux/opbeans-node | e561abdd26edaaefdfb79696895a3db40a6c7f88 | [
"MIT"
] | 90 | 2018-07-25T07:22:55.000Z | 2022-03-30T16:31:04.000Z | server/routes.js | jlvoiseux/opbeans-node | e561abdd26edaaefdfb79696895a3db40a6c7f88 | [
"MIT"
] | 28 | 2018-07-25T07:15:10.000Z | 2022-03-05T18:28:27.000Z | 'use strict'
const apm = require('elastic-apm-node')
const express = require('express')
const afterAll = require('after-all-results')
const db = require('./db')
const redis = require('./redis')
const accounting = require('./accounting')
const app = module.exports = new express.Router()
app.get('/stats', function (re... | 28.844575 | 143 | 0.588756 |
6fee81543c203f31dfade98906387d2603c0ad92 | 405 | js | JavaScript | api/class/chart/chart.js | acharts/acharts | 8f8cc37c9d65356099ad4e5d7657a453e3a9c175 | [
"MIT"
] | 194 | 2015-01-13T08:36:55.000Z | 2021-11-08T10:14:42.000Z | api/class/chart/chart.js | lsx459/acharts | 8f8cc37c9d65356099ad4e5d7657a453e3a9c175 | [
"MIT"
] | 13 | 2015-04-11T13:55:16.000Z | 2018-03-12T15:02:56.000Z | api/class/chart/chart.js | lsx459/acharts | 8f8cc37c9d65356099ad4e5d7657a453e3a9c175 | [
"MIT"
] | 86 | 2015-01-04T01:58:31.000Z | 2021-07-29T07:31:30.000Z | function mix(obj1,obj2){
}
var chart = [
{
text: 'width',
dataType: 'number',
desc: '指定图表的宽度'
},
{
text: 'height',
dataType: 'number',
desc: '指定图表的高度'
},
{
text: 'legend',
dataType: 'object',
desc: '用图标展示各个序列',
children: [
{
text: 'spacingX',
dataType: 'numbe... | 13.064516 | 24 | 0.501235 |
b50ab68b85019a8498fb56cf9d98c958993aa63c | 107 | js | JavaScript | app/containers/MapPage/MapContainer/styles.js | bobrovova/explorer | 1b1ed85d3b46af0d9446d4504027515b01c75dda | [
"MIT"
] | 9 | 2018-11-05T05:46:06.000Z | 2021-12-17T06:30:48.000Z | app/containers/MapPage/MapContainer/styles.js | bobrovova/explorer | 1b1ed85d3b46af0d9446d4504027515b01c75dda | [
"MIT"
] | 6 | 2020-04-04T09:44:18.000Z | 2022-03-23T17:44:18.000Z | app/containers/MapPage/MapContainer/styles.js | rise-worlds/Potato-Network-Monitor-Front | 8fb73764788daa4a32b4104607d755aaf7ebdc13 | [
"MIT"
] | 12 | 2018-11-05T08:49:52.000Z | 2022-01-12T18:55:09.000Z | import styled from 'styled-components';
export const Map = styled.div`
width: 100vw;
height: 94vh;
`;
| 15.285714 | 39 | 0.700935 |
6ff53b4ee8f02bc6ea49b84e0de0bc806c34e2c2 | 59 | js | JavaScript | gulp/tasks/test.js | risq/splash-app | c2ec12fc077f3c39fbf07a18745b49efb9f78407 | [
"MIT"
] | 67 | 2016-03-18T03:53:42.000Z | 2022-01-10T01:05:03.000Z | gulp/tasks/test.js | risq/splash-app | c2ec12fc077f3c39fbf07a18745b49efb9f78407 | [
"MIT"
] | 1 | 2020-11-15T21:57:31.000Z | 2021-04-12T08:42:32.000Z | gulp/tasks/test.js | risq/splash-app | c2ec12fc077f3c39fbf07a18745b49efb9f78407 | [
"MIT"
] | 10 | 2016-03-19T23:19:50.000Z | 2021-12-08T15:40:41.000Z | var gulp = require('gulp');
gulp.task('test', ['karma']);
| 14.75 | 29 | 0.59322 |
b506727502d205b30efb511624b69f2d01133405 | 4,600 | js | JavaScript | node_modules/ascoltatori/test/mongo_ascoltatore_spec.js | smartby/IOT | e113270a89a141b78cf8f300dc30cc01c0f039cf | [
"MIT"
] | 21 | 2020-01-21T16:19:20.000Z | 2022-01-21T09:42:07.000Z | node_modules/ascoltatori/test/mongo_ascoltatore_spec.js | Will-create/acg-flow | 51943c930fdc59252d9359b624de96ee1f5abf06 | [
"MIT"
] | 89 | 2020-03-13T10:08:30.000Z | 2020-12-10T19:56:00.000Z | node_modules/ascoltatori/test/mongo_ascoltatore_spec.js | Will-create/acg-flow | 51943c930fdc59252d9359b624de96ee1f5abf06 | [
"MIT"
] | 5 | 2020-08-31T03:58:17.000Z | 2021-12-14T21:13:47.000Z |
var MongoClient = require('mongodb').MongoClient;
var steed = require('steed')();
describeAscoltatore("mongo", function() {
afterEach(function(done) {
this.instance.close(done);
});
it("should publish a binary payload", function(done) {
var that = this;
that.instance.sub("hello/*", function(topic, ... | 30.065359 | 113 | 0.569783 |
b50dca90374efdf814a1d92a909495a81a98237a | 984 | js | JavaScript | node_modules/bower/node_modules/update-notifier/node_modules/configstore/node_modules/js-yaml/lib/js-yaml/type/omap.js | thomjoy/sydney-buses | fa596fd194ff1bfc57d29597988ec53154087f7c | [
"MIT"
] | 1 | 2022-01-25T04:57:53.000Z | 2022-01-25T04:57:53.000Z | node_modules/bower/node_modules/update-notifier/node_modules/configstore/node_modules/js-yaml/lib/js-yaml/type/omap.js | thomjoy/sydney-buses | fa596fd194ff1bfc57d29597988ec53154087f7c | [
"MIT"
] | null | null | null | node_modules/bower/node_modules/update-notifier/node_modules/configstore/node_modules/js-yaml/lib/js-yaml/type/omap.js | thomjoy/sydney-buses | fa596fd194ff1bfc57d29597988ec53154087f7c | [
"MIT"
] | null | null | null | 'use strict';
var NIL = require('../common').NIL;
var Type = require('../type');
var _hasOwnProperty = Object.prototype.hasOwnProperty;
var _toString = Object.prototype.toString;
function resolveYamlOmap(object /*, explicit*/) {
var objectKeys = [], index, length, pair, pairKey, pairHasKey;
for (index... | 18.222222 | 71 | 0.593496 |
b515b49a5b116522734bd99c4a0e121c4009af6c | 701 | js | JavaScript | app/src/js/reducers/operations/selector.js | NicoLaval/Bauhaus | e8a313e7196169ed7fe25b718457e8596bb3d55a | [
"MIT"
] | 3 | 2020-04-21T07:45:08.000Z | 2022-01-28T18:18:13.000Z | app/src/js/reducers/operations/selector.js | NicoLaval/Bauhaus | e8a313e7196169ed7fe25b718457e8596bb3d55a | [
"MIT"
] | 69 | 2018-05-28T15:29:58.000Z | 2022-03-25T06:36:40.000Z | app/src/js/reducers/operations/selector.js | NicoLaval/Bauhaus | e8a313e7196169ed7fe25b718457e8596bb3d55a | [
"MIT"
] | 11 | 2018-04-06T06:47:58.000Z | 2022-01-21T10:28:32.000Z | export const getOperationsOrganisations = state => {
const organisations = state.operationsOrganisations || {};
return organisations.results || [];
};
export const getOperationsCodesList = state => {
const operationsCodesList = state.operationsCodesList || {};
return operationsCodesList.results || [];
};
export c... | 29.208333 | 66 | 0.737518 |
6fea427f893f50a4718097d7a330b029b2c7d23a | 2,485 | js | JavaScript | src/components/ChallengePane/ChallengeFilterSubnav/ChallengeFilterSubnav.js | reichg/maproulette3 | 2e92ca809362e21a639c3bf5ba049eac6673b11b | [
"MIT"
] | 78 | 2018-05-14T02:58:14.000Z | 2022-02-01T05:01:53.000Z | src/components/ChallengePane/ChallengeFilterSubnav/ChallengeFilterSubnav.js | reichg/maproulette3 | 2e92ca809362e21a639c3bf5ba049eac6673b11b | [
"MIT"
] | 478 | 2018-05-11T05:29:07.000Z | 2022-03-31T22:25:14.000Z | src/components/ChallengePane/ChallengeFilterSubnav/ChallengeFilterSubnav.js | reichg/maproulette3 | 2e92ca809362e21a639c3bf5ba049eac6673b11b | [
"MIT"
] | 29 | 2018-07-08T22:36:52.000Z | 2022-03-18T21:17:11.000Z | import React, { Component } from 'react'
import { FormattedMessage, injectIntl } from 'react-intl'
import SearchBox from '../../SearchBox/SearchBox'
import WithChallengeSearch from '../../HOCs/WithSearch/WithChallengeSearch'
import WithCommandInterpreter from '../../HOCs/WithCommandInterpreter/WithCommandInterpreter'
i... | 36.544118 | 134 | 0.687726 |
b51715ab4baa4fc8a303d31ab72f799891bbe82d | 630 | js | JavaScript | demo/hoverHexagon.js | fderen-dev/react-hexagon | 9de6c1141b56d2688e0b2365b6bd6dd225138cf6 | [
"MIT"
] | 60 | 2016-03-25T17:12:37.000Z | 2022-02-08T14:26:31.000Z | demo/hoverHexagon.js | fderen-dev/react-hexagon | 9de6c1141b56d2688e0b2365b6bd6dd225138cf6 | [
"MIT"
] | 9 | 2016-09-11T10:02:22.000Z | 2021-06-28T15:14:02.000Z | demo/hoverHexagon.js | fderen-dev/react-hexagon | 9de6c1141b56d2688e0b2365b6bd6dd225138cf6 | [
"MIT"
] | 24 | 2016-09-11T12:41:41.000Z | 2022-01-13T08:05:30.000Z | import React from 'react'
import Hexagon from '../src/Hexagon'
function HoverHexagon(props) {
return (
<Hexagon
style={props.style}
className={props.className}
hexClassName={props.hexClassName}
children={props.children}
hexProps={{
onMouseEnter: props.onEnter,
onMous... | 21 | 39 | 0.690476 |
6fe99e432b47fbc384561e8d1ed7ba2c8f2e7553 | 31 | js | JavaScript | src/components/ChatToolbar/index.js | charliesouthview/react-chatengine-demo | ac55faf50b9ebbaa3c0eae2150efd5f3e71ae848 | [
"MIT"
] | 14 | 2021-02-20T16:06:21.000Z | 2022-02-09T20:31:49.000Z | src/components/ChatToolbar/index.js | charliesouthview/react-chatengine-demo | ac55faf50b9ebbaa3c0eae2150efd5f3e71ae848 | [
"MIT"
] | 1 | 2021-12-04T09:28:16.000Z | 2021-12-05T03:08:26.000Z | src/components/ChatToolbar/index.js | charliesouthview/react-chatengine-demo | ac55faf50b9ebbaa3c0eae2150efd5f3e71ae848 | [
"MIT"
] | 16 | 2021-02-26T12:55:20.000Z | 2022-03-03T02:22:45.000Z | export * from './ChatToolbar';
| 15.5 | 30 | 0.677419 |
b50567f3813ae62f2a76479a8488164f97111734 | 122 | js | JavaScript | docs/search/functions_0.js | maximsmol/rolmodl | fb41b7f9f4669eea84ce6f1574cdf1be9b6f072f | [
"MIT"
] | 1 | 2022-02-19T21:34:42.000Z | 2022-02-19T21:34:42.000Z | docs/search/functions_0.js | maximsmol/rolmodl | fb41b7f9f4669eea84ce6f1574cdf1be9b6f072f | [
"MIT"
] | null | null | null | docs/search/functions_0.js | maximsmol/rolmodl | fb41b7f9f4669eea84ce6f1574cdf1be9b6f072f | [
"MIT"
] | 1 | 2021-12-07T09:33:42.000Z | 2021-12-07T09:33:42.000Z | var searchData=
[
['_5fexit_3311',['_Exit',['http://en.cppreference.com/w/cpp/utility/program/_Exit.html',1,'std']]]
];
| 24.4 | 100 | 0.672131 |
b50c12d942f1ca49a22a387afb5ce853253e2365 | 2,425 | js | JavaScript | __tests__/providers/webpush/notificationCatcher.js | udanpe/notifme-sdk | d32c30afcbbe42cfd5bde45d5253f1e27905c0f2 | [
"MIT"
] | 1,976 | 2017-08-09T13:00:05.000Z | 2022-03-09T16:59:26.000Z | __tests__/providers/webpush/notificationCatcher.js | udanpe/notifme-sdk | d32c30afcbbe42cfd5bde45d5253f1e27905c0f2 | [
"MIT"
] | 67 | 2017-08-11T14:15:54.000Z | 2021-12-29T05:41:59.000Z | __tests__/providers/webpush/notificationCatcher.js | udanpe/notifme-sdk | d32c30afcbbe42cfd5bde45d5253f1e27905c0f2 | [
"MIT"
] | 154 | 2017-08-11T15:57:33.000Z | 2022-03-06T15:31:29.000Z | /* @flow */
/* global jest, test, expect */
import NotifmeSdk from '../../../src'
const mockSend = jest.fn()
jest.mock('../../../src/providers/email/smtp', () => () => ({
send: mockSend
}))
const sdk = new NotifmeSdk({
useNotificationCatcher: true
})
const request = {
webpush: {
subscription: {
keys:... | 27.556818 | 150 | 0.581856 |
b51901ac0d5b4ad2cdd02fc572ad1b2d34fcfa59 | 602 | js | JavaScript | 01-Fundamentals-Part-1/16_logical_operators/script.js | Evavic44/Learn-JavaScript | 2b10f4bb79449d6865608a53520ac7157ea3986e | [
"MIT"
] | 4 | 2022-01-08T10:53:32.000Z | 2022-03-09T22:40:56.000Z | 01-Fundamentals-Part-1/16_logical_operators/script.js | Evavic44/Learn-JavaScript | 2b10f4bb79449d6865608a53520ac7157ea3986e | [
"MIT"
] | null | null | null | 01-Fundamentals-Part-1/16_logical_operators/script.js | Evavic44/Learn-JavaScript | 2b10f4bb79449d6865608a53520ac7157ea3986e | [
"MIT"
] | null | null | null | const hasDriversLicense = true; // A
const hasGoodVision = true; // B
console.log(hasDriversLicense && hasGoodVision);
console.log(hasDriversLicense || hasGoodVision);
console.log(!hasDriversLicense);
// if (hasDriversLicense && hasGoodVision) {
// console.log("Sarah is able to drive");
// } else {
// console.log... | 27.363636 | 59 | 0.699336 |
b509adbda7f4e08513d8123ca3fde2568315b345 | 715 | js | JavaScript | test/suite/index.js | qtttttttttting/vue-swift-i18n | 8c829168289f2ca6e6d737f75342de6517381dad | [
"MIT"
] | 35 | 2019-07-23T10:27:17.000Z | 2022-03-11T08:38:38.000Z | test/suite/index.js | qtttttttttting/vue-swift-i18n | 8c829168289f2ca6e6d737f75342de6517381dad | [
"MIT"
] | 6 | 2020-04-20T12:37:48.000Z | 2022-03-02T08:56:10.000Z | test/suite/index.js | qtttttttttting/vue-swift-i18n | 8c829168289f2ca6e6d737f75342de6517381dad | [
"MIT"
] | 12 | 2019-07-24T11:12:32.000Z | 2022-02-11T14:00:41.000Z | const path = require('path');
const Mocha = require('mocha');
const glob = require('glob');
function run() {
// Create the mocha test
const mocha = new Mocha({
ui: 'tdd'
});
// Use any mocha API
mocha.useColors(true);
return new Promise((c, e) => {
glob('**/**.test.js', { cwd: testsRoot }, (err, files) => {... | 17.439024 | 65 | 0.535664 |
b5195f2ef00a242fc2a449366ce3fad401acd0d5 | 516 | js | JavaScript | Chapter02/mapping-collections-to-elements/src/index.js | NeIbrahim/React-and-React-Native---Third-Edition | aca40085902d2cac93e55c1dd35d71a897991194 | [
"MIT"
] | 79 | 2020-01-13T07:25:08.000Z | 2022-03-14T08:53:00.000Z | Chapter02/mapping-collections-to-elements/src/index.js | NeIbrahim/React-and-React-Native---Third-Edition | aca40085902d2cac93e55c1dd35d71a897991194 | [
"MIT"
] | 24 | 2019-10-09T12:57:42.000Z | 2021-11-23T18:11:20.000Z | Chapter02/mapping-collections-to-elements/src/index.js | NeIbrahim/React-and-React-Native---Third-Edition | aca40085902d2cac93e55c1dd35d71a897991194 | [
"MIT"
] | 81 | 2019-10-01T16:14:27.000Z | 2022-03-27T18:00:52.000Z | import React from 'react';
import { render } from 'react-dom';
const array = ['First', 'Second', 'Third'];
const object = {
first: 1,
second: 2,
third: 3
};
render(
<section>
<h1>Array</h1>
<ul>
{array.map(i => (
<li key={i}>{i}</li>
))}
</ul>
<h1>Object</h1>
<ul>
... | 15.636364 | 43 | 0.463178 |
6ff1bc8d29bc7c775a7bf264eb62454168ecfc5f | 3,504 | js | JavaScript | frontend/src/ui/authentication/hardware-wallet-selector-view.js | stellar-expert/albedo | 4213025977a543f6e151edec6abef7a18136c626 | [
"MIT"
] | 47 | 2020-02-25T20:10:50.000Z | 2022-03-15T06:01:21.000Z | frontend/src/ui/authentication/hardware-wallet-selector-view.js | stellar-expert/albedo | 4213025977a543f6e151edec6abef7a18136c626 | [
"MIT"
] | 37 | 2020-04-17T02:27:26.000Z | 2022-03-19T10:50:15.000Z | frontend/src/ui/authentication/hardware-wallet-selector-view.js | stellar-expert/albedo | 4213025977a543f6e151edec6abef7a18136c626 | [
"MIT"
] | 6 | 2020-03-08T21:03:05.000Z | 2021-12-04T09:22:46.000Z | import React, {Component} from 'react'
import PropTypes from 'prop-types'
import cn from 'classnames'
import {Button} from '@stellar-expert/ui-framework'
import AlbedoSigner from '../../hw-signer/hw-signer'
import {ACCOUNT_TYPES} from '../../state/account'
import appSettings from '../../state/app-settings'
import {extr... | 37.677419 | 150 | 0.566781 |
6fee90dcab7bc50f9cf6a9f5990aaac7719d0e7a | 25,508 | js | JavaScript | dist/modules/grid.grouping.js | fabiofsilva/jqGrid | b954ab2ed20e97dab20eb36e5c9fa926fe4b42f5 | [
"MIT"
] | 504 | 2015-02-10T18:42:13.000Z | 2022-03-17T16:57:29.000Z | dist/modules/grid.grouping.js | fabiofsilva/jqGrid | b954ab2ed20e97dab20eb36e5c9fa926fe4b42f5 | [
"MIT"
] | 494 | 2015-02-10T16:12:12.000Z | 2022-02-20T07:00:27.000Z | dist/modules/grid.grouping.js | fabiofsilva/jqGrid | b954ab2ed20e97dab20eb36e5c9fa926fe4b42f5 | [
"MIT"
] | 261 | 2015-02-11T16:38:47.000Z | 2022-03-27T17:46:28.000Z | /*jshint eqeqeq:false, eqnull:true */
/*global jQuery, define, exports, module, require */
/*jslint plusplus: true, unparam: true, eqeq: true, nomen: true, todo: true, continue: true */
// Grouping module
(function (factory) {
"use strict";
if (typeof define === "function" && define.amd) {
// AMD. Register as an an... | 34.563686 | 185 | 0.557433 |
6feb056debf9dcc9c3324f5bdec5f74cdd66846e | 993 | js | JavaScript | test/get-ordinal-suffix.test.js | leeb48/stack-overflow-copy-paste | b301cfbe43ee40cd39088d75fac1956da36e38a0 | [
"MIT"
] | 518 | 2016-01-20T16:19:50.000Z | 2022-03-25T03:14:25.000Z | test/get-ordinal-suffix.test.js | leeb48/stack-overflow-copy-paste | b301cfbe43ee40cd39088d75fac1956da36e38a0 | [
"MIT"
] | 246 | 2016-01-23T06:40:45.000Z | 2019-02-19T23:03:34.000Z | test/get-ordinal-suffix.test.js | leeb48/stack-overflow-copy-paste | b301cfbe43ee40cd39088d75fac1956da36e38a0 | [
"MIT"
] | 963 | 2016-01-26T04:00:22.000Z | 2022-03-31T09:37:01.000Z | import test from 'ava'
import {getOrdinalSuffix} from '../src'
test('appends st, nd, th ordinal suffix to first 10 numbers', t => {
const numbers = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
const expected = ['0th', '1st', '2nd', '3rd', '4th', '5th', '6th', '7th', '8th', '9th']
const actual = numbers.map(n => getOrdinalSuff... | 41.375 | 99 | 0.612286 |
6ff74cc18039276f2f08c57fc100a4bb7918fb14 | 963 | js | JavaScript | code/miniprogram/adminEnd/pages/localPages/ugGoodsInfo/ugGoodsInfo.js | yuhanliu0121/crocodile-delivery | f1a743240a8e85c10a05417d33fd3b989cfe2c7a | [
"MIT"
] | 23 | 2021-05-27T02:07:31.000Z | 2022-03-27T23:23:24.000Z | code/miniprogram/adminEnd/pages/localPages/ugGoodsInfo/ugGoodsInfo.js | yuhanliu0121/crocodile-delivery | f1a743240a8e85c10a05417d33fd3b989cfe2c7a | [
"MIT"
] | 3 | 2021-11-17T03:42:00.000Z | 2022-02-16T11:49:00.000Z | code/miniprogram/adminEnd/pages/localPages/ugGoodsInfo/ugGoodsInfo.js | yuhanliu0121/crocodile-delivery | f1a743240a8e85c10a05417d33fd3b989cfe2c7a | [
"MIT"
] | 5 | 2021-06-10T11:09:41.000Z | 2022-03-17T04:06:22.000Z | const WEIXIN = 0;
const MOBILE = 1;
const EMAIL = 2;
const QQ = 3;
Page({
/**
* 页面的初始数据
*/
data: {
goodsInfo: {},
contactTypeText: "",
},
shopInfo: {},
/*============== 事务处理函数 ====================*/
/*============== 页面生命周期函数 ====================*/
/**
* 生命周期函数--监听页面加载
*/
onLoad: ... | 18.519231 | 70 | 0.516096 |
b50db356166602f1677296cb1e24c837cfc01a14 | 2,962 | js | JavaScript | node_modules/@babel/helper-compilation-targets/node_modules/caniuse-lite/data/regions/WF.js | fracturesfei/angulardemo | 7cb8ef6f9139d84f98034488f520a70215fb4375 | [
"MIT"
] | 48 | 2020-10-16T11:51:53.000Z | 2022-03-28T11:21:21.000Z | node_modules/@babel/helper-compilation-targets/node_modules/caniuse-lite/data/regions/WF.js | fracturesfei/angulardemo | 7cb8ef6f9139d84f98034488f520a70215fb4375 | [
"MIT"
] | 31 | 2020-05-22T16:59:58.000Z | 2022-02-13T05:49:29.000Z | node_modules/@babel/helper-compilation-targets/node_modules/caniuse-lite/data/regions/WF.js | fracturesfei/angulardemo | 7cb8ef6f9139d84f98034488f520a70215fb4375 | [
"MIT"
] | 30 | 2020-09-30T17:03:37.000Z | 2022-03-14T19:08:48.000Z | module.exports={D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0.015885,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0... | 1,481 | 2,961 | 0.528359 |
6ff1f091cb9074c7374f587c268dadbc3fc17f28 | 537 | js | JavaScript | node_modules/@nestjs/graphql/dist/decorators/scalar.decorator.js | kkk0908/shipit-api-server-final | fe92222015353bf09bc48248a48f91ef09029cf9 | [
"OML"
] | null | null | null | node_modules/@nestjs/graphql/dist/decorators/scalar.decorator.js | kkk0908/shipit-api-server-final | fe92222015353bf09bc48248a48f91ef09029cf9 | [
"OML"
] | null | null | null | node_modules/@nestjs/graphql/dist/decorators/scalar.decorator.js | kkk0908/shipit-api-server-final | fe92222015353bf09bc48248a48f91ef09029cf9 | [
"OML"
] | null | null | null | "use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Scalar = void 0;
const common_1 = require("@nestjs/common");
const graphql_constants_1 = require("../graphql.constants");
function Scalar(name, typeFunc) {
return (target, key, descriptor) => {
(0, common_1.SetMetadata)(gra... | 41.307692 | 111 | 0.726257 |
b515e79be265b5859969c256bc00ac15b3b58bbe | 800 | js | JavaScript | router.js | nstratis/nodejsexpress | c5aefd57209c29d7ddcb2f10e911e2b2344ddf3f | [
"FSFAP"
] | null | null | null | router.js | nstratis/nodejsexpress | c5aefd57209c29d7ddcb2f10e911e2b2344ddf3f | [
"FSFAP"
] | null | null | null | router.js | nstratis/nodejsexpress | c5aefd57209c29d7ddcb2f10e911e2b2344ddf3f | [
"FSFAP"
] | null | null | null | /* global */
/* eslint no-plusplus:0 */
/**
* @copyright (c) Copyright 2017 AV Digital Media Ltd. All Rights Reserved.
* No unauthorized copying, distribution or modification to this code in whole
* or in part is permitted without the express permission of
* AV Digital Media Ltd (UK).
*/
// Set the reference to th... | 32 | 78 | 0.695 |
6fe9e27cbce170e4ab4121378c46f0d0b9c9e87f | 526 | js | JavaScript | src/components/DynamicComponent.js | AlexanderKulemin/gatsby | f1dd098ff9602ea4299fc1a898dc44b35633906e | [
"RSA-MD"
] | null | null | null | src/components/DynamicComponent.js | AlexanderKulemin/gatsby | f1dd098ff9602ea4299fc1a898dc44b35633906e | [
"RSA-MD"
] | null | null | null | src/components/DynamicComponent.js | AlexanderKulemin/gatsby | f1dd098ff9602ea4299fc1a898dc44b35633906e | [
"RSA-MD"
] | null | null | null | import React from 'react'
import Teaser from './Teaser'
import Feature from './Feature'
import Grid from './Grid'
import Placeholder from './Placeholder'
const Components = {
'teaser': Teaser,
'feature': Feature,
'grid': Grid
}
const Component = ({blok}) => {
if (typeof Components[blok.component] !== 'undef... | 25.047619 | 78 | 0.693916 |
b50fe699fc1736a6ef3b2d666783e6f1b94548d7 | 4,584 | js | JavaScript | src/pages/{ContentfulRecepies.title}.js | waqas973/RecipesSiteUsingGatsby | 09d831aeecbfa8403dc3bb321c1d11ef543b738e | [
"RSA-MD"
] | null | null | null | src/pages/{ContentfulRecepies.title}.js | waqas973/RecipesSiteUsingGatsby | 09d831aeecbfa8403dc3bb321c1d11ef543b738e | [
"RSA-MD"
] | null | null | null | src/pages/{ContentfulRecepies.title}.js | waqas973/RecipesSiteUsingGatsby | 09d831aeecbfa8403dc3bb321c1d11ef543b738e | [
"RSA-MD"
] | null | null | null | import React from 'react';
import {graphql, Link} from 'gatsby';
import { GatsbyImage,getImage } from 'gatsby-plugin-image';
import Layout from '../Components/Layout';
import slugify from 'slugify';
import SEO from '../Components/SEO';
const RecipeTemplate = ({data}) => {
let {title ,cookTime , content , prepTime... | 37.884298 | 121 | 0.324389 |
b51600d4c1de3e91ccaca48cbaa7f73a8a9584b6 | 2,098 | js | JavaScript | gatsby-config.js | gunslingerOP/restaurant | 51953bdc9a8b467315b32fc6c2c7da14a813e261 | [
"RSA-MD"
] | null | null | null | gatsby-config.js | gunslingerOP/restaurant | 51953bdc9a8b467315b32fc6c2c7da14a813e261 | [
"RSA-MD"
] | null | null | null | gatsby-config.js | gunslingerOP/restaurant | 51953bdc9a8b467315b32fc6c2c7da14a813e261 | [
"RSA-MD"
] | null | null | null | const path = require(`path`)
module.exports = {
siteMetadata: {
title: `Saj Al-reef`,
description: `The best saj you can find`,
author: `Hasan Aqeel Yahya`,
},
plugins: [
`gatsby-plugin-react-helmet`,
`gatsby-plugin-image`,
"react-burger-menu",
"react-reveal",
"hamburger-react",
... | 26.225 | 89 | 0.531935 |
b50f3794e13a1551662737f1b67cf4ac83b806b9 | 1,035 | js | JavaScript | src/dao/user.js | solitaryMahatma/daigou | 540cf5eb74a3fc651adb09fcf0f8a529b8a26d5c | [
"AFL-3.0"
] | null | null | null | src/dao/user.js | solitaryMahatma/daigou | 540cf5eb74a3fc651adb09fcf0f8a529b8a26d5c | [
"AFL-3.0"
] | null | null | null | src/dao/user.js | solitaryMahatma/daigou | 540cf5eb74a3fc651adb09fcf0f8a529b8a26d5c | [
"AFL-3.0"
] | null | null | null | const bcrypt = require('bcryptjs')
const { UserModel } = require('../models/user')
const {sign} = require('../token/index')
class UserDao extends UserModel {
static async signUp (userInfo) {
const user = await this.findOne({ where: { phoneNumber: userInfo.phoneNumber } })
if (user) {
throw new global.E... | 26.538462 | 86 | 0.619324 |
b50a8e3c8bb7843362b825dc6fa6f35af17b3f63 | 2,170 | js | JavaScript | app/dashboard/routes/settings/save/format.js | abraxasllc/Blot | 03448f673b4da6487af5051d1c76d56c9c8cdc99 | [
"CC0-1.0"
] | 1 | 2019-10-30T01:03:58.000Z | 2019-10-30T01:03:58.000Z | app/dashboard/routes/settings/save/format.js | abraxasllc/Blot | 03448f673b4da6487af5051d1c76d56c9c8cdc99 | [
"CC0-1.0"
] | null | null | null | app/dashboard/routes/settings/save/format.js | abraxasllc/Blot | 03448f673b4da6487af5051d1c76d56c9c8cdc99 | [
"CC0-1.0"
] | null | null | null | var Blog = require("blog");
var helper = require("helper");
var formJSON = helper.formJSON;
var extend = helper.extend;
module.exports = function(req, res, next) {
try {
req.updates = formJSON(req.body, Blog.scheme.TYPE);
} catch (e) {
return next(e);
}
if (req.body.hasMenu) {
req.updates.menu = r... | 31.911765 | 79 | 0.648848 |
b50042740672869850ce1ddaab1c53ba16588951 | 5,457 | js | JavaScript | Libraries/Image/ImageViewNativeComponentAndroidConfig.js | Armen6964/react-native | 47dc31d4649a8495942e8a702af9ef0bf28b7cf8 | [
"CC-BY-4.0",
"MIT"
] | 1 | 2021-02-18T07:14:44.000Z | 2021-02-18T07:14:44.000Z | Libraries/Image/ImageViewNativeComponentAndroidConfig.js | Armen6964/react-native | 47dc31d4649a8495942e8a702af9ef0bf28b7cf8 | [
"CC-BY-4.0",
"MIT"
] | null | null | null | Libraries/Image/ImageViewNativeComponentAndroidConfig.js | Armen6964/react-native | 47dc31d4649a8495942e8a702af9ef0bf28b7cf8 | [
"CC-BY-4.0",
"MIT"
] | null | null | null | /**
* Copyright (c) 2015-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @format
* @flow
*/
const ReactNativeStyleAttributes = require('ReactNativeStyleAttributes');
const processColor = require('processC... | 25.619718 | 73 | 0.661719 |
6ff07f1b676fc44d91129d90e1fac98ed44347f8 | 1,427 | js | JavaScript | src/app/frontend/namespace/stateconfig.js | cheld/dashboard | dc23822c60a8b44b136d79db979958a3567fd272 | [
"Apache-2.0"
] | null | null | null | src/app/frontend/namespace/stateconfig.js | cheld/dashboard | dc23822c60a8b44b136d79db979958a3567fd272 | [
"Apache-2.0"
] | null | null | null | src/app/frontend/namespace/stateconfig.js | cheld/dashboard | dc23822c60a8b44b136d79db979958a3567fd272 | [
"Apache-2.0"
] | null | null | null | // Copyright 2017 The Kubernetes Dashboard 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 applicabl... | 32.431818 | 75 | 0.729502 |
6ff45ff2703f8d63d6bc904533191798507a116f | 10,064 | js | JavaScript | public/wholesale/static/js/pages-shop-apply-apply.772eb38b.js | a576353201/aw8 | ef677aebb0888aabcb6194232f1ab2d9dcd4e4b1 | [
"Apache-2.0"
] | null | null | null | public/wholesale/static/js/pages-shop-apply-apply.772eb38b.js | a576353201/aw8 | ef677aebb0888aabcb6194232f1ab2d9dcd4e4b1 | [
"Apache-2.0"
] | null | null | null | public/wholesale/static/js/pages-shop-apply-apply.772eb38b.js | a576353201/aw8 | ef677aebb0888aabcb6194232f1ab2d9dcd4e4b1 | [
"Apache-2.0"
] | null | null | null | (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-shop-apply-apply"],{"08ab":function(e,a,t){"use strict";t.r(a);var r=t("c43e"),s=t("b873");for(var n in s)"default"!==n&&function(e){t.d(a,e,(function(){return s[e]}))}(n);t("6b87d");var i,o=t("f0c5"),u=Object(o["a"])(s["default"],r["b"],r["c"],!1,null,"... | 10,064 | 10,064 | 0.678657 |
b505a2677691005cfd4cee307aac8ff499e7760a | 12,280 | js | JavaScript | demo/src/main/webapp/static/js/epiClock/jquery.epiclock.js | 1030194031/demo | 6e21f0eb6ff267015c95b92d0e8699a9e3d024b0 | [
"Apache-2.0"
] | null | null | null | demo/src/main/webapp/static/js/epiClock/jquery.epiclock.js | 1030194031/demo | 6e21f0eb6ff267015c95b92d0e8699a9e3d024b0 | [
"Apache-2.0"
] | null | null | null | demo/src/main/webapp/static/js/epiClock/jquery.epiclock.js | 1030194031/demo | 6e21f0eb6ff267015c95b92d0e8699a9e3d024b0 | [
"Apache-2.0"
] | null | null | null | /**
* epiClock 2.0 - Create Epic Clocks Easily
*
* Copyright (c) 2008 Eric Garside (http://eric.garside.name) Dual licensed
* under: MIT: http://www.opensource.org/licenses/mit-license.php GPLv3:
* http://www.opensource.org/licenses/gpl-3.0.html
*/
// Manager States
var EC_HALT = 'disable', EC_RUN = 'enable', E... | 22.825279 | 157 | 0.546743 |
b50e6065bfe0ab5a528f97e712084105666bf053 | 759 | js | JavaScript | widgets/Filter/nls/pt-br/strings.js | Pateykev/Pateykev.github.io | c5418f313e2645bc10e3c3d71e95357040797887 | [
"Apache-2.0"
] | null | null | null | widgets/Filter/nls/pt-br/strings.js | Pateykev/Pateykev.github.io | c5418f313e2645bc10e3c3d71e95357040797887 | [
"Apache-2.0"
] | null | null | null | widgets/Filter/nls/pt-br/strings.js | Pateykev/Pateykev.github.io | c5418f313e2645bc10e3c3d71e95357040797887 | [
"Apache-2.0"
] | 1 | 2021-03-08T12:28:28.000Z | 2021-03-08T12:28:28.000Z | define({
"_widgetLabel": "Filtrar",
"toggleTip": "Clique para mostrar/ocultar configurações do filtro",
"toggleOn": "Pressione o botão de alternar para ativar o filtro atual",
"toggleOff": "Pressione o botão de alternar para desativar o filtro atual",
"filterActions": "Ações de filtro",
"resetAll": "Redefin... | 50.6 | 77 | 0.748353 |
b50528b0ce48d222de7512cce8d2caced5d65e01 | 5,984 | js | JavaScript | test/frontend-integration-test/tensorboard-example.spec.js | kamalmemon/pipelines | 7e68991a2a7bfa767f893facfe58190690ca89ed | [
"Apache-2.0"
] | 6 | 2020-05-19T02:35:11.000Z | 2020-05-29T17:58:42.000Z | test/frontend-integration-test/tensorboard-example.spec.js | kamalmemon/pipelines | 7e68991a2a7bfa767f893facfe58190690ca89ed | [
"Apache-2.0"
] | 1,932 | 2021-01-25T11:23:37.000Z | 2022-03-31T17:10:18.000Z | test/frontend-integration-test/tensorboard-example.spec.js | kamalmemon/pipelines | 7e68991a2a7bfa767f893facfe58190690ca89ed | [
"Apache-2.0"
] | 11 | 2020-05-19T22:26:41.000Z | 2021-01-25T09:56:21.000Z | // Copyright 2018 Google LLC
//
// 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 ... | 32 | 98 | 0.633523 |
b519b303c0a99f57c65cfa13decfadf7471c7321 | 2,521 | js | JavaScript | app/models/documentreference.js | secure-restful-interface-profile/vista-novo | d4ae78f96101546354110c9a74d40c172746fea9 | [
"Apache-2.0"
] | 1 | 2020-07-25T23:43:03.000Z | 2020-07-25T23:43:03.000Z | app/models/documentreference.js | secure-restful-interface-profile/vista-novo | d4ae78f96101546354110c9a74d40c172746fea9 | [
"Apache-2.0"
] | null | null | null | app/models/documentreference.js | secure-restful-interface-profile/vista-novo | d4ae78f96101546354110c9a74d40c172746fea9 | [
"Apache-2.0"
] | null | null | null | var mongoose = require('mongoose');
var DocumentReferenceSchema = new mongoose.Schema({
masterIdentifier: {
use: String,
label: String,
system: String,
value: String
},
identifier: [{
use: String,
label: String,
system: String,
va... | 21.184874 | 62 | 0.409361 |
6ff6e30ede243a95473940abab1587679df6ba2d | 18,036 | js | JavaScript | app/screens/more_dms/more_dms.js | chentv00/mattermost-mobile | a457d573c80a4303be01a38f305dd301d0219396 | [
"Apache-2.0"
] | 1 | 2020-12-26T05:44:02.000Z | 2020-12-26T05:44:02.000Z | app/screens/more_dms/more_dms.js | chentv00/mattermost-mobile | a457d573c80a4303be01a38f305dd301d0219396 | [
"Apache-2.0"
] | null | null | null | app/screens/more_dms/more_dms.js | chentv00/mattermost-mobile | a457d573c80a4303be01a38f305dd301d0219396 | [
"Apache-2.0"
] | null | null | null | // Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
// See LICENSE.txt for license information.
import React, {PureComponent} from 'react';
import PropTypes from 'prop-types';
import {intlShape} from 'react-intl';
import {Keyboard, View} from 'react-native';
import {Navigation} from 'react-native-navig... | 32.322581 | 136 | 0.53432 |
b50379efbfe18f6418d06b994ae569b3999a9b03 | 5,090 | js | JavaScript | src/display/optional_content_config.js | ResearcherApp/pdf.js | e2cabe3d4ca01aa4f50f119e9d049c48cd1a8d95 | [
"Apache-2.0"
] | 1 | 2021-03-26T09:42:54.000Z | 2021-03-26T09:42:54.000Z | src/display/optional_content_config.js | yrambler2001/pdf.js | da15dbf962a72bbc14fbbf04701757822da36f14 | [
"Apache-2.0"
] | 5 | 2021-01-23T12:10:47.000Z | 2021-04-16T20:40:49.000Z | src/display/optional_content_config.js | yrambler2001/pdf.js | da15dbf962a72bbc14fbbf04701757822da36f14 | [
"Apache-2.0"
] | 1 | 2021-08-29T14:28:20.000Z | 2021-08-29T14:28:20.000Z | /* Copyright 2020 Mozilla Foundation
*
* 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... | 26.237113 | 75 | 0.549509 |
6fec421957af655999490ff95e7e9bc81f06a793 | 1,734 | js | JavaScript | src/main/resources/gwt/material/design/addins/client/subheader/resources/js/subheader.js | enterstudio/gwt-material-addins | 6eaf447d7e7ab0e6469777683de594bd82c7a2ed | [
"Apache-2.0"
] | 37 | 2015-11-19T15:53:12.000Z | 2021-04-03T22:38:18.000Z | src/main/resources/gwt/material/design/addins/client/subheader/resources/js/subheader.js | enterstudio/gwt-material-addins | 6eaf447d7e7ab0e6469777683de594bd82c7a2ed | [
"Apache-2.0"
] | 360 | 2015-12-01T15:20:51.000Z | 2021-12-23T14:08:34.000Z | src/main/resources/gwt/material/design/addins/client/subheader/resources/js/subheader.js | enterstudio/gwt-material-addins | 6eaf447d7e7ab0e6469777683de594bd82c7a2ed | [
"Apache-2.0"
] | 57 | 2015-11-30T17:25:28.000Z | 2022-01-29T18:09:10.000Z | function initSubheader(stickyElem, containerElem) {
jQuery(document).ready(function(){
var newStickies = new stickyTitles(stickyElem, containerElem);
newStickies.load();
$(containerElem).on("scroll", function() {
newStickies.scroll();
});
});
}
function stickyTitles(stickyElem, containerElem)... | 30.964286 | 126 | 0.615917 |
6feaa9f6eadbf5b1b13c1df25ce57586cd71aebb | 8,282 | js | JavaScript | src/main/webapp/js/actions/templates.js | hcfman/stalkedbythestate | 49d9c0767e29e30d7e28880c42e1fdcd9b8d331c | [
"Apache-2.0"
] | 3 | 2021-08-07T20:21:55.000Z | 2021-09-30T13:13:39.000Z | src/main/webapp/js/actions/templates.js | hcfman/hydracontrolfreak | b0ed63ccc76601ebfcf6bf0a72142171ce06a31a | [
"Apache-2.0"
] | null | null | null | src/main/webapp/js/actions/templates.js | hcfman/hydracontrolfreak | b0ed63ccc76601ebfcf6bf0a72142171ce06a31a | [
"Apache-2.0"
] | null | null | null | /**
Collection of shared templates
*/
//
// ATTRIBUTES
//
// default
SharedTemplates.setTemplate('attribute-default', '\
<tr>\
<td><label>%{name}</label></td>\
<td %{attribs}><input type="text" class="attribute_value" name="%{property}" value="%{value}" /></td>\
</tr>\
');
//phidget list
SharedTemplates.setTe... | 27.885522 | 213 | 0.648998 |
b5067e5c19e32ff924e7abccfb0037056e730c18 | 15,630 | js | JavaScript | docs/resources/sap/ui/layout/BlockLayoutRow-dbg.js | jacobahtan/devtoberfest-2021-frontend-coding-challenge | 6d4f76689e88df978d179fd751344a240068a72d | [
"Apache-2.0"
] | 3 | 2021-11-08T05:58:16.000Z | 2021-11-18T18:51:25.000Z | docs/resources/sap/ui/layout/BlockLayoutRow-dbg.js | jacobahtan/devtoberfest-2021-frontend-coding-challenge | 6d4f76689e88df978d179fd751344a240068a72d | [
"Apache-2.0"
] | 44 | 2021-11-08T12:56:55.000Z | 2021-11-15T06:59:54.000Z | docs/resources/sap/ui/layout/BlockLayoutRow-dbg.js | jacobahtan/devtoberfest-2021-frontend-coding-challenge | 6d4f76689e88df978d179fd751344a240068a72d | [
"Apache-2.0"
] | 72 | 2021-10-08T10:20:34.000Z | 2021-12-10T04:06:21.000Z | /*!
* OpenUI5
* (c) Copyright 2009-2020 SAP SE or an SAP affiliate company.
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
*/
/**
* @typedef {Object} sap.ui.layout.BlockRowColorSets
* @typedef {Object} sap.ui.layout.BlockLayoutRow
*/
sap.ui.define([
'sap/ui/core/Control',
'./lib... | 34.579646 | 152 | 0.692962 |
b5142d9dfec4b1f347d3f86f9c5358f4293c6068 | 1,272 | js | JavaScript | src/manager/azure/compute/keypair.js | crms-team/crms | 6a36ee96947ad1f44dad2c946698071378f94cd5 | [
"Apache-2.0"
] | 54 | 2020-10-08T12:01:47.000Z | 2022-02-09T16:58:06.000Z | src/manager/azure/compute/keypair.js | crms-team/crms | 6a36ee96947ad1f44dad2c946698071378f94cd5 | [
"Apache-2.0"
] | 30 | 2020-09-03T14:12:44.000Z | 2020-10-26T06:27:32.000Z | src/manager/azure/compute/keypair.js | crms-team/crms | 6a36ee96947ad1f44dad2c946698071378f94cd5 | [
"Apache-2.0"
] | 5 | 2020-10-08T12:17:29.000Z | 2021-07-23T02:44:36.000Z | import { Manager } from "../../manager";
export class KeyPairManager extends Manager {
static endpoint() {
return `${process.env.REACT_APP_SERVER_URL}/api/cloud/data/keypair`;
}
static async update(keyId, args) {
return await fetch(this.endpoint(), {
method: "put",
... | 27.06383 | 76 | 0.451258 |
6ffc42786d0677c5d2d0d5953f5553607330b58c | 13,574 | js | JavaScript | sources/videojs-playlist-ui/src/plugin.js | m053m716/RC-Data | f3d89e56379bbc19572b7f3f2cbfeb05e2d37d22 | [
"MIT"
] | 108 | 2015-06-20T07:33:48.000Z | 2022-03-28T13:45:32.000Z | src/plugin.js | brightcove/videojs-playlist-ui | ec58e336d86f3c417f358242b35de002321535e8 | [
"Apache-2.0"
] | 90 | 2015-03-17T23:14:50.000Z | 2021-12-30T13:54:06.000Z | sources/videojs-playlist-ui/src/plugin.js | m053m716/RC-Data | f3d89e56379bbc19572b7f3f2cbfeb05e2d37d22 | [
"MIT"
] | 77 | 2015-06-30T18:05:51.000Z | 2021-12-07T11:19:33.000Z | import document from 'global/document';
import videojs from 'video.js';
import {version as VERSION} from '../package.json';
const dom = videojs.dom || videojs;
const registerPlugin = videojs.registerPlugin || videojs.plugin;
// Array#indexOf analog for IE8
const indexOf = function(array, target) {
for (let i = 0, l... | 27.533469 | 133 | 0.648298 |
6ff9895cd224d5f0fc628abecce63646a6a39c15 | 2,046 | js | JavaScript | packages/composer-common/lib/commitdecorator.js | aidtechnology/composer | 677fcc8a97d59cac4a4c6575028cb802e37a0de8 | [
"Apache-2.0",
"CC-BY-4.0"
] | 1,914 | 2017-04-19T18:03:29.000Z | 2022-03-29T23:20:12.000Z | packages/composer-common/lib/commitdecorator.js | aidtechnology/composer | 677fcc8a97d59cac4a4c6575028cb802e37a0de8 | [
"Apache-2.0",
"CC-BY-4.0"
] | 2,715 | 2017-04-19T14:58:37.000Z | 2020-01-31T05:46:18.000Z | packages/composer-common/lib/commitdecorator.js | B0uMe/composer | d08ba48351aef4a4f45f19a8d1fdf7ba1bc81aa2 | [
"Apache-2.0",
"CC-BY-4.0"
] | 1,010 | 2017-04-20T12:09:09.000Z | 2022-03-29T23:20:14.000Z | /*
* 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
* distributed u... | 31.96875 | 193 | 0.662757 |
6fed3d7b4fd266823d6937d51bc8338decf61b8c | 1,004 | js | JavaScript | test/built-ins/DataView/prototype/setUint16/index-check-before-value-conversion.js | smikes/test262 | 163fae3e68998c1a69e1e6825bf34e89b76cff58 | [
"BSD-3-Clause"
] | null | null | null | test/built-ins/DataView/prototype/setUint16/index-check-before-value-conversion.js | smikes/test262 | 163fae3e68998c1a69e1e6825bf34e89b76cff58 | [
"BSD-3-Clause"
] | null | null | null | test/built-ins/DataView/prototype/setUint16/index-check-before-value-conversion.js | smikes/test262 | 163fae3e68998c1a69e1e6825bf34e89b76cff58 | [
"BSD-3-Clause"
] | null | null | null | // Copyright (C) 2015 André Bargull. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-dataview.prototype.setuint16
description: >
RangeError exception for negative or non-integral index is thrown before
the value conversion.
info: >
...
3. Return SetVi... | 25.74359 | 75 | 0.699203 |
6ff0eebee6b14f22f17b4849d34657dbf2fcfb39 | 1,327 | js | JavaScript | lib/routes.js | Toms88/NodeJSSandBox | 5bac23db87486a9499d74c109cb40dcf53d61130 | [
"BSD-3-Clause"
] | null | null | null | lib/routes.js | Toms88/NodeJSSandBox | 5bac23db87486a9499d74c109cb40dcf53d61130 | [
"BSD-3-Clause"
] | null | null | null | lib/routes.js | Toms88/NodeJSSandBox | 5bac23db87486a9499d74c109cb40dcf53d61130 | [
"BSD-3-Clause"
] | null | null | null | if ((typeof routerLoaded === "undefined") ||
((typeof routerLoaded === "boolean") && !routerLoaded)) {
require('./router')();
}
//node modules import
const fs = require('fs');
const mime = require('mime');
let routesData = {
routes: {},
routesLoaded: false
};
//default 404 result page route
routes = ... | 25.037736 | 68 | 0.592313 |
6ff4abb47b44db4050e1de395cd31de34038e7e5 | 368 | js | JavaScript | packages/manager/apps/dedicated/client/app/dedicatedCloud/license/enable/dedicatedCloud-license-enable.routes.js | AnneSophieS/manager | fc88dc01b15ade39d5664761d4057574f9520317 | [
"BSD-3-Clause"
] | null | null | null | packages/manager/apps/dedicated/client/app/dedicatedCloud/license/enable/dedicatedCloud-license-enable.routes.js | AnneSophieS/manager | fc88dc01b15ade39d5664761d4057574f9520317 | [
"BSD-3-Clause"
] | null | null | null | packages/manager/apps/dedicated/client/app/dedicatedCloud/license/enable/dedicatedCloud-license-enable.routes.js | AnneSophieS/manager | fc88dc01b15ade39d5664761d4057574f9520317 | [
"BSD-3-Clause"
] | null | null | null | angular.module('App').config(
/* @ngInject */ ($stateProvider) => {
$stateProvider.state('app.dedicatedClouds.license.enable', {
controller: 'ovhManagerPccLicenseEnable',
controllerAs: '$ctrl',
layout: 'modal',
templateUrl:
'dedicatedCloud/license/enable/dedicatedCloud-license-enab... | 28.307692 | 75 | 0.633152 |
b501e5a0327087f4ccdda280adb01179377a78e3 | 94 | js | JavaScript | doc/html/search/pages_0.js | ajorstad/vmtk.github.com | 8bfbb149b6c4bf2536af69cb49b722e42c3e6580 | [
"BSD-3-Clause"
] | null | null | null | doc/html/search/pages_0.js | ajorstad/vmtk.github.com | 8bfbb149b6c4bf2536af69cb49b722e42c3e6580 | [
"BSD-3-Clause"
] | 7 | 2017-01-14T15:12:11.000Z | 2021-06-18T09:46:57.000Z | doc/html/search/pages_0.js | ajorstad/vmtk.github.com | 8bfbb149b6c4bf2536af69cb49b722e42c3e6580 | [
"BSD-3-Clause"
] | 5 | 2017-01-14T12:55:17.000Z | 2021-06-12T03:04:42.000Z | var searchData=
[
['vmtk_20documentation',['VMTK Documentation',['../index.html',1,'']]]
];
| 18.8 | 72 | 0.638298 |
b5168663b3258f920906fe5cc951edabf1e9d8c5 | 3,401 | js | JavaScript | shared/desktop/app/main-window.js | jamesmwright/client | b37a74a1ec263f3c51fcb8521103720adc41fd9a | [
"BSD-3-Clause"
] | 2 | 2019-05-24T14:10:09.000Z | 2019-05-24T14:27:56.000Z | shared/desktop/app/main-window.js | jamesmwright/client | b37a74a1ec263f3c51fcb8521103720adc41fd9a | [
"BSD-3-Clause"
] | 2 | 2021-05-12T00:09:57.000Z | 2022-03-25T19:18:23.000Z | shared/desktop/app/main-window.js | MichaelAquilina/client | 0300a8228787479799ebb2734ef82d75d07c127f | [
"BSD-3-Clause"
] | null | null | null | // @flow
import AppState from './app-state'
import Window from './window'
import getenv from 'getenv'
import hotPath from '../hot-path'
import {app, ipcMain} from 'electron'
import {forceMainWindowPosition, showDevTools} from '../../local-debug.desktop'
import {hideDockIcon} from './dock-icon'
import {injectReactQueryP... | 33.019417 | 135 | 0.67686 |
b514338119709363d0f7106e39e725acffce1473 | 1,296 | js | JavaScript | packages/manager/modules/pci/src/projects/project/training/onboarding/onboarding.routing.js | brugere/manager | ebc661c51c921daabed35d045f1fad60d5d24e89 | [
"BSD-3-Clause"
] | 141 | 2019-10-18T15:00:40.000Z | 2022-02-24T20:17:12.000Z | packages/manager/modules/pci/src/projects/project/training/onboarding/onboarding.routing.js | brugere/manager | ebc661c51c921daabed35d045f1fad60d5d24e89 | [
"BSD-3-Clause"
] | 2,181 | 2019-10-21T08:06:37.000Z | 2022-03-31T18:41:21.000Z | packages/manager/modules/pci/src/projects/project/training/onboarding/onboarding.routing.js | brugere/manager | ebc661c51c921daabed35d045f1fad60d5d24e89 | [
"BSD-3-Clause"
] | 81 | 2019-10-22T07:52:54.000Z | 2022-03-11T09:19:37.000Z | export default /* @ngInject */ ($stateProvider) => {
$stateProvider.state('pci.projects.project.training.onboarding', {
url: '/onboarding',
views: {
'content@pci.projects.project.training': 'pciProjectTrainingOnboarding',
},
resolve: {
breadcrumb: () => null, // Hide breadcrumb
submi... | 28.173913 | 78 | 0.443673 |
6fff03f00fdddd915f91bbec7973ebc1326b3b5a | 7,730 | js | JavaScript | url/urlsearchparams-constructor.any.js | Ms2ger/web-platform-tests | 645c0e8a5c028a613e7ad1732834100dbe946fc7 | [
"BSD-3-Clause"
] | 1 | 2022-03-19T09:43:35.000Z | 2022-03-19T09:43:35.000Z | url/urlsearchparams-constructor.any.js | Ms2ger/web-platform-tests | 645c0e8a5c028a613e7ad1732834100dbe946fc7 | [
"BSD-3-Clause"
] | 1 | 2019-02-13T09:53:48.000Z | 2019-02-13T09:53:48.000Z | url/urlsearchparams-constructor.any.js | Ms2ger/web-platform-tests | 645c0e8a5c028a613e7ad1732834100dbe946fc7 | [
"BSD-3-Clause"
] | null | null | null | test(function() {
var params = new URLSearchParams();
assert_equals(params + '', '');
params = new URLSearchParams('');
assert_equals(params + '', '');
params = new URLSearchParams('a=b');
assert_equals(params + '', 'a=b');
params = new URLSearchParams(params);
assert_equals(params + '',... | 43.184358 | 542 | 0.64489 |
6ff1f68dc8b2d05f6482ed74d48b9ad99b805fd0 | 6,153 | js | JavaScript | third_party/blink/web_tests/http/tests/devtools/tracing/trace-event-self-time.js | iridium-browser/iridium-browser | 907e31cf5ce5ad14d832796e3a7c11e496828959 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 575 | 2015-06-18T23:58:20.000Z | 2022-03-23T09:32:39.000Z | third_party/blink/web_tests/http/tests/devtools/tracing/trace-event-self-time.js | iridium-browser/iridium-browser | 907e31cf5ce5ad14d832796e3a7c11e496828959 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 113 | 2015-05-04T09:58:14.000Z | 2022-01-31T19:35:03.000Z | third_party/blink/web_tests/http/tests/devtools/tracing/trace-event-self-time.js | DamieFC/chromium | 54ce2d3c77723697efd22cfdb02aea38f9dfa25c | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 52 | 2015-07-14T10:40:50.000Z | 2022-03-15T01:11:49.000Z | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
(async function() {
TestRunner.addResult(`Test trace event self time.\n`);
await TestRunner.loadModule('timeline'); await TestRunner.loadTestModule('p... | 24.710843 | 117 | 0.486267 |
c5db1c19dd3762c3eabf8e118452933be5bbd413 | 227 | js | JavaScript | mobile/omnimobile/src/routes.js | VicenzoMartinelli/react-node-chat-realtime | 11ce9158e3463182a363c9841a7b115da2f7e9d9 | [
"Apache-2.0"
] | null | null | null | mobile/omnimobile/src/routes.js | VicenzoMartinelli/react-node-chat-realtime | 11ce9158e3463182a363c9841a7b115da2f7e9d9 | [
"Apache-2.0"
] | 13 | 2020-09-04T23:12:55.000Z | 2022-02-18T01:41:36.000Z | mobile/omnimobile/src/routes.js | VicenzoMartinelli/react-node-chat-realtime | 11ce9158e3463182a363c9841a7b115da2f7e9d9 | [
"Apache-2.0"
] | null | null | null | import { createSwitchNavigator, createAppContainer } from 'react-navigation'
export class componentName extends Component {
render() {
return (
<div>
</div>
)
}
}
export default componentName
| 16.214286 | 76 | 0.651982 |
c5db843f0f833c24ae838f47cb5cc87e1c779d63 | 8,405 | js | JavaScript | assets/js/cg-171.js | binghe001/binghe001.github.io | c840d1cec7517560f6860401fa8ed31cc2c0f974 | [
"Apache-2.0"
] | 6 | 2022-03-28T08:09:49.000Z | 2022-03-31T12:35:43.000Z | assets/js/cg-171.js | binghe001/binghe001.github.io | c840d1cec7517560f6860401fa8ed31cc2c0f974 | [
"Apache-2.0"
] | null | null | null | assets/js/cg-171.js | binghe001/binghe001.github.io | c840d1cec7517560f6860401fa8ed31cc2c0f974 | [
"Apache-2.0"
] | null | null | null | (window.webpackJsonp=window.webpackJsonp||[]).push([[171],{635:function(a,s,t){"use strict";t.r(s);var n=t(25),p=Object(n.a)({},(function(){var a=this,s=a.$createElement,t=a._self._c||s;return t("ContentSlotsDistributor",{attrs:{"slot-key":a.$parent.slotKey}},[t("h1",{attrs:{id:"appscan使用问题记录"}},[t("a",{staticClass:"he... | 8,405 | 8,405 | 0.63843 |
c5dbd4687f7ae3763646bcad4181ae7f262c435e | 1,506 | js | JavaScript | server/models/product_detailModel.js | thangph9/123order-ant | 88427b975b29fbf5b9f4d45a8460d7c60a5bfc2b | [
"MIT"
] | null | null | null | server/models/product_detailModel.js | thangph9/123order-ant | 88427b975b29fbf5b9f4d45a8460d7c60a5bfc2b | [
"MIT"
] | null | null | null | server/models/product_detailModel.js | thangph9/123order-ant | 88427b975b29fbf5b9f4d45a8460d7c60a5bfc2b | [
"MIT"
] | null | null | null | module.exports={
fields:{
productid : 'uuid',
asin: 'text',
title : 'text',
price : 'float',
sale : 'float',
sale_price: 'float',
createat : 'timestamp',
sale : 'int',
thumbnail : 'text',
reviews : 'text',
... | 27.381818 | 39 | 0.346614 |
c5dc04f20c679549bd848c4a59820cf724f6eaa6 | 1,151 | js | JavaScript | src/index.js | kleyow/sdk-standard-components | 3f09bbb9c61e3eb46e0420c9f310deac0aad585d | [
"Apache-2.0"
] | null | null | null | src/index.js | kleyow/sdk-standard-components | 3f09bbb9c61e3eb46e0420c9f310deac0aad585d | [
"Apache-2.0"
] | null | null | null | src/index.js | kleyow/sdk-standard-components | 3f09bbb9c61e3eb46e0420c9f310deac0aad585d | [
"Apache-2.0"
] | null | null | null | /**************************************************************************
* (C) Copyright ModusBox Inc. 2019 - All rights reserved. *
* *
* This file is made available under the terms of the license agreement *
* specified in... | 34.878788 | 76 | 0.426586 |