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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
d0ed4acd32a770a41172de1d38df222aa354ca49 | 682 | js | JavaScript | src/Components/LinkedIn.js | kenfcheng/KenReactPortfolio | 6800a9c83389b1020a06b5648df071477cedf87d | [
"ADSL"
] | null | null | null | src/Components/LinkedIn.js | kenfcheng/KenReactPortfolio | 6800a9c83389b1020a06b5648df071477cedf87d | [
"ADSL"
] | null | null | null | src/Components/LinkedIn.js | kenfcheng/KenReactPortfolio | 6800a9c83389b1020a06b5648df071477cedf87d | [
"ADSL"
] | null | null | null | import React from "react";
const LinkedIn = () => {
return (
<div>
<div
className="container LI-profile-badge col 4 center"
data-version="v1"
data-size="medium"
data-locale="en_US"
data-type="horizontal"
data-theme="dark"
data-vanity="kenfcheng"
... | 22 | 72 | 0.526393 |
d0ed555d87d04d6a28bd94527b54c3deb146add0 | 4,325 | js | JavaScript | packages/generator-slimer/generators/react/index.js | TryGhost/slimer | e0dfe163d9019f6d6293a55f8a5937045444d9ca | [
"MIT"
] | 8 | 2018-10-03T08:39:35.000Z | 2021-06-07T16:52:44.000Z | packages/generator-slimer/generators/react/index.js | TryGhost/slimer | e0dfe163d9019f6d6293a55f8a5937045444d9ca | [
"MIT"
] | 9 | 2019-03-05T16:50:41.000Z | 2022-02-01T10:26:22.000Z | packages/generator-slimer/generators/react/index.js | TryGhost/slimer | e0dfe163d9019f6d6293a55f8a5937045444d9ca | [
"MIT"
] | 9 | 2018-10-01T08:54:14.000Z | 2020-10-11T16:58:13.000Z | 'use strict';
const Generator = require('../../lib/Generator');
const _ = require('lodash');
const chalk = require('chalk');
const insertAfter = require('../../lib/insert-after');
// These are the options that can be passed in as flags e.g. --foo=bar
const knownOptions = {
type: {
type: String,
req... | 29.222973 | 145 | 0.561156 |
d0edd20aa8a2d4027b4b220021590f5e8dd69d56 | 1,768 | js | JavaScript | script.js | gabrielrpc/verificador_de_idade | a42f20cb53bca6fdb22552bcd9f4bc7aeb196762 | [
"MIT"
] | null | null | null | script.js | gabrielrpc/verificador_de_idade | a42f20cb53bca6fdb22552bcd9f4bc7aeb196762 | [
"MIT"
] | null | null | null | script.js | gabrielrpc/verificador_de_idade | a42f20cb53bca6fdb22552bcd9f4bc7aeb196762 | [
"MIT"
] | null | null | null | function verificar() {
const data = new Date()
const ano = data.getFullYear()
const fano = document.getElementById('txtano')
const res = document.querySelector('div#res')
if (fano.value.length == 0 || Number(fano.value) > ano) {
window.alert('Verifique os dados e tente novamente!')
} els... | 36.081633 | 65 | 0.478507 |
d0ee479fcc97d136a4e3a2acf1a8230c93fa6ebe | 1,988 | js | JavaScript | assets/js/dashCalendar.js | Anib999/CollegeRepo | da4007adda30c1be8371793ba8f9c1098dffe9e8 | [
"MIT"
] | null | null | null | assets/js/dashCalendar.js | Anib999/CollegeRepo | da4007adda30c1be8371793ba8f9c1098dffe9e8 | [
"MIT"
] | null | null | null | assets/js/dashCalendar.js | Anib999/CollegeRepo | da4007adda30c1be8371793ba8f9c1098dffe9e8 | [
"MIT"
] | null | null | null | var base_url = $("#base_url").val();
//for calendar
document.addEventListener('DOMContentLoaded', function() {
var calendarEl = document.getElementById('dashCalendar');
var today = new Date();
today.setHours(0,0,0,0);
var calendar = new FullCalendar.Calendar(calendarEl, {
plugins: [ 'interaction', 'dayGrid... | 27.611111 | 65 | 0.552314 |
d0eee386c6e303f5376608caf16ab31b590269a7 | 1,366 | js | JavaScript | test/ownership/OwnableTest.js | ripio/rcn-commons | 7905e6d83117d4a90da3100ef3aaad144b4c4c6f | [
"MIT"
] | null | null | null | test/ownership/OwnableTest.js | ripio/rcn-commons | 7905e6d83117d4a90da3100ef3aaad144b4c4c6f | [
"MIT"
] | null | null | null | test/ownership/OwnableTest.js | ripio/rcn-commons | 7905e6d83117d4a90da3100ef3aaad144b4c4c6f | [
"MIT"
] | 1 | 2021-01-20T01:54:10.000Z | 2021-01-20T01:54:10.000Z | const { expectThrow } = require('../helpers/ExpectThrow');
const { EVMRevert } = require('../helpers/EVMRevert');
const Ownable = artifacts.require('Ownable');
const ZERO_ADDRESS = '0x0000000000000000000000000000000000000000';
require('chai')
.should();
function shouldBehaveLikeOwnable (owner, [anyone]) {
descr... | 31.767442 | 86 | 0.668375 |
d0eef59ccddddaf4074cc6116f7e87e72ace6b2c | 2,034 | js | JavaScript | app.js | riazsajidgit/zap | b2736154ec86de73acfd6de5a7c432617417e740 | [
"MIT"
] | null | null | null | app.js | riazsajidgit/zap | b2736154ec86de73acfd6de5a7c432617417e740 | [
"MIT"
] | null | null | null | app.js | riazsajidgit/zap | b2736154ec86de73acfd6de5a7c432617417e740 | [
"MIT"
] | null | null | null | var express = require('express');
var path = require('path');
var favicon = require('serve-favicon');
var logger = require('morgan');
var cookieParser = require('cookie-parser');
var bodyParser = require('body-parser');
var routes = require('./routes/index');
var users = require('./routes/users');
var vouchers = requi... | 25.425 | 66 | 0.665192 |
d0efe95ba6b05d7a277bdc9ea96e33fa087da631 | 13,816 | js | JavaScript | CITEHomeLearnersGuide/js/addAdminFunction.js | melferrer99/CITEHomeLearnersGuideWeb | bec34660d29f9b8debb3fc7ea7f071970f02ad3a | [
"BSD-3-Clause"
] | null | null | null | CITEHomeLearnersGuide/js/addAdminFunction.js | melferrer99/CITEHomeLearnersGuideWeb | bec34660d29f9b8debb3fc7ea7f071970f02ad3a | [
"BSD-3-Clause"
] | null | null | null | CITEHomeLearnersGuide/js/addAdminFunction.js | melferrer99/CITEHomeLearnersGuideWeb | bec34660d29f9b8debb3fc7ea7f071970f02ad3a | [
"BSD-3-Clause"
] | null | null | null |
// Your web app's Firebase configuration
// For Firebase JS SDK v7.20.0 and later, measurementId is optional
var firebaseConfig = {
apiKey: "AIzaSyDu1e-6PBfwYfS8mOOLFwpOZWz7oOGQ2BQ",
authDomain: "cite-home-learner-s-guide.firebaseapp.com",
databaseURL: "https://cite-hom... | 41.866667 | 155 | 0.421323 |
d0effd651f2fb1ea91687661b14b26c89c93ab21 | 121 | js | JavaScript | doc/html/search/defines_6.js | petrkotas/libLS | eb57365bfb0be486a4e8c564ff831ad358993268 | [
"BSD-3-Clause"
] | null | null | null | doc/html/search/defines_6.js | petrkotas/libLS | eb57365bfb0be486a4e8c564ff831ad358993268 | [
"BSD-3-Clause"
] | null | null | null | doc/html/search/defines_6.js | petrkotas/libLS | eb57365bfb0be486a4e8c564ff831ad358993268 | [
"BSD-3-Clause"
] | null | null | null | var searchData=
[
['grid_5fh_5f',['GRID_H_',['../_grid_8hpp.html#acd1080883b5a5a503e9b3403ecaa4b0f',1,'Grid.hpp']]]
];
| 24.2 | 99 | 0.710744 |
d0f016d1b2760108a5e27a9d01717a64991f477e | 2,721 | js | JavaScript | public/js/dropzone.js | rodrigo-mamangava/eFont | 17cc5988c9eeeda3b3f111ad0030ba2f310bc333 | [
"BSD-3-Clause"
] | null | null | null | public/js/dropzone.js | rodrigo-mamangava/eFont | 17cc5988c9eeeda3b3f111ad0030ba2f310bc333 | [
"BSD-3-Clause"
] | null | null | null | public/js/dropzone.js | rodrigo-mamangava/eFont | 17cc5988c9eeeda3b3f111ad0030ba2f310bc333 | [
"BSD-3-Clause"
] | null | null | null | var FormDropzone = function () {
return {
//main function to initiate the module
init: function () {
var acceptedFiles = ".jpeg,.jpg,.png,.gif,.pdf,.doc,.docx,.zip";
var acceptedFilesBkp = acceptedFiles;
//console.log(acceptedFiles);
var myDropzone = new Dropzone("#my-dropzone", {
maxFilesize: ... | 31.639535 | 127 | 0.634693 |
d0f0d66e49505ace937f486a966decb329bc6eaa | 46 | js | JavaScript | ecmascript/minifier/tests/terser/compress/issue-1833/label_while/input.js | vjpr/swc | 97514a754986eaf3a227cab95640327534aa183f | [
"Apache-2.0",
"MIT"
] | 21,008 | 2017-04-01T04:06:55.000Z | 2022-03-31T23:11:05.000Z | ecmascript/minifier/tests/terser/compress/issue-1833/label_while/input.js | sventschui/swc | cd2a2777d9459ba0f67774ed8a37e2b070b51e81 | [
"Apache-2.0",
"MIT"
] | 2,309 | 2018-01-14T05:54:44.000Z | 2022-03-31T15:48:40.000Z | ecmascript/minifier/tests/terser/compress/issue-1833/label_while/input.js | sventschui/swc | cd2a2777d9459ba0f67774ed8a37e2b070b51e81 | [
"Apache-2.0",
"MIT"
] | 768 | 2018-01-14T05:15:43.000Z | 2022-03-30T11:29:42.000Z | function f() {
L: while (0) continue L;
}
| 11.5 | 28 | 0.543478 |
d0f17d3304207f91a0f7c54d58eab0da8de9eee2 | 200 | js | JavaScript | vendors/cypress/MTB/psoc6/udb-sdio-whd/docs/html/search/all_4.js | CarolinaAzcona/FreeRTOS | 912e08f9ed9c250b36aa22227bcf678d608b8bfd | [
"MIT"
] | 1 | 2020-06-06T17:40:13.000Z | 2020-06-06T17:40:13.000Z | vendors/cypress/MTB/psoc6/udb-sdio-whd/docs/html/search/all_4.js | CarolinaAzcona/FreeRTOS | 912e08f9ed9c250b36aa22227bcf678d608b8bfd | [
"MIT"
] | null | null | null | vendors/cypress/MTB/psoc6/udb-sdio-whd/docs/html/search/all_4.js | CarolinaAzcona/FreeRTOS | 912e08f9ed9c250b36aa22227bcf678d608b8bfd | [
"MIT"
] | 1 | 2021-02-25T15:50:48.000Z | 2021-02-25T15:50:48.000Z | var searchData=
[
['udb_5fsdio',['UDB_SDIO',['../group__group__udb__sdio.html',1,'']]],
['udb_20sdio_20for_20wi_2dfi_20host_20driver',['UDB SDIO for Wi-Fi Host Driver',['../index.html',1,'']]]
];
| 33.333333 | 106 | 0.675 |
d0f23f6d67f2003b8f89b07d6fae3e0f777edf5b | 34,708 | js | JavaScript | lib/HubOfHubsHeader/HubOfHubsHeader.js | open-cluster-management/hub-of-hubs-ui-components | 9872c06fce704c94e5cb918e5104d2f0686e8906 | [
"Apache-2.0"
] | null | null | null | lib/HubOfHubsHeader/HubOfHubsHeader.js | open-cluster-management/hub-of-hubs-ui-components | 9872c06fce704c94e5cb918e5104d2f0686e8906 | [
"Apache-2.0"
] | 5 | 2022-03-02T07:11:09.000Z | 2022-03-14T12:13:35.000Z | lib/HubOfHubsHeader/HubOfHubsHeader.js | open-cluster-management/hub-of-hubs-ui-components | 9872c06fce704c94e5cb918e5104d2f0686e8906 | [
"Apache-2.0"
] | null | null | null | "use strict";
/* Copyright Contributors to the Open Cluster Management project */
var __assign = (this && this.__assign) || function () {
__assign = Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.pro... | 79.061503 | 2,265 | 0.648237 |
d0f24f2f987ec0233a33647ec988b44f489e631b | 1,617 | js | JavaScript | addon/components/io-dropdown/dropdown.js | Acidburn0zzz/antd-ember | 61b882bce29a6609cd628908f44ae58e6ecbf469 | [
"Apache-2.0",
"MIT"
] | 61 | 2016-03-11T16:21:06.000Z | 2021-11-11T18:23:02.000Z | addon/components/io-dropdown/dropdown.js | idcos/ember-cli-idcos | 61b882bce29a6609cd628908f44ae58e6ecbf469 | [
"Apache-2.0",
"MIT"
] | 45 | 2016-03-15T06:06:38.000Z | 2017-09-25T06:48:34.000Z | addon/components/io-dropdown/dropdown.js | idcos/ember-cli-idcos | 61b882bce29a6609cd628908f44ae58e6ecbf469 | [
"Apache-2.0",
"MIT"
] | 26 | 2016-03-15T07:27:50.000Z | 2019-09-25T03:18:02.000Z | import Ember from 'ember';
import OutsideClick from '../../mixin/outside-click';
/**
* io-dropdown Component
```html
{{#io-dropdown}}
{{#io-dropdown-trigger}}
{{/io-dropdown-trigger}}
{{#io-dropdown-overlay}}
{{/io-dropdown-overlay}}
{{/io-dropdown}}
```
*/
export default Ember.Component... | 20.2125 | 53 | 0.598021 |
d0f421d66bb26b33f363e63f418627e7b501d4e0 | 2,413 | js | JavaScript | lib/commands/package.js | Shailesh351/Rocket.Chat.Apps-cli | a6d0b86144e2f510410e48b0aa757c0b206c155a | [
"MIT"
] | null | null | null | lib/commands/package.js | Shailesh351/Rocket.Chat.Apps-cli | a6d0b86144e2f510410e48b0aa757c0b206c155a | [
"MIT"
] | null | null | null | lib/commands/package.js | Shailesh351/Rocket.Chat.Apps-cli | a6d0b86144e2f510410e48b0aa757c0b206c155a | [
"MIT"
] | null | null | null | "use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const command_1 = require("@oclif/command");
const chalk_1 = require("chalk");
const cli_ux_1 = require("cli-ux");
const misc_1 = require("../misc");
class Package extends command_1.Command {
async run() {
cli_ux_1.default.action.s... | 37.123077 | 105 | 0.598425 |
d0f457f5cacd791ecf43692f7454ab452a6dc1fb | 16,927 | js | JavaScript | builder/patternlab.js | iheartmedia-matt/ihm-framework | cce3b8cb93ca7a8b8ef6465c2bbd75707b78d06d | [
"MIT"
] | null | null | null | builder/patternlab.js | iheartmedia-matt/ihm-framework | cce3b8cb93ca7a8b8ef6465c2bbd75707b78d06d | [
"MIT"
] | null | null | null | builder/patternlab.js | iheartmedia-matt/ihm-framework | cce3b8cb93ca7a8b8ef6465c2bbd75707b78d06d | [
"MIT"
] | null | null | null | /*
* patternlab-node - v0.9.1 - 2015
*
* Brian Muenzenmeyer, and the web community.
* Licensed under the MIT license.
*
* Many thanks to Brad Frost and Dave Olsen for inspiration, encouragement, and advice.
*
*/
var patternlab_engine = function(){
var path = require('path'),
fs = require('fs-extra'),... | 37.783482 | 204 | 0.661015 |
d0f66c07cc6576443a149a09821c547673db0678 | 39 | js | JavaScript | index.js | qfox/pym | 5a8f62d4b447e17565334baf43127c731fd53dc7 | [
"MIT"
] | 2 | 2015-11-09T07:30:01.000Z | 2016-09-09T05:16:19.000Z | index.js | zxqfox/pym | 5a8f62d4b447e17565334baf43127c731fd53dc7 | [
"MIT"
] | 2 | 2016-10-03T14:47:44.000Z | 2016-10-07T09:52:28.000Z | index.js | zxqfox/pym | 5a8f62d4b447e17565334baf43127c731fd53dc7 | [
"MIT"
] | null | null | null | module.exports = require('./lib/pym');
| 19.5 | 38 | 0.666667 |
d0f682589dacddfc29871f97534fe00b41b178ae | 4,599 | js | JavaScript | canvas2d/index.js | huanghuiqiang/canvas_demo | 015ec5288dc72de7ab79347f4df45331937845dc | [
"Apache-2.0"
] | null | null | null | canvas2d/index.js | huanghuiqiang/canvas_demo | 015ec5288dc72de7ab79347f4df45331937845dc | [
"Apache-2.0"
] | null | null | null | canvas2d/index.js | huanghuiqiang/canvas_demo | 015ec5288dc72de7ab79347f4df45331937845dc | [
"Apache-2.0"
] | null | null | null |
let graphs = {};//缓存图形,维护图形与颜色对应的color
var canvas = document.getElementById('canvas');
var hideCanvas = document.getElementById('hideCanvas');
var ctx = canvas.getContext('2d');
var hideCtx = hideCanvas.getContext('2d');
hideCtx.width = ctx.width = canvas.width = hideCanvas.width = document.body.offsetWidth;
hideCt... | 28.565217 | 98 | 0.641444 |
d0f6d68506631ea0e8df1e43e60c47b4597713b4 | 4,559 | js | JavaScript | Public/js2/menu.js | liugens/voipswitchWeb | 6ff9b77b1eec2f6c6d88bd5098a27fea069166ff | [
"Apache-2.0"
] | 1 | 2020-04-15T19:23:30.000Z | 2020-04-15T19:23:30.000Z | Public/js2/menu.js | liugens/voipswitchWeb | 6ff9b77b1eec2f6c6d88bd5098a27fea069166ff | [
"Apache-2.0"
] | null | null | null | Public/js2/menu.js | liugens/voipswitchWeb | 6ff9b77b1eec2f6c6d88bd5098a27fea069166ff | [
"Apache-2.0"
] | 2 | 2018-08-02T09:51:06.000Z | 2020-04-15T19:23:33.000Z | var imgPlus = 'images/plus.gif';
var imgSub = 'images/nofollow.gif';
var imgChild = 'images/jiantou.gif';
var menu_begin = '<tr name="%id_td"><td height="20" class="border" valign="bottom">'
+ '<table onclick="menu_onclick(this)" onmouseover="menu_mouseover(this)" onmouseout="menu_mouseout(this)" width="100%" heig... | 33.036232 | 327 | 0.636104 |
d0f7f46ca877b714ccfb3d65542aa6f50183ac5f | 690 | js | JavaScript | CodigosBot/indez.js | cavalo2223/discordbot | 2f3230d197034c05f285189966e425890c01ae99 | [
"MIT"
] | null | null | null | CodigosBot/indez.js | cavalo2223/discordbot | 2f3230d197034c05f285189966e425890c01ae99 | [
"MIT"
] | null | null | null | CodigosBot/indez.js | cavalo2223/discordbot | 2f3230d197034c05f285189966e425890c01ae99 | [
"MIT"
] | null | null | null | const express = require('express');
const app = express();
app.get("/", (request, response) => {
const ping = new Date();
ping.setHours(ping.getHours() - 3);
console.log(`Ping recebido às ${ping.getUTCHours()}:${ping.getUTCMinutes()}:${ping.getUTCSeconds()}`);
response.sendStatus(200);
});
app.listen(process.en... | 43.125 | 104 | 0.713043 |
d0f8b52a42e4b7008efffb4f99c92a698b707dc0 | 340 | js | JavaScript | lib/resources/Contacts.js | greenlamp3/rebilly-node | 36178e7c2c4e57c8459a04761f4cdf758147b7a5 | [
"MIT"
] | 1 | 2017-04-01T01:43:59.000Z | 2017-04-01T01:43:59.000Z | lib/resources/Contacts.js | greenlamp3/rebilly-node | 36178e7c2c4e57c8459a04761f4cdf758147b7a5 | [
"MIT"
] | null | null | null | lib/resources/Contacts.js | greenlamp3/rebilly-node | 36178e7c2c4e57c8459a04761f4cdf758147b7a5 | [
"MIT"
] | null | null | null | 'use strict';
var RebillyResource = require('../RebillyResource');
var rebillyMethod = RebillyResource.method;
module.exports = RebillyResource.extend({
path: 'contacts',
includeBasic: ['create', 'list', 'retrieve'],
createWithID: rebillyMethod({
method: 'PUT',
path: '/{contactId}',
urlParams: ['co... | 20 | 52 | 0.667647 |
d0f94556290794bace042f3708f64121a8b01ef9 | 764 | js | JavaScript | amf-client/shared/src/test/resources/validations/reports/multi-plat-model/min-max-zeros-other.report.js | kdubb/amf | 9c59c2db64e90a10a86ba905cb25972d21f534b1 | [
"Apache-2.0"
] | 57 | 2018-06-15T21:21:38.000Z | 2022-02-02T02:35:37.000Z | amf-client/shared/src/test/resources/validations/reports/multi-plat-model/min-max-zeros-other.report.js | kdubb/amf | 9c59c2db64e90a10a86ba905cb25972d21f534b1 | [
"Apache-2.0"
] | 431 | 2018-07-13T12:39:54.000Z | 2022-03-31T09:35:56.000Z | amf-client/shared/src/test/resources/validations/reports/multi-plat-model/min-max-zeros-other.report.js | kdubb/amf | 9c59c2db64e90a10a86ba905cb25972d21f534b1 | [
"Apache-2.0"
] | 33 | 2018-10-10T07:36:55.000Z | 2021-11-26T13:26:10.000Z | Model: file://amf-client/shared/src/test/resources/validations/facets/min-max-zeros-other.raml
Profile: RAML 1.0
Conforms? false
Number of results: 1
Level: Violation
- Source: http://a.ml/vocabularies/amf/validation#example-validation-error
Message: should be <= 33
Level: Violation
Target: file://amf-client/sh... | 50.933333 | 160 | 0.782723 |
d0f94a1dc50be07f8e58a96f4803e23c1730b953 | 4,395 | js | JavaScript | Root/Commands/SelectMenus/Help/HelpUtil.js | Elpistolero131/UtilityBot | ffb28ddd55cecf9905e2ba87b0d43c0497d39483 | [
"Apache-2.0"
] | 1 | 2022-03-25T17:58:46.000Z | 2022-03-25T17:58:46.000Z | Root/Commands/SelectMenus/Help/HelpUtil.js | Elpistolero131/UtilityBot | ffb28ddd55cecf9905e2ba87b0d43c0497d39483 | [
"Apache-2.0"
] | null | null | null | Root/Commands/SelectMenus/Help/HelpUtil.js | Elpistolero131/UtilityBot | ffb28ddd55cecf9905e2ba87b0d43c0497d39483 | [
"Apache-2.0"
] | null | null | null | const db = require('quick.db')
const Discord = require('discord.js')
const emotes = require('../../../Storage/json/emotes.json')
const colors = require('../../../Storage/json/colors.json')
const config = require('../../../Storage/json/Config.json')
module.exports = {
name: "Util",
run: async (client, i... | 57.077922 | 154 | 0.339022 |
d0fccb703bd91ca3158d2abd1400598862204c8c | 2,374 | js | JavaScript | server/routes/problems.js | TheCodeCamp/codecamp-api | 9acd015a82c96084e9d95f58e580a89e70ca56e3 | [
"MIT"
] | 2 | 2020-06-04T07:01:43.000Z | 2022-01-27T05:40:48.000Z | server/routes/problems.js | TheCodeCamp/codecamp-api | 9acd015a82c96084e9d95f58e580a89e70ca56e3 | [
"MIT"
] | 2 | 2021-05-06T21:33:58.000Z | 2021-05-06T21:38:10.000Z | server/routes/problems.js | TheCodeCamp/codecamp-api | 9acd015a82c96084e9d95f58e580a89e70ca56e3 | [
"MIT"
] | null | null | null | const express = require('express');
const _ = require('lodash');
//const db = require('./../utils/db/db');
const Problem = require('./../../contest/models/problem/problem');
const Contest = require('./../../contest/models/contest/contest')
const router = express.Router({mergeParams: true})
router.get('/:code',(req,res... | 32.972222 | 293 | 0.580034 |
d0fd308b75da7a2c98d04fbfb9d54cbf9c860a91 | 4,107 | js | JavaScript | JS Applications June 2020/01.Modules_and_Unit_Testing/Exercises/03.Math_Enforcer/tests.js | bodyquest/SoftwareUniversity-Bulgaria | a402d8671e3b66e69b216ed126d00747690607dc | [
"MIT"
] | 2 | 2021-11-21T17:50:05.000Z | 2022-02-11T23:23:47.000Z | JS Applications June 2020/01.Modules_and_Unit_Testing/Exercises/03.Math_Enforcer/tests.js | bodyquest/SoftwareUniversity-Bulgaria | a402d8671e3b66e69b216ed126d00747690607dc | [
"MIT"
] | 5 | 2020-08-09T12:46:12.000Z | 2022-03-29T07:14:53.000Z | JS Applications June 2020/01.Modules_and_Unit_Testing/Exercises/03.Math_Enforcer/tests.js | bodyquest/SoftwareUniversity-Bulgaria | a402d8671e3b66e69b216ed126d00747690607dc | [
"MIT"
] | 2 | 2020-08-01T16:33:17.000Z | 2021-11-21T17:50:06.000Z | const expect = require("chai").expect;
const assert = require("chai").assert;
const mathEnforcer = require("./mathEnforcer.js");
describe("Main functionality", () => {
describe("addFive tests", function () {
it("returns undefined if parameter not a number", function() {
let result = mathEnforce... | 50.703704 | 109 | 0.616508 |
d0fdedd4826cb13548b94c9202d5ef5313bde1a9 | 1,029 | js | JavaScript | docs/javadocs/html/classdev_1_1jorel_1_1commandapi_1_1arguments_1_1_offline_player_argument.js | JorelAli/1.13-Command-API | a0d9fd27257e0c21143b226a9c23e91259190a7f | [
"MIT"
] | 69 | 2018-10-05T04:42:17.000Z | 2020-07-25T14:46:42.000Z | docs/javadocs/html/classdev_1_1jorel_1_1commandapi_1_1arguments_1_1_offline_player_argument.js | JorelAli/1.13-Command-API | a0d9fd27257e0c21143b226a9c23e91259190a7f | [
"MIT"
] | 107 | 2018-10-05T19:20:32.000Z | 2020-08-19T17:50:36.000Z | docs/javadocs/html/classdev_1_1jorel_1_1commandapi_1_1arguments_1_1_offline_player_argument.js | JorelAli/1.13-Command-API | a0d9fd27257e0c21143b226a9c23e91259190a7f | [
"MIT"
] | 24 | 2018-11-04T05:58:33.000Z | 2020-08-14T18:27:08.000Z | var classdev_1_1jorel_1_1commandapi_1_1arguments_1_1_offline_player_argument =
[
[ "OfflinePlayerArgument", "classdev_1_1jorel_1_1commandapi_1_1arguments_1_1_offline_player_argument.html#aed2fd890e0f924350b19ac618815b5e8", null ],
[ "includeSafeSuggestions", "classdev_1_1jorel_1_1commandapi_1_1arguments_1_1_off... | 114.333333 | 159 | 0.876579 |
d0ff420437ba07c6e5c2052fc7fc71cfc10e938f | 504 | js | JavaScript | client/src/components/layout/FeedTabs.js | tony-garand/insidermacro | 850765cbf94b11f8e0cbbbc745a5a111d05d1bbc | [
"MIT"
] | null | null | null | client/src/components/layout/FeedTabs.js | tony-garand/insidermacro | 850765cbf94b11f8e0cbbbc745a5a111d05d1bbc | [
"MIT"
] | null | null | null | client/src/components/layout/FeedTabs.js | tony-garand/insidermacro | 850765cbf94b11f8e0cbbbc745a5a111d05d1bbc | [
"MIT"
] | null | null | null | import React from "react";
import { Tab, Tabs, TabList, TabPanel } from 'react-tabs';
export default () => (
<Tabs>
<TabList>
<Tab>Following</Tab>
<Tab>Macro</Tab>
<Tab>Events</Tab>
<Tab>Trending</Tab>
</TabList>
<TabPanel>
<h2>Any content 1</h2>
</TabPanel>
<TabPane... | 20.16 | 58 | 0.539683 |
19002f36d03302b3fb0fd05960e54d205186d80a | 354 | js | JavaScript | editor/icon-outline-highlight-element/template.js | AgeOfLearning/material-design-icons | b1da14a0e8a7011358bf4453c127d9459420394f | [
"Apache-2.0"
] | null | null | null | editor/icon-outline-highlight-element/template.js | AgeOfLearning/material-design-icons | b1da14a0e8a7011358bf4453c127d9459420394f | [
"Apache-2.0"
] | null | null | null | editor/icon-outline-highlight-element/template.js | AgeOfLearning/material-design-icons | b1da14a0e8a7011358bf4453c127d9459420394f | [
"Apache-2.0"
] | null | null | null | export default (context, html) => html`
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="none" d="M0 0h24v24H0z"/><path d="M6 14l3 3v5h6v-5l3-3V9H6v5zm2-3h8v2.17l-3 3V20h-2v-3.83l-3-3V11zm3-9h2v3h-2zM3.502 5.874L4.916 4.46l2.122 2.12-1.414 1.415zm13.458.708l2.123-2.12 1... | 118 | 311 | 0.689266 |
19005574d6523ced5f1545d0c6a7169b63fa18fd | 82 | js | JavaScript | lib/helpers.js | bavis-m/TuyaAPI-cli | 80cc21b7b1c42e324fe50e09f060d69e0bdc5fc3 | [
"MIT"
] | 164 | 2018-09-13T15:01:43.000Z | 2022-03-28T16:54:18.000Z | lib/helpers.js | bavis-m/TuyaAPI-cli | 80cc21b7b1c42e324fe50e09f060d69e0bdc5fc3 | [
"MIT"
] | 92 | 2018-08-11T02:33:10.000Z | 2022-01-11T11:26:48.000Z | lib/helpers.js | bavis-m/TuyaAPI-cli | 80cc21b7b1c42e324fe50e09f060d69e0bdc5fc3 | [
"MIT"
] | 48 | 2018-08-09T00:09:30.000Z | 2022-01-24T14:16:17.000Z | module.exports = {
regionToUrl: region => `https://openapi.tuya${region}.com`
};
| 20.5 | 59 | 0.670732 |
190057ccfbdc3848617d8ff8d189fa4ac24a4a4a | 1,244 | js | JavaScript | projects/backend/mockgenerator/middlewares/media.js | smahr/cloud-commerce-spartacus-storefront | e1d5239362d755b3e496a31819588e6929d11773 | [
"Apache-2.0"
] | 1 | 2019-09-03T21:37:18.000Z | 2019-09-03T21:37:18.000Z | projects/backend/mockgenerator/middlewares/media.js | smahr/cloud-commerce-spartacus-storefront | e1d5239362d755b3e496a31819588e6929d11773 | [
"Apache-2.0"
] | 16 | 2019-10-01T08:46:48.000Z | 2022-03-24T18:30:56.000Z | projects/backend/mockgenerator/middlewares/media.js | smahr/cloud-commerce-spartacus-storefront | e1d5239362d755b3e496a31819588e6929d11773 | [
"Apache-2.0"
] | 1 | 2019-05-09T03:49:15.000Z | 2019-05-09T03:49:15.000Z | 'use strict';
const url = require('url');
const unique = {};
module.exports = (req, res, next) => {
const uri = url.parse(req.url, true);
sendImage(uri, res);
sendContextImage(uri, res);
next();
};
function sendContextImage(uri, res) {
if (isContextMedia(uri.path)) {
const context = /context=(.*)/.exec(... | 23.037037 | 80 | 0.590836 |
19006fcf8f86851e9fc354e3fb33af92943abb7b | 275 | js | JavaScript | src/systems/collider.js | ldd/phaser-template | 0425f05bbfa201044aecc0d4490ab8f692895799 | [
"MIT"
] | null | null | null | src/systems/collider.js | ldd/phaser-template | 0425f05bbfa201044aecc0d4490ab8f692895799 | [
"MIT"
] | null | null | null | src/systems/collider.js | ldd/phaser-template | 0425f05bbfa201044aecc0d4490ab8f692895799 | [
"MIT"
] | null | null | null | import { debounce } from "debounce";
export const simpleCollider = (A, B) => {
const [, , current] = B.frame.name.split("_");
if (+current > 1) {
B.setFrame(`big_crops/wheat_${current - 1}`);
}
};
export const collider = debounce(simpleCollider, 2000);
| 25 | 56 | 0.610909 |
1900dfbb688a86dfafbe3a3ea3f5a1a12c3e65f7 | 346 | js | JavaScript | Assets/Scripts/bootstrap.js | ALEXTANGXIAO/puerts_unity_frameWork | 2f73e838dd2d96ffd52763dd56fbbbc28ef619c5 | [
"MIT"
] | 98 | 2020-09-19T09:29:20.000Z | 2022-03-17T16:49:33.000Z | Assets/Scripts/bootstrap.js | ALEXTANGXIAO/puerts_unity_frameWork | 2f73e838dd2d96ffd52763dd56fbbbc28ef619c5 | [
"MIT"
] | 10 | 2020-11-21T09:34:18.000Z | 2021-12-27T03:29:09.000Z | Assets/Scripts/bootstrap.js | ALEXTANGXIAO/puerts_unity_frameWork | 2f73e838dd2d96ffd52763dd56fbbbc28ef619c5 | [
"MIT"
] | 28 | 2020-10-19T09:13:24.000Z | 2022-01-23T09:39:13.000Z | // @ts-nocheck
Object.defineProperty(globalThis, 'csharp', { value: require("csharp"), enumerable: true, configurable: false, writable: false });
Object.defineProperty(globalThis, 'puerts', { value: require("puerts"), enumerable: true, configurable: false, writable: false });
require("webapi.js");
module.exports = requ... | 57.666667 | 130 | 0.736994 |
190218191e6c5745df51612008ffd991f9900c4a | 1,628 | js | JavaScript | src/dataDisplay/icon/library/camera/style1.js | tenjojeremy/Web-Features | 163c014fcf6c745a3f08fc348aa5e344dbdfbd4a | [
"MIT"
] | 1 | 2019-09-04T11:35:13.000Z | 2019-09-04T11:35:13.000Z | src/dataDisplay/icon/library/camera/style1.js | tenjojeremy/Web-Features | 163c014fcf6c745a3f08fc348aa5e344dbdfbd4a | [
"MIT"
] | null | null | null | src/dataDisplay/icon/library/camera/style1.js | tenjojeremy/Web-Features | 163c014fcf6c745a3f08fc348aa5e344dbdfbd4a | [
"MIT"
] | null | null | null | import React from 'react'
const NavUpload = () => (
<svg
width='69'
height='69'
viewBox='0 0 69 69'
fill='none'
xmlns='http://www.w3.org/2000/svg'
>
<path d='M45.0628 27.7375C44.4378 27.1126 43.6838 26.8 42.8004 26.8H40.0004L39.363 25.1001C39.2046 24.6918 38.9151 24.3397 38.4941 24.0437C38.... | 95.764706 | 1,018 | 0.734029 |
190512e2e756d2f183eb5d2ba1d8e31f6099d6e9 | 668 | js | JavaScript | lib/promptFunctions/promptEngineer.js | jpecheverryp/team-profile-generator | 1195362400f01b99ed7bbe138b5c918023e30057 | [
"MIT"
] | null | null | null | lib/promptFunctions/promptEngineer.js | jpecheverryp/team-profile-generator | 1195362400f01b99ed7bbe138b5c918023e30057 | [
"MIT"
] | null | null | null | lib/promptFunctions/promptEngineer.js | jpecheverryp/team-profile-generator | 1195362400f01b99ed7bbe138b5c918023e30057 | [
"MIT"
] | null | null | null | // inquirer Library
const inquirer = require("inquirer");
// Class
const Engineer = require("../Engineer");
// Questions
const engineerQuestions = require("../inquirerQuestions/engineerQuestions");
async function promptEngineer(employeeList) {
console.log("We will continue with the engineer information:");
co... | 29.043478 | 76 | 0.694611 |
190725c050394c5b6bd1124dd7fe5e0c85cf9451 | 556 | js | JavaScript | pages/api/getUser.js | gerardo-j/shopify-challenge | 1ce5717f3c7b31023aa1f4bfd86eb5642f8c576c | [
"MIT"
] | null | null | null | pages/api/getUser.js | gerardo-j/shopify-challenge | 1ce5717f3c7b31023aa1f4bfd86eb5642f8c576c | [
"MIT"
] | null | null | null | pages/api/getUser.js | gerardo-j/shopify-challenge | 1ce5717f3c7b31023aa1f4bfd86eb5642f8c576c | [
"MIT"
] | null | null | null | import initAuth from '../../initAuth' // the module you created above
import { getFirebaseAdmin, verifyIdToken } from 'next-firebase-auth'
initAuth()
const handler = async (req, res) => {
try {
const AuthUser = await verifyIdToken(req.headers.authorization)
const db = getFirebaseAdmin().firestore(... | 25.272727 | 69 | 0.651079 |
19076f8bd9c69e73b6f05b92c6d7033ba09b3e4e | 904 | js | JavaScript | js/tipos.js | 2WeWrite/2WeWrite.github.io | 67c8f94bf0b8869a06e40aab5f4d0e7d5679aed3 | [
"CC0-1.0"
] | null | null | null | js/tipos.js | 2WeWrite/2WeWrite.github.io | 67c8f94bf0b8869a06e40aab5f4d0e7d5679aed3 | [
"CC0-1.0"
] | null | null | null | js/tipos.js | 2WeWrite/2WeWrite.github.io | 67c8f94bf0b8869a06e40aab5f4d0e7d5679aed3 | [
"CC0-1.0"
] | null | null | null | /**
* @typedef {Object} USUARIO
* @property {string[]} ROLIDS
*/
/**
* @typedef {Object} CLIENTE
* @property {string} CORREO
* @property {string} NOMBRE
* @property {string} AP_PATERNO
* @property {string} AP_MATERNO
* @property {string} EDAD
* @property {string} SEXO
* @property {string} CELULAR
*/
/**
... | 21.52381 | 39 | 0.685841 |
190885dd2245271aa672536c47fd7465ae6cb2d9 | 5,843 | js | JavaScript | mxgraph/mxjson.js | StevenKangWei/learning-mxgraph | 561ef3a8626e6dec7091f15208ce94bb5d8c0a74 | [
"MIT"
] | null | null | null | mxgraph/mxjson.js | StevenKangWei/learning-mxgraph | 561ef3a8626e6dec7091f15208ce94bb5d8c0a74 | [
"MIT"
] | null | null | null | mxgraph/mxjson.js | StevenKangWei/learning-mxgraph | 561ef3a8626e6dec7091f15208ce94bb5d8c0a74 | [
"MIT"
] | null | null | null | /******************************************************************
Core
******************************************************************/
class JsonCodec extends mxObjectCodec {
constructor() {
super((value) => {});
}
encode(value) {
const xmlDoc = mxUtils.createXmlDocument();
co... | 36.748428 | 179 | 0.537566 |
190a6714558b4fd1360013df27523f873eb9363b | 87 | js | JavaScript | packages/core/integration-tests/test/integration/scope-hoisting/commonjs/exports-access-bailout/module-exports-define-entry.js | zowesiouff/parcel | dc09f12563ad4fcc452760b2477fa6beb8af30fd | [
"MIT"
] | 43,319 | 2017-10-27T04:56:25.000Z | 2022-03-31T19:36:35.000Z | packages/core/integration-tests/test/integration/scope-hoisting/commonjs/exports-access-bailout/module-exports-define-entry.js | zowesiouff/parcel | dc09f12563ad4fcc452760b2477fa6beb8af30fd | [
"MIT"
] | 6,503 | 2017-12-05T16:53:53.000Z | 2022-03-31T23:30:17.000Z | packages/core/integration-tests/test/integration/scope-hoisting/commonjs/exports-access-bailout/module-exports-define-entry.js | zowesiouff/parcel | dc09f12563ad4fcc452760b2477fa6beb8af30fd | [
"MIT"
] | 2,865 | 2017-12-05T18:24:23.000Z | 2022-03-30T19:39:14.000Z | import {COMMENT_KEYS} from './module-exports-define-imported';
output = COMMENT_KEYS;
| 21.75 | 62 | 0.770115 |
190b69000f90bbba1050ac63d69d4c8659f80f31 | 980 | js | JavaScript | frontend/mytrip-login/server/controllers/sessionsController.js | vhlongon/et-test | 5b99051f5d05ac9b15f7f4a5d0c76b615beaf21f | [
"MIT"
] | null | null | null | frontend/mytrip-login/server/controllers/sessionsController.js | vhlongon/et-test | 5b99051f5d05ac9b15f7f4a5d0c76b615beaf21f | [
"MIT"
] | null | null | null | frontend/mytrip-login/server/controllers/sessionsController.js | vhlongon/et-test | 5b99051f5d05ac9b15f7f4a5d0c76b615beaf21f | [
"MIT"
] | null | null | null | const crypto = require('crypto');
const jwt = require('jsonwebtoken');
const Left = require('../../utils/generalUtils').Left;
const Right = require('../../utils/generalUtils').Right;
const secret = 'HowardHughes';
const createHmac = data =>
crypto
.createHmac('sha256', secret)
.update(data)
.digest('hex... | 25.789474 | 67 | 0.62551 |
190c29ce3525f0244f2b65ba5bcce84d55415970 | 360 | js | JavaScript | stories/loading-dots.stories.js | jamesplease/materialish | 7d8c6408d2de65063594417f1a9d8a812ff7d295 | [
"MIT"
] | 17 | 2018-06-15T08:00:13.000Z | 2021-05-07T15:43:30.000Z | stories/loading-dots.stories.js | jamesplease/materialish | 7d8c6408d2de65063594417f1a9d8a812ff7d295 | [
"MIT"
] | 160 | 2018-03-19T21:37:59.000Z | 2018-10-24T23:52:55.000Z | stories/loading-dots.stories.js | jamesplease/materialish | 7d8c6408d2de65063594417f1a9d8a812ff7d295 | [
"MIT"
] | 6 | 2018-05-28T17:03:02.000Z | 2019-07-30T20:11:07.000Z | import React from 'react';
import { storiesOf } from '@storybook/react';
import { setOptions } from '@storybook/addon-options';
import '../src/loading-dots/loading-dots.css';
import { LoadingDots } from '../src/index';
setOptions({
name: 'Materialish',
addonPanelInRight: true,
});
storiesOf('LoadingDots', module)... | 27.692308 | 71 | 0.694444 |
190d03581792d4edcdc2fbb50036cb7068eca822 | 611 | js | JavaScript | src/mongodb/schema/analytics/track.js | w2one/full-stack-api | 843ed6a7ffae7cfbb7ba2f9af54628e71838dfae | [
"MIT"
] | null | null | null | src/mongodb/schema/analytics/track.js | w2one/full-stack-api | 843ed6a7ffae7cfbb7ba2f9af54628e71838dfae | [
"MIT"
] | 5 | 2021-03-02T00:28:32.000Z | 2022-03-03T22:48:22.000Z | src/mongodb/schema/analytics/track.js | w2one/full-stack-api | 843ed6a7ffae7cfbb7ba2f9af54628e71838dfae | [
"MIT"
] | null | null | null | /**
* track schema
*/
import mongoose from "mongoose";
const Schema = mongoose.Schema;
const TrackSchema = new Schema({
time: Number, // 停留时间
pre: String, // 前一个页面
current: String, // 当前页面
next: String, //下一个页面
sw: Number, //屏幕宽度
sh: Number, // 屏幕高度
lang: String, //语言
ua: String, // ua
ip: String, ... | 19.09375 | 49 | 0.617021 |
190d6876d4e599d97f980b1a3dfe569b1b1a50ba | 606 | js | JavaScript | src/components/Grid.js | hayden7913/demo-interactable | c0271c121f7b56f84c717be0dea0927a99df9e84 | [
"MIT"
] | null | null | null | src/components/Grid.js | hayden7913/demo-interactable | c0271c121f7b56f84c717be0dea0927a99df9e84 | [
"MIT"
] | null | null | null | src/components/Grid.js | hayden7913/demo-interactable | c0271c121f7b56f84c717be0dea0927a99df9e84 | [
"MIT"
] | null | null | null | import React from 'react'
import { cellHeight, cellWidth } from '../config';
const gridStyle = {
'display': 'block',
'margin': '50px auto'
}
export default function Grid(props) {
return (
<svg style={gridStyle} width={props.width} height={props.height}>
<defs>
<pattern id="cell" width={cellWidth}... | 26.347826 | 105 | 0.630363 |
190d8664d4e321c7370c1581ca18735efe0e7717 | 710 | js | JavaScript | src/common/extractTime.test.js | soyjavi/watchman | ff032d814775ee7e9d48422fc16a7c5d9255a451 | [
"MIT"
] | 1 | 2018-05-14T21:43:17.000Z | 2018-05-14T21:43:17.000Z | src/common/extractTime.test.js | soyjavi/ranks | ff032d814775ee7e9d48422fc16a7c5d9255a451 | [
"MIT"
] | null | null | null | src/common/extractTime.test.js | soyjavi/ranks | ff032d814775ee7e9d48422fc16a7c5d9255a451 | [
"MIT"
] | null | null | null | import extractTime from './extractTime';
describe('extractTime()', () => {
it('default', () => {
let value = extractTime();
expect(value).toEqual(null);
});
it('using shortcut for minutes', () => {
let value = extractTime('hello world in 2m');
expect(value).toHaveProperty('match', '2m');
exp... | 27.307692 | 53 | 0.602817 |
190e1dbc53308af2169b6490fc78ab8f76b51167 | 40,612 | js | JavaScript | server/static/assets/index.16506206505706.js | wuchunfu/mayfly-go | 483f5b760429d0fa2bf29a656e78843b596b6e53 | [
"Apache-2.0"
] | null | null | null | server/static/assets/index.16506206505706.js | wuchunfu/mayfly-go | 483f5b760429d0fa2bf29a656e78843b596b6e53 | [
"Apache-2.0"
] | null | null | null | server/static/assets/index.16506206505706.js | wuchunfu/mayfly-go | 483f5b760429d0fa2bf29a656e78843b596b6e53 | [
"Apache-2.0"
] | null | null | null | var be=Object.defineProperty,ge=Object.defineProperties;var ve=Object.getOwnPropertyDescriptors;var ue=Object.getOwnPropertySymbols;var ye=Object.prototype.hasOwnProperty,_e=Object.prototype.propertyIsEnumerable;var re=(e,l,h)=>l in e?be(e,l,{enumerable:!0,configurable:!0,writable:!0,value:h}):e[l]=h,R=(e,l)=>{for(var ... | 13,537.333333 | 28,843 | 0.667881 |
190e55181057851da41ba42cf139d5ea7d390235 | 1,125 | js | JavaScript | lesson_11/for_stars.js | Skelman50/js_course | 2754360ab3416ae107a012b9987e33c4166c59c1 | [
"MIT"
] | null | null | null | lesson_11/for_stars.js | Skelman50/js_course | 2754360ab3416ae107a012b9987e33c4166c59c1 | [
"MIT"
] | null | null | null | lesson_11/for_stars.js | Skelman50/js_course | 2754360ab3416ae107a012b9987e33c4166c59c1 | [
"MIT"
] | null | null | null | 'use strict'
function join() {
let obj = {};
let arr = [];
for(let i = 0; i < arguments.length; i++) {
arr[i] = arguments[i];
}
for (let i = 0; i < arr.length; i++) {
if (typeof(arr[i]) === "object" && Array.isArray(arr[i]) === false){
obj = arr[i];
arr.splice(i,1);
break;
}
}
for(let i = 0; i < a... | 26.162791 | 141 | 0.504 |
190f719e6070f505a9ecaa01dee2f018af7e00e5 | 1,557 | js | JavaScript | assets/admin/demo/demo-datatables.js | misoftech/h15a18d22 | 7781bf05060ac7934e8128696aa56dc378f49ff5 | [
"MIT"
] | null | null | null | assets/admin/demo/demo-datatables.js | misoftech/h15a18d22 | 7781bf05060ac7934e8128696aa56dc378f49ff5 | [
"MIT"
] | null | null | null | assets/admin/demo/demo-datatables.js | misoftech/h15a18d22 | 7781bf05060ac7934e8128696aa56dc378f49ff5 | [
"MIT"
] | null | null | null | // -------------------------------
// Initialize Data Tables
// -------------------------------
<? if($_GET['p']=="add_car"){ ?>
$(document).ready(function() {
$('.datatables').dataTable({
"iDisplayLength": 10,
"aLengthMenu": [[10, 25, 50, -1], [10, 25, 50, "All"]],
"sDom": "<'row'<'col-xs-6'l><'co... | 37.071429 | 91 | 0.480411 |
190f813ac0ead41e953c27e4acad91b0ab44ff46 | 125,524 | js | JavaScript | src/scripts/index.js | robertpage/portfolio | 5f26f8407f4b8c6d19fb8263bf97775fb5883eb4 | [
"MIT"
] | null | null | null | src/scripts/index.js | robertpage/portfolio | 5f26f8407f4b8c6d19fb8263bf97775fb5883eb4 | [
"MIT"
] | null | null | null | src/scripts/index.js | robertpage/portfolio | 5f26f8407f4b8c6d19fb8263bf97775fb5883eb4 | [
"MIT"
] | null | null | null | import { request } from "@octokit/request";
import { initState, getCurrentState, updateState } from "./modules/state/management";
import barba from '@barba/core';
// import anime from 'animejs/lib/anime.es.js';
barba.init();
window.onload = function () {
if (!window) return;
init(window.location.pathname);
}
ba... | 64.239509 | 140 | 0.592205 |
190fb3a86e8a6a9e295d3c9b379e53b23762c324 | 224 | js | JavaScript | app/map/set-radius-mode-button-label.filter.js | joseph-iussa/tour-planner | 63890237bb3f71ab0a14976b7ad23222047baa98 | [
"MIT"
] | null | null | null | app/map/set-radius-mode-button-label.filter.js | joseph-iussa/tour-planner | 63890237bb3f71ab0a14976b7ad23222047baa98 | [
"MIT"
] | null | null | null | app/map/set-radius-mode-button-label.filter.js | joseph-iussa/tour-planner | 63890237bb3f71ab0a14976b7ad23222047baa98 | [
"MIT"
] | null | null | null | 'use strict';
angular.module('map').
filter('setRadiusModeButtonLabel', function() {
return function(setRadiusMode) {
return setRadiusMode ? 'Selecting Radius: Click again to cancel' : 'Select Radius';
}
}); | 28 | 91 | 0.6875 |
191024291883248e09d0ed2c752ca3c497bb9bb8 | 3,569 | js | JavaScript | webroot/rsrc/js/application/phortune/behavior-stripe-payment-form.js | kuk0/phabricator | 62e039b74871542522a498373ee44d9f5074f0f9 | [
"Apache-2.0"
] | 1 | 2016-05-16T22:11:44.000Z | 2016-05-16T22:11:44.000Z | webroot/rsrc/js/application/phortune/behavior-stripe-payment-form.js | kuk0/phabricator | 62e039b74871542522a498373ee44d9f5074f0f9 | [
"Apache-2.0"
] | null | null | null | webroot/rsrc/js/application/phortune/behavior-stripe-payment-form.js | kuk0/phabricator | 62e039b74871542522a498373ee44d9f5074f0f9 | [
"Apache-2.0"
] | null | null | null | /**
* @provides javelin-behavior-stripe-payment-form
* @requires javelin-behavior
* javelin-dom
* javelin-json
* stripe-core
*/
JX.behavior('stripe-payment-form', function(config) {
Stripe.setPublishableKey(config.stripePublishKey);
var root = JX.$(config.root);
var ca... | 28.782258 | 77 | 0.578874 |
1910a53a60b97c651278bf6ba8467244de3ce76d | 608 | js | JavaScript | src/router.js | ytype/wordistry-frontend | d8bbed2acf804f57408b014dd5851123109a2be4 | [
"MIT"
] | 1 | 2020-03-15T03:28:33.000Z | 2020-03-15T03:28:33.000Z | src/router.js | ytype/wordistry-frontend | d8bbed2acf804f57408b014dd5851123109a2be4 | [
"MIT"
] | null | null | null | src/router.js | ytype/wordistry-frontend | d8bbed2acf804f57408b014dd5851123109a2be4 | [
"MIT"
] | null | null | null | /* eslint-disable arrow-body-style */
/* eslint-disable eol-last */
/* eslint-disable comma-dangle */
/* eslint-disable indent */
/* eslint-disable prefer-template */
/* eslint-disable import/no-extraneous-dependencies */
import Vue from 'vue'
import Router from 'vue-router'
import routes from 'vue-auto-routing'
import... | 23.384615 | 54 | 0.694079 |
19113136d42d107083152ed1c208bc45bebd9375 | 784 | js | JavaScript | scripts/deployETH.js | nazhG/mines-and-brokers | fadc2a6277fe976a250780f445bfdfc1f6aa5067 | [
"MIT"
] | null | null | null | scripts/deployETH.js | nazhG/mines-and-brokers | fadc2a6277fe976a250780f445bfdfc1f6aa5067 | [
"MIT"
] | null | null | null | scripts/deployETH.js | nazhG/mines-and-brokers | fadc2a6277fe976a250780f445bfdfc1f6aa5067 | [
"MIT"
] | null | null | null | const { ethers } = require("hardhat");
async function main() {
const Token = await ethers.getContractFactory("BHF");
token = await Token.deploy(
"BHM",
"BHM",
(await ethers.getSigners())[0].address,
ethers.utils.parseUnits("1000", 18),
);
const Bridge = await ethers.ge... | 24.5 | 64 | 0.621173 |
1911755d1305f4e14dca82e4281d3df939958351 | 2,472 | js | JavaScript | Owl/app/screens/Dashboard/components/CoffeeOrphan.js | jnurkka/Smart_Delonghi | bca4827b0a76b30e1bd8e6824391b9e806dad732 | [
"MIT"
] | 1 | 2020-04-23T17:17:25.000Z | 2020-04-23T17:17:25.000Z | Owl/app/screens/Dashboard/components/CoffeeOrphan.js | jnurkka/Smart_Delonghi | bca4827b0a76b30e1bd8e6824391b9e806dad732 | [
"MIT"
] | null | null | null | Owl/app/screens/Dashboard/components/CoffeeOrphan.js | jnurkka/Smart_Delonghi | bca4827b0a76b30e1bd8e6824391b9e806dad732 | [
"MIT"
] | null | null | null | import React, {useState} from 'react';
import {View, Text} from 'react-native';
import {TileContainer, Tile, TileHeader, TileFont} from './Leaderboard';
import styled from 'styled-components';
const images = {
espresso_single: require('../../../images/espresso_single.png'),
espresso_double: require('../../../image... | 30.9 | 138 | 0.601537 |
1913821d8c67af8173eb7ab97cacf6623509429b | 171 | js | JavaScript | ch05/04_hoisting/hoisted.js | royriojas/buildfirst | e48ac99900c30c0bc262e869847d6fff990025fa | [
"MIT"
] | 511 | 2015-01-02T14:54:52.000Z | 2022-03-20T04:36:18.000Z | ch05/04_hoisting/hoisted.js | royriojas/buildfirst | e48ac99900c30c0bc262e869847d6fff990025fa | [
"MIT"
] | 11 | 2015-02-22T21:23:03.000Z | 2020-04-14T21:34:23.000Z | ch05/04_hoisting/hoisted.js | royriojas/buildfirst | e48ac99900c30c0bc262e869847d6fff990025fa | [
"MIT"
] | 129 | 2015-01-07T10:52:09.000Z | 2021-06-21T02:54:46.000Z | var value = 2;
test();
// <- 'undefined'
// <- undefined
function test () {
console.log(typeof value);
console.log(value);
var value = 3; // jshint ignore:line
}
| 13.153846 | 38 | 0.608187 |
19138bfbb9b9188a6b5e4ea12fbf4adf718e480d | 190 | js | JavaScript | src/constants/index.js | return-hack/hackathon-website | 2a4a9846cf4ff99c16ffab40720483f2b4a6f455 | [
"MIT"
] | 6 | 2019-12-17T14:36:29.000Z | 2019-12-28T16:22:56.000Z | src/constants/index.js | return-hack/hackathon-website | 2a4a9846cf4ff99c16ffab40720483f2b4a6f455 | [
"MIT"
] | 75 | 2019-10-27T12:04:52.000Z | 2022-01-13T01:47:48.000Z | src/constants/index.js | return-hack/hackathon-website | 2a4a9846cf4ff99c16ffab40720483f2b4a6f455 | [
"MIT"
] | 34 | 2019-10-30T11:42:27.000Z | 2020-12-19T18:06:16.000Z | const prod = {
BASE_URL: process.env.REACT_APP_BASE_URL
};
const dev = {
BASE_URL: 'http://localhost:8000'
};
export const config = process.env.NODE_ENV === 'development' ? dev : prod ; | 23.75 | 75 | 0.689474 |
1913a3adfb85f7c762d39304139ef07930d75551 | 1,657 | js | JavaScript | Discover/Maratona_2/src/models/User.js | Wayfiding/Rocketseat | 409da3731776a5a7ab5ba232beb8aa285655aa41 | [
"MIT"
] | 2 | 2021-09-19T12:07:01.000Z | 2021-09-20T11:31:07.000Z | Discover/Maratona_2/src/models/User.js | Wayfiding/Rocketseat | 409da3731776a5a7ab5ba232beb8aa285655aa41 | [
"MIT"
] | null | null | null | Discover/Maratona_2/src/models/User.js | Wayfiding/Rocketseat | 409da3731776a5a7ab5ba232beb8aa285655aa41 | [
"MIT"
] | null | null | null | const User = require('../../../../serie-node/src/app/models/user')
const Database = require('../db/config')
module.exports = {
async auth(name, password) {
const db = await Database()
userData = await db.get(`
SELECT * FROM user WHERE
name = "${name}"
`)
awa... | 23.338028 | 66 | 0.453832 |
1914bc8d2d54be6712ed00406ffbe161f1e107a7 | 3,449 | js | JavaScript | brainfog.js | kysadro/brainfog-js | 76c38a6ff0e1931ddfcd4d16615640dea721adf9 | [
"MIT"
] | null | null | null | brainfog.js | kysadro/brainfog-js | 76c38a6ff0e1931ddfcd4d16615640dea721adf9 | [
"MIT"
] | null | null | null | brainfog.js | kysadro/brainfog-js | 76c38a6ff0e1931ddfcd4d16615640dea721adf9 | [
"MIT"
] | null | null | null | // Brainfog-JS, owned by Kysadro
function getRandomInt(min, max) {
min = Math.ceil(min);
max = Math.floor(max);
return Math.floor(Math.random() * (max - min + 1)) + min;
}
const alphabet = "abcdefghijklmnopqrstuvwxyz";
const specialCharacters = "!@#$%^&*()_+={}[]<>/";
module.exports = {
/**
* Gen... | 46.608108 | 161 | 0.567121 |
1915d5243e71ed4270756b9883ddbb56d47573c7 | 304 | js | JavaScript | src/ToDoList.js | alexandra-pickle/react-hooks-todo-list | a7cca148e8ba6a563d0dd9bcdced6de809ee9799 | [
"MIT"
] | null | null | null | src/ToDoList.js | alexandra-pickle/react-hooks-todo-list | a7cca148e8ba6a563d0dd9bcdced6de809ee9799 | [
"MIT"
] | null | null | null | src/ToDoList.js | alexandra-pickle/react-hooks-todo-list | a7cca148e8ba6a563d0dd9bcdced6de809ee9799 | [
"MIT"
] | null | null | null | import React from "react";
import ToDo from "./ToDo";
const ToDoList = ({ toDoList, handleToggle }) => {
return (
<div id="listContainer">
{toDoList.map((todo) => (
<ToDo todo={todo} key={todo.id} handleToggle={handleToggle} />
))}
</div>
);
};
export default ToDoList;
| 20.266667 | 70 | 0.588816 |
1917a1c67d0d3a882324d3663d5e1cac0fd7fc25 | 1,122 | js | JavaScript | client/app/components/List/ListItem.js | gazingintolife/crud-app | 7ce14fa767aa853b5009f97eaba840fd4077dd06 | [
"MIT"
] | null | null | null | client/app/components/List/ListItem.js | gazingintolife/crud-app | 7ce14fa767aa853b5009f97eaba840fd4077dd06 | [
"MIT"
] | null | null | null | client/app/components/List/ListItem.js | gazingintolife/crud-app | 7ce14fa767aa853b5009f97eaba840fd4077dd06 | [
"MIT"
] | null | null | null | import React from 'react';
import { withRouter } from 'react-router';
class ListItem extends React.Component{
constructor(props){
super(props);
}
onButtonClick = () =>{
this.props.history.push(`/edit/${this.props._id}`)
console.log(this.props._id);
}
render(){
... | 28.05 | 103 | 0.437611 |
1917bf8ae0de5ad833c497443cf12850b65c003b | 997 | js | JavaScript | vue-elm/static/fontSize.js | huangmin1992/study-vue | 77219f908bf670f29d622ecadd8d0760ba77d02f | [
"MIT"
] | null | null | null | vue-elm/static/fontSize.js | huangmin1992/study-vue | 77219f908bf670f29d622ecadd8d0760ba77d02f | [
"MIT"
] | null | null | null | vue-elm/static/fontSize.js | huangmin1992/study-vue | 77219f908bf670f29d622ecadd8d0760ba77d02f | [
"MIT"
] | null | null | null | function calcFontSize(){
let view_width = window.screen.width;
let view_height = window.screen.height;
let font_size = view_width/15;//750设计图
// let font_size = view_width/16;//640设计图
let html_body = document.getElementsByTagName('html')[0];
html_body.style.fontSize = font_size+'px';
}
//日期格式化
export function ... | 25.564103 | 105 | 0.645938 |
1918b53ee44baf02880d13cc5ace9682d267fb02 | 11,335 | js | JavaScript | src/launch.js | znetstar/economist-audio-downloader | ce4488c691fff467f79b176917144c81b0ac8a4c | [
"CC0-1.0"
] | 2 | 2018-11-01T20:57:26.000Z | 2018-11-01T20:58:43.000Z | src/launch.js | znetstar/economist-audio-downloader | ce4488c691fff467f79b176917144c81b0ac8a4c | [
"CC0-1.0"
] | null | null | null | src/launch.js | znetstar/economist-audio-downloader | ce4488c691fff467f79b176917144c81b0ac8a4c | [
"CC0-1.0"
] | null | null | null |
const path = require('path');
const fs = require('fs');
const {Provider} = require('nconf');
const winston = require('winston');
const unzip = require('node-unzip-2');
const fstream = require('fstream');
const moment = require('moment');
const { EconomistAudioDownloader } = require('./');
const pkg = JSON.parse(fs.... | 30.718157 | 157 | 0.533921 |
191a1b4320fbd926f5212f259270f67134625dec | 2,446 | js | JavaScript | index.js | dskrepps/config | 46178233636579e07fcb0eb82d1cdf1b2fc9bb70 | [
"MIT"
] | null | null | null | index.js | dskrepps/config | 46178233636579e07fcb0eb82d1cdf1b2fc9bb70 | [
"MIT"
] | null | null | null | index.js | dskrepps/config | 46178233636579e07fcb0eb82d1cdf1b2fc9bb70 | [
"MIT"
] | null | null | null |
// Load your config files and options in the necessary order
// Usage:
// config = getConfig();
// config = getConfig(configObject);
// config = getConfig({configDir: __dirname+'./config'});
// port = config.port;
// config.has('auth.twitter.token');
// config.get('auth.twitter.token');
// config.set('secrets.session... | 22.036036 | 77 | 0.671709 |
191a5ee1c517b136ad4921a789f94ad61bffcd97 | 1,317 | js | JavaScript | tests/functional/spec/components/checkbox/checkbox_label.spec.js | petechd/eq-questionnaire-runner | 1c5b182a7f8bc878cfdd767ae080410fa679abd6 | [
"MIT"
] | null | null | null | tests/functional/spec/components/checkbox/checkbox_label.spec.js | petechd/eq-questionnaire-runner | 1c5b182a7f8bc878cfdd767ae080410fa679abd6 | [
"MIT"
] | null | null | null | tests/functional/spec/components/checkbox/checkbox_label.spec.js | petechd/eq-questionnaire-runner | 1c5b182a7f8bc878cfdd767ae080410fa679abd6 | [
"MIT"
] | null | null | null | import DefaultLabelPage from "../../../generated_pages/checkbox_label/default-label-checkbox.page";
import NoLabelPage from "../../../generated_pages/checkbox_label/no-label-checkbox.page";
describe("Given the checkbox label variants questionnaire,", () => {
beforeEach(() => {
browser.openQuestionnaire("test_che... | 54.875 | 165 | 0.687927 |
191a7456ac5d607f705837a72674b6c4d2d56975 | 2,765 | js | JavaScript | test/cookbook-test.js | ryanbahan/refactor-tractor-whats-cookin | b95817cba893f036098366a8b98c2c3d8be39d4b | [
"MIT"
] | 1 | 2020-02-18T21:12:28.000Z | 2020-02-18T21:12:28.000Z | test/cookbook-test.js | ryanbahan/refactor-tractor-whats-cookin | b95817cba893f036098366a8b98c2c3d8be39d4b | [
"MIT"
] | 33 | 2020-02-15T19:51:36.000Z | 2022-02-26T23:45:37.000Z | test/cookbook-test.js | ryanbahan/refactor-tractor-whats-cookin | b95817cba893f036098366a8b98c2c3d8be39d4b | [
"MIT"
] | null | null | null | const chai = require("chai"),
spies = require("chai-spies");
chai.use(spies);
import { expect } from "chai";
import Cookbook from "../src/cookbook.js";
let cookbook, userID;
global.localStorage = {};
describe("Cookbook", () => {
beforeEach(() => {
userID = "1";
});
describe("LocalStorage", () => {
it... | 29.731183 | 69 | 0.600723 |
191b3a74756baac4aeb5772b91ee7e8376894425 | 173 | js | JavaScript | src/credentials-client.js | Data4Democracy/ati-broadcastapp | c314137a6046861f30fd375f1f5b4d8cb0cf5e0d | [
"MIT"
] | 10 | 2017-05-02T14:53:39.000Z | 2018-08-22T00:37:27.000Z | src/credentials-client.js | Data4Democracy/ati-broadcastapp | c314137a6046861f30fd375f1f5b4d8cb0cf5e0d | [
"MIT"
] | 33 | 2017-05-02T14:16:48.000Z | 2017-11-10T01:12:55.000Z | src/credentials-client.js | Data4Democracy/ati-broadcastapp | c314137a6046861f30fd375f1f5b4d8cb0cf5e0d | [
"MIT"
] | 4 | 2017-05-15T00:21:12.000Z | 2017-07-24T15:43:43.000Z | /* eslint-disable max-len */
export default {
googleClientId: '622480563241-pahmfkaqa83ee7g35a8oo87mob3vru6f.apps.googleusercontent.com',
fbAppId: '794932754026815',
};
| 28.833333 | 93 | 0.786127 |
191bdde579cb394a65b35e569127d945dcf019ec | 10,676 | js | JavaScript | docs/acrobatsdk/html2015/whxdata/package_743_xml.js | mjsir911/dc-acrobat-sdk-docs | 3307b714e270d5aac70dc5883d15037f6d299507 | [
"MIT"
] | 1 | 2022-03-22T10:13:50.000Z | 2022-03-22T10:13:50.000Z | docs/acrobatsdk/html2015/whxdata/package_743_xml.js | mjsir911/dc-acrobat-sdk-docs | 3307b714e270d5aac70dc5883d15037f6d299507 | [
"MIT"
] | null | null | null | docs/acrobatsdk/html2015/whxdata/package_743_xml.js | mjsir911/dc-acrobat-sdk-docs | 3307b714e270d5aac70dc5883d15037f6d299507 | [
"MIT"
] | 3 | 2021-08-05T22:59:29.000Z | 2022-01-13T19:36:46.000Z | gXMLBuffer="<?xml version=\"1.0\" encoding=\"utf-8\" standalone=\"no\"?><pk><wd nm=\"nsoleinput\" rd=\"863,0:1358,1574:0\"/><wd nm=\"nsoleopen\" rd=\"863,0:1346:0\"/><wd nm=\"nsolidating\" rd=\"1959,0:3541:0|1973,0:3445:0\"/><wd nm=\"nsolidation\" rd=\"608,0:249:0\"/><wd nm=\"nsortby\" rd=\"947,0:1070,1561:0|958,0:101,... | 10,676 | 10,676 | 0.683402 |
191cad7890699d071ad65473965a3d9df3f86cfb | 6,901 | js | JavaScript | textract-pipeline/node_modules/aws-cdk/test/test.init.js | musa-b/amazon-textract-serverless-large-scale-document-processing | eb628684bc661c9a1fdde4d9d5032b5b3632eece | [
"Apache-2.0"
] | null | null | null | textract-pipeline/node_modules/aws-cdk/test/test.init.js | musa-b/amazon-textract-serverless-large-scale-document-processing | eb628684bc661c9a1fdde4d9d5032b5b3632eece | [
"Apache-2.0"
] | null | null | null | textract-pipeline/node_modules/aws-cdk/test/test.init.js | musa-b/amazon-textract-serverless-large-scale-document-processing | eb628684bc661c9a1fdde4d9d5032b5b3632eece | [
"Apache-2.0"
] | null | null | null | "use strict";
const fs = require("fs-extra");
const os = require("os");
const path = require("path");
const init_1 = require("../lib/init");
const state = {};
module.exports = {
async "setUp"(callback) {
state.previousWorkingDir = process.cwd();
state.tempDir = await fs.mkdtemp(path.join(os.tmpdir()... | 150.021739 | 5,030 | 0.897261 |
191cc14911583e977d8dbb6518730e993a5a81b6 | 1,191 | js | JavaScript | src/router/index.js | mengmengdaliuyanzi/supermall | 274be55bb2eb60e97a7fe5ec5104f1ccc04f82d0 | [
"MIT"
] | null | null | null | src/router/index.js | mengmengdaliuyanzi/supermall | 274be55bb2eb60e97a7fe5ec5104f1ccc04f82d0 | [
"MIT"
] | null | null | null | src/router/index.js | mengmengdaliuyanzi/supermall | 274be55bb2eb60e97a7fe5ec5104f1ccc04f82d0 | [
"MIT"
] | null | null | null | import Vue from 'vue'
import VueRouter from 'vue-router'
import Home from '../views/Home'
Vue.use(VueRouter)
//解决重复点击报错
const originalPush = VueRouter.prototype.push
VueRouter.prototype.push = function push(location) {
return originalPush.call(this, location).catch((err) => err)
}
const originalReplace = VueRouter... | 24.8125 | 81 | 0.667506 |
191d92aaf7dc2be3be2e6e584d4d68de05484e2f | 307 | js | JavaScript | _conf/test_config.template.js | mganeko/tts_googlehome | 5fb6bd335b33994217623588c0266adc8c6b0735 | [
"MIT"
] | null | null | null | _conf/test_config.template.js | mganeko/tts_googlehome | 5fb6bd335b33994217623588c0266adc8c6b0735 | [
"MIT"
] | null | null | null | _conf/test_config.template.js | mganeko/tts_googlehome | 5fb6bd335b33994217623588c0266adc8c6b0735 | [
"MIT"
] | null | null | null | 'use strict';
module.exports =
{
// --- for altair ---
deviceConfig: {
TEST_DEVICE1_HOSTNAME: 'device1.local', // test device 1 (Please modify)
TEST_DEVICE2_HOSTNAME: 'device2.local', // test device 2 (Please modify)
TEST_DEVICE_NG_HOSTNAME: 'dummy.local', // dummy, not exist device
}
} | 25.583333 | 76 | 0.674267 |
191ded432816cf2cdbb16f15f33a5b15bff88bb1 | 331 | js | JavaScript | index.js | quincinia/Full-Stack-Open-part-4 | 2051ebce6447b81318c8b1604f4a06a9598ab562 | [
"MIT"
] | null | null | null | index.js | quincinia/Full-Stack-Open-part-4 | 2051ebce6447b81318c8b1604f4a06a9598ab562 | [
"MIT"
] | null | null | null | index.js | quincinia/Full-Stack-Open-part-4 | 2051ebce6447b81318c8b1604f4a06a9598ab562 | [
"MIT"
] | null | null | null | // External dependencies
const http = require('http')
// Custom modules
const app = require('./app')
const config = require('./utils/config')
const logger = require('./utils/logger')
// Begin app
const server = http.createServer(app)
server.listen(config.PORT, () => {
logger.info(`Server running on port ${config... | 23.642857 | 56 | 0.688822 |
191e57b3d2a8cc18960ef4053e66ce5375b40d6d | 1,412 | js | JavaScript | src/components/Contact.js | ScotteRoberts/ScotteRoberts.github.io | 3319b2249007dbca5f0ad50e5ab1e45f1849a7a9 | [
"MIT"
] | null | null | null | src/components/Contact.js | ScotteRoberts/ScotteRoberts.github.io | 3319b2249007dbca5f0ad50e5ab1e45f1849a7a9 | [
"MIT"
] | 30 | 2019-02-21T04:54:05.000Z | 2022-03-23T01:52:50.000Z | src/components/Contact.js | ScotteRoberts/ScotteRoberts.github.io | 3319b2249007dbca5f0ad50e5ab1e45f1849a7a9 | [
"MIT"
] | null | null | null | import React from 'react';
import scottRobertsIcon from '../assets/img/scott_roberts_icon_wedding.png';
import '../styles/contacts.scss';
const Contact = () => (
<section id="contact">
<img src={scottRobertsIcon} alt="A handsome man" />
<div>
<h2>Contact Information</h2>
<div>
<a
... | 26.641509 | 76 | 0.530453 |
191f089269dec5ed493e34c4e1a86a21310144fa | 210 | js | JavaScript | client/src/redux/reducer/coordsReducer.js | Decidophobia/Gorki-Lavo4ki | 50d3d62f16d6a7ed18b9054c30c5ad0193d2b03b | [
"MIT"
] | 1 | 2020-11-23T09:50:25.000Z | 2020-11-23T09:50:25.000Z | client/src/redux/reducer/coordsReducer.js | Decidophobia/Gorki-Lavo4ki | 50d3d62f16d6a7ed18b9054c30c5ad0193d2b03b | [
"MIT"
] | null | null | null | client/src/redux/reducer/coordsReducer.js | Decidophobia/Gorki-Lavo4ki | 50d3d62f16d6a7ed18b9054c30c5ad0193d2b03b | [
"MIT"
] | 3 | 2020-11-30T07:15:47.000Z | 2021-01-13T11:35:23.000Z | import {GET_COORDS} from '../actionTypes';
export const coordsReducer = (state =[], action) => {
switch (action.type) {
case GET_COORDS:
return action.payload
default:
return state
}
}
| 19.090909 | 53 | 0.633333 |
19222c9e99fcf09338d864ea1e8d56f48dac6a2c | 1,251 | js | JavaScript | gatsby-config.js | SebastianE-dev/sandra | 5dd523a2a5a407129210738198b9e2b2c72d9498 | [
"MIT"
] | null | null | null | gatsby-config.js | SebastianE-dev/sandra | 5dd523a2a5a407129210738198b9e2b2c72d9498 | [
"MIT"
] | null | null | null | gatsby-config.js | SebastianE-dev/sandra | 5dd523a2a5a407129210738198b9e2b2c72d9498 | [
"MIT"
] | null | null | null | /**
* Configure your Gatsby site with this file.
*
* See: https://www.gatsbyjs.org/docs/gatsby-config/
*/
module.exports = {
siteMetadata: {
title: "Sandra",
description: "be a freelancer",
develop: "Sebastian E",
siteUrl: "https://sebastiane-dev.github.io/sandra",
},
pathPrefix: `/sandra`,
... | 19.246154 | 61 | 0.514788 |
1923611c1965d438b9b3e8f2e24300cb764d998b | 210 | js | JavaScript | test/electron-tests/page-preload.js | pyeongoh5/electron-common-ipc | 3c5fb3f736fe559e6684c9f5d7357168ce8bfcb8 | [
"MIT"
] | null | null | null | test/electron-tests/page-preload.js | pyeongoh5/electron-common-ipc | 3c5fb3f736fe559e6684c9f5d7357168ce8bfcb8 | [
"MIT"
] | null | null | null | test/electron-tests/page-preload.js | pyeongoh5/electron-common-ipc | 3c5fb3f736fe559e6684c9f5d7357168ce8bfcb8 | [
"MIT"
] | null | null | null | const electronCommonIpcModule = require('../..');
electronCommonIpcModule.PreloadElectronCommonIpc();
console.log(`IsElectronCommonIpcAvailable=${electronCommonIpcModule.IsElectronCommonIpcAvailable()}`);
| 42 | 103 | 0.814286 |
1923d0ea730a6e403bb02f4521d2013836ae2b7d | 703 | js | JavaScript | src/api/data/spells/ColossalImpact.js | tri-chandra/ssh-bot | b26ffcc55b4d4b2fb62eae9aa7149957b3f5e9ef | [
"MIT"
] | 2 | 2019-09-08T17:22:36.000Z | 2022-03-21T23:06:18.000Z | src/api/data/spells/ColossalImpact.js | boinary/ssh-bot | b26ffcc55b4d4b2fb62eae9aa7149957b3f5e9ef | [
"MIT"
] | 1 | 2019-09-20T23:11:44.000Z | 2019-09-20T23:11:44.000Z | src/api/data/spells/ColossalImpact.js | boinary/ssh-bot | b26ffcc55b4d4b2fb62eae9aa7149957b3f5e9ef | [
"MIT"
] | 2 | 2019-09-08T19:46:13.000Z | 2019-09-09T22:46:19.000Z | import Spell from '../../models/Spell';
import Token from '../tokens';
import C from '../../models/Constants';
class ColossalImpact extends Spell {
constructor(level) {
super({
name: 'Colossal Impact',
code: 'colossalImpact',
type: C.OvertimeSpell,
tier: C.Elite,
element: C.Earth,
... | 26.037037 | 81 | 0.607397 |
1924038425a89d6293077c942e676591156a7658 | 386 | js | JavaScript | test/fixtures/multiple-roots/src/index.js | step2yeung/inspectpack | 0e332956d5268fb0421b14a9b5a317704cd424bf | [
"MIT"
] | 574 | 2016-03-28T16:06:02.000Z | 2022-03-31T13:50:39.000Z | test/fixtures/multiple-roots/src/index.js | step2yeung/inspectpack | 0e332956d5268fb0421b14a9b5a317704cd424bf | [
"MIT"
] | 137 | 2016-03-22T17:53:02.000Z | 2022-01-04T11:52:31.000Z | test/fixtures/multiple-roots/src/index.js | step2yeung/inspectpack | 0e332956d5268fb0421b14a9b5a317704cd424bf | [
"MIT"
] | 21 | 2017-04-28T01:54:37.000Z | 2022-01-02T19:25:05.000Z | /* eslint-disable no-console*/
// Aliased in with webpack config.
const { foo1 } = require("package1"); // eslint-disable-line import/no-unresolved
const { foo2 } = require("package2"); // eslint-disable-line import/no-unresolved
const { differentFoo } = require("different-foo");
console.log("foo1", foo1());
console.... | 35.090909 | 81 | 0.704663 |
1924112587f15d1f2d055032cd26f8d138846ffd | 383 | js | JavaScript | router/index.js | haoweichen/LostAndFound | a07d58a92d42db8e2a1209bf9be924496657f895 | [
"MIT"
] | 6 | 2017-06-05T13:17:48.000Z | 2021-01-08T09:37:05.000Z | router/index.js | haoweichen/LostAndFound | a07d58a92d42db8e2a1209bf9be924496657f895 | [
"MIT"
] | null | null | null | router/index.js | haoweichen/LostAndFound | a07d58a92d42db8e2a1209bf9be924496657f895 | [
"MIT"
] | 1 | 2020-01-30T11:21:40.000Z | 2020-01-30T11:21:40.000Z | var dashboardRouter = require('./dashboard');
var loginRouter = require('./login');
var registerRouter = require('./register');
var logoutRouter = require('./logout');
let configRoutes = (app) => {
app.use('/', dashboardRouter);
app.use('/login', loginRouter);
app.use('/register', registerRouter);
app.... | 29.461538 | 45 | 0.673629 |
1924eb3cdaf708eeb742b32d3e7bdcb8dab698a7 | 232 | js | JavaScript | resources/assets/js/app.js | esclapes/foodhub.es | d5a2e9cd7ef895630b639cf324aa78bc3e896823 | [
"MIT"
] | 1 | 2016-01-30T09:00:17.000Z | 2016-01-30T09:00:17.000Z | resources/assets/js/app.js | esclapes/foodhub.es | d5a2e9cd7ef895630b639cf324aa78bc3e896823 | [
"MIT"
] | null | null | null | resources/assets/js/app.js | esclapes/foodhub.es | d5a2e9cd7ef895630b639cf324aa78bc3e896823 | [
"MIT"
] | null | null | null | import Vue from 'vue';
import Vuex from 'vuex';
import Basket from './components/basket.vue';
import store from './vuex/store';
Vue.use(Vuex);
new Vue({
el: '#app',
store,
components: {
basket: Basket
}
}); | 16.571429 | 45 | 0.607759 |
1926abe909fef64efa047ba8ec437888d71d5bc9 | 135 | js | JavaScript | docs/html/search/functions_4.js | denpufa/PetFera | fbd313c5f3510edd43a93535150af46322fc5b53 | [
"MIT"
] | null | null | null | docs/html/search/functions_4.js | denpufa/PetFera | fbd313c5f3510edd43a93535150af46322fc5b53 | [
"MIT"
] | null | null | null | docs/html/search/functions_4.js | denpufa/PetFera | fbd313c5f3510edd43a93535150af46322fc5b53 | [
"MIT"
] | null | null | null | var searchData=
[
['funcionario',['Funcionario',['../class_funcionario.html#a7cd39b2c6cd2449162481a8c0e7a2429',1,'Funcionario']]]
];
| 27 | 113 | 0.748148 |
1926bfa4f29abc9fa52a8a58f14c36292c179073 | 1,227 | js | JavaScript | src/templates/post-bulletins.js | scrumptiousdev/nlnvchurch-gatsbyxwp | 3b1830d9b6930f4f766d56928ac9a1b5b6697ae7 | [
"MIT"
] | null | null | null | src/templates/post-bulletins.js | scrumptiousdev/nlnvchurch-gatsbyxwp | 3b1830d9b6930f4f766d56928ac9a1b5b6697ae7 | [
"MIT"
] | null | null | null | src/templates/post-bulletins.js | scrumptiousdev/nlnvchurch-gatsbyxwp | 3b1830d9b6930f4f766d56928ac9a1b5b6697ae7 | [
"MIT"
] | null | null | null | import React, { Component } from 'react'
import PropTypes from 'prop-types'
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'
import { faChevronLeft } from '@fortawesome/free-solid-svg-icons'
import Layout from '../components/Layout'
import BulletinCard from '../components/BulletinCard'
class BulletinsP... | 31.461538 | 136 | 0.658517 |
1926cd7fc5d0410b485c9d3159d6e701f15fbeed | 1,335 | js | JavaScript | src/data/header-banner.js | github-clonner/pride-london-app | b0001117deab7b47c8717c59826ae2010eb89236 | [
"MIT"
] | 90 | 2018-02-18T10:58:27.000Z | 2022-01-19T08:11:21.000Z | src/data/header-banner.js | github-clonner/pride-london-app | b0001117deab7b47c8717c59826ae2010eb89236 | [
"MIT"
] | 445 | 2018-02-08T11:44:58.000Z | 2019-02-20T08:31:21.000Z | src/data/header-banner.js | github-clonner/pride-london-app | b0001117deab7b47c8717c59826ae2010eb89236 | [
"MIT"
] | 26 | 2018-02-12T17:25:40.000Z | 2020-12-13T10:21:34.000Z | // @flow
import * as decode from "../lib/decode";
import type { Decoder } from "../lib/decode";
import type { FieldRef } from "./field-ref";
import decodeFieldRef from "./field-ref";
export type HeaderBanner = {
// important to keep this at the top level so type refinement works
contentType: "headerBanner",
id: ... | 30.340909 | 80 | 0.650936 |
192a113eada0d539b088a9777dc13387cca67db9 | 404 | js | JavaScript | bin/discover-and-build-models.js | history-map/history-map-api | 13149d8308c9d2e4f369982a10f86403ddb4d570 | [
"MIT"
] | null | null | null | bin/discover-and-build-models.js | history-map/history-map-api | 13149d8308c9d2e4f369982a10f86403ddb4d570 | [
"MIT"
] | null | null | null | bin/discover-and-build-models.js | history-map/history-map-api | 13149d8308c9d2e4f369982a10f86403ddb4d570 | [
"MIT"
] | null | null | null | var path = require('path');
var app = require(path.resolve(__dirname, '../server/server'));
var ds = app.datasources.mapDS;
ds.discoverAndBuildModels('Building', {
schema: 'history-map'
},
function(err, models) {
if (err) throw err;
models.Building.find(function(err, buildings) {
if (err) throw ... | 21.263158 | 63 | 0.623762 |
192ad1219af18aca8a0d2b8808c06ff8ed732440 | 1,481 | js | JavaScript | src/javascript/app/ng-wig/ngWigEditableDirective.js | besuhoff/ngWig | 9348bbc4b3536d2ada7b895777d3801fd2d25598 | [
"MIT"
] | null | null | null | src/javascript/app/ng-wig/ngWigEditableDirective.js | besuhoff/ngWig | 9348bbc4b3536d2ada7b895777d3801fd2d25598 | [
"MIT"
] | null | null | null | src/javascript/app/ng-wig/ngWigEditableDirective.js | besuhoff/ngWig | 9348bbc4b3536d2ada7b895777d3801fd2d25598 | [
"MIT"
] | null | null | null | angular.module('ngWig')
.directive('ngWigEditable', function () {
function init(scope, $element, attrs, ngModelController) {
var document = $element[0].ownerDocument;
$element.attr('contenteditable', true);
//model --> view
ngModelController.$render = function () {
$element.html(... | 25.534483 | 89 | 0.572586 |
192ae2deeb017063c2b36b35993d26fb3f3388f4 | 5,187 | js | JavaScript | wp-content/plugins/wp-recall/add-on/magazin/js/scripts.js | RomaniukVadim/automatic-movies-website | 9f96768757c5cb3e9d5ce2902e321cd47cea8885 | [
"WTFPL"
] | null | null | null | wp-content/plugins/wp-recall/add-on/magazin/js/scripts.js | RomaniukVadim/automatic-movies-website | 9f96768757c5cb3e9d5ce2902e321cd47cea8885 | [
"WTFPL"
] | null | null | null | wp-content/plugins/wp-recall/add-on/magazin/js/scripts.js | RomaniukVadim/automatic-movies-website | 9f96768757c5cb3e9d5ce2902e321cd47cea8885 | [
"WTFPL"
] | 5 | 2018-06-11T23:25:02.000Z | 2022-03-27T23:49:04.000Z | /* Удаляем заказ пользователя в корзину */
function rcl_trash_order(e,data){
jQuery('#manage-order, table.order-data').remove();
jQuery('.redirectform').html(data.result);
}
/* Увеличиваем количество товара в большой корзине */
function rcl_cart_add_product(e){
rcl_preloader_show('#cart-form... | 37.05 | 109 | 0.51899 |
192ae55476dcbf903ba55317a2ddc5a04d9446d1 | 705 | js | JavaScript | src/components/video_list_item.js | suemcnab/react-youtube-pxn-open | bb0d51c2077f679a0d1ba409dca94c63d78f9669 | [
"Unlicense"
] | null | null | null | src/components/video_list_item.js | suemcnab/react-youtube-pxn-open | bb0d51c2077f679a0d1ba409dca94c63d78f9669 | [
"Unlicense"
] | null | null | null | src/components/video_list_item.js | suemcnab/react-youtube-pxn-open | bb0d51c2077f679a0d1ba409dca94c63d78f9669 | [
"Unlicense"
] | null | null | null | import React from 'react';
import Moment from 'moment';
import { Grid } from 'semantic-ui-react';
const VideoListItem = ({video, onVideoSelect}) => {
const imageUrl = video.snippet.thumbnails.default.url
const pubTime = Moment(video.snippet.publishedAt).format('DD-MM-YYYY, h:mm:ss a')
return (
<Grid.Column clas... | 32.045455 | 82 | 0.69078 |
192b826828cf6d669ed3f406eec1bf0fe86196ea | 69,378 | js | JavaScript | assets/js/prism.js | stephannv/Dawn | 2cedd2c761dda9412ba38bdf5a9834c1007e77cb | [
"MIT"
] | null | null | null | assets/js/prism.js | stephannv/Dawn | 2cedd2c761dda9412ba38bdf5a9834c1007e77cb | [
"MIT"
] | null | null | null | assets/js/prism.js | stephannv/Dawn | 2cedd2c761dda9412ba38bdf5a9834c1007e77cb | [
"MIT"
] | null | null | null | /* PrismJS 1.23.0
https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javascript+bash+clojure+coffeescript+crystal+docker+elixir+erb+gdscript+git+go+graphql+handlebars+ignore+java+json+latex+liquid+lua+markdown+markup-templating+plsql+pug+python+jsx+ruby+rust+sass+scss+sql+swift+typescript+yaml */... | 1,734.45 | 7,155 | 0.605869 |
192c5e86aaf590c6a145094279b32fb932ec0823 | 788 | js | JavaScript | services/blueprint/accessMqttCredentials.js | mattotodd/the-beach | b04300096179483ac5a14e290c0aa7bf72822371 | [
"MIT"
] | null | null | null | services/blueprint/accessMqttCredentials.js | mattotodd/the-beach | b04300096179483ac5a14e290c0aa7bf72822371 | [
"MIT"
] | null | null | null | services/blueprint/accessMqttCredentials.js | mattotodd/the-beach | b04300096179483ac5a14e290c0aa7bf72822371 | [
"MIT"
] | null | null | null | var when = require("when");
var request = require('request');
var getApiRoot = require('../../config').getApiRoot;
var BLUEPRINT_BASE_URL = getApiRoot('xively.services.blueprint');
var createMqttCredentials = function(accountId, jwt, entityType, entityId){
return when.promise(function(resolve) {
request.po... | 26.266667 | 75 | 0.588832 |
192dbd907c6ca6108a52d61aa3340e555426f438 | 443 | js | JavaScript | src/components/Chart/Chart.js | JahanU/expense-tracker | 7cf4173a1cb5799c9319f02b8a9401dfc4d152b1 | [
"MIT"
] | 1 | 2022-02-26T20:46:08.000Z | 2022-02-26T20:46:08.000Z | src/components/Chart/Chart.js | JahanU/expense-tracker | 7cf4173a1cb5799c9319f02b8a9401dfc4d152b1 | [
"MIT"
] | null | null | null | src/components/Chart/Chart.js | JahanU/expense-tracker | 7cf4173a1cb5799c9319f02b8a9401dfc4d152b1 | [
"MIT"
] | null | null | null | import './Chart.css';
import ChartBar from './ChartBar';
function Chart(props) {
return (
<div className='chart'>
{props.dataPoints.map((month) => (
<ChartBar
key={month.id}
value={month.value}
maxValue={props.maxValue}... | 22.15 | 46 | 0.437923 |
192e304278e8216a395d59249f0dcac861c463c6 | 2,009 | js | JavaScript | docs/dev/sample-plugin/lib/open-sidecar.js | rvennam/kui | cee9c6f78a3df0698b5bb02cb48331908f5243e5 | [
"Apache-2.0"
] | null | null | null | docs/dev/sample-plugin/lib/open-sidecar.js | rvennam/kui | cee9c6f78a3df0698b5bb02cb48331908f5243e5 | [
"Apache-2.0"
] | null | null | null | docs/dev/sample-plugin/lib/open-sidecar.js | rvennam/kui | cee9c6f78a3df0698b5bb02cb48331908f5243e5 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2017 IBM Corporation
*
* 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 or agreed to ... | 35.875 | 123 | 0.703335 |
192ed58c0ba7e3a3a3dea43eb95329dbc16fe9d8 | 230 | js | JavaScript | food-online/src/state/store/index.js | april5622/ordering-food-online | 41a7b411c6be5214d7d66e34c8c445f81bb167df | [
"MIT"
] | null | null | null | food-online/src/state/store/index.js | april5622/ordering-food-online | 41a7b411c6be5214d7d66e34c8c445f81bb167df | [
"MIT"
] | null | null | null | food-online/src/state/store/index.js | april5622/ordering-food-online | 41a7b411c6be5214d7d66e34c8c445f81bb167df | [
"MIT"
] | null | null | null | import { createStore, applyMiddleware } from "redux";
import thunkMiddleware from "redux-thunk";
import Reducer from "../reducer/index";
const store = createStore(Reducer, applyMiddleware(thunkMiddleware));
export default store; | 32.857143 | 69 | 0.786957 |
193038debb6659f97009e56091cb0554e8500d60 | 1,822 | js | JavaScript | js/db.js | azwar75/azwar75.github.io | 638b8228ff67525e1f75b077a437c51818ef2b13 | [
"MIT"
] | null | null | null | js/db.js | azwar75/azwar75.github.io | 638b8228ff67525e1f75b077a437c51818ef2b13 | [
"MIT"
] | null | null | null | js/db.js | azwar75/azwar75.github.io | 638b8228ff67525e1f75b077a437c51818ef2b13 | [
"MIT"
] | null | null | null | const dbPromised = idb.open("seputar-bola", 1, function(upgradeDb) {
const teamsObjectStore = upgradeDb.createObjectStore("teams", {
keyPath: "id"
});
});
function saveForLater(team) {
dbPromised
.then(function(db) {
const tx = db.transaction("teams", "readwrite");
const store = tx.o... | 25.305556 | 68 | 0.576839 |
1930b862c429c202c6f09ef4ad3db0fdc91a9cdb | 364 | js | JavaScript | lib/requiredGtmFields.js | Konsumentverket/visitor-statistics-to-sdg | a5842e8cdf73cad26800bff229c2eb4c5a8feb5b | [
"Apache-2.0"
] | null | null | null | lib/requiredGtmFields.js | Konsumentverket/visitor-statistics-to-sdg | a5842e8cdf73cad26800bff229c2eb4c5a8feb5b | [
"Apache-2.0"
] | 1 | 2020-11-18T08:27:43.000Z | 2020-11-18T08:27:43.000Z | lib/requiredGtmFields.js | Konsumentverket/visitor-statistics-to-sdg | a5842e8cdf73cad26800bff229c2eb4c5a8feb5b | [
"Apache-2.0"
] | null | null | null | const moment = require("moment");
/**
* requiredGtmFields The fields that are required to be collected from GTM to meet SDG requirements
*/
module.exports = {
hostName: "ga:hostname",
deviceCategory: "ga:deviceCategory",
pagePath: "ga:pagePath",
countryIsoCode: "ga:countryIsoCode",
uniquePageview... | 28 | 99 | 0.708791 |
1931614fac76aa9b3a0b5333d5106c1fbf195bff | 3,378 | js | JavaScript | src/views/madara/situationMap/map-data/get-city-value.js | Freankll/vue-cli-3.0 | 9b58516679c33bf2e7fc163485756c6ad692bf35 | [
"MIT"
] | null | null | null | src/views/madara/situationMap/map-data/get-city-value.js | Freankll/vue-cli-3.0 | 9b58516679c33bf2e7fc163485756c6ad692bf35 | [
"MIT"
] | null | null | null | src/views/madara/situationMap/map-data/get-city-value.js | Freankll/vue-cli-3.0 | 9b58516679c33bf2e7fc163485756c6ad692bf35 | [
"MIT"
] | null | null | null | export const CSValue = [
{name: '天心区', count: 327, money: 244, alert: 80,},
{name: '芙蓉区', count: 436, money: 300, alert: 70},
{name: '开福区', count: 545, money: 400, alert: 100},
{name: '岳麓区', count: 293, money: 200, alert: 90},
{name: '雨花区', count: 357, money: 238, alert: 120},
{name: '长沙县', coun... | 22.078431 | 55 | 0.479278 |
1931b661e7a2733cf0d39a882000169863768f09 | 1,011 | js | JavaScript | src/components/main/tags.js | zhougonglai/jackblog-react-redux | c169ce5ae62580fe7b255e410f49fed3cc74fb4a | [
"MIT"
] | 1 | 2020-07-23T16:36:51.000Z | 2020-07-23T16:36:51.000Z | src/components/main/tags.js | zhougonglai/jackblog-react-redux | c169ce5ae62580fe7b255e410f49fed3cc74fb4a | [
"MIT"
] | 1 | 2019-09-09T07:17:11.000Z | 2019-09-09T07:17:11.000Z | src/components/main/tags.js | zanjs/julian-react-redux | b672df8fe509696abbff188381602c7113163737 | [
"MIT"
] | null | null | null | import React,{Component,PropTypes} from 'react'
import tiny from '../../assets/images/tiny.gif'
//列表View
export default class Tags extends Component{
render(){
const {options,changeSort,isFetching,tagList} = this.props
return (
<ul className="sort-tags list-unstyled clearfix">
<li>
<a className={(opt... | 31.59375 | 168 | 0.588526 |
1931c9dfcb3fc52d7298fc3d5b9ad94046b19468 | 1,027 | js | JavaScript | Fundamentos/strings.js | GabrielCarneiroDEV/JavaScript-DesenvovilmentoWeb | 64387b5b044a69325c02f898aa1cce5710f61489 | [
"MIT"
] | null | null | null | Fundamentos/strings.js | GabrielCarneiroDEV/JavaScript-DesenvovilmentoWeb | 64387b5b044a69325c02f898aa1cce5710f61489 | [
"MIT"
] | null | null | null | Fundamentos/strings.js | GabrielCarneiroDEV/JavaScript-DesenvovilmentoWeb | 64387b5b044a69325c02f898aa1cce5710f61489 | [
"MIT"
] | null | null | null | // pode ser usado aspas duplas, aspas simples ou crase
// a função charAt pode ser utilizada para mostrar um determinado caractere dentro da string. Assim como em uma array o indice tem inicio em 0.
const nome = "Gabriel"
console.log(nome.charAt(0));
// a função charCodeAt busca o código relacionado ao caractere ... | 27.026316 | 144 | 0.737098 |
193328016542a6d80e06018a5a806e54abe34249 | 1,090 | js | JavaScript | examples/addition.js | twitterdev/serverless-flow-framework | 3d064774bb54c23b82a359b9153fecf3296070eb | [
"Apache-2.0"
] | 2 | 2021-08-19T08:40:53.000Z | 2021-08-31T05:34:51.000Z | examples/addition.js | twitterdev/serverless-flow-framework | 3d064774bb54c23b82a359b9153fecf3296070eb | [
"Apache-2.0"
] | null | null | null | examples/addition.js | twitterdev/serverless-flow-framework | 3d064774bb54c23b82a359b9153fecf3296070eb | [
"Apache-2.0"
] | null | null | null | // Copyright 2021 Twitter, Inc.
// SPDX-License-Identifier: Apache-2.0
// Create a data flow named "add". This flow generates
// two random numbers and adds them together.
//
// You can run this flow from the root folder (..) by
// running the command:
//
// ./seff run examples/additions.js add
//
add = seff
// T... | 24.222222 | 54 | 0.609174 |
19340968623dea6136e1909aa15346cd42a6e34f | 192 | js | JavaScript | test/fixtures/apps/jwt-router-middleware/app/controller/success.js | virtoolswebplayer/egg-jwt | 0934e71b60e5643657e83a8249b5f54cab711ddc | [
"MIT"
] | 264 | 2016-10-18T09:52:38.000Z | 2022-03-20T05:11:57.000Z | test/fixtures/apps/jwt-router-middleware/app/controller/success.js | virtoolswebplayer/egg-jwt | 0934e71b60e5643657e83a8249b5f54cab711ddc | [
"MIT"
] | 54 | 2017-05-27T03:10:06.000Z | 2022-03-20T10:35:00.000Z | test/fixtures/apps/jwt-router-middleware/app/controller/success.js | virtoolswebplayer/egg-jwt | 0934e71b60e5643657e83a8249b5f54cab711ddc | [
"MIT"
] | 38 | 2017-06-15T15:03:49.000Z | 2022-03-23T13:20:27.000Z | 'use strict';
module.exports = app => {
class SuccessController extends app.Controller {
* index() {
this.ctx.body = this.ctx.state.user;
}
}
return SuccessController;
};
| 17.454545 | 50 | 0.635417 |
1934ae12b81906a4f9a22ed56d8e132a50cf847e | 118 | js | JavaScript | src/containers/index.js | happya/tupl-ui | c8b1565e13fd2e93b2fa0bd73b72b21c808be2b8 | [
"MIT"
] | null | null | null | src/containers/index.js | happya/tupl-ui | c8b1565e13fd2e93b2fa0bd73b72b21c808be2b8 | [
"MIT"
] | null | null | null | src/containers/index.js | happya/tupl-ui | c8b1565e13fd2e93b2fa0bd73b72b21c808be2b8 | [
"MIT"
] | null | null | null | import DefaultLayout from './DefaultLayout';
import CusLayout from './CusLayout'
export { DefaultLayout, CusLayout };
| 29.5 | 44 | 0.779661 |
1935b9f650e8efbb9c0c539efa2014f15295d179 | 432 | js | JavaScript | src/pages/contact.js | mwangiKibui/gatsby-blo | 470843638cc5cab5731b3d0722c6b3a7dc6924e4 | [
"MIT"
] | null | null | null | src/pages/contact.js | mwangiKibui/gatsby-blo | 470843638cc5cab5731b3d0722c6b3a7dc6924e4 | [
"MIT"
] | 6 | 2021-05-10T13:57:32.000Z | 2022-02-26T17:47:04.000Z | src/pages/contact.js | mwangiKibui/gatsby-blog | 470843638cc5cab5731b3d0722c6b3a7dc6924e4 | [
"MIT"
] | null | null | null | import React from 'react'
import {Link} from "gatsby"
import Layout from "../components/layout";
import Head from '../components/head';
const Contact = () => {
return (
<div>
<Head title="contact"/>
<Layout>
<h1>Contact</h1>
<p> reach me on<Link t... | 27 | 77 | 0.520833 |
193616541abea6b67a718dfa38bea3cdee220bc7 | 884 | js | JavaScript | routes/clickStreamStatistics.js | abskr82/quizRT4 | 10bb2bdd51b5d9a18f2b075be35a3dbf02fb0c07 | [
"Apache-2.0"
] | null | null | null | routes/clickStreamStatistics.js | abskr82/quizRT4 | 10bb2bdd51b5d9a18f2b075be35a3dbf02fb0c07 | [
"Apache-2.0"
] | null | null | null | routes/clickStreamStatistics.js | abskr82/quizRT4 | 10bb2bdd51b5d9a18f2b075be35a3dbf02fb0c07 | [
"Apache-2.0"
] | null | null | null | var userAnalytics=require('../models/userAnalytics'),
userAnalyticsSave = function(data,type){
var isCorrect=data.ans=='correct'? true:false,
analyticsObj=
{
'tournamentId': 'null',
'userId': data.userId,
'questionId': data.questionId,
'topicId': ... | 30.482759 | 65 | 0.570136 |
19363290e82e49e977b695339c1f80946ddcd82c | 4,716 | js | JavaScript | src/plugins/Mockstar.js | matmanjs/devops-web-test | eb37e3fc71098488bb726afeb6616383ffd65cfb | [
"MIT"
] | null | null | null | src/plugins/Mockstar.js | matmanjs/devops-web-test | eb37e3fc71098488bb726afeb6616383ffd65cfb | [
"MIT"
] | null | null | null | src/plugins/Mockstar.js | matmanjs/devops-web-test | eb37e3fc71098488bb726afeb6616383ffd65cfb | [
"MIT"
] | null | null | null | const util = require('../util');
const businessProcessHandler = require('../business/process-handler');
const businessLocalCache = require('../business/local-cache');
const BasePlugin = require('./BasePlugin');
class PluginMockstar extends BasePlugin {
constructor(name, opts = {}) {
super(name || 'pluginM... | 24.435233 | 89 | 0.539652 |
1937d1284878f600e9dbfdf1997fe14f99894ba0 | 215 | js | JavaScript | kodea/HTML5_aurreratua_ariketak/1.gaia/skriptak/gizaki.js | Bingentzio/bingentzio.github.io | caf7533a1f92c7fa04d1a201ad26c9ce673bd4fb | [
"MIT"
] | null | null | null | kodea/HTML5_aurreratua_ariketak/1.gaia/skriptak/gizaki.js | Bingentzio/bingentzio.github.io | caf7533a1f92c7fa04d1a201ad26c9ce673bd4fb | [
"MIT"
] | null | null | null | kodea/HTML5_aurreratua_ariketak/1.gaia/skriptak/gizaki.js | Bingentzio/bingentzio.github.io | caf7533a1f92c7fa04d1a201ad26c9ce673bd4fb | [
"MIT"
] | null | null | null | var Gizaki = function Gizaki(izena){
var indarra = 70;
var osasuna = 150;
Jokalari.apply(this, [izena, indarra, osasuna]);
};
Gizaki.prototype = new Jokalari();
Gizaki.prototype.constructor = Gizaki;
| 17.916667 | 50 | 0.683721 |