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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
46b977fba1ae9dc7855c7942fec24322fea2a83b | 3,165 | js | JavaScript | src/constants/types.data.js | DavidFFDAW/Poke-App | bed71ca8d68dcc5303f449f19ce7b4479bf44d49 | [
"MIT"
] | 1 | 2021-07-14T09:26:05.000Z | 2021-07-14T09:26:05.000Z | src/constants/types.data.js | DavidFFDAW/Poke-App | bed71ca8d68dcc5303f449f19ce7b4479bf44d49 | [
"MIT"
] | 43 | 2021-07-12T11:12:56.000Z | 2022-02-16T12:31:34.000Z | src/constants/types.data.js | DavidFFDAW/Poke-App | bed71ca8d68dcc5303f449f19ce7b4479bf44d49 | [
"MIT"
] | null | null | null | export const types = {
fire: { bg: 'linear-gradient(#f7c757,#d44646 80%)', font: '#fff', trad: 'Fuego' },
water: { bg: 'linear-gradient(#a5cff0,#4996d1)', font: '#fff', trad: 'Agua' },
grass: { bg: 'linear-gradient( #add19b,#5d9c3e )', font: '#fff', trad: 'Planta' },
ground: { bg: 'linear-gradient(#EBD6... | 50.238095 | 92 | 0.535229 |
46ba3bdeff15c92db9f3f38f8ad2f8f9fd629996 | 1,749 | js | JavaScript | js-exp/mouseclickcls.js | yosshii50/JS-Test | c5ce453bd2ce5a8e6d75a9ddaee8b73a3929baae | [
"MIT"
] | null | null | null | js-exp/mouseclickcls.js | yosshii50/JS-Test | c5ce453bd2ce5a8e6d75a9ddaee8b73a3929baae | [
"MIT"
] | null | null | null | js-exp/mouseclickcls.js | yosshii50/JS-Test | c5ce453bd2ce5a8e6d75a9ddaee8b73a3929baae | [
"MIT"
] | null | null | null |
// デバッグ用メッセージ表示
class MouseClickCls {
constructor( EmtDrw ) {
this.EmtDrw = EmtDrw;
this.CtxDrw = EmtDrw.getContext("2d");
this.lineWidth = 1;
this.Color = "rgb(0, 0, 0)";
this.LastPosX = -1;
this.LastPosY = -1;
EmtDrw.addEventListener( 'mousedown' , event => { // マウスが押された
this.Mo... | 23.32 | 83 | 0.623785 |
46baecd743a942b9e8876064f9068b8f20db698b | 5,636 | js | JavaScript | packages/vue-jdlstudio/src/lib/nomnoml/shannar.custom.js | DanielFran/vue-jdlstudio | 115046464c7bcbd0719d3aa245dcb7a7749b610d | [
"Apache-2.0"
] | null | null | null | packages/vue-jdlstudio/src/lib/nomnoml/shannar.custom.js | DanielFran/vue-jdlstudio | 115046464c7bcbd0719d3aa245dcb7a7749b610d | [
"Apache-2.0"
] | 9 | 2020-05-13T18:49:58.000Z | 2020-05-13T19:12:15.000Z | packages/vue-jdlstudio/src/lib/nomnoml/shannar.custom.js | DanielFran/vue-jdlstudio | 115046464c7bcbd0719d3aa245dcb7a7749b610d | [
"Apache-2.0"
] | 1 | 2021-01-04T18:01:25.000Z | 2021-01-04T18:01:25.000Z | var skanaar = skanaar || {};
skanaar.Canvas = function(canvas, callbacks) {
var ctx = canvas.getContext("2d");
var mousePos = { x: 0, y: 0 };
var twopi = 2 * 3.1416;
function mouseEventToPos(event) {
var e = canvas;
return {
x:
event.clientX -
e.getBoundingClientRect().left -
... | 26.7109 | 77 | 0.548084 |
46bc4f685cd0cbf0ea2999b9e31b8eb8e24b6e3a | 1,223 | js | JavaScript | src/api/setting.js | codeEgret/vue-hr | d17647852c93ca087c9e695a734d263e16ce7ce3 | [
"MIT"
] | null | null | null | src/api/setting.js | codeEgret/vue-hr | d17647852c93ca087c9e695a734d263e16ce7ce3 | [
"MIT"
] | null | null | null | src/api/setting.js | codeEgret/vue-hr | d17647852c93ca087c9e695a734d263e16ce7ce3 | [
"MIT"
] | null | null | null | /*
* @Author: fan
* @Date: 2021-07-04 13:38:48
* @LastEditors: fan
* @LastEditTime: 2021-07-18 16:15:54
* @Description: 公司和角色设置
*/
import request from '@/utils/request'
/**
* @description 获取所有角色列表
*/
export function getRoleList(params) {
return request({
url: '/sys/role',
params
})
... | 15.2875 | 39 | 0.552739 |
46bc5880dcd995c0f131905deb26d5d43edeb578 | 1,356 | js | JavaScript | packages/saasify-cli/lib/commands/dev.js | chrisvxd/saasify | f7fe29876e0d98c5674454cf149e4eef23e3641b | [
"MIT"
] | null | null | null | packages/saasify-cli/lib/commands/dev.js | chrisvxd/saasify | f7fe29876e0d98c5674454cf149e4eef23e3641b | [
"MIT"
] | null | null | null | packages/saasify-cli/lib/commands/dev.js | chrisvxd/saasify | f7fe29876e0d98c5674454cf149e4eef23e3641b | [
"MIT"
] | null | null | null | 'use strict'
const { prepareDeployment } = require('saasify-utils')
const handleError = require('../handle-error')
const parseProject = require('../parse-project')
const spinner = require('../spinner')
const zipProject = require('../zip-project')
const now = require('../services/now')
module.exports = (program, cli... | 27.12 | 78 | 0.575221 |
46bd1a64749906a0ce96e73fbbc443e599746436 | 1,320 | js | JavaScript | src/gel-react/sport/gel-icon-volleyball.js | pkeroulas/nmos-web-router | ebf447820d202a0e0b41a42682cbf6be6e96811a | [
"Apache-2.0"
] | 8 | 2019-11-12T17:37:16.000Z | 2020-09-22T16:31:57.000Z | src/gel-react/sport/gel-icon-volleyball.js | pkeroulas/nmos-web-router | ebf447820d202a0e0b41a42682cbf6be6e96811a | [
"Apache-2.0"
] | 16 | 2019-03-20T16:42:41.000Z | 2022-02-26T09:53:48.000Z | src/gel-react/sport/gel-icon-volleyball.js | pkeroulas/nmos-web-router | ebf447820d202a0e0b41a42682cbf6be6e96811a | [
"Apache-2.0"
] | 4 | 2019-11-30T18:04:10.000Z | 2022-03-07T18:42:05.000Z | /**
* Copyright 2019 British Broadcasting Corporation
*
* 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 applic... | 48.888889 | 256 | 0.662121 |
46bd3f75404ee5f2150acba6f7258a2bf86d0f50 | 389 | js | JavaScript | src/utils.js | jarvisniu/JetUI | b9b6171fde1b9188f32758d97cdba9c5d75cf538 | [
"MIT"
] | null | null | null | src/utils.js | jarvisniu/JetUI | b9b6171fde1b9188f32758d97cdba9c5d75cf538 | [
"MIT"
] | null | null | null | src/utils.js | jarvisniu/JetUI | b9b6171fde1b9188f32758d97cdba9c5d75cf538 | [
"MIT"
] | null | null | null | function convertSizeToCSS(str='') {
if (str == null) {
return null
} else if (typeof str == 'number') {
if (str == 0) return '0'
else return str + 'px'
} else if (/^[\d\.]+%$/.test(str)) {
return str
} else if (str.includes('px')) {
return str
}
return str.trim().split(/ +/g).... | 21.611111 | 62 | 0.508997 |
46bd71c41fc44297692bd034c11d4f84ddb52c7f | 25,993 | js | JavaScript | public/theme/app-assets/js/scripts/extensions/fullcalendar.min.js | rootmap/nucleusv4 | 5f3c206ee4214e951c122a5e110603c24252625f | [
"MIT"
] | null | null | null | public/theme/app-assets/js/scripts/extensions/fullcalendar.min.js | rootmap/nucleusv4 | 5f3c206ee4214e951c122a5e110603c24252625f | [
"MIT"
] | 8 | 2020-04-30T19:54:32.000Z | 2021-06-22T15:40:52.000Z | public/theme/app-assets/js/scripts/extensions/fullcalendar.min.js | rootmap/nucleusv4 | 5f3c206ee4214e951c122a5e110603c24252625f | [
"MIT"
] | 1 | 2021-03-21T11:28:01.000Z | 2021-03-21T11:28:01.000Z | /*!
* robust-admin-theme (http://demo.pixinvent.com/robust-admin)
* Copyright 2017 PIXINVENT
* Licensed under the Themeforest Standard Licenses
*/
//$(document).ready(function(){$("#fc-default").fullCalendar({defaultDate:"2016-06-12",editable:!0,eventLimit:!0,events:[{title:"All Day Event",start:"2016-06-01"},{titl... | 48.22449 | 9,599 | 0.531759 |
46be547b52974c542436d8bbbab4db05936d46ba | 720 | js | JavaScript | client/components/PlaySong.js | MaggieWalker/RapBoardReact | 3704c808ec7d0c62f814418138fb386d1e54b261 | [
"MIT"
] | null | null | null | client/components/PlaySong.js | MaggieWalker/RapBoardReact | 3704c808ec7d0c62f814418138fb386d1e54b261 | [
"MIT"
] | 8 | 2021-03-08T23:01:00.000Z | 2022-02-12T04:11:18.000Z | client/components/PlaySong.js | MaggieWalker/RapBoardReact | 3704c808ec7d0c62f814418138fb386d1e54b261 | [
"MIT"
] | null | null | null | import React from 'react'
import history from '../history'
import {connect} from 'react-redux'
class PlaySong extends React.Component{
constructor(props) {
super(props)
this.state ={}
}
render() {
return (
<div>
<figure >
<img src="https://cdn.shopify.com/s/... | 22.5 | 117 | 0.594444 |
46bf054971b7a3cb87b32f9e5abc21254ff95213 | 2,046 | js | JavaScript | src/client/components/profile/profile-form.js | sitnpaws/sit-n-paws | b534638725a67f2b0477f757287410677c42aae6 | [
"Unlicense"
] | 1 | 2017-10-11T18:47:09.000Z | 2017-10-11T18:47:09.000Z | src/client/components/profile/profile-form.js | sitnpaws/sit-n-paws | b534638725a67f2b0477f757287410677c42aae6 | [
"Unlicense"
] | 64 | 2017-10-11T18:30:47.000Z | 2017-10-16T06:56:05.000Z | src/client/components/profile/profile-form.js | sitnpaws/sit-n-paws | b534638725a67f2b0477f757287410677c42aae6 | [
"Unlicense"
] | 4 | 2017-10-11T17:19:02.000Z | 2017-10-11T18:20:55.000Z | // libraries
import React from 'react';
import axios from 'axios';
// material-ui components
import RaisedButton from 'material-ui/RaisedButton';
export default class ProfileForm extends React.Component {
constructor(props) {
super(props);
this.state = { name: '', phone: '', address: '' };
this.setField... | 28.416667 | 125 | 0.5826 |
46c113966192f2f1d6b85de98d9f06526b7ef688 | 324 | js | JavaScript | webpack.config.js | yanpearson/jagol | 88631719f6e1c1dc20f493096db2ef39ac70dd86 | [
"MIT"
] | null | null | null | webpack.config.js | yanpearson/jagol | 88631719f6e1c1dc20f493096db2ef39ac70dd86 | [
"MIT"
] | null | null | null | webpack.config.js | yanpearson/jagol | 88631719f6e1c1dc20f493096db2ef39ac70dd86 | [
"MIT"
] | null | null | null | const path = require('path');
const webpack = require('webpack');
module.exports = {
entry: {
jagol: './lib/jagol/index.js',
patterns: './lib/patterns/index.js',
immutable: 'immutable'
},
output: {
filename: '[name].js',
path: path.resolve(__dirname, 'dist'),
library: '[name]',
libraryTarget: 'var'
}... | 19.058824 | 40 | 0.626543 |
46c1e23bc3a432cb8f8c0f6df991a6f69d706324 | 306 | js | JavaScript | registerYields.js | civ-clone/civ1-treasury | a468b0ea1982dfd8722f9cf6f891f9493c6dc615 | [
"MIT"
] | null | null | null | registerYields.js | civ-clone/civ1-treasury | a468b0ea1982dfd8722f9cf6f891f9493c6dc615 | [
"MIT"
] | null | null | null | registerYields.js | civ-clone/civ1-treasury | a468b0ea1982dfd8722f9cf6f891f9493c6dc615 | [
"MIT"
] | null | null | null | "use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const Gold_1 = require("@civ-clone/base-city-yield-gold/Gold");
const YieldRegistry_1 = require("@civ-clone/core-yield/YieldRegistry");
YieldRegistry_1.instance.register(Gold_1.default);
//# sourceMappingURL=registerYields.js.map | 51 | 71 | 0.777778 |
46c2550c80fd196e797be2b088fd5dcb82b75fe4 | 29,202 | js | JavaScript | src/ReactTelephoneInput.js | vaishsh/mui-react-phone-input | a3e4b4a156cfd601ce565f871510384de8122e4f | [
"MIT"
] | null | null | null | src/ReactTelephoneInput.js | vaishsh/mui-react-phone-input | a3e4b4a156cfd601ce565f871510384de8122e4f | [
"MIT"
] | null | null | null | src/ReactTelephoneInput.js | vaishsh/mui-react-phone-input | a3e4b4a156cfd601ce565f871510384de8122e4f | [
"MIT"
] | null | null | null | // TODO - fix the onlyContries props.
// Currently expects that as an array of country object,
// but users should be able to send in array of country isos
import find from 'lodash/find';
import reduce from 'lodash/reduce';
import map from 'lodash/map';
import filter from 'lodash/filter';
import findIndex from 'lodash/... | 30.167355 | 100 | 0.593624 |
46c2cf0ea81d4edf7570d54799344befcb6246a4 | 510 | js | JavaScript | tasks/03-autobots-rollout-index.js | sky-uk/grunt-autobots | 20baddd986a8f08cdbe2b3ac9c24991a5da7fab7 | [
"MIT"
] | null | null | null | tasks/03-autobots-rollout-index.js | sky-uk/grunt-autobots | 20baddd986a8f08cdbe2b3ac9c24991a5da7fab7 | [
"MIT"
] | null | null | null | tasks/03-autobots-rollout-index.js | sky-uk/grunt-autobots | 20baddd986a8f08cdbe2b3ac9c24991a5da7fab7 | [
"MIT"
] | null | null | null | /*
* grunt-autobots
* https://github.com/achambers/autobots
*
* Copyright (c) 2014 Aaron Chambers
* Licensed under the MIT license.
*/
'use strict';
module.exports = function(grunt) {
var RolloutIndexTask = require('./lib/rollout-index-task');
grunt.registerTask('autobots:rollout:index', 'Publish index.htm... | 22.173913 | 90 | 0.664706 |
46c30bec6cbfd670e5e225d79f0a3e992416a73a | 527 | js | JavaScript | src/pages/404.js | mlaroy/mikelaroy.ca | 0d9990fe16a781be948f3a961656c69c01232a0a | [
"MIT"
] | null | null | null | src/pages/404.js | mlaroy/mikelaroy.ca | 0d9990fe16a781be948f3a961656c69c01232a0a | [
"MIT"
] | 28 | 2021-02-12T07:21:08.000Z | 2022-02-26T21:40:08.000Z | src/pages/404.js | mlaroy/mikelaroy.ca | 0d9990fe16a781be948f3a961656c69c01232a0a | [
"MIT"
] | null | null | null | import React from 'react'
import Layout from '../components/layout'
import Section from '../components/Section'
import CustomLink from '../components/CustomLink'
const NotFound = () => (
<Layout>
<Section classes="container p-24 text-center flex items-center justify-center">
<div>
<h1 className="t... | 26.35 | 83 | 0.654649 |
46c3b4a163fbe8407f68db58e7306c9ebc0037d8 | 52,007 | js | JavaScript | Laravel API/public/users.js | vankatwijk/YikYak-Laravel-Vue-NS | cb0c697b3b7f4cd4934cdd09d9bf984fd5af8898 | [
"MIT"
] | 2 | 2020-07-08T18:11:34.000Z | 2020-07-23T10:16:37.000Z | Laravel API/public/users.js | vankatwijk/YikYak-Laravel-Vue-NS | cb0c697b3b7f4cd4934cdd09d9bf984fd5af8898 | [
"MIT"
] | 1 | 2021-05-22T11:09:06.000Z | 2021-05-22T12:00:59.000Z | Laravel API/public/users.js | vankatwijk/YikYak-Laravel-Vue-NS | cb0c697b3b7f4cd4934cdd09d9bf984fd5af8898 | [
"MIT"
] | null | null | null | (window["webpackJsonp"] = window["webpackJsonp"] || []).push([["users"],{
/***/ "./node_modules/babel-loader/lib/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/views/UserAccount.vue?vue&type=script&lang=js&":
/*!*****************************************************************************************... | 41.341017 | 1,031 | 0.418924 |
46c456355b23db459f4c8267d28cb1c2ee95ad75 | 3,301 | js | JavaScript | src/pages/Contestant/Challenges/graphql/queries.js | sikula/saigar-ctf | ac50506e520ddc722d9c8ecd0f2810f170c5eff0 | [
"Apache-2.0"
] | 6 | 2020-06-30T14:34:48.000Z | 2022-02-17T02:29:44.000Z | src/pages/Contestant/Challenges/graphql/queries.js | sikula/saigar-ctf | ac50506e520ddc722d9c8ecd0f2810f170c5eff0 | [
"Apache-2.0"
] | 1 | 2021-09-20T05:48:58.000Z | 2021-09-20T05:48:58.000Z | src/pages/Contestant/Challenges/graphql/queries.js | sikula/saigar-ctf | ac50506e520ddc722d9c8ecd0f2810f170c5eff0 | [
"Apache-2.0"
] | 8 | 2020-05-30T21:47:55.000Z | 2021-11-19T15:52:57.000Z | import gql from 'graphql-tag'
const CASE_LIST = gql`
query caseList($auth0id: String!) {
user(where: { auth0id: { _eq: $auth0id } }) {
acceptedTos
}
event(order_by: { start_time: desc }, limit: 1) {
start_time
end_time
eventCasesByeventId {
case {
uuid
... | 23.246479 | 88 | 0.541654 |
46c5d0bcbd36fa83b124bebb4d7e757bf8f09f32 | 722 | js | JavaScript | app/models/Page.js | ekansa/gapvis | 07e9d40d7e99eff6a0c1afad8aa89129339fac92 | [
"BSD-3-Clause"
] | 2 | 2016-09-16T09:29:50.000Z | 2016-09-16T16:30:05.000Z | app/models/Page.js | ekansa/gapvis | 07e9d40d7e99eff6a0c1afad8aa89129339fac92 | [
"BSD-3-Clause"
] | null | null | null | app/models/Page.js | ekansa/gapvis | 07e9d40d7e99eff6a0c1afad8aa89129339fac92 | [
"BSD-3-Clause"
] | null | null | null | /*
* Page models
*/
(function(gv) {
var Model = gv.Model,
Collection = gv.Collection,
API_ROOT = gv.settings.API_ROOT,
Page;
// Model: Page
Page = gv.Page = Model.extend({
defaults: {
places: []
},
initialize: function() {
... | 20.628571 | 66 | 0.426593 |
46c6c6b5e62d7c731a4098002afd7840a7426a0e | 1,950 | js | JavaScript | routes/auth.js | MEMARSAHAB/EasyLive-Rooms-Api | 495a12adfccda123768d73b9003e7e07794fef19 | [
"MIT"
] | null | null | null | routes/auth.js | MEMARSAHAB/EasyLive-Rooms-Api | 495a12adfccda123768d73b9003e7e07794fef19 | [
"MIT"
] | null | null | null | routes/auth.js | MEMARSAHAB/EasyLive-Rooms-Api | 495a12adfccda123768d73b9003e7e07794fef19 | [
"MIT"
] | null | null | null | const express = require('express');
const { OAuth2Client } = require('google-auth-library');
const jwt = require('jsonwebtoken');
const User = require('../models/user')
const router=express.Router()
const client = new OAuth2Client(process.env.GOOGLE_CLIENT_ID);
router.post('/googlelogin', async (req, res) => {
con... | 30.952381 | 98 | 0.531795 |
46c6d422d66e9b3d22326f13eddafea1de251ac9 | 1,372 | js | JavaScript | seedDatabase.js | arol/streetfleet-backend | 2371c13435222e7c429630e8e489da2315b7c616 | [
"MIT"
] | null | null | null | seedDatabase.js | arol/streetfleet-backend | 2371c13435222e7c429630e8e489da2315b7c616 | [
"MIT"
] | null | null | null | seedDatabase.js | arol/streetfleet-backend | 2371c13435222e7c429630e8e489da2315b7c616 | [
"MIT"
] | null | null | null | 'use strict';
const Company = require('../models/company');
const Location = require('../models/location');
const companyData = [
{
company_name: 'BP',
email: 'bingbong@pp.com',
username: 'gonkit',
password: 'g4hj32gj',
fleet: [
{
car_id: '12344234',
car_model: 'Abrams Tank... | 22.129032 | 99 | 0.564869 |
46c7574d5d9e0a286fbde73ff33dc2cd1a5d77b3 | 2,423 | js | JavaScript | src/webui/src/js/views/modals/finishConfirmation.directive.js | Dabble-of-DevOps-Bio/ella | e38631d302611a143c9baaa684bcbd014d9734e4 | [
"MIT"
] | null | null | null | src/webui/src/js/views/modals/finishConfirmation.directive.js | Dabble-of-DevOps-Bio/ella | e38631d302611a143c9baaa684bcbd014d9734e4 | [
"MIT"
] | null | null | null | src/webui/src/js/views/modals/finishConfirmation.directive.js | Dabble-of-DevOps-Bio/ella | e38631d302611a143c9baaa684bcbd014d9734e4 | [
"MIT"
] | null | null | null | import app from '../../ng-decorators'
import { connect } from '@cerebral/angularjs'
import { state, signal } from 'cerebral/tags'
import canFinalize from '../../store/modules/views/workflows/computed/canFinalize'
import template from './finishConfirmation.ngtmpl.html' // eslint-disable-line no-unused-vars
import getSel... | 41.067797 | 110 | 0.498556 |
46c9ea50744aedf66ed11849afbf6b3b1b26a6c7 | 167 | js | JavaScript | src/index.js | elmao79/react-pretty-input | 97b4b37ddeac1de8b066673a3083f0057988dbac | [
"MIT"
] | 1 | 2018-07-12T08:55:31.000Z | 2018-07-12T08:55:31.000Z | src/index.js | elmao79/react-pretty-input | 97b4b37ddeac1de8b066673a3083f0057988dbac | [
"MIT"
] | null | null | null | src/index.js | elmao79/react-pretty-input | 97b4b37ddeac1de8b066673a3083f0057988dbac | [
"MIT"
] | null | null | null |
export { default as PrettyInputText } from './components/PrettyInputText.jsx';
export { default as PrettyInputTextArea } from './components/PrettyInputTextArea.jsx';
| 41.75 | 86 | 0.790419 |
46c9ffcd4a23200fe3f3a9a56e3d541317d7e47c | 7,122 | js | JavaScript | visualization/bar_gas_month.js | stanhelsloot/project | 8da0927777a95fa3ed6f1fcc3704c26f1c8433d0 | [
"MIT"
] | null | null | null | visualization/bar_gas_month.js | stanhelsloot/project | 8da0927777a95fa3ed6f1fcc3704c26f1c8433d0 | [
"MIT"
] | null | null | null | visualization/bar_gas_month.js | stanhelsloot/project | 8da0927777a95fa3ed6f1fcc3704c26f1c8433d0 | [
"MIT"
] | null | null | null | // Stan Helsloot, 10762388
// Renders a histogram of the yearly gas extraction by NAM
var requestsBarMonth = [d3.json("../../data/data_refined/data_months.json")];
// for storage of global variables in update functions
var barDims = {};
var gasYearInitial = 1971;
var gasYearFinal = 2019;
var month = ["Jan", "Feb", ... | 28.374502 | 80 | 0.546054 |
46ca999688d8c2aca8c11ad2986f768af636ba41 | 168,609 | js | JavaScript | public_html/media/editors/codemirror/lib/codemirror.min.js | Danial41/- | 1533bfef5528b95ade256495065de27c0760fb01 | [
"MIT",
"Unlicense"
] | null | null | null | public_html/media/editors/codemirror/lib/codemirror.min.js | Danial41/- | 1533bfef5528b95ade256495065de27c0760fb01 | [
"MIT",
"Unlicense"
] | 1 | 2022-02-10T21:24:17.000Z | 2022-02-10T21:24:17.000Z | public_html/media/editors/codemirror/lib/codemirror.min.js | Danial41/- | 1533bfef5528b95ade256495065de27c0760fb01 | [
"MIT",
"Unlicense"
] | 2 | 2020-03-05T09:24:37.000Z | 2021-02-19T04:19:37.000Z | !(function(a,b){"object"==typeof exports&&"undefined"!=typeof module?module.exports=b():"function"==typeof define&&define.amd?define(b):a.CodeMirror=b()})(this,(function(){"use strict";function a(a){return new RegExp("(^|\\s)"+a+"(?:$|\\s)\\s*")}function b(a){for(var b=a.childNodes.length;b>0;--b)a.removeChild(a.firstC... | 28,101.5 | 32,204 | 0.68972 |
46cad005026479de5e066b1ea0b933e3a6ea4a98 | 143 | js | JavaScript | assets/scripts/site.js | mhulse/jekyll-boiler | 4f4f708af67c6e2171110410823d2e7a568e8ade | [
"Apache-2.0"
] | 2 | 2015-11-08T08:58:47.000Z | 2018-01-25T20:33:18.000Z | assets/scripts/site.js | mhulse/jekyll-boiler | 4f4f708af67c6e2171110410823d2e7a568e8ade | [
"Apache-2.0"
] | 1 | 2016-07-02T08:19:25.000Z | 2016-07-02T08:19:25.000Z | assets/scripts/site.js | mhulse/jekyll-boiler | 4f4f708af67c6e2171110410823d2e7a568e8ade | [
"Apache-2.0"
] | null | null | null | ---
---
{% include_relative _includes/jquery/jquery.min.js %}
{% include_relative _includes/foo.js %}
{% include_relative _includes/bar.js %}
| 20.428571 | 53 | 0.713287 |
46cb18b7799f1b678807b0215e025d9d4306638a | 5,118 | js | JavaScript | SilverReactor/silver_reactor/192.168.25.244/Scripts/imagemanager.js | ANURAGWARRING/HyasynthBioAllCode | 60afd8c7609f9cf9982cc8a4ee85e42c8f48cd05 | [
"MIT"
] | null | null | null | SilverReactor/silver_reactor/192.168.25.244/Scripts/imagemanager.js | ANURAGWARRING/HyasynthBioAllCode | 60afd8c7609f9cf9982cc8a4ee85e42c8f48cd05 | [
"MIT"
] | null | null | null | SilverReactor/silver_reactor/192.168.25.244/Scripts/imagemanager.js | ANURAGWARRING/HyasynthBioAllCode | 60afd8c7609f9cf9982cc8a4ee85e42c8f48cd05 | [
"MIT"
] | null | null | null | function imageManager()
{
// this.getImageSrc = function(a_name)
// {
// if(images[a_name] == undefined)
// {
// if(sources[a_name] != undefined)
// {
// images[a_name] = new Image();
// images[a_name].src = sources[a_name];
/... | 36.820144 | 77 | 0.539664 |
46cc791878c679c6ab271c3f19d7a0f4739feb8b | 602 | js | JavaScript | 10-propriedades-no-react/src/App.js | profoswaldo/ReactJS_31-1_a_02-02 | b549471a4a5b20b6eec2cecc68b4f9d1249b2e3f | [
"MIT"
] | 4 | 2022-01-31T19:08:18.000Z | 2022-03-17T19:29:13.000Z | 10-propriedades-no-react/src/App.js | profoswaldo/ReactJS_31-1_a_02-02 | b549471a4a5b20b6eec2cecc68b4f9d1249b2e3f | [
"MIT"
] | null | null | null | 10-propriedades-no-react/src/App.js | profoswaldo/ReactJS_31-1_a_02-02 | b549471a4a5b20b6eec2cecc68b4f9d1249b2e3f | [
"MIT"
] | null | null | null | import logo from './logo.svg';
import './App.css';
import { Component } from 'react';
class Botao extends Component{
render(){
return <button>{this.props.text}</button>
}
}
class Mensagem extends Component{
render(){
return <p>Selcione uma das opções abaixo:</p>
}
}
class App extends Component{
ren... | 17.705882 | 49 | 0.55814 |
46cdeaa133028ebcbc0954d7907ee8661952f4a4 | 854 | js | JavaScript | src/components/App/SEO.js | DJFriar/ambitiousNerds | 9ef95e793f7c6b6b7d06134014a8d086faacbca6 | [
"MIT"
] | null | null | null | src/components/App/SEO.js | DJFriar/ambitiousNerds | 9ef95e793f7c6b6b7d06134014a8d086faacbca6 | [
"MIT"
] | null | null | null | src/components/App/SEO.js | DJFriar/ambitiousNerds | 9ef95e793f7c6b6b7d06134014a8d086faacbca6 | [
"MIT"
] | null | null | null | import React from 'react'
import { Helmet } from "react-helmet"
const SEO = () => {
return (
<div>
<Helmet>
<title>ambitiousNerds - Modern Full-Stack Web, iOS, and Android Development</title>
<meta name="description" content="ambitiousNerds - Modern Full-Stack Web, iOS, and Android Developm... | 42.7 | 137 | 0.667447 |
46d03dc8998102ede7d9bee190f6899f0fde5fcd | 269 | js | JavaScript | src/routes/tokens.js | yereby/template-hapi-mongo | fa0b15ced3001ea55e0845acc20f8faa7b6de270 | [
"MIT"
] | 1 | 2018-02-14T16:42:20.000Z | 2018-02-14T16:42:20.000Z | src/routes/tokens.js | yereby/template-hapi-mongo | fa0b15ced3001ea55e0845acc20f8faa7b6de270 | [
"MIT"
] | null | null | null | src/routes/tokens.js | yereby/template-hapi-mongo | fa0b15ced3001ea55e0845acc20f8faa7b6de270 | [
"MIT"
] | null | null | null | const Tokens = require('../controllers/tokens')
module.exports = [
{ method: 'POST', path: '/tokens', options: Tokens.ask },
{ method: 'DELETE', path: '/tokens', options: Tokens.revoke },
{ method: 'GET', path: '/tokens/{token}', options: Tokens.connection },
]
| 33.625 | 73 | 0.639405 |
46d38c64c4a8ac8cb8b9513665cd90756c7239f3 | 1,872 | js | JavaScript | src/Urbem/TributarioBundle/Resources/public/javascripts/imobiliario/lote-desmembrar.js | evandojunior/urbem3.0 | ba8d54109e51e82b689d1881e582fb0bce4375e0 | [
"MIT"
] | null | null | null | src/Urbem/TributarioBundle/Resources/public/javascripts/imobiliario/lote-desmembrar.js | evandojunior/urbem3.0 | ba8d54109e51e82b689d1881e582fb0bce4375e0 | [
"MIT"
] | null | null | null | src/Urbem/TributarioBundle/Resources/public/javascripts/imobiliario/lote-desmembrar.js | evandojunior/urbem3.0 | ba8d54109e51e82b689d1881e582fb0bce4375e0 | [
"MIT"
] | 1 | 2020-01-29T20:35:57.000Z | 2020-01-29T20:35:57.000Z | $(function () {
"use strict";
var codCadastro = UrbemSonata.giveMeBackMyField('codCadastro'),
codLote = UrbemSonata.giveMeBackMyField('codLote'),
qtdLotes = UrbemSonata.giveMeBackMyField('quantidadeLotes'),
areaOriginal = UrbemSonata.giveMeBackMyField('areaOriginal'),
areaResult... | 38.204082 | 139 | 0.637286 |
46d3d4979758f2be0840be9e5ce61f4263763e8c | 1,062 | js | JavaScript | CodiAprendisado/desafios/desafio2.js | LeticiaCaldas/Inova | 0a76575c564528514eacdcf1cb220da0ea81fe77 | [
"MIT"
] | null | null | null | CodiAprendisado/desafios/desafio2.js | LeticiaCaldas/Inova | 0a76575c564528514eacdcf1cb220da0ea81fe77 | [
"MIT"
] | null | null | null | CodiAprendisado/desafios/desafio2.js | LeticiaCaldas/Inova | 0a76575c564528514eacdcf1cb220da0ea81fe77 | [
"MIT"
] | null | null | null | /*Em uma academia estão cadastrando nome, idade e altura de vários usuários.
Um determinado treino exige os seguintes requisitos: Ter 18 anos ou mais e ter
uma altura igual ou maior a 1,70. Crie uma função chamada maiorAlto. Essa função
irá receber um array como parâmetro. Este array terá o nome na primeira posição,
a... | 44.25 | 82 | 0.682674 |
46d4acf8de6a2843f7e2a583eb5bb07cb5d7e441 | 40 | js | JavaScript | src/state/epics/checkForWin/index.js | CliffRobinson/tic-tac-toe-iv-a-new-hope | df1e39582413716f617fe52c364a9747706a9997 | [
"MIT"
] | null | null | null | src/state/epics/checkForWin/index.js | CliffRobinson/tic-tac-toe-iv-a-new-hope | df1e39582413716f617fe52c364a9747706a9997 | [
"MIT"
] | null | null | null | src/state/epics/checkForWin/index.js | CliffRobinson/tic-tac-toe-iv-a-new-hope | df1e39582413716f617fe52c364a9747706a9997 | [
"MIT"
] | null | null | null | // src/state/epics/checkForWin/index.js
| 20 | 39 | 0.775 |
46d509dcd924036b4b6a710e26f4d39322edff44 | 42 | js | JavaScript | flow/StringStub.js | kontur-recognition/retail-ui | d1fcf63d7225e4e85afc39df96637b4dbc740d4a | [
"MIT"
] | null | null | null | flow/StringStub.js | kontur-recognition/retail-ui | d1fcf63d7225e4e85afc39df96637b4dbc740d4a | [
"MIT"
] | null | null | null | flow/StringStub.js | kontur-recognition/retail-ui | d1fcf63d7225e4e85afc39df96637b4dbc740d4a | [
"MIT"
] | null | null | null | /* @flow */
export default ('': string);
| 10.5 | 28 | 0.547619 |
46d599d4bd10437b197d190d9e38c25eece70a1e | 4,699 | js | JavaScript | tests/gulp-tasks/modules/read-csproj-package-version.spec.js | fluffynuts/zarro | 2a1e71815307dd97586e5efe3ccb98e2de28f1a7 | [
"BSD-3-Clause"
] | 1 | 2020-04-18T15:27:18.000Z | 2020-04-18T15:27:18.000Z | tests/gulp-tasks/modules/read-csproj-package-version.spec.js | fluffynuts/zarro | 2a1e71815307dd97586e5efe3ccb98e2de28f1a7 | [
"BSD-3-Clause"
] | 6 | 2020-04-10T20:17:53.000Z | 2022-03-22T10:37:30.000Z | tests/gulp-tasks/modules/read-csproj-package-version.spec.js | fluffynuts/zarro | 2a1e71815307dd97586e5efe3ccb98e2de28f1a7 | [
"BSD-3-Clause"
] | null | null | null | "use strict";
Object.defineProperty(exports, "__esModule", { value: true });
require("expect-even-more-jest");
const filesystem_sandbox_1 = require("filesystem-sandbox");
describe(`read-csproj-package-version`, () => {
const sut = require("../../../gulp-tasks/modules/read-csproj-package-version");
it(`should re... | 52.797753 | 154 | 0.733135 |
46d684edd71e5f8d644764953605f45c8a6df4ee | 981 | js | JavaScript | src/api/authority/menu.js | GHWXY/video_admin_platform | 70593aed475541d830b1f002b9d36fc57cd7177d | [
"MIT"
] | null | null | null | src/api/authority/menu.js | GHWXY/video_admin_platform | 70593aed475541d830b1f002b9d36fc57cd7177d | [
"MIT"
] | null | null | null | src/api/authority/menu.js | GHWXY/video_admin_platform | 70593aed475541d830b1f002b9d36fc57cd7177d | [
"MIT"
] | null | null | null | import request from '@/utils/request'
const api_name = '/services_authority/admin/menu'
export default {
/** 获取所有菜单*/
getNestedTreeList() {
return request({
url: `${api_name}/getAllMenu`,
method: 'get'
})
},
/** 删除菜单*/
removeById(id) {
return request({
url: `${api_name}/removeM... | 18.865385 | 53 | 0.541284 |
46d7300d2c90e97a9492e7edd99d45a7c2ba1191 | 1,778 | js | JavaScript | website/static/website/js/ajax_requests.js | Riphiphip/website | dc5bf64f24d5cf78661686af0281705f4d1d2576 | [
"MIT"
] | 25 | 2016-04-13T20:25:37.000Z | 2021-11-26T14:41:00.000Z | website/static/website/js/ajax_requests.js | Riphiphip/website | dc5bf64f24d5cf78661686af0281705f4d1d2576 | [
"MIT"
] | 358 | 2016-02-20T21:13:27.000Z | 2022-03-31T20:06:03.000Z | website/static/website/js/ajax_requests.js | Riphiphip/website | dc5bf64f24d5cf78661686af0281705f4d1d2576 | [
"MIT"
] | 7 | 2016-04-18T14:03:15.000Z | 2022-02-04T14:19:47.000Z |
// Global function for post requests with ajax
function ajax_post($form, url, redirectUrl) {
// Remove all error messages before submitting
$(".errorlist").each(function () {
$(this).remove();
});
// Remove all the red lines before submitting
$(".invalid").each(function () {
$(thi... | 35.56 | 104 | 0.523622 |
46d79238e91f7baf02a4020f68eeca4596029a6b | 681 | js | JavaScript | src/redux/reducer/authReducer.js | chuhoanglong/AppShopManager | c22f56af5af8d6cc70159f07233d5fe17e3e8a12 | [
"MIT"
] | null | null | null | src/redux/reducer/authReducer.js | chuhoanglong/AppShopManager | c22f56af5af8d6cc70159f07233d5fe17e3e8a12 | [
"MIT"
] | 8 | 2020-09-07T17:46:06.000Z | 2022-02-26T20:35:54.000Z | src/redux/reducer/authReducer.js | chuhoanglong/AppShopManager | c22f56af5af8d6cc70159f07233d5fe17e3e8a12 | [
"MIT"
] | null | null | null | import * as Types from '../action/actionType';
const initState = {
users: null,
error: null
}
const authReducer = (state = initState, action) => {
switch (action.type) {
case Types.LOGIN_WITH_FIREBASE: {
return {
...state
}
}
case Types.LOGIN... | 21.967742 | 52 | 0.481645 |
46d82420d4441a3bc9f224725773117270373f17 | 3,584 | js | JavaScript | src/modules/charge-versions/controllers/charge-version-workflow.js | uk-gov-mirror/defra.water-abstraction-service | 82b74a08825f319896e1e7a2bcd2865c42e4c876 | [
"Unlicense"
] | 4 | 2018-01-29T19:28:25.000Z | 2022-03-23T17:32:53.000Z | src/modules/charge-versions/controllers/charge-version-workflow.js | uk-gov-mirror/defra.water-abstraction-service | 82b74a08825f319896e1e7a2bcd2865c42e4c876 | [
"Unlicense"
] | 1,384 | 2018-02-09T16:33:44.000Z | 2022-03-31T20:20:56.000Z | src/modules/charge-versions/controllers/charge-version-workflow.js | uk-gov-mirror/defra.water-abstraction-service | 82b74a08825f319896e1e7a2bcd2865c42e4c876 | [
"Unlicense"
] | 3 | 2020-07-06T16:28:24.000Z | 2021-04-10T21:31:10.000Z | 'use strict';
const Boom = require('@hapi/boom');
const chargeVersionsWorkflowService = require('../services/charge-version-workflows');
const licencesService = require('../../../lib/services/licences');
const controller = require('../../../lib/controller');
const userMapper = require('../../../lib/mappers/user');
c... | 34.133333 | 134 | 0.731027 |
46d9ddf6de50c1142098567e07198fe58b4b49f2 | 646 | js | JavaScript | mongoNative/server.js | pjlinn/meanStack | b12c3d2a5d536cc8a75c445e8c529d34a7ac3f5a | [
"MIT"
] | null | null | null | mongoNative/server.js | pjlinn/meanStack | b12c3d2a5d536cc8a75c445e8c529d34a7ac3f5a | [
"MIT"
] | null | null | null | mongoNative/server.js | pjlinn/meanStack | b12c3d2a5d536cc8a75c445e8c529d34a7ac3f5a | [
"MIT"
] | null | null | null | #!/usr/bin/env node
var MongoClient = require('mongodb').MongoClient;
MongoClient.connect('mongodb://localhost/homeTheaterComponents', function(err, db) {
if (err) throw err;
// console.log("Connected to Database");
var collection = db.collection('components');
// collection.count(function(err, count) {
// co... | 23.925926 | 84 | 0.608359 |
46da1750828d1955a34b84f01aef1f8f5fd1593d | 864 | js | JavaScript | utils/MagicProperty.js | mrfishie/larwan | 97dfe40cdd90114e0fdd5b8e73c6fcea3fa4bf79 | [
"MIT"
] | null | null | null | utils/MagicProperty.js | mrfishie/larwan | 97dfe40cdd90114e0fdd5b8e73c6fcea3fa4bf79 | [
"MIT"
] | null | null | null | utils/MagicProperty.js | mrfishie/larwan | 97dfe40cdd90114e0fdd5b8e73c6fcea3fa4bf79 | [
"MIT"
] | null | null | null | var EventEmitter = require('events').EventEmitter;
var util = require('util');
function MagicProperty() {
EventEmitter.call(this);
this._subscribers = [];
this.on('refresh', this._apply.bind(this));
}
util.inherits(MagicProperty, EventEmitter);
module.exports = MagicProperty;
MagicProperty.prototype._s... | 27 | 66 | 0.679398 |
46da8e651718d4392fb50ef099a60d1af4c30bf2 | 4,786 | js | JavaScript | scripts/node_modules/@terra-money/terra.js/dist/core/gov/msgs/MsgDeposit.js | BenReilly19/Terra-AMM-Prototype | d51f1694e3f513653f10a46221106ebc8ab64d7b | [
"Apache-2.0"
] | 4 | 2021-12-14T14:07:46.000Z | 2022-03-20T04:11:37.000Z | scripts/node_modules/@terra-money/terra.js/dist/core/gov/msgs/MsgDeposit.js | BenReilly19/Terra-Smart-Contract-Tutorial | d51f1694e3f513653f10a46221106ebc8ab64d7b | [
"Apache-2.0"
] | null | null | null | scripts/node_modules/@terra-money/terra.js/dist/core/gov/msgs/MsgDeposit.js | BenReilly19/Terra-Smart-Contract-Tutorial | d51f1694e3f513653f10a46221106ebc8ab64d7b | [
"Apache-2.0"
] | null | null | null | "use strict";
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 (Object.protot... | 43.117117 | 141 | 0.615336 |
46dcbb426e89f0264bceefeb94cafab235662f35 | 218 | js | JavaScript | inClassExamples/prodmgmtwebapp/db/dbconfig.js | Shadi-Aldabbas/Shadi-Aldabbas.github.io | 69a5a6654fe51f7d25c7f461b5f01b6d6173e86b | [
"Apache-2.0"
] | null | null | null | inClassExamples/prodmgmtwebapp/db/dbconfig.js | Shadi-Aldabbas/Shadi-Aldabbas.github.io | 69a5a6654fe51f7d25c7f461b5f01b6d6173e86b | [
"Apache-2.0"
] | null | null | null | inClassExamples/prodmgmtwebapp/db/dbconfig.js | Shadi-Aldabbas/Shadi-Aldabbas.github.io | 69a5a6654fe51f7d25c7f461b5f01b6d6173e86b | [
"Apache-2.0"
] | null | null | null | /**
* dbconfig.js
*/
"use strict";
const dbConfig = {
host: "localhost",
user: "cs472-202203-prodmgmt-db-sys",
password: "test1234",
database: "cs472-202203-prodmgmt-db"
};
module.exports = dbConfig; | 18.166667 | 41 | 0.637615 |
46dff643bde2bb733c6db2cd4a2a867d585ef72c | 129 | js | JavaScript | backend/resources/js/constants/ride.js | shm11C3/group-ride-notice | dc27fbe6b63749f4b0a18c578f8592865c3234af | [
"MIT"
] | 2 | 2021-10-15T05:38:47.000Z | 2021-10-22T03:21:34.000Z | backend/resources/js/constants/ride.js | shm11C3/group-ride-notice | dc27fbe6b63749f4b0a18c578f8592865c3234af | [
"MIT"
] | null | null | null | backend/resources/js/constants/ride.js | shm11C3/group-ride-notice | dc27fbe6b63749f4b0a18c578f8592865c3234af | [
"MIT"
] | null | null | null | export const commentRule = {
max : 1024
}
export const nameRule = {
max: 32
}
export const lapRule = {
max : 255
}
| 10.75 | 28 | 0.596899 |
46e197dd95f4473f7eb9e58ce649786f827dcded | 984 | js | JavaScript | .eslintrc.js | zaida04/rent-a-ni.co | e386759592a5076f7ee3da95fbad7f173e4f9f53 | [
"MIT"
] | 5 | 2021-05-21T13:04:43.000Z | 2021-10-31T16:55:23.000Z | .eslintrc.js | zaida04/rent-a-ni.co | e386759592a5076f7ee3da95fbad7f173e4f9f53 | [
"MIT"
] | null | null | null | .eslintrc.js | zaida04/rent-a-ni.co | e386759592a5076f7ee3da95fbad7f173e4f9f53 | [
"MIT"
] | null | null | null | module.exports = {
root: true,
extends: [
"plugin:@typescript-eslint/recommended",
"plugin:prettier/recommended"
],
env: {
node: true,
es2020: true,
},
ignorePatterns: ["__tests__/**", "node_modules/**", "dist/**", "types/**", "*.js"],
parserOptions: {
project: "./tsconfig.json",
},
... | 26.594595 | 85 | 0.570122 |
46e32ef94794eb11609373bf62e3d9583c63b08d | 565 | js | JavaScript | src/components/Atom/BaseNuxtLink/index.js | t--takai/helper-of-godmother | 89af52a9cbbcc9a0dfdc9be553b76b8b012a44e6 | [
"MIT"
] | null | null | null | src/components/Atom/BaseNuxtLink/index.js | t--takai/helper-of-godmother | 89af52a9cbbcc9a0dfdc9be553b76b8b012a44e6 | [
"MIT"
] | 30 | 2020-05-19T09:00:31.000Z | 2021-12-15T17:46:00.000Z | src/components/Atom/BaseNuxtLink/index.js | t--takai/helper-of-godmother | 89af52a9cbbcc9a0dfdc9be553b76b8b012a44e6 | [
"MIT"
] | null | null | null | export default {
name: 'BaseNuxtLink',
props: {
colorType: {
type: String,
default: 'green',
validator(value) {
return ['green', 'grey', 'white'].includes(value)
},
},
exactActiveClass: {
type: String,
default: '',
},
text: {
type: String,
... | 17.65625 | 57 | 0.495575 |
46e3361d8ea9c5e20d9c1310b06fa6b51d448871 | 630 | js | JavaScript | Documentation/a00078.js | rzoller/OpenMesh | f84bca0b26c61eab5f9335b2191962ca8545c5f6 | [
"BSD-3-Clause"
] | null | null | null | Documentation/a00078.js | rzoller/OpenMesh | f84bca0b26c61eab5f9335b2191962ca8545c5f6 | [
"BSD-3-Clause"
] | null | null | null | Documentation/a00078.js | rzoller/OpenMesh | f84bca0b26c61eab5f9335b2191962ca8545c5f6 | [
"BSD-3-Clause"
] | null | null | null | var a00078 =
[
[ "_STLReader_", "a00078.html#aecca39e09b28cfd0e1b54e6531037a83", null ],
[ "~_STLReader_", "a00078.html#a88db910f48bfa7c42c873888bed4cfc6", null ],
[ "epsilon", "a00078.html#a453b5bc39c6256dae86d72e73d9ece7e", null ],
[ "get_description", "a00078.html#a3f2d2f8443ad016d81ad1506cf22f5db", ... | 57.272727 | 81 | 0.733333 |
46e382dd96de0315659a28a00f586f5b53ea55cc | 301 | js | JavaScript | src/utils/fetchApi.js | CharitReddy/github-readme-quotes | 227681ef35bb06bcbb644481780f2c03331e84f6 | [
"MIT"
] | 155 | 2020-11-20T03:56:00.000Z | 2022-03-30T12:19:21.000Z | src/utils/fetchApi.js | CharitReddy/github-readme-quotes | 227681ef35bb06bcbb644481780f2c03331e84f6 | [
"MIT"
] | 54 | 2020-11-18T06:06:26.000Z | 2022-03-03T09:20:25.000Z | src/utils/fetchApi.js | CharitReddy/github-readme-quotes | 227681ef35bb06bcbb644481780f2c03331e84f6 | [
"MIT"
] | 77 | 2020-11-17T10:25:04.000Z | 2022-01-31T13:23:31.000Z | const fetch = require('node-fetch');
const fetchCall = async ( url, options ) => {
try {
let response = await fetch(url, options);
return await response.json();
} catch (e) {
console.log(e);
throw e;
}
}
module.exports = fetchCall; | 21.5 | 52 | 0.521595 |
46e45e071ea7ad17efee76d1d836abafe269abef | 200 | js | JavaScript | pwa/web-worker/web-worker.js | LuckyChou710/ReStart-FE | 699de220e22d8c6ce31d63a9fdb7f8ff418668d1 | [
"Apache-2.0"
] | 5 | 2021-08-25T13:24:44.000Z | 2021-09-13T07:11:08.000Z | pwa/web-worker/web-worker.js | LuckyChou710/ReStart-FE | 699de220e22d8c6ce31d63a9fdb7f8ff418668d1 | [
"Apache-2.0"
] | null | null | null | pwa/web-worker/web-worker.js | LuckyChou710/ReStart-FE | 699de220e22d8c6ce31d63a9fdb7f8ff418668d1 | [
"Apache-2.0"
] | 1 | 2021-09-14T09:53:00.000Z | 2021-09-14T09:53:00.000Z | const sum = eval(Array.from({ length: 1000000 }, (__, idx) => idx).join('+'));
// 发消息给主线程
self.postMessage({ sum });
// 监听主进程的消息
self.addEventListener('message', (e) => {
console.log(e.data);
});
| 20 | 78 | 0.61 |
46e4bf37d61d334f86cdc4aaf7f4170ad3bd36f9 | 3,769 | js | JavaScript | helpers/google.js | fossabot/cloudboost | ecb89adca75a766d4f329fe557f5ee154abd0135 | [
"Apache-2.0"
] | 1,586 | 2016-02-08T14:34:45.000Z | 2022-03-30T09:39:48.000Z | helpers/google.js | fossabot/cloudboost | ecb89adca75a766d4f329fe557f5ee154abd0135 | [
"Apache-2.0"
] | 187 | 2016-02-12T07:01:06.000Z | 2021-01-13T13:37:43.000Z | helpers/google.js | fossabot/cloudboost | ecb89adca75a766d4f329fe557f5ee154abd0135 | [
"Apache-2.0"
] | 220 | 2016-02-11T17:08:29.000Z | 2022-03-16T12:00:16.000Z | /*
# CloudBoost - Core Engine that powers Bakend as a Service
# (c) 2014 HackerBay, Inc.
# CloudBoost may be freely distributed under the Apache 2 License
*/
const q = require('q');
const google = require('googleapis');
const OAuth2Client = google.auth.OAuth2;
const plus = google.plus('v1');
const winsto... | 26.173611 | 95 | 0.60865 |
46e4f3623f105590dc17c3d127997aefa7f50b51 | 861 | js | JavaScript | source/js/modules/members/views/MembersView.js | mstronge/wellness | f6ff00bb8780a3919491f3bd73dfa6e6d4b3f778 | [
"MIT"
] | null | null | null | source/js/modules/members/views/MembersView.js | mstronge/wellness | f6ff00bb8780a3919491f3bd73dfa6e6d4b3f778 | [
"MIT"
] | null | null | null | source/js/modules/members/views/MembersView.js | mstronge/wellness | f6ff00bb8780a3919491f3bd73dfa6e6d4b3f778 | [
"MIT"
] | null | null | null | define([
'App',
'backbone',
'marionette',
'hbs!modules/members/templates/tmpl-members--home',
'modules/members/views/SubHeaderView',
'eventBus'
],
function (
App,
Backbone,
Marionette,
template,
SubHeaderView,
eventBus
) {
return Backbone.View.extend({
class... | 20.5 | 84 | 0.545877 |
46e514df5484a759542aa33732738366f6797e8e | 1,385 | js | JavaScript | node_modules/caniuse-lite/data/features/streams.js | raunaqnijhawan/task | 4846e02c0a8acd64722d6a3cc48eb9dcef2bc055 | [
"MIT"
] | 2 | 2022-03-20T13:40:47.000Z | 2022-03-20T13:51:41.000Z | node_modules/caniuse-lite/data/features/streams.js | raunaqnijhawan/task | 4846e02c0a8acd64722d6a3cc48eb9dcef2bc055 | [
"MIT"
] | 9 | 2022-03-06T01:53:33.000Z | 2022-03-09T03:35:15.000Z | node_modules/caniuse-lite/data/features/streams.js | raunaqnijhawan/task | 4846e02c0a8acd64722d6a3cc48eb9dcef2bc055 | [
"MIT"
] | null | null | null | module.exports={A:{A:{"2":"J D E F A rB","130":"B"},B:{"1":"a b c d e f g T h H","16":"C K","260":"L G","1028":"P Q R S V W X Y Z","5124":"M N O"},C:{"2":"0 1 2 3 4 5 6 7 8 9 sB gB I i J D E F A B C K L G M N O j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB tB uB","6148":"QB RB SB TB UB VB WB XB YB ... | 692.5 | 1,384 | 0.514079 |
46e5ef5418fab6956b7edfb5988ba0f524f7b854 | 3,023 | js | JavaScript | src/pages/SpecialAnnounce.js | Schmidt-Aaron/SchemaGenerator | 47b732fa04b57c768dbe4506c509a20e0755a5bb | [
"MIT"
] | null | null | null | src/pages/SpecialAnnounce.js | Schmidt-Aaron/SchemaGenerator | 47b732fa04b57c768dbe4506c509a20e0755a5bb | [
"MIT"
] | 3 | 2021-03-10T14:50:58.000Z | 2022-02-19T00:38:32.000Z | src/pages/SpecialAnnounce.js | Schmidt-Aaron/SchemaGenerator | 47b732fa04b57c768dbe4506c509a20e0755a5bb | [
"MIT"
] | null | null | null | import React, { useReducer } from "react";
import InputPanel from "../components/SA/SAinputPanel";
import OutputPanel from "../components/SA/SAoutputPanel";
import Controls from "../components/controls";
import About from "../components/SA/aboutSA";
import Banner from "../components/banner";
import { SAProvider } from ... | 25.618644 | 75 | 0.548793 |
46e6932251d701e2bd58ec8e75b30f5618c2a4cf | 14,186 | js | JavaScript | .c9/metadata/workspace/routes/transaction.server.routes.js | macostea/term-paper-backend | b25acf8f9b8c3bf5e62b0f5312c7c93bd2e15707 | [
"MIT"
] | null | null | null | .c9/metadata/workspace/routes/transaction.server.routes.js | macostea/term-paper-backend | b25acf8f9b8c3bf5e62b0f5312c7c93bd2e15707 | [
"MIT"
] | null | null | null | .c9/metadata/workspace/routes/transaction.server.routes.js | macostea/term-paper-backend | b25acf8f9b8c3bf5e62b0f5312c7c93bd2e15707 | [
"MIT"
] | null | null | null | {"filter":false,"title":"transaction.server.routes.js","tooltip":"/routes/transaction.server.routes.js","undoManager":{"mark":100,"position":100,"stack":[[{"group":"doc","deltas":[{"start":{"row":13,"column":12},"end":{"row":13,"column":13},"action":"insert","lines":["e"]}]}],[{"group":"doc","deltas":[{"start":{"row":1... | 14,186 | 14,186 | 0.547018 |
46e76342410917096074d3c867f2667a9f5d5b3d | 1,345 | js | JavaScript | aws-sam-client/app/controllers/users/new.js | computationalcore/emberjs-aws-serverless | 3eb0dc2bd9b41cc2ae9a9e16e045633dff81b5d5 | [
"MIT"
] | 2 | 2020-09-09T05:52:18.000Z | 2020-12-31T16:37:05.000Z | aws-sam-client/app/controllers/users/new.js | computationalcore/emberjs-aws-serverless | 3eb0dc2bd9b41cc2ae9a9e16e045633dff81b5d5 | [
"MIT"
] | null | null | null | aws-sam-client/app/controllers/users/new.js | computationalcore/emberjs-aws-serverless | 3eb0dc2bd9b41cc2ae9a9e16e045633dff81b5d5 | [
"MIT"
] | 1 | 2021-07-09T21:37:20.000Z | 2021-07-09T21:37:20.000Z | import Controller from '@ember/controller';
export default Controller.extend({
loading: false,
loadingText: '',
actions: {
addUser() {
const self = this;
const firstName = this.get('firstName') ? this.get('firstName') : ' ';
const lastName = this.get('lastName') ? this.get('... | 25.865385 | 105 | 0.480297 |
46e937f3061866e41b1b4d1aa2f26a12bb81b22a | 2,780 | js | JavaScript | src/homeScreen/User/AddTouchdown/AddTouchdown.js | KennyHammerlund/apollogqlbowl | 88c542847680c4ebd123cb46f013f4c73ed2f4dc | [
"MIT"
] | 1 | 2020-01-10T14:01:18.000Z | 2020-01-10T14:01:18.000Z | src/homeScreen/User/AddTouchdown/AddTouchdown.js | KennyHammerlund/apollogqlbowl | 88c542847680c4ebd123cb46f013f4c73ed2f4dc | [
"MIT"
] | 1 | 2022-02-18T09:38:28.000Z | 2022-02-18T09:38:28.000Z | src/homeScreen/User/AddTouchdown/AddTouchdown.js | KennyHammerlund/apollogqlbowl | 88c542847680c4ebd123cb46f013f4c73ed2f4dc | [
"MIT"
] | null | null | null | import React, { useEffect } from "react";
import { Text, Button } from "native-base";
import { useMutation } from "@apollo/react-hooks";
import moment from "moment";
import ApolloClient from "../../../apollo/apollo";
import { withImageContext } from "../../../contexts/imageContext";
import { withTouchdownContext } from... | 29.574468 | 84 | 0.551079 |
226bd3652ea234004fb45e5cf96742494c835f7f | 10,575 | js | JavaScript | cardinal-kit-web/src/common/static_data/index.js | geoffrosen/CardinalKit-Web-Dashboard | dc3f32b5fce2479e4ef462cb34cc325974954a19 | [
"MIT"
] | 1 | 2022-01-29T15:54:44.000Z | 2022-01-29T15:54:44.000Z | cardinal-kit-web/src/common/static_data/index.js | geoffrosen/CardinalKit-Web-Dashboard | dc3f32b5fce2479e4ef462cb34cc325974954a19 | [
"MIT"
] | 2 | 2022-01-08T21:52:14.000Z | 2022-01-23T16:31:07.000Z | cardinal-kit-web/src/common/static_data/index.js | geoffrosen/CardinalKit-Web-Dashboard | dc3f32b5fce2479e4ef462cb34cc325974954a19 | [
"MIT"
] | 4 | 2022-01-08T01:58:23.000Z | 2022-02-13T17:57:56.000Z | /** Apple Categories and icons */
export const CategoriesList = [
{ id:"activity", name: "Activity", icon: require("@/assets/icons/Flame.png") },
{ id:"body", name: "Body Measurements", icon: require("@/assets/icons/Body.png") },
{ id:"hearing", name: "Hearing", icon: require("@/assets/icons/Hearing.png") },
{ ... | 50.841346 | 105 | 0.806052 |
226c233375f4c94772b1ee8edb611129fc7209f9 | 8,477 | js | JavaScript | assets/js/script.js | kstensing/weather-dashboard | a663eb4dba5e7e20a22c4025e2016af2e998d2f4 | [
"MIT"
] | null | null | null | assets/js/script.js | kstensing/weather-dashboard | a663eb4dba5e7e20a22c4025e2016af2e998d2f4 | [
"MIT"
] | null | null | null | assets/js/script.js | kstensing/weather-dashboard | a663eb4dba5e7e20a22c4025e2016af2e998d2f4 | [
"MIT"
] | null | null | null | var cityFormEl = document.querySelector("#city-form");
var cityInputEl = document.querySelector("#city");
var currentContainerEl = document.querySelector("#current-conditions-container");
var currentCity = document.querySelector("#current-city-weather");
var forecastContainerEl = document.querySelector("#forecast-conta... | 45.331551 | 189 | 0.594904 |
226d1cf47811b524a8c49fb0e36760e058a6a6c7 | 171 | js | JavaScript | utils/npm/peers/index.js | Roms1383/generator-kroms | 14487b420ae44b3bfc7b2c855a2e324795941046 | [
"MIT"
] | null | null | null | utils/npm/peers/index.js | Roms1383/generator-kroms | 14487b420ae44b3bfc7b2c855a2e324795941046 | [
"MIT"
] | 27 | 2019-05-29T16:34:24.000Z | 2021-10-21T10:59:18.000Z | utils/npm/peers/index.js | Roms1383/generator-kroms | 14487b420ae44b3bfc7b2c855a2e324795941046 | [
"MIT"
] | null | null | null | const fetch = require('./fetch')
const parse = require('./parse')
module.exports = async dependency => {
const output = await fetch(dependency)
return parse(output)
}
| 24.428571 | 40 | 0.701754 |
226d26338115fe4ded8149f10b1c8b5785f248ff | 523 | js | JavaScript | common/icons/components/Expand.js | saltaf07/Public-Scripts | 3262512679e16f0442e2ff21b79f14267da14d6a | [
"MIT"
] | null | null | null | common/icons/components/Expand.js | saltaf07/Public-Scripts | 3262512679e16f0442e2ff21b79f14267da14d6a | [
"MIT"
] | null | null | null | common/icons/components/Expand.js | saltaf07/Public-Scripts | 3262512679e16f0442e2ff21b79f14267da14d6a | [
"MIT"
] | null | null | null | const SvgExpand = props => (
<svg viewBox="0 0 24 24" {...props}>
<path
className="icon__shape"
fillRule="nonzero"
d="M19.07 11.2a1 1 0 0 0 1-1v-5a1 1 0 0 0-1-1h-5a1 1 0 1 0 0 2h2.59L12 10.88 7.29 6.2h2.78a1 1 0 1 0 0-2h-5a1 1 0 0 0-1 1v5a1 1 0 1 0 2 0V7.81l4.49 4.49-4.49 4.49V14.2a1 1 0 1 0-2 0... | 43.583333 | 343 | 0.608031 |
226de280e9053565ab8ed375cdd73371fee6e7dc | 99 | js | JavaScript | lib/elements/buttons/index.js | MadhavaRaoKonda/redux-form-datagrid | ca013ecb15a963a6385e667eb04df95c940de0c6 | [
"ISC"
] | null | null | null | lib/elements/buttons/index.js | MadhavaRaoKonda/redux-form-datagrid | ca013ecb15a963a6385e667eb04df95c940de0c6 | [
"ISC"
] | null | null | null | lib/elements/buttons/index.js | MadhavaRaoKonda/redux-form-datagrid | ca013ecb15a963a6385e667eb04df95c940de0c6 | [
"ISC"
] | null | null | null | import StyledButton from './button';
class Button extends StyledButton { }
export default Button;
| 19.8 | 37 | 0.777778 |
226f1f07c467f864611ecde308ce5ac7eec8d85d | 4,351 | js | JavaScript | node_modules/sw-router/src/index.js | ZhaojiaLii/weatherPWA | ce765271eebc98354c75ae88cde45d008a57650a | [
"MIT"
] | 1 | 2020-10-01T12:37:43.000Z | 2020-10-01T12:37:43.000Z | node_modules/sw-router/src/index.js | ZhaojiaLii/weatherPWA | ce765271eebc98354c75ae88cde45d008a57650a | [
"MIT"
] | null | null | null | node_modules/sw-router/src/index.js | ZhaojiaLii/weatherPWA | ce765271eebc98354c75ae88cde45d008a57650a | [
"MIT"
] | null | null | null | import pathtoRegexp from '../lib/path-to-regexp';
import Log from '../lib/log';
const log = new Log('web-service-router');
/**
* method match rule:
* 0: all
* 1: get
* 2: post
* 3: patch
* 4: put
*/
class Router {
constructor() {
// noop
/**
* save registered routes
* format: [metho... | 20.620853 | 98 | 0.518501 |
226f5501f75cabca6f67e9165b5a5439ff175d89 | 174 | js | JavaScript | examples/config/protected/controllers/~.js | ifnode/ifnode | d80bcb1d8dd0bf66edb104715794bc958cf854e6 | [
"MIT"
] | 9 | 2017-02-13T14:26:34.000Z | 2021-01-26T22:09:13.000Z | examples/config/protected/controllers/~.js | ifnode/ifnode | d80bcb1d8dd0bf66edb104715794bc958cf854e6 | [
"MIT"
] | 17 | 2017-08-22T17:41:35.000Z | 2021-02-26T23:01:34.000Z | examples/config/protected/controllers/~.js | ifnode/ifnode | d80bcb1d8dd0bf66edb104715794bc958cf854e6 | [
"MIT"
] | 1 | 2019-12-24T13:48:31.000Z | 2019-12-24T13:48:31.000Z | 'use strict';
var app = require('./../../../..')('middleware-test');
var controller = app.Controller();
controller.get(function(request, response) {
response.ok();
});
| 19.333333 | 54 | 0.62069 |
226f6febdfd9577fdcb1acf8a5af876d9c77b5eb | 98 | js | JavaScript | src/components/greenButton.js | pushkar100/webpack4course-MF-example | d4fbe697b2c63ffd5ac7fe2127c090f9aaa066d0 | [
"MIT"
] | null | null | null | src/components/greenButton.js | pushkar100/webpack4course-MF-example | d4fbe697b2c63ffd5ac7fe2127c090f9aaa066d0 | [
"MIT"
] | 4 | 2021-10-06T21:01:00.000Z | 2022-02-27T04:52:22.000Z | buttons/src/components/greenButton.js | pushkar100/webpack4course-MF-example | d4fbe697b2c63ffd5ac7fe2127c090f9aaa066d0 | [
"MIT"
] | 1 | 2020-05-17T16:58:41.000Z | 2020-05-17T16:58:41.000Z | import buttonCreator from '../utils/buttonCreator'
export default buttonCreator('green', 'green') | 32.666667 | 50 | 0.785714 |
2270a3c72122f4a797acc00666e9db3bc2627862 | 2,455 | js | JavaScript | data/db-memory.js | Ken-Richard/tincan_nodejs | 665ed7e8da926fb7327e68d20dfe10b6b11cac5a | [
"Apache-2.0"
] | 16 | 2015-02-11T02:33:01.000Z | 2021-05-05T16:56:00.000Z | data/db-memory.js | Ken-Richard/tincan_nodejs | 665ed7e8da926fb7327e68d20dfe10b6b11cac5a | [
"Apache-2.0"
] | null | null | null | data/db-memory.js | Ken-Richard/tincan_nodejs | 665ed7e8da926fb7327e68d20dfe10b6b11cac5a | [
"Apache-2.0"
] | 1 | 2015-06-24T00:30:21.000Z | 2015-06-24T00:30:21.000Z | //
// Simple In-Memory Data Store
//
var registrations = {};
function Registration(id) {
this.id = id;
this.states = {};
this.statements = {};
}
exports.reset = function(callback) {
console.log("*** RESET DATABASE ***");
registrations = {};
exports.createRegistration('SAMPLE-REGISTRATION-ID', callback);
... | 20.122951 | 65 | 0.665173 |
22711804eb65158fca1d8502290cf7d2b38ffa5f | 3,148 | js | JavaScript | lib/redux/watchers.js | kenvilar/chonky | af666e3c94604aa70b7dc592e5ce11bca730a4bd | [
"MIT"
] | null | null | null | lib/redux/watchers.js | kenvilar/chonky | af666e3c94604aa70b7dc592e5ce11bca730a4bd | [
"MIT"
] | null | null | null | lib/redux/watchers.js | kenvilar/chonky | af666e3c94604aa70b7dc592e5ce11bca730a4bd | [
"MIT"
] | 1 | 2022-02-27T06:09:12.000Z | 2022-02-27T06:09:12.000Z | "use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.useStoreWatchers = void 0;
var react_1 = require("react");
var redux_watch_1 = __importDefault(r... | 49.1875 | 127 | 0.620712 |
2272430521c7387d989396779fb57a3004263734 | 199 | js | JavaScript | src/RCContext.js | marouanekadiri/react-relative-container | e8cecbcb545c397fb3922fbc83dd3bbe870f7574 | [
"MIT"
] | null | null | null | src/RCContext.js | marouanekadiri/react-relative-container | e8cecbcb545c397fb3922fbc83dd3bbe870f7574 | [
"MIT"
] | null | null | null | src/RCContext.js | marouanekadiri/react-relative-container | e8cecbcb545c397fb3922fbc83dd3bbe870f7574 | [
"MIT"
] | null | null | null | import { createContext, useContext } from "react";
const RCContext = createContext();
export const useRCContext = () => useContext(RCContext);
export const RCContextProvider = RCContext.Provider;
| 24.875 | 56 | 0.763819 |
22738ce819c94da0511baeadf22351f7021e781c | 354 | js | JavaScript | src/storage/storage.module.js | HumanBrainProject/angular-hbp-collaboratory | e905efe40ecb7f436a6d728942d36eca949e3d04 | [
"MIT"
] | 2 | 2016-03-09T00:47:34.000Z | 2016-08-04T08:01:55.000Z | src/storage/storage.module.js | HumanBrainProject/angular-hbp-collaboratory | e905efe40ecb7f436a6d728942d36eca949e3d04 | [
"MIT"
] | 26 | 2016-03-16T08:43:30.000Z | 2018-01-22T10:58:34.000Z | src/storage/storage.module.js | HumanBrainProject/angular-hbp-collaboratory | e905efe40ecb7f436a6d728942d36eca949e3d04 | [
"MIT"
] | 3 | 2016-05-25T09:31:46.000Z | 2018-01-15T11:41:52.000Z | /**
* @module clb-storage
* @desc
* The ``clb-storage`` module contains tools needed to access and work with the
* HBP Document Service. It is targeted to integrate easily with the HBP
* Collaboratory, even if the service is more generic.
*/
angular.module('clb-storage', [
'uuid4',
'clb-error',
'clb-env',
... | 23.6 | 79 | 0.675141 |
2273d10f7aa351a7fde9c3f4e76f3c0b95489b9d | 3,573 | js | JavaScript | src/Afpa/OthelloGameBundle/Resources/public/js/functions.js | F2000-FR-AFPA-WebDev2016/othello-game | 622ba8007e34558a45d0eb7ada169ee959fa6143 | [
"MIT"
] | null | null | null | src/Afpa/OthelloGameBundle/Resources/public/js/functions.js | F2000-FR-AFPA-WebDev2016/othello-game | 622ba8007e34558a45d0eb7ada169ee959fa6143 | [
"MIT"
] | 20 | 2016-05-25T13:05:39.000Z | 2016-06-09T14:39:12.000Z | src/Afpa/OthelloGameBundle/Resources/public/js/functions.js | F2000-FR-AFPA-WebDev2016/othello-game | 622ba8007e34558a45d0eb7ada169ee959fa6143 | [
"MIT"
] | null | null | null | $(function () {
var bAide = false;
var aPossibilities = false;
function getGameId() {
return $('#board').data('id');
}
function displayPopupEndGame() {
url = START_URL + "/game/end";
idGame = getGameId();
if (idGame) {
url += "/" + idGame;
... | 26.664179 | 82 | 0.366359 |
22742326dc3d0ccfd48e98b06d3f2caa7dc0e6c6 | 1,985 | js | JavaScript | lib/plugins/access/common/authremover.js | motin/envoy | afaeb138b2a1084096ab8e85a017578748f0ac0c | [
"Apache-2.0"
] | null | null | null | lib/plugins/access/common/authremover.js | motin/envoy | afaeb138b2a1084096ab8e85a017578748f0ac0c | [
"Apache-2.0"
] | null | null | null | lib/plugins/access/common/authremover.js | motin/envoy | afaeb138b2a1084096ab8e85a017578748f0ac0c | [
"Apache-2.0"
] | null | null | null | var stream = require('stream');
module.exports = function(myId, removeOwnerId) {
// stream transformer that removes auth details from documents
return function(onlyuser) {
// whether we owe a comma to the next line out output
var commaOwed = false;
// output the response, adding the owed comm... | 26.466667 | 72 | 0.538539 |
22748b79387905ccf48a30b4f57c02cd8aa958b8 | 152 | js | JavaScript | utils/Buffer.js | horacioh/Aven | 977fe13047446d8b407eaabdabef7a1a88305e27 | [
"Apache-2.0"
] | null | null | null | utils/Buffer.js | horacioh/Aven | 977fe13047446d8b407eaabdabef7a1a88305e27 | [
"Apache-2.0"
] | null | null | null | utils/Buffer.js | horacioh/Aven | 977fe13047446d8b407eaabdabef7a1a88305e27 | [
"Apache-2.0"
] | null | null | null | /* eslint-disable no-undef */
// This file just exists for people to avoid the lint warning and pretend Buffer is not a global
export default Buffer;
| 25.333333 | 96 | 0.756579 |
227548745356d84a4c33853ca4e798cb2c4636fe | 201 | js | JavaScript | tasks/concat.js | MarkdownDocs/markdowndocs-theme-default | 223fb2cff2741a75c7d0ba4a452479b25515e035 | [
"MIT"
] | null | null | null | tasks/concat.js | MarkdownDocs/markdowndocs-theme-default | 223fb2cff2741a75c7d0ba4a452479b25515e035 | [
"MIT"
] | null | null | null | tasks/concat.js | MarkdownDocs/markdowndocs-theme-default | 223fb2cff2741a75c7d0ba4a452479b25515e035 | [
"MIT"
] | null | null | null | 'use strict';
//clean config
module.exports = {
assets: {
src: ['node_modules/jquery-highlight/jquery.highlight.js', 'pre/js/search.js', 'pre/js/nav.js'],
dest: 'assets/js/main.js',
},
};
| 20.1 | 100 | 0.631841 |
227569b08c5741862201e769902113e3b5915bf7 | 8,710 | js | JavaScript | client/src/routes/orders/OrderCreateDialog.js | IgorSolovyoff/8base-app | cbf566f32bdf9bb4d9ecc40507b6dd1b3baeff65 | [
"MIT"
] | null | null | null | client/src/routes/orders/OrderCreateDialog.js | IgorSolovyoff/8base-app | cbf566f32bdf9bb4d9ecc40507b6dd1b3baeff65 | [
"MIT"
] | null | null | null | client/src/routes/orders/OrderCreateDialog.js | IgorSolovyoff/8base-app | cbf566f32bdf9bb4d9ecc40507b6dd1b3baeff65 | [
"MIT"
] | null | null | null | import React from 'react';
import {Field, FieldArray, Form} from '@8base/forms';
import {
Button,
DateInputField,
Dialog,
Grid,
Icon,
InputField,
ModalContext,
SelectField
} from '@8base/boost';
import {graphql, Query} from 'react-apollo';
import * as sharedGraphQL from 'shared/graphql'... | 44.896907 | 169 | 0.331573 |
227744c62cf789edfd6097029e8a7eca416dd0a0 | 448 | js | JavaScript | miniprogram/pages/plan-edit/components/edit-box/edit-box.js | cleves0315/kelp-and-broccoli | 7ccfc3d5573104e44d4ae8bb71d50ae1478e9d7d | [
"MIT"
] | 8 | 2021-12-28T15:28:01.000Z | 2022-03-26T09:58:29.000Z | miniprogram/pages/plan-edit/components/edit-box/edit-box.js | cleves0315/kelp-and-broccoli | 7ccfc3d5573104e44d4ae8bb71d50ae1478e9d7d | [
"MIT"
] | 2 | 2022-01-13T16:03:29.000Z | 2022-03-26T14:48:09.000Z | miniprogram/pages/plan-edit/components/edit-box/edit-box.js | cleves0315/kelp-and-broccoli | 7ccfc3d5573104e44d4ae8bb71d50ae1478e9d7d | [
"MIT"
] | 1 | 2022-03-20T13:17:04.000Z | 2022-03-20T13:17:04.000Z | // pages/plan-edit/components/edit-box/edit-box.js
Component({
/**
* 组件的属性列表
*/
properties: {
placeholder: {
type: String,
value: '添加备注'
},
value: {
type: String,
value: ''
},
maxlength: {
type: Number,
value: -1
},
},
/**
* 组件的初始数据
*/
d... | 12.108108 | 50 | 0.453125 |
2277d34bc407acd3c825f563e00d23471bed83c2 | 1,021 | js | JavaScript | client/src/components/PopularityCategories/PopularityCategories.js | knsanchez0001/babynames | 76da2c90cfb3a176df6d76016b32873d43ac1f77 | [
"MIT"
] | null | null | null | client/src/components/PopularityCategories/PopularityCategories.js | knsanchez0001/babynames | 76da2c90cfb3a176df6d76016b32873d43ac1f77 | [
"MIT"
] | null | null | null | client/src/components/PopularityCategories/PopularityCategories.js | knsanchez0001/babynames | 76da2c90cfb3a176df6d76016b32873d43ac1f77 | [
"MIT"
] | null | null | null | import React from 'react';
import PopularityCategory from './PopularityCategory';
const PopularityCategories = () => {
return (
<section>
<div className='wrapper icons-wrapper'>
<h3>View Popularity of Names By:</h3>
<div className='icons-div'>
<PopularityCategory link='/rankchange' name={'Change in ... | 46.409091 | 148 | 0.698335 |
2277eaca04fad9dca2a320035556431de4c57608 | 9,426 | js | JavaScript | test/dates-and-times.js | GetFeedback/rethinkdb-js | a757a044fe303c907d64cdd4787f0244b7231d8f | [
"MIT"
] | 27 | 2018-09-24T15:14:43.000Z | 2021-04-25T14:38:30.000Z | test/dates-and-times.js | GetFeedback/rethinkdb-js | a757a044fe303c907d64cdd4787f0244b7231d8f | [
"MIT"
] | 5 | 2018-05-23T14:54:45.000Z | 2018-07-12T17:42:27.000Z | test/dates-and-times.js | GetFeedback/rethinkdb-js | a757a044fe303c907d64cdd4787f0244b7231d8f | [
"MIT"
] | 3 | 2020-03-06T20:09:30.000Z | 2021-09-14T23:03:33.000Z | const path = require('path')
const config = require('./config.js')
const rethinkdbdash = require(path.join(__dirname, '/../lib'))
const assert = require('assert')
const {before, after, describe, it} = require('mocha')
describe('dates and times', () => {
let r
before(async () => {
r = await rethinkdbdash(conf... | 32.061224 | 233 | 0.5784 |
2277f1f5a4952fbaa63994b9eba596d39078ebe9 | 302 | js | JavaScript | dist/es/hooks/useIsomorphicLayoutEffect.js | galexandrade/react-menu | 1c2166ea7ccca1f14d70a91d301b504e80e6111a | [
"MIT"
] | 1 | 2022-03-02T12:45:29.000Z | 2022-03-02T12:45:29.000Z | dist/es/hooks/useIsomorphicLayoutEffect.js | galexandrade/react-menu | 1c2166ea7ccca1f14d70a91d301b504e80e6111a | [
"MIT"
] | null | null | null | dist/es/hooks/useIsomorphicLayoutEffect.js | galexandrade/react-menu | 1c2166ea7ccca1f14d70a91d301b504e80e6111a | [
"MIT"
] | null | null | null | import { useLayoutEffect, useEffect } from 'react';
var useIsomorphicLayoutEffect = typeof window !== 'undefined' && typeof window.document !== 'undefined' && typeof window.document.createElement !== 'undefined' ? useLayoutEffect : useEffect;
export { useIsomorphicLayoutEffect as useLayoutEffect };
| 50.333333 | 190 | 0.764901 |
227923e83856ce4e9e221dc528243aaf5bf77eff | 2,405 | js | JavaScript | test/util.spec.js | jovey-zheng/aliyun-push | 0dbcc9ac026b2b66c275065f2578c1a07aa6be34 | [
"MIT"
] | 2 | 2017-05-11T02:03:18.000Z | 2018-10-09T07:07:30.000Z | test/util.spec.js | jovey-zheng/aliyun-push | 0dbcc9ac026b2b66c275065f2578c1a07aa6be34 | [
"MIT"
] | null | null | null | test/util.spec.js | jovey-zheng/aliyun-push | 0dbcc9ac026b2b66c275065f2578c1a07aa6be34 | [
"MIT"
] | 1 | 2021-06-01T09:35:20.000Z | 2021-06-01T09:35:20.000Z | 'use strict';
const assert = require('assert');
const urlencode = require('urlencode');
const crypto = require('crypto');
const qs = require('querystring');
const util = require('../util');
const md5 = require('md5');
const _ = require('lodash');
const moment = require('moment');
describe ('util.js', () => {
descri... | 25.860215 | 94 | 0.530146 |
227950d87228e4635a186b0359fa87de9f35d9a5 | 12,585 | js | JavaScript | test/server/cards/14.1-RaW/EducatedHeimin.spec.js | kepac122/ringteki | edc980e64c911b169ba532086175896934579641 | [
"MIT"
] | 15 | 2020-02-15T23:31:29.000Z | 2021-02-17T07:19:26.000Z | test/server/cards/14.1-RaW/EducatedHeimin.spec.js | kepac122/ringteki | edc980e64c911b169ba532086175896934579641 | [
"MIT"
] | 890 | 2020-01-31T23:22:08.000Z | 2021-07-30T23:46:20.000Z | test/server/cards/14.1-RaW/EducatedHeimin.spec.js | kepac122/ringteki | edc980e64c911b169ba532086175896934579641 | [
"MIT"
] | 20 | 2020-01-29T03:25:41.000Z | 2022-03-10T17:50:48.000Z | describe('Educated Heimin', function() {
integration(function() {
beforeEach(function() {
this.setupTest({
phase: 'conflict',
player1: {
fate: 20,
hand: ['educated-heimin'],
dynastyDiscard: ['akodo-zentar... | 56.689189 | 219 | 0.635677 |
22798418f79e28eca45bd44fc3e694d24be55578 | 958 | js | JavaScript | db/seeders/3-DemoUser.js | thesilentelegy/sage | 1acb667296abe6cd3de733fa136c802449ebf7bd | [
"MIT"
] | null | null | null | db/seeders/3-DemoUser.js | thesilentelegy/sage | 1acb667296abe6cd3de733fa136c802449ebf7bd | [
"MIT"
] | null | null | null | db/seeders/3-DemoUser.js | thesilentelegy/sage | 1acb667296abe6cd3de733fa136c802449ebf7bd | [
"MIT"
] | null | null | null | 'use strict';
module.exports = {
up: (queryInterface, Sequelize) => {
return queryInterface.bulkInsert('Users', [
{
username: 'user1',
password: '1234',
sectionId: 1,
role: 'voter',
active: 1
},
{
username: 'user2',
password: '5678',
... | 18.784314 | 56 | 0.441545 |
2279f2f1dbff37a2d3603793953ff4d2fd5d0d20 | 16,730 | js | JavaScript | app/js/admin.js | neureal/neureal-dapp-join | dabd2da4889994a5023e63fdaf19fbf10516bc52 | [
"MIT"
] | null | null | null | app/js/admin.js | neureal/neureal-dapp-join | dabd2da4889994a5023e63fdaf19fbf10516bc52 | [
"MIT"
] | null | null | null | app/js/admin.js | neureal/neureal-dapp-join | dabd2da4889994a5023e63fdaf19fbf10516bc52 | [
"MIT"
] | null | null | null | /* globals web3 */
import $ from 'jquery';
import EmbarkJS from 'Embark/EmbarkJS';
import NeurealRewards from 'Embark/contracts/NeurealRewards';
// import EmbarkJS from './embarkArtifacts/embarkjs';
// import Token from './embarkArtifacts/contracts/Token';
const ipfsApiProvider = ipfsOptionsURL('https://ipfs.neureal.i... | 54.142395 | 209 | 0.592767 |
227a1692ee442833e8305fc68fe4dd0f3267b1a7 | 450 | js | JavaScript | qa-auto/A003_edit_item.js | sassyfox/qachallenge | 0fa56a1570b4bcdd25fdce335bdd2d194f355a80 | [
"MIT"
] | null | null | null | qa-auto/A003_edit_item.js | sassyfox/qachallenge | 0fa56a1570b4bcdd25fdce335bdd2d194f355a80 | [
"MIT"
] | null | null | null | qa-auto/A003_edit_item.js | sassyfox/qachallenge | 0fa56a1570b4bcdd25fdce335bdd2d194f355a80 | [
"MIT"
] | null | null | null | module.exports = {
'A003-Double clicking allows you to edit the task': function(client) {
client
.url('http://todomvc.com/examples/angular2/')
.waitForElementVisible('#header h1', 1000)
.setValue('#new-todo', 'TaskA003-1')
.submitForm('#todo-form')
.doubleClick('#todo-list li:fi... | 37.5 | 71 | 0.635556 |
227c5738fda384242e34da4d7bdf282c9ff4a543 | 3,609 | js | JavaScript | SDK-Test/test/modern/regression/KitchenSink/Charts/ColumnCharts/100%Stacked.js | CelestialSystem/SenchaTestDemo | 4bd5085e5f874d6be6d080be1f7a29c4a667dbf0 | [
"Apache-2.0"
] | 22 | 2015-12-17T16:45:46.000Z | 2019-02-16T19:21:49.000Z | SDK-Test/test/modern/regression/KitchenSink/Charts/ColumnCharts/100%Stacked.js | CelestialSystem/SenchaTestDemo | 4bd5085e5f874d6be6d080be1f7a29c4a667dbf0 | [
"Apache-2.0"
] | 8 | 2016-02-16T21:28:07.000Z | 2019-07-26T07:14:59.000Z | SDK-Test/test/modern/regression/KitchenSink/Charts/ColumnCharts/100%Stacked.js | CelestialSystem/SenchaTestDemo | 4bd5085e5f874d6be6d080be1f7a29c4a667dbf0 | [
"Apache-2.0"
] | 43 | 2015-12-17T19:03:04.000Z | 2021-07-26T04:44:35.000Z | /**
* modern KS > Charts > Column Charts > 100% Stacked
* tested on:
* desktop:
* Chrome 59
* Firefox 54
* IE 11
* Edge 15
* tablet:
* Safari 10
* Android 4.4, 5.0
* Edge 14
* mobile:
* ... | 35.038835 | 128 | 0.401496 |
227c906baf66e4dde9b64576b5a6fa95248f1d04 | 2,093 | js | JavaScript | lib/modules/release/install.js | raftario/lib-cemu | 1d5ebed12081aec5465dcd7a774d2ad03b91606e | [
"MIT"
] | 2 | 2019-05-03T10:03:25.000Z | 2019-06-21T23:05:53.000Z | lib/modules/release/install.js | raftario/lib-cemu | 1d5ebed12081aec5465dcd7a774d2ad03b91606e | [
"MIT"
] | 3 | 2020-03-14T00:23:00.000Z | 2020-05-19T00:40:56.000Z | lib/modules/release/install.js | raftario/lib-cemu | 1d5ebed12081aec5465dcd7a774d2ad03b91606e | [
"MIT"
] | null | null | null | 'use strict'
const fs = require('fs')
const path = require('path')
const yauzl = require('yauzl')
const ReleaseInstall = require('../../classes').ReleaseInstall
const download = require('./download')
/**
* Download and install a Cemu release
* @param {Release(2)} release - Release to install
* @param {string} dir... | 29.478873 | 115 | 0.509317 |
227d1aaee57e25469249d0d21278c22af92c3fc2 | 19,312 | js | JavaScript | src/Components/Projects.js | manishk-99/ReactClonePortfolio | 0fdd16c293434dd8e04eeb80b0f2599c71e783e1 | [
"MIT"
] | null | null | null | src/Components/Projects.js | manishk-99/ReactClonePortfolio | 0fdd16c293434dd8e04eeb80b0f2599c71e783e1 | [
"MIT"
] | 1 | 2021-04-02T08:44:12.000Z | 2021-04-02T08:44:12.000Z | src/Components/Projects.js | manishk-99/ReactClonePortfolio | 0fdd16c293434dd8e04eeb80b0f2599c71e783e1 | [
"MIT"
] | 1 | 2021-04-01T14:14:33.000Z | 2021-04-01T14:14:33.000Z | import React from "react";
import { Link } from "react-router-dom";
const Projects = () => {
return (
<div>
<nav className="navigation container">
<div className="nav-brand">
<strong>
<a className="link" href="https://dz6om.csb.app/">
ManishKumar
</a>... | 43.107143 | 481 | 0.478355 |
227dc53f71566957afe20b3ac6c9343ab638b34c | 350 | js | JavaScript | firebase/functions/src/functions/syncPhotoList.js | imagitama/vrphotobuddy | b73469a56fe764b669c3a889f3506583e6371998 | [
"MIT"
] | null | null | null | firebase/functions/src/functions/syncPhotoList.js | imagitama/vrphotobuddy | b73469a56fe764b669c3a889f3506583e6371998 | [
"MIT"
] | null | null | null | firebase/functions/src/functions/syncPhotoList.js | imagitama/vrphotobuddy | b73469a56fe764b669c3a889f3506583e6371998 | [
"MIT"
] | null | null | null | const functions = require('firebase-functions')
const { hydratePhotoList } = require('../photos')
module.exports = functions.https.onRequest(async (req, res) => {
try {
await hydratePhotoList()
res.status(200).send('Synced!')
} catch (err) {
console.error(err)
throw new functions.https.HttpsError('... | 26.923077 | 64 | 0.677143 |
227e983983bc9ba6b8f5778e88677ecf735da679 | 500 | js | JavaScript | board-game-client/src/components/BoardGameList.js | johanesteves/fi-final-board-game-app | a54da0c9d89ccc6bd54e8a1e6af49de99d5d3f0e | [
"MIT"
] | 1 | 2018-01-09T01:55:54.000Z | 2018-01-09T01:55:54.000Z | board-game-client/src/components/BoardGameList.js | johanesteves/fi-final-board-game-app | a54da0c9d89ccc6bd54e8a1e6af49de99d5d3f0e | [
"MIT"
] | null | null | null | board-game-client/src/components/BoardGameList.js | johanesteves/fi-final-board-game-app | a54da0c9d89ccc6bd54e8a1e6af49de99d5d3f0e | [
"MIT"
] | null | null | null | import React from 'react';
import BoardGameCard from '../components/BoardGameCard';
const BoardGameList = (props) => {
return (
<div className="album text-muted">
<div className="container">
<div className="row">
{props.boardgames.map((boardgame) => {
... | 27.777778 | 82 | 0.54 |
227fa4fca46a8a18bcb0b74232ae1406cc831334 | 108 | js | JavaScript | docs/doxygen-html/fibonacci_8cpp.js | Neeraj2K18/Mordern_Cpp | 0be7a846fd72ad48e408729f0cbf2d9da1c25ee8 | [
"MIT"
] | 1 | 2022-01-04T20:29:39.000Z | 2022-01-04T20:29:39.000Z | docs/doxygen-html/fibonacci_8cpp.js | Neeraj2K18/Mordern_Cpp | 0be7a846fd72ad48e408729f0cbf2d9da1c25ee8 | [
"MIT"
] | null | null | null | docs/doxygen-html/fibonacci_8cpp.js | Neeraj2K18/Mordern_Cpp | 0be7a846fd72ad48e408729f0cbf2d9da1c25ee8 | [
"MIT"
] | null | null | null | var fibonacci_8cpp =
[
[ "fibonacci", "fibonacci_8cpp.html#ab93142d864eaee74a3645ac9c809e897", null ]
]; | 27 | 82 | 0.75 |
228003918787dca47b1654020fe24c552bd45a6a | 2,590 | js | JavaScript | app/models/News.js | wisdomsuzhihui/zczj | 113641c3c1fd1eed86f9bfaea53dfab94c9a0d0e | [
"MIT"
] | null | null | null | app/models/News.js | wisdomsuzhihui/zczj | 113641c3c1fd1eed86f9bfaea53dfab94c9a0d0e | [
"MIT"
] | null | null | null | app/models/News.js | wisdomsuzhihui/zczj | 113641c3c1fd1eed86f9bfaea53dfab94c9a0d0e | [
"MIT"
] | null | null | null | /* jshint indent: 2 */
module.exports = function (sequelize, DataTypes) {
return sequelize.define('News', {
NewsID: {
type: DataTypes.INTEGER,
allowNull: false,
primaryKey: true,
autoIncrement: true
},
UserID: {
type: DataTypes.INTEGER,
allowNull: false,
defaultV... | 19.621212 | 50 | 0.527027 |
22800fba29f8ee19515abb07d13777888932f172 | 2,965 | js | JavaScript | public/selection_handlers/Role.js | ZQWhiting/employee-tracker | dd096a61739f52bc4a3b4dcbcbc35dd16a9fc1d7 | [
"ISC"
] | null | null | null | public/selection_handlers/Role.js | ZQWhiting/employee-tracker | dd096a61739f52bc4a3b4dcbcbc35dd16a9fc1d7 | [
"ISC"
] | null | null | null | public/selection_handlers/Role.js | ZQWhiting/employee-tracker | dd096a61739f52bc4a3b4dcbcbc35dd16a9fc1d7 | [
"ISC"
] | null | null | null | require('console.table');
const fetch = require('node-fetch');
const inquirer = require('inquirer');
const paths = require('../../utils/paths')
const { getData, getSingleDataRow } = require('../../utils/getData');
const { toTitleCaseTrim, createChoicesArray } = require('../../utils/utils');
class Role {
static asy... | 33.693182 | 124 | 0.534907 |
2280bfaf35be219a8063fe9096004ab162f4d656 | 427 | js | JavaScript | others/09-while.js | HecFranco/Javascript-by-Samples | 1eec34c9ff7412e6710937b2713ac81893881ac1 | [
"MIT"
] | null | null | null | others/09-while.js | HecFranco/Javascript-by-Samples | 1eec34c9ff7412e6710937b2713ac81893881ac1 | [
"MIT"
] | null | null | null | others/09-while.js | HecFranco/Javascript-by-Samples | 1eec34c9ff7412e6710937b2713ac81893881ac1 | [
"MIT"
] | null | null | null | 'use strict'
// Bucle while
var year = 2018;
while(year != 1991){
// ejecuta esto
console.log("Estamos en el alio: "+year);
year--;
}
// Break
while(year != 1991){
// ejecuta esto
console.log("Estamos en el alio: "+year);
if(year == 2000){
break;
}
year--;
}
// Do while
var years = ... | 15.814815 | 63 | 0.571429 |
2280c5635e8bb1f3f48ba46694c370358f8260a3 | 841 | js | JavaScript | src/utils/cookies.js | pierrecabriere/-plugandwork-core-ui | 9171b249b0e612f5487c6d160f7cb2a5e6c4799a | [
"MIT"
] | null | null | null | src/utils/cookies.js | pierrecabriere/-plugandwork-core-ui | 9171b249b0e612f5487c6d160f7cb2a5e6c4799a | [
"MIT"
] | null | null | null | src/utils/cookies.js | pierrecabriere/-plugandwork-core-ui | 9171b249b0e612f5487c6d160f7cb2a5e6c4799a | [
"MIT"
] | null | null | null | export const tokenKey = 'paw_token'
export const cookieParser = () => {
const { cookie } = document
const parsed = {}
cookie.split('; ').forEach((c) => {
const spc = c.split('=')
const key = spc[0]
const val = spc[1]
parsed[key] = val
})
return parsed
}
export const getTokenFromCookie = () ... | 23.361111 | 52 | 0.649227 |
2281fa54ad6784d85542b6a12c57677df3cf9509 | 8,445 | js | JavaScript | api/controllers/streams.js | JobKlimop/TheCircle-API-Stream | ffce612109b64f36fca65b7173f9d0a706a1136b | [
"MIT"
] | null | null | null | api/controllers/streams.js | JobKlimop/TheCircle-API-Stream | ffce612109b64f36fca65b7173f9d0a706a1136b | [
"MIT"
] | null | null | null | api/controllers/streams.js | JobKlimop/TheCircle-API-Stream | ffce612109b64f36fca65b7173f9d0a706a1136b | [
"MIT"
] | null | null | null | const hashChecker = require('../../hash_checker');
const _ = require('lodash');
const request = require('request');
function getStreams(req, res, next) {
let stats = {};
this.sessions.forEach(function (session, id) {
if (session.isStarting) {
let regRes = /\/(.*)\/(.*)/gi.exec(session.publishStreamPath || ... | 28.244147 | 154 | 0.602487 |
22828aab753fde8374892f0ea1ddd4803b3c4f04 | 19,456 | js | JavaScript | src/static/gx09k0.js | ronaldomg/Valim_EFS_REDIS | 67ce6769fccffef1455cbb616ab3a02e30e034b2 | [
"Unlicense"
] | null | null | null | src/static/gx09k0.js | ronaldomg/Valim_EFS_REDIS | 67ce6769fccffef1455cbb616ab3a02e30e034b2 | [
"Unlicense"
] | null | null | null | src/static/gx09k0.js | ronaldomg/Valim_EFS_REDIS | 67ce6769fccffef1455cbb616ab3a02e30e034b2 | [
"Unlicense"
] | null | null | null | /**@preserve GeneXus Java 10_3_12-110051 on December 12, 2020 20:32:52.31
*/
gx.evt.autoSkip = false;
gx.define('gx09k0', false, function () {
this.ServerClass = "gx09k0" ;
this.PackageName = "" ;
this.setObjectType("web");
this.setOnAjaxSessionTimeout("Warn");
this.hasEnterEvent = true;
this.skipO... | 142.014599 | 943 | 0.763877 |
2282c87c749ca81068d560b5667880cae97d88b7 | 795 | js | JavaScript | src/app.js | MichaelXu1983/portal-childapp-vue | 8f651a380e4cde666564a4a033603d240f588905 | [
"MIT"
] | 1 | 2020-03-14T07:49:47.000Z | 2020-03-14T07:49:47.000Z | src/app.js | MichaelXu1983/portal-childapp-vue | 8f651a380e4cde666564a4a033603d240f588905 | [
"MIT"
] | 5 | 2020-07-19T07:32:21.000Z | 2022-02-26T22:25:59.000Z | src/app.js | MichaelXu1983/portal-childapp-vue | 8f651a380e4cde666564a4a033603d240f588905 | [
"MIT"
] | null | null | null | import Vue from 'vue'
import VueRouter from 'vue-router'
import '@/router/routes.js'
import routes from '@/router/index.js'
import store from '@/store/index.js'
// import ELEMENT from 'element-ui'
// import { Button, Message } from 'element-ui' // 按需引入 Element
// import '../theme/index.css'
import App from '@/views/app... | 22.714286 | 74 | 0.675472 |
2283998649ec159c6ba0e1dc6817e5afc47db52c | 2,326 | js | JavaScript | packages/web-spindle/projectors/mapping/_mappingHandlerOps.js | valaatech/kernel | 8e24e9e731bb67d0da82fbd56b6a8e32f22c178f | [
"MIT"
] | 5 | 2019-12-30T08:24:57.000Z | 2021-12-12T13:38:37.000Z | packages/web-spindle/projectors/mapping/_mappingHandlerOps.js | Valaa-Technologies/valaa-vault | 8e24e9e731bb67d0da82fbd56b6a8e32f22c178f | [
"MIT"
] | 2 | 2018-08-15T12:38:16.000Z | 2018-09-21T07:17:55.000Z | packages/web-spindle/projectors/mapping/_mappingHandlerOps.js | Valaa-Technologies/valaa-vault | 8e24e9e731bb67d0da82fbd56b6a8e32f22c178f | [
"MIT"
] | 1 | 2018-04-06T12:26:59.000Z | 2018-04-06T12:26:59.000Z | // @flow
import type { PrefixRouter, Route } from "~/web-spindle/MapperService";
import { _verifyResourceAuthorization } from "../_commonProjectorOps";
import { _presolveResourceRouteRequest } from "../resource/_resourceHandlerOps";
import { dumpObject } from "~/tools";
export function _createToMapping (router: Pre... | 43.074074 | 91 | 0.693465 |
2283a16851c9dae6b2875acbfc8076c8bdea86e7 | 18,553 | js | JavaScript | exchange/node_modules/coinfalcon/dist/libs/https.js | nugness123/gekko | 58d7398ed34cf2cf296fc7e92492036df4e5b386 | [
"MIT"
] | 3 | 2020-07-11T06:09:00.000Z | 2020-10-07T00:11:07.000Z | exchange/node_modules/coinfalcon/dist/libs/https.js | nugness123/gekko | 58d7398ed34cf2cf296fc7e92492036df4e5b386 | [
"MIT"
] | 9 | 2020-07-18T11:22:51.000Z | 2022-02-12T22:19:39.000Z | exchange/node_modules/coinfalcon/dist/libs/https.js | adradr/gekko_with_gekkoga | b959c83c698d4c40aa5ac8b0454e1c06d7fb01bc | [
"MIT"
] | 2 | 2021-02-12T17:37:43.000Z | 2021-03-07T20:34:28.000Z | 'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _stringify = require('babel-runtime/core-js/json/stringify');
var _stringify2 = _interopRequireDefault(_stringify);
var _promise = require('babel-runtime/core-js/promise');
var _promise2 = _interopRequireDefault(_promise);
var _ass... | 19.406904 | 134 | 0.330459 |
228439576f97043ff60484f99c2d86a47421ddfa | 274 | js | JavaScript | gaze_project/gazeBehavior/ver_5/templates/src/components/Footer.js | kidrabit/Data-Visualization-Lab-RND | baa19ee4e9f3422a052794e50791495632290b36 | [
"Apache-2.0"
] | 1 | 2022-01-18T01:53:34.000Z | 2022-01-18T01:53:34.000Z | gaze_project/gazeBehavior/ver_5/templates/src/components/Footer.js | kidrabit/Data-Visualization-Lab-RND | baa19ee4e9f3422a052794e50791495632290b36 | [
"Apache-2.0"
] | null | null | null | gaze_project/gazeBehavior/ver_5/templates/src/components/Footer.js | kidrabit/Data-Visualization-Lab-RND | baa19ee4e9f3422a052794e50791495632290b36 | [
"Apache-2.0"
] | null | null | null | import React from 'react';
class Footer extends React.Component {
render() {
return (
<>
<hr />
<div>ⓒData Visualization Lab, <a href="http://sejong.ac.kr">Sejong University</a></div>
</>
);
}
}
export default Footer;
| 18.266667 | 96 | 0.536496 |
2284522a55376051afdd8fce4d0482eb960c327e | 674 | js | JavaScript | rallyboard-v2/client/src/LoadingStatus.js | tylerjw/rallyscores | fd624b74a923f360431e8d34640862d280176c12 | [
"MIT"
] | 1 | 2020-10-11T18:02:02.000Z | 2020-10-11T18:02:02.000Z | rallyboard-v2/client/src/LoadingStatus.js | tylerjw/rallyscores | fd624b74a923f360431e8d34640862d280176c12 | [
"MIT"
] | null | null | null | rallyboard-v2/client/src/LoadingStatus.js | tylerjw/rallyscores | fd624b74a923f360431e8d34640862d280176c12 | [
"MIT"
] | null | null | null | import React, { Component } from 'react';
import {
Progress,
Segment,
Header
} from 'semantic-ui-react';
class LoadingStatus extends Component {
render() {
const { status } = this.props;
let percent = 0;
if (status === 'started') {
percent = 25;
} else if (status === 'pending') {
p... | 20.424242 | 81 | 0.569733 |
22853b4234167cb9023874ecbbfb7e6f55e3438c | 786 | js | JavaScript | controllers/authController.js | nasiratt92/WDI-project-three-sinatrafans | 7e634e8ae6ede50d6bed0d2ce66fd5516678e45e | [
"MIT"
] | 1 | 2018-11-06T15:15:27.000Z | 2018-11-06T15:15:27.000Z | controllers/authController.js | nasiratt92/WDI-project-three-sinatrafans | 7e634e8ae6ede50d6bed0d2ce66fd5516678e45e | [
"MIT"
] | null | null | null | controllers/authController.js | nasiratt92/WDI-project-three-sinatrafans | 7e634e8ae6ede50d6bed0d2ce66fd5516678e45e | [
"MIT"
] | null | null | null | const User = require('../models/user');
const jwt = require('jsonwebtoken');
const { secret } = require('../config/environment');
function register(req, res, next){
User
.create(req.body)
.then(() => res.json({message: 'registration successful'}))
.catch(next);
}
function login(req, res, next){
User
... | 27.103448 | 87 | 0.617048 |
2288024a89634fabb73ddc6f8ab95e568c25fee6 | 385 | js | JavaScript | src/client/reducers/confirmation-email.js | lexarflash8g/sba-gov-katana | d9f67bdd7ad194d37377693cecdfed3a91f4ffa2 | [
"Apache-2.0"
] | 2 | 2020-05-05T16:58:21.000Z | 2021-03-08T21:40:18.000Z | src/client/reducers/confirmation-email.js | lexarflash8g/sba-gov-katana | d9f67bdd7ad194d37377693cecdfed3a91f4ffa2 | [
"Apache-2.0"
] | 14 | 2019-07-25T23:53:32.000Z | 2021-07-16T18:31:30.000Z | src/client/reducers/confirmation-email.js | lexarflash8g/sba-gov-katana | d9f67bdd7ad194d37377693cecdfed3a91f4ffa2 | [
"Apache-2.0"
] | 5 | 2020-04-07T13:29:08.000Z | 2021-03-16T22:10:22.000Z | const confirmationEmailReducer = (state = {}, action) => {
if (action.type === 'RESEND_CONFIRMATION_EMAIL_SUCCESS') {
return Object.assign({}, state, {
resent: 'success'
})
} else if (action.type === 'RESEND_CONFIRMATION_EMAIL_ERROR') {
return Object.assign({}, state, {
resent: 'error'
}... | 24.0625 | 65 | 0.649351 |