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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
8005b6c11d5f3501134f7af1097802df7c9bf404 | 2,434 | js | JavaScript | 3.x/a00808.js | musasesay/tesseract-ocr.github.io | 61f815042b9722305fc9d4933c3dbf3b5e3915b5 | [
"Apache-2.0"
] | 8 | 2020-01-31T02:21:41.000Z | 2022-02-09T09:39:21.000Z | 3.x/a00808.js | musasesay/tesseract-ocr.github.io | 61f815042b9722305fc9d4933c3dbf3b5e3915b5 | [
"Apache-2.0"
] | 1 | 2021-05-28T16:54:43.000Z | 2021-05-28T16:58:02.000Z | 3.x/a00808.js | musasesay/tesseract-ocr.github.io | 61f815042b9722305fc9d4933c3dbf3b5e3915b5 | [
"Apache-2.0"
] | 9 | 2021-01-25T01:17:47.000Z | 2022-02-12T08:40:52.000Z | var a00808 =
[
[ "WERD", "a00649.html", "a00649" ],
[ "DISPLAY_FLAGS", "a00808.html#a6d51e432a32c55ab6c02df47f4ca62c4", [
[ "DF_BOX", "a00808.html#a6d51e432a32c55ab6c02df47f4ca62c4a5847cc6ed455e6638b3c070319cd2d89", null ],
[ "DF_TEXT", "a00808.html#a6d51e432a32c55ab6c02df47f4ca62c4a45d1d55c62ce1c09... | 86.928571 | 121 | 0.787182 |
800911669072679623628f8f7eba2a7f0419bf68 | 1,253 | js | JavaScript | lojavirtual/redux/reducers/produtoReducers.js | Lucas-HMSC/ecommerce-MERN | 3c9a182245c415552667e4de57a01ba04813ba45 | [
"MIT"
] | 1 | 2021-03-23T06:24:43.000Z | 2021-03-23T06:24:43.000Z | lojavirtual/redux/reducers/produtoReducers.js | ozgurmuraterhan/ecommerce-MERN | 581227a0396156c6d089981d173000274c147f0e | [
"MIT"
] | null | null | null | lojavirtual/redux/reducers/produtoReducers.js | ozgurmuraterhan/ecommerce-MERN | 581227a0396156c6d089981d173000274c147f0e | [
"MIT"
] | 1 | 2021-03-23T06:24:45.000Z | 2021-03-23T06:24:45.000Z | import {
FETCH_PRODUTOS,
FETCH_PESQUISA,
FETCH_PRODUTOS_PESQUISA,
FETCH_PRODUTO,
FETCH_PRODUTO_AVALIACOES,
FETCH_PRODUTO_VARIACOES,
NOVA_AVALIACAO,
} from '../types';
const initialState = {
produtos: null,
termo: '',
produtosPesquisa: null,
produto: null,
};
export default (state = initialState,... | 20.883333 | 72 | 0.596169 |
80091fe94668595c30e5dcb583365833ee370f8e | 852 | js | JavaScript | Root/Commands/MessageCommands/Mini-jeux/peche.js | Kae-Tempest/Raphael | d87aeeac3ab1f0c67dc8d7278d4c28c09f37f3ee | [
"MIT"
] | 2 | 2022-01-20T20:28:34.000Z | 2022-01-28T16:24:16.000Z | Root/Commands/MessageCommands/Mini-jeux/peche.js | Kae-Tempest/Raphael-V13 | d87aeeac3ab1f0c67dc8d7278d4c28c09f37f3ee | [
"MIT"
] | null | null | null | Root/Commands/MessageCommands/Mini-jeux/peche.js | Kae-Tempest/Raphael-V13 | d87aeeac3ab1f0c67dc8d7278d4c28c09f37f3ee | [
"MIT"
] | null | null | null | module.exports = {
name: 'peche',
usage: 'peche',
exemple: 'peche',
description: 'permet de pecher pour faire passer le temps',
run: (client, message) => {
let number = Math.round(Math.random() * 10);
let price;
switch (number) {
case 1:
price = 'un **Poisson Clown**';
break;
case 2:
price ... | 19.363636 | 60 | 0.534038 |
8009e3f916da86b7eef9c16db621a49b2d65da0d | 3,403 | js | JavaScript | packages/patcher/src/Patcher.js | mbarto/MapStore-monorepo | 02fc2aceea8b7f6322d9a7216fc7d1cd848784a0 | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | packages/patcher/src/Patcher.js | mbarto/MapStore-monorepo | 02fc2aceea8b7f6322d9a7216fc7d1cd848784a0 | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | packages/patcher/src/Patcher.js | mbarto/MapStore-monorepo | 02fc2aceea8b7f6322d9a7216fc7d1cd848784a0 | [
"BSD-2-Clause-FreeBSD"
] | 1 | 2021-05-26T07:46:46.000Z | 2021-05-26T07:46:46.000Z | import jiff from "jiff";
import jp from "jsonpath";
import isArray from "lodash/isArray";
import isString from "lodash/isString";
import castArray from "lodash/castArray";
/**
* convert paths from jsonpath format to json patch format
* @param {object[]} paths array of paths in jsonpath format
*/
export const trans... | 35.082474 | 98 | 0.662063 |
800b2431c5abc89d524d8fa6715933c7f82b26c8 | 649 | js | JavaScript | src/javascripts/components/molecules/Tags.js | fuu-tech/question-station-sample | 7b5ca9bdc83ed27e965d1e60d890157b8fbe8a5c | [
"MIT"
] | 1 | 2020-04-05T04:51:17.000Z | 2020-04-05T04:51:17.000Z | src/javascripts/components/molecules/Tags.js | fuu-tech/question-station-sample | 7b5ca9bdc83ed27e965d1e60d890157b8fbe8a5c | [
"MIT"
] | null | null | null | src/javascripts/components/molecules/Tags.js | fuu-tech/question-station-sample | 7b5ca9bdc83ed27e965d1e60d890157b8fbe8a5c | [
"MIT"
] | null | null | null | import React from 'react';
import { useSelector } from 'react-redux';
import PropTypes from 'prop-types';
import { List } from 'immutable';
import Tag from '../atoms/Tag';
const propTypes = {
tags: PropTypes.instanceOf(List),
};
const isMobileSelector = state => state.options.get('isMobile');
const Tags = ({ tag... | 23.178571 | 70 | 0.624037 |
800b3d32b9f2cf623b7e1db5d609fe5ef5c8f847 | 357,705 | js | JavaScript | public/js/app2.js | djokicaleksa/ekos | 7fb0c6b3760c25070790250f6debaa199ac5de64 | [
"MIT"
] | null | null | null | public/js/app2.js | djokicaleksa/ekos | 7fb0c6b3760c25070790250f6debaa199ac5de64 | [
"MIT"
] | null | null | null | public/js/app2.js | djokicaleksa/ekos | 7fb0c6b3760c25070790250f6debaa199ac5de64 | [
"MIT"
] | null | null | null | /******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId])
/******/ retu... | 96.028188 | 232,504 | 0.820819 |
800dff262f48089de2e6a502ef9094cfb3b5738c | 1,064 | js | JavaScript | src/sources/Wishes.js | chechecarer/wishtree_web | f970e3cabe145a336d734890b575d970f63c255a | [
"MIT"
] | null | null | null | src/sources/Wishes.js | chechecarer/wishtree_web | f970e3cabe145a336d734890b575d970f63c255a | [
"MIT"
] | null | null | null | src/sources/Wishes.js | chechecarer/wishtree_web | f970e3cabe145a336d734890b575d970f63c255a | [
"MIT"
] | null | null | null | /**
* Created by carrie on 2016/7/20.
*/
module.export = (function(){
var loaddata = function(){
return wishes;
}
var wishes = [
{
"id": 1,
"name": "愿望1",
"summary": "愿望故事愿望故事愿望故事愿望故事愿望故事愿望故事愿望故事愿望故事愿望故事愿望故事愿望故事愿望故事愿望故事愿望故事愿望故事",
"thumbnail":"../../images/wish1.jpg",
... | 22.638298 | 80 | 0.534774 |
800f5966f26cb5377c7d2e653faf44ccad912041 | 30,225 | js | JavaScript | Documentation/html/de/d8e/class_y_t_music_uploader_1_1_providers_1_1_request_models_1_1_browse_artist_results_continuation_context.js | jamesbrindle/YTMusicUploader | c2c7c7d694275f311932316794d179b44814c4d2 | [
"MIT"
] | 127 | 2020-08-30T16:36:03.000Z | 2022-02-19T19:17:08.000Z | Documentation/html/de/d8e/class_y_t_music_uploader_1_1_providers_1_1_request_models_1_1_browse_artist_results_continuation_context.js | fcrimins/YTMusicUploader | e90784391398a96e12595dc6fe4dda64ae345cae | [
"MIT"
] | 33 | 2020-08-31T17:17:16.000Z | 2021-10-16T11:41:03.000Z | Documentation/html/de/d8e/class_y_t_music_uploader_1_1_providers_1_1_request_models_1_1_browse_artist_results_continuation_context.js | fcrimins/YTMusicUploader | e90784391398a96e12595dc6fe4dda64ae345cae | [
"MIT"
] | 22 | 2020-10-10T19:55:56.000Z | 2022-03-08T03:53:59.000Z | var class_y_t_music_uploader_1_1_providers_1_1_request_models_1_1_browse_artist_results_continuation_context =
[
[ "Accessibility", "d3/df9/class_y_t_music_uploader_1_1_providers_1_1_request_models_1_1_browse_artist_results_continuation_context_1_1_accessibility.html", "d3/df9/class_y_t_music_uploader_1_1_providers... | 285.141509 | 336 | 0.914971 |
8010ee39379080a70cdaeeb6a64aa32f92bef303 | 495 | js | JavaScript | src/index.js | Artemische/love-triangle | 3ddf9c3248e2ab32cb5a32ae8152bc2afc568513 | [
"MIT"
] | null | null | null | src/index.js | Artemische/love-triangle | 3ddf9c3248e2ab32cb5a32ae8152bc2afc568513 | [
"MIT"
] | null | null | null | src/index.js | Artemische/love-triangle | 3ddf9c3248e2ab32cb5a32ae8152bc2afc568513 | [
"MIT"
] | null | null | null | /**
* @param preferences - an array of integers. Indices of people, whom they love
* @returns number of love triangles
*/
module.exports = function getLoveTrianglesCount(preferences = []) {
let number = 0;
for (let i = 0; i < preferences.length; i++) {
let first = i + 1, second = preferences[i], third = pref... | 27.5 | 80 | 0.59798 |
8011cac5c22b1dacd2011c3e3ae4ef489ddc179b | 10,872 | js | JavaScript | .next/server/components_comments_Utterances_js.js | mesquita09/blog | 59e7a4c58520ea72dbcce1e79c1e139a4799a185 | [
"MIT"
] | null | null | null | .next/server/components_comments_Utterances_js.js | mesquita09/blog | 59e7a4c58520ea72dbcce1e79c1e139a4799a185 | [
"MIT"
] | 2 | 2021-09-27T23:38:52.000Z | 2021-09-28T00:11:49.000Z | .next/server/components_comments_Utterances_js.js | mesquita09/blog | 59e7a4c58520ea72dbcce1e79c1e139a4799a185 | [
"MIT"
] | null | null | null | "use strict";
/*
* ATTENTION: An "eval-source-map" devtool has been used.
* This devtool is neither made for production nor for readable output files.
* It uses "eval()" calls to create a separate source file with attached SourceMaps in the browser devtools.
* If you are trying to read the output file, select a dif... | 434.88 | 9,890 | 0.865986 |
8012a08dcf71abb059ddfdab13d3effb079dc0ec | 1,887 | js | JavaScript | assets/javascript/index.js | feedit/feedit_ios | 4ad29aaba1cf584127af72016071f579afe8c685 | [
"MIT"
] | null | null | null | assets/javascript/index.js | feedit/feedit_ios | 4ad29aaba1cf584127af72016071f579afe8c685 | [
"MIT"
] | null | null | null | assets/javascript/index.js | feedit/feedit_ios | 4ad29aaba1cf584127af72016071f579afe8c685 | [
"MIT"
] | null | null | null | // webview demo
'use strict';
/**
* mock data
*/
var line = 0;
var data = [];
while (line --) {
data.push({
id: line,
title: '这里的一行文字是文章标题长长长长长长长长长长长长',
url: 'http://www.xdf.me',
date: '2013.12.12'
});
}
var userAgent = navigator.userAgent;
var ios = !!userAgent.match(/\(i[^;]+;( U;)? CPU.+Mac ... | 23.012195 | 83 | 0.54849 |
80134567ac8cdd867d218ebf2524b1d3f347e67d | 335 | js | JavaScript | 3.05.02/a03877.js | isabella232/tessapi | 54e30298a42ca64562008bc093ae678de3752c30 | [
"Apache-2.0"
] | 8 | 2020-01-31T02:21:41.000Z | 2022-02-09T09:39:21.000Z | 3.05.02/a03877.js | tesseract-ocr/tessapi | 54e607767038052bb5df70a1f092a21a85d89d06 | [
"Apache-2.0"
] | 1 | 2021-05-28T16:54:43.000Z | 2021-05-28T16:58:02.000Z | 3.05.02/a03877.js | isabella232/tessapi | 54e30298a42ca64562008bc093ae678de3752c30 | [
"Apache-2.0"
] | 9 | 2021-01-25T01:17:47.000Z | 2022-02-12T08:40:52.000Z | var a03877 =
[
[ "base", "a03877.html#ae028bc4aeeac5b0528c6be363260c2ce", null ],
[ "MemberSignature", "a03877.html#a736f54def573a4e6bd2b9a6eb299cfb3", null ],
[ "_TessMemberResultCallback_1_5", "a03877.html#a66aca73b0393a72eab90ee77e8d4ea2b", null ],
[ "Run", "a03877.html#ab04dd2fcaa9a0e849a390f38e81d9... | 47.857143 | 95 | 0.740299 |
8013a3eff98f718879ae9c7259def4e7ee9e1503 | 200 | js | JavaScript | client/socket.js | TIMI-Y/fiora | 15f366908583ed8c8e222bd7af91878a714d4eef | [
"MIT"
] | 3 | 2018-08-03T08:19:16.000Z | 2018-08-03T08:19:33.000Z | client/socket.js | veshen/fiora | 8eb2312765fd66a1e0d4c300c7a030dbb1e5053c | [
"MIT"
] | 1 | 2019-11-15T11:15:12.000Z | 2019-11-15T11:15:12.000Z | client/socket.js | veshen/fiora | 8eb2312765fd66a1e0d4c300c7a030dbb1e5053c | [
"MIT"
] | 1 | 2018-05-10T07:07:16.000Z | 2018-05-10T07:07:16.000Z | import IO from 'socket.io-client';
import config from '../config/client';
const options = {
// reconnectionDelay: 1000,
};
const socket = new IO(config.server, options);
export default socket;
| 18.181818 | 46 | 0.705 |
80143f5e04213be26aca552b4f0953ce7d4260ac | 13,726 | js | JavaScript | assets/sprite/create-sprite-svgs.js | NYCPlanning/labs-layers-api | bfd7eaf3c72a2bbf2e1b812ce04d2f2a6295bcad | [
"CC0-1.0"
] | 12 | 2018-10-30T14:49:17.000Z | 2021-10-16T11:33:27.000Z | assets/sprite/create-sprite-svgs.js | NYCPlanning/labs-layers-api | bfd7eaf3c72a2bbf2e1b812ce04d2f2a6295bcad | [
"CC0-1.0"
] | 99 | 2018-08-06T18:14:24.000Z | 2022-03-18T02:50:21.000Z | assets/sprite/create-sprite-svgs.js | NYCPlanning/labs-layers-api | bfd7eaf3c72a2bbf2e1b812ce04d2f2a6295bcad | [
"CC0-1.0"
] | 2 | 2021-08-24T05:43:33.000Z | 2022-02-23T12:54:11.000Z | const fs = require('fs');
const colors = [
{ hex: '#212326', name: 'black' },
{ hex: '#393c41', name: 'charcoal' },
{ hex: '#5d626a', name: 'dark_gray' },
{ hex: '#828892', name: 'gray' },
{ hex: '#aaafb5', name: 'light_gray' },
{ hex: '#d3d5d9', name: 'silver' },
{ hex: '#ecedee', name: 'white_smoke' },... | 40.85119 | 150 | 0.597771 |
80147b4636de636e45e88bff83722f981ef78b3e | 2,558 | js | JavaScript | node_package/tests/generatorFunction.test.js | mirzamanib/react_on_rails | e3e1d3824cb2294d48282a70cb9e8f3ec4ecec1d | [
"MIT"
] | null | null | null | node_package/tests/generatorFunction.test.js | mirzamanib/react_on_rails | e3e1d3824cb2294d48282a70cb9e8f3ec4ecec1d | [
"MIT"
] | 15 | 2020-09-07T00:17:50.000Z | 2022-02-26T16:51:21.000Z | node_package/tests/generatorFunction.test.js | mirzamanib/react_on_rails | e3e1d3824cb2294d48282a70cb9e8f3ec4ecec1d | [
"MIT"
] | 1 | 2018-11-14T19:05:24.000Z | 2018-11-14T19:05:24.000Z | /* eslint-disable react/no-multi-comp */
/* eslint-disable react/prefer-es6-class */
/* eslint-disable react/prefer-stateless-function */
/* eslint-disable react/jsx-filename-extension */
import test from 'tape';
import React from 'react';
import createReactClass from 'create-react-class';
import generatorFunction fr... | 27.212766 | 89 | 0.69742 |
8014cae2703aad491e6161134ef8693cdc637332 | 139 | js | JavaScript | scripts/cycle_function.js | bobybr/IBMA | 31532f5168c8c553eafedf36531106dada6dea46 | [
"MIT"
] | null | null | null | scripts/cycle_function.js | bobybr/IBMA | 31532f5168c8c553eafedf36531106dada6dea46 | [
"MIT"
] | null | null | null | scripts/cycle_function.js | bobybr/IBMA | 31532f5168c8c553eafedf36531106dada6dea46 | [
"MIT"
] | null | null | null | $(function(){
$("#noticias_destaque ul").cycle({
fx:'fade',
speed: 1500,
timeout: 5000,
pager: '#pager',
})
}) | 17.375 | 37 | 0.489209 |
8016789e5187b26ad6d00aa6b50af567ab9d06cb | 345 | js | JavaScript | example-rome/index.js | arturparkhisenko/es-transpiling | 408b0bb579a35f5831770ab02e62bca08717f17e | [
"MIT"
] | null | null | null | example-rome/index.js | arturparkhisenko/es-transpiling | 408b0bb579a35f5831770ab02e62bca08717f17e | [
"MIT"
] | 1 | 2018-05-23T19:18:36.000Z | 2018-10-18T12:16:19.000Z | example-rome/index.js | arturparkhisenko/es-transpiling | 408b0bb579a35f5831770ab02e62bca08717f17e | [
"MIT"
] | null | null | null | import {
empty,
generateName,
getRandomQuote,
zombieFactory,
zombie
} from './src/index';
// Rome throws error resolver/notFound with message: Cannot find ../src/index from index.js
export { empty, generateName, getRandomQuote, zombieFactory, zombie };
export default { empty, generateName, getRandomQuote, ... | 24.642857 | 91 | 0.747826 |
8017c4e8661cfcdc96c24790c4d9b291ddc8f7a6 | 1,444 | js | JavaScript | src/services/query.js | backand/vanilla-sdk | 9702f6715e46f10a19dd5644cfc12115e0a32892 | [
"MIT"
] | 13 | 2017-02-15T17:38:45.000Z | 2018-05-10T23:30:11.000Z | src/services/query.js | backand/bkndvanilla-sdk | 9702f6715e46f10a19dd5644cfc12115e0a32892 | [
"MIT"
] | 4 | 2017-02-13T10:49:57.000Z | 2017-11-02T12:24:00.000Z | src/services/query.js | backand/bkndvanilla-sdk | 9702f6715e46f10a19dd5644cfc12115e0a32892 | [
"MIT"
] | 1 | 2018-07-13T17:21:26.000Z | 2018-07-13T17:21:26.000Z | import { URLS } from './../constants'
import defaults from './../defaults'
import utils from './../utils/utils'
import { __generateFakeResponse__, hash, __cacheData__, __queueRequest__ } from './../utils/fns'
export default {
get,
post,
}
function get (name, parameters) {
console.warn('NOTE: this method will be... | 27.769231 | 111 | 0.619806 |
8018f41683c62154ba7500dba17361ac07128e79 | 2,922 | js | JavaScript | support/run/btestrunner.js | timmartin/skulpt | 2e3a3fbbaccc12baa29094a717ceec491a8a6750 | [
"MIT"
] | 2,671 | 2015-01-03T08:23:25.000Z | 2022-03-31T06:15:48.000Z | support/run/btestrunner.js | timmartin/skulpt | 2e3a3fbbaccc12baa29094a717ceec491a8a6750 | [
"MIT"
] | 972 | 2015-01-05T08:11:00.000Z | 2022-03-29T13:47:15.000Z | support/run/btestrunner.js | timmartin/skulpt | 2e3a3fbbaccc12baa29094a717ceec491a8a6750 | [
"MIT"
] | 845 | 2015-01-03T19:53:36.000Z | 2022-03-29T18:34:22.000Z | function rununits(myDiv, pyver) {
var mypre = document.getElementById(myDiv+"_pre");
Sk.inputfun = function(prompt) {
return new Promise(function (resolve) { resolve(window.prompt(prompt)); });
};
mypre.innerHTML = '';
var dir, units, testfiles;
if (pyver == "python2") {
dir = "test/... | 26.563636 | 89 | 0.508556 |
801925c3694d6935c1343ae52ae78e004c8bbcd3 | 22,725 | js | JavaScript | js/lib/parse_kinome_and_background.js | adussaq/kinome_toolbox | 23caeacfec9d6b335e50601b650999b7e9710f13 | [
"MIT"
] | null | null | null | js/lib/parse_kinome_and_background.js | adussaq/kinome_toolbox | 23caeacfec9d6b335e50601b650999b7e9710f13 | [
"MIT"
] | null | null | null | js/lib/parse_kinome_and_background.js | adussaq/kinome_toolbox | 23caeacfec9d6b335e50601b650999b7e9710f13 | [
"MIT"
] | 1 | 2018-09-20T23:30:43.000Z | 2018-09-20T23:30:43.000Z | /*jslint bitwise: true*/
/*global KINOME*/
//Big TO-DO: need to make sure to check for all needed things and throw a flag if
// there is some sort of error...
(function (exports) {
'use strict';
var main, split_t, parseCrossTab, objectifyMeta, objectifyData, getIndex,
foldMeta, checkSame, mult1, me... | 36.128776 | 136 | 0.439604 |
801992366f8e8b8f64bdff98315dc42dec4914b0 | 142 | js | JavaScript | grunt/bump.js | kahlil/node-worklog | 954f2ef9f1e2a26f37455defeae5d16cdabb6fc3 | [
"MIT"
] | 1 | 2015-11-05T02:11:55.000Z | 2015-11-05T02:11:55.000Z | grunt/bump.js | kahlil/node-worklog | 954f2ef9f1e2a26f37455defeae5d16cdabb6fc3 | [
"MIT"
] | null | null | null | grunt/bump.js | kahlil/node-worklog | 954f2ef9f1e2a26f37455defeae5d16cdabb6fc3 | [
"MIT"
] | null | null | null | module.exports = function(grunt) {
'use strict';
grunt.config('bump', {
options: {
pushTo: 'origin'
}
});
};
| 14.2 | 34 | 0.485915 |
801a59d836e67737dad15b2e27800abe62cdfe8b | 373 | js | JavaScript | src/components/twitter/index.js | dinartecc/documentation | 5b05e9b2d4f8e680af73cc8773a98dfe9fb2c289 | [
"MIT"
] | 206 | 2015-04-24T04:39:03.000Z | 2022-03-17T20:13:40.000Z | src/components/twitter/index.js | ronelplana/documentation | 2481f670e85efb5b735fb474b8b122d35a334330 | [
"MIT"
] | 5,342 | 2015-04-23T23:07:09.000Z | 2022-03-31T20:02:53.000Z | src/components/twitter/index.js | ronelplana/documentation | 2481f670e85efb5b735fb474b8b122d35a334330 | [
"MIT"
] | 538 | 2015-04-23T23:15:04.000Z | 2022-03-25T08:13:53.000Z | import React from "react"
import './style.css';
const Twitter = ({ pageTitle, path }) => {
const text = `@getpantheon doc:${pageTitle} https://pantheon.io/docs/${path}`
return (
<a
className="btn btn-twitter"
href={`https://twitter.com/intent/tweet?text=${text}`}
><i className="fa fa... | 24.866667 | 79 | 0.61126 |
801aa8ce3c0b07c1aa6aaa3a44ba2bad586f695f | 3,050 | js | JavaScript | grunt/concat.js | Harvard-ATG/Neatline | ef2ae50f9d937e10c51da8050946894bff3c81ad | [
"Apache-2.0"
] | 57 | 2015-03-14T00:35:23.000Z | 2022-02-21T19:23:33.000Z | grunt/concat.js | Harvard-ATG/Neatline | ef2ae50f9d937e10c51da8050946894bff3c81ad | [
"Apache-2.0"
] | 168 | 2015-01-02T06:54:24.000Z | 2022-02-23T20:28:11.000Z | omk-uspg/html/plugins/Neatline/grunt/concat.js | culturesofknowledge/site-portal | 5ea7021f3e7efc88c76437f4728f13d40067ae79 | [
"MIT"
] | 28 | 2015-01-12T16:01:00.000Z | 2021-11-10T22:06:31.000Z |
/**
* @package omeka
* @subpackage neatline
* @copyright 2014 Rector and Board of Visitors, University of Virginia
* @license http://www.apache.org/licenses/LICENSE-2.0.html
*/
var publicVendor = [
'<%= paths.vendor.jquery %>',
'<%= paths.vendor.jquery_ui %>',
'<%= paths.vendor.lodash %>',
'<%... | 27.232143 | 73 | 0.561311 |
801ad7ddbd65871b356be5671c633ab5dce1b341 | 540 | js | JavaScript | app/scripts/controllers/ModalCtrl.js | ameliorable/bloc-chat | 1cf317144919467c5335e08d27a895eb5abc9201 | [
"Apache-2.0"
] | null | null | null | app/scripts/controllers/ModalCtrl.js | ameliorable/bloc-chat | 1cf317144919467c5335e08d27a895eb5abc9201 | [
"Apache-2.0"
] | null | null | null | app/scripts/controllers/ModalCtrl.js | ameliorable/bloc-chat | 1cf317144919467c5335e08d27a895eb5abc9201 | [
"Apache-2.0"
] | null | null | null | (function() {
function ModalCtrl($uibModalInstance, Room) {
// need methods to open, close, and submit data to Firebase
this.createRoom = function() {
Room.add(this.newRoom);
$uibModalInstance.close();
};
// open and create new room
this.cancel = function() {
$... | 25.714286 | 75 | 0.585185 |
801b1aa7b17c1a9eb75cba6d54dd0193c7351674 | 2,318 | js | JavaScript | random js problems/work/FlatDeepChildrenTree.js | willystyle7/JS-fundamentals | 6e9e58e302c9573bf0bb7e9e3e71581463245e59 | [
"MIT"
] | null | null | null | random js problems/work/FlatDeepChildrenTree.js | willystyle7/JS-fundamentals | 6e9e58e302c9573bf0bb7e9e3e71581463245e59 | [
"MIT"
] | null | null | null | random js problems/work/FlatDeepChildrenTree.js | willystyle7/JS-fundamentals | 6e9e58e302c9573bf0bb7e9e3e71581463245e59 | [
"MIT"
] | null | null | null | let configs = require('./configs.json');
function getFlatChildren(configs) {
return Object.keys(configs).map((webConfig) => {
return {
text: `${getWebConfigPath(webConfig)}`,
data: {
key: webConfig,
type: 'json',
platform: 'platform',
... | 30.103896 | 103 | 0.547023 |
801b2fb88de4485b8ec5ab06606935dcc44a98c3 | 350,783 | js | JavaScript | static/assets/js/wxeditor/1b0fbf.ng-tpl.min.js | mn3711698/wrobot | c29fffb58f47c39d4f142d430f81712d00e02f18 | [
"MIT"
] | 23 | 2020-09-22T14:25:40.000Z | 2021-11-07T20:27:52.000Z | static/assets/js/wxeditor/1b0fbf.ng-tpl.min.js | a04512/wrobot | d8ae9e23637ba0a984c15a868e5c0093fdc74c23 | [
"MIT"
] | null | null | null | static/assets/js/wxeditor/1b0fbf.ng-tpl.min.js | a04512/wrobot | d8ae9e23637ba0a984c15a868e5c0093fdc74c23 | [
"MIT"
] | 6 | 2021-02-03T02:15:40.000Z | 2022-02-10T14:05:48.000Z | /*! Camus. Copyright © 2014 Triton Information. All rights reserved. */
!function(a){"use strict";var b="triton.tpl.v5.paper-cp",c=a.tn_ng_tpl_box=a.tn_ng_tpl_box||{};c[b]=function(a){return a.module(b,[]).run(["$templateCache",function(a){a.put("/tpls/paper-cp/card/001-cd1-base.html",'<ul tn-cell-type="group" tn-bind-... | 116,927.666667 | 350,682 | 0.64561 |
801b731d68a66ee5f104b3197a8e0968a545d146 | 1,789 | js | JavaScript | test/yagbs_test.js | rickychien/yagbs | 37ce75d101d4fcc8afb14fe5916f68143d662d6f | [
"MIT"
] | null | null | null | test/yagbs_test.js | rickychien/yagbs | 37ce75d101d4fcc8afb14fe5916f68143d662d6f | [
"MIT"
] | null | null | null | test/yagbs_test.js | rickychien/yagbs | 37ce75d101d4fcc8afb14fe5916f68143d662d6f | [
"MIT"
] | null | null | null | import assert from 'assert';
import fs from 'fs';
import rimraf from 'rimraf';
import yagbs from '../src/yagbs';
suite('Yagbs', () => {
let FIXTURES_DIR = `${process.cwd()}/test/fixtures`;
let removes = [
`${FIXTURES_DIR}/file-copy.txt`,
`${FIXTURES_DIR}/build-config-cache.json`,
`${FIXTURES_DIR}/buil... | 28.854839 | 80 | 0.586361 |
801c445d14b8afd854b6965c7c35aa362980efb1 | 92 | js | JavaScript | html/search/all_0.js | kavyadevd/turtlebotMove | 6f926e12e8d95afb0196dd5237e35d6acdb08455 | [
"BSD-3-Clause"
] | null | null | null | html/search/all_0.js | kavyadevd/turtlebotMove | 6f926e12e8d95afb0196dd5237e35d6acdb08455 | [
"BSD-3-Clause"
] | null | null | null | html/search/all_0.js | kavyadevd/turtlebotMove | 6f926e12e8d95afb0196dd5237e35d6acdb08455 | [
"BSD-3-Clause"
] | null | null | null | var searchData=
[
['turtlebot_20move_0',['Turtlebot Move',['../md_README.html',1,'']]]
];
| 18.4 | 70 | 0.630435 |
801d202658dc5471befd81ed62ffbccf2b259761 | 468 | js | JavaScript | controller/db.js | thespielplatz/gather-tsp-town | 42e7a711fba6da81b72b164481a8aed5840f58b7 | [
"MIT"
] | null | null | null | controller/db.js | thespielplatz/gather-tsp-town | 42e7a711fba6da81b72b164481a8aed5840f58b7 | [
"MIT"
] | null | null | null | controller/db.js | thespielplatz/gather-tsp-town | 42e7a711fba6da81b72b164481a8aed5840f58b7 | [
"MIT"
] | null | null | null | const StormDB = require("stormdb");
// start db with "./db.stormdb" storage location
// INFO: Relative Path starts with root here?
const STORMDB_FILE = `${process.env.DATA_PATH || './'}db.stormdb`
console.log(`Opening StormDB File at ${STORMDB_FILE}`)
const engine = new StormDB.localFileEngine(STORMDB_FILE);
const d... | 24.631579 | 65 | 0.707265 |
801e1211ebbde535074666de4e67eb6a384979eb | 324 | js | JavaScript | packages/react-dom-html-tags/src/__tests__/integration/head.template.append.test.js | adam-26/react-dom-html | c0b162f7d89558b835e408de901158861b4e9a54 | [
"MIT"
] | 1 | 2018-07-14T00:40:22.000Z | 2018-07-14T00:40:22.000Z | packages/react-dom-html-tags/src/__tests__/integration/head.template.append.test.js | adam-26/react-dom-html | c0b162f7d89558b835e408de901158861b4e9a54 | [
"MIT"
] | 1 | 2018-07-14T03:37:57.000Z | 2018-07-15T22:42:16.000Z | packages/react-dom-html-tags/src/__tests__/integration/head.template.append.test.js | adam-26/react-dom-html | c0b162f7d89558b835e408de901158861b4e9a54 | [
"MIT"
] | null | null | null | import React from "react";
import {runTestSets} from "./testHarness";
import {headTestSets} from "./testHarness.head";
// test that head <template> tags are appended to parent tag(s)
runTestSets(
headTestSets("append", "template", value => ({
id: value,
children: <div>template_{value}</div>
}))... | 27 | 63 | 0.657407 |
802010d44fca3017288e51f12008fc6e5137555b | 99 | js | JavaScript | solutions/using_npm_packages/main.js | lexiconPDX/browserify-adventure | a3952e695879351b8aabec5cde6c7aa07d312e7b | [
"MIT"
] | 54 | 2015-01-01T18:29:29.000Z | 2016-09-01T13:35:13.000Z | solutions/using_npm_packages/main.js | lexiconPDX/browserify-adventure | a3952e695879351b8aabec5cde6c7aa07d312e7b | [
"MIT"
] | 7 | 2015-02-04T03:22:30.000Z | 2016-06-21T03:59:30.000Z | solutions/using_npm_packages/main.js | lexiconPDX/browserify-adventure | a3952e695879351b8aabec5cde6c7aa07d312e7b | [
"MIT"
] | 12 | 2015-01-02T19:19:00.000Z | 2016-05-16T16:31:49.000Z | var uniq = require('uniq');
var list = prompt('enter a list').split(',');
console.log(uniq(list));
| 24.75 | 45 | 0.646465 |
802055e12dd5ee81756d233ad59af289e38cc34c | 7,112 | js | JavaScript | public/themes/material/client/app/modules/agenda/devexpress/scheduler/AgendasDevxSchedulerCtrl.controller.js | V4NK07SU/plataforma | 6f363db8bf60ea90b19b8c6f6dc39954c6ff100b | [
"MIT"
] | null | null | null | public/themes/material/client/app/modules/agenda/devexpress/scheduler/AgendasDevxSchedulerCtrl.controller.js | V4NK07SU/plataforma | 6f363db8bf60ea90b19b8c6f6dc39954c6ff100b | [
"MIT"
] | null | null | null | public/themes/material/client/app/modules/agenda/devexpress/scheduler/AgendasDevxSchedulerCtrl.controller.js | V4NK07SU/plataforma | 6f363db8bf60ea90b19b8c6f6dc39954c6ff100b | [
"MIT"
] | null | null | null | (function () {
'use strict';
angular
.module('app.modules.agendas.devexpress.scheduler')
.controller('AgendasDevxSchedulerCtrl', ControllerCtrl)
ControllerCtrl.$inject = ['$scope', '$window'];
/** @ngInject */
function ControllerCtrl($scope, $window) {
/*
console.lo... | 31.330396 | 84 | 0.505765 |
802138b5f3ea72e11defb808d173096a67e3c35b | 701 | js | JavaScript | db/seeds/seed.js | RichardBacon/budding-api | e5b47e5057faf7548a51ab140499115fe8fd6767 | [
"MIT"
] | 1 | 2021-11-04T14:14:06.000Z | 2021-11-04T14:14:06.000Z | db/seeds/seed.js | RichardBacon/budding-api | e5b47e5057faf7548a51ab140499115fe8fd6767 | [
"MIT"
] | null | null | null | db/seeds/seed.js | RichardBacon/budding-api | e5b47e5057faf7548a51ab140499115fe8fd6767 | [
"MIT"
] | null | null | null | const {
userData,
plantData,
snapshotData,
plantTypesData,
} = require('../data/index.js');
const { formatDates } = require('../utils/utils');
exports.seed = (knex) => {
return knex.migrate
.rollback()
.then(() => knex.migrate.latest())
.then(() => {
return knex('users').insert(userData);
... | 24.172414 | 62 | 0.60485 |
80235fa0cdda3c138251c5ec17b7134c0e3d9847 | 1,481 | js | JavaScript | projects/OG-Web/web-engine/prototype/scripts/lib/four/four.buffer.js | Incapture/OG-Platform | 76be42671e692483125582d6dce1245b81de03a1 | [
"Apache-2.0"
] | null | null | null | projects/OG-Web/web-engine/prototype/scripts/lib/four/four.buffer.js | Incapture/OG-Platform | 76be42671e692483125582d6dce1245b81de03a1 | [
"Apache-2.0"
] | null | null | null | projects/OG-Web/web-engine/prototype/scripts/lib/four/four.buffer.js | Incapture/OG-Platform | 76be42671e692483125582d6dce1245b81de03a1 | [
"Apache-2.0"
] | null | null | null | /**
* Copyright 2012 - present by OpenGamma Inc. and the OpenGamma group of companies
* Please see distribution for license.
*/
(function () {
if (!window.Four) window.Four = {};
if (!Detector) throw new Error('Four.Buffer requires Detector');
/**
* Buffer constructor
* A buffer stores referenc... | 43.558824 | 118 | 0.594193 |
8023ccdab566edcf669e0a6babeef42feb7d8fc5 | 53 | js | JavaScript | packages/map/src/components/OffscreenMaps.native.js | wq/wq.app | 66399721a0aa0ec97afd0966d25f7f13732de688 | [
"Apache-2.0",
"CC0-1.0",
"MIT"
] | 91 | 2015-01-22T06:09:13.000Z | 2022-01-11T18:53:43.000Z | packages/map/src/components/OffscreenMaps.native.js | wq/wq.app | 66399721a0aa0ec97afd0966d25f7f13732de688 | [
"Apache-2.0",
"CC0-1.0",
"MIT"
] | 107 | 2015-01-16T07:09:37.000Z | 2022-02-14T08:40:23.000Z | packages/map-gl/src/overlays/Tile.native.js | wq/wq.app | 66399721a0aa0ec97afd0966d25f7f13732de688 | [
"Apache-2.0",
"CC0-1.0",
"MIT"
] | 27 | 2015-04-29T20:31:18.000Z | 2021-06-01T16:06:41.000Z | export default function FIXME() {
return null;
}
| 13.25 | 33 | 0.679245 |
80247be0c430b17c0f685c85e63907fc7b68692a | 1,773 | js | JavaScript | src/common/publication_apis.js | onirosd/wliniiFrontEnd-3 | 4c730087a119d87bd32022801df23dbfe09045b0 | [
"MIT"
] | null | null | null | src/common/publication_apis.js | onirosd/wliniiFrontEnd-3 | 4c730087a119d87bd32022801df23dbfe09045b0 | [
"MIT"
] | null | null | null | src/common/publication_apis.js | onirosd/wliniiFrontEnd-3 | 4c730087a119d87bd32022801df23dbfe09045b0 | [
"MIT"
] | null | null | null | import Vue from "vue";
import { API_URL, API_KEY } from "@/common/config";
import store from "../store/index";
const token = () => store.getters.token;
// Publication APIs
export async function CreatePublication(payload){
return await Vue.axios.post(API_URL + '/publication', payload, {headers: {"Authorization" : ... | 38.543478 | 134 | 0.698252 |
8024cb5670bc09a5a15c03e128136ad24eb01d4a | 3,027 | js | JavaScript | app/src/components/View.js | nathantannar4/DormHub | ffad3d82689fd5985921a9264ae8d29b6d9ad5a2 | [
"MIT"
] | 1 | 2021-11-01T14:36:23.000Z | 2021-11-01T14:36:23.000Z | app/src/components/View.js | nathantannar4/DormHub | ffad3d82689fd5985921a9264ae8d29b6d9ad5a2 | [
"MIT"
] | null | null | null | app/src/components/View.js | nathantannar4/DormHub | ffad3d82689fd5985921a9264ae8d29b6d9ad5a2 | [
"MIT"
] | 1 | 2021-11-01T14:36:16.000Z | 2021-11-01T14:36:16.000Z | import React, { Component } from 'react';
import PriceForm from './PriceForm'
import './View.css'
class View extends Component {
constructor(props) {
super(props)
this.state = { person: null, isLoaded: false, error: null }
this.updateHousePrice = this.updateHousePrice.bind(this);
}
... | 28.828571 | 88 | 0.455567 |
8025514d78d02979f382a9cfd5f3026e406b478c | 26,807 | js | JavaScript | chrome/content/lib/string.js | firebug/tracing-console | 9a75be467fbb2d0f41dd58b0dce32dc421343462 | [
"BSD-3-Clause"
] | 3 | 2015-01-14T18:21:44.000Z | 2019-05-16T03:09:02.000Z | chrome/content/lib/string.js | firebug/tracing-console | 9a75be467fbb2d0f41dd58b0dce32dc421343462 | [
"BSD-3-Clause"
] | 3 | 2015-03-06T07:52:10.000Z | 2016-10-05T17:35:36.000Z | chrome/content/lib/string.js | firebug/tracing-console | 9a75be467fbb2d0f41dd58b0dce32dc421343462 | [
"BSD-3-Clause"
] | 2 | 2017-12-19T09:22:46.000Z | 2019-05-16T03:08:53.000Z | /* See license.txt for terms of usage */
define([
"fbtrace/trace",
"fbtrace/lib/options",
"fbtrace/lib/xpcom",
"fbtrace/lib/system"
],
function(FBTrace, Options, Xpcom, System) {
// ********************************************************************************************* //
// Constants
const Ci ... | 28.129066 | 107 | 0.528705 |
802629a495a3a367d7e43bcf49b0bb662fcfc929 | 2,429 | js | JavaScript | es/components/Player/index.js | welovekpop/wlk.yt-client | 6975c824dd423cce69e49bb99ebe2ff71743347c | [
"MIT"
] | null | null | null | es/components/Player/index.js | welovekpop/wlk.yt-client | 6975c824dd423cce69e49bb99ebe2ff71743347c | [
"MIT"
] | null | null | null | es/components/Player/index.js | welovekpop/wlk.yt-client | 6975c824dd423cce69e49bb99ebe2ff71743347c | [
"MIT"
] | 2 | 2017-07-06T23:26:04.000Z | 2017-08-07T19:36:12.000Z | import _jsx from "@babel/runtime/helpers/builtin/jsx";
import _extends from "@babel/runtime/helpers/builtin/extends";
import _inheritsLoose from "@babel/runtime/helpers/builtin/inheritsLoose";
import cx from 'classnames';
import isEqual from 'is-equal-shallow';
import React from 'react';
import PropTypes from 'prop-typ... | 26.692308 | 79 | 0.660766 |
8026bca86a974dee5d7337a8aa985195d244f13c | 184 | js | JavaScript | src/services/apiError.js | leomotta121/instagram-clone-socket.io | d0ab8d8541bfd89b4708b0c6ec7bdf6535569f3b | [
"MIT"
] | 1 | 2019-09-23T12:46:49.000Z | 2019-09-23T12:46:49.000Z | backend/src/services/apiError.js | leomotta121/devtinder | 0a9a191cd82eceebcd4037e404a6f387c0d2cb7f | [
"MIT"
] | 7 | 2020-09-06T20:03:09.000Z | 2022-02-26T16:17:27.000Z | backend/src/services/apiError.js | leognmotta/devtinder | 0a9a191cd82eceebcd4037e404a6f387c0d2cb7f | [
"MIT"
] | null | null | null | class ApiError extends Error {
constructor(name, statusCode, message) {
super(message);
this.name = name;
this.statusCode = statusCode;
}
}
module.exports = ApiError;
| 18.4 | 42 | 0.684783 |
8026f6d34188e9a8517b559fefe4836308ba80e5 | 381 | js | JavaScript | utils/ArmCord.js | kckarnige/armcord | c0a06a605b4cea6df60a4b419130bdff7ebe1382 | [
"MIT"
] | 1 | 2022-03-04T00:55:28.000Z | 2022-03-04T00:55:28.000Z | utils/ArmCord.js | kckarnige/armcord | c0a06a605b4cea6df60a4b419130bdff7ebe1382 | [
"MIT"
] | null | null | null | utils/ArmCord.js | kckarnige/armcord | c0a06a605b4cea6df60a4b419130bdff7ebe1382 | [
"MIT"
] | 1 | 2021-05-05T17:34:54.000Z | 2021-05-05T17:34:54.000Z | exports.Version = require("../package.json").version;
exports.addStyle = function(styleString) {
const style = document.createElement('style');
style.textContent = styleString;
document.head.append(style);
};
exports.addScript = function (scriptString) {
var script = document.createElement("script");
script.te... | 27.214286 | 53 | 0.745407 |
80284aa1408b265abb4e810002b8287b8e70a81a | 782 | js | JavaScript | js-test-suite/testsuite/e6392066ea6a6268f01b31966ee370af.js | hao-wang/Montage | d1c98ec7dbe20d0449f0d02694930cf1f69a5cea | [
"MIT"
] | 16 | 2020-03-23T12:53:10.000Z | 2021-10-11T02:31:50.000Z | js-test-suite/testsuite/e6392066ea6a6268f01b31966ee370af.js | hao-wang/Montage | d1c98ec7dbe20d0449f0d02694930cf1f69a5cea | [
"MIT"
] | null | null | null | js-test-suite/testsuite/e6392066ea6a6268f01b31966ee370af.js | hao-wang/Montage | d1c98ec7dbe20d0449f0d02694930cf1f69a5cea | [
"MIT"
] | 1 | 2020-08-17T14:06:59.000Z | 2020-08-17T14:06:59.000Z | load("201224b0d1c296b45befd2285e95dd42.js");
load("c87c456240a1d89aa2414cb9d34d87f5.js");
// Prevent relazification triggered by some zeal modes.
gczeal(0);
async function f1(a, b) {
let x = await 10;
return x;
};
var toStringResult = f1.toString();
var test = `
async function f1(a, b) {
let x = await 10;
re... | 21.135135 | 68 | 0.68798 |
8028946516112856bd3e5b3bc488a212381cce3c | 2,273 | js | JavaScript | Gruntfile.js | rp8/candlejs | da40d02b3a1e7a5fe542b60b36f09df0130f6eca | [
"MIT"
] | 8 | 2017-07-26T20:44:51.000Z | 2022-02-08T07:42:19.000Z | Gruntfile.js | rp8/candlejs | da40d02b3a1e7a5fe542b60b36f09df0130f6eca | [
"MIT"
] | 1 | 2018-06-14T22:56:38.000Z | 2019-01-21T02:50:05.000Z | Gruntfile.js | rp8/candlejs | da40d02b3a1e7a5fe542b60b36f09df0130f6eca | [
"MIT"
] | 6 | 2017-03-11T23:42:08.000Z | 2019-11-06T01:28:17.000Z | 'use strict';
module.exports = function (grunt) {
// load all grunt tasks
require('matchdep').filterDev('grunt-*').forEach(grunt.loadNpmTasks);
// project configuration.
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
browserify: {
dist: {
src: ['lib/*.js'],
dest: 'd... | 23.926316 | 112 | 0.489661 |
8028f2f59ceb14aacd0a1ea9d08884acd14251ea | 886 | js | JavaScript | src/functions/mergeErrorInjects.js | taylorgoolsby/typer | f2559ac64314186d2d15f19e0137817ab5e2c64d | [
"MIT"
] | null | null | null | src/functions/mergeErrorInjects.js | taylorgoolsby/typer | f2559ac64314186d2d15f19e0137817ab5e2c64d | [
"MIT"
] | null | null | null | src/functions/mergeErrorInjects.js | taylorgoolsby/typer | f2559ac64314186d2d15f19e0137817ab5e2c64d | [
"MIT"
] | null | null | null | // @flow
function mergeErrorInjects(
original /*: string*/,
errorInjected /*: string*/
) /*: string*/ {
const verseWords = original.split(' ')
const errorWords = errorInjected.split(' ')
if (verseWords.length !== errorWords.length) {
console.error('uneven length')
}
const checkedWords = []
for (l... | 22.717949 | 49 | 0.572235 |
80297270999d695287b543d593ac2ea028644523 | 904 | js | JavaScript | test/e2e/specs/item.spec.js | rafaelribon/cursoTATProtractor | bbf87aa2bd1fceadc2e17a20cb62a1ae16f5cbff | [
"MIT"
] | 8 | 2018-06-07T18:56:10.000Z | 2021-04-21T18:28:46.000Z | test/e2e/specs/item.spec.js | rafaelribon/cursoTATProtractor | bbf87aa2bd1fceadc2e17a20cb62a1ae16f5cbff | [
"MIT"
] | 2 | 2020-07-17T06:18:13.000Z | 2021-05-09T03:17:53.000Z | test/e2e/specs/item.spec.js | rafaelribon/cursoTATProtractor | bbf87aa2bd1fceadc2e17a20cb62a1ae16f5cbff | [
"MIT"
] | 4 | 2018-10-17T13:55:29.000Z | 2019-12-04T18:16:54.000Z | const helper = require("protractor-helper");
const HomePage = require("../page-objects/home");
describe("given I'm at the home page", () => {
const homePage = new HomePage();
beforeEach(() => browser.get(homePage.relativeUrl));
describe("when I visit the relative URL of the first item", () => {
... | 30.133333 | 93 | 0.579646 |
8029a8874e2b9cffa39aa11ac38f0cd351240463 | 1,197 | js | JavaScript | src/services/dynamics-marketing.js | ProsessPilotene/gatsby-plugin-gdpr-cookies | b6ae4ff558f542b94b097f21eea2a4d9abb80a23 | [
"Apache-2.0"
] | null | null | null | src/services/dynamics-marketing.js | ProsessPilotene/gatsby-plugin-gdpr-cookies | b6ae4ff558f542b94b097f21eea2a4d9abb80a23 | [
"Apache-2.0"
] | null | null | null | src/services/dynamics-marketing.js | ProsessPilotene/gatsby-plugin-gdpr-cookies | b6ae4ff558f542b94b097f21eea2a4d9abb80a23 | [
"Apache-2.0"
] | 1 | 2021-06-21T10:12:50.000Z | 2021-06-21T10:12:50.000Z | const {
validDMId,
getCookie
} = require("../helper")
exports.addDynamicsMarketing = ( options ) => {
return new Promise((resolve, reject) => {
if (window.gatsbyPluginGDPRCookiesDynamicsMarketingAdded)
return resolve(true)
/* eslint disable */
const head = document.getElementsByTagName(... | 24.9375 | 69 | 0.675021 |
802ac4ef2fc9dc18dba74cbaba376abc1bb05d0e | 5,886 | js | JavaScript | lib/jquery.ajax-retry.js | eratchev/file-picker | 27005727700d5d184e2ffa25b028c404676cbb2c | [
"MIT"
] | null | null | null | lib/jquery.ajax-retry.js | eratchev/file-picker | 27005727700d5d184e2ffa25b028c404676cbb2c | [
"MIT"
] | null | null | null | lib/jquery.ajax-retry.js | eratchev/file-picker | 27005727700d5d184e2ffa25b028c404676cbb2c | [
"MIT"
] | null | null | null | /*
* jquery.ajax-retry
* https://github.com/johnkpaul/jquery-ajax-retry
*
* Copyright (c) 2012 John Paul
* Licensed under the MIT license.
*/
(function(factory) {
if (typeof define === 'function' && define.amd) {
// AMD. Register as an anonymous module.
define(['jquery'], factory);
} else if (... | 35.457831 | 82 | 0.586646 |
802b01d9a43eba3631a73025280a2b997de5d31c | 738 | js | JavaScript | pages/_app.js | neighborhood999/next-fiveN1 | 48d3c072b3aab777a0b3c85d5a382d0519eea87c | [
"MIT"
] | 3 | 2019-03-17T17:24:24.000Z | 2020-04-06T03:31:27.000Z | pages/_app.js | neighborhood999/next-fiveN1 | 48d3c072b3aab777a0b3c85d5a382d0519eea87c | [
"MIT"
] | 134 | 2018-05-15T23:40:21.000Z | 2021-08-14T02:31:04.000Z | pages/_app.js | neighborhood999/next-fiveN1 | 48d3c072b3aab777a0b3c85d5a382d0519eea87c | [
"MIT"
] | 2 | 2021-04-05T15:20:24.000Z | 2021-04-07T09:30:56.000Z | import { ChakraProvider } from '@chakra-ui/react';
import { useEffect } from 'react';
import { useRouter } from 'next/router';
import * as smoothscroll from 'smoothscroll-polyfill';
import { pageView } from '../utils';
function App({ Component, pageProps }) {
const router = useRouter();
useEffect(() => {
fun... | 21.085714 | 66 | 0.636856 |
802b2123dd2a9c47b14266e45d07e4a71980e4a8 | 607 | js | JavaScript | src/getTotalValue.js | p2ppsr/utxoninja | 9d24c8fab8990bbeb07e587039e19b0bc41ed7c6 | [
"OML"
] | 3 | 2021-06-18T07:24:43.000Z | 2021-10-30T00:33:35.000Z | src/getTotalValue.js | p2ppsr/utxoninja | 9d24c8fab8990bbeb07e587039e19b0bc41ed7c6 | [
"OML"
] | 4 | 2021-03-13T19:12:08.000Z | 2022-03-05T00:06:50.000Z | src/getTotalValue.js | p2ppsr/utxoninja | 9d24c8fab8990bbeb07e587039e19b0bc41ed7c6 | [
"OML"
] | 1 | 2021-06-18T07:24:59.000Z | 2021-06-18T07:24:59.000Z | const createSignedRequest = require('./utils/createSignedRequest')
const { CONFIG } = require('./defaults')
/**
* Returns the total of unspent outputs
* @param {Object} obj All parameters are given in an object
* @param {String} obj.xprivKey The key of the user
* @param {Object} [obj.config] Config object, see con... | 31.947368 | 93 | 0.691928 |
802bb596ad903485cc8f599f21bc76bd68a03d03 | 1,298 | js | JavaScript | client/src/main.js | DigiGlu/trouble-ticket-management | 0e2332036644b5eae46fe5f210293003e836bca5 | [
"MIT"
] | null | null | null | client/src/main.js | DigiGlu/trouble-ticket-management | 0e2332036644b5eae46fe5f210293003e836bca5 | [
"MIT"
] | null | null | null | client/src/main.js | DigiGlu/trouble-ticket-management | 0e2332036644b5eae46fe5f210293003e836bca5 | [
"MIT"
] | null | null | null | // import Vue from 'vue'
import Vue from 'vue'
import VueRouter from 'vue-router'
import VueResource from 'vue-resource'
import App from './App.vue'
// Component views
import troubleTicketList from './components/troubleTicketList.vue'
import troubleTicketNew from './components/troubleTicketNew.vue'
import troubleTi... | 22 | 72 | 0.661787 |
802c3f1c0fdc318d01294065a5006b30039c3917 | 24,283 | js | JavaScript | test/modules/returns/lib/csv-adapter/validator.js | uk-gov-mirror/defra.water-abstraction-service | 82b74a08825f319896e1e7a2bcd2865c42e4c876 | [
"Unlicense"
] | 4 | 2018-01-29T19:28:25.000Z | 2022-03-23T17:32:53.000Z | test/modules/returns/lib/csv-adapter/validator.js | uk-gov-mirror/defra.water-abstraction-service | 82b74a08825f319896e1e7a2bcd2865c42e4c876 | [
"Unlicense"
] | 1,384 | 2018-02-09T16:33:44.000Z | 2022-03-31T20:20:56.000Z | test/modules/returns/lib/csv-adapter/validator.js | uk-gov-mirror/defra.water-abstraction-service | 82b74a08825f319896e1e7a2bcd2865c42e4c876 | [
"Unlicense"
] | 3 | 2020-07-06T16:28:24.000Z | 2021-04-10T21:31:10.000Z | 'use strict';
const { expect } = require('@hapi/code');
const { experiment, test } = exports.lab = require('@hapi/lab').script();
const { partial } = require('lodash');
const csvSchemaValidation = require('../../../../../src/modules/returns/lib/csv-adapter/validator');
const csvStringify = require('csv-stringify/lib/s... | 33.310014 | 150 | 0.620763 |
802f8fe37a2895edd93acda663ee30d1bdb91334 | 2,171 | js | JavaScript | chrome-extension/popup.js | Yamikamisama/PAIRme- | f1448186e7f429bcc05b5526930d57f8d76a04b8 | [
"Apache-2.0"
] | null | null | null | chrome-extension/popup.js | Yamikamisama/PAIRme- | f1448186e7f429bcc05b5526930d57f8d76a04b8 | [
"Apache-2.0"
] | null | null | null | chrome-extension/popup.js | Yamikamisama/PAIRme- | f1448186e7f429bcc05b5526930d57f8d76a04b8 | [
"Apache-2.0"
] | null | null | null | $(document).ready(function(){
var backgroundPage = chrome.extension.getBackgroundPage();
$('.signup-link').on('click', function(e){
e.preventDefault();
backgroundPage.goToLandingPage();
});
$('#pair-me-icon').on('click', function(e){
e.preventDefault();
$.ajax({
url: "https://pair-me-up.... | 27.833333 | 73 | 0.579917 |
8031a7452a0f50b9487b98ea20d51acb15a6e43b | 368 | js | JavaScript | src/models/image.js | JWWon/its-server | 9492b85822a4f9f41263287770a5046ee24c3587 | [
"MIT"
] | null | null | null | src/models/image.js | JWWon/its-server | 9492b85822a4f9f41263287770a5046ee24c3587 | [
"MIT"
] | null | null | null | src/models/image.js | JWWon/its-server | 9492b85822a4f9f41263287770a5046ee24c3587 | [
"MIT"
] | null | null | null | import dynamoose from 'dynamoose'
const Image = dynamoose.model('Image', {
id: {
type: String,
hashKey: true
},
type: {
type: String,
validate: t => ['slide', 'news'].includes(t)
},
desktopSrc: String,
mobileSrc: String,
alt: String,
href: String,
// Columns only for news
title: Str... | 16.727273 | 48 | 0.627717 |
8033b7317a1bcae713603483df7693af5380c7c3 | 1,751 | js | JavaScript | src/main/webapp/scripts/app/entities/employee/employee-dialog.controller.js | BulkSecurityGeneratorProject/force5 | f1739226bf57aad5a9d17258aafc35bf3c576b22 | [
"Apache-2.0"
] | null | null | null | src/main/webapp/scripts/app/entities/employee/employee-dialog.controller.js | BulkSecurityGeneratorProject/force5 | f1739226bf57aad5a9d17258aafc35bf3c576b22 | [
"Apache-2.0"
] | null | null | null | src/main/webapp/scripts/app/entities/employee/employee-dialog.controller.js | BulkSecurityGeneratorProject/force5 | f1739226bf57aad5a9d17258aafc35bf3c576b22 | [
"Apache-2.0"
] | 1 | 2020-09-18T11:40:45.000Z | 2020-09-18T11:40:45.000Z | 'use strict';
angular.module('proj2App').controller('EmployeeDialogController',
['$scope', '$stateParams', '$uibModalInstance', 'entity', 'Employee', 'TripleSet',
function($scope, $stateParams, $uibModalInstance, entity, Employee, TripleSet) {
$scope.employee = entity;
$scope.categories = ... | 31.267857 | 88 | 0.553398 |
8034a111dad8c4f93f8f82014234502e7942d60c | 41 | js | JavaScript | src/components-ui/index.js | jboucher1/react-app | d68333cf05997d92d54de9c792c265df80db943a | [
"MIT"
] | null | null | null | src/components-ui/index.js | jboucher1/react-app | d68333cf05997d92d54de9c792c265df80db943a | [
"MIT"
] | null | null | null | src/components-ui/index.js | jboucher1/react-app | d68333cf05997d92d54de9c792c265df80db943a | [
"MIT"
] | null | null | null | export { Button } from './Button/Button'; | 41 | 41 | 0.682927 |
8034c5e260c5fcc1c2ca49072f9357788c82b26e | 2,860 | js | JavaScript | gulpfile.js | webmaxru/agl-homescreen | 082110f2e76f80dbd3eb449f1634f0a13d0271da | [
"Apache-2.0"
] | 1 | 2021-07-07T11:56:16.000Z | 2021-07-07T11:56:16.000Z | gulpfile.js | webmaxru/agl-homescreen | 082110f2e76f80dbd3eb449f1634f0a13d0271da | [
"Apache-2.0"
] | null | null | null | gulpfile.js | webmaxru/agl-homescreen | 082110f2e76f80dbd3eb449f1634f0a13d0271da | [
"Apache-2.0"
] | null | null | null | "use strict";
const gulp = require('gulp'),
gulpif = require('gulp-if'),
conf = require('./gulp.conf.js'),
clean = require('gulp-clean'),
useref = require('gulp-useref'),
cleanCSS = require('gulp-clean-css'),
uglify = require('gulp-uglify'),
sourcemaps = require('gulp-sourcemaps'),
ts =... | 30.425532 | 86 | 0.632867 |
8036297c87dd5160e1a3dfbd1215859b9ccce009 | 911 | js | JavaScript | game/game.js | Herobryan66/herobryan66.github.io | 45feb1acc16d7fed1c1ce0f23510fb6a6c65d449 | [
"CC-BY-3.0"
] | null | null | null | game/game.js | Herobryan66/herobryan66.github.io | 45feb1acc16d7fed1c1ce0f23510fb6a6c65d449 | [
"CC-BY-3.0"
] | null | null | null | game/game.js | Herobryan66/herobryan66.github.io | 45feb1acc16d7fed1c1ce0f23510fb6a6c65d449 | [
"CC-BY-3.0"
] | null | null | null | $(document).ready(function(){
$("#playlink").click(function() {
$(".place").hide();
$("#lol").css("background","url('stage.png')");
$("#lol").css("background-size","cover");
$(".player").css("display","inline-block");
$("#enemyTank").css("display","inline-block");
$("#enemySki").css("display","inline-block");
... | 22.775 | 48 | 0.515917 |
803691af16dd5e43af0681c6447b6ab945187148 | 1,702 | js | JavaScript | src/store/reducers/tagsView.js | mvpyb/react-ant-admin | dd294ec7cc51055f730cb319fd6942abaad5edd4 | [
"MIT"
] | 3 | 2022-02-23T05:52:17.000Z | 2022-03-18T13:36:04.000Z | src/store/reducers/tagsView.js | mvpyb/react-ant-admin | dd294ec7cc51055f730cb319fd6942abaad5edd4 | [
"MIT"
] | null | null | null | src/store/reducers/tagsView.js | mvpyb/react-ant-admin | dd294ec7cc51055f730cb319fd6942abaad5edd4 | [
"MIT"
] | 3 | 2022-02-23T05:52:18.000Z | 2022-03-09T10:13:05.000Z |
import { createSlice } from '@reduxjs/toolkit'
import { isArray } from '@/utils/validate'
export const initialState = {
tags : [],
defaultTags : []
}
export const tagsSlice = createSlice( {
name : 'tagsView',
initialState,
reducers : {
SET_DEFAULT_TAGS : ( state, { payload : tag } ) => {
state.de... | 23.971831 | 89 | 0.474148 |
8039c04ee51584474672197ca9955dada4ac4383 | 809 | js | JavaScript | app/components/Tasks.js | andregoncalvesdev/ticktock-app | 92880811bce9324c629fedb0dadc2105dccccf51 | [
"MIT"
] | 2 | 2016-04-12T17:07:26.000Z | 2016-04-12T17:26:02.000Z | app/components/Tasks.js | andregoncalvesdev/ticktock-app | 92880811bce9324c629fedb0dadc2105dccccf51 | [
"MIT"
] | null | null | null | app/components/Tasks.js | andregoncalvesdev/ticktock-app | 92880811bce9324c629fedb0dadc2105dccccf51 | [
"MIT"
] | null | null | null | import React, { Component } from 'react';
import { connect } from 'react-redux';
import { bindActionCreators} from 'redux';
import styles from './Tasks.module.css';
import TaskListItem from './TaskListItem'
export default class Tasks extends Component {
constructor(props) {
super(props);
this.state = {
... | 19.261905 | 47 | 0.595797 |
8039e9813397e1174ad955cf3bff80936f07b282 | 1,952 | js | JavaScript | public/path---tags-strykekvartett-8b732099a71cce4b4cbc.js | thomasheimstad/opusbyopus | 796941c9b16a99af1de68b985ccd4d09f381dd7b | [
"MIT"
] | null | null | null | public/path---tags-strykekvartett-8b732099a71cce4b4cbc.js | thomasheimstad/opusbyopus | 796941c9b16a99af1de68b985ccd4d09f381dd7b | [
"MIT"
] | null | null | null | public/path---tags-strykekvartett-8b732099a71cce4b4cbc.js | thomasheimstad/opusbyopus | 796941c9b16a99af1de68b985ccd4d09f381dd7b | [
"MIT"
] | null | null | null | webpackJsonp([67461348049852],{745:function(A,a){A.exports={data:{allMarkdownRemark:{edges:[{node:{fields:{slug:"/opus27/"},excerpt:"Tiåret fra 1875 til 1885 var som sagt år med sterke brytninger i Griegs liv. Men selv om han ikke var særlig produktiv, skapte han verk som…",timeToRead:5,frontmatter:{title:"27",workname... | 976 | 1,876 | 0.863217 |
803a0780b1effaabb49fa6eeb5e1f1c14224b6b1 | 783 | js | JavaScript | node_modules/tensorflow2/test/test_op_base64.js | devilyouwei/WallStreet | 6e1acc4c7fab91ac42d82eda661e7821636524fb | [
"MIT"
] | 14 | 2018-03-17T13:55:55.000Z | 2020-10-10T12:23:49.000Z | node_modules/tensorflow2/test/test_op_base64.js | devilyouwei/WallStreet | 6e1acc4c7fab91ac42d82eda661e7821636524fb | [
"MIT"
] | null | null | null | node_modules/tensorflow2/test/test_op_base64.js | devilyouwei/WallStreet | 6e1acc4c7fab91ac42d82eda661e7821636524fb | [
"MIT"
] | 1 | 2021-12-21T10:33:11.000Z | 2021-12-21T10:33:11.000Z | 'use strict';
const assert = require('assert');
const tf = require('../');
const graph = tf.graph();
const session = tf.session();
function assertEncodeBase64(actual) {
const text = graph.constant(actual);
const result = session.run(graph.base64.encode(text));
assert.equal(new Buffer(result[0], 'base64').toStri... | 31.32 | 89 | 0.740741 |
803ac00f09f38ab1fa7e3daf38de40cb9200f2f8 | 3,561 | js | JavaScript | index.js | andrew-templeton/cfn-api-gateway-resource-def | 89d74be012846b7e5b8c5383d608759feea607ee | [
"MIT"
] | null | null | null | index.js | andrew-templeton/cfn-api-gateway-resource-def | 89d74be012846b7e5b8c5383d608759feea607ee | [
"MIT"
] | 1 | 2021-05-05T14:29:04.000Z | 2021-05-05T14:29:04.000Z | index.js | andrew-templeton/cfn-api-gateway-resource-def | 89d74be012846b7e5b8c5383d608759feea607ee | [
"MIT"
] | null | null | null |
var AWS = require('aws-sdk');
var CfnLambda = require('cfn-lambda');
var MethodRequest = CfnLambda.Module('cfn-api-gateway-method');
var MethodResponse = CfnLambda.Module('cfn-api-gateway-method-response');
var IntegrationRequest = CfnLambda.Module('cfn-api-gateway-integration');
var IntegrationResponse = CfnLambda.M... | 36.336735 | 83 | 0.714125 |
803b1b9c018bb4c55a1dcb7130c4d6c102e0903d | 1,058 | js | JavaScript | frontend/components/pages/NotFoundPage/NotFoundPage.js | osamhack2021/Web_Handover_Handover | 07c3f72fa6410fa035aaf3f69e09c8c1f6c78183 | [
"MIT"
] | 9 | 2021-10-04T07:56:16.000Z | 2022-02-17T05:14:43.000Z | frontend/components/pages/NotFoundPage/NotFoundPage.js | osamhack2021/Web_Handover_Handover | 07c3f72fa6410fa035aaf3f69e09c8c1f6c78183 | [
"MIT"
] | 97 | 2021-09-12T13:57:00.000Z | 2021-10-18T09:53:12.000Z | frontend/components/pages/NotFoundPage/NotFoundPage.js | osamhack2021/Web_Handover_TeamName | 07c3f72fa6410fa035aaf3f69e09c8c1f6c78183 | [
"MIT"
] | 7 | 2021-09-14T12:43:38.000Z | 2021-11-07T15:10:47.000Z | import React from 'react';
import { useHistory } from 'react-router-dom';
import Logo from '_frontend/components/atoms/Logo';
import { Container, Stack, Typography } from '@mui/material';
import Button from '@mui/material/Button';
export default function NotFoundPage() {
document.title = 'Not Found - Handover';
co... | 30.228571 | 61 | 0.573724 |
803c032463f386383dc9ec445b03076055b9cf3b | 565 | js | JavaScript | rollup.config.js | neofinancial/awsx | 344d48a1e7367a64e1a5512c63902682079ef370 | [
"MIT"
] | 22 | 2020-01-28T17:51:45.000Z | 2022-02-11T05:10:36.000Z | rollup.config.js | neofinancial/awsx | 344d48a1e7367a64e1a5512c63902682079ef370 | [
"MIT"
] | 21 | 2020-01-02T16:16:11.000Z | 2022-03-02T17:14:46.000Z | rollup.config.js | neofinancial/awsx | 344d48a1e7367a64e1a5512c63902682079ef370 | [
"MIT"
] | 2 | 2020-11-04T03:14:01.000Z | 2022-03-31T23:37:11.000Z | import typescript from '@rollup/plugin-typescript';
import json from '@rollup/plugin-json';
import commonjs from '@rollup/plugin-commonjs';
import { terser } from 'rollup-plugin-terser';
import { nodeResolve } from '@rollup/plugin-node-resolve';
const watch = process.env.ROLLUP_WATCH === 'true';
export default {
in... | 29.736842 | 81 | 0.665487 |
803c2f669927839606f51f8d80eeb5815d0a24be | 79 | js | JavaScript | Ex007/teste2.js | literallyfabin/JavaScript | a6ee4266f37cf1ed87597c582280fd2d8e37a6e8 | [
"MIT"
] | null | null | null | Ex007/teste2.js | literallyfabin/JavaScript | a6ee4266f37cf1ed87597c582280fd2d8e37a6e8 | [
"MIT"
] | null | null | null | Ex007/teste2.js | literallyfabin/JavaScript | a6ee4266f37cf1ed87597c582280fd2d8e37a6e8 | [
"MIT"
] | null | null | null | var a = 1
while(a <= 10){
console.log(`Patricia tem ${a} Pães!`)
a++
}
| 13.166667 | 42 | 0.506329 |
803cda73f59b176f44b6a0be41708d3cfa70a22b | 302 | js | JavaScript | web/assets/js/socket.js | Argsen/OnTask | 3314ee9d17beafd287c76909e9cab87823eace5a | [
"BSD-3-Clause"
] | 6 | 2018-02-20T00:58:47.000Z | 2021-02-20T19:09:34.000Z | web/assets/js/socket.js | Argsen/OnTask | 3314ee9d17beafd287c76909e9cab87823eace5a | [
"BSD-3-Clause"
] | null | null | null | web/assets/js/socket.js | Argsen/OnTask | 3314ee9d17beafd287c76909e9cab87823eace5a | [
"BSD-3-Clause"
] | null | null | null | io.socket.on('message', function (data) {
alert(data.data);
setTimeout(function () {
window.location.href = 'overview';
}, 5000);
});
io.socket.post('/socket/rejoin', {}, function (body, JWR) {
if (body.data == 'redirect') {
window.location.href = 'overview';
}
}); | 25.166667 | 59 | 0.572848 |
803e42565250c30e900bcc2030cfa8480a37e3fd | 1,357 | js | JavaScript | src/store.js | ZaBAOW/homebrew-recipe-generator-full-capstone-react | 3b8d9a68d7345c0c0db5eb27c2ac2f6c02e00abe | [
"MIT"
] | null | null | null | src/store.js | ZaBAOW/homebrew-recipe-generator-full-capstone-react | 3b8d9a68d7345c0c0db5eb27c2ac2f6c02e00abe | [
"MIT"
] | 9 | 2019-07-07T00:57:25.000Z | 2022-02-26T09:20:05.000Z | src/store.js | ZaBAOW/homebrew-recipe-generator-full-capstone-react | 3b8d9a68d7345c0c0db5eb27c2ac2f6c02e00abe | [
"MIT"
] | null | null | null | //import {createStore, applyMiddleware, combineReducers} from 'redux';
//import {reducer as formReducer} from 'redux-form';
//import thunk from 'redux-thunk';
//import {loadAuthToken} from './local-storage';
//import Reducer from './reducers';
////import protectedDataReducer from './reducers/protected-data';
//import {... | 27.693878 | 70 | 0.701548 |
803ed4398fe9cb64f40072e67aad8866551a385e | 4,834 | js | JavaScript | admin/src/pages/manageTeacher/EditTeacher.js | YashmikaAnusara/Institute-Management-System | 0799e8eb3150ab567cc09d08995c6d84358ef1bc | [
"MIT"
] | null | null | null | admin/src/pages/manageTeacher/EditTeacher.js | YashmikaAnusara/Institute-Management-System | 0799e8eb3150ab567cc09d08995c6d84358ef1bc | [
"MIT"
] | null | null | null | admin/src/pages/manageTeacher/EditTeacher.js | YashmikaAnusara/Institute-Management-System | 0799e8eb3150ab567cc09d08995c6d84358ef1bc | [
"MIT"
] | null | null | null | import React, { useEffect, useState } from "react";
import axios from "axios";
import "./Teacher.css";
import { useHistory } from "react-router-dom";
import TextField from "@material-ui/core/TextField";
import { makeStyles } from "@material-ui/core/styles";
//material UI style
const useStyles = makeStyles((theme) =>... | 24.789744 | 80 | 0.51055 |
804001e38a2a348d9e77d8037efa24aab69ed106 | 318 | js | JavaScript | src/common/ResponsiveWebSocketConnection/utils/entryAboutPromiseOfRequest.js | ArundhatiApte/ResponsiveWebSockets-JS | 72406ce2fc24d691c5478bd03d2bdc44d6b658cd | [
"Apache-2.0"
] | null | null | null | src/common/ResponsiveWebSocketConnection/utils/entryAboutPromiseOfRequest.js | ArundhatiApte/ResponsiveWebSockets-JS | 72406ce2fc24d691c5478bd03d2bdc44d6b658cd | [
"Apache-2.0"
] | null | null | null | src/common/ResponsiveWebSocketConnection/utils/entryAboutPromiseOfRequest.js | ArundhatiApte/ResponsiveWebSockets-JS | 72406ce2fc24d691c5478bd03d2bdc44d6b658cd | [
"Apache-2.0"
] | null | null | null | "use strict";
const create = function(resolvePromise, timeoutToWait) {
return {
[nameOfPromiseResolver]: resolvePromise,
[nameOfTimeout]: timeoutToWait
};
};
const nameOfPromiseResolver = Symbol();
const nameOfTimeout = Symbol();
module.exports = {
create,
nameOfPromiseResolver,
nameOfTimeout
};
| 17.666667 | 56 | 0.726415 |
80403d3d595908b642349eaa8fb232b937f55070 | 4,255 | js | JavaScript | screens/message-details-screen/index.js | codeforct/green-up-app | 4f51d73c401aefa761b4176309f57f322d4a4234 | [
"Apache-2.0"
] | null | null | null | screens/message-details-screen/index.js | codeforct/green-up-app | 4f51d73c401aefa761b4176309f57f322d4a4234 | [
"Apache-2.0"
] | 2 | 2020-04-29T20:18:55.000Z | 2020-05-27T15:24:24.000Z | screens/message-details-screen/index.js | codeforct/green-up-app | 4f51d73c401aefa761b4176309f57f322d4a4234 | [
"Apache-2.0"
] | null | null | null | // @flow
import React, {Component} from 'react';
import PropTypes from 'prop-types';
import {StyleSheet, Image, Text, ScrollView, View} from 'react-native';
import * as actions from './actions';
import {bindActionCreators} from 'redux';
import {connect} from 'react-redux';
import {defaultStyles} from '../../styles/def... | 42.979798 | 123 | 0.40188 |
804133f0339aa1aa8c86fadfe78c14fb60a1b712 | 3,830 | js | JavaScript | dev/src/views/ExpressionHighlighter.js | codetheorist/regexr | a3ce7eacbe01bc5ae9f6e51a8f2e360e6b69412f | [
"MIT"
] | null | null | null | dev/src/views/ExpressionHighlighter.js | codetheorist/regexr | a3ce7eacbe01bc5ae9f6e51a8f2e360e6b69412f | [
"MIT"
] | null | null | null | dev/src/views/ExpressionHighlighter.js | codetheorist/regexr | a3ce7eacbe01bc5ae9f6e51a8f2e360e6b69412f | [
"MIT"
] | null | null | null | /*
RegExr: Learn, Build, & Test RegEx
Copyright (C) 2017 gskinner.com, inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
T... | 27.163121 | 88 | 0.669452 |
8041ddc91f952aad8c4a632a7a22a9bec236603a | 801 | js | JavaScript | src/components/KegDetail.js | jasonkhan99/keg-tracker-redux | 4a2a3dc98d7b4d870eb388f6eade2da74f15539a | [
"MIT"
] | null | null | null | src/components/KegDetail.js | jasonkhan99/keg-tracker-redux | 4a2a3dc98d7b4d870eb388f6eade2da74f15539a | [
"MIT"
] | null | null | null | src/components/KegDetail.js | jasonkhan99/keg-tracker-redux | 4a2a3dc98d7b4d870eb388f6eade2da74f15539a | [
"MIT"
] | null | null | null | import React from "react";
import PropTypes from "prop-types";
function KegDetail(props){
const { keg, onClickingDelete, onClickingSellPint } = props;
return (
<React.Fragment>
<h1>Keg Detail</h1>
<h2>{keg.brand}</h2>
<h3>{keg.names}</h3>
<h4>{keg.price}</h4>
<h4>{keg.alcoholCont... | 26.7 | 77 | 0.651685 |
804393b0c203ccf562b4c4f65c5fbbbe22c0e15f | 1,477 | js | JavaScript | src/js/app.js | lozunoff/antisleeper | d74387e53453ac401be187693897fe86b84257ac | [
"MIT"
] | null | null | null | src/js/app.js | lozunoff/antisleeper | d74387e53453ac401be187693897fe86b84257ac | [
"MIT"
] | 6 | 2020-10-06T15:04:34.000Z | 2022-03-25T19:02:04.000Z | src/js/app.js | lozunoff/antisleeper | d74387e53453ac401be187693897fe86b84257ac | [
"MIT"
] | null | null | null | const { remote } = require('electron');
const { app, shell } = remote;
// Получаем элементы интерфейса, с которыми будем взаимодействовать
const btnMinimize = document.getElementById('btnMinimize');
const title = document.getElementById('title');
const version = document.getElementById('version');
const autoStartFlag... | 36.02439 | 84 | 0.767773 |
80445f3d3cddb0e61de2b8be8fa557a3184f988f | 6,022 | js | JavaScript | controllers/auth.js | turkonjavla/book-shop | cf5893dbb83a23ed2404561c14a13a2ba91eca3e | [
"MIT"
] | null | null | null | controllers/auth.js | turkonjavla/book-shop | cf5893dbb83a23ed2404561c14a13a2ba91eca3e | [
"MIT"
] | null | null | null | controllers/auth.js | turkonjavla/book-shop | cf5893dbb83a23ed2404561c14a13a2ba91eca3e | [
"MIT"
] | null | null | null | const nodemailer = require('nodemailer');
const crypto = require('crypto');
const sendgridTransport = require('nodemailer-sendgrid-transport');
const { validationResult } = require('express-validator');
const User = require('../models/user');
const PasswordHasher = require('../services/password-hasher');
const { SENDG... | 22.303704 | 75 | 0.565427 |
80448c884bbe35db358de5faf03e426528a4c742 | 801 | js | JavaScript | tests/ConvertToHumanTime.spec.js | Manaia/spotify-wrapper-player | 9c43197896f56d955dd83fb5725e4b2db060f7e0 | [
"MIT"
] | 1 | 2018-09-24T01:12:27.000Z | 2018-09-24T01:12:27.000Z | tests/ConvertToHumanTime.spec.js | Manaia/spotify-wrapper-player | 9c43197896f56d955dd83fb5725e4b2db060f7e0 | [
"MIT"
] | null | null | null | tests/ConvertToHumanTime.spec.js | Manaia/spotify-wrapper-player | 9c43197896f56d955dd83fb5725e4b2db060f7e0 | [
"MIT"
] | null | null | null | import { expect } from 'chai';
import convertToHumanTime from '../src/ConvertToHumanTime';
describe("ConvertToHumanTime", () => {
it('should exist convertToHumanTime method', () => {
expect(convertToHumanTime).to.exist;
});
//0ms === 0:00
it('should receive 0ms and to convert to 0:00', () => {
expect(... | 27.62069 | 59 | 0.616729 |
804543468d8286095e289c389ec912e63e1b3bb2 | 1,052 | js | JavaScript | client/components/AllKeyboards.js | LindaEng/grace-shopper | 267cdd6aa89005253e58dfacf54dac991293ff3a | [
"MIT"
] | null | null | null | client/components/AllKeyboards.js | LindaEng/grace-shopper | 267cdd6aa89005253e58dfacf54dac991293ff3a | [
"MIT"
] | 28 | 2020-06-16T15:12:21.000Z | 2020-06-23T21:55:19.000Z | client/components/AllKeyboards.js | LindaEng/grace-shopper | 267cdd6aa89005253e58dfacf54dac991293ff3a | [
"MIT"
] | 1 | 2020-06-16T14:23:58.000Z | 2020-06-16T14:23:58.000Z | import React from 'react'
import {connect} from 'react-redux'
import {fetchKeyboards} from '../store/keyboards'
import KeyboardList from './KeyboardList'
import {getCart, addToCart, fetchSingleKeyboard} from '../store'
import CircularProgress from '@material-ui/core/CircularProgress'
class AllKeyboards extends React.C... | 25.047619 | 70 | 0.692966 |
8046a6c963cb384c3096f550316a85127066a037 | 403 | js | JavaScript | credscontroller/vendor/github.com/hashicorp/vault/website/lib/polyfills.js | kwkoo/credscontroller | 36ef506415dc14c612ff9fe223d420bff7fbffae | [
"Apache-2.0"
] | null | null | null | credscontroller/vendor/github.com/hashicorp/vault/website/lib/polyfills.js | kwkoo/credscontroller | 36ef506415dc14c612ff9fe223d420bff7fbffae | [
"Apache-2.0"
] | null | null | null | credscontroller/vendor/github.com/hashicorp/vault/website/lib/polyfills.js | kwkoo/credscontroller | 36ef506415dc14c612ff9fe223d420bff7fbffae | [
"Apache-2.0"
] | null | null | null | // If you run into issues with features missing in IE11, you likely need to
// make additions to this file for those features.
// See https://github.com/zloirock/core-js
import 'core-js/fn/array'
import 'core-js/fn/object/assign'
import 'core-js/fn/string/ends-with'
import 'core-js/fn/string/includes'
import 'core-js/f... | 36.636364 | 75 | 0.756824 |
8046ba46c245b14db86e0a0ccec2601916d2033c | 785 | js | JavaScript | src/services/appAxios.js | ahmetseha/vue-login-register | 9f27fac38850147ecf709f3ac20768b460e360ed | [
"MIT"
] | 2 | 2021-11-16T13:56:47.000Z | 2021-12-05T17:43:37.000Z | src/services/appAxios.js | ahmetseha/vue-login-register | 9f27fac38850147ecf709f3ac20768b460e360ed | [
"MIT"
] | null | null | null | src/services/appAxios.js | ahmetseha/vue-login-register | 9f27fac38850147ecf709f3ac20768b460e360ed | [
"MIT"
] | null | null | null | import axios from "axios";
// import { router } from "../router";
import Swal from "sweetalert2";
import store from "../store/index";
export const appAxios = axios.create({
baseURL: "http://81.213.78.251:4003/",
headers: {
accept: "*/*",
authorization: "Bearer " + store.getters["account/accessToken"],
... | 27.068966 | 80 | 0.62293 |
8046f249b2436b7a8f3b0042c955113b9ba56cb3 | 390 | js | JavaScript | icons/pause_circle_filled_rounded.js | Justineo/vue-awesome-material | 4012d957674fbb907e00a5694b98695de17f238e | [
"MIT"
] | 10 | 2018-09-13T16:32:14.000Z | 2021-01-01T19:41:24.000Z | icons/pause_circle_filled_rounded.js | Justineo/vue-awesome-material | 4012d957674fbb907e00a5694b98695de17f238e | [
"MIT"
] | 4 | 2021-03-08T21:52:04.000Z | 2022-02-26T05:45:53.000Z | icons/pause_circle_filled_rounded.js | Justineo/vue-awesome-material-icons | 4012d957674fbb907e00a5694b98695de17f238e | [
"MIT"
] | null | null | null | import Icon from 'vue-awesome/components/Icon'
Icon.register({
pause_circle_filled_rounded: {
paths: [
{
d: 'M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 14c-.55 0-1-.45-1-1V9c0-.55.45-1 1-1s1 .45 1 1v6c0 .55-.45 1-1 1zm4 0c-.55 0-1-.45-1-1V9c0-.55.45-1 1-1s1 .45 1 1v6c0 .5... | 27.857143 | 215 | 0.579487 |
8047777980c2486795887be4bd4ba8785ead07d9 | 218 | js | JavaScript | client/src/actions/getWalletByAddress.js | mehranhydary/juniper-portfolio | 1698cb33e5174fffa683aa4a845606976d700d98 | [
"MIT"
] | 9 | 2021-01-04T20:52:38.000Z | 2022-01-28T15:40:47.000Z | client/src/actions/getWalletByAddress.js | zubedauk/juniper-portfolio | 8d2fe3b70f7382dff39a7c5aa0c790fbd7d8dbb6 | [
"MIT"
] | 78 | 2020-10-28T09:40:17.000Z | 2021-11-09T15:23:24.000Z | client/src/actions/getWalletByAddress.js | zubedauk/juniper-portfolio | 8d2fe3b70f7382dff39a7c5aa0c790fbd7d8dbb6 | [
"MIT"
] | 19 | 2020-12-16T17:44:11.000Z | 2021-07-22T09:59:05.000Z | export default async (address) => {
let res, wallet;
try {
res = await fetch(`/rest/admin/wallets/${address}`);
wallet = await res.json();
} catch (e) {
return console.log(e);
}
return wallet;
};
| 19.818182 | 56 | 0.591743 |
8047df42a875b62aaf8593a6fbd2acc8e5d06359 | 147 | js | JavaScript | management/server/webui/src/main/webapp/subutai-app/settingsAdvanced/settingsAdvanced.js | subutai-io/subutai | 822a0d64891018576c79d5ab330439efcfbf475b | [
"Apache-2.0"
] | 31 | 2016-03-13T18:55:44.000Z | 2018-02-07T11:02:00.000Z | management/server/webui/src/main/webapp/subutai-app/settingsAdvanced/settingsAdvanced.js | subutai-io/subutai | 822a0d64891018576c79d5ab330439efcfbf475b | [
"Apache-2.0"
] | 738 | 2016-03-06T11:03:14.000Z | 2018-02-24T05:52:41.000Z | management/server/webui/src/main/webapp/subutai-app/settingsAdvanced/settingsAdvanced.js | subutai-io/subutai | 822a0d64891018576c79d5ab330439efcfbf475b | [
"Apache-2.0"
] | 25 | 2018-03-11T12:18:41.000Z | 2021-09-16T12:36:54.000Z | "use strict";
angular.module("subutai.settings-advanced", [
"subutai.settings-advanced.controller",
"subutai.settings-advanced.service"
]) | 24.5 | 45 | 0.734694 |
80484dfca0e8440cba7b54cd6c6299ab2e844fb6 | 2,248 | js | JavaScript | src/_nav.js | prajju69/Leave_management_system | 824740698b3526e4134f17f4b89fe21c8ba5e112 | [
"MIT"
] | null | null | null | src/_nav.js | prajju69/Leave_management_system | 824740698b3526e4134f17f4b89fe21c8ba5e112 | [
"MIT"
] | null | null | null | src/_nav.js | prajju69/Leave_management_system | 824740698b3526e4134f17f4b89fe21c8ba5e112 | [
"MIT"
] | null | null | null | export default {
items: [
{
name: 'Dashboard',
url: '/dashboard',
icon: 'icon-speedometer',
},
{
name: 'Employee',
icon: 'icon-people',
children: [
{
name: 'Add Employee',
url: '/addEmployee',
icon: 'icon-people',
},
... | 19.893805 | 37 | 0.420819 |
8048a298d495c0e1f704d7f69746f408d528f05b | 553 | js | JavaScript | src/store/getters.js | cristianglezm/FlowerEvolver-frontend | 46c851a5658c70006cbeb1c217244185063f8cac | [
"Apache-2.0"
] | null | null | null | src/store/getters.js | cristianglezm/FlowerEvolver-frontend | 46c851a5658c70006cbeb1c217244185063f8cac | [
"Apache-2.0"
] | 2 | 2022-01-26T17:36:05.000Z | 2022-02-27T06:24:23.000Z | src/store/getters.js | cristianglezm/FlowerEvolver-frontend | 46c851a5658c70006cbeb1c217244185063f8cac | [
"Apache-2.0"
] | null | null | null | export const getters = {
getSelected: (state) => {
return state.selected.flowers;
},
isFlowerSelected: (state) => (flower) => {
if(state.selected.flowers.length > 1)
return (flower.id === state.selected.flowers[0] || flower.id === state.selected.flowers[1]);
return false;... | 29.105263 | 104 | 0.538879 |
8049ca042283b8fa01fc16a57d1397e4e84a2a98 | 6,800 | js | JavaScript | js/hexdump.min.js | Anjani1234-tontuf/softwaretools.github.io | 3c85c1307c34623a2f6625a94975d59650eefa10 | [
"RSA-MD"
] | null | null | null | js/hexdump.min.js | Anjani1234-tontuf/softwaretools.github.io | 3c85c1307c34623a2f6625a94975d59650eefa10 | [
"RSA-MD"
] | null | null | null | js/hexdump.min.js | Anjani1234-tontuf/softwaretools.github.io | 3c85c1307c34623a2f6625a94975d59650eefa10 | [
"RSA-MD"
] | null | null | null | // Copyright (c) 2000-2012 by Gary Johnson
var Hexdump;Hexdump=(function(){function Hexdump(data,options){var self=this;self.hexdump=[];self.hex=false;self.options={container:options.container||'',width:options.width||16,byteGrouping:options.byteGrouping||0,ascii:options.ascii,lineNumber:options.lineNumber,endian:opti... | 850 | 2,845 | 0.7625 |
804a8d163021b6f78e480f860d5c80f4c9198904 | 608 | js | JavaScript | models/middlewares/logger.js | Spaarw/sujet-fullstack-beMyApp | e92d9fda92ef5f660c0a6d1a752698f71d08f896 | [
"MIT"
] | null | null | null | models/middlewares/logger.js | Spaarw/sujet-fullstack-beMyApp | e92d9fda92ef5f660c0a6d1a752698f71d08f896 | [
"MIT"
] | null | null | null | models/middlewares/logger.js | Spaarw/sujet-fullstack-beMyApp | e92d9fda92ef5f660c0a6d1a752698f71d08f896 | [
"MIT"
] | null | null | null | /**
* @author Pierre Petit
* @description LOGS MIDDLEWARE
* @date 26/06/2017
*/
"use strict";
var response = require(PATH_MODULES + '/response/response');
var Logs = require(PATH_DB_MANAGERS + '/logs/manager');
module.exports = function (req, res, next) {
var log = new Logs();
log.date = Date.now... | 20.266667 | 60 | 0.641447 |
804b3991b6bb40b8b1970a01860680459c529806 | 435 | js | JavaScript | src/order/index.js | pradeep-sanjaya/coventry-18.2-webapi-backend | 02999a0cf0579a648212c7fee1f408bd7dbe5aef | [
"MIT"
] | null | null | null | src/order/index.js | pradeep-sanjaya/coventry-18.2-webapi-backend | 02999a0cf0579a648212c7fee1f408bd7dbe5aef | [
"MIT"
] | null | null | null | src/order/index.js | pradeep-sanjaya/coventry-18.2-webapi-backend | 02999a0cf0579a648212c7fee1f408bd7dbe5aef | [
"MIT"
] | 2 | 2020-04-01T19:18:33.000Z | 2020-04-07T13:09:18.000Z | import makeOrderList from './order-list';
import makeOrderEndPointHandler from './order-endpoint';
import makeCartList from '../cart/cart-list';
import makeUserList from '../users/user-list';
const orderList = makeOrderList();
const cartList = makeCartList();
const userList = makeUserList();
const orderEndPointHandle... | 25.588235 | 56 | 0.763218 |
804b7dec7525596aca48935e37548d753ffc8492 | 440 | js | JavaScript | src/barChart.js | DaveWelling/itcDiagram | dd39715b141389baccb931f394740b8bda74dd25 | [
"MIT"
] | 11 | 2015-06-07T05:52:28.000Z | 2017-11-19T07:48:55.000Z | ItcNodeDiagrammer/src/barChart.js | DaveWelling/IntegritySynchronization | 5fac7b9367d3ee88967a70249d0537a2acd66ce3 | [
"MIT"
] | 4 | 2020-04-30T14:16:20.000Z | 2022-02-18T19:11:35.000Z | src/barChart.js | DaveWelling/itcDiagram | dd39715b141389baccb931f394740b8bda74dd25 | [
"MIT"
] | 4 | 2015-06-11T03:53:05.000Z | 2021-09-06T03:27:06.000Z | var data = [50, 100, 150, 200]
var divs = d3.select('#events .right')
.selectAll('div.item')
.data(data);
divs.enter()
.append('div').classed('item', true)
divs.style({
width: '20px',
height: function (d) { return d + 'px' },
margin: '15px',
float: 'left',
'background-color': '#25B0B0'
})
.on('click', funct... | 23.157895 | 42 | 0.597727 |