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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
15f2c996ba366d58ee2a6d656f1d00a8981bde97 | 66,312 | js | JavaScript | factory-ai-vision/EdgeSolution/modules/WebModule/backend/ui_production/static/js/main.4646d30d.chunk.js | hjerezmsft/azure-intelligent-edge-patterns | 9e3e3963c563cd52a076789a97a561293ccc295a | [
"MIT"
] | null | null | null | factory-ai-vision/EdgeSolution/modules/WebModule/backend/ui_production/static/js/main.4646d30d.chunk.js | hjerezmsft/azure-intelligent-edge-patterns | 9e3e3963c563cd52a076789a97a561293ccc295a | [
"MIT"
] | null | null | null | factory-ai-vision/EdgeSolution/modules/WebModule/backend/ui_production/static/js/main.4646d30d.chunk.js | hjerezmsft/azure-intelligent-edge-patterns | 9e3e3963c563cd52a076789a97a561293ccc295a | [
"MIT"
] | null | null | null | (this.webpackJsonpui=this.webpackJsonpui||[]).push([[0],{688:function(e,t,n){e.exports=n(939)},697:function(e,t,n){},937:function(e,t,n){},939:function(e,t,n){"use strict";n.r(t);var a,r=n(0),c=n.n(r),i=n(43),o=n.n(i),l=n(20),u=n(467),s=(n(697),n(85)),d=n(468),m=n(469),g=n(259),f=n(470),p=n.n(f);!function(e){e.None="no... | 33,156 | 66,264 | 0.703146 |
15f3b84bf0990e6fd28c8f09a558bdf4e325cdc1 | 224 | js | JavaScript | lib/webix/sources/views/daterangepicker.js | FarfallaHu/brainchop | 9963e258cb5ad973a6e0991a88b1fe0081cb0855 | [
"MIT"
] | 16 | 2021-12-16T19:25:17.000Z | 2022-03-30T14:48:04.000Z | lib/webix/sources/views/daterangepicker.js | FarfallaHu/brainchop | 9963e258cb5ad973a6e0991a88b1fe0081cb0855 | [
"MIT"
] | 1 | 2022-03-30T00:03:38.000Z | 2022-03-30T00:03:38.000Z | lib/webix/sources/views/daterangepicker.js | FarfallaHu/brainchop | 9963e258cb5ad973a6e0991a88b1fe0081cb0855 | [
"MIT"
] | 2 | 2022-03-29T23:16:54.000Z | 2022-03-29T23:39:00.000Z |
import {protoUI} from "../ui/core";
import template from "../views/template";
protoUI({ name:"daterangepicker", defaults:{
template:"GPL version doesn't support daterangepicker <br> You need Webix PRO"
}}, template.view); | 32 | 79 | 0.727679 |
15f3dc7c0f19a1ab10b376a5f99c341a83d23280 | 1,684 | js | JavaScript | src/components/login/login.js | aryan-basu/Resturant-manager | 1be5d1a2a3db3215a23d35508330d667eee6db43 | [
"MIT"
] | null | null | null | src/components/login/login.js | aryan-basu/Resturant-manager | 1be5d1a2a3db3215a23d35508330d667eee6db43 | [
"MIT"
] | null | null | null | src/components/login/login.js | aryan-basu/Resturant-manager | 1be5d1a2a3db3215a23d35508330d667eee6db43 | [
"MIT"
] | null | null | null | import React from 'react'
import {useHistory} from 'react-router-dom';
import StyledFirebaseAuth from "react-firebaseui/StyledFirebaseAuth";
import firebase from 'firebase';
function login(props) {
var uiConfig = {
signInFlow: "popup",
signInSuccessUrl: '/dashboard',
signInOptions... | 31.185185 | 89 | 0.466746 |
15f3f386b4e4d9d55ff47d84d876819c44b0a754 | 1,357 | js | JavaScript | frontend-web/src/itemHealth.js | bmusuko/bulzen | 9ca66321931b6c17f608d90b7900bf803320335b | [
"MIT"
] | null | null | null | frontend-web/src/itemHealth.js | bmusuko/bulzen | 9ca66321931b6c17f608d90b7900bf803320335b | [
"MIT"
] | null | null | null | frontend-web/src/itemHealth.js | bmusuko/bulzen | 9ca66321931b6c17f608d90b7900bf803320335b | [
"MIT"
] | null | null | null | import React from 'react'
import { Chart, Doughnut } from 'react-chartjs-2';
const option = {
legend: {
display: false
},
tooltips: {enabled: false},
hover: {mode: null},
}
class Health extends React.Component{
constructor(props){
super(props);
console.log(this.props)
... | 29.5 | 91 | 0.44731 |
15f412733be0fbab9758ea2a3096d1529290d9d6 | 990 | js | JavaScript | modules/blog/client/config/blog.client.menu.js | eugene-goldberg/Portal | 621df9c14d621b07ef40be2b5b12fe32ede8a874 | [
"MIT"
] | null | null | null | modules/blog/client/config/blog.client.menu.js | eugene-goldberg/Portal | 621df9c14d621b07ef40be2b5b12fe32ede8a874 | [
"MIT"
] | null | null | null | modules/blog/client/config/blog.client.menu.js | eugene-goldberg/Portal | 621df9c14d621b07ef40be2b5b12fe32ede8a874 | [
"MIT"
] | null | null | null | (function() {
'use strict';
angular
.module('app.blog')
.run(coreMenu);
coreMenu.$inject = ['Menus'];
//function coreMenu(Menus){
//
// Menus.addMenuItem('sidebar', {
// title: 'Blog',
// state: 'app.blog',
// type: 'dropdown',
// ... | 25.384615 | 55 | 0.424242 |
15f4e1f2d4e9180b49a1449cd7d44a7663736624 | 2,179 | js | JavaScript | packages/build/plugins.js | svewag/podlove-ui | 67032b638a6c0d5a41d8db557ee6283db412afe1 | [
"MIT"
] | null | null | null | packages/build/plugins.js | svewag/podlove-ui | 67032b638a6c0d5a41d8db557ee6283db412afe1 | [
"MIT"
] | null | null | null | packages/build/plugins.js | svewag/podlove-ui | 67032b638a6c0d5a41d8db557ee6283db412afe1 | [
"MIT"
] | null | null | null | const webpack = require('webpack')
const { VueLoaderPlugin } = require('vue-loader')
const MiniCssExtractPlugin = require('mini-css-extract-plugin')
const OptimizeCSSAssetsPlugin = require('optimize-css-assets-webpack-plugin')
const WebpackAutoInject = require('webpack-auto-inject-version')
const HtmlWebpackPlugin = r... | 25.635294 | 84 | 0.678293 |
15f55b1ddffad643ed6f8b314364ababbac66352 | 57,521 | js | JavaScript | public/js/raphael-min.js | mortezarajabi/sib | 14ab233308652bc8bee35c8a92b7f4e18069fd50 | [
"MIT"
] | null | null | null | public/js/raphael-min.js | mortezarajabi/sib | 14ab233308652bc8bee35c8a92b7f4e18069fd50 | [
"MIT"
] | null | null | null | public/js/raphael-min.js | mortezarajabi/sib | 14ab233308652bc8bee35c8a92b7f4e18069fd50 | [
"MIT"
] | null | null | null | /*
* Raphael 1.3.1 - JavaScript Vector Library
*
* Copyright (c) 2008 - 2009 Dmitry Baranovskiy (http://raphaeljs.com)
* Licensed under the MIT (http://www.opensource.org/licenses/mit-license.php) license.
*/
Raphael=(function(){var a=/[, ]+/,aO=/^(circle|rect|path|ellipse|text|image)$/,L=document,au=window,l={was... | 8,217.285714 | 57,307 | 0.631178 |
15f65a2a3d9fcc727bd9f034f6416ffe56f26dfe | 130 | js | JavaScript | src/components/shoutout.js | joshcoast/gatsby-site | df844a7a56b3ce0c9c1bdd5aba79970e67b50486 | [
"MIT"
] | 2 | 2019-08-29T15:03:17.000Z | 2019-08-29T15:15:43.000Z | src/components/shoutout.js | joshcoast/gatsby-site | df844a7a56b3ce0c9c1bdd5aba79970e67b50486 | [
"MIT"
] | 10 | 2019-08-29T10:14:25.000Z | 2022-02-26T17:03:50.000Z | src/components/shoutout.js | joshcoast/gatsby-site | df844a7a56b3ce0c9c1bdd5aba79970e67b50486 | [
"MIT"
] | null | null | null | import React from "react"
const Shoutout = ({ children }) => <div className="shoutout">{children}</div>
export default Shoutout
| 21.666667 | 77 | 0.715385 |
15f6ae698cf265daf0b904a911bf324042932839 | 5,521 | js | JavaScript | utils/markdown/index.test.js | WGH-/mattermost-webapp | 68f1ff282612b4e672a51e1ffe686faf36f3088c | [
"Apache-2.0"
] | null | null | null | utils/markdown/index.test.js | WGH-/mattermost-webapp | 68f1ff282612b4e672a51e1ffe686faf36f3088c | [
"Apache-2.0"
] | null | null | null | utils/markdown/index.test.js | WGH-/mattermost-webapp | 68f1ff282612b4e672a51e1ffe686faf36f3088c | [
"Apache-2.0"
] | null | null | null | // Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
// See LICENSE.txt for license information.
import {format} from './index';
describe('format', () => {
test('should highlight code without space before language', () => {
const output = format(`~~~diff
- something
+ something else
~~~`);
... | 40.595588 | 217 | 0.624162 |
15f739ec9c25fb3db9a56908e73230ba90d79b44 | 404 | js | JavaScript | javascript/graphql-auth/src/utils.js | CarlosZiegler/prisma-examples | cf9a30195df0996b244438e8bb3ab80158bd867a | [
"Apache-2.0"
] | 58 | 2019-11-22T11:36:27.000Z | 2020-08-02T15:13:15.000Z | javascript/graphql-auth/src/utils.js | CarlosZiegler/prisma-examples | cf9a30195df0996b244438e8bb3ab80158bd867a | [
"Apache-2.0"
] | 2 | 2020-11-02T11:21:51.000Z | 2021-11-25T10:48:02.000Z | javascript/graphql-auth/src/utils.js | CarlosZiegler/prisma-examples | cf9a30195df0996b244438e8bb3ab80158bd867a | [
"Apache-2.0"
] | 18 | 2019-12-08T00:44:23.000Z | 2020-07-16T09:56:27.000Z | const { verify } = require('jsonwebtoken')
const APP_SECRET = 'appsecret321'
function getUserId(context) {
const Authorization = context.request.get('Authorization')
if (Authorization) {
const token = Authorization.replace('Bearer ', '')
const verifiedToken = verify(token, APP_SECRET)
return verifiedT... | 22.444444 | 60 | 0.715347 |
15f748f8a5ad677c10bb52910680fe9139dc6889 | 3,049 | js | JavaScript | app/config/authrouter.js | WwinW/ShortVideoCli | 9d4f8d724525c4c87e7ddc92e998ccadb3eeeb4e | [
"MIT"
] | null | null | null | app/config/authrouter.js | WwinW/ShortVideoCli | 9d4f8d724525c4c87e7ddc92e998ccadb3eeeb4e | [
"MIT"
] | null | null | null | app/config/authrouter.js | WwinW/ShortVideoCli | 9d4f8d724525c4c87e7ddc92e998ccadb3eeeb4e | [
"MIT"
] | null | null | null | import React from "react";
import { StatusBar, View, Text, Image } from "react-native";
import { StackNavigator, TabNavigator, DrawerNavigator } from "react-navigation";
import Icon from "react-native-vector-icons/Ionicons";
import DrawerContent from "../views/Sidebar"
import SignUp from "../views/SignUp";
import Sign... | 22.419118 | 89 | 0.608724 |
15f815bf4e5f80a242e46a78952f99d577a19133 | 86 | js | JavaScript | commands/ping.js | AxorianDev/Boilerplate | e0c3e8da0edefeaed0bd47351ce920f8ce8c9c3d | [
"MIT"
] | null | null | null | commands/ping.js | AxorianDev/Boilerplate | e0c3e8da0edefeaed0bd47351ce920f8ce8c9c3d | [
"MIT"
] | null | null | null | commands/ping.js | AxorianDev/Boilerplate | e0c3e8da0edefeaed0bd47351ce920f8ce8c9c3d | [
"MIT"
] | null | null | null | exports.run = async (client, message, args) => {
message.channel.send("Pong!");
}; | 28.666667 | 48 | 0.627907 |
15f8212c6bb93cb1b4a9cb23e0f43a1748ffe782 | 149 | js | JavaScript | src/pages/jest.js | zhyrik/cheat-sheet-gatsby- | d77b025daf82659e849981ddbb173c81dd398124 | [
"MIT"
] | null | null | null | src/pages/jest.js | zhyrik/cheat-sheet-gatsby- | d77b025daf82659e849981ddbb173c81dd398124 | [
"MIT"
] | null | null | null | src/pages/jest.js | zhyrik/cheat-sheet-gatsby- | d77b025daf82659e849981ddbb173c81dd398124 | [
"MIT"
] | null | null | null | import React from 'react'
import Layout from '../components/layout'
import { arr } from '../store/jest'
export default () => <Layout arr={ arr }/>
| 21.285714 | 42 | 0.66443 |
15f87d24fbbba8af3321afa5e86a71ba2024fabf | 6,575 | js | JavaScript | app/assets/javascripts/uzcommon/imageUploadWrapper.js | leouz/uzcommon | 9405795125f28a1fafcf7143fc4c54fa18ad5169 | [
"MIT"
] | null | null | null | app/assets/javascripts/uzcommon/imageUploadWrapper.js | leouz/uzcommon | 9405795125f28a1fafcf7143fc4c54fa18ad5169 | [
"MIT"
] | null | null | null | app/assets/javascripts/uzcommon/imageUploadWrapper.js | leouz/uzcommon | 9405795125f28a1fafcf7143fc4c54fa18ad5169 | [
"MIT"
] | null | null | null | $(document).ready(function() {
$.fn.extend({
imageUploadWrapper: function (options) {
// input example:
//<input id="fileupload" type="file" name="asset[file][]"
// multiple="" get-images-url="/admin/assets/get" destroy-images-url="/admin/assets/destroy"
// data-url="#{admin_assets_p... | 38.676471 | 132 | 0.505703 |
15f8ad01d8027f3315b790a026394ec7671e556c | 2,874 | js | JavaScript | node_modules/conventional-changelog-writer/cli.js | itspriyansh/filemanager-packages | fc7e36165c4673bd860e3896d17b33ae769bffd1 | [
"Apache-2.0"
] | 4 | 2019-06-15T09:52:42.000Z | 2020-02-15T06:38:57.000Z | node_modules/conventional-changelog-writer/cli.js | itspriyansh/filemanager-packages | fc7e36165c4673bd860e3896d17b33ae769bffd1 | [
"Apache-2.0"
] | 18 | 2019-12-30T03:38:08.000Z | 2022-02-26T01:45:34.000Z | node_modules/conventional-changelog-writer/cli.js | itspriyansh/filemanager-packages | fc7e36165c4673bd860e3896d17b33ae769bffd1 | [
"Apache-2.0"
] | 11 | 2019-06-14T15:36:34.000Z | 2021-04-24T20:40:09.000Z | #!/usr/bin/env node
'use strict'
var conventionalChangelogWriter = require('./')
var forEach = require('lodash').forEach
var fs = require('fs')
var meow = require('meow')
var path = require('path')
var split = require('split')
var cli = meow(`
Usage
conventional-changelog-writer <path> [<path> ...]
cat... | 24.355932 | 87 | 0.623521 |
15f8dd90ce83c9e3d35affacec0f9d381fb6a998 | 531 | js | JavaScript | src/core/type-validators/int32.js | minhyung-joo/one-schema | 5749bf12b0e7080c85810d4e8372bcdc62771aae | [
"MIT"
] | null | null | null | src/core/type-validators/int32.js | minhyung-joo/one-schema | 5749bf12b0e7080c85810d4e8372bcdc62771aae | [
"MIT"
] | null | null | null | src/core/type-validators/int32.js | minhyung-joo/one-schema | 5749bf12b0e7080c85810d4e8372bcdc62771aae | [
"MIT"
] | null | null | null | import { vrError, vrSuccess } from '../validatorResult';
export default function (x, fieldValidator) {
if (typeof x !== 'number' || x !== ~~x || Number.isNaN(x)) {
return vrError('is not type number or is not a 32 bit integer');
}
const { min, max } = fieldValidator.settings;
if (typeof min === 'number' &... | 26.55 | 68 | 0.608286 |
15f92959ecf74c77536d89fbadc77f18ea5983b7 | 8,677 | js | JavaScript | v3/src/animation/frame/Animation.js | mjcandle/Phaser | c0254bbbf0566761ca4f1e16c295c0a0625b483a | [
"MIT"
] | null | null | null | v3/src/animation/frame/Animation.js | mjcandle/Phaser | c0254bbbf0566761ca4f1e16c295c0a0625b483a | [
"MIT"
] | null | null | null | v3/src/animation/frame/Animation.js | mjcandle/Phaser | c0254bbbf0566761ca4f1e16c295c0a0625b483a | [
"MIT"
] | null | null | null | var GetObjectValue = require('../../utils/object/GetObjectValue');
var GetFrames = require('./GetFrames');
var Animation = function (manager, key, config)
{
this.manager = manager;
this.key = key;
// A frame based animation (as opposed to a bone based animation)
this.type = 'frame';
// Extract... | 29.817869 | 109 | 0.590872 |
15f957972ffdf0372db2376dd9b5c052c9d6e94d | 1,402 | js | JavaScript | src/VSCode/Command.js | sjpgarcia/vscode-ide-purescript | 685bee61cd045239b355b677d771714da7eb59f9 | [
"MIT"
] | 184 | 2016-01-02T13:49:01.000Z | 2022-03-04T21:58:39.000Z | src/VSCode/Command.js | sjpgarcia/vscode-ide-purescript | 685bee61cd045239b355b677d771714da7eb59f9 | [
"MIT"
] | 180 | 2016-02-25T16:32:49.000Z | 2022-03-21T14:46:10.000Z | src/VSCode/Command.js | sjpgarcia/vscode-ide-purescript | 685bee61cd045239b355b677d771714da7eb59f9 | [
"MIT"
] | 36 | 2016-03-01T09:30:48.000Z | 2022-01-04T02:58:57.000Z | "use strict";
var __spreadArrays = (this && this.__spreadArrays) || function () {
for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;
for (var r = Array(s), k = 0, i = 0; i < il; i++)
for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
r[k] = a... | 41.235294 | 113 | 0.592011 |
15f9a27c97a2076c3265cbc99dc53e78628f6a21 | 1,443 | js | JavaScript | application/assets/ckeditor/plugins/flash/lang/hu.js | NikkiRufiansya/NLP_ProsaAI | d1961afb9aaaf7ea0957bc7f8126f19adf8c3021 | [
"MIT"
] | null | null | null | application/assets/ckeditor/plugins/flash/lang/hu.js | NikkiRufiansya/NLP_ProsaAI | d1961afb9aaaf7ea0957bc7f8126f19adf8c3021 | [
"MIT"
] | 2 | 2018-12-05T08:38:24.000Z | 2018-12-05T08:39:10.000Z | application/assets/ckeditor/plugins/flash/lang/hu.js | NikkiRufiansya/Tugas-IR-2018 | 15f2db6cc7e8c15a27799abf7ff7da500f72f962 | [
"MIT"
] | null | null | null | /*
Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
CKEDITOR.plugins.setLang( 'flash', 'hu', {
access: 'Szkript hozzáférés',
accessAlways: 'Mindig',
accessNever: 'Soha',
accessSameDomain: 'Azonos ... | 32.795455 | 81 | 0.723493 |
15fa66bea28f6c465087ea5cd829f0ac2077bf19 | 4,841 | js | JavaScript | src/components/LandingPages/UTA/RegistryModal.js | Picolab/ManifoldRewrite | f04aa21eae7fcb7dc2447050bc8ace332c29b91b | [
"MIT"
] | 4 | 2019-10-09T19:28:18.000Z | 2021-02-16T13:26:22.000Z | src/components/LandingPages/UTA/RegistryModal.js | Picolab/Manifold | 5811f4d56212a7c6ea2313ce9cfb3cde19ac0fc5 | [
"MIT"
] | 179 | 2017-08-15T17:56:53.000Z | 2021-12-02T20:07:47.000Z | src/components/LandingPages/UTA/RegistryModal.js | Picolab/ManifoldRewrite | f04aa21eae7fcb7dc2447050bc8ace332c29b91b | [
"MIT"
] | null | null | null | import React, { Component } from 'react';
import { Button, Modal, ModalHeader, ModalBody, ModalFooter, Form, FormGroup, Label, Input } from 'reactstrap';
//import { SCORE_WRAPPER_DID } from '../../../utils/config.js';
function getTracker() {
let stored = localStorage.getItem("scoreTracker");
console.log(stored);
... | 30.639241 | 186 | 0.601115 |
15fa80e4de7ca6d952ecc795ba460d6fce6c97c6 | 351 | js | JavaScript | tools/vf-component-generator/gulp-tasks/vf-generator.js | visual-framework/vf-core | d0cad76f635b5ac48667f90cb85ee8ff609dca08 | [
"Apache-2.0"
] | 17 | 2020-03-04T06:49:11.000Z | 2021-11-02T09:34:20.000Z | tools/vf-component-generator/gulp-tasks/vf-generator.js | visual-framework/vf-core | d0cad76f635b5ac48667f90cb85ee8ff609dca08 | [
"Apache-2.0"
] | 1,335 | 2018-11-07T10:09:53.000Z | 2022-03-30T16:35:01.000Z | tools/vf-component-generator/gulp-tasks/vf-generator.js | visual-framework/vf-core | d0cad76f635b5ac48667f90cb85ee8ff609dca08 | [
"Apache-2.0"
] | 9 | 2019-02-28T10:08:44.000Z | 2021-09-27T08:43:19.000Z | "use strict";
/**
* Expose vf-component gulp task as a JS module
* This makes dependency management a bit cleaner
*/
module.exports = function(gulp, path) {
const shell = require("gulp-shell");
const generatorPath = path.resolve(__dirname, "..");
gulp.task("vf-component", shell.task(
["yo " + generator... | 18.473684 | 54 | 0.65812 |
15fb333bc57fa4ed16e2d2cce6835f6a79b5db7e | 233 | js | JavaScript | module/Post/PostValidation.js | darcusfenix/app-portfolio-core | 6f6ebeda1ad99d915e68268cce5d41d2b2adb956 | [
"MIT"
] | null | null | null | module/Post/PostValidation.js | darcusfenix/app-portfolio-core | 6f6ebeda1ad99d915e68268cce5d41d2b2adb956 | [
"MIT"
] | null | null | null | module/Post/PostValidation.js | darcusfenix/app-portfolio-core | 6f6ebeda1ad99d915e68268cce5d41d2b2adb956 | [
"MIT"
] | null | null | null | "use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
// @flow
var PostValidation = {
name: {
notEmpty: true
},
type: {
notEmpty: true
}
};
exports.default = PostValidation; | 15.533333 | 46 | 0.583691 |
15fbe190c9996b822a8f1f3dc1a70275ced1164d | 118 | js | JavaScript | lib/index.js | arkerone/tiny-container | 91066893af9a3a7b1d80501a093d2ad7169d3095 | [
"MIT"
] | null | null | null | lib/index.js | arkerone/tiny-container | 91066893af9a3a7b1d80501a093d2ad7169d3095 | [
"MIT"
] | null | null | null | lib/index.js | arkerone/tiny-container | 91066893af9a3a7b1d80501a093d2ad7169d3095 | [
"MIT"
] | null | null | null | const Container = require('./Container')
module.exports = {
createContainer () {
return new Container()
},
}
| 14.75 | 40 | 0.644068 |
15fcabee7d725c11591f41331145d5bab0cc10ea | 365 | js | JavaScript | src/lib/componentDeclarative/utils/loadState.js | agutoli/components | d933384f4a17a702aac709e45b9ae2afd209a9c3 | [
"Apache-2.0"
] | null | null | null | src/lib/componentDeclarative/utils/loadState.js | agutoli/components | d933384f4a17a702aac709e45b9ae2afd209a9c3 | [
"Apache-2.0"
] | null | null | null | src/lib/componentDeclarative/utils/loadState.js | agutoli/components | d933384f4a17a702aac709e45b9ae2afd209a9c3 | [
"Apache-2.0"
] | null | null | null | const { readState } = require('../../../utils')
async function loadState(state) {
return state.components.reduce(async (accum, config) => {
accum = await accum
const id = config.stateFileName
.split('.')
.slice(0, -1)
.join('.')
accum[config.instanceId] = await readState(id)
return ... | 22.8125 | 59 | 0.610959 |
15fcc0861edcc9f9ceac992ba4c483b5ddb77846 | 4,703 | js | JavaScript | docs/icon.logo_kubernetes-js.min.js | aleksandarj93/eui | 900b76d970e346651b2279a4be67155349b66181 | [
"Apache-2.0"
] | 1 | 2021-11-30T09:23:06.000Z | 2021-11-30T09:23:06.000Z | docs/icon.logo_kubernetes-js.min.js | aleksandarj93/eui | 900b76d970e346651b2279a4be67155349b66181 | [
"Apache-2.0"
] | 20 | 2021-09-10T13:01:39.000Z | 2022-02-08T19:48:10.000Z | docs/icon.logo_kubernetes-js.min.js | ashikmeerankutty/eui | f4813c529873ef25efaee359ba981e1f7951dee2 | [
"Apache-2.0"
] | 1 | 2022-02-16T16:52:48.000Z | 2022-02-16T16:52:48.000Z | (window.webpackJsonp=window.webpackJsonp||[]).push([[210],{3633:function(l,t,a){"use strict";a.r(t),a.d(t,"icon",(function(){return i}));a(13),a(3),a(4),a(9),a(2),a(10);var e=a(0),r=a.n(e);function n(){return(n=Object.assign||function(l){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var e in a)Object.proto... | 2,351.5 | 4,647 | 0.672124 |
15fd63faeaa3aab4517327cb3cacfc8e737c3b76 | 889 | js | JavaScript | modules/api/users/technecianInsertUser.js | amirhosseinmohammadzadeh/resume-backend-nodejs-lab | 869c0f8764c3a72d6204b6b861a6da7d9f47933c | [
"MIT"
] | null | null | null | modules/api/users/technecianInsertUser.js | amirhosseinmohammadzadeh/resume-backend-nodejs-lab | 869c0f8764c3a72d6204b6b861a6da7d9f47933c | [
"MIT"
] | null | null | null | modules/api/users/technecianInsertUser.js | amirhosseinmohammadzadeh/resume-backend-nodejs-lab | 869c0f8764c3a72d6204b6b861a6da7d9f47933c | [
"MIT"
] | null | null | null | var dbLayer = require('../../dbLayer.js');
/* INTERFACE /users/insert/technecianUser
POST
exp:{username:'reza222',
password:'123455'}
RETERNS
{error:'empty',field:error}
{error:'database',message:err}
{error:"noEffected"}
{success:"don"}
*/
var main = function(req,res,next){
let error =... | 24.694444 | 71 | 0.642295 |
15fd692f85cdb7d73b2292f865e943518a55826d | 1,772 | js | JavaScript | MovieArtArena.Web/app/public/dist/0.aea22df4c1b0a546848b.hot-update.js | cnunezz0911/StarterProject | 53eb01caa446f4910d0ee94cea15fd9cc714bf5a | [
"MIT"
] | null | null | null | MovieArtArena.Web/app/public/dist/0.aea22df4c1b0a546848b.hot-update.js | cnunezz0911/StarterProject | 53eb01caa446f4910d0ee94cea15fd9cc714bf5a | [
"MIT"
] | null | null | null | MovieArtArena.Web/app/public/dist/0.aea22df4c1b0a546848b.hot-update.js | cnunezz0911/StarterProject | 53eb01caa446f4910d0ee94cea15fd9cc714bf5a | [
"MIT"
] | null | null | null | webpackHotUpdate(0,{
/***/ "./node_modules/css-loader/index.js?{\"importLoaders\":1}!./node_modules/postcss-loader/lib/index.js?{\"ident\":\"postcss\",\"plugins\":[null,null]}!./src/App.css":
/*!****************************************************************************************************************************... | 73.833333 | 754 | 0.56377 |
15fdce25405328bf3628787d8b5a82a6461f3f8a | 3,450 | js | JavaScript | Modulo3/Todas as aulas Modulo 3/aulas/aula-11/react-desafio-03-hooks/backend/index.js | albertolopes/Bootcamp---Desenvolvedor-Full-Stack | 22ed767acafbd46a35957b687f67f814ec119065 | [
"MIT"
] | 2 | 2020-09-21T11:20:18.000Z | 2020-09-23T02:06:13.000Z | Modulo3/Todas as aulas Modulo 3/aulas/aula-11/react-desafio-03-hooks/backend/index.js | albertolopes/Bootcamp---Desenvolvedor-Full-Stack | 22ed767acafbd46a35957b687f67f814ec119065 | [
"MIT"
] | null | null | null | Modulo3/Todas as aulas Modulo 3/aulas/aula-11/react-desafio-03-hooks/backend/index.js | albertolopes/Bootcamp---Desenvolvedor-Full-Stack | 22ed767acafbd46a35957b687f67f814ec119065 | [
"MIT"
] | null | null | null | /**
* Precisamos do express para montar a API
*/
const express = require('express');
/**
* Precisamos de cors para não termos problemas
* de acesso à API
*/
const cors = require('cors');
/**
* Instanciando o app com express()
*/
const app = express();
/**
* Indicando que app utilizará o módulo de cors
*/
ap... | 18.956044 | 79 | 0.626377 |
15fdd20eabd4382af4274130a3a6ce13a152f0f9 | 3,487 | js | JavaScript | node_modules/vainglory/dist/models/match.js | Kashalls/StratonBot | e93746642631c3033426768ecea774ffb7ecd905 | [
"WTFPL"
] | null | null | null | node_modules/vainglory/dist/models/match.js | Kashalls/StratonBot | e93746642631c3033426768ecea774ffb7ecd905 | [
"WTFPL"
] | null | null | null | node_modules/vainglory/dist/models/match.js | Kashalls/StratonBot | e93746642631c3033426768ecea774ffb7ecd905 | [
"WTFPL"
] | null | null | null | 'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = undefined;
var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor... | 34.524752 | 564 | 0.667909 |
15fedcaa866ac60c7193798dd172103ec7710ca2 | 5,990 | js | JavaScript | server/schemas/resolvers.js | ManuhuiaBarcham/family-knowledge-exchange | 3f18b198bf75384965d06efb23630ddb8c080c91 | [
"MIT"
] | null | null | null | server/schemas/resolvers.js | ManuhuiaBarcham/family-knowledge-exchange | 3f18b198bf75384965d06efb23630ddb8c080c91 | [
"MIT"
] | 18 | 2021-10-04T19:15:14.000Z | 2021-10-23T00:41:59.000Z | server/schemas/resolvers.js | ManuhuiaBarcham/family-knowledge-exchange | 3f18b198bf75384965d06efb23630ddb8c080c91 | [
"MIT"
] | null | null | null | const { AuthenticationError } = require('apollo-server-express');
const { User, Interest, Profession } = require('../models');
const ObjectId = require('mongoose').Types.ObjectId;
const { signToken } = require('../utils/auth');
const resolvers = {
Query: {
user: async (parent, { username }) => {
if (use... | 27.731481 | 81 | 0.511185 |
15feea1717f4b7eb1d21d8cfc7162cbec6c29321 | 1,843 | js | JavaScript | Leaflet-Step-1/static/js/logic.js | hladero/leaflet-challenge | 1a92dbd806ab48f236e17f8dedff865d0f471cb4 | [
"RSA-MD"
] | null | null | null | Leaflet-Step-1/static/js/logic.js | hladero/leaflet-challenge | 1a92dbd806ab48f236e17f8dedff865d0f471cb4 | [
"RSA-MD"
] | null | null | null | Leaflet-Step-1/static/js/logic.js | hladero/leaflet-challenge | 1a92dbd806ab48f236e17f8dedff865d0f471cb4 | [
"RSA-MD"
] | null | null | null | var map = L.map("map", {
center: [40, -10],
zoom: 3,
});
L.tileLayer("https://api.mapbox.com/styles/v1/{id}/tiles/{z}/{x}/{y}?access_token={accessToken}", {
attribution: "© <a href='https://www.mapbox.com/about/maps/'>Mapbox</a> © <a href='http://www.openstreetmap.org/copyright'>OpenStreetMap</a> <strong><... | 31.237288 | 247 | 0.57949 |
15ff478557225254c5c0a2097427adcbff1c48ad | 697 | js | JavaScript | src/cbor/common.js | HasnAr/javascript | 654e936a805c98903d893bb876722bfe571ddc4f | [
"MIT"
] | 467 | 2015-01-01T06:08:15.000Z | 2022-03-21T09:04:28.000Z | src/cbor/common.js | HasnAr/javascript | 654e936a805c98903d893bb876722bfe571ddc4f | [
"MIT"
] | 132 | 2015-02-05T15:29:01.000Z | 2022-03-31T16:59:06.000Z | src/cbor/common.js | HasnAr/javascript | 654e936a805c98903d893bb876722bfe571ddc4f | [
"MIT"
] | 332 | 2015-01-03T15:56:33.000Z | 2022-02-17T05:04:34.000Z | export default class {
_base64ToBinary: (base64: string) => any;
_cborReader: { decode: (any) => Object };
constructor(decode: (any) => any, base64ToBinary: (base64: string) => any) {
this._base64ToBinary = base64ToBinary;
this._decode = decode;
}
decodeToken(tokenString) {
let padding = '';
... | 24.034483 | 82 | 0.591105 |
c600516d85ffcc220233722e70667ed308149ca1 | 352 | js | JavaScript | resources/js/fontawesome.js | harishkrishnan24/laravel-qa | 5aeb535ebb59628f2f0b51ae8dfd399af12e34bd | [
"MIT"
] | null | null | null | resources/js/fontawesome.js | harishkrishnan24/laravel-qa | 5aeb535ebb59628f2f0b51ae8dfd399af12e34bd | [
"MIT"
] | 4 | 2021-03-09T17:48:34.000Z | 2022-02-26T17:50:21.000Z | resources/js/fontawesome.js | harishkrishnan24/laravel-qa | 5aeb535ebb59628f2f0b51ae8dfd399af12e34bd | [
"MIT"
] | null | null | null | import { config, library, dom } from '@fortawesome/fontawesome-svg-core';
config.autoReplaceSvg = 'nest';
import {
faCaretUp,
faCaretDown,
faStar,
faCheck
} from '@fortawesome/free-solid-svg-icons';
library.add(faCaretUp, faCaretDown, faStar, faCheck);
// Kicks off the process of finding <i> tags and re... | 29.333333 | 73 | 0.715909 |
c6008531112cddea7f2b1c185c7a244080825156 | 19,641 | js | JavaScript | backend/models/DocumentModel.js | niteshpsit1/clms | e74dd6a583fe23b6ff7fa07fb1b29c695fdd4322 | [
"MIT"
] | null | null | null | backend/models/DocumentModel.js | niteshpsit1/clms | e74dd6a583fe23b6ff7fa07fb1b29c695fdd4322 | [
"MIT"
] | null | null | null | backend/models/DocumentModel.js | niteshpsit1/clms | e74dd6a583fe23b6ff7fa07fb1b29c695fdd4322 | [
"MIT"
] | null | null | null | 'use strict';
/**
* document data model, defined as following:
*
* document: {
* id: <integer>,
* filename: <string>,
* documentcode: <string>,
* documenttype_id: <integer>,
* data: <json>,
* tsc: <date>,
* tsm: <date>,
* uc: ... | 31.275478 | 111 | 0.571509 |
c600d2a3ac7b865e2ec326be922c3aa9686869d4 | 360 | js | JavaScript | DAY02/TEACH-KOA-SETUP/packageTemplate.js | HappyYYT/bytedance-practice | 1aa26ad4d52830e174008f3b838a54ea429e1c23 | [
"MIT"
] | null | null | null | DAY02/TEACH-KOA-SETUP/packageTemplate.js | HappyYYT/bytedance-practice | 1aa26ad4d52830e174008f3b838a54ea429e1c23 | [
"MIT"
] | null | null | null | DAY02/TEACH-KOA-SETUP/packageTemplate.js | HappyYYT/bytedance-practice | 1aa26ad4d52830e174008f3b838a54ea429e1c23 | [
"MIT"
] | null | null | null | import ejs from "ejs";
import fs from "fs";
export function createPackageTemple(config) {
const template = fs.readFileSync("./template/package.ejs", "utf-8");
const code = ejs.render(template, {
packageName: config.packageName,
router: config.middleware.router,
static: config.middleware.static,
});
... | 21.176471 | 70 | 0.7 |
c6010eb0879396f89ce9152bfa665975be4ece09 | 1,196 | js | JavaScript | assets/js/updateProfile.js | YasasDEK/RAD | 072e4e9fa30c803dc00faffd7849ee9bd27e723c | [
"MIT"
] | 1 | 2020-06-26T17:52:42.000Z | 2020-06-26T17:52:42.000Z | assets/js/updateProfile.js | YasasDEK/RAD | 072e4e9fa30c803dc00faffd7849ee9bd27e723c | [
"MIT"
] | null | null | null | assets/js/updateProfile.js | YasasDEK/RAD | 072e4e9fa30c803dc00faffd7849ee9bd27e723c | [
"MIT"
] | null | null | null | function ConfirmPassword(){
var pwd=document.getElementById("pwd").value;
var confirm_pwd=document.getElementById("pwdConfirm").value;
if(pwd!=confirm_pwd){
alert("Password mismatch");
document.getElementById("pwdConfirm").focus();
event.preventDefault();
}else{
return true;
//confirm_pwd.setCustomValid... | 26 | 77 | 0.679766 |
c601e37bb02ff88c27bfc16b935a0145c45ab34d | 7,222 | js | JavaScript | packages/ethereum-contracts/migrations/5_deploy_converter.js | rate-engineering/rate3-monorepo | 5d83193d8603f93c5897d65c0f39b51a2dd1e50a | [
"Apache-2.0"
] | 18 | 2018-08-06T17:08:44.000Z | 2019-10-02T20:30:57.000Z | packages/ethereum-contracts/migrations/5_deploy_converter.js | rate-engineering/rate3-monorepo | 5d83193d8603f93c5897d65c0f39b51a2dd1e50a | [
"Apache-2.0"
] | 52 | 2018-08-30T02:36:32.000Z | 2022-02-26T06:39:26.000Z | packages/ethereum-contracts/migrations/5_deploy_converter.js | rate-engineering/rate3-monorepo | 5d83193d8603f93c5897d65c0f39b51a2dd1e50a | [
"Apache-2.0"
] | 8 | 2018-08-24T11:14:53.000Z | 2022-02-15T02:54:26.000Z | const BaseToken = artifacts.require('./tokenization/ModularToken.sol');
const BalanceModule = artifacts.require('./tokenization/modules/BalanceModule.sol');
const AllowanceModule = artifacts.require('./tokenization/modules/AllowanceModule.sol');
const RegistryModule = artifacts.require('./tokenization/modules/RegistryM... | 43.769697 | 92 | 0.626558 |
c6028f1af4ee887320266cabd3081e2f29632fdc | 7,133 | js | JavaScript | wwwroot/js/Tale/dialogForm/actions/changeInventoryAction.js | NoisySpaceBalls/GoNorth | 62df5810681af63c4a7e0568f1977b302cc73252 | [
"MIT"
] | null | null | null | wwwroot/js/Tale/dialogForm/actions/changeInventoryAction.js | NoisySpaceBalls/GoNorth | 62df5810681af63c4a7e0568f1977b302cc73252 | [
"MIT"
] | null | null | null | wwwroot/js/Tale/dialogForm/actions/changeInventoryAction.js | NoisySpaceBalls/GoNorth | 62df5810681af63c4a7e0568f1977b302cc73252 | [
"MIT"
] | null | null | null | (function(GoNorth) {
"use strict";
(function(Tale) {
(function(Actions) {
/**
* Change Inventory Action
* @class
*/
Actions.ChangeInventoryAction = function()
{
GoNorth.DefaultNodeShapes.Actions.BaseAc... | 41.231214 | 207 | 0.466564 |
c602bd40f2e941d6fcb2151cff0bb104ffccf9f7 | 4,709 | js | JavaScript | docs/assets/js/16.4d3efe92.js | ealucas/lemonade | bde3187c6dc00e1e4f594b764daf10b1fdeff89d | [
"Apache-2.0"
] | 14 | 2017-11-26T14:26:31.000Z | 2022-01-09T11:23:01.000Z | docs/assets/js/16.4d3efe92.js | ealucas/lemonade | bde3187c6dc00e1e4f594b764daf10b1fdeff89d | [
"Apache-2.0"
] | null | null | null | docs/assets/js/16.4d3efe92.js | ealucas/lemonade | bde3187c6dc00e1e4f594b764daf10b1fdeff89d | [
"Apache-2.0"
] | 7 | 2018-03-01T18:10:01.000Z | 2022-01-18T10:38:55.000Z | (window.webpackJsonp=window.webpackJsonp||[]).push([[16],{264:function(a,e,t){"use strict";t.r(e);var r=t(0),o=Object(r.a)({},function(){var a=this,e=a.$createElement,t=a._self._c||e;return t("ContentSlotsDistributor",{attrs:{"slot-key":a.$parent.slotKey}},[t("h1",{attrs:{id:"mistura-de-gaussianas"}},[a._v("Mistura de ... | 4,709 | 4,709 | 0.607772 |
c602f61ea15b14b046f56c6166bf726b2efc4a8b | 2,096 | js | JavaScript | fileformats.js | byter11/mpv-remote-node | 31a86be1717daa3399bb39fac2cf619615c005dd | [
"MIT"
] | 5 | 2021-08-07T21:04:18.000Z | 2022-03-23T10:14:42.000Z | fileformats.js | byter11/mpv-remote-node | 31a86be1717daa3399bb39fac2cf619615c005dd | [
"MIT"
] | 4 | 2022-01-14T07:20:16.000Z | 2022-02-17T09:30:05.000Z | fileformats.js | byter11/mpv-remote-node | 31a86be1717daa3399bb39fac2cf619615c005dd | [
"MIT"
] | 2 | 2021-08-15T08:15:46.000Z | 2022-01-13T20:08:35.000Z | const FILE_FORMATS = {
audio: [
".ac3",
".a52",
".eac3",
".mlp",
".dts",
".dts-hd",
".dtshd",
".true-hd",
".thd",
".truehd",
".thd+ac3",
".tta",
".pcm",
".wav",
".aiff",
".aif",
".aifc",
".amr",
".awb",
".au",
".snd",
".lpcm",
... | 12.329412 | 38 | 0.28626 |
c6039020969b803ea68ca46339dcfaedaf4afa63 | 2,033 | js | JavaScript | hooks/useStorage.js | swarup4741/Stacksense | 700511111ed36e78d93356d0050c7e4f11e0a543 | [
"MIT"
] | null | null | null | hooks/useStorage.js | swarup4741/Stacksense | 700511111ed36e78d93356d0050c7e4f11e0a543 | [
"MIT"
] | 3 | 2021-07-28T04:37:40.000Z | 2021-08-30T09:51:08.000Z | hooks/useStorage.js | swarup4741/Stacksense | 700511111ed36e78d93356d0050c7e4f11e0a543 | [
"MIT"
] | null | null | null | import "firebase/storage";
import "firebase/firestore";
import { useEffect, useState } from "react";
import firebase from "firebase/app";
import { useToast } from "@chakra-ui/toast";
import { file_ext, file_types } from "../utils/filetypes";
const useStorage = (file, path, userId) => {
const [progress, setProgre... | 26.402597 | 80 | 0.547959 |
c603a313beedfb18689d9d0d7260e881d3b8e067 | 2,211 | js | JavaScript | media/com_fabrik/js/dist/lib/datejs/globalization/sv-FI.js | Nirchains/gdru | 4c15179f71c2eb2da33461d10e6ea70146a85d31 | [
"PostgreSQL"
] | null | null | null | media/com_fabrik/js/dist/lib/datejs/globalization/sv-FI.js | Nirchains/gdru | 4c15179f71c2eb2da33461d10e6ea70146a85d31 | [
"PostgreSQL"
] | null | null | null | media/com_fabrik/js/dist/lib/datejs/globalization/sv-FI.js | Nirchains/gdru | 4c15179f71c2eb2da33461d10e6ea70146a85d31 | [
"PostgreSQL"
] | null | null | null | /*! Fabrik */
Date.CultureInfo={name:"sv-FI",englishName:"Swedish (Finland)",nativeName:"svenska (Finland)",dayNames:["söndag","måndag","tisdag","onsdag","torsdag","fredag","lördag"],abbreviatedDayNames:["sö","må","ti","on","to","fr","lö"],shortestDayNames:["sö","må","ti","on","to","fr","lö"],firstLetterDayNames:["s",... | 737 | 2,196 | 0.632293 |
c60422bf00333f1480a6120948799ca4a28c9e8e | 192 | js | JavaScript | test/_files/simple_async.js | ryacobi/mustache-async.js | 7a0db457c958998801a142af93c946f731c235ad | [
"MIT"
] | 4 | 2018-12-17T19:06:29.000Z | 2019-08-13T21:01:39.000Z | test/_files/simple_async.js | ryacobi/mustache-async.js | 7a0db457c958998801a142af93c946f731c235ad | [
"MIT"
] | null | null | null | test/_files/simple_async.js | ryacobi/mustache-async.js | 7a0db457c958998801a142af93c946f731c235ad | [
"MIT"
] | 1 | 2019-10-25T18:23:28.000Z | 2019-10-25T18:23:28.000Z | ({
name: "Chris",
value: 10000,
taxed_value: async function () {
return new Promise(resolve => setTimeout(() => resolve(this.value - (this.value * 0.4)), 10));
},
in_ca: true
})
| 21.333333 | 98 | 0.59375 |
c6048762913444a9a8f198275320b5868c185504 | 783 | js | JavaScript | make.js | mattma/ng-component-starter | 02c6bfde7ab7155a479f48a7ba9c816011a5771d | [
"MIT"
] | 195 | 2015-11-23T09:45:36.000Z | 2021-12-15T08:46:04.000Z | make.js | mattma/ng-component-starter | 02c6bfde7ab7155a479f48a7ba9c816011a5771d | [
"MIT"
] | 33 | 2016-02-17T19:12:13.000Z | 2017-10-10T16:03:38.000Z | make.js | mattma/ng-component-starter | 02c6bfde7ab7155a479f48a7ba9c816011a5771d | [
"MIT"
] | 53 | 2015-12-12T03:42:35.000Z | 2020-03-17T18:15:26.000Z | var pkg = require('./package.json');
var path = require('path');
var Builder = require('systemjs-builder');
var name = pkg.name;
var builder = new Builder();
var config = {
baseURL: '.',
transpiler: 'typescript',
typescriptOptions: {
module: 'cjs'
},
map: {
typescript: './node_modules/types... | 21.162162 | 64 | 0.600255 |
c604c7329c6da6d7f760e34beef5fba2f6c471ef | 172 | js | JavaScript | example/server.js | snupa/node-sessionify | a31546e0565c68acaf58e9bdba4c600d2081df9e | [
"Apache-2.0"
] | 1 | 2016-10-10T18:34:04.000Z | 2016-10-10T18:34:04.000Z | example/server.js | snupa/node-sessionify | a31546e0565c68acaf58e9bdba4c600d2081df9e | [
"Apache-2.0"
] | null | null | null | example/server.js | snupa/node-sessionify | a31546e0565c68acaf58e9bdba4c600d2081df9e | [
"Apache-2.0"
] | null | null | null | var Sessionify = require('./../index.js');
var serverObj = new Sessionify.Server({});
serverObj.listen(function() {
console.log('On port: ' + serverObj.config.port);
}); | 24.571429 | 50 | 0.674419 |
c6050f3051a148bc6aa6cc6a43182c365412b83e | 3,666 | js | JavaScript | app.js | mparram/rciots-client-nodejs | e2faac54eba75fa7616eaa7d7de0aa918f0de015 | [
"MIT"
] | 1 | 2021-05-31T01:23:38.000Z | 2021-05-31T01:23:38.000Z | app.js | mparram/rciots-client-nodejs | e2faac54eba75fa7616eaa7d7de0aa918f0de015 | [
"MIT"
] | null | null | null | app.js | mparram/rciots-client-nodejs | e2faac54eba75fa7616eaa7d7de0aa918f0de015 | [
"MIT"
] | null | null | null | // client config var
var config;
const fs = require('fs');
// if the config is hardcoded in client, it will not connect to device-controller
var cfgFile = './cfg/clientcfg.json';
// We can define the host and token in connection.json file, or with env RCIOTS_ENDPOINT & RCIOTS_TOKEN
var connectionFile = './connection.js... | 40.285714 | 163 | 0.603382 |
c6053d6187f588104ce546fb45aaedbb0d6bc7b3 | 367 | js | JavaScript | packages/material-ui-icons/src/AddLinkTwoTone.js | silver-snoopy/material-ui | 917a3ddb8c72651fdbd4d35b1cd48ce9a06f8139 | [
"MIT"
] | 8 | 2021-03-18T08:41:32.000Z | 2021-04-19T10:24:50.000Z | packages/material-ui-icons/src/AddLinkTwoTone.js | silver-snoopy/material-ui | 917a3ddb8c72651fdbd4d35b1cd48ce9a06f8139 | [
"MIT"
] | 129 | 2021-05-05T15:07:04.000Z | 2022-03-27T02:51:27.000Z | packages/material-ui-icons/src/AddLinkTwoTone.js | danncortes/material-ui | 1eea9427971f716bd7fd17401d918841a9bd749e | [
"MIT"
] | 1 | 2021-03-25T23:57:05.000Z | 2021-03-25T23:57:05.000Z | import * as React from 'react';
import createSvgIcon from './utils/createSvgIcon';
export default createSvgIcon(
<path d="M8 11h8v2H8v-2zm12.1 1H22c0-2.76-2.24-5-5-5h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1zM3.9 12c0-1.71 1.39-3.1 3.1-3.1h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1zM19 12h-2v3h-3v2... | 52.428571 | 231 | 0.700272 |
c605bc4583625cb4cf1c830395f89a3557d8970a | 1,366 | js | JavaScript | ajax/javascript/statusmessage.toastr.js | dunatron/ldds-silvershop | 66f64f36a4dfd37cca3b49ee2aee7990a1ebdb5b | [
"Unlicense"
] | 3 | 2015-01-27T23:35:35.000Z | 2016-09-27T14:43:32.000Z | ajax/javascript/statusmessage.toastr.js | dunatron/ldds-silvershop | 66f64f36a4dfd37cca3b49ee2aee7990a1ebdb5b | [
"Unlicense"
] | 3 | 2016-03-03T15:34:15.000Z | 2017-05-11T10:01:09.000Z | ajax/javascript/statusmessage.toastr.js | dunatron/ldds-silvershop | 66f64f36a4dfd37cca3b49ee2aee7990a1ebdb5b | [
"Unlicense"
] | 5 | 2015-12-03T23:54:51.000Z | 2021-12-24T04:49:24.000Z | /**
* Responds to statusmessage events by triggering toastr. See https://github.com/CodeSeven/toastr
* You should also include the following JS/CSS if using this adapter:
*
* //cdnjs.cloudflare.com/ajax/libs/toastr.js/latest/js/toastr.min.js
* //cdnjs.cloudflare.com/ajax/libs/toastr.js/latest/css/toastr.min.css
*... | 23.964912 | 97 | 0.639092 |
c605f22cd1c665934e24b5e312828703007f4bc4 | 243 | js | JavaScript | .specless/src/template/useExit.js | specless/framework | b74aefbb37fa3a966e7680d475cc6353ab553c84 | [
"MIT"
] | null | null | null | .specless/src/template/useExit.js | specless/framework | b74aefbb37fa3a966e7680d475cc6353ab553c84 | [
"MIT"
] | 4 | 2021-05-11T20:24:37.000Z | 2022-03-27T04:40:17.000Z | .specless/src/template/useExit.js | specless/framework | b74aefbb37fa3a966e7680d475cc6353ab553c84 | [
"MIT"
] | null | null | null | import React from 'react';
import { Context } from '@specless/components';
export const useExit = (id) => {
const { api = {} } = React.useContext(Context);
return (overrideUrl, fireSilently) => api.exit(id, overrideUrl, fireSilently)
} | 40.5 | 81 | 0.683128 |
c60625d0e63802866be92a3c3eaf0250b3378482 | 12,661 | js | JavaScript | managed/ui/src/components/profile/CustomerProfile.js | eliahburns/yugabyte-db | 570d28dde28d6a0e6a689274b5e319de9a81b707 | [
"Apache-2.0",
"CC0-1.0"
] | null | null | null | managed/ui/src/components/profile/CustomerProfile.js | eliahburns/yugabyte-db | 570d28dde28d6a0e6a689274b5e319de9a81b707 | [
"Apache-2.0",
"CC0-1.0"
] | null | null | null | managed/ui/src/components/profile/CustomerProfile.js | eliahburns/yugabyte-db | 570d28dde28d6a0e6a689274b5e319de9a81b707 | [
"Apache-2.0",
"CC0-1.0"
] | null | null | null | // Copyright (c) YugaByte, Inc.
import React, { Component } from 'react';
import Cookies from 'js-cookie';
import { Row, Col, Tab } from 'react-bootstrap';
import { YBFormInput, YBButton, YBToggle, YBControlledSelectWithLabel } from '../common/forms/fields';
import { Formik, Form, Field } from 'formik';
import { brows... | 41.511475 | 197 | 0.512203 |
c6065e07e96a2d3553dc1ed2f9b858d9c7bd6d74 | 464 | js | JavaScript | src/views/NotFoundView/NotFoundView.js | snerks/ts-react-redux-starter-kit | b4fbaafa3871608d9cfc002c34e9bab29c88ac07 | [
"MIT"
] | null | null | null | src/views/NotFoundView/NotFoundView.js | snerks/ts-react-redux-starter-kit | b4fbaafa3871608d9cfc002c34e9bab29c88ac07 | [
"MIT"
] | null | null | null | src/views/NotFoundView/NotFoundView.js | snerks/ts-react-redux-starter-kit | b4fbaafa3871608d9cfc002c34e9bab29c88ac07 | [
"MIT"
] | null | null | null | /// <reference path="../../../typings/tsd.d.ts" />
import * as React from 'react';
import { Link } from 'react-router';
export class NotFoundView extends React.Component {
render() {
return (React.createElement("div", {"className": 'container text-center'}, React.createElement("h1", null, "This is a demo 40... | 46.4 | 239 | 0.661638 |
c606beee10596aa5802b5dcf59bb1437e703c6dc | 3,131 | js | JavaScript | frontend/node_modules/@material-ui/icons/esm/PoolTwoTone.js | jrocktorrens/JoinIn | 61ec694b60ca5b9bc5f46507d6acd45c6fdba43e | [
"Apache-2.0"
] | 9 | 2020-12-07T10:31:58.000Z | 2021-01-30T09:55:20.000Z | node_modules/@material-ui/icons/esm/PoolTwoTone.js | Jdilla1212/Portfolio | 8c3e443edd65db05407a3c647423098adb9aea86 | [
"Unlicense"
] | 71 | 2022-02-09T04:40:51.000Z | 2022-03-25T07:28:16.000Z | node_modules/@material-ui/icons/esm/PoolTwoTone.js | Jdilla1212/Portfolio | 8c3e443edd65db05407a3c647423098adb9aea86 | [
"Unlicense"
] | 5 | 2022-02-28T03:25:14.000Z | 2022-03-17T11:32:55.000Z | import * as React from 'react';
import createSvgIcon from './utils/createSvgIcon';
export default createSvgIcon( /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("path", {
d: "M22 21c-1.11 0-1.73-.37-2.18-.64-.37-.22-.6-.36-1.15-.36-.56 0-.78.13-1.15.36-.46.27-1.07.64-2.18.64s-1... | 184.176471 | 1,341 | 0.60428 |
c606d3b6d797d6b1eea0b61350f5acd46238f022 | 311 | js | JavaScript | src/test/one.spec.js | sc0tt5/gulp-starter | ced4205c16a139a2d5250e2da0cac9848bbcdf90 | [
"MIT"
] | 2 | 2018-07-02T13:56:47.000Z | 2018-07-07T05:46:38.000Z | src/test/one.spec.js | sc0tt5/gulp-starter | ced4205c16a139a2d5250e2da0cac9848bbcdf90 | [
"MIT"
] | null | null | null | src/test/one.spec.js | sc0tt5/gulp-starter | ced4205c16a139a2d5250e2da0cac9848bbcdf90 | [
"MIT"
] | 1 | 2018-07-02T13:56:49.000Z | 2018-07-02T13:56:49.000Z | describe('Hello world 1', () => {
beforeEach(() => {
spyOn(window, 'helloWorldOne').and.callThrough();
window.helloWorldOne('Hello world 1!');
});
it('says hello', () => {
expect(window.helloWorldOne).toHaveBeenCalled();
expect(window.helloWorldOne).toHaveBeenCalledWith('Hello world 1!');
});
});
| 25.916667 | 70 | 0.659164 |
c606ed4f10607e3e5ae0f54b1dfcf058820e78d7 | 497 | js | JavaScript | lib/api/users/helpers/index.js | bewest/restify-git-json | e327ee2ae96d9e740af2edd06497762bd94bfb6f | [
"BSD-2-Clause"
] | 1 | 2021-02-20T10:21:21.000Z | 2021-02-20T10:21:21.000Z | lib/api/users/helpers/index.js | bewest/restify-git-json | e327ee2ae96d9e740af2edd06497762bd94bfb6f | [
"BSD-2-Clause"
] | null | null | null | lib/api/users/helpers/index.js | bewest/restify-git-json | e327ee2ae96d9e740af2edd06497762bd94bfb6f | [
"BSD-2-Clause"
] | 1 | 2015-05-22T23:00:14.000Z | 2015-05-22T23:00:14.000Z |
var callbacks = require('./callbacks');
var save = require('./save');
var saveDelta = save.saveDelta;
var create = require('./create');
var init = require('./init');
var applyDelta = require('./delta');
var findRepo = require('./findRepo');
var findMaster = require('./findMaster');
var api = {
applyDelta: applyDel... | 23.666667 | 41 | 0.672032 |
c606ee3bcad9a0c0aaa547d630a27f8a1cbbb7a5 | 692 | js | JavaScript | test/fixtures/compile/class/class.extends.field.let.wt_i.wct_nas.wct_was.js | kaoscript/kaoscript | 585214c130df90a125e835f6f02fa368106ce2bd | [
"MIT"
] | 11 | 2016-10-03T20:23:49.000Z | 2022-02-22T04:33:27.000Z | test/fixtures/compile/class/class.extends.field.let.wt_i.wct_nas.wct_was.js | kaoscript/kaoscript | 585214c130df90a125e835f6f02fa368106ce2bd | [
"MIT"
] | 127 | 2016-09-17T17:48:37.000Z | 2021-05-07T02:11:53.000Z | test/fixtures/compile/class/class.extends.field.let.wt_i.wct_nas.wct_was.js | kaoscript/kaoscript | 585214c130df90a125e835f6f02fa368106ce2bd | [
"MIT"
] | null | null | null | module.exports = function() {
class ClassA {
constructor() {
this.__ks_init();
this.__ks_cons(arguments);
}
__ks_init() {
}
__ks_cons_0() {
}
__ks_cons(args) {
if(args.length === 0) {
ClassA.prototype.__ks_cons_0.apply(this);
}
else {
throw new SyntaxError("Wrong number of argument... | 18.702703 | 55 | 0.614162 |
c608363ba3d72f8fee8d263a1f1dc0ba19dcfda8 | 3,514 | js | JavaScript | js/printexport.js | owenschoppe/Printable | ca8f1d3a02ba55061a6c8b9b34757bb5543e1f33 | [
"CC-BY-3.0"
] | 1 | 2019-03-25T02:59:44.000Z | 2019-03-25T02:59:44.000Z | js/printexport.js | owenschoppe/Printable | ca8f1d3a02ba55061a6c8b9b34757bb5543e1f33 | [
"CC-BY-3.0"
] | null | null | null | js/printexport.js | owenschoppe/Printable | ca8f1d3a02ba55061a6c8b9b34757bb5543e1f33 | [
"CC-BY-3.0"
] | null | null | null | var row = []; //In memory cache for each row of the sheet returned.
var gdocs = {};
/////////////////////////////////////////////////////////
gdocs.printDocumentPage = function(callback)
{
console.log('printDocumentPage');
//chrome.tabs.create({ 'url' : 'view.html?key='+docKey});
chrome.tabs.create({ 'url' : 'vie... | 29.529412 | 124 | 0.569152 |
c608759ecc373c81c4ad7bc3bfbc91667f59ad1c | 224 | js | JavaScript | front/sistema-facil/src/services/MenuService.js | rodrigocaldeira/sistema_facil | c57ed61978477c0b6dd0d5d492ba286cfc7d032a | [
"MIT"
] | 2 | 2020-07-25T23:46:57.000Z | 2020-08-25T00:16:55.000Z | front/sistema-facil/src/services/MenuService.js | rodrigocaldeira/sistema_facil | c57ed61978477c0b6dd0d5d492ba286cfc7d032a | [
"MIT"
] | null | null | null | front/sistema-facil/src/services/MenuService.js | rodrigocaldeira/sistema_facil | c57ed61978477c0b6dd0d5d492ba286cfc7d032a | [
"MIT"
] | null | null | null | import axios from 'axios';
const buscarCadastros = async () => {
let response = await axios.get('http://localhost:8080/api/cadastros');
let cadastros = response.data;
return cadastros;
}
export default buscarCadastros;
| 22.4 | 71 | 0.736607 |
c608cd1f9be13b2c9322767929dd12078e263bf1 | 2,097 | js | JavaScript | public/assets/plugins/angular-typehead/angular-typeahead.min.js | denyjackrose/ap | 259466035276440b354335b1887912303fda1363 | [
"Apache-2.0"
] | 12 | 2016-07-29T16:40:54.000Z | 2020-01-03T11:19:43.000Z | public/assets/plugins/angular-typehead/angular-typeahead.min.js | denyjackrose/ap | 259466035276440b354335b1887912303fda1363 | [
"Apache-2.0"
] | 23 | 2020-02-12T02:35:49.000Z | 2022-02-11T03:45:40.000Z | public/assets/plugins/angular-typehead/angular-typeahead.min.js | denyjackrose/ap | 259466035276440b354335b1887912303fda1363 | [
"Apache-2.0"
] | 5 | 2016-07-21T11:54:36.000Z | 2018-03-11T19:13:09.000Z | angular.module("siyfion.sfTypeahead",[]).directive("sfTypeahead",function(){return{restrict:"AC",require:"?ngModel",scope:{options:"=",datasets:"=",suggestionKey:"@"},link:function(a,b,c,d){function e(){if(j)b.typeahead(a.options,a.datasets),j=!1;else{var c=b.val();b.typeahead("destroy"),b.typeahead(a.options,a.dataset... | 2,097 | 2,097 | 0.704816 |
c608d1b07aa1b7e5277ec0fb95000d4e68586b7a | 9,815 | js | JavaScript | public/dashboardassets/js/main-bak-2.js | zahidul1994/bikebikroy | ce9315ebe2fd8d0b2edf41881a3643dcb9c822f9 | [
"MIT"
] | null | null | null | public/dashboardassets/js/main-bak-2.js | zahidul1994/bikebikroy | ce9315ebe2fd8d0b2edf41881a3643dcb9c822f9 | [
"MIT"
] | null | null | null | public/dashboardassets/js/main-bak-2.js | zahidul1994/bikebikroy | ce9315ebe2fd8d0b2edf41881a3643dcb9c822f9 | [
"MIT"
] | null | null | null | $(document).ready(function () {
// toggle menu
$(".layout-menu").click(function () {
$(".layout-toggle").slideToggle();
$(".menu-angle-one").toggleClass("arrow-rotate");
});
$(".forms-menu").click(function () {
$(".forms-toggle").slideToggle();
$(".menu-angle-two").t... | 22.772622 | 141 | 0.468467 |
c6097f2e0454902925541ad3fa2934862f265402 | 1,296 | js | JavaScript | test/unit/pg.ddl/createHistorySchema.js | metarhia/GlobalStorage | c9c40b79d5d47999f85b396d962d8630d75170cd | [
"MIT"
] | 38 | 2016-04-12T06:30:58.000Z | 2017-05-04T18:36:00.000Z | test/unit/pg.ddl/createHistorySchema.js | metarhia/globalstorage | c9c40b79d5d47999f85b396d962d8630d75170cd | [
"MIT"
] | 335 | 2017-05-28T11:46:22.000Z | 2020-08-03T20:26:26.000Z | test/unit/pg.ddl/createHistorySchema.js | metarhia/globalstorage | c9c40b79d5d47999f85b396d962d8630d75170cd | [
"MIT"
] | 7 | 2017-05-31T08:14:58.000Z | 2020-03-11T08:40:28.000Z | 'use strict';
const metatests = require('metatests');
const metaschema = require('metaschema');
const { options, config } = require('../../../lib/metaschema-config/config');
const ddl = require('../../../lib/pg.ddl');
metatests.test('pg.ddl.createHistorySchema unit test', async test => {
let schema;
try {
sc... | 23.142857 | 77 | 0.570216 |
c609a8f1b91e5d1815ea8a37a0e739af2b5de88d | 6,651 | js | JavaScript | src/Oro/Bundle/FilterBundle/Resources/public/js/filter/datetime-filter.js | Ludo444/platform | 4bc392b233daa30927e15f12c838ddae13e02c46 | [
"MIT"
] | null | null | null | src/Oro/Bundle/FilterBundle/Resources/public/js/filter/datetime-filter.js | Ludo444/platform | 4bc392b233daa30927e15f12c838ddae13e02c46 | [
"MIT"
] | 1 | 2019-09-13T15:25:15.000Z | 2019-09-13T15:25:15.000Z | src/Oro/Bundle/FilterBundle/Resources/public/js/filter/datetime-filter.js | Ludo444/platform | 4bc392b233daa30927e15f12c838ddae13e02c46 | [
"MIT"
] | 1 | 2019-08-07T09:33:05.000Z | 2019-08-07T09:33:05.000Z | define(function(require) {
'use strict';
var DatetimeFilter;
var _ = require('underscore');
var moment = require('moment');
var __ = require('orotranslation/js/translator');
var datetimeFormatter = require('orolocale/js/formatter/datetime');
var DateTimePickerView = require('oroui/js/app/vi... | 33.590909 | 111 | 0.559765 |
c609c5afca20978c45642481fd011693d4f255a8 | 1,394 | js | JavaScript | src/commands/parsers/configGetCommand.js | onlfait/smoothie-commands | d15687cd7dd154b55851229b7ab62248dab0580d | [
"MIT"
] | 1 | 2021-02-18T11:52:15.000Z | 2021-02-18T11:52:15.000Z | src/commands/parsers/configGetCommand.js | onlfait/smoothie-commands | d15687cd7dd154b55851229b7ab62248dab0580d | [
"MIT"
] | null | null | null | src/commands/parsers/configGetCommand.js | onlfait/smoothie-commands | d15687cd7dd154b55851229b7ab62248dab0580d | [
"MIT"
] | null | null | null | // https://github.com/Smoothieware/Smoothieware/blob/9e5477518b1c85498a68e81be894faea45d6edca/src/modules/utils/simpleshell/SimpleShell.cpp#L275
// https://github.com/Smoothieware/Smoothieware/blob/0faa088fe1a2207f6c0b99ec7abccfbd1162f730/src/modules/utils/configurator/Configurator.cpp#L30
import InvalidArgumentsError ... | 34.85 | 145 | 0.722382 |
c609f8f13dd61f32c77f5cad8bb415cf5753c71d | 235,140 | js | JavaScript | jspm_packages/npm/babylon@6.5.2/index.js | jsdelivrbot/project-cms | 4a203b9b0317443a92fcdc52afe00afacc2a80ad | [
"MIT"
] | null | null | null | jspm_packages/npm/babylon@6.5.2/index.js | jsdelivrbot/project-cms | 4a203b9b0317443a92fcdc52afe00afacc2a80ad | [
"MIT"
] | null | null | null | jspm_packages/npm/babylon@6.5.2/index.js | jsdelivrbot/project-cms | 4a203b9b0317443a92fcdc52afe00afacc2a80ad | [
"MIT"
] | 1 | 2018-12-09T15:14:03.000Z | 2018-12-09T15:14:03.000Z | /* */
"format cjs";
(function(process) {
(function(f) {
if (typeof exports === "object" && typeof module !== "undefined") {
module.exports = f();
} else if (typeof define === "function" && define.amd) {
define([], f);
} else {
var g;
if (typeof window !== "undefined") {
g ... | 41.921911 | 1,235 | 0.520396 |
c60a26660717354be2e90e8ccafa5a82368faf27 | 155 | js | JavaScript | restrict/modules/ZendModels/data/structure/project_name/public/scripts/default.js | thewebmind/mind2.0 | 9c34bc5fbf687ff974cbf4c5e18757e3819ca7e6 | [
"MIT"
] | 1 | 2019-02-10T16:10:22.000Z | 2019-02-10T16:10:22.000Z | restrict/users/admin/temp/tchelinux/root/tchelinux/public/scripts/default.js | thewebmind/mind2.0 | 9c34bc5fbf687ff974cbf4c5e18757e3819ca7e6 | [
"MIT"
] | null | null | null | restrict/users/admin/temp/tchelinux/root/tchelinux/public/scripts/default.js | thewebmind/mind2.0 | 9c34bc5fbf687ff974cbf4c5e18757e3819ca7e6 | [
"MIT"
] | null | null | null | $(document).ready(function(){
$("#navigation").treeview({
persist: "location",
collapsed: true,
unique: true
});
$("#browser").treeview();
}); | 15.5 | 29 | 0.593548 |
c60a66ef8d70caad8cbe1db0ecfb9b136bdbfd1c | 4,324 | js | JavaScript | frontend/src/components/TicketActionButtons/index.js | ertprs/chatbox_clone | 3a9ea10402d6760f90f45b81302fb7fdd80eec93 | [
"MIT"
] | 2 | 2022-02-27T17:07:44.000Z | 2022-03-11T15:10:37.000Z | frontend/src/components/TicketActionButtons/index.js | ertprs/chatbox_clone | 3a9ea10402d6760f90f45b81302fb7fdd80eec93 | [
"MIT"
] | null | null | null | frontend/src/components/TicketActionButtons/index.js | ertprs/chatbox_clone | 3a9ea10402d6760f90f45b81302fb7fdd80eec93 | [
"MIT"
] | 1 | 2022-03-24T04:51:53.000Z | 2022-03-24T04:51:53.000Z | import React, { useContext, useState } from "react";
import { useHistory } from "react-router-dom";
import { makeStyles } from "@material-ui/core/styles";
import { IconButton } from "@material-ui/core";
import { MoreVert, Replay } from "@material-ui/icons";
import { i18n } from "../../translate/i18n";
import api from... | 27.541401 | 99 | 0.648705 |
c60aa4e4422f74f362981d9aedcc7f6cc93156dd | 30,304 | js | JavaScript | public/assets/js/user.js | jesseokeya/rachelle-website | 9553768ecee6fe5cad251cf6ba375aee9bec2adb | [
"0BSD"
] | null | null | null | public/assets/js/user.js | jesseokeya/rachelle-website | 9553768ecee6fe5cad251cf6ba375aee9bec2adb | [
"0BSD"
] | null | null | null | public/assets/js/user.js | jesseokeya/rachelle-website | 9553768ecee6fe5cad251cf6ba375aee9bec2adb | [
"0BSD"
] | null | null | null | var animationSpeed = 750;
var library = [];
$(document).ready(function(){
fillLibrary();
attachAnimations();
});
/* -----------------------------------------------------------------------------
FILL PAGE HTML
---------------------------------------------------------------------------*/
function fillLib... | 119.778656 | 864 | 0.730465 |
c60ab4ce7c797f4e6270cf63aef4274116c813ff | 1,264 | js | JavaScript | public/restrita/assets/js/page/multiple-upload.js | jacsonandreola/curso_site_anuncios | dcd4a055335b7b3088be30cc7bc44a847e21bfd1 | [
"MIT"
] | null | null | null | public/restrita/assets/js/page/multiple-upload.js | jacsonandreola/curso_site_anuncios | dcd4a055335b7b3088be30cc7bc44a847e21bfd1 | [
"MIT"
] | null | null | null | public/restrita/assets/js/page/multiple-upload.js | jacsonandreola/curso_site_anuncios | dcd4a055335b7b3088be30cc7bc44a847e21bfd1 | [
"MIT"
] | 1 | 2021-11-22T06:28:37.000Z | 2021-11-22T06:28:37.000Z | "use strict";
// DropzoneJS
if (window.Dropzone) {
Dropzone.autoDiscover = false;
}
var dropzone = new Dropzone("#mydropzone", {
url: "#"
});
var minSteps = 6,
maxSteps = 60,
timeBetweenSteps = 100,
bytesPerStep = 100000;
dropzone.uploadFiles = function (files) {
var self = this;
f... | 27.478261 | 95 | 0.549842 |
c60adb4ea9ab1755c81d2ec8dae31e9719c86b19 | 639 | js | JavaScript | classwork/class8/desafio2/app.js | silvinabt87/coder-house | 693464197e9b0f1f8ca23f9f24f0fe6c465bb99e | [
"MIT"
] | null | null | null | classwork/class8/desafio2/app.js | silvinabt87/coder-house | 693464197e9b0f1f8ca23f9f24f0fe6c465bb99e | [
"MIT"
] | null | null | null | classwork/class8/desafio2/app.js | silvinabt87/coder-house | 693464197e9b0f1f8ca23f9f24f0fe6c465bb99e | [
"MIT"
] | null | null | null | const express=require('express')
const fs=require('fs')
const app= express()
const server= app.listen(8080, ()=>console.log('hola'))
app.engine('cte', (filePath, objectToReplace,callback)=>{
fs.readFile(filePath,(err,content)=>{
if(err) return callback(new Error(err))
const template=content.toString().replac... | 30.428571 | 135 | 0.661972 |
c60b7e2d5eaa4d77354c257fb9a7d78df1616bfe | 1,590 | js | JavaScript | test/successfully_check_for_winner.js | slim12kg/Tutorial-Building-A-Betting-Smart-Contract-Interacting-With-A-Football-Oracle | 2b9af673f77cc6772f26c0d16b02e30ec4fe1d12 | [
"MIT"
] | 6 | 2018-04-12T22:50:04.000Z | 2021-04-29T16:31:09.000Z | test/successfully_check_for_winner.js | slim12kg/Tutorial-Building-A-Betting-Smart-Contract-Interacting-With-A-Football-Oracle | 2b9af673f77cc6772f26c0d16b02e30ec4fe1d12 | [
"MIT"
] | null | null | null | test/successfully_check_for_winner.js | slim12kg/Tutorial-Building-A-Betting-Smart-Contract-Interacting-With-A-Football-Oracle | 2b9af673f77cc6772f26c0d16b02e30ec4fe1d12 | [
"MIT"
] | 5 | 2018-09-28T03:17:44.000Z | 2021-11-15T05:11:38.000Z | const Contract = artifacts.require('./Game.sol');
let moment = require("moment");
contract('Check For Winner : ', async (accounts) => {
//Current timestamp
let now = moment().utc();
//Set start 10min from now & end time 1hr 40min from now
//considering a game is 90min
let start = now.add({minute... | 28.392857 | 92 | 0.569182 |
c60bf14c7cdf4ddbc3a99ad8fba31727d3e9f2cf | 410 | js | JavaScript | app.js | kduxwr/electron-calculater | c3d36aee8fac5361de4eddb49f17e6755d344988 | [
"MIT"
] | null | null | null | app.js | kduxwr/electron-calculater | c3d36aee8fac5361de4eddb49f17e6755d344988 | [
"MIT"
] | 3 | 2020-06-09T09:01:06.000Z | 2021-05-11T00:37:27.000Z | app.js | kduxwr/electron-calculater | c3d36aee8fac5361de4eddb49f17e6755d344988 | [
"MIT"
] | null | null | null | const $ = require('jquery');
const {ipcRenderer} = require('electron');
$('.num').on('click', function () {
ipcRenderer.send('num', this.innerText);
});
$('.ope').on('click', function () {
ipcRenderer.send('ope', this.innerText);
});
$('.con').on('click', function () {
ipcRenderer.send('con', this.innerT... | 22.777778 | 44 | 0.585366 |
c60bf439e07eb603d9ba633e9993121f3ea2fdb7 | 366 | js | JavaScript | src/utils/fontawesome.js | uchemukolo/personal-profile | 9c3fc4d163630abda2c01e250d416d470a9d289e | [
"MIT"
] | null | null | null | src/utils/fontawesome.js | uchemukolo/personal-profile | 9c3fc4d163630abda2c01e250d416d470a9d289e | [
"MIT"
] | null | null | null | src/utils/fontawesome.js | uchemukolo/personal-profile | 9c3fc4d163630abda2c01e250d416d470a9d289e | [
"MIT"
] | null | null | null | import { library } from "@fortawesome/fontawesome-svg-core";
import { fab } from "@fortawesome/free-brands-svg-icons";
import {
faEnvelope,
faLink,
faMapMarkerAlt,
} from "@fortawesome/free-solid-svg-icons";
library.add(fab, faEnvelope, faLink, faMapMarkerAlt);
// Now add the faCoffee icon to our library and we c... | 33.272727 | 60 | 0.737705 |
c60c70115b5f3ec10848dcb1a3d7a0ecb57eeb61 | 3,743 | js | JavaScript | graphql-prisma-boilerplate/tests/utils/getClient.js | mallikarjuna-sharma/graphql_boilerplate | 7beaf492028ac872c67756c8b8c600fe318608d3 | [
"MIT"
] | 1 | 2019-01-27T23:04:36.000Z | 2019-01-27T23:04:36.000Z | tests/utils/getClient.js | crystal-rhodes/the-society | 905b37ef658af80c49446155b4d6d9b5a7fec46e | [
"MIT"
] | 2 | 2020-12-13T09:18:02.000Z | 2020-12-13T09:19:44.000Z | tests/utils/getClient.js | crystal-rhodes/the-society | 905b37ef658af80c49446155b4d6d9b5a7fec46e | [
"MIT"
] | null | null | null | import '@babel/polyfill/noConflict'
import { ApolloClient } from 'apollo-client'
import { InMemoryCache } from 'apollo-cache-inmemory'
import { HttpLink } from 'apollo-link-http'
import { onError } from 'apollo-link-error'
import { ApolloLink, Observable } from 'apollo-link'
import { WebSocketLink } from "apollo-link-w... | 31.991453 | 102 | 0.476356 |
c60c930f71eafe230b56e0c6eac105fb6fd72c5f | 1,476 | sjs | JavaScript | repl/index.sjs | maniacs-pl/siren | 4507796902176971a6caa4887b9f5f62b500eb37 | [
"MIT"
] | 109 | 2015-12-15T23:06:06.000Z | 2020-02-08T23:00:36.000Z | repl/index.sjs | maniacs-pl/siren | 4507796902176971a6caa4887b9f5f62b500eb37 | [
"MIT"
] | 57 | 2015-12-15T23:11:20.000Z | 2016-07-19T03:05:57.000Z | repl/index.sjs | robotlolita/mermaid-language | 4507796902176971a6caa4887b9f5f62b500eb37 | [
"MIT"
] | 9 | 2015-12-26T03:51:01.000Z | 2018-10-15T03:32:15.000Z | /**********************************************************************
*
* This source file is part of the Siren project.
*
* Copyright (C) 2013-2015 Quildreen Motta.
* Licensed under the MIT licence.
*
* See LICENCE for licence information.
* See CONTRIBUTORS for the list of contributors to the project.
*
*... | 29.52 | 72 | 0.48103 |
c60c9baf4408ffe9b5afbe0022ad66c849b62a90 | 9,150 | js | JavaScript | javascript/all.js | yutin1987/yodex2016 | e44049a2e2952386f4abf0ba4136020deabf5bf6 | [
"BSD-3-Clause"
] | null | null | null | javascript/all.js | yutin1987/yodex2016 | e44049a2e2952386f4abf0ba4136020deabf5bf6 | [
"BSD-3-Clause"
] | null | null | null | javascript/all.js | yutin1987/yodex2016 | e44049a2e2952386f4abf0ba4136020deabf5bf6 | [
"BSD-3-Clause"
] | null | null | null | var
$userimage = $('#userimage'),
$coverimage = $('#coverimage'),
$udragger = $('#userdragger'),
$cdragger = $('#coverdragger'),
$sizer = $('#size-slider'),
$loading = $('#loading');
$pretext = $('#coverimage .texter'),
$text = $('#templates textarea'),
$uploading = $('#uploading');
$preview = $('#preview');
$(window)... | 26.676385 | 117 | 0.598142 |
c60cd7ca0a70e0a08c4d2e23f4f68bb8dda55757 | 469 | js | JavaScript | test/unit/specs/components/common/Page404.spec.js | Forkbox/lunie | 681e2a4c29b2de398d99a3e95d814328cc686305 | [
"Apache-2.0"
] | 2 | 2019-09-25T12:09:57.000Z | 2019-09-25T18:43:53.000Z | test/unit/specs/components/common/Page404.spec.js | Forkbox/lunie | 681e2a4c29b2de398d99a3e95d814328cc686305 | [
"Apache-2.0"
] | 8 | 2020-09-07T20:49:36.000Z | 2022-01-22T10:07:40.000Z | test/unit/specs/components/common/Page404.spec.js | Forkbox/lunie | 681e2a4c29b2de398d99a3e95d814328cc686305 | [
"Apache-2.0"
] | 1 | 2019-06-15T19:07:48.000Z | 2019-06-15T19:07:48.000Z | import { shallowMount } from "@vue/test-utils"
import Page404 from "src/components/common/Page404"
describe(`Page404`, () => {
let wrapper
beforeEach(() => {
wrapper = shallowMount(Page404, {
stubs: [`router-link`]
})
})
it(`should show the 404 page`, async () => {
expect(wrapper.vm.$el).to... | 22.333333 | 69 | 0.618337 |
c60ce4f4068bc7f1b8807d86636994c8dc5859ca | 829 | js | JavaScript | widgets/Edit/nls/pt-pt/strings.js | CristinaHornoKort/web_app_builder_experto | dec2429e3b893869513c5c052c3d58f8978d7456 | [
"Apache-2.0"
] | 15 | 2018-07-18T07:39:47.000Z | 2019-09-25T17:33:52.000Z | widgets/Edit/nls/pt-pt/strings.js | CristinaHornoKort/web_app_builder_experto | dec2429e3b893869513c5c052c3d58f8978d7456 | [
"Apache-2.0"
] | null | null | null | widgets/Edit/nls/pt-pt/strings.js | CristinaHornoKort/web_app_builder_experto | dec2429e3b893869513c5c052c3d58f8978d7456 | [
"Apache-2.0"
] | 4 | 2019-01-07T10:23:42.000Z | 2019-09-02T08:03:08.000Z | define({
"_widgetLabel": "Editar",
"_featureAction_Edit": "Editar",
"title": "Escolha um template para criar elementos",
"pressStr": "Pressione ",
"ctrlStr": " CTRL ",
"snapStr": " para ativar o ajuste automático",
"close": "Fechar",
"featureLayers": "Camadas de elementos",
"searchTemplates": "Pesquis... | 43.631579 | 109 | 0.732207 |
c60d07ba7a6aa77ffafc166f0d85c25d83ac0378 | 2,909 | js | JavaScript | commands/reminder.js | Gerlesh/ibpowerbot | 82665f7abdffe72d094a47cee080fbcfae3874d2 | [
"MIT"
] | 1 | 2019-09-28T21:12:11.000Z | 2019-09-28T21:12:11.000Z | commands/reminder.js | Gerlesh/ibpowerbot | 82665f7abdffe72d094a47cee080fbcfae3874d2 | [
"MIT"
] | 1 | 2019-09-27T20:40:21.000Z | 2019-09-27T20:41:00.000Z | commands/reminder.js | Gerlesh/ibpowerbot | 82665f7abdffe72d094a47cee080fbcfae3874d2 | [
"MIT"
] | 1 | 2019-10-04T17:14:29.000Z | 2019-10-04T17:14:29.000Z | const Discord = require('discord.js');
class Reminder {
constructor(time,message) {
this.reminder = message;
this.expires = 0;
const timeValues = time.split(/[a-zA-Z]/);
timeValues.pop();
const timeUnitsRaw = time.split(/[0-9]+/);
timeUnitsRaw.shift();
const timeUnits = timeUnitsRaw.map(x => x.toLowerC... | 33.056818 | 341 | 0.642833 |
c60e38fa522f6485f47d1ec9597a81c5a0c8cb11 | 7,822 | js | JavaScript | dashboard/client/src/components/workloads/jobs/JobCard.js | pulasthi/twister2 | 40b73bdf7dcb778d957c3f146baf825a97dceae5 | [
"Apache-2.0"
] | 63 | 2017-08-31T10:02:52.000Z | 2021-12-18T21:42:14.000Z | dashboard/client/src/components/workloads/jobs/JobCard.js | pulasthi/twister2 | 40b73bdf7dcb778d957c3f146baf825a97dceae5 | [
"Apache-2.0"
] | 284 | 2017-10-20T15:35:26.000Z | 2020-09-11T15:25:40.000Z | dashboard/client/src/components/workloads/jobs/JobCard.js | pulasthi/twister2 | 40b73bdf7dcb778d957c3f146baf825a97dceae5 | [
"Apache-2.0"
] | 44 | 2017-08-21T19:47:57.000Z | 2020-11-22T22:45:50.000Z | import React from "react";
import {Button, Card, Collapse, Elevation, Icon, Intent, Position, Tag, Tooltip} from "@blueprintjs/core";
import "./JobCard.css";
import JobService from "../../../services/JobService";
import {DashToaster} from "../../Dashboard";
import ClusterTag from "../../grid/clusters/ClusterTag";
impor... | 40.112821 | 123 | 0.368064 |
c60e750a43bc12485a9e3a9b29f00ff77f378a60 | 20,939 | js | JavaScript | packages/node_modules/@ractivejs/core/test/browser/shuffling.js | fskreuz/ractive-monorepo | be27e0ba6466dd679245e891262715eb62bb317a | [
"MIT"
] | null | null | null | packages/node_modules/@ractivejs/core/test/browser/shuffling.js | fskreuz/ractive-monorepo | be27e0ba6466dd679245e891262715eb62bb317a | [
"MIT"
] | null | null | null | packages/node_modules/@ractivejs/core/test/browser/shuffling.js | fskreuz/ractive-monorepo | be27e0ba6466dd679245e891262715eb62bb317a | [
"MIT"
] | null | null | null | import { fire } from 'simulant';
import { initModule } from '../helpers/test-config';
import { test } from 'qunit';
export default function() {
initModule( 'shuffling.js' );
test( 'Pattern observers on arrays fire correctly after mutations (mirror of test in observe.js)', t => {
const ractive = new Ractive({
d... | 26.272271 | 147 | 0.532881 |
c60e83ad4d85e6a243830686a31559047054c92c | 14,432 | js | JavaScript | ppersonal-python/webapp/src/assets/js/editor.md/lib/codemirror/addon/hint/show-hint.js | corner4world/cubeai | ffe3ded358a70cd0a512420f7df2bb931eaae1c9 | [
"Apache-2.0"
] | null | null | null | ppersonal-python/webapp/src/assets/js/editor.md/lib/codemirror/addon/hint/show-hint.js | corner4world/cubeai | ffe3ded358a70cd0a512420f7df2bb931eaae1c9 | [
"Apache-2.0"
] | null | null | null | ppersonal-python/webapp/src/assets/js/editor.md/lib/codemirror/addon/hint/show-hint.js | corner4world/cubeai | ffe3ded358a70cd0a512420f7df2bb931eaae1c9 | [
"Apache-2.0"
] | null | null | null | // CodeMirrror, copyright (c) by Marijn Haverbeke and others
// Distributed under an MIT license: http://codemirror.net/LICENSE
(function(mod) {
if (typeof exports == "object" && typeof module == "object") // CommonJS
mod(require("../../lib/codemirror"));
else if (typeof define == "function" && define.amd) // ... | 36.536709 | 119 | 0.62209 |
c60f63527dffccc69713be3f7b52983532a53921 | 671 | js | JavaScript | src/static/js/tabular/export.js | intersystems-ru/iknow-entity-browser | ddd0ae56af93183e10695719ff382a862fb8ab2d | [
"MIT"
] | null | null | null | src/static/js/tabular/export.js | intersystems-ru/iknow-entity-browser | ddd0ae56af93183e10695719ff382a862fb8ab2d | [
"MIT"
] | 7 | 2017-04-19T01:31:29.000Z | 2018-08-29T18:44:58.000Z | src/static/js/tabular/export.js | intersystems-ru/iknow-entity-browser | ddd0ae56af93183e10695719ff382a862fb8ab2d | [
"MIT"
] | 4 | 2017-11-18T10:55:07.000Z | 2019-03-26T02:47:34.000Z | /**
* @param {*[][]} dataArray - Table to be exported.
*/
export function csv (dataArray = []) {
console.log(dataArray);
let csvContent = "data:text/csv;charset=utf-8,";
dataArray.forEach((infoArray, index) => {
let dataString = infoArray.join(",");
csvContent += index < dataArray.lengt... | 25.807692 | 80 | 0.627422 |
c60faa31d7cad2836eb17666c0928951ea7c7c4d | 354 | js | JavaScript | problems/1047/index.js | zhangJQK/leetcode | 6538c45c83cf9bcc66a41dcc2ad9676f27c22e46 | [
"MIT"
] | null | null | null | problems/1047/index.js | zhangJQK/leetcode | 6538c45c83cf9bcc66a41dcc2ad9676f27c22e46 | [
"MIT"
] | null | null | null | problems/1047/index.js | zhangJQK/leetcode | 6538c45c83cf9bcc66a41dcc2ad9676f27c22e46 | [
"MIT"
] | null | null | null | /**
* @param {string} S
* @return {string}
*/
const removeDuplicates = (S) => {
if (S.length <= 1) {
return S;
}
const removedS = removeDuplicates(S.slice(0, S.length - 1));
if (removedS[removedS.length - 1] === S[S.length - 1]) {
return removedS.slice(0, removedS.length - 1);
} else {
return r... | 22.125 | 62 | 0.573446 |
c60fcca00895ecfd442276c6875c43c7cf4c2104 | 10,866 | js | JavaScript | sollus3/src/main/webapp/openui/sap/ui/documentation/sdk/thirdparty/jsanalyzer/ModuleAnalyzer.js | guilhermepe/SOLLUS | dca8c366390b2b36b3cd520802e603f5767875d1 | [
"MIT"
] | null | null | null | sollus3/src/main/webapp/openui/sap/ui/documentation/sdk/thirdparty/jsanalyzer/ModuleAnalyzer.js | guilhermepe/SOLLUS | dca8c366390b2b36b3cd520802e603f5767875d1 | [
"MIT"
] | null | null | null | sollus3/src/main/webapp/openui/sap/ui/documentation/sdk/thirdparty/jsanalyzer/ModuleAnalyzer.js | guilhermepe/SOLLUS | dca8c366390b2b36b3cd520802e603f5767875d1 | [
"MIT"
] | null | null | null | /*!
* UI development toolkit for HTML5 (OpenUI5)
* (c) Copyright 2009-2018 SAP SE or an SAP affiliate company.
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
*/
sap.ui.define(['jquery.sap.global','sap/ui/base/ManagedObjectMetadata','./ASTUtils','./Doclet','sap/ui/documentation/sdk/thirdparty/es... | 1,552.285714 | 10,679 | 0.714798 |
c61021d86d23742694ecfe10f4a960deb6886005 | 931 | js | JavaScript | src/Currency.js | DePayFi/depay-local-currency | 939ea071610947554a005f3be302585e0673ba7f | [
"MIT"
] | 1 | 2021-09-22T23:45:08.000Z | 2021-09-22T23:45:08.000Z | src/Currency.js | DePayFi/depay-local-currency | 939ea071610947554a005f3be302585e0673ba7f | [
"MIT"
] | null | null | null | src/Currency.js | DePayFi/depay-local-currency | 939ea071610947554a005f3be302585e0673ba7f | [
"MIT"
] | null | null | null | import timezoneToCurrency from './timezoneToCurrency'
class Currency {
constructor({ amount, code, timeZone = Currency.timeZone() }) {
this.amount = amount
this.code = code || timezoneToCurrency[timeZone] || 'USD'
this.timeZone = timeZone
}
static async fromUSD({ amount, code, timeZone, apiKey }) {
... | 27.382353 | 83 | 0.653061 |
c610342c2b6a09511c67793a4c08c6ec3d14b65f | 19,622 | js | JavaScript | node_modules/rc-tabs/lib/TabNavList/index.js | inspi-writer001/swap_token | 58c16c18e955992946db8f065abb9211a1148a6f | [
"MIT"
] | null | null | null | node_modules/rc-tabs/lib/TabNavList/index.js | inspi-writer001/swap_token | 58c16c18e955992946db8f065abb9211a1148a6f | [
"MIT"
] | null | null | null | node_modules/rc-tabs/lib/TabNavList/index.js | inspi-writer001/swap_token | 58c16c18e955992946db8f065abb9211a1148a6f | [
"MIT"
] | null | null | null | "use strict";
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard");
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var _extends2 = _interopRequireDefaul... | 36.13628 | 453 | 0.65503 |
c610352cb68469e471e926ad3353890dd3501f3f | 17,920 | js | JavaScript | node_modules/babel-core/node_modules/babel-generator/node_modules/is-integer/node_modules/is-finite/node_modules/ava/node_modules/log-symbols/node_modules/chalk/node_modules/coveralls/node_modules/jshint/dist/jshint-1.0.0.js | y04nqt/startingReact | bdca259ba6104edec247dac6cdbc01dbca8611ba | [
"MIT"
] | null | null | null | node_modules/babel-core/node_modules/babel-generator/node_modules/is-integer/node_modules/is-finite/node_modules/ava/node_modules/log-symbols/node_modules/chalk/node_modules/coveralls/node_modules/jshint/dist/jshint-1.0.0.js | y04nqt/startingReact | bdca259ba6104edec247dac6cdbc01dbca8611ba | [
"MIT"
] | null | null | null | node_modules/babel-core/node_modules/babel-generator/node_modules/is-integer/node_modules/is-finite/node_modules/ava/node_modules/log-symbols/node_modules/chalk/node_modules/coveralls/node_modules/jshint/dist/jshint-1.0.0.js | y04nqt/startingReact | bdca259ba6104edec247dac6cdbc01dbca8611ba | [
"MIT"
] | null | null | null | // 1.0.0
var JSHINT;
(function(){var require = function (file, cwd) {
var resolved = require.resolve(file, cwd || '/');
var mod = require.modules[resolved];
if (!mod) throw new Error(
'Failed to resolve module ' + file + ', tried ' + resolved
);
var cached = require.cache[resolved];
var ... | 85.333333 | 6,410 | 0.561272 |
c6104b2848aee4020279a4a0c30677cc1bb43d56 | 868 | js | JavaScript | app/views/About.js | pratikbhd/website | a15bff2f2a84bfffe533a23ba9bb4eedb665620e | [
"MIT"
] | null | null | null | app/views/About.js | pratikbhd/website | a15bff2f2a84bfffe533a23ba9bb4eedb665620e | [
"MIT"
] | 3 | 2021-03-09T16:22:53.000Z | 2022-02-10T19:09:39.000Z | app/views/About.js | pratikbhd/website | a15bff2f2a84bfffe533a23ba9bb4eedb665620e | [
"MIT"
] | null | null | null | import React from 'react';
import { Link } from 'react-router-dom';
import Helmet from 'react-helmet';
import ReactMarkdown from 'react-markdown';
import Main from '../layouts/Main';
import markdown from '../data/about.md';
const count = markdown.split(/\s+/)
.map((s) => s.replace(/\W/g, ''))
.filter((s) => s.le... | 22.842105 | 65 | 0.574885 |
c610eab1d64d081d2b031536549d44462d9032e3 | 1,591 | js | JavaScript | mini-microservices-demo/comments/index.js | stevendelro/Kur8 | 5a835e0ef31dce7a3b182f2073d9d73018503a06 | [
"MIT"
] | 3 | 2021-03-31T04:12:00.000Z | 2022-01-08T00:43:45.000Z | mini-microservices-demo/comments/index.js | stevendelro/Kur8 | 5a835e0ef31dce7a3b182f2073d9d73018503a06 | [
"MIT"
] | null | null | null | mini-microservices-demo/comments/index.js | stevendelro/Kur8 | 5a835e0ef31dce7a3b182f2073d9d73018503a06 | [
"MIT"
] | null | null | null | const express = require("express");
const bodyParser = require("body-parser");
const { randomBytes } = require("crypto");
const cors = require("cors");
const axios = require("axios");
const app = express();
app.use(bodyParser.json());
app.use(cors());
const commentsByPostId = {};
app.get("/posts/:id/comments", (req,... | 22.408451 | 63 | 0.600251 |
c61116843807d2e377f44114871d6ded94237bd8 | 485 | js | JavaScript | jstests/concurrency/fsm_workloads/update_array_noindex.js | EdwardPrentice/wrongo | 1e7c9136f5fab7040b5bd5df51b4946876625c88 | [
"Apache-2.0"
] | 72 | 2020-06-12T06:33:41.000Z | 2021-03-22T03:15:56.000Z | jstests/concurrency/fsm_workloads/update_array_noindex.js | EdwardPrentice/wrongo | 1e7c9136f5fab7040b5bd5df51b4946876625c88 | [
"Apache-2.0"
] | 9 | 2020-07-02T09:36:49.000Z | 2021-03-25T23:54:00.000Z | jstests/concurrency/fsm_workloads/update_array_noindex.js | EdwardPrentice/wrongo | 1e7c9136f5fab7040b5bd5df51b4946876625c88 | [
"Apache-2.0"
] | 14 | 2020-06-12T03:08:03.000Z | 2021-02-03T11:43:09.000Z | 'use strict';
/**
* update_array_noindex.js
*
* Executes the update_array.js workload after dropping all non-_id indexes on
* the collection.
*/
load('jstests/concurrency/fsm_libs/extend_workload.js'); // for extendWorkload
load('jstests/concurrency/fsm_workloads/update_array.js'); /... | 34.642857 | 94 | 0.725773 |
c6115232158e9db92328ad07a9f3af3d3592b135 | 453,574 | js | JavaScript | dist/app.js | bahmutov/hydrate-vdom-todo | f1700dc86bcc0ed63a345ebee22e2a936eaf9f47 | [
"MIT",
"Unlicense"
] | 8 | 2015-12-21T10:51:00.000Z | 2021-05-07T11:07:48.000Z | dist/app.js | bahmutov/hydrate-vdom-todo | f1700dc86bcc0ed63a345ebee22e2a936eaf9f47 | [
"MIT",
"Unlicense"
] | 5 | 2015-12-20T19:27:25.000Z | 2015-12-23T13:58:08.000Z | dist/app.js | bahmutov/hydrate-vdom-todo | f1700dc86bcc0ed63a345ebee22e2a936eaf9f47 | [
"MIT",
"Unlicense"
] | null | null | null | /******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId])
/******/ return installedModu... | 24.238444 | 177 | 0.561112 |
c61156ad4ecf861b7f8a369022cbae45d18dc2b5 | 462 | js | JavaScript | client/src/Components/Nav/Nav.js | NastyaShafir/returnship-project-voting | fa0224c3beff2b9c800576f4b38b4ee4efa2ad21 | [
"MIT"
] | 3 | 2020-05-04T18:31:06.000Z | 2021-06-08T18:25:18.000Z | client/src/Components/Nav/Nav.js | NastyaShafir/returnship-project-voting | fa0224c3beff2b9c800576f4b38b4ee4efa2ad21 | [
"MIT"
] | 33 | 2020-04-14T22:09:04.000Z | 2021-01-10T02:58:49.000Z | client/src/Components/Nav/Nav.js | NastyaShafir/returnship-project-voting | fa0224c3beff2b9c800576f4b38b4ee4efa2ad21 | [
"MIT"
] | 1 | 2021-05-06T13:22:57.000Z | 2021-05-06T13:22:57.000Z | import React from "react";
import { NavLink } from "react-router-dom";
import Logo from "../Images/Logo.svg";
import NavLinks from "./NavLinks";
export default function Nav() {
return (
<nav className="nav__large">
<div className="nav__large-logo">
<img src={Logo} alt="Career Returnship Logo... | 22 | 55 | 0.603896 |
c612b8f35a87e7fcba568a3576dba928e7b29d35 | 1,552 | js | JavaScript | test/e2e.test.js | adobe/asset-compute-pipeline | e07c77ae1213b48b229cc0d657c648850bb17597 | [
"Apache-2.0"
] | null | null | null | test/e2e.test.js | adobe/asset-compute-pipeline | e07c77ae1213b48b229cc0d657c648850bb17597 | [
"Apache-2.0"
] | 33 | 2021-07-28T17:01:45.000Z | 2022-03-31T16:08:38.000Z | test/e2e.test.js | adobe/asset-compute-pipeline | e07c77ae1213b48b229cc0d657c648850bb17597 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2020 Adobe. All rights reserved.
* This file is licensed to you 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 appli... | 33.73913 | 89 | 0.703608 |
c61336a4befca71875e2c45ce8fb14198552cfb0 | 672 | js | JavaScript | prod/index.min.js | Ivl-Nunez/Babel | 869d4a522a02f60b92b4e6fe839ebbe59102a931 | [
"MIT"
] | null | null | null | prod/index.min.js | Ivl-Nunez/Babel | 869d4a522a02f60b92b4e6fe839ebbe59102a931 | [
"MIT"
] | 1 | 2021-05-11T18:41:41.000Z | 2021-05-11T18:41:41.000Z | prod/index.min.js | Ivl-Nunez/Babel | 869d4a522a02f60b92b4e6fe839ebbe59102a931 | [
"MIT"
] | null | null | null | "use strict";function _classCallCheck(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}function _defineProperties(e,n){for(var t=0;t<n.length;t++){var o=n[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function _createC... | 336 | 671 | 0.739583 |
c61350106533a9c0c9f0fab6e61c05df9854b150 | 27 | js | JavaScript | research/techs/micro/balancer/public/main.js | Silver-birder/think-micro-frontends | 620337e40c360447cbfee7919d2ddbe1b424ef66 | [
"MIT"
] | 4 | 2020-11-05T00:11:45.000Z | 2022-02-22T18:05:15.000Z | research/techs/micro/balancer/public/main.js | Silver-birder/think-micro-frontends | 620337e40c360447cbfee7919d2ddbe1b424ef66 | [
"MIT"
] | null | null | null | research/techs/micro/balancer/public/main.js | Silver-birder/think-micro-frontends | 620337e40c360447cbfee7919d2ddbe1b424ef66 | [
"MIT"
] | null | null | null | require('./style.css!css')
| 13.5 | 26 | 0.666667 |
c6146343906ff799fe72eec20a7f24ac528c4898 | 2,251 | js | JavaScript | test/service/provider/urlShortening.provider.test.js | taulinger/bav4-nomigration | 1d39037bc27b931d5fbdf04110fda4e7c714184e | [
"Apache-2.0"
] | null | null | null | test/service/provider/urlShortening.provider.test.js | taulinger/bav4-nomigration | 1d39037bc27b931d5fbdf04110fda4e7c714184e | [
"Apache-2.0"
] | 2 | 2020-11-16T15:09:27.000Z | 2020-12-14T20:28:20.000Z | test/service/provider/urlShortening.provider.test.js | taulinger/bav4-nomigration | 1d39037bc27b931d5fbdf04110fda4e7c714184e | [
"Apache-2.0"
] | 1 | 2020-11-16T14:30:12.000Z | 2020-11-16T14:30:12.000Z | import { $injector } from '../../../src/injection';
import { shortenBvvUrls } from '../../../src/services/provider/urlShorteningProvider';
describe('UrlShortening provider', () => {
describe('Bvv UrlShortening provider', () => {
const configService = {
getValueAsPath: () => { }
};
const httpService = {
... | 33.102941 | 143 | 0.704131 |
c6146f162ef12339e6109ff279eaf75dca59e323 | 998 | js | JavaScript | dist/index.js | exodevhub/exodev-components | aa002fce80d7da6ca1020f292143a3c63519b39d | [
"MIT"
] | null | null | null | dist/index.js | exodevhub/exodev-components | aa002fce80d7da6ca1020f292143a3c63519b39d | [
"MIT"
] | null | null | null | dist/index.js | exodevhub/exodev-components | aa002fce80d7da6ca1020f292143a3c63519b39d | [
"MIT"
] | null | null | null | "use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
var RowLayout1Centered_1 = __importDefault(require("./components/Grids/RowLayout1Centered"));
exports.Ro... | 62.375 | 101 | 0.803607 |
c6147e389b2dd74ac9d80fec7479833991f2d1ec | 1,261 | js | JavaScript | src/library/stream.js | ArtOfCode-/nails | 1ba9158742ba72bc727ad5c881035ee9d99b700c | [
"MIT"
] | 9 | 2017-03-22T00:40:27.000Z | 2018-11-12T23:38:27.000Z | src/library/stream.js | ArtOfCode-/nails | 1ba9158742ba72bc727ad5c881035ee9d99b700c | [
"MIT"
] | 220 | 2017-03-23T22:44:15.000Z | 2018-05-04T19:39:41.000Z | src/library/stream.js | ArtOfCode-/nails | 1ba9158742ba72bc727ad5c881035ee9d99b700c | [
"MIT"
] | 3 | 2017-03-23T23:37:35.000Z | 2017-04-22T14:45:28.000Z | 'use strict';
const fs = require('fs');
const chalk = require('chalk');
const debug = require('./util')('stream');
/**
* @function stream
* @description
* Stream something to the response.
* This function is also a writable stream, so streams
* can be piped into it:
* `myStream.pipe(this.stream)`
* @param {Ob... | 27.413043 | 114 | 0.614592 |
c614eb03ea1e26f08e436e5c41c616fbd2a7b899 | 20,354 | js | JavaScript | public/static/lib/modules/ml.js | 1826888766/think-admin | 2119f77ab8202fba1ce9ccdd0a7db78bceb882ae | [
"Apache-2.0"
] | null | null | null | public/static/lib/modules/ml.js | 1826888766/think-admin | 2119f77ab8202fba1ce9ccdd0a7db78bceb882ae | [
"Apache-2.0"
] | null | null | null | public/static/lib/modules/ml.js | 1826888766/think-admin | 2119f77ab8202fba1ce9ccdd0a7db78bceb882ae | [
"Apache-2.0"
] | null | null | null | function eq(a, b) {
return a == b;
}
layui.define([
'jquery',
'form',
'table',
'laydate',
'laytpl',
'upload',
], function (exports) {
'use strict';
const $ = layui.$;
const table = layui.table;
const laydate = layui.laydate;
const form = layui.form;
const laytpl = l... | 38.622391 | 157 | 0.401887 |
c614f4740f4b9ea6955033d4186c94c5552d0394 | 1,759 | js | JavaScript | src/Fixtures/Animation/TheDual.js | disc-in/UltimateApp | b68aa34852768026e8bd909468c9fdc0404992c5 | [
"MIT"
] | 12 | 2020-12-03T18:46:01.000Z | 2022-01-28T22:46:24.000Z | src/Fixtures/Animation/TheDual.js | UltimateApp/UltimateApp | b68aa34852768026e8bd909468c9fdc0404992c5 | [
"MIT"
] | 101 | 2020-03-21T15:14:03.000Z | 2020-10-13T13:58:28.000Z | src/Fixtures/Animation/TheDual.js | UltimateApp/UltimateApp | b68aa34852768026e8bd909468c9fdc0404992c5 | [
"MIT"
] | 3 | 2020-03-20T19:54:56.000Z | 2020-04-27T09:40:27.000Z | const theDual = {
positions: [
[
[[0.4509389641848342, 0.416666616514477]],
[[0.36323952796425907, 0.3866817198252902]],
[[0.40740251538178707, 0.7729639850467915]],
[[0.35091749803492756, 0.7119065853853922]],
[
[0.4463033216678828, 0.7622957292890337],
[0.6231832101... | 27.484375 | 60 | 0.599773 |
c615d384eded0b7133f6426528ee8d148b683ad4 | 1,242 | js | JavaScript | public/js/pvr_map_google.js | grecocomer/proygre | 7f054dbabc5efdfcbd22a4f5283c5a97c5825fed | [
"MIT"
] | null | null | null | public/js/pvr_map_google.js | grecocomer/proygre | 7f054dbabc5efdfcbd22a4f5283c5a97c5825fed | [
"MIT"
] | null | null | null | public/js/pvr_map_google.js | grecocomer/proygre | 7f054dbabc5efdfcbd22a4f5283c5a97c5825fed | [
"MIT"
] | 2 | 2020-02-28T14:42:22.000Z | 2021-09-05T15:15:40.000Z | "use strict";
var full_screen = function () {
"use strict";
var a = [ {
featureType: "all",
elementType: "all",
stylers : [ {
invert_lightness: true
}, {
saturation: 15
}, {
lightness: 15
}, {
gamma: .8
}... | 21.050847 | 74 | 0.419485 |