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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
f145a1c0d27f4fe88b3f8d905b427a50c13495a4 | 322 | js | JavaScript | lib/kango-framework-latest/src/js/chrome safari/kango/initialize.js | bachya/ynab-enhanced | c769de29c6b3bf2d6cbd2fd643813f29c6305d5d | [
"MIT"
] | null | null | null | lib/kango-framework-latest/src/js/chrome safari/kango/initialize.js | bachya/ynab-enhanced | c769de29c6b3bf2d6cbd2fd643813f29c6305d5d | [
"MIT"
] | null | null | null | lib/kango-framework-latest/src/js/chrome safari/kango/initialize.js | bachya/ynab-enhanced | c769de29c6b3bf2d6cbd2fd643813f29c6305d5d | [
"MIT"
] | null | null | null | window.addEventListener("load",function(){function n(n,e){var o=["kango/userscript_engine","kango/backgroundscript_engine","kango/api"];e.modules&&(o=o.concat(e.modules));for(var a=0;a<o.length;a++)n.require(o[a])}n(_kangoLoader,_kangoLoader.require("kango/extension_info")),_kangoLoader.require("kango/core").init()},!1... | 322 | 322 | 0.751553 |
f145a926cd60cda67a53e5276e360132427936c5 | 16,952 | js | JavaScript | static/routeBackUp.js | zhouqiii/binfen_business | 58f216f40ab11a58580ccc707453f18dff8d9281 | [
"Apache-2.0"
] | null | null | null | static/routeBackUp.js | zhouqiii/binfen_business | 58f216f40ab11a58580ccc707453f18dff8d9281 | [
"Apache-2.0"
] | null | null | null | static/routeBackUp.js | zhouqiii/binfen_business | 58f216f40ab11a58580ccc707453f18dff8d9281 | [
"Apache-2.0"
] | null | null | null | import Vue from 'vue';
import Router from 'vue-router';
Vue.use(Router);
/* Layout */
import Layout from '../views/layout/Layout';
/**
* hidden: true if `hidden:true` will not show in the sidebar(default is false)
* alwaysShow: true if set true, will always show the root menu, whate... | 25.841463 | 3,009 | 0.491505 |
f146df8af73b64b843f3ce519fb22f38a36662c6 | 49 | js | JavaScript | test/fixtures/lightscript/arrow-methods/class-set-malformed-two-params/input.js | lightscript/parser | 187989fcba9c9e9cdcf96ce0f8d1023490b3877e | [
"MIT"
] | 3 | 2018-08-18T15:45:02.000Z | 2020-11-27T03:53:18.000Z | test/fixtures/lightscript/arrow-methods/class-set-malformed-two-params/input.js | lightscript/parser | 187989fcba9c9e9cdcf96ce0f8d1023490b3877e | [
"MIT"
] | 1 | 2021-05-19T23:15:33.000Z | 2021-05-19T23:15:33.000Z | test/fixtures/lightscript/arrow-methods/class-set-malformed-two-params/input.js | lightscript/parser | 187989fcba9c9e9cdcf96ce0f8d1023490b3877e | [
"MIT"
] | null | null | null | class X {
set method(x, y) ->
this.x = x
}
| 9.8 | 21 | 0.469388 |
f148020881ea1f4d3d91eba8aa7fb47d08aa8327 | 2,257 | js | JavaScript | public/js/cljs-runtime/module$node_modules$triplesec$lib$sha1.js | kitefishlabs/hello-blockstack-meet-cljs | 3666321d103b5b522f890f8038ad4aad66e82209 | [
"MIT"
] | 1 | 2020-06-02T00:47:00.000Z | 2020-06-02T00:47:00.000Z | public/js/cljs-runtime/module$node_modules$triplesec$lib$sha1.js | kitefishlabs/hello-blockstack-meet-cljs | 3666321d103b5b522f890f8038ad4aad66e82209 | [
"MIT"
] | 1 | 2021-03-09T20:37:12.000Z | 2021-03-09T20:37:12.000Z | public/js/cljs-runtime/module$node_modules$triplesec$lib$sha1.js | kitefishlabs/hello-blockstack-meet-cljs | 3666321d103b5b522f890f8038ad4aad66e82209 | [
"MIT"
] | null | null | null | shadow$provide.module$node_modules$triplesec$lib$sha1=function(global,process,require,module,exports,shadow$shims){(function(){var __hasProp={}.hasOwnProperty,__extends=function(child,parent){function ctor(){this.constructor=child}for(var key in parent)__hasProp.call(parent,key)&&(child[key]=parent[key]);ctor.prototype... | 322.428571 | 560 | 0.757643 |
f14820fb784f48faa0952daf87d4da59f6114b69 | 454 | js | JavaScript | controllers/dealershipController.js | mikecamara85/inventory-tracker | 6b47819773441015ebbb9773edd63cdd0737255f | [
"MIT"
] | null | null | null | controllers/dealershipController.js | mikecamara85/inventory-tracker | 6b47819773441015ebbb9773edd63cdd0737255f | [
"MIT"
] | null | null | null | controllers/dealershipController.js | mikecamara85/inventory-tracker | 6b47819773441015ebbb9773edd63cdd0737255f | [
"MIT"
] | null | null | null | const Dealership = require("../models/Dealership");
exports.createDealership = async (req, res, next) => {
try {
const newDealership = await Dealership.create(req.body).catch((err) => {
throw new Error(err);
});
// console.log(newDealership);
res.status(200).send({
success: true,
})... | 21.619048 | 76 | 0.594714 |
f1482d3d67a57f4cf81bf134c9e2ad8180def72e | 733 | js | JavaScript | doc/search/keywords/006100630074.js | Studio58Games/EGG-website | 85098a6472af4b53f5d5be55234eb5a66a37a70a | [
"CC-BY-3.0"
] | null | null | null | doc/search/keywords/006100630074.js | Studio58Games/EGG-website | 85098a6472af4b53f5d5be55234eb5a66a37a70a | [
"CC-BY-3.0"
] | null | null | null | doc/search/keywords/006100630074.js | Studio58Games/EGG-website | 85098a6472af4b53f5d5be55234eb5a66a37a70a | [
"CC-BY-3.0"
] | null | null | null | NDSearch.OnPrefixDataLoaded("act",["Class","Variable"],[["ActionButton",,[["Engine.src.graphicsEngine.guis.basicGuis",,,,0,"File:src/graphicsEngine/guis/basicGuis/ActionButton.cs:Engine.src.graphicsEngine.guis.basicGuis.ActionButton","CSharpClass:Engine.src.graphicsEngine.guis.basicGuis.ActionButton"]]],["ActualKeyboa... | 733 | 733 | 0.806276 |
f14b53d4f81a4b59fcd7fd9a34adb54e31907062 | 6,058 | js | JavaScript | source/engine/4chan/comment/parseAttachment.js | catamphetamine/imageboard | f66020750999f1b71ce04da3a23c74901fa76c99 | [
"MIT"
] | 10 | 2019-09-26T00:18:28.000Z | 2020-12-31T15:04:32.000Z | source/engine/4chan/comment/parseAttachment.js | catamphetamine/imageboard | f66020750999f1b71ce04da3a23c74901fa76c99 | [
"MIT"
] | 2 | 2019-11-10T19:06:23.000Z | 2019-11-10T19:06:26.000Z | source/engine/4chan/comment/parseAttachment.js | catamphetamine/imageboard | f66020750999f1b71ce04da3a23c74901fa76c99 | [
"MIT"
] | 1 | 2019-11-11T19:46:32.000Z | 2019-11-11T19:46:32.000Z | import getMimeType from '../../../utility/getMimeType'
import splitFilename from '../../../utility/splitFilename'
export default function parseAttachment(file, options) {
const { chan } = options
if (chan === '8ch') {
if (file.fpath) {
options = {
...options,
// `8ch.net` has `fpath: 0/1` parameter for ... | 23.210728 | 82 | 0.657973 |
f14ba6b22d97d7ca778b1195cfbd76e9fe18f366 | 662 | js | JavaScript | src/sections/Header.js | agrotechlat/-app03-webapp | 78b2a8b6d6b67a9302933037620d96b9460c9a3d | [
"Apache-2.0"
] | null | null | null | src/sections/Header.js | agrotechlat/-app03-webapp | 78b2a8b6d6b67a9302933037620d96b9460c9a3d | [
"Apache-2.0"
] | 1 | 2021-07-23T15:04:49.000Z | 2021-07-23T15:04:49.000Z | src/sections/Header.js | agrotechlat/-app03-webapp | 78b2a8b6d6b67a9302933037620d96b9460c9a3d | [
"Apache-2.0"
] | 2 | 2021-07-20T05:15:08.000Z | 2021-07-25T23:55:54.000Z | import MobileNav from "../components/MobileNav";
import { Link } from "react-router-dom";
import logo from "../assets/img/logo.png";
const Header = () => (
<header className="sticky h-13 top-0 inset-x-0 flex bg-green-800 items-center justify-between p-4">
<div>
<Link to="/" aria-label="eGreens">
<d... | 28.782609 | 101 | 0.598187 |
f14f5a5196b6fa98e6b605274a17002d8728a4dc | 1,753 | js | JavaScript | scan_stateroot.js | Mine77/eth-storage-analyze | b5782b774134b9adcad0c17c44c448e25adec283 | [
"MIT"
] | 7 | 2019-03-13T02:06:04.000Z | 2019-04-27T20:02:39.000Z | scan_stateroot.js | Mine77/eth-storage-analyze | b5782b774134b9adcad0c17c44c448e25adec283 | [
"MIT"
] | null | null | null | scan_stateroot.js | Mine77/eth-storage-analyze | b5782b774134b9adcad0c17c44c448e25adec283 | [
"MIT"
] | null | null | null | // run this script to get a list of script list
var Web3 = require('web3');
const PromiseBar = require("promise.bar");
PromiseBar.enable();
const config = require('./config.json');
BlockHeight = config.BLOCK_HEIGHT;
BlockStep = config.BLOCK_STEP;
if (config.CONNECT_WITH_RPC) {
// connect to node using the RPC e... | 31.872727 | 110 | 0.62065 |
f1501b0893e5988abebd1fb15ab5c4466586b103 | 7,060 | js | JavaScript | modules/petbreeds/tests/server/petbreed.server.routes.tests.js | H3rN4n/mascoteros3 | b6a45f753d9a5b923bdbde492afca75da94f877c | [
"MIT"
] | null | null | null | modules/petbreeds/tests/server/petbreed.server.routes.tests.js | H3rN4n/mascoteros3 | b6a45f753d9a5b923bdbde492afca75da94f877c | [
"MIT"
] | null | null | null | modules/petbreeds/tests/server/petbreed.server.routes.tests.js | H3rN4n/mascoteros3 | b6a45f753d9a5b923bdbde492afca75da94f877c | [
"MIT"
] | null | null | null | 'use strict';
var should = require('should'),
request = require('supertest'),
path = require('path'),
mongoose = require('mongoose'),
User = mongoose.model('User'),
Petbreed = mongoose.model('Petbreed'),
express = require(path.resolve('./config/lib/express'));
/**
* Globals
*/
var app, agent, credentials, use... | 25.304659 | 91 | 0.638527 |
f1501cbe8b134da1f5116650f551d585b53c7985 | 320 | js | JavaScript | js/longest_consecutive_strings/index.js | Citizen-T/code_katas-js | daee3d2511799e7e452c013a4888fd0ce15b204c | [
"Apache-2.0"
] | null | null | null | js/longest_consecutive_strings/index.js | Citizen-T/code_katas-js | daee3d2511799e7e452c013a4888fd0ce15b204c | [
"Apache-2.0"
] | null | null | null | js/longest_consecutive_strings/index.js | Citizen-T/code_katas-js | daee3d2511799e7e452c013a4888fd0ce15b204c | [
"Apache-2.0"
] | null | null | null | Longest = {
of: function(list, k) {
if (k < 0)
return '';
let largest = '';
for (let i=0; i+k <= list.length; i++) {
let s = list.slice(i, i+k).join('');
if (s.length > largest.length)
largest = s;
}
return largest;
}
}; | 24.615385 | 48 | 0.39375 |
f1503b91589434255748b8de0b3eb9f27006b300 | 202,438 | js | JavaScript | build/app.bundle.js | KryptKode/TestSupportBot | 8ff1df12391bf65ec90da1aab00a831da7e11861 | [
"MIT"
] | null | null | null | build/app.bundle.js | KryptKode/TestSupportBot | 8ff1df12391bf65ec90da1aab00a831da7e11861 | [
"MIT"
] | 2 | 2022-02-19T04:35:02.000Z | 2022-02-27T07:39:39.000Z | build/app.bundle.js | KryptKode/TestSupportBot | 8ff1df12391bf65ec90da1aab00a831da7e11861 | [
"MIT"
] | null | null | null | !function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.d... | 20,243.8 | 117,401 | 0.634708 |
f150b257c8b86641ab72c77bc97c33a43884a14c | 172 | js | JavaScript | wp-content/plugins/inpsyde-task-plugin/vue-app/webpack/loaders/fonts.js | mohsinhassan618/inpsyde | 79ffb329dead5f20e4e1fc99d996f0810dc66ad9 | [
"MIT"
] | null | null | null | wp-content/plugins/inpsyde-task-plugin/vue-app/webpack/loaders/fonts.js | mohsinhassan618/inpsyde | 79ffb329dead5f20e4e1fc99d996f0810dc66ad9 | [
"MIT"
] | null | null | null | wp-content/plugins/inpsyde-task-plugin/vue-app/webpack/loaders/fonts.js | mohsinhassan618/inpsyde | 79ffb329dead5f20e4e1fc99d996f0810dc66ad9 | [
"MIT"
] | null | null | null | module.exports = {
test: /\.(woff|woff2|eot|ttf|svg)$/,
use: [
{
loader: 'file-loader',
options: {
outputPath: 'fonts',
},
},
],
};
| 14.333333 | 38 | 0.44186 |
f150bab3cfd93872bd77db141e2ce412a88393cc | 6,313 | js | JavaScript | src/main/resources/static/assets/js/workbench.js | YunLemon/nimrod | 5295256fa398918591c4d0a2e122515d6ea4bd53 | [
"MIT"
] | null | null | null | src/main/resources/static/assets/js/workbench.js | YunLemon/nimrod | 5295256fa398918591c4d0a2e122515d6ea4bd53 | [
"MIT"
] | null | null | null | src/main/resources/static/assets/js/workbench.js | YunLemon/nimrod | 5295256fa398918591c4d0a2e122515d6ea4bd53 | [
"MIT"
] | null | null | null | $(document).ready(function () {
var option0 = {
tooltip: {
trigger: 'item',
formatter: "{a} <br/>{b} : {c} ({d}%)"
},
legend: {
orient: 'vertical',
x: 'left',
data: ['直接访问', '邮件营销', '联盟广告', '视频广告', '搜索引擎'],
show: false
... | 29.092166 | 111 | 0.32837 |
f150e1188ff6b0babf057ababc56c3e918f312af | 323 | js | JavaScript | utils/asyncWrapper.js | thennull/Datacenter | 550eef346efef6823cd1145bc505abadd6ecb9f7 | [
"MIT"
] | null | null | null | utils/asyncWrapper.js | thennull/Datacenter | 550eef346efef6823cd1145bc505abadd6ecb9f7 | [
"MIT"
] | null | null | null | utils/asyncWrapper.js | thennull/Datacenter | 550eef346efef6823cd1145bc505abadd6ecb9f7 | [
"MIT"
] | null | null | null | exports.asyncHandler = function (func) {
return function (root, args, context, info) {
return Promise.resolve(func(root, args, context, info)).catch(function (
error
) {
console.error(error); // Error treatment must be implemented .... system crashing otherwise
process.exit(1);
});
};
... | 29.363636 | 97 | 0.643963 |
f151acece4054d4e929dd06b2f30837fd4b7993c | 514 | js | JavaScript | client/services/faceOutline.js | pannicole/scribblez | 8bf9bfc3ce1f940baef391fb89abdea3a4c2e602 | [
"MIT"
] | 1 | 2021-11-30T12:30:35.000Z | 2021-11-30T12:30:35.000Z | client/services/faceOutline.js | pannicole/paper | 441775abe23dd0a248c3711e605ec6ae2d975c97 | [
"MIT"
] | null | null | null | client/services/faceOutline.js | pannicole/paper | 441775abe23dd0a248c3711e605ec6ae2d975c97 | [
"MIT"
] | null | null | null | import * as Paper from 'paper'
import sketchify from './sketchify'
import wave from './wave'
export default function drawFace(vector, center){
// The amount of segment points we want to create:
var amount = 30;
var variation = .07;
var overlap = .5
// Create face path
var face = new Paper.Path();
face.s... | 22.347826 | 56 | 0.645914 |
f1524c9768613ce06bcb700bcc7161cf4e95a583 | 10,912 | js | JavaScript | src/server.js | mickaelmarchal/reveil | 771604fe3d5b9bf2c86bf24ff9513fbff8f50651 | [
"MIT"
] | null | null | null | src/server.js | mickaelmarchal/reveil | 771604fe3d5b9bf2c86bf24ff9513fbff8f50651 | [
"MIT"
] | null | null | null | src/server.js | mickaelmarchal/reveil | 771604fe3d5b9bf2c86bf24ff9513fbff8f50651 | [
"MIT"
] | null | null | null | var SonosDiscovery = require('sonos-discovery');
var discovery = new SonosDiscovery();
setTimeout(function() {
console.log('########');
var masterPlayer;
for (var uuid in discovery.players) {
var player = discovery.players[uuid];
var simple = player.convertToSimple();
if(simple.coordinator... | 26.745098 | 93 | 0.612262 |
f152d09f9c792bfdcf2579873936a6d4accb42e1 | 446 | js | JavaScript | inc/lib/loadComponent.js | skks1212/DSCNUV.github.io | dd55502c250b5d9982866984dbb6eec8d46b0196 | [
"MIT"
] | null | null | null | inc/lib/loadComponent.js | skks1212/DSCNUV.github.io | dd55502c250b5d9982866984dbb6eec8d46b0196 | [
"MIT"
] | null | null | null | inc/lib/loadComponent.js | skks1212/DSCNUV.github.io | dd55502c250b5d9982866984dbb6eec8d46b0196 | [
"MIT"
] | null | null | null | /*
Loads external html files through jquery ajax.
Overkill for a small website but important in the long run.
Made by Shivank Kacker
*/
function loadComponent(url, element, append){
var componentUrl = url;
var posting = $.post( componentUrl, {} );
posting.done(function( data ) {
if(appe... | 23.473684 | 63 | 0.571749 |
f1535d92b17a3d94b9a1156800c90d4e411dc275 | 1,183 | js | JavaScript | server/provider/carrinho/index.js | emirdeliz/nodejs-angular-carrinho-compras | 6afc901ea054e700e0abd0ac8f1a1ceb4dd0d64e | [
"MIT"
] | 4 | 2017-09-20T14:18:20.000Z | 2020-02-24T19:29:04.000Z | server/provider/carrinho/index.js | emirdeliz/nodejs-angular-carrinho-compras | 6afc901ea054e700e0abd0ac8f1a1ceb4dd0d64e | [
"MIT"
] | null | null | null | server/provider/carrinho/index.js | emirdeliz/nodejs-angular-carrinho-compras | 6afc901ea054e700e0abd0ac8f1a1ceb4dd0d64e | [
"MIT"
] | null | null | null | var mongoose = require("mongoose");
var db = mongoose.createConnection("localhost", "carrinho-compras-app");
var CarrinhoSchema = require("../../model").CarrinhoSchema;
var CarrinhoModel = db.model("carrinho", CarrinhoSchema);
var CarrinhoProvider = function() {
}
CarrinhoProvider.prototype.find = function(id, call... | 25.717391 | 73 | 0.681319 |
f153db7c21cc825d86b8c2d855b3dedc1a90dfd5 | 1,967 | js | JavaScript | src/components/Spotify/index.js | Taching/V2-portfolio | 5072f8564328a250d2f621b9e36498ac0602ba8e | [
"MIT"
] | null | null | null | src/components/Spotify/index.js | Taching/V2-portfolio | 5072f8564328a250d2f621b9e36498ac0602ba8e | [
"MIT"
] | 1 | 2020-02-14T14:49:57.000Z | 2020-02-14T14:49:57.000Z | src/components/Spotify/index.js | Taching/V2-portfolio | 5072f8564328a250d2f621b9e36498ac0602ba8e | [
"MIT"
] | 1 | 2020-03-27T01:54:18.000Z | 2020-03-27T01:54:18.000Z | import React from "react"
import API from "../../../utils/API"
import Loading from "@components/Loading"
import {
SpotifyStyle,
// LastFmLogo,
Toptext,
Player,
// RepeatIcon,
} from "./style.js"
import SpotifyIcon from "../../Icons/Spotify"
// import LastFm from "../../Icons/Lastfm"
// import Repeat from "../... | 27.319444 | 101 | 0.506355 |
f1543ca55d40a7bf8b9348f7e1e04dca0a048e3c | 457 | js | JavaScript | src/helpers/filterAndSort.js | sfreeman422/poll-itical | c501cc34eb783a2294e61f15fe01e4a002b2d98e | [
"Apache-2.0"
] | null | null | null | src/helpers/filterAndSort.js | sfreeman422/poll-itical | c501cc34eb783a2294e61f15fe01e4a002b2d98e | [
"Apache-2.0"
] | 6 | 2021-03-09T03:03:49.000Z | 2022-02-26T10:33:40.000Z | src/helpers/filterAndSort.js | sfreeman422/poll-itical | c501cc34eb783a2294e61f15fe01e4a002b2d98e | [
"Apache-2.0"
] | null | null | null | const filterAndSort = data => {
const mapObj = {};
for (let i = 0; i < data.length; i++) {
if (mapObj[data[i].type]) {
mapObj[data[i].type].push(data[i]);
} else {
mapObj[data[i].type] = [data[i]];
}
}
sort(mapObj);
return mapObj;
};
const sort = obj => {
Object.keys(obj).forEach(ke... | 19.869565 | 55 | 0.544858 |
f1546903187aefae050c22a1ff5383a76aebd746 | 608 | js | JavaScript | src/store/modules/aboutSection.js | Xuantho01/landing-page-vuejs | 2d72d0dbbb977a05f7cc30254046de2d6e930edf | [
"MIT"
] | null | null | null | src/store/modules/aboutSection.js | Xuantho01/landing-page-vuejs | 2d72d0dbbb977a05f7cc30254046de2d6e930edf | [
"MIT"
] | null | null | null | src/store/modules/aboutSection.js | Xuantho01/landing-page-vuejs | 2d72d0dbbb977a05f7cc30254046de2d6e930edf | [
"MIT"
] | null | null | null | import { getAboutSection } from '@/api/aboutSection'
const state = {
aboutSection: {
title: '',
text: '',
aboutExpandList: [
{
icon: '',
title: ''
}
]
}
}
const mutations = {
UPDATE_ABOUT_SECTION: (state, obj) => {
state.aboutSection = obj
}
}
const actions = {... | 16 | 66 | 0.585526 |
f1550bb5565a7b145f03050e6683d905dfeb3450 | 4,229 | js | JavaScript | src/components/About/About.js | zilurrane/zilu.dev | 375f36cbd34783f2c9f4cdb5e8f2a930800efd92 | [
"MIT"
] | null | null | null | src/components/About/About.js | zilurrane/zilu.dev | 375f36cbd34783f2c9f4cdb5e8f2a930800efd92 | [
"MIT"
] | null | null | null | src/components/About/About.js | zilurrane/zilu.dev | 375f36cbd34783f2c9f4cdb5e8f2a930800efd92 | [
"MIT"
] | null | null | null | import React from "react";
import "./About.css";
import { Hero } from "../../subComponents";
import { Container, Row, Col } from "react-bootstrap";
const About = () => {
const skills = [
"JavaScript",
"React",
"React Native",
"Angular",
"NodeJS",
".Net",
"Express",
"MongoDB",
"Red... | 57.931507 | 160 | 0.63372 |
f15683d18818bd0bd295229f28503e46985e0eff | 403 | js | JavaScript | app/modules/game.js | oguzhanbayraktar/Discord-Bot | a909bb46fbdc332c053d585c172d21989ccac1a9 | [
"MIT"
] | null | null | null | app/modules/game.js | oguzhanbayraktar/Discord-Bot | a909bb46fbdc332c053d585c172d21989ccac1a9 | [
"MIT"
] | null | null | null | app/modules/game.js | oguzhanbayraktar/Discord-Bot | a909bb46fbdc332c053d585c172d21989ccac1a9 | [
"MIT"
] | null | null | null | module.exports = {
log: (message, args) => {
message.reply('Logging')
},
start: (message, args) => {
if (!args || args.length < 1) {
return message.reply('Lütfen oyuncu sayısı belirtiniz.')
}
let game = {
count: args[0],
};
return mess... | 26.866667 | 94 | 0.521092 |
f1580d61f79be27fc7c35460608b80baa08983e0 | 5,746 | js | JavaScript | src/index.js | dark10000/video-gateway-player | 4da1da6f72af340bb83dd697692a28036472cad6 | [
"MIT"
] | null | null | null | src/index.js | dark10000/video-gateway-player | 4da1da6f72af340bb83dd697692a28036472cad6 | [
"MIT"
] | null | null | null | src/index.js | dark10000/video-gateway-player | 4da1da6f72af340bb83dd697692a28036472cad6 | [
"MIT"
] | null | null | null | import React, { useEffect } from 'react';
import $ from 'jquery';
const VideoGatewayPlayer = ({ suuid, wsUrl, oniceconnectionstatechange }) => {
let ws, pc;
useEffect(() => {
ws = new WebSocket(wsUrl);
let config = {
iceServers: [{ urls: "stun:stun.l.google.com:19302" }],
};
pc = new RTCPeer... | 30.892473 | 101 | 0.61991 |
f1581a0e31b7313c30b2179131e4bccf01904ece | 3,310 | js | JavaScript | src/js/AddAppointment.js | marciogurka/react-web-interface | 0303376e0cd1c716c968f386d536ce540d890a0f | [
"MIT"
] | null | null | null | src/js/AddAppointment.js | marciogurka/react-web-interface | 0303376e0cd1c716c968f386d536ce540d890a0f | [
"MIT"
] | null | null | null | src/js/AddAppointment.js | marciogurka/react-web-interface | 0303376e0cd1c716c968f386d536ce540d890a0f | [
"MIT"
] | null | null | null | var React = require('react');
var addAppointment = React.createClass({
toggleAptDisplay: function () {
this.props.handleToggle();
},
handleAdd: function(e){
var tempItem = {
first_name: this.refs.inputFirstName.value,
last_name: this.refs.inputLastName.value,
... | 47.285714 | 176 | 0.432024 |
809f96ec184c0b0c1aeade7ca0652531bfa2c07e | 519 | js | JavaScript | dist/app/ren2/webgl/program/factory.js | elyctech/ren2 | 86c9685e695c2a7aafa239b74cc1cdd5869fe366 | [
"MIT"
] | 1 | 2017-06-26T13:52:56.000Z | 2017-06-26T13:52:56.000Z | dist/app/ren2/webgl/program/factory.js | elyctech/ren2 | 86c9685e695c2a7aafa239b74cc1cdd5869fe366 | [
"MIT"
] | 10 | 2017-06-26T16:24:42.000Z | 2017-12-04T04:24:57.000Z | dist/app/ren2/webgl/program/factory.js | elyctech/ren2 | 86c9685e695c2a7aafa239b74cc1cdd5869fe366 | [
"MIT"
] | null | null | null | "use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
var _factory = require("lib/ren2/webgl/program/factory.class");
var _factory2 = _interopRequireDefault(_factory);
var _factory3 = require("app/ren2/webgl/shader/factory");
var _factory4 = _interopRequireDefault(_factory3);
function _in... | 28.833333 | 95 | 0.768786 |
80a02cf07ecb72367716e053c1a05ab99b0198ab | 92 | js | JavaScript | .history/src/utils/request_20210317194342.js | milinfeng/hrProject | 79005cebbeafa503c8fd430bb3747437325236ea | [
"MIT"
] | null | null | null | .history/src/utils/request_20210317194342.js | milinfeng/hrProject | 79005cebbeafa503c8fd430bb3747437325236ea | [
"MIT"
] | null | null | null | .history/src/utils/request_20210317194342.js | milinfeng/hrProject | 79005cebbeafa503c8fd430bb3747437325236ea | [
"MIT"
] | null | null | null | import axios from 'axios'
const service = axios.create()
service.interceptors.request.use()
| 23 | 34 | 0.782609 |
80a11f4a795d8de3b2eb3d3c09bc3a3b055d3c84 | 506 | js | JavaScript | src/js/modules/modal.js | elliepooh/Space-Quiz | ffa86cd282ab252d8f790a18fdff606e53d917fd | [
"Apache-2.0"
] | 6 | 2017-05-09T14:38:46.000Z | 2017-11-30T23:10:32.000Z | src/js/modules/modal.js | asselina94/To-Do-App-Django | e094fdda4510b740a2c3faa1304e68f800309b3f | [
"Apache-2.0"
] | null | null | null | src/js/modules/modal.js | asselina94/To-Do-App-Django | e094fdda4510b740a2c3faa1304e68f800309b3f | [
"Apache-2.0"
] | 3 | 2018-11-18T16:53:21.000Z | 2022-03-24T02:43:21.000Z | 'use strict';
/** Class representing game over modal window. */
export default class Modal {
/**
* @param {Object} elem Game overlay.
*/
constructor({
elem
}) {
this._$elem = elem;
this._$score = this._$elem.querySelector('.warn__score').firstElementChild;
}
/** Reset modal score. */
re... | 18.740741 | 79 | 0.608696 |
80a1663f4c5fc4b92e410462b86499de2bbe0297 | 8,120 | js | JavaScript | assets/js/logic.js | flynn0087/Giphy-Weather_Forked | 5a7ae3720666ab992cae43d64b307d33fe8ca946 | [
"Unlicense"
] | null | null | null | assets/js/logic.js | flynn0087/Giphy-Weather_Forked | 5a7ae3720666ab992cae43d64b307d33fe8ca946 | [
"Unlicense"
] | null | null | null | assets/js/logic.js | flynn0087/Giphy-Weather_Forked | 5a7ae3720666ab992cae43d64b307d33fe8ca946 | [
"Unlicense"
] | null | null | null | //openweather api key
let weatherApiKey = "c0823128cbf8487c457530048730b089";
let giphyApiKey = "iqaOXvQBb3UINfYGshwUYPJSyfka7Q0M";
let giphyMapIcon = "";
let giphyUrl = "";
let giphySearchString = "";
let errorMessage = "";
let cityZipList ;
let cityZipName = "";
let weatherToGiphyMap = {
"01d" : "clear sky, blue s... | 25.217391 | 107 | 0.613916 |
80a18bd270de63dd47d764be61ba9e91597e9317 | 5,430 | js | JavaScript | src/models/manageLocation.js | WD1012/antd-tms.fzxcar.com | c18fecb293b4f88ff724b896a0f7383520523aae | [
"MIT"
] | null | null | null | src/models/manageLocation.js | WD1012/antd-tms.fzxcar.com | c18fecb293b4f88ff724b896a0f7383520523aae | [
"MIT"
] | null | null | null | src/models/manageLocation.js | WD1012/antd-tms.fzxcar.com | c18fecb293b4f88ff724b896a0f7383520523aae | [
"MIT"
] | null | null | null | import modelExtend from 'dva-model-extend'
import queryString from 'query-string'
import { commons, config } from 'utils'
import * as manageLocationService from 'services/manageLocationService'
import * as cityCollectionInfoService from 'services/cityCollectionInfoService'
import { pageModel } from './common'
const {... | 26.881188 | 90 | 0.554328 |
80a1e85137abfc0370facf1c3c6e6b7728374203 | 743 | js | JavaScript | javascript/1013.unique-morse-code-words.js | Ubastic/lintcode | 9f600eece075410221a24859331a810503c76014 | [
"MIT"
] | null | null | null | javascript/1013.unique-morse-code-words.js | Ubastic/lintcode | 9f600eece075410221a24859331a810503c76014 | [
"MIT"
] | null | null | null | javascript/1013.unique-morse-code-words.js | Ubastic/lintcode | 9f600eece075410221a24859331a810503c76014 | [
"MIT"
] | 1 | 2020-08-27T11:58:03.000Z | 2020-08-27T11:58:03.000Z | /**
* @param words: the given list of words
* @return: the number of different transformations among all words we have
*/
const codes = [".-","-...","-.-.","-..",".","..-.","--.","....","..",".---","-.-",".-..","--","-.","---",".--.","--.-",".-.","...","-","..-","...-",".--","-..-","-.--","--.."];
const uniqueMorseR... | 33.772727 | 176 | 0.422611 |
80a26d1cd963e92ef394e6fc5f9df2f501569948 | 246 | js | JavaScript | config/sendgrid.js | Gamsikowy/Arialy-Web-Application | f805d754c86cfffbc84b65658a7d2d56c502b24e | [
"MIT"
] | null | null | null | config/sendgrid.js | Gamsikowy/Arialy-Web-Application | f805d754c86cfffbc84b65658a7d2d56c502b24e | [
"MIT"
] | null | null | null | config/sendgrid.js | Gamsikowy/Arialy-Web-Application | f805d754c86cfffbc84b65658a7d2d56c502b24e | [
"MIT"
] | null | null | null | const sgMail = require('@sendgrid/mail');
sgMail.setApiKey(`${process.env.SG_KEY}`);
const message = {};
message.from = 'contact@arialy.com';
message.mail_settings = {
sandbox_mode: {
enable: true
}
};
exports.message = message; | 20.5 | 42 | 0.662602 |
80a4f139c62abf1705b18e51e27bd47274d0c8b4 | 4,881 | js | JavaScript | src/utils/helpers.js | jackrobertscott/hobson | 97a9e1c102c5b67713724244f7e355851ff638e3 | [
"MIT"
] | 7 | 2015-12-13T13:37:03.000Z | 2018-09-20T03:53:00.000Z | src/utils/helpers.js | jackrobertscott/express-sleep | 97a9e1c102c5b67713724244f7e355851ff638e3 | [
"MIT"
] | 2 | 2018-02-24T10:24:53.000Z | 2018-04-15T03:47:37.000Z | src/utils/helpers.js | jackrobertscott/hobson | 97a9e1c102c5b67713724244f7e355851ff638e3 | [
"MIT"
] | 1 | 2018-02-21T13:23:49.000Z | 2018-02-21T13:23:49.000Z | const { Types } = require('mongoose');
const HTTPStatus = require('http-status');
const errors = require('../errors');
/**
* Check an parameter is a string or throw an error.
*/
module.exports.expect = function expect({ name, value, type = 'string', optional = false } = {}) {
if (optional && typeof value === 'unde... | 29.403614 | 179 | 0.57775 |
80a5c36d78238faf85bc71ec258404fc8234cd4c | 2,974 | js | JavaScript | app/models/template/setView.js | fremontmj/Blot | abca87f97ded3ab4e4087aa3cde976ec3478ebe7 | [
"CC0-1.0"
] | 972 | 2016-07-25T17:55:49.000Z | 2022-03-19T15:54:52.000Z | app/models/template/setView.js | symmetry-allowed/Blot | 4d886c1ecad5f537f109038ef2a9f541b332754b | [
"CC0-1.0"
] | 67 | 2017-08-06T13:31:14.000Z | 2022-03-28T08:29:34.000Z | app/models/template/setView.js | symmetry-allowed/Blot | 4d886c1ecad5f537f109038ef2a9f541b332754b | [
"CC0-1.0"
] | 92 | 2016-07-25T20:05:40.000Z | 2022-03-15T11:40:16.000Z | var Mustache = require("mustache");
var type = require("helper/type");
var client = require("client");
var key = require("./key");
var urlNormalizer = require("helper/urlNormalizer");
var ensure = require("helper/ensure");
var extend = require("helper/extend");
var viewModel = require("./viewModel");
var getView = requ... | 28.32381 | 78 | 0.593477 |
80a8cffa477241137144b6eaf32438087370e5c5 | 2,358 | js | JavaScript | test/lib/config-storage.js | jbghoul/obsidian-core | f7d1685ea324201af76f1c494bdb0956e99d08c5 | [
"BSD-3-Clause"
] | null | null | null | test/lib/config-storage.js | jbghoul/obsidian-core | f7d1685ea324201af76f1c494bdb0956e99d08c5 | [
"BSD-3-Clause"
] | 31 | 2016-09-27T15:38:05.000Z | 2021-04-20T07:53:27.000Z | test/lib/config-storage.js | jbghoul/obsidian-core | f7d1685ea324201af76f1c494bdb0956e99d08c5 | [
"BSD-3-Clause"
] | 2 | 2019-02-21T15:30:58.000Z | 2019-09-26T08:48:45.000Z | "use strict";
var expect = require("expect.js");
var uuid = require("uuid");
var ConfigStorage = require("../../lib/config-storage");
describe("obsidian-core/lib/config-storage", function() {
it("can get / set a value", function() {
var config = new ConfigStorage("testConfigStorage");
config.cle... | 28.071429 | 80 | 0.499152 |
80a8fc7cdb46ae643293da67c19a5cf56c598ef7 | 786 | js | JavaScript | static/js/ducks/roles.js | bparazin/skyportal | c160610ca0cc28eef9f36c2d11cc15bd9bcbfe56 | [
"BSD-3-Clause"
] | 52 | 2018-11-02T00:53:21.000Z | 2022-03-08T16:03:52.000Z | static/js/ducks/roles.js | bparazin/skyportal | c160610ca0cc28eef9f36c2d11cc15bd9bcbfe56 | [
"BSD-3-Clause"
] | 1,944 | 2017-04-27T18:51:20.000Z | 2022-03-31T20:17:44.000Z | static/js/ducks/roles.js | bparazin/skyportal | c160610ca0cc28eef9f36c2d11cc15bd9bcbfe56 | [
"BSD-3-Clause"
] | 63 | 2017-05-13T01:40:47.000Z | 2022-03-12T11:32:11.000Z | import * as API from "../API";
import store from "../store";
const FETCH_ROLES = "skyportal/FETCH_ROLES";
const FETCH_ROLES_OK = "skyportal/FETCH_ROLES_OK";
const ADD_USER_ROLES = "skyportal/ADD_USER_ROLES";
const DELETE_USER_ROLE = "skyportal/DELETE_USER_ROLE";
export const fetchRoles = () => API.GET("/api/roles",... | 26.2 | 69 | 0.689567 |
80a9892c6c872ce78574e47230a1cc2144e4a826 | 771 | js | JavaScript | app/components/Button/StyledButton.js | matiaslabra/hktrack | fdf165ccb9b4c1dd9b6f9f3df7f167befd2c64ce | [
"MIT"
] | null | null | null | app/components/Button/StyledButton.js | matiaslabra/hktrack | fdf165ccb9b4c1dd9b6f9f3df7f167befd2c64ce | [
"MIT"
] | 1 | 2019-12-21T04:50:55.000Z | 2019-12-21T04:50:55.000Z | app/components/Button/StyledButton.js | matiaslabra/hktrack | fdf165ccb9b4c1dd9b6f9f3df7f167befd2c64ce | [
"MIT"
] | null | null | null | import styled, { css } from 'styled-components';
const StyledButton = styled.button`
box-sizing: border-box;
padding: 0.25em 0.5em;
text-decoration: none;
border-radius: 4px;
-webkit-font-smoothing: antialiased;
-webkit-touch-callout: none;
user-select: none;
outline: 0;
font-family: 'Helvetica Neue... | 21.416667 | 62 | 0.614786 |
80a9b924bb3579a81cdc2bc4796b9f04e28b903a | 1,417 | js | JavaScript | src/utils/filter.js | backhamm/backstage-admin | 456dbba841ed2e89dce48dded38d34b12ac8bce0 | [
"MIT"
] | null | null | null | src/utils/filter.js | backhamm/backstage-admin | 456dbba841ed2e89dce48dded38d34b12ac8bce0 | [
"MIT"
] | 2 | 2022-02-19T04:27:26.000Z | 2022-02-27T07:33:17.000Z | src/utils/filter.js | backhamm/backstage-admin | 456dbba841ed2e89dce48dded38d34b12ac8bce0 | [
"MIT"
] | null | null | null | import Vue from 'vue'
export const formatDate = (dateStr, time) => {
if (!dateStr) {
return ''
}
// 得到特定的时间
var diffHour = new Date(dateStr).getTimezoneOffset() / 60 + 8
var date = new Date(dateStr + diffHour * 3600000)
// var date = new Date(dateStr);
var year = date.getFullYear()
// ES6语法填充:var m... | 30.804348 | 90 | 0.570219 |
80aaedcd3418a7634213061910642a7556a27164 | 702 | js | JavaScript | src/FoodOrderSystem.App/ClientApp/src/app/restaurant/restaurant.model.js | lucawieczorek/FoodOrderSystem | 1acee073f70ce6dc7dd42d92f23fbe87e20ea7e3 | [
"MIT"
] | 1 | 2021-06-29T19:38:27.000Z | 2021-06-29T19:38:27.000Z | src/FoodOrderSystem.App/ClientApp/src/app/restaurant/restaurant.model.js | lucawieczorek/FoodOrderSystem | 1acee073f70ce6dc7dd42d92f23fbe87e20ea7e3 | [
"MIT"
] | null | null | null | src/FoodOrderSystem.App/ClientApp/src/app/restaurant/restaurant.model.js | lucawieczorek/FoodOrderSystem | 1acee073f70ce6dc7dd42d92f23fbe87e20ea7e3 | [
"MIT"
] | null | null | null | "use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var RestaurantModel = /** @class */ (function () {
function RestaurantModel() {
this.address = new AddressModel();
this.deliveryTimes = new Array();
}
return RestaurantModel;
}());
exports.RestaurantModel = Restaura... | 30.521739 | 62 | 0.673789 |
80ac2d310e509df5b3cc887cc0c1e8de219a41fa | 502 | js | JavaScript | app/static/js/utils/make-request.js | dghy/WRTC-Hub | 430a30fa7ecb200028957dc1a316837c631ef996 | [
"MIT"
] | null | null | null | app/static/js/utils/make-request.js | dghy/WRTC-Hub | 430a30fa7ecb200028957dc1a316837c631ef996 | [
"MIT"
] | null | null | null | app/static/js/utils/make-request.js | dghy/WRTC-Hub | 430a30fa7ecb200028957dc1a316837c631ef996 | [
"MIT"
] | null | null | null | function makeRequest(method, url, content, csrf) {
const headers = {
'Content-Type': 'application/json'
};
if (method.toUpperCase() === 'POST') {
headers['X-CSRFToken'] = csrf
}
return axios({
method: method,
url: url,
data: content,
headers: headers,... | 22.818182 | 50 | 0.545817 |
80acb1d4d34ecbe6c238afc3adfdbf7c9358e492 | 1,861 | js | JavaScript | src/containers/Character/index.js | gloluz/test-marvel-api | 19464f3bc4430d70bc6baf5e856a008efb82cde2 | [
"MIT"
] | 1 | 2020-02-21T09:25:44.000Z | 2020-02-21T09:25:44.000Z | src/containers/Character/index.js | gloluz/test-marvel-api | 19464f3bc4430d70bc6baf5e856a008efb82cde2 | [
"MIT"
] | 3 | 2021-03-10T08:34:06.000Z | 2022-02-18T20:51:28.000Z | src/containers/Character/index.js | gloluz/test-marvel-api-frontend | 19464f3bc4430d70bc6baf5e856a008efb82cde2 | [
"MIT"
] | null | null | null | import React, { useState, useEffect } from "react";
import "./index.scss";
import { useParams } from "react-router-dom";
import axios from "axios";
import Container from "../Container";
import Loader from "../../loader.svg";
const Character = () => {
const [data, setData] = useState({});
const [isLoading, setIsLo... | 27.367647 | 77 | 0.464267 |
80acc0a8bdc8d3b7df76d45dbc10cf7b70702d48 | 12,381 | js | JavaScript | js/SetParameters.js | WillBean/Hg_project | 2dc73c0997f24e1a8d61fb577ec56f91b24ad741 | [
"MIT"
] | null | null | null | js/SetParameters.js | WillBean/Hg_project | 2dc73c0997f24e1a8d61fb577ec56f91b24ad741 | [
"MIT"
] | null | null | null | js/SetParameters.js | WillBean/Hg_project | 2dc73c0997f24e1a8d61fb577ec56f91b24ad741 | [
"MIT"
] | null | null | null | var j=2;
var rooturl="http://120.27.127.220:8080";//服务器接口根目录
var saveurl=rooturl+"/CalculateSystem/saveParameterServlet";//保存参数接口
var geturl=rooturl+"/CalculateSystem/returnParameterServlet";//获取参数接口
var calculateurl=rooturl+"/CalculateSystem/forecastCarServlet"//计算接口
var a1,b1,c1,ca1,a2,b2,c2,ca2,a3,b3,c3,ca3,a4,b4,c4... | 28.726218 | 121 | 0.527663 |
80acf52d6b81d900a80fc0ac3cc029dab2deb642 | 202 | js | JavaScript | components/ui/course/index.js | Rostyy/marketplace-eth | f940d51f59fd357bdd685d1b88b53bf69d6680bc | [
"MIT"
] | null | null | null | components/ui/course/index.js | Rostyy/marketplace-eth | f940d51f59fd357bdd685d1b88b53bf69d6680bc | [
"MIT"
] | null | null | null | components/ui/course/index.js | Rostyy/marketplace-eth | f940d51f59fd357bdd685d1b88b53bf69d6680bc | [
"MIT"
] | null | null | null | export { default as CourseList } from "./list";
export { default as CourseHero } from "./hero";
export { default as Curriculum } from "./curriculum";
export { default as Keypoints } from "./keypoints";
| 40.4 | 53 | 0.70297 |
80ae21ce0c27062f02ad4b83d5ad0b51971b0cb6 | 840 | js | JavaScript | index.js | SQL-Vis/seeql-npm | b81f30ea2b75f0b41b1c6fdd2505f5790055b0f9 | [
"MIT"
] | null | null | null | index.js | SQL-Vis/seeql-npm | b81f30ea2b75f0b41b1c6fdd2505f5790055b0f9 | [
"MIT"
] | null | null | null | index.js | SQL-Vis/seeql-npm | b81f30ea2b75f0b41b1c6fdd2505f5790055b0f9 | [
"MIT"
] | null | null | null | const compose = require('compose-middleware').compose
const path = require('path')
const express = require('express')
const api = require('./server/api')
module.exports = function(db) {
return compose([
function(req, res, next) {
req.seeqlDb = db
next()
},
// parsing middleware
express.j... | 22.702703 | 83 | 0.596429 |
80aeab87c4091dc9afb158f44c102da5e6b1447d | 1,195 | js | JavaScript | painkiller/database/models/actions.js | Zime1994/webapp | 32bceb8bc9dd64550824d666034de392f371ace8 | [
"MIT"
] | null | null | null | painkiller/database/models/actions.js | Zime1994/webapp | 32bceb8bc9dd64550824d666034de392f371ace8 | [
"MIT"
] | null | null | null | painkiller/database/models/actions.js | Zime1994/webapp | 32bceb8bc9dd64550824d666034de392f371ace8 | [
"MIT"
] | null | null | null |
module.exports = function (sequelize, DataTypes) {
const actions = sequelize.define("actions", {
idActions: {
type: DataTypes.INTEGER,
autoIncrement: true,
primaryKey: true
},
idUser: {
type: DataTypes.INTEGER,
allowNull: false,
... | 24.895833 | 79 | 0.497908 |
80af376a461e2f8a84ec146aeba9e7a9851542e3 | 5,844 | js | JavaScript | examples/js/stats_demo.js | walterfan/webrtc_primer | 35ac56ff61159e24d146d8617b676c838ca1a4c8 | [
"Apache-2.0"
] | 2 | 2021-06-22T03:16:05.000Z | 2022-02-11T02:51:08.000Z | examples/js/stats_demo.js | walterfan/webrtc_primer | 35ac56ff61159e24d146d8617b676c838ca1a4c8 | [
"Apache-2.0"
] | null | null | null | examples/js/stats_demo.js | walterfan/webrtc_primer | 35ac56ff61159e24d146d8617b676c838ca1a4c8 | [
"Apache-2.0"
] | 5 | 2021-06-22T03:16:14.000Z | 2021-12-22T08:35:15.000Z | // declare web elements
var logDiv = document.getElementById('logDiv');
var statsDiv = document.getElementById('statsDiv');
var statsDiv2 = document.getElementById('statsDiv2');
var intervalBox = document.getElementById('interval');
var metricsNamesBox = document.getElementById('metricsNames');
var selectList = docume... | 30.123711 | 112 | 0.619439 |
80b0a7012bc0de9f7e6b99ffbfad6d46c77a17dc | 837 | js | JavaScript | src/pages/about.js | Rhjoo/rhjoo-blog | 676efc24824f25b1b84b53077bbda3fb65b7b83c | [
"MIT"
] | 1 | 2020-06-02T23:12:36.000Z | 2020-06-02T23:12:36.000Z | src/pages/about.js | Rhjoo/rhjoo-blog | 676efc24824f25b1b84b53077bbda3fb65b7b83c | [
"MIT"
] | null | null | null | src/pages/about.js | Rhjoo/rhjoo-blog | 676efc24824f25b1b84b53077bbda3fb65b7b83c | [
"MIT"
] | null | null | null | import React from "react"
import { Link } from "gatsby"
import Layout from "../components/layout"
import SEO from "../components/seo"
class About extends React.Component {
render() {
return (
<div style={{ backgroundColor: `#0d2439`, color: '#9cb3c9', height: `100vh` }}>
<Layout>
<SEO
... | 28.862069 | 168 | 0.577061 |
80b14e6e447940ff781b05ec267d8b61ac636e45 | 7,089 | js | JavaScript | src/assets/arcgis/4.9/esri/views/2d/layers/FeatureLayerView2DWebGL.js | ahanser/diliguoqing | 90a5488354ccff50b93a547c9c32ca4b26c578a8 | [
"MIT"
] | null | null | null | src/assets/arcgis/4.9/esri/views/2d/layers/FeatureLayerView2DWebGL.js | ahanser/diliguoqing | 90a5488354ccff50b93a547c9c32ca4b26c578a8 | [
"MIT"
] | null | null | null | src/assets/arcgis/4.9/esri/views/2d/layers/FeatureLayerView2DWebGL.js | ahanser/diliguoqing | 90a5488354ccff50b93a547c9c32ca4b26c578a8 | [
"MIT"
] | null | null | null | // All material copyright ESRI, All Rights Reserved, unless otherwise specified.
// See https://js.arcgis.com/4.9/esri/copyright.txt for details.
//>>built
define("require exports ../../../core/tsSupport/declareExtendsHelper ../../../core/tsSupport/decorateHelper ../../../core/tsSupport/paramHelper ../../../geometry ..... | 417 | 687 | 0.777261 |
80b2057873a85dfdcd7922b5c500368d0ca0e36f | 2,741 | js | JavaScript | public/assets/javascript/assignmentEditDelete.js | groupsixzerotwo/smart-fix | d4fffaaeb2281c94172a315746bf25005d1ff441 | [
"MIT"
] | 1 | 2021-08-01T16:32:52.000Z | 2021-08-01T16:32:52.000Z | public/assets/javascript/assignmentEditDelete.js | groupsixzerotwo/smart-fix | d4fffaaeb2281c94172a315746bf25005d1ff441 | [
"MIT"
] | 17 | 2021-07-18T21:42:17.000Z | 2021-08-02T02:33:19.000Z | public/assets/javascript/assignmentEditDelete.js | groupsixzerotwo/smart-fix | d4fffaaeb2281c94172a315746bf25005d1ff441 | [
"MIT"
] | null | null | null | //----GET ASSIGNMENT DATA WITH ORDER NUMBER----//
const getAssignData = async (order_number) => {
const assignData = await fetch(`/api/assignment/orderNum`, {
method: 'POST',
body: JSON.stringify({
order_number
}),
headers: {
'Content-Type': 'application/json'
}
})
if (assignDat... | 31.147727 | 93 | 0.627508 |
80b275e737b020b945174995e2b00243eb796772 | 345 | es6 | JavaScript | assets/javascripts/discourse/routes/discourse-likes-matrix.js.es6 | discourse/discourse-likes-matrix | c3f065f669d418a7c482d16ab81e31ed404632c0 | [
"MIT"
] | null | null | null | assets/javascripts/discourse/routes/discourse-likes-matrix.js.es6 | discourse/discourse-likes-matrix | c3f065f669d418a7c482d16ab81e31ed404632c0 | [
"MIT"
] | null | null | null | assets/javascripts/discourse/routes/discourse-likes-matrix.js.es6 | discourse/discourse-likes-matrix | c3f065f669d418a7c482d16ab81e31ed404632c0 | [
"MIT"
] | 1 | 2020-12-11T11:33:14.000Z | 2020-12-11T11:33:14.000Z | import { ajax } from "discourse/lib/ajax";
import DiscourseRoute from "discourse/routes/discourse";
export default DiscourseRoute.extend({
controllerName: "discourse-likes-matrix",
model() {
return ajax("/likes-matrix.json");
},
setupController(controller, model) {
controller.loadChart(model.discours... | 23 | 56 | 0.727536 |
80b2e53701db676c82fd09b672fa8b7a4d295f0f | 4,785 | js | JavaScript | test/jsx-transform.test.js | ahem/melipona-jsx | 79b3526e64803a37ec37feee3c38075ad2342f23 | [
"0BSD"
] | 1 | 2016-02-20T13:17:46.000Z | 2016-02-20T13:17:46.000Z | test/jsx-transform.test.js | ahem/melipona-jsx | 79b3526e64803a37ec37feee3c38075ad2342f23 | [
"0BSD"
] | null | null | null | test/jsx-transform.test.js | ahem/melipona-jsx | 79b3526e64803a37ec37feee3c38075ad2342f23 | [
"0BSD"
] | null | null | null | import chai from 'chai';
chai.use(require('./asserters/htmlEqual'));
const assert = chai.assert;
import { Melipona } from '../src/index';
import jsxToHTML from './jsx-to-html';
describe('JSX transforms', () => {
beforeEach(() => {
Melipona._componentIdCounter = 0;
});
it('plain dom', () => {
... | 34.927007 | 115 | 0.450157 |
80b3b0321dfcbeb823ca9dd470d29240b630610c | 15,507 | js | JavaScript | backend/index.js | AndresM77/316Proj | ab349d73d820b34347028f08518ffbbe716dd042 | [
"MIT"
] | null | null | null | backend/index.js | AndresM77/316Proj | ab349d73d820b34347028f08518ffbbe716dd042 | [
"MIT"
] | 2 | 2021-05-10T19:20:00.000Z | 2022-01-22T09:58:05.000Z | backend/index.js | AndresM77/316Proj | ab349d73d820b34347028f08518ffbbe716dd042 | [
"MIT"
] | 2 | 2019-10-10T00:29:51.000Z | 2019-12-10T04:43:59.000Z | const express = require('express');
const https = require('https');
const fs = require('fs');
const { pool } = require('./config')
const cors = require('cors');
const app = express()
app.use(express.json()) // <==== parse request body as JSON
app.use(cors())
const getDPs = (req, res) => {
// con... | 34.006579 | 176 | 0.440188 |
80b44f49202602d1f89f0f9ae6c37fdfb74a6b36 | 2,537 | js | JavaScript | __tests__/components/Sidebar.test.js | ahaurw01/mtg-whats-that-do | 1d41f9ff84a1ae9c25d49c1bb09ba0f9eca81685 | [
"MIT"
] | 7 | 2018-08-30T15:38:50.000Z | 2021-07-13T03:39:51.000Z | __tests__/components/Sidebar.test.js | ahaurw01/mtg-whats-that-do | 1d41f9ff84a1ae9c25d49c1bb09ba0f9eca81685 | [
"MIT"
] | 40 | 2018-02-19T20:37:45.000Z | 2022-01-22T10:08:49.000Z | __tests__/components/Sidebar.test.js | ahaurw01/mtg-whats-that-do | 1d41f9ff84a1ae9c25d49c1bb09ba0f9eca81685 | [
"MIT"
] | 4 | 2018-08-30T15:31:13.000Z | 2021-05-03T12:57:05.000Z | import React from 'react';
import Sidebar from '../../components/Sidebar';
import { Icon, Menu } from 'semantic-ui-react';
import { mount } from 'enzyme';
describe('Sidebar', () => {
const makeProps = extra => ({
isOpen: true,
isFullscreen: false,
canGoFullscreen: true,
onClose: jest.fn(),
onOpen... | 23.063636 | 80 | 0.504927 |
80b4a00c5ac70a3a3865ee355a3d5fc7eea30247 | 249 | js | JavaScript | resources/js/onLoad.js | Goofiii/Launcher | 795777173dc92d4620e6e07fe61b0c1d3153790d | [
"Apache-2.0"
] | 24 | 2017-06-15T21:12:10.000Z | 2022-03-28T20:04:46.000Z | resources/js/onLoad.js | Goofiii/Launcher | 795777173dc92d4620e6e07fe61b0c1d3153790d | [
"Apache-2.0"
] | 11 | 2018-07-07T16:47:17.000Z | 2020-06-02T21:41:52.000Z | resources/js/onLoad.js | Goofiii/Launcher | 795777173dc92d4620e6e07fe61b0c1d3153790d | [
"Apache-2.0"
] | 12 | 2017-08-16T19:40:01.000Z | 2021-12-07T18:41:22.000Z | /*global remote versions*/
'use strict'
$(document).ready(() => {
$('#version').text(remote.app.getVersion())
$('.selected-version').text(versions.getSelectedVersion() + ' ' + versions.getSelectedVersionWithDetails().type.toUpperCase())
})
| 31.125 | 130 | 0.678715 |
80b5b35bbbd42c3f2482bce4292cab03164ae082 | 647 | js | JavaScript | docs/html/search/enumvalues_1.js | PatriceDargenton/JMovies.IMDb | 01bbbf057dde5904cbb7bdc173fc9a05de9db978 | [
"MIT"
] | null | null | null | docs/html/search/enumvalues_1.js | PatriceDargenton/JMovies.IMDb | 01bbbf057dde5904cbb7bdc173fc9a05de9db978 | [
"MIT"
] | null | null | null | docs/html/search/enumvalues_1.js | PatriceDargenton/JMovies.IMDb | 01bbbf057dde5904cbb7bdc173fc9a05de9db978 | [
"MIT"
] | null | null | null | var searchData=
[
['character_430',['Character',['../d1/db1/namespace_j_movies_1_1_i_m_db_1_1_entities_1_1_movies.html#af8e336418c6c00cf5b757d6dd8521983a76a40e4f974fd895a0a2598c1cee28b4',1,'JMovies::IMDb::Entities::Movies']]],
['composer_431',['Composer',['../d1/db1/namespace_j_movies_1_1_i_m_db_1_1_entities_1_1_mo... | 92.428571 | 210 | 0.826893 |
80b6f31f0039017f277f2a4703e380c1a09d810b | 6,639 | js | JavaScript | client/src/components/Layout/Footer/FooterView.js | Tuhsarshrivastav/MERN-Amazon-Clone | 9132e7777ecf5222161c38f88706534f1490171b | [
"MIT"
] | 1 | 2021-06-25T14:49:58.000Z | 2021-06-25T14:49:58.000Z | client/src/components/Layout/Footer/FooterView.js | Tuhsarshrivastav/Mern-Amazon-Clone | 9132e7777ecf5222161c38f88706534f1490171b | [
"MIT"
] | null | null | null | client/src/components/Layout/Footer/FooterView.js | Tuhsarshrivastav/Mern-Amazon-Clone | 9132e7777ecf5222161c38f88706534f1490171b | [
"MIT"
] | null | null | null | function FooterView() {
return (
<>
<div className="container-fluid bg-dark px-0">
<a href="#pageTop" className="btn btn-dark btn-block mb-5">
Back to Top
</a>
<div className="container">
<div className="row text-white mb-5">
<div className="col-md-3"... | 29.506667 | 76 | 0.326405 |
80bac6478fff95c0d3a9b417b45609f67880432d | 685 | js | JavaScript | src/util/strip-shebang.js | calimoto-GmbH/esm | a06eb73ec4e78505ea930e68706af23c2404ae2b | [
"MIT"
] | 5,483 | 2017-05-25T17:32:05.000Z | 2022-03-30T21:47:06.000Z | src/util/strip-shebang.js | D1plo1d/esm | 511d672ae13e8bee13ba19bd7fdc2a3206c9d7d7 | [
"MIT"
] | 848 | 2017-05-27T07:11:37.000Z | 2022-03-29T12:07:00.000Z | src/util/strip-shebang.js | D1plo1d/esm | 511d672ae13e8bee13ba19bd7fdc2a3206c9d7d7 | [
"MIT"
] | 222 | 2017-05-27T21:54:46.000Z | 2022-03-29T22:37:21.000Z | // Based on `stripShebang()`.
// Copyright Node.js contributors. Released under MIT license:
// https://github.com/nodejs/node/blob/master/lib/internal/modules/cjs/helpers.js
import CHAR_CODE from "../constant/char-code.js"
import shared from "../shared.js"
function init() {
const {
NUMSIGN
} = CHAR_CODE
... | 21.40625 | 81 | 0.674453 |
80bba7aa42826e7fbc5c019477efa31cbaf790d3 | 132 | js | JavaScript | G9/experimentos-en-clase/15-accessor-anti-pattern.js | Sergiobasstidas/js-examples | 29c415ff32fc7b575deb3701a56e31d4a2eb90f9 | [
"MIT"
] | 8 | 2021-08-06T02:03:05.000Z | 2022-03-16T23:32:12.000Z | G9/experimentos-en-clase/15-accessor-anti-pattern.js | Sergiobasstidas/js-examples | 29c415ff32fc7b575deb3701a56e31d4a2eb90f9 | [
"MIT"
] | null | null | null | G9/experimentos-en-clase/15-accessor-anti-pattern.js | Sergiobasstidas/js-examples | 29c415ff32fc7b575deb3701a56e31d4a2eb90f9 | [
"MIT"
] | 14 | 2021-07-31T02:05:49.000Z | 2022-01-31T01:51:32.000Z | const numeros = {
num1: 1,
get num2() {
while (true);
},
};
// 1 + 1 = 2
numeros.num1 + numeros.num2;
| 13.2 | 31 | 0.439394 |
80bcd7844eda88cb1e45f94272b54c15ebde4150 | 317 | js | JavaScript | src/routes.js | Puritanic/Stock-trader | 13fbfe480900c9552fc69eea7bc3b394d7cb11e7 | [
"MIT"
] | null | null | null | src/routes.js | Puritanic/Stock-trader | 13fbfe480900c9552fc69eea7bc3b394d7cb11e7 | [
"MIT"
] | 5 | 2020-07-17T12:26:56.000Z | 2022-02-12T14:22:24.000Z | src/routes.js | Puritanic/Stock-trader | 13fbfe480900c9552fc69eea7bc3b394d7cb11e7 | [
"MIT"
] | null | null | null | import Home from './components/Home.vue';
import Portfolio from './components/Portfolio/Portfolio.vue';
import Stocks from './components/Stocks/Stocks.vue';
export default [
{
path: '/',
component: Home,
},
{
path: '/portfolio',
component: Portfolio,
},
{
path: '/stocks',
component: Stocks,
},
];
| 16.684211 | 61 | 0.656151 |
80bcd7d15fbf5fba73128cafb7b4e6d0f330e08d | 1,503 | js | JavaScript | frontend/src/pages/customer/Shop/FruitsList.js | GreenNest/Frontend | aa5d6789977772d62fcd026f73cd1acbba91a0f8 | [
"Apache-2.0"
] | null | null | null | frontend/src/pages/customer/Shop/FruitsList.js | GreenNest/Frontend | aa5d6789977772d62fcd026f73cd1acbba91a0f8 | [
"Apache-2.0"
] | null | null | null | frontend/src/pages/customer/Shop/FruitsList.js | GreenNest/Frontend | aa5d6789977772d62fcd026f73cd1acbba91a0f8 | [
"Apache-2.0"
] | null | null | null | import React from 'react';
import { useEffect, useState } from "react";
import Category from './Category';
import Productlist from './Productlist';
import Header from '../../../components/Header';
import SignedHeader from '../../../components/SignedHeader';
import Footer from '../../../components/Footer';
import axios ... | 27.833333 | 88 | 0.56354 |
80bcf4ebdcbac7dc40654b468cdf0ae508a7bca1 | 372 | js | JavaScript | index.js | Guaker13/ember-cli-image-cropper | a3ed6944e18adcffe054379b22913bde68dd1da1 | [
"MIT"
] | null | null | null | index.js | Guaker13/ember-cli-image-cropper | a3ed6944e18adcffe054379b22913bde68dd1da1 | [
"MIT"
] | null | null | null | index.js | Guaker13/ember-cli-image-cropper | a3ed6944e18adcffe054379b22913bde68dd1da1 | [
"MIT"
] | null | null | null | /* jshint node: true */
'use strict';
module.exports = {
name: 'ember-cli-image-cropper',
included: function(app) {
this._super.included(app);
if (process.env.EMBER_CLI_FASTBOOT !== 'true') {
app.import(app.bowerDirectory + '/cropper/dist/cropper.min.js');
}
app.import(app.bowerD... | 21.882353 | 72 | 0.626344 |
80bd23260193d9a3c20dfb1112bc9cab7c1095cf | 2,944 | js | JavaScript | src/common/base.js | seekinternational/backend-base | 2348155afb327ff287d49d3b3c16287595c423bc | [
"MIT"
] | null | null | null | src/common/base.js | seekinternational/backend-base | 2348155afb327ff287d49d3b3c16287595c423bc | [
"MIT"
] | null | null | null | src/common/base.js | seekinternational/backend-base | 2348155afb327ff287d49d3b3c16287595c423bc | [
"MIT"
] | null | null | null | 'use strict';
var inherits = require('util').inherits;
var emitter = require('events').EventEmitter;
(function() {
inherits(Action, emitter);
})();
class Base {
constructor(mixin) {
this.mixin = mixin;
let _this = this;
/*
this.mixin.action.on('emit-next', function(stage, param) {
con... | 23.934959 | 84 | 0.557405 |
80bd297b7819f679687c9418886b8922e00f4344 | 1,242 | js | JavaScript | bin/fake-server.js | thangiswho/schema-faker | 7d412056ecbf15f51f7d606a70cc88af414c7222 | [
"MIT"
] | 1 | 2021-04-09T16:39:50.000Z | 2021-04-09T16:39:50.000Z | bin/fake-server.js | thangiswho/simple-faker | 7d412056ecbf15f51f7d606a70cc88af414c7222 | [
"MIT"
] | null | null | null | bin/fake-server.js | thangiswho/simple-faker | 7d412056ecbf15f51f7d606a70cc88af414c7222 | [
"MIT"
] | null | null | null | #!/usr/bin/env node
const { SchemaFaker, fakeRouter } = require("../dist");
const path = require("path");
const yargs = require("yargs");
const express = require("express");
const fakeServer = function (argv) {
const app = express();
const router = fakeRouter(argv._[0]);
app.use(argv.base, router);
app.liste... | 23 | 90 | 0.52496 |
80bd68d54c6a6b1d8605d56504f4b05295fcd3b4 | 2,519 | js | JavaScript | plugins/ui/controls/controls.js | nischalshrestha/jivui-actr | 639a81bdcf6a7c74a7d24ca4846d72d7893e6ced | [
"MIT"
] | 1 | 2019-11-12T20:05:50.000Z | 2019-11-12T20:05:50.000Z | plugins/ui/controls/controls.js | ignacioxd/jivui | b6d4a76d324bb1fa0165a8a5dae66732bcf70b8d | [
"MIT"
] | null | null | null | plugins/ui/controls/controls.js | ignacioxd/jivui | b6d4a76d324bb1fa0165a8a5dae66732bcf70b8d | [
"MIT"
] | null | null | null | (function() {
var ReplayControls = new JIVUI.UIModule();
ReplayControls.controls = {};
ReplayControls.init = function(state) {
this.controls.play = $("#play");
this.controls.playIcon = $("#play > i");
this.controls.stop = $("#stop");
this.controls.speed = $("#speed");
this.controls.frame = $... | 27.380435 | 110 | 0.633585 |
80be395bc76e1c82d007e94a570007f9ecdf1c50 | 472 | js | JavaScript | www/views/SSGO.js | ssgo/start | 5a1e10a9d2a38f17cc4bb3e7db47ac35dd64828d | [
"MIT"
] | null | null | null | www/views/SSGO.js | ssgo/start | 5a1e10a9d2a38f17cc4bb3e7db47ac35dd64828d | [
"MIT"
] | null | null | null | www/views/SSGO.js | ssgo/start | 5a1e10a9d2a38f17cc4bb3e7db47ac35dd64828d | [
"MIT"
] | null | null | null | var SSGOView = {
html: 'views/SSGO.html',
onShow: function () {
this.data = {
projects: [
{name: 's', memo: '一个专为微服务定制的go语言开发框架'},
{name: 'log', memo: '一个基于Json格式的日志框架'},
{name: 'discover', memo: '一个客户端发现模式的服务发现'},
{name: 'gatew... | 31.466667 | 85 | 0.483051 |
80be6deea8f41fff80b49ac3d6e3111567712a4a | 320 | js | JavaScript | code/0674_findLengthOfLCIS/findLengthOfLCIS.js | aouos/leetcode | cfe064376351831c646970a4c0074a69f2bc5e99 | [
"MIT"
] | 2 | 2020-09-12T13:37:05.000Z | 2020-11-03T12:37:18.000Z | code/0674_findLengthOfLCIS/findLengthOfLCIS.js | aouos/LeetCode | cfe064376351831c646970a4c0074a69f2bc5e99 | [
"MIT"
] | 62 | 2022-01-25T03:59:56.000Z | 2022-03-31T13:05:13.000Z | code/0674_findLengthOfLCIS/findLengthOfLCIS.js | aouos/leetcode | cfe064376351831c646970a4c0074a69f2bc5e99 | [
"MIT"
] | null | null | null | /**
* @param {number[]} nums
* @return {number}
*/
var findLengthOfLCIS = function (nums) {
let ans = 0;
let l = 0;
let r = 0;
for (let i = 0; i < nums.length; i++) {
if (nums[i + 1] > nums[i]) {
r++;
} else {
ans = Math.max(ans, r - l + 1);
l = r = i + 1;
}
}
return ans;
}; | 17.777778 | 41 | 0.44375 |
80c13ab54e717271e6abdb4e6a0c31f34eed1963 | 258 | js | JavaScript | app/middleware/session.js | FIAPCCE/escola-node | bffcbd98c13731c4e8472fe92bfd06f9bea2d51f | [
"MIT"
] | null | null | null | app/middleware/session.js | FIAPCCE/escola-node | bffcbd98c13731c4e8472fe92bfd06f9bea2d51f | [
"MIT"
] | null | null | null | app/middleware/session.js | FIAPCCE/escola-node | bffcbd98c13731c4e8472fe92bfd06f9bea2d51f | [
"MIT"
] | 1 | 2018-10-20T17:02:55.000Z | 2018-10-20T17:02:55.000Z | module.exports = (app) => {
const object = {};
object.check = (req, res) => {
if (!req.session.user) {
res.redirect('/');
}
}
object.set = (req, id) => {
req.session.user = id;
}
return object;
} | 17.2 | 34 | 0.437984 |
80c17fc55ff7eee02716d62c1bfea52ab1c7897e | 1,127 | js | JavaScript | src/utils/Scrolling.js | theohogberg/web-prototype | 9f1c343d319e5839a33ebe938fd6d87bd655904d | [
"MIT"
] | null | null | null | src/utils/Scrolling.js | theohogberg/web-prototype | 9f1c343d319e5839a33ebe938fd6d87bd655904d | [
"MIT"
] | null | null | null | src/utils/Scrolling.js | theohogberg/web-prototype | 9f1c343d319e5839a33ebe938fd6d87bd655904d | [
"MIT"
] | null | null | null | import React, { Component } from 'react'
import PropTypes from 'prop-types'
import * as ScrollMagic from 'scrollmagic'
import controller from './scrollmagic'
export default class Scrolling extends Component {
static propTypes = {
animate: PropTypes.bool,
}
constructor() {
super()
this.scene... | 23.978723 | 80 | 0.60071 |
80c1e5c5d98ba4a708008e293de376d780fe7d03 | 513 | js | JavaScript | src/modules/home/styles.js | calintamas/durusa-app | fab9a0d6bde3a907330ed95141e2a1d5a8b4f490 | [
"MIT"
] | null | null | null | src/modules/home/styles.js | calintamas/durusa-app | fab9a0d6bde3a907330ed95141e2a1d5a8b4f490 | [
"MIT"
] | 3 | 2021-05-09T21:10:20.000Z | 2021-09-01T17:14:14.000Z | src/modules/home/styles.js | calintamas/durusa-app | fab9a0d6bde3a907330ed95141e2a1d5a8b4f490 | [
"MIT"
] | null | null | null | import { StyleSheet } from 'react-native'
import { colors } from '../../styles'
export default StyleSheet.create({
base: {
flex: 1,
backgroundColor: colors.darkPurple
},
headerContainer: {
height: 250,
alignItems: 'center',
marginBottom: 25
},
bg: {
width: '100%',
height: '100%',
... | 16.548387 | 41 | 0.584795 |
80c1f12451502a16c2eade9b7b0bfd2f7fd5bd03 | 204 | js | JavaScript | src/Components/Pagination/PaginationWrapper.styled.js | albertopumar/react-powerful-data-table | d4cf949a46f6faef0e088bfb82de6e0e293aec1b | [
"MIT"
] | 1 | 2019-09-02T14:32:20.000Z | 2019-09-02T14:32:20.000Z | src/Components/Pagination/PaginationWrapper.styled.js | albertopumar/react-powerful-data-table | d4cf949a46f6faef0e088bfb82de6e0e293aec1b | [
"MIT"
] | null | null | null | src/Components/Pagination/PaginationWrapper.styled.js | albertopumar/react-powerful-data-table | d4cf949a46f6faef0e088bfb82de6e0e293aec1b | [
"MIT"
] | null | null | null | import styled from 'styled-components';
const PaginationWrapper = styled.div`
display: flex;
padding-top: 20px;
min-height: 40px;
line-height: 40px;
`;
export default PaginationWrapper;
| 18.545455 | 39 | 0.710784 |
80c21babb83d78139547797e933a00cbfda2ce5a | 1,071 | js | JavaScript | aliyunDrive/static/package.js | Rioad233/kod-plugins | f61049731bcb2f73692418d1fb6e3a34037dabf2 | [
"MulanPSL-1.0"
] | null | null | null | aliyunDrive/static/package.js | Rioad233/kod-plugins | f61049731bcb2f73692418d1fb6e3a34037dabf2 | [
"MulanPSL-1.0"
] | null | null | null | aliyunDrive/static/package.js | Rioad233/kod-plugins | f61049731bcb2f73692418d1fb6e3a34037dabf2 | [
"MulanPSL-1.0"
] | null | null | null | define(function(require, exports) {
return {
"name":{
"type":"input",
"value":"",
"display":LNG['common.name'],
"desc":LNG['admin.storage.nameDesc'],
"require":1
},
"access_token": {
"type":"input",
"value":"... | 27.461538 | 153 | 0.413632 |
80c284765de9d899c18924251c1361eea53c84c0 | 2,877 | js | JavaScript | src/propTypes.js | vlad-zhukov/parafoil | 7145ab35117d54e59d8db7e1f6451a180dac5d39 | [
"MIT"
] | null | null | null | src/propTypes.js | vlad-zhukov/parafoil | 7145ab35117d54e59d8db7e1f6451a180dac5d39 | [
"MIT"
] | null | null | null | src/propTypes.js | vlad-zhukov/parafoil | 7145ab35117d54e59d8db7e1f6451a180dac5d39 | [
"MIT"
] | null | null | null | import React from 'react';
import PropTypes from 'prop-types';
import * as SliderConstants from './constants';
import linear from './algorithms/linear';
const PropTypeArrOfNumber = PropTypes.arrayOf(PropTypes.number);
const PropTypeReactComponent = PropTypes.oneOfType([PropTypes.func, PropTypes.string]);
export const... | 33.068966 | 87 | 0.69934 |
80c2aa0bd5ddcd45fe15bccb19522136aa7eb660 | 4,236 | js | JavaScript | delays.js | CUTR-at-USF/gtfsrdb-delay-demo | e1f18651b9c41520c948e656c23714f0d54cdbe2 | [
"Apache-2.0"
] | 3 | 2017-05-12T23:02:33.000Z | 2019-08-10T05:43:42.000Z | delays.js | CUTR-at-USF/gtfsrdb-delay-demo | e1f18651b9c41520c948e656c23714f0d54cdbe2 | [
"Apache-2.0"
] | null | null | null | delays.js | CUTR-at-USF/gtfsrdb-delay-demo | e1f18651b9c41520c948e656c23714f0d54cdbe2 | [
"Apache-2.0"
] | null | null | null | /*
delays.js: render the IDW layer of current delays
Copyright 2011 Matt Conway
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 b... | 32.335878 | 178 | 0.568933 |
80c2c514fc4c1c9295ca42cbe2689bcfbbf11852 | 4,941 | js | JavaScript | lib/react-active-item.js | UMNLibraries/react-active-item | e49bc7cc670806e82fea7d11386463d031114916 | [
"MIT"
] | null | null | null | lib/react-active-item.js | UMNLibraries/react-active-item | e49bc7cc670806e82fea7d11386463d031114916 | [
"MIT"
] | null | null | null | lib/react-active-item.js | UMNLibraries/react-active-item | e49bc7cc670806e82fea7d11386463d031114916 | [
"MIT"
] | null | null | null | 'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } }... | 41.872881 | 564 | 0.66444 |
80c2d281e2f6dcf0b33c871ba267cd2330198c14 | 3,174 | js | JavaScript | client/lib/keyboard.js | dpoznyak/wekan | 1ec1bc28f61c2f48a676c817fd602d055bd48794 | [
"MIT"
] | 1 | 2021-02-10T16:09:53.000Z | 2021-02-10T16:09:53.000Z | client/lib/keyboard.js | dpoznyak/doable | 1ec1bc28f61c2f48a676c817fd602d055bd48794 | [
"MIT"
] | 2 | 2019-01-27T06:56:46.000Z | 2019-03-21T10:38:05.000Z | client/lib/keyboard.js | dpoznyak/doable | 1ec1bc28f61c2f48a676c817fd602d055bd48794 | [
"MIT"
] | null | null | null | // XXX There is no reason to define these shortcuts globally, they should be
// attached to a template (most of them will go in the `board` template).
Mousetrap.bind('?', () => {
FlowRouter.go('shortcuts');
});
Mousetrap.bind('w', () => {
if (Sidebar.isOpen() && Sidebar.getView() === 'home') {
Sidebar.toggle(... | 23 | 82 | 0.598929 |
80c33cc65787865b2d02438cb7ad670a29aa7b1d | 698 | js | JavaScript | main.js | Kantouzin/switch-buymode-with-alt-mod | 0580e60a0abd9a6b2627a316003d80728965617d | [
"MIT"
] | null | null | null | main.js | Kantouzin/switch-buymode-with-alt-mod | 0580e60a0abd9a6b2627a316003d80728965617d | [
"MIT"
] | null | null | null | main.js | Kantouzin/switch-buymode-with-alt-mod | 0580e60a0abd9a6b2627a316003d80728965617d | [
"MIT"
] | null | null | null | Game.registerMod('switch-buymode-with-alt-mod', {
init: function () {
const MOD = this;
Game.registerHook('logic', () => {
if (Game.OnAscend || Game.AscendTimer != 0) {
return;
}
if (Game.promptOn) {
return;
}
if (Game.keys[18] && !MOD.buyModeShortcut) {
... | 22.516129 | 51 | 0.528653 |
80c366e2e927d175363e1e784759ecac5145d5b8 | 37,603 | js | JavaScript | js/tree.js | agargara/respecc | bfaaf0cec6025f1217fdcff23f87e9e338a6c048 | [
"MIT"
] | null | null | null | js/tree.js | agargara/respecc | bfaaf0cec6025f1217fdcff23f87e9e338a6c048 | [
"MIT"
] | null | null | null | js/tree.js | agargara/respecc | bfaaf0cec6025f1217fdcff23f87e9e338a6c048 | [
"MIT"
] | null | null | null | import Node from './node.js'
import {drawBezierSplit} from './draw.js'
export default class Tree{
constructor(game){
this.game = game
this.CHUNKW=game.options.node_distance[0]*32
this.CHUNKH=game.options.node_distance[1]*32
this.canvases = []
this.offset = [0,0]
this.nodes = this.init_tree()
... | 29.08198 | 365 | 0.467303 |
80c3e9878a81d9a0ade38777d91c8aefb8c696c0 | 1,970 | js | JavaScript | src/components/img.js | kkote/Weather-React-App | ae629ca32b366cff111956714b5d58c901ec4b0b | [
"MIT"
] | 1 | 2019-01-21T23:34:23.000Z | 2019-01-21T23:34:23.000Z | src/components/img.js | kkote/Weather-React-App | ae629ca32b366cff111956714b5d58c901ec4b0b | [
"MIT"
] | null | null | null | src/components/img.js | kkote/Weather-React-App | ae629ca32b366cff111956714b5d58c901ec4b0b | [
"MIT"
] | 1 | 2019-01-21T23:36:10.000Z | 2019-01-21T23:36:10.000Z | import React from "react";
class Img extends React.Component {
constructor(props) {
super(props);
this.state = {
currentTemp: this.props.currentTemp,
error: "error",
gender: this.props.gender,
woman: "defaultw",
man: "default-m",
img: "default1"
};
this.setImage =... | 25.584416 | 80 | 0.582234 |
80c4b41a254b7b7f8888824c1fbcba895b47aa9b | 206 | js | JavaScript | src/test/test.js | canjs/chat | e7b96f272ec653e928d773043715cb61dd7a76ae | [
"MIT"
] | null | null | null | src/test/test.js | canjs/chat | e7b96f272ec653e928d773043715cb61dd7a76ae | [
"MIT"
] | 1 | 2017-07-18T17:15:21.000Z | 2017-07-18T17:15:21.000Z | src/test/test.js | canjs/chat | e7b96f272ec653e928d773043715cb61dd7a76ae | [
"MIT"
] | null | null | null | // Model tests
import "canjs-chat/models/test";
// Component tests
import "canjs-chat/home/home_test";
import "canjs-chat/messages/messages_test";
// Functional tests
import "canjs-chat/test/functional";
| 20.6 | 43 | 0.762136 |
80c4fe19dd88299799f0d2835fa0fea6bf5fb602 | 1,124 | js | JavaScript | release/console-ext.min.js | FLYSLOW/console-ext | a81dba98c2be986672e235ba94a923007d024fab | [
"MIT"
] | null | null | null | release/console-ext.min.js | FLYSLOW/console-ext | a81dba98c2be986672e235ba94a923007d024fab | [
"MIT"
] | null | null | null | release/console-ext.min.js | FLYSLOW/console-ext | a81dba98c2be986672e235ba94a923007d024fab | [
"MIT"
] | null | null | null | !function(a){function b(a){return 0===Object.keys(a).length}function c(){if(!a.console)return void(a.console=f);if("[object Console]"!==console.toString())!b(console)&&j.add(console),a.console=f;else{var c={},d=a.console;g.forEach(function(a){if(d[a]!==h[a]){var b=d[a];c[a]=function(){b.apply(d,arguments)},f[a]=h[a]}})... | 562 | 1,123 | 0.670819 |
80c5b7a03e1a3a87385e220f2363454fa169716e | 118 | js | JavaScript | src/apps/contacts/services/index.js | cgsunkel/data-hub-frontend | 8f57590e0ff9b8e84cab16dc590c88a4c160234f | [
"MIT"
] | 12 | 2018-04-05T14:15:13.000Z | 2022-02-07T05:16:48.000Z | src/apps/contacts/services/index.js | uktrade/data-hub-frontend | c27b16d3c56e28c2124681a142fa4e9e4d6fad98 | [
"MIT"
] | 2,719 | 2017-06-22T16:44:00.000Z | 2022-03-30T14:43:44.000Z | src/apps/contacts/services/index.js | cgsunkel/data-hub-frontend | 8f57590e0ff9b8e84cab16dc590c88a4c160234f | [
"MIT"
] | 14 | 2017-10-04T10:36:51.000Z | 2021-09-14T07:41:35.000Z | const form = require('./form')
const formatting = require('./formatting')
module.exports = {
form,
formatting,
}
| 14.75 | 42 | 0.669492 |
80c6a47ef1162f51ea9308f0dd13ac4fb8453c7d | 528 | js | JavaScript | test/js.unit.spec.js | teamco/js-oop | 5bfe9d3f5e05292680198260b82aaf5a973b148a | [
"MIT"
] | null | null | null | test/js.unit.spec.js | teamco/js-oop | 5bfe9d3f5e05292680198260b82aaf5a973b148a | [
"MIT"
] | 30 | 2017-02-22T09:06:33.000Z | 2022-03-30T21:59:06.000Z | test/js.unit.spec.js | teamco/js-oop | 5bfe9d3f5e05292680198260b82aaf5a973b148a | [
"MIT"
] | 2 | 2016-05-18T19:26:03.000Z | 2019-08-15T21:47:58.000Z | import {jsDocument} from './unit/helpers/document';
import {initReporter} from './unit/helpers/reporter';
import requireHacker from 'require-hacker';
requireHacker.hook('png', () => 'module.exports = ""');
initReporter();
describe('JS Unit tests', () => {
beforeAll(() => {
});
jsDocument(true);
//require(... | 24 | 55 | 0.655303 |
80c77ff1fc2573bbb0e3b2c3408b1b1b22d7d5f3 | 648 | js | JavaScript | build/webpack.dev.conf.js | Endle/yabo | abaf828d2943d83308c62c7eae32a2fd0dcee4ea | [
"MIT"
] | null | null | null | build/webpack.dev.conf.js | Endle/yabo | abaf828d2943d83308c62c7eae32a2fd0dcee4ea | [
"MIT"
] | 1 | 2021-03-10T13:49:59.000Z | 2021-03-10T13:49:59.000Z | build/webpack.dev.conf.js | Endle/yabo | abaf828d2943d83308c62c7eae32a2fd0dcee4ea | [
"MIT"
] | null | null | null | var webpack = require('webpack')
var config = require('./webpack.base.conf')
var ExtractTextPlugin = require('extract-text-webpack-plugin')
var FriendlyErrorsPlugin = require('friendly-errors-webpack-plugin')
config.output.filename = '[name].js'
config.output.chunkFilename = '[id].js'
// add hot-reload related code t... | 27 | 68 | 0.753086 |
80c7aa7e491974504ff415ddade2f133bb20d07e | 5,466 | js | JavaScript | js/power-stats.js | snamor/Electric-Stats | 9d4b8809cd38da59190c0449cbf7dc9bb304b593 | [
"MIT"
] | null | null | null | js/power-stats.js | snamor/Electric-Stats | 9d4b8809cd38da59190c0449cbf7dc9bb304b593 | [
"MIT"
] | null | null | null | js/power-stats.js | snamor/Electric-Stats | 9d4b8809cd38da59190c0449cbf7dc9bb304b593 | [
"MIT"
] | null | null | null | // Electric Stats v1.0.0
// Author: Pol Romans
// Licensed under MIT license (http://opensource.org/licenses/MIT)
var percentilePeakConsumption = 0.0;
var absolutePeakConsumption = 0.0;
var reportConversionFactor = 60 * 1000; //L'informe està en Wm i l'hem de convertir a kWh
var contractedPowerConversionFactor = 1000;... | 33.127273 | 93 | 0.535492 |
80c8447ac3af27dbd30b37c2162e6634359bb5d0 | 1,315 | js | JavaScript | FRONTEND/src/components/Header/styles.js | sialka/gympoint | 0516863cff4634cacd7eada3fac969d2daa8ef17 | [
"RSA-MD"
] | 1 | 2020-01-17T18:14:05.000Z | 2020-01-17T18:14:05.000Z | FRONTEND/src/components/Header/styles.js | sialka/gympoint | 0516863cff4634cacd7eada3fac969d2daa8ef17 | [
"RSA-MD"
] | 2 | 2021-05-10T21:39:57.000Z | 2021-09-02T23:19:08.000Z | FRONTEND/src/components/Header/styles.js | sialka/gympoint | 0516863cff4634cacd7eada3fac969d2daa8ef17 | [
"RSA-MD"
] | null | null | null | import styled from 'styled-components';
export const Container = styled.div`
display: flex;
flex-direction: column;
max-width: 1080px;
margin: 0 auto;
padding-top: 15px;
header {
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
background: #fff;... | 17.533333 | 39 | 0.506464 |
80c857eea66b4c7200f0822a1f9e6e618fad237a | 887 | js | JavaScript | src/adapter/web.js | ihtml5/one-utils | 5350f3900d156983cdc86cdc5be5be1458aaf0cb | [
"MIT"
] | 2 | 2018-04-25T16:41:07.000Z | 2018-05-15T15:40:01.000Z | src/adapter/web.js | ihtml5/wx-utils | 5350f3900d156983cdc86cdc5be5be1458aaf0cb | [
"MIT"
] | null | null | null | src/adapter/web.js | ihtml5/wx-utils | 5350f3900d156983cdc86cdc5be5be1458aaf0cb | [
"MIT"
] | 1 | 2018-05-02T05:17:57.000Z | 2018-05-02T05:17:57.000Z | import { isFunction } from '../base';
class WebAdapter {
constructor(props = {}) {
const { engine } = props;
this.engine = engine;
}
querySelector(selector) {
this.nodeList = this.engine.document.querySelector(`${selector}`);
return this.nodeList;
}
querySelectorAll(... | 23.972973 | 77 | 0.551297 |
80c88dd90a9e5d8bda4cac2ad1fdcdc04a8f6db9 | 2,244 | js | JavaScript | src/server.js | ianmoon20/http-proj1 | cb984dc0279d12b4a4c4652e78efc50042cd88ae | [
"0BSD"
] | null | null | null | src/server.js | ianmoon20/http-proj1 | cb984dc0279d12b4a4c4652e78efc50042cd88ae | [
"0BSD"
] | null | null | null | src/server.js | ianmoon20/http-proj1 | cb984dc0279d12b4a4c4652e78efc50042cd88ae | [
"0BSD"
] | null | null | null | const http = require('http');
const url = require('url');
const query = require('querystring');
const htmlHandler = require('./htmlResponses.js');
const jsonHandler = require('./jsonResponses.js');
const port = process.env.PORT || process.env.NODE_PORT || 3000;
// added route to get for our ES5 JS bundle.
// This bun... | 29.526316 | 65 | 0.630125 |
80c89687a2e3d6f6e0f0c73111066090c41d6a21 | 10,252 | js | JavaScript | src/components/termsModal.js | nanderson815/GOMD-Gatsby | e2953fd4792cbfd22114c48983293cd8c8468158 | [
"MIT"
] | null | null | null | src/components/termsModal.js | nanderson815/GOMD-Gatsby | e2953fd4792cbfd22114c48983293cd8c8468158 | [
"MIT"
] | 8 | 2020-08-14T20:59:04.000Z | 2022-01-22T10:23:38.000Z | src/components/termsModal.js | nanderson815/GOMD-Gatsby | e2953fd4792cbfd22114c48983293cd8c8468158 | [
"MIT"
] | null | null | null | import React from 'react'
import { Header, Modal } from 'semantic-ui-react'
const TermsModal = () => (
<Modal
closeIcon
trigger={
<p style={{ color: 'blue', textDecoration: 'underline', display: 'inline-block', cursor: 'pointer' }}>
Terms and Conditions
</p>
}
>
<Modal.Header>Te... | 67.006536 | 120 | 0.679672 |
80cd247b8433736423042b4beac624b34fcce1d0 | 1,564 | js | JavaScript | src/js/application/start.js | tundesobajo/chams-agent-network | 9579ffbc8ec0ad318089c539bf56b8437721a700 | [
"MIT"
] | null | null | null | src/js/application/start.js | tundesobajo/chams-agent-network | 9579ffbc8ec0ad318089c539bf56b8437721a700 | [
"MIT"
] | null | null | null | src/js/application/start.js | tundesobajo/chams-agent-network | 9579ffbc8ec0ad318089c539bf56b8437721a700 | [
"MIT"
] | null | null | null | jQuery(function($){
$(':checkbox[name^=check_confirm]', context).once('check_confirm').change(function() {
toggleCheckButton(context);
});
$(':input[name=region_id]', context).once('region_select').change(function() {
areaFill(context);
});
$(':input[name=area_id]', context).once('area_select')... | 30.076923 | 88 | 0.59399 |
80cd9a28e6df57cd80b4e586e641a06d3dcd3f59 | 109,691 | js | JavaScript | documentation/www.nushell.sh/assets/js/64.d4897c6c.js | extratone/extratone | a18e3ac94527626f27dd5447257c9785b7f5d167 | [
"MIT"
] | 2 | 2021-06-09T20:03:11.000Z | 2021-09-18T21:34:18.000Z | documentation/www.nushell.sh/assets/js/64.d4897c6c.js | extratone/extratone | a18e3ac94527626f27dd5447257c9785b7f5d167 | [
"MIT"
] | 497 | 2020-11-23T12:22:45.000Z | 2022-01-17T02:03:22.000Z | documentation/www.nushell.sh/assets/js/64.d4897c6c.js | extratone/extratone | a18e3ac94527626f27dd5447257c9785b7f5d167 | [
"MIT"
] | null | null | null | (window.webpackJsonp=window.webpackJsonp||[]).push([[64],{473:function(s,n,a){"use strict";a.r(n);var e=a(44),t=Object(e.a)({},(function(){var s=this,n=s.$createElement,a=s._self._c||n;return a("ContentSlotsDistributor",{attrs:{"slot-key":s.$parent.slotKey}},[a("p",[s._v("Use "),a("code",[s._v("cal")]),s._v(" to displa... | 109,691 | 109,691 | 0.482683 |
80cde626b29b2d645cab251e11abb580acec2b4b | 776 | js | JavaScript | src/components/Header/index.js | lesliecdubs/netlify-weekly-news | 299935fd7d7eb6a6476c5389a72c563ed0c41b17 | [
"MIT"
] | null | null | null | src/components/Header/index.js | lesliecdubs/netlify-weekly-news | 299935fd7d7eb6a6476c5389a72c563ed0c41b17 | [
"MIT"
] | null | null | null | src/components/Header/index.js | lesliecdubs/netlify-weekly-news | 299935fd7d7eb6a6476c5389a72c563ed0c41b17 | [
"MIT"
] | null | null | null | // ==========================================================================
//
// Header
//
// ==========================================================================
import React from 'react'
import PropTypes from 'prop-types'
import {
Link,
Nav
} from '..'
import {Logomark} from '../../assets/images'
i... | 19.897436 | 78 | 0.454897 |
80d09f2307151712096b5a362990662b6e2eb6c6 | 610 | js | JavaScript | src/api/UserSession.js | Lingtin/power-weixin-standard | 887244add9e3d405761fceb9de8814dcc71ea14c | [
"MIT"
] | 9 | 2018-08-13T14:33:41.000Z | 2020-02-14T07:06:26.000Z | src/api/UserSession.js | Lingtin/power-weixin-standard | 887244add9e3d405761fceb9de8814dcc71ea14c | [
"MIT"
] | null | null | null | src/api/UserSession.js | Lingtin/power-weixin-standard | 887244add9e3d405761fceb9de8814dcc71ea14c | [
"MIT"
] | 1 | 2019-07-30T11:47:20.000Z | 2019-07-30T11:47:20.000Z | import storage from 'good-storage'
import { localStorageTag } from 'common/js/config.js'
import { getTokenString } from 'api/login.js'
import { APIUnit } from './APIUnit.js'
const API = '/Hoter/UserSession'
const params = {
Token: null
}
// 获取UserInfo信息
export function getUserSession () {
params.Token = getTokenS... | 23.461538 | 59 | 0.745902 |
804d60e0b34363dcca19391d8a3c257bd5c43dca | 443 | js | JavaScript | data/seeds/02_users.js | natecheney-dev/back-end | 9f9eee108f6a74ce9b177331f0bcaf1c761e2f8d | [
"MIT"
] | null | null | null | data/seeds/02_users.js | natecheney-dev/back-end | 9f9eee108f6a74ce9b177331f0bcaf1c761e2f8d | [
"MIT"
] | null | null | null | data/seeds/02_users.js | natecheney-dev/back-end | 9f9eee108f6a74ce9b177331f0bcaf1c761e2f8d | [
"MIT"
] | null | null | null | exports.seed = async function(knex) {
await knex('users').insert([
{
first_name: 'Nathan',
last_name: 'Cheney',
email: '1@email.com',
password: 'password'
},
{
first_name: 'Joe',
last_name: 'Phillips',
email: '2@email.com',
password: 'password'
},
{
... | 19.26087 | 37 | 0.519187 |
804e712394fb2bca5a72b9d41c57fba86146d3a6 | 1,050 | js | JavaScript | DS&A Problems/reverseInteger.js | tomrod10/mighty-machete | 8cb8c73179662df68403185fa123cd4cc8916e73 | [
"MIT"
] | null | null | null | DS&A Problems/reverseInteger.js | tomrod10/mighty-machete | 8cb8c73179662df68403185fa123cd4cc8916e73 | [
"MIT"
] | null | null | null | DS&A Problems/reverseInteger.js | tomrod10/mighty-machete | 8cb8c73179662df68403185fa123cd4cc8916e73 | [
"MIT"
] | null | null | null | /*
[LeetCode #7 Reverse Integer]
https://leetcode.com/problems/reverse-integer/
Prompt:
Given a signed 32-bit integer x, return x with its digits reversed. If reversing x causes the value to go outside the signed 32-bit integer range [-231, 231 - 1], then return 0.
Assume the environment does not allow you to store 6... | 18.103448 | 177 | 0.641905 |
804eee3e19187e5d0ba254ee751ae926bfd4af7f | 985 | js | JavaScript | src/stores/models/List.js | iksz1/project-organizer | c3985a23461b11d87e7daa109b60de3b59173c78 | [
"MIT"
] | 4 | 2019-08-21T13:38:06.000Z | 2021-01-24T23:31:35.000Z | src/stores/models/List.js | iksz1/project-organizer | c3985a23461b11d87e7daa109b60de3b59173c78 | [
"MIT"
] | null | null | null | src/stores/models/List.js | iksz1/project-organizer | c3985a23461b11d87e7daa109b60de3b59173c78 | [
"MIT"
] | 1 | 2020-11-18T04:47:51.000Z | 2020-11-18T04:47:51.000Z | import { types, flow, destroy } from "mobx-state-tree";
import Card from "./Card";
import db from "../../utils/dbWrapper";
import calcOrder from "../../utils/reorderHelper";
export const ListBase = types.model("ListBase", {
id: types.number,
boardId: types.number,
name: types.string,
cards: types.optional(type... | 25.921053 | 55 | 0.640609 |
8050645c70f4b662a35f6f162aed9ab212f12be3 | 425 | js | JavaScript | example-voting-app-sqlserver/cnab/app/result-app/node_modules/@azure/cosmos/lib/src/client/Conflict/index.js | asavaritayal/bundles | 59c2b1405ba38bed15774554301246a59fc49a30 | [
"MIT"
] | null | null | null | example-voting-app-sqlserver/cnab/app/result-app/node_modules/@azure/cosmos/lib/src/client/Conflict/index.js | asavaritayal/bundles | 59c2b1405ba38bed15774554301246a59fc49a30 | [
"MIT"
] | null | null | null | example-voting-app-sqlserver/cnab/app/result-app/node_modules/@azure/cosmos/lib/src/client/Conflict/index.js | asavaritayal/bundles | 59c2b1405ba38bed15774554301246a59fc49a30 | [
"MIT"
] | null | null | null | "use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var Conflict_1 = require("./Conflict");
exports.Conflict = Conflict_1.Conflict;
var Conflicts_1 = require("./Conflicts");
exports.Conflicts = Conflicts_1.Conflicts;
var ConflictResolutionMode_1 = require("./ConflictResolutionMode");
exports.Co... | 47.222222 | 81 | 0.797647 |
80517120eff297777c168eb166c65fdc8d1749ee | 12,552 | js | JavaScript | build/main@v0.3.6-bundle5.js | knowpedia/Mathematical-Analysis | c934abb853fb698b0eeb23b122a2e48e9fc2c8d8 | [
"MIT"
] | null | null | null | build/main@v0.3.6-bundle5.js | knowpedia/Mathematical-Analysis | c934abb853fb698b0eeb23b122a2e48e9fc2c8d8 | [
"MIT"
] | null | null | null | build/main@v0.3.6-bundle5.js | knowpedia/Mathematical-Analysis | c934abb853fb698b0eeb23b122a2e48e9fc2c8d8 | [
"MIT"
] | null | null | null |
/*************************** [bundle] ****************************/
// Original file:./src/derivative-and-differential.paper
/*****************************************************************/
window.__etcpack__bundleSrc__['36']=function(){
var __etcpack__scope_bundle__={};
var __etcpack__scope_args__;
... | 181.913043 | 10,193 | 0.622451 |
805243d97341b218cad612a85778640e37455b43 | 1,506 | js | JavaScript | js/rj.js | richardjohns/richardjohns.github.io | 922eec77d3f9c57bc576f16fd9feedb7ecab5b24 | [
"MIT"
] | null | null | null | js/rj.js | richardjohns/richardjohns.github.io | 922eec77d3f9c57bc576f16fd9feedb7ecab5b24 | [
"MIT"
] | null | null | null | js/rj.js | richardjohns/richardjohns.github.io | 922eec77d3f9c57bc576f16fd9feedb7ecab5b24 | [
"MIT"
] | null | null | null | function nextInLine(arr, item) {
// Your code here
testArr.push(item);
return arr.shift(); // Change this line
}
// Test Setup
var testArr = [1,2,3,4,5];
// Display Code
console.log("Before: " + JSON.stringify(testArr));
console.log(nextInLine(testArr, 6)); // Modify this line to test
console.log("After: " + J... | 15.525773 | 64 | 0.615538 |
80553718d375a124ee1288986f54099513f882dc | 18,646 | js | JavaScript | assets/javascripts/src/labelingGame.js | collector-m/kitti360LabelTool | e31a18a2415c55a4308bab935226f70a2c360844 | [
"MIT"
] | 52 | 2021-09-02T02:10:36.000Z | 2022-03-30T02:34:35.000Z | assets/javascripts/src/labelingGame.js | collector-m/kitti360LabelTool | e31a18a2415c55a4308bab935226f70a2c360844 | [
"MIT"
] | 3 | 2021-11-21T17:58:38.000Z | 2022-03-07T09:30:05.000Z | assets/javascripts/src/labelingGame.js | collector-m/kitti360LabelTool | e31a18a2415c55a4308bab935226f70a2c360844 | [
"MIT"
] | 8 | 2021-11-21T17:30:36.000Z | 2022-03-10T08:18:10.000Z | /**
Copyright 2018 Autonomous Vision Group
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distri... | 30.269481 | 460 | 0.664271 |