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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
c18a0202eb74f4e4df865dee6e2e00c8fbc4fa03 | 2,413 | js | JavaScript | Superbadge/force-app/main/default/lwc/boatAddReviewForm/boatAddReviewForm.js | 75asa/lwcSuperBadgeTrail | 9187c65da56779d9365fbcd05252dbeaa713869a | [
"MIT"
] | null | null | null | Superbadge/force-app/main/default/lwc/boatAddReviewForm/boatAddReviewForm.js | 75asa/lwcSuperBadgeTrail | 9187c65da56779d9365fbcd05252dbeaa713869a | [
"MIT"
] | null | null | null | Superbadge/force-app/main/default/lwc/boatAddReviewForm/boatAddReviewForm.js | 75asa/lwcSuperBadgeTrail | 9187c65da56779d9365fbcd05252dbeaa713869a | [
"MIT"
] | null | null | null | import { api, LightningElement } from 'lwc';
// imports
import BOAT_REVIEW_OBJECT from '@salesforce/schema/BoatReview__c';
import NAME_FIELD from '@salesforce/schema/BoatReview__c.Name';
import COMMENT_FIELD from '@salesforce/schema/BoatReview__c.Comment__c';
import { ShowToastEvent } from 'lightning/platformShowToast... | 33.054795 | 84 | 0.673436 |
c18baedb00f9a907ecd0327a45fb6c48447f7a67 | 248 | js | JavaScript | src/components/dashboard/mainContent/staffDuty.js | bankoleoye/DecamealFrontend | a6f69108063fc6af858386a5bde3b87d55eb0f7d | [
"MIT"
] | null | null | null | src/components/dashboard/mainContent/staffDuty.js | bankoleoye/DecamealFrontend | a6f69108063fc6af858386a5bde3b87d55eb0f7d | [
"MIT"
] | null | null | null | src/components/dashboard/mainContent/staffDuty.js | bankoleoye/DecamealFrontend | a6f69108063fc6af858386a5bde3b87d55eb0f7d | [
"MIT"
] | null | null | null | import { Box } from "@mui/material";
const StaffDuty = () => {
return (
<Box
style={{
display: "flex",
padding: "1em",
backgroundColor: "yellow",
}}
>STAFFDUTY</Box>
);
};
export default StaffDuty;
| 15.5 | 36 | 0.516129 |
c18bd1452224fa1b5dafd0ff997b6aa31752ce7e | 131 | js | JavaScript | client/music.js | carlosbkm/bukisync-starter | aa3391e2ffe7c9b1a4f35f893ef5db92c89e7c7d | [
"MIT"
] | null | null | null | client/music.js | carlosbkm/bukisync-starter | aa3391e2ffe7c9b1a4f35f893ef5db92c89e7c7d | [
"MIT"
] | null | null | null | client/music.js | carlosbkm/bukisync-starter | aa3391e2ffe7c9b1a4f35f893ef5db92c89e7c7d | [
"MIT"
] | null | null | null | // Polymer body fixes
Meteor.startup(function() {
$('body').attr('class', 'fullbleed layout vertical');
});
var app = $('#app'); | 21.833333 | 55 | 0.625954 |
c18c52a90a388770b3ff2a2e3f2b4f76c9990372 | 5,519 | js | JavaScript | index.js | akoskm/eslint-config-shyp | c7ada6eb7f496721a62b3ee9eabc975baf87b28c | [
"MIT"
] | null | null | null | index.js | akoskm/eslint-config-shyp | c7ada6eb7f496721a62b3ee9eabc975baf87b28c | [
"MIT"
] | 8 | 2016-02-08T23:24:50.000Z | 2018-03-12T21:18:56.000Z | index.js | akoskm/eslint-config-shyp | c7ada6eb7f496721a62b3ee9eabc975baf87b28c | [
"MIT"
] | 4 | 2015-11-27T21:17:50.000Z | 2018-06-03T09:31:31.000Z | // Rules are grouped by the same sections as http://eslint.org/docs/rules/
const possibleErrors = {
// Disallow the use of `console`
'no-console': 2,
// Ensure objects do not contain duplicate keys
'no-dupe-keys': 2,
// No multiline statements that look like separate statements
'no-unexpected-multiline':... | 22.618852 | 105 | 0.653379 |
c18d3e6a599994de96f3a776818d65d9d5f1cc4d | 142 | js | JavaScript | packages/project-utils/bundling/function/index.js | bluengreen/webiny-js | 11c9c4ee50f739604a4488b9ce189d2af92bca5b | [
"MIT"
] | 6 | 2021-12-29T06:57:33.000Z | 2022-03-16T10:21:42.000Z | packages/project-utils/bundling/function/index.js | bluengreen/webiny-js | 11c9c4ee50f739604a4488b9ce189d2af92bca5b | [
"MIT"
] | 1 | 2022-01-05T00:56:15.000Z | 2022-01-05T00:56:35.000Z | packages/project-utils/bundling/function/index.js | bluengreen/webiny-js | 11c9c4ee50f739604a4488b9ce189d2af92bca5b | [
"MIT"
] | 1 | 2022-02-17T08:20:40.000Z | 2022-02-17T08:20:40.000Z | module.exports.createBuildFunction = require("./createBuildFunction");
module.exports.createWatchFunction = require("./createWatchFunction");
| 47.333333 | 70 | 0.816901 |
c18e23e89d4ba51e8243c371effd5ea0284ef95d | 951 | js | JavaScript | src/components/Header.js | weeb-anime/weeb-front-end | d8e79f302bfdb34825b33392ddfbb284a10ef704 | [
"MIT"
] | null | null | null | src/components/Header.js | weeb-anime/weeb-front-end | d8e79f302bfdb34825b33392ddfbb284a10ef704 | [
"MIT"
] | 8 | 2021-10-05T05:07:34.000Z | 2021-10-08T16:46:11.000Z | src/components/Header.js | weeb-anime/weeb-front-end | d8e79f302bfdb34825b33392ddfbb284a10ef704 | [
"MIT"
] | null | null | null | import { Component } from 'react';
import Navbar from 'react-bootstrap/Navbar';
import NavItem from 'react-bootstrap/NavItem';
import { Link } from 'react-router-dom';
import Container from 'react-bootstrap/Container';
import LogoutButton from './LogoutButton';
import './SuggestAnime.css'
class Header extends Componen... | 24.384615 | 53 | 0.527865 |
c18f0ea17389c000d9c7737fd0a37d1f4aa9ce80 | 703 | js | JavaScript | packages/babel-helper-create-class-features-plugin/src/typescript.js | wuweiweiwu/babel | 296d8ce179cac84f981933efcd892ec0c6e2a93b | [
"MIT"
] | 15 | 2021-04-05T23:08:24.000Z | 2022-03-30T08:17:02.000Z | packages/babel-helper-create-class-features-plugin/src/typescript.js | wuweiweiwu/babel | 296d8ce179cac84f981933efcd892ec0c6e2a93b | [
"MIT"
] | 137 | 2018-12-15T21:01:14.000Z | 2020-06-09T01:19:19.000Z | packages/babel-helper-create-class-features-plugin/src/typescript.js | wuweiweiwu/babel | 296d8ce179cac84f981933efcd892ec0c6e2a93b | [
"MIT"
] | 7 | 2019-10-16T21:49:49.000Z | 2021-05-21T09:48:59.000Z | // @flow
import type { NodePath } from "@babel/traverse";
export function assertFieldTransformed(path: NodePath) {
// TODO (Babel 8): Also check path.node.definite
if (path.node.declare) {
throw path.buildCodeFrameError(
`TypeScript 'declare' fields must first be transformed by ` +
`@babel/plug... | 35.15 | 95 | 0.661451 |
c190797ff5777788dea74564baf82859986b9363 | 1,023 | js | JavaScript | src/components/buttonLink.js | dattran1999/the-daily-consults-blog | a2236e29699e09bfd3e4dab1775920b528ec8683 | [
"RSA-MD"
] | null | null | null | src/components/buttonLink.js | dattran1999/the-daily-consults-blog | a2236e29699e09bfd3e4dab1775920b528ec8683 | [
"RSA-MD"
] | null | null | null | src/components/buttonLink.js | dattran1999/the-daily-consults-blog | a2236e29699e09bfd3e4dab1775920b528ec8683 | [
"RSA-MD"
] | null | null | null | import React from 'react';
import styled from 'styled-components';
import { colors } from '../theme';
const ButtonLink = ({ children, type, ...rest }) => {
return (
<a {...rest}>
<Button type={type} colors={colors}>
{children}
</Button>
</a>
)
}
const Button = styled.div`
/* width: ... | 24.357143 | 82 | 0.5826 |
c19127706f64423875c7c1c12b8141c0e2f5e1bc | 600 | js | JavaScript | src/syntax/operator.js | ChizoDev/Keiryo | 0873fb49e975d3952e26399f0ea0ad6c976004a7 | [
"MIT"
] | null | null | null | src/syntax/operator.js | ChizoDev/Keiryo | 0873fb49e975d3952e26399f0ea0ad6c976004a7 | [
"MIT"
] | null | null | null | src/syntax/operator.js | ChizoDev/Keiryo | 0873fb49e975d3952e26399f0ea0ad6c976004a7 | [
"MIT"
] | null | null | null | /* Operators */
export const operator = new Map([
['~', 'Tilde'],
['!', 'Not'],
['@', 'At'],
['$', 'Dollar'],
['%', 'Percent'],
['^', 'Caret'],
['&', 'And'],
['*', 'Star'],
['(', 'ParenL'],
[')', 'ParenR'],
['-', 'Minus'],
['+', 'Plus'],
['=', 'Equal'],
... | 20.689655 | 34 | 0.273333 |
c1913998d5ab5633fd24887e295a6f0954a0fd63 | 372 | js | JavaScript | api/test/pretest/reset_collections.js | RobinJayaswal/18w-si32 | e5ae486c916e356d187b74a97ab4d8a6072cfba6 | [
"MIT"
] | 3 | 2018-02-24T06:33:50.000Z | 2018-04-26T20:14:19.000Z | api/test/pretest/reset_collections.js | RobinJayaswal/18w-si32 | e5ae486c916e356d187b74a97ab4d8a6072cfba6 | [
"MIT"
] | 199 | 2018-02-22T22:58:04.000Z | 2022-03-25T18:25:05.000Z | api/test/pretest/reset_collections.js | dartmouth-cs98/18w-si32 | e5ae486c916e356d187b74a97ab4d8a6072cfba6 | [
"MIT"
] | 1 | 2020-04-26T02:57:26.000Z | 2020-04-26T02:57:26.000Z | const models = require("../../app/models");
const Promise = require("bluebird");
module.exports = function() {
/***** DROP ALL COLLECTIONS ******/
return Promise.map(Object.keys(models), model => {
return new Promise((resolve, reject) => {
models[model].remove({}, function(err) {
if (err) reject(... | 24.8 | 52 | 0.55914 |
c1915aad9cbdbfa77f3cfaae8e02aa2f5656342c | 551 | js | JavaScript | components/Paragraph/Paragraph.js | packedmess/chillicode | 0dcb613f7280776137ae48715c1c8fd0cac5f38c | [
"MIT"
] | 1 | 2022-03-09T00:04:46.000Z | 2022-03-09T00:04:46.000Z | components/Paragraph/Paragraph.js | packedmess/chillicode | 0dcb613f7280776137ae48715c1c8fd0cac5f38c | [
"MIT"
] | null | null | null | components/Paragraph/Paragraph.js | packedmess/chillicode | 0dcb613f7280776137ae48715c1c8fd0cac5f38c | [
"MIT"
] | null | null | null | // Vendor
import PropTypes from 'prop-types';
import cn from 'classnames';
// Internals
import style from './style.module.scss';
function Paragraph({children, gutterBottom, ...props}) {
const classes = cn({
[style.Paragraph]: true,
[style.gutterBottom]: gutterBottom,
});
return (
<p className={class... | 18.366667 | 56 | 0.673321 |
c191e25e4aeb820d5ac853ced60c6348b5420522 | 958 | js | JavaScript | SPAWithAngularJS/module2/module2-solution/js/app.shoppingListCheckOffService.js | var-bin/angularjs-training | 47761cb29be9487e3198b90bcf91ca5a1cf98aa0 | [
"MIT"
] | 1 | 2018-09-25T01:05:15.000Z | 2018-09-25T01:05:15.000Z | SPAWithAngularJS/module2/module2-solution/js/app.shoppingListCheckOffService.js | var-bin/angularjs-training | 47761cb29be9487e3198b90bcf91ca5a1cf98aa0 | [
"MIT"
] | 1 | 2017-06-26T11:08:31.000Z | 2017-06-26T11:10:29.000Z | SPAWithAngularJS/module2/module2-solution/js/app.shoppingListCheckOffService.js | var-bin/angularjs-training | 47761cb29be9487e3198b90bcf91ca5a1cf98aa0 | [
"MIT"
] | null | null | null | // app.shoppingListCheckOffService.js
(function() {
"use strict";
angular.module("ShoppingListCheckOff")
.service("ShoppingListCheckOffService", ShoppingListCheckOffService);
function ShoppingListCheckOffService() {
let service = this;
let toBuyItems = [
{
name: "cookies",
qu... | 19.16 | 73 | 0.605428 |
c1931fa8b8191e9442ac1263dc29bfe45fecef17 | 2,478 | js | JavaScript | src/components/Navigation.js | goleedev/ohsung-realestate | 0a8f6018e238259546ebc562e69763b224f2d633 | [
"MIT"
] | null | null | null | src/components/Navigation.js | goleedev/ohsung-realestate | 0a8f6018e238259546ebc562e69763b224f2d633 | [
"MIT"
] | null | null | null | src/components/Navigation.js | goleedev/ohsung-realestate | 0a8f6018e238259546ebc562e69763b224f2d633 | [
"MIT"
] | null | null | null | import React from 'react'
import { Link } from 'react-router-dom';
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
import { faPhoneVolume } from "@fortawesome/free-solid-svg-icons";
import { Nav } from "react-bootstrap";
import './Navigation.css';
const Navigation = () => {
function openNav() {
... | 39.967742 | 111 | 0.5 |
c1944bb8b9fa9745c32d167937e7445efb6c7bf4 | 620 | js | JavaScript | src/firebase.js | stackbit-projects/school-amadodedios-b2ff2 | 345abde333e5223f4ec148e4f77af814943863f7 | [
"MIT"
] | null | null | null | src/firebase.js | stackbit-projects/school-amadodedios-b2ff2 | 345abde333e5223f4ec148e4f77af814943863f7 | [
"MIT"
] | 1 | 2021-02-18T03:21:18.000Z | 2021-02-18T03:21:18.000Z | src/firebase.js | stackbit-projects/school-amadodedios-b2ff2 | 345abde333e5223f4ec148e4f77af814943863f7 | [
"MIT"
] | null | null | null | import firebase from "firebase/app";
import 'firebase/firestore'
// For Firebase JS SDK v7.20.0 and later, measurementId is optional
const firebaseConfig = {
apiKey: "AIzaSyCUZjzSGs66N4YIKksu-z-hX28nkLVAuig",
authDomain: "amado-de-dios.firebaseapp.com",
databaseURL: "https://amado-de-dios.firebaseio.com",
... | 36.470588 | 67 | 0.737097 |
c1950b53be31b12009aa0e6420cf4bc50ad389fb | 2,640 | js | JavaScript | app.js | Ssysshy/garage-back | 28aa979ba75b2ffca52d637d53c0363369e25554 | [
"MIT"
] | null | null | null | app.js | Ssysshy/garage-back | 28aa979ba75b2ffca52d637d53c0363369e25554 | [
"MIT"
] | null | null | null | app.js | Ssysshy/garage-back | 28aa979ba75b2ffca52d637d53c0363369e25554 | [
"MIT"
] | null | null | null | const express = require('express');
const createError = require('http-errors');
const path = require('path');
// 日志记录
const logger = require('morgan');
const fs = require('fs');
const FileStreamRotator = require('file-stream-rotator');
// cookie储存
const cookieParser = require('cookie-parser');
const bodyParser = requ... | 29.333333 | 69 | 0.691667 |
c195dc360d746e56a941572c7ff6db4776c2564c | 315 | js | JavaScript | Oasis.js | civ-clone/base-terrain-feature-oasis | e7d7c83fe8017dfb8adea30d974167189ced66a3 | [
"MIT"
] | null | null | null | Oasis.js | civ-clone/base-terrain-feature-oasis | e7d7c83fe8017dfb8adea30d974167189ced66a3 | [
"MIT"
] | null | null | null | Oasis.js | civ-clone/base-terrain-feature-oasis | e7d7c83fe8017dfb8adea30d974167189ced66a3 | [
"MIT"
] | null | null | null | "use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Oasis = void 0;
const TerrainFeature_1 = require("@civ-clone/core-terrain-feature/TerrainFeature");
class Oasis extends TerrainFeature_1.default {
}
exports.Oasis = Oasis;
exports.default = Oasis;
//# sourceMappingURL=Oasis.js.map | 35 | 83 | 0.768254 |
c19651b5dfab4b382ba23906eea4aae00cabe45d | 18,838 | js | JavaScript | app/scenes/checkoutScreen/container/index.js | Freediees/tractogo | 901f43b5287406cb331334ee567f340656fc27a9 | [
"MIT"
] | null | null | null | app/scenes/checkoutScreen/container/index.js | Freediees/tractogo | 901f43b5287406cb331334ee567f340656fc27a9 | [
"MIT"
] | null | null | null | app/scenes/checkoutScreen/container/index.js | Freediees/tractogo | 901f43b5287406cb331334ee567f340656fc27a9 | [
"MIT"
] | null | null | null | /* eslint-disable react/prop-types */
import React, { useState, useEffect, useCallback } from 'react'
import { connect } from 'react-redux'
import { PropTypes } from 'prop-types'
import I18n from 'react-native-i18n'
import Moment from 'moment'
import { Alert } from 'react-native'
import CheckoutScreenActions from 'scen... | 37.30297 | 97 | 0.648901 |
c19734172c3ccb0ed57507487624a7f797be178d | 1,335 | js | JavaScript | coms/basic/queue.js | yunxu1019/efront | b30398485e702785ae7360190e50fe329addcfb3 | [
"MIT"
] | 1 | 2019-04-26T02:56:54.000Z | 2019-04-26T02:56:54.000Z | coms/basic/queue.js | yunxu1019/efront | b30398485e702785ae7360190e50fe329addcfb3 | [
"MIT"
] | 3 | 2019-06-10T02:59:29.000Z | 2021-06-06T01:09:58.000Z | coms/basic/queue.js | yunxu1019/efront | b30398485e702785ae7360190e50fe329addcfb3 | [
"MIT"
] | 1 | 2020-08-16T03:19:29.000Z | 2020-08-16T03:19:29.000Z | "use strict";
function queue(list, count = 1, context = null) {
var f = this;
if (list instanceof Function) {
f = list;
list = this;
}
if (count instanceof Object) {
let temp = count;
count = context || temp;
context = temp;
}
return new Promise(function (... | 26.7 | 75 | 0.428464 |
c1973839d90e4a69e3ad25fa1dc579e989b6dae2 | 348 | js | JavaScript | api/notifications/badge.create.owner/notification.js | BCDevOps/openopps-platform | fe48b19563e044c9363564c2e9eea62867fe67c2 | [
"CC0-1.0"
] | 34 | 2015-11-25T21:35:08.000Z | 2017-03-25T22:56:23.000Z | api/notifications/badge.create.owner/notification.js | BCDevOps/openopps-platform | fe48b19563e044c9363564c2e9eea62867fe67c2 | [
"CC0-1.0"
] | 176 | 2015-11-18T15:01:43.000Z | 2016-11-21T18:22:26.000Z | api/notifications/badge.create.owner/notification.js | BCDevOps/openopps-platform | fe48b19563e044c9363564c2e9eea62867fe67c2 | [
"CC0-1.0"
] | 25 | 2015-11-28T08:58:28.000Z | 2021-02-14T11:42:28.000Z | module.exports = {
subject: 'You earned a new badge',
to: '<%= user.username %>',
/*
* Prepares the data object to render templates
* @param {Notification} notification model
* @param {function} callback called with err, data
* data.globals defaults to sails.config
*/
data: function(data, done) {
... | 20.470588 | 52 | 0.649425 |
c1999188b40b9ed30026a1ea3a939ad036cf796d | 2,093 | js | JavaScript | public/show-password.js | bakunya/laravel-blog | 02ab621d3b3729f694c6886f212420ae3345b4d0 | [
"MIT"
] | 1 | 2022-01-09T12:02:47.000Z | 2022-01-09T12:02:47.000Z | public/show-password.js | bakunya/laravel-blog | 02ab621d3b3729f694c6886f212420ae3345b4d0 | [
"MIT"
] | null | null | null | public/show-password.js | bakunya/laravel-blog | 02ab621d3b3729f694c6886f212420ae3345b4d0 | [
"MIT"
] | null | null | null | window.addEventListener('DOMContentLoaded', () => {
const passwordGroup = document.getElementById('password-group')
const eye = `
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-eye" viewBox="0 0 16 16">
<path d="M16 8s-3-5.5-8-5.5S0 8 0 8s3 5.5 8 5.5S... | 77.518519 | 345 | 0.616818 |
c19a647c6f81cf7e74d29d81cb448274e1007323 | 390 | js | JavaScript | client/src/components/App.js | narodain/react-express-mongo-ecommerce | 7ecc2b5ffa6f7a5b56bd1319da335cc7847bc309 | [
"MIT"
] | 32 | 2019-04-22T06:28:37.000Z | 2022-03-06T03:30:38.000Z | client/src/components/App.js | narodain/react-express-mongo-ecommerce | 7ecc2b5ffa6f7a5b56bd1319da335cc7847bc309 | [
"MIT"
] | 5 | 2020-04-05T12:15:41.000Z | 2022-02-27T23:15:54.000Z | client/src/components/App.js | narodain/react-express-mongo-ecommerce | 7ecc2b5ffa6f7a5b56bd1319da335cc7847bc309 | [
"MIT"
] | 26 | 2019-11-13T20:09:00.000Z | 2022-02-16T16:44:05.000Z | import React from 'react';
import Header from './layout/header/Header';
import Footer from './layout/footer/Footer';
import FloatButton from '../components/layout/header/nav/FloatButton';
import './App.css';
const App = props => (
<div className="container">
<div>
<Header />
{props.children}
</di... | 20.526316 | 70 | 0.646154 |
c19ad5ab78f71542e380e1dbe748c8cf2f6c8cfc | 276 | js | JavaScript | server/parts/fireblast-core/app/core/00_logger.js | mindfreakthemon-archive/revolt | 11c6e4117c09ed637f43129c5cee9b9d15f36176 | [
"MIT"
] | null | null | null | server/parts/fireblast-core/app/core/00_logger.js | mindfreakthemon-archive/revolt | 11c6e4117c09ed637f43129c5cee9b9d15f36176 | [
"MIT"
] | null | null | null | server/parts/fireblast-core/app/core/00_logger.js | mindfreakthemon-archive/revolt | 11c6e4117c09ed637f43129c5cee9b9d15f36176 | [
"MIT"
] | null | null | null | import winston from 'winston';
export default function () {
var app = this;
app.logger = winston;
winston.remove(winston.transports.Console);
winston.add(winston.transports.Console, {
colorize: true,
level: 'debug'
});
app.logger.debug('initialized logged');
}
| 16.235294 | 44 | 0.706522 |
c19addbc32408e717ff5adb66f23428bebc4f5f6 | 565 | js | JavaScript | __tests__/Manager.test.js | MiernickiElijah/Warlock | 33a06a59702016cddcb61a2a5a7760d4b79a39df | [
"MIT"
] | 1 | 2021-06-23T00:34:06.000Z | 2021-06-23T00:34:06.000Z | __tests__/Manager.test.js | MiernickiElijah/Warlock | 33a06a59702016cddcb61a2a5a7760d4b79a39df | [
"MIT"
] | null | null | null | __tests__/Manager.test.js | MiernickiElijah/Warlock | 33a06a59702016cddcb61a2a5a7760d4b79a39df | [
"MIT"
] | null | null | null | const Manager = require('../lib/Manager');
test("can getRole() retrieve Manager", () => {
const flurp = "Manager";
const e = new Manager("Me", 1, "me@me", "myofficeNum");
expect(e.getRole()).toBe(flurp);
});
test("can set officeNum", () => {
const officeNum = 2;
const e = new Manager("Me", 1, "me... | 28.25 | 59 | 0.59292 |
c19de5bbbff170259e4375065d8c6893218a27c3 | 733 | js | JavaScript | pages/index.js | srestrepoee/bogogames | 89506e650f079a663cf4262f05c9cf6649b9cd78 | [
"MIT"
] | null | null | null | pages/index.js | srestrepoee/bogogames | 89506e650f079a663cf4262f05c9cf6649b9cd78 | [
"MIT"
] | null | null | null | pages/index.js | srestrepoee/bogogames | 89506e650f079a663cf4262f05c9cf6649b9cd78 | [
"MIT"
] | null | null | null | import Layout from '../components/layouts/default'
import { getSortedPostsData } from '../lib/posts'
export async function getStaticProps() {
const allPostsData = getSortedPostsData()
return {
props: {
allPostsData
}
}
}
const Posts = ({allPostsData}) =>
<ul className="">
{allPostsData.map... | 17.046512 | 64 | 0.526603 |
c19efe1b0b0d7d510dcdace7a371c35f46be291c | 395 | js | JavaScript | models/vehicle.js | zegilooo/testvirtuo | 62aef0718d8db3fc103100104b2294c70db3eac0 | [
"MIT"
] | null | null | null | models/vehicle.js | zegilooo/testvirtuo | 62aef0718d8db3fc103100104b2294c70db3eac0 | [
"MIT"
] | null | null | null | models/vehicle.js | zegilooo/testvirtuo | 62aef0718d8db3fc103100104b2294c70db3eac0 | [
"MIT"
] | null | null | null | import mongoose from 'mongoose'
const vehicleSchema = new mongoose.Schema ({
'plate': { type: String, required: true, trim: true },
'mileage': Number,
'fuel': Number,
'gps': {
'latitude': Number,
'longitude': Number
},
'capture_at': { type: Date, default: Date.now }
})
const vehicleModule = mongo... | 23.235294 | 71 | 0.675949 |
c19f227aa590f6ad5d2d6119bd0af66bd1fdcbf8 | 22,361 | js | JavaScript | aristotle/static/scripts/cc.js | jermnelson/Discover-Aristotle | cc1ff79915d715801890a3a8642099304916adfa | [
"Apache-2.0"
] | 7 | 2015-03-13T09:56:16.000Z | 2021-05-03T13:39:05.000Z | aristotle/static/scripts/cc.js | jermnelson/Discover-Aristotle | cc1ff79915d715801890a3a8642099304916adfa | [
"Apache-2.0"
] | 1 | 2021-04-06T16:30:00.000Z | 2021-04-06T16:43:57.000Z | aristotle/static/scripts/cc.js | jermnelson/Discover-Aristotle | cc1ff79915d715801890a3a8642099304916adfa | [
"Apache-2.0"
] | 2 | 2015-12-18T16:51:07.000Z | 2016-02-26T09:56:42.000Z | /**
* Colorado College
* by White Whale Web Services
* http://whitewhale.net
*/
var dotBulletsAvailable = 3,
homepageTimeout,
homepageFired = false,
openNav = false;
$(document).ready(function() {
addCalendarIcons();
addRandomSubnavigationBullets();
startNavigationCollapse();
startPlaceholder();... | 26.092182 | 187 | 0.593981 |
c19f2f3be4857b065e96c0f6fcebc2013422d16a | 10,447 | js | JavaScript | joi/lib/validator.js | Johannesduvenage/dragon | 4e4f347765c24787c68033bd4208a43359c5fdb9 | [
"MIT"
] | null | null | null | joi/lib/validator.js | Johannesduvenage/dragon | 4e4f347765c24787c68033bd4208a43359c5fdb9 | [
"MIT"
] | 12 | 2020-09-16T08:15:26.000Z | 2022-01-06T10:02:02.000Z | joi/lib/validator.js | Johannesduvenage/dragon | 4e4f347765c24787c68033bd4208a43359c5fdb9 | [
"MIT"
] | 1 | 2022-03-15T22:57:07.000Z | 2022-03-15T22:57:07.000Z | 'use strict';
const Hoek = require('@hapi/hoek');
const Common = require('./common');
const Errors = require('./errors');
const internals = {};
exports.entry = function (value, schema, prefs) {
if (prefs) {
schema.checkPreferences(prefs);
}
const mainstay = {};
const settings = Common.pr... | 27.205729 | 180 | 0.552407 |
c1a106e695f9e8fd9cbb6aa916f357762266a567 | 1,103 | js | JavaScript | lib/constants.js | raincatcher-beta/raincatcher-workflow-angular | 1d58641fc9a08ef096a867713e1ead247a2f43fe | [
"MIT"
] | null | null | null | lib/constants.js | raincatcher-beta/raincatcher-workflow-angular | 1d58641fc9a08ef096a867713e1ead247a2f43fe | [
"MIT"
] | 1 | 2017-11-09T08:19:19.000Z | 2017-11-09T08:19:19.000Z | lib/constants.js | raincatcher-beta/raincatcher-workflow-angular | 1d58641fc9a08ef096a867713e1ead247a2f43fe | [
"MIT"
] | null | null | null | module.exports = {
WORKFLOW_MODULE_ID: "wfm.workflow",
WORKFLOW_DIRECTIVE_MODULE: "wfm.workflow.directives",
WORKFLOWS_ENTITY_NAME: "workflows",
WORKORDER_ENTITY_NAME: "workorders",
WORKFLOW_UI_TOPIC_PREFIX: "wfm:ui",
RESULTS_ENTITY_NAME: "results",
SYNC_TOPIC_PREFIX: "wfm:sync",
USERS_ENTITY_NAME: "use... | 25.651163 | 55 | 0.662738 |
c1a19a1d9647b0fc948fb60e04120ff829a075b8 | 500 | js | JavaScript | backend/config/db.config.js | cpainterwakefield/fs-team-assembler | f22268bd1a3038a735ab6fc9216d3641c261cadf | [
"Apache-2.0"
] | 2 | 2020-05-18T18:00:47.000Z | 2020-05-20T03:18:31.000Z | backend/config/db.config.js | cpainterwakefield/fs-team-assembler | f22268bd1a3038a735ab6fc9216d3641c261cadf | [
"Apache-2.0"
] | null | null | null | backend/config/db.config.js | cpainterwakefield/fs-team-assembler | f22268bd1a3038a735ab6fc9216d3641c261cadf | [
"Apache-2.0"
] | null | null | null | module.exports = {
HOST: "127.0.0.1",
USER: "postgres",
PASSWORD: "UwU",
DB: "somedb",
dialect: "postgres",
pool:{
//Max num of connections in pool
max: 69,
//Min num of connections in pool
min: 0,
//Max time in milliseconds that pool will try to get conne... | 26.315789 | 87 | 0.576 |
c1a361f6d8234039584e7d3de9814aff58d98448 | 322 | js | JavaScript | src/components/logo/Logo.js | habedi71/react-face-detection | a48d927323859c845df3a5272b81fb87f593c25b | [
"MIT"
] | null | null | null | src/components/logo/Logo.js | habedi71/react-face-detection | a48d927323859c845df3a5272b81fb87f593c25b | [
"MIT"
] | null | null | null | src/components/logo/Logo.js | habedi71/react-face-detection | a48d927323859c845df3a5272b81fb87f593c25b | [
"MIT"
] | null | null | null | import React from "react";
import brain from "./brain.png";
import "./logo.css";
const Logo = () => {
return (
<div className="row">
<div className="bg-primary">
<img src={brain} alt="Brain Logo" style={{ width: "100px", height: "100px" }} />{" "}
</div>
</div>
);
};
export default Logo;... | 20.125 | 90 | 0.555901 |
c1a3a26aa91f2bddb89f6e5152278c3f23be5ad1 | 3,314 | js | JavaScript | awesome/liangqing/static/js/pages-my-about.aea4934a.js | zhouyu1993/zhouyu1993.github.io | 6c72cdfbd54c4182c6bd715011e632ce949eaad1 | [
"MIT"
] | 7 | 2017-09-28T14:13:29.000Z | 2019-11-07T14:56:08.000Z | awesome/liangqing/static/js/pages-my-about.aea4934a.js | zhouyu1993/zhouyu1993.github.io | 6c72cdfbd54c4182c6bd715011e632ce949eaad1 | [
"MIT"
] | null | null | null | awesome/liangqing/static/js/pages-my-about.aea4934a.js | zhouyu1993/zhouyu1993.github.io | 6c72cdfbd54c4182c6bd715011e632ce949eaad1 | [
"MIT"
] | null | null | null | (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-my-about"],{"0551":function(t,e,n){e=t.exports=n("2350")(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便... | 3,314 | 3,314 | 0.694327 |
c1a4fad7b16ad1438548c48f7836504dc0bb97f3 | 9,541 | js | JavaScript | secure-local-storage.js | BosNaufal/secure-local-storage | ed6f32edc88d78b75ec91b347e808ed3954abdf2 | [
"MIT"
] | 34 | 2016-03-21T03:17:25.000Z | 2020-05-09T12:25:35.000Z | secure-local-storage.js | BosNaufal/secure-local-storage | ed6f32edc88d78b75ec91b347e808ed3954abdf2 | [
"MIT"
] | 4 | 2016-03-21T06:13:06.000Z | 2017-10-05T06:35:31.000Z | secure-local-storage.js | BosNaufal/secure-local-storage | ed6f32edc88d78b75ec91b347e808ed3954abdf2 | [
"MIT"
] | 7 | 2016-03-21T09:14:26.000Z | 2022-02-23T11:14:54.000Z | /*! Copyright (c) 2016 Naufal Rabbani (https://github.com/BosNaufal)
* Licensed Under MIT (http://opensource.org/licenses/MIT)
*
* Secure Local Storage - Version 1.0.0
*
*/
(function(root){
var root = this;
var alphabet = ['A','B','C','D','E','F','G','H','I','J','K','L','M','N','O','P','Q','R','S','T','U','V','W... | 25.174142 | 267 | 0.607903 |
c1a53387e4d5dae7c7fe38313693ebf7ad5111b4 | 495 | js | JavaScript | code/doxygen/html/namespaceshoot__anything.js | mitchellurgero/illacceptanything | b063e73dbc522f782b957bf51a42171bf14e951a | [
"MIT"
] | 1 | 2017-08-21T19:15:43.000Z | 2017-08-21T19:15:43.000Z | code/doxygen/html/namespaceshoot__anything.js | mitchellurgero/illacceptanything | b063e73dbc522f782b957bf51a42171bf14e951a | [
"MIT"
] | null | null | null | code/doxygen/html/namespaceshoot__anything.js | mitchellurgero/illacceptanything | b063e73dbc522f782b957bf51a42171bf14e951a | [
"MIT"
] | 1 | 2018-10-26T23:46:06.000Z | 2018-10-26T23:46:06.000Z | var namespaceshoot__anything =
[
[ "Bullet", "classshoot__anything_1_1Bullet.html", "classshoot__anything_1_1Bullet" ],
[ "Enemy", "classshoot__anything_1_1Enemy.html", "classshoot__anything_1_1Enemy" ],
[ "GameObject", "classshoot__anything_1_1GameObject.html", "classshoot__anything_1_1GameObject" ],
[... | 61.875 | 102 | 0.773737 |
c1a546c219b80a443e974d86b006418cad86d47b | 100 | js | JavaScript | src/components/shopify/imageGallery/imageThumbnail/styles.js | zachatkinson/rockhound-mama | b910e3642b8a4951661c0540b1ac0a302d1d5e94 | [
"RSA-MD"
] | null | null | null | src/components/shopify/imageGallery/imageThumbnail/styles.js | zachatkinson/rockhound-mama | b910e3642b8a4951661c0540b1ac0a302d1d5e94 | [
"RSA-MD"
] | null | null | null | src/components/shopify/imageGallery/imageThumbnail/styles.js | zachatkinson/rockhound-mama | b910e3642b8a4951661c0540b1ac0a302d1d5e94 | [
"RSA-MD"
] | null | null | null | import styled from "styled-components"
export const ThumbWrap = styled.div`
cursor: pointer;
`
| 16.666667 | 38 | 0.74 |
c1a69b034781531c236dd5f326b8383aeef47f6c | 1,447 | js | JavaScript | lib/log/Logger.js | caribewave/mambo-cron | 1228f531b9eb987148c0b37cd5d6eeaa48993580 | [
"Apache-2.0"
] | null | null | null | lib/log/Logger.js | caribewave/mambo-cron | 1228f531b9eb987148c0b37cd5d6eeaa48993580 | [
"Apache-2.0"
] | null | null | null | lib/log/Logger.js | caribewave/mambo-cron | 1228f531b9eb987148c0b37cd5d6eeaa48993580 | [
"Apache-2.0"
] | null | null | null | const ora = require('ora');
const chalk = require('chalk');
const spinner = ora();
class Logger {
constructor(className) {
this.debugLog = console.debug;
this.log = console.log;
this.errorLog = console.error;
this.className = className ? (className + '-') : '';
this.errorPrefix = '[' + this... | 24.948276 | 89 | 0.553559 |
c1a6dcfe09e01249d2e0a3e3b325d9b7decfef90 | 687 | js | JavaScript | socket/index.js | VNNam/teatime | f8d55b20eefb9ae4bf07929a7955a9a56e844a48 | [
"MIT"
] | null | null | null | socket/index.js | VNNam/teatime | f8d55b20eefb9ae4bf07929a7955a9a56e844a48 | [
"MIT"
] | null | null | null | socket/index.js | VNNam/teatime | f8d55b20eefb9ae4bf07929a7955a9a56e844a48 | [
"MIT"
] | 1 | 2022-01-24T09:23:33.000Z | 2022-01-24T09:23:33.000Z | var socket_io = require('socket.io');
var io = socket_io();
var Events = require('./events');
io.on(Events.SOCKET_CONNECT, function (socket) {
console.log('A user connected');
socket.on(Events.GROUP_CONNECT, ({ groupId }) => {
socket.join(groupId);
});
socket.on(Events.USER_IS_TYPING, ({ groupId, usernam... | 26.423077 | 75 | 0.68559 |
c1a797afae5e7a2d35345b735fc42c35c655a7d8 | 713 | js | JavaScript | documentation/_pad_layer_8cpp.js | elenita1221/ComputeLibrary | 3d2d44ef55ab6b08afda8be48301ce3c55c7bc67 | [
"MIT"
] | null | null | null | documentation/_pad_layer_8cpp.js | elenita1221/ComputeLibrary | 3d2d44ef55ab6b08afda8be48301ce3c55c7bc67 | [
"MIT"
] | null | null | null | documentation/_pad_layer_8cpp.js | elenita1221/ComputeLibrary | 3d2d44ef55ab6b08afda8be48301ce3c55c7bc67 | [
"MIT"
] | 1 | 2020-05-06T16:31:28.000Z | 2020-05-06T16:31:28.000Z | var _pad_layer_8cpp =
[
[ "pad_layer", "_pad_layer_8cpp.xhtml#a7be2d9cf603602726bd476d9fc37c0d5", null ],
[ "pad_layer", "_pad_layer_8cpp.xhtml#ae1575bcb3cc7ff34f62acef928edb1c5", null ],
[ "pad_layer", "_pad_layer_8cpp.xhtml#abb0d7c0bc41b65699c1fe34a2eb04a00", null ],
[ "pad_layer", "_pad_layer_8cpp.xh... | 64.818182 | 85 | 0.765778 |
c1a8141f7b982db911a2b71c56eed0c4c21ae741 | 10,514 | js | JavaScript | index.js | Pzkane/web_dev_1sem_exam | 92b17a9c335b75d3e517b76e8163efdaeefeadca | [
"MIT"
] | null | null | null | index.js | Pzkane/web_dev_1sem_exam | 92b17a9c335b75d3e517b76e8163efdaeefeadca | [
"MIT"
] | null | null | null | index.js | Pzkane/web_dev_1sem_exam | 92b17a9c335b75d3e517b76e8163efdaeefeadca | [
"MIT"
] | null | null | null | window.addEventListener("load", () => {
let input = false;
let credsBlock = document.querySelector(".creds-block");
let loginBtn = document.getElementById("login-btn");
loginBtn.addEventListener("click", () => {
credsBlock.style.display = "block";
setTimeout(() => {
credsBlock.classList.add("reve... | 30.653061 | 148 | 0.524539 |
c1a85782ce38c8d361c8ff63c46f14213697c74e | 677 | js | JavaScript | vendor/hooks-drum-machine/src/useStart.js | react4j/react4j-drumloop | 09d9fbe316c06ac9fb87e5160da94b7ee88cdc29 | [
"Apache-2.0"
] | null | null | null | vendor/hooks-drum-machine/src/useStart.js | react4j/react4j-drumloop | 09d9fbe316c06ac9fb87e5160da94b7ee88cdc29 | [
"Apache-2.0"
] | null | null | null | vendor/hooks-drum-machine/src/useStart.js | react4j/react4j-drumloop | 09d9fbe316c06ac9fb87e5160da94b7ee88cdc29 | [
"Apache-2.0"
] | null | null | null | import React, { useState } from 'react';
import styled from 'styled-components';
const Start = styled.button`
color: ${props => (props.on === false ? '#25CCF7' : '#FD7272')};
border: 2px solid ${props => (props.on === false ? '#25CCF7' : '#FD7272')};
background: none;
font-family: 'Righteous', cursive;
paddi... | 24.178571 | 77 | 0.60709 |
c1a9ababaafc57255dcaa89c25cc3ed9804b7c09 | 1,624 | js | JavaScript | src/site/stages/build/process-cms-exports/transformers/node-press_release.js | bkjohnson/vets-website-content-build | 7932002cfb9a0ebd0f488a709eb238fba9c2da50 | [
"CC0-1.0"
] | 1 | 2020-09-16T17:54:58.000Z | 2020-09-16T17:54:58.000Z | src/site/stages/build/process-cms-exports/transformers/node-press_release.js | bkjohnson/vets-website-content-build | 7932002cfb9a0ebd0f488a709eb238fba9c2da50 | [
"CC0-1.0"
] | null | null | null | src/site/stages/build/process-cms-exports/transformers/node-press_release.js | bkjohnson/vets-website-content-build | 7932002cfb9a0ebd0f488a709eb238fba9c2da50 | [
"CC0-1.0"
] | null | null | null | const moment = require('moment');
const { mapKeys, camelCase } = require('lodash');
const {
createMetaTagArray,
getDrupalValue,
getWysiwygString,
isPublished,
} = require('./helpers');
const transform = entity => ({
entityType: 'node',
entityBundle: 'press_release',
title: getDrupalValue(entity.title),
... | 27.066667 | 71 | 0.706897 |
c1aa65cc82d69fd915ff8f13134fd014164da7b4 | 1,714 | js | JavaScript | controllers/home-routes.js | RiveraDenisse/high-five | 0e590b51596e217e2434930ea737cbf9f27a3501 | [
"ISC"
] | 2 | 2021-08-11T13:49:27.000Z | 2021-08-13T23:50:27.000Z | controllers/home-routes.js | RiveraDenisse/high-five | 0e590b51596e217e2434930ea737cbf9f27a3501 | [
"ISC"
] | 11 | 2021-08-14T16:35:46.000Z | 2021-08-21T20:16:31.000Z | controllers/home-routes.js | RiveraDenisse/high-five | 0e590b51596e217e2434930ea737cbf9f27a3501 | [
"ISC"
] | 2 | 2021-08-23T02:33:41.000Z | 2021-08-23T05:21:54.000Z | const router = require('express').Router();
const sequelize = require('../config/connection');
const {
User,
// Post,
// Comment,
// Likes,
Interest,
UserInterest,
} = require('../models');
// this will render the login page
router.get('/', (req, res) => {
res.render('layouts/homepage');
});
// routes to user-... | 22.552632 | 70 | 0.584014 |
c1aa7be850982744382daf656fcd68e1490c715e | 5,365 | js | JavaScript | src/node/minutedock/minutedockApi.js | EqualExperts/minutedock | a09af7d75402e05b103418478a9dc7dd915e6532 | [
"MIT"
] | 1 | 2019-01-02T08:54:31.000Z | 2019-01-02T08:54:31.000Z | src/node/minutedock/minutedockApi.js | EqualExperts/minutedock | a09af7d75402e05b103418478a9dc7dd915e6532 | [
"MIT"
] | 13 | 2015-06-16T07:29:08.000Z | 2017-12-04T08:57:25.000Z | src/node/minutedock/minutedockApi.js | EqualExperts/minutedock | a09af7d75402e05b103418478a9dc7dd915e6532 | [
"MIT"
] | 5 | 2015-06-16T06:13:58.000Z | 2020-03-05T04:23:56.000Z | var request = require('request');
var Q = require('q');
var config = require('config');
var Minutedock = function (apiKey) {
var self = this;
this.apiKey = apiKey;
this.api = {
accounts:{
all:function () {
return self.request('accounts.json', "GET");
},
... | 33.955696 | 89 | 0.450513 |
c1aafee509148433db76af94ec2cd98f567696d6 | 1,324 | js | JavaScript | 15-puzzle/index/canvas.js | vivaxy/game | 24e402fae9f1f84bb56e5655fa4ab2209a667fbe | [
"MIT"
] | 3 | 2015-08-19T09:52:56.000Z | 2021-10-12T08:46:50.000Z | 15-puzzle/index/canvas.js | vivaxy/game | 24e402fae9f1f84bb56e5655fa4ab2209a667fbe | [
"MIT"
] | 15 | 2018-01-26T06:13:06.000Z | 2022-03-24T13:41:47.000Z | 15-puzzle/index/canvas.js | vivaxy/game | 24e402fae9f1f84bb56e5655fa4ab2209a667fbe | [
"MIT"
] | null | null | null | import { canvasHeight, canvasWidth } from './configs.js';
export default class Canvas {
constructor() {
const canvas = document.querySelector('.js-canvas');
this.canvas = canvas;
this.ctx = canvas.getContext('2d');
this.width = canvasWidth;
this.height = canvasHeight;
canvas.width = canvasWid... | 26.48 | 66 | 0.626888 |
c1ac7094d8068fb94e2ab9aea2dd420124035ef1 | 2,406 | js | JavaScript | webofneeds/won-owner-webapp/src/main/webapp/app/redux/selectors/process-selectors.js | Schlizohr/webofneeds | e96cd9ab12ca70213f29c3d9423cdac8e1654311 | [
"Apache-2.0"
] | null | null | null | webofneeds/won-owner-webapp/src/main/webapp/app/redux/selectors/process-selectors.js | Schlizohr/webofneeds | e96cd9ab12ca70213f29c3d9423cdac8e1654311 | [
"Apache-2.0"
] | 10 | 2020-02-06T12:10:45.000Z | 2022-01-27T16:20:42.000Z | webofneeds/won-owner-webapp/src/main/webapp/app/redux/selectors/process-selectors.js | Schlizohr/webofneeds | e96cd9ab12ca70213f29c3d9423cdac8e1654311 | [
"Apache-2.0"
] | null | null | null | /**
* Created by quasarchimaere on 21.01.2019.
*/
import { get, getIn } from "../../utils.js";
import * as processUtils from "../utils/process-utils.js";
/**
* Check if anything in the state sub-map of process is currently marked as loading
* @param state (full redux-state)
* @returns true if anything is currentl... | 32.958904 | 83 | 0.768911 |
c1ae1eaea8d886a08918f279fde3bc266101f36a | 6,382 | js | JavaScript | pages/resume.js | torijacarlos/personal-spa | b00465aee2c2c9f865ff8f38cb1ea81730dd369d | [
"MIT"
] | null | null | null | pages/resume.js | torijacarlos/personal-spa | b00465aee2c2c9f865ff8f38cb1ea81730dd369d | [
"MIT"
] | 8 | 2021-01-27T20:12:33.000Z | 2022-03-25T01:26:06.000Z | pages/resume.js | torijacarlos/personal-spa | b00465aee2c2c9f865ff8f38cb1ea81730dd369d | [
"MIT"
] | null | null | null | import Layout from "../components/layout"
import Experience from "../components/experience"
import styles from "./resume.module.scss"
export default function Resume() {
return (
<Layout title="Resume">
<div className={styles.layout}>
<div>
<div className={st... | 52.743802 | 219 | 0.635381 |
c1ae401ad6b6e7a9248dcd7c98b5a413d14681b3 | 80 | js | JavaScript | src/index.js | clementf/dies | 3d891270aacd2defba621088157b8a2f1ce1aabd | [
"MIT"
] | null | null | null | src/index.js | clementf/dies | 3d891270aacd2defba621088157b8a2f1ce1aabd | [
"MIT"
] | null | null | null | src/index.js | clementf/dies | 3d891270aacd2defba621088157b8a2f1ce1aabd | [
"MIT"
] | null | null | null | import './styles.css'
import Dies from './Component.svelte';
export { Dies }
| 11.428571 | 38 | 0.675 |
c1af3732837784690735249ca3ef92c6672834ce | 655 | js | JavaScript | src/elements/paginationElements.js | urgosxd/Blog-CC | 8fcf48f059a40463f558b31c378825ab8623282f | [
"MIT"
] | null | null | null | src/elements/paginationElements.js | urgosxd/Blog-CC | 8fcf48f059a40463f558b31c378825ab8623282f | [
"MIT"
] | null | null | null | src/elements/paginationElements.js | urgosxd/Blog-CC | 8fcf48f059a40463f558b31c378825ab8623282f | [
"MIT"
] | null | null | null | import React from "react"
import tw, { styled } from "twin.macro"
import { Link } from "gatsby"
export const PaginationWrapper = styled.div`
grid-column:2/ span 12;
a:nth-child(1){
${props => (props.isFirts ? tw`text-gray-800` : tw`text-gray-400`)}
pointer-events:${props => (props.isFirts ? "none"... | 29.772727 | 75 | 0.570992 |
38add19410a20cf7fed87bc539f2bbafb7a34cd2 | 2,355 | js | JavaScript | src/parsers/generic.js | parkmycloud/aws-to-slack | 807cbda7975fb1b21b45f36af8af387fe60d03d8 | [
"MIT"
] | 1 | 2020-02-24T13:59:08.000Z | 2020-02-24T13:59:08.000Z | src/parsers/generic.js | parkmycloud/aws-to-slack | 807cbda7975fb1b21b45f36af8af387fe60d03d8 | [
"MIT"
] | null | null | null | src/parsers/generic.js | parkmycloud/aws-to-slack | 807cbda7975fb1b21b45f36af8af387fe60d03d8 | [
"MIT"
] | 1 | 2021-03-22T10:43:38.000Z | 2021-03-22T10:43:38.000Z | /* eslint lodash/prefer-lodash-method:0 */
"use strict";
const _ = require("lodash"),
SNSParser = require("./sns"),
Slack = require("../slack");
class GenericParser extends SNSParser {
async parse(event) {
try {
// Attempt to treat as JSON-based SNS message
const resp = await super.parse(event);
if (re... | 19.303279 | 50 | 0.58259 |
38b04072b4959920f410dc789e40c72ea465c489 | 631 | js | JavaScript | es/PictureInPicture.js | eugeneilyin/mdi-norm | e9ee50f99aafa1f4dd77ffbe8c06fbdc49ec58f4 | [
"MIT"
] | 3 | 2018-11-11T01:48:20.000Z | 2019-12-02T06:13:14.000Z | es/PictureInPicture.js | eugeneilyin/mdi-norm | e9ee50f99aafa1f4dd77ffbe8c06fbdc49ec58f4 | [
"MIT"
] | 1 | 2019-02-21T05:59:35.000Z | 2019-02-21T21:57:57.000Z | es/PictureInPicture.js | eugeneilyin/mdi-norm | e9ee50f99aafa1f4dd77ffbe8c06fbdc49ec58f4 | [
"MIT"
] | null | null | null | import { createThemedIcon } from './utils/createThemedIcon';
import { FilledPictureInPicture } from './FilledPictureInPicture';
import { OutlinePictureInPicture } from './OutlinePictureInPicture';
import { RoundPictureInPicture } from './RoundPictureInPicture';
import { SharpPictureInPicture } from './SharpPictureInPic... | 57.363636 | 153 | 0.81775 |
38b069cd5a61e156ea7807dc9cc0f70fe27c562d | 18,430 | js | JavaScript | oferle/src/admin/Cms/HowItWorks/CmsHowItWorks.js | RameshChauhanExpert/secret | 3fcb023a0948568f21cb52f5a5f148701abd0827 | [
"MIT"
] | null | null | null | oferle/src/admin/Cms/HowItWorks/CmsHowItWorks.js | RameshChauhanExpert/secret | 3fcb023a0948568f21cb52f5a5f148701abd0827 | [
"MIT"
] | null | null | null | oferle/src/admin/Cms/HowItWorks/CmsHowItWorks.js | RameshChauhanExpert/secret | 3fcb023a0948568f21cb52f5a5f148701abd0827 | [
"MIT"
] | null | null | null | import React,{ Component } from "react";
import { TextField, FormControl,InputLabel,Typography, MenuItem, Button,Select,connect,withRouter} from "../../../utilities"
import { Editor } from 'react-draft-wysiwyg';
import { cms_home_fetch, cms_home_submit ,cms_home_state_update} from "../../../action";
import { EditorStat... | 48.885942 | 278 | 0.567878 |
38b095bce1e91dbfe0ec358e3f39e04f9e5da30b | 170 | js | JavaScript | src/utils.js | kalos-framework/kalos | 8e49ee1d17a2c9fbcae4dd49011d32bb306a23ea | [
"MIT"
] | 1 | 2019-08-08T05:19:28.000Z | 2019-08-08T05:19:28.000Z | src/utils.js | kalos-framework/kalos | 8e49ee1d17a2c9fbcae4dd49011d32bb306a23ea | [
"MIT"
] | 4 | 2019-08-08T02:57:55.000Z | 2019-08-10T20:03:40.000Z | src/utils.js | kalos-framework/kalos | 8e49ee1d17a2c9fbcae4dd49011d32bb306a23ea | [
"MIT"
] | null | null | null | export function trimslashes(s) {
if (s.length > 1 && s.indexOf('/', s.length - 1 - '/'.length) !== -1) {
s = s.substr(0, s.length - 1);
}
return s;
}
| 24.285714 | 75 | 0.488235 |
38b1f26764d106da3c1e8eff6acc930dd1c7282a | 560 | js | JavaScript | src/main.js | RainedX/vue3-admin | cb825b35f9c4229c5fab2caba422c256199a74fa | [
"MIT"
] | null | null | null | src/main.js | RainedX/vue3-admin | cb825b35f9c4229c5fab2caba422c256199a74fa | [
"MIT"
] | null | null | null | src/main.js | RainedX/vue3-admin | cb825b35f9c4229c5fab2caba422c256199a74fa | [
"MIT"
] | null | null | null | import { createApp } from "vue";
import App from "./App.vue";
import router from "@/router";
import store from "@/store";
import { components } from "@/config/element";
import "element-plus/lib/theme-chalk/index.css";
// 全局样式引入
import "@/styles/index.scss";
import "./permission.js";
// 指令
import permission from "@/dire... | 22.4 | 48 | 0.691071 |
38b218a3408b32397b11059178a20f5c9818fe42 | 858 | js | JavaScript | receivedFrom.js | davidweisss/iHodLWeb | fb5308484127e218a78886bb89163ac26d352650 | [
"MIT"
] | 3 | 2019-11-14T19:31:35.000Z | 2020-04-09T20:24:59.000Z | receivedFrom.js | davidweisss/iHodLWeb | fb5308484127e218a78886bb89163ac26d352650 | [
"MIT"
] | null | null | null | receivedFrom.js | davidweisss/iHodLWeb | fb5308484127e218a78886bb89163ac26d352650 | [
"MIT"
] | null | null | null | let receivedFrom = async (client, to, from) => {
console.log('checking for payment to:', to, '/n from:', from)
let txs = await client.listTransactions()
let addresses = txs.map(x => x.address)
let idx = addresses.indexOf(to)
if(idx<0){
return(0)
}else{
let tx = txs[idx]
console.log('tx',tx)
... | 33 | 93 | 0.675991 |
38b2e7f71374eaae3a4e91e9124bc57bc8aeed9f | 2,356 | js | JavaScript | lib/Touches.js | danielgindi/dom-utils | e92c35445870cec56440019998d254b292a7cdad | [
"MIT"
] | null | null | null | lib/Touches.js | danielgindi/dom-utils | e92c35445870cec56440019998d254b292a7cdad | [
"MIT"
] | null | null | null | lib/Touches.js | danielgindi/dom-utils | e92c35445870cec56440019998d254b292a7cdad | [
"MIT"
] | null | null | null | /**
* @param {Element} el
* @param {Object} [options]
* @param {number|undefined} [options.distance=9]
* @param {function(event: TouchEvent)} [options.handler]
* @returns {{ unbind: Function }}
*/
const bindTouchTap = function (el, options) {
let currentTouchId = null;
let downPos = null;
const start... | 27.717647 | 121 | 0.543294 |
38b396349fa192d444b3325346d314f6b3347949 | 39,800 | js | JavaScript | flow-types/types/chocolatechipjs_vx.x.x/flow_v0.25.x-/chocolatechipjs.js | goodmind/FlowDefinitelyTyped | 9b2bf8af438bf10f6a375f441301109be02ef876 | [
"MIT"
] | 15 | 2019-02-09T07:05:17.000Z | 2021-04-04T14:30:00.000Z | flow-types/types/chocolatechipjs_vx.x.x/flow_v0.25.x-/chocolatechipjs.js | goodmind/FlowDefinitelyTyped | 9b2bf8af438bf10f6a375f441301109be02ef876 | [
"MIT"
] | 1 | 2021-05-08T04:00:43.000Z | 2021-05-08T04:00:43.000Z | flow-types/types/chocolatechipjs_vx.x.x/flow_v0.25.x-/chocolatechipjs.js | goodmind/FlowDefinitelyTyped | 9b2bf8af438bf10f6a375f441301109be02ef876 | [
"MIT"
] | 4 | 2019-03-21T14:39:18.000Z | 2020-11-04T07:42:28.000Z | declare module "chocolatechipjs" {
declare interface ChocolateChipStatic {
/**
* Accepts a string containing a CSS selector which is then used to match a set of elements.
* @param selector A string containing a selector expression
* @param context A DOM HTMLElement to use as context
*/
(
... | 35.663082 | 201 | 0.665101 |
38b464fcafdfd95a698085597920175b592869e9 | 1,297 | js | JavaScript | icons/standard/skill_requirement.js | leifg/design-system-react | d5c325a9905a76c423452604017b6f4a4b1450be | [
"BSD-3-Clause"
] | 846 | 2017-10-18T20:02:31.000Z | 2022-03-31T00:53:43.000Z | icons/standard/skill_requirement.js | leifg/design-system-react | d5c325a9905a76c423452604017b6f4a4b1450be | [
"BSD-3-Clause"
] | 1,653 | 2017-10-19T17:58:18.000Z | 2022-03-29T20:14:28.000Z | icons/standard/skill_requirement.js | leifg/design-system-react | d5c325a9905a76c423452604017b6f4a4b1450be | [
"BSD-3-Clause"
] | 420 | 2017-10-18T21:02:20.000Z | 2022-03-25T15:30:08.000Z | /* Copyright (c) 2015-present, salesforce.com, inc. All rights reserved */
/* Licensed under BSD 3-Clause - see LICENSE.txt or git.io/sfdc-license */
export default {"viewBox":"0 0 100 100","xmlns":"http://www.w3.org/2000/svg","path":[{"d":"M50.08 57.86a6.77 6.77 0 116.63-6.77 6.71 6.71 0 01-6.63 6.77z","fill-rule":"... | 216.166667 | 1,144 | 0.653816 |
38b59b007527f14e59563a54ce7123166e803861 | 1,135 | js | JavaScript | src/context/MailContext.js | AmanSharma4419/Library | c628775818b2f129324e8517fe4a707d4bb2718d | [
"MIT"
] | null | null | null | src/context/MailContext.js | AmanSharma4419/Library | c628775818b2f129324e8517fe4a707d4bb2718d | [
"MIT"
] | null | null | null | src/context/MailContext.js | AmanSharma4419/Library | c628775818b2f129324e8517fe4a707d4bb2718d | [
"MIT"
] | null | null | null | import React, { useState, createContext } from "react";
export const MaildataContext = createContext();
export const MailProviter = props => {
// const {
// mail: initialMail,
// selectedMail: initialSelectedMail,
// children
// } = props;
// Use State to keep the values
cons... | 23.645833 | 98 | 0.585903 |
38b5b135d0a05805ac6c06ca3d72592da702f7df | 564 | js | JavaScript | actions/index.js | stefanscherzer/reactnd-UdaciCards | bfd7075505a2f7712fa47228b02da5ae123ef2a4 | [
"MIT"
] | null | null | null | actions/index.js | stefanscherzer/reactnd-UdaciCards | bfd7075505a2f7712fa47228b02da5ae123ef2a4 | [
"MIT"
] | null | null | null | actions/index.js | stefanscherzer/reactnd-UdaciCards | bfd7075505a2f7712fa47228b02da5ae123ef2a4 | [
"MIT"
] | null | null | null | // actions/index.js
export const GET_DECKS = 'GET_DECKS'
export const GET_DECK = 'GET_DECK'
export const SAVE_DECK_TITLE = 'SAVE_DECK_TITLE'
export const ADD_CARD_TO_DECK = 'ADD_CARD_TO_DECK'
export function getDecks (decks) {
return {
type: GET_DECKS,
decks,
}
}
export function getDeck (deck) {
return... | 15.666667 | 50 | 0.675532 |
38b6b9dc9e10fe3342833d06c7bb042a4cae2b88 | 590 | js | JavaScript | Completed/JavaScript/807.js | zainkai/LeetCodeChallenges | 60645b895437bc1b56b88c48cdf22c38027285ec | [
"MIT"
] | 1 | 2020-07-01T05:33:30.000Z | 2020-07-01T05:33:30.000Z | Completed/JavaScript/807.js | zainkai/LeetCodeChallenges | 60645b895437bc1b56b88c48cdf22c38027285ec | [
"MIT"
] | null | null | null | Completed/JavaScript/807.js | zainkai/LeetCodeChallenges | 60645b895437bc1b56b88c48cdf22c38027285ec | [
"MIT"
] | null | null | null | /**
* @param {number[][]} grid
* @return {number}
*/
var maxIncreaseKeepingSkyline = function(grid) {
let tb = new Array(grid.length).fill(0)
let lr = new Array(grid.length).fill(0)
for(let a = 0; a < grid.length;a++) {
for(let b = 0; b < grid[a].length;b++) {
tb[a] = Math.max(tb[a], grid[a]... | 25.652174 | 48 | 0.494915 |
38b7786a369c004314163a0f51effdf248704522 | 1,165 | js | JavaScript | src/pages/weaponproperties.js | MrLeebo/dnd-5e | 6611d56005d7bef8d9c74104f73617af63174cc3 | [
"MIT"
] | 3 | 2019-10-10T22:43:55.000Z | 2021-08-20T01:58:35.000Z | src/pages/weaponproperties.js | MrLeebo/dnd-5e | 6611d56005d7bef8d9c74104f73617af63174cc3 | [
"MIT"
] | null | null | null | src/pages/weaponproperties.js | MrLeebo/dnd-5e | 6611d56005d7bef8d9c74104f73617af63174cc3 | [
"MIT"
] | null | null | null | import React from "react"
import PropTypes from "prop-types"
import { graphql } from "gatsby"
import { Breadcrumb } from "../components/breadcrumbs"
WeaponPropertiesPage.propTypes = {
data: PropTypes.object.isRequired,
location: PropTypes.object.isRequired,
}
export default function WeaponPropertiesPage({ data, l... | 24.270833 | 75 | 0.548498 |
38b7c0f714ff6b47331516a86712b33e04fbe8a8 | 2,982 | js | JavaScript | src/sections/home/Logos.js | BOTUNA-TANDA/site-Padbusiness | 114d5f6c22a02395f26097936bfd362ddbb7da29 | [
"RSA-MD"
] | null | null | null | src/sections/home/Logos.js | BOTUNA-TANDA/site-Padbusiness | 114d5f6c22a02395f26097936bfd362ddbb7da29 | [
"RSA-MD"
] | null | null | null | src/sections/home/Logos.js | BOTUNA-TANDA/site-Padbusiness | 114d5f6c22a02395f26097936bfd362ddbb7da29 | [
"RSA-MD"
] | null | null | null | import React, {useEffect, useState} from "react"
import styled, {withTheme} from "styled-components";
import PartnersList from "../../data/partenaires.json"
import {motion, useAnimation} from "framer-motion";
import {useInView} from "react-intersection-observer";
import {containerAnim, fadeInUp} from "../../animation";... | 25.706897 | 116 | 0.557344 |
38b8f20037f21218a4435ee1b1f8f3dcf7559e83 | 881 | js | JavaScript | scripts/validateArea.js | AlexandrosKal/EAM | d5c01992b9129e80464ff0b61ea84c2d554e9357 | [
"MIT"
] | null | null | null | scripts/validateArea.js | AlexandrosKal/EAM | d5c01992b9129e80464ff0b61ea84c2d554e9357 | [
"MIT"
] | null | null | null | scripts/validateArea.js | AlexandrosKal/EAM | d5c01992b9129e80464ff0b61ea84c2d554e9357 | [
"MIT"
] | null | null | null | function validateArea(areaForm, area, displayOnErrorArea)
{
var input = document.getElementById(area).value;
var inputArray = input.split(" ");
var regex =/((^([Α-Ω]|[ΆΈΉΊΌΎΏΪΫ])[α-ω]*([ϊϋ]?[α-ω]*[άέήόίύώ]?|[ΐΰ]?)[α-ω]*\s?$|^[A-Z][a-z]*\s?$)|^([Α-Ω]*[ΪΫ]?[Α-Ω]*|[A-Z]*)$)/;
for(var i=0; i<inputArray.length; i++... | 35.24 | 131 | 0.634506 |
38b9176ad7b27cec0e90d6d12ee142bee5d960e0 | 11,205 | js | JavaScript | Airy.js | jlettvin/gaze | f0d54d62df487edfd2f938158ef3f72d663d603d | [
"MIT"
] | null | null | null | Airy.js | jlettvin/gaze | f0d54d62df487edfd2f938158ef3f72d663d603d | [
"MIT"
] | null | null | null | Airy.js | jlettvin/gaze | f0d54d62df487edfd2f938158ef3f72d663d603d | [
"MIT"
] | null | null | null | /* This module saves calculating Bessel functions at all points in an image.
* Precalculate a single find-grained Bessel function into an array.
* Calculate the index into this array by a radius and coefficient.
* Calculate the coefficient by a wavelength, aperture, and granularity.
*
* var coefficient = this.co... | 42.283019 | 80 | 0.543686 |
38b9e1e02eb61e68abcc9831ab6e22806410b2b3 | 675 | js | JavaScript | docs/html/namespaceCatch_1_1Matchers.js | IonThruster/ClockSim | 768cbc26f5728ad33507b8fc4b21a31e6a35a40a | [
"MIT"
] | null | null | null | docs/html/namespaceCatch_1_1Matchers.js | IonThruster/ClockSim | 768cbc26f5728ad33507b8fc4b21a31e6a35a40a | [
"MIT"
] | null | null | null | docs/html/namespaceCatch_1_1Matchers.js | IonThruster/ClockSim | 768cbc26f5728ad33507b8fc4b21a31e6a35a40a | [
"MIT"
] | null | null | null | var namespaceCatch_1_1Matchers =
[
[ "Exception", "namespaceCatch_1_1Matchers_1_1Exception.html", "namespaceCatch_1_1Matchers_1_1Exception" ],
[ "Floating", "namespaceCatch_1_1Matchers_1_1Floating.html", "namespaceCatch_1_1Matchers_1_1Floating" ],
[ "Generic", "namespaceCatch_1_1Matchers_1_1Generic.html", "... | 75 | 111 | 0.802963 |
38b9f2def1bc0756b653178c6aafa7d97ac67ae8 | 47 | js | JavaScript | libs/processor/config.js | homobel/makebird-node | 07f9621883a2247e538fb8d8e3824a403b5154b7 | [
"MIT"
] | 4 | 2015-02-22T22:08:52.000Z | 2018-05-12T18:08:21.000Z | libs/processor/config.js | homobel/makebird-node | 07f9621883a2247e538fb8d8e3824a403b5154b7 | [
"MIT"
] | null | null | null | libs/processor/config.js | homobel/makebird-node | 07f9621883a2247e538fb8d8e3824a403b5154b7 | [
"MIT"
] | null | null | null |
module.exports = {
includeOnlyUsed: false
};
| 9.4 | 23 | 0.702128 |
38b9f4fb53735840a6141af67185684573809498 | 23,448 | js | JavaScript | catalog/view/javascript/so_onepagecheckout/js/so_onepagecheckout.js | Dannyyoung20/Ecommerce-website-with-heroku | 411e50f5f48b4f476cd06ca19248728f0ec57072 | [
"MIT"
] | 1 | 2017-11-20T00:04:45.000Z | 2017-11-20T00:04:45.000Z | catalog/view/javascript/so_onepagecheckout/js/so_onepagecheckout.js | theghostyced/Ecommerce-website-with-heroku | 411e50f5f48b4f476cd06ca19248728f0ec57072 | [
"MIT"
] | null | null | null | catalog/view/javascript/so_onepagecheckout/js/so_onepagecheckout.js | theghostyced/Ecommerce-website-with-heroku | 411e50f5f48b4f476cd06ca19248728f0ec57072 | [
"MIT"
] | 1 | 2018-08-15T21:46:09.000Z | 2018-08-15T21:46:09.000Z | jQuery(document).delegate('input[name="shipping_address"]', 'change', function(){
var $this=jQuery(this);
if($this.is(':checked')){
jQuery('#shipping-address').hide();
$this.val(1);
jQuery(document).trigger('so_checkout_address_changed','payment');
}else{
jQuery('#shipping-address').show().find('input[type="... | 32.748603 | 346 | 0.650759 |
38bc37563414b99e07d16b558bb80ebaafb43274 | 119 | js | JavaScript | src/import/errorNoCli.js | m0hq/json2graphql | b40bece03f6963518ccdc763dffc27263b54aa77 | [
"MIT"
] | null | null | null | src/import/errorNoCli.js | m0hq/json2graphql | b40bece03f6963518ccdc763dffc27263b54aa77 | [
"MIT"
] | null | null | null | src/import/errorNoCli.js | m0hq/json2graphql | b40bece03f6963518ccdc763dffc27263b54aa77 | [
"MIT"
] | null | null | null | const {cli} = require('cli-ux');
module.exports = message => {
console.log(message);
throw new Error(message);
};
| 17 | 32 | 0.647059 |
38bdc88410ae9132f26cf310f5ebac3dc0923be8 | 155 | js | JavaScript | templates/fragment/components/component.js | cagataycali/micro-fun | d68f5cc3a53105722f59a5b683f767db2da87da8 | [
"MIT"
] | 58 | 2021-03-24T21:42:38.000Z | 2022-01-31T20:53:56.000Z | templates/fragment/components/component.js | cagataycali/micro-fun-rick-and-morty | e6b6a8830ed8da6897b7f0acd4fa38db03fab7f1 | [
"MIT"
] | 1 | 2021-03-25T20:10:39.000Z | 2021-03-25T20:10:39.000Z | templates/fragment/components/component.js | cagataycali/micro-fun-rick-and-morty | e6b6a8830ed8da6897b7f0acd4fa38db03fab7f1 | [
"MIT"
] | 4 | 2021-03-24T21:42:54.000Z | 2021-04-24T10:52:36.000Z | import * as React from 'react';
const #FUN_FRAGMENT_NAME = () => {
return (
<h1>#FUN_FRAGMENT_NAME</h1>
);
};
export default #FUN_FRAGMENT_NAME;
| 15.5 | 34 | 0.651613 |
38bf3a4de3463e9e3c4f7696018b4d3ce616d604 | 177 | js | JavaScript | src/mapBy.js | nickjohnson-dev/liszt | ce99027adbd14e98575e06019a576819b33f8c74 | [
"MIT"
] | null | null | null | src/mapBy.js | nickjohnson-dev/liszt | ce99027adbd14e98575e06019a576819b33f8c74 | [
"MIT"
] | null | null | null | src/mapBy.js | nickjohnson-dev/liszt | ce99027adbd14e98575e06019a576819b33f8c74 | [
"MIT"
] | null | null | null | import curry from 'lodash/fp/curry';
import map from 'lodash/fp/map';
export default curry((predicate, iteratee, xs) => map(
x => (predicate(x) ? iteratee(x) : x),
xs,
));
| 22.125 | 54 | 0.649718 |
38c11489080b22e0ba7965da3ae846e6685a41e8 | 310 | js | JavaScript | webDevModerno/fudamentos/loopLetVar1.js | ThiagoMilhomens/WebDev-Studies | e12a1564bb089394ce37bfbf735b7bb96d1c8c2e | [
"MIT"
] | 1 | 2020-08-20T15:20:43.000Z | 2020-08-20T15:20:43.000Z | webDevModerno/fudamentos/loopLetVar1.js | ThiagoMilhomens/WebDev-Studies | e12a1564bb089394ce37bfbf735b7bb96d1c8c2e | [
"MIT"
] | null | null | null | webDevModerno/fudamentos/loopLetVar1.js | ThiagoMilhomens/WebDev-Studies | e12a1564bb089394ce37bfbf735b7bb96d1c8c2e | [
"MIT"
] | null | null | null | for (var i = 0; i < 10; i++) {
console.log(i)
}
console.log('i =', i)
/*
0
1
2
3
4
5
6
7
8
9
i = 10
*/
for (let i = 0; i < 10; i++) {
console.log(i)
}
console.log('i =', i) // Ñ consegue buscar i pq i está dentro do escopo e foi atribuído como let
/*
1
2
...
8
9
ReferenceError: i is not defined
*/
| 10.333333 | 96 | 0.551613 |
38c1e903f54eefb3b46290e16fe81608906a1e98 | 3,467 | js | JavaScript | .nuxt/dist/client/3616b4c.js | xhostcom/vue-nuxt-ecommerce-template | b242efc25cae1a7fc8ef2d889ec7e4bb0108bd68 | [
"MIT"
] | 3 | 2021-07-15T17:30:57.000Z | 2021-11-16T08:54:16.000Z | .nuxt/dist/client/3616b4c.js | xhostcom/vue-nuxt-ecommerce-firebase | b242efc25cae1a7fc8ef2d889ec7e4bb0108bd68 | [
"MIT"
] | 13 | 2021-07-15T17:30:34.000Z | 2022-02-13T11:00:51.000Z | .nuxt/dist/client/3616b4c.js | xhostcom/vue-nuxt-ecommerce-template | b242efc25cae1a7fc8ef2d889ec7e4bb0108bd68 | [
"MIT"
] | 1 | 2021-01-10T05:50:47.000Z | 2021-01-10T05:50:47.000Z | (window.webpackJsonp=window.webpackJsonp||[]).push([[11],{462:function(t,e,n){"use strict";n.r(e);var r={name:"Banner"},c=n(17),l=Object(c.a)(r,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"main-banner main-banner-three item-bg4"},[n("div",{staticClass:"d-table"},[n("div",{stati... | 3,467 | 3,467 | 0.653303 |
38c3c0033d47a7b2aa6ca6d8f894c4f824d29e18 | 4,574 | js | JavaScript | plugins/wp-seopress/assets/js/seopress-tabs.js | propernounco/pn_base_wp_theme | 0be40555792bb406533fe7f76b42b20a85e7b8cf | [
"W3C"
] | 1 | 2020-05-03T01:46:47.000Z | 2020-05-03T01:46:47.000Z | plugins/wp-seopress/assets/js/seopress-tabs.js | propernounco/pn_base_wp_theme | 0be40555792bb406533fe7f76b42b20a85e7b8cf | [
"W3C"
] | null | null | null | plugins/wp-seopress/assets/js/seopress-tabs.js | propernounco/pn_base_wp_theme | 0be40555792bb406533fe7f76b42b20a85e7b8cf | [
"W3C"
] | null | null | null | jQuery(document).ready(function($) {
if(typeof sessionStorage!='undefined') {
var seopress_tab_session_storage = sessionStorage.getItem("seopress_titles_tab");
if (seopress_tab_session_storage) {
$('#seopress-tabs').find('.nav-tab.nav-tab-active').removeClass("nav-tab-active");
$('#seopress-tabs').find('.seo... | 59.402597 | 169 | 0.631395 |
38c3fc1107b4a30c376c6eaf1ffcf5d3b3f7053e | 124 | js | JavaScript | src/utils/mergeArraysOnProperty.js | teamleadercrm/sdk-js | 17c47e11f218f83f0f5e06751506be00462491c9 | [
"MIT"
] | 5 | 2019-06-06T13:53:38.000Z | 2022-03-28T09:39:48.000Z | src/utils/mergeArraysOnProperty.js | teamleadercrm/sdk-js | 17c47e11f218f83f0f5e06751506be00462491c9 | [
"MIT"
] | 46 | 2018-02-15T13:05:12.000Z | 2021-12-23T14:17:39.000Z | src/utils/mergeArraysOnProperty.js | teamleadercrm/sdk-js | 17c47e11f218f83f0f5e06751506be00462491c9 | [
"MIT"
] | null | null | null | export default (property, ...objects) =>
objects.reduce((arr, object = {}) => [...arr, ...(object[property] || [])], []);
| 41.333333 | 82 | 0.540323 |
38c4ce2cbbc214c4216295d48af27d188498382c | 906 | js | JavaScript | config.js | ExplorerUTT/explorer | c952b741de841f1f578efba1d8b46f87b2b05b13 | [
"MIT"
] | 5 | 2016-01-14T16:25:29.000Z | 2016-02-12T16:24:55.000Z | config.js | ExplorerUTT/explorer | c952b741de841f1f578efba1d8b46f87b2b05b13 | [
"MIT"
] | 5 | 2016-01-14T23:16:56.000Z | 2016-02-08T22:13:50.000Z | config.js | ExplorerUTT/explorer | c952b741de841f1f578efba1d8b46f87b2b05b13 | [
"MIT"
] | null | null | null | 'use strict';
var config;
switch (process.env.NODE_ENV) {
case 'development':
config = {
APP_PORT: 3000,
database: {
couch: {
host: 'http://127.0.0.1',
port: 5984,
options: {}
}
}... | 20.133333 | 45 | 0.30574 |
38c4eabe7c8b1445305346325fd7a340ca01b772 | 613 | js | JavaScript | src/routes/response.routes.js | jodeperezlo/platzi-nodejs-websockets | b7cfef30202f68321dda9b2c8082361979227b2a | [
"MIT"
] | null | null | null | src/routes/response.routes.js | jodeperezlo/platzi-nodejs-websockets | b7cfef30202f68321dda9b2c8082361979227b2a | [
"MIT"
] | null | null | null | src/routes/response.routes.js | jodeperezlo/platzi-nodejs-websockets | b7cfef30202f68321dda9b2c8082361979227b2a | [
"MIT"
] | null | null | null | // Copyright (c) 2022 Jorge de Jesus Perez Lopez
//
// This software is released under the MIT License.
// https://opensource.org/licenses/MIT
// Copyright (c) 2022 Jorge de Jesus Perez Lopez
//
// This software is released under the MIT License.
// https://opensource.org/licenses/MIT
exports.succes = (req, res, sta... | 25.541667 | 57 | 0.66721 |
38c51f1ee2422ff329f72fda93c565b0c0144362 | 1,061 | js | JavaScript | themes/material/dashboard/app/modules/common/services/commonFactory.js | anurag-singh2001/brush | cd48e61f9c6f513184bab1945837e2a1a20e8afc | [
"MIT"
] | 9 | 2017-03-04T20:38:19.000Z | 2018-05-23T04:40:38.000Z | themes/material/dashboard/app/modules/common/services/commonFactory.js | anurag-singh2001/brush | cd48e61f9c6f513184bab1945837e2a1a20e8afc | [
"MIT"
] | null | null | null | themes/material/dashboard/app/modules/common/services/commonFactory.js | anurag-singh2001/brush | cd48e61f9c6f513184bab1945837e2a1a20e8afc | [
"MIT"
] | 6 | 2015-10-25T04:30:31.000Z | 2015-12-03T17:49:58.000Z | (function() {
'use strict';
app.factory('commonFactory', ['api', 'localStorageService','url','$mdToast',
function(api,localStorageService, url,$mdToast) {
var getReferenceData = function(config,success){
api.executeCall(config,success);
};
return {
getRoles: f... | 36.586207 | 80 | 0.491046 |
38c54610a493db58cd7d0fa33e4f5b785b955359 | 1,972 | js | JavaScript | public/app/services/counterPicksService.js | bxyoung89/dota2picker | 0167de6053309c14127480237a93e92271df0389 | [
"MIT"
] | 4 | 2016-02-23T21:01:45.000Z | 2019-07-11T01:39:38.000Z | public/app/services/counterPicksService.js | bxyoung89/dota2picker | 0167de6053309c14127480237a93e92271df0389 | [
"MIT"
] | null | null | null | public/app/services/counterPicksService.js | bxyoung89/dota2picker | 0167de6053309c14127480237a93e92271df0389 | [
"MIT"
] | 2 | 2016-10-01T19:43:05.000Z | 2020-06-09T14:45:10.000Z | angular.module("WalrusPunch").service("counterPicksService", [
"heroService",
"dataSourceService",
function (heroService, dataSourceService) {
function CounterPicksService() {
}
CounterPicksService.prototype.updateCounterPickData = function(enemyTeam){
updateEnemyTeamCounterPickData(enemyTeam);... | 29 | 86 | 0.694219 |
38c79f34ff4e134e79230115abf92a49a4418fc3 | 3,510 | js | JavaScript | build/translations/sv.js | vndywhat/ckeditor5-build-classic-base64upload-spoiler | bd376c83b27811ec1ae3f7a0f9ab17c214055232 | [
"MIT"
] | null | null | null | build/translations/sv.js | vndywhat/ckeditor5-build-classic-base64upload-spoiler | bd376c83b27811ec1ae3f7a0f9ab17c214055232 | [
"MIT"
] | null | null | null | build/translations/sv.js | vndywhat/ckeditor5-build-classic-base64upload-spoiler | bd376c83b27811ec1ae3f7a0f9ab17c214055232 | [
"MIT"
] | null | null | null | (function(d){d['sv']=Object.assign(d['sv']||{},{a:"Kan inte ladda upp fil:",b:"Image toolbar",c:"Table toolbar",d:"Upload in progress",e:"Kursiv",f:"Genomstruken",g:"Fet",h:"Upphöjda tecken",i:"Nedsänkta tecken",j:"Understrykning",k:"Increase indent",l:"Decrease indent",m:"Blockcitat",n:"Horizontal line",o:"Välj rubrik... | 3,510 | 3,510 | 0.716239 |
38c7e203231df3bfbbc81f5421a28a11b6bdef3c | 10,100 | js | JavaScript | node_modules/@cypress/schema-tools/dist/api.js | sutlac26/sutlacCypress26 | 74074d5666b7dbbd47621260442eb484ea47414d | [
"MIT"
] | null | null | null | node_modules/@cypress/schema-tools/dist/api.js | sutlac26/sutlacCypress26 | 74074d5666b7dbbd47621260442eb484ea47414d | [
"MIT"
] | null | null | null | node_modules/@cypress/schema-tools/dist/api.js | sutlac26/sutlacCypress26 | 74074d5666b7dbbd47621260442eb484ea47414d | [
"MIT"
] | null | null | null | "use strict";
var __extends = (this && this.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnPrope... | 42.978723 | 284 | 0.647822 |
38c7e5055626f270aaab954bec84f22092def18d | 380 | js | JavaScript | src/js/ui/visualizations/setTotalamounts.js | dmcshehan/monthly-statement | f9de68a9fb04ff75eb80c88f75a77cf388d752f2 | [
"MIT"
] | null | null | null | src/js/ui/visualizations/setTotalamounts.js | dmcshehan/monthly-statement | f9de68a9fb04ff75eb80c88f75a77cf388d752f2 | [
"MIT"
] | 5 | 2021-05-11T11:20:50.000Z | 2022-02-27T06:38:58.000Z | src/js/ui/visualizations/setTotalamounts.js | dmcshehan/monthly-statement | f9de68a9fb04ff75eb80c88f75a77cf388d752f2 | [
"MIT"
] | null | null | null | import { thousandsSeparators } from 'currency-thousand-separator';
export default (totalExpenses, totalIncomes) => {
var exepnsesEl = document.querySelector('#total-expenses .amount');
var incomesEl = document.querySelector('#total-incomes .amount');
exepnsesEl.textContent = thousandsSeparators(totalExpenses);
in... | 38 | 68 | 0.789474 |
38c8ec45f32f546a3514c84ab90fa03cd361016b | 367 | js | JavaScript | src/pages/contacts.js | itsmdsameerkhan/gatsby-project | 79cea1fe719578c735dad84170e38ef9af9a691c | [
"MIT"
] | null | null | null | src/pages/contacts.js | itsmdsameerkhan/gatsby-project | 79cea1fe719578c735dad84170e38ef9af9a691c | [
"MIT"
] | null | null | null | src/pages/contacts.js | itsmdsameerkhan/gatsby-project | 79cea1fe719578c735dad84170e38ef9af9a691c | [
"MIT"
] | null | null | null | import React from "react"
import Content from "../components/body"
import Header from "../components/header"
import { Link } from "gatsby"
const Contacts = () => (
<div>
<Link to="/">Home</Link>
<Link to="/about/">About</Link>
<Header header="This is contact" />
<Content body="I am the contact page. ... | 22.9375 | 52 | 0.640327 |
38c9f0dfad96121c2a49ccf64f416ed8716a335d | 553 | js | JavaScript | dist/precache-manifest.3cc5f61634034025d127bfa10417339f.js | wre232114/brightblogback | add45dfec87ee366dd715a03fc83c273e6b86e13 | [
"MIT"
] | null | null | null | dist/precache-manifest.3cc5f61634034025d127bfa10417339f.js | wre232114/brightblogback | add45dfec87ee366dd715a03fc83c273e6b86e13 | [
"MIT"
] | 6 | 2020-12-04T18:36:08.000Z | 2022-02-18T07:15:20.000Z | dist/precache-manifest.3cc5f61634034025d127bfa10417339f.js | wre232114/brightblogback | add45dfec87ee366dd715a03fc83c273e6b86e13 | [
"MIT"
] | null | null | null | self.__precacheManifest = [
{
"revision": "b6216d61c03e6ce0c9aea6ca7808f7ca",
"url": "/robots.txt"
},
{
"revision": "9ceff6f40c843448517c",
"url": "/js/chunk-vendors.53ed5523.js"
},
{
"revision": "d5c118efa2cd75ba64dd",
"url": "/js/app.cdb43166.js"
},
{
"revision": "5784639ee16... | 21.269231 | 51 | 0.600362 |
38ca06fe12659c271aaa785821d87ab6877210ee | 4,063 | js | JavaScript | client/src/_designsystem/_packages/_tests/VariableDrawer.test.js | dennis8844/flash-sendgrid-react-docker-nginx | 123e7e968f1f03e441724cbbaf7fff6bd5b616ae | [
"MIT"
] | null | null | null | client/src/_designsystem/_packages/_tests/VariableDrawer.test.js | dennis8844/flash-sendgrid-react-docker-nginx | 123e7e968f1f03e441724cbbaf7fff6bd5b616ae | [
"MIT"
] | null | null | null | client/src/_designsystem/_packages/_tests/VariableDrawer.test.js | dennis8844/flash-sendgrid-react-docker-nginx | 123e7e968f1f03e441724cbbaf7fff6bd5b616ae | [
"MIT"
] | null | null | null | import React from 'react';
import { render, cleanup } from '@testing-library/react';
import { mouseClick } from "./custom_test_utils";
import {
getByLabelText,
getByText,
getByTestId,
queryByTestId,
} from '@testing-library/dom';
import '@testing-library/jest-dom'
import '@testing-library/jest-dom/exte... | 30.780303 | 76 | 0.590943 |
38ca17cdbb30bcc2d861d3ba2fdfcd39849be343 | 705 | js | JavaScript | src/models/rooms/cell-doors-1.js | egillespie/super-vector-dungeon | 7065428d1cb5898f15de96738e33b9463f55f2c1 | [
"MIT"
] | null | null | null | src/models/rooms/cell-doors-1.js | egillespie/super-vector-dungeon | 7065428d1cb5898f15de96738e33b9463f55f2c1 | [
"MIT"
] | 1 | 2021-05-08T06:34:49.000Z | 2021-05-08T06:34:49.000Z | src/models/rooms/cell-doors-1.js | egillespie/super-vector-dungeon | 7065428d1cb5898f15de96738e33b9463f55f2c1 | [
"MIT"
] | null | null | null | import { fromJS } from 'immutable'
import horizontalWall from '../walls/wall-horizontal'
import verticalWall from '../walls/wall-vertical'
import line from '../line'
// Creates a 10x10 cell with one door starting at (0, 0)
//
// ##########
// DDD #
// D D #
// D D #
// D D #
// D D #
// ... | 19.583333 | 56 | 0.460993 |
38cacfa1ea57e8a20d8cc454a709bc5fcf20b459 | 3,473 | js | JavaScript | dist/components/SearchInput.js | OllieFordandCo/react-search-autocomplete | 199c06df3d481a499c231162e841c25e014f8ee2 | [
"MIT"
] | null | null | null | dist/components/SearchInput.js | OllieFordandCo/react-search-autocomplete | 199c06df3d481a499c231162e841c25e014f8ee2 | [
"MIT"
] | null | null | null | dist/components/SearchInput.js | OllieFordandCo/react-search-autocomplete | 199c06df3d481a499c231162e841c25e014f8ee2 | [
"MIT"
] | null | null | null | "use strict";function _typeof(a){"@babel/helpers - typeof";return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(a){return typeof a}:function(a){return a&&"function"==typeof Symbol&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},_typeof(a)}Object.defineProperty(exports,"__... | 3,473 | 3,473 | 0.75036 |
38caddb5c05571a7e40e426da9ed9393977de74b | 176 | js | JavaScript | 01-Variables-Data-Types-Basic-Operators/5-operators/logical.js | LukeSamkharadze/js-practices | 015637cde142b40909d36cd8fdbe45809f327115 | [
"MIT"
] | 1 | 2021-09-27T15:51:31.000Z | 2021-09-27T15:51:31.000Z | 01-Variables-Data-Types-Basic-Operators/5-operators/logical.js | LukeSamkharadze/js-practices | 015637cde142b40909d36cd8fdbe45809f327115 | [
"MIT"
] | null | null | null | 01-Variables-Data-Types-Basic-Operators/5-operators/logical.js | LukeSamkharadze/js-practices | 015637cde142b40909d36cd8fdbe45809f327115 | [
"MIT"
] | 1 | 2021-11-02T16:37:28.000Z | 2021-11-02T16:37:28.000Z | // && || ! | &
function Do() {
console.log('doing something');
return false;
}
if (true | Do()){
console.log('YES')
}
if (false & Do()){
console.log('YES')
} | 12.571429 | 35 | 0.5 |
38caef4ffbd66e57753c244da4a8e41b31a128a7 | 619 | js | JavaScript | build/translations/pl.js | SbYNH/ckeditor5-build-markdown | f8b866275660bf8bcf0ca5a4b73539c387b4a22d | [
"MIT"
] | null | null | null | build/translations/pl.js | SbYNH/ckeditor5-build-markdown | f8b866275660bf8bcf0ca5a4b73539c387b4a22d | [
"MIT"
] | null | null | null | build/translations/pl.js | SbYNH/ckeditor5-build-markdown | f8b866275660bf8bcf0ca5a4b73539c387b4a22d | [
"MIT"
] | null | null | null | (function(d){d['pl']=Object.assign(d['pl']||{},{a:"Pogrubienie",b:"Kursywa",c:"Wybierz nagłówek",d:"Nagłówek",e:"Wstaw odnośnik",f:"Akapit",g:"Nagłówek 1",h:"Nagłówek 2",i:"Nagłówek 3",j:"Nagłówek 4",k:"Nagłówek 5",l:"Nagłówek 6",m:"Otwórz w nowej zakładce",n:"Do pobrania",o:"Usuń odnośnik",p:"Edytuj odnośnik",q:"Otwór... | 619 | 619 | 0.705977 |
38cbfbfb4be1c4dfa8ef3fc8da6709afc4eec7b5 | 439 | js | JavaScript | test/689_maximum-sum-of-3-non-overlapping-subarrays.test.js | wayxzz/leet-code-questions | 275a3b5dfeef3078b258e89ca8b7396ab0eab02f | [
"MIT"
] | null | null | null | test/689_maximum-sum-of-3-non-overlapping-subarrays.test.js | wayxzz/leet-code-questions | 275a3b5dfeef3078b258e89ca8b7396ab0eab02f | [
"MIT"
] | null | null | null | test/689_maximum-sum-of-3-non-overlapping-subarrays.test.js | wayxzz/leet-code-questions | 275a3b5dfeef3078b258e89ca8b7396ab0eab02f | [
"MIT"
] | null | null | null | /*
*
* 给定数组 nums 由正整数组成,找到三个互不重叠的子数组的最大和。
*
* 每个子数组的长度为k,我们要使这3*k个项的和最大化。
*
* 返回每个区间起始索引的列表(索引从 0 开始)。如果有多个结果,返回字典序最小的一个。
*
* 示例:
*
*
* 输入: [1,2,1,2,6,7,5,1], 2
* 输出: [0, 3, 5]
* 解释: 子数组 [1, 2], [2, 6], [7, 5] 对应的起始索引为 [0, 3, 5]。
* 我们也可以取 [2, 1], 但是结果 [1, 3, 5] 在字典序上更大。
*
*
* 注意:
*
... | 16.259259 | 53 | 0.512528 |
38ccb7634deb70d85573544aef5899fe9b8bde9b | 694 | js | JavaScript | p5-projects/2.5.3 Rainbow Paintbrush/sketch.js | jht1493/p5js-repo | 587153d8362ddb489ad9a939b0e4788ebb9cd2e4 | [
"MIT"
] | null | null | null | p5-projects/2.5.3 Rainbow Paintbrush/sketch.js | jht1493/p5js-repo | 587153d8362ddb489ad9a939b0e4788ebb9cd2e4 | [
"MIT"
] | null | null | null | p5-projects/2.5.3 Rainbow Paintbrush/sketch.js | jht1493/p5js-repo | 587153d8362ddb489ad9a939b0e4788ebb9cd2e4 | [
"MIT"
] | null | null | null | let a_hue;
function setup() {
// createCanvas(windowWidth, windowHeight);
createCanvas(400, 200);
background(0);
a_hue = 0;
}
function draw() {
// background(220);
}
function mouseDragged() {
// if (a_hue > 360) {
// a_hue = 0;
// } else {
// a_hue += 10;
// }
a_hue = (a_hue + 10) % 360;
... | 18.756757 | 77 | 0.626801 |
38ce39bc570bb41916a78bb19c1d5ab8b7e3b539 | 8,371 | js | JavaScript | src/Data/Characters/Qiqi/data.test.js | SohumB/genshin-optimizer | c8ef602fcee84418c0439dbcc212bc8969daf9ed | [
"MIT"
] | null | null | null | src/Data/Characters/Qiqi/data.test.js | SohumB/genshin-optimizer | c8ef602fcee84418c0439dbcc212bc8969daf9ed | [
"MIT"
] | null | null | null | src/Data/Characters/Qiqi/data.test.js | SohumB/genshin-optimizer | c8ef602fcee84418c0439dbcc212bc8969daf9ed | [
"MIT"
] | null | null | null | import formula from "./data"
import { applyArtifacts, computeAllStats, createProxiedStats } from "../TestUtils"
let setupStats = {}
// Discord ID: 822861794544582686
describe("Test Qiqi's formulas (Camelva#7085)", () => {
beforeEach(() => {
setupStats = createProxiedStats({
characterHP: 10050, characterAT... | 43.598958 | 107 | 0.624895 |
38ce6b6ec6dbd108eca04d95ce7920375615b43a | 184 | js | JavaScript | src/store/configureStore.js | sylvaindethier/redux-todomvc | 4a3bcd30c3f65768eb3421c48d5d660e25abb042 | [
"MIT"
] | null | null | null | src/store/configureStore.js | sylvaindethier/redux-todomvc | 4a3bcd30c3f65768eb3421c48d5d660e25abb042 | [
"MIT"
] | null | null | null | src/store/configureStore.js | sylvaindethier/redux-todomvc | 4a3bcd30c3f65768eb3421c48d5d660e25abb042 | [
"MIT"
] | null | null | null | // export configureStore
const suffix = process.env.NODE_ENV === 'production' ? '.prod' : '.dev';
module.exports = require('./configureStore' + suffix);
export default module.exports;
| 36.8 | 72 | 0.717391 |
38d48a472e9973fc0dec1ff317585add0bd230c4 | 306 | js | JavaScript | server/handlers/index.js | Ericchow97/giftit | f733a576229c43e3783bc44f3becfc39178d86f8 | [
"MIT"
] | null | null | null | server/handlers/index.js | Ericchow97/giftit | f733a576229c43e3783bc44f3becfc39178d86f8 | [
"MIT"
] | null | null | null | server/handlers/index.js | Ericchow97/giftit | f733a576229c43e3783bc44f3becfc39178d86f8 | [
"MIT"
] | null | null | null | import { createClient } from "./client";
import { getOneTimeUrl } from "./mutations/get-one-time-url";
import { getSubscriptionUrl } from "./mutations/get-subscription-url";
import * as giftitFunctions from "./giftit-functions"
export { createClient, getOneTimeUrl, getSubscriptionUrl, giftitFunctions };
| 43.714286 | 76 | 0.764706 |
38d5332d1e810476e8d5551a24420fe10bbd18f2 | 1,354 | js | JavaScript | src/components/search/SearchPage.js | ajames72/MovieDBReact | 7bbe24f9c6e87c64a7d5c71768eedfd2ed1c3d06 | [
"MIT"
] | null | null | null | src/components/search/SearchPage.js | ajames72/MovieDBReact | 7bbe24f9c6e87c64a7d5c71768eedfd2ed1c3d06 | [
"MIT"
] | null | null | null | src/components/search/SearchPage.js | ajames72/MovieDBReact | 7bbe24f9c6e87c64a7d5c71768eedfd2ed1c3d06 | [
"MIT"
] | null | null | null | /**
* @file SearchPage component
* @description Higer Order Component for Search landing pages
* @author Andrew James
* @version 0.1
*/
import React, {PropTypes} from 'react';
import Search from '../common/search/Search';
import Results from '../results/Results';
export default function SearchPage() {
class Se... | 26.038462 | 102 | 0.65805 |
38d6038cdafd007c7659a499083e429dfe810723 | 910 | js | JavaScript | src/components/Home/Home.js | ks093/frappe-react-example | 90401330c6b92368e0e11d67157b985917daedc3 | [
"MIT"
] | null | null | null | src/components/Home/Home.js | ks093/frappe-react-example | 90401330c6b92368e0e11d67157b985917daedc3 | [
"MIT"
] | null | null | null | src/components/Home/Home.js | ks093/frappe-react-example | 90401330c6b92368e0e11d67157b985917daedc3 | [
"MIT"
] | null | null | null | import React,{ useState } from 'react';
import { withRouter } from 'react-router-dom';
import { API_BASE_URL } from '../../constants/apiConstants';
function Home(props) {
const [state , setState] = useState({
response: null
})
let myHeaders = new Headers();
myHeaders.append("Authorization", `Bea... | 27.575758 | 99 | 0.575824 |
38d8a8c718a31143ae0679714e7dc4250b5a76a7 | 857 | js | JavaScript | webpack.config.js | STDSuperman/RxJS-Learn | 1a1db8ba4cec0802d39a25354f9f4489c33ec18a | [
"MIT"
] | null | null | null | webpack.config.js | STDSuperman/RxJS-Learn | 1a1db8ba4cec0802d39a25354f9f4489c33ec18a | [
"MIT"
] | null | null | null | webpack.config.js | STDSuperman/RxJS-Learn | 1a1db8ba4cec0802d39a25354f9f4489c33ec18a | [
"MIT"
] | null | null | null | const path = require('path');
const webpack = require('webpack')
const HtmlWebpackPlugin = require('html-webpack-plugin')
module.exports = {
mode: 'development',
entry: {
index: ['webpack-hot-middleware/client?http://localhost:3000', path.resolve(__dirname, 'src/index.ts')]
},
output: {
... | 27.645161 | 115 | 0.537923 |
38d9107c7101251bf572aa18035713bb23c9022e | 3,137 | js | JavaScript | frontend/src/components/Modals/CreateGameModal.js | ScoTonyField/Kahoo-liked-app | db7f52ac1da49631655338fb83fe121287d04634 | [
"MIT"
] | null | null | null | frontend/src/components/Modals/CreateGameModal.js | ScoTonyField/Kahoo-liked-app | db7f52ac1da49631655338fb83fe121287d04634 | [
"MIT"
] | null | null | null | frontend/src/components/Modals/CreateGameModal.js | ScoTonyField/Kahoo-liked-app | db7f52ac1da49631655338fb83fe121287d04634 | [
"MIT"
] | null | null | null | import React from 'react';
import {
Button,
TextField,
Dialog,
DialogActions,
DialogContent,
DialogContentText,
DialogTitle
} from '@material-ui/core';
import { useTheme } from '@material-ui/core/styles';
import PropTypes from 'prop-types';
import makeAPIRequest from '../../Api';
import useMediaQuery from... | 27.043103 | 92 | 0.58336 |
38da5c18a4f860993bc22ccd05f420b9fb4b3b1b | 86 | js | JavaScript | gulpfile.babel.js | rthor/blai-naglinn | 1bf698023fe41dedd0b5f3a4326669dfb64bd845 | [
"Unlicense",
"MIT"
] | null | null | null | gulpfile.babel.js | rthor/blai-naglinn | 1bf698023fe41dedd0b5f3a4326669dfb64bd845 | [
"Unlicense",
"MIT"
] | null | null | null | gulpfile.babel.js | rthor/blai-naglinn | 1bf698023fe41dedd0b5f3a4326669dfb64bd845 | [
"Unlicense",
"MIT"
] | null | null | null | import {sync} from 'glob';
sync('./gulp/tasks/*.js').forEach(task => require(task));
| 21.5 | 57 | 0.639535 |
38dc66b46f0d054437dfc81757ca41e82150ddd2 | 448 | js | JavaScript | _components/src/stories/Banners/index.js | blairanderson/tachyonstemplates | 35d554476567c35371fa343e93455a56c860f617 | [
"CC-BY-3.0"
] | 21 | 2017-11-24T02:37:50.000Z | 2020-08-28T16:36:39.000Z | _components/src/stories/Banners/index.js | blairanderson/tachyonstemplates | 35d554476567c35371fa343e93455a56c860f617 | [
"CC-BY-3.0"
] | 14 | 2017-07-27T21:33:33.000Z | 2022-03-08T22:39:44.000Z | _components/src/stories/Banners/index.js | blairanderson/tachyonstemplates | 35d554476567c35371fa343e93455a56c860f617 | [
"CC-BY-3.0"
] | 7 | 2017-10-27T06:48:21.000Z | 2021-11-06T03:23:09.000Z | /* eslint-disable import/no-extraneous-dependencies, import/no-unresolved, import/extensions */
import React from 'react';
import { storiesOf } from '@storybook/react';
import Basic from './Basic.js';
import Info from './Info.js';
import SingleCta from './SingleCta.js';
storiesOf('Banners')
.addWithInfo('Basic', Ba... | 34.461538 | 95 | 0.707589 |
38de14bf89a8411229058d6d91d7cac54177208b | 426 | js | JavaScript | src/components/EmptyFavoritesMoviesList/index.js | eltonlazzarin/movies-react-app | ce58b16d41145fbfd7cf9ed7326aff01596471f0 | [
"MIT"
] | null | null | null | src/components/EmptyFavoritesMoviesList/index.js | eltonlazzarin/movies-react-app | ce58b16d41145fbfd7cf9ed7326aff01596471f0 | [
"MIT"
] | null | null | null | src/components/EmptyFavoritesMoviesList/index.js | eltonlazzarin/movies-react-app | ce58b16d41145fbfd7cf9ed7326aff01596471f0 | [
"MIT"
] | null | null | null | import React from 'react';
import { Link } from 'react-router-dom';
import logo from '../../assets/logo.png';
import { Container } from './styles';
export default function EmptyFavoritesMoviesList() {
return (
<Container>
<span>
<img src={logo} alt="Movie Logo" />
<h4>No favorites movies ... | 22.421053 | 54 | 0.607981 |
385c695c141618e7e2a59d547a29c97ca5ec97f7 | 894 | js | JavaScript | scripts/module.js | bwakeland/PF2E-Combat-Automation | 00d83a524f15229c61f5d4a6f579e4c469ac7d49 | [
"MIT"
] | null | null | null | scripts/module.js | bwakeland/PF2E-Combat-Automation | 00d83a524f15229c61f5d4a6f579e4c469ac7d49 | [
"MIT"
] | 1 | 2021-06-01T07:12:58.000Z | 2021-06-01T07:12:58.000Z | scripts/module.js | bwakeland/PF2E-Combat-Automation | 00d83a524f15229c61f5d4a6f579e4c469ac7d49 | [
"MIT"
] | null | null | null | import {parseAttack} from "./lib/parse-attack.js";
import {xpPopup} from "./lib/xp-popup.js";
import {vexingTumble} from "./lib/vexing-tumble.js";
import {parseSkill} from "./lib/parse-skill.js";
Hooks.once('init', async function () {
});
Hooks.once('ready', async function () {
game['PF2ECombatAutomation'] = {
... | 33.111111 | 98 | 0.60179 |