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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
193a27accb67ada2ef2082cde1c43616cca5b262 | 1,331 | js | JavaScript | lib/strategies/google_token.js | Nucleus-Inc/passport-mock-strategies | 5c2c4ee56567c692e25f9cbfc539c1a394470cf8 | [
"MIT"
] | null | null | null | lib/strategies/google_token.js | Nucleus-Inc/passport-mock-strategies | 5c2c4ee56567c692e25f9cbfc539c1a394470cf8 | [
"MIT"
] | null | null | null | lib/strategies/google_token.js | Nucleus-Inc/passport-mock-strategies | 5c2c4ee56567c692e25f9cbfc539c1a394470cf8 | [
"MIT"
] | null | null | null | "use strict";
var passport = require("passport"),
util = require("util"),
Strategy = require("passport-strategy");
function StrategyMock(options, verify) {
if (!verify) {
throw new TypeError("Verify callback is required");
}
this.name = options.name || "mock-google-token";
this._passAuthentication = ... | 22.948276 | 75 | 0.663411 |
193b3aab1993b9ab54961e44d0ad833193e41d17 | 270 | js | JavaScript | public/editor/bundles/common/tantaman.web/Utils.js | shirshendu/kine_type | aaf2fc4e46d28b756e6bc23273b9c8f1a1fd6eb3 | [
"MIT"
] | 1 | 2015-03-05T14:59:54.000Z | 2015-03-05T14:59:54.000Z | public/editor/bundles/common/tantaman.web/Utils.js | shirshendu/kine_type | aaf2fc4e46d28b756e6bc23273b9c8f1a1fd6eb3 | [
"MIT"
] | null | null | null | public/editor/bundles/common/tantaman.web/Utils.js | shirshendu/kine_type | aaf2fc4e46d28b756e6bc23273b9c8f1a1fd6eb3 | [
"MIT"
] | null | null | null | define(function() {
return {
dispose: function(arg) {
if (arg.dispose != null) {
arg.dispose();
} else if (arg.forEach != null) {
arg.forEach(function(e) {
e.dispose();
});
}
},
stopProp: function(e) {
e.stopPropagation();
}
}
}); | 15.882353 | 36 | 0.533333 |
193b82826788a2c14a646a96b1da577858f49cf8 | 644 | js | JavaScript | frontend/src/stores/dashboardStore.js | venanen/loginForm | ad6375e68725171ca8bb03ea67bca796b229e1b2 | [
"MIT"
] | null | null | null | frontend/src/stores/dashboardStore.js | venanen/loginForm | ad6375e68725171ca8bb03ea67bca796b229e1b2 | [
"MIT"
] | 2 | 2020-05-15T00:40:45.000Z | 2020-05-15T12:06:33.000Z | frontend/src/stores/dashboardStore.js | venanen/loginForm | ad6375e68725171ca8bb03ea67bca796b229e1b2 | [
"MIT"
] | null | null | null |
import {dashboardCore} from "../core/exportCore";
import {action, decorate, observable} from "mobx";
class DashboardStore{
constructor(){
this._this = this;
this.loading = true;
this.userData = '';
this.getData();
}
async getData(){
this.loading = true;
let data = await dashboardCore.getUserData();
... | 16.947368 | 50 | 0.669255 |
193c6520869bcc6389d7ded83040896a4db6739d | 489 | js | JavaScript | redux/storeManager.js | ImHappie/Unqork-Exercise | aa6cc5058c9df12ff7f1f80231248b0a017463dd | [
"MIT"
] | null | null | null | redux/storeManager.js | ImHappie/Unqork-Exercise | aa6cc5058c9df12ff7f1f80231248b0a017463dd | [
"MIT"
] | null | null | null | redux/storeManager.js | ImHappie/Unqork-Exercise | aa6cc5058c9df12ff7f1f80231248b0a017463dd | [
"MIT"
] | null | null | null | import store from './store';
const getStore = ()=> store; // get store
const getState = (reducer, state) => store.getState()[reducer][state]; // get global state of store
const subscribe = subs => store.subscribe(subs); // subscribe to store and lsiten to every state changes
const dispatch = ({ type, payload = null... | 27.166667 | 105 | 0.683027 |
193ed2b530d15fa4ea122f0fb923107d5d9dd7aa | 471 | js | JavaScript | src/Filter.js | ecvdbdx/ewe_HearthstonAPI | d36fefa72673b7589482e2d93690c570718a6ce6 | [
"Apache-2.0"
] | null | null | null | src/Filter.js | ecvdbdx/ewe_HearthstonAPI | d36fefa72673b7589482e2d93690c570718a6ce6 | [
"Apache-2.0"
] | null | null | null | src/Filter.js | ecvdbdx/ewe_HearthstonAPI | d36fefa72673b7589482e2d93690c570718a6ce6 | [
"Apache-2.0"
] | 1 | 2021-02-15T09:39:18.000Z | 2021-02-15T09:39:18.000Z | import React from "react";
import "./Filter.css";
function Filter(props) {
const { cardSets, checked, check } = props;
const filters = cardSets.map((cardSet) => (
<li className="filter-container">
<p>{cardSet}</p>
<input
type="checkbox"
name={cardSet}
checked={checked === c... | 19.625 | 45 | 0.564756 |
194054ebba9aac7bab743c77f5ae93967f4ed85e | 924 | js | JavaScript | app/components/Card.js | Sacha-lb/sachaReact | 77ff5e8659d727c8f98e36b1fa3f2f10b6188cef | [
"MIT"
] | null | null | null | app/components/Card.js | Sacha-lb/sachaReact | 77ff5e8659d727c8f98e36b1fa3f2f10b6188cef | [
"MIT"
] | null | null | null | app/components/Card.js | Sacha-lb/sachaReact | 77ff5e8659d727c8f98e36b1fa3f2f10b6188cef | [
"MIT"
] | null | null | null | import React, {useEffect, useState} from "react";
import styles from '../styles/Card.module.css';
import Image from 'next/image';
import Router from 'next/router';
export default function Marketplace(props){
const [selected, setSelected] = useState(null);
useEffect(() => {
console.log(selected)
},... | 35.538462 | 171 | 0.615801 |
19410471f334330e75aaefc3fa7451a927aee16c | 2,715 | js | JavaScript | Tutorials/Custom Controls/Custom Controls in Win32 API Encapsulation of Customized Controls - CodeProject_files/MemberProfilePopup.js | alexdesign001/UX | 1709446a82a8f2c01c0e6d95a29ac512439df1b2 | [
"MS-PL"
] | 2 | 2020-10-19T12:20:50.000Z | 2020-12-05T08:10:08.000Z | Tutorials/Custom Controls/Custom Controls in Win32 API Visual Styles - CodeProject_files/MemberProfilePopup.js | alexdesign001/UX | 1709446a82a8f2c01c0e6d95a29ac512439df1b2 | [
"MS-PL"
] | null | null | null | Tutorials/Custom Controls/Custom Controls in Win32 API Visual Styles - CodeProject_files/MemberProfilePopup.js | alexdesign001/UX | 1709446a82a8f2c01c0e6d95a29ac512439df1b2 | [
"MS-PL"
] | null | null | null | function setPopupHeight(n){var t=$("#MemberProfilePopupDiv"),r=t.height(),i=n.contentWindow.document.body.scrollHeight;n.height=i;t.css({top:t.offset().top+(r-i)})}(function(n){var i=!0,r="/members/Flair/",t="/script/Membership/View.aspx";n.fn.MemberProfilePopup=function(t){function o(n){var r=",",t=Math.max(0,n).toFix... | 2,715 | 2,715 | 0.671455 |
194125c2909a9c03dd66c7b1ab5576e37b33c9ee | 10,395 | js | JavaScript | docs/static/js/4259.eca9a76dc8ebdd267239.js | alcedo-ui/alcedo-ui | 61d0870bc9bcf3af770ba1431ddbd32925b0fb10 | [
"MIT"
] | 34 | 2017-04-06T09:13:20.000Z | 2021-12-27T15:26:57.000Z | docs/static/js/4259.eca9a76dc8ebdd267239.js | alcedo-ui/alcedo-ui | 61d0870bc9bcf3af770ba1431ddbd32925b0fb10 | [
"MIT"
] | 17 | 2017-07-11T02:15:20.000Z | 2018-08-20T08:52:23.000Z | docs/static/js/4259.eca9a76dc8ebdd267239.js | alcedo-ui/alcedo-ui | 61d0870bc9bcf3af770ba1431ddbd32925b0fb10 | [
"MIT"
] | 4 | 2017-04-18T09:38:16.000Z | 2020-11-25T07:51:23.000Z | "use strict";(self.webpackChunkalcedo_ui=self.webpackChunkalcedo_ui||[]).push([[4259],{74259:(e,n,t)=>{t.d(n,{Z:()=>F});var c=t(87462),o=t(71002),l=t(15671),i=t(43144),r=t(97326),s=t(60136),a=t(82963),d=t(61120),u=t(4942),h=t(37699),m=t(45697),p=t.n(m),f=t(41844),C=t.n(f),k=t(45580),b=t(8628),I=t(65059),Z=t(88787),g=t(... | 10,395 | 10,395 | 0.736893 |
1942787ff7b77e21ad4f93ce833c5a6fa9331053 | 2,403 | js | JavaScript | test/alarms.reducers.test.js | platinum-smarthome/frontend | 0d9448cc18548657dd553b3116742274ffaf56af | [
"Apache-2.0"
] | null | null | null | test/alarms.reducers.test.js | platinum-smarthome/frontend | 0d9448cc18548657dd553b3116742274ffaf56af | [
"Apache-2.0"
] | null | null | null | test/alarms.reducers.test.js | platinum-smarthome/frontend | 0d9448cc18548657dd553b3116742274ffaf56af | [
"Apache-2.0"
] | 1 | 2019-06-20T17:32:51.000Z | 2019-06-20T17:32:51.000Z | import Enzyme, { configure, shallow } from 'enzyme';
import Adapter from 'enzyme-adapter-react-16';
import {
GET_ALARMS_STATUS_SUCCESS,
GET_ALARMS_STATUS_LOADING,
GET_ALARMS_STATUS_ERROR
} from '../store/alarms/alarms.actionType';
import reducer from '../store/alarms/alarms.reducers';
let mockAction = {
type:... | 25.56383 | 89 | 0.668747 |
19429ae90c9199614fc471293fe90c413d82d042 | 947 | js | JavaScript | B2G/gecko/toolkit/components/places/tests/inline/test_zero_frecency.js | wilebeast/FireFox-OS | 43067f28711d78c429a1d6d58c77130f6899135f | [
"Apache-2.0"
] | 3 | 2015-08-31T15:24:31.000Z | 2020-04-24T20:31:29.000Z | B2G/gecko/toolkit/components/places/tests/inline/test_zero_frecency.js | wilebeast/FireFox-OS | 43067f28711d78c429a1d6d58c77130f6899135f | [
"Apache-2.0"
] | null | null | null | B2G/gecko/toolkit/components/places/tests/inline/test_zero_frecency.js | wilebeast/FireFox-OS | 43067f28711d78c429a1d6d58c77130f6899135f | [
"Apache-2.0"
] | 3 | 2015-07-29T07:17:15.000Z | 2020-11-04T06:55:37.000Z | /* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
* You can obtain one at http://mozilla.org/MPL/2.0/. */
// Ensure inline autocomplete doesn't return zero frecency pages.
add_autocomplete_test([
"Searching for zero f... | 33.821429 | 76 | 0.689546 |
19439ce4f8c63e11b2b5c11011b816a3bf7eeeb0 | 549 | js | JavaScript | sandbox/product-server-version-001/index.js | shannonjohnstone/javascript-fullstack-learning | 7f58eed0f129e3ee47edf856805bd51e6bd36212 | [
"MIT"
] | null | null | null | sandbox/product-server-version-001/index.js | shannonjohnstone/javascript-fullstack-learning | 7f58eed0f129e3ee47edf856805bd51e6bd36212 | [
"MIT"
] | null | null | null | sandbox/product-server-version-001/index.js | shannonjohnstone/javascript-fullstack-learning | 7f58eed0f129e3ee47edf856805bd51e6bd36212 | [
"MIT"
] | null | null | null | import express from "express";
import bodyParser from "body-parser";
import { requestHandler, addProductRoute, productRoute } from "./routes.js";
const app = express();
app.set("view engine", 'pug')
app.use(bodyParser.urlencoded({ extended: false }))
app.post("/product", productRoute);
app.get("/add-product", addProd... | 28.894737 | 84 | 0.703097 |
1944e3fcbc5290b4ddf9bd6a89bc38bf4cc2c2e0 | 4,514 | js | JavaScript | AppRR/containers/validation/index.js | Hug0Albert0/Restaurant-Roulette | cca5466ce5dbd04418e106974a40bbbaa41fc4fc | [
"MIT"
] | null | null | null | AppRR/containers/validation/index.js | Hug0Albert0/Restaurant-Roulette | cca5466ce5dbd04418e106974a40bbbaa41fc4fc | [
"MIT"
] | 11 | 2020-07-19T04:42:06.000Z | 2022-03-08T22:30:30.000Z | AppRR/containers/validation/index.js | Hug0Albert0/Restaurant-Roulette | cca5466ce5dbd04418e106974a40bbbaa41fc4fc | [
"MIT"
] | null | null | null | import React, {Component} from 'react';
import {
ScrollView,
Text,
Button,
TextInput,
CheckBox,
StyleSheet,
Keyboard,
View,
Platform
} from 'react-native';
import Icon from 'react-native-vector-icons/FontAwesome';
import {CheckBoxIOS,ButtonIOS} from '../../components'
export default class Validation extends ... | 39.596491 | 173 | 0.59681 |
19450f42f55b0d9f302b1dafa60d1d9e0ad9b256 | 2,887 | js | JavaScript | src/distributer/input.js | stephan-dum/irrigable | 10ebd1a4f6e9e57ad6bee84d1494762ed78c472b | [
"ISC"
] | null | null | null | src/distributer/input.js | stephan-dum/irrigable | 10ebd1a4f6e9e57ad6bee84d1494762ed78c472b | [
"ISC"
] | null | null | null | src/distributer/input.js | stephan-dum/irrigable | 10ebd1a4f6e9e57ad6bee84d1494762ed78c472b | [
"ISC"
] | null | null | null | let VinylStream /*circular see bottom*/;
const ChokidarStream = require("../provider/chokidar.js");
const Irrigable = require("./irrigable.js");
const Invocable = require("@aboutweb/irrigable-invoc");
const objectToString = Object.prototype.toString;
const path = require("path");
const crypto = require("crypto");
const... | 20.330986 | 83 | 0.53585 |
1945a72f062d9dae79607925242a88dcf8d2bb8b | 14,926 | js | JavaScript | public/js/chat.js | JasonJiang335/ifurtheone | 0fdd1eabcc5d13fc2b23bc36d2a4869a7ab03af7 | [
"MIT"
] | null | null | null | public/js/chat.js | JasonJiang335/ifurtheone | 0fdd1eabcc5d13fc2b23bc36d2a4869a7ab03af7 | [
"MIT"
] | null | null | null | public/js/chat.js | JasonJiang335/ifurtheone | 0fdd1eabcc5d13fc2b23bc36d2a4869a7ab03af7 | [
"MIT"
] | null | null | null | window.onload = function() {
$('#selectRole').modal('show');
var messages = [];
//var socket = io.connect('http://192.168.0.11:3700/');
var socket = io.connect(window.location.hostname);
/*var field = document.getElementById("field");
var sendButton = document.getElementById("send");
var co... | 27.692022 | 70 | 0.429251 |
1945bfbef17b9c512b3df71479e93f78cffb67b0 | 2,428 | js | JavaScript | src/components/OneEmotionChart.js | v1ctoriale1gh/emotion-tracker-front-end | 9e5b480da502c58ad373a42a727fb1bc025b550f | [
"MIT"
] | 1 | 2020-09-24T18:50:36.000Z | 2020-09-24T18:50:36.000Z | src/components/OneEmotionChart.js | v1ctoriale1gh/emotion-tracker-front-end | 9e5b480da502c58ad373a42a727fb1bc025b550f | [
"MIT"
] | null | null | null | src/components/OneEmotionChart.js | v1ctoriale1gh/emotion-tracker-front-end | 9e5b480da502c58ad373a42a727fb1bc025b550f | [
"MIT"
] | null | null | null | import React, { Component } from "react";
import { Chart } from "react-google-charts";
import Container from 'react-bootstrap/Container';
import { connect } from 'react-redux';
import { getOneEmotionChartData } from '../actions';
import UserLogin from './UserLogin.js';
class OneEmotionChart extends Component {
... | 27.590909 | 102 | 0.580725 |
1945d969d9d10d5a3f4fe33eb359c80f5697fd08 | 1,841 | js | JavaScript | frontend/app/experiment-import/experiment-import.controller.js | human-nature-lab/breadboard | 93507b4072c3e896336855df536eb43e6378c664 | [
"MIT"
] | 46 | 2016-05-03T09:23:10.000Z | 2022-02-16T01:41:49.000Z | frontend/app/experiment-import/experiment-import.controller.js | human-nature-lab/breadboard | 93507b4072c3e896336855df536eb43e6378c664 | [
"MIT"
] | 99 | 2016-06-28T21:45:52.000Z | 2022-02-26T11:30:48.000Z | frontend/app/experiment-import/experiment-import.controller.js | human-nature-lab/breadboard | 93507b4072c3e896336855df536eb43e6378c664 | [
"MIT"
] | 11 | 2016-05-18T19:11:16.000Z | 2020-02-28T20:25:06.000Z | ExperimentImportCtrl.$inject = ['$scope', 'Upload', '$timeout'];
export default function ExperimentImportCtrl($scope, Upload, $timeout){
$scope.import = {
path: '/experiment/import',
file: null,
name: '',
importedName: '',
error: '',
success: false,
selectExperiment: true
};
$scope.... | 28.765625 | 88 | 0.577947 |
1946569ba037fdc2e59b0589720e89987561ed68 | 137,163 | js | JavaScript | docs/notes/css-podcast-020-functions/f034c4b2.js | ianwith/tanhauhau.github.io | 4c6e4abea7e63b328e2e6d6b174dc7bd75c247de | [
"MIT"
] | 19 | 2019-09-30T14:45:22.000Z | 2022-03-27T14:32:02.000Z | docs/notes/css-podcast-020-functions/f034c4b2.js | ianwith/tanhauhau.github.io | 4c6e4abea7e63b328e2e6d6b174dc7bd75c247de | [
"MIT"
] | 26 | 2019-11-08T14:10:09.000Z | 2022-03-23T15:15:30.000Z | docs/notes/css-podcast-020-functions/f034c4b2.js | ianwith/tanhauhau.github.io | 4c6e4abea7e63b328e2e6d6b174dc7bd75c247de | [
"MIT"
] | 10 | 2019-11-01T14:42:45.000Z | 2021-08-19T12:50:28.000Z | function noop() { }
function assign(tar, src) {
// @ts-ignore
for (const k in src)
tar[k] = src[k];
return tar;
}
function run(fn) {
return fn();
}
function blank_object() {
return Object.create(null);
}
function run_all(fns) {
fns.forEach(run);
}
function is_function(thing) {
return... | 36.5768 | 1,363 | 0.645094 |
19477667e0dce9968502826dd7020fce562eed85 | 488 | js | JavaScript | frontend/src/router/index.js | vodanh1369/spring-vue-rest-oauth2 | 63f2d1ddb19950d83bbc869ae8aedb42e01ac7c8 | [
"MIT"
] | 36 | 2019-02-06T09:05:25.000Z | 2022-03-18T14:09:35.000Z | frontend/src/router/index.js | bmstefanski/spring-web-oauth-example | de67c2dd8f85baed2698e40a0d537dccdba5b84e | [
"MIT"
] | null | null | null | frontend/src/router/index.js | bmstefanski/spring-web-oauth-example | de67c2dd8f85baed2698e40a0d537dccdba5b84e | [
"MIT"
] | 20 | 2019-06-11T04:02:43.000Z | 2021-12-07T02:55:19.000Z | import Vue from "vue";
import VueRouter from "vue-router";
import {routes} from "./routes";
Vue.use(VueRouter);
const router = new VueRouter({
routes: routes
});
router.beforeEach((to, from, next) => {
let requiresAuth = to.matched.some(value => value.meta.requiresAuth);
let currentUser = localStorage.getItem(... | 21.217391 | 75 | 0.663934 |
19477e48d39ba28b3a5e2a028e16818f84ab230e | 1,140 | js | JavaScript | generate.js | emoji-king/areacode-king | 7251f177476aeb53dc636fe53842870227271702 | [
"MIT"
] | null | null | null | generate.js | emoji-king/areacode-king | 7251f177476aeb53dc636fe53842870227271702 | [
"MIT"
] | null | null | null | generate.js | emoji-king/areacode-king | 7251f177476aeb53dc636fe53842870227271702 | [
"MIT"
] | null | null | null | import Promise from 'bluebird'
import fs from 'mz/fs'
import agent from 'superagent'
import geocode from './geocode'
// Install unhandled rejection handler.
process.on('unhandledRejection', (reason, p) => {
console.log('Unhandled Rejection at: Promise ', p, ' reason: ', reason)
})
async function generate(url) {
i... | 24.255319 | 115 | 0.621053 |
194788b71735cf92d627a83961df31fa6bd18d56 | 34 | js | JavaScript | data/2381.js | stas-vilchik/bdd-ml | 2a254419a7c40c2e9b48625be8ca78721f786d2b | [
"MIT"
] | null | null | null | data/2381.js | stas-vilchik/bdd-ml | 2a254419a7c40c2e9b48625be8ca78721f786d2b | [
"MIT"
] | null | null | null | data/2381.js | stas-vilchik/bdd-ml | 2a254419a7c40c2e9b48625be8ca78721f786d2b | [
"MIT"
] | null | null | null | {
assert.equal(this, global);
}
| 8.5 | 29 | 0.617647 |
19478f5c85259f72982cd5a188ac1324ee30ab55 | 146 | js | JavaScript | src/components/Dashboard/Rates/Rates.js | mtahon/rooms | b1ea15a7018b091027533db55c4697958fc016bc | [
"MIT"
] | null | null | null | src/components/Dashboard/Rates/Rates.js | mtahon/rooms | b1ea15a7018b091027533db55c4697958fc016bc | [
"MIT"
] | 2 | 2022-02-14T20:58:44.000Z | 2022-02-27T21:10:02.000Z | src/components/Dashboard/Rates/Rates.js | tomashq/rooms | 29839a796c54df4fd7603c413c5008854941c281 | [
"MIT"
] | null | null | null | import React from 'react'
class Rates extends React.Component {
render() {
return (
<h1>Rates</h1>
)
}
}
export default Rates
| 12.166667 | 37 | 0.616438 |
19489f0798907c1d3e5c07caea553f41d04a3215 | 2,652 | js | JavaScript | vuepress-test/node_modules/shopee-ui/packages/steps/test/steps.spec.js | Luoyangs/mavonEditor | 1d57d0575ca8381143d2f8dafbe3c625588d3758 | [
"MIT"
] | null | null | null | vuepress-test/node_modules/shopee-ui/packages/steps/test/steps.spec.js | Luoyangs/mavonEditor | 1d57d0575ca8381143d2f8dafbe3c625588d3758 | [
"MIT"
] | null | null | null | vuepress-test/node_modules/shopee-ui/packages/steps/test/steps.spec.js | Luoyangs/mavonEditor | 1d57d0575ca8381143d2f8dafbe3c625588d3758 | [
"MIT"
] | null | null | null | import Vue from 'vue';
import ShopeeSteps from '../index';
import { createElement, destroyInstance } from '@/test/utils';
import shopIcon from '@shopee-ui/icon/svg/shop.svg';
import walletIcon from '@shopee-ui/icon/svg/wallet.svg';
import shippingIcon from '@shopee-ui/icon/svg/shipping.svg';
import approvedIcon from '@... | 36.833333 | 80 | 0.631599 |
1948e76a54fbf3a318d3eaee553f6067023fdc44 | 2,558 | js | JavaScript | src/extend-nodes.js | tuespetre/html-mvc | 9c93c976208e16e23a7ebec4c72e8454d7739b6e | [
"MIT"
] | null | null | null | src/extend-nodes.js | tuespetre/html-mvc | 9c93c976208e16e23a7ebec4c72e8454d7739b6e | [
"MIT"
] | 15 | 2015-08-12T08:35:51.000Z | 2017-09-23T16:35:54.000Z | src/extend-nodes.js | tuespetre/html-mvc | 9c93c976208e16e23a7ebec4c72e8454d7739b6e | [
"MIT"
] | null | null | null | function booleanAttributeDescriptor (name) {
return {
get: function () {
return this.hasAttribute(name);
},
set: function (value) {
if (value === true) {
this.setAttribute(name, '');
}
else if (value === false || typeof value === 'undefined') {
this.removeAttribute(... | 21.316667 | 83 | 0.564894 |
19491a1915236f3ed1a61604d754d2ebdead0736 | 1,007 | js | JavaScript | routes/web/settings.js | openiod/fiware-idm | 65473f68a023336094af71df3467ebb15f74df7a | [
"MIT"
] | null | null | null | routes/web/settings.js | openiod/fiware-idm | 65473f68a023336094af71df3467ebb15f74df7a | [
"MIT"
] | null | null | null | routes/web/settings.js | openiod/fiware-idm | 65473f68a023336094af71df3467ebb15f74df7a | [
"MIT"
] | 1 | 2018-12-04T11:09:35.000Z | 2018-12-04T11:09:35.000Z | var express = require('express');
var router = express.Router();
var csrf = require('csurf')
var bodyParser = require('body-parser');
var csrfProtection = csrf({ cookie: true })
// Home web Controller
var web_setting_controller = require('../../controllers/web/index').settings;
var web_session_controller = require('..... | 55.944444 | 132 | 0.762661 |
194a4df34d03982fc864a1c8077f278e53fcd97a | 42 | js | JavaScript | webapp/src/components/StringProc/index.js | ProtoTechnical/web-homework | 6af78e283cd91a9fa3ecd0ac82494a12bd28a57e | [
"MIT"
] | null | null | null | webapp/src/components/StringProc/index.js | ProtoTechnical/web-homework | 6af78e283cd91a9fa3ecd0ac82494a12bd28a57e | [
"MIT"
] | null | null | null | webapp/src/components/StringProc/index.js | ProtoTechnical/web-homework | 6af78e283cd91a9fa3ecd0ac82494a12bd28a57e | [
"MIT"
] | null | null | null | export { StringProc } from './StringProc'
| 21 | 41 | 0.714286 |
194b38bf0a97dda5af4318e1c21767005c68eb28 | 670 | js | JavaScript | src/controllers/auth.controller.js | infamous55/school-api | 1ecd2144523dd06797a69bf29b4cef31757c3c33 | [
"MIT"
] | null | null | null | src/controllers/auth.controller.js | infamous55/school-api | 1ecd2144523dd06797a69bf29b4cef31757c3c33 | [
"MIT"
] | null | null | null | src/controllers/auth.controller.js | infamous55/school-api | 1ecd2144523dd06797a69bf29b4cef31757c3c33 | [
"MIT"
] | null | null | null | const auth = require('../services/auth.service');
const createError = require('http-errors');
class authController {
static async login(req, res, next) {
try {
const { accessToken, refreshToken } = await auth.login(req.body);
res.status(200).json({
accessToken,
refreshToken,
});... | 23.928571 | 71 | 0.608955 |
194bf22cdf7e6a28e21d2e07f98b332d6c6d1635 | 1,196 | js | JavaScript | test/update_test.js | devamaz/mongodb | 70d69300146c579dc6769970196521f99ead23fa | [
"MIT"
] | null | null | null | test/update_test.js | devamaz/mongodb | 70d69300146c579dc6769970196521f99ead23fa | [
"MIT"
] | null | null | null | test/update_test.js | devamaz/mongodb | 70d69300146c579dc6769970196521f99ead23fa | [
"MIT"
] | null | null | null | const assert = require('assert');
const User = require('../src/user');
describe('Updating User for database', () => {
let joe;
beforeEach((done) => {
joe = new User({
name: 'joe'
})
joe.save()
.then(() => done())
})
function assertName(operation, done) ... | 26 | 77 | 0.494983 |
194c27b3ebad9f5b999a3a81ef46e1b7c6746e5e | 1,957 | js | JavaScript | src/common/form/fields/SelectField.js | zilahir/varaamo | eb11ac43145f294a2d795f84415b5977e25547ba | [
"MIT"
] | 15 | 2017-05-29T17:46:21.000Z | 2022-01-14T09:37:41.000Z | src/common/form/fields/SelectField.js | zilahir/varaamo | eb11ac43145f294a2d795f84415b5977e25547ba | [
"MIT"
] | 554 | 2016-12-27T09:47:03.000Z | 2021-05-08T06:39:30.000Z | src/common/form/fields/SelectField.js | zilahir/varaamo | eb11ac43145f294a2d795f84415b5977e25547ba | [
"MIT"
] | 24 | 2017-02-20T07:28:34.000Z | 2020-11-12T06:58:22.000Z | import * as React from 'react';
import PropTypes from 'prop-types';
import ControlLabel from 'react-bootstrap/lib/ControlLabel';
import FormGroup from 'react-bootstrap/lib/FormGroup';
import Select from 'react-select';
import injectT from '../../../../app/i18n/injectT';
export const getOption = (value, options) => {
... | 24.4625 | 76 | 0.616249 |
194d045bb47f3aef15dfca09755c94e0be3e3308 | 1,371 | js | JavaScript | browserstack/browserstack_local.conf.js | ThomasHandwerker/angular2-image-gallery | 419e90f270c7095dc035f80234812da4a6b97fd8 | [
"MIT"
] | 1 | 2020-09-12T09:55:09.000Z | 2020-09-12T09:55:09.000Z | browserstack/browserstack_local.conf.js | ThomasHandwerker/angular2-image-gallery | 419e90f270c7095dc035f80234812da4a6b97fd8 | [
"MIT"
] | null | null | null | browserstack/browserstack_local.conf.js | ThomasHandwerker/angular2-image-gallery | 419e90f270c7095dc035f80234812da4a6b97fd8 | [
"MIT"
] | null | null | null | var browserstack = require('browserstack-local');
exports.config = {
'seleniumAddress': 'https://' + process.env.BROWSERSTACK_USERNAME + ':' + process.env.BROWSERSTACK_KEY + '@hub-cloud.browserstack.com/wd/hub',
allScriptsTimeout: 11000,
specs: [
'../e2e/**/*.e2e-spec.ts'
],
'capabilities': {
'browse... | 31.159091 | 144 | 0.643326 |
194d3469b4ae8b20518ee4076429dc4e612da31c | 18,375 | js | JavaScript | html/visualizer/src/lib/biojs-1.0/src/main/javascript/Biojs.Tooltip.js | cheminfo/nucleotide-website | 87d48fca686650d48292a5972253b06551dfd0d0 | [
"MIT"
] | 31 | 2015-02-19T12:00:40.000Z | 2022-03-13T18:36:11.000Z | html/visualizer/src/lib/biojs-1.0/src/main/javascript/Biojs.Tooltip.js | cheminfo/nucleotide-website | 87d48fca686650d48292a5972253b06551dfd0d0 | [
"MIT"
] | 870 | 2015-01-05T07:34:10.000Z | 2021-11-27T12:17:51.000Z | html/visualizer/src/lib/biojs-1.0/src/main/javascript/Biojs.Tooltip.js | cheminfo/nucleotide-website | 87d48fca686650d48292a5972253b06551dfd0d0 | [
"MIT"
] | 23 | 2015-05-19T10:57:37.000Z | 2021-12-29T09:09:32.000Z | /**
* Tooltip for general purpose.
*
* @class
* @extends Biojs
*
* @author <a href="mailto:johncar@gmail.com">John Gomez</a>
* @version 1.0.0
* @category 1
*
* @requires <a href="../biojs/css/biojs.Tooltip.css">Tooltip CSS</a>
* @dependency <link href="../biojs/css/biojs.Tooltip.css" rel="stylesheet" type... | 34.345794 | 167 | 0.597224 |
194d67c842a2e6e0667686ca918d52e6e3e049c0 | 506 | js | JavaScript | client/src/App.js | RichDobrz/wowclassicbis | 058a75fa67d203b77e5de546257be84cc3faee95 | [
"MIT"
] | null | null | null | client/src/App.js | RichDobrz/wowclassicbis | 058a75fa67d203b77e5de546257be84cc3faee95 | [
"MIT"
] | null | null | null | client/src/App.js | RichDobrz/wowclassicbis | 058a75fa67d203b77e5de546257be84cc3faee95 | [
"MIT"
] | null | null | null | import React, { useState, useEffect } from 'react';
import './App.css';
import Header from "./components/Header/Header"
import Selection from "./components/Selection/Selection"
import GearDisplay from "./components/GearDisplay/GearDisplay"
import { BrowserRouter, Route, Link } from "react-router-dom";
import MainSelect... | 26.631579 | 65 | 0.701581 |
194dab2c4ff62d20f1494aaa3052179849c36623 | 717 | js | JavaScript | app/src/Modules/Notify.js | ciao-chung/cron-service | 96685265bc6e45e6e60b678d279f35b2e5595b39 | [
"MIT"
] | 1 | 2018-11-26T14:16:38.000Z | 2018-11-26T14:16:38.000Z | app/src/Modules/Notify.js | ciao-chung/cron-service | 96685265bc6e45e6e60b678d279f35b2e5595b39 | [
"MIT"
] | null | null | null | app/src/Modules/Notify.js | ciao-chung/cron-service | 96685265bc6e45e6e60b678d279f35b2e5595b39 | [
"MIT"
] | null | null | null | import LineNotify from 'Modules/NotifyDrivers/LineNotify.js'
import EmailNotify from 'Modules/NotifyDrivers/EmailNotify.js'
class Notify {
constructor(config) {
this.config = config
this.init()
}
async init() {
this.drivers = {
line: LineNotify(this.config.notifyDrivers.line),
email: Emai... | 23.9 | 66 | 0.666667 |
194dbb39242ba4cfc9b8682aa1439abbfcbbbe85 | 8,942 | js | JavaScript | scripts/28-hanziyuan.js | srghma/anki-cards-from-pdf | 381c68500bfb8f57194d1d4b8f784b5a96789200 | [
"MIT"
] | 1 | 2021-05-05T06:54:55.000Z | 2021-05-05T06:54:55.000Z | scripts/28-hanziyuan.js | srghma/anki-cards-from-pdf | 381c68500bfb8f57194d1d4b8f784b5a96789200 | [
"MIT"
] | 4 | 2020-12-27T18:54:29.000Z | 2021-11-08T18:01:24.000Z | scripts/28-hanziyuan.js | srghma/anki-cards-from-pdf | 381c68500bfb8f57194d1d4b8f784b5a96789200 | [
"MIT"
] | null | null | null | const readStreamArray = require('./scripts/lib/readStreamArray').readStreamArray
const checkDuplicateKeys = require('./scripts/lib/checkDuplicateKeys').checkDuplicateKeys
const isHanzi = require('./scripts/lib/isHanzi').isHanzi
const mkQueue = require('./scripts/lib/mkQueue').mkQueue
const mapWithForEachToArray = requi... | 33.490637 | 167 | 0.60926 |
194e8bf7ce0aff4548f5a5148264125ae698a79c | 2,072 | js | JavaScript | backend/api/workers/worker-abstract.js | arpad1337/zendeck | fdef6337ac93d9f1bd21b45bb97a0096bd7c7106 | [
"PostgreSQL"
] | null | null | null | backend/api/workers/worker-abstract.js | arpad1337/zendeck | fdef6337ac93d9f1bd21b45bb97a0096bd7c7106 | [
"PostgreSQL"
] | null | null | null | backend/api/workers/worker-abstract.js | arpad1337/zendeck | fdef6337ac93d9f1bd21b45bb97a0096bd7c7106 | [
"PostgreSQL"
] | null | null | null | /*
* @rpi1337
*/
const WORKER_COMMANDS = require('../config/worker-commands');
class WorkerAbstract {
static get WORKER_COMMANDS() {
return WORKER_COMMANDS;
}
constructor( workerId, queueProvider, params ) {
this.workerId;
this.queueProvider = queueProvider;
this.requestQueue = this.queueProvider.creat... | 21.583333 | 98 | 0.667954 |
194eed18d9453b1d461d127bc6fb753e82b44eaf | 1,761 | js | JavaScript | test1.js | Paragibibo/puppetRecordNew | 24772e516695301e0ff665db63bdd4b5fabb0296 | [
"Apache-2.0"
] | null | null | null | test1.js | Paragibibo/puppetRecordNew | 24772e516695301e0ff665db63bdd4b5fabb0296 | [
"Apache-2.0"
] | 5 | 2020-09-05T02:05:26.000Z | 2021-05-09T08:23:33.000Z | test1.js | Paragibibo/puppetRecordNew | 24772e516695301e0ff665db63bdd4b5fabb0296 | [
"Apache-2.0"
] | null | null | null |
const puppeteer = require('puppeteer');
const sleep = require('sleep');
(async () => {
const browser = await puppeteer.launch()
const page = await browser.newPage()
await page.goto('https://www.goibibo.com/hotels/')
await sleep.sleep(5);
await page.setViewport({ width: 1301, height: 623 })
await p... | 51.794118 | 140 | 0.691085 |
194f509f29b5d5091a63ae344b36d01d685c89ef | 3,476 | js | JavaScript | public/external/pydio/plugins/gui.ajax/res/js/lib/prototype/cssfx.js | WooDzu/PhalconEye | 71294f6a8400ce128cd1507027818db675efc326 | [
"BSD-3-Clause"
] | 119 | 2015-01-04T00:02:21.000Z | 2016-10-14T11:15:26.000Z | public/external/pydio/plugins/gui.ajax/res/js/lib/prototype/cssfx.js | WooDzu/PhalconEye | 71294f6a8400ce128cd1507027818db675efc326 | [
"BSD-3-Clause"
] | 38 | 2016-10-24T13:09:28.000Z | 2019-09-03T13:45:10.000Z | public/external/pydio/plugins/gui.ajax/res/js/lib/prototype/cssfx.js | WooDzu/PhalconEye | 71294f6a8400ce128cd1507027818db675efc326 | [
"BSD-3-Clause"
] | 64 | 2015-01-06T11:22:51.000Z | 2016-10-21T10:22:51.000Z | /*
* Copyright 2007-2013 Charles du Jeu - Abstrium SAS <team (at) pyd.io>
* This file is part of Pydio.
*
* Pydio is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, o... | 34.76 | 156 | 0.613924 |
1950cd36e711cf6dd6d5fd8abc023999df98fa71 | 693 | js | JavaScript | examples/properties_json_schema_validation.js | FernandoKGA/JAJV-E | 50891dfb37b64c0b3f5b0093c32bac6d58e244f7 | [
"MIT"
] | null | null | null | examples/properties_json_schema_validation.js | FernandoKGA/JAJV-E | 50891dfb37b64c0b3f5b0093c32bac6d58e244f7 | [
"MIT"
] | null | null | null | examples/properties_json_schema_validation.js | FernandoKGA/JAJV-E | 50891dfb37b64c0b3f5b0093c32bac6d58e244f7 | [
"MIT"
] | null | null | null | const Ajv = require('ajv');
const properties_json_schema = require('../schemas/properties_json_schema.json');
//Create ajv validator
var ajv = new Ajv({allErrors: true, jsonPointers: true});
//Add your desired meta schema
ajv.addMetaSchema(require('ajv/lib/refs/json-schema-draft-06.json'));
//Add ajv errors ... | 27.72 | 81 | 0.712843 |
195320e4a2ebedb044f2cf5aa8c067f9f4abfc8e | 2,999 | js | JavaScript | wordpress/wp-content/plugins/maxbuttons/js/min/maxtabs.js | AdelineDumont/vccw | 9d90f75d9d70f4450f97c3285e89696c858af6e0 | [
"MIT"
] | 6 | 2018-07-28T23:39:02.000Z | 2022-03-05T14:12:08.000Z | wordpress/wp-content/plugins/maxbuttons/js/min/maxtabs.js | AdelineDumont/vccw | 9d90f75d9d70f4450f97c3285e89696c858af6e0 | [
"MIT"
] | null | null | null | wordpress/wp-content/plugins/maxbuttons/js/min/maxtabs.js | AdelineDumont/vccw | 9d90f75d9d70f4450f97c3285e89696c858af6e0 | [
"MIT"
] | 3 | 2018-07-28T11:49:46.000Z | 2021-02-15T01:35:15.000Z | function maxTabs(){}maxTabs.prototype.init=function(){this.tabs(),this.previewTab()},maxTabs.prototype.tabs=function(){var a=".mb_tab";if(0!==$(a).length){var t=$("#maxbuttons").data("view");if(void 0===t&&(t="list"),"list"!=t){$("#maxbuttons").addClass("mb_tabs_active"),0===$(".sub-tabs").length?($tabslocation=$('<h2 ... | 2,999 | 2,999 | 0.668223 |
1954f0435a57cedc34e88768bccd30650df09e05 | 799,857 | js | JavaScript | lib/gibber.lib.min.js | automata/workshop-encun | 23a576d92afa2b0bfb185602809565afff9d1b7f | [
"MIT"
] | 1 | 2015-10-14T22:59:14.000Z | 2015-10-14T22:59:14.000Z | lib/gibber.lib.min.js | automata/workshop-encun | 23a576d92afa2b0bfb185602809565afff9d1b7f | [
"MIT"
] | null | null | null | lib/gibber.lib.min.js | automata/workshop-encun | 23a576d92afa2b0bfb185602809565afff9d1b7f | [
"MIT"
] | null | null | null | !function(e){if("object"==typeof exports)module.exports=e();else if("function"==typeof define&&define.amd)define(e);else{var t;"undefined"!=typeof window?t=window:"undefined"!=typeof global?t=global:"undefined"!=typeof self&&(t=self),t.Gibber=e()}}(function(){var define,module,exports;return function e(t,i,n){function ... | 31,994.28 | 50,510 | 0.714864 |
1954ffa430f28f831fccead8b53e5a288fe0dc6c | 338 | js | JavaScript | site/src/business/business.js | chrisandrewca/Food-Tron-9000 | 04310377438ee4d088820ff5f063c496b3fa08f1 | [
"BSD-3-Clause"
] | 1 | 2021-04-30T21:53:42.000Z | 2021-04-30T21:53:42.000Z | site/src/business/business.js | chrisandrewca/Food-Tron-9000 | 04310377438ee4d088820ff5f063c496b3fa08f1 | [
"BSD-3-Clause"
] | 1 | 2021-08-31T20:22:01.000Z | 2021-08-31T20:22:01.000Z | site/src/business/business.js | chrisandrewca/Food-Tron-9000 | 04310377438ee4d088820ff5f063c496b3fa08f1 | [
"BSD-3-Clause"
] | null | null | null | export const makeAction = (func) => (action, ...args) => {
let pre = {
result: {}
};
const result = func.apply(null, [action, ...args]);
if (result.then) {
return result.then(state => {
return {
...pre,
...state,
};
});
} else {
return {
...pre,
...re... | 15.363636 | 58 | 0.434911 |
1956a6525c24fa72e1f859a87dbf4feb1ccf9c79 | 1,336 | js | JavaScript | web/src/settings/schema/hardware.js | markbirss/epaper_templates | 9a1277c1e3a60e2c556e6472a59d95e95f9ab4d0 | [
"MIT"
] | 209 | 2018-02-17T21:37:25.000Z | 2022-03-31T05:46:30.000Z | web/src/settings/schema/hardware.js | markbirss/epaper_templates | 9a1277c1e3a60e2c556e6472a59d95e95f9ab4d0 | [
"MIT"
] | 52 | 2018-09-07T12:29:36.000Z | 2022-02-18T03:27:48.000Z | web/src/settings/schema/hardware.js | markbirss/epaper_templates | 9a1277c1e3a60e2c556e6472a59d95e95f9ab4d0 | [
"MIT"
] | 32 | 2018-02-13T13:38:31.000Z | 2022-01-29T22:58:42.000Z | const VALID_PINS = [
0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39
];
export default {
key: "hardware",
title: "Hardware",
definitions: {
pin: {
type: "integer",
enum: VALID_PINS
}
},
properties: {
"hardware.busy_pin": ... | 25.207547 | 111 | 0.524701 |
1957a3c6452190da28974e9b36247354b8249157 | 1,244 | js | JavaScript | src/i18n/langs/cn.js | littlecodebrid/KJ135_element | 2c9da25345df2a61155557dffbd4fbf2ff925605 | [
"MIT"
] | 1 | 2020-12-14T02:42:18.000Z | 2020-12-14T02:42:18.000Z | src/i18n/langs/cn.js | littlecodebrid/KJ135_element | 2c9da25345df2a61155557dffbd4fbf2ff925605 | [
"MIT"
] | null | null | null | src/i18n/langs/cn.js | littlecodebrid/KJ135_element | 2c9da25345df2a61155557dffbd4fbf2ff925605 | [
"MIT"
] | 2 | 2020-12-11T08:28:40.000Z | 2020-12-23T02:07:18.000Z | import zhLocale from 'element-ui/lib/locale/lang/zh-CN' //引入element语言包
const cn = {
login: {
'title':'数据存储与管理分系统',
'about':'用户登录界面',
'username':'用户名',
'password':'密码',
'code':'验证码',
'register':'还没有账号?去注册',
'forget':'忘记密码?',
'verifyCode':'短信验证',
'login':'登录',
'sendCode':'发送验证码',
... | 21.084746 | 70 | 0.540997 |
1957ec9b61b145f769c0cac46f110e5d77fce5d0 | 13,282 | js | JavaScript | app/scripts/controllers/users.js | ChrisHuston/Announcement-Master | d17c6e2f74b96e58c191421d8e39c9fe88718ada | [
"MIT"
] | 1 | 2015-10-13T23:18:47.000Z | 2015-10-13T23:18:47.000Z | app/scripts/controllers/users.js | ChrisHuston/Announcement-Master | d17c6e2f74b96e58c191421d8e39c9fe88718ada | [
"MIT"
] | null | null | null | app/scripts/controllers/users.js | ChrisHuston/Announcement-Master | d17c6e2f74b96e58c191421d8e39c9fe88718ada | [
"MIT"
] | null | null | null | 'use strict';
/**
* @ngdoc function
* @name announcementMasterApp.controller:AboutCtrl
* @description
* # AboutCtrl
* Controller of the announcementMasterApp
*/
angular.module('announcementMasterApp')
.controller('UsersCtrl', function ($scope, UserService, $http, uiGridConstants) {
$scope.admin = UserS... | 45.023729 | 349 | 0.450083 |
1957f1c93e30b996eaacb681b754909e4741f406 | 1,441 | js | JavaScript | lib/__tests__/TokenAnnotator.test.js | careless10/react-text-annotate | e5415ca67b96d7a42043d569510c55171ae4fa6d | [
"MIT"
] | null | null | null | lib/__tests__/TokenAnnotator.test.js | careless10/react-text-annotate | e5415ca67b96d7a42043d569510c55171ae4fa6d | [
"MIT"
] | null | null | null | lib/__tests__/TokenAnnotator.test.js | careless10/react-text-annotate | e5415ca67b96d7a42043d569510c55171ae4fa6d | [
"MIT"
] | 1 | 2021-06-20T07:18:39.000Z | 2021-06-20T07:18:39.000Z | "use strict";
var __assign = (this && this.__assign) || function () {
__assign = Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p];
... | 55.423077 | 329 | 0.616239 |
19580c05506f093181badc5cdd7b228037266f10 | 3,531 | js | JavaScript | src/pages/company/driver/AddDriver/index.js | manishimweemmanuel8/simple_bank_frontend | c6a028843a96a661068768165fad9a026e603979 | [
"MIT"
] | null | null | null | src/pages/company/driver/AddDriver/index.js | manishimweemmanuel8/simple_bank_frontend | c6a028843a96a661068768165fad9a026e603979 | [
"MIT"
] | null | null | null | src/pages/company/driver/AddDriver/index.js | manishimweemmanuel8/simple_bank_frontend | c6a028843a96a661068768165fad9a026e603979 | [
"MIT"
] | null | null | null | /* eslint-disable no-useless-escape */
import React, { Component } from 'react';
import {Helmet} from 'react-helmet';
import { connect } from 'react-redux';
import Navbar from '../../../../components/Navbar';
import Header from '../../../../components/Header';
import Sidebar from '../../../../components/Sidebar';
impor... | 31.526786 | 118 | 0.448598 |
195877f68fddcb8289a55e5798f200ce99f0b19f | 574 | js | JavaScript | includes/z_notes.js | tada-science/dataform_demo_project | 51ed011e2284553f82935712efe727273cfb0026 | [
"MIT"
] | null | null | null | includes/z_notes.js | tada-science/dataform_demo_project | 51ed011e2284553f82935712efe727273cfb0026 | [
"MIT"
] | null | null | null | includes/z_notes.js | tada-science/dataform_demo_project | 51ed011e2284553f82935712efe727273cfb0026 | [
"MIT"
] | 2 | 2019-07-30T09:19:25.000Z | 2022-02-24T23:26:54.000Z | /* files list
definitions/1_simple_examples/dataset_2_with_ref
definitions/1_simple_examples/dataset_1
definitions/2_advanced_examples/dataset_5_from_script_builder
definitions/2_advanced_examples/dataset_4_incremental_snapshot
definitions/2_advanced_examples/dataset_3_incremental_date
definitions/2_advanced_examples... | 28.7 | 66 | 0.916376 |
1958b6822dd910adab1d558cc4e989076f4d7792 | 4,987 | js | JavaScript | packages/xc-migrator/lib/SqlClient/lib/data.helper.js | jrevault/xgenecloud | b8e6152a9df187aa4c473afd436fd365b5671ee4 | [
"Apache-2.0"
] | 1,674 | 2020-06-09T14:10:30.000Z | 2021-12-23T09:32:06.000Z | packages/xc-migrator/lib/SqlClient/lib/data.helper.js | jrevault/xgenecloud | b8e6152a9df187aa4c473afd436fd365b5671ee4 | [
"Apache-2.0"
] | 56 | 2020-06-09T19:22:46.000Z | 2021-09-02T20:49:08.000Z | packages/xc-migrator/lib/SqlClient/lib/data.helper.js | jrevault/xgenecloud | b8e6152a9df187aa4c473afd436fd365b5671ee4 | [
"Apache-2.0"
] | 92 | 2020-06-09T16:03:28.000Z | 2021-12-02T04:10:48.000Z | 'use strict';
exports.findOrInsertObjectArrayByKey = (obj, key, array) => {
let found = 0;
let i = 0;
for (i = 0; i < array.length; ++i) {
if (key in array[i]) {
if (obj[key] === array[i][key]) {
found = 1;
break;
}
}
}
if (!found) {
array.push(obj)
}
return arr... | 25.186869 | 128 | 0.614999 |
1958ea96d7836df0835914238d2ee6d43fd3f9eb | 1,663 | js | JavaScript | app/view/cards.js | fabioelle/list-cards | eeff9252642acfbba6d8baecdc2f696f5f0ec40f | [
"MIT"
] | null | null | null | app/view/cards.js | fabioelle/list-cards | eeff9252642acfbba6d8baecdc2f696f5f0ec40f | [
"MIT"
] | null | null | null | app/view/cards.js | fabioelle/list-cards | eeff9252642acfbba6d8baecdc2f696f5f0ec40f | [
"MIT"
] | null | null | null | 'use strict';
angular
.module('myApp.cards', [
'ngRoute'
])
.config(['$routeProvider', '$httpProvider', function($routeProvider,$httpProvider) {
$routeProvider.when('/cards', {
templateUrl: 'view/cards.html',
controller: 'CardsCtrl'
});
}])
.controller('CardsCtrl', ['$scope','$http', 'listCardD... | 26.822581 | 142 | 0.603127 |
195933b3dd82b31501cf8cd6dfd2c3cbe1bfbee5 | 112 | js | JavaScript | dist/reverse.js | deMGoncalves/f | 977f33c42650585c3004550afc4aa074cca827ee | [
"MIT"
] | null | null | null | dist/reverse.js | deMGoncalves/f | 977f33c42650585c3004550afc4aa074cca827ee | [
"MIT"
] | null | null | null | dist/reverse.js | deMGoncalves/f | 977f33c42650585c3004550afc4aa074cca827ee | [
"MIT"
] | null | null | null | import curry from "./curry/index";
const reverse = (target) => target.reverse();
export default curry(reverse);
| 28 | 45 | 0.723214 |
195a93d50a20beba3f471b3fa3a43b3d4ee92b21 | 623 | js | JavaScript | 2-alpha/src/components/Loading.js | saturninoharris/primer-design | 180e02041f7f1612eaa6a3cf90b96edd88bcad36 | [
"MIT"
] | null | null | null | 2-alpha/src/components/Loading.js | saturninoharris/primer-design | 180e02041f7f1612eaa6a3cf90b96edd88bcad36 | [
"MIT"
] | null | null | null | 2-alpha/src/components/Loading.js | saturninoharris/primer-design | 180e02041f7f1612eaa6a3cf90b96edd88bcad36 | [
"MIT"
] | null | null | null | import _ from 'lodash'
import React, { Component } from 'react'
class Loading extends Component {
state = {
dotsCount: 0,
}
componentDidMount() {
this.timer = setInterval(() => {
this.setState(({dotsCount}) => ({
dotsCount: dotsCount <= 5 ? dotsCount += 1 : 0
}))
}, 200)
}
com... | 20.766667 | 65 | 0.558587 |
195c040aa5b0ef390996e3fa9a6247a214617744 | 4,961 | js | JavaScript | base-service/lib/fiatrateservice.js | owstack/wallet-service | f39d5a7fb1c33809c2ae66fa43f13500c98dc757 | [
"MIT"
] | null | null | null | base-service/lib/fiatrateservice.js | owstack/wallet-service | f39d5a7fb1c33809c2ae66fa43f13500c98dc757 | [
"MIT"
] | null | null | null | base-service/lib/fiatrateservice.js | owstack/wallet-service | f39d5a7fb1c33809c2ae66fa43f13500c98dc757 | [
"MIT"
] | 3 | 2019-03-30T20:35:37.000Z | 2020-08-04T07:41:41.000Z | const owsCommon = require('@owstack/ows-common');
const async = require('async');
const baseConfig = require('config');
const Context = owsCommon.util.Context;
const Defaults = require('./common/defaults');
const log = require('npmlog');
const request = require('request');
const Storage = require('./storage');
const lo... | 28.348571 | 110 | 0.536384 |
195c98fd72a52ced8176958cf0ebeba551f99247 | 7,798 | js | JavaScript | src/views/addjoblist/AddJobList.js | gorisab-au7/art-admin | e3e7c841b03df55c109bf7f29a11c3d862056846 | [
"MIT"
] | null | null | null | src/views/addjoblist/AddJobList.js | gorisab-au7/art-admin | e3e7c841b03df55c109bf7f29a11c3d862056846 | [
"MIT"
] | null | null | null | src/views/addjoblist/AddJobList.js | gorisab-au7/art-admin | e3e7c841b03df55c109bf7f29a11c3d862056846 | [
"MIT"
] | null | null | null | import React from 'react'
import {
CButton,
CCard,
CCardBody,
CCardFooter,
CCardHeader,
CCol,
CCollapse,
CDropdownItem,
CDropdownMenu,
CDropdownToggle,
CFade,
CForm,
CFormGroup,
CFormText,
CValidFeedback,
CInvalidFeedback,
CTextarea,
CInput,
CInputFile,
CInputCheckbox,
CInputRa... | 33.042373 | 130 | 0.418056 |
195d2c7bc68503921e915791aff38ebe414da2de | 148 | js | JavaScript | src/handlers/index.js | guillaumearm/redux-fun | 89947e83b71d2dd77aaf5bba05016d559dbf4a5f | [
"MIT"
] | 2 | 2018-08-27T08:09:16.000Z | 2018-12-25T12:12:07.000Z | src/handlers/index.js | guillaumearm/redux-fun | 89947e83b71d2dd77aaf5bba05016d559dbf4a5f | [
"MIT"
] | 72 | 2018-02-04T21:37:06.000Z | 2020-06-02T18:15:23.000Z | src/handlers/index.js | guillaumearm/redux-fun | 89947e83b71d2dd77aaf5bba05016d559dbf4a5f | [
"MIT"
] | null | null | null | export { default as createHandleIOMiddleware } from './createHandleIOMiddleware';
export { default as testReduxHandler } from './testReduxHandler';
| 49.333333 | 81 | 0.797297 |
195f91b5ad4c77333e3f33718c2e749203ff8e40 | 615 | js | JavaScript | __tests__/Manager.test.js | Mike2481/Epic-Team-Roster | 96b31b8e0607b0484333d8cb2bfd9723bc5d60fc | [
"MIT"
] | null | null | null | __tests__/Manager.test.js | Mike2481/Epic-Team-Roster | 96b31b8e0607b0484333d8cb2bfd9723bc5d60fc | [
"MIT"
] | null | null | null | __tests__/Manager.test.js | Mike2481/Epic-Team-Roster | 96b31b8e0607b0484333d8cb2bfd9723bc5d60fc | [
"MIT"
] | null | null | null | const Manager = require('../lib/Manager');
// Test for manager specific data - office number and Manager Role
test('creates manager object', () => {
const manager = new Manager('Mike', 55, 'myemail@gmail.com', 223);
expect(manager.officeNumber).toEqual(expect.any(Number));
});
test('gets office number', ()... | 29.285714 | 70 | 0.653659 |
195fd5dc0881d30daae280e0a0bfd83b1650b80b | 588,946 | js | JavaScript | pixelboard.js | Taeon7/pixboard | 276efcf0fab000fe3bf5c69485cf8ce47cf72f8a | [
"MIT"
] | null | null | null | pixelboard.js | Taeon7/pixboard | 276efcf0fab000fe3bf5c69485cf8ce47cf72f8a | [
"MIT"
] | null | null | null | pixelboard.js | Taeon7/pixboard | 276efcf0fab000fe3bf5c69485cf8ce47cf72f8a | [
"MIT"
] | null | null | null | // PixelBoard.js | JavaScript PixelBoard
// Copyright (c) 2020, David Bitencourt (https://github.com/dabit-7)
// Licensed under the MIT (http://www.opensource.org/licenses/mit-license.php)
// [vars]
var colors = [];
var themx = ['#FFFFFF','#FE0000','#434EA0','#FFFF01','#FF9000','#048C5A','#6E3794','#8BC800',... | 58.415592 | 20,000 | 0.692636 |
1961454747468f6e68fe2160556261a8e71403a9 | 1,929 | js | JavaScript | lib/utils.js | borracciaBlu/njk | d0533f66fc9cbb03a1913c0c494db3e0550b0199 | [
"MIT"
] | null | null | null | lib/utils.js | borracciaBlu/njk | d0533f66fc9cbb03a1913c0c494db3e0550b0199 | [
"MIT"
] | null | null | null | lib/utils.js | borracciaBlu/njk | d0533f66fc9cbb03a1913c0c494db3e0550b0199 | [
"MIT"
] | null | null | null | const path = require('path')
const fs = require('fs-extra')
const { gzipSync } = require('zlib')
const logger = require('./logger')
/**
* Type of paths passed as arguments
* @type {object}
*/
module.exports.pathtype = {
SOURCES: 'sources',
TEMPLATES: 'templates'
}
/**
* Filter all existing files
* @param {o... | 26.067568 | 70 | 0.634526 |
196226f1ce9254164737c26df37b02054cd01fc5 | 516 | js | JavaScript | spec/SpecHelper.js | hkp108/jsfizz | 343a99b1585018c3497fac14cab8bc1743934196 | [
"MIT"
] | null | null | null | spec/SpecHelper.js | hkp108/jsfizz | 343a99b1585018c3497fac14cab8bc1743934196 | [
"MIT"
] | null | null | null | spec/SpecHelper.js | hkp108/jsfizz | 343a99b1585018c3497fac14cab8bc1743934196 | [
"MIT"
] | null | null | null | // beforeEach(function () {
// jasmine.addMatchers({
// toBePlaying: function () {
// return {
// compare: function (actual, expected) {
// var player = actual;
//
// return {
// pass: player.currentlyPlayingSong === expected && player.isPlaying
// };
// ... | 23.454545 | 81 | 0.484496 |
1962f2a41b5a47e348ff900410a19f11bf1bc43c | 454 | js | JavaScript | dist/others/keywords.js | sathishrazor/BASIC-JS-Interpretor | 6116d57d3e5acf72a22616bd2f1ba7c54755b112 | [
"MIT"
] | null | null | null | dist/others/keywords.js | sathishrazor/BASIC-JS-Interpretor | 6116d57d3e5acf72a22616bd2f1ba7c54755b112 | [
"MIT"
] | null | null | null | dist/others/keywords.js | sathishrazor/BASIC-JS-Interpretor | 6116d57d3e5acf72a22616bd2f1ba7c54755b112 | [
"MIT"
] | 2 | 2020-03-05T09:37:55.000Z | 2021-03-29T05:00:25.000Z | define(["require", "exports"], function (require, exports) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.LANG_KEYWORDS = [
"VAR",
"AND",
"OR",
"NOT",
"IF",
"ELIF",
"ELSE",
"FOR",
"TO",
"S... | 18.916667 | 66 | 0.398678 |
1963e687f4e22a180e15a9cbf107217cea27c93f | 351 | js | JavaScript | components/time.js | NawrasseDahman/Craft-Dog | 34ac79079e1f96bd3d208c3bd382f00192006d38 | [
"MIT"
] | null | null | null | components/time.js | NawrasseDahman/Craft-Dog | 34ac79079e1f96bd3d208c3bd382f00192006d38 | [
"MIT"
] | 1 | 2022-02-18T01:53:56.000Z | 2022-02-18T01:53:56.000Z | components/time.js | NawrasseDahman/Nawrasse-Portfolio | 34ac79079e1f96bd3d208c3bd382f00192006d38 | [
"MIT"
] | null | null | null | const bday = new Date('17 July 2004 05:00:00 GMT');
const ageMilliseconds = Date.now() - bday.getTime();
export const MILLISECOND = 1;
export const SECOND = MILLISECOND * 1000;
export const MINUTE = SECOND * 60;
export const HOUR = MINUTE * 60;
export const DAY = HOUR * 24;
export const YEAR = DAY * 365;
export const... | 29.25 | 52 | 0.712251 |
19655d12a0d62685f1ed6a56e6a321a1356cb267 | 601 | js | JavaScript | public/js/dashboard.js | mgmcintyre777/your-care | cec8298bed4f57b8e633c5fbaf5120657977b754 | [
"MIT"
] | null | null | null | public/js/dashboard.js | mgmcintyre777/your-care | cec8298bed4f57b8e633c5fbaf5120657977b754 | [
"MIT"
] | null | null | null | public/js/dashboard.js | mgmcintyre777/your-care | cec8298bed4f57b8e633c5fbaf5120657977b754 | [
"MIT"
] | null | null | null | const contentDiv = $("#page-section");
const surveyListDiv = $("#survey-list-div");
const surveyList = $("#survey-list");
$(document).ready(() => {
surveyListDiv.hide();
$.getJSON("/api/getSurveys", data => {
loadSurveyList(data);
});
});
function loadSurveyList(data) {
data.forEach(survey => {
let li... | 25.041667 | 53 | 0.577371 |
1965c183bc903c5f366629a4ddc76b52bdd38376 | 2,875 | js | JavaScript | dataprep-webapp/src/app/components/widgets/confirm/widget-confirm-controller.spec.js | ddstest/ddsprep | 0b16d8487288df6ed71cdbac9c334a88195360af | [
"Apache-2.0"
] | null | null | null | dataprep-webapp/src/app/components/widgets/confirm/widget-confirm-controller.spec.js | ddstest/ddsprep | 0b16d8487288df6ed71cdbac9c334a88195360af | [
"Apache-2.0"
] | null | null | null | dataprep-webapp/src/app/components/widgets/confirm/widget-confirm-controller.spec.js | ddstest/ddsprep | 0b16d8487288df6ed71cdbac9c334a88195360af | [
"Apache-2.0"
] | null | null | null | /* ============================================================================
Copyright (C) 2006-2018 Talend Inc. - www.talend.com
This source code is available under agreement available at
https://github.com/Talend/data-prep/blob/master/LICENSE
You should have received a copy of the agreement
along wit... | 29.336735 | 123 | 0.590957 |
1966808c45a0c5ed73cc7998f58bfd4fdb2b3c61 | 7,378 | js | JavaScript | bin/lynn-cli.js | davidahouse/lynn-cli | 957c90565be7c58777084f9bbf7520659c401aaa | [
"MIT"
] | 1 | 2019-03-05T23:12:52.000Z | 2019-03-05T23:12:52.000Z | bin/lynn-cli.js | davidahouse/lynn-cli | 957c90565be7c58777084f9bbf7520659c401aaa | [
"MIT"
] | 53 | 2019-03-05T14:42:01.000Z | 2020-05-16T01:17:46.000Z | bin/lynn-cli.js | davidahouse/lynn-cli | 957c90565be7c58777084f9bbf7520659c401aaa | [
"MIT"
] | null | null | null | #!/usr/bin/env node
const fs = require("fs");
const chalk = require("chalk");
const clear = require("clear");
const figlet = require("figlet");
const vorpal = require("vorpal")();
const Ora = require("ora");
const jp = require("jsonpath");
const ptr = require("json-ptr");
const pkginfo = require("pkginfo")(module);
con... | 28.160305 | 83 | 0.626321 |
1966b0e5d2294106b4572d44e31997cb7069feb8 | 235 | js | JavaScript | test/mkDirAsync.js | assapir/mkdir-native | fc4896225a8e5c31ea1d34ab35e2d18e73ee91f7 | [
"MIT"
] | null | null | null | test/mkDirAsync.js | assapir/mkdir-native | fc4896225a8e5c31ea1d34ab35e2d18e73ee91f7 | [
"MIT"
] | null | null | null | test/mkDirAsync.js | assapir/mkdir-native | fc4896225a8e5c31ea1d34ab35e2d18e73ee91f7 | [
"MIT"
] | null | null | null | const assert = require('assert')
const fs = require('fs')
const mkdir = require('../index')
const test = () => {
mkdir('this/app/a/b', (err, msg) => {
if (err) throw err
assert.ok(fs.statSync('this/app/a/b'))
})
}
test()
| 18.076923 | 42 | 0.574468 |
19670a8f36a59c47751523924403a57af51aeb22 | 1,253 | js | JavaScript | app/routes/index.js | ajohn1215/personal-site | 2a7ebfbec0b2f2161ca52fedfe15ca7305247581 | [
"MIT"
] | null | null | null | app/routes/index.js | ajohn1215/personal-site | 2a7ebfbec0b2f2161ca52fedfe15ca7305247581 | [
"MIT"
] | null | null | null | app/routes/index.js | ajohn1215/personal-site | 2a7ebfbec0b2f2161ca52fedfe15ca7305247581 | [
"MIT"
] | null | null | null | 'use strict';
var path = process.cwd();
module.exports = function (app, db) {
app.route('/')
.get(function (req, res) {
res.sendFile(path + '/public/index.html');
});
app.route('/api/map')
.get(function (req, res) {
var map = db.collection('site');
map.find({}).toArray((err, results) => {
if(... | 21.237288 | 49 | 0.575419 |
19675246473ab0b1376d3e479a76f5424594ba36 | 8,268 | js | JavaScript | zen-day-3/json-iteration.js | pammalPrasanna/guvi | 38ec597e4e28c6a904c342ddf174e504ad3ebd40 | [
"Apache-2.0"
] | null | null | null | zen-day-3/json-iteration.js | pammalPrasanna/guvi | 38ec597e4e28c6a904c342ddf174e504ad3ebd40 | [
"Apache-2.0"
] | null | null | null | zen-day-3/json-iteration.js | pammalPrasanna/guvi | 38ec597e4e28c6a904c342ddf174e504ad3ebd40 | [
"Apache-2.0"
] | null | null | null | const result = {"response_code":0,"results":[{"category":"History","type":"multiple","difficulty":"medium","question":"Which of these countries was sea charted in 1500 by the Portuguese maritime explorations?","correct_answer":"Brazil","incorrect_answers":["India","Mozambique","Madagascar"]},{"category":"Entertainment:... | 67.770492 | 2,377 | 0.696541 |
1967bcd35645bc452e479bc851f69dfe98eda8f3 | 5,216 | js | JavaScript | routes/index.js | alvin9453/NTS_Final | 56455a7aa997b1fe1e4262ce0fc863a49e1de642 | [
"MIT"
] | 1 | 2018-08-02T11:54:19.000Z | 2018-08-02T11:54:19.000Z | routes/index.js | alvin9453/NTS_Final | 56455a7aa997b1fe1e4262ce0fc863a49e1de642 | [
"MIT"
] | null | null | null | routes/index.js | alvin9453/NTS_Final | 56455a7aa997b1fe1e4262ce0fc863a49e1de642 | [
"MIT"
] | null | null | null | var express = require('express');
var router = express.Router();
var firebase = require('firebase');
module.exports = function(passport){
/* GET home page. */
router.get('/', function(req, res, next) {
res.render('index', { user: req.user , message : req.flash('message')});
});
router.get('/admin',ensu... | 30.682353 | 101 | 0.590107 |
1967cebceadd87c94eb97f4d48c648537b827c91 | 1,254 | js | JavaScript | src/lib/fp/index.js | Lukasz-pluszczewski/perfect-immutable | 998e625a697cd4f74a238fb08a6ba3487ac28c56 | [
"MIT"
] | 7 | 2017-12-14T09:46:02.000Z | 2019-06-20T19:56:39.000Z | src/lib/fp/index.js | Lukasz-pluszczewski/perfect-immutable | 998e625a697cd4f74a238fb08a6ba3487ac28c56 | [
"MIT"
] | 6 | 2017-12-17T07:56:43.000Z | 2021-06-05T22:35:26.000Z | src/lib/fp/index.js | Lukasz-pluszczewski/perfect-immutable | 998e625a697cd4f74a238fb08a6ba3487ac28c56 | [
"MIT"
] | 1 | 2018-01-23T10:23:27.000Z | 2018-01-23T10:23:27.000Z | import curryRight from "lodash/curryRight";
import immuSet from "../set";
import immuSplice from "../splice";
import immuPush from "../push";
import immuPop from "../pop";
import immuShift from "../shift";
import immuUnshift from "../unshift";
import immuSort from "../sort";
import immuReverse from "../reverse";
impor... | 25.591837 | 60 | 0.700159 |
19680b4df721b8a63ce822a103c020c89d09909f | 5,071 | js | JavaScript | tests/versioned/apollo-federation/transaction-naming.test.js | alanhr/newrelic-node-apollo-server-plugin | 036c5cf3ed32a4701db84972cd857a2b33ce28be | [
"Apache-2.0"
] | 45 | 2020-09-09T07:11:28.000Z | 2022-03-24T12:31:08.000Z | tests/versioned/apollo-federation/transaction-naming.test.js | alanhr/newrelic-node-apollo-server-plugin | 036c5cf3ed32a4701db84972cd857a2b33ce28be | [
"Apache-2.0"
] | 92 | 2020-09-01T20:51:13.000Z | 2022-03-30T23:00:18.000Z | tests/versioned/apollo-federation/transaction-naming.test.js | alanhr/newrelic-node-apollo-server-plugin | 036c5cf3ed32a4701db84972cd857a2b33ce28be | [
"Apache-2.0"
] | 15 | 2020-09-01T21:42:15.000Z | 2022-02-24T03:24:05.000Z | /*
* Copyright 2020 New Relic Corporation. All rights reserved.
* SPDX-License-Identifier: Apache-2.0
*/
'use strict'
const { executeQuery, executeQueryBatch } = require('../../test-client')
const ANON_PLACEHOLDER = '<anonymous>'
const { setupFederatedGatewayServerTests } = require('./federated-gateway-server-se... | 25.611111 | 96 | 0.608558 |
1968769757d0f57030717826292e5f85344a9fa9 | 494 | js | JavaScript | webpack.mix.js | lactobasilusprotectus/laravel.io | b7d7f661c0e753dcd7847df454568d356cffc146 | [
"MIT"
] | 1 | 2020-05-10T15:49:39.000Z | 2020-05-10T15:49:39.000Z | webpack.mix.js | atunjeafolabi/laravel.io | b8ea372bbd6a99c64442ae0aee2b7e0e3e9bb9fa | [
"MIT"
] | null | null | null | webpack.mix.js | atunjeafolabi/laravel.io | b8ea372bbd6a99c64442ae0aee2b7e0e3e9bb9fa | [
"MIT"
] | null | null | null | const mix = require('laravel-mix');
const FlareWebpackPluginSourcemap = require("@flareapp/flare-webpack-plugin-sourcemap");
mix.js('resources/js/app.js', 'public/js')
.webpackConfig({
plugins: [
new FlareWebpackPluginSourcemap({ key: process.env.MIX_FLARE_KEY })
],
})
.sourceMa... | 30.875 | 88 | 0.631579 |
196882eed79bb50b39f6614761ba83f597f455ff | 2,047 | js | JavaScript | src/store/actions.test.js | mykulyak/warsawjs-workshop-24-project | 19d23a2d4cfeb0bca8da7f5f127cd1cb97a542c7 | [
"MIT"
] | null | null | null | src/store/actions.test.js | mykulyak/warsawjs-workshop-24-project | 19d23a2d4cfeb0bca8da7f5f127cd1cb97a542c7 | [
"MIT"
] | null | null | null | src/store/actions.test.js | mykulyak/warsawjs-workshop-24-project | 19d23a2d4cfeb0bca8da7f5f127cd1cb97a542c7 | [
"MIT"
] | null | null | null | import configureStore from 'redux-mock-store';
import thunkMiddleware from 'redux-thunk';
import { createStore, applyMiddleware } from 'redux';
jest.mock('./api');
import * as TYPES from './constants';
import { readSettings as apiReadSettings } from './api';
import { readSettings } from './actions';
import reducer fr... | 26.934211 | 72 | 0.617978 |
19695e3d073c90bc2cbf4b0ac7b356b60271663e | 264 | js | JavaScript | node_modules/polymer-modulizer/lib/import-with-document.js | iteaky/random | 7de7795493b147743cea5657bdc48f7f63d1c50e | [
"Unlicense"
] | null | null | null | node_modules/polymer-modulizer/lib/import-with-document.js | iteaky/random | 7de7795493b147743cea5657bdc48f7f63d1c50e | [
"Unlicense"
] | 7 | 2021-03-09T22:36:52.000Z | 2022-02-18T14:28:36.000Z | node_modules/polymer-modulizer/lib/import-with-document.js | iteaky/random | 7de7795493b147743cea5657bdc48f7f63d1c50e | [
"Unlicense"
] | null | null | null | "use strict";
Object.defineProperty(exports, "__esModule", { value: true });
function isImportWithDocument(import_) {
return import_.document !== undefined;
}
exports.isImportWithDocument = isImportWithDocument;
//# sourceMappingURL=import-with-document.js.map | 37.714286 | 62 | 0.780303 |
196b0ae2fdf26c6185c98dcd584ca760027b0ab1 | 2,553 | js | JavaScript | src/templates/Track/components/Lyrics/Lyrics.test.js | toxox/gatsby-genius | 9c1da6d8714b17e1e49a7dd235e18ed216db7de9 | [
"MIT"
] | 1 | 2021-01-03T15:03:55.000Z | 2021-01-03T15:03:55.000Z | src/templates/Track/components/Lyrics/Lyrics.test.js | toxox/gatsby-genius | 9c1da6d8714b17e1e49a7dd235e18ed216db7de9 | [
"MIT"
] | null | null | null | src/templates/Track/components/Lyrics/Lyrics.test.js | toxox/gatsby-genius | 9c1da6d8714b17e1e49a7dd235e18ed216db7de9 | [
"MIT"
] | null | null | null | import 'jest-dom/extend-expect';
import 'react-testing-library/cleanup-after-each';
import React from 'react';
import { render, fireEvent } from 'react-testing-library';
import { lorem, helpers } from 'faker';
import { matchers } from 'jest-emotion';
import Lyrics from './index';
// import theme from '../../../../util... | 30.759036 | 81 | 0.678026 |
aeb769b65df07b95bc10ed3cfff7aa3bae19c29f | 418 | js | JavaScript | gulpfile.js | lrks/tabooular | b157b306309efae0ff27d8f414d873075055298c | [
"MIT"
] | null | null | null | gulpfile.js | lrks/tabooular | b157b306309efae0ff27d8f414d873075055298c | [
"MIT"
] | 5 | 2018-02-10T09:06:06.000Z | 2018-08-02T12:32:56.000Z | gulpfile.js | lrks/tabooular | b157b306309efae0ff27d8f414d873075055298c | [
"MIT"
] | null | null | null | 'use strict';
var gulp = require('gulp');
var browserify = require('browserify');
var source = require('vinyl-source-stream');
var peg = require('gulp-peg');
gulp.task('build', function() {
gulp.src([
'./lib/table.pegjs'
]).pipe(peg()).pipe(gulp.dest('./lib'));
browserify({
'entries': ['./docs/demo.js']
}).b... | 24.588235 | 65 | 0.62201 |
aeb7852132b30ad22b481fcbaae4dfd882410152 | 783 | js | JavaScript | app/components/textTypes.js | sam201994/idex_react_app | 4d780294f20b1f489289403b7f7c2b54e36c27da | [
"MIT"
] | null | null | null | app/components/textTypes.js | sam201994/idex_react_app | 4d780294f20b1f489289403b7f7c2b54e36c27da | [
"MIT"
] | 3 | 2020-07-20T18:28:13.000Z | 2022-03-26T17:43:49.000Z | app/components/textTypes.js | sam201994/idex_react_app | 4d780294f20b1f489289403b7f7c2b54e36c27da | [
"MIT"
] | null | null | null | import styled from 'styled-components';
export const GreyText = styled.div`
color: #d3d3d3;
font-size: ${props => `${props.size}px`};
font-weight: bold;
`;
export const BlackText = styled.div`
color: #262626;
font-size: ${props => `${props.size}px`};
font-weight: bold;
`;
export const BlueText = styled.div... | 21.162162 | 45 | 0.627075 |
aeb848ee09748bfd2503d2aefa50b1c2c0e1302f | 103 | js | JavaScript | templates/component-boilerplate/src-sass-variables.js | bbcreatv/origami-build-tools | 37a3c3d75ee63f1c58f0e815f536017eaad3e9c6 | [
"MIT"
] | 1 | 2019-10-17T15:02:02.000Z | 2019-10-17T15:02:02.000Z | templates/component-boilerplate/src-sass-variables.js | cnk-digital-solutions/origami-build-tools | 37a3c3d75ee63f1c58f0e815f536017eaad3e9c6 | [
"MIT"
] | null | null | null | templates/component-boilerplate/src-sass-variables.js | cnk-digital-solutions/origami-build-tools | 37a3c3d75ee63f1c58f0e815f536017eaad3e9c6 | [
"MIT"
] | null | null | null | 'use strict';
module.exports = (name) => {
return `$${name.original}-is-silent: true !default;
`;
};
| 14.714286 | 52 | 0.61165 |
aeb9b67342dab758ea61701d362971fa1c0c4c30 | 759 | js | JavaScript | app/app.js | RenuNegi/HolidayApplication | 3c6f0c7025de9ecdc19a454e4887819f27fede33 | [
"MIT"
] | null | null | null | app/app.js | RenuNegi/HolidayApplication | 3c6f0c7025de9ecdc19a454e4887819f27fede33 | [
"MIT"
] | null | null | null | app/app.js | RenuNegi/HolidayApplication | 3c6f0c7025de9ecdc19a454e4887819f27fede33 | [
"MIT"
] | null | null | null | 'use strict';
// Declare app level module which depends on views, and components
angular.module('myApp', [
'ui.router',
'ngMaterial'
])
.config(function ($stateProvider, $urlRouterProvider) {
$urlRouterProvider.otherwise("/holidayList");
var states = [
{
name: 'holidayList',
url: ... | 20.513514 | 66 | 0.582345 |
aeb9cd8b8822f76ae957a0dedf4df87e87322235 | 846 | js | JavaScript | client/store/index.js | LindaEng/grace-shopper | 267cdd6aa89005253e58dfacf54dac991293ff3a | [
"MIT"
] | null | null | null | client/store/index.js | LindaEng/grace-shopper | 267cdd6aa89005253e58dfacf54dac991293ff3a | [
"MIT"
] | 28 | 2020-06-16T15:12:21.000Z | 2020-06-23T21:55:19.000Z | client/store/index.js | LindaEng/grace-shopper | 267cdd6aa89005253e58dfacf54dac991293ff3a | [
"MIT"
] | 1 | 2020-06-16T14:23:58.000Z | 2020-06-16T14:23:58.000Z | import {createStore, combineReducers, applyMiddleware} from 'redux'
import {createLogger} from 'redux-logger'
import thunkMiddleware from 'redux-thunk'
import {composeWithDevTools} from 'redux-devtools-extension'
import userReducer from './user'
import keyboardsReducer from './keyboards'
import singleKeyboardReducer fr... | 31.333333 | 67 | 0.788416 |
aebacd19a09aacdd0d79589fe1ec492b89f24d28 | 2,461 | js | JavaScript | src/components/datatable/AbstractCell.js | openlattice/lattice-edm | 8c16c97d4057d071780b90170e01d9a870392efa | [
"Apache-2.0"
] | null | null | null | src/components/datatable/AbstractCell.js | openlattice/lattice-edm | 8c16c97d4057d071780b90170e01d9a870392efa | [
"Apache-2.0"
] | 963 | 2018-01-17T03:55:12.000Z | 2021-09-24T20:53:47.000Z | src/components/datatable/AbstractCell.js | openlattice/lattice-edm | 8c16c97d4057d071780b90170e01d9a870392efa | [
"Apache-2.0"
] | null | null | null | /*
* @flow
*/
import React from 'react';
import type { Node } from 'react';
import styled, { css } from 'styled-components';
/*
* constants
*/
const CELL_PADDING :number = 10;
const TYPES = {
BODY: 'body',
HEAD: 'head'
};
/*
* helper functions
*/
const getBackgroundStyles = ({ highlight }) => {
if (hi... | 16.406667 | 62 | 0.591629 |
aebbd751890fde607243e6151764046156f34f42 | 213 | js | JavaScript | web-client/src/actions/services/news.service.js | yuchiu/Latest-News | 1cdbf9c9cc0738d1b5641f921dc5f8bc59b36456 | [
"MIT"
] | 6 | 2019-12-25T19:04:54.000Z | 2021-06-16T08:43:56.000Z | web-client/src/actions/services/news.service.js | yuchiu/Latest-News | 1cdbf9c9cc0738d1b5641f921dc5f8bc59b36456 | [
"MIT"
] | null | null | null | web-client/src/actions/services/news.service.js | yuchiu/Latest-News | 1cdbf9c9cc0738d1b5641f921dc5f8bc59b36456 | [
"MIT"
] | 7 | 2019-01-04T13:59:04.000Z | 2020-08-15T09:16:34.000Z | import { apiV1 } from "./API";
const newsService = {
fetchNews: async currentIndex => {
const response = await apiV1().get(`/news/${currentIndex}`);
return response;
}
};
export default newsService;
| 19.363636 | 64 | 0.657277 |
aebca8330380792c98058d53ed49da8e9389bf71 | 1,359 | js | JavaScript | forest_lite/client/src/Select.js | uk-gov-mirror/MetOffice.forest-lite | 9406b53f7e6a9651eb675e0ac2e5945421b25557 | [
"BSD-3-Clause"
] | 6 | 2020-08-05T16:12:57.000Z | 2022-01-06T01:34:19.000Z | forest_lite/client/src/Select.js | uk-gov-mirror/MetOffice.forest-lite | 9406b53f7e6a9651eb675e0ac2e5945421b25557 | [
"BSD-3-Clause"
] | 49 | 2020-08-14T13:58:32.000Z | 2021-06-29T11:42:32.000Z | forest_lite/client/src/Select.js | uk-gov-mirror/MetOffice.forest-lite | 9406b53f7e6a9651eb675e0ac2e5945421b25557 | [
"BSD-3-Clause"
] | 2 | 2020-12-03T09:24:13.000Z | 2021-04-11T06:10:36.000Z | import React from "react"
import "./Select.css"
/**
* HTML Select widget
*/
const Select = ({ value, values = [], label, callback = null }) => {
const onChange = ev => {
if (callback != null) {
callback(ev.target.value)
}
}
const options = values.map(option => {
// TO... | 29.543478 | 84 | 0.487859 |
aebd71765bb143b6566d03649794da5159cc5163 | 18,981 | js | JavaScript | bitrix/modules/main/install/components/bitrix/main.post.list/templates/mobile_app/script.map.js | lena1687/furniture-store | 3afdb86a6e2fca4574a215f66d8fc9eb7daff5d4 | [
"MIT"
] | null | null | null | bitrix/modules/main/install/components/bitrix/main.post.list/templates/mobile_app/script.map.js | lena1687/furniture-store | 3afdb86a6e2fca4574a215f66d8fc9eb7daff5d4 | [
"MIT"
] | null | null | null | bitrix/modules/main/install/components/bitrix/main.post.list/templates/mobile_app/script.map.js | lena1687/furniture-store | 3afdb86a6e2fca4574a215f66d8fc9eb7daff5d4 | [
"MIT"
] | null | null | null | {"version":3,"file":"script.min.js","sources":["script.js"],"names":["window","BX","repo","entityId","text","form","list","comments","commentExemplarId","makeId","ENTITY_XMIL_ID","ID","setText","type","isNotEmptyString","res","localStorage","get","set","getText","addCustomEvent","BXMobileApp","isArray","inner","keyBoar... | 18,981 | 18,981 | 0.820874 |
aebd7ebaced3c442c6afd31c34c806d1b2104efb | 190 | js | JavaScript | src/components/Translation/styles.js | bryaneaton13/flash-verses | 5aa3ba7785757cf3b93e21ecf34dcd44273a3ba6 | [
"MIT"
] | null | null | null | src/components/Translation/styles.js | bryaneaton13/flash-verses | 5aa3ba7785757cf3b93e21ecf34dcd44273a3ba6 | [
"MIT"
] | null | null | null | src/components/Translation/styles.js | bryaneaton13/flash-verses | 5aa3ba7785757cf3b93e21ecf34dcd44273a3ba6 | [
"MIT"
] | null | null | null |
import { StyleSheet } from 'react-native';
import COLORS from '../../colors';
module.exports = StyleSheet.create({
translation: {
fontSize: 13,
color: COLORS.DARK_GREY,
},
});
| 17.272727 | 42 | 0.647368 |
aebde398a57534f04cae19bdc42cba32e45471f2 | 93,277 | js | JavaScript | dist/vendor.54f01e7571327264504c.min.js | Jeffrey-H/vue-typer | d2aa5ea77f6084d51aa9b7334e456381376449da | [
"MIT"
] | null | null | null | dist/vendor.54f01e7571327264504c.min.js | Jeffrey-H/vue-typer | d2aa5ea77f6084d51aa9b7334e456381376449da | [
"MIT"
] | null | null | null | dist/vendor.54f01e7571327264504c.min.js | Jeffrey-H/vue-typer | d2aa5ea77f6084d51aa9b7334e456381376449da | [
"MIT"
] | null | null | null | webpackJsonp([1],{"+E39":function(e,t,n){e.exports=!n("S82l")(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},"+ZMJ":function(e,t,n){var r=n("lOnJ");e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r... | 13,325.285714 | 92,587 | 0.676887 |
aebf0de40a45131ec5798b55b1261993b8dea0ea | 2,109 | js | JavaScript | portfolio/src/main/webapp/script.js | stephanieopon/my-portfolio | a39b3a37716b602fdd1b35735d068d95802febc4 | [
"Apache-2.0"
] | null | null | null | portfolio/src/main/webapp/script.js | stephanieopon/my-portfolio | a39b3a37716b602fdd1b35735d068d95802febc4 | [
"Apache-2.0"
] | 1 | 2020-02-24T01:31:35.000Z | 2020-02-25T16:06:13.000Z | portfolio/src/main/webapp/script.js | stephanieopon/my-portfolio | a39b3a37716b602fdd1b35735d068d95802febc4 | [
"Apache-2.0"
] | null | null | null | // Copyright 2019 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | 33.47619 | 199 | 0.682314 |
aebf2e1115af60139de24bbeffa51978cdf90c8b | 265 | js | JavaScript | WoNeCa_files/noconflict.js | plassart/Woneca2022 | 439f7ae38777e73e5b00b21d9c8996a1245198b6 | [
"MIT"
] | null | null | null | WoNeCa_files/noconflict.js | plassart/Woneca2022 | 439f7ae38777e73e5b00b21d9c8996a1245198b6 | [
"MIT"
] | null | null | null | WoNeCa_files/noconflict.js | plassart/Woneca2022 | 439f7ae38777e73e5b00b21d9c8996a1245198b6 | [
"MIT"
] | null | null | null | /**
* @author JoomlaShine.com http://www.joomlashine.com
* @copyright Copyright (C) 2008 - 2011 JoomlaShine.com. All rights reserved.
* @license GNU/GPL v2 http://www.gnu.org/licenses/gpl-2.0.html
*/
if (typeof(jQuery) !== "undefined") { jQuery.noConflict(); } | 44.166667 | 76 | 0.690566 |
aebf52e1d753a91335576cf8110de9061e8dbb79 | 3,583 | js | JavaScript | api/controllers/faucetController.js | PhantomCore/Faucet | 1db39050eff23adbf24c73e3ba8b310815f7f400 | [
"Unlicense",
"MIT"
] | null | null | null | api/controllers/faucetController.js | PhantomCore/Faucet | 1db39050eff23adbf24c73e3ba8b310815f7f400 | [
"Unlicense",
"MIT"
] | null | null | null | api/controllers/faucetController.js | PhantomCore/Faucet | 1db39050eff23adbf24c73e3ba8b310815f7f400 | [
"Unlicense",
"MIT"
] | null | null | null | "use strict";
const repo = require("../repos/faucetRepo");
const logRepo = require("../repos/logRepo");
const moment = require("moment");
const util = require("../util");
const createLog = (IP, address, amount, rollTime) => {
const log = {
IP: IP,
address: address,
amount: amount,
r... | 33.175926 | 113 | 0.583031 |
aec01831d7fae5cd91d9302262657a028a2edebd | 4,874 | js | JavaScript | test/options.js | StellarTime/mte-kernel | 89aa44635655cb38b3b67f9c47b1167f6bc20329 | [
"MIT"
] | 59 | 2018-02-01T07:09:18.000Z | 2022-03-29T11:38:50.000Z | test/options.js | StellarTime/mte-kernel | 89aa44635655cb38b3b67f9c47b1167f6bc20329 | [
"MIT"
] | 2 | 2018-06-15T15:34:01.000Z | 2020-10-24T13:36:03.000Z | test/options.js | StellarTime/mte-kernel | 89aa44635655cb38b3b67f9c47b1167f6bc20329 | [
"MIT"
] | 8 | 2018-02-08T12:11:39.000Z | 2021-09-13T06:56:05.000Z | import { expect } from "chai";
import { DefaultAlignment, HeaderAlignment } from "../lib/alignment.js";
import { FormatType } from "../lib/formatter.js";
import { _value, _values, options } from "../lib/options.js";
/**
* @test {_value}
*/
describe("_value(obj, key, defaultVal)", () => {
it("should read a value f... | 28.337209 | 103 | 0.526672 |
aec08670cdaa28758f7b470364bb67ece28cecb1 | 1,930 | js | JavaScript | dist/tiposDatos.js | kev-aron-28/Typescript-basics | cad2d2b2225658e05f868f7d7eae77cb3f45e6ce | [
"MIT"
] | null | null | null | dist/tiposDatos.js | kev-aron-28/Typescript-basics | cad2d2b2225658e05f868f7d7eae77cb3f45e6ce | [
"MIT"
] | null | null | null | dist/tiposDatos.js | kev-aron-28/Typescript-basics | cad2d2b2225658e05f868f7d7eae77cb3f45e6ce | [
"MIT"
] | null | null | null | "use strict";
// Number
//*Explicito
var phone;
phone = 123445;
console.log(phone);
//*Inferido
var phoneNumber = 1234;
//Boolean
var bool = true;
//String
var user = "Kevin";
//Any
var idUser = "Kevin123";
idUser = true;
idUser = 1;
//Void
function showInfo(user) {
console.log("User Info\n " + user.id + "... | 21.685393 | 76 | 0.610881 |
aec16acc39abbd19d597fc314fc2b920f22f12c5 | 113 | js | JavaScript | src/wordpress/wp-content/plugins/mailster/assets/js/addons-script.min.js | codemaster08240328/boaty_nuxt | a43eb5998f0606947a28a143224a5c5433b5e9d8 | [
"MIT"
] | null | null | null | src/wordpress/wp-content/plugins/mailster/assets/js/addons-script.min.js | codemaster08240328/boaty_nuxt | a43eb5998f0606947a28a143224a5c5433b5e9d8 | [
"MIT"
] | null | null | null | src/wordpress/wp-content/plugins/mailster/assets/js/addons-script.min.js | codemaster08240328/boaty_nuxt | a43eb5998f0606947a28a143224a5c5433b5e9d8 | [
"MIT"
] | null | null | null | jQuery(document).ready(function(a){a("a.external").on("click",function(){window.open(this.href);return false})}); | 113 | 113 | 0.725664 |
aec28240dfbf8ff8c99d7b88a388773556746347 | 3,703 | js | JavaScript | server.js | dakrbo/landscapeapp | 417ce0db071d807f28f6f8b398162d47786892db | [
"Apache-2.0"
] | null | null | null | server.js | dakrbo/landscapeapp | 417ce0db071d807f28f6f8b398162d47786892db | [
"Apache-2.0"
] | null | null | null | server.js | dakrbo/landscapeapp | 417ce0db071d807f28f6f8b398162d47786892db | [
"Apache-2.0"
] | null | null | null | // acts as a dev server and a dist server
// netlify does not use this
const projectPath = process.env.PROJECT_PATH;
const http = require('http');
const fs = require('fs');
const path = require('path');
http.createServer(function (request, response) {
if (request.url.indexOf('/api/ids') !== -1) {
console.log(... | 33.0625 | 109 | 0.588712 |
aec3a62b443494141d973d470a5f2b79ec5a028c | 8,936 | js | JavaScript | rails5_api/public/docs-designer/scenario/test/lib/shelf-helper.js | hadwinzhy/common_platform | 5ac3ee7a00a3d235dbb1d8a5dbb68602fdde7e96 | [
"MIT"
] | null | null | null | rails5_api/public/docs-designer/scenario/test/lib/shelf-helper.js | hadwinzhy/common_platform | 5ac3ee7a00a3d235dbb1d8a5dbb68602fdde7e96 | [
"MIT"
] | null | null | null | rails5_api/public/docs-designer/scenario/test/lib/shelf-helper.js | hadwinzhy/common_platform | 5ac3ee7a00a3d235dbb1d8a5dbb68602fdde7e96 | [
"MIT"
] | null | null | null | 'use strict';
var webdriver = require('selenium-webdriver');
function ShelfHelper() {
this.elemRamlVersion = ['#%RAML 0.8'];
this.elemRamlByGroup = '';
//Root Elements
this.elemRootLevelRoot = ['baseUri','mediaType','protocols','title','version'];
this.elemRootLevelDocs = ['documentation'];
this.elemRootLevel... | 55.503106 | 258 | 0.786482 |
aec3ca5339ead8254e5e4ebcd160e42826efa14b | 303 | js | JavaScript | src/components/header/header.js | cottmar/portfolio | 7af56258707205bbd2d33a87ddd33df47bc85e43 | [
"MIT"
] | null | null | null | src/components/header/header.js | cottmar/portfolio | 7af56258707205bbd2d33a87ddd33df47bc85e43 | [
"MIT"
] | null | null | null | src/components/header/header.js | cottmar/portfolio | 7af56258707205bbd2d33a87ddd33df47bc85e43 | [
"MIT"
] | null | null | null | import React from 'react';
import { Link } from 'react-router-dom';
export default class Header extends React.Component {
render() {
return (
<header className='topNavBar'>
<h1 className="title"><Link to='/'>Cara Ottmar</Link></h1>
<p>Cara Ottmar</p>
</header>
)
}
} | 23.307692 | 64 | 0.610561 |
aec44fdbb19af7cca6e07714744ff596934804d2 | 539 | js | JavaScript | src/routes/User.js | unscribe/unscribe | 6c183c8fc1ce6c27abf553a4e682422efa7a049b | [
"MIT"
] | null | null | null | src/routes/User.js | unscribe/unscribe | 6c183c8fc1ce6c27abf553a4e682422efa7a049b | [
"MIT"
] | null | null | null | src/routes/User.js | unscribe/unscribe | 6c183c8fc1ce6c27abf553a4e682422efa7a049b | [
"MIT"
] | null | null | null | import React, { Component } from 'react'
import db, { getUserRef } from "../firebase/db"
import auth from "../firebase/auth"
import Sidebar from "../containers/Sidebar"
export default class User extends Component {
constructor(props) {
super(props)
this.state = {
data: ""
}
}
signOut() {
... | 17.387097 | 68 | 0.534323 |
aec4bb6b9b634c85dcdde49acd2922916dce76ff | 7,397 | js | JavaScript | js/custom/canvasscript.js | martinjakubik/ponk | 7e066bf83e646415830ba85cb5245df4e29b3014 | [
"Apache-2.0"
] | null | null | null | js/custom/canvasscript.js | martinjakubik/ponk | 7e066bf83e646415830ba85cb5245df4e29b3014 | [
"Apache-2.0"
] | null | null | null | js/custom/canvasscript.js | martinjakubik/ponk | 7e066bf83e646415830ba85cb5245df4e29b3014 | [
"Apache-2.0"
] | null | null | null | function drawScript(oCanvas, x, y, character, drawingLayer, drawBlockSize) {
this.context = oCanvas.getContext('2d');
var nDrawX = x;
var nDrawY = y;
var nPixel = 0;
var nX = 0, nY = 0;
// checks if char is a number
if (!isNaN(parseInt(character, 10))) {
// draws the number
... | 18.966667 | 130 | 0.179803 |
aec51434b234c08026b28d332159c7f48e4d8347 | 3,565 | js | JavaScript | .shadow-cljs/builds/app/release/shadow-js/module$node_modules$mathjs$lib$cjs$entry$dependenciesAny$dependenciesCoth_generated.js | hkmin27/contactcalc | 1c91bc09a41908235b629010ea9dd74ea39c28af | [
"MIT"
] | null | null | null | .shadow-cljs/builds/app/release/shadow-js/module$node_modules$mathjs$lib$cjs$entry$dependenciesAny$dependenciesCoth_generated.js | hkmin27/contactcalc | 1c91bc09a41908235b629010ea9dd74ea39c28af | [
"MIT"
] | null | null | null | .shadow-cljs/builds/app/release/shadow-js/module$node_modules$mathjs$lib$cjs$entry$dependenciesAny$dependenciesCoth_generated.js | hkmin27/contactcalc | 1c91bc09a41908235b629010ea9dd74ea39c28af | [
"MIT"
] | null | null | null | ["^ ","~:resource-id",["~:shadow.build.npm/resource","node_modules/mathjs/lib/cjs/entry/dependenciesAny/dependenciesCoth.generated.js"],"~:js","shadow$provide[761]=function(c,b,y,a){Object.defineProperty(a,\"__esModule\",{value:!0});a.cothDependencies=void 0;c=b(597);y=b(602);b=b(593);a.cothDependencies={BigNumberDepen... | 3,565 | 3,565 | 0.764937 |
aec56edd43fec2c19887e9c2548c607a8122bf20 | 2,790 | js | JavaScript | sw_app/src/App.js | roberuto/mono_repo_example | 4f7738a66677e6ac0eff9035196abe80a3740f81 | [
"MIT"
] | null | null | null | sw_app/src/App.js | roberuto/mono_repo_example | 4f7738a66677e6ac0eff9035196abe80a3740f81 | [
"MIT"
] | null | null | null | sw_app/src/App.js | roberuto/mono_repo_example | 4f7738a66677e6ac0eff9035196abe80a3740f81 | [
"MIT"
] | 13 | 2019-01-17T12:00:25.000Z | 2019-01-24T12:05:48.000Z | // @flow
import React, { Component } from 'react';
import { ListWrapper, Tile, Modal, Pagination, AppContainer, DataSource, Header } from '@qh4r/library';
import { LocalizationProvider } from '@qh4r/localization';
import logo from './starwars.png';
import * as styles from './App.module.scss';
import { CharacterDetails... | 30 | 110 | 0.485663 |
aec64b9762a47551435133544e0b2dcb8919f1f4 | 2,828 | js | JavaScript | addons/lunch/static/src/js/lunch_model_extension.js | SHIVJITH/Odoo_Machine_Test | 310497a9872db7844b521e6dab5f7a9f61d365a4 | [
"Apache-2.0"
] | null | null | null | addons/lunch/static/src/js/lunch_model_extension.js | SHIVJITH/Odoo_Machine_Test | 310497a9872db7844b521e6dab5f7a9f61d365a4 | [
"Apache-2.0"
] | null | null | null | addons/lunch/static/src/js/lunch_model_extension.js | SHIVJITH/Odoo_Machine_Test | 310497a9872db7844b521e6dab5f7a9f61d365a4 | [
"Apache-2.0"
] | null | null | null | odoo.define("lunch/static/src/js/lunch_model_extension.js", function (require) {
"use strict";
const ActionModel = require("web/static/src/js/views/action_model.js");
class LunchModelExtension extends ActionModel.Extension {
//---------------------------------------------------------------------
... | 28 | 80 | 0.376945 |
aec6c12d05b09cd002b5d6d5964690310bb66b80 | 991 | js | JavaScript | public/js/views/statisticPeriod.js | Marina-Aksenova/myfz139 | 2a645fe35e4297d00053c988667e7d58f2e4ce52 | [
"BSD-3-Clause"
] | null | null | null | public/js/views/statisticPeriod.js | Marina-Aksenova/myfz139 | 2a645fe35e4297d00053c988667e7d58f2e4ce52 | [
"BSD-3-Clause"
] | null | null | null | public/js/views/statisticPeriod.js | Marina-Aksenova/myfz139 | 2a645fe35e4297d00053c988667e7d58f2e4ce52 | [
"BSD-3-Clause"
] | null | null | null | $(document).ready(function() {
var period = $('select').val();
if(period == '5'){
$("input[name='dateCalendarFirst']").parent().show();
$("input[name='dateCalendarLast']").parent().show();
} else
{
$("input[name='dateCalendarFirst']").parent().hide();
$("input[name='date... | 26.783784 | 61 | 0.52775 |
aec7a1e27ffafefe41e70004b3b3105be9ebdab5 | 1,127 | js | JavaScript | components/Navigation/Navigation.js | palcisto/draftKingReactUI | ad193e9ca698ebaf5a0746620497a2ec447d882d | [
"MIT"
] | null | null | null | components/Navigation/Navigation.js | palcisto/draftKingReactUI | ad193e9ca698ebaf5a0746620497a2ec447d882d | [
"MIT"
] | null | null | null | components/Navigation/Navigation.js | palcisto/draftKingReactUI | ad193e9ca698ebaf5a0746620497a2ec447d882d | [
"MIT"
] | null | null | null | /**
* React Static Boilerplate
* https://github.com/koistya/react-static-boilerplate
* Copyright (c) Konstantin Tarkus (@koistya) | MIT license
*/
import React from 'react';
import './Navigation.scss';
import Link from '../Link';
function Navigation() {
return (
<ul className="c-navigation" role="menu">
... | 33.147059 | 103 | 0.658385 |
aec7d83e0c898149742a857415513930f4f87776 | 1,560 | js | JavaScript | test/jsverify-env.js | fangel/Herbie | 90637d4b06503d8b24b30c8d3890a2ebb9f66e11 | [
"MIT"
] | 6 | 2015-05-31T21:24:41.000Z | 2020-01-10T01:33:46.000Z | test/jsverify-env.js | fangel/Herbie | 90637d4b06503d8b24b30c8d3890a2ebb9f66e11 | [
"MIT"
] | null | null | null | test/jsverify-env.js | fangel/Herbie | 90637d4b06503d8b24b30c8d3890a2ebb9f66e11 | [
"MIT"
] | null | null | null | var jsc = require("jsverify")
, _ = require("lodash")
, G_Counter = require("../lib/g-counter")
var set = function (arb) {
var arrayArb = jsc.array(arb);
return {
generator: arrayArb.generator.map(_.uniq),
shrink: arrayArb.shrink.isomap(_.uniq, _.identity),
show: arrayArb.show
}
}
function fromA... | 24 | 72 | 0.610897 |