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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
aec9333fba4905a8cf8c0c80b8c4455392c09486 | 1,694 | js | JavaScript | pages/web-h5/web-h5.js | FEPD/Kepler | c9c77077ab5735705f8441474c856c2a6e531e27 | [
"Unlicense"
] | 21 | 2018-11-27T09:42:32.000Z | 2022-03-12T13:03:38.000Z | pages/web-h5/web-h5.js | FEPD/Kepler | c9c77077ab5735705f8441474c856c2a6e531e27 | [
"Unlicense"
] | 2 | 2019-04-02T13:44:12.000Z | 2021-07-15T10:54:38.000Z | pages/web-h5/web-h5.js | FEPD/Kepler | c9c77077ab5735705f8441474c856c2a6e531e27 | [
"Unlicense"
] | 10 | 2019-02-21T06:19:47.000Z | 2022-02-22T03:48:06.000Z | /*
* @Date: 2020-09-28 11:14:40
* @FilePath: /jdk_mpPlugin/miniprogram/pages/web-h5/web-h5.js
* @Autor: wangjiguang
* @LastEditors: Do not edit
* @LastEditTime: 2021-01-13 16:05:35
* @Description:
*/
var plugin = requirePlugin("myPlugin");
var log = plugin.log.init()
var app = getApp()
Page({
data: {
shareO... | 24.550725 | 114 | 0.615112 |
aec98a5906d8c259c4b5bb14fa642d59bba4cc8b | 2,553 | js | JavaScript | evm/test/GetterSetter_test.js | whatsadebugger/chainlink | 0f41bad0bba11d65a5ff45cdf6f82f5fdde9d494 | [
"MIT"
] | null | null | null | evm/test/GetterSetter_test.js | whatsadebugger/chainlink | 0f41bad0bba11d65a5ff45cdf6f82f5fdde9d494 | [
"MIT"
] | null | null | null | evm/test/GetterSetter_test.js | whatsadebugger/chainlink | 0f41bad0bba11d65a5ff45cdf6f82f5fdde9d494 | [
"MIT"
] | 1 | 2019-12-27T13:00:27.000Z | 2019-12-27T13:00:27.000Z | import * as h from '../src/helpers'
import { assertBigNum } from '../src/matchers'
const GetterSetter = artifacts.require('GetterSetter.sol')
let roles
before(async () => {
const rolesAndPersonas = await h.initializeRolesAndPersonas()
roles = rolesAndPersonas.roles
})
contract('GetterSetter', () => {
const re... | 29.011364 | 77 | 0.646298 |
aeca37e9f24b2a8f6af5957221cdf00e4ef9f1fd | 1,414 | js | JavaScript | client/src/_components/views/static.view.js | scrose/mlp-explorer | 4b7162c86f7f1cc486bb29ace2020ed20250d323 | [
"MIT"
] | null | null | null | client/src/_components/views/static.view.js | scrose/mlp-explorer | 4b7162c86f7f1cc486bb29ace2020ed20250d323 | [
"MIT"
] | 6 | 2021-07-06T19:36:45.000Z | 2021-11-28T00:16:32.000Z | client/src/_components/views/static.view.js | scrose/mlp-explorer | 4b7162c86f7f1cc486bb29ace2020ed20250d323 | [
"MIT"
] | null | null | null | /*!
* MLP.Client.Components.Common.View.Static
* File: static.view.js
* Copyright(c) 2021 Runtime Software Development Inc.
* MIT Licensed
*/
import React from 'react';
import DashboardViewer from '../viewer/dashboard.viewer';
import DashboardEditor from '../viewer/dashboard.editor';
import NotfoundError from '..... | 27.192308 | 75 | 0.625177 |
aecac27dadc0a6a2a4d829f966d0c42c99c6f4b3 | 124 | js | JavaScript | frontend/static/js/component/clearElement.js | judoaseeta/joupang | f96c7b27499d994df8a6d664a61627405ea8bd0c | [
"MIT"
] | null | null | null | frontend/static/js/component/clearElement.js | judoaseeta/joupang | f96c7b27499d994df8a6d664a61627405ea8bd0c | [
"MIT"
] | null | null | null | frontend/static/js/component/clearElement.js | judoaseeta/joupang | f96c7b27499d994df8a6d664a61627405ea8bd0c | [
"MIT"
] | null | null | null | export default function clearElement(element) {
while(element.firstChild) {
element.firstChild.remove();
}
} | 24.8 | 47 | 0.685484 |
aecae349ee7f1d895f0d1cecaa4dde639fe51117 | 2,382 | js | JavaScript | js/email_foco.js | WesleyNobio/netflix_clone | b243e94d9ed4aa6e35d0af3bf35bc8fdb4559d22 | [
"MIT"
] | null | null | null | js/email_foco.js | WesleyNobio/netflix_clone | b243e94d9ed4aa6e35d0af3bf35bc8fdb4559d22 | [
"MIT"
] | null | null | null | js/email_foco.js | WesleyNobio/netflix_clone | b243e94d9ed4aa6e35d0af3bf35bc8fdb4559d22 | [
"MIT"
] | null | null | null | var input = document.querySelectorAll('.email_input')
var label = document.querySelectorAll('.lab')
var i = document.querySelectorAll('.input')
var div_msg = document.querySelectorAll('.e_msg')
var div_span = document.querySelectorAll('.span_msg')
var email = ["",""], input_yellow = [false, false];
var email_completo ... | 31.342105 | 122 | 0.595298 |
aecb64af1a1f1fa9ae41ece48a2618df9ba9baf2 | 101 | js | JavaScript | tests/split-item-start/change.js | prezly/slate-edit-list | ec5a976f00367b17bfbc8cfe842816c11b248f91 | [
"Apache-2.0"
] | null | null | null | tests/split-item-start/change.js | prezly/slate-edit-list | ec5a976f00367b17bfbc8cfe842816c11b248f91 | [
"Apache-2.0"
] | null | null | null | tests/split-item-start/change.js | prezly/slate-edit-list | ec5a976f00367b17bfbc8cfe842816c11b248f91 | [
"Apache-2.0"
] | 3 | 2018-11-27T12:02:13.000Z | 2018-12-18T05:54:16.000Z | export default function(plugin, editor) {
return editor.command(plugin.changes.splitListItem);
}
| 25.25 | 56 | 0.772277 |
aecb69fc4497d83ccdd2a98288118ebf3b1ebbf7 | 4,502 | js | JavaScript | starter-apps/js-esm-local-vite-noframework/dist/assets/quantizationUtils.9290a852.js | hhkaos/arcgis-js-api-starter-apps | 9cb6efbb27c8dfc7991d762f3a583a477d4dc648 | [
"Apache-2.0"
] | 1 | 2022-03-22T09:42:15.000Z | 2022-03-22T09:42:15.000Z | starter-apps/js-esm-local-vite-noframework/dist/assets/quantizationUtils.9290a852.js | hhkaos/arcgis-js-api-starter-apps | 9cb6efbb27c8dfc7991d762f3a583a477d4dc648 | [
"Apache-2.0"
] | null | null | null | starter-apps/js-esm-local-vite-noframework/dist/assets/quantizationUtils.9290a852.js | hhkaos/arcgis-js-api-starter-apps | 9cb6efbb27c8dfc7991d762f3a583a477d4dc648 | [
"Apache-2.0"
] | 2 | 2021-09-09T00:32:38.000Z | 2022-01-03T01:25:07.000Z | import{b8 as n,b9 as t,aG as e,ba as s,bb as r,bc as i,bd as o,be as a,ao as u,as as l,ar as c,ap as m,aq as h}from"./vendor.d9ce5f39.js";import{t as f}from"./json.df9e51f4.js";const p=[0,0];function x(n,t){if(!t)return null;if("x"in t){const e={x:0,y:0};return[e.x,e.y]=n(t.x,t.y,p),null!=t.z&&(e.z=t.z),null!=t.m&&(e.m... | 2,251 | 4,501 | 0.631719 |
aecb9d0e31800458e4979933023f530b25290282 | 346 | js | JavaScript | docs/html/search/functions_0.js | openrdv/openrdv-agent | 8ec74b37ef67c6a0e6fc18ee280f96c2d148df70 | [
"MIT"
] | null | null | null | docs/html/search/functions_0.js | openrdv/openrdv-agent | 8ec74b37ef67c6a0e6fc18ee280f96c2d148df70 | [
"MIT"
] | null | null | null | docs/html/search/functions_0.js | openrdv/openrdv-agent | 8ec74b37ef67c6a0e6fc18ee280f96c2d148df70 | [
"MIT"
] | null | null | null | var searchData=
[
['attestmanager_34',['AttestManager',['../classopenrdv_1_1AttestManager.html#a8dda85b8db0466b48805d53527b9e829',1,'openrdv::AttestManager::AttestManager()'],['../classopenrdv_1_1AttestManager.html#a0242a3d64b5eb36fa5b0c77a09dab599',1,'openrdv::AttestManager::AttestManager(const boost::filesystem::pa... | 69.2 | 324 | 0.803468 |
aecc9117f97faed415cecc2d5bc9864caa8e9689 | 653 | js | JavaScript | app/index.js | tafkanator/one-pager | dac55704b1696cdd85e952fab7952dd02732b57d | [
"MIT"
] | null | null | null | app/index.js | tafkanator/one-pager | dac55704b1696cdd85e952fab7952dd02732b57d | [
"MIT"
] | null | null | null | app/index.js | tafkanator/one-pager | dac55704b1696cdd85e952fab7952dd02732b57d | [
"MIT"
] | null | null | null | class App {
constructor() {
debugger
// find required pages
const viewsWrapElements = Array.prototype.slice.call(document.querySelectorAll('[data-view]'));
// load all pages async and insert them into DOM as they come
viewsWrapElements.forEach(this.loadView);
}
/**
* Finds view name from data-view att... | 25.115385 | 97 | 0.704441 |
aeccac848dc53d32f633ac1ff937aa20b47a2f57 | 354 | js | JavaScript | models/User.js | PepiPetrov/bookland-backend | cf108e1bb69f0c30e92cfbe6729aa3eb29ffd606 | [
"MIT"
] | null | null | null | models/User.js | PepiPetrov/bookland-backend | cf108e1bb69f0c30e92cfbe6729aa3eb29ffd606 | [
"MIT"
] | null | null | null | models/User.js | PepiPetrov/bookland-backend | cf108e1bb69f0c30e92cfbe6729aa3eb29ffd606 | [
"MIT"
] | null | null | null | const { Schema, model } = require('mongoose')
const schema = new Schema({
username: {
type: String,
unique: true
},
password: String,
favouriteBooks: [
{
type: Schema.Types.ObjectId,
ref: 'Book'
}
],
email: String
})
modu... | 19.666667 | 46 | 0.497175 |
aecd2e7222c454b41c033c157ea63e08ad5ad3e1 | 2,785 | js | JavaScript | src/controls/JogPad.js | r24y/delta-calibration | ddd5dceb89c86479b7e92135c04a09d4bb6b24e5 | [
"BSD-3-Clause"
] | null | null | null | src/controls/JogPad.js | r24y/delta-calibration | ddd5dceb89c86479b7e92135c04a09d4bb6b24e5 | [
"BSD-3-Clause"
] | 1 | 2015-01-06T03:00:19.000Z | 2015-01-06T03:00:19.000Z | src/controls/JogPad.js | baconscript/teleprint | f8d9fbb497e309765b224c48864c31621def607b | [
"BSD-3-Clause"
] | null | null | null | import React, {Component} from 'react';
import {rgb, lighten} from 'color-ops';
import './jog-pad.scss';
const PADDING = 1;
const CENTER = [50, 50];
function paddedAnglePosition(angle, r, direction = 1, padding = PADDING) {
padding *= direction;
return [
CENTER[0] + Math.cos(angle) * r - Math.sin(angle) * pa... | 23.803419 | 76 | 0.520646 |
aecd4fbf7b8c5297a054a2a7afbb817841d61af1 | 612 | js | JavaScript | client/router/index.js | nathan5x/NYTimes-BestSellers | e0e32ac8f249bb8389602f7acc73c0ba723cdd6b | [
"MIT"
] | 1 | 2019-03-29T19:14:17.000Z | 2019-03-29T19:14:17.000Z | client/router/index.js | nathan5x/NYTimes-BestSellers | e0e32ac8f249bb8389602f7acc73c0ba723cdd6b | [
"MIT"
] | null | null | null | client/router/index.js | nathan5x/NYTimes-BestSellers | e0e32ac8f249bb8389602f7acc73c0ba723cdd6b | [
"MIT"
] | null | null | null | import Vue from "vue";
import Router from "vue-router";
import Home from "../views/Home";
import Lists from "../views/Lists";
import Books from "../views/Books";
import BookDetail from "../views/BookDetail";
Vue.use(Router);
/**
* Router configs to load the component based on the URL
*/
export default new Route... | 17.485714 | 58 | 0.573529 |
aecd721977a896e55da26bef229ee0b18b864e56 | 2,827 | js | JavaScript | backend/index.js | DHua5922/StockPredictionMW2-4 | 5a970556f4ca459ca087826c666fda3c90c38cb9 | [
"MIT"
] | null | null | null | backend/index.js | DHua5922/StockPredictionMW2-4 | 5a970556f4ca459ca087826c666fda3c90c38cb9 | [
"MIT"
] | null | null | null | backend/index.js | DHua5922/StockPredictionMW2-4 | 5a970556f4ca459ca087826c666fda3c90c38cb9 | [
"MIT"
] | null | null | null | const express = require('express');
const app = express();
const axios = require('axios');
const cors = require("cors");
// Allow chatterus website to use the API
const corsConfig = cors({
origin: [
"http://localhost:3000",
"https://stock-decider-frontend-stage.herokuapp.com",
"https://st... | 28.846939 | 135 | 0.607711 |
aece2d2063d5a9a3df4fb69bce121ab8f7da0431 | 281 | js | JavaScript | io.github.u2ware.frontend.vue.template/boilerplate/src/main.js | u2waremanager/u2ware-incubator | 353d97ac2ba5c874222051a5d3966237675b28ce | [
"Apache-2.0"
] | null | null | null | io.github.u2ware.frontend.vue.template/boilerplate/src/main.js | u2waremanager/u2ware-incubator | 353d97ac2ba5c874222051a5d3966237675b28ce | [
"Apache-2.0"
] | null | null | null | io.github.u2ware.frontend.vue.template/boilerplate/src/main.js | u2waremanager/u2ware-incubator | 353d97ac2ba5c874222051a5d3966237675b28ce | [
"Apache-2.0"
] | null | null | null | import Vue from 'vue'
import main from './main.vue'
import vuetify from './plugins/vuetify';
import i18n from './plugins/i18n'
import router from './plugins/router'
Vue.config.productionTip = false
new Vue({
vuetify,
i18n,
router,
render: h => h(main)
}).$mount('#app')
| 17.5625 | 40 | 0.683274 |
aecf747d5fe205a8c1e13a512ad01841cb409364 | 10,821 | js | JavaScript | js/source.js | javogel/javogel | cc8430851d7d3b70d866b009660ed1265f5572d1 | [
"MIT"
] | null | null | null | js/source.js | javogel/javogel | cc8430851d7d3b70d866b009660ed1265f5572d1 | [
"MIT"
] | 6 | 2020-07-05T08:48:12.000Z | 2022-01-15T01:05:40.000Z | js/source.js | javogel/javogel | cc8430851d7d3b70d866b009660ed1265f5572d1 | [
"MIT"
] | null | null | null | // 🎌 IMPORT MODULES, COMPONENTS AND WHATNOT. CREATE THE VUE INSTANCE 🎌
// import Vue from 'vue'
// import WebFont from 'webfontloader'
// import Marked from 'marked'
// import App from '../components/app.vue'
// 🎌 GOOGLE FONTS, CAUSE TYPOGRAPHY 🎌
// WebFont.load({
// google: {
// families: ['Alegreya:400,itali... | 28.106494 | 90 | 0.63386 |
aed18e3ab4207fc6e0b50e64229292fac2d2b0e5 | 679 | js | JavaScript | server/routes/workerReason.js | NMDSdevopsServiceAdm/SopraSteria-SFC | 32d1ea08d8f45ed07539a5d4ba009c77a325edb6 | [
"MIT"
] | 7 | 2019-01-16T15:36:09.000Z | 2022-02-02T11:40:03.000Z | server/routes/workerReason.js | NMDSdevopsServiceAdm/SopraSteria-SFC | 32d1ea08d8f45ed07539a5d4ba009c77a325edb6 | [
"MIT"
] | 3,000 | 2018-12-05T15:19:30.000Z | 2022-03-31T16:18:12.000Z | server/routes/workerReason.js | NMDSdevopsServiceAdm/SopraSteria-SFC | 32d1ea08d8f45ed07539a5d4ba009c77a325edb6 | [
"MIT"
] | 5 | 2019-08-29T14:29:37.000Z | 2020-05-11T10:31:27.000Z | var express = require('express');
var router = express.Router();
const models = require('../models/index');
/* GET ALL qualifications*/
router.route('/').get(async function (req, res) {
try {
let results = await models.workerLeaveReasons.findAll({
order: [['seq', 'ASC']],
});
res.send({
rea... | 19.4 | 59 | 0.60972 |
aed30c37b3e9e724d90c33a26f3714de371f026e | 67,518 | js | JavaScript | dist/js/app.f741f7d4.js | Ochuwa-sophie/PortfolioSite | 24a7332d853bf446d4f7a14c370a8573042091e8 | [
"MIT"
] | 2 | 2021-11-08T10:37:21.000Z | 2022-03-12T09:58:10.000Z | dist/js/app.f741f7d4.js | Ochuwa-sophie/PortfolioSite | 24a7332d853bf446d4f7a14c370a8573042091e8 | [
"MIT"
] | null | null | null | dist/js/app.f741f7d4.js | Ochuwa-sophie/PortfolioSite | 24a7332d853bf446d4f7a14c370a8573042091e8 | [
"MIT"
] | null | null | null | (function(t){function e(e){for(var i,n,c=e[0],o=e[1],r=e[2],d=0,g=[];d<c.length;d++)n=c[d],Object.prototype.hasOwnProperty.call(a,n)&&a[n]&&g.push(a[n][0]),a[n]=0;for(i in o)Object.prototype.hasOwnProperty.call(o,i)&&(t[i]=o[i]);m&&m(e);while(g.length)g.shift()();return l.push.apply(l,r||[]),s()}function s(){for(var t,... | 33,759 | 67,477 | 0.837969 |
aed31699c9d51e3d29aa4bf74b82e297f251512e | 63 | js | JavaScript | src/js/login/app.js | rgomesjlle/meetTeste | 31b88eaba04f96fb13d9800eb00bac9e22e320d3 | [
"MIT"
] | null | null | null | src/js/login/app.js | rgomesjlle/meetTeste | 31b88eaba04f96fb13d9800eb00bac9e22e320d3 | [
"MIT"
] | 1 | 2022-03-02T04:34:04.000Z | 2022-03-02T04:34:04.000Z | src/js/login/app.js | rgomesjlle/meetTeste | 31b88eaba04f96fb13d9800eb00bac9e22e320d3 | [
"MIT"
] | null | null | null | var angular = require('angular');
require('./controller.js');
| 15.75 | 33 | 0.68254 |
aed33be0714be47a52dca32ebe55a205d927bd28 | 105 | js | JavaScript | src/index.js | Th3Cod3/KGtoLB | 2c190313d2e2f7204ff7d81f84e1f4cc21a5f571 | [
"MIT"
] | null | null | null | src/index.js | Th3Cod3/KGtoLB | 2c190313d2e2f7204ff7d81f84e1f4cc21a5f571 | [
"MIT"
] | null | null | null | src/index.js | Th3Cod3/KGtoLB | 2c190313d2e2f7204ff7d81f84e1f4cc21a5f571 | [
"MIT"
] | null | null | null | export function KGtoLB(num) {
return num * 2.205
}
export function LBtoKG(num) {
return num * 0.454
} | 15 | 30 | 0.685714 |
aed3bc330a65237c1a4ddc5b68eac0ba2d52a6f4 | 877 | js | JavaScript | test/integration/fixtures/01-users.js | sashikanth1994/central-backend | 35a1c357c0a6b4d3805e044fa88f9e93f3c3746f | [
"Apache-2.0"
] | null | null | null | test/integration/fixtures/01-users.js | sashikanth1994/central-backend | 35a1c357c0a6b4d3805e044fa88f9e93f3c3746f | [
"Apache-2.0"
] | null | null | null | test/integration/fixtures/01-users.js | sashikanth1994/central-backend | 35a1c357c0a6b4d3805e044fa88f9e93f3c3746f | [
"Apache-2.0"
] | null | null | null |
module.exports = ({ all, User, Actor, Membership, Project }) => {
const users = [
{ type: 'user', email: 'alice@opendatakit.org', password: 'alice', displayName: 'Alice' },
{ type: 'user', email: 'bob@opendatakit.org', password: 'bob', displayName: 'Bob' },
{ type: 'user', email: 'chelsea@opendatakit.org... | 48.722222 | 101 | 0.643101 |
aed437147b327ca04f008450ef30af68af5ea7fb | 610 | js | JavaScript | src/renderer/store/modules/settings.js | muunapp/muun | 7af52e2926d8612a7ee66b5223914b5050a291f5 | [
"MIT"
] | 29 | 2017-11-26T02:15:09.000Z | 2018-04-09T17:47:57.000Z | src/renderer/store/modules/settings.js | NuroDev/muun | 7af52e2926d8612a7ee66b5223914b5050a291f5 | [
"MIT"
] | 3 | 2017-11-26T03:40:43.000Z | 2017-12-17T09:32:53.000Z | src/renderer/store/modules/settings.js | muunapp/muun | 7af52e2926d8612a7ee66b5223914b5050a291f5 | [
"MIT"
] | 6 | 2017-11-26T16:04:42.000Z | 2018-02-06T18:34:17.000Z | import appIsDev from 'electron-is-dev'
import config from '../../../main/lib/config'
import exampleSettings from '../../../resources/settings.example.json'
var state = {}
if (!appIsDev) {
state = config.get('settings')
} else {
state = exampleSettings.settings
}
const mutations = {
toggleDarkTheme (state) {
... | 19.677419 | 70 | 0.681967 |
aed476d18bcccbe24607dc72e24a9fef16cbca39 | 506 | js | JavaScript | dist/esm/defaults/NodeWidgetProperties.js | AIFanatic/CanvasGraphEngine | c219ba9c76694d366e57696cbc3ad23a683fa899 | [
"MIT"
] | null | null | null | dist/esm/defaults/NodeWidgetProperties.js | AIFanatic/CanvasGraphEngine | c219ba9c76694d366e57696cbc3ad23a683fa899 | [
"MIT"
] | null | null | null | dist/esm/defaults/NodeWidgetProperties.js | AIFanatic/CanvasGraphEngine | c219ba9c76694d366e57696cbc3ad23a683fa899 | [
"MIT"
] | null | null | null | var NodeWidgetProperties = /** @class */ (function () {
function NodeWidgetProperties() {
}
NodeWidgetProperties.default = function () {
return {
position: { x: 0, y: 0 },
size: { w: 200, h: 20 },
color: "#333333",
name: "",
value: "",
... | 28.111111 | 55 | 0.517787 |
aed4b3f794f75e94dee6986f3d94179d9f132377 | 741 | js | JavaScript | index.js | Djelnar/jobs-bot | 3344724e2e1347189708f9289ef62013ad73bc9a | [
"MIT"
] | 15 | 2017-07-22T20:02:39.000Z | 2019-07-07T20:44:57.000Z | index.js | Djelnar/jobs-bot | 3344724e2e1347189708f9289ef62013ad73bc9a | [
"MIT"
] | 7 | 2017-08-30T06:38:12.000Z | 2021-05-09T13:40:02.000Z | index.js | Djelnar/jobs-bot | 3344724e2e1347189708f9289ef62013ad73bc9a | [
"MIT"
] | 3 | 2019-04-26T15:52:02.000Z | 2020-02-10T21:54:08.000Z | const debug = require('debug')('jobs-bot:init');
const http = require('http');
const bot = require('./bot');
const { setAllAdmins, admins } = require('./admins');
const exec = require('./commands');
// debug node_env
debug('node_env', process.env.NODE_ENV);
// set admins && set handlers messages
Promise.all(setAllAdm... | 27.444444 | 62 | 0.626181 |
aed4dc283a1e7b733dedf2851ca791368f747542 | 4,110 | js | JavaScript | oxygen-webhelp/resource/plugins/system/bdthemes_shortcodes/js/jquery.firsttime.min.js | logigearcorp/ta-online-help | b09becb5476a4af7c32ea6af4b47532d6d5b2382 | [
"CC-BY-2.0",
"Apache-2.0",
"BSD-2-Clause"
] | null | null | null | oxygen-webhelp/resource/plugins/system/bdthemes_shortcodes/js/jquery.firsttime.min.js | logigearcorp/ta-online-help | b09becb5476a4af7c32ea6af4b47532d6d5b2382 | [
"CC-BY-2.0",
"Apache-2.0",
"BSD-2-Clause"
] | null | null | null | oxygen-webhelp/resource/plugins/system/bdthemes_shortcodes/js/jquery.firsttime.min.js | logigearcorp/ta-online-help | b09becb5476a4af7c32ea6af4b47532d6d5b2382 | [
"CC-BY-2.0",
"Apache-2.0",
"BSD-2-Clause"
] | null | null | null | /*
First Time - jQuery Plugin
© 2014 www.binaryslash.com. All rights reserved.
*/
;!function(a){"use strict";function f(a,b,c){var e,d=new Date;d.setTime(d.getTime()+864e5*c),e="expires="+d.toUTCString(),document.cookie=a+"="+b+"; "+e+"; path=/"}function g(a){var b,c,d,e,f;for(a+="=",b=document.cookie.split(";"),f=new... | 822 | 4,027 | 0.706569 |
aed4ebd5c56bf9a32d4f896a9167103c68565ffb | 566 | js | JavaScript | src/shared/manager.js | karthikvaidya/express-server | 48bce22b2c737466c64e277fa66ebf8cf6f19286 | [
"MIT"
] | null | null | null | src/shared/manager.js | karthikvaidya/express-server | 48bce22b2c737466c64e277fa66ebf8cf6f19286 | [
"MIT"
] | null | null | null | src/shared/manager.js | karthikvaidya/express-server | 48bce22b2c737466c64e277fa66ebf8cf6f19286 | [
"MIT"
] | null | null | null | const db = require('../database/postgre');
const queries = require('./queries');
const getAccessRights = async (role) => {
const query = {
text: queries.select.role,
values: [role],
};
const result = await db.query.run(query);
return result.rows[0];
};
const getUserInfoForThisSession = async (userId) => {
c... | 20.214286 | 53 | 0.671378 |
aed519d4478bf9760c2c4bad91c48b3a4dcce274 | 1,327 | js | JavaScript | lib/client.js | mailsvb/node-kobold-api | 5726a57543ccf28953c3c67cfcfc9813def79604 | [
"MIT"
] | null | null | null | lib/client.js | mailsvb/node-kobold-api | 5726a57543ccf28953c3c67cfcfc9813def79604 | [
"MIT"
] | null | null | null | lib/client.js | mailsvb/node-kobold-api | 5726a57543ccf28953c3c67cfcfc9813def79604 | [
"MIT"
] | null | null | null | const api = require(__dirname + '/api');
const robot = require(__dirname + '/robot');
function Client(t) {
this._baseUrl = 'https://beehive.ksecosys.com';
this._token = t;
this._tokenType = 'Auth0Bearer ';
}
Client.prototype.getRobots = function (callback) {
if (this._token) {
api.request(this... | 34.025641 | 145 | 0.482291 |
aed5b5ec7ee668398fe6f677bb014ead6c08ea23 | 642 | js | JavaScript | victim.js | dyeraly98/newsgame | 38e8422f48aac348fd08ba7d93f26d3a6d4d16a7 | [
"MIT"
] | null | null | null | victim.js | dyeraly98/newsgame | 38e8422f48aac348fd08ba7d93f26d3a6d4d16a7 | [
"MIT"
] | null | null | null | victim.js | dyeraly98/newsgame | 38e8422f48aac348fd08ba7d93f26d3a6d4d16a7 | [
"MIT"
] | null | null | null | function Victim(navigation,speed,color){
this.speedVictim=speed;
if (navigation == "west"){
this.directionX=-1} else if (navigation == "east") {
this.directionX=1
}
this.speedVictim=this.speedVictim*this.directionX;
this.y=random(30,340);
this.colorVictim=color;
this.... | 22.137931 | 58 | 0.55919 |
aed7882cd68765ad84b3b123f311c69cb3cae4d3 | 76 | js | JavaScript | asset/javascript/burglish.QF.js | scriptive/burglish | 9d6b778b9f30629e7c782780e625a91be468430c | [
"MIT"
] | 5 | 2019-05-20T09:04:08.000Z | 2021-11-27T17:27:47.000Z | asset/javascript/burglish.QF.js | scriptive/burglish | 9d6b778b9f30629e7c782780e625a91be468430c | [
"MIT"
] | null | null | null | asset/javascript/burglish.QF.js | scriptive/burglish | 9d6b778b9f30629e7c782780e625a91be468430c | [
"MIT"
] | 5 | 2018-01-14T13:56:06.000Z | 2021-09-26T14:46:32.000Z | function QF(e) {
var wx = e.target ? e.target : e.srcElement;
gT(wx);
}; | 19 | 46 | 0.592105 |
aed8f2483795c016b596ea8fa42ec92f29d90a52 | 665 | js | JavaScript | app/service/fund/fund.service.js | xuguanfeng/practise | 2b4146da57f0bc888e9536f2baa6f2937f7b160e | [
"MIT"
] | null | null | null | app/service/fund/fund.service.js | xuguanfeng/practise | 2b4146da57f0bc888e9536f2baa6f2937f7b160e | [
"MIT"
] | null | null | null | app/service/fund/fund.service.js | xuguanfeng/practise | 2b4146da57f0bc888e9536f2baa6f2937f7b160e | [
"MIT"
] | null | null | null | 'use strict';
// angular.module('service.fund', [], function($provide) {
// $provide.factory('FundListService', ['$http', function(http) {
// var fundList;
// http.get('json/funds.json').then(function (response) {
// var fundList = response.data;
// });
// return fundLis... | 27.708333 | 69 | 0.553383 |
aed9d09fcd2a594ee8b2da43b00011ad586efb05 | 432 | js | JavaScript | app/src/main/js/store/store.js | IgnaciodeNuevo/show-me-the-code | f36a6a0d4cf8ed799c04174c3313e867e9e326c0 | [
"MIT"
] | null | null | null | app/src/main/js/store/store.js | IgnaciodeNuevo/show-me-the-code | f36a6a0d4cf8ed799c04174c3313e867e9e326c0 | [
"MIT"
] | null | null | null | app/src/main/js/store/store.js | IgnaciodeNuevo/show-me-the-code | f36a6a0d4cf8ed799c04174c3313e867e9e326c0 | [
"MIT"
] | null | null | null | import { createStore } from 'redux';
import reducers from '../reducers/index';
/*
Here we are getting the initial state injected by the server. See routes/index.js for more details
*/
const initialState = window.__INITIAL_STATE__; // eslint-disable-line
const store = createStore(reducers, initialState, window.__REDU... | 36 | 151 | 0.782407 |
aed9d4fd063b246b6a78f7d6a598e72921ac6dfb | 904 | js | JavaScript | src/medium/Pagination.js | co-space/web | 279e7d4c49101040a1768ced400ef2ed7cec4997 | [
"MIT"
] | 1 | 2018-02-27T09:22:40.000Z | 2018-02-27T09:22:40.000Z | src/medium/Pagination.js | co-space/web | 279e7d4c49101040a1768ced400ef2ed7cec4997 | [
"MIT"
] | 1 | 2018-02-28T12:50:47.000Z | 2018-02-28T12:50:47.000Z | src/medium/Pagination.js | co-space/web | 279e7d4c49101040a1768ced400ef2ed7cec4997 | [
"MIT"
] | null | null | null | import React from "react"
// import PropTypes from "prop-types"
import {Pagination, PaginationItem, PaginationLink} from "reactstrap"
const ListPagination = () => (<Pagination className="mt-2">
<PaginationItem>
<PaginationLink previous={true} href="#"/>
</PaginationItem>
<PaginationItem>
<PaginationLink ... | 22.6 | 69 | 0.664823 |
aed9dd189bab812e31177e8531207abb8b5d7471 | 393 | js | JavaScript | app/components/ellipsis.component.js | arthurlutz/OctoPrintStatusMenuBar | 53460efc15f4486a26baf6cf0fad22c10acb0537 | [
"MIT"
] | 10 | 2017-04-24T04:06:09.000Z | 2021-08-24T11:51:45.000Z | app/components/ellipsis.component.js | arthurlutz/OctoPrintStatusMenuBar | 53460efc15f4486a26baf6cf0fad22c10acb0537 | [
"MIT"
] | 3 | 2017-04-24T04:00:37.000Z | 2020-07-07T06:18:39.000Z | app/components/ellipsis.component.js | arthurlutz/OctoPrintStatusMenuBar | 53460efc15f4486a26baf6cf0fad22c10acb0537 | [
"MIT"
] | 3 | 2018-03-11T09:18:17.000Z | 2020-10-09T18:28:06.000Z | Vue.component('ellipsis', {
name: 'ellipsis',
template: `<span>{{ellip}}</span>`,
destroyed() { clearInterval(this.interval) },
data: () => ({ state: 0, ellip: '', interval: false }),
mounted() {
this.interval = setInterval(() => {
this.ellip = '.'.repeat(this.state)
... | 30.230769 | 59 | 0.51145 |
aeda2b1475e3d2878ef42e91925b14d6d4f5eeac | 62 | js | JavaScript | src/components/public/Products/index.js | redtreelchao/react-meisu | 3bf6f8965b87f2808e1a08868293f0bff666f3fe | [
"MIT"
] | null | null | null | src/components/public/Products/index.js | redtreelchao/react-meisu | 3bf6f8965b87f2808e1a08868293f0bff666f3fe | [
"MIT"
] | null | null | null | src/components/public/Products/index.js | redtreelchao/react-meisu | 3bf6f8965b87f2808e1a08868293f0bff666f3fe | [
"MIT"
] | null | null | null | import Products from './Products.jsx'
export default Products | 20.666667 | 37 | 0.806452 |
aeda359ca1e443ce9c1145af79346dc0da4398c6 | 1,266 | js | JavaScript | assets/frontend/app/es6/guidance-mode/element-position/element-position.factory.js | Konings194/ESSENT | c2386a586c1cc11dacbdebf16c2ada42800110fa | [
"MIT"
] | 3 | 2021-06-17T15:02:01.000Z | 2021-06-25T12:06:38.000Z | assets/frontend/app/es6/guidance-mode/element-position/element-position.factory.js | Konings194/ESSENT | c2386a586c1cc11dacbdebf16c2ada42800110fa | [
"MIT"
] | 48 | 2021-06-14T12:55:57.000Z | 2022-03-17T22:27:38.000Z | assets/frontend/app/es6/guidance-mode/element-position/element-position.factory.js | exesser/exess-skeleton | b7db37894715262437fef9a20ce14edab20a25d1 | [
"MIT"
] | null | null | null | 'use strict';
(function (jquery) {
/**
* @ngdoc service
* @name digitalWorkplaceApp.elementPosition
* @description
*
* The elementPosition can tell you information about the position
* of an element on the screen.
*
* Factory in the digitalWorkplaceApp.
*/
angular.module('digitalWorkplac... | 28.772727 | 68 | 0.49842 |
aedbe10d545a0767b34b31655b5e2bc934403a56 | 3,220 | js | JavaScript | dev/src/views/Account.js | codetheorist/regexr | a3ce7eacbe01bc5ae9f6e51a8f2e360e6b69412f | [
"MIT"
] | null | null | null | dev/src/views/Account.js | codetheorist/regexr | a3ce7eacbe01bc5ae9f6e51a8f2e360e6b69412f | [
"MIT"
] | null | null | null | dev/src/views/Account.js | codetheorist/regexr | a3ce7eacbe01bc5ae9f6e51a8f2e360e6b69412f | [
"MIT"
] | null | null | null | /*
RegExr: Learn, Build, & Test RegEx
Copyright (C) 2017 gskinner.com, inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
T... | 32.525253 | 114 | 0.686025 |
aedd70c6fb6c96880ce9aa7ebb5a56ac4d65e0a3 | 225 | js | JavaScript | src/normalize_docker_ref.js | mrjj/dicker | 9e81aa8658e87b7d73e9451e50302b5881c51746 | [
"MIT"
] | 3 | 2019-01-29T21:32:51.000Z | 2019-08-07T22:31:23.000Z | src/normalize_docker_ref.js | mrjj/dicker | 9e81aa8658e87b7d73e9451e50302b5881c51746 | [
"MIT"
] | null | null | null | src/normalize_docker_ref.js | mrjj/dicker | 9e81aa8658e87b7d73e9451e50302b5881c51746 | [
"MIT"
] | null | null | null | const NormalizeDockerRef = ref => new Promise((resolve) => {
process.stdout.write(`Normalization is currently disabled and ref will be returned as as: "${ref}"\n`);
resolve(ref);
});
module.exports = NormalizeDockerRef;
| 32.142857 | 105 | 0.72 |
aedf057d99bdd4e7c4c5b20908ecabbfb2f165d9 | 2,542 | js | JavaScript | src/modules/deck15/ka-50/vhf1.js | truhlikfredy/dcs-bios-2-stream-deck | e6ebc5245dff192cf7454ca05adfb35df1e5103c | [
"MIT"
] | 2 | 2020-01-07T13:35:04.000Z | 2020-02-29T13:38:37.000Z | src/modules/deck15/ka-50/vhf1.js | truhlikfredy/dcs-bios-2-stream-deck | e6ebc5245dff192cf7454ca05adfb35df1e5103c | [
"MIT"
] | null | null | null | src/modules/deck15/ka-50/vhf1.js | truhlikfredy/dcs-bios-2-stream-deck | e6ebc5245dff192cf7454ca05adfb35df1e5103c | [
"MIT"
] | null | null | null | const buttonLogic = require('../../buttonLogic.js')
module.exports = {
name: 'vhf1',
buttons : [
{
text: '<- Back',
goToPage: 'default',
},
{
type: buttonLogic.types.textToggle,
scheme: buttonLogic.colorScheme.blackButton,
... | 29.905882 | 57 | 0.466562 |
aee06c258dff26e4919ff076155cf248064c26ec | 5,821 | js | JavaScript | src/index.js | clinfc/combination-key | 0915e4f12715daa78f3ee9f74f0e4f6512c0a860 | [
"MIT"
] | null | null | null | src/index.js | clinfc/combination-key | 0915e4f12715daa78f3ee9f74f0e4f6512c0a860 | [
"MIT"
] | null | null | null | src/index.js | clinfc/combination-key | 0915e4f12715daa78f3ee9f74f0e4f6512c0a860 | [
"MIT"
] | null | null | null | import abbrMap from './assets/abbrMap.json5'
import keyCodeMpaData from './assets/keyCodeMapData.json5'
import { eachArray, RESULT_VALUE, reverseObjectKV } from './lib'
/**
* 全局单例
*/
let instance
const FN_KEY_CODE = '*'
const keyCodeMap = keyCodeMpaData.keyCode
if (navigator && navigator.userAgent.toLowerCase().i... | 21.322344 | 128 | 0.612953 |
aee0d2944b3c32f6a9433eb90188d87652eeef9d | 668 | js | JavaScript | docs/aula12/ex013.js | Sergio81alves/dicas | a41835a3ec76a0193074488f2115cc36677a0929 | [
"MIT"
] | null | null | null | docs/aula12/ex013.js | Sergio81alves/dicas | a41835a3ec76a0193074488f2115cc36677a0929 | [
"MIT"
] | null | null | null | docs/aula12/ex013.js | Sergio81alves/dicas | a41835a3ec76a0193074488f2115cc36677a0929 | [
"MIT"
] | null | null | null | console.log(diasem)
switch(diasem){
case 0:
console.log('Domingo')
break
case 1:
console.log('segunda')
break
case 2:
console.log('terça')
break
case 3:
console.log('quarta')
break
case 4:
console.log('quinta')
break
... | 16.292683 | 51 | 0.48503 |
aee11c3404ecdea653415a41d6c1920b6edf72d1 | 46 | js | JavaScript | src/components/RelatedTitleInfo/index.js | frontside-folio/ui-agreements | 3ee6501fb00fe25064544a628d569a3782099bb3 | [
"Apache-2.0"
] | 2 | 2021-04-22T05:13:48.000Z | 2021-05-04T10:58:30.000Z | src/components/RelatedTitleInfo/index.js | frontside-folio/ui-agreements | 3ee6501fb00fe25064544a628d569a3782099bb3 | [
"Apache-2.0"
] | 630 | 2018-11-15T14:30:42.000Z | 2022-03-30T13:00:33.000Z | src/components/RelatedTitleInfo/index.js | frontside-folio/ui-agreements | 3ee6501fb00fe25064544a628d569a3782099bb3 | [
"Apache-2.0"
] | 13 | 2018-11-08T10:18:21.000Z | 2021-12-17T16:45:07.000Z | export { default } from './RelatedTitleInfo';
| 23 | 45 | 0.717391 |
aee17997fbeb487cd81ef051821fb1eb222cfb19 | 11,787 | js | JavaScript | highmaps/610203.js | lbp0200/highcharts-china-geo | a8342835f3004d257c11aab196272b449aa58899 | [
"MIT"
] | 40 | 2016-06-24T03:14:42.000Z | 2022-01-15T11:17:13.000Z | highmaps/610203.js | lbp0200/highcharts-china-geo | a8342835f3004d257c11aab196272b449aa58899 | [
"MIT"
] | null | null | null | highmaps/610203.js | lbp0200/highcharts-china-geo | a8342835f3004d257c11aab196272b449aa58899 | [
"MIT"
] | 46 | 2016-01-12T16:08:07.000Z | 2022-03-30T17:37:44.000Z | Highcharts.maps["countries/cn/610203"] = {"type":"FeatureCollection","features":[{"type":"Feature","properties":{"adcode":610203,"name":"印台区","center":[109.100814,35.111927],"childrenNum":0,"level":"district","acroutes":[100000,610000,610200],"parent":{"adcode":610200}},"geometry":{"type":"MultiPolygon","coordinates":[... | 11,787 | 11,787 | 0.668448 |
aee204eb749eb47e6182f5392eb4652b17259f6e | 267 | js | JavaScript | public/modules/login/user.js | laftho/modular | 5050f13521b73a6dcb594659a05636ee722ab677 | [
"MIT"
] | null | null | null | public/modules/login/user.js | laftho/modular | 5050f13521b73a6dcb594659a05636ee722ab677 | [
"MIT"
] | null | null | null | public/modules/login/user.js | laftho/modular | 5050f13521b73a6dcb594659a05636ee722ab677 | [
"MIT"
] | null | null | null | import Store from '../../store.js';
export default class User extends Store {
constructor() {
super({});
this.load();
}
async load() {
const res = await fetch(`/api/whoami`);
const user = await res.json();
await this.update(user);
}
}
| 15.705882 | 43 | 0.58427 |
aee2862301a779aace6ec6d9f98eb656857e163e | 604 | js | JavaScript | test/unit/AutoComplete/AutoComplete.test.js | skystebnicki/chameleon | e5981d7f714752bd76f715dea6d0428028ffbe5e | [
"MIT"
] | 16 | 2015-10-08T06:46:30.000Z | 2020-05-25T09:11:34.000Z | test/unit/AutoComplete/AutoComplete.test.js | skystebnicki/chameleon | e5981d7f714752bd76f715dea6d0428028ffbe5e | [
"MIT"
] | 7 | 2016-04-05T13:50:10.000Z | 2017-06-06T17:40:30.000Z | test/unit/AutoComplete/AutoComplete.test.js | skystebnicki/chameleon | e5981d7f714752bd76f715dea6d0428028ffbe5e | [
"MIT"
] | 1 | 2020-07-12T02:39:35.000Z | 2020-07-12T02:39:35.000Z | import React from 'react';
import ReactShallowRenderer from 'react-test-renderer/shallow';
import AutoComplete from 'chamel/AutoComplete';
/**
* Test rendering the AutoComplete
*/
describe("AutoComplete Component", () => {
// Basic validation that render works in edit mode and returns children
it("Should render... | 25.166667 | 73 | 0.687086 |
aee3bed0c6171bdaa3b9fa9ec31a2434035a7035 | 1,095 | js | JavaScript | frontend/app/src/store/reducers/pokemon.js | BAXTOR95/pokedex | 527154ad025bb116bfaa7b086682d5247f0d0d46 | [
"MIT"
] | null | null | null | frontend/app/src/store/reducers/pokemon.js | BAXTOR95/pokedex | 527154ad025bb116bfaa7b086682d5247f0d0d46 | [
"MIT"
] | null | null | null | frontend/app/src/store/reducers/pokemon.js | BAXTOR95/pokedex | 527154ad025bb116bfaa7b086682d5247f0d0d46 | [
"MIT"
] | null | null | null | import * as actionTypes from '../actions/actionTypes';
import { updateObject } from '../../shared/utility';
const initialState = {
pokemonData: null,
error: null,
loading: false,
};
const pokedexPokemonLoadStart = (state, action) => {
return updateObject(state, { error: null, loading: true });
};
con... | 28.815789 | 103 | 0.682192 |
aee3ccb8c074c16d53b91789f7ad7a84394a299c | 787 | js | JavaScript | src/redux/actions/houses.js | 3plcoins/3plcoins-blockchain-app | 63432f621c651535a05f1a99db18a5a8aa69b1fe | [
"MIT"
] | 2 | 2019-04-26T12:14:47.000Z | 2019-04-26T12:14:49.000Z | src/redux/actions/houses.js | 3plcoins/3plcoins-blockchain-app | 63432f621c651535a05f1a99db18a5a8aa69b1fe | [
"MIT"
] | 6 | 2020-07-19T06:01:42.000Z | 2022-03-15T20:03:14.000Z | src/redux/actions/houses.js | 3plcoins/3plcoins-blockchain-app | 63432f621c651535a05f1a99db18a5a8aa69b1fe | [
"MIT"
] | 1 | 2020-03-01T04:31:49.000Z | 2020-03-01T04:31:49.000Z | import {
FETCH_HOUSES_INITIATE,
FETCH_HOUSES_COMPLETE,
} from './actionTypes'
import Axios from 'axios';
import ConfigMain from '~/configs/main';
export function fetchHousesInitiate() {
return {
type: FETCH_HOUSES_INITIATE,
houses: []
}
}
export function fetchHousesComplete(data) {
return {
... | 22.485714 | 70 | 0.655654 |
aee51aafa4fb2b5c19050b30d721db5aaf7ce2af | 5,074 | js | JavaScript | src/datasource/datasource.js | pokt-network/leif | 2c7980a224a2d9cb4181fdd209fe4e1aa3c4955e | [
"MIT"
] | 1 | 2021-10-04T04:39:21.000Z | 2021-10-04T04:39:21.000Z | src/datasource/datasource.js | pokt-network/leif | 2c7980a224a2d9cb4181fdd209fe4e1aa3c4955e | [
"MIT"
] | 36 | 2020-04-14T19:01:08.000Z | 2021-05-12T16:43:37.000Z | src/datasource/datasource.js | pokt-foundation/leif | 56c78a78985b1f43f388a982a93a6ea13cef09bd | [
"MIT"
] | 1 | 2021-03-26T18:31:55.000Z | 2021-03-26T18:31:55.000Z | import numeral from 'numeral'
import { StakingStatus, JailedStatus } from "@pokt-network/pocket-js"
import {
Account,
Transaction,
Block
} from "../models"
import {
OCAlert
} from '@opuscapita/react-alerts'
import {
getGatewayClient
} from "./gateway";
import Errors from "./errors";
export class DataSource {... | 20.215139 | 104 | 0.589279 |
aee569328a5ba46fbc356689715b68164c5c8f41 | 3,418 | js | JavaScript | spec/Sappy/MapSpec.js | haroldiedema/sappy | c9d3a1c185d1d065dcc34867380ac24cd4cd1098 | [
"MIT"
] | null | null | null | spec/Sappy/MapSpec.js | haroldiedema/sappy | c9d3a1c185d1d065dcc34867380ac24cd4cd1098 | [
"MIT"
] | null | null | null | spec/Sappy/MapSpec.js | haroldiedema/sappy | c9d3a1c185d1d065dcc34867380ac24cd4cd1098 | [
"MIT"
] | null | null | null | /* ___ ___ ____ ___ __ __
* Structured Application Toolkit (_-</ _ `/ _ \/ _ \/ // /
* Copyright 2016, <harold@iedema.me> - MIT ... | 41.180723 | 120 | 0.493856 |
aee7df73696405fef59b34e0b44de1c34f680a16 | 1,021 | js | JavaScript | app/src/public/js/services/Trello.js | woorim960/trello-clone-mvc | bf0fa75bb69f9d54f5988d5234b2ce76920f67a1 | [
"MIT"
] | 1 | 2021-06-15T16:16:11.000Z | 2021-06-15T16:16:11.000Z | app/src/public/js/services/Trello.js | woorim960/trello-clone-mvc | bf0fa75bb69f9d54f5988d5234b2ce76920f67a1 | [
"MIT"
] | 14 | 2021-06-16T12:49:58.000Z | 2021-08-28T14:48:34.000Z | app/src/public/js/services/Trello.js | woorim960/trello-clone-mvc | bf0fa75bb69f9d54f5988d5234b2ce76920f67a1 | [
"MIT"
] | null | null | null | "use strict";
import List from "./Lists/List.js";
import Card from "./Cards/Card.js";
export default class Trello {
lists;
listForm;
constructor(lists, listForm) {
this.lists = lists;
this.listForm = listForm;
}
init(initLists) {
initLists.forEach((initList) => {
const listAttr = {
... | 21.270833 | 61 | 0.58668 |
aee830f4f63a658bd71e3560de3a2285e152d7d5 | 827 | js | JavaScript | components/navigation/navbar.js | paulogdm/blog | c8f5a344d60d6c1046746121430b9c951cc4dac1 | [
"MIT"
] | null | null | null | components/navigation/navbar.js | paulogdm/blog | c8f5a344d60d6c1046746121430b9c951cc4dac1 | [
"MIT"
] | null | null | null | components/navigation/navbar.js | paulogdm/blog | c8f5a344d60d6c1046746121430b9c951cc4dac1 | [
"MIT"
] | null | null | null | import React, { Fragment } from "react";
import Link from "next/link";
import { Logo, ThemeChanger } from "../common/index";
const Navbar = () => (
<Fragment>
<nav className="navbar padding-top flex-wrap center">
<Logo />
<div className="ca-routes">
<Link href="https://casprine-dev.netlify.c... | 26.677419 | 61 | 0.5526 |
aee917b8db481d7f200c9819a5153e6720cbf523 | 3,884 | js | JavaScript | test/formatters.test.js | markupjs/mtools | bdf645bdc3f94f02dead5d54c48155182a7732ad | [
"MIT"
] | 2 | 2018-10-06T17:27:59.000Z | 2018-10-11T18:56:28.000Z | test/formatters.test.js | markupjs/mtools | bdf645bdc3f94f02dead5d54c48155182a7732ad | [
"MIT"
] | null | null | null | test/formatters.test.js | markupjs/mtools | bdf645bdc3f94f02dead5d54c48155182a7732ad | [
"MIT"
] | null | null | null |
'use strict';
var chai = require('chai');
var expect = chai.expect;
var mtools = require('../lib/index.js');
describe('FORMATTER: text', function() {
describe('removes html attributes from text', function() {
it('returns string with no html attributes', function(done) {
var ... | 31.322581 | 104 | 0.488671 |
aee9692cc1ccef999db4c1257108ea4e8e5ef67c | 134 | js | JavaScript | src/config/index.js | arajajyothibabu/react-redux-boilerplate | 4028a2350922839f63ebf182b8613a9fe4ece9c7 | [
"MIT"
] | null | null | null | src/config/index.js | arajajyothibabu/react-redux-boilerplate | 4028a2350922839f63ebf182b8613a9fe4ece9c7 | [
"MIT"
] | null | null | null | src/config/index.js | arajajyothibabu/react-redux-boilerplate | 4028a2350922839f63ebf182b8613a9fe4ece9c7 | [
"MIT"
] | null | null | null | /**
* Created by jyothi on 22/8/17.
*/
/**
* Server API root
* @type {string}
*/
export const API_ROOT = "https://unsplash.it/"; | 14.888889 | 47 | 0.589552 |
aeea30fe9d4b0a3ba627c04ac4067679cff6a1c6 | 2,196 | js | JavaScript | source/js/mediator/governmentResultsMediator.js | BBCVisualJournalism/newsspec_12522 | 5d9119369a12ad774051359c41043cd9a4266381 | [
"Apache-2.0"
] | null | null | null | source/js/mediator/governmentResultsMediator.js | BBCVisualJournalism/newsspec_12522 | 5d9119369a12ad774051359c41043cd9a4266381 | [
"Apache-2.0"
] | null | null | null | source/js/mediator/governmentResultsMediator.js | BBCVisualJournalism/newsspec_12522 | 5d9119369a12ad774051359c41043cd9a4266381 | [
"Apache-2.0"
] | null | null | null | define(['lib/news_special/bootstrap', 'mediator/shareButtonsMediator', 'mediator/scrollMediator'], function (news, shareButtonsMediator, scrollMediator) {
/*
* Declare Variables
*/
var $sectionHolderEl;
var $scrollAnimEl;
var governmentDataStore;
var init = function () {
/*
... | 31.371429 | 154 | 0.647996 |
aeeb7310d390a5d64742c967a7f97687aea8ec43 | 911 | js | JavaScript | frontend/initial-elements.js | yizheng1709/Friday | 00b0b86453edadaec98d312226f6b8b4946679f3 | [
"CC0-1.0"
] | 1 | 2021-09-09T03:31:59.000Z | 2021-09-09T03:31:59.000Z | frontend/initial-elements.js | yizheng1709/Friday | 00b0b86453edadaec98d312226f6b8b4946679f3 | [
"CC0-1.0"
] | null | null | null | frontend/initial-elements.js | yizheng1709/Friday | 00b0b86453edadaec98d312226f6b8b4946679f3 | [
"CC0-1.0"
] | 1 | 2021-05-09T19:05:09.000Z | 2021-05-09T19:05:09.000Z | const initialButton = document.getElementById("initial-button")
const initialContact = document.getElementById("initial-contact")
const initialDiv = document.getElementById("initial-div")
const createNewProjectButton = document.getElementById("create-new-project-button")
const logo = document.getElementById("logo")
con... | 33.740741 | 85 | 0.748628 |
aeec9d3a9b163c539607c716c5fbb4c40a88c151 | 8,988 | js | JavaScript | src/derived/quantastica/gates.js | simplygreatwork/quantify | ad3034c5ee973d96cfacea8482db2ffc3af1ec2d | [
"MIT"
] | 9 | 2020-06-10T06:28:37.000Z | 2021-05-15T08:50:59.000Z | src/derived/quantastica/gates.js | simplygreatwork/quantify | ad3034c5ee973d96cfacea8482db2ffc3af1ec2d | [
"MIT"
] | null | null | null | src/derived/quantastica/gates.js | simplygreatwork/quantify | ad3034c5ee973d96cfacea8482db2ffc3af1ec2d | [
"MIT"
] | null | null | null |
module.exports = {
id: {
description: "Single qubit identity gate",
matrix: [
[1, 0],
[0, 1]
],
params: []
},
x: {
description: "Pauli X (PI rotation over X-axis) aka \"NOT\" gate",
matrix: [
[0,1],
[1,0]
],
params: [],
},
y: {
description: "Pauli Y (PI rotation over Y-axis)",
ma... | 20.017817 | 147 | 0.473743 |
aeef225dcc06156f2de6427de83c9bebde32c71e | 14,392 | js | JavaScript | OpenSMIL.Fields.Geometry/Layouts/OpenSMIL/js/GeometryField.js | perfahlen/geo365OnPremise | b7e3db7b9df3599fb650bcfc09bf40d00a938e65 | [
"MIT"
] | 1 | 2019-08-07T02:44:51.000Z | 2019-08-07T02:44:51.000Z | OpenSMIL.Fields.Geometry/Layouts/OpenSMIL/js/GeometryField.js | perfahlen/geo365OnPremise | b7e3db7b9df3599fb650bcfc09bf40d00a938e65 | [
"MIT"
] | null | null | null | OpenSMIL.Fields.Geometry/Layouts/OpenSMIL/js/GeometryField.js | perfahlen/geo365OnPremise | b7e3db7b9df3599fb650bcfc09bf40d00a938e65 | [
"MIT"
] | null | null | null | var OpenSMIL = OpenSMIL || {};
OpenSMIL.bingMaps = undefined;
OpenSMIL.jquery = undefined;
OpenSMIL.currentGeom = undefined
OpenSMIL.isDrawing = undefined;
OpenSMIL.WKT = undefined;
OpenSMIL.isEditView = false;
OpenSMIL.firstVertice = true;
OpenSMIL.DisplayForm = function (ctx) {
OpenSMIL.mapId = new Date().getT... | 40.886364 | 270 | 0.61826 |
aeefef14c92632d57380cea89c3a2969a961cf00 | 1,042 | js | JavaScript | ui/src/services/api.js | johnnyperkins/url-shortener | 36c1044c12aa8745cbd7d590a49bc9c6c9ee7bc0 | [
"MIT"
] | null | null | null | ui/src/services/api.js | johnnyperkins/url-shortener | 36c1044c12aa8745cbd7d590a49bc9c6c9ee7bc0 | [
"MIT"
] | null | null | null | ui/src/services/api.js | johnnyperkins/url-shortener | 36c1044c12aa8745cbd7d590a49bc9c6c9ee7bc0 | [
"MIT"
] | null | null | null | const rootDomain = 'http://localhost:3000'
const headers = {
Accept: 'application/json',
'Content-Type': 'application/json'
}
/**
* Creates a short url
*
* @param {string} url
* @returns {Promise<String>}
*/
export const createShortUrl = async (url = '') => {
const response = await fetch(`${rootDomain}/urls... | 21.265306 | 66 | 0.635317 |
aef49bf77490f2f33c50869ad8aa223820b15c21 | 179 | js | JavaScript | test/cases/simple/index.js | chrisdothtml/rollup-plugin-dustjs | 9625c900c1cb8a11f92dda33555a39c0ef5754b0 | [
"MIT"
] | 3 | 2017-03-22T23:58:13.000Z | 2020-07-18T18:16:25.000Z | test/cases/simple/index.js | chrisdothtml/rollup-plugin-dustjs | 9625c900c1cb8a11f92dda33555a39c0ef5754b0 | [
"MIT"
] | null | null | null | test/cases/simple/index.js | chrisdothtml/rollup-plugin-dustjs | 9625c900c1cb8a11f92dda33555a39c0ef5754b0 | [
"MIT"
] | null | null | null | import template from './index.dust'
import { render } from '../utils.js'
export default {
expected: '<span>Chris</span>',
actual: render(template, {
name: 'Chris'
})
}
| 17.9 | 36 | 0.631285 |
aef4aab5eec2ea72c7d9b8e4e2ea6e15ebc68451 | 124 | js | JavaScript | src/helpers/utils.js | mukeshtivari/react-boilerplate | 736368aa16ebdea78db6fd3487680e4358f0ec0d | [
"MIT"
] | 10 | 2019-05-30T12:50:59.000Z | 2019-06-03T09:24:52.000Z | src/helpers/utils.js | mukeshtivari/react-boilerplate | 736368aa16ebdea78db6fd3487680e4358f0ec0d | [
"MIT"
] | 6 | 2020-09-04T22:37:06.000Z | 2022-02-26T11:12:58.000Z | src/helpers/utils.js | mukeshtivari/react-boilerplate | 736368aa16ebdea78db6fd3487680e4358f0ec0d | [
"MIT"
] | null | null | null | export const requireAll = (requireContext) => requireContext.keys().map(requireContext);
export default {
requireAll,
};
| 20.666667 | 88 | 0.75 |
aef551453ee9dbd473249d2badf0cc40535ab45b | 6,311 | js | JavaScript | src/main/resources/plugins/sp-tools/resources/_console/sp-console.comp.js | psfu/greengem | ecfa7c3edf3626a68960504608f25b6858569c81 | [
"Apache-2.0"
] | 5 | 2017-11-10T05:37:52.000Z | 2021-03-04T02:57:02.000Z | src/main/resources/plugins/sp-tools/resources/_console/sp-console.comp.js | psfu/greengem | ecfa7c3edf3626a68960504608f25b6858569c81 | [
"Apache-2.0"
] | null | null | null | src/main/resources/plugins/sp-tools/resources/_console/sp-console.comp.js | psfu/greengem | ecfa7c3edf3626a68960504608f25b6858569c81 | [
"Apache-2.0"
] | null | null | null | /**
* auther psfu
*
*
*
*/
helpText = "<p style='color:yellow;'>"
+ "------------------------------------------------------------<br/>"
+ "- The sp console v0.1.1, authored by psfu<br/>"
+ "- Directly input the cat command <b>EX: <u>nodes</u></b><br/>"
+ ... | 21.107023 | 124 | 0.542862 |
aef5c06017f6174fcc176673d87c8f3beffb49fa | 3,320 | js | JavaScript | skype/latest/decompiled/fullExperience/rjs$$utils/common/statusMapper.js | demurgos/skype-web-reversed | bb30da685fb7d2d06f1ba740283d6cbbaeb2c502 | [
"MIT"
] | 7 | 2017-06-17T09:12:32.000Z | 2021-11-16T15:37:44.000Z | skype/latest/decompiled/fullExperience/rjs$$utils/common/statusMapper.js | Demurgos/skype-web-reversed | bb30da685fb7d2d06f1ba740283d6cbbaeb2c502 | [
"MIT"
] | null | null | null | skype/latest/decompiled/fullExperience/rjs$$utils/common/statusMapper.js | Demurgos/skype-web-reversed | bb30da685fb7d2d06f1ba740283d6cbbaeb2c502 | [
"MIT"
] | 3 | 2017-03-06T21:44:25.000Z | 2018-10-11T16:04:43.000Z | define("utils/common/statusMapper", [
"require",
"exports",
"module",
"swx-enums",
"swx-i18n",
"swx-service-locator-instance",
"swx-constants"
], function (e, t) {
function o() {
return i.resolve(s.serviceLocator.FEATURE_FLAGS).isFeatureOn(s.featureFlags.USE_BUSINESS_WORDING);
}
function u(e, t)... | 37.727273 | 341 | 0.657831 |
aef6b7b362cc0313b7eff36d1108e06104b2708f | 87 | js | JavaScript | app/services/in-viewport.js | crossroads/smoke-and-mirrors | 94602c3b1b73a01079cc1d7981b4992a3f9919e2 | [
"MIT"
] | null | null | null | app/services/in-viewport.js | crossroads/smoke-and-mirrors | 94602c3b1b73a01079cc1d7981b4992a3f9919e2 | [
"MIT"
] | 1 | 2018-02-12T09:06:39.000Z | 2018-02-12T11:45:57.000Z | app/services/in-viewport.js | crossroads/smoke-and-mirrors | 94602c3b1b73a01079cc1d7981b4992a3f9919e2 | [
"MIT"
] | 1 | 2019-07-16T05:04:47.000Z | 2019-07-16T05:04:47.000Z | import Service from 'smoke-and-mirrors/services/in-viewport';
export default Service;
| 21.75 | 61 | 0.804598 |
aef7478b2372f26f88d7b3138f7351f1ae03bce7 | 1,029 | js | JavaScript | src/assets/spec.js | fiverr/page-timing | daa5733a0330ab2388b24644c09f9524617b78b9 | [
"MIT"
] | 21 | 2018-07-25T10:11:28.000Z | 2022-02-07T14:23:53.000Z | src/assets/spec.js | fiverr/page-timing | daa5733a0330ab2388b24644c09f9524617b78b9 | [
"MIT"
] | 5 | 2019-10-06T10:49:55.000Z | 2021-01-17T13:21:33.000Z | src/assets/spec.js | fiverr/page-timing | daa5733a0330ab2388b24644c09f9524617b78b9 | [
"MIT"
] | 1 | 2021-05-21T16:26:57.000Z | 2021-05-21T16:26:57.000Z | import { getEntriesByTypeMock } from '../../spec-helpers/index.js';
import { assets } from './index.js';
const { getEntriesByType } = window.performance;
describe('assets', () => {
before(() => {
window.performance.getEntriesByType = getEntriesByTypeMock;
});
after(() => {
window.performan... | 34.3 | 104 | 0.620991 |
aef7e9232b2ccce6fadb464124cefb9fb809e1e1 | 541 | js | JavaScript | src/index.js | Code-stalkers/Entertainment-Hunt | f68d437d1922e903b590e695726010f57ac6d849 | [
"MIT"
] | 1 | 2022-02-27T13:39:36.000Z | 2022-02-27T13:39:36.000Z | src/index.js | Code-stalkers/Entertainment-Hunt | f68d437d1922e903b590e695726010f57ac6d849 | [
"MIT"
] | 3 | 2021-09-22T11:58:57.000Z | 2021-09-23T09:56:04.000Z | src/index.js | Code-stalkers/Entertainment-Hunt | f68d437d1922e903b590e695726010f57ac6d849 | [
"MIT"
] | null | null | null | import React from "react";
import ReactDOM from "react-dom";
import App from "./App";
import { Auth0Provider } from "@auth0/auth0-react";
import { BrowserRouter as Router } from "react-router-dom";
import Auth0ProviderWithHistory from "./auth/auth0-provider-with-history";
ReactDOM.render(
<Router>
<Auth0Provider
... | 21.64 | 74 | 0.713494 |
aef83a95d06429996e38b6cfa5c50ac60c2644c6 | 169,382 | js | JavaScript | wasm/deno_rusty_markdown.js | arguablykomodo/deno_rusty_markdown | b3da529ee714839e4c67a8c342dec2573aec63df | [
"MIT"
] | 5 | 2021-06-04T16:37:20.000Z | 2022-01-11T20:02:06.000Z | wasm/deno_rusty_markdown.js | arguablykomodo/deno_rusty_markdown | b3da529ee714839e4c67a8c342dec2573aec63df | [
"MIT"
] | 2 | 2021-08-09T15:46:46.000Z | 2021-11-28T00:42:36.000Z | wasm/deno_rusty_markdown.js | SrKomodo/deno_rusty_markdown | b3da529ee714839e4c67a8c342dec2573aec63df | [
"MIT"
] | 1 | 2021-10-06T16:51:24.000Z | 2021-10-06T16:51:24.000Z |
let cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
cachedTextDecoder.decode();
let cachegetUint8Memory0 = null;
function getUint8Memory0() {
if (cachegetUint8Memory0 === null || cachegetUint8Memory0.buffer !== wasm.memory.buffer) {
cachegetUint8Memory0 = new Uint8Array(w... | 596.415493 | 160,684 | 0.970611 |
aef89d04af81c9915b13acb22c6271b69a077948 | 6,823 | js | JavaScript | app/UCSBB/screens/SettingsScreen.js | kimiamajd/ucsb-bathroom-locator | a656cb1771a043a886d44176a97fb63723332542 | [
"MIT"
] | null | null | null | app/UCSBB/screens/SettingsScreen.js | kimiamajd/ucsb-bathroom-locator | a656cb1771a043a886d44176a97fb63723332542 | [
"MIT"
] | null | null | null | app/UCSBB/screens/SettingsScreen.js | kimiamajd/ucsb-bathroom-locator | a656cb1771a043a886d44176a97fb63723332542 | [
"MIT"
] | null | null | null | import React, { Component } from 'react';
import {
StyleSheet,
View,
Switch,
AsyncStorage
} from 'react-native';
import { Card, Text, ButtonGroup, Button } from 'react-native-elements';
import { reload } from '../controllers/Controller.js'
const ACCESSIBILITY_TOGGLE_KEY = 'accessibility';
const GENDER_PREFEREN... | 32.802885 | 105 | 0.608383 |
aefa76b46f3acd8dbbb2636c3a6d010e38f2dc1c | 1,412 | js | JavaScript | src/config.js | roelnoort/node-helpers | 93bca2665c6c780b02226675079e3a487b061337 | [
"MIT"
] | 2 | 2016-11-02T21:19:55.000Z | 2017-02-11T00:09:41.000Z | src/config.js | roelnoort/node-helpers | 93bca2665c6c780b02226675079e3a487b061337 | [
"MIT"
] | 1 | 2021-03-30T20:41:08.000Z | 2021-04-16T08:26:09.000Z | src/config.js | roelnoort/node-helpers | 93bca2665c6c780b02226675079e3a487b061337 | [
"MIT"
] | 1 | 2021-04-06T13:03:07.000Z | 2021-04-06T13:03:07.000Z | const _ = require('lodash');
const iterator = require('object-recursive-iterator');
const extend = require('deep-extend');
module.exports = function (defaultConfig, productionConfig, envFile) {
applyEnvFile(envFile);
resolveConfig(defaultConfig);
resolveConfig(productionConfig);
const resultConfig = mergeConf... | 28.816327 | 88 | 0.697592 |
aefb01711bf134c135fa3ef8e594d9b04cd31125 | 6,003 | js | JavaScript | htdocs/js/pages/admin/Stats.class.js | jhuckaby/mendo.org | 04ce6d1782654964bba6eb354d0713691aeaf923 | [
"MIT"
] | 2 | 2020-06-10T03:14:20.000Z | 2020-12-22T04:59:27.000Z | htdocs/js/pages/admin/Stats.class.js | jhuckaby/mendo.org | 04ce6d1782654964bba6eb354d0713691aeaf923 | [
"MIT"
] | null | null | null | htdocs/js/pages/admin/Stats.class.js | jhuckaby/mendo.org | 04ce6d1782654964bba6eb354d0713691aeaf923 | [
"MIT"
] | null | null | null | // Admin Page -- Site Stats
Page.Stats = class PageStats extends Page.Base {
onInit() {
// called once at page load
}
onActivate(args) {
// page activation
if (!this.requireLogin(args)) return true;
if (!args) args = {};
this.args = args;
app.showSidebar(true);
app.setHeaderTitle( '<i class=... | 25.436441 | 129 | 0.57388 |
aefb5ebb9631ca671ec186bb81ca26f268ae00ce | 560 | js | JavaScript | app/models/role.js | SEAD-UFES/publications | d31f97ec10d9ebac9f8e430ac952b51f03bc9525 | [
"MIT"
] | null | null | null | app/models/role.js | SEAD-UFES/publications | d31f97ec10d9ebac9f8e430ac952b51f03bc9525 | [
"MIT"
] | 20 | 2018-09-05T18:56:02.000Z | 2021-02-27T17:41:23.000Z | app/models/role.js | SEAD-UFES/publications | d31f97ec10d9ebac9f8e430ac952b51f03bc9525 | [
"MIT"
] | null | null | null | const uuid = require('uuid/v4');
'use strict';
module.exports = (sequelize, DataTypes) => {
const Role = sequelize.define('Role', {
id: {
type: DataTypes.UUID,
primaryKey: true
}
}, {});
Role.associate = function(models) {
Role.belongsTo(models.User, { foreignKey: 'user_id'});
Role.bel... | 26.666667 | 67 | 0.6125 |
aefc1bafa6ff6448cd42cc8c70d75435d74052d0 | 632 | js | JavaScript | barreiros/js/samples.js | barreiros/gibber | 209ddbb009b73e9aaaf2832830537724d98a496b | [
"MIT"
] | null | null | null | barreiros/js/samples.js | barreiros/gibber | 209ddbb009b73e9aaaf2832830537724d98a496b | [
"MIT"
] | null | null | null | barreiros/js/samples.js | barreiros/gibber | 209ddbb009b73e9aaaf2832830537724d98a496b | [
"MIT"
] | null | null | null | export default {
"808":[ "CB", "CH", "CL", "CP", "MA", "RS" ],
"808bd": [ "BD0000", "BD0010", "BD0025", "BD0050", "BD0075", "BD1000", "BD1010", "BD1050", "BD1075", "BD2500", "BD2525", "BD2550", "BD2575", "BD5000", "BD5010", "BD5025", "BD5050", "BD5075", "BD7500", "BD7510", "BD7525", "BD7550", "BD7575" ],
"8... | 70.222222 | 246 | 0.531646 |
aefc72289d641aae1172c0b8ca31da900ac3bd5c | 333 | js | JavaScript | src/components/Layout/Sections/Gallery/GalleryController/Overlay/Overlay.js | serocha/portfolio-page | c1de4b594af0effa7a2e7edee18faed0610549f1 | [
"MIT"
] | null | null | null | src/components/Layout/Sections/Gallery/GalleryController/Overlay/Overlay.js | serocha/portfolio-page | c1de4b594af0effa7a2e7edee18faed0610549f1 | [
"MIT"
] | null | null | null | src/components/Layout/Sections/Gallery/GalleryController/Overlay/Overlay.js | serocha/portfolio-page | c1de4b594af0effa7a2e7edee18faed0610549f1 | [
"MIT"
] | null | null | null | import React from 'react';
import './Overlay.css';
const overlay = (props) => {
return (
<div className='container1' onClick={props.click}>
<div className='overlay'>
<div className='text'>{props.title}</div>
<div className='desc'>{props.desc}</div>
</div>
{props.children}
</div>
);
}
export de... | 19.588235 | 52 | 0.63964 |
aefc9855d8aa70b620e828779d93ace1cf4356d1 | 14,035 | js | JavaScript | client/src/components/invoice/example-invoice.js | Lorenzovds/invoicer | 1dc95217bd1c05013aea7361eea503882f9ea6d8 | [
"MIT"
] | 2 | 2018-03-05T10:06:56.000Z | 2018-03-05T10:28:05.000Z | client/src/components/invoice/example-invoice.js | Lorenzovds/invoicer | 1dc95217bd1c05013aea7361eea503882f9ea6d8 | [
"MIT"
] | 3 | 2018-03-25T07:48:08.000Z | 2020-01-21T09:40:51.000Z | client/src/components/invoice/example-invoice.js | Lorenzovds/invoicer | 1dc95217bd1c05013aea7361eea503882f9ea6d8 | [
"MIT"
] | 1 | 2018-03-24T18:26:41.000Z | 2018-03-24T18:26:41.000Z | import React, { Component } from 'react'
import { Segment, Image, Dropdown, Container, Button, Table, Header, Message } from 'semantic-ui-react'
// TODO revert back to the original lib, currently issues with google chrome
import domtoimage from '../../lib/dom-to-image.min.js'
import JsPdf from 'jspdf'
import moment fro... | 34.231707 | 145 | 0.588956 |
aefcddf540084b2eaf37b5a65e3d468b28d6686e | 779 | js | JavaScript | SecretCode/UI/case29_auto-complete-1/question/2. RxJS/src/app.js | Wonjuny0804/JavaScript | 450e64562d36eb6083847b748169e800fa9c7a10 | [
"MIT"
] | null | null | null | SecretCode/UI/case29_auto-complete-1/question/2. RxJS/src/app.js | Wonjuny0804/JavaScript | 450e64562d36eb6083847b748169e800fa9c7a10 | [
"MIT"
] | null | null | null | SecretCode/UI/case29_auto-complete-1/question/2. RxJS/src/app.js | Wonjuny0804/JavaScript | 450e64562d36eb6083847b748169e800fa9c7a10 | [
"MIT"
] | null | null | null | import { fromEvent } from "rxjs";
import {
map,
debounceTime,
distinctUntilChanged,
tap,
switchMap
} from "rxjs/operators";
import { ajax } from "rxjs/ajax";
const API_URL = "https://api.thecatapi.com/v1/breeds/search";
const $searchInput = document.querySelector(".SearchInput");
const $loadingIndicator = do... | 22.911765 | 70 | 0.691913 |
aefcfd7f8262583fb40327b0aba8a444a0a6d6d4 | 1,783 | js | JavaScript | frontend/api.js | indutny/gradtype-bg | e2e86fcf5ff592c750ae0485b407e2f10294f9ee | [
"Unlicense"
] | 2 | 2019-05-12T06:49:34.000Z | 2019-05-12T18:22:31.000Z | frontend/api.js | indutny/gradtype-bg | e2e86fcf5ff592c750ae0485b407e2f10294f9ee | [
"Unlicense"
] | null | null | null | frontend/api.js | indutny/gradtype-bg | e2e86fcf5ff592c750ae0485b407e2f10294f9ee | [
"Unlicense"
] | null | null | null | import WEIGHTS from '../data/weights';
import Model from '../backend/model';
const HOST = '/api';
export default class API {
constructor() {
this.model = new Model(WEIGHTS);
this.token = localStorage.getItem('auth:token');
}
async request(method, uri, data) {
const res = await fetch(HOST + uri, {
... | 22.012346 | 79 | 0.565339 |
aefe20b91d201e67728ab5ae812b5b0d6282a107 | 682 | js | JavaScript | app/javascript/front/github-statistics.js | jicheng1014/homeland-testerhome | 5974a5ccaf3887cbd9776fc5f0fdff287591c0e7 | [
"Ruby",
"CC-BY-4.0",
"MIT"
] | 22 | 2016-11-10T02:29:22.000Z | 2020-11-06T17:05:43.000Z | app/javascript/front/github-statistics.js | jicheng1014/homeland-testerhome | 5974a5ccaf3887cbd9776fc5f0fdff287591c0e7 | [
"Ruby",
"CC-BY-4.0",
"MIT"
] | 159 | 2016-10-30T06:29:17.000Z | 2022-02-12T06:07:38.000Z | app/javascript/front/github-statistics.js | jicheng1014/homeland-testerhome | 5974a5ccaf3887cbd9776fc5f0fdff287591c0e7 | [
"Ruby",
"CC-BY-4.0",
"MIT"
] | 17 | 2016-11-08T16:11:22.000Z | 2022-02-22T01:52:12.000Z | window.GitHubStatisticsView = Backbone.View.extend({
el: "body",
events: {
"click button#display-all": "toggleDisplayAll"
},
initialize: function(opts) {
this.parentView = opts.parentView;
return $('tr.not_testehome_user').attr('style', 'display: none');
},
toggleDisplayAll: function(e) {
va... | 31 | 95 | 0.623167 |
aefe3f6ea57616dbeb52dd9de0362eebabdf4849 | 5,720 | js | JavaScript | wip/TS Tests/template_breakout/GameState.js | zeterain/phaser | 92033fde7c17df361b2e6213b43e73892c125f5d | [
"MIT"
] | 2 | 2016-06-08T05:25:45.000Z | 2018-05-22T19:30:42.000Z | wip/TS Tests/template_breakout/GameState.js | tomjal/phaser | 92033fde7c17df361b2e6213b43e73892c125f5d | [
"MIT"
] | 1 | 2019-10-27T15:55:38.000Z | 2019-10-27T15:55:38.000Z | wip/TS Tests/template_breakout/GameState.js | tomjal/phaser | 92033fde7c17df361b2e6213b43e73892c125f5d | [
"MIT"
] | null | null | null | /// <reference path="phaser.d.ts" />
var __extends = this.__extends || function (d, b) {
for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
function __() { this.constructor = d; }
__.prototype = b.prototype;
d.prototype = new __();
};
var BasicGame;
(function (BasicGame) {
var GameState = (funct... | 37.631579 | 159 | 0.512413 |
aefedaac73c7f7b7ff766ef7176dc47b1a782474 | 4,529 | js | JavaScript | routes/reps.js | GraftonJ/repsy-be | 03a337c3481c21bfca0edbaad5db5a7e991ce2d9 | [
"MIT"
] | null | null | null | routes/reps.js | GraftonJ/repsy-be | 03a337c3481c21bfca0edbaad5db5a7e991ce2d9 | [
"MIT"
] | null | null | null | routes/reps.js | GraftonJ/repsy-be | 03a337c3481c21bfca0edbaad5db5a7e991ce2d9 | [
"MIT"
] | 1 | 2019-02-25T14:52:08.000Z | 2019-02-25T14:52:08.000Z | const express = require('express')
const router = express.Router()
const knex = require('../knex')
const Joi = require('joi')
/* Validates the user's ID */
const validateUserID = (req, res, next) => {
knex('reps').where('id', req.params.id).then(([data]) => {
console.log(data)
if (!data) {
return res.s... | 32.120567 | 302 | 0.649812 |
aeffc2f524e91ee5cfded6ceb37eeb117aa83e1c | 3,089 | js | JavaScript | node_modules/caniuse-lite/data/regions/AF.js | Wdifulvio523/personal-portfolio | 747bd5ebefb5d2c4b61f1631c9d53f32a609650c | [
"MIT"
] | 36 | 2018-01-01T17:37:28.000Z | 2020-02-03T09:15:27.000Z | node_modules/caniuse-lite/data/regions/AF.js | Wdifulvio523/personal-portfolio | 747bd5ebefb5d2c4b61f1631c9d53f32a609650c | [
"MIT"
] | 13 | 2018-03-06T17:08:30.000Z | 2018-03-08T14:50:55.000Z | node_modules/caniuse-lite/data/regions/AF.js | Wdifulvio523/personal-portfolio | 747bd5ebefb5d2c4b61f1631c9d53f32a609650c | [
"MIT"
] | 26 | 2018-01-01T17:37:30.000Z | 2021-08-18T09:58:53.000Z | module.exports={D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0.00787,"12":0,"13":0,"14":0,"15":0,"16":0.003935,"17":0.003935,"18":0.043285,"19":0,"20":0.003935,"21":0,"22":0.003935,"23":0.00787,"24":0.003935,"25":0.03935,"26":0,"27":0,"28":0.003935,"29":0.003935,"30":0.019675,"31":0.01574,"32":0,"33":0.01574,"34"... | 1,544.5 | 3,088 | 0.598576 |
aefff9e5e6e20b446f7144b8b75f8129908d6616 | 2,841 | js | JavaScript | js/script.js | nimotsang/dashboard | 66b99e1d4100e1bf14927f4050ffab061e68cdd9 | [
"MIT"
] | null | null | null | js/script.js | nimotsang/dashboard | 66b99e1d4100e1bf14927f4050ffab061e68cdd9 | [
"MIT"
] | null | null | null | js/script.js | nimotsang/dashboard | 66b99e1d4100e1bf14927f4050ffab061e68cdd9 | [
"MIT"
] | null | null | null | // Login check for each page.
$("div#wrapper").each(function () {
if (!SecurityManager.username) {
window.location = "login.html";
};
});
$(document).ready(function () {
$("div#login").each(function () {
if (!SecurityManager.username) {
SecurityManager.getIp();
... | 28.69697 | 166 | 0.451954 |
4e0018e73ff66d6989232b4b7872f198e007ac71 | 539 | js | JavaScript | addon/collapse-keys.js | jakesjews/ember-macro-helpers | 681bf8e899ee8b23acc06801c777d16b4626c6c0 | [
"MIT"
] | 66 | 2016-12-11T14:05:02.000Z | 2021-05-14T07:18:14.000Z | addon/collapse-keys.js | jakesjews/ember-macro-helpers | 681bf8e899ee8b23acc06801c777d16b4626c6c0 | [
"MIT"
] | 79 | 2016-12-17T19:48:49.000Z | 2021-12-15T20:20:52.000Z | addon/collapse-keys.js | jakesjews/ember-macro-helpers | 681bf8e899ee8b23acc06801c777d16b4626c6c0 | [
"MIT"
] | 24 | 2016-12-19T19:55:10.000Z | 2020-07-17T22:32:35.000Z | import collapseKey from './collapse-key';
export function collapseKeysWithMap(keys) {
let collapsedKeys = [];
let keyMap = [];
keys.forEach(key => {
let array = collapseKey(key);
collapsedKeys = collapsedKeys.concat(array);
let i;
if (keyMap.length) {
i = keyMap[keyMap.length - 1] + 1;
... | 17.966667 | 49 | 0.6141 |
4e00e1b30c3e3942826eb1a0f4bd19f7ecb660bb | 2,840 | js | JavaScript | chatbox.js | Mikster23/Login_Fix | 667245a501f306bbdb32e31b93ae9bc9b9f5d2eb | [
"Apache-2.0"
] | null | null | null | chatbox.js | Mikster23/Login_Fix | 667245a501f306bbdb32e31b93ae9bc9b9f5d2eb | [
"Apache-2.0"
] | null | null | null | chatbox.js | Mikster23/Login_Fix | 667245a501f306bbdb32e31b93ae9bc9b9f5d2eb | [
"Apache-2.0"
] | null | null | null | $(function(){
function loadNum()
{
/*var table = document.getElementById("myTable");
var row = table.insertRow(0);
var cell1 = row.insertCell(0);
var cell2 = row.insertCell(1);
cell1.innerHTML = $('td').load('query.php');
cell2.innerHTML = "CELL 2";*/
... | 28.686869 | 140 | 0.55669 |
4e024e8bc43c82960e9d0df68fa1bb5097422bec | 2,012 | js | JavaScript | packages/theme/ThemeProvider.js | VersaillesUI/versailles-vue | 38ce5df5b9d79b745378ac30d322f434583a0017 | [
"MIT"
] | null | null | null | packages/theme/ThemeProvider.js | VersaillesUI/versailles-vue | 38ce5df5b9d79b745378ac30d322f434583a0017 | [
"MIT"
] | null | null | null | packages/theme/ThemeProvider.js | VersaillesUI/versailles-vue | 38ce5df5b9d79b745378ac30d322f434583a0017 | [
"MIT"
] | null | null | null | import Vue from 'vue'
import { merge, isEqual, cloneDeep } from 'lodash'
import { createGlobalStyles } from '../styles/withStyles'
import Theme from './Theme'
export default Vue.extend({
props: {
theme: {
type: Object
}
},
data () {
return {
$theme: null
}
},
provide () {
retu... | 24.839506 | 69 | 0.543241 |
4e029449657f8775d7353b5b2d171e41a21f66ef | 2,937 | js | JavaScript | test/server.js | zephyrzoom/douyu | d5266dbd07cc82bf7f4baef1188ca158c7058fd2 | [
"MIT"
] | 28 | 2015-10-07T01:46:03.000Z | 2021-01-05T06:38:05.000Z | test/server.js | zephyrzoom/douyu | d5266dbd07cc82bf7f4baef1188ca158c7058fd2 | [
"MIT"
] | 2 | 2017-08-12T10:47:27.000Z | 2017-11-19T03:22:05.000Z | test/server.js | zephyrzoom/douyu | d5266dbd07cc82bf7f4baef1188ca158c7058fd2 | [
"MIT"
] | 13 | 2016-06-20T06:09:07.000Z | 2018-12-18T09:01:12.000Z | #!/usr/bin/env node
var net = require('net');
var PORT= 8602;
var HOST='danmu.douyu.tv'
var server = net.createServer(function(c) {
console.log('PS4已连接');
connectdouyu(c);
c.on('end', function() {
console.log('PS4断开');
});
c.on('data',function(data){
//模拟irc.twitch.tv服务器
var match = /^(\w+)\s+(.*)/.exec(dat... | 27.194444 | 213 | 0.669731 |
4e02a6aba2ff07b137eb785c120a73cf7582b9a8 | 1,078 | js | JavaScript | edukit/utilities/trustplatform/assets/html/usecase_configurator/assets/js/man-id.js | TheAnton205/vax-scan3 | 6d6bd73d070372b750b06b489edaf6b8c17539ee | [
"Unlicense"
] | 11 | 2019-12-03T14:18:38.000Z | 2021-08-25T16:41:27.000Z | edukit/utilities/trustplatform/assets/html/usecase_configurator/assets/js/man-id.js | TheAnton205/vax-scan3 | 6d6bd73d070372b750b06b489edaf6b8c17539ee | [
"Unlicense"
] | 9 | 2020-02-13T09:07:42.000Z | 2022-03-18T18:29:24.000Z | edukit/utilities/trustplatform/assets/html/usecase_configurator/assets/js/man-id.js | TheAnton205/vax-scan3 | 6d6bd73d070372b750b06b489edaf6b8c17539ee | [
"Unlicense"
] | 10 | 2020-04-28T10:35:48.000Z | 2021-11-03T23:03:30.000Z | "use strict";
function validateManIdText(){
var manIdHexString;
var manIdHexStringLength;
var alertMessage = "";
var isManIdValid = true;
manIdHexString = document.getElementById("manIdHexId").value;
if(manIdHexString == "")
manIdHexString = "0x01"
if(manIdHexString != null){
... | 29.944444 | 182 | 0.603896 |
4e0333cc79580a22629a284edf408a44197eb234 | 445 | js | JavaScript | utils/mappings/lnd/edge.js | curly60e/juggernaut-desktop | 8ab3a60d8a488d9ae5a77aa9d6fd31900b4bf66a | [
"MIT"
] | 124 | 2020-04-13T22:20:23.000Z | 2022-03-18T15:38:47.000Z | utils/mappings/lnd/edge.js | curly60e/juggernaut-desktop | 8ab3a60d8a488d9ae5a77aa9d6fd31900b4bf66a | [
"MIT"
] | 57 | 2020-04-16T21:14:35.000Z | 2021-09-28T08:30:41.000Z | utils/mappings/lnd/edge.js | curly60e/juggernaut-desktop | 8ab3a60d8a488d9ae5a77aa9d6fd31900b4bf66a | [
"MIT"
] | 13 | 2020-04-16T18:21:07.000Z | 2022-03-18T15:38:51.000Z | import mapRoutingPolicy from './routing_policy';
const mapEdge = edge => {
const mappedEdge = {
channelId: edge.channelId,
chanPoint: edge.chanPoint,
lastUpdate: edge.lastUpdate,
node1Pub: edge.node1_pub,
node2Pub: edge.node2_pub,
capacity: edge.capacity,
node1Policy: mapRoutingPolicy(edg... | 23.421053 | 53 | 0.725843 |
4e037186d503a47d459814fc5cb19974945d4204 | 567 | js | JavaScript | ui/src/filters/index.js | fmartinou/whats-up-docker | 4aabd7be163b1120aaf6c055a00b7685bc9a0c9a | [
"MIT"
] | 66 | 2020-01-01T12:20:56.000Z | 2022-03-27T19:02:07.000Z | ui/src/filters/index.js | fmartinou/whats-up-docker | 4aabd7be163b1120aaf6c055a00b7685bc9a0c9a | [
"MIT"
] | 104 | 2020-02-16T13:46:04.000Z | 2022-03-31T20:20:53.000Z | ui/src/filters/index.js | fmartinou/whats-up-docker | 4aabd7be163b1120aaf6c055a00b7685bc9a0c9a | [
"MIT"
] | 7 | 2021-02-16T08:43:23.000Z | 2022-02-03T22:11:37.000Z | import Vue from "vue";
/**
* Truncate an id to x chars.
* @param fullId
* @param length
* @returns {string}
*/
function short(fullId, length) {
if (!fullId) {
return "";
}
return fullId.substring(0, length);
}
/**
* Formate a date for display.
* @param dateStr
* @returns {string}
*/
function date(d... | 16.2 | 48 | 0.638448 |
4e04a9120be97a37a8ae9507b55b4ab5fa1ba902 | 536 | js | JavaScript | samples/make.js | dpjanes/iotdb-transport-mqtt | 7c2529b351731aeef0d9e20c40a8c9c8b0bb6dac | [
"Apache-2.0"
] | null | null | null | samples/make.js | dpjanes/iotdb-transport-mqtt | 7c2529b351731aeef0d9e20c40a8c9c8b0bb6dac | [
"Apache-2.0"
] | null | null | null | samples/make.js | dpjanes/iotdb-transport-mqtt | 7c2529b351731aeef0d9e20c40a8c9c8b0bb6dac | [
"Apache-2.0"
] | null | null | null | /*
* make.js
*
* David Janes
* IOTDB.org
* 2016-08-10
*/
const iotdb = require('iotdb');
const _ = iotdb._;
const connect = require("../connect");
const transporter = require("../transporter");
const mqtt_client = connect.connect({
host: "mqtt.iotdb.org",
verbose: true,
}, (error, mqtt_client) => {... | 17.290323 | 56 | 0.615672 |
4e053fb8ba28d35f7038e6668086397391c0e495 | 421 | js | JavaScript | Secure auction and bidding system(Trishant Sthapit_00017463) Capstone II/src/components/AuctionAlert.js | trishant10/Secure-auction-and-bidding-system | 11447d52843392bf1bafa17ed5d1484500d65fc6 | [
"MIT"
] | null | null | null | Secure auction and bidding system(Trishant Sthapit_00017463) Capstone II/src/components/AuctionAlert.js | trishant10/Secure-auction-and-bidding-system | 11447d52843392bf1bafa17ed5d1484500d65fc6 | [
"MIT"
] | null | null | null | Secure auction and bidding system(Trishant Sthapit_00017463) Capstone II/src/components/AuctionAlert.js | trishant10/Secure-auction-and-bidding-system | 11447d52843392bf1bafa17ed5d1484500d65fc6 | [
"MIT"
] | null | null | null | import React from "react";
import { MDBContainer, MDBAlert } from 'mdbreact';
const AuctionAlert = (props) => {
return (
<MDBContainer>
{/* types= success, danger, warning, info, primary, light, dark, */}
<MDBAlert onClose={() => props.onCloseCallback()} color={props.type} dismiss>
<strong... | 28.066667 | 83 | 0.63658 |
4e0558b1c0cccf79a7c7ae07b292833c1f2910b2 | 638 | js | JavaScript | dist/nger-core/lib/orm/relations/JoinColumn.js | meepobrother/nger | 2642f8f707dea1fa4ea13909695eb64efcd76a4e | [
"MIT"
] | 61 | 2019-04-22T13:40:45.000Z | 2021-04-11T15:08:55.000Z | dist/nger-core/lib/orm/relations/JoinColumn.js | meepobrother/nger | 2642f8f707dea1fa4ea13909695eb64efcd76a4e | [
"MIT"
] | 2 | 2019-04-24T13:29:00.000Z | 2021-04-07T09:49:20.000Z | dist/nger-core/lib/orm/relations/JoinColumn.js | meepobrother/nger | 2642f8f707dea1fa4ea13909695eb64efcd76a4e | [
"MIT"
] | 16 | 2019-04-23T11:19:09.000Z | 2020-08-19T13:24:52.000Z | "use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const ims_decorator_1 = require("ims-decorator");
exports.JoinColumnMetadataKey = 'JoinColumnMetadataKey';
function JoinColumn(options) {
return ims_decorator_1.makeDecorator(exports.JoinColumnMetadataKey)({
options
});
}
expor... | 35.444444 | 73 | 0.80094 |
4e0643dc882cf793459e23ae1f7eaecc90a1de61 | 1,700 | js | JavaScript | sources/views/dictionary/sidePanel/wordPanel.js | GONE4EVER/Jet_Translator | 006353f6049f4698c896a014a0dbbdcc9d431eaf | [
"MIT"
] | null | null | null | sources/views/dictionary/sidePanel/wordPanel.js | GONE4EVER/Jet_Translator | 006353f6049f4698c896a014a0dbbdcc9d431eaf | [
"MIT"
] | null | null | null | sources/views/dictionary/sidePanel/wordPanel.js | GONE4EVER/Jet_Translator | 006353f6049f4698c896a014a0dbbdcc9d431eaf | [
"MIT"
] | null | null | null | import {updateWord, deleteTranslation} from "../../../models/words";
function Update() {
let data = $$("wordPanel").getValues();
let updateOps = [];
for (let key in data) {
if (key.indexOf("id") === -1) {
updateOps.push({property: key, value: data[key]});
}
}
updateWord(data._id, updateOps)
.then((res)... | 22.972973 | 153 | 0.585882 |
4e070db16ef18bf2f96d061f757bf610a20547e1 | 354,550 | js | JavaScript | beta/packages/pivot/build/modern/pivot-debug.js | mgusmano/ExtAngularModern | 4af306f99ed9ddd6156337da5d8e13e7153fb4f4 | [
"Apache-2.0"
] | null | null | null | beta/packages/pivot/build/modern/pivot-debug.js | mgusmano/ExtAngularModern | 4af306f99ed9ddd6156337da5d8e13e7153fb4f4 | [
"Apache-2.0"
] | null | null | null | beta/packages/pivot/build/modern/pivot-debug.js | mgusmano/ExtAngularModern | 4af306f99ed9ddd6156337da5d8e13e7153fb4f4 | [
"Apache-2.0"
] | null | null | null | Ext.define('Ext.overrides.drag.Info', {
override: 'Ext.drag.Info',
/**.
* Find the element that matches the cursor position and selector.
*
* @param {String} selector The simple selector to test. See {@link Ext.dom.Query} for information about simple selectors.
* @param {Number/String/HTMLEl... | 33.555745 | 216 | 0.514029 |
4e0717b41452c862ab94c5fb5d3f940d3c641ef3 | 3,124 | js | JavaScript | server.js | jondam1985/fitness-tracker | e36a9818b01a58259d0f49871aae6c5f79b19b66 | [
"MIT"
] | null | null | null | server.js | jondam1985/fitness-tracker | e36a9818b01a58259d0f49871aae6c5f79b19b66 | [
"MIT"
] | null | null | null | server.js | jondam1985/fitness-tracker | e36a9818b01a58259d0f49871aae6c5f79b19b66 | [
"MIT"
] | null | null | null | //Required dependencies
const express = require("express");
const mongoose = require("mongoose");
const morgan = require("morgan");
const path = require("path");
const PORT = process.env.PORT || 3000;
const db = require("./models");
const app = express();
app.use(morgan("dev"));
app.use(express.urlencoded({ exten... | 22.47482 | 102 | 0.507362 |
4e079583818bf67478a386a1ee19ca2b50ddd2e8 | 508 | js | JavaScript | literary-mutilator.js | dillonginsburg/literary-mutilator | 4e966095a6ba33260ddd42c31c56a4f52f3fabd7 | [
"Apache-2.0"
] | null | null | null | literary-mutilator.js | dillonginsburg/literary-mutilator | 4e966095a6ba33260ddd42c31c56a4f52f3fabd7 | [
"Apache-2.0"
] | null | null | null | literary-mutilator.js | dillonginsburg/literary-mutilator | 4e966095a6ba33260ddd42c31c56a4f52f3fabd7 | [
"Apache-2.0"
] | null | null | null | function tier1(){
document.getElementById("p1").style.color = "#FF0000";
document.getElementById("p1").style.fontFamily = "Comic Sans MS";
document.getElementById("p1").style.backgroundColor = "yellow"
}
function tier2() {
document.body.innerHTML = document.body.innerHTML.replace("Lorem ipsum dolor sit amet, conse... | 42.333333 | 147 | 0.740157 |
4e096b8df9cbace6357b635aeeebb86874456429 | 1,030 | js | JavaScript | OpenMemory.js | wwwtete/frida-unpack | 5210903275e2a4ac2ec297ff324861b2221cc6cf | [
"MIT"
] | 976 | 2018-07-05T05:53:41.000Z | 2022-03-28T12:29:22.000Z | OpenMemory.js | wwwtete/frida-unpack | 5210903275e2a4ac2ec297ff324861b2221cc6cf | [
"MIT"
] | 14 | 2018-07-12T11:47:14.000Z | 2021-08-07T12:24:12.000Z | OpenMemory.js | wwwtete/frida-unpack | 5210903275e2a4ac2ec297ff324861b2221cc6cf | [
"MIT"
] | 274 | 2018-07-05T04:47:51.000Z | 2022-03-29T06:39:15.000Z | 'use strict';
/**
* 此脚本在以下环境测试通过
* android os: 7.1.2 32bit (64位可能要改OpenMemory的签名)
* legu: libshella-2.8.so
* 360:libjiagu.so
*/
Interceptor.attach(Module.findExportByName("libart.so", "_ZN3art7DexFile10OpenMemoryEPKhjRKNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEjPNS_6MemMapEPKNS_10OatDexFileE... | 32.1875 | 195 | 0.615534 |
4e09877394e86b4d7c954e8d8e81a78a5e58fa7f | 7,523 | js | JavaScript | test/support/fixtures.js | multunus/timeline | 9dfb9e9eed16335938fa2f069af5de849116cf4c | [
"MIT"
] | null | null | null | test/support/fixtures.js | multunus/timeline | 9dfb9e9eed16335938fa2f069af5de849116cf4c | [
"MIT"
] | null | null | null | test/support/fixtures.js | multunus/timeline | 9dfb9e9eed16335938fa2f069af5de849116cf4c | [
"MIT"
] | null | null | null | function loadFixture(){
$('body').html('');
/*:DOC += <!DOCTYPE html>
<html>
<head>
<title>Young Turks @ Multunus</title>
<link rel="icon" type="image/png" href="images/favicon.ico">
<meta property="og:image" content="http://multunus.herokuapp.com/youngturks/images/young_turks_collage.jpg... | 35.82381 | 185 | 0.594577 |
4e0a3bab29b2bcc7ae5137add1db5d7f637c130e | 915 | js | JavaScript | game_logic/UnoPileOfCards.js | pabloegpf1/Uno | 7627b8dbe2d50464c234af35f21b2fab16b8930a | [
"MIT"
] | null | null | null | game_logic/UnoPileOfCards.js | pabloegpf1/Uno | 7627b8dbe2d50464c234af35f21b2fab16b8930a | [
"MIT"
] | null | null | null | game_logic/UnoPileOfCards.js | pabloegpf1/Uno | 7627b8dbe2d50464c234af35f21b2fab16b8930a | [
"MIT"
] | 1 | 2020-06-06T19:10:12.000Z | 2020-06-06T19:10:12.000Z | module.exports = class UnoPileOfCards {
constructor() {
this.deckArray = [];
}
getNumOfCardsLeft() {
return this.deckArray.length;
}
//Top of deck is the logo side facing you represented by the end of array
//Bottom of deck is where the deck shows the value represented by front of array
getKCar... | 24.72973 | 82 | 0.63388 |
4e0a72e816d763fbd00842816e6070a9269d33ff | 631 | js | JavaScript | src/store/types.js | anduong96/Email-Creator | aeb19a3bd8817701a590daa89f3c3d7bc082f423 | [
"MIT"
] | 10 | 2018-06-17T03:30:54.000Z | 2021-09-10T03:30:04.000Z | src/store/types.js | anduong96/Email-Creator | aeb19a3bd8817701a590daa89f3c3d7bc082f423 | [
"MIT"
] | null | null | null | src/store/types.js | anduong96/Email-Creator | aeb19a3bd8817701a590daa89f3c3d7bc082f423 | [
"MIT"
] | 4 | 2018-07-04T15:03:57.000Z | 2019-09-13T09:34:59.000Z | const ACTIONS = `
#-----------------------------------------------
# OPTIONS CONTAINER
#-----------------------------------------------
OPTION_DRAG_START
OPTION_DRAG_END
#-----------------------------------------------
# CANVAS CONTAINER
#-----------------------------------------------
... | 25.24 | 68 | 0.426307 |
4e0b98f1e7acbc020c7d58a0198295672c56505d | 1,662 | js | JavaScript | src/components/App/Shortlist.js | blackeagle94/unilive-frontend | 13aa29c49a966d039183a9dfe9497a4a5ca4929f | [
"MIT"
] | null | null | null | src/components/App/Shortlist.js | blackeagle94/unilive-frontend | 13aa29c49a966d039183a9dfe9497a4a5ca4929f | [
"MIT"
] | null | null | null | src/components/App/Shortlist.js | blackeagle94/unilive-frontend | 13aa29c49a966d039183a9dfe9497a4a5ca4929f | [
"MIT"
] | 1 | 2021-06-21T21:52:37.000Z | 2021-06-21T21:52:37.000Z | import React, { useEffect, useState } from 'react'
import City from '../City/City'
import axios from 'axios'
const Shortlist = ({shortlist, setShortlist, changeShortlist}) => {
const [shortlistLocal, setShortlistLocal] = useState([])
const [homesShortlist, setHomesShortlist] = useState([]);
useEffect(... | 30.777778 | 167 | 0.563177 |
4e0bb4e2e48670b1fc05c365a8c2d7e7513b531f | 3,523 | js | JavaScript | packages/okta-theme/src/components/auth-wrapper.js | tsukhu/gatsby-atomic-themes | 136f00a1606c10d6d76489a65bacaa6f0ac4bab1 | [
"MIT"
] | 12 | 2019-06-02T03:56:38.000Z | 2021-06-17T13:55:08.000Z | packages/okta-theme/src/components/auth-wrapper.js | tsukhu/gatsby-atomic-themes | 136f00a1606c10d6d76489a65bacaa6f0ac4bab1 | [
"MIT"
] | 14 | 2021-03-09T04:51:17.000Z | 2022-02-17T23:43:41.000Z | packages/okta-theme/src/components/auth-wrapper.js | tsukhu/gatsby-atomic-themes | 136f00a1606c10d6d76489a65bacaa6f0ac4bab1 | [
"MIT"
] | 1 | 2020-01-19T04:03:59.000Z | 2020-01-19T04:03:59.000Z | import React from 'react'
import OktaSignIn from '@okta/okta-signin-widget'
import '@okta/okta-signin-widget/dist/css/okta-sign-in.min.css'
import AuthContext from './auth-context'
class AuthWrapper extends React.Component {
constructor(props) {
super(props)
this.state = {
user: false,
checkingSession: fals... | 24.296552 | 90 | 0.606301 |
4e0c243809646fa0324385c13ad2812f611a4f99 | 182 | js | JavaScript | src/Component/beforeAuth/infoPortal/infoHome.js | humanwhocode/Carcerem | 85be2b94122758ff7c2df6ca5a372eadea0013c9 | [
"MIT"
] | 3 | 2020-02-08T11:24:10.000Z | 2020-02-09T17:54:18.000Z | src/Component/beforeAuth/infoPortal/infoHome.js | humanwhocode/Carcerem | 85be2b94122758ff7c2df6ca5a372eadea0013c9 | [
"MIT"
] | 3 | 2021-03-10T06:58:08.000Z | 2022-02-18T19:54:29.000Z | src/Component/beforeAuth/infoPortal/infoHome.js | humanwhocode/Carcerem | 85be2b94122758ff7c2df6ca5a372eadea0013c9 | [
"MIT"
] | null | null | null | import * as React from 'react'
const InformationPortalHome = () => {
return (
<div>
Hello World!
</div>
)
}
export default InformationPortalHome | 16.545455 | 37 | 0.571429 |
4e0c63ff99b9b797349a060b071d8958ee255d28 | 1,343 | js | JavaScript | middleware/setLocals.js | govindrai/lpn-fitness-challenge-app | f3feb03eec6906517188d7930ad01bf7e4b708b0 | [
"MIT"
] | 1 | 2017-06-13T18:57:45.000Z | 2017-06-13T18:57:45.000Z | middleware/setLocals.js | govindrai/lpn-fitness-challenge-app | f3feb03eec6906517188d7930ad01bf7e4b708b0 | [
"MIT"
] | 20 | 2017-11-07T18:24:03.000Z | 2022-02-12T06:01:00.000Z | middleware/setLocals.js | govindrai/lpn-fitness-challenge-app | f3feb03eec6906517188d7930ad01bf7e4b708b0 | [
"MIT"
] | 1 | 2017-06-13T20:59:36.000Z | 2017-06-13T20:59:36.000Z | // Models
const Challenge = require('./../models/challenge');
const logger = require('../utils/logger');
module.exports = async function setLocals(req, res, next) {
logger.log('info:middleware:setLocals');
res.locals.path = req.path;
if (!res.locals.user) {
return next();
}
res.locals.familyColors = {
... | 29.844444 | 125 | 0.667163 |