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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
c5fc16717ec6435d559febf6a940ec44935ec561 | 4,281 | js | JavaScript | wab/widgets/RelatedTableCharts/setting/nls/zh-tw/strings.js | saurabhgis/CV | fa5f2e4c11ad65812684debced258d2dd43df253 | [
"MIT"
] | 1 | 2021-02-25T21:24:28.000Z | 2021-02-25T21:24:28.000Z | wab/widgets/RelatedTableCharts/setting/nls/zh-tw/strings.js | saurabhgis/Calcitw_WAB | fa5f2e4c11ad65812684debced258d2dd43df253 | [
"MIT"
] | null | null | null | wab/widgets/RelatedTableCharts/setting/nls/zh-tw/strings.js | saurabhgis/Calcitw_WAB | fa5f2e4c11ad65812684debced258d2dd43df253 | [
"MIT"
] | null | null | null | define(
({
chartSettingLabel: "圖表設定", //shown as a label in config UI dialog box.
addNewLabel: "新增", //shown as a button text to add layers.
generalSettingLabel: "一般設定", //shown as a button text to general settings button.
layerChooser: {
title: "選擇要製作圖表的圖層", //shown as title on layer choos... | 71.35 | 151 | 0.699369 |
c5fc2451c1b5bef3e2b9aa18d0f6b129ad169aba | 325 | js | JavaScript | classes/field-type.js | yield-cms/yield-storage | b508d906a2225f7abf9e1e4d6e3e87bd02768566 | [
"Apache-2.0"
] | null | null | null | classes/field-type.js | yield-cms/yield-storage | b508d906a2225f7abf9e1e4d6e3e87bd02768566 | [
"Apache-2.0"
] | null | null | null | classes/field-type.js | yield-cms/yield-storage | b508d906a2225f7abf9e1e4d6e3e87bd02768566 | [
"Apache-2.0"
] | null | null | null | /**
* @fileoverview Field types enumeration
* @author Alexander Sychev <shurik.shurik.1993@yandex.ru>
*/
"use strict";
/**
* Types of fields
* @enum {String}
*/
let FieldType = {
INTEGER: 'INTEGER',
BOOLEAN: 'BOOLEAN',
FLOAT: 'FLOAT',
STRING: 'STRING',
TEXT: 'TEXT'
};
module.exports = FieldT... | 16.25 | 58 | 0.621538 |
c5fc9861c24fdd44034c88b74d9628991a74b35c | 2,679 | js | JavaScript | models/Components.js | Qurus/merakiui | 479cf3e5e85fd2604cbb04c5212cbcdfb00aa1f0 | [
"MIT"
] | 1 | 2021-03-15T12:46:26.000Z | 2021-03-15T12:46:26.000Z | models/Components.js | Qurus/merakiui | 479cf3e5e85fd2604cbb04c5212cbcdfb00aa1f0 | [
"MIT"
] | null | null | null | models/Components.js | Qurus/merakiui | 479cf3e5e85fd2604cbb04c5212cbcdfb00aa1f0 | [
"MIT"
] | null | null | null | export default [
{
name: "Alerts",
components: [
{ name: "SuccessPop" },
{ name: "InfoPop" },
{ name: "WarningPop" },
{ name: "ErrorPop" },
{ name: "NotificationPop" },
{ name: "SuccessFullWidth" },
{ name: "InfoFull... | 25.273585 | 69 | 0.388951 |
c5fd32036d07ddb659ccd60332c2f82591cdea4f | 1,163 | js | JavaScript | keywordTool/pubfiles/src/code/idgcommunicationsltd/125618/default.js | dsofowote/KW-Tool | d8d9a5a6f79c33732f0301b7c72ec21d1df4d750 | [
"MIT"
] | null | null | null | keywordTool/pubfiles/src/code/idgcommunicationsltd/125618/default.js | dsofowote/KW-Tool | d8d9a5a6f79c33732f0301b7c72ec21d1df4d750 | [
"MIT"
] | null | null | null | keywordTool/pubfiles/src/code/idgcommunicationsltd/125618/default.js | dsofowote/KW-Tool | d8d9a5a6f79c33732f0301b7c72ec21d1df4d750 | [
"MIT"
] | null | null | null | integration.meta = {
"sectionID" : "125618",
"site" : "Mac World (International)",
"product" : "PageSkin",
"platform" : "desktop",
"restrictions" : ""
};
integration.testParams = {
"desktop_resolution" : [0]
};
integration.flaggedTests = [];
integration.params = {
'mf_siteId' : '706404',
"plr_PageAlignmen... | 22.803922 | 121 | 0.680997 |
c5fd6c0843e2160da1581e85ef41b5aeba8f5f39 | 65 | js | JavaScript | node_modules/browserify-livereload/example/src/levelone/one.js | ZeroLiam/SolarSystem | cf39d3142acc36a0f2fa0de8aadd183f581c34c0 | [
"MIT"
] | null | null | null | node_modules/browserify-livereload/example/src/levelone/one.js | ZeroLiam/SolarSystem | cf39d3142acc36a0f2fa0de8aadd183f581c34c0 | [
"MIT"
] | null | null | null | node_modules/browserify-livereload/example/src/levelone/one.js | ZeroLiam/SolarSystem | cf39d3142acc36a0f2fa0de8aadd183f581c34c0 | [
"MIT"
] | null | null | null | module.exports = {
hello: function(msg) {
return msg
}
}
| 10.833333 | 24 | 0.584615 |
c5fdf93418673f426c2e3b8bf0c760fee7531e77 | 107,135 | js | JavaScript | node_modules/coffee-script/lib/coffee-script/parser.js | mohamedallam1991/new-project | 4f67aadc8cf0cdf1ce2897f679c35be89ffba702 | [
"MIT"
] | 15 | 2020-08-12T00:03:45.000Z | 2022-03-17T14:30:24.000Z | node_modules/coffee-script/lib/coffee-script/parser.js | mohamedallam1991/new-project | 4f67aadc8cf0cdf1ce2897f679c35be89ffba702 | [
"MIT"
] | 32 | 2020-09-07T06:47:28.000Z | 2022-03-24T15:24:52.000Z | node_modules/coffee-script/lib/coffee-script/parser.js | mohamedallam1991/new-project | 4f67aadc8cf0cdf1ce2897f679c35be89ffba702 | [
"MIT"
] | 9 | 2020-09-01T12:23:23.000Z | 2022-03-25T16:29:47.000Z | /* parser generated by jison 0.4.17 */
/*
Returns a Parser object of the following structure:
Parser: {
yy: {}
}
Parser.prototype: {
yy: {},
trace: function(),
symbols_: {associative list: name ==> number},
terminals_: {associative list: number ==> name},
productions_: [...],
perfo... | 120.647523 | 66,542 | 0.598469 |
c5fe22bc387a77d2dd7b0cb84dd0acd0330733c5 | 24,920 | js | JavaScript | tube.js | Babazka/youtube-html-playlister | bf52f58b326849f205aa717853ea51472978ad56 | [
"Unlicense"
] | null | null | null | tube.js | Babazka/youtube-html-playlister | bf52f58b326849f205aa717853ea51472978ad56 | [
"Unlicense"
] | null | null | null | tube.js | Babazka/youtube-html-playlister | bf52f58b326849f205aa717853ea51472978ad56 | [
"Unlicense"
] | null | null | null | function MyYoutubePlayer() {
var that = this;
this.playlist_collection = [];
this.now_playing_list = [];
this.now_playing_video_id = '';
this.current_playlist = '';
this.undo_context = null;
this.localSave = function() {
this.undo_context = localStorage.getItem('my_youtube_data_co... | 35.44808 | 165 | 0.508026 |
c5fe55e360eb9a63318f0cb07f827a91067a61d1 | 4,618 | js | JavaScript | packages/ember-metal/lib/core.js | ldong/ember.js-2.3 | 528ceb59cece84d038ab98cd942999802ac99abd | [
"MIT"
] | 1 | 2019-02-24T08:01:40.000Z | 2019-02-24T08:01:40.000Z | packages/ember-metal/lib/core.js | ldong/ember.js-2.3 | 528ceb59cece84d038ab98cd942999802ac99abd | [
"MIT"
] | null | null | null | packages/ember-metal/lib/core.js | ldong/ember.js-2.3 | 528ceb59cece84d038ab98cd942999802ac99abd | [
"MIT"
] | null | null | null | /*globals Ember:true,ENV,EmberENV */
/**
@module ember
@submodule ember-metal
*/
/**
This namespace contains all Ember methods and functions. Future versions of
Ember may overwrite this namespace and therefore, you should avoid adding any
new properties.
You can also use the shorthand `Em` instead of `Ember`... | 28.331288 | 91 | 0.728454 |
c5fec01e71e184941177c9a900362cc5654dd462 | 197,046 | js | JavaScript | lib/bible-tools/bibles/sl/ssp/books/26.js | saiba-mais/bible-lessons | 6c352c1060c48b80f74f8bf0c1cbff5450de2fe6 | [
"MIT"
] | null | null | null | lib/bible-tools/bibles/sl/ssp/books/26.js | saiba-mais/bible-lessons | 6c352c1060c48b80f74f8bf0c1cbff5450de2fe6 | [
"MIT"
] | null | null | null | lib/bible-tools/bibles/sl/ssp/books/26.js | saiba-mais/bible-lessons | 6c352c1060c48b80f74f8bf0c1cbff5450de2fe6 | [
"MIT"
] | null | null | null | var book = {
"name": "Ezekiel",
"numChapters": 48,
"chapters": {
"1": {
"1": "<sup>1</sup> V tridesetem letu, v četrtem mesecu, petega v mesecu, ko sem bil med izgnanci ob reki Kebár, so se odprla nebesa in videl sem Božja videnja.",
"2": "<sup>2</sup> Petega v mesecu – bilo je v petem letu izgnanstva kralja... | 144.886765 | 364 | 0.720705 |
c5fef5d90722007a9e47769ddfe4af1bc4335f4c | 1,255 | js | JavaScript | lib/app/middleware/__test__/wrap-json-body.unit.test.js | igat64/micro-template | fd28e7ab9b6e0dff7abfb02e709d68cad4df6c17 | [
"MIT"
] | null | null | null | lib/app/middleware/__test__/wrap-json-body.unit.test.js | igat64/micro-template | fd28e7ab9b6e0dff7abfb02e709d68cad4df6c17 | [
"MIT"
] | 2 | 2021-05-07T12:18:41.000Z | 2021-05-08T16:50:28.000Z | lib/app/middleware/__test__/wrap-json-body.unit.test.js | igat64/micro-template | fd28e7ab9b6e0dff7abfb02e709d68cad4df6c17 | [
"MIT"
] | null | null | null | jest.mock('micro')
const micro = require('micro')
const wrapJsonBody = require('../wrap-json-body')
micro.json.mockImplementation(() => Promise.resolve({ valid: 'json' }))
describe('wrap-json-body', () => {
test('returns new handler (wrapped by middleware)', () => {
expect(wrapJsonBody(jest.fn())).toBeInstance... | 30.609756 | 96 | 0.631076 |
c5ff00daa1658c61f89a62db952e090ce917d34d | 3,613 | js | JavaScript | src/js/Hierarchy.js | yanqirenshi/Asshole | 27f348f754a00ccec0a0cd62d35b10e2aa860160 | [
"MIT"
] | null | null | null | src/js/Hierarchy.js | yanqirenshi/Asshole | 27f348f754a00ccec0a0cd62d35b10e2aa860160 | [
"MIT"
] | 17 | 2020-07-17T23:19:42.000Z | 2022-02-27T20:21:22.000Z | src/js/Hierarchy.js | yanqirenshi/Asshole | 27f348f754a00ccec0a0cd62d35b10e2aa860160 | [
"MIT"
] | null | null | null | /**
* 階層構造のデータです。
* Data の 位置、サイズ を整えます。
*
* @example
* let drawer = new Hierarchy();
*/
export default class Hierarchy {
///// ////////////////////////////////////////////////////////////////
///// Utilities
///// ////////////////////////////////////////////////////////////////
data2rect (data)... | 26.762963 | 74 | 0.417382 |
c5ff72e30c0cbcf24513f60ecc0d0f30016256a5 | 101 | js | JavaScript | node_modules/core-js/library/fn/math/cosh.js | firojkabir/lsg | ff8b5edc02b2d45f6bc602c7a2aa592706009345 | [
"MIT"
] | 1 | 2022-03-25T10:20:25.000Z | 2022-03-25T10:20:25.000Z | node_modules/core-js/library/fn/math/cosh.js | firojkabir/lsg | ff8b5edc02b2d45f6bc602c7a2aa592706009345 | [
"MIT"
] | null | null | null | node_modules/core-js/library/fn/math/cosh.js | firojkabir/lsg | ff8b5edc02b2d45f6bc602c7a2aa592706009345 | [
"MIT"
] | 1 | 2020-11-02T17:13:25.000Z | 2020-11-02T17:13:25.000Z | require('../../modules/es6.math.cosh');
module.exports = require('../../modules/_core').Math.cosh;
| 33.666667 | 59 | 0.643564 |
c5ff79e435b56cc8857b229d5af25de8cea2bd36 | 1,409 | js | JavaScript | src/ui.js | jdeblese/exiview | 8da2203fa3fa4bd0fad61bf1ae6e7e74fb8fc6cb | [
"MIT"
] | 1 | 2015-08-25T23:42:25.000Z | 2015-08-25T23:42:25.000Z | src/ui.js | jdeblese/exiview | 8da2203fa3fa4bd0fad61bf1ae6e7e74fb8fc6cb | [
"MIT"
] | null | null | null | src/ui.js | jdeblese/exiview | 8da2203fa3fa4bd0fad61bf1ae6e7e74fb8fc6cb | [
"MIT"
] | null | null | null | var accepts = [{mimeTypes:["image/jpeg"]}],
// extensions:['jpg', 'jpeg']}];
opts = {type : "openFile",
accepts : accepts};
var app = angular.module('exiview', ['ngGrid']);
app.controller('testctrl', ['$scope', function($scope) {
// Empty row gives a blank grid with correct colum... | 34.365854 | 79 | 0.567779 |
c5ffbd7e827489d1bae8e4a4a578480b1581c101 | 932 | js | JavaScript | gulp/tasks/check-js-quality.js | dsebastien/modernWebDevGenerator | c59b7697294b99390df36466ddbb08c7491648b6 | [
"MIT"
] | 94 | 2015-10-13T12:14:00.000Z | 2021-03-31T09:34:19.000Z | gulp/tasks/check-js-quality.js | dsebastien/modernWebDevGenerator | c59b7697294b99390df36466ddbb08c7491648b6 | [
"MIT"
] | 105 | 2015-10-15T07:32:18.000Z | 2018-06-10T12:08:01.000Z | gulp/tasks/check-js-quality.js | dsebastien/modernWebDevGenerator | c59b7697294b99390df36466ddbb08c7491648b6 | [
"MIT"
] | 16 | 2015-09-21T19:16:50.000Z | 2021-02-11T02:17:09.000Z | "use strict";
import gulp from "gulp";
import help from "gulp-help";
help(gulp); // provide help through "gulp help" -- the help text is the second gulp task argument (https://www.npmjs.com/package/gulp-help/)
import jshint from "gulp-jshint";
//import debug from "gulp-debug";
import config from "../config";
import u... | 31.066667 | 140 | 0.701717 |
68002d09848e69007f621702060dd87a7365fce5 | 24,864 | js | JavaScript | js/src/providers/threejs/initializers/Scene.js | Eccsx/K3D-jupyter | 1b034ddf068e6e89511077b67e539a5267bf6e1d | [
"MIT"
] | 1 | 2022-02-17T15:02:46.000Z | 2022-02-17T15:02:46.000Z | js/src/providers/threejs/initializers/Scene.js | habi/K3D-jupyter | 0015a92665d9650304fcc8e3ab00a2ca5e9ab6a8 | [
"MIT"
] | null | null | null | js/src/providers/threejs/initializers/Scene.js | habi/K3D-jupyter | 0015a92665d9650304fcc8e3ab00a2ca5e9ab6a8 | [
"MIT"
] | null | null | null | const THREE = require('three');
const _ = require('../../../lodash');
const Text = require('../objects/Text');
const Vectors = require('../objects/Vectors');
const MeshLine = require('../helpers/THREE.MeshLine')(THREE);
const { viewModes } = require('../../../core/lib/viewMode');
const { pow10ceil } = require('../../..... | 37 | 120 | 0.547136 |
6800f76183156731573ed38f7fc471f5033bb5aa | 5,708 | js | JavaScript | screens/WeatherForecast.js | olemalik/react-native-agryFarm | 049d5ee361bb8a30459502328ec67db3939419ec | [
"MIT"
] | null | null | null | screens/WeatherForecast.js | olemalik/react-native-agryFarm | 049d5ee361bb8a30459502328ec67db3939419ec | [
"MIT"
] | null | null | null | screens/WeatherForecast.js | olemalik/react-native-agryFarm | 049d5ee361bb8a30459502328ec67db3939419ec | [
"MIT"
] | null | null | null |
import React, { useEffect, useState } from 'react';
import { StyleSheet, Text, View, Image, ActivityIndicator, SafeAreaView, ScrollView, FlatList, Alert, RefreshControl } from 'react-native';
import RNLocation from 'react-native-location';
const openWeatherKey = `f007b7d28f16f635c4dccd086915ce03`;
let url = `https://... | 27.980392 | 139 | 0.557463 |
6801ee371f972e2f0e6e7d0045166bcb38c1afae | 6,837 | js | JavaScript | master/assets/js/1164.41fc77d0.js | Ecuashungo/docs.px4.io | e9bc1c35518f9c5203cd74aefd223ba98092d03a | [
"CC-BY-4.0"
] | null | null | null | master/assets/js/1164.41fc77d0.js | Ecuashungo/docs.px4.io | e9bc1c35518f9c5203cd74aefd223ba98092d03a | [
"CC-BY-4.0"
] | null | null | null | master/assets/js/1164.41fc77d0.js | Ecuashungo/docs.px4.io | e9bc1c35518f9c5203cd74aefd223ba98092d03a | [
"CC-BY-4.0"
] | null | null | null | (window.webpackJsonp=window.webpackJsonp||[]).push([[1164],{2169:function(t,r,e){"use strict";e.r(r);var o=e(19),_=Object(o.a)({},(function(){var t=this,r=t.$createElement,e=t._self._c||r;return e("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[e("h1",{attrs:{id:"멀티콥터-지오메트리-파일"}},[e("a",... | 6,837 | 6,837 | 0.595729 |
6802348e7d5cb38eee80f864284634886ec63cbc | 288 | js | JavaScript | src/index.js | yuschick/31-Nights-of-Horror-2018 | 117bdc73c9d5020ebcf7d834fad65ca87b152b7f | [
"MIT"
] | 2 | 2018-10-09T08:40:33.000Z | 2018-10-12T17:40:07.000Z | src/index.js | yuschick/31-Nights-of-Horror-2018 | 117bdc73c9d5020ebcf7d834fad65ca87b152b7f | [
"MIT"
] | 11 | 2021-03-01T23:41:25.000Z | 2022-03-08T22:50:37.000Z | src/index.js | yuschick/31-Nights-of-Horror-2018 | 117bdc73c9d5020ebcf7d834fad65ca87b152b7f | [
"MIT"
] | null | null | null | import React from 'react';
import ReactDOM from 'react-dom';
import Calendar from './containers/Calendar';
import registerServiceWorker from './registerServiceWorker';
import './styles/reset.css';
ReactDOM.render(<Calendar />, document.getElementById('root'));
registerServiceWorker();
| 28.8 | 63 | 0.774306 |
680246bc488c0b8d9d5dbb17f203e829be3a9fc8 | 62,437 | js | JavaScript | wwwroot/js/markerclusterer.js | OSADP/SFL-FRATIS | 8592c114101bdfbbcb7af4ae4a8b45d4836cce60 | [
"Apache-2.0"
] | null | null | null | wwwroot/js/markerclusterer.js | OSADP/SFL-FRATIS | 8592c114101bdfbbcb7af4ae4a8b45d4836cce60 | [
"Apache-2.0"
] | null | null | null | wwwroot/js/markerclusterer.js | OSADP/SFL-FRATIS | 8592c114101bdfbbcb7af4ae4a8b45d4836cce60 | [
"Apache-2.0"
] | 1 | 2020-02-02T18:00:03.000Z | 2020-02-02T18:00:03.000Z | /*jslint browser: true, confusion: true, sloppy: true, vars: true, nomen: false, plusplus: false, indent: 2 */
/*global window,google */
/**
* @name MarkerClustererPlus for Google Maps V3
* @version 2.0.8 [February 9, 2012]
* @author Gary Little
* @fileoverview
* The library creates and manages per-zoom-level clu... | 30.909406 | 284 | 0.680013 |
6802a0e13d704839a5c443efb631645998e834da | 132 | js | JavaScript | __fixtures__/!namelessImport.js | gillkyle/twin.macro | 34cd332ab81b9d98e84e0e57badcacccbda1f0f9 | [
"MIT"
] | 5,746 | 2020-02-19T12:07:16.000Z | 2022-03-31T14:06:31.000Z | __fixtures__/!namelessImport.js | gillkyle/twin.macro | 34cd332ab81b9d98e84e0e57badcacccbda1f0f9 | [
"MIT"
] | 352 | 2020-02-19T13:22:37.000Z | 2022-03-31T21:49:41.000Z | __fixtures__/!namelessImport.js | gillkyle/twin.macro | 34cd332ab81b9d98e84e0e57badcacccbda1f0f9 | [
"MIT"
] | 177 | 2020-02-27T16:22:36.000Z | 2022-03-29T10:01:12.000Z | import './macro'
const twPropertyString = <div tw="text-purple-500" />
const twPropertyExpression = <div tw={'text-purple-500'} />
| 26.4 | 59 | 0.704545 |
6803040fd0649194aebd0a9d505ced7c55a01d4b | 8,193 | js | JavaScript | src/utils/request.js | clearan/vue-admin-template | d6391dbe202e757dcf7bf15c9649db42367b8580 | [
"MIT"
] | null | null | null | src/utils/request.js | clearan/vue-admin-template | d6391dbe202e757dcf7bf15c9649db42367b8580 | [
"MIT"
] | null | null | null | src/utils/request.js | clearan/vue-admin-template | d6391dbe202e757dcf7bf15c9649db42367b8580 | [
"MIT"
] | null | null | null | import axios from 'axios'
import { Message} from 'element-ui'
import {LocalStorage} from '@/utils/storage'
//将URL地址前面相同的一段封装
const $http = axios.create({
//timeout: 5000
})
$http.interceptors.request.use(config => {
if (LocalStorage.get('token')) { // 判断是否存在token,如果存在的话,则每个http header都加上token
config.headers['... | 26.600649 | 80 | 0.461003 |
680322e955a760148ebdd3c0769f9d24e5cef5c1 | 711 | js | JavaScript | src/routes/Tags/routes/NewTag/components/NewTagPage/NewTagPage.handlers.js | prescottprue/barista | 7a68a7937dfe4629e262807e75a242019b5f4724 | [
"MIT"
] | 1 | 2018-08-22T03:54:44.000Z | 2018-08-22T03:54:44.000Z | src/routes/Tags/routes/NewTag/components/NewTagPage/NewTagPage.handlers.js | prescottprue/barista | 7a68a7937dfe4629e262807e75a242019b5f4724 | [
"MIT"
] | null | null | null | src/routes/Tags/routes/NewTag/components/NewTagPage/NewTagPage.handlers.js | prescottprue/barista | 7a68a7937dfe4629e262807e75a242019b5f4724 | [
"MIT"
] | null | null | null | import { TAGS_DATA_PATH, TAGS_PATH } from 'constants'
/**
* Handler for starting test run. Works by pushing to requests/callRunner
* which triggers the callRunner function.
* @param {Object} props - Component props
* @return {Function} Function which accepts form values and starts test run
*/
export function cre... | 29.625 | 86 | 0.661041 |
6803286174d89fcd89b8c89cf609ba23d3022480 | 4,620 | js | JavaScript | test/e2e/forgotPasswordSpec.js | evan-miller-snyk/juice-shop | 2eca75477b0cb67f34c4faac7d73bdd048021c57 | [
"MIT"
] | 1 | 2021-03-11T07:51:19.000Z | 2021-03-11T07:51:19.000Z | test/e2e/forgotPasswordSpec.js | evan-miller-snyk/juice-shop | 2eca75477b0cb67f34c4faac7d73bdd048021c57 | [
"MIT"
] | 135 | 2021-02-11T15:11:45.000Z | 2021-07-28T21:03:46.000Z | test/e2e/forgotPasswordSpec.js | evan-miller-snyk/juice-shop | 2eca75477b0cb67f34c4faac7d73bdd048021c57 | [
"MIT"
] | 142 | 2021-01-07T16:38:28.000Z | 2022-03-30T16:48:41.000Z | /*
* Copyright (c) 2014-2021 Bjoern Kimminich.
* SPDX-License-Identifier: MIT
*/
const config = require('config')
describe('/#/forgot-password', () => {
let email, securityAnswer, newPassword, newPasswordRepeat, resetButton
const EC = protractor.ExpectedConditions
beforeEach(() => {
$('#logout').isPres... | 38.5 | 115 | 0.664286 |
68033cf280adbc04119fefbca611701c1d09c0d4 | 3,429 | js | JavaScript | leakhawk-monitor/src/main/resources/static/app.js | isuru-c/LeakHawk | 9c5727adf331b1930a05823649d508885515d9e5 | [
"Apache-2.0"
] | 1 | 2019-04-23T20:52:28.000Z | 2019-04-23T20:52:28.000Z | leakhawk-monitor/src/main/resources/static/app.js | isuru-c/LeakHawk | 9c5727adf331b1930a05823649d508885515d9e5 | [
"Apache-2.0"
] | 1 | 2017-08-20T20:08:14.000Z | 2017-08-20T20:09:45.000Z | leakhawk-monitor/src/main/resources/static/app.js | isuru-c/LeakHawk | 9c5727adf331b1930a05823649d508885515d9e5 | [
"Apache-2.0"
] | null | null | null | (function () {
'use strict';
angular.module('leakhawk', [
'ui.router', 'ngCookies', 'flow', 'chart.js', 'ui-notification'
]).config(['$stateProvider', '$urlRouterProvider', '$httpProvider','NotificationProvider',
function ($stateProvider, $urlRouterProvider, $httpProvider, NotificationProvi... | 35.71875 | 98 | 0.397784 |
6803b88db8ed50c767fa89ff9940ed5d859e6605 | 2,202 | js | JavaScript | dist/console-ban.min.js | lmk123/console-ban | 04c805d1dceaefb82ce231ada8b1c8d2587bcfeb | [
"MIT"
] | 2 | 2021-03-16T23:46:09.000Z | 2022-03-21T07:31:28.000Z | dist/console-ban.min.js | lmk123/console-ban | 04c805d1dceaefb82ce231ada8b1c8d2587bcfeb | [
"MIT"
] | null | null | null | dist/console-ban.min.js | lmk123/console-ban | 04c805d1dceaefb82ce231ada8b1c8d2587bcfeb | [
"MIT"
] | 2 | 2021-03-23T03:11:51.000Z | 2021-04-28T14:39:42.000Z | /*!
* console-ban v2.1.0
* (c) 2020-2021 fz6m
* Released under the MIT License.
*/
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).ConsoleBan={})}(this,(function(e){"use... | 314.571429 | 2,114 | 0.730245 |
6804eb63d72f689525ca24921e9ba40257cd240e | 4,751 | js | JavaScript | src/app/utils/trades_chart.js | gloffer/crypto | 5c7d5a82255687c6bc08e82a0554f40140f6b762 | [
"MIT"
] | null | null | null | src/app/utils/trades_chart.js | gloffer/crypto | 5c7d5a82255687c6bc08e82a0554f40140f6b762 | [
"MIT"
] | null | null | null | src/app/utils/trades_chart.js | gloffer/crypto | 5c7d5a82255687c6bc08e82a0554f40140f6b762 | [
"MIT"
] | null | null | null | function findAvgPercentChange(candlesData){
let percentChanges = []
for (let i = 0; i < candlesData.length - 1; i++) {
let currentCandleCenter = (candlesData[i].high + candlesData[i].close) / 2
let nextCandleCenter = (candlesData[i + 1].high + candlesData[i + 1].close) / 2
let percentCha... | 24.874346 | 100 | 0.356767 |
6805077878847f489962e323d4d8eba2e05b0fef | 121,780 | js | JavaScript | public/js/resources_js_views_elements_Animations_vue.js | whitebear0909/asb_laravel_vue | 42d2d5f88b5a06cfe8bc48ff08fd26833722f04f | [
"MIT"
] | null | null | null | public/js/resources_js_views_elements_Animations_vue.js | whitebear0909/asb_laravel_vue | 42d2d5f88b5a06cfe8bc48ff08fd26833722f04f | [
"MIT"
] | null | null | null | public/js/resources_js_views_elements_Animations_vue.js | whitebear0909/asb_laravel_vue | 42d2d5f88b5a06cfe8bc48ff08fd26833722f04f | [
"MIT"
] | null | null | null | "use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([["resources_js_views_elements_Animations_vue"],{
/***/ "./node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/js/views/elements/Animations.vue?vue&type=s... | 33.752772 | 678 | 0.196551 |
680558642468467ee571d8d62422fc06b4277bc0 | 2,482 | js | JavaScript | app/example/containers/Example.js | clari/react-orderable | cc5cdb0889880cf15f8c5cfe8a90927552839998 | [
"MIT"
] | 2 | 2016-10-21T19:26:06.000Z | 2017-02-20T14:43:12.000Z | app/example/containers/Example.js | clari/react-orderable | cc5cdb0889880cf15f8c5cfe8a90927552839998 | [
"MIT"
] | 1 | 2017-02-21T12:43:23.000Z | 2017-05-12T14:02:28.000Z | app/example/containers/Example.js | clari/react-orderable | cc5cdb0889880cf15f8c5cfe8a90927552839998 | [
"MIT"
] | null | null | null | import classNames from 'classnames';
import Immutable from 'immutable';
import ImmutablePropTypes from 'react-immutable-proptypes';
import ExampleItem from '../components/ExampleItem';
import Orderable from '../../../src/components/Orderable';
import React from 'react';
import styles from './Example.scss';
class Examp... | 24.097087 | 73 | 0.557212 |
68057ffd0a647d458370a725a2e5371ad80449e5 | 954 | js | JavaScript | packages/helpers-fn/src/log/log.spec.js | selfrefactor/commit-message | bede9e310d9bbd9468d6992bcfbe3910fa110f1f | [
"MIT"
] | 23 | 2017-11-25T07:27:59.000Z | 2019-06-13T15:08:08.000Z | packages/helpers-fn/src/log/log.spec.js | selfrefactor/commit-message | bede9e310d9bbd9468d6992bcfbe3910fa110f1f | [
"MIT"
] | 14 | 2017-11-25T22:28:19.000Z | 2018-03-27T17:03:20.000Z | packages/helpers-fn/src/log/log.spec.js | selfrefactor/commit-message | bede9e310d9bbd9468d6992bcfbe3910fa110f1f | [
"MIT"
] | 1 | 2018-09-27T06:57:44.000Z | 2018-09-27T06:57:44.000Z | const { log } = require('./log')
let logSpy
beforeEach(() => {
logSpy = jest.spyOn(global.console, 'log')
})
afterEach(() => {
logSpy.mockRestore()
})
const str = 'FOO bar'
test('separators', () => {
log('separator')
log('separatorx')
expect(logSpy.mock.calls).toMatchSnapshot()
})
test('obj', () => {
l... | 17.345455 | 58 | 0.571279 |
68074ed9d94dbdf1e17a88123d5db173c9efb4b5 | 2,658 | js | JavaScript | visor/widgets/TimeSlider/setting/ConfigureTimeSettings.js | JofreManchola/ccu2018_ODS1121 | 179caf2a18c62045e01d37663d0a52c64a4b3e9a | [
"MIT"
] | null | null | null | visor/widgets/TimeSlider/setting/ConfigureTimeSettings.js | JofreManchola/ccu2018_ODS1121 | 179caf2a18c62045e01d37663d0a52c64a4b3e9a | [
"MIT"
] | null | null | null | visor/widgets/TimeSlider/setting/ConfigureTimeSettings.js | JofreManchola/ccu2018_ODS1121 | 179caf2a18c62045e01d37663d0a52c64a4b3e9a | [
"MIT"
] | null | null | null | // All material copyright ESRI, All Rights Reserved, unless otherwise specified.
// See http://js.arcgis.com/3.15/esri/copyright.txt and http://www.arcgis.com/apps/webappbuilder/copyright.txt for details.
//>>built
require({cache:{"url:widgets/TimeSlider/setting/ConfigureTimeSettings.html":'\x3cdiv class\x3d"config-... | 332.25 | 516 | 0.796464 |
68081b467ced2b969499499efca9e5c6f420b69f | 135 | js | JavaScript | scripts/hello_world_mintoo511.js | breezage/Hacktoberfest-1 | 6f6d52248c79c0e72fd13b599500318fce3f9ab0 | [
"MIT"
] | null | null | null | scripts/hello_world_mintoo511.js | breezage/Hacktoberfest-1 | 6f6d52248c79c0e72fd13b599500318fce3f9ab0 | [
"MIT"
] | null | null | null | scripts/hello_world_mintoo511.js | breezage/Hacktoberfest-1 | 6f6d52248c79c0e72fd13b599500318fce3f9ab0 | [
"MIT"
] | 1 | 2019-10-24T06:45:21.000Z | 2019-10-24T06:45:21.000Z | // LANGUAGE: Javascript
// ENV: Node.js
// AUTHOR: Mintoo Kumar
// GITHUB: https://github.com/mintoo511
console.log('Hello, World!');
| 19.285714 | 39 | 0.688889 |
6809480096971186f5b08d8a47aff41cedaef7bd | 7,976 | js | JavaScript | test/integration/index.js | networkdoc/factorioClusterio | 28a3e8340fabfca7d0a0406a26137adf91243207 | [
"MIT"
] | null | null | null | test/integration/index.js | networkdoc/factorioClusterio | 28a3e8340fabfca7d0a0406a26137adf91243207 | [
"MIT"
] | null | null | null | test/integration/index.js | networkdoc/factorioClusterio | 28a3e8340fabfca7d0a0406a26137adf91243207 | [
"MIT"
] | null | null | null | /* eslint-disable no-console */
"use strict";
const path = require("path");
const fs = require("fs-extra");
const child_process = require("child_process");
const jwt = require("jsonwebtoken");
const phin = require("phin");
const util = require("util");
const events = require("events");
const libLink = require("@cluste... | 32.688525 | 114 | 0.698847 |
680b1ce961d01b301dbb6f614f5ae2bba729f221 | 502 | js | JavaScript | node_modules/@ionic/angular/dist/directives/virtual-scroll/virtual-header.js | VONGTith/- | aca95f86c1b72f963058af68b77dfddda72e650b | [
"MIT"
] | null | null | null | node_modules/@ionic/angular/dist/directives/virtual-scroll/virtual-header.js | VONGTith/- | aca95f86c1b72f963058af68b77dfddda72e650b | [
"MIT"
] | null | null | null | node_modules/@ionic/angular/dist/directives/virtual-scroll/virtual-header.js | VONGTith/- | aca95f86c1b72f963058af68b77dfddda72e650b | [
"MIT"
] | null | null | null | import { Directive, TemplateRef } from '@angular/core';
/**
* @hidden
*/
var VirtualHeader = /** @class */ (function () {
function VirtualHeader(templateRef) {
this.templateRef = templateRef;
}
VirtualHeader.decorators = [
{ type: Directive, args: [{ selector: '[virtualHeader]' },] },
... | 26.421053 | 70 | 0.595618 |
680b404a17b2521febf7d2a8ab433126e8d426fb | 466 | js | JavaScript | public/scripts/services/taskService.js | woodpig07/project-mate | c0157271bc787ba7f8ac0dd51bd1c4776739d5fb | [
"MIT"
] | null | null | null | public/scripts/services/taskService.js | woodpig07/project-mate | c0157271bc787ba7f8ac0dd51bd1c4776739d5fb | [
"MIT"
] | null | null | null | public/scripts/services/taskService.js | woodpig07/project-mate | c0157271bc787ba7f8ac0dd51bd1c4776739d5fb | [
"MIT"
] | null | null | null | (function() {
'use strict';
angular
.module('projectMateApp')
.factory('TaskService', TaskService);
TaskService.$inject = ['$resource', '$http'];
function TaskService($resource,$http){
var task = $resource('/api/tasks/:id',
{id:'@id'},
{up... | 21.181818 | 55 | 0.519313 |
680b527943eddd989b3272a3d0e2870c46f6ede2 | 1,468 | js | JavaScript | public/script.js | wetterkrank/ML-Study | 51b66c8aad8a69edac6ff4bf1e0ab7f9830be03e | [
"MIT"
] | 1 | 2022-01-24T04:26:51.000Z | 2022-01-24T04:26:51.000Z | public/script.js | wetterkrank/genderful | 51b66c8aad8a69edac6ff4bf1e0ab7f9830be03e | [
"MIT"
] | null | null | null | public/script.js | wetterkrank/genderful | 51b66c8aad8a69edac6ff4bf1e0ab7f9830be03e | [
"MIT"
] | null | null | null | function printResult(text) {
let resultsList = document.getElementById('results-list');
let li = document.createElement('li');
let code = document.createElement('code');
let resultText = document.createTextNode(text);
code.appendChild(resultText);
li.appendChild(code);
if (document.getElemen... | 37.641026 | 93 | 0.650545 |
680ba0653b4cdd2730ec88c53fd30a1f10efa65a | 1,845 | js | JavaScript | strucutres/Command.js | superseusTY1/Bot-Filipe-Deschamps | 43f4e8918fa8a7dd9569270ca191085f837ec067 | [
"MIT"
] | 24 | 2019-03-06T00:53:09.000Z | 2022-02-07T16:37:22.000Z | strucutres/Command.js | superseusTY1/Bot-Filipe-Deschamps | 43f4e8918fa8a7dd9569270ca191085f837ec067 | [
"MIT"
] | 4 | 2019-03-06T01:12:57.000Z | 2019-05-27T22:23:05.000Z | strucutres/Command.js | superseusTY1/Bot-Filipe-Deschamps | 43f4e8918fa8a7dd9569270ca191085f837ec067 | [
"MIT"
] | 15 | 2019-03-06T01:25:18.000Z | 2020-05-04T20:15:14.000Z | class Command {
constructor (client) {
this.client = client
this.name = 'none'
this.category = 'general'
this.description = 'No description.'
this.usage = ''
this.aliases = []
this.guildOnly = false
this.requiredArgs = false
this.permissions = []
this.clientPermissions = []
}... | 36.9 | 172 | 0.659621 |
680bc4edcb399c285d2a9570980a63364bb00415 | 338 | js | JavaScript | src/components/hero/style.js | jiricrispeyn/jiricrispeyn.com | db01f8fa69a65e32ddbbb252458297766ab35869 | [
"MIT"
] | null | null | null | src/components/hero/style.js | jiricrispeyn/jiricrispeyn.com | db01f8fa69a65e32ddbbb252458297766ab35869 | [
"MIT"
] | 6 | 2021-05-05T10:39:03.000Z | 2022-02-26T10:06:19.000Z | src/components/hero/style.js | jiricrispeyn/jiricrispeyn.com | db01f8fa69a65e32ddbbb252458297766ab35869 | [
"MIT"
] | null | null | null | import styled from '@emotion/styled';
import { Anchor } from '../typography';
export const StyledHero = styled.section`
display: flex;
flex-direction: column;
justify-content: center;
align-items: flex-start;
min-height: calc(100vh - 6.625rem);
max-width: 40rem;
`;
export const AnchorButton = Anchor.withC... | 24.142857 | 57 | 0.715976 |
680cc4ae6e6cd07691be2de76eee83687753c20d | 2,030 | js | JavaScript | src/components/layout.js | sranney/allaboutes6 | b9467277b2e2de289bc89721f39a09ff20efeb90 | [
"MIT"
] | null | null | null | src/components/layout.js | sranney/allaboutes6 | b9467277b2e2de289bc89721f39a09ff20efeb90 | [
"MIT"
] | null | null | null | src/components/layout.js | sranney/allaboutes6 | b9467277b2e2de289bc89721f39a09ff20efeb90 | [
"MIT"
] | null | null | null | /**
* Layout component that queries for data
* with Gatsby's useStaticQuery component
*
* See: https://www.gatsbyjs.org/docs/use-static-query/
*/
import React, { createContext, useState } from 'react';
import PropTypes from 'prop-types';
import { useStaticQuery, graphql } from 'gatsby';
import styled from 'styled... | 27.432432 | 77 | 0.5 |
680d840c26b2012ee3b4973e2122fc9ce77ad8d8 | 421 | js | JavaScript | next.config.js | brettfarrow/calmernews | 63b3c281f20db674b9ef6cb6e6d832dbddcd83a0 | [
"MIT"
] | 1 | 2021-07-21T23:21:02.000Z | 2021-07-21T23:21:02.000Z | next.config.js | brettfarrow/calmernews | 63b3c281f20db674b9ef6cb6e6d832dbddcd83a0 | [
"MIT"
] | null | null | null | next.config.js | brettfarrow/calmernews | 63b3c281f20db674b9ef6cb6e6d832dbddcd83a0 | [
"MIT"
] | 1 | 2021-09-08T16:24:19.000Z | 2021-09-08T16:24:19.000Z | const { withLayer0, withServiceWorker } = require('@layer0/next/config');
const withPWA = require('next-pwa');
const runtimeCaching = require('next-pwa/cache');
const withPreact = require('next-plugin-preact');
module.exports = withPreact({
...withLayer0(
withServiceWorker({
layer0SourceMaps: true,
}),... | 22.157895 | 73 | 0.619952 |
680ec443d277621f46cdb09df8a6a45afbec018d | 2,410 | js | JavaScript | spawning.js | nissmar/p5Animations | 4b66d3cd7a8e3f486e528df4179093f6d5d5b1bc | [
"MIT"
] | null | null | null | spawning.js | nissmar/p5Animations | 4b66d3cd7a8e3f486e528df4179093f6d5d5b1bc | [
"MIT"
] | null | null | null | spawning.js | nissmar/p5Animations | 4b66d3cd7a8e3f486e528df4179093f6d5d5b1bc | [
"MIT"
] | null | null | null | function setup() {
dim = 60;
pS = 10;
let currentX = 0;
let currentY = 0;
//colors
houseColor = color(200, 100, 0);
gardenColor = color(100, 150, 100);
fenceColor = color(100, 100, 100);
createCanvas(dim * pS, dim * pS);
init();
frameRate(10);
noLoop();
myCity = ne... | 23.173077 | 98 | 0.506224 |
681084618afabc59fad1a756c62a51455eb2108d | 369 | js | JavaScript | services/sample/snips/user.js | michaelgodley/fst | 09401b0c03c94f81350bae0c49c57500b4ebaedd | [
"MIT"
] | 1 | 2020-07-27T00:59:09.000Z | 2020-07-27T00:59:09.000Z | services/sample/snips/user.js | michaelgodley/fst | 09401b0c03c94f81350bae0c49c57500b4ebaedd | [
"MIT"
] | 7 | 2019-11-06T17:55:29.000Z | 2021-05-07T12:33:39.000Z | services/sample/snips/user.js | michaelgodley/fst | 09401b0c03c94f81350bae0c49c57500b4ebaedd | [
"MIT"
] | null | null | null | const registerUser = ({
userName = 'abc@def.com',
email = 'abc@def.com',
password = 'ffggfgfkfkfk',
} = {}) => ({
userName,
email,
password,
async save() {
try {
//const user = await (new User(this)).save();
return {
userName,
email,
password
};
} catch(er... | 15.375 | 51 | 0.501355 |
681086f650f8d67fb4b5124e1bb005570c905549 | 1,844 | js | JavaScript | src/appWithI18n.js | tonxxd/next-translate | f9d93e1b73b0a769e0b1ba10417772dff6d9a963 | [
"MIT"
] | null | null | null | src/appWithI18n.js | tonxxd/next-translate | f9d93e1b73b0a769e0b1ba10417772dff6d9a963 | [
"MIT"
] | null | null | null | src/appWithI18n.js | tonxxd/next-translate | f9d93e1b73b0a769e0b1ba10417772dff6d9a963 | [
"MIT"
] | null | null | null | import React from 'react'
import I18nProvider from './I18nProvider'
import getDefaultLang from './_helpers/getDefaultLang'
import getPageNamespaces from './_helpers/getPageNamespaces'
function getLang(ctx, config) {
const { req, asPath = '' } = ctx
if (req) return req.query.lang || getDefaultLang(req, config)
... | 26.724638 | 76 | 0.626356 |
6810cc822654256c2ec46e2a338c35a158f6b60a | 648 | js | JavaScript | examples/upload-files/index.js | Dmitry-Ostashev/testcafe-examples | f746029e42b48af928cbb1f2a21bf0e269019790 | [
"MIT"
] | 33 | 2019-10-01T15:20:45.000Z | 2022-03-28T14:53:29.000Z | examples/upload-files/index.js | Dmitry-Ostashev/testcafe-examples | f746029e42b48af928cbb1f2a21bf0e269019790 | [
"MIT"
] | 22 | 2019-10-15T09:39:38.000Z | 2021-09-01T07:45:18.000Z | examples/upload-files/index.js | Dmitry-Ostashev/testcafe-examples | f746029e42b48af928cbb1f2a21bf0e269019790 | [
"MIT"
] | 43 | 2019-10-01T15:17:38.000Z | 2022-03-29T12:42:15.000Z | import { Selector } from 'testcafe';
fixture `My fixture`
.page `http://localhost:3000/examples/upload-files/index.html`;
test('Check uploaded files', async t => {
const uploadedFileElements = Selector('#uploaded-file-list').child('li');
await t
.setFilesToUpload('#upload-input', [
... | 34.105263 | 80 | 0.628086 |
6811101cec502df27f25bf3188da7978fbbba0e7 | 5,471 | js | JavaScript | index.js | guoguolong/bootjs-render | b439f6e2c5b75df8d09b07e24bab51825656b529 | [
"MIT"
] | null | null | null | index.js | guoguolong/bootjs-render | b439f6e2c5b75df8d09b07e24bab51825656b529 | [
"MIT"
] | null | null | null | index.js | guoguolong/bootjs-render | b439f6e2c5b75df8d09b07e24bab51825656b529 | [
"MIT"
] | null | null | null | "use strict";
const common = require('bootjs-common');
const _ = require('lodash');
function _autoRender(ctx, data, layout, viewPath, callback) {
let {renderHandler, req, res, next, defaultEngine} = ctx ;
let cbFunc = callback || viewPath || layout;
if (typeof cbFunc !== 'function') cbFunc = null;
if... | 41.44697 | 124 | 0.494973 |
68113193153dbd5346b0721f41bab87b235a4a34 | 5,370 | js | JavaScript | public/dist/js/areacharts-data.js | uksarkar/laravel-startup | 78e4af05a124935d9ea8636f3f5500db9d4069a7 | [
"MIT"
] | null | null | null | public/dist/js/areacharts-data.js | uksarkar/laravel-startup | 78e4af05a124935d9ea8636f3f5500db9d4069a7 | [
"MIT"
] | 1 | 2021-05-10T00:44:53.000Z | 2021-05-10T00:44:53.000Z | public/js/pinkman/areacharts-data.js | davesuy/Sistaraden-Dashboard | b3cc79bc1cbdcb5725c43a31c427d88f9e4b558e | [
"MIT"
] | null | null | null | /*Dashboard Init*/
"use strict";
/*****E-Charts function start*****/
var echartsConfig = function() {
if( $('#e_chart_3').length > 0 ){
var e_chart_3 = echarts.init(document.getElementById('e_chart_3'));
var option3 = {
tooltip: {
show: true,
trigger: 'axis',
backgroundColor: '#fff',
borderR... | 17.435065 | 69 | 0.472439 |
6811501341c7c948898f85402cdae20136ff4f7f | 4,057 | js | JavaScript | src/components/Chart.js | pinscript/gatsby-map | 69e3e2ad9ebfe474941ffd039e22a8d251d54241 | [
"MIT"
] | null | null | null | src/components/Chart.js | pinscript/gatsby-map | 69e3e2ad9ebfe474941ffd039e22a8d251d54241 | [
"MIT"
] | null | null | null | src/components/Chart.js | pinscript/gatsby-map | 69e3e2ad9ebfe474941ffd039e22a8d251d54241 | [
"MIT"
] | null | null | null | import React, { useState } from 'react'
import Highcharts from 'highcharts'
import HighchartsReact from 'highcharts-react-official'
import { useStaticQuery, graphql } from 'gatsby'
import colors from 'assets/stylesheets/settings/_colors.scss'
const getOptions = latestTotal => ({
title: {
text: null
},
col... | 21.811828 | 128 | 0.492975 |
6811dbeb76fa391faf1b47d8f87fa82c14cdaaa5 | 23,553 | js | JavaScript | admin/js/css-extract-widget.js | 16patsle/abtf-reborn | eb70d7b8ba977aa29573f32ce48713984e73cc3d | [
"MIT"
] | 2 | 2019-04-26T21:30:23.000Z | 2019-10-01T13:51:13.000Z | admin/js/css-extract-widget.js | 16patsle/abtf-reborn | eb70d7b8ba977aa29573f32ce48713984e73cc3d | [
"MIT"
] | null | null | null | admin/js/css-extract-widget.js | 16patsle/abtf-reborn | eb70d7b8ba977aa29573f32ce48713984e73cc3d | [
"MIT"
] | null | null | null | /**
* Simple Critical CSS and Full CSS extraction widget
*
* @usage
* Copy & paste this widget in the browser console and use the following methods with an optional callback.
*
* window.extractCriticalCSS( callback );
* window.extractFullCSS( callback );
*
* When no callback is provided, the extracted CSS is ... | 38.422512 | 585 | 0.45404 |
68127face45c88c3557942e87c919870d696fb78 | 140 | js | JavaScript | examples/src/apps/checkbox/index.js | elliotann/fk-component | 2666146462bed013b4daec84c682895923072f10 | [
"MIT"
] | 6 | 2017-07-16T01:52:53.000Z | 2018-06-13T04:17:49.000Z | examples/src/apps/checkbox/index.js | elliotann/fk-component | 2666146462bed013b4daec84c682895923072f10 | [
"MIT"
] | null | null | null | examples/src/apps/checkbox/index.js | elliotann/fk-component | 2666146462bed013b4daec84c682895923072f10 | [
"MIT"
] | 7 | 2017-09-12T02:13:30.000Z | 2020-12-22T08:53:41.000Z | module.exports = {
name: 'checkbox',
load: (cb) => {
require.ensure([], require => {
cb(require('./component'))
}, 'checkbox')
}
} | 17.5 | 33 | 0.55 |
681283842af243e445917f71260fb76ff381d50b | 6,936 | js | JavaScript | lib/resourcer/resource.js | brapse/resourcer | 4b3b95eb294f840416eecd662bb773e232bd3b0f | [
"Apache-2.0"
] | 1 | 2019-04-27T20:27:21.000Z | 2019-04-27T20:27:21.000Z | lib/resourcer/resource.js | brapse/resourcer | 4b3b95eb294f840416eecd662bb773e232bd3b0f | [
"Apache-2.0"
] | null | null | null | lib/resourcer/resource.js | brapse/resourcer | 4b3b95eb294f840416eecd662bb773e232bd3b0f | [
"Apache-2.0"
] | null | null | null | require.paths.unshift(require('path').join(__dirname, '..'));
var events = require('events');
var definers = require('resourcer/schema').definers;
var resourcer = require('resourcer');
//
// CRUD
//
this.Resource = function () {};
this.Resource.filter = require('resourcer/resource/view').filter;
this.Resource.vie... | 28.9 | 88 | 0.583622 |
68128eb9177258edd9f565f52055b6bebdfe811c | 7,677 | js | JavaScript | node_modules/newman/bin/newman.js | SankarNiit/aws-codepipeline-codebuild-with-postman | f544500eaf286b9c933ad85ee01b711056902281 | [
"MIT-0"
] | 2 | 2021-02-07T16:41:52.000Z | 2021-02-27T20:40:55.000Z | node_modules/newman/bin/newman.js | SankarNiit/aws-codepipeline-codebuild-with-postman | f544500eaf286b9c933ad85ee01b711056902281 | [
"MIT-0"
] | 85 | 2021-02-05T22:03:57.000Z | 2022-03-25T22:05:00.000Z | node_modules/newman/bin/newman.js | SankarNiit/aws-codepipeline-codebuild-with-postman | f544500eaf286b9c933ad85ee01b711056902281 | [
"MIT-0"
] | 1 | 2020-11-21T09:55:33.000Z | 2020-11-21T09:55:33.000Z | #!/usr/bin/env node
require('../lib/node-version-check'); // @note that this should not respect CLI --silent
const _ = require('lodash'),
waterfall = require('async/waterfall'),
{ Command } = require('commander'),
program = new Command(),
version = require('../package.json').version,
newman = requ... | 50.506579 | 120 | 0.64817 |
681300e88dda7f033a40b3e4bbe20e0562e649cc | 1,581 | js | JavaScript | build/es6-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-arrange-iconset-svg.js | EberlyODL/haxcms | 3b9f76dd097dc5028916c172c5912277181a9aab | [
"Apache-2.0"
] | null | null | null | build/es6-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-arrange-iconset-svg.js | EberlyODL/haxcms | 3b9f76dd097dc5028916c172c5912277181a9aab | [
"Apache-2.0"
] | null | null | null | build/es6-amd/node_modules/@lrnwebcomponents/mdi-iconset-svg/lib/mdi-arrange-iconset-svg.js | EberlyODL/haxcms | 3b9f76dd097dc5028916c172c5912277181a9aab | [
"Apache-2.0"
] | null | null | null | define(["../../../@polymer/iron-icon/iron-icon.js","../../../@polymer/iron-iconset-svg/iron-iconset-svg.js","../../../@polymer/polymer/lib/utils/html-tag.js"],(function(H,V,M){"use strict";const t=M.html`
<iron-iconset-svg name="mdi-arrange" size="24">
<svg>
<g id="arrange-bring-forward">
<path d="M... | 42.72973 | 259 | 0.641366 |
68134c9a92443a195943b9c06f8020ef94501146 | 1,387 | js | JavaScript | packages/manager/modules/vps/src/modal/backup-storage/delete-backup-storage.controller.js | AnneSophieS/manager | fc88dc01b15ade39d5664761d4057574f9520317 | [
"BSD-3-Clause"
] | null | null | null | packages/manager/modules/vps/src/modal/backup-storage/delete-backup-storage.controller.js | AnneSophieS/manager | fc88dc01b15ade39d5664761d4057574f9520317 | [
"BSD-3-Clause"
] | null | null | null | packages/manager/modules/vps/src/modal/backup-storage/delete-backup-storage.controller.js | AnneSophieS/manager | fc88dc01b15ade39d5664761d4057574f9520317 | [
"BSD-3-Clause"
] | null | null | null | export default class DeleteBackupStorageCtrl {
/* @ngInject */
constructor(
$translate,
$uibModalInstance,
CucControllerHelper,
CucCloudMessage,
access,
serviceName,
VpsService,
) {
this.$translate = $translate;
this.$uibModalInstance = $uibModalInstance;
this.CucCloudMessa... | 27.196078 | 80 | 0.589762 |
6813677fff7ad456d1bd61ee6a5d1d35925a4cb7 | 124 | js | JavaScript | api.js | wtfychxx/sis-next | 6a4d987dbb79ea2756b05c2c3664ae18e7f89935 | [
"MIT"
] | null | null | null | api.js | wtfychxx/sis-next | 6a4d987dbb79ea2756b05c2c3664ae18e7f89935 | [
"MIT"
] | null | null | null | api.js | wtfychxx/sis-next | 6a4d987dbb79ea2756b05c2c3664ae18e7f89935 | [
"MIT"
] | null | null | null | import { getBookList } from './api/book';
import { generate } from './api/options';
export {getBookList}
export {generate}; | 24.8 | 41 | 0.701613 |
681394f66d20917e153b0cc13a45b17a42d462b0 | 312 | js | JavaScript | app/components/Tool/ToolSection.js | OlegStotsky/eostoolkit | dc020e4129724ff8eb0d918f53222cca8ff25cd3 | [
"MIT"
] | 89 | 2018-06-23T01:58:05.000Z | 2021-12-21T16:08:47.000Z | app/components/Tool/ToolSection.js | trucnx/eostoolkit | a957b3c81c28d6c484b001173a4dd3d9d80b5a12 | [
"MIT"
] | 44 | 2018-06-23T16:44:15.000Z | 2020-04-19T21:20:27.000Z | app/components/Tool/ToolSection.js | trucnx/eostoolkit | a957b3c81c28d6c484b001173a4dd3d9d80b5a12 | [
"MIT"
] | 64 | 2018-07-04T05:19:00.000Z | 2021-09-06T14:14:54.000Z | import React from 'react';
import GridItem from 'components/Grid/GridItem';
const ToolSection = props => {
const { xs, sm, md, lg } = props;
return (
<GridItem xs={xs || 12} sm={sm || 12} md={md || lg || 6} lg={lg || md || 6}>
{props.children}
</GridItem>
);
};
export default ToolSection;
| 22.285714 | 80 | 0.589744 |
68139671735b03c0a1b0df79ae9af8aab2b18b87 | 1,651 | js | JavaScript | traffic_portal/app/src/modules/private/deliveryService/view/index.js | ckooma001c/Comcast-traffic_control | 62286f875703b4de1b3a094b6b80c97afbf13d70 | [
"Apache-2.0"
] | 1 | 2017-02-14T21:09:10.000Z | 2017-02-14T21:09:10.000Z | traffic_portal/app/src/modules/private/deliveryService/view/index.js | ckooma001c/Comcast-traffic_control | 62286f875703b4de1b3a094b6b80c97afbf13d70 | [
"Apache-2.0"
] | 1 | 2016-08-05T16:30:48.000Z | 2016-08-05T16:30:48.000Z | traffic_portal/app/src/modules/private/deliveryService/view/index.js | ckooma001c/Comcast-traffic_control | 62286f875703b4de1b3a094b6b80c97afbf13d70 | [
"Apache-2.0"
] | null | null | null | /*
Copyright 2015 Comcast Cable Communications Management, LLC
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law o... | 41.275 | 112 | 0.626893 |
6813d8c83d33f46f8ccf43bb40fffe0b282ae9db | 774 | js | JavaScript | models/Password.js | mhihmi/HilmiMehdi_6_23032022 | e874ea8c13d68c5638d2e31c982cc496943e1cbb | [
"MIT"
] | null | null | null | models/Password.js | mhihmi/HilmiMehdi_6_23032022 | e874ea8c13d68c5638d2e31c982cc496943e1cbb | [
"MIT"
] | null | null | null | models/Password.js | mhihmi/HilmiMehdi_6_23032022 | e874ea8c13d68c5638d2e31c982cc496943e1cbb | [
"MIT"
] | null | null | null | const passwordValidator = require('password-validator');
// Schema creation
const passwordSchema = new passwordValidator();
// Add Schema properties
passwordSchema
.is().min(5) // Minimum length 5
.is().max(15) // Maximum length 15
... | 48.375 | 93 | 0.507752 |
68148eba86a466ca4d3359cd6e7eeeaa22310e19 | 7,710 | js | JavaScript | WIPReact/src/screens/Channels/tabOne.js | famousming7/WIPReact | a2d13c2b2ee00bf53953f74338934d64f4cf55c0 | [
"MIT"
] | null | null | null | WIPReact/src/screens/Channels/tabOne.js | famousming7/WIPReact | a2d13c2b2ee00bf53953f74338934d64f4cf55c0 | [
"MIT"
] | null | null | null | WIPReact/src/screens/Channels/tabOne.js | famousming7/WIPReact | a2d13c2b2ee00bf53953f74338934d64f4cf55c0 | [
"MIT"
] | null | null | null | // @flow
import React, { Component } from "react";
import { Image, TouchableOpacity, Platform } from "react-native";
import { Content, Text, View } from "native-base";
import { Grid, Col, Row } from "react-native-easy-grid";
import styles from "./styles";
class TabOne extends Component {
render() {
const navig... | 32.808511 | 72 | 0.325811 |
6814afbbcc9a391a055433efec3ba42dce93a8d0 | 3,585 | js | JavaScript | packages/relay-compiler/transforms/MaskTransform.js | nickmccurdy/relay | 4ba05f6d423532c87b62f9ef0e537f98dab8cfb9 | [
"MIT"
] | 1 | 2022-03-01T10:26:23.000Z | 2022-03-01T10:26:23.000Z | packages/relay-compiler/transforms/MaskTransform.js | nickmccurdy/relay | 4ba05f6d423532c87b62f9ef0e537f98dab8cfb9 | [
"MIT"
] | 9 | 2021-08-21T07:50:52.000Z | 2022-03-31T04:14:35.000Z | packages/relay-compiler/transforms/MaskTransform.js | nickmccurdy/relay | 4ba05f6d423532c87b62f9ef0e537f98dab8cfb9 | [
"MIT"
] | 1 | 2020-12-31T23:35:43.000Z | 2020-12-31T23:35:43.000Z | /**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @flow strict-local
* @format
*/
// flowlint ambiguous-object-type:error
'use strict';
const IRTransformer = require('../core... | 27.366412 | 78 | 0.703487 |
6814f48aa62fa6dd077fe866c86e80b9be041073 | 619,685 | js | JavaScript | public/49.js | leonirlopes/genealogy-1 | 3ac8ad0c0b1aea69bb2469f9e3ee4943f7375dc7 | [
"MIT"
] | 1 | 2020-05-05T01:28:05.000Z | 2020-05-05T01:28:05.000Z | public/49.js | leonirlopes/genealogy-1 | 3ac8ad0c0b1aea69bb2469f9e3ee4943f7375dc7 | [
"MIT"
] | null | null | null | public/49.js | leonirlopes/genealogy-1 | 3ac8ad0c0b1aea69bb2469f9e3ee4943f7375dc7 | [
"MIT"
] | null | null | null | webpackJsonp([49],{
/***/ 2128:
/***/ (function(module, exports, __webpack_require__) {
eval("// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = __webpack_require__(2129);\nif(typeof content === 'string') content = [[module.i, content, '']];\nif(content.locals) modu... | 1,102.642349 | 47,083 | 0.838836 |
68150019fb02b6ad7b9dd7a8dfcafbe8f79975df | 5,217 | js | JavaScript | src/interaction/ModifyTouch.js | Jorgeeperalta/ol-ext | ff4bc63adbcb3c133ee7ee16fab795a51cf6a960 | [
"BSD-3-Clause"
] | 1 | 2021-04-07T09:43:36.000Z | 2021-04-07T09:43:36.000Z | src/interaction/ModifyTouch.js | 408460486/ol-ext | 0915ce210622a89a9fd4151d03abb82fd91ae1f7 | [
"BSD-3-Clause"
] | null | null | null | src/interaction/ModifyTouch.js | 408460486/ol-ext | 0915ce210622a89a9fd4151d03abb82fd91ae1f7 | [
"BSD-3-Clause"
] | null | null | null | /* Copyright (c) 2016 Jean-Marc VIGLINO,
released under the CeCILL-B license (French BSD license)
(http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.txt).
*/
import ol_ext_inherits from '../util/ext'
import ol_interaction_Modify from 'ol/interaction/Modify'
import ol_Overlay_Popup from '../overlay/Popup'
impor... | 30.508772 | 102 | 0.679318 |
681557d248b0646952e2dc9610be608d0abd38b3 | 3,247 | js | JavaScript | email-sender.js | dpw1/puppeteer-gmail | 2e209432a1f916e9e266bcd5d31bb1fb3de3c140 | [
"MIT"
] | 10 | 2020-04-28T20:32:29.000Z | 2022-02-07T12:54:42.000Z | email-sender.js | dpw1/puppeteer-gmail | 2e209432a1f916e9e266bcd5d31bb1fb3de3c140 | [
"MIT"
] | 1 | 2020-05-07T02:32:14.000Z | 2020-05-15T21:22:51.000Z | email-sender.js | dpw1/puppeteer-gmail | 2e209432a1f916e9e266bcd5d31bb1fb3de3c140 | [
"MIT"
] | 7 | 2019-09-16T08:22:02.000Z | 2021-07-30T09:33:46.000Z | require("dotenv").config();
const chalk = require("chalk");
const path = require("path");
const fs = require("fs").promises;
const lastEmailIndex = path.join(
__dirname,
"./",
"db/",
"last-sent-email-index.txt"
);
/* Customizable variables */
const user = process.env.EMAIL_ACCOUNT;
const password = process.e... | 32.47 | 108 | 0.674161 |
6815bb4223b01e32f56f40876c2859cd3b6919fc | 2,651 | js | JavaScript | ovenube_peru/nubefact_integration/doctype/configuracion_nubefact/configuracion_nubefact.js | ovenube/ovenube_peru | 1a49e42ef238c6a94f4586a07e0cb0503f753dda | [
"MIT"
] | null | null | null | ovenube_peru/nubefact_integration/doctype/configuracion_nubefact/configuracion_nubefact.js | ovenube/ovenube_peru | 1a49e42ef238c6a94f4586a07e0cb0503f753dda | [
"MIT"
] | null | null | null | ovenube_peru/nubefact_integration/doctype/configuracion_nubefact/configuracion_nubefact.js | ovenube/ovenube_peru | 1a49e42ef238c6a94f4586a07e0cb0503f753dda | [
"MIT"
] | null | null | null | // Copyright (c) 2019, OVENUBE and contributors
// For license information, please see license.txt
frappe.ui.form.on('Configuracion Nubefact', {
onload: function(frm) {
frappe.call({
method: "get_series",
doc: frm.doc,
callback: function(r) {
frappe.meta.get_docfield("Detalle Serie Factura Electronica"... | 35.824324 | 164 | 0.702754 |
681677dbd85b62c130cad902c02e916ff7c1cb9a | 1,008 | js | JavaScript | packages/clay-color-picker/docs/index.js | brunoquei2105/clay | fe2aa0d9fd5ef536043de535e3fa741abee0e513 | [
"MIT",
"BSD-3-Clause"
] | 176 | 2017-05-18T15:18:22.000Z | 2022-03-29T22:30:57.000Z | packages/clay-color-picker/docs/index.js | seltong/clay | 6fd3e9309b514a2b95f775a9551fe8446de068c7 | [
"MIT",
"BSD-3-Clause"
] | 3,630 | 2017-04-26T03:46:16.000Z | 2022-03-31T16:58:47.000Z | packages/clay-color-picker/docs/index.js | seltong/clay | 6fd3e9309b514a2b95f775a9551fe8446de068c7 | [
"MIT",
"BSD-3-Clause"
] | 288 | 2017-04-26T01:11:35.000Z | 2022-03-30T19:20:26.000Z | /**
* SPDX-FileCopyrightText: © 2019 Liferay, Inc. <https://liferay.com>
* SPDX-License-Identifier: BSD-3-Clause
*/
import Editor from '$clayui.com/src/components/Editor';
import ClayColorPicker from '@clayui/color-picker';
import React from 'react';
const colorPickerImportsCode = `import ClayColorPicker from '@cl... | 21.446809 | 83 | 0.69246 |
681690f8d463020e511d1433b3b316c5917793d0 | 5,174 | js | JavaScript | components/training/timeline.js | amfoss/website | 5230291b1e5030881a72b7e3558525ca6aa40d98 | [
"MIT"
] | 359 | 2015-02-25T13:49:36.000Z | 2022-03-31T14:54:24.000Z | components/training/timeline.js | amfoss/website | 5230291b1e5030881a72b7e3558525ca6aa40d98 | [
"MIT"
] | 81 | 2015-02-22T06:44:11.000Z | 2021-01-31T14:34:56.000Z | components/training/timeline.js | amfoss/website | 5230291b1e5030881a72b7e3558525ca6aa40d98 | [
"MIT"
] | 40 | 2015-02-22T10:15:44.000Z | 2021-08-30T18:19:42.000Z | import { read } from 'gray-matter';
import {
VerticalTimeline,
VerticalTimelineElement,
} from 'react-vertical-timeline-component';
import 'react-vertical-timeline-component/style.min.css';
export default () => {
return (
<>
<VerticalTimeline>
<VerticalTimelineElement
className="verti... | 35.197279 | 85 | 0.542327 |
6817a28b5821d3a14329a0f6ff4719643f455af1 | 3,813 | js | JavaScript | plugins/customAuthorizationParser.js | adtaylor/fpl_rest | 7af3741e29609be8197a274fc915c94504ebf89b | [
"MIT"
] | null | null | null | plugins/customAuthorizationParser.js | adtaylor/fpl_rest | 7af3741e29609be8197a274fc915c94504ebf89b | [
"MIT"
] | null | null | null | plugins/customAuthorizationParser.js | adtaylor/fpl_rest | 7af3741e29609be8197a274fc915c94504ebf89b | [
"MIT"
] | null | null | null |
'use strict';
/**
* Module dependencies.
*/
var crypto = require('crypto');
var path = require('path');
var _ = require('lodash');
var nconf = require('nconf').file({
file: path.join(__dirname, '..', 'config', 'global.json')
});
var restify = require('restify');
/**
* Returns auth header pieces
*/
var parse... | 25.085526 | 131 | 0.660372 |
6817f6a7872f5c1bdec2efd89099ac694d5d1ed6 | 3,194 | js | JavaScript | src/ui/property-editor/FlexLayoutItemEditor.js | jue/editor | b553d1fca4b44001bb43179328ab68b4a5849e39 | [
"MIT"
] | null | null | null | src/ui/property-editor/FlexLayoutItemEditor.js | jue/editor | b553d1fca4b44001bb43179328ab68b4a5849e39 | [
"MIT"
] | null | null | null | src/ui/property-editor/FlexLayoutItemEditor.js | jue/editor | b553d1fca4b44001bb43179328ab68b4a5849e39 | [
"MIT"
] | null | null | null | import UIElement, { EVENT } from "@core/UIElement";
import { LOAD } from "@core/Event";
import { CSS_TO_STRING, STRING_TO_CSS } from "@core/functions/func";
import SelectIconEditor from "./SelectIconEditor";
export default class FlexLayoutItemEditor extends UIElement {
components() {
return {
... | 32.927835 | 112 | 0.484033 |
681805a9cf351ab2ba4645308fa4bc4adb9a6ac5 | 50 | js | JavaScript | src/app/component/order-confirmation-item/index.js | dreampulse/printing-client | b438f508b896712699e12519624a9b83998bb4e9 | [
"Apache-2.0"
] | 1 | 2020-05-05T14:34:54.000Z | 2020-05-05T14:34:54.000Z | src/app/component/order-confirmation-item/index.js | dreampulse/printing-client | b438f508b896712699e12519624a9b83998bb4e9 | [
"Apache-2.0"
] | null | null | null | src/app/component/order-confirmation-item/index.js | dreampulse/printing-client | b438f508b896712699e12519624a9b83998bb4e9 | [
"Apache-2.0"
] | null | null | null | export {default} from './order-confirmation-item'
| 25 | 49 | 0.76 |
6819782b26280d3b59fbacf364f0f8cb0e1d954d | 1,483 | js | JavaScript | src/components/Footer.js | mhaidarhanif/mhaidarhanif-web | dafd3bab3dd9606a2bedf3b7c4ec63bf3c931bae | [
"MIT"
] | 15 | 2020-10-31T08:47:15.000Z | 2022-03-24T21:59:49.000Z | src/components/Footer.js | mhaidarh/mhaidarhanif.com | dafd3bab3dd9606a2bedf3b7c4ec63bf3c931bae | [
"MIT"
] | 298 | 2020-02-17T02:32:50.000Z | 2020-10-08T02:33:48.000Z | src/components/Footer.js | mhaidarh/mhaidarhanif-web | dafd3bab3dd9606a2bedf3b7c4ec63bf3c931bae | [
"MIT"
] | 1 | 2019-11-12T09:42:39.000Z | 2019-11-12T09:42:39.000Z | import React from "react"
import styled from "@xstyled/emotion"
import Anchor from "../components/Anchor"
import socials from "../data/socials.json"
const FooterContainer = styled.footer`
display: flex;
flex-direction: column;
align-items: center;
padding: 50px;
margin: 50px 0;
`
const SocialContainer = s... | 19.513158 | 77 | 0.583277 |
6819848c1fac31f354edf8bebc529d93785ae237 | 10,092 | js | JavaScript | node_modules/parse/lib/browser/RESTController.js | panda-clouds/birthday | b6460ad3408881c5b8b95041ecc20c72ccc518c6 | [
"MIT"
] | null | null | null | node_modules/parse/lib/browser/RESTController.js | panda-clouds/birthday | b6460ad3408881c5b8b95041ecc20c72ccc518c6 | [
"MIT"
] | 3 | 2020-09-06T23:30:22.000Z | 2021-05-10T08:55:58.000Z | node_modules/parse/lib/browser/RESTController.js | panda-clouds/birthday | b6460ad3408881c5b8b95041ecc20c72ccc518c6 | [
"MIT"
] | null | null | null | "use strict";
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
var _typeof2 = _interopRequireDefault(require("@babel/runtime/helpers/typeof"));
var _CoreManager = _interopRequireDefa... | 27.423913 | 152 | 0.585315 |
68198d29b99de8996a2421efc6ffdc710aabcd65 | 2,248 | js | JavaScript | src/components/Cart/ShippingInfo.js | smallsticker/smallsticker-client | 7dfdbc0380abe6d4ee7b96bfb8d662d9cb262c73 | [
"MIT"
] | 13 | 2020-03-27T07:58:33.000Z | 2022-02-05T14:01:03.000Z | src/components/Cart/ShippingInfo.js | smallsticker/smallsticker-client | 7dfdbc0380abe6d4ee7b96bfb8d662d9cb262c73 | [
"MIT"
] | 10 | 2019-12-15T10:54:32.000Z | 2022-02-27T01:11:09.000Z | src/components/Cart/ShippingInfo.js | smallsticker/smallsticker-client | 7dfdbc0380abe6d4ee7b96bfb8d662d9cb262c73 | [
"MIT"
] | 2 | 2020-06-22T10:33:15.000Z | 2020-06-27T01:44:01.000Z | import React, { Component } from 'react';
import styled from '@emotion/styled';
import { keyframes } from '@emotion/core';
import { MdKeyboardArrowDown, MdInfo } from 'react-icons/md';
import { colors, radius, spacing, defaultFontStack } from '../../utils/styles';
const ShippingInfoRoot = styled(`div`)`
background... | 21.825243 | 79 | 0.626779 |
681a31bef770e20eb339a85d028a5b7f4d73b55c | 5,342 | js | JavaScript | TwitterWrapper.js | VestasSystem/image-tweeting-bot | 5fcc464be640e536121fde04666b54137c8eca54 | [
"MIT"
] | null | null | null | TwitterWrapper.js | VestasSystem/image-tweeting-bot | 5fcc464be640e536121fde04666b54137c8eca54 | [
"MIT"
] | null | null | null | TwitterWrapper.js | VestasSystem/image-tweeting-bot | 5fcc464be640e536121fde04666b54137c8eca54 | [
"MIT"
] | null | null | null | const Twitter = require('twitter-lite');
const fs = require('fs');
const mime = require('mime-types');
const megabyteSize = 1024*1024;
const logLevels = {
fatal: 0,
error: 1,
warning: 2,
info: 3,
debug: 4,
trace: 5
}
class TwitterWrapper{
constructor(options){
this.options = options;
this.logLevel = "";
... | 28.414894 | 92 | 0.684949 |
681a63811ad17084b11c5ace782c796938040252 | 166 | js | JavaScript | crates/swc/tests/tsc-references/enumLiteralTypes3_es5.2.minified.js | mengxy/swc | bcc3ae86ae0732979f9fbfef370ae729ba9af080 | [
"Apache-2.0"
] | 1 | 2022-02-20T13:55:13.000Z | 2022-02-20T13:55:13.000Z | crates/swc/tests/tsc-references/enumLiteralTypes3_es5.2.minified.js | mengxy/swc | bcc3ae86ae0732979f9fbfef370ae729ba9af080 | [
"Apache-2.0"
] | null | null | null | crates/swc/tests/tsc-references/enumLiteralTypes3_es5.2.minified.js | mengxy/swc | bcc3ae86ae0732979f9fbfef370ae729ba9af080 | [
"Apache-2.0"
] | 1 | 2022-01-27T02:43:48.000Z | 2022-01-27T02:43:48.000Z | var Choice;
!function(Choice) {
Choice[Choice.Unknown = 0] = "Unknown", Choice[Choice.Yes = 1] = "Yes", Choice[Choice.No = 2] = "No";
}(Choice || (Choice = {}));
| 33.2 | 105 | 0.590361 |
681a8d21b0d860e9aa7d9e861fee817f47094d21 | 1,195 | js | JavaScript | chrome/src/contentscripts/profile.js | kblauhut/PugChamp-Helper | e4830ba0b571f2ec409abc25c88695a98e416481 | [
"MIT"
] | 3 | 2018-09-27T07:45:09.000Z | 2019-02-20T12:17:13.000Z | chrome/src/contentscripts/profile.js | kodeeey/PugChamp-Helper | e4830ba0b571f2ec409abc25c88695a98e416481 | [
"MIT"
] | 10 | 2019-02-03T11:07:26.000Z | 2019-07-14T00:13:37.000Z | chrome/src/contentscripts/profile.js | kodeeey/PugChamp-Helper | e4830ba0b571f2ec409abc25c88695a98e416481 | [
"MIT"
] | 3 | 2018-10-05T00:20:11.000Z | 2019-05-14T17:19:17.000Z | document.addEventListener("loaded", function(event) {
let temp = document.URL.indexOf("/");
let region = document.URL.substring(temp + 2, temp + 4);
let id = document.URL.substring(document.URL.length -17, document.URL.length);
let port = chrome.runtime.connect({name: region});
port.postMessage({idArray: [id]... | 47.8 | 98 | 0.697908 |
681bb21dff332bc45d468c1e9198e8ffb3e7d573 | 4,376 | js | JavaScript | frontend_tests/node_tests/example4.js | biradarganesh25/zulip | 9f3d1fdbdba3b1f06e00c8cc37198a6e065e2ad7 | [
"Apache-2.0"
] | null | null | null | frontend_tests/node_tests/example4.js | biradarganesh25/zulip | 9f3d1fdbdba3b1f06e00c8cc37198a6e065e2ad7 | [
"Apache-2.0"
] | null | null | null | frontend_tests/node_tests/example4.js | biradarganesh25/zulip | 9f3d1fdbdba3b1f06e00c8cc37198a6e065e2ad7 | [
"Apache-2.0"
] | null | null | null | "use strict";
const {strict: assert} = require("assert");
const {mock_esm, zrequire} = require("../zjsunit/namespace");
const {run_test} = require("../zjsunit/test");
/*
Let's step back and review what we've done so far.
We've used fairly straightforward testing techniques
to explore the following modu... | 30.17931 | 76 | 0.673218 |
681bfe41e1ca38a22efb183bc57186780cc16bb7 | 302 | js | JavaScript | src/components/Hero.js | javascript603/markeditor | 9cc158c7850df5b47252f6696c21985cea0364fb | [
"MIT"
] | 1 | 2021-05-26T22:57:08.000Z | 2021-05-26T22:57:08.000Z | src/components/Hero.js | javascript603/markeditor | 9cc158c7850df5b47252f6696c21985cea0364fb | [
"MIT"
] | 1 | 2019-12-29T21:41:47.000Z | 2019-12-29T21:41:47.000Z | src/components/Hero.js | jsdev63/react-hotel-book | 9cc158c7850df5b47252f6696c21985cea0364fb | [
"MIT"
] | null | null | null | import React from 'react';
import PropTypes from 'prop-types';
export default function Hero({ hero, children }) {
return <header className={hero}>{children}</header>;
}
Hero.defaultProps = {
hero: 'default-hero',
};
Hero.propTypes = {
children: PropTypes.element,
hero: PropTypes.string,
};
| 18.875 | 54 | 0.698675 |
681c00feab6359f36debe713d91029b81f3aa86b | 284 | js | JavaScript | src/core/Math.js | chrysthian/gdg_zombies | 65c7cd987dcea0a7015895a43bac2ae059067fa9 | [
"MIT"
] | null | null | null | src/core/Math.js | chrysthian/gdg_zombies | 65c7cd987dcea0a7015895a43bac2ae059067fa9 | [
"MIT"
] | null | null | null | src/core/Math.js | chrysthian/gdg_zombies | 65c7cd987dcea0a7015895a43bac2ae059067fa9 | [
"MIT"
] | null | null | null |
import { DEG2RAD, RAD2DEG } from 'core/Constants'
export const degToRad = (degrees) => {
return degrees * DEG2RAD;
}
export const radToDeg = (radians) => {
return radians * RAD2DEG;
}
export const clamp = (value, min, max) => {
return Math.max(min, Math.min(max, value));
}
| 18.933333 | 49 | 0.658451 |
681c0c6418947160d63f27bb6abc29793cabc4c8 | 216 | js | JavaScript | popupBox.js | PatDaoust/JSTutorials | cf7c4b008e923ae2d5132d6c1666a65fe07c1184 | [
"MIT"
] | null | null | null | popupBox.js | PatDaoust/JSTutorials | cf7c4b008e923ae2d5132d6c1666a65fe07c1184 | [
"MIT"
] | null | null | null | popupBox.js | PatDaoust/JSTutorials | cf7c4b008e923ae2d5132d6c1666a65fe07c1184 | [
"MIT"
] | null | null | null | //Make a variable test set it equal to a prompt box
//type "Hi!" in it (without the quotes) when it pops up
//Note: your pop-up blocker must not be enabled.
var test = prompt("Please type 'Hi!'");
console.log(test); | 36 | 55 | 0.703704 |
681c528e3c4d226b34b7fe1fb84d14e03d322d21 | 4,560 | js | JavaScript | extensions/amp-sidebar/0.2/test/integration/test-amp-sidebar.js | nutcha1/amphtml | afde5080073c71b1957824398d432afa4d5621e0 | [
"Apache-2.0"
] | 2 | 2020-04-23T04:46:42.000Z | 2021-02-27T18:18:52.000Z | extensions/amp-sidebar/0.2/test/integration/test-amp-sidebar.js | nutcha1/amphtml | afde5080073c71b1957824398d432afa4d5621e0 | [
"Apache-2.0"
] | 16 | 2020-01-13T01:23:24.000Z | 2020-06-05T01:47:24.000Z | extensions/amp-sidebar/0.2/test/integration/test-amp-sidebar.js | nutcha1/amphtml | afde5080073c71b1957824398d432afa4d5621e0 | [
"Apache-2.0"
] | 2 | 2019-12-25T08:47:59.000Z | 2019-12-25T09:10:49.000Z | /**
* Copyright 2018 The AMP HTML Authors. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless require... | 34.029851 | 79 | 0.587061 |
681c74645649be45228cdb1f3f63d895d34b9679 | 67,079 | js | JavaScript | test/types.array.test.js | coyotte508/mongoose | d0118c33fd3ec50d18a50bd698c0abcb0144b17a | [
"MIT"
] | null | null | null | test/types.array.test.js | coyotte508/mongoose | d0118c33fd3ec50d18a50bd698c0abcb0144b17a | [
"MIT"
] | null | null | null | test/types.array.test.js | coyotte508/mongoose | d0118c33fd3ec50d18a50bd698c0abcb0144b17a | [
"MIT"
] | null | null | null | /**
* Module dependencies.
*/
'use strict';
const start = require('./common');
const assert = require('assert');
const mongodb = require('mongodb');
const mongoose = require('./common').mongoose;
const MongooseArray = mongoose.Types.Array;
const Schema = mongoose.Schema;
/**
* Test.
*/
describe('types array',... | 31.272261 | 111 | 0.492002 |
681c9a361b9126741ee9a167b69e70e84f1b5673 | 1,451 | js | JavaScript | tools/build.js | realChesta/lightdm-webkit2-material2 | 82a837044b72149e21118dbf2edee988a891af0f | [
"WTFPL"
] | 149 | 2016-12-31T21:01:16.000Z | 2022-03-31T19:03:58.000Z | tools/build.js | realChesta/lightdm-webkit2-material2 | 82a837044b72149e21118dbf2edee988a891af0f | [
"WTFPL"
] | 28 | 2017-01-02T21:11:57.000Z | 2021-02-27T23:26:27.000Z | tools/build.js | realChesta/lightdm-webkit2-material2 | 82a837044b72149e21118dbf2edee988a891af0f | [
"WTFPL"
] | 37 | 2017-01-04T23:53:57.000Z | 2021-11-02T11:19:03.000Z | #!/bin/env node
const spawn = require('child_process').spawn;
const PackageConfig = require('../package.json');
const dir = require('path').resolve(__dirname, '../');
function build() {
return new Promise(function(resolve, reject) {
const build = spawn('node_modules/.bin/cross-env', ['NODE_ENV=production'... | 26.87037 | 128 | 0.48725 |
681cceefd9eabad55052b03958b4708bec46d5b8 | 488 | js | JavaScript | src/services/login.js | zlzz123456/mika | b877bf6bb0cfd62b4f27f65291906ea98256dd6b | [
"MIT"
] | null | null | null | src/services/login.js | zlzz123456/mika | b877bf6bb0cfd62b4f27f65291906ea98256dd6b | [
"MIT"
] | null | null | null | src/services/login.js | zlzz123456/mika | b877bf6bb0cfd62b4f27f65291906ea98256dd6b | [
"MIT"
] | null | null | null | /**
* 关于登录接口
* setLoginIn:用户登录
*setLoginOut:用户退出
*/
import request from '../utils/request';
export async function setLoginIn(params) {
var { username, password, imgcode} = params;
var paramsStr = `username=${username}&password=${password}&imgcode=${imgcode}`;
return request('/system/user/login.htm',{
met... | 21.217391 | 81 | 0.653689 |
681d718c3cd165ed907b76b7df6fb9dcc2d9d402 | 10,902 | js | JavaScript | public/js/chunk-vendors~fdc6512a.20ac29a6.js | noeloariola/ama_forum | 810b821b6690798771cec91a712956c9f1ff91a5 | [
"MIT"
] | null | null | null | public/js/chunk-vendors~fdc6512a.20ac29a6.js | noeloariola/ama_forum | 810b821b6690798771cec91a712956c9f1ff91a5 | [
"MIT"
] | 1 | 2022-02-19T03:39:02.000Z | 2022-02-19T03:39:02.000Z | public/js/chunk-vendors~fdc6512a.20ac29a6.js | noeloariola/ama_forum | 810b821b6690798771cec91a712956c9f1ff91a5 | [
"MIT"
] | null | null | null | (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-vendors~fdc6512a"],{"2f62":function(t,e,n){"use strict";(function(t){
/**
* vuex v3.1.2
* (c) 2019 Evan You
* @license MIT
*/
function n(t){var e=Number(t.version.split(".")[0]);if(e>=2)t.mixin({beforeCreate:r});else{var n=t.prototype._init;t.prototy... | 1,362.75 | 10,646 | 0.706476 |
681da1b84c9b2d9a9d5ae9a1e81c4f4ded70004f | 6,212 | js | JavaScript | components/prism-scheme.js | catchsrinivas/prism | 4433d7fe7ad210b2aa3bf213384de30d1b259256 | [
"MIT"
] | 1 | 2022-01-03T15:49:02.000Z | 2022-01-03T15:49:02.000Z | components/prism-scheme.js | catchsrinivas/prism | 4433d7fe7ad210b2aa3bf213384de30d1b259256 | [
"MIT"
] | null | null | null | components/prism-scheme.js | catchsrinivas/prism | 4433d7fe7ad210b2aa3bf213384de30d1b259256 | [
"MIT"
] | null | null | null | (function (Prism) {
Prism.languages.scheme = {
// this supports "normal" single-line comments:
// ; comment
// and (potentially nested) multiline comments:
// #| comment #| nested |# still comment |#
// (only 1 level of nesting is supported)
'comment': /;.*|#;\s*(?:\((?:[^()]|\([^()]*\))*\)|\[(?:[^\[\]... | 50.918033 | 1,686 | 0.519961 |
681e1ebe5806a4cccf7e2254a3ac49dc8a5b5c34 | 45 | js | JavaScript | src/public/assets/js/pajammery.js | sherl0cks/pajammery | 3c6a9da25d3ff3e07ac1ed5bb8d445e35eb65e29 | [
"Apache-2.0"
] | null | null | null | src/public/assets/js/pajammery.js | sherl0cks/pajammery | 3c6a9da25d3ff3e07ac1ed5bb8d445e35eb65e29 | [
"Apache-2.0"
] | null | null | null | src/public/assets/js/pajammery.js | sherl0cks/pajammery | 3c6a9da25d3ff3e07ac1ed5bb8d445e35eb65e29 | [
"Apache-2.0"
] | null | null | null | var app = angular.module('PajammeryApp', []); | 45 | 45 | 0.688889 |
68201ed009be1574f460d07272f8698a50dd7f21 | 535 | js | JavaScript | stripped-version/js/general.js | gitstua/testwebsite | ca7a5e624b9719c548d7293d94467b1336897ed9 | [
"MIT"
] | 22 | 2015-01-17T01:30:58.000Z | 2021-08-28T10:17:43.000Z | stripped-version/js/general.js | gitstua/testwebsite | ca7a5e624b9719c548d7293d94467b1336897ed9 | [
"MIT"
] | 1 | 2018-09-11T19:20:26.000Z | 2018-09-11T19:20:35.000Z | stripped-version/js/general.js | gitstua/testwebsite | ca7a5e624b9719c548d7293d94467b1336897ed9 | [
"MIT"
] | 27 | 2015-10-19T09:05:56.000Z | 2022-01-09T13:06:50.000Z | /*globals $ */
var s = null,
PrimaryNameSpace = {
settings : {
basicExample: $('.main'),
nestedExample : {
first: true,
second: true,
third: true,
fourth: true,
fifth : ['one', 'two', 'three', 'four', 'five', 'six']
},
foo: 'bar'
},
init: function () {
s ... | 15.285714 | 59 | 0.51215 |
68205b0c5b30612e02bc4350bd557f7dc9505d34 | 1,203 | js | JavaScript | karma.conf.js | clamstew/ng-dynamic-title | d58632250ad21770d131fbfca335340da97ec3ac | [
"MIT"
] | 6 | 2016-06-24T07:49:03.000Z | 2018-07-05T14:48:56.000Z | karma.conf.js | clamstew/ng-dynamic-title | d58632250ad21770d131fbfca335340da97ec3ac | [
"MIT"
] | 3 | 2016-06-24T07:53:15.000Z | 2016-06-26T07:15:27.000Z | karma.conf.js | clamstew/ng-dynamic-title | d58632250ad21770d131fbfca335340da97ec3ac | [
"MIT"
] | null | null | null | module.exports = function (config) {
config.set({
basePath: '',
frameworks: ["jasmine"],
preprocessors: {
'dist/**/*.js': ['coverage']
},
files: [
'./node_modules/angular/angular.min.js',
'./node_modules/angular-mocks/angular-mocks.js',
'dist/**/*.js',
'spec/**/*.js'
... | 26.733333 | 83 | 0.513716 |
682064b2e26bacd45a71e1eace9aa04d269f3e3e | 6,630 | js | JavaScript | tests/lib/rules/jsx-handler-names.js | imalovitsa-blacklane/eslint-plugin-react | 471cb73a1589a5da2b2971c25f1cadfa5d87c469 | [
"MIT"
] | null | null | null | tests/lib/rules/jsx-handler-names.js | imalovitsa-blacklane/eslint-plugin-react | 471cb73a1589a5da2b2971c25f1cadfa5d87c469 | [
"MIT"
] | null | null | null | tests/lib/rules/jsx-handler-names.js | imalovitsa-blacklane/eslint-plugin-react | 471cb73a1589a5da2b2971c25f1cadfa5d87c469 | [
"MIT"
] | null | null | null | /**
* @fileoverview Tests for jsx-handler-names
* @author Jake Marsh
*/
'use strict';
// ------------------------------------------------------------------------------
// Requirements
// ------------------------------------------------------------------------------
const RuleTester = require('eslint').RuleTester;... | 30.694444 | 93 | 0.575415 |
682099d897043a17f08daeff1ce68afed3770be0 | 3,495 | js | JavaScript | node_modules/@types/testing-library__react/node_modules/chalk/source/templates.js | GenaAiv/portfolio-website | 66e5f5f012b73fe41879a824f231e8798fb7b5f8 | [
"MIT"
] | 1 | 2021-03-04T04:00:41.000Z | 2021-03-04T04:00:41.000Z | node_modules/@types/testing-library__react/node_modules/chalk/source/templates.js | GenaAiv/portfolio-website | 66e5f5f012b73fe41879a824f231e8798fb7b5f8 | [
"MIT"
] | 1 | 2021-02-10T17:36:21.000Z | 2021-02-10T17:40:51.000Z | node_modules/@types/testing-library__react/node_modules/chalk/source/templates.js | GenaAiv/portfolio-website | 66e5f5f012b73fe41879a824f231e8798fb7b5f8 | [
"MIT"
] | 1 | 2021-02-04T13:00:08.000Z | 2021-02-04T13:00:08.000Z | 'use strict';
const TEMPLATE_REGEX = /(?:\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi;
const STYLE_REGEX = /(?:^|\.)(\w+)(?:\(([^)]*)\))?/g;
const STRING_REGEX = /^(['"])((?:\\.|(?!\1)[^\\])*)\1$/;
const ESCAP... | 25.888889 | 180 | 0.549928 |
6820bf47580f265a5936dad26732c5edea5ef63d | 4,988 | js | JavaScript | src/native/components/CreateComponent.js | metavouch/expo-ticket-app | 8629bb46a7ca11e11866c73d5a9a1631f08d3d02 | [
"MIT"
] | 1 | 2021-08-04T00:39:26.000Z | 2021-08-04T00:39:26.000Z | src/native/components/CreateComponent.js | metavouch/expo-ticket-app | 8629bb46a7ca11e11866c73d5a9a1631f08d3d02 | [
"MIT"
] | null | null | null | src/native/components/CreateComponent.js | metavouch/expo-ticket-app | 8629bb46a7ca11e11866c73d5a9a1631f08d3d02 | [
"MIT"
] | null | null | null | import React from 'react';
import PropTypes from 'prop-types';
import { FlatList, TouchableOpacity, RefreshControl, Image, View, Dimensions } from 'react-native';
import { Container, Content, Icon } from 'native-base';
import { Actions } from 'react-native-router-flux';
import Spacer from './UI/Spacer';
import { Status... | 33.931973 | 115 | 0.502807 |
682118b282274f46d1631b25e5fb6749d389bdf6 | 14,854 | js | JavaScript | frontend/web/cropper/src/js/render.js | afzaalalkurn/rolecall | 2c15956c68771e76ac30eed40226d05cd9cbd543 | [
"BSD-3-Clause"
] | null | null | null | frontend/web/cropper/src/js/render.js | afzaalalkurn/rolecall | 2c15956c68771e76ac30eed40226d05cd9cbd543 | [
"BSD-3-Clause"
] | null | null | null | frontend/web/cropper/src/js/render.js | afzaalalkurn/rolecall | 2c15956c68771e76ac30eed40226d05cd9cbd543 | [
"BSD-3-Clause"
] | null | null | null | import $ from 'jquery';
import * as utils from './utilities';
export default {
render() {
const self = this;
self.initContainer();
self.initCanvas();
self.initCropBox();
self.renderCanvas();
if (self.cropped) {
self.renderCropBox();
}
},
initContainer() {
const self = th... | 31.205882 | 123 | 0.626969 |
682243b6dd0bf407cd57e5a2f7c60ea8a2ee933b | 843 | js | JavaScript | src/14-queue.js | Usofff/rs-school-short-track-2021 | 6b151fcc3048dd8b67220ef8a05c972fc05f18f3 | [
"MIT"
] | null | null | null | src/14-queue.js | Usofff/rs-school-short-track-2021 | 6b151fcc3048dd8b67220ef8a05c972fc05f18f3 | [
"MIT"
] | null | null | null | src/14-queue.js | Usofff/rs-school-short-track-2021 | 6b151fcc3048dd8b67220ef8a05c972fc05f18f3 | [
"MIT"
] | null | null | null | const ListNode = require('../extensions/list-node');
/**
* Implement the Queue with a given interface via linked list (use ListNode extension above).
*
* @example
* const queue = new Queue();
*
* queue.enqueue(1); // adds the elementent to the queue
* queue.enqueue(3); // adds the elementent to the queue
* queu... | 19.604651 | 93 | 0.6121 |
6822b269ac1909705b900367e36467279f5b791d | 8,673 | js | JavaScript | src/pages/map.js | Irvzilla/materiadex-com | 8dd7ad6a5d9e951f85089ccf67be66d6a34b0346 | [
"BSD-2-Clause"
] | null | null | null | src/pages/map.js | Irvzilla/materiadex-com | 8dd7ad6a5d9e951f85089ccf67be66d6a34b0346 | [
"BSD-2-Clause"
] | null | null | null | src/pages/map.js | Irvzilla/materiadex-com | 8dd7ad6a5d9e951f85089ccf67be66d6a34b0346 | [
"BSD-2-Clause"
] | null | null | null | import React from 'react'
import styled from 'styled-components'
import { useStaticQuery, graphql } from 'gatsby'
import Img from 'gatsby-image'
import Layout from '../layouts'
import SEO from '../components/seo'
import BG from '../components/bg'
import scrollTo from 'gatsby-plugin-smoothscroll'
import MiniCard from '.... | 28.529605 | 107 | 0.538337 |
68235f09d15775cd850cf928793b8f420d10ca7a | 17,793 | js | JavaScript | src/language-handlebars/printer-glimmer.js | Global19/prettier | bd8992d53bee647fdb6fb925d6d9fb60053fd842 | [
"MIT"
] | 1 | 2020-07-24T21:59:39.000Z | 2020-07-24T21:59:39.000Z | src/language-handlebars/printer-glimmer.js | frenck/prettier | 63984d3470cec3edbb5ce4bdf8ccb2900a49addc | [
"MIT"
] | null | null | null | src/language-handlebars/printer-glimmer.js | frenck/prettier | 63984d3470cec3edbb5ce4bdf8ccb2900a49addc | [
"MIT"
] | 1 | 2020-07-16T19:23:06.000Z | 2020-07-16T19:23:06.000Z | "use strict";
const {
concat,
group,
hardline,
ifBreak,
indent,
join,
line,
softline,
} = require("../document").builders;
const clean = require("./clean");
const {
getNextNode,
getPreviousNode,
hasPrettierIgnore,
isNextNodeOfSomeType,
isNodeOfSomeType,
isParentOfSomeType,
isPreviousNode... | 26.204713 | 106 | 0.62238 |
6823cd06c2777fa9153361a28f2c103f9416bd8d | 777 | js | JavaScript | callLogs.js | fvdbeek/react-native-call-log | 7423b2ff35ab235b87c8bbb4a1076e778f3358e3 | [
"MIT"
] | 51 | 2017-05-28T14:00:18.000Z | 2022-03-28T12:47:44.000Z | callLogs.js | fvdbeek/react-native-call-log | 7423b2ff35ab235b87c8bbb4a1076e778f3358e3 | [
"MIT"
] | 19 | 2017-05-28T13:47:50.000Z | 2021-12-21T19:08:45.000Z | callLogs.js | fvdbeek/react-native-call-log | 7423b2ff35ab235b87c8bbb4a1076e778f3358e3 | [
"MIT"
] | 29 | 2017-05-28T14:00:21.000Z | 2022-01-12T19:56:49.000Z | import { NativeModules } from 'react-native';
const {CallLogs: NativeCallLogs} = NativeModules
class CallLogs {
static async load(limit, filter) {
if (!filter) return NativeCallLogs.load(limit)
const {minTimestamp, maxTimestamp, phoneNumbers} = filter
const phoneNumbersArray = Array.isArray(phoneNumbers... | 29.884615 | 129 | 0.700129 |
682435cf0f06d6e01e5e484b0d817048f764c9c5 | 2,070 | js | JavaScript | app/containers/NPMDashBoard/NPMAutocomplete/AutoCompleteItem.js | tueve/React | d0a07ef8a7d899d339d19402e2d1f5cddf202199 | [
"MIT"
] | 1 | 2018-02-12T13:47:47.000Z | 2018-02-12T13:47:47.000Z | app/containers/NPMDashBoard/NPMAutocomplete/AutoCompleteItem.js | tueve/React | d0a07ef8a7d899d339d19402e2d1f5cddf202199 | [
"MIT"
] | null | null | null | app/containers/NPMDashBoard/NPMAutocomplete/AutoCompleteItem.js | tueve/React | d0a07ef8a7d899d339d19402e2d1f5cddf202199 | [
"MIT"
] | null | null | null | /** @format */
import React from 'react';
import styled from 'styled-components';
import { Link } from 'react-router-dom';
import { Icon, Button } from 'antd';
const AutoCompleteItemWrapper = styled.div`
&:hover {
background-color: #fffdbb;
cursor: pointer;
}
`;
const ItemTitle = styled.span`
font-size... | 21.122449 | 74 | 0.56087 |
68246aed4c22790a7f9081b03d54823885e59118 | 152 | js | JavaScript | docs/ethercat__nodes__launch_8py.js | veysiadn/control_ui_ws | c1b575b8c443ca1696a71f4179b4e1df54ad7b13 | [
"MIT"
] | null | null | null | docs/ethercat__nodes__launch_8py.js | veysiadn/control_ui_ws | c1b575b8c443ca1696a71f4179b4e1df54ad7b13 | [
"MIT"
] | null | null | null | docs/ethercat__nodes__launch_8py.js | veysiadn/control_ui_ws | c1b575b8c443ca1696a71f4179b4e1df54ad7b13 | [
"MIT"
] | null | null | null | var ethercat__nodes__launch_8py =
[
[ "generate_launch_description", "ethercat__nodes__launch_8py.html#afb900b0a1a8d0309db149ce9b68663f2", null ]
]; | 38 | 113 | 0.822368 |
68247800e49d4c2865e4f1351d7f9f3961f50a21 | 2,725 | js | JavaScript | tests/baselines/reference/privateClassPropertyAccessibleWithinClass.js | mybios/tstolua | d46c774bde9094221a9e32755430d42f441bfe8d | [
"Apache-2.0"
] | 5 | 2015-09-10T21:41:15.000Z | 2022-01-20T08:07:13.000Z | tests/baselines/reference/privateClassPropertyAccessibleWithinClass.js | mybios/tstolua | d46c774bde9094221a9e32755430d42f441bfe8d | [
"Apache-2.0"
] | null | null | null | tests/baselines/reference/privateClassPropertyAccessibleWithinClass.js | mybios/tstolua | d46c774bde9094221a9e32755430d42f441bfe8d | [
"Apache-2.0"
] | null | null | null | //// [privateClassPropertyAccessibleWithinClass.ts]
// no errors
class C {
private x: string;
private get y() { return this.x; }
private set y(x) { this.y = this.x; }
private foo() { return this.foo; }
private static x: string;
private static get y() { return this.x; }
private static set y... | 27.25 | 57 | 0.506422 |
682534c1ae6db5673190f23b2bbdbb0f62abe069 | 8,258 | js | JavaScript | plugins/tracker/scripts/lib/artifact-modal/src/fields/open-list-field/open-list-field-validate-service.test.js | yasir2000/brown-bear | 03ebf384d27013b60f1469a230b3523322e192c9 | [
"MIT"
] | 6 | 2022-03-06T15:48:13.000Z | 2022-03-07T16:27:29.000Z | plugins/tracker/scripts/lib/artifact-modal/src/fields/open-list-field/open-list-field-validate-service.test.js | yasir2000/brown-bear | 03ebf384d27013b60f1469a230b3523322e192c9 | [
"MIT"
] | null | null | null | plugins/tracker/scripts/lib/artifact-modal/src/fields/open-list-field/open-list-field-validate-service.test.js | yasir2000/brown-bear | 03ebf384d27013b60f1469a230b3523322e192c9 | [
"MIT"
] | null | null | null | /*
* Copyright (c) BrownBear, 2017-present. All Rights Reserved.
*
* This file is a part of Tuleap.
*
* Tuleap 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 2 of the License, or
* (at ... | 37.880734 | 198 | 0.396101 |
682681d0bdaac51411b9cb4f6dbfaf73bee2453b | 9,230 | js | JavaScript | widgets/SmartEditor/setting/nls/pt-br/strings.js | DJC-1984/DJC-1984.github.io | 383c5473a0814875eebdc0e8f5f79ab88b226fb5 | [
"Apache-2.0"
] | 15 | 2018-07-18T07:39:47.000Z | 2019-09-25T17:33:52.000Z | widgets/SmartEditor/setting/nls/pt-br/strings.js | DJC-1984/DJC-1984.github.io | 383c5473a0814875eebdc0e8f5f79ab88b226fb5 | [
"Apache-2.0"
] | null | null | null | widgets/SmartEditor/setting/nls/pt-br/strings.js | DJC-1984/DJC-1984.github.io | 383c5473a0814875eebdc0e8f5f79ab88b226fb5 | [
"Apache-2.0"
] | 4 | 2019-01-07T10:23:42.000Z | 2019-09-02T08:03:08.000Z | define({
"layersPage": {
"allLayers": "Todas as Camadas",
"title": "Selecione um modelo para criar feições",
"generalSettings": "Configurações Gerais",
"layerSettings": "Configurações da Camada",
"presetValueText": "Definir Valores Pré-Definidos",
"geocoderSettingsText": "Configurações do Geoc... | 63.219178 | 352 | 0.71896 |
6826d660b69bfd58082f3feb76ef3de292f80068 | 571 | js | JavaScript | src/components/TeslaNotice/TeslaNotice.js | harunmohamed/gunsel-range-calc | 47158c8ebf96d4d3b7cdc17a58b91733f2d44cd3 | [
"MIT"
] | null | null | null | src/components/TeslaNotice/TeslaNotice.js | harunmohamed/gunsel-range-calc | 47158c8ebf96d4d3b7cdc17a58b91733f2d44cd3 | [
"MIT"
] | null | null | null | src/components/TeslaNotice/TeslaNotice.js | harunmohamed/gunsel-range-calc | 47158c8ebf96d4d3b7cdc17a58b91733f2d44cd3 | [
"MIT"
] | null | null | null | import React from 'react';
import './TeslaNotice.css';
const TeslaNotice = () => (
<div className="tesla-battery__notice">
<p>
The actual amount of range that you experience will vary based
on your particular use conditions. See how particular use conditions
may affect your range in our simulat... | 30.052632 | 75 | 0.698774 |