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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
a81d1139a481ac7127675f8a482fd130c4d8b7e4 | 317 | js | JavaScript | src/api/request/request.js | wishdev2019/web | 5be0b7c150bc5486b1b6795bbf1861e1d2091dd3 | [
"MIT"
] | null | null | null | src/api/request/request.js | wishdev2019/web | 5be0b7c150bc5486b1b6795bbf1861e1d2091dd3 | [
"MIT"
] | 1 | 2022-02-10T17:57:37.000Z | 2022-02-10T17:57:37.000Z | src/api/request/request.js | wishdev2019/web | 5be0b7c150bc5486b1b6795bbf1861e1d2091dd3 | [
"MIT"
] | null | null | null |
import { CoreRequest } from './fetch'
//登陆
export function login(options) {
options['url']='/api/user/login'
options['method']='post'
CoreRequest(options)
}
//用户信息查询
export function manageadd_query(options) {
options['url']='/api/public/manageadd_query'
options['method']='get'
CoreRequest(options)
}
| 17.611111 | 46 | 0.697161 |
a81d50a42b2aac3893bde9060948e043b413cc07 | 3,023 | js | JavaScript | client/routes.js | DollarDuck/Ducky | 70c86bd4dab0b2e16d2be45cd6c2543ee29649a0 | [
"MIT"
] | null | null | null | client/routes.js | DollarDuck/Ducky | 70c86bd4dab0b2e16d2be45cd6c2543ee29649a0 | [
"MIT"
] | 107 | 2018-09-26T21:18:23.000Z | 2018-10-09T21:52:32.000Z | client/routes.js | DollarDuck/Ducky | 70c86bd4dab0b2e16d2be45cd6c2543ee29649a0 | [
"MIT"
] | null | null | null | import React, {Component} from 'react'
import {connect} from 'react-redux'
import {withRouter, Route, Switch} from 'react-router-dom'
import PropTypes from 'prop-types'
import {
SplashPage,
PurchasePlanner,
Budget,
EditBudget,
Login,
Signup,
Onboarding,
OnboardingBudget,
LinkBank,
Bills,
NewBillFo... | 27.481818 | 103 | 0.625868 |
a81dd3796d23a9674868f54016c67aeeeb79972c | 34,446 | js | JavaScript | dist/alert.js | mayank1990dec/bulma | ff7f0762acb28a6a9387e8d8cefbd9982c7988a8 | [
"MIT"
] | null | null | null | dist/alert.js | mayank1990dec/bulma | ff7f0762acb28a6a9387e8d8cefbd9982c7988a8 | [
"MIT"
] | null | null | null | dist/alert.js | mayank1990dec/bulma | ff7f0762acb28a6a9387e8d8cefbd9982c7988a8 | [
"MIT"
] | null | null | null | (function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module === 'object')
module.exports = factory();
else if(typeof define === 'function' && define.amd)
define("Bulma", [], factory);
else if(typeof exports === 'object')
exports["Bulma"] = factory();
else
root... | 232.743243 | 10,168 | 0.575597 |
a81e8b1c78af53b73a96099b445ba0722d3e3f84 | 3,476 | js | JavaScript | client/src/components/skills.js | jesseohlman/React-Show-Off | 8c5bf23d930e7e306a2c9a8828fdbc95e7b152dc | [
"MIT"
] | null | null | null | client/src/components/skills.js | jesseohlman/React-Show-Off | 8c5bf23d930e7e306a2c9a8828fdbc95e7b152dc | [
"MIT"
] | null | null | null | client/src/components/skills.js | jesseohlman/React-Show-Off | 8c5bf23d930e7e306a2c9a8828fdbc95e7b152dc | [
"MIT"
] | null | null | null | import React, { Component, useState } from 'react';
import { Route, Link, BrowserRouter as Router } from 'react-router-dom';
import { Card, CardBody, CardTitle, CardSubtitle } from "shards-react";
import Works from "./works";
import SkillCard from "./sub-components/skillCard";
function Skills() {
const [skillCards,... | 63.2 | 798 | 0.730437 |
a81ef2c06edf5ad05bf647913d7864ceb7136612 | 4,846 | js | JavaScript | src/components/jumbotron.js | llwor94/portfolio | 39ef9efa3da0a8218870baf4a71db2b031c871b5 | [
"MIT"
] | null | null | null | src/components/jumbotron.js | llwor94/portfolio | 39ef9efa3da0a8218870baf4a71db2b031c871b5 | [
"MIT"
] | null | null | null | src/components/jumbotron.js | llwor94/portfolio | 39ef9efa3da0a8218870baf4a71db2b031c871b5 | [
"MIT"
] | null | null | null | import React, { useState, useEffect, Fragment } from 'react'
import styled from 'styled-components'
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'
import { faArrowCircleDown } from '@fortawesome/free-solid-svg-icons'
import Background from '../images/code1.png'
import Particles from 'react-particles-j... | 22.027273 | 95 | 0.537763 |
a81f4a319df3fe476b38c5cc8f287051594e9575 | 1,791 | js | JavaScript | examples/hello-world/client/containers/App.js | QuanKhs/resolve | 451d54462b2359bca355ef318f7435a10c6d5a80 | [
"MIT"
] | null | null | null | examples/hello-world/client/containers/App.js | QuanKhs/resolve | 451d54462b2359bca355ef318f7435a10c6d5a80 | [
"MIT"
] | 9 | 2021-03-03T22:54:18.000Z | 2021-03-05T10:10:07.000Z | examples/hello-world/client/containers/App.js | max-vasin-team/resolve | ebc751456979c9e497699a8e1b4e260c756b6a7b | [
"MIT"
] | null | null | null | import React from 'react'
import { Helmet } from 'react-helmet'
import { Navbar, Image, Nav } from 'react-bootstrap'
import { useStaticResolver } from '@resolve-js/react-hooks'
const App = () => {
const resolveStatic = useStaticResolver()
const stylesheetLink = {
rel: 'stylesheet',
type: 'text/css',
h... | 28.428571 | 71 | 0.565606 |
a8207333491bedc880afeda53b80dd7b05953f90 | 3,165 | js | JavaScript | src/components/PetActions/Appetite.js | joshporter1/cap-one-hackathon | 30372f3baec117caf9b795ca858b4f6a0f60ecba | [
"MIT"
] | null | null | null | src/components/PetActions/Appetite.js | joshporter1/cap-one-hackathon | 30372f3baec117caf9b795ca858b4f6a0f60ecba | [
"MIT"
] | null | null | null | src/components/PetActions/Appetite.js | joshporter1/cap-one-hackathon | 30372f3baec117caf9b795ca858b4f6a0f60ecba | [
"MIT"
] | null | null | null | var AppetiteProcessor = {
processFullUser(customer_id){
fetch('https://3hkaob4gkc.execute-api.us-east-1.amazonaws.com/prod/au-hackathon/transactions',
{
method: 'post',
body: JSON.stringify(
{ "customer_id" : customer_id }
)
}).then(function(response){
res... | 31.969697 | 102 | 0.53207 |
a821ce4c929bf547e283ff237ce339fa677e46a1 | 453,380 | js | JavaScript | main.ef381e0b3e8d3fa7ed79.bundle.js | candoall/candoall.github.io | dc12397247b25e8e5980261540873ce3e5b7ba70 | [
"MIT"
] | null | null | null | main.ef381e0b3e8d3fa7ed79.bundle.js | candoall/candoall.github.io | dc12397247b25e8e5980261540873ce3e5b7ba70 | [
"MIT"
] | null | null | null | main.ef381e0b3e8d3fa7ed79.bundle.js | candoall/candoall.github.io | dc12397247b25e8e5980261540873ce3e5b7ba70 | [
"MIT"
] | null | null | null | webpackJsonp([2],{"+3/4":function(t,e,n){"use strict";n.d(e,"a",function(){return i});var r=n("TToO"),i=function(t){function e(e){t.call(this),this.scheduler=e}return Object(r.b)(e,t),e.create=function(t){return new e(t)},e.dispatch=function(t){t.subscriber.complete()},e.prototype._subscribe=function(t){var n=this.sche... | 453,380 | 453,380 | 0.720034 |
a823039f9f86b8689f5ad0505aaae0f00a51e5f2 | 4,156 | js | JavaScript | node_modules/react-intersection-observer/react-intersection-observer.umd.min.js | RandyCamacho/furrow-studio-clone | 502ee78630a447291d4489f4ed34dc8502d579e7 | [
"MIT"
] | null | null | null | node_modules/react-intersection-observer/react-intersection-observer.umd.min.js | RandyCamacho/furrow-studio-clone | 502ee78630a447291d4489f4ed34dc8502d579e7 | [
"MIT"
] | null | null | null | node_modules/react-intersection-observer/react-intersection-observer.umd.min.js | RandyCamacho/furrow-studio-clone | 502ee78630a447291d4489f4ed34dc8502d579e7 | [
"MIT"
] | null | null | null | !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("react")):"function"==typeof define&&define.amd?define(["exports","react"],t):t((e=e||self).ReactIntersectionObserver={},e.React)}(this,(function(e,t){"use strict";function r(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enu... | 1,385.333333 | 4,091 | 0.695621 |
a82315c99cc5a5feb32119277731b958e272d544 | 446 | js | JavaScript | test/docs.js | MichaelHDesigns/gltcore-lib | 2b1267f9f5795b5651f8ffeab5efc33598259a0d | [
"MIT"
] | null | null | null | test/docs.js | MichaelHDesigns/gltcore-lib | 2b1267f9f5795b5651f8ffeab5efc33598259a0d | [
"MIT"
] | null | null | null | test/docs.js | MichaelHDesigns/gltcore-lib | 2b1267f9f5795b5651f8ffeab5efc33598259a0d | [
"MIT"
] | 3 | 2018-09-10T03:17:21.000Z | 2022-03-22T03:21:19.000Z | 'use strict';
var chai = require('chai');
var should = chai.should();
var gltcore = require('..');
var fs = require('fs');
describe('Documentation', function() {
it('major and minor versions should match', function() {
var versionRE = /v[0-9]+\.[0-9]+/;
var docIndex = fs.readFileSync('./docs/index.md', 'a... | 24.777778 | 63 | 0.639013 |
a82331b30348f60cc163b5d9de9217fbf16e4367 | 2,592 | js | JavaScript | application/views/admin/documentation/assets/js/custom.js | Tqkhan/itgs | 939707c80623bb9f1673b4e5c4f3d43f1386bde1 | [
"MIT"
] | null | null | null | application/views/admin/documentation/assets/js/custom.js | Tqkhan/itgs | 939707c80623bb9f1673b4e5c4f3d43f1386bde1 | [
"MIT"
] | null | null | null | application/views/admin/documentation/assets/js/custom.js | Tqkhan/itgs | 939707c80623bb9f1673b4e5c4f3d43f1386bde1 | [
"MIT"
] | null | null | null | $(document).ready(function () {
"use strict"; // Start of use strict
//back to top
$('body').append('<div id="toTop" class="btn back-top"><span class="fa fa-angle-up"></span></div>');
$(window).on('scroll',function () {
if ($(this).scrollTop() !== 0) {
$('#toTop').fadeIn();
... | 27 | 104 | 0.491512 |
a82377b926dfe85e04673654cb17111f0809ee85 | 904 | js | JavaScript | project/apps/FE-admin/src/utils/Actions.js | Monxun/PortainerPractice | a3be077efe5c5eb2aa27b6a2fcf626989bdbbbe4 | [
"MIT"
] | null | null | null | project/apps/FE-admin/src/utils/Actions.js | Monxun/PortainerPractice | a3be077efe5c5eb2aa27b6a2fcf626989bdbbbe4 | [
"MIT"
] | 1 | 2022-03-02T22:54:36.000Z | 2022-03-02T22:54:36.000Z | project/apps/FE-admin/src/utils/Actions.js | Monxun/PortainerPractice | a3be077efe5c5eb2aa27b6a2fcf626989bdbbbe4 | [
"MIT"
] | null | null | null | const actions = [
{
name: 'createAdmin',
displayName: 'Create Admin',
link: '/user/create',
icon: 'user-plus',
forwardState: true,
state: {
userType: 'admin'
}
},
{
name: 'viewMembers',
displayName: 'Members',
link: ... | 21.52381 | 40 | 0.484513 |
a823b375a1388c79af3f994d98d569121951e79f | 2,956 | js | JavaScript | index.js | brunodiasdev/quizdomilhao | 701d4b4c01751ad765682db405811e0e703e92ea | [
"MIT"
] | null | null | null | index.js | brunodiasdev/quizdomilhao | 701d4b4c01751ad765682db405811e0e703e92ea | [
"MIT"
] | null | null | null | index.js | brunodiasdev/quizdomilhao | 701d4b4c01751ad765682db405811e0e703e92ea | [
"MIT"
] | null | null | null | //-------------------------
/*seleções do HTML */
let iniproj = document.querySelector('.comecar')
let perg = document.querySelector('.pergunta')
let respA = document.querySelector('.respostaA')
let respB = document.querySelector('.respostaB')
let respC = document.querySelector('.respostaC')
let respD = document.query... | 28.152381 | 125 | 0.572057 |
a8245ab835f4e7087475fbe3d01ba97f1e3855e4 | 22,674 | js | JavaScript | SuiteCommerce Advanced/SC_21.1_Live/LocalDistributionAdvanced/languages/shopping_zh_CN.js | Rudracool/MotherCareBackend- | 1e38dd4c839929b026b8565739fcc7879a9b79c3 | [
"MIT"
] | null | null | null | SuiteCommerce Advanced/SC_21.1_Live/LocalDistributionAdvanced/languages/shopping_zh_CN.js | Rudracool/MotherCareBackend- | 1e38dd4c839929b026b8565739fcc7879a9b79c3 | [
"MIT"
] | null | null | null | SuiteCommerce Advanced/SC_21.1_Live/LocalDistributionAdvanced/languages/shopping_zh_CN.js | Rudracool/MotherCareBackend- | 1e38dd4c839929b026b8565739fcc7879a9b79c3 | [
"MIT"
] | null | null | null | SC.Translations={"$(0) Product":"$(0) 个产品","$(0) Products":"$(0) 个产品","$(0) Products, $(1) Items":"$(0) 个产品,$(1) 件货品","$(0) Products, 1 Item":"$(0) 个产品,1 件货品",'$(0) Results for <span class="facets-facet-browse-title-alt">$(1)</span>':'<span class="facets-facet-browse-title-alt">$(1)</span> 的 $(0) 个结果','$(0) Results for... | 22,674 | 22,674 | 0.68788 |
a82508b3ac54684e8e466958ba168cc5fd72aece | 711 | js | JavaScript | config/connection.js | ikeifu/handle-bars | cdd92c35df589f7cefe9108d4d71ebce1bf065e5 | [
"MIT"
] | null | null | null | config/connection.js | ikeifu/handle-bars | cdd92c35df589f7cefe9108d4d71ebce1bf065e5 | [
"MIT"
] | null | null | null | config/connection.js | ikeifu/handle-bars | cdd92c35df589f7cefe9108d4d71ebce1bf065e5 | [
"MIT"
] | null | null | null | // Importing the mysql module
const mysql = require("mysql");
// Setting up connection config
let connection;
// Check if we have Jaws DB URL
if (process.env.JAWSDB_URL) {
connection = mysql.createConnection(process.env.JAWSDB_URL);
}
else {
connection = mysql.createConnection({
host: "localhost",
... | 23.7 | 64 | 0.635724 |
a8250c2516dc318f98691074e9357a8e6ed4ce23 | 408 | js | JavaScript | .depslintrc.js | sangpt/ant-design | 85e77292a682a7cff2afe3a059020be6be992b22 | [
"MIT"
] | null | null | null | .depslintrc.js | sangpt/ant-design | 85e77292a682a7cff2afe3a059020be6be992b22 | [
"MIT"
] | null | null | null | .depslintrc.js | sangpt/ant-design | 85e77292a682a7cff2afe3a059020be6be992b22 | [
"MIT"
] | null | null | null | module.exports = {
ignore: [
'**/~*/**',
'**/_*/**',
'**/icon/**',
'**/__tests__/**',
'**/style/**',
'**/locale/**',
'**/*-provider/**',
'**/*.json',
],
modulePattern: [aaaaaaaa
{
pattern: /ConfigConsumer.*renderEmpty/ms,
module: '../empty',
},
{
patte... | 17.73913 | 57 | 0.426471 |
a825c7757cb7bef4b59fb5641d7c8375a053c0c3 | 272 | js | JavaScript | src/lib/graphql/Queries.js | abandisch/graphql-client | 72e2307e279473f8db5fc23d29ebc2ccb341ab6a | [
"MIT"
] | null | null | null | src/lib/graphql/Queries.js | abandisch/graphql-client | 72e2307e279473f8db5fc23d29ebc2ccb341ab6a | [
"MIT"
] | 5 | 2021-09-01T13:45:20.000Z | 2022-02-26T13:09:23.000Z | src/lib/graphql/Queries.js | abandisch/graphql-client | 72e2307e279473f8db5fc23d29ebc2ccb341ab6a | [
"MIT"
] | null | null | null | import gql from 'graphql-tag'
export const FEED_QUERY = gql`
{
feed {
links {
id
createdAt
url
description
postedBy {
id
name
}
votes {
id
user {
id
}
}
}
}
}
`
| 10.88 | 30 | 0.397059 |
a826196e109bb8c3d874a3400f97e715b7a77c72 | 5,330 | js | JavaScript | commands/grinders/gdono.js | ishitajs/FightHub | 4685a1d0c89eebfd2435e6ffb0c3714d46d9d233 | [
"MIT"
] | null | null | null | commands/grinders/gdono.js | ishitajs/FightHub | 4685a1d0c89eebfd2435e6ffb0c3714d46d9d233 | [
"MIT"
] | null | null | null | commands/grinders/gdono.js | ishitajs/FightHub | 4685a1d0c89eebfd2435e6ffb0c3714d46d9d233 | [
"MIT"
] | null | null | null | const Messages = require('../../functions/grind-dono')
module.exports = {
name: 'gdono',
aliases: ['g'],
args: true,
usage: 'd <@USER | USER_ID> <Subtract | Add> <Amount>',
description: 'Grinder donos.',
fhOnly: true,
execute(message, args) {
args.shift()
const example = `\n... | 37.272727 | 136 | 0.433021 |
a826d33492a6da29a228ed5522d66502e42ff1b8 | 3,813 | js | JavaScript | src/components/ResponseList/ServerSort/index.js | mlaga97/dagger-redux | 4ac14e3a52eb4d63d17d69024050d31dee8f211d | [
"MIT"
] | null | null | null | src/components/ResponseList/ServerSort/index.js | mlaga97/dagger-redux | 4ac14e3a52eb4d63d17d69024050d31dee8f211d | [
"MIT"
] | null | null | null | src/components/ResponseList/ServerSort/index.js | mlaga97/dagger-redux | 4ac14e3a52eb4d63d17d69024050d31dee8f211d | [
"MIT"
] | null | null | null | // Library imports
import React from 'react';
import { connect } from 'react-redux';
// Actions
import actions from '../../../actions';
// Components
import Response from '../Response';
import SearchDump from './SearchDump';
import PageSelector from './PageSelector';
import SearchResults from './SearchResults';
impor... | 24.75974 | 120 | 0.615264 |
a828219049c00913312a0a9325ddce443486c0c6 | 105,702 | js | JavaScript | public/plugins/highlight/highlight.pack.js | vhaf123/adminlte | 13b442fd6143095cda907ca0d84f03e7ad6c766e | [
"MIT"
] | null | null | null | public/plugins/highlight/highlight.pack.js | vhaf123/adminlte | 13b442fd6143095cda907ca0d84f03e7ad6c766e | [
"MIT"
] | 8 | 2021-02-02T18:58:57.000Z | 2022-03-02T09:04:24.000Z | public/plugins/highlight/highlight.pack.js | vhaf123/adminlte | 13b442fd6143095cda907ca0d84f03e7ad6c766e | [
"MIT"
] | null | null | null | /*
Highlight.js 10.1.1 (93fd0d73)
License: BSD-3-Clause
Copyright (c) 2006-2020, Ivan Sagalaev
*/
var hljs=function(){"use strict";function e(n){Object.freeze(n);var t="function"==typeof n;return Object.getOwnPropertyNames(n).forEach((function(r){!Object.hasOwnProperty.call(n,r)||null===n[r]||"object"!=typeof n[r... | 17,617 | 105,598 | 0.714055 |
a829a9ff19eb7ccf8c9b44c130e025ca8f32463d | 280 | js | JavaScript | src/layouts/images/projects/index.js | nrl240/noelle-laureano | 1c32dea84a923331027557ef1c26d353764bfc17 | [
"MIT"
] | null | null | null | src/layouts/images/projects/index.js | nrl240/noelle-laureano | 1c32dea84a923331027557ef1c26d353764bfc17 | [
"MIT"
] | null | null | null | src/layouts/images/projects/index.js | nrl240/noelle-laureano | 1c32dea84a923331027557ef1c26d353764bfc17 | [
"MIT"
] | 4 | 2019-03-31T15:33:33.000Z | 2021-06-11T00:57:07.000Z | export { default as mapStackMockup } from './mapstackmockup.png'
export { default as saucesomeMockup } from './saucesomemockup.png'
export { default as theListeningRoomMockup } from './theListeningRoomMockup.png'
export { default as graceCardMockup } from './graceCardMockup.png'
| 56 | 80 | 0.785714 |
a82a432fd093122aaf801a4e5abf502c5167f84c | 2,272 | js | JavaScript | src/components/Home/Contact2.js | JWsoundsystems/HoneyCombStudios | ee882057713b196fdb991c805d669cd202893952 | [
"MIT"
] | null | null | null | src/components/Home/Contact2.js | JWsoundsystems/HoneyCombStudios | ee882057713b196fdb991c805d669cd202893952 | [
"MIT"
] | null | null | null | src/components/Home/Contact2.js | JWsoundsystems/HoneyCombStudios | ee882057713b196fdb991c805d669cd202893952 | [
"MIT"
] | 1 | 2020-09-11T00:13:35.000Z | 2020-09-11T00:13:35.000Z | import React from 'react'
import { Link } from "gatsby"
import AboutImg1 from "../../images/Store/22_Store.jpg"
import { BsXSquare } from "react-icons/bs";
export default function Contact() {
return (
<div className="container">
<div className="row contact-contain">
<div classNam... | 31.123288 | 137 | 0.56294 |
a82a7c14f8e1eb04332549c9d450cb398fefdda9 | 1,167 | js | JavaScript | FreeAccess/node_modules/pngjs/lib/packer-async.js | FontanyLegall-Brandon/FreeAccess | 0d79ab6315eecfadc623f9a09d009d28afff9e02 | [
"MIT"
] | null | null | null | FreeAccess/node_modules/pngjs/lib/packer-async.js | FontanyLegall-Brandon/FreeAccess | 0d79ab6315eecfadc623f9a09d009d28afff9e02 | [
"MIT"
] | null | null | null | FreeAccess/node_modules/pngjs/lib/packer-async.js | FontanyLegall-Brandon/FreeAccess | 0d79ab6315eecfadc623f9a09d009d28afff9e02 | [
"MIT"
] | 1 | 2019-07-08T07:35:15.000Z | 2019-07-08T07:35:15.000Z | 'use strict';
var util = require('util');
var Stream = require('stream');
var constants = require('./constants');
var Packer = require('./packer');
var PackerAsync = module.exports = function(opt) {
Stream.call(this);
var options = opt || {};
this._packer = new Packer(options);
this._deflate = ... | 25.369565 | 68 | 0.648672 |
a82acec3ea380a422bb9c5467b88a201feab7b03 | 1,595 | js | JavaScript | src/pages/oj/views/index.js | Sejong-Creative-Semester2021/OJ-FE | 336cbb603d4d98c7a35d3b8361c4c0223d1c149f | [
"MIT"
] | null | null | null | src/pages/oj/views/index.js | Sejong-Creative-Semester2021/OJ-FE | 336cbb603d4d98c7a35d3b8361c4c0223d1c149f | [
"MIT"
] | null | null | null | src/pages/oj/views/index.js | Sejong-Creative-Semester2021/OJ-FE | 336cbb603d4d98c7a35d3b8361c4c0223d1c149f | [
"MIT"
] | null | null | null | import ProblemList from './problem/ProblemList.vue'
import Logout from './user/Logout.vue'
import UserHome from './user/UserHome.vue'
import About from './help/About.vue'
import FAQ from './help/FAQ.vue'
import NotFound from './general/404.vue'
import Home from './general/Home.vue'
import Announcements from './general/... | 43.108108 | 121 | 0.737304 |
a82b527ad5efd15f861f9743fd291eb4873f4c2e | 2,171 | js | JavaScript | frontend/src/components/CommunityPage.js | MITMapps/control | a4d1fe93dd584a6c4460460ca07e9f7d911c004f | [
"MIT"
] | null | null | null | frontend/src/components/CommunityPage.js | MITMapps/control | a4d1fe93dd584a6c4460460ca07e9f7d911c004f | [
"MIT"
] | null | null | null | frontend/src/components/CommunityPage.js | MITMapps/control | a4d1fe93dd584a6c4460460ca07e9f7d911c004f | [
"MIT"
] | null | null | null | import React, {useEffect, useState} from "react";
import {search_mitmapps} from "../lib/community_apps";
import ClickableApplication from "./ClickableApplication";
import {getInstalledApps} from "../lib/installed_apps";
import {Alert, Box, Button, CircularProgress, Divider, LinearProgress, Paper, Stack, TextField} from... | 37.431034 | 117 | 0.505758 |
a82b6d4a1ae5bdd9b9f79fd0cfd6816fdcb83a10 | 237 | js | JavaScript | server/db/migrations/20180805044523_messages.js | Ryan-Jung/react-strings | 97921c15111f17b386190dd960d2fbb9544a390b | [
"MIT"
] | null | null | null | server/db/migrations/20180805044523_messages.js | Ryan-Jung/react-strings | 97921c15111f17b386190dd960d2fbb9544a390b | [
"MIT"
] | null | null | null | server/db/migrations/20180805044523_messages.js | Ryan-Jung/react-strings | 97921c15111f17b386190dd960d2fbb9544a390b | [
"MIT"
] | null | null | null | exports.up = knex =>
knex.schema.createTable('messages', table => {
table.increments();
table.string('message').notNullable();
table.timestamp('created_at');
});
exports.down = knex => knex.schema.dropTable('messages');
| 26.333333 | 57 | 0.662447 |
a82bd1ab486752b33f2f3c25ab107c68952e873d | 921 | js | JavaScript | app/components/router.js | sayantda/hotel-booking-system | 6f80c58daf27d29f3dad98d1ee7a6bb5052f5a13 | [
"MIT"
] | null | null | null | app/components/router.js | sayantda/hotel-booking-system | 6f80c58daf27d29f3dad98d1ee7a6bb5052f5a13 | [
"MIT"
] | 1 | 2021-05-10T09:28:20.000Z | 2021-05-10T09:28:20.000Z | app/components/router.js | sayantda/hotel-booking-system | 6f80c58daf27d29f3dad98d1ee7a6bb5052f5a13 | [
"MIT"
] | null | null | null | 'use strict'
const express = require('express')
const config = require('../../config')
const jsonld = require('./factory')
/**
* This is the abstract router, diverts to specific route implementations based on url
* @param dbc
* @returns {Router|router}
*/
module.exports = dbc => {
let router = express.Router()
... | 19.1875 | 86 | 0.549403 |
a82cc60d97688ce30b1cf35a586597b007be4f23 | 4,812 | js | JavaScript | src/__tests__/validateactionrevelation.test.js | aarong/feedme-util | dbff14e4cf8104a7a1a6072d6a165022b371785b | [
"MIT"
] | null | null | null | src/__tests__/validateactionrevelation.test.js | aarong/feedme-util | dbff14e4cf8104a7a1a6072d6a165022b371785b | [
"MIT"
] | 8 | 2019-12-28T16:34:51.000Z | 2021-09-06T17:16:26.000Z | src/__tests__/validateactionrevelation.test.js | aarong/feedme-util | dbff14e4cf8104a7a1a6072d6a165022b371785b | [
"MIT"
] | null | null | null | import validateActionRevelation from "../validateactionrevelation";
describe("The validateActionRevelation.check() function", () => {
it("should throw on invalid type", () => {
expect(() => {
validateActionRevelation.check(123);
}).toThrow(
new Error("INVALID_ARGUMENT: Not an object or invalid Me... | 31.045161 | 88 | 0.521613 |
a82cd5f438c7cff9d35f88f3ba0b6ad0db0f781b | 9,048 | js | JavaScript | node_modules/angular-material/modules/closure/menuBar/menuBar.min.js | RiickOliveira/NovoFrontAppPorteiro | 86cc4e2bf234a73554835596df0f3acae1d6c13b | [
"MIT"
] | null | null | null | node_modules/angular-material/modules/closure/menuBar/menuBar.min.js | RiickOliveira/NovoFrontAppPorteiro | 86cc4e2bf234a73554835596df0f3acae1d6c13b | [
"MIT"
] | 19 | 2020-04-30T11:26:37.000Z | 2022-03-02T07:06:54.000Z | node_modules/angular-material/modules/closure/menuBar/menuBar.min.js | RiickOliveira/NovoFrontAppPorteiro | 86cc4e2bf234a73554835596df0f3acae1d6c13b | [
"MIT"
] | 2 | 2015-12-17T18:45:20.000Z | 2018-02-01T21:05:13.000Z | /*!
* AngularJS Material Design
* https://github.com/angular/material
* @license MIT
* v1.1.9-master-41c9d00
*/
function MenuBarController(e,n,t,o,r,i,a,l){this.$element=t,this.$attrs=o,this.$mdConstant=r,this.$mdUtil=a,this.$document=i,this.$scope=e,this.$rootScope=n,this.$timeout=l;var u=this;angular.forEach(BOU... | 1,292.571429 | 8,931 | 0.758068 |
a82ded8677e0423933fae385a8d46e6815ed97e8 | 7,766 | js | JavaScript | App/Modules/auth.js | AliFrank608-TMW/FanClubapp | ba183e83fd845e69d7a97592d42401b23f97e983 | [
"MIT"
] | null | null | null | App/Modules/auth.js | AliFrank608-TMW/FanClubapp | ba183e83fd845e69d7a97592d42401b23f97e983 | [
"MIT"
] | null | null | null | App/Modules/auth.js | AliFrank608-TMW/FanClubapp | ba183e83fd845e69d7a97592d42401b23f97e983 | [
"MIT"
] | null | null | null | import * as api from '../API/auth'
import * as meApi from '../API/me'
import * as storage from '../Utils/storage'
import log from '../Utils/log'
import {Alert, Platform} from 'react-native'
export const UPDATE_USER_BASIC_INFO = 'auth/UPDATE_USER_BASIC_INFO'
export const UPDATE_ACCESS_TOKEN = 'auth/UPDATE_ACCESS_TOKEN'... | 30.100775 | 116 | 0.618208 |
a82ec69f2b56b751fbd4402d4e3aa4f6070dadbe | 131 | js | JavaScript | test/routes/master/garment-product/unauthorized.js | AndreaZain/dl-core-webapi | 0165015f03a40cdf9dfeecbaa3abf171f00adb5e | [
"MIT"
] | null | null | null | test/routes/master/garment-product/unauthorized.js | AndreaZain/dl-core-webapi | 0165015f03a40cdf9dfeecbaa3abf171f00adb5e | [
"MIT"
] | null | null | null | test/routes/master/garment-product/unauthorized.js | AndreaZain/dl-core-webapi | 0165015f03a40cdf9dfeecbaa3abf171f00adb5e | [
"MIT"
] | null | null | null | var unauthorizedTest = require("../../unauthorized-test-factory");
unauthorizedTest({
uri: "/master/garment-products"
});
| 26.2 | 67 | 0.679389 |
a82fdbc092ff91ad762338c40564ea126dd81e65 | 2,436 | js | JavaScript | shared/start/login/forms-container/forms-components.js | evgmsk/wiz-battles-ssr | 5a4129b509504d606aea367bb1ed25ee520659d4 | [
"MIT"
] | null | null | null | shared/start/login/forms-container/forms-components.js | evgmsk/wiz-battles-ssr | 5a4129b509504d606aea367bb1ed25ee520659d4 | [
"MIT"
] | 10 | 2019-11-25T12:49:36.000Z | 2022-02-26T10:29:19.000Z | shared/start/login/forms-container/forms-components.js | evgmsk/wiz-battles-ssr | 5a4129b509504d606aea367bb1ed25ee520659d4 | [
"MIT"
] | null | null | null | import React from 'react';
import Register from '../reg-form/reg-form';
import Login from '../login-form/login-form';
import ResetPassword from '../reset-password-form/reset-password-form';
import WithTransition, {WithTransitionWrapper} from '../../../common/transition-wrapper/with-react-transition';
import T from '..... | 40.6 | 123 | 0.610016 |
a834689b16f5505f5be0e12a56e52cc045bcf447 | 652 | js | JavaScript | src/api/stats/avax/getSnob3PoolPrice.js | dalton-cole/beefy-api | 99abde159ca981f08937fbc4d97fc92bae305474 | [
"MIT"
] | null | null | null | src/api/stats/avax/getSnob3PoolPrice.js | dalton-cole/beefy-api | 99abde159ca981f08937fbc4d97fc92bae305474 | [
"MIT"
] | 1 | 2022-03-30T21:26:33.000Z | 2022-03-30T21:26:33.000Z | src/api/stats/avax/getSnob3PoolPrice.js | dalton-cole/beefy-api | 99abde159ca981f08937fbc4d97fc92bae305474 | [
"MIT"
] | null | null | null | const BigNumber = require('bignumber.js');
const { avaxWeb3: web3 } = require('../../../utils/web3');
const LPAbi = require('../../../abis/Snob3LP.json');
const { getContractWithProvider } = require('../../../utils/contractHelper');
const lp = '0x6B41E5c07F2d382B921DE5C34ce8E2057d84C042';
const DECIMALS = '1e18';
co... | 34.315789 | 84 | 0.71319 |
a834b062c439b8c525a7b4c782704776f7374f2d | 623 | js | JavaScript | routes/auth.js | RaisanJMR/todaystay | d494c7e20ebc8f367e1ea02dda110d57843c4e03 | [
"MIT"
] | null | null | null | routes/auth.js | RaisanJMR/todaystay | d494c7e20ebc8f367e1ea02dda110d57843c4e03 | [
"MIT"
] | null | null | null | routes/auth.js | RaisanJMR/todaystay | d494c7e20ebc8f367e1ea02dda110d57843c4e03 | [
"MIT"
] | null | null | null | import express from 'express'
import {
register,
login,
getMe,
forgotPassword,
resetPassword,
updateDetails,
updatePassword,
logOut
} from '../controllers/auth.js'
import { protect } from '../middleware/auth.js'
const router = express.Router()
router.post('/register', register)
router.post('/login', lo... | 24.92 | 55 | 0.744783 |
a83522c82f131e035ea4a9e1994f3c3f77fa3700 | 1,178 | js | JavaScript | solutions/day03.js | Gaiwecoor/aoc2021 | 03367dcbfdeeae053aba902394fdedf6c904fd5e | [
"MIT"
] | null | null | null | solutions/day03.js | Gaiwecoor/aoc2021 | 03367dcbfdeeae053aba902394fdedf6c904fd5e | [
"MIT"
] | null | null | null | solutions/day03.js | Gaiwecoor/aoc2021 | 03367dcbfdeeae053aba902394fdedf6c904fd5e | [
"MIT"
] | null | null | null | function Setup(data) {
return data.trim().split("\n").map(e => parseInt(e, 2));
}
const bitLen = 12,
bits = Array(bitLen).fill().map((e, i) => 2 ** i),
bit1 = bits[bitLen - 1],
sum = (2 ** bitLen) - 1;
function Part1(data) {
const counts = Array(bitLen).fill(0);
for (let signal of data) {
for (let i =... | 26.772727 | 93 | 0.505093 |
a83546562ba26ac88ce525e97652992586cbd8a4 | 26,288 | js | JavaScript | src/pages/components/overlays/grouped-lists.js | elvinsolano/astro-design-system | ce6c758ed252f366b3badb1deaf7419aad3cba40 | [
"MIT"
] | null | null | null | src/pages/components/overlays/grouped-lists.js | elvinsolano/astro-design-system | ce6c758ed252f366b3badb1deaf7419aad3cba40 | [
"MIT"
] | null | null | null | src/pages/components/overlays/grouped-lists.js | elvinsolano/astro-design-system | ce6c758ed252f366b3badb1deaf7419aad3cba40 | [
"MIT"
] | null | null | null | import React, { Component } from "react";
import Scrollspy from 'react-scrollspy';
import {Link} from 'gatsby';
import { Tab, Tabs, TabList, TabPanel } from 'react-tabs';
import 'lazysizes';
import Layout from "../../../components/layout";
import SEO from "../../../components/seo";
import Heading from '../../..... | 66.050251 | 1,184 | 0.533019 |
a83565e4e40d0d13c872c1befbff44f27b47712a | 1,010 | js | JavaScript | src/styles.js | Pixelcaps/sellics-image-approve-challenge | f43476f7462f07c3f20a4db43f6b7432b13022b9 | [
"MIT"
] | null | null | null | src/styles.js | Pixelcaps/sellics-image-approve-challenge | f43476f7462f07c3f20a4db43f6b7432b13022b9 | [
"MIT"
] | null | null | null | src/styles.js | Pixelcaps/sellics-image-approve-challenge | f43476f7462f07c3f20a4db43f6b7432b13022b9 | [
"MIT"
] | null | null | null | import { styled as styledMaterial } from "@mui/material/styles";
import AppBar from '@mui/material/AppBar';
import Divider from '@mui/material/Divider';
import Typography from '@mui/material/Typography';
export const StyledAppBar = styledMaterial(AppBar)`
background-color: #111111;
color: #eb8c34;
align-it... | 27.297297 | 76 | 0.658416 |
a835b830eef08b1ba30c8e87d0a36b2f4a90ec6e | 887 | js | JavaScript | src/after-30-days.js | mhmartin/comparaonline-test | d53f5be1c1c286ddfc69983c3464cb5c37569a9d | [
"MIT"
] | null | null | null | src/after-30-days.js | mhmartin/comparaonline-test | d53f5be1c1c286ddfc69983c3464cb5c37569a9d | [
"MIT"
] | null | null | null | src/after-30-days.js | mhmartin/comparaonline-test | d53f5be1c1c286ddfc69983c3464cb5c37569a9d | [
"MIT"
] | null | null | null | const coTest = require('./coTest');
const CarInsurance = coTest.CarInsurance;
const Product = coTest.Product;
const productsAtDayZero = [
new Product('Medium Coverage', 10, 20),
new Product('Full Coverage', 2, 0),
new Product('Low Coverage', 5, 7),
new Product('Mega Coverage', 0, 80),
new Product('Mega Cover... | 32.851852 | 70 | 0.660654 |
a835e7fa62f7de838163a88f15b64d33b8940ab0 | 1,085 | js | JavaScript | test/karma.conf.js | ThinkDuan/viewerjs-optimize | abb66b2e4cab15a66ab8d4df48bda8b7d47bda99 | [
"MIT"
] | null | null | null | test/karma.conf.js | ThinkDuan/viewerjs-optimize | abb66b2e4cab15a66ab8d4df48bda8b7d47bda99 | [
"MIT"
] | null | null | null | test/karma.conf.js | ThinkDuan/viewerjs-optimize | abb66b2e4cab15a66ab8d4df48bda8b7d47bda99 | [
"MIT"
] | null | null | null | const puppeteer = require('puppeteer');
const rollupConfig = require('../rollup.config');
process.env.CHROME_BIN = puppeteer.executablePath();
module.exports = (config) => {
config.set({
autoWatch: false,
basePath: '..',
browsers: ['ChromeHeadless'],
client: {
mocha: {
timeout: 10000,
... | 23.085106 | 52 | 0.539171 |
a836ae53008b1a1dba268ad5f726e7479288aabf | 40 | js | JavaScript | Avalicao/teste.js | diegocamiloaps/JavaScript | 156e7e8956e60187bf73d79aaad8f7b4de98503f | [
"MIT"
] | null | null | null | Avalicao/teste.js | diegocamiloaps/JavaScript | 156e7e8956e60187bf73d79aaad8f7b4de98503f | [
"MIT"
] | null | null | null | Avalicao/teste.js | diegocamiloaps/JavaScript | 156e7e8956e60187bf73d79aaad8f7b4de98503f | [
"MIT"
] | null | null | null | let num = 8;
num **=2
console.log(num) | 8 | 16 | 0.6 |
a83795a394b5579343fc1ca5ce732adc03b31576 | 2,118 | js | JavaScript | src/options/lib/utils.js | pipopa/mouse-dictionary | 5b9bf28775404056a604d31facb55354fe0e3906 | [
"MIT"
] | null | null | null | src/options/lib/utils.js | pipopa/mouse-dictionary | 5b9bf28775404056a604d31facb55354fe0e3906 | [
"MIT"
] | null | null | null | src/options/lib/utils.js | pipopa/mouse-dictionary | 5b9bf28775404056a604d31facb55354fe0e3906 | [
"MIT"
] | null | null | null | /**
* Mouse Dictionary (https://github.com/wtetsu/mouse-dictionary/)
* Copyright 2018-present wtetsu
* Licensed under MIT
*/
const fileMayBeSjis = async file => {
return new Promise((done, fail) => {
const reader = new FileReader();
reader.onload = e => {
try {
const buffer = e.target.resul... | 24.627907 | 124 | 0.559018 |
a837ade66fd92316727b71e4dc17b3b1ce28f960 | 404 | js | JavaScript | src/global.styles.js | TobiasFavero/todo-app | 9617144ef17d8ec5c49a98a49a3b3921aaba418c | [
"MIT"
] | null | null | null | src/global.styles.js | TobiasFavero/todo-app | 9617144ef17d8ec5c49a98a49a3b3921aaba418c | [
"MIT"
] | null | null | null | src/global.styles.js | TobiasFavero/todo-app | 9617144ef17d8ec5c49a98a49a3b3921aaba418c | [
"MIT"
] | null | null | null | import { createGlobalStyle } from "styled-components";
export const GlobalStyles = createGlobalStyle`
body {
background: ${({ theme }) => theme.body};
color: ${({ theme }) => theme.text};
transition: background 0.2s ease-in, color 0.2s ease-in;
}
`;
export const lightTheme = {
body: '#f1f1f1',
tex... | 20.2 | 60 | 0.628713 |
a837cc16144f6890ce9d1154b2566398083a81bb | 8,619 | js | JavaScript | packages/node_modules/@ractivejs/adaptor-ampersand/test/specs/collection.js | fskreuz/ractive-monorepo | be27e0ba6466dd679245e891262715eb62bb317a | [
"MIT"
] | null | null | null | packages/node_modules/@ractivejs/adaptor-ampersand/test/specs/collection.js | fskreuz/ractive-monorepo | be27e0ba6466dd679245e891262715eb62bb317a | [
"MIT"
] | null | null | null | packages/node_modules/@ractivejs/adaptor-ampersand/test/specs/collection.js | fskreuz/ractive-monorepo | be27e0ba6466dd679245e891262715eb62bb317a | [
"MIT"
] | null | null | null | /* eslint-env browser, qunit */
import { Model, Collection } from 'ampersand'
import Ractive from '@ractivejs/core'
import { ampersandModel, ampersandCollection } from '@ractivejs/adaptor-ampersand'
QUnit.module('adaptor-ampersand collections')
QUnit.test('Adaptor can detect collections', t => {
t.ok(ampersandColle... | 40.848341 | 93 | 0.666319 |
a837cc256dd1bfc93aa75286cca8547192bf27b3 | 93 | js | JavaScript | typescript-sample/dist/type/alias.js | kmakoto0212/sample-code-upgrade-test | 445a83526c1b11165dfd6dfe57a47b3c835c7ea4 | [
"MIT"
] | null | null | null | typescript-sample/dist/type/alias.js | kmakoto0212/sample-code-upgrade-test | 445a83526c1b11165dfd6dfe57a47b3c835c7ea4 | [
"MIT"
] | 9 | 2020-11-16T08:52:15.000Z | 2021-10-19T00:26:13.000Z | typescript-sample/dist/type/alias.js | kmakoto0212/sample-code-upgrade-test | 445a83526c1b11165dfd6dfe57a47b3c835c7ea4 | [
"MIT"
] | null | null | null | "use strict";
var hoge = 1000;
var fuga = 5000;
/*
const piyo: osatu = 100; //Error Code.
*/
| 13.285714 | 38 | 0.612903 |
a837d128f83fbdc7f3e768e4d5016b93471ba725 | 1,461 | js | JavaScript | assets/js/55.8e08ab45.js | wanglongkai/wanglongkai.github.io | 8b0666f2b528a8da9b005e7e3e2abe6b59401fd5 | [
"MIT"
] | null | null | null | assets/js/55.8e08ab45.js | wanglongkai/wanglongkai.github.io | 8b0666f2b528a8da9b005e7e3e2abe6b59401fd5 | [
"MIT"
] | null | null | null | assets/js/55.8e08ab45.js | wanglongkai/wanglongkai.github.io | 8b0666f2b528a8da9b005e7e3e2abe6b59401fd5 | [
"MIT"
] | null | null | null | (window.webpackJsonp=window.webpackJsonp||[]).push([[55],{439:function(e,t,a){"use strict";a.r(t);var c=a(27),v=Object(c.a)({},(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("ContentSlotsDistributor",{attrs:{"slot-key":e.$parent.slotKey}},[a("Hone",[e._v("为什么我们都觉得React比Vue难呢?")]),e._v(" "),a("p",[e.... | 1,461 | 1,461 | 0.711841 |
a837ed0db7bd9a51ee48573be0f34deee9a83c9a | 1,129 | js | JavaScript | test175.js | zymseo/test-code | 8e8c34760916f038bc58fb1e077209b83b92542d | [
"MIT"
] | null | null | null | test175.js | zymseo/test-code | 8e8c34760916f038bc58fb1e077209b83b92542d | [
"MIT"
] | 2 | 2020-08-09T13:55:38.000Z | 2020-09-18T08:41:46.000Z | test175.js | zhaoyiming0803/test-code | d2c7a6bf4b9130762acbed2fb19ad94acf141273 | [
"MIT"
] | 1 | 2019-05-15T03:08:49.000Z | 2019-05-15T03:08:49.000Z | (function () {
var a = 1;
console.log("1: ", a); // 1
if (true) {
a = 2;
console.log("2: ", a); // 2
function a() {}
console.log("3: ", a); // 2
a = 21;
console.log("4: ", a); // 21
}
console.log("5: ", a); // 2
})();
(function () {
var a = 1;
console.log("11: ", a); // 1
if... | 17.369231 | 64 | 0.478299 |
a837f33baedb1ab448355561d85e21b0eda00ee2 | 5,685 | js | JavaScript | Web_Site/cloud.home.yimian.xyz/apps/dav/l10n/nb.js | IoTcat/archive | b43dd5c01c3b38cde97bbdbb87bfc51847303e58 | [
"MIT"
] | null | null | null | Web_Site/cloud.home.yimian.xyz/apps/dav/l10n/nb.js | IoTcat/archive | b43dd5c01c3b38cde97bbdbb87bfc51847303e58 | [
"MIT"
] | null | null | null | Web_Site/cloud.home.yimian.xyz/apps/dav/l10n/nb.js | IoTcat/archive | b43dd5c01c3b38cde97bbdbb87bfc51847303e58 | [
"MIT"
] | null | null | null | OC.L10N.register(
"dav",
{
"Calendar" : "Kalender",
"Todos" : "Gjøremål",
"Personal" : "Personlig",
"{actor} created calendar {calendar}" : "{actor} opprettet kalenderen {calendar}",
"You created calendar {calendar}" : "Du opprettet kalenderen {calendar}",
"{actor} deleted calendar {cale... | 81.214286 | 214 | 0.681442 |
a83ad11695b43689e73ea98225d0c7fb7e9b7511 | 8,636 | js | JavaScript | src/views/UserItem.js | pranjalsharma03/quiz | 249a713a0e0ef8c440fdcfb65435cb4791b3867f | [
"MIT"
] | null | null | null | src/views/UserItem.js | pranjalsharma03/quiz | 249a713a0e0ef8c440fdcfb65435cb4791b3867f | [
"MIT"
] | null | null | null | src/views/UserItem.js | pranjalsharma03/quiz | 249a713a0e0ef8c440fdcfb65435cb4791b3867f | [
"MIT"
] | null | null | null | import React, { useState } from "react";
import firebase from "../variables/config";
import {
Modal,
ModalHeader,
ModalBody,
ModalFooter,
FormGroup,
Form,
Button,
Input,
Row,
Col,
} from "reactstrap";
const QuestionItem = (props) => {
console.log(props.main);
const [modal, setModal] = useState(... | 29.575342 | 78 | 0.354794 |
a83addec259c37998559ab4749860967e8ead188 | 1,586 | js | JavaScript | app/components/Maps/images/paths/MoonTemple.js | igorgo/poe-helper | 8dfc7e6b2229cb8e074531d95ed02b5ed4abacab | [
"MIT"
] | null | null | null | app/components/Maps/images/paths/MoonTemple.js | igorgo/poe-helper | 8dfc7e6b2229cb8e074531d95ed02b5ed4abacab | [
"MIT"
] | 2 | 2021-01-28T20:11:55.000Z | 2022-03-25T18:51:45.000Z | app/components/Maps/images/paths/MoonTemple.js | igorgo/poe-helper | 8dfc7e6b2229cb8e074531d95ed02b5ed4abacab | [
"MIT"
] | null | null | null | export default [
`M42.78,41.05c2.83,0,5.66-0.03,8.48,0.01c3.13,0.04,3.3,0.34,1.86,3.43c-0.96,2.06-2.1,4.04-2.97,6.13
c-0.23,0.55,0.63,1.64,0.35,2.06c-0.37,0.56-1.1,0.84-1.62,1.54c-3.47,4.72-11.4,5.38-15.73,1.48c-3.27-2.95-2.89-5.61,1.16-7.38
c1.56-0.68,3.28-0.37,4.91-0.26c1.86,0.12,1.34,2.96,3.37,3.22c0.45,0.06-0.1... | 88.111111 | 125 | 0.612232 |
a83b64b46353d51af4a65863e3bde870ad1826e6 | 723 | js | JavaScript | frontend/node_modules/@shopify/polaris-icons/dist/icons/polaris/circle-alert_major_monotone.svg.js | lubitelpospat/CFM-source | 4e6af33ee68c6f2f05b6952b64a6b3f0591d5b03 | [
"MIT"
] | null | null | null | frontend/node_modules/@shopify/polaris-icons/dist/icons/polaris/circle-alert_major_monotone.svg.js | lubitelpospat/CFM-source | 4e6af33ee68c6f2f05b6952b64a6b3f0591d5b03 | [
"MIT"
] | 1 | 2021-06-04T10:05:05.000Z | 2021-06-04T10:05:05.000Z | frontend/node_modules/@shopify/polaris-icons/dist/icons/polaris/circle-alert_major_monotone.svg.js | lubitelpospat/CFM-source | 4e6af33ee68c6f2f05b6952b64a6b3f0591d5b03 | [
"MIT"
] | null | null | null | 'use strict';
function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
var React = _interopDefault(require('react'));
var _ref =
/*#__PURE__*/
React.createElement("path", {
d: "M10 0C4.486 0 0 4.486 0 10s4.486 10 10 10 10-4.486 10-10S15.514 0 10 0m0 18c-4.4... | 36.15 | 235 | 0.673582 |
a83b96046054a08de908034c8b531654428ef19e | 4,595 | js | JavaScript | src/blog-post/related-posts.spec.js | wolframkriesing/site-stitcher | f75583d4600dbb11ab9a80a3bbbc3a0ee6bf1cd6 | [
"MIT"
] | null | null | null | src/blog-post/related-posts.spec.js | wolframkriesing/site-stitcher | f75583d4600dbb11ab9a80a3bbbc3a0ee6bf1cd6 | [
"MIT"
] | 4 | 2020-04-21T20:47:02.000Z | 2022-01-15T02:18:24.000Z | src/blog-post/related-posts.spec.js | wolframkriesing/site-stitcher | f75583d4600dbb11ab9a80a3bbbc3a0ee6bf1cd6 | [
"MIT"
] | null | null | null | import {describe, it} from '../test.js';
import {assertThat, equalTo} from 'hamjest';
import {BlogPost} from './BlogPost.js';
import {findRelatedPosts} from './related-posts.js';
describe('Find posts related by their headline, automatically', () => {
const newPost = (headline) => {
const post = new BlogPost();
... | 41.772727 | 137 | 0.639826 |
a83bce6d2721387f07db72087859c1114ed73f03 | 2,598 | js | JavaScript | lib/search.js | bipbopme/search | a0c80d1c8d98e55869e58d5d6101b324fa18a8d4 | [
"MIT"
] | null | null | null | lib/search.js | bipbopme/search | a0c80d1c8d98e55869e58d5d6101b324fa18a8d4 | [
"MIT"
] | 1 | 2020-07-28T17:33:37.000Z | 2020-07-28T17:33:37.000Z | lib/search.js | bipbopme/search | a0c80d1c8d98e55869e58d5d6101b324fa18a8d4 | [
"MIT"
] | null | null | null | import _ from 'lodash';
import bing from './bing';
import { enhanceResponse } from './enhancements';
import { sha1, delay } from './utils';
import { memoize } from './redis';
import { captureException } from './exceptions';
const MAX_RESPONSE_MS = 1800;
const DEFAULT_SEARCH_PARAMS = { count: 20 };
async function sear... | 30.209302 | 96 | 0.661278 |
a83bf604fa7b9636774e94dc6517e63aaa8b6079 | 9,896 | js | JavaScript | src/views/Profile/Profile.js | jonpraci/sys_user_dev | 2360057acef6e712947b0ca28fbef315a5ff67fa | [
"MIT"
] | null | null | null | src/views/Profile/Profile.js | jonpraci/sys_user_dev | 2360057acef6e712947b0ca28fbef315a5ff67fa | [
"MIT"
] | 1 | 2022-02-28T14:02:43.000Z | 2022-02-28T14:02:43.000Z | src/views/Profile/Profile.js | Daratech1/sys_user_dev | e9da771d4fe7627d09233dd7f5af7bf1afa20d65 | [
"MIT"
] | null | null | null | import React, { useEffect, useState } from "react";
import PropTypes from "prop-types";
import { connect } from "react-redux";
import Container from "@material-ui/core/Container";
import { makeStyles } from "@material-ui/core/styles";
import Paper from "@material-ui/core/Paper";
import { Avatar, Grid, Typography } from... | 32.339869 | 93 | 0.469179 |
a83cb50ac35373afed313b76e3745a2c06d90c73 | 745 | js | JavaScript | src/server/router/report.js | woowa-techcamp-2020/hkb-13 | ed1914ced1292012563502292d220544a36da1ab | [
"MIT"
] | null | null | null | src/server/router/report.js | woowa-techcamp-2020/hkb-13 | ed1914ced1292012563502292d220544a36da1ab | [
"MIT"
] | 26 | 2020-07-27T08:03:25.000Z | 2020-08-06T06:38:17.000Z | src/server/router/report.js | woowa-techcamp-2020/hkb-13 | ed1914ced1292012563502292d220544a36da1ab | [
"MIT"
] | 2 | 2020-08-04T00:54:35.000Z | 2020-08-10T04:58:06.000Z | const express = require('express')
const {
getReportsListController,
createAReportController,
modifyAReportController,
removeAReportController,
} = require('../controller/reportsList')
const router = express.Router()
const { ensureAuthenticated } = require('./ensureAuth')
router.get(
'/api/board/:boardId/:... | 21.285714 | 55 | 0.759732 |
a83cf82decbe385c628e32e1bbde4733ef6583aa | 1,250 | js | JavaScript | index.js | kev-luk/world-thoughts | 9a1154b7b7f6e11a9fa7c6fa0c88a3a8b66e3f21 | [
"MIT"
] | null | null | null | index.js | kev-luk/world-thoughts | 9a1154b7b7f6e11a9fa7c6fa0c88a3a8b66e3f21 | [
"MIT"
] | null | null | null | index.js | kev-luk/world-thoughts | 9a1154b7b7f6e11a9fa7c6fa0c88a3a8b66e3f21 | [
"MIT"
] | null | null | null | if (process.env.NODE_ENV != 'production') {
require('dotenv').config();
}
const path = require('path');
const cors = require('cors');
const express = require('express');
const app = express();
const mongoose = require('mongoose');
const forumRouter = require('./routes/forum');
const Post = require('./models/Post')... | 25 | 79 | 0.6232 |
a83debcc5b117fc548f244fe4907b35962219b06 | 2,233 | js | JavaScript | src/react/Actions/request_response_info.js | Oddly/BunqDesktop | 30c2ec8b8f442df45a19fbbe248499ba6af3d00e | [
"MIT"
] | null | null | null | src/react/Actions/request_response_info.js | Oddly/BunqDesktop | 30c2ec8b8f442df45a19fbbe248499ba6af3d00e | [
"MIT"
] | null | null | null | src/react/Actions/request_response_info.js | Oddly/BunqDesktop | 30c2ec8b8f442df45a19fbbe248499ba6af3d00e | [
"MIT"
] | null | null | null | import BunqErrorHandler from "../Helpers/BunqErrorHandler";
import RequestResponse from "../Models/RequestResponse";
import { requestResponsesSetInfo } from "./request_responses";
export function requestResponseSetInfo(
request_response_info,
account_id,
request_response_id
) {
return {
type: ... | 29.381579 | 67 | 0.55262 |
a83e5d232d5aec7434c7934011005e997dd45730 | 25,429 | js | JavaScript | tests/unit/classes/Element/Variable/MBVariable/MBBoolean.test.js | WKolaj/SidiroIOT | 61561af0f25be5970debe462d65782d65fb5eb1a | [
"MIT"
] | null | null | null | tests/unit/classes/Element/Variable/MBVariable/MBBoolean.test.js | WKolaj/SidiroIOT | 61561af0f25be5970debe462d65782d65fb5eb1a | [
"MIT"
] | null | null | null | tests/unit/classes/Element/Variable/MBVariable/MBBoolean.test.js | WKolaj/SidiroIOT | 61561af0f25be5970debe462d65782d65fb5eb1a | [
"MIT"
] | 2 | 2021-04-07T09:57:41.000Z | 2021-09-29T08:23:43.000Z | const MBBoolean = require("../../../../../../classes/Element/Variable/ConnectableVariable/MBVariable/MBBoolean");
describe("MBBoolean", () => {
beforeEach(() => {
jest.setTimeout(30000);
});
describe("constructor", () => {
let project;
let device;
beforeEach(() => {
project = "fakeProject"... | 26.215464 | 160 | 0.590428 |
a83e8a9738bfbd7d3d475c5a51f9dc7c33f17c97 | 1,876 | js | JavaScript | legacy/server/api/clockface.js | qclock/qclock | 4eed576d55bf12f6ab2050def9d5598d295e953c | [
"MIT"
] | null | null | null | legacy/server/api/clockface.js | qclock/qclock | 4eed576d55bf12f6ab2050def9d5598d295e953c | [
"MIT"
] | null | null | null | legacy/server/api/clockface.js | qclock/qclock | 4eed576d55bf12f6ab2050def9d5598d295e953c | [
"MIT"
] | null | null | null |
var clockfaces = require('../../clockface')
const getValues = function (server) {
let clockfaceFields = clockfaces.current.fields;
let fields = {}
for (let field of Object.keys(clockfaceFields)) {
if (server.config.CLOCKFACE[field] && clockfaceFields[field].type == 'color') {
fields[field] = server.config.C... | 25.013333 | 81 | 0.632729 |
a8410b96c9ee9184cd03ae16b1433f19ed6dd97e | 5,861 | js | JavaScript | frontend/configs/examples/covid-aides-entreprises/appConfigTexts.js | Openessai123/aide-ODC | e680738ae41748c4fa26c3851e08f4d59ddd15fb | [
"MIT"
] | null | null | null | frontend/configs/examples/covid-aides-entreprises/appConfigTexts.js | Openessai123/aide-ODC | e680738ae41748c4fa26c3851e08f4d59ddd15fb | [
"MIT"
] | 3 | 2021-03-10T16:32:34.000Z | 2022-01-22T11:53:04.000Z | frontend/configs/examples/covid-aides-entreprises/appConfigTexts.js | Openessai123/aide-ODC | e680738ae41748c4fa26c3851e08f4d59ddd15fb | [
"MIT"
] | null | null | null | const DATE_UPLOAD_DATA = "17 avril 2020"
// let fs = require('fs')
// let DATE_UPLOAD_DATA = fs.readFileSync('~/static/datasets/aides/prod/date_update.txt').toString().split("\n")
// let DATE_UPLOAD_DATA = fetch('/static/datasets/aides/prod/date_update.txt')
export const configAppTexts = {
help: "this file contains ... | 35.957055 | 155 | 0.460331 |
a84320297331436883b4ba7e6b1a887aa1c2e1c4 | 426 | js | JavaScript | src/tests/3ServerTest/public/js/tempHumidDataHandler.js | ellartdev/temp-humid-meter | ba7214ce10770294b6ef0b2d20a2dc03f76107b2 | [
"MIT"
] | null | null | null | src/tests/3ServerTest/public/js/tempHumidDataHandler.js | ellartdev/temp-humid-meter | ba7214ce10770294b6ef0b2d20a2dc03f76107b2 | [
"MIT"
] | null | null | null | src/tests/3ServerTest/public/js/tempHumidDataHandler.js | ellartdev/temp-humid-meter | ba7214ce10770294b6ef0b2d20a2dc03f76107b2 | [
"MIT"
] | null | null | null | var temp = document.getElementById("temp");
var humid = document.getElementById("humid");
temp.innerHTML, humid.innerHTML = "Please wait...";
var socket = io();
socket.on('temp-humid', (data) => {
//console.log(data);
temp.innerHTML = `${data.temp}°C, ${Math.floor(data.temp * 1.8 + 32)}°F`
humid.innerHTM... | 25.058824 | 76 | 0.624413 |
a843d9b72736570f43c6e9b7696d534c23ac0b26 | 588 | js | JavaScript | biocoins_frontend/src/index.js | sajustsmile/biocoins | b83832dc583f2ee75f845e78940fb3f85cb2d4f8 | [
"MIT"
] | null | null | null | biocoins_frontend/src/index.js | sajustsmile/biocoins | b83832dc583f2ee75f845e78940fb3f85cb2d4f8 | [
"MIT"
] | null | null | null | biocoins_frontend/src/index.js | sajustsmile/biocoins | b83832dc583f2ee75f845e78940fb3f85cb2d4f8 | [
"MIT"
] | null | null | null | import React from "react";
import ReactDOM from "react-dom";
import { BrowserRouter } from "react-router-dom";
import App from "App";
// Soft UI Dashboard React Context Provider
import { SoftUIControllerProvider } from "context";
import { AuthProvider } from "auth-context/auth.context";
let user = localStorage.getIt... | 24.5 | 57 | 0.712585 |
a84418376e5d4582480b1f245a419eda9f134a6b | 585 | js | JavaScript | start.js | cassianohsilva/info_vis | a9cd6d11cbb10078378424066c3fa937f1b97372 | [
"MIT"
] | null | null | null | start.js | cassianohsilva/info_vis | a9cd6d11cbb10078378424066c3fa937f1b97372 | [
"MIT"
] | null | null | null | start.js | cassianohsilva/info_vis | a9cd6d11cbb10078378424066c3fa937f1b97372 | [
"MIT"
] | null | null | null | var http = require('http');
var url = require('url');
var fs = require('fs');
http.createServer(function(req, res) {
pathName = url.parse(req.url).pathname;
var file = __dirname + pathName;
var ext = pathName.split('.')[1];
console.log('GET', file);
console.log(ext);
// res.write('index.html');
fs.readFile... | 19.5 | 54 | 0.605128 |
a8479a5faee16cb018389af9e0f5af2ea7edc9ef | 340 | js | JavaScript | node_modules/gluegun/src/domain/extension.js | LeBlaaanc/gucci | c385c10102ad606a1ac973308cc8b3dd151de0d4 | [
"MIT"
] | null | null | null | node_modules/gluegun/src/domain/extension.js | LeBlaaanc/gucci | c385c10102ad606a1ac973308cc8b3dd151de0d4 | [
"MIT"
] | null | null | null | node_modules/gluegun/src/domain/extension.js | LeBlaaanc/gucci | c385c10102ad606a1ac973308cc8b3dd151de0d4 | [
"MIT"
] | null | null | null | /**
* An extension will add functionality to the context that each command will receive.
*/
class Extension {
constructor () {
this.name = null
this.description = null
this.file = null
this.setup = null
this.loadState = 'none'
this.errorState = 'none'
this.exception = null
}
}
module.... | 20 | 85 | 0.658824 |
a847edb30f8f57d1c19ef78ace7487c1b3d4b6d5 | 2,699 | js | JavaScript | js/src/forum/components/LastDiscussionWidget.js | jslirola/flarum-categories | 4843d9c50f38f2e9b75e65d65ebe4f27ce015c41 | [
"MIT"
] | null | null | null | js/src/forum/components/LastDiscussionWidget.js | jslirola/flarum-categories | 4843d9c50f38f2e9b75e65d65ebe4f27ce015c41 | [
"MIT"
] | null | null | null | js/src/forum/components/LastDiscussionWidget.js | jslirola/flarum-categories | 4843d9c50f38f2e9b75e65d65ebe4f27ce015c41 | [
"MIT"
] | null | null | null | import Component from 'flarum/common/Component';
import avatar from 'flarum/common/helpers/avatar';
import username from 'flarum/common/helpers/username';
import humanTime from 'flarum/common/helpers/humanTime';
import { truncate } from 'flarum/common/utils/string';
import Link from 'flarum/common/components/Link';
imp... | 28.114583 | 139 | 0.614672 |
a847f737d7288b757477efc6ff34a29b1a251b2a | 1,133 | js | JavaScript | src/components/normalVideoCard/NormalVideoCard.js | iamrishavb/rui-library | 018338e9c55e6c630061aadecf192defe70dd573 | [
"MIT"
] | null | null | null | src/components/normalVideoCard/NormalVideoCard.js | iamrishavb/rui-library | 018338e9c55e6c630061aadecf192defe70dd573 | [
"MIT"
] | null | null | null | src/components/normalVideoCard/NormalVideoCard.js | iamrishavb/rui-library | 018338e9c55e6c630061aadecf192defe70dd573 | [
"MIT"
] | null | null | null | import { useState } from "react";
import "./NormalVideoCard.css";
import { AiFillPlayCircle } from "react-icons/ai";
const NormalVideoCard = ({ isInGrid }) => {
const [isCardHover, setIsCardHover] = useState(false);
return (
<div
className={isInGrid ? "normalVideoCard inGrid" : "normalVideoCard"}
o... | 27.634146 | 73 | 0.578111 |
a82f81ea500161164d366bc1152a1ceeeaab9074 | 14,020 | js | JavaScript | js/oauth-ng.js | hebihui/hebihui.github.io | e4279ed5ba725252eec6907ed79f353aba226675 | [
"MIT"
] | 1 | 2015-07-26T12:42:51.000Z | 2015-07-26T12:42:51.000Z | js/oauth-ng.js | hebihui/note | e4279ed5ba725252eec6907ed79f353aba226675 | [
"MIT"
] | null | null | null | js/oauth-ng.js | hebihui/note | e4279ed5ba725252eec6907ed79f353aba226675 | [
"MIT"
] | null | null | null | /* oauth-ng - v0.4.2 - 2015-06-19 */
'use strict';
// App libraries
angular.module('oauth', [
'oauth.directive', // login directive
'oauth.accessToken', // access token service
'oauth.endpoint', // oauth endpoint service
'oauth.profile', // profile model
'oauth.storage', // stora... | 27.984032 | 151 | 0.597504 |
a832783b139b46d01d7d55b9f5f282bca229874b | 3,019 | js | JavaScript | tasks/mustache_html.js | gruntjs-updater/grunt-mustache-html | 3b2d79cae59502f3ee52491b5522c9d80c6645f5 | [
"MIT"
] | 8 | 2015-02-05T14:23:19.000Z | 2016-02-23T13:27:45.000Z | tasks/mustache_html.js | gruntjs-updater/grunt-mustache-html | 3b2d79cae59502f3ee52491b5522c9d80c6645f5 | [
"MIT"
] | 2 | 2015-02-05T15:47:43.000Z | 2015-02-05T15:53:38.000Z | tasks/mustache_html.js | gruntjs-updater/grunt-mustache-html | 3b2d79cae59502f3ee52491b5522c9d80c6645f5 | [
"MIT"
] | 4 | 2015-02-05T14:29:05.000Z | 2019-02-16T02:52:10.000Z | /*
* grunt-mustache-html
* https://github.com/haio/grunt-mustache-html
*
* Copyright (c) 2013 zhongyu
* Licensed under the MIT license.
*/
'use strict';
module.exports = function(grunt) {
// Please see the Grunt documentation for more information regarding task
// creation: http://gruntjs.com/creating-task... | 29.891089 | 98 | 0.526996 |
a838a341889b32588af65e34805e04afd4d98657 | 1,215 | js | JavaScript | src/data/types/UserType.js | transitlinks/web-app | 50fd20d05617e3618a0801c0dfe77268d4d4bfb2 | [
"MIT"
] | 1 | 2016-11-20T23:15:57.000Z | 2016-11-20T23:15:57.000Z | src/data/types/UserType.js | transitlinks/web-app | 50fd20d05617e3618a0801c0dfe77268d4d4bfb2 | [
"MIT"
] | 5 | 2021-03-31T08:00:37.000Z | 2022-02-27T11:22:12.000Z | src/data/types/UserType.js | transitlinks/web-app | 50fd20d05617e3618a0801c0dfe77268d4d4bfb2 | [
"MIT"
] | null | null | null | import {
GraphQLObjectType,
GraphQLInputObjectType,
GraphQLString,
GraphQLNonNull, GraphQLInt, GraphQLFloat,
} from 'graphql';
export const UserType = new GraphQLObjectType({
name: 'User',
fields: {
uuid: { type: new GraphQLNonNull(GraphQLString) },
email: { type: GraphQLString },
username: { t... | 28.255814 | 57 | 0.659259 |
a8325937115b5d63660dc154544144f2f6dc4c26 | 1,978 | js | JavaScript | docker-images/taigav2/taiga-front-dist/dist/v-1487165065370/locales/moment-locales/el.js | mattcongy/itshop | 6be025a9eaa7fe7f495b5777d1f0e5a3184121c9 | [
"MIT"
] | 1 | 2017-05-29T19:01:06.000Z | 2017-05-29T19:01:06.000Z | docker-images/taigav2/taiga-front-dist/dist/v-1487165065370/locales/moment-locales/el.js | mattcongy/itshop | 6be025a9eaa7fe7f495b5777d1f0e5a3184121c9 | [
"MIT"
] | null | null | null | docker-images/taigav2/taiga-front-dist/dist/v-1487165065370/locales/moment-locales/el.js | mattcongy/itshop | 6be025a9eaa7fe7f495b5777d1f0e5a3184121c9 | [
"MIT"
] | null | null | null | !function(e,t){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?t(require("../moment")):"function"==typeof define&&define.amd?define(["moment"],t):t(e.moment)}(this,function(e){"use strict";function t(e){return e instanceof Function||"[object Function]"===Object.prototype.toString.call(e... | 1,978 | 1,978 | 0.732053 |
a8217cc7f20bd9360cdd1789107316c050d1968e | 911 | js | JavaScript | enginejs/modules/enginejs-model.js | drummertom999/nebulous-workshop | 7a9b909ffe4e52959146f67fe511b2f9bd9c04aa | [
"MIT"
] | 1 | 2017-10-19T18:39:15.000Z | 2017-10-19T18:39:15.000Z | enginejs/modules/enginejs-model.js | drummertom999/nebulous-workshop | 7a9b909ffe4e52959146f67fe511b2f9bd9c04aa | [
"MIT"
] | null | null | null | enginejs/modules/enginejs-model.js | drummertom999/nebulous-workshop | 7a9b909ffe4e52959146f67fe511b2f9bd9c04aa | [
"MIT"
] | null | null | null | // *******************************************
//# sourceURL=modules/enginejs-model.js
// *******************************************
Engine.Model =
{
Load : function(descriptor, callback)
{
Engine.Net.FetchResource(descriptor.file, function(model_json)
{
var model_object = jQuery.parseJSON(model_json);
/... | 26.028571 | 78 | 0.616905 |
a825eb5ddfdd46ab933a5f2619c6622c0f3f7556 | 594 | js | JavaScript | app/modules/dashboard/controllers/achievements.js | udaysinghkushwah/Resume-Angular-Dahsboard | f9fbf01545b94dac6fda8c09d8c12a78aadc770b | [
"MIT"
] | 1 | 2017-11-22T13:50:05.000Z | 2017-11-22T13:50:05.000Z | app/modules/dashboard/controllers/achievements.js | udaysinghkushwah/Resume-Angular-Dahsboard | f9fbf01545b94dac6fda8c09d8c12a78aadc770b | [
"MIT"
] | null | null | null | app/modules/dashboard/controllers/achievements.js | udaysinghkushwah/Resume-Angular-Dahsboard | f9fbf01545b94dac6fda8c09d8c12a78aadc770b | [
"MIT"
] | null | null | null | /*==========================================================
Author : UDAYSINGH KUSHWAH
Date Created: 11 Dec 2017
Description : Controller to handle Achievement page
Change Log
s.no date author description
===========================================================*/
dashb... | 31.263158 | 122 | 0.523569 |
a81e6f3d8383880b68ba963e9382f92da6355278 | 1,515 | js | JavaScript | public/js/showrecord.js | hongzhiyu/easyERP | d0c769ac46c34b0221898efd05dadd4fe0cebd1b | [
"MIT"
] | 1 | 2018-02-13T03:19:18.000Z | 2018-02-13T03:19:18.000Z | public/js/showrecord.js | hongzhiyu/easyERP | d0c769ac46c34b0221898efd05dadd4fe0cebd1b | [
"MIT"
] | null | null | null | public/js/showrecord.js | hongzhiyu/easyERP | d0c769ac46c34b0221898efd05dadd4fe0cebd1b | [
"MIT"
] | null | null | null | $(function(){
var record_table = $('#record_table');
//-->reader.php获取数据
var init_url = 'reader.php';
// var inputfile = $("#inputfile").val();
// var year = $("select").eq(0).val();
// var month = $("select").eq(1).val();
// var post_fields = {
// inputfile : inputfile,
// inputyear : year,
// inputmonth ... | 23.307692 | 59 | 0.521452 |
a83730f7c46f7a1fd1d0f3e1cbcdf7a084db5b98 | 2,433 | js | JavaScript | app/static/vendors/bower_components/moment/src/locale/cy.js | awkz/sipd | ada3f6e9d10ddcfdf23fa3da36f3825257db7986 | [
"MIT"
] | 1 | 2018-04-21T11:00:02.000Z | 2018-04-21T11:00:02.000Z | assets/backend/vendors/bower_components/moment/src/locale/cy.js | DenisRamdan92/fc_inrelt_cyberlab | 74f92676d88da7002e2b0705f9528eee9521d0e5 | [
"MIT"
] | 1 | 2018-05-10T17:01:07.000Z | 2018-05-10T17:01:07.000Z | assets/backend/vendors/bower_components/moment/src/locale/cy.js | DenisRamdan92/fc_inrelt_cyberlab | 74f92676d88da7002e2b0705f9528eee9521d0e5 | [
"MIT"
] | null | null | null | //! moment.js locale configuration
//! locale : Welsh [cy]
//! author : Robert Allen
import moment from '../moment';
export default moment.defineLocale('cy', {
months: 'Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr'.split('_'),
monthsShort: 'Ion_Chwe_Maw_Ebr_Ma... | 33.791667 | 113 | 0.496095 |
a819219003743ee0f46da73880fccca2677f3a95 | 47,228 | js | JavaScript | js/Compiler-Inlining.deploy.js | clementbera/amber | 51e52b0e26a6c01d9ec0ea0c60cdb2506370f60a | [
"MIT"
] | 1 | 2018-06-10T17:22:37.000Z | 2018-06-10T17:22:37.000Z | js/Compiler-Inlining.deploy.js | clementbera/amber | 51e52b0e26a6c01d9ec0ea0c60cdb2506370f60a | [
"MIT"
] | null | null | null | js/Compiler-Inlining.deploy.js | clementbera/amber | 51e52b0e26a6c01d9ec0ea0c60cdb2506370f60a | [
"MIT"
] | null | null | null | smalltalk.addPackage('Compiler-Inlining');
smalltalk.addClass('IRInlinedAssignment', smalltalk.IRAssignment, [], 'Compiler-Inlining');
smalltalk.addMethod(
smalltalk.method({
selector: "accept:",
fn: function (aVisitor){
var self=this;
return smalltalk.withContext(function($ctx1) {
var $1;
$1=_st(aVisitor)._visitIRInl... | 40.748921 | 280 | 0.75072 |
a84062005edfd1d5b565359c428899411c6dfa7e | 455 | js | JavaScript | server.js | cristaloleg/jsonwebtoken.github.io | 94b30510e39194cdd73097ad6068f9cab0ddf87e | [
"MIT"
] | 1 | 2018-10-31T22:11:30.000Z | 2018-10-31T22:11:30.000Z | server.js | cristaloleg/jsonwebtoken.github.io | 94b30510e39194cdd73097ad6068f9cab0ddf87e | [
"MIT"
] | null | null | null | server.js | cristaloleg/jsonwebtoken.github.io | 94b30510e39194cdd73097ad6068f9cab0ddf87e | [
"MIT"
] | null | null | null | const express = require('express');
const enforce = require('express-sslify');
const app = express();
if(process.env.NODE_ENV === 'production') {
console.log('Redirecting to TLS endpoint.');
app.use(enforce.HTTPS({
// Required for proper use under a reverse proxy (Heroku, etc.).
trustProtoHeader: true
... | 23.947368 | 68 | 0.668132 |
a81e03b8850f5fcc44188519f1b7bc26c926185a | 301 | js | JavaScript | try.js | z0mt3c/jeelink-lacrosse-reader | 7f51a85b5f8729a66082211b2991125bfa31a408 | [
"MIT"
] | 1 | 2019-03-21T22:23:21.000Z | 2019-03-21T22:23:21.000Z | try.js | z0mt3c/jeelink-lacrosse-reader | 7f51a85b5f8729a66082211b2991125bfa31a408 | [
"MIT"
] | null | null | null | try.js | z0mt3c/jeelink-lacrosse-reader | 7f51a85b5f8729a66082211b2991125bfa31a408 | [
"MIT"
] | 1 | 2019-03-21T22:23:26.000Z | 2019-03-21T22:23:26.000Z | const Reader = require('./index.js')
new Reader({ port: '/dev/cu.usbserial-AI04NSUW' }).on('data', (msg) => console.log('0:', msg))
// new Reader({ port: '/dev/ttyUSB0' }).on('data', (msg) => console.log('0:', msg))
// new Reader({ port: '/dev/ttyUSB1' }).on('data', (msg) => console.log('1:', msg))
| 50.166667 | 94 | 0.581395 |
a83888a4d293b151184add0a539608ba5088c6a8 | 690 | js | JavaScript | js_bckup_duke/p5/setup_draw.js | SayanGhoshBDA/code-backup | 8b6135facc0e598e9686b2e8eb2d69dd68198b80 | [
"MIT"
] | 16 | 2018-11-26T08:39:42.000Z | 2019-05-08T10:09:52.000Z | js_bckup_duke/p5/setup_draw.js | SayanGhoshBDA/code-backup | 8b6135facc0e598e9686b2e8eb2d69dd68198b80 | [
"MIT"
] | 8 | 2020-05-04T06:29:26.000Z | 2022-02-12T05:33:16.000Z | js_bckup_duke/p5/setup_draw.js | SayanGhoshBDA/code-backup | 8b6135facc0e598e9686b2e8eb2d69dd68198b80 | [
"MIT"
] | 5 | 2020-02-11T16:02:21.000Z | 2021-02-05T07:48:30.000Z | var y = 100;
var x = 100;
// The statements in the setup() function
// execute once when the program begins
function setup() {
// createCanvas must be the first statement
createCanvas(720, 400);
stroke(255); // Set line drawing color to white
frameRate(100);
}
// The statements in draw() are executed unti... | 24.642857 | 55 | 0.613043 |
a83d3fecb109638ee8237b524efddef92a9ca4cd | 44 | js | JavaScript | src/assets/svgs/index.js | Skycatch/model-trainer-image-marker | d23f64dd10283f35eb88803eb08cd42a6ff0c10a | [
"MIT"
] | 4 | 2017-11-02T18:56:16.000Z | 2019-08-20T22:10:23.000Z | src/assets/svgs/index.js | Skycatch/photoset-grapher | 658e94a4b807ff3e0ed8ac87338dba2ea608d75a | [
"MIT"
] | 2 | 2018-03-06T22:32:17.000Z | 2018-05-25T00:58:52.000Z | src/assets/svgs/index.js | Skycatch/photoset-grapher | 658e94a4b807ff3e0ed8ac87338dba2ea608d75a | [
"MIT"
] | 1 | 2020-04-15T09:20:19.000Z | 2020-04-15T09:20:19.000Z | 'use strict';
// require('./targets.svg');
| 11 | 28 | 0.590909 |
a84039b65e025803a20df0b5f2eaca8e9b3d4744 | 1,059 | js | JavaScript | docs/.vuepress/js/algorithm/findIntegers.js | Mackkkk/facing-smart | 74bedd5ee005373a9ad5a50a13cace9d4d8cef91 | [
"MIT"
] | 5 | 2019-01-10T09:45:14.000Z | 2019-10-17T02:49:46.000Z | docs/.vuepress/js/algorithm/findIntegers.js | Mackkkk/SummaryOfwork | 74bedd5ee005373a9ad5a50a13cace9d4d8cef91 | [
"MIT"
] | 4 | 2020-02-18T04:32:30.000Z | 2022-02-11T03:58:39.000Z | docs/.vuepress/js/algorithm/findIntegers.js | Mackkkk/summaryofwork | 9503deff544c90e2c81e9a53a9bd3ee743e83e03 | [
"MIT"
] | null | null | null | export const findIntegers_timeout = (num) => {
const check = (num) => {
let prev
while (num > 0) {
const next = num % 2
num = (num - next) / 2
if (prev * next === 1) return false
prev = next
}
return true
}
let count = 0
for (let i = 0; i <= num; i++) {
if (check(i)) ... | 19.981132 | 70 | 0.480642 |
a823ef58fa436161a231222e2cdae2db6c1cc863 | 402 | js | JavaScript | misc/grunt/bump.js | angular-macgyver/MacGyver | 9ad90404b474dab791bbaa0d1b4092c404b13cf8 | [
"MIT"
] | 48 | 2015-01-08T03:11:44.000Z | 2019-11-11T10:15:17.000Z | misc/grunt/bump.js | angular-macgyver/MacGyver | 9ad90404b474dab791bbaa0d1b4092c404b13cf8 | [
"MIT"
] | 37 | 2015-01-11T22:55:43.000Z | 2017-07-15T23:15:54.000Z | misc/grunt/bump.js | angular-macgyver/MacGyver | 9ad90404b474dab791bbaa0d1b4092c404b13cf8 | [
"MIT"
] | 24 | 2015-02-24T10:22:07.000Z | 2018-05-11T13:38:23.000Z | module.exports = function(grunt) {
/**
* bump section
* Update package and bower version
*/
grunt.config("bump", {
options: {
files: ["bower.json", "package.json"],
updateConfigs: ["bower", "pkg"],
commit: false,
commitMessage: "chore(build): Build v%VERSION%",
tagMessage:... | 22.333333 | 54 | 0.567164 |
a83e2bfced560330fac6f97f56cea4ae0d09fa5c | 1,242 | js | JavaScript | back-end/api/database/helpers/slackAuthDb.js | lsgitprojects/labs10-sentiment | 8b64163b752b1dc87f0dca93ebeb76585ebc8473 | [
"MIT"
] | 5 | 2019-02-12T22:59:35.000Z | 2020-03-12T04:16:03.000Z | back-end/api/database/helpers/slackAuthDb.js | lsgitprojects/labs10-sentiment | 8b64163b752b1dc87f0dca93ebeb76585ebc8473 | [
"MIT"
] | 1 | 2019-02-21T03:53:42.000Z | 2019-02-21T03:53:42.000Z | back-end/api/database/helpers/slackAuthDb.js | lsgitprojects/labs10-sentiment | 8b64163b752b1dc87f0dca93ebeb76585ebc8473 | [
"MIT"
] | 4 | 2019-02-13T17:28:28.000Z | 2019-04-03T00:05:05.000Z | db = require("../dbConfig.js");
const dbTeamMembers = require("./teamMembersDb");
const table = "slackAuth";
module.exports = {
get: function() {
return db(table);
},
getID: function(id) {
return db(table).where("id", id);
},
getByMemberId: function(member_id) {
return db(table).where("member_id"... | 23.884615 | 55 | 0.566023 |
a82ade1456402d195f6ec827edd7ff3ad9379589 | 822 | js | JavaScript | src/Layer.js | stefanbollmann/js-dxf | c8541455fe0b2e51f43b381094c19fa188aec4e4 | [
"MIT"
] | 1 | 2020-05-29T09:58:23.000Z | 2020-05-29T09:58:23.000Z | src/Layer.js | stefanbollmann/js-dxf | c8541455fe0b2e51f43b381094c19fa188aec4e4 | [
"MIT"
] | null | null | null | src/Layer.js | stefanbollmann/js-dxf | c8541455fe0b2e51f43b381094c19fa188aec4e4 | [
"MIT"
] | null | null | null | class Layer
{
constructor(name, colorNumber, lineTypeName)
{
this.name = name;
this.colorNumber = colorNumber;
this.lineTypeName = lineTypeName;
this.shapes = [];
}
toDxfString()
{
let s = '0\nLAYER\n';
s += '70\n64\n';
s += `2\n${this.name}\n... | 18.266667 | 52 | 0.453771 |
a831c75cd4ed75a5e59560518e386298dc3656d9 | 1,200 | js | JavaScript | node_modules/office-ui-fabric-react/lib/components/TextField/examples/TextField.Placeholder.Example.js | GhostMachineSoftware/SPFx_Connect2List | 9d54d6430a0fea830385a8bd1c7f748547b41c35 | [
"MIT"
] | 1 | 2020-08-06T19:22:04.000Z | 2020-08-06T19:22:04.000Z | node_modules/office-ui-fabric-react/lib/components/TextField/examples/TextField.Placeholder.Example.js | GhostMachineSoftware/SPFx_Connect2List | 9d54d6430a0fea830385a8bd1c7f748547b41c35 | [
"MIT"
] | null | null | null | node_modules/office-ui-fabric-react/lib/components/TextField/examples/TextField.Placeholder.Example.js | GhostMachineSoftware/SPFx_Connect2List | 9d54d6430a0fea830385a8bd1c7f748547b41c35 | [
"MIT"
] | null | null | null | import * as tslib_1 from "tslib";
// @codepen
import * as React from 'react';
import { TextField } from 'office-ui-fabric-react/lib/TextField';
import './TextField.Examples.scss';
var TextFieldPlaceholderExample = /** @class */ (function (_super) {
tslib_1.__extends(TextFieldPlaceholderExample, _super);
... | 57.142857 | 122 | 0.6875 |
a8297d34ff5bc012d8a841f0e6a2156ea08d3aa2 | 957 | js | JavaScript | part7/bloglist-frontend/src/components/NavBar.js | graphicnapkin/fullstackopen | cc16f9d8a840beedffd0658b4314292311d5100d | [
"MIT"
] | 1 | 2020-09-16T12:56:51.000Z | 2020-09-16T12:56:51.000Z | part7/bloglist-frontend/src/components/NavBar.js | graphicnapkin/fullstackopen | cc16f9d8a840beedffd0658b4314292311d5100d | [
"MIT"
] | null | null | null | part7/bloglist-frontend/src/components/NavBar.js | graphicnapkin/fullstackopen | cc16f9d8a840beedffd0658b4314292311d5100d | [
"MIT"
] | null | null | null | import React from 'react'
import { Link } from 'react-router-dom'
import { Navbar, Nav } from 'react-bootstrap'
import LoggedIn from './LoggedIn'
//import { useSelector } from 'react-redux'
const NavigationBar = () => {
//const user = useSelector(state => state.user)
const padding = {
padding: 10
}
retu... | 26.583333 | 66 | 0.572623 |
a82b1ce8cc07c20fefdbbf075f96613d75da2f9a | 519 | js | JavaScript | lib/actions/queue/ClearMessages.js | adbrome/Azurite | e9274939d88c64ba752b35e8bf0a3a466afb71bd | [
"MIT"
] | 1 | 2020-09-22T12:59:54.000Z | 2020-09-22T12:59:54.000Z | lib/actions/queue/ClearMessages.js | AleF83/Azurite | b0bdab55f082515cb0e38bd5f20fd231fae1c680 | [
"MIT"
] | null | null | null | lib/actions/queue/ClearMessages.js | AleF83/Azurite | b0bdab55f082515cb0e38bd5f20fd231fae1c680 | [
"MIT"
] | 1 | 2019-01-02T08:48:01.000Z | 2019-01-02T08:48:01.000Z | /** @format */
"use strict";
const QueueManager = require("./../../core/queue/QueueManager"),
AzuriteQueueResponse = require("./../../model/queue/AzuriteQueueResponse");
class ClearMessages {
constructor() {}
process(request, res) {
const queue = QueueManager.getQueueAndMessage({
queueName: request.... | 22.565217 | 77 | 0.668593 |
a83c69aeaea016915ca40e0667e996403133b65b | 837 | js | JavaScript | src/components/Row/Row.js | AllanOliveiraM/nave.rs-front-end-challange | 2958825e4cc78efff24c8037659e07754374fb60 | [
"MIT"
] | 2 | 2020-09-08T18:33:06.000Z | 2020-10-10T23:31:02.000Z | src/components/Row/Row.js | AllanOliveiraM/nave.rs-front-end-challange | 2958825e4cc78efff24c8037659e07754374fb60 | [
"MIT"
] | null | null | null | src/components/Row/Row.js | AllanOliveiraM/nave.rs-front-end-challange | 2958825e4cc78efff24c8037659e07754374fb60 | [
"MIT"
] | 2 | 2021-04-13T02:47:37.000Z | 2021-05-06T03:37:43.000Z | import styled from 'styled-components'
import { space, layout, color, flexbox, border, shadow, position } from 'styled-system'
import propTypes from '@styled-system/prop-types'
import { MEDIADESKTOP } from 'helpers'
const RowComponent = styled.div(
{
display: 'flex'
},
flexbox,
space,
layout,
color,
... | 18.6 | 87 | 0.684588 |
a8452db82f9c30098d24076c003c7b279926f61d | 2,197 | js | JavaScript | js/score.js | UdAyAn123/Dance | 48eaf6ac520c3ef71b36446feed981dcb629396a | [
"MIT"
] | 1 | 2021-01-30T04:50:32.000Z | 2021-01-30T04:50:32.000Z | js/score.js | UdAyAn123/Dance | 48eaf6ac520c3ef71b36446feed981dcb629396a | [
"MIT"
] | 2 | 2021-05-11T19:51:59.000Z | 2022-01-22T13:08:58.000Z | js/score.js | UdAyAn123/Dance | 48eaf6ac520c3ef71b36446feed981dcb629396a | [
"MIT"
] | null | null | null | $(document).ready(function () {
let score = localStorage.getItem('score') || '00';
initChart(score);
});
let red = 'rgb(231, 111, 081)';
let orange = 'rgb(244, 162, 097)';
let yellow = 'rgb(233, 196, 106)';
let green = 'rgb(042, 157, 143)';
let black = 'rgb(038, 070, 083)';
let options = {
tooltips: {
enabl... | 27.123457 | 135 | 0.604005 |
a82872ab41dc5ed1b0499fe75c0dadf633049592 | 1,238 | js | JavaScript | assets/ajax.js | kplsharma13/ci_ajax_crud | 67cdf8b9e1043f16e86f0ddc29be06c3e5d9b60f | [
"MIT"
] | 1 | 2021-02-02T11:25:14.000Z | 2021-02-02T11:25:14.000Z | assets/ajax.js | kplsharma13/ci_ajax_crud | 67cdf8b9e1043f16e86f0ddc29be06c3e5d9b60f | [
"MIT"
] | null | null | null | assets/ajax.js | kplsharma13/ci_ajax_crud | 67cdf8b9e1043f16e86f0ddc29be06c3e5d9b60f | [
"MIT"
] | null | null | null | $(document).ready(function(){
loadTables();
function loadTables() {
$.ajax({
url: '/ajax/first_controller/fetch_records',
type: 'POST',
success: function(data){
// console.log(data);
$('#load-table').html(data);
}
});
}
$('#message').hide... | 21.719298 | 53 | 0.458805 |
a832a25653198a4364e6ef3de6f4476a63f52ba1 | 174 | js | JavaScript | packages/service-a/src/delete.js | kdcio/serverless-multi-services | f6806b0cca84993d707f7cbd1c78cec1c18c52c1 | [
"MIT"
] | 1 | 2021-02-05T19:54:56.000Z | 2021-02-05T19:54:56.000Z | packages/service-a/src/delete.js | kdcio/serverless-multi-services | f6806b0cca84993d707f7cbd1c78cec1c18c52c1 | [
"MIT"
] | 12 | 2021-04-01T08:06:18.000Z | 2022-03-28T17:03:05.000Z | packages/service-c/src/delete.js | kdcio/serverless-multi-services | f6806b0cca84993d707f7cbd1c78cec1c18c52c1 | [
"MIT"
] | null | null | null | import response from "@kdcio/api-gw-resp";
export const handler = async (event) => {
console.log(`delete ${event.pathParameters.id}`);
return response.NO_CONTENT();
};
| 21.75 | 51 | 0.695402 |
a837965d9c267a670cddd92689f7903f515fd7f4 | 6,618 | js | JavaScript | lib/actions/grants/authorization_code.js | plauclair/node-oidc-provider | f76beb0cf45996ea8ea92b62d2e0b91adbf9dd0c | [
"MIT"
] | 1 | 2021-04-04T04:25:54.000Z | 2021-04-04T04:25:54.000Z | lib/actions/grants/authorization_code.js | plauclair/node-oidc-provider | f76beb0cf45996ea8ea92b62d2e0b91adbf9dd0c | [
"MIT"
] | null | null | null | lib/actions/grants/authorization_code.js | plauclair/node-oidc-provider | f76beb0cf45996ea8ea92b62d2e0b91adbf9dd0c | [
"MIT"
] | null | null | null | const { InvalidGrant, InvalidTarget } = require('../../helpers/errors');
const presence = require('../../helpers/validate_presence');
const instance = require('../../helpers/weak_cache');
const checkPKCE = require('../../helpers/pkce');
const revoke = require('../../helpers/revoke');
const filterClaims = require('../..... | 28.282051 | 125 | 0.671653 |
a830bd3ee794d0ff7d25f8d0402b12391bdc33b6 | 15,618 | js | JavaScript | test/Map-test.js | AlasdairGray/shex.js | 5ec89240625e6bbf0a4e3030f22a789876f76075 | [
"MIT"
] | 2 | 2019-05-03T11:52:19.000Z | 2021-04-26T10:59:00.000Z | test/Map-test.js | AlasdairGray/shex.js | 5ec89240625e6bbf0a4e3030f22a789876f76075 | [
"MIT"
] | null | null | null | test/Map-test.js | AlasdairGray/shex.js | 5ec89240625e6bbf0a4e3030f22a789876f76075 | [
"MIT"
] | null | null | null | #!/usr/bin/env node
var VERBOSE = "VERBOSE" in process.env;
var TERSE = VERBOSE;
var TESTS = "TESTS" in process.env ? process.env.TESTS.split(/,/) : null;
var ShExCore = require("@shexjs/core");
var ShExUtil = ShExCore.Util;
var ShExValidator = ShExCore.Validator;
var ShExLoader = require("@shexjs/loader");
var Mappe... | 48.959248 | 213 | 0.483865 |
a845f2b2f37557b526aa7fda12aec0325764a13f | 1,413 | js | JavaScript | packages/serverless/test/downstream_dummy/index.js | gebhardtr/nodejs | 59ce34dd0a944f4ed3f59f3e19b03f42912839d8 | [
"MIT"
] | 62 | 2016-08-31T06:16:09.000Z | 2021-06-23T08:30:21.000Z | packages/serverless/test/downstream_dummy/index.js | gebhardtr/nodejs | 59ce34dd0a944f4ed3f59f3e19b03f42912839d8 | [
"MIT"
] | 110 | 2016-07-08T13:35:32.000Z | 2021-06-10T05:34:31.000Z | packages/serverless/test/downstream_dummy/index.js | gebhardtr/nodejs | 59ce34dd0a944f4ed3f59f3e19b03f42912839d8 | [
"MIT"
] | 35 | 2017-02-05T12:41:07.000Z | 2021-01-19T06:33:03.000Z | /*
* (c) Copyright IBM Corp. 2021
* (c) Copyright Instana Inc. and contributors 2019
*/
'use strict';
const express = require('express');
const http = require('http');
const morgan = require('morgan');
const pino = require('pino')();
const { sendToParent } = require('../../../core/test/test_util');
const delay = ... | 27.173077 | 91 | 0.640481 |
a8426f616df19f211dc033c65fb7cb76af5a97a0 | 2,795 | js | JavaScript | ContactsList.Angular/Scripts/i18n/angular-locale_is-is.js | write2madhu/octo-spoon | 47e240c176b390112eee62e48aab1834e9aee8a4 | [
"MIT"
] | 82 | 2015-05-14T09:30:38.000Z | 2021-07-06T09:28:20.000Z | ContactsList.Angular/Scripts/i18n/angular-locale_is-is.js | write2madhu/octo-spoon | 47e240c176b390112eee62e48aab1834e9aee8a4 | [
"MIT"
] | 118 | 2015-01-27T05:41:46.000Z | 2022-01-21T23:21:46.000Z | ContactsList.Angular/Scripts/i18n/angular-locale_is-is.js | write2madhu/octo-spoon | 47e240c176b390112eee62e48aab1834e9aee8a4 | [
"MIT"
] | 55 | 2015-05-13T12:18:11.000Z | 2018-11-20T16:07:14.000Z | 'use strict';
angular.module("ngLocale", [], ["$provide", function($provide) {
var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"};
function getDecimals(n) {
n = n + '';
var i = n.indexOf('.');
return (i == -1) ? 0 : n.length - i - 1;
}
function getVF(n, opt_pre... | 20.40146 | 252 | 0.435778 |
a8414e1e90b8f7f7a1dc090ab72e60ebf8860bfc | 526 | js | JavaScript | electron-app/windows/TrayWindow.js | DmytroVasin/TimeTracker | b8fa4e7ceaadf16ccc7da8661e2f4f4349b52bf8 | [
"MIT"
] | 15 | 2017-04-06T12:54:30.000Z | 2021-08-17T10:26:26.000Z | electron-app/windows/TrayWindow.js | DmytroVasin/TimeTracker | b8fa4e7ceaadf16ccc7da8661e2f4f4349b52bf8 | [
"MIT"
] | null | null | null | electron-app/windows/TrayWindow.js | DmytroVasin/TimeTracker | b8fa4e7ceaadf16ccc7da8661e2f4f4349b52bf8 | [
"MIT"
] | 5 | 2018-08-08T02:59:01.000Z | 2019-11-15T08:23:50.000Z | const path = require('path');
const { BrowserWindow } = require('electron');
class TrayWindow {
constructor() {
let htmlPath = 'file://' + path.join(__dirname, '..') + '/pages/tray_page.html'
this.window = new BrowserWindow({
show: false,
height: 210,
width: 225,
frame: false,
... | 19.481481 | 83 | 0.577947 |
a824da3bd7960e94fcd6d7f7b6235073b81fb72e | 50 | js | JavaScript | portal/static/js/main.js | satoshun-go-example/isucon8-final | 76f7d821043aa08e1adabdc6ca5f66320cb7be3d | [
"MIT"
] | 171 | 2018-09-18T13:56:11.000Z | 2021-08-21T00:05:37.000Z | portal/static/js/main.js | satoshun-go-example/isucon8-final | 76f7d821043aa08e1adabdc6ca5f66320cb7be3d | [
"MIT"
] | 22 | 2018-11-26T04:13:44.000Z | 2022-03-30T22:56:14.000Z | portal/static/js/main.js | satoshun-go-example/isucon8-final | 76f7d821043aa08e1adabdc6ca5f66320cb7be3d | [
"MIT"
] | 121 | 2018-09-18T14:43:18.000Z | 2022-02-19T01:26:58.000Z | $(function() {
$('.table').tablesorter();
});
| 12.5 | 30 | 0.48 |
a8446643d5b8588d045e49e0787e537a441104bf | 36,562 | js | JavaScript | static/scripts/S3/s3.ui.hierarchicalopts.js | flavour/aidiq | 60024c8a83e6410584e4b43b64baf9552936a685 | [
"MIT"
] | 2 | 2018-04-06T08:18:21.000Z | 2021-09-17T11:45:00.000Z | static/scripts/S3/s3.ui.hierarchicalopts.js | flavour/aidiq | 60024c8a83e6410584e4b43b64baf9552936a685 | [
"MIT"
] | 2 | 2015-02-14T18:58:17.000Z | 2015-02-24T07:22:39.000Z | static/scripts/S3/s3.ui.hierarchicalopts.js | flavour/aidiq | 60024c8a83e6410584e4b43b64baf9552936a685 | [
"MIT"
] | 3 | 2015-02-11T10:31:26.000Z | 2021-09-17T11:46:29.000Z | /**
* jQuery UI HierarchicalOpts Widget for S3HierarchyWidget/S3HierarchyFilter
*
* @copyright 2013-2021 (c) Sahana Software Foundation
* @license MIT
*
* requires jQuery 1.9.1+
* requires jQuery UI 1.10 widget factory
* requires jQuery jstree 3.0.3
*
*/
(function($, undefined) {
"use strict";
var hi... | 35.80999 | 197 | 0.424949 |
a828419d1bdc0be09cf0703790b2c0809ac76700 | 14,575 | js | JavaScript | skills-by-the-community/Akanksha_Raghav/Seven_Wonders/lambda/index.js | Divya-Dayashankar-Jaiswal/alexa-skills | 8e353f157dfc8c70cc9d515212d4792cbafae989 | [
"MIT"
] | 13 | 2020-08-06T19:42:48.000Z | 2021-11-08T11:13:12.000Z | skills-by-the-community/Akanksha_Raghav/Seven_Wonders/lambda/index.js | Divya-Dayashankar-Jaiswal/alexa-skills | 8e353f157dfc8c70cc9d515212d4792cbafae989 | [
"MIT"
] | 20 | 2020-08-19T17:08:13.000Z | 2020-11-04T06:47:13.000Z | skills-by-the-community/Akanksha_Raghav/Seven_Wonders/lambda/index.js | Divya-Dayashankar-Jaiswal/alexa-skills | 8e353f157dfc8c70cc9d515212d4792cbafae989 | [
"MIT"
] | 29 | 2020-08-19T09:18:58.000Z | 2021-10-13T09:27:30.000Z | // This sample demonstrates handling intents from an Alexa skill using the Alexa Skills Kit SDK (v2).
// Please visit https://alexa.design/cookbook for additional examples on implementing slots, dialog management,
// session persistence, api calls, and more.
const Alexa = require('ask-sdk-core');
const LaunchRequ... | 44.984568 | 367 | 0.639794 |
a8484fd6bbe4e093f9bfcb15a49c69f062940734 | 769 | js | JavaScript | dev/dapp/front-end/nft_front/node_modules/read-bigint/dist/read-biguint-64-le.js | liuxieric123/nft_move_starcoin | 574859f11eb7fcef2edda5478ea19cd62007dea9 | [
"MIT"
] | 2 | 2021-08-04T06:16:39.000Z | 2021-12-04T08:50:40.000Z | dev/dapp/front-end/nft_front/node_modules/read-bigint/dist/read-biguint-64-le.js | liuxieric123/nft_move_starcoin | 574859f11eb7fcef2edda5478ea19cd62007dea9 | [
"MIT"
] | null | null | null | dev/dapp/front-end/nft_front/node_modules/read-bigint/dist/read-biguint-64-le.js | liuxieric123/nft_move_starcoin | 574859f11eb7fcef2edda5478ea19cd62007dea9 | [
"MIT"
] | null | null | null | "use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.readBigUInt64LE = void 0;
const common_1 = require("./common");
// https://github.com/nodejs/node/blob/v13.9.0/lib/internal/buffer.js#L83-L101
function readBigUInt64LE(buffer, offset = 0) {
const { first, last } = common_1.ge... | 40.473684 | 79 | 0.605982 |
a847241945911a9c3e5544b3cfedbd391ec34772 | 83,554 | js | JavaScript | node_modules/showdown/dist/showdown.js | lesliepeng/reactBlog | 2bf3e8ed76b10926f6cbd3334cdcd504e96f375b | [
"MIT"
] | 4 | 2016-03-12T22:41:07.000Z | 2021-12-20T11:32:11.000Z | node_modules/showdown/dist/showdown.js | lesliepeng/reactBlog | 2bf3e8ed76b10926f6cbd3334cdcd504e96f375b | [
"MIT"
] | 38 | 2015-10-05T15:42:22.000Z | 2020-12-15T05:29:00.000Z | node_modules/showdown/dist/showdown.js | lesliepeng/reactBlog | 2bf3e8ed76b10926f6cbd3334cdcd504e96f375b | [
"MIT"
] | 2 | 2015-10-09T06:10:39.000Z | 2020-07-26T20:00:03.000Z | ;/*! showdown 06-02-2017 */
(function(){
/**
* Created by Tivie on 13-07-2015.
*/
function getDefaultOpts (simple) {
'use strict';
var defaultOptions = {
omitExtraWLInCodeBlocks: {
defaultValue: false,
describe: 'Omit the default extra whiteline added to code blocks',
type: 'boolean'
... | 30.131266 | 173 | 0.585549 |
a83aba581b25cec4b214ec891a8158b6bf6c1599 | 51 | js | JavaScript | public/js/script.js | tfnyyy23/7-33-Tifany | 80d602106fb344684cc40ce3fb319120415355e1 | [
"MIT"
] | 1 | 2022-01-25T00:17:16.000Z | 2022-01-25T00:17:16.000Z | public/js/script.js | tfnyyy23/7-33-Tifany | 80d602106fb344684cc40ce3fb319120415355e1 | [
"MIT"
] | null | null | null | public/js/script.js | tfnyyy23/7-33-Tifany | 80d602106fb344684cc40ce3fb319120415355e1 | [
"MIT"
] | null | null | null | alert ("Hallo, selamat datang di website saya :)"); | 51 | 51 | 0.705882 |