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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
68d4b7306eda5af72eb594f35dd436ac0ff63fac | 3,272 | js | JavaScript | frontend/micro-ui/web/micro-ui-internals/packages/modules/common/src/payments/citizen/bills/routes/bill-details/arrear-table.js | pradeepkumarcm-egov/DIGIT-Dev | d8fb601fae6d919d2386f36b36dfc7fde77ebd4f | [
"MIT"
] | 11 | 2021-04-22T13:18:00.000Z | 2021-07-13T06:24:48.000Z | frontend/micro-ui/web/micro-ui-internals/packages/modules/common/src/payments/citizen/bills/routes/bill-details/arrear-table.js | pradeepkumarcm-egov/DIGIT-Dev | d8fb601fae6d919d2386f36b36dfc7fde77ebd4f | [
"MIT"
] | null | null | null | frontend/micro-ui/web/micro-ui-internals/packages/modules/common/src/payments/citizen/bills/routes/bill-details/arrear-table.js | pradeepkumarcm-egov/DIGIT-Dev | d8fb601fae6d919d2386f36b36dfc7fde77ebd4f | [
"MIT"
] | 11 | 2021-04-14T08:24:35.000Z | 2021-07-12T04:15:09.000Z | import React from "react";
import { useTranslation } from "react-i18next";
const styles = {
root: {
width: "100%",
marginTop: "2px",
overflowX: "auto",
boxShadow: "none",
},
table: {
minWidth: 700,
backgroundColor: "rgba(250, 250, 250, var(--bg-opacity))",
},
cell: {
maxWidth: "4e... | 31.76699 | 147 | 0.438264 |
68d4ce2ed10c50059e6fa9f338834405eb3fca4b | 232,780 | js | JavaScript | web/js/b092191.js | benaata/PortfolioSymfony | 7791f53039937648427d1cda4653e03c62d7177d | [
"MIT"
] | null | null | null | web/js/b092191.js | benaata/PortfolioSymfony | 7791f53039937648427d1cda4653e03c62d7177d | [
"MIT"
] | null | null | null | web/js/b092191.js | benaata/PortfolioSymfony | 7791f53039937648427d1cda4653e03c62d7177d | [
"MIT"
] | null | null | null | /* Modernizr 2.6.2 (Custom Build) | MIT & BSD
* Build: http://modernizr.com/download/#-fontface-backgroundsize-borderimage-borderradius-boxshadow-flexbox-hsla-multiplebgs-opacity-rgba-textshadow-cssanimations-csscolumns-generatedcontent-cssgradients-cssreflections-csstransforms-csstransforms3d-csstransitions-applicati... | 98.593816 | 32,072 | 0.657221 |
68d55bcb08a94514cb217969f55159c2ef8bd468 | 5,835 | js | JavaScript | public/app/partials/menu/menu.js | mikiec84/badger | 728ccf911a26e99c808b029ba2245c0f16293de0 | [
"MIT"
] | 17 | 2015-10-28T09:12:36.000Z | 2020-07-27T11:34:49.000Z | public/app/partials/menu/menu.js | mikiec84/badger | 728ccf911a26e99c808b029ba2245c0f16293de0 | [
"MIT"
] | 2 | 2016-02-12T12:24:12.000Z | 2018-08-02T07:57:54.000Z | public/app/partials/menu/menu.js | mikiec84/badger | 728ccf911a26e99c808b029ba2245c0f16293de0 | [
"MIT"
] | 3 | 2015-12-10T06:51:02.000Z | 2019-04-12T00:59:04.000Z | 'use strict';
app.controller('Menu', ['$rootScope', '$routeParams','$scope', '$location', '$window', 'Project', 'TestPlan', 'Auth', 'isSafari','$q',
function ($rootScope, $routeParams, $scope, $location, $window, Project, TestPlan, Auth, isSafari, $q) {
$scope.isSafari = isSafari;
$scope.jira = JIR... | 35.150602 | 134 | 0.487061 |
68d7ecec99baa5fe6851c67993cbdd41e40a2468 | 694 | js | JavaScript | challenges/hardcore-functional-programming-in-javascript/01-currying/currying.js | jdnierth/javascript-coding-tests | 3dbb6016c6083b5908f2d5252251705a6cf08380 | [
"Apache-2.0"
] | null | null | null | challenges/hardcore-functional-programming-in-javascript/01-currying/currying.js | jdnierth/javascript-coding-tests | 3dbb6016c6083b5908f2d5252251705a6cf08380 | [
"Apache-2.0"
] | 5 | 2019-12-28T13:02:49.000Z | 2021-09-01T05:53:33.000Z | challenges/hardcore-functional-programming-in-javascript/01-currying/currying.js | jdnierth/javascript-coding-tests | 3dbb6016c6083b5908f2d5252251705a6cf08380 | [
"Apache-2.0"
] | null | null | null | /**
* SOME DESCRIPTION
*
* @author: Jessica Nierth
* @date: 26.03.2019
*/
function curry(fn) {
return function () {
if (fn.length > arguments.length) {
// Remember the given arguments and save them for later
var slice = Array.prototype.slice;
var args = slice.apply(... | 22.387097 | 87 | 0.54611 |
68d80214db7a38827a1197be6522a2544c63f72d | 215 | js | JavaScript | app/screens/index.js | victor6152/eJuiceCalc | 82a67aded2384069d33edee1de96d821ffe00b1f | [
"MIT"
] | 3 | 2019-01-08T13:38:51.000Z | 2019-04-20T14:44:02.000Z | app/screens/index.js | victor6152/eJuiceCalc | 82a67aded2384069d33edee1de96d821ffe00b1f | [
"MIT"
] | null | null | null | app/screens/index.js | victor6152/eJuiceCalc | 82a67aded2384069d33edee1de96d821ffe00b1f | [
"MIT"
] | null | null | null | export * from './navigation';
export * from './other';
export * from './social';
export * from './articles';
export * from './login';
export * from './theme';
export * from './calculators';
export * from './recipe'; | 26.875 | 30 | 0.632558 |
68d808c5486fe59fd574cc0db48e1193db7d7c1d | 1,021 | js | JavaScript | src/extended-repeater.js | Adam0091/basic-js | f7f9308b7d03938dedaf4cd75ccb121559b0cdae | [
"MIT"
] | null | null | null | src/extended-repeater.js | Adam0091/basic-js | f7f9308b7d03938dedaf4cd75ccb121559b0cdae | [
"MIT"
] | null | null | null | src/extended-repeater.js | Adam0091/basic-js | f7f9308b7d03938dedaf4cd75ccb121559b0cdae | [
"MIT"
] | null | null | null | const CustomError = require("../extensions/custom-error");
module.exports = function repeater( str, options) {
if(typeof(options.repeatTimes) !== 'number' || options.repeatTimes % 1 !== 0) options.repeatTimes = 1;
if(typeof(options.additionRepeatTimes) !== 'number' || options.additionRepeatTimes % 1 !== 0) options... | 34.033333 | 128 | 0.653281 |
68d864df25d025d13bbd20796a04df106612fc31 | 265 | js | JavaScript | public/assets/js/demo1/pages/custom/apps/contacts/list-columns.min.js | kithinjiDennis/IMC | 76cec60516ac37b11a4a85023d15e3ed0bb69830 | [
"MIT"
] | 3 | 2020-04-22T15:51:08.000Z | 2022-02-22T15:22:49.000Z | public/assets/js/demo1/pages/custom/apps/contacts/list-columns.min.js | kithinjiDennis/IMC | 76cec60516ac37b11a4a85023d15e3ed0bb69830 | [
"MIT"
] | 13 | 2020-03-24T18:49:24.000Z | 2022-02-18T23:30:25.000Z | public/assets/js/demo1/pages/custom/apps/contacts/list-columns.min.js | kithinjiDennis/IMC | 76cec60516ac37b11a4a85023d15e3ed0bb69830 | [
"MIT"
] | 2 | 2020-07-06T04:44:10.000Z | 2020-07-06T05:51:19.000Z | "use strict";var KTAppContactsListColumns={init:function(){new KTOffcanvas("kt_contact_aside",{overlay:!0,baseClass:"kt-app__aside",closeBy:"kt_contact_aside_close",toggleBy:"kt_subheader_mobile_toggle"})}};KTUtil.ready(function(){KTAppContactsListColumns.init()}); | 265 | 265 | 0.818868 |
68d864fce201887b61a18fc4610a75a40ab81d59 | 505 | js | JavaScript | packages/app/src/collection/getMethods/findOneAndUpdate.test.js | raicp/orionjs | 984f9be7d30d53e7e4855efae06683e3e4575151 | [
"MIT"
] | 47 | 2018-06-06T04:38:26.000Z | 2022-03-11T04:25:12.000Z | packages/app/src/collection/getMethods/findOneAndUpdate.test.js | raicp/orionjs | 984f9be7d30d53e7e4855efae06683e3e4575151 | [
"MIT"
] | 176 | 2018-09-07T18:46:52.000Z | 2022-03-31T23:15:23.000Z | packages/app/src/collection/getMethods/findOneAndUpdate.test.js | raicp/orionjs | 984f9be7d30d53e7e4855efae06683e3e4575151 | [
"MIT"
] | 33 | 2018-08-17T15:29:06.000Z | 2022-03-22T15:51:47.000Z | import Collection from '../index'
import generateId from '../../helpers/generateId'
it('updates a document without errors', async () => {
const Tests = await new Collection({name: generateId()}).await()
const docId = await Tests.insert({hello: 'world'})
const result = await Tests.findOneAndUpdate(
docId,
... | 29.705882 | 66 | 0.681188 |
68d8819041f9b1babfb6d05efe1bdc7d95bc45a2 | 68 | js | JavaScript | src/visualization/colors.js | apvilkko/retrowave-generator | f0f7f22fa8e81d9aedc23966425989d7135df01d | [
"MIT"
] | 10 | 2018-11-04T15:20:23.000Z | 2021-05-16T16:50:15.000Z | src/visualization/colors.js | apvilkko/retrowave-generator | f0f7f22fa8e81d9aedc23966425989d7135df01d | [
"MIT"
] | null | null | null | src/visualization/colors.js | apvilkko/retrowave-generator | f0f7f22fa8e81d9aedc23966425989d7135df01d | [
"MIT"
] | 1 | 2020-08-12T09:13:59.000Z | 2020-08-12T09:13:59.000Z | export default {
PINK_LIGHT: '#fdb5e3',
PINK_DARK: '#fe07d4',
}
| 13.6 | 24 | 0.647059 |
68da2306f5bcaab2ae20470050fcb8c8c22462bb | 876 | js | JavaScript | docs/index.js | 7flash/parasol | 88d688e82b917d015995bd5788680cd15a4a2f2c | [
"MIT"
] | 66 | 2018-09-05T22:59:36.000Z | 2022-03-20T19:59:36.000Z | docs/index.js | 7flash/parasol | 88d688e82b917d015995bd5788680cd15a4a2f2c | [
"MIT"
] | 14 | 2018-10-08T17:47:30.000Z | 2020-06-18T14:07:35.000Z | docs/index.js | 7flash/parasol | 88d688e82b917d015995bd5788680cd15a4a2f2c | [
"MIT"
] | 10 | 2018-09-07T01:02:46.000Z | 2022-02-07T18:09:50.000Z | var Handlebars = require('handlebars');
var template = require('./template.js');
var fs = require('fs')
module.exports = function(contracts){
for (var contract in contracts) {
contracts[contract].source = Object.keys(contracts[contract].sources)[0]
for (var func in contracts[contract].output.abi) {... | 43.8 | 111 | 0.63242 |
68da5860402e02b2e5954ca14255d024f31c8eef | 2,283 | js | JavaScript | src/components/header/newSiteAlert.js | fu4303/portfolio-bholmes-v2 | 94cda2c677db13782f20920fe1a319a91517f938 | [
"MIT"
] | 2 | 2019-05-19T00:56:14.000Z | 2019-05-19T09:43:38.000Z | src/components/header/newSiteAlert.js | fu4303/portfolio-bholmes-v2 | 94cda2c677db13782f20920fe1a319a91517f938 | [
"MIT"
] | 2 | 2021-03-09T04:01:25.000Z | 2021-05-08T21:41:44.000Z | src/components/header/newSiteAlert.js | fu4303/portfolio-bholmes-v2 | 94cda2c677db13782f20920fe1a319a91517f938 | [
"MIT"
] | 4 | 2018-09-24T20:28:07.000Z | 2019-12-28T00:53:27.000Z | import React from 'react'
import styled from 'styled-components'
import { Icon } from '../icon'
const Styled = {
AlertIcon: styled.div`
border-radius: 50%;
background: white;
margin-right: 3rem;
position: relative;
width: 5rem;
height: 5rem;
display: flex;
justify-content: center;
... | 19.025 | 85 | 0.545335 |
68da5f6c81a57a9dac46f03006b0a539daa4f75b | 867 | js | JavaScript | service/02-stock.js | nqmt/elasticsearch101 | 16b2d215a141ad030494507c550b75e83ca9af36 | [
"MIT"
] | 1 | 2020-11-15T06:38:34.000Z | 2020-11-15T06:38:34.000Z | service/02-stock.js | nqmt/elasticsearch101 | 16b2d215a141ad030494507c550b75e83ca9af36 | [
"MIT"
] | null | null | null | service/02-stock.js | nqmt/elasticsearch101 | 16b2d215a141ad030494507c550b75e83ca9af36 | [
"MIT"
] | null | null | null | // Add this to the VERY top of the first file loaded in your app
var apm = require('elastic-apm-node').start({
// Override service name from package.json
// Allowed characters: a-z, A-Z, 0-9, -, _, and space
serviceName: 'stock',
// Set custom APM Server URL (default: http://localhost:8200)
serverUrl: 'http:... | 24.771429 | 64 | 0.679354 |
68da757f4df97af89215f45db75245ea9a14a134 | 1,666 | js | JavaScript | node_modules/oae-mediacore/lib/rest.js | GatechVIP/Hilary | 0f5a3a782871a074898c97934f04a3aa0886591a | [
"ECL-2.0"
] | 1 | 2016-10-25T18:02:36.000Z | 2016-10-25T18:02:36.000Z | node_modules/oae-mediacore/lib/rest.js | GatechVIP/Hilary | 0f5a3a782871a074898c97934f04a3aa0886591a | [
"ECL-2.0"
] | null | null | null | node_modules/oae-mediacore/lib/rest.js | GatechVIP/Hilary | 0f5a3a782871a074898c97934f04a3aa0886591a | [
"ECL-2.0"
] | null | null | null | /*!
* Copyright 2013 Apereo Foundation (AF) Licensed under the
* Educational Community 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://opensource.org/licenses/ECL-2.0
*
* Unless required by applicab... | 33.32 | 119 | 0.693277 |
68da8a599b543b4d6fd610b84e514d1378f9bade | 3,181 | js | JavaScript | build/2.e5f4acbbc84e699ff42e.chunk.js | agduyaguit/dmlc-ui | 837c196a82e8bdf84b46cd5420830ad5ea2333af | [
"MIT"
] | null | null | null | build/2.e5f4acbbc84e699ff42e.chunk.js | agduyaguit/dmlc-ui | 837c196a82e8bdf84b46cd5420830ad5ea2333af | [
"MIT"
] | null | null | null | build/2.e5f4acbbc84e699ff42e.chunk.js | agduyaguit/dmlc-ui | 837c196a82e8bdf84b46cd5420830ad5ea2333af | [
"MIT"
] | null | null | null | (window.webpackJsonp=window.webpackJsonp||[]).push([[2],{"./app/containers/ServicesPage/index.js":function(e,o,t){"use strict";t.r(o);var n,r=t("./node_modules/react/index.js"),i=t.n(r),s=t("./node_modules/react-helmet/lib/Helmet.js");t("./app/containers/ServicesPage/style.scss");function a(e,o,t,r){n||(n="function"==t... | 3,181 | 3,181 | 0.702609 |
68da90a67bd2c0750be51a53aba6947ceae916d0 | 1,004 | js | JavaScript | src/citizenapp/src/Redux/store.js | helsenorgelab/pasientdata | 69bc31db1874d113af4096ce60a2767a3e4c598b | [
"MIT"
] | null | null | null | src/citizenapp/src/Redux/store.js | helsenorgelab/pasientdata | 69bc31db1874d113af4096ce60a2767a3e4c598b | [
"MIT"
] | 1 | 2019-08-08T14:32:06.000Z | 2019-08-08T20:27:02.000Z | src/citizenapp/src/Redux/store.js | helsenorge/pasientdata2019 | 69bc31db1874d113af4096ce60a2767a3e4c598b | [
"MIT"
] | 1 | 2019-08-07T10:09:25.000Z | 2019-08-07T10:09:25.000Z | import { createStore, combineReducers, applyMiddleware, compose } from "redux";
import patientReducer from "./patientReducer";
import baseInfoReducer from "./baseInfoReducer";
import thunk from "redux-thunk";
import persistDataLocally from "./persistData";
// import {initialState} from "./patientReducer"
const reducer... | 28.685714 | 80 | 0.75498 |
68db4a8e483a86da79a2f77e77da40eecd17fa3d | 3,412 | js | JavaScript | tools/monocle-brute/lib/domain-enum.js | gabemarshall/monocular | a4e634f9d151799c3bc2d241373faf03d7018a4d | [
"MIT"
] | 1 | 2018-08-29T15:48:57.000Z | 2018-08-29T15:48:57.000Z | tools/monocle-brute/lib/domain-enum.js | gabemarshall/monocular | a4e634f9d151799c3bc2d241373faf03d7018a4d | [
"MIT"
] | 1 | 2021-01-05T02:06:59.000Z | 2021-01-05T02:06:59.000Z | tools/monocle-brute/lib/domain-enum.js | gabemarshall/monocular | a4e634f9d151799c3bc2d241373faf03d7018a4d | [
"MIT"
] | null | null | null | const { Resolver } = require("dns");
const resolver = new Resolver();
const throttledQueue = require("throttled-queue");
const fs = require("fs");
const args = require("yargs");
exports.brute = async function(target) {
let counter = 0
function uniq(arr) {
if (arr.length === 0) return arr;
arr = arr.sort(fu... | 26.866142 | 71 | 0.474795 |
68dbca89082c148c841598c32f0b908ce81691b6 | 6,671 | js | JavaScript | instano.js | laucheukhim/instano | 12a396558be2982e18eb37e43b673b8942b12726 | [
"MIT"
] | 10 | 2015-01-20T19:11:35.000Z | 2020-08-25T02:35:11.000Z | instano.js | laucheukhim/instano | 12a396558be2982e18eb37e43b673b8942b12726 | [
"MIT"
] | null | null | null | instano.js | laucheukhim/instano | 12a396558be2982e18eb37e43b673b8942b12726 | [
"MIT"
] | null | null | null | /*
* instano.js - Instant NoScript Detection
*
* authors: Antony Lau and Zbyszek Tenerowicz
* email: instano.js@gmail.com
* license : MIT
*/
var instano = (function (settings) {
"use strict";
settings || (settings = {});
settings.interval || (settings.interval = 100); // rejects 0
(settings.displaySt... | 38.33908 | 260 | 0.586719 |
68dc9d608df27866621ef4b77d30287b40cfae97 | 3,493 | js | JavaScript | atest/crystal/scripts/main.js | playday3008/Sun-and-stuff | 2fa3d14814240b2b48cf956ccbd6d98cd6cef14b | [
"WTFPL"
] | null | null | null | atest/crystal/scripts/main.js | playday3008/Sun-and-stuff | 2fa3d14814240b2b48cf956ccbd6d98cd6cef14b | [
"WTFPL"
] | null | null | null | atest/crystal/scripts/main.js | playday3008/Sun-and-stuff | 2fa3d14814240b2b48cf956ccbd6d98cd6cef14b | [
"WTFPL"
] | null | null | null | let core;
window.onload = ()=>{
let d = new Range({ width: 400, value: 0, class: `input`, min: -.6, max: .6, scale: 4, label: `Delta`, labelWidth: 120, step: .01})
// let b = new Button({n: `Random structure`, class: `go`})
core = new Core(document.querySelector('.vessel'))
document.body.appendChild(d)
// docu... | 21.561728 | 132 | 0.598626 |
68dcc3c1728f0a4f01d98b49174928a84bcc325f | 5,054 | js | JavaScript | unused/src/kbaseSimplePanel.js | eapearson/ui-common-dos | 7ecaa1310b9e975bc4260f5b433aedc21bd046ad | [
"MIT"
] | null | null | null | unused/src/kbaseSimplePanel.js | eapearson/ui-common-dos | 7ecaa1310b9e975bc4260f5b433aedc21bd046ad | [
"MIT"
] | null | null | null | unused/src/kbaseSimplePanel.js | eapearson/ui-common-dos | 7ecaa1310b9e975bc4260f5b433aedc21bd046ad | [
"MIT"
] | null | null | null | /*global
define, require
*/
/*jslint
browser: true,
white: true
*/
define([
'jquery',
'q',
'kb.runtime'
], function ($, q, R) {
'use strict';
function panelFactory(config) {
// We get a factory for making panels using the given renderer...
var renderer = config.rendere... | 36.890511 | 85 | 0.331421 |
68de7d42b50c6697a35d73533addc6fdc06b418e | 459 | js | JavaScript | test/integ/integration.test.js | FabienGreard/All-In-One | f2f4a350b415ea89c8544f992eb49b3cb54ba5e4 | [
"MIT"
] | null | null | null | test/integ/integration.test.js | FabienGreard/All-In-One | f2f4a350b415ea89c8544f992eb49b3cb54ba5e4 | [
"MIT"
] | null | null | null | test/integ/integration.test.js | FabienGreard/All-In-One | f2f4a350b415ea89c8544f992eb49b3cb54ba5e4 | [
"MIT"
] | null | null | null | const request = require('supertest'),
app = require('../../server.js');
describe('integration', () => {
it('Should render index', done => {
request(app)
.get(`/`)
.expect(200)
.end(err => {
if (err) throw err;
done();
});
});
it('Should throw a 404', done => {
re... | 19.125 | 37 | 0.45098 |
3d09371e575ddd85ab9b94e004ff95f464f8d708 | 26 | js | JavaScript | test/webpack-build.test.js | lovetingyuan/vue-flags-webpack-plugin | 0a0ee89d0512208486c0ef5e581ea41f42f37c66 | [
"MIT"
] | 1 | 2019-05-04T09:28:05.000Z | 2019-05-04T09:28:05.000Z | test/webpack-build.test.js | lovetingyuan/vue-flags-webpack-plugin | 0a0ee89d0512208486c0ef5e581ea41f42f37c66 | [
"MIT"
] | null | null | null | test/webpack-build.test.js | lovetingyuan/vue-flags-webpack-plugin | 0a0ee89d0512208486c0ef5e581ea41f42f37c66 | [
"MIT"
] | null | null | null | require('./webpack-test')
| 13 | 25 | 0.692308 |
3d0a6e6e120529f6ced067682576196b9c2f03b2 | 5,007 | js | JavaScript | app.js | yjy1663/Bike-Sharing-System | 816fe3c923dc945919f6320d28270953a8a9649e | [
"MIT"
] | null | null | null | app.js | yjy1663/Bike-Sharing-System | 816fe3c923dc945919f6320d28270953a8a9649e | [
"MIT"
] | null | null | null | app.js | yjy1663/Bike-Sharing-System | 816fe3c923dc945919f6320d28270953a8a9649e | [
"MIT"
] | null | null | null | var express = require("express");
var app = require("express")();
var http = require("http").Server(app);
var io = require("socket.io")(http);
var server_user = [];
var clients = [];
var group_leader = [];
var bike_onmap_id = {}; //free bike inventory on map for display
var bike_in_use = {}; //bikes currently in us... | 35.013986 | 119 | 0.586579 |
3d0b3cf4df5b2a1fa048ddea41a6e0af2e56f70c | 363 | js | JavaScript | src/hud/.babelrc.js | SphericalWorld/spherical-world | e4c8dd29d62011b0516e702cd8dc6356a06ce904 | [
"MIT"
] | 18 | 2018-06-02T19:31:11.000Z | 2021-04-29T06:02:36.000Z | src/hud/.babelrc.js | SphericalWorld/spherical-world | e4c8dd29d62011b0516e702cd8dc6356a06ce904 | [
"MIT"
] | 4 | 2020-06-25T17:34:14.000Z | 2021-11-19T22:42:35.000Z | src/hud/.babelrc.js | SphericalWorld/spherical-world | e4c8dd29d62011b0516e702cd8dc6356a06ce904 | [
"MIT"
] | 4 | 2018-08-27T14:31:51.000Z | 2020-09-01T12:54:19.000Z | const config = require('../../.babelrc.js');
module.exports = (api) => {
api.cache(true);
return {
...config,
plugins: config.plugins.filter(
el => el !== './common/ecs/utils/babelPlugin.js' &&
el !== '@babel/plugin-transform-react-jsx'
).concat([["@babel/plugin-transform-react-jsx", {
... | 22.6875 | 57 | 0.561983 |
3d0d7041a99694f52168ccebf119f63aa2c9c5b1 | 531 | js | JavaScript | src/chunk/pem/encode.js | christoffercarlsson/stedy | 525e174736b5c7fe588fc7d956fecc3c42311a5d | [
"Unlicense"
] | null | null | null | src/chunk/pem/encode.js | christoffercarlsson/stedy | 525e174736b5c7fe588fc7d956fecc3c42311a5d | [
"Unlicense"
] | null | null | null | src/chunk/pem/encode.js | christoffercarlsson/stedy | 525e174736b5c7fe588fc7d956fecc3c42311a5d | [
"Unlicense"
] | null | null | null | import base64Encode from '../base64/encode.js'
import { splitString } from '../utils.js'
const normalizeLabel = (label) =>
String(label).replace('-', ' ').replace(/\s+/g, ' ').trim().toUpperCase()
const encodeData = (view) => splitString(base64Encode(view), 64).join('\n')
const encode = (view, pemLabel) => {
if ... | 27.947368 | 75 | 0.627119 |
3d0f13611b4e407b1d9a11fc5848154b3ed4ee09 | 1,889 | js | JavaScript | themes/admin/javascript/tinymce/jscripts/tiny_mce/themes/advanced/langs/es_dlg.js | chguoxi/ionize | 9ddc6c1ba319923f3e424d8b0ebe3f8ccebf8b9c | [
"MIT"
] | 32 | 2015-01-31T18:27:19.000Z | 2022-01-27T10:21:49.000Z | themes/admin/javascript/tinymce/jscripts/tiny_mce/themes/advanced/langs/es_dlg.js | chguoxi/ionize | 9ddc6c1ba319923f3e424d8b0ebe3f8ccebf8b9c | [
"MIT"
] | 1 | 2019-01-18T17:17:06.000Z | 2019-01-18T17:17:06.000Z | themes/admin/javascript/tinymce/jscripts/tiny_mce/themes/advanced/langs/es_dlg.js | chguoxi/ionize | 9ddc6c1ba319923f3e424d8b0ebe3f8ccebf8b9c | [
"MIT"
] | 8 | 2015-02-16T13:24:55.000Z | 2022-01-27T10:21:53.000Z | tinyMCE.addI18n('es.advanced_dlg',{link_list:"Lista de hiperv\u00ednculos",link_is_external:"La URL que introdujo parece ser un v\u00ednculo externo, \u00bfdesea agregar el prefijo http:// necesario?",link_is_email:"La URL que introdujo parece ser una direcci\u00f3n de email, \u00bfdesea agregar el prefijo mailto: ne... | 1,889 | 1,889 | 0.832186 |
3d10a65bbe239f8890350e9760604b1177e11902 | 942 | js | JavaScript | javascript/script.js | gitter-badger/OpenBugTracker | 79acd45ec8cfe28dd0a5bc111387347ba7cb30c0 | [
"MIT"
] | null | null | null | javascript/script.js | gitter-badger/OpenBugTracker | 79acd45ec8cfe28dd0a5bc111387347ba7cb30c0 | [
"MIT"
] | null | null | null | javascript/script.js | gitter-badger/OpenBugTracker | 79acd45ec8cfe28dd0a5bc111387347ba7cb30c0 | [
"MIT"
] | null | null | null | /*
* script.js
*
* Copyright 2014 Hugo Rodrigues hugorodrigues.developer<at>outlook<dot>com
*
* This file is part of OpenBugTracker.
*
* OpenBugTracker it's a Open Source bug tracker and it's under the MIT License.
*
* JavaScript scripts used in OBT
*/
var pageLoaded = false;// Check's if the page is load... | 18.84 | 80 | 0.690021 |
3d11495dcc58f9413303d6a80e033af80375d7e4 | 1,725 | js | JavaScript | src/routes/DefaultPage/components/Default.js | nguyenphu160196/client | 0de2d4a619a4422aed886eafcba3888ac4c79cac | [
"MIT"
] | null | null | null | src/routes/DefaultPage/components/Default.js | nguyenphu160196/client | 0de2d4a619a4422aed886eafcba3888ac4c79cac | [
"MIT"
] | null | null | null | src/routes/DefaultPage/components/Default.js | nguyenphu160196/client | 0de2d4a619a4422aed886eafcba3888ac4c79cac | [
"MIT"
] | null | null | null | import React from 'react'
import PropTypes from 'prop-types'
export const Default = ({ defaultpage }) => (
<div style={{padding: 10, height: '100%'}}>
<div id="demo" className="carousel slide" data-ride="carousel" style={{height: '100%'}}>
<ul className="carousel-indicators">
<li data-target="#demo"... | 35.204082 | 92 | 0.634783 |
3d127875fa668d0111be381e7dc898ff122afd52 | 4,767 | js | JavaScript | contents/partials/payments/Paypal.js | atmulyana/expressCartMobile | 3d3414f3786126ae08b34a017cee5b8dadfd7b7e | [
"MIT"
] | 1 | 2021-10-07T13:55:00.000Z | 2021-10-07T13:55:00.000Z | contents/partials/payments/Paypal.js | atmulyana/expressCartMobile | 3d3414f3786126ae08b34a017cee5b8dadfd7b7e | [
"MIT"
] | null | null | null | contents/partials/payments/Paypal.js | atmulyana/expressCartMobile | 3d3414f3786126ae08b34a017cee5b8dadfd7b7e | [
"MIT"
] | null | null | null | /**
* expressCartMobile
* https://github.com/atmulyana/expressCartMobile
*
* @format
* @flow strict-local
*/
import React from 'react';
import {Alert, Modal} from 'react-native';
import WebView from 'react-native-webview';
import PaymentComponent from './PaymentComponent';
import routes from '../../rou... | 43.336364 | 134 | 0.498427 |
3d1283bb90a1f46b2b0c1b4e22aabe448e339fca | 1,875 | js | JavaScript | rest-api/services/database/sql.js | Mohinesh27/todoapp | 772823336475cefdbfe4fd91080502bafd0c56d3 | [
"MIT"
] | null | null | null | rest-api/services/database/sql.js | Mohinesh27/todoapp | 772823336475cefdbfe4fd91080502bafd0c56d3 | [
"MIT"
] | null | null | null | rest-api/services/database/sql.js | Mohinesh27/todoapp | 772823336475cefdbfe4fd91080502bafd0c56d3 | [
"MIT"
] | null | null | null | "use strict";
var config = require('../../config');
var log = require('../../services/logger');
var mongoose = require('mongoose');
var Sequelize = require('sequelize');
var debug = require('debug')('sql');
var Op = Sequelize.Op;
// enable only operators that you need
var operatorsAliases = {
// $and: Op.and,
... | 26.408451 | 99 | 0.627733 |
3d12851234a4290999fb7cdb3b9c40d14084aa1f | 1,989 | js | JavaScript | common/dom.js | lijyall/-tools-library | d7c4f947fd4d5049d1ba7d44e74eb3e9d9823889 | [
"MIT"
] | null | null | null | common/dom.js | lijyall/-tools-library | d7c4f947fd4d5049d1ba7d44e74eb3e9d9823889 | [
"MIT"
] | null | null | null | common/dom.js | lijyall/-tools-library | d7c4f947fd4d5049d1ba7d44e74eb3e9d9823889 | [
"MIT"
] | null | null | null | /* control class */
export function hasClass(el, cls) {
let reg = new RegExp(`(^|\\s)${cls}(\\s|$)`)
return reg.test(el.className)
}
export function addClass(el, cls) {
if (hasClass(el, cls)) {
return
}
let newCls = el.className.split(' ')
newCls.push(cls)
el.className = newCls.join... | 34.293103 | 160 | 0.535948 |
3d1526031e92b3e150358f82161270db7c7e8cbc | 9,926 | js | JavaScript | public/Home/js/vivo.highlight.animate.min.js | zishangdiewu/laravel2 | 993531cdad4c681a5a4049d27a946d76270dc009 | [
"MIT"
] | null | null | null | public/Home/js/vivo.highlight.animate.min.js | zishangdiewu/laravel2 | 993531cdad4c681a5a4049d27a946d76270dc009 | [
"MIT"
] | null | null | null | public/Home/js/vivo.highlight.animate.min.js | zishangdiewu/laravel2 | 993531cdad4c681a5a4049d27a946d76270dc009 | [
"MIT"
] | null | null | null | (function(e){function a(){r=e("#vivo-high .vivo-x9pyy"),r.size()<1||(r.index()&&(t=!1),t&&r.find("._duang").removeClass("_duang"),r.data({tweenHandle:n}))}var n={},i=null,t=!0,u=null,r=null;n.start=function(){if(!u){var e=r.find(".title ._animation");r.find("._duang").removeClass("_duang"),u=new TimelineLite,u.staggerF... | 9,926 | 9,926 | 0.684062 |
3d16936634328147c9f3e7437978fe26dc8550d3 | 287 | js | JavaScript | src/components/block/iconBlock.js | BlackAlsatian/nextjs-pwa-mcs | fa9c8ced08331a22f969148e0429e7500386d533 | [
"MIT"
] | null | null | null | src/components/block/iconBlock.js | BlackAlsatian/nextjs-pwa-mcs | fa9c8ced08331a22f969148e0429e7500386d533 | [
"MIT"
] | null | null | null | src/components/block/iconBlock.js | BlackAlsatian/nextjs-pwa-mcs | fa9c8ced08331a22f969148e0429e7500386d533 | [
"MIT"
] | null | null | null | import ParseHTML from '../../utils/parseHTML'
const IconBlock = ({
// align,
icon
}) => {
const displayIcon = icon.replace(/default:/g, '')
return (
<div className={`flex items-center justify-center`}>
{ParseHTML(displayIcon)}
</div>
)
}
export default IconBlock
| 20.5 | 56 | 0.634146 |
3d16a2a3f11909eb18a52fe99b08ade5b8a17d4d | 213 | js | JavaScript | update-dependencies.js | ferserc1/bg2e | 02f494fd7908074226958c4b3fa7a5823d40f908 | [
"MIT"
] | null | null | null | update-dependencies.js | ferserc1/bg2e | 02f494fd7908074226958c4b3fa7a5823d40f908 | [
"MIT"
] | 1 | 2020-02-11T11:32:22.000Z | 2020-02-11T11:32:22.000Z | update-dependencies.js | ferserc1/bg2e | 02f494fd7908074226958c4b3fa7a5823d40f908 | [
"MIT"
] | null | null | null |
require('./scripts/install-deps.js').install().then(() => {
require('./scripts/dependencies.js').updateDependencies()
.then(() => console.log("Done."))
.catch((err) => console.error(err));
}); | 35.5 | 61 | 0.586854 |
3d178a103b59d28c334a9b65bc237406bdfbae23 | 5,204 | js | JavaScript | App/src/features/calendar/Activity/Activity.js | fieu/dashboard-epitech | cfe8084d7d0798335cff6c853ab1c89fa5917486 | [
"MIT"
] | 29 | 2017-01-30T15:36:08.000Z | 2022-02-11T07:53:12.000Z | App/src/features/calendar/Activity/Activity.js | fieu/dashboard-epitech | cfe8084d7d0798335cff6c853ab1c89fa5917486 | [
"MIT"
] | 1 | 2017-02-04T18:08:32.000Z | 2017-02-04T18:08:32.000Z | App/src/features/calendar/Activity/Activity.js | fieu/dashboard-epitech | cfe8084d7d0798335cff6c853ab1c89fa5917486 | [
"MIT"
] | 17 | 2017-04-18T09:33:32.000Z | 2022-02-07T12:31:02.000Z | /**
* Created by desver_f on 10/03/17.
*/
import React, { Component } from 'react';
import moment from 'moment';
import { Platform, StyleSheet, View } from 'react-native';
import Icon from 'react-native-vector-icons/Ionicons';
import ENIcon from 'react-native-vector-icons/Entypo';
import { observer } from 'mobx-react... | 31.349398 | 118 | 0.553036 |
3d1a68fced721b99b801c7eedc318b5d6ed9227a | 2,701 | js | JavaScript | test/Adoption.test.js | ibraheem4/pet-shop | 5a50c11e9da1e94c9c608322e58c7b402a99e747 | [
"MIT"
] | null | null | null | test/Adoption.test.js | ibraheem4/pet-shop | 5a50c11e9da1e94c9c608322e58c7b402a99e747 | [
"MIT"
] | 6 | 2021-09-02T20:44:32.000Z | 2022-02-27T13:37:58.000Z | test/Adoption.test.js | ibraheem4/pet-shop | 5a50c11e9da1e94c9c608322e58c7b402a99e747 | [
"MIT"
] | 1 | 2021-05-13T13:59:50.000Z | 2021-05-13T13:59:50.000Z | // https://docs.openzeppelin.com/learn/writing-automated-tests
// Load dependencies
const { accounts, contract } = require("@openzeppelin/test-environment");
const { expect } = require("chai");
const assert = require("assert");
const { expectRevert } = require("@openzeppelin/test-helpers");
// Load compiled artifacts... | 38.042254 | 114 | 0.723806 |
3d1b50eccd180dbb1a97e45687e2a22542e24228 | 1,024 | js | JavaScript | public/js/zombie.js | lakhalouahid/reseaux-de-neurones-web | 26d57292c7a235dd6eac04932ce86a5aa56bc1c6 | [
"MIT"
] | null | null | null | public/js/zombie.js | lakhalouahid/reseaux-de-neurones-web | 26d57292c7a235dd6eac04932ce86a5aa56bc1c6 | [
"MIT"
] | null | null | null | public/js/zombie.js | lakhalouahid/reseaux-de-neurones-web | 26d57292c7a235dd6eac04932ce86a5aa56bc1c6 | [
"MIT"
] | null | null | null | function predict(){
let xmlhttp = new XMLHttpRequest();
xmlhttp.onreadystatechange = function() {
if (this.readyState == 4 && this.status == 200){
let response = JSON.parse(this.responseText);
console.log(response);
zombie_label = ["Sain", "Infecté"];
zombie_color = ["green", "red"];
... | 40.96 | 87 | 0.688477 |
3d1c4fb32d30c31fa64e61cf0e09f210492a218d | 543 | js | JavaScript | src/ex3_js-objects-part1/task-06.js | Daria989/external-courses | 093bada20876b77de50b25b8cfcedc60a56270a9 | [
"MIT"
] | null | null | null | src/ex3_js-objects-part1/task-06.js | Daria989/external-courses | 093bada20876b77de50b25b8cfcedc60a56270a9 | [
"MIT"
] | 4 | 2021-03-20T11:08:58.000Z | 2021-06-04T20:32:27.000Z | src/ex3_js-objects-part1/task-06.js | Daria989/external-courses | 093bada20876b77de50b25b8cfcedc60a56270a9 | [
"MIT"
] | null | null | null | function nestedClone(object) {
let newObj = {};
for (let key in object) {
if (typeof object[key] === "object" && !Array.isArray(object[key]) && object[key] !== null) {
newObj[key] = nestedClone(object[key]);
}
else if (Array.isArray(object[key])) {
... | 28.578947 | 105 | 0.473297 |
3d1c982fdc070d2902c669644b386dc068fe299b | 727 | js | JavaScript | src/line2path.js | mapbox/shape2path | 22f5e66dee8c30e25744b4c3d63b2bbb79dff2d3 | [
"MIT"
] | 1 | 2020-07-22T07:48:30.000Z | 2020-07-22T07:48:30.000Z | src/line2path.js | mapbox/shape2path | 22f5e66dee8c30e25744b4c3d63b2bbb79dff2d3 | [
"MIT"
] | null | null | null | src/line2path.js | mapbox/shape2path | 22f5e66dee8c30e25744b4c3d63b2bbb79dff2d3 | [
"MIT"
] | 1 | 2021-02-23T10:44:43.000Z | 2021-02-23T10:44:43.000Z | export default function line2path(options){
if (!options){
throw Error("You must pass options to shape2path.line()");
} else {
if (options.x1 == undefined) {
throw Error("You must pass x1 as an option to shape2path.line()");
} else if (options.x2 == undefined) {
throw Error("You must pass x2... | 40.388889 | 73 | 0.612105 |
3d1cf50a39d15abb39f5c91aaceaa24f3fdf26d5 | 2,766 | js | JavaScript | js/views/EmployeeView.js | JhonLP/crossplatform | 1c1b36da3a78c24384518dac1011ca83a5cc3bd9 | [
"MIT"
] | 1 | 2015-10-23T23:16:07.000Z | 2015-10-23T23:16:07.000Z | js/views/EmployeeView.js | CarlosQuinto/crossplatform | 1c1b36da3a78c24384518dac1011ca83a5cc3bd9 | [
"MIT"
] | null | null | null | js/views/EmployeeView.js | CarlosQuinto/crossplatform | 1c1b36da3a78c24384518dac1011ca83a5cc3bd9 | [
"MIT"
] | 1 | 2015-10-24T00:09:00.000Z | 2015-10-24T00:09:00.000Z | var EmployeeView = function(employee) {
this.initialize = function() {
this.$el = $('<div/>');
this.$el.on('click', '.add-location-btn', this.addLocation); //registramos el listener de geolocalizacion
this.$el.on('click', '.add-contact-btn', this.addToContacts); //registramos el listener de añadir ... | 38.957746 | 138 | 0.646421 |
3d1d8a54a43ef6b35996c8cbf1d11bfb4436ff35 | 493 | js | JavaScript | src/js/05form.js | Adalab/project-promo-l-module-2-team-2 | 2718e95af0d46a4e3bfd25c0edf23c25599a2bb6 | [
"MIT"
] | 2 | 2021-04-05T19:10:32.000Z | 2021-04-14T10:22:55.000Z | src/js/05form.js | saramartara/project-promo-l-module-2-team-2 | 25807fdfbb0729af3bb23a2d44b96dbd4cf49113 | [
"MIT"
] | 48 | 2021-01-19T11:39:19.000Z | 2021-02-05T16:18:50.000Z | src/js/05form.js | saramartara/project-promo-l-module-2-team-2 | 25807fdfbb0729af3bb23a2d44b96dbd4cf49113 | [
"MIT"
] | 5 | 2021-02-17T14:27:56.000Z | 2021-04-07T11:38:00.000Z | 'use strict';
const form = document.querySelector('.js-form');
function handleSubmit(ev) {
ev.preventDefault();
}
form.addEventListener('submit', handleSubmit);
function handle13Keydown(ev) {
<<<<<<< HEAD
var keyCode = event.which;
if (keyCode == 13) {
=======
var keyCode = ev.which;
if (k... | 20.541667 | 51 | 0.64503 |
3d1f4fa57b831390c34f23ab7424bf438f04f0d0 | 1,119 | js | JavaScript | App.js | icodeidea/swiftlynx-mobile-app | b2af5859759c21de071cec5a1f1cd71376ea9d2c | [
"MIT"
] | null | null | null | App.js | icodeidea/swiftlynx-mobile-app | b2af5859759c21de071cec5a1f1cd71376ea9d2c | [
"MIT"
] | null | null | null | App.js | icodeidea/swiftlynx-mobile-app | b2af5859759c21de071cec5a1f1cd71376ea9d2c | [
"MIT"
] | null | null | null | /**
* Sample React Native App
* https://github.com/facebook/react-native
*
* @format
* @flow strict-local
*/
import React, { useState } from 'react';
import type {Node} from 'react';
import {
StatusBar,
useColorScheme,
} from 'react-native';
import { NavigationContainer } from '@react-navigation/native';
im... | 21.113208 | 82 | 0.607685 |
3d20546106cf20958abafc74fd3fb54a4e8e562e | 3,311 | js | JavaScript | test/request_test.js | kxbin/yak | 4702ab9e4b2bc93da9c68afe73e52b6d505114c2 | [
"MIT"
] | 21 | 2015-10-01T13:42:08.000Z | 2022-03-26T03:38:48.000Z | test/request_test.js | kxbin/yak | 4702ab9e4b2bc93da9c68afe73e52b6d505114c2 | [
"MIT"
] | 2 | 2016-04-13T14:48:46.000Z | 2016-04-13T14:50:07.000Z | test/request_test.js | kxbin/yak | 4702ab9e4b2bc93da9c68afe73e52b6d505114c2 | [
"MIT"
] | 4 | 2016-01-24T23:46:02.000Z | 2021-09-26T06:20:11.000Z | var assert = require('assert');
var sinon = require('sinon');
var rewire = require('rewire');
var request = rewire('../lib/request');
var context = new function() {
this.attrs = { id: 5 };
this.request = request;
}
var yaySpy = sinon.spy();
var naySpy = sinon.spy();
describe('Request', function() {
describe('20... | 25.666667 | 60 | 0.462398 |
3d20d5a8f8147be80776bf130007de22ee4a0e0f | 390 | js | JavaScript | routes/auth.js | raximvodil/CRM-project | 8427b8a0c7add6efde0c946104c4bf8c4a57ec92 | [
"Apache-2.0"
] | null | null | null | routes/auth.js | raximvodil/CRM-project | 8427b8a0c7add6efde0c946104c4bf8c4a57ec92 | [
"Apache-2.0"
] | null | null | null | routes/auth.js | raximvodil/CRM-project | 8427b8a0c7add6efde0c946104c4bf8c4a57ec92 | [
"Apache-2.0"
] | null | null | null | const { Router } = require("express");
const router = Router();
const {
register,
login,
forgotPassword,
resetPassword,
} = require("../controllers/auth");
router.route("/register").post(register);
router.route("/login").post(login);
router.route("/forgotpassword").post(forgotPassword);
router.route("/pass... | 19.5 | 62 | 0.710256 |
3d21c4fee0dd10ad47157296c133d8aa8d3376df | 612 | js | JavaScript | public/js/3d-flip-book/js/libs.js | Muhammad9272/Dealzbook | 71639913d11ff347603dede056f72de273de67d1 | [
"MIT"
] | null | null | null | public/js/3d-flip-book/js/libs.js | Muhammad9272/Dealzbook | 71639913d11ff347603dede056f72de273de67d1 | [
"MIT"
] | 4 | 2021-02-02T18:00:21.000Z | 2022-02-19T01:00:41.000Z | public/flipper/js/libs.js | kjayru/revistadigital | 7041aa8622978b74533c85fd8e9b764019954ecb | [
"MIT"
] | null | null | null | const _$ = GLOBAL_LIBS.jQuery? window.jQuery: require('jquery'),
_html2canvas = GLOBAL_LIBS.html2canvas? window.html2canvas: require('html2canvas'),
_THREE = GLOBAL_LIBS.THREE? window.THREE: require('three'),
_PDFJS = GLOBAL_LIBS.PDFJS? window.PDFJS: require('pdfjs'),
_tr = (s)=> (window.ibereza... | 29.142857 | 89 | 0.648693 |
3d2264ae49d550c91fe0a76bb921b3dc85dec5db | 14,623 | js | JavaScript | docs/implementors/core/iter/traits/double_ended/trait.DoubleEndedIterator.js | bitcoinmw/rustlet | 5930bc16f5b6028dc4427036f20e8b80520dcae0 | [
"Apache-2.0"
] | null | null | null | docs/implementors/core/iter/traits/double_ended/trait.DoubleEndedIterator.js | bitcoinmw/rustlet | 5930bc16f5b6028dc4427036f20e8b80520dcae0 | [
"Apache-2.0"
] | null | null | null | docs/implementors/core/iter/traits/double_ended/trait.DoubleEndedIterator.js | bitcoinmw/rustlet | 5930bc16f5b6028dc4427036f20e8b80520dcae0 | [
"Apache-2.0"
] | 1 | 2021-12-09T05:20:23.000Z | 2021-12-09T05:20:23.000Z | (function() {var implementors = {};
implementors["arrayvec"] = [{"text":"impl<A: <a class=\"trait\" href=\"arrayvec/trait.Array.html\" title=\"trait arrayvec::Array\">Array</a>> <a class=\"trait\" href=\"https://doc.rust-lang.org/1.54.0/core/iter/traits/double_ended/trait.DoubleEndedIterator.html\" title=\"t... | 1,329.363636 | 2,880 | 0.721193 |
3d2298d4542c4c78f71f2daaf4d8a34a7869aeb3 | 1,371 | js | JavaScript | src/js/views/App.js | lmorchard/fxos-dropbox-photo-upload | 8d18a368c871ba3757c9ee456ee53503307774d1 | [
"MIT"
] | 1 | 2015-08-10T02:25:24.000Z | 2015-08-10T02:25:24.000Z | src/js/views/App.js | lmorchard/fxos-dropbox-photo-upload | 8d18a368c871ba3757c9ee456ee53503307774d1 | [
"MIT"
] | null | null | null | src/js/views/App.js | lmorchard/fxos-dropbox-photo-upload | 8d18a368c871ba3757c9ee456ee53503307774d1 | [
"MIT"
] | null | null | null | var App = require('ampersand-app');
var View = require('ampersand-view');
var ViewSwitcher = require('ampersand-view-switcher');
module.exports = View.extend({
template: `
<section class="app home">
<input type="checkbox" id="nav-trigger" class="nav-trigger" />
<label for="nav-trigger"></label>
... | 20.462687 | 68 | 0.547046 |
3d22a39af632da521e61ef56e082147bf2eaf1da | 2,301 | js | JavaScript | app/react/Connections/components/ActionButton.js | morrismukiri/uwazi | efcdb9a2d6d2f190f747c5f990d07e7a24e84a08 | [
"MIT"
] | null | null | null | app/react/Connections/components/ActionButton.js | morrismukiri/uwazi | efcdb9a2d6d2f190f747c5f990d07e7a24e84a08 | [
"MIT"
] | null | null | null | app/react/Connections/components/ActionButton.js | morrismukiri/uwazi | efcdb9a2d6d2f190f747c5f990d07e7a24e84a08 | [
"MIT"
] | null | null | null | import PropTypes from 'prop-types';
import React, {Component} from 'react';
import {connect} from 'react-redux';
import {bindActionCreators} from 'redux';
import {saveConnection, selectRangedTarget} from '../actions/actions';
import validate from 'validate.js';
export class ActionButton extends Component {
onClick... | 29.883117 | 107 | 0.677532 |
3d22afcc6f311bae1ccc5a378e75d10817cd8ada | 823 | js | JavaScript | First Project/js/source/ellipse.js | AvekvistSeffra/p5-Projects | e2c13c11d4771766f760820e232c3b1faf36289b | [
"MIT"
] | 1 | 2018-10-15T17:17:05.000Z | 2018-10-15T17:17:05.000Z | First Project/js/source/ellipse.js | AvekvistSeffra/p5-Projects | e2c13c11d4771766f760820e232c3b1faf36289b | [
"MIT"
] | null | null | null | First Project/js/source/ellipse.js | AvekvistSeffra/p5-Projects | e2c13c11d4771766f760820e232c3b1faf36289b | [
"MIT"
] | null | null | null | function Vector(x, y) {
this.x = x;
this.y = y;
this.Add = function(other) {
this.x += other.x;
this.y += other.y;
}
}
function Ellipse(x, y, width, height, colour) {
this.position = new Vector(x, y);
this.velocity = new Vector(0, 0);
this.acceleration = new Vector(0, 0);
... | 20.575 | 75 | 0.552855 |
3d24672df450a0dcca7bd98b7ea3b40cce959b3f | 14,707 | js | JavaScript | test/rules.js | KevinDoughty/zxchess | bed7064d37d04bc0d2fa73b35ef804bd7cd3fb55 | [
"MIT"
] | null | null | null | test/rules.js | KevinDoughty/zxchess | bed7064d37d04bc0d2fa73b35ef804bd7cd3fb55 | [
"MIT"
] | null | null | null | test/rules.js | KevinDoughty/zxchess | bed7064d37d04bc0d2fa73b35ef804bd7cd3fb55 | [
"MIT"
] | null | null | null | import { importFen, exportFen } from "../source/game.js";
import { everyPossiblePosition } from "../source/rules.js";
const chalk = require("chalk");
// const assert = require("assert");
// const mocha = require("mocha");
//const assert = chai.assert;
// const importFen = ZXChess.importFen;
// const exportFen = ZXChe... | 54.269373 | 135 | 0.613857 |
3d254615816d97efb3f0295fc218ab9ddd9d0d56 | 3,207 | js | JavaScript | test/core/plugins/spec/actions.js | coldbrewcloud/swagger | 4e38b4f2a8ea8507d28961a21f36641632d28fc9 | [
"Apache-2.0"
] | 399 | 2018-05-24T14:02:46.000Z | 2022-03-31T04:16:25.000Z | test/core/plugins/spec/actions.js | coldbrewcloud/swagger | 4e38b4f2a8ea8507d28961a21f36641632d28fc9 | [
"Apache-2.0"
] | 15 | 2017-05-24T15:17:06.000Z | 2017-06-29T16:54:50.000Z | test/core/plugins/spec/actions.js | coldbrewcloud/swagger | 4e38b4f2a8ea8507d28961a21f36641632d28fc9 | [
"Apache-2.0"
] | 186 | 2018-05-16T14:56:22.000Z | 2022-02-14T06:56:38.000Z | /* eslint-env mocha */
import expect, { createSpy } from "expect"
import { fromJS } from "immutable"
import { execute, executeRequest } from "corePlugins/spec/actions"
describe("spec plugin - actions", function(){
describe("execute", function(){
xit("should collect a full request and call fn.executeRequest", f... | 23.755556 | 98 | 0.547864 |
3d2609e3ecb9252f2e0b9896b09e3152571ff83a | 9,400 | js | JavaScript | src/servers/websocket.js | gil0mendes/Stellar | 6a127c2c2fce3c6c01d158457f38e431e1296c3b | [
"MIT"
] | 39 | 2016-09-30T23:33:08.000Z | 2020-03-27T04:32:07.000Z | src/servers/websocket.js | gil0mendes/Stellar | 6a127c2c2fce3c6c01d158457f38e431e1296c3b | [
"MIT"
] | 225 | 2016-07-30T15:48:46.000Z | 2021-11-10T19:08:09.000Z | src/servers/websocket.js | gil0mendes/Stellar | 6a127c2c2fce3c6c01d158457f38e431e1296c3b | [
"MIT"
] | 5 | 2016-11-06T02:37:59.000Z | 2018-12-25T17:10:06.000Z | import fs from 'fs'
import util from 'util'
import path from 'path'
import Primus from 'primus'
import UglifyJS from 'uglify-es'
import GenericServer from '../genericServer'
// server type
let type = 'websocket'
// server attributes
let attributes = {
canChat: true,
logConnections: true,
logExists: true,
send... | 26.553672 | 120 | 0.60617 |
3d268c8f8ae8ee0ad449a130f1532229c0c7b78d | 1,867 | js | JavaScript | resources/js/store/modules/auth.module.js | levanlinh1995/forum | 5f1e0a4720501e9060a766293347bf20ce8aa285 | [
"MIT"
] | null | null | null | resources/js/store/modules/auth.module.js | levanlinh1995/forum | 5f1e0a4720501e9060a766293347bf20ce8aa285 | [
"MIT"
] | null | null | null | resources/js/store/modules/auth.module.js | levanlinh1995/forum | 5f1e0a4720501e9060a766293347bf20ce8aa285 | [
"MIT"
] | null | null | null | import AppStorage from '../../helpers/AppStograge';
import route from '../../router/route';
import LaravelEcho from '../../helpers/LaravelEcho';
const state = {
token: null,
userId: null,
username: null,
}
const getters = {
token(state) {
return state.token;
},
userId(state) {
... | 23.3375 | 61 | 0.521693 |
3d28323f8bae1db3b968f97792675cd09e8c3bc3 | 319 | js | JavaScript | client/src/Eficode/Components/ItineraryEntry/ItineraryEntry.js | RoniNiklas/randomreactprojs | c5d89099883b1e9fd805c16f57558058e1f192d3 | [
"CC0-1.0"
] | null | null | null | client/src/Eficode/Components/ItineraryEntry/ItineraryEntry.js | RoniNiklas/randomreactprojs | c5d89099883b1e9fd805c16f57558058e1f192d3 | [
"CC0-1.0"
] | 2 | 2022-02-18T20:53:07.000Z | 2022-03-26T04:08:38.000Z | client/src/Eficode/Components/ItineraryEntry/ItineraryEntry.js | RoniNiklas/randomreactprojs | c5d89099883b1e9fd805c16f57558058e1f192d3 | [
"CC0-1.0"
] | null | null | null | import React from "react"
import LegEntry from "../LegEntry/LegEntry"
import "./ItineraryEntry.css"
const ItineraryEntry = ({ itinerary }) => {
return (
<>
{itinerary.legs.map((leg, index) => <LegEntry key={index} index={index} leg={leg} />)}
</>
)
}
export default ItineraryEntry
| 22.785714 | 98 | 0.60815 |
3d29232ea402cc2846e348f6b6046c0a790fd695 | 45 | js | JavaScript | code/client/src/state/modules/index.js | srstomp/one-wallet | 33b75637664cd8e6126513886d2f2ded3327b516 | [
"Apache-2.0"
] | 1 | 2021-11-26T14:50:58.000Z | 2021-11-26T14:50:58.000Z | code/client/src/state/modules/index.js | srstomp/one-wallet | 33b75637664cd8e6126513886d2f2ded3327b516 | [
"Apache-2.0"
] | null | null | null | code/client/src/state/modules/index.js | srstomp/one-wallet | 33b75637664cd8e6126513886d2f2ded3327b516 | [
"Apache-2.0"
] | 1 | 2021-11-13T14:56:18.000Z | 2021-11-13T14:56:18.000Z | export { default as wallet } from './wallet'
| 22.5 | 44 | 0.688889 |
3d296b4dbb2f1a252ab22de0e62be9f01d90e0e8 | 1,878 | js | JavaScript | src/components/BikeOptions.js | kuskoveckis/gatsby-giant-bicyles | e842b08d3f8ff418eacfe042fa7053f2a1f165c9 | [
"RSA-MD"
] | null | null | null | src/components/BikeOptions.js | kuskoveckis/gatsby-giant-bicyles | e842b08d3f8ff418eacfe042fa7053f2a1f165c9 | [
"RSA-MD"
] | null | null | null | src/components/BikeOptions.js | kuskoveckis/gatsby-giant-bicyles | e842b08d3f8ff418eacfe042fa7053f2a1f165c9 | [
"RSA-MD"
] | null | null | null | import React from "react"
import { Link } from "gatsby"
import { GatsbyImage, getImage } from "gatsby-plugin-image"
import { graphql, useStaticQuery } from "gatsby"
import "../assets/css/bikesHome.css"
import "../assets/css/hardtail.css"
const query = graphql`
{
allStrapiOption {
nodes {
price
... | 27.617647 | 74 | 0.539936 |
3d296d19ff549db055a8a6f9e1a09983b901a08a | 2,636 | js | JavaScript | test/hdfs-append-spec.js | ts-archive/hdfs-assets | cd7ee02d72781207b13e2bcdf3051a5191c3d6c9 | [
"MIT"
] | null | null | null | test/hdfs-append-spec.js | ts-archive/hdfs-assets | cd7ee02d72781207b13e2bcdf3051a5191c3d6c9 | [
"MIT"
] | 32 | 2018-08-18T00:00:17.000Z | 2021-06-15T16:26:46.000Z | test/hdfs-append-spec.js | terascope/hdfs-assets | cd7ee02d72781207b13e2bcdf3051a5191c3d6c9 | [
"MIT"
] | 1 | 2022-02-11T16:10:42.000Z | 2022-02-11T16:10:42.000Z | 'use strict';
const hdfsAppend = require('../asset/hdfs_append/index.js');
// Start out with no file errors
const appendErrors = {};
describe('The hdfs_append processor', () => {
it('properly passes a clean filename through.', () => {
const filename = '/incoming-data/2037-2-27/ts-worker.lan.42';
... | 52.72 | 92 | 0.658194 |
3d2a019bc9aeaee02cbb05e4d3bd27a76b66e433 | 4,160 | js | JavaScript | src/app/game/gameValidators.test.js | peterneely/buckets | 91060b8420dd5f3de57f23082f323fdda623cab0 | [
"MIT"
] | null | null | null | src/app/game/gameValidators.test.js | peterneely/buckets | 91060b8420dd5f3de57f23082f323fdda623cab0 | [
"MIT"
] | null | null | null | src/app/game/gameValidators.test.js | peterneely/buckets | 91060b8420dd5f3de57f23082f323fdda623cab0 | [
"MIT"
] | null | null | null | import _ from 'lodash';
import { isSizeValid, validators } from './gameValidators';
import { mergeIntoInitialState, nonPlayableState, playableState } from './fakeStoreStates';
import { toInt } from '_app/format';
const getValidator = id => validators.find(validator => validator.id == id);
describe('isSizeValid', () =... | 35.254237 | 137 | 0.629087 |
3d2c0655f0c20cdcf899cd83e81da16af0a72999 | 94,736 | js | JavaScript | client/src/pages/About.js | mosesimbahale/AUCTIONS | 31bb14889e0b8fd7b7f820c87fc0a669a2451037 | [
"Apache-2.0"
] | null | null | null | client/src/pages/About.js | mosesimbahale/AUCTIONS | 31bb14889e0b8fd7b7f820c87fc0a669a2451037 | [
"Apache-2.0"
] | null | null | null | client/src/pages/About.js | mosesimbahale/AUCTIONS | 31bb14889e0b8fd7b7f820c87fc0a669a2451037 | [
"Apache-2.0"
] | null | null | null | import React from "react";
import { Link } from "react-router-dom";
import "../App.css";
import Navbar from "../components/Navbar";
const About = () => {
return (
<>
<div className="App">
<Navbar />
<header className="App-header">
<h1 className="text-3xl ">Navigation</h1>
... | 48.211705 | 1,063 | 0.422395 |
3d2ea4ed020f87bd7ab8f84b031859ee25cd4944 | 95 | js | JavaScript | events/error.js | vlfz/whooves | 5c80ddce5aeeb9d6c8b196962e44e1d6cde1e08a | [
"MIT"
] | 6 | 2021-09-26T19:59:03.000Z | 2021-09-27T21:35:22.000Z | events/error.js | vlfz/whooves | 5c80ddce5aeeb9d6c8b196962e44e1d6cde1e08a | [
"MIT"
] | 4 | 2021-09-26T19:50:56.000Z | 2021-10-03T16:12:09.000Z | events/error.js | vlfz/whooves | 5c80ddce5aeeb9d6c8b196962e44e1d6cde1e08a | [
"MIT"
] | 1 | 2021-09-27T16:54:07.000Z | 2021-09-27T16:54:07.000Z | module.exports = (client, error) => {
client.userLib.sendLog(`Ошибка - ${error.message}`);
};
| 23.75 | 53 | 0.652632 |
3d2f0c30dc1ad2efeb3b755a11cba708bac0e630 | 68 | js | JavaScript | docs/search/pages_1.js | rodolfoviolac/qser | 031a520cf6d8adfd703cfc50df0d9b9ace41fdf3 | [
"MIT"
] | 1 | 2020-03-14T23:24:22.000Z | 2020-03-14T23:24:22.000Z | docs/search/pages_1.js | rodolfoviolac/qser | 031a520cf6d8adfd703cfc50df0d9b9ace41fdf3 | [
"MIT"
] | null | null | null | docs/search/pages_1.js | rodolfoviolac/qser | 031a520cf6d8adfd703cfc50df0d9b9ace41fdf3 | [
"MIT"
] | null | null | null | var searchData=
[
['qser_139',['QSER',['../index.html',1,'']]]
];
| 13.6 | 46 | 0.514706 |
3d324c2c358a6da328748ff0cebc44bfff0d54e3 | 3,555 | js | JavaScript | public/plugins/jscroll-master/jquery.jscroll.min.js | tantaroth/ismo.lvl | df9851873b07ad3e23c76bf400086d8a2ae69b58 | [
"MIT"
] | 2 | 2015-11-05T05:58:03.000Z | 2016-07-19T14:43:16.000Z | static/js/libs/jquery/jquery.jscroll.min.js | nherment/arkhaios | 4352e2132c750ccafeedda8dd8e103df8eef1f7d | [
"MIT"
] | null | null | null | static/js/libs/jquery/jquery.jscroll.min.js | nherment/arkhaios | 4352e2132c750ccafeedda8dd8e103df8eef1f7d | [
"MIT"
] | null | null | null | /*!
* jScroll - jQuery Plugin for Infinite Scrolling / Auto-Paging - v2.1.1
* http://jscroll.com/
*
* Copyright 2011-2013, Philip Klauzinski
* http://klauzinski.com/
* Dual licensed under the MIT and GPL Version 2 licenses.
* http://jscroll.com/#license
* http://www.opensource.org/licenses/mit-license.php
* ht... | 237 | 3,132 | 0.692827 |
3d3479ab98cd4b3a0ab3ca1faa1c4f7ddd3c0c2d | 194 | js | JavaScript | client_packages/index.js | yotewach/ragemp | a66c55dcd6dae96e07d5e1f8e7467008ff3d5d4c | [
"MIT"
] | 13 | 2017-09-18T08:42:53.000Z | 2020-09-05T16:16:03.000Z | client_packages/index.js | yotewach/ragemp | a66c55dcd6dae96e07d5e1f8e7467008ff3d5d4c | [
"MIT"
] | 28 | 2017-09-12T03:20:08.000Z | 2020-09-13T16:27:12.000Z | client_packages/index.js | yotewach/ragemp | a66c55dcd6dae96e07d5e1f8e7467008ff3d5d4c | [
"MIT"
] | 12 | 2017-10-28T08:17:10.000Z | 2020-06-07T12:46:01.000Z | require('client/index.js');
require('noclip/index.js');
require("MapEditor/MapEditor.js");
require("MapEditor/object_data.js");
require("MapEditor/Natives.js");
//# sourceMappingURL=index.js.map | 32.333333 | 36 | 0.757732 |
3d35a238ca810a5fca1df4483b50e2876e5ce3cd | 1,349 | js | JavaScript | scripts/.eslintrc.js | bt7s7k7/Vue3GUI | b1eae0c4f0c9c4259a66430b1f5231b1f7666bb3 | [
"MIT"
] | null | null | null | scripts/.eslintrc.js | bt7s7k7/Vue3GUI | b1eae0c4f0c9c4259a66430b1f5231b1f7666bb3 | [
"MIT"
] | null | null | null | scripts/.eslintrc.js | bt7s7k7/Vue3GUI | b1eae0c4f0c9c4259a66430b1f5231b1f7666bb3 | [
"MIT"
] | null | null | null | module.exports = {
root: true,
env: {
node: true
},
extends: [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended"
],
parser: "@typescript-eslint/parser",
plugins: [
"@typescript-eslint"
],
... | 30.659091 | 72 | 0.553002 |
3d35f999c6c4f77d4914ed7f27d07815cb8df8e8 | 2,340 | js | JavaScript | assets/mcstatus.js | insanity54/coolworld-simplesite | 2c764efb2ac568d9175a043d682337ab5d93a54a | [
"MIT"
] | null | null | null | assets/mcstatus.js | insanity54/coolworld-simplesite | 2c764efb2ac568d9175a043d682337ab5d93a54a | [
"MIT"
] | 1 | 2018-10-05T03:29:42.000Z | 2018-10-05T03:29:42.000Z | assets/mcstatus.js | insanity54/coolworld-simplesite | 2c764efb2ac568d9175a043d682337ab5d93a54a | [
"MIT"
] | null | null | null | function makeRequests(cb) {
//console.log('checking server! arg received: ' + template);
var res = {};
//
// GET ONLINE/OFFLINE STATUS
//
$.ajax({
url: "https://mcapi.ca/query/coolworld.servegame.com:25565/status",
dataType: "json",
timeout: 10000
})
.fail(function (err) {
... | 24.631579 | 193 | 0.571368 |
3d376937db54ffd90adbfdb63ca76fb385f334a6 | 520 | js | JavaScript | client/util/get-menu-items.js | Iftahh/sagefy | 230a5b6e77136d9b015cbf2da0948cb74f80bb6c | [
"Apache-2.0"
] | 59 | 2018-10-13T04:10:30.000Z | 2021-12-24T00:25:37.000Z | client/util/get-menu-items.js | Iftahh/sagefy | 230a5b6e77136d9b015cbf2da0948cb74f80bb6c | [
"Apache-2.0"
] | 178 | 2015-01-01T00:18:20.000Z | 2017-07-18T14:34:29.000Z | client/util/get-menu-items.js | Iftahh/sagefy | 230a5b6e77136d9b015cbf2da0948cb74f80bb6c | [
"Apache-2.0"
] | 14 | 2018-10-26T04:17:16.000Z | 2021-11-24T18:23:40.000Z | module.exports = function getMenuItems(kind, entityId) {
if (!kind || !entityId)
throw new Error('getMenuItems: Missing kind or entityId')
return [
{
href: `/${kind}/${entityId}/talk`,
icon: 'talk',
name: 'Talk',
itemProp: kind === 'subjects' ? 'discussionUrl' : undefined,
},
... | 22.608696 | 66 | 0.519231 |
3d3849fbb334f2c38082ba8818e74e8335adbe4e | 98 | js | JavaScript | resources/js/app.js | truckhang181001/SODE_Store | 28030d1175df504b3f6f766d9816ea7fb3230466 | [
"MIT"
] | null | null | null | resources/js/app.js | truckhang181001/SODE_Store | 28030d1175df504b3f6f766d9816ea7fb3230466 | [
"MIT"
] | null | null | null | resources/js/app.js | truckhang181001/SODE_Store | 28030d1175df504b3f6f766d9816ea7fb3230466 | [
"MIT"
] | null | null | null | require('./bootstrap');
require('./main');
require('./map-custom');
// require('./slick-custom');
| 19.6 | 29 | 0.622449 |
3d3b8c63074e20b48d206ef7fbcbdc065186b5af | 1,144 | js | JavaScript | src-cordova/hooks/android-before-build.js | kazemar/aktnmap | f7d6aa36e8e9053eedaad00ae845240e83796cd3 | [
"MIT"
] | 12 | 2018-09-03T22:55:45.000Z | 2022-01-23T06:47:48.000Z | src-cordova/hooks/android-before-build.js | kazemar/aktnmap | f7d6aa36e8e9053eedaad00ae845240e83796cd3 | [
"MIT"
] | 300 | 2018-05-07T07:41:38.000Z | 2022-03-28T14:04:24.000Z | src-cordova/hooks/android-before-build.js | kazemar/aktnmap | f7d6aa36e8e9053eedaad00ae845240e83796cd3 | [
"MIT"
] | 2 | 2019-11-21T10:12:15.000Z | 2021-08-03T07:07:43.000Z | module.exports = function(context) {
// Copy any build extras
console.log('Copying build extras')
var path = context.requireCordovaModule('path')
var fs = context.requireCordovaModule('fs')
fs.copyFileSync(path.join(__dirname, '..', 'build-extras.gradle'),
path.join(__dirname, '..', 'platforms', 'android', 'build... | 42.37037 | 114 | 0.701923 |
3d3c53e7a030d1a45e08096091ffc966a8f92d5d | 39 | js | JavaScript | packages/2019/08/22/index.js | antonmedv/year | ae5d8524f58eaad481c2ba599389c7a9a38c0819 | [
"MIT"
] | 7 | 2017-07-03T19:53:01.000Z | 2021-04-05T18:15:55.000Z | packages/2019/08/22/index.js | antonmedv/year | ae5d8524f58eaad481c2ba599389c7a9a38c0819 | [
"MIT"
] | 1 | 2018-09-05T11:53:41.000Z | 2018-12-16T12:36:21.000Z | packages/2019/08/22/index.js | antonmedv/year | ae5d8524f58eaad481c2ba599389c7a9a38c0819 | [
"MIT"
] | 2 | 2019-01-27T16:57:34.000Z | 2020-10-11T09:30:25.000Z | module.exports = new Date(2019, 7, 22)
| 19.5 | 38 | 0.692308 |
3d3cbee02a9ab5fe91df678546af4c9f4a38a4a3 | 1,165 | js | JavaScript | js/simulation.js | westoncb/under-game | e27e5e7be86a1004d87ae164361295e1aac73b2a | [
"MIT"
] | 105 | 2018-11-24T08:07:40.000Z | 2021-03-24T18:19:50.000Z | js/simulation.js | westoncb/under-game | e27e5e7be86a1004d87ae164361295e1aac73b2a | [
"MIT"
] | 2 | 2018-12-11T19:41:19.000Z | 2019-12-11T08:44:44.000Z | js/simulation.js | westoncb/under-game | e27e5e7be86a1004d87ae164361295e1aac73b2a | [
"MIT"
] | 6 | 2018-12-10T19:45:17.000Z | 2019-12-11T07:48:23.000Z | const StateTransformer = require('./StateTransformer.js');
const Events = require('./events.js');
/*
This Simulation StateTransformer is always running and just
manages other StateTransformers. It's responsible for swapping
StateTransformers in response to 'change_transformer' events
and calling the framework meth... | 21.981132 | 70 | 0.73133 |
3d3ce8fac3464f2ff29a66ca52ea276c4afbc4aa | 339 | js | JavaScript | server/controllers/movie.controller.js | etarzan/amon | 0371e28970f4de6538fd915cabfb6b57806d95b7 | [
"MIT"
] | 1 | 2019-12-26T17:27:21.000Z | 2019-12-26T17:27:21.000Z | server/controllers/movie.controller.js | Project-Kurama/amon | 0371e28970f4de6538fd915cabfb6b57806d95b7 | [
"MIT"
] | 6 | 2019-12-26T17:48:20.000Z | 2022-03-02T06:47:51.000Z | server/controllers/movie.controller.js | etarzan/amon | 0371e28970f4de6538fd915cabfb6b57806d95b7 | [
"MIT"
] | 1 | 2020-10-22T10:50:26.000Z | 2020-10-22T10:50:26.000Z | var Movie = require('../models/movie.model').Movie;
exports.saveMovie = function(req, res) {
var movie = new Movie(req.body);
console.log(req.body);
movie.save().then((result) => {
console.log("saved", result);
res.json(result);
});
}
exports.getMovies = function(req, res) {
res.js... | 24.214286 | 51 | 0.60472 |
3d3cfb77eaf21cc070dca1456ac5a1ca2d79af21 | 1,324 | js | JavaScript | src/services/pagination.js | griyanet/wt-read-api | 3c851bc8a51f8caca3779996fa0b3d240028f3c9 | [
"Apache-2.0"
] | null | null | null | src/services/pagination.js | griyanet/wt-read-api | 3c851bc8a51f8caca3779996fa0b3d240028f3c9 | [
"Apache-2.0"
] | 1 | 2020-09-09T10:18:54.000Z | 2020-09-09T10:18:54.000Z | src/services/pagination.js | griyanet/wt-read-api | 3c851bc8a51f8caca3779996fa0b3d240028f3c9 | [
"Apache-2.0"
] | null | null | null | const {
DEFAULT_PAGE_SIZE,
MAX_PAGE_SIZE,
} = require('../constants');
class LimitValidationError extends Error {};
class MissingStartWithError extends Error {};
const paginate = (items, limit = DEFAULT_PAGE_SIZE, startWith, itemPaginationKey) => {
limit = parseInt(limit);
if (isNaN(limit)) {
throw new Li... | 25.960784 | 86 | 0.676737 |
3d3d07baf32c08ecbe78d63cf81004a8762421d7 | 541 | js | JavaScript | lectures/subjects/Subject-01.js | dirty49374/rx-playground | 88f94dfb4990c8bd7610464e74008d8a264eaf4f | [
"MIT"
] | null | null | null | lectures/subjects/Subject-01.js | dirty49374/rx-playground | 88f94dfb4990c8bd7610464e74008d8a264eaf4f | [
"MIT"
] | null | null | null | lectures/subjects/Subject-01.js | dirty49374/rx-playground | 88f94dfb4990c8bd7610464e74008d8a264eaf4f | [
"MIT"
] | null | null | null | // Subject는 subscribe한 이후의 값을 받는다.
const subject = new Subject();
const sub1 = subject.subscribe(console('ob1'));
subject.next(1); // ob1이 받는다
const sub2 = subject.subscribe(console('ob2'));
subject.next(2); // ob1, ob2가 받는다
sub2.unsubscribe();
subject.next(3); // ob1이 받는다
sub1.unsubscribe();
subject.next(4); /... | 23.521739 | 63 | 0.676525 |
3d3e643e146c24a3c89db6bcc79f554f931755d7 | 216 | js | JavaScript | src/components/header.js | krazov/gatsby-tutorial | 11a262b1367b90221950ab4249a0eb1ccf70b9c2 | [
"MIT"
] | null | null | null | src/components/header.js | krazov/gatsby-tutorial | 11a262b1367b90221950ab4249a0eb1ccf70b9c2 | [
"MIT"
] | null | null | null | src/components/header.js | krazov/gatsby-tutorial | 11a262b1367b90221950ab4249a0eb1ccf70b9c2 | [
"MIT"
] | null | null | null | import React from 'react';
import styles from './header.css';
export default ({ content }) => (
<header className={styles.mainHeader}>
<h1 className={styles.mainHeaderH1}>{content}</h1>
</header>
); | 24 | 58 | 0.648148 |
3d3fe1d5fed4b27a1dcfcd124a7cd2be10b5427b | 896 | js | JavaScript | src/models/dlm/DifficultyLevel.js | FMISoftwareTechnologiesProject/dyslexio | bc4972cb930e5a64be6648e5571940884ad255fc | [
"MIT"
] | 1 | 2015-05-13T16:20:40.000Z | 2015-05-13T16:20:40.000Z | src/models/dlm/DifficultyLevel.js | FMISoftwareTechnologiesProject/dyslexio | bc4972cb930e5a64be6648e5571940884ad255fc | [
"MIT"
] | null | null | null | src/models/dlm/DifficultyLevel.js | FMISoftwareTechnologiesProject/dyslexio | bc4972cb930e5a64be6648e5571940884ad255fc | [
"MIT"
] | null | null | null | 'use strict';
var Dyslexio = Dyslexio || {};
Dyslexio.Models = Dyslexio.Models || {};
Dyslexio.Models.DifficultyLevel = function (level, mistakes, currentWins) {
this.level = level;
this.mistakes = mistakes;
this.currentWins = currentWins;
};
Dyslexio.Models.DifficultyLevel.prototype.getLevel = function () {
... | 25.6 | 83 | 0.753348 |
3d40f836ae44ec157f2e56ea45367fd1e24e0949 | 142 | js | JavaScript | src/demo.js | doanythingfordethklok/hugo-starter | 45b8b07ccfa9570a11963cb13e08d69e479685e9 | [
"MIT"
] | null | null | null | src/demo.js | doanythingfordethklok/hugo-starter | 45b8b07ccfa9570a11963cb13e08d69e479685e9 | [
"MIT"
] | 2 | 2021-03-09T18:52:39.000Z | 2021-09-01T23:17:44.000Z | src/demo.js | doanythingfordethklok/hugo-starter | 45b8b07ccfa9570a11963cb13e08d69e479685e9 | [
"MIT"
] | null | null | null | import demo from './elm/Demo.elm';
const el = document.getElementById('loader_demo');
if (el) {
demo.Elm.Demo.init({
node: el
});
}
| 14.2 | 50 | 0.626761 |
3d410114a7eea27392fa29772755d2c51d1e842f | 358 | js | JavaScript | back-end/Modeller/SikSorulanSorularModeli.js | irfanHasbek/mkb-andios-backend | 6948be8d694af38ff124e1960e43c6e439636f4c | [
"MIT"
] | null | null | null | back-end/Modeller/SikSorulanSorularModeli.js | irfanHasbek/mkb-andios-backend | 6948be8d694af38ff124e1960e43c6e439636f4c | [
"MIT"
] | null | null | null | back-end/Modeller/SikSorulanSorularModeli.js | irfanHasbek/mkb-andios-backend | 6948be8d694af38ff124e1960e43c6e439636f4c | [
"MIT"
] | null | null | null | var mongoose = require('mongoose');
Schema = mongoose.Schema;
var SikSorulanSorular = new Schema({
kullaniciKodu : {
type : String,
required : true
},
soru : {
type : String
},
cevap : {
type : String
}
});
module.exports = mongoose.model('sikSorul... | 17.047619 | 79 | 0.572626 |
3d411df38c8aaeb4410ab0fd594717283cbe91b5 | 155 | js | JavaScript | node_modules/mathjax-full/components/src/output/svg/lib/output/svg/Wrappers/scriptbase.js | NishadPatilMuzero/react-native-math-view-customize | da801083993bd6fc4fe236e360f98428fb01c312 | [
"MIT"
] | 4 | 2021-02-06T22:36:36.000Z | 2021-04-12T15:49:54.000Z | node_modules/mathjax-full/components/src/output/svg/lib/output/svg/Wrappers/scriptbase.js | NishadPatilMuzero/react-native-math-view-customize | da801083993bd6fc4fe236e360f98428fb01c312 | [
"MIT"
] | 5 | 2021-06-20T23:58:32.000Z | 2021-06-20T23:58:37.000Z | node_modules/mathjax-full/components/src/output/svg/lib/output/svg/Wrappers/scriptbase.js | NishadPatilMuzero/react-native-math-view-customize | da801083993bd6fc4fe236e360f98428fb01c312 | [
"MIT"
] | 2 | 2020-10-16T01:52:30.000Z | 2020-10-31T04:00:35.000Z | "use strict";
Object.defineProperty(exports, '__esModule', {value: true});
exports.SVGscriptbase = MathJax._.output.svg.Wrappers.scriptbase.SVGscriptbase;
| 38.75 | 79 | 0.793548 |
3d4195c36f4513714ab729bdec42b34970f59119 | 1,060 | js | JavaScript | indexes/mediantime.js | vittoj/indexd | 46b6d2d6933b81156d53285757dac491fcf279b7 | [
"ISC"
] | 52 | 2017-05-05T02:30:20.000Z | 2021-12-26T11:43:49.000Z | indexes/mediantime.js | vittoj/indexd | 46b6d2d6933b81156d53285757dac491fcf279b7 | [
"ISC"
] | 43 | 2017-03-19T04:10:46.000Z | 2021-10-19T03:47:24.000Z | indexes/mediantime.js | vittoj/indexd | 46b6d2d6933b81156d53285757dac491fcf279b7 | [
"ISC"
] | 16 | 2017-05-07T08:58:47.000Z | 2022-02-11T20:00:47.000Z | let typeforce = require('typeforce')
let types = require('./types')
let vstruct = require('varstruct')
let MTPPREFIX = 0x83
let MTPTIP = types.tip(MTPPREFIX)
let MTP = {
keyType: typeforce.compile({
medianTime: typeforce.UInt32,
height: typeforce.UInt32
}),
key: vstruct([
['prefix', vstruct.Value(vst... | 23.555556 | 76 | 0.683019 |
3d41f06615daf1f82cdcac5378cbb0d45e49b920 | 195 | js | JavaScript | src/cpa/definition.js | ebu/cpa.js | 1ead640c55f38adf513535195025343fb231120f | [
"BSD-3-Clause"
] | 3 | 2015-02-24T23:25:10.000Z | 2020-01-02T09:04:10.000Z | src/cpa/definition.js | ebu/cpa.js | 1ead640c55f38adf513535195025343fb231120f | [
"BSD-3-Clause"
] | null | null | null | src/cpa/definition.js | ebu/cpa.js | 1ead640c55f38adf513535195025343fb231120f | [
"BSD-3-Clause"
] | 2 | 2015-05-01T11:56:54.000Z | 2020-01-02T09:04:14.000Z | /*global module*/
'use strict';
module.exports = {
// Endpoints defined in the CPA spec
endpoints: {
register: '/register',
token: '/token',
associate: '/associate',
}
};
| 16.25 | 38 | 0.589744 |
3d41f6e22d5ed327e1a6c88c4c4050d610ec163d | 384 | js | JavaScript | src/actions/index.js | vtkamiji/react-adv-aula1 | 0ccaaee9aee2ce617d9c93089842919f1d215db1 | [
"MIT"
] | null | null | null | src/actions/index.js | vtkamiji/react-adv-aula1 | 0ccaaee9aee2ce617d9c93089842919f1d215db1 | [
"MIT"
] | null | null | null | src/actions/index.js | vtkamiji/react-adv-aula1 | 0ccaaee9aee2ce617d9c93089842919f1d215db1 | [
"MIT"
] | null | null | null | import _ from 'lodash';
export const FETCH_COMMENTS = 'fetch_commnent';
export const ADD_COMMENT = 'add_comment';
const commentList = {};
export function fetchComments() {
return {
type: FETCH_COMMENTS,
payload: {'data': commentList}
}
}
export function addComment(comment) {
return {
... | 19.2 | 47 | 0.645833 |
3d42891fff0139b06e001ffed4206e817bdc0a8f | 1,087 | js | JavaScript | controllers/farm.js | kshen3778/AgriGate-data | 24c9176cffd99c5c612a6d5ae079934520cda66e | [
"Unlicense",
"MIT"
] | null | null | null | controllers/farm.js | kshen3778/AgriGate-data | 24c9176cffd99c5c612a6d5ae079934520cda66e | [
"Unlicense",
"MIT"
] | null | null | null | controllers/farm.js | kshen3778/AgriGate-data | 24c9176cffd99c5c612a6d5ae079934520cda66e | [
"Unlicense",
"MIT"
] | null | null | null | var Quandl = require("quandl");
var quandl = new Quandl();
var options = {
auth_token: "t3kab3XsYYg6xiKTf1eT"
}
quandl.configure(options);
exports.getData = function(req, res){
quandl.dataset({ source: "USDAERS", table: "USAGRIND" }, function(err, res2){
if(err)
throw err;
... | 30.194444 | 91 | 0.558418 |
3d439415331ce7cf8d502779548a2190aa7ef075 | 2,869 | js | JavaScript | __tests__/calculators/electronics/Resistor.js | Eldelshell/flowsnake | a5a3beca473e0c036e0c4caa5b28221cbf9122ed | [
"MIT"
] | 1 | 2019-05-07T12:47:48.000Z | 2019-05-07T12:47:48.000Z | __tests__/calculators/electronics/Resistor.js | Eldelshell/flowsnake | a5a3beca473e0c036e0c4caa5b28221cbf9122ed | [
"MIT"
] | 9 | 2018-01-26T09:17:39.000Z | 2018-02-08T13:51:38.000Z | __tests__/calculators/electronics/Resistor.js | Eldelshell/flowsnake | a5a3beca473e0c036e0c4caa5b28221cbf9122ed | [
"MIT"
] | null | null | null | import _ from 'lodash';
import Flowsnake from '../../../lib';
import Resistance from '../../../lib/units/electricity/Resistance';
const gigaOhm = Resistance.of(1, 'GΩ')
it('Flowsnake should calculate the resistance for a 3 bands resistor', () => {
const res = Flowsnake.calculate('resistor').of(['brown', 'brown', ... | 36.316456 | 106 | 0.632276 |
3d445258ac16e86f7b0d60843e7b9f42a01d9144 | 230 | js | JavaScript | app/components/navbar/navbar.component.js | cpanz/AngularJS_Webpack_Express | 41ac6074a1dfac91a84a03834fae57d76a331754 | [
"MIT"
] | 1 | 2016-07-21T03:34:52.000Z | 2016-07-21T03:34:52.000Z | app/components/navbar/navbar.component.js | cpanz/AngularJS_Webpack_Express | 41ac6074a1dfac91a84a03834fae57d76a331754 | [
"MIT"
] | null | null | null | app/components/navbar/navbar.component.js | cpanz/AngularJS_Webpack_Express | 41ac6074a1dfac91a84a03834fae57d76a331754 | [
"MIT"
] | null | null | null | import controller from './navbar.controller';
import template from './navbar.html';
let navbarComponent = {
restrict: 'AE',
bindings: {},
template,
controller,
controllerAs: 'navbar'
};
export default navbarComponent;
| 17.692308 | 45 | 0.713043 |
3d44c9d666af4f58c215632a5897f924f7507544 | 4,410 | js | JavaScript | web/js/appcontroller.js | davidwadsworth/cloud-morph | ab79331454631d34cece640f94706150fc52c65c | [
"MIT"
] | 771 | 2020-08-12T20:45:22.000Z | 2022-03-27T21:09:33.000Z | web/js/appcontroller.js | davidwadsworth/cloud-morph | ab79331454631d34cece640f94706150fc52c65c | [
"MIT"
] | 27 | 2020-08-27T09:36:29.000Z | 2022-03-29T08:26:52.000Z | web/js/appcontroller.js | davidwadsworth/cloud-morph | ab79331454631d34cece640f94706150fc52c65c | [
"MIT"
] | 76 | 2020-08-25T05:44:46.000Z | 2022-03-25T07:12:31.000Z | /**
* App controller module.
* @version 1
*/
(() => {
const pingIntervalMs = 2000; // 2 secs
var isFullscreen = false;
// TODO: move to chat.js // Non core logic
const appBody = document.getElementById("app-body");
const appd = document.getElementById("app");
const appTitle = document.getElementById("ap... | 24.364641 | 83 | 0.583447 |
3d465322aa38f62e8cd8a80631c8e2240ce8b4ac | 4,409 | js | JavaScript | src/test.js | pixelmanya/react-a11y-modal | 2f396027d6df4975bc035e9596a2416e955e1db0 | [
"MIT"
] | 9 | 2019-03-29T22:05:10.000Z | 2022-02-07T13:44:13.000Z | src/test.js | pixelmanya/react-a11y-modal | 2f396027d6df4975bc035e9596a2416e955e1db0 | [
"MIT"
] | 28 | 2019-09-16T16:36:54.000Z | 2022-03-22T20:50:37.000Z | src/test.js | pixelmanya/react-a11y-modal | 2f396027d6df4975bc035e9596a2416e955e1db0 | [
"MIT"
] | 2 | 2019-04-02T12:24:08.000Z | 2019-05-08T00:03:49.000Z | import React from 'react';
import { mount } from 'enzyme';
import { Modal } from './index';
// Reusable stuff
const Title = () => <h1>Title</h1>;
const Text = () => <p>Text</p>;
const Button = ({ children, ...props }) => (
<button {...props}>{children || 'Button'}</button>
);
const actionsObj = JSON.parse(
JSON.st... | 29.198675 | 112 | 0.576548 |
3d46d34a4d91f8a33343022b8f7f918157998400 | 698 | js | JavaScript | src/server.js | JustinBeckwith/gorgs | 054fd2b617e7a386dca0cb6db535ecae344a0515 | [
"MIT"
] | 2 | 2019-07-25T10:26:10.000Z | 2019-08-06T21:06:07.000Z | src/server.js | JustinBeckwith/gorgs | 054fd2b617e7a386dca0cb6db535ecae344a0515 | [
"MIT"
] | null | null | null | src/server.js | JustinBeckwith/gorgs | 054fd2b617e7a386dca0cb6db535ecae344a0515 | [
"MIT"
] | null | null | null | 'use strict';
const express = require('express');
const sync = require('./sync.js');
const app = express();
let issueCache;
app.get('/issues', async (req, res) => {
// if the request came in before filling the cache, just kinda hang out
// here and wait until something is there.
while (!issueCache) {
cons... | 23.266667 | 73 | 0.648997 |
3d46d58d253034a105ad52dd1c5816bc002e91dc | 227 | js | JavaScript | webpack.config.js | Lilrex2015/Inventory_Management_App | ac380da9a5e0334f2470b86bd829ddc8cddd381c | [
"MIT"
] | null | null | null | webpack.config.js | Lilrex2015/Inventory_Management_App | ac380da9a5e0334f2470b86bd829ddc8cddd381c | [
"MIT"
] | null | null | null | webpack.config.js | Lilrex2015/Inventory_Management_App | ac380da9a5e0334f2470b86bd829ddc8cddd381c | [
"MIT"
] | null | null | null | const path = require("path");
module.exports = {
entry : "./src/client.js",
mode : 'development',
output : {
path : path.resolve(__dirname, 'Public'),
filename : "client.js",
}
} | 20.636364 | 50 | 0.511013 |
3d472990e6b898728c8bd423cda85a9540cc152e | 3,943 | js | JavaScript | sample/App/DocModal/DocConfirmModal.js | kennyooi/ep-ui | e868f7b8c6dfe8f17be1360d23629f931c4e9386 | [
"MIT"
] | null | null | null | sample/App/DocModal/DocConfirmModal.js | kennyooi/ep-ui | e868f7b8c6dfe8f17be1360d23629f931c4e9386 | [
"MIT"
] | null | null | null | sample/App/DocModal/DocConfirmModal.js | kennyooi/ep-ui | e868f7b8c6dfe8f17be1360d23629f931c4e9386 | [
"MIT"
] | null | null | null | import React, { Component } from 'react';
import TableProps from '../TableProps';
import { Button, ConfirmModal } from '../../../src/index';
export default class DocConfirmModal extends Component {
constructor(props) {
super(props);
this.state = {
};
}
render() {
return... | 33.700855 | 100 | 0.331727 |
3d47a273f48000ced521b5bb2d0db7dad1687df6 | 1,066 | js | JavaScript | client/pages/page-2/film/components/FilmList/index.js | weiishere/fas | 30322bbdc8ce0b483fb1c8b505ffb5453701e2f6 | [
"MIT"
] | null | null | null | client/pages/page-2/film/components/FilmList/index.js | weiishere/fas | 30322bbdc8ce0b483fb1c8b505ffb5453701e2f6 | [
"MIT"
] | null | null | null | client/pages/page-2/film/components/FilmList/index.js | weiishere/fas | 30322bbdc8ce0b483fb1c8b505ffb5453701e2f6 | [
"MIT"
] | null | null | null | import React, {PropTypes} from 'react';
import './style.less'
const FilmList = ({film, activeTab}) => {
const allFilmList = film.get('allFilmList');
const popularityFilmList = film.get('popularityFilmList');
const filmList = activeTab === 'all' ? allFilmList : popularityFilmList;
const items = filmList.get('i... | 23.688889 | 79 | 0.555347 |
3d480c11e6639b4f1189604e8768319a9883f522 | 523 | js | JavaScript | server/node_modules/routing-controllers/esm2015/metadata/InterceptorMetadata.js | dillondow24/SleepApp | 52cec9035c7d588723a2f8ac63a002e455e30791 | [
"MIT"
] | null | null | null | server/node_modules/routing-controllers/esm2015/metadata/InterceptorMetadata.js | dillondow24/SleepApp | 52cec9035c7d588723a2f8ac63a002e455e30791 | [
"MIT"
] | null | null | null | server/node_modules/routing-controllers/esm2015/metadata/InterceptorMetadata.js | dillondow24/SleepApp | 52cec9035c7d588723a2f8ac63a002e455e30791 | [
"MIT"
] | null | null | null | /**
* "Use interceptor" metadata.
*/
export class InterceptorMetadata {
// -------------------------------------------------------------------------
// Constructor
// -------------------------------------------------------------------------
constructor(args) {
this.target = args.target;
... | 32.6875 | 80 | 0.443595 |
3d4a54774787057122a17729e9c67654900f840b | 2,212 | js | JavaScript | src/utils/authInfoUtils.js | tienlem/ssr-skeleton | 878cad60d1644a8dc6bd25df78b6a12efa5c409a | [
"MIT"
] | null | null | null | src/utils/authInfoUtils.js | tienlem/ssr-skeleton | 878cad60d1644a8dc6bd25df78b6a12efa5c409a | [
"MIT"
] | null | null | null | src/utils/authInfoUtils.js | tienlem/ssr-skeleton | 878cad60d1644a8dc6bd25df78b6a12efa5c409a | [
"MIT"
] | 1 | 2021-01-13T10:12:33.000Z | 2021-01-13T10:12:33.000Z | import get from 'lodash/fp';
import isEmpty from 'lodash/fp';
import isNil from 'lodash/fp';
import Localstorage from 'utils/localStorage';
import AuthInfo from 'models/AuthInfo';
export const AUTH_INFO = 'AuthenticationInfo';
export const ACCOUNT_ID = 'AccountId';
class AuthInfoUtils {
/**
* store AuthInfo to ... | 23.531915 | 111 | 0.641049 |
7fc9501158e540eb4a7a90481494f4d33c472760 | 80 | js | JavaScript | src/theme/theme.js | HigorMenezes/whats-app-web-clone | e0ecb8c53394cbab2d4e7caf909193eda6b54b90 | [
"MIT"
] | 1 | 2020-08-20T15:33:39.000Z | 2020-08-20T15:33:39.000Z | src/theme/theme.js | HigorMenezes/whats-app-web-clone | e0ecb8c53394cbab2d4e7caf909193eda6b54b90 | [
"MIT"
] | 5 | 2021-03-09T20:12:00.000Z | 2022-02-26T18:50:42.000Z | src/theme/theme.js | HigorMenezes/whats-app-web-clone | e0ecb8c53394cbab2d4e7caf909193eda6b54b90 | [
"MIT"
] | null | null | null | const theme = {
sideBar: {
width: '35rem',
},
};
export default theme;
| 10 | 21 | 0.5625 |
7fc9cea93a0e261496428aa28b18b586d0a3041e | 452 | js | JavaScript | key_get_set.js | DanPhillips888/HolyGrailProj | b0f1d34b9dc08b14d2285eddbcce484663d758cf | [
"MIT"
] | null | null | null | key_get_set.js | DanPhillips888/HolyGrailProj | b0f1d34b9dc08b14d2285eddbcce484663d758cf | [
"MIT"
] | null | null | null | key_get_set.js | DanPhillips888/HolyGrailProj | b0f1d34b9dc08b14d2285eddbcce484663d758cf | [
"MIT"
] | null | null | null | var redis = require("ioredis");
var client = redis.createClient();
// single value write and read
client.set("my_key", "Hello World");
client.get("my_key", function(err, reply) {
console.log(reply);
});
// multiple value write & read
client.mset('header', 0, 'left', 0, 'article', 0, 'right', 0, 'footer', 0);
clie... | 26.588235 | 75 | 0.632743 |
7fca9b25173e464edc7fe933fcefed598472df23 | 1,125 | js | JavaScript | compiled/source/ocs/types.js | 4workers/nextcloud-link | f0dc2c5c742142d08d4b583e5cded44a7770e28c | [
"MIT"
] | null | null | null | compiled/source/ocs/types.js | 4workers/nextcloud-link | f0dc2c5c742142d08d4b583e5cded44a7770e28c | [
"MIT"
] | null | null | null | compiled/source/ocs/types.js | 4workers/nextcloud-link | f0dc2c5c742142d08d4b583e5cded44a7770e28c | [
"MIT"
] | null | null | null | "use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var OcsShareType;
(function (OcsShareType) {
OcsShareType[OcsShareType["user"] = 0] = "user";
OcsShareType[OcsShareType["group"] = 1] = "group";
OcsShareType[OcsShareType["publicLink"] = 3] = "publicLink";
OcsShareType[OcsShare... | 56.25 | 92 | 0.720889 |
7fcbac72de480a8b6f1eac147d30d0f57ef3bc53 | 1,517 | js | JavaScript | js/tests/CommonLibTests.js | thymely-apps/thymely | 0c1c49e5fd04ad6330d08786de40edbd496c4e7e | [
"MIT"
] | 2 | 2021-07-31T05:26:17.000Z | 2021-08-11T06:09:38.000Z | js/tests/CommonLibTests.js | thymely-apps/thymely | 0c1c49e5fd04ad6330d08786de40edbd496c4e7e | [
"MIT"
] | 2 | 2021-08-02T22:19:46.000Z | 2021-08-03T21:11:02.000Z | js/tests/CommonLibTests.js | thymely-apps/thymely | 0c1c49e5fd04ad6330d08786de40edbd496c4e7e | [
"MIT"
] | null | null | null | 'use strict';
const CommonLibTests = {
Cleanup: function(){
},
ArrayTests: function() {
QUnit.test(
'CommonLib.Array.contains helper ' +
'should return true ' +
'when array contains the target.', (assert) => {
const expected = true;
const actual = Co... | 30.34 | 74 | 0.530653 |
7fcbeec95fc32467a734e00a54f93816486d3b53 | 22,734 | js | JavaScript | screens/ForgotPassword1(3:357)1275006_3_357/index.js | crowdbotics-apps/crators-34100 | 2a099eed4f846c5341fd646d39464321c2e55ac3 | [
"FTL",
"AML",
"RSA-MD"
] | null | null | null | screens/ForgotPassword1(3:357)1275006_3_357/index.js | crowdbotics-apps/crators-34100 | 2a099eed4f846c5341fd646d39464321c2e55ac3 | [
"FTL",
"AML",
"RSA-MD"
] | null | null | null | screens/ForgotPassword1(3:357)1275006_3_357/index.js | crowdbotics-apps/crators-34100 | 2a099eed4f846c5341fd646d39464321c2e55ac3 | [
"FTL",
"AML",
"RSA-MD"
] | null | null | null | import React from "react"
import {
View,
Image,
ImageBackground,
TouchableOpacity,
Text,
Button,
Switch,
TextInput,
StyleSheet,
ScrollView
} from "react-native"
import Icon from "react-native-vector-icons/FontAwesome"
import { CheckBox } from "react-native-elements"
import { connect } from "react-re... | 23.981013 | 117 | 0.536201 |
7fcc48232106548329b96d42a121d204b28f3471 | 6,024 | js | JavaScript | src/rocketjump.js | inmagik/redux-rocketjump | 655fd52251e5358870e3c12e069fda44d4bfe911 | [
"MIT"
] | 2 | 2018-04-05T16:06:25.000Z | 2019-04-12T09:22:50.000Z | src/rocketjump.js | inmagik/redux-rocketjump | 655fd52251e5358870e3c12e069fda44d4bfe911 | [
"MIT"
] | 23 | 2018-09-03T09:15:25.000Z | 2022-02-26T12:02:19.000Z | src/rocketjump.js | inmagik/redux-rocketjump | 655fd52251e5358870e3c12e069fda44d4bfe911 | [
"MIT"
] | 1 | 2019-02-07T12:07:39.000Z | 2019-02-07T12:07:39.000Z | import invariant from 'invariant'
import { forgeRocketJump, createComputeState } from 'rocketjump-core'
import pick from 'lodash.pick'
import { resetReducerOn } from './helpers'
import makeExport from './export'
import { $TYPE_RJ_RUN_CONFIG, $TYPE_RJ_COMBINE_CONFIG } from './internals'
import makeApiSaga from './apiSag... | 28.018605 | 82 | 0.672809 |
7fcdd3fe2a21bc147ee33ada27f80ecc35396dcb | 2,385 | js | JavaScript | site arquiteto/node_modules/@fortawesome/free-solid-svg-icons/faCoins.js | vinirms/sites-responsivos | a7778b9bc3fd3dde3ad70538e98188cc3c3c2093 | [
"MIT"
] | 49 | 2021-10-06T13:19:33.000Z | 2022-03-16T10:23:54.000Z | site arquiteto/node_modules/@fortawesome/free-solid-svg-icons/faCoins.js | vinirms/sites-responsivos | a7778b9bc3fd3dde3ad70538e98188cc3c3c2093 | [
"MIT"
] | 44 | 2021-10-19T15:25:19.000Z | 2022-03-31T21:00:18.000Z | site arquiteto/node_modules/@fortawesome/free-solid-svg-icons/faCoins.js | vinirms/sites-responsivos | a7778b9bc3fd3dde3ad70538e98188cc3c3c2093 | [
"MIT"
] | 14 | 2021-11-25T04:50:27.000Z | 2022-03-25T16:27:46.000Z | 'use strict';
Object.defineProperty(exports, '__esModule', { value: true });
var prefix = 'fas';
var iconName = 'coins';
var width = 512;
var height = 512;
var aliases = [];
var unicode = 'f51e';
var svgPathData = 'M512 80C512 98.01 497.7 114.6 473.6 128C444.5 144.1 401.2 155.5 351.3 158.9C347.7 157.2 343.9 155.5 340.1... | 79.5 | 1,785 | 0.714885 |
7fce213dbe0216ec18aa68587b7f9af63e03bc26 | 973 | js | JavaScript | src/app.js | andela-skieha/react-user-auth | f893de847d97e2ebf82d3cc3d21332dd8e167364 | [
"MIT"
] | null | null | null | src/app.js | andela-skieha/react-user-auth | f893de847d97e2ebf82d3cc3d21332dd8e167364 | [
"MIT"
] | null | null | null | src/app.js | andela-skieha/react-user-auth | f893de847d97e2ebf82d3cc3d21332dd8e167364 | [
"MIT"
] | null | null | null | // /* eslint-disable */
import ReactStormpath, { Router, HomeRoute, LoginRoute, AuthenticatedRoute } from 'react-stormpath';
import React from 'react';
import ReactDOM from 'react-dom';
import { IndexRoute, Route, browserHistory } from 'react-router';
import MasterPage from './pages/MasterPage';
import IndexPage from... | 33.551724 | 100 | 0.717369 |
7fce5e170d8d2c100f50e0a80128166f1f920378 | 54 | js | JavaScript | src/client/app/index.js | norjs/web-client | 0b15ef0388eac631ee4701779c0db907aab04762 | [
"MIT"
] | 2 | 2018-11-23T05:51:43.000Z | 2018-11-23T07:07:15.000Z | src/client/app/index.js | norjs/norjs | 0b15ef0388eac631ee4701779c0db907aab04762 | [
"MIT"
] | 17 | 2018-11-22T18:05:54.000Z | 2018-11-30T19:52:12.000Z | src/client/app/index.js | norjs/norjs | 0b15ef0388eac631ee4701779c0db907aab04762 | [
"MIT"
] | 1 | 2019-07-27T17:39:56.000Z | 2019-07-27T17:39:56.000Z | import angular from "angular";
export {
angular
};
| 9 | 30 | 0.685185 |