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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
80553981c79c2c6832430d35f01be2dfa41c1ed3 | 43 | js | JavaScript | src/views/Home/components/Customization/index.js | konichar/thefront-preview | ecef25925c5f653d30f26c01983997fa4714db0e | [
"MIT"
] | 35 | 2020-11-18T14:49:31.000Z | 2022-03-19T15:50:12.000Z | src/views/Home/components/Customization/index.js | konichar/thefront-preview | ecef25925c5f653d30f26c01983997fa4714db0e | [
"MIT"
] | null | null | null | src/views/Home/components/Customization/index.js | konichar/thefront-preview | ecef25925c5f653d30f26c01983997fa4714db0e | [
"MIT"
] | 23 | 2020-11-22T05:39:27.000Z | 2021-12-08T05:40:06.000Z | export { default } from './Customization';
| 21.5 | 42 | 0.697674 |
80555f7ae1adb74661e9000d8621112b13656004 | 9 | js | JavaScript | 16.Web-Applications-with-Node.js/Lectures/15. Node.js-tools-Grunt-Gulp-NPM-Bower-Debugging/Resources/07. Development-Tools/Demo/grunt-configure/app/scripts/main.js | VVoev/Telerik-Academy | ae26d7b0563c27102faef551ce5b9f08ecb62fe1 | [
"MIT"
] | 20 | 2016-11-12T18:13:31.000Z | 2021-07-28T12:14:09.000Z | 16.Web-Applications-with-Node.js/Lectures/15. Node.js-tools-Grunt-Gulp-NPM-Bower-Debugging/Resources/07. Development-Tools/Demo/grunt-configure/app/scripts/main.js | VVoev/Telerik-Academy | ae26d7b0563c27102faef551ce5b9f08ecb62fe1 | [
"MIT"
] | 1 | 2016-01-12T15:07:48.000Z | 2016-01-12T17:33:35.000Z | 16.Web-Applications-with-Node.js/Lectures/15. Node.js-tools-Grunt-Gulp-NPM-Bower-Debugging/Resources/07. Development-Tools/Demo/grunt-configure/app/scripts/main.js | VVoev/Telerik-Academy | ae26d7b0563c27102faef551ce5b9f08ecb62fe1 | [
"MIT"
] | 45 | 2016-11-16T01:54:23.000Z | 2021-05-15T00:10:01.000Z | var q = q | 9 | 9 | 0.555556 |
80559cbd383da20641af6cdbd45354b724972931 | 423 | js | JavaScript | src/Video.js | oyvinmar/video-capture | e69b3b28a7ed289e4728d0e58ad96871eec7595f | [
"MIT"
] | 1 | 2020-10-23T20:31:30.000Z | 2020-10-23T20:31:30.000Z | src/Video.js | oyvinmar/video-capture | e69b3b28a7ed289e4728d0e58ad96871eec7595f | [
"MIT"
] | 7 | 2021-03-09T15:45:10.000Z | 2021-04-13T07:19:37.000Z | src/Video.js | oyvinmar/video-capture | e69b3b28a7ed289e4728d0e58ad96871eec7595f | [
"MIT"
] | null | null | null | import React from 'react';
import { Box } from 'rebass';
export function Video({ src, type }) {
return (
<Box
sx={{
my: 3,
width: '100%',
position: 'relative',
overflow: 'hidden',
'& > video': {
width: '100%',
},
}}
>
<video controls... | 18.391304 | 49 | 0.460993 |
805948e94e1e8ba39853aa140919a76c8edbb0fc | 1,527 | js | JavaScript | test/e2e/scenarios.js | o-n-e/feature-chooser | a04b26a80abeef08234a897b0a8c453090f077ab | [
"MIT"
] | null | null | null | test/e2e/scenarios.js | o-n-e/feature-chooser | a04b26a80abeef08234a897b0a8c453090f077ab | [
"MIT"
] | null | null | null | test/e2e/scenarios.js | o-n-e/feature-chooser | a04b26a80abeef08234a897b0a8c453090f077ab | [
"MIT"
] | null | null | null | 'use strict';
/* http://docs.angularjs.org/guide/dev_guide.e2e-testing */
describe('featureChooser', function() {
describe('Feature list view', function() {
beforeEach(function() {
browser.get('app/index.html');
});
it('should filter the available features list as a user types into the search ... | 30.54 | 166 | 0.679109 |
8059889924e2f5a21a6a0982bdaa2170cb84ef0d | 34 | js | JavaScript | djaesy/webpack/app/theme.js | alan-fernandes/django-djaesy | bc95d65af8ad08a8bbe7275dbccabec581f4f2ac | [
"MIT"
] | 1 | 2021-08-28T00:48:11.000Z | 2021-08-28T00:48:11.000Z | djaesy/webpack/app/theme.js | alan-fernandes/django-djaesy | bc95d65af8ad08a8bbe7275dbccabec581f4f2ac | [
"MIT"
] | 1 | 2020-10-30T21:10:01.000Z | 2020-10-30T21:10:01.000Z | djaesy/webpack/app/theme.js | alan-fernandes/django-djaesy | bc95d65af8ad08a8bbe7275dbccabec581f4f2ac | [
"MIT"
] | 1 | 2020-10-30T20:46:19.000Z | 2020-10-30T20:46:19.000Z |
import './assets/css/theme.scss'
| 11.333333 | 32 | 0.705882 |
805ae647dee71a549a4b60ec5636369d24c79eaa | 388 | js | JavaScript | 2018/01/13/translate.js | jsdelivrbot/informal-essay | 3335da9b5235c82642d6a54fbe938230645cf255 | [
"MIT"
] | null | null | null | 2018/01/13/translate.js | jsdelivrbot/informal-essay | 3335da9b5235c82642d6a54fbe938230645cf255 | [
"MIT"
] | null | null | null | 2018/01/13/translate.js | jsdelivrbot/informal-essay | 3335da9b5235c82642d6a54fbe938230645cf255 | [
"MIT"
] | null | null | null | var fs = require('fs')
const fileName = 'hlxq'
var t = fs.readFileSync(`./${fileName}.json`, {encoding:'utf-8'})
var json = JSON.parse(t)
var obj = {
type: 'FeatureCollection',
features: []
}
for (let geometry of json.geometries) {
obj.features.push({
type: 'Feature',
geometry,
properties: {}
})
... | 19.4 | 65 | 0.636598 |
805b743375dec447b4f14ce27405f6fc414983ed | 1,386 | js | JavaScript | src/couchapps/WMStats/_attachments/js/Views/WMStats.CategoryMap.js | khurtado/WMCore | f74e252412e49189a92962945a94f93bec81cd1e | [
"Apache-2.0"
] | 21 | 2015-11-19T16:18:45.000Z | 2021-12-02T18:20:39.000Z | src/couchapps/WMStats/_attachments/js/Views/WMStats.CategoryMap.js | khurtado/WMCore | f74e252412e49189a92962945a94f93bec81cd1e | [
"Apache-2.0"
] | 5,671 | 2015-01-06T14:38:52.000Z | 2022-03-31T22:11:14.000Z | src/couchapps/WMStats/_attachments/js/Views/WMStats.CategoryMap.js | khurtado/WMCore | f74e252412e49189a92962945a94f93bec81cd1e | [
"Apache-2.0"
] | 67 | 2015-01-21T15:55:38.000Z | 2022-02-03T19:53:13.000Z | WMStats.namespace("CategorySummaryMap");
WMStats.namespace("CategoryTableMap");
WMStats.CategorySummaryMap = function(){
var summaryMap = {};
function add(category, summaryFunc) {
summaryMap[category] = summaryFunc;
}
function get(category) {
return summaryMap[category];
}
retur... | 30.130435 | 97 | 0.634199 |
805c18da4254fc6e2b8d533b3301382d578f04c2 | 879 | js | JavaScript | shopify-fed-challenge.js | jfong701/Shopify-Front-End-Developer-Challenge | f397a32e863e73e454fb8b885bbaffe1ab82e61f | [
"MIT"
] | null | null | null | shopify-fed-challenge.js | jfong701/Shopify-Front-End-Developer-Challenge | f397a32e863e73e454fb8b885bbaffe1ab82e61f | [
"MIT"
] | null | null | null | shopify-fed-challenge.js | jfong701/Shopify-Front-End-Developer-Challenge | f397a32e863e73e454fb8b885bbaffe1ab82e61f | [
"MIT"
] | null | null | null | /**
Executed when button "Sign up now" button is clicked
*/
function signUp() {
var msg_prompt = document.getElementById("message");
var email_elem = document.getElementById("email");
var email = email_elem.value;
if (!validEmail(email)) {
msg_prompt.style.opacity = 1;
} else {
msg_prompt.style.opacity = ... | 25.852941 | 93 | 0.736064 |
805c7298d6e4cd1a6d911ea31c0684b6c6f66cff | 512 | js | JavaScript | static/js/states/jobArtifactList.js | bowlofstew/changes | ebd393520e0fdb07c240a8d4e8747281b6186e28 | [
"Apache-2.0"
] | null | null | null | static/js/states/jobArtifactList.js | bowlofstew/changes | ebd393520e0fdb07c240a8d4e8747281b6186e28 | [
"Apache-2.0"
] | null | null | null | static/js/states/jobArtifactList.js | bowlofstew/changes | ebd393520e0fdb07c240a8d4e8747281b6186e28 | [
"Apache-2.0"
] | null | null | null | define([
'app'
], function(app) {
'use strict';
return {
parent: 'job_details',
url: 'artifacts/',
templateUrl: 'partials/job-artifact-list.html',
controller: function($scope, $stateParams, Collection, Paginator) {
var collection = new Collection();
var paginator = new Paginator('/api... | 24.380952 | 91 | 0.619141 |
805ccc21d8e656e345a7d511fbfe0a44987023fc | 458 | js | JavaScript | docs/.vuepress/utils/repositories.js | Rixafy/website | 5871eb71d74df57b91cab0b285fb28f3a3005548 | [
"MIT"
] | null | null | null | docs/.vuepress/utils/repositories.js | Rixafy/website | 5871eb71d74df57b91cab0b285fb28f3a3005548 | [
"MIT"
] | null | null | null | docs/.vuepress/utils/repositories.js | Rixafy/website | 5871eb71d74df57b91cab0b285fb28f3a3005548 | [
"MIT"
] | null | null | null | import repositories from '../../../data/repositories';
import {filter, find} from 'lodash';
export function getEnabledRepositories() {
return filter(repositories, r => r.enabled);
}
export function getRepository(repository) {
return repositories[repository];
}
export function isEnabledRepository(repository) {
... | 24.105263 | 60 | 0.755459 |
805d533c993c7255b7bdf23c6e322b1cd3ceeec6 | 624 | js | JavaScript | src/reducers/LocalData.js | aakashpunasiya21/BMICalculator | 5d3186d6ee84bf91ed3ab69d1510f79411fb44d7 | [
"MIT"
] | null | null | null | src/reducers/LocalData.js | aakashpunasiya21/BMICalculator | 5d3186d6ee84bf91ed3ab69d1510f79411fb44d7 | [
"MIT"
] | null | null | null | src/reducers/LocalData.js | aakashpunasiya21/BMICalculator | 5d3186d6ee84bf91ed3ab69d1510f79411fb44d7 | [
"MIT"
] | null | null | null | import { SET_LOCAL_DATA,SET_LOCAL_STATE } from "../action";
//import { getData, storeData } from '../../helpers/localStorage';
import { getData,storeData } from "../helpers/localStorage";
const initialState={
state:getData('data')||[],
data:[],
};
export const localData =(state-initialState,action) => {
sw... | 24.96 | 66 | 0.511218 |
805d8a7345f6ac1c080edbd9208e5b29db8ce68f | 1,222 | js | JavaScript | touch/src/chart/axis/layout/Continuous.js | lorezyra/TouchDJ | 7d0d9f7a790edec3d81140e106a4c0af5db0969e | [
"CC-BY-3.0"
] | 18 | 2015-02-12T16:55:52.000Z | 2021-04-15T19:08:36.000Z | www/TakePhoto/touch/src/chart/axis/layout/Continuous.js | DawidMyslak/native-vs-html5_android-performance | 5644c63602391e2760858d72c56cb619376c93c2 | [
"MIT"
] | 2 | 2017-02-16T14:06:26.000Z | 2018-03-16T19:14:33.000Z | www/TakePhoto/touch/src/chart/axis/layout/Continuous.js | DawidMyslak/native-vs-html5_android-performance | 5644c63602391e2760858d72c56cb619376c93c2 | [
"MIT"
] | 14 | 2015-01-10T09:11:23.000Z | 2021-09-28T10:31:50.000Z | /**
* @class Ext.chart.axis.layout.Continuous
* @extends Ext.chart.axis.layout.Layout
*
* Processor for axis data that can be interpolated.
*/
Ext.define("Ext.chart.axis.layout.Continuous", {
extend: 'Ext.chart.axis.layout.Layout',
alias: 'axisLayout.continuous',
config: {
adjustMinimumByMajor... | 30.55 | 75 | 0.560556 |
805e219bae4ffda05d02b0b736cb5fc83a3a95e2 | 1,087 | js | JavaScript | src/app/components/organisms/productList/ProductList.js | Krishank/ecommerce-react-example | 3e9c5edd9c2c2514c8c3f3b6dacff44fa7560829 | [
"MIT"
] | null | null | null | src/app/components/organisms/productList/ProductList.js | Krishank/ecommerce-react-example | 3e9c5edd9c2c2514c8c3f3b6dacff44fa7560829 | [
"MIT"
] | null | null | null | src/app/components/organisms/productList/ProductList.js | Krishank/ecommerce-react-example | 3e9c5edd9c2c2514c8c3f3b6dacff44fa7560829 | [
"MIT"
] | null | null | null | import React from 'react'
import PropTypes from 'prop-types'
import ProductListStyled from './ProductList.styled'
import { Product } from '../../molecules'
/**
* @desc Product List component is responsible for rendering multiple Products
* this component manages its own whitlable style to ensure all product will red... | 27.871795 | 101 | 0.719411 |
805e8dbba2937675e8cd91c2578007f494c1f60a | 366 | js | JavaScript | JS Advanced/01.Syntax, Functions and Statements/02.StringLength.js | yovko93/JavaScript-Repo | 7b63642fbaaff537632d1ac31fab3a9f39f4965d | [
"MIT"
] | null | null | null | JS Advanced/01.Syntax, Functions and Statements/02.StringLength.js | yovko93/JavaScript-Repo | 7b63642fbaaff537632d1ac31fab3a9f39f4965d | [
"MIT"
] | null | null | null | JS Advanced/01.Syntax, Functions and Statements/02.StringLength.js | yovko93/JavaScript-Repo | 7b63642fbaaff537632d1ac31fab3a9f39f4965d | [
"MIT"
] | null | null | null | function solve(first, second, third){
let firstLength = first.length;
let secondLength = second.length;
let thirdLength = third.length;
let sumLength = firstLength + secondLength + thirdLength;
let averageLength = Math.floor(sumLength / 3);
console.log(sumLength);
console.log(averageLength... | 28.153846 | 61 | 0.696721 |
805fdcb775adb3c82dfc500b5c26f4606621619b | 1,418 | js | JavaScript | app.js | Sazzo/discnergy | 742b151a2fc41d1ac8ee3436ceacdee430d3b18c | [
"MIT"
] | 2 | 2019-03-16T16:12:29.000Z | 2021-04-06T01:58:54.000Z | app.js | Sazzo/discnergy | 742b151a2fc41d1ac8ee3436ceacdee430d3b18c | [
"MIT"
] | 5 | 2019-03-16T17:41:44.000Z | 2019-03-19T22:11:12.000Z | app.js | Sazzo/Discnergy | 742b151a2fc41d1ac8ee3436ceacdee430d3b18c | [
"MIT"
] | null | null | null | const Discord = require("discord.js");
const Enmap = require("enmap");
const fs = require("fs");
const client = new Discord.Client();
const config = require("./config.json"); // Essa config não está na github por conter informações secretas do bot.
client.config = config;
// Iniciando DataBase
const firebase =... | 30.826087 | 115 | 0.649506 |
806200fb4efdf86af1720d6f2e9549ae58e523d6 | 737 | js | JavaScript | targets/DOCS/html/structrlc__am__control__pdu__info.js | brainliubo/openairstudy | 8c1f64d00dcf0fbc6efb4e49d30ce2944f512c69 | [
"Apache-2.0"
] | 1 | 2020-07-08T03:56:32.000Z | 2020-07-08T03:56:32.000Z | targets/DOCS/html/structrlc__am__control__pdu__info.js | brainliubo/openairstudy | 8c1f64d00dcf0fbc6efb4e49d30ce2944f512c69 | [
"Apache-2.0"
] | null | null | null | targets/DOCS/html/structrlc__am__control__pdu__info.js | brainliubo/openairstudy | 8c1f64d00dcf0fbc6efb4e49d30ce2944f512c69 | [
"Apache-2.0"
] | null | null | null | var structrlc__am__control__pdu__info =
[
[ "d_c", "structrlc__am__control__pdu__info.html#a950c365539a85462efab8c6dc41f85e2", null ],
[ "cpt", "structrlc__am__control__pdu__info.html#a5541a7734b35bece248cd0291c604b50", null ],
[ "ack_sn", "structrlc__am__control__pdu__info.html#aba07ca51281c309869b4bf67432... | 73.7 | 101 | 0.800543 |
8063abd3d9611cea9fd62c0f7eb2d741723821dd | 90 | js | JavaScript | src/dev/component/Footer.js | Lucifier129/react-page-template | d1680b2912558baeb0b7b99a8835bd006310ef3a | [
"MIT"
] | 7 | 2017-04-12T02:13:45.000Z | 2019-07-15T04:23:13.000Z | src/test/component/Footer.js | Lucifier129/react-page-template | d1680b2912558baeb0b7b99a8835bd006310ef3a | [
"MIT"
] | 1 | 2018-03-05T05:42:52.000Z | 2018-03-05T05:42:52.000Z | src/test/component/Footer.js | Lucifier129/react-page-template | d1680b2912558baeb0b7b99a8835bd006310ef3a | [
"MIT"
] | null | null | null | import React from 'react'
export default function Header () {
return <h1>Footer</h1>
}
| 15 | 35 | 0.7 |
8065c4a3908b4b8efe7b931c39c5ef241f1b8a40 | 1,417 | js | JavaScript | blockchain/src/ethereum/index.js | lazurcavali/chunky | 0428e04299a212c6e66737579e2a9ba374f8a1dd | [
"MIT"
] | null | null | null | blockchain/src/ethereum/index.js | lazurcavali/chunky | 0428e04299a212c6e66737579e2a9ba374f8a1dd | [
"MIT"
] | null | null | null | blockchain/src/ethereum/index.js | lazurcavali/chunky | 0428e04299a212c6e66737579e2a9ba374f8a1dd | [
"MIT"
] | null | null | null | import EOS from './eos'
import InfuraFactory from './infura'
export default class Ethereum {
constructor (props) {
this._accounts = []
this._props = props || {}
this._infura = new InfuraFactory(props.infura)
this._account = props.account
this._load()
}
_load () {
try {
const Web3 =... | 19.148649 | 109 | 0.567396 |
80663578db0e702490bb3a82b53de4585b3d4c10 | 253 | js | JavaScript | example/src/App.js | bnayae/hello-react-library | 7787876ffc274e8dc8640057d19fc95e0c0eb36e | [
"MIT"
] | null | null | null | example/src/App.js | bnayae/hello-react-library | 7787876ffc274e8dc8640057d19fc95e0c0eb36e | [
"MIT"
] | null | null | null | example/src/App.js | bnayae/hello-react-library | 7787876ffc274e8dc8640057d19fc95e0c0eb36e | [
"MIT"
] | null | null | null | import React, { Component } from "react";
import { CompA, CompB } from "hello-react-library";
export default class App extends Component {
render() {
return (
<div>
<CompA />
<CompB value="xyz" />
</div>
);
}
}
| 16.866667 | 51 | 0.549407 |
806768f2dbb038531e3509d5aaf70aa1492b7e9f | 1,648 | js | JavaScript | package/EditDiverInfo/EditDiverInfo.js | SilverTime/ChengYuan | 0aed581470fc4f7d537fc98cf47c560f26f7cd54 | [
"MIT"
] | null | null | null | package/EditDiverInfo/EditDiverInfo.js | SilverTime/ChengYuan | 0aed581470fc4f7d537fc98cf47c560f26f7cd54 | [
"MIT"
] | null | null | null | package/EditDiverInfo/EditDiverInfo.js | SilverTime/ChengYuan | 0aed581470fc4f7d537fc98cf47c560f26f7cd54 | [
"MIT"
] | null | null | null | /*
编辑司机信息 内在灵魂,沉稳坚毅
生成时间:Fri Nov 11 2016 破门狂人R2-D2为您服务!
*/
define('EditDiverInfo',[
'avalon',
'text!../../package/EditDiverInfo/EditDiverInfo.html',
'css!../../package/EditDiverInfo/EditDiverInfo.css',
'dic',
'../../obj/bridge/User'
], function (avalon, html, css,dic,User) {
//构建基础字段
var... | 21.684211 | 74 | 0.404733 |
8069cca3b42c9fbd203c84dae518e34abbe447ca | 463 | js | JavaScript | Object/values.js | Stan-BK/oneDayPolyfill | c8affbe4c197451abe96332ca9d7ee149819d5d3 | [
"MIT"
] | null | null | null | Object/values.js | Stan-BK/oneDayPolyfill | c8affbe4c197451abe96332ca9d7ee149819d5d3 | [
"MIT"
] | null | null | null | Object/values.js | Stan-BK/oneDayPolyfill | c8affbe4c197451abe96332ca9d7ee149819d5d3 | [
"MIT"
] | null | null | null | // Object.values ES2017
// 返回一个给定对象自身的所有可枚举属性值的数组,值的顺序与使用for...in循环的顺序相同 ( 区别在于 for-in 循环枚举原型链中的属性 )。
Object.Myvalues = function(obj) {
if (obj == undefined) {
throw new TypeError('Cannot convert undefined or null to object')
}
obj = Object(obj)
var arr = []
for (var i in obj) {
if (Object.prototype.h... | 27.235294 | 77 | 0.654428 |
8069f72f780d8ae449c4f5f7413cb49725af2850 | 592 | js | JavaScript | src/App.js | Drizzle-Technologies/webapp-front | 03136665a3aba648a3cc1cce824e973340ef69a1 | [
"MIT"
] | null | null | null | src/App.js | Drizzle-Technologies/webapp-front | 03136665a3aba648a3cc1cce824e973340ef69a1 | [
"MIT"
] | null | null | null | src/App.js | Drizzle-Technologies/webapp-front | 03136665a3aba648a3cc1cce824e973340ef69a1 | [
"MIT"
] | null | null | null | import "bootstrap/dist/css/bootstrap.min.css"
import { createMuiTheme, ThemeProvider } from "@material-ui/core/styles";
import Routes from "./routes/routes"
import { Provider } from "react-redux"
import store from "./store"
const theme = createMuiTheme({
palette: {
primary: {
main: "#7632DB",
},
... | 16.444444 | 73 | 0.601351 |
806a1087c543b9c5304cebd3b4caa03482b9f957 | 97 | js | JavaScript | frontend/src/providers/IVSContext.js | Saayaman/amazon-ivs-virtual-qa-web-demo | 82b19db29027f2b5a5ee76d6c198e4403cf35279 | [
"MIT-0"
] | 6 | 2021-07-18T10:15:59.000Z | 2022-03-23T17:36:24.000Z | frontend/src/providers/IVSContext.js | Saayaman/amazon-ivs-virtual-qa-web-demo | 82b19db29027f2b5a5ee76d6c198e4403cf35279 | [
"MIT-0"
] | 2 | 2021-12-10T18:23:52.000Z | 2022-02-08T21:46:07.000Z | frontend/src/providers/IVSContext.js | Saayaman/amazon-ivs-virtual-qa-web-demo | 82b19db29027f2b5a5ee76d6c198e4403cf35279 | [
"MIT-0"
] | 7 | 2021-06-10T18:54:07.000Z | 2022-02-04T20:04:42.000Z | import React from 'react';
const IVSContext = React.createContext();
export default IVSContext; | 19.4 | 41 | 0.783505 |
806b08d2d5cbb5743926080a91dab37f49c0ddf2 | 2,991 | js | JavaScript | src/views/home.js | Akshantjain/cs422project | 5c373f9233f0be19483afb909fa68f3ca77af97a | [
"MIT"
] | null | null | null | src/views/home.js | Akshantjain/cs422project | 5c373f9233f0be19483afb909fa68f3ca77af97a | [
"MIT"
] | 9 | 2021-09-22T08:14:36.000Z | 2022-03-15T20:47:25.000Z | src/views/home.js | Akshantjain/cs422project | 5c373f9233f0be19483afb909fa68f3ca77af97a | [
"MIT"
] | null | null | null | import React, { Component } from "react";
import { Button, Divider, IconButton } from "@material-ui/core";
import { HomeRounded } from "@material-ui/icons";
import { withStyles } from "@material-ui/core/styles";
const styles = (theme) => ({
root: {
backgroundColor: "rgba(253, 242, 208, 1)",
stroke: "rgba(112... | 33.988636 | 166 | 0.550652 |
806be367efe3dbce73454811eb151c07d9efd1af | 126 | js | JavaScript | lang.js | mccreery/time-in-bank | 747172030edae2c73f593a602db94dd64d5db39a | [
"MIT"
] | null | null | null | lang.js | mccreery/time-in-bank | 747172030edae2c73f593a602db94dd64d5db39a | [
"MIT"
] | null | null | null | lang.js | mccreery/time-in-bank | 747172030edae2c73f593a602db94dd64d5db39a | [
"MIT"
] | null | null | null | ModLanguage("EN", {
"%1 month": [
"%1 month",
"%1 months"
],
"%1 year": [
"%1 year",
"%1 years"
]
});
| 11.454545 | 19 | 0.380952 |
806e1717bc4e3284d19884a6f1657fb5942986d3 | 1,088 | js | JavaScript | weakmap.js | tengkuzulfadli/mapmethods | 6e21fa6b73bc219347d9f90fdbd399b350940964 | [
"MIT"
] | null | null | null | weakmap.js | tengkuzulfadli/mapmethods | 6e21fa6b73bc219347d9f90fdbd399b350940964 | [
"MIT"
] | null | null | null | weakmap.js | tengkuzulfadli/mapmethods | 6e21fa6b73bc219347d9f90fdbd399b350940964 | [
"MIT"
] | null | null | null | const newYork = {city: "New York"};
const nola = {city: "New Orleans"};
const chicago = {city: "Chicago"};
const losAngeles = {city: "Los Angeles"};
//Create a WeakMap using the provided variables as keys.
//Set the value to whatever term you think of when you hear
//those cities. The value can be anything. Hin... | 37.517241 | 67 | 0.70864 |
806f39f827cab653a159020ff488a7faaad4a509 | 3,736 | js | JavaScript | assets/src/dashboard/app/api/useTemplateApi.js | cvolzke4/web-stories-wp | 7ac2aa402cdbcc191937d8dfb805bf69727ec92f | [
"Apache-2.0"
] | 1 | 2020-04-22T03:10:13.000Z | 2020-04-22T03:10:13.000Z | assets/src/dashboard/app/api/useTemplateApi.js | cvolzke4/web-stories-wp | 7ac2aa402cdbcc191937d8dfb805bf69727ec92f | [
"Apache-2.0"
] | null | null | null | assets/src/dashboard/app/api/useTemplateApi.js | cvolzke4/web-stories-wp | 7ac2aa402cdbcc191937d8dfb805bf69727ec92f | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | 25.765517 | 85 | 0.661403 |
806f5656517b4aaa50e61578c8f78c964eb6a802 | 740 | js | JavaScript | tests/runtime/js/lib/unsafe.js | keichinger/skip | e8831ebbea8e510e3fd5a4ca26c1abf6054a217c | [
"MIT"
] | 1,836 | 2018-09-26T16:32:50.000Z | 2022-03-28T12:04:19.000Z | tests/runtime/js/lib/unsafe.js | keichinger/skip | e8831ebbea8e510e3fd5a4ca26c1abf6054a217c | [
"MIT"
] | 81 | 2018-09-26T18:47:22.000Z | 2022-03-25T04:58:56.000Z | tests/runtime/js/lib/unsafe.js | keichinger/skip | e8831ebbea8e510e3fd5a4ca26c1abf6054a217c | [
"MIT"
] | 83 | 2018-09-26T16:50:44.000Z | 2022-03-04T14:17:14.000Z | /**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* L... | 26.428571 | 68 | 0.689189 |
806f7c0048bde4d697d7b25ebf4d41e362c761ca | 2,735 | js | JavaScript | src/Views/news/globalFeed.js | verynice-solutions/Firulais-fire-native | 823550b782c1346377d31a82004d81cfb2922df9 | [
"Apache-2.0"
] | 1 | 2018-04-26T19:01:00.000Z | 2018-04-26T19:01:00.000Z | src/Views/news/globalFeed.js | verynice-solutions/Firulais-fire-native | 823550b782c1346377d31a82004d81cfb2922df9 | [
"Apache-2.0"
] | 18 | 2018-05-05T15:49:15.000Z | 2018-05-30T18:59:04.000Z | src/Views/news/globalFeed.js | Jrocam/Firulais-fire-native | 823550b782c1346377d31a82004d81cfb2922df9 | [
"Apache-2.0"
] | null | null | null | import React, { Component } from 'react'
import {connect} from 'react-redux'
import { View, StyleSheet, TouchableOpacity, ScrollView, Image, ActivityIndicator } from 'react-native'
import { TabNavigator } from 'react-navigation';
import { Container, Header, Content, List, ListItem, Thumbnail, Text, Body } from 'native-... | 32.951807 | 167 | 0.559781 |
807013e6a5c2a84f7634c14239ee29888468dd3b | 721 | js | JavaScript | OMP2D/doc/html/namespaceOMP2D.js | simonsm1/OMP2D | 8a0b7c291b0a8e5ad81e1c084a21b98007e5caa5 | [
"Unlicense"
] | 1 | 2016-02-14T15:21:47.000Z | 2016-02-14T15:21:47.000Z | OMP2D/doc/html/namespaceOMP2D.js | simonsm1/OMP2D | 8a0b7c291b0a8e5ad81e1c084a21b98007e5caa5 | [
"Unlicense"
] | null | null | null | OMP2D/doc/html/namespaceOMP2D.js | simonsm1/OMP2D | 8a0b7c291b0a8e5ad81e1c084a21b98007e5caa5 | [
"Unlicense"
] | null | null | null | var namespaceOMP2D =
[
[ "BadDimensionsException", "classOMP2D_1_1BadDimensionsException.html", "classOMP2D_1_1BadDimensionsException" ],
[ "CleverPointer< V >", "classOMP2D_1_1CleverPointer_3_01V_01_4.html", "classOMP2D_1_1CleverPointer_3_01V_01_4" ],
[ "CudaDirector", "classOMP2D_1_1CudaDirector.html", nu... | 65.545455 | 118 | 0.754508 |
8070d7c18e6c1263cd7b073d24b8dd424ff904b7 | 549 | js | JavaScript | ModulosJSEMS6/js/cliente.js | pablonolasco/Curso-JavaScript | 30ae2043e238b667ddf5a30d7b560892af36ed1d | [
"MIT"
] | null | null | null | ModulosJSEMS6/js/cliente.js | pablonolasco/Curso-JavaScript | 30ae2043e238b667ddf5a30d7b560892af36ed1d | [
"MIT"
] | null | null | null | ModulosJSEMS6/js/cliente.js | pablonolasco/Curso-JavaScript | 30ae2043e238b667ddf5a30d7b560892af36ed1d | [
"MIT"
] | null | null | null | //Todo exportar variables
export const nombreCliente='Juan';
export let ahorro=50;
//Todo Exportar Funciones
export function mostrarInformacion(nombreCliente,ahorro){
return `Cliente ${nombreCliente}- Ahorro ${ahorro}`;
}
export function mostrarNombre(nombreCliente){
return `Nombre del Cliente ${nombreClien... | 21.96 | 57 | 0.688525 |
8071e2b18ea05b43dd5886eb5c5b916a7e395cb6 | 2,213 | js | JavaScript | source/jquery.ajp.zippy.js | jeffreyhi1/another-jquery-plugins | 9ac47eba542d0456cd49b0c0b85e0818c2620e80 | [
"MIT"
] | null | null | null | source/jquery.ajp.zippy.js | jeffreyhi1/another-jquery-plugins | 9ac47eba542d0456cd49b0c0b85e0818c2620e80 | [
"MIT"
] | null | null | null | source/jquery.ajp.zippy.js | jeffreyhi1/another-jquery-plugins | 9ac47eba542d0456cd49b0c0b85e0818c2620e80 | [
"MIT"
] | null | null | null | /*
Copyright (c) 2011 Andrey O. Zbitnev (azbitnev@gmail.com)
Licensed under the MIT License (LICENSE.txt).
$Id$
*/
(function ($) {
if (!$.ajp) $.ajp = { }
$.ajp.zippy = { version: '0.2pa' }
$.fn.extend({
ajp$zippy: function (options) {
var opts, defaults = {
event: 'click',
du... | 24.865169 | 100 | 0.485314 |
80721be40ce82b35ef09ea0ba280e5e9c44ef129 | 466 | js | JavaScript | lib/node/dependency_map.js | icarito/steal-tools | d6a0a978e397c4c2b266b3f003bb7a3f702ba21d | [
"MIT"
] | 57 | 2015-03-25T03:40:05.000Z | 2021-06-13T20:14:14.000Z | lib/node/dependency_map.js | icarito/steal-tools | d6a0a978e397c4c2b266b3f003bb7a3f702ba21d | [
"MIT"
] | 884 | 2015-03-11T16:43:49.000Z | 2022-01-10T16:15:46.000Z | lib/node/dependency_map.js | icarito/steal-tools | d6a0a978e397c4c2b266b3f003bb7a3f702ba21d | [
"MIT"
] | 22 | 2015-04-29T22:33:22.000Z | 2020-06-06T16:28:01.000Z | /**
* @method stealTools.node.dependencyMap
*
* Creating a mapping from pre-normalized dependency names to the normalized version.
* Save the mapping as `dependencyMap` on the node itself. Transpile will use this
* information.
*/
module.exports = function(node) {
var deps = node.deps || [];
var dependencies = ... | 24.526316 | 85 | 0.667382 |
80724120f8e7e6bd4964a0f3d8cdc015904fdecb | 346 | js | JavaScript | test/spec/services/jobsData.js | DigitalMachinist/globalgamejam2015 | bab168f8cfd67e2ad4e1d3e61e308d0df11ceec2 | [
"MIT"
] | null | null | null | test/spec/services/jobsData.js | DigitalMachinist/globalgamejam2015 | bab168f8cfd67e2ad4e1d3e61e308d0df11ceec2 | [
"MIT"
] | null | null | null | test/spec/services/jobsData.js | DigitalMachinist/globalgamejam2015 | bab168f8cfd67e2ad4e1d3e61e308d0df11ceec2 | [
"MIT"
] | null | null | null | 'use strict';
describe('Service: Jobsdata', function () {
// load the service's module
beforeEach(module('Globalgamejam2015App'));
// instantiate service
var Jobsdata;
beforeEach(inject(function (_Jobsdata_) {
Jobsdata = _Jobsdata_;
}));
it('should do something', function () {
expect(!!Jobsdat... | 18.210526 | 45 | 0.656069 |
807263743bae8f32795f68563e38b2b7eda135f1 | 1,045 | js | JavaScript | src/schemas/index.js | ingleonelrv/trailerVideosReact | f33784f367df61f507c61ff175d642e6361bc50a | [
"MIT"
] | null | null | null | src/schemas/index.js | ingleonelrv/trailerVideosReact | f33784f367df61f507c61ff175d642e6361bc50a | [
"MIT"
] | 5 | 2021-03-09T00:47:02.000Z | 2022-02-26T09:49:46.000Z | src/schemas/index.js | ingleonelrv/trailerVideosReact | f33784f367df61f507c61ff175d642e6361bc50a | [
"MIT"
] | null | null | null | import api from '../api.json'
import {normalize, schema} from 'normalizr'
//le pasamos como parametro la key para identificar todos los medias, definicion del schema por si quiero heredarlo y opciones
//opciones: q key de media usare como id= ya tengo un key id usare ese
const media = new schema.Entity('media',{},{
... | 45.434783 | 126 | 0.751196 |
8075275f9a8734fd9bfe0de9167cda0906a03eac | 1,548 | js | JavaScript | src/containers/bookList.js | Murray918/small-redux-tutorial | 550a9247470c5d108201e20e5acc8b7cd7c35709 | [
"MIT"
] | null | null | null | src/containers/bookList.js | Murray918/small-redux-tutorial | 550a9247470c5d108201e20e5acc8b7cd7c35709 | [
"MIT"
] | null | null | null | src/containers/bookList.js | Murray918/small-redux-tutorial | 550a9247470c5d108201e20e5acc8b7cd7c35709 | [
"MIT"
] | null | null | null | import React, { Component } from 'react';
// this connects this react component with redux essentially propmoting it into a container
import { connect } from 'react-redux'
//import this action
import { selectBook } from '../actions/index';
//binds the action creatoe
import { bindActionCreators } from 'redux'
class B... | 32.93617 | 271 | 0.677649 |
8075b9d32c9b7ed1821bf602e9aebf02b7e129bd | 790 | js | JavaScript | models/faqs.js | testVikran/CAPI | 4b1fb7835b1896314d5a0c898bdfeea9494e1402 | [
"MIT"
] | null | null | null | models/faqs.js | testVikran/CAPI | 4b1fb7835b1896314d5a0c898bdfeea9494e1402 | [
"MIT"
] | 1 | 2021-05-09T23:46:46.000Z | 2021-05-09T23:46:46.000Z | models/faqs.js | testVikran/CAPI | 4b1fb7835b1896314d5a0c898bdfeea9494e1402 | [
"MIT"
] | null | null | null | /* jshint indent: 2 */
module.exports = function(sequelize, DataTypes) {
return sequelize.define('faqs', {
id: {
type: DataTypes.INTEGER(11).UNSIGNED,
allowNull: false,
primaryKey: true,
autoIncrement: true,
field: 'id'
},
title: {
type: DataTypes.STRING(200),
al... | 19.268293 | 49 | 0.531646 |
8075d5512cdda39933753da4a05e96d2cd6bb4e3 | 1,684 | js | JavaScript | src/EntityManager.js | jymfony/typeorm-bundle | 0fbf0561095a434532441b38622a3990836a8310 | [
"MIT"
] | 1 | 2019-02-13T09:07:32.000Z | 2019-02-13T09:07:32.000Z | src/EntityManager.js | jymfony/typeorm-bundle | 0fbf0561095a434532441b38622a3990836a8310 | [
"MIT"
] | null | null | null | src/EntityManager.js | jymfony/typeorm-bundle | 0fbf0561095a434532441b38622a3990836a8310 | [
"MIT"
] | null | null | null | import { EntityManager as Base } from 'typeorm';
const RepositoryNotFoundError = Jymfony.Bundle.TypeORMBundle.Exception.RepositoryNotFoundError;
const RepositoryFactory = Jymfony.Bundle.TypeORMBundle.Repository.RepositoryFactory;
/**
* @memberOf Jymfony.Bundle.TypeORMBundle
*/
export default class EntityManager exte... | 30.071429 | 105 | 0.658551 |
807746e6637ea1fdb4df11cda73e24c13251d9b9 | 305 | js | JavaScript | electron/static/js/browser_windows/configWindow.js | cchesley2397/neht-graff | 848af3d3c60e760a25ac103c7634c72781c749b2 | [
"BSD-3-Clause-No-Nuclear-License-2014"
] | 5 | 2019-10-21T22:54:29.000Z | 2019-10-31T19:08:46.000Z | electron/static/js/browser_windows/configWindow.js | cchesley2397/neht-graff | 848af3d3c60e760a25ac103c7634c72781c749b2 | [
"BSD-3-Clause-No-Nuclear-License-2014"
] | 2 | 2020-10-25T18:26:11.000Z | 2022-03-25T18:54:46.000Z | electron/static/js/browser_windows/configWindow.js | cchesley2397/neht-graff | 848af3d3c60e760a25ac103c7634c72781c749b2 | [
"BSD-3-Clause-No-Nuclear-License-2014"
] | 2 | 2019-11-20T01:02:39.000Z | 2019-11-26T13:15:55.000Z | const { ipcRenderer } = require('electron');
document.querySelector('.configFormSubmit')
.addEventListener('click', function () {
let formData = {
flaskAddress: document.getElementById('flaskAddress').value
};
ipcRenderer.send('config_submit', formData);
});
| 27.727273 | 71 | 0.639344 |
80777694992a3b44c747bf9d609cc6e30574bf3b | 6,666 | js | JavaScript | tests/products/products.spec.js | fire-cracker/Tienda | 57f591f15360781dca8b421904de18f0965e8937 | [
"MIT"
] | null | null | null | tests/products/products.spec.js | fire-cracker/Tienda | 57f591f15360781dca8b421904de18f0965e8937 | [
"MIT"
] | null | null | null | tests/products/products.spec.js | fire-cracker/Tienda | 57f591f15360781dca8b421904de18f0965e8937 | [
"MIT"
] | null | null | null | import fs from 'fs';
import path from 'path';
import chai, { expect } from 'chai';
import chaiHttp from 'chai-http';
import app from '../../index';
import { sequelize } from '../../server/model/index';
import { productKeys } from '../mocks/mockProducts';
import { errorFormat } from '../mocks/mockError';
chai.use(chai... | 39.916168 | 110 | 0.619112 |
8077d25dd7cc958cc3a8fdf6dfcc75d1a44dc0e3 | 3,704 | js | JavaScript | React/ReactFamilyBucket/src/components/BookEditor.js | 2284730142/My-learning-record | 65f831138ed31568d8037d561f0e479893845afb | [
"MIT"
] | null | null | null | React/ReactFamilyBucket/src/components/BookEditor.js | 2284730142/My-learning-record | 65f831138ed31568d8037d561f0e479893845afb | [
"MIT"
] | null | null | null | React/ReactFamilyBucket/src/components/BookEditor.js | 2284730142/My-learning-record | 65f831138ed31568d8037d561f0e479893845afb | [
"MIT"
] | null | null | null | import React from 'react';
import PropTypes from 'prop-types';
import FormItem from '../components/FormItem';
import formProvider from '../utils/formProvider';
class BookEditor extends React.Component {
constructor(props) {
super(props);
}
static contextTypes = {
router: React.PropTypes.ob... | 27.849624 | 88 | 0.420356 |
8077ec13bf07cd629815c44f65ae6403ebb50180 | 580 | js | JavaScript | src/main.js | aburgd/results | 9571104c942a47509145f0fb3d7547a756404cab | [
"MIT"
] | null | null | null | src/main.js | aburgd/results | 9571104c942a47509145f0fb3d7547a756404cab | [
"MIT"
] | null | null | null | src/main.js | aburgd/results | 9571104c942a47509145f0fb3d7547a756404cab | [
"MIT"
] | null | null | null | // @flow
export type state = {
message: string,
bool: boolean
}
// noinspection JSUnusedGlobalSymbols
export default function (title: string, ...statements: Array<state>) {
console.log(title.toUpperCase())
const titleLength: number = title.length
let div: string = ''
for (let i = 0; i <= titleLength; i++) ... | 25.217391 | 70 | 0.656897 |
8078698ecb0b49ab9db2f15baf91f68da7717219 | 694 | js | JavaScript | private/html/classv8_1_1debug_1_1_event_details.js | joshgav/v8docs | 0518c2bd4927d7ffae467d9becd8bed3cec10882 | [
"MIT"
] | null | null | null | private/html/classv8_1_1debug_1_1_event_details.js | joshgav/v8docs | 0518c2bd4927d7ffae467d9becd8bed3cec10882 | [
"MIT"
] | null | null | null | private/html/classv8_1_1debug_1_1_event_details.js | joshgav/v8docs | 0518c2bd4927d7ffae467d9becd8bed3cec10882 | [
"MIT"
] | null | null | null | var classv8_1_1debug_1_1_event_details =
[
[ "~EventDetails", "classv8_1_1debug_1_1_event_details.html#a07bc44740a1f1d2ea2c2c80d8b9c4f61", null ],
[ "GetCallbackData", "classv8_1_1debug_1_1_event_details.html#ae20afb48041f561dc043b299fb762f2f", null ],
[ "GetEvent", "classv8_1_1debug_1_1_event_details.html#... | 77.111111 | 110 | 0.815562 |
8078d9d11322bc3a0f37704c8ab99bc2907b6efc | 516 | js | JavaScript | src/modules/data/wireGetContactListProvider/wireGetContactListProvider.js | autifyhq/lwc-recipes-oss | b1bccc8cde604eaf80ba617d7eea0defc06dad35 | [
"CC0-1.0"
] | 1 | 2022-01-28T01:33:25.000Z | 2022-01-28T01:33:25.000Z | src/modules/data/wireGetContactListProvider/wireGetContactListProvider.js | cmagaldi79/lwc-recipes-oss | 8c7d6c9f7f195123bece5fe3c5b5feed4652fc12 | [
"CC0-1.0"
] | null | null | null | src/modules/data/wireGetContactListProvider/wireGetContactListProvider.js | cmagaldi79/lwc-recipes-oss | 8c7d6c9f7f195123bece5fe3c5b5feed4652fc12 | [
"CC0-1.0"
] | 1 | 2022-03-11T08:38:37.000Z | 2022-03-11T08:38:37.000Z | import { contacts } from 'data/contacts';
export default class getContactList {
connected = false;
constructor(dataCallback) {
this.dataCallback = dataCallback;
}
connect() {
this.connected = true;
this.provideContactList();
}
disconnect() {
this.connected = f... | 17.793103 | 50 | 0.562016 |
8078e59cb76da56c22affdc7ff5faad8be1dc657 | 7,742 | js | JavaScript | public/frontend/assets/js/web/appointment0d32.js | Paulson05/Laravel-Hospital-managemet-system | 78076cbfb1ab2e70bb2a81a7ad13124da18643d1 | [
"MIT"
] | null | null | null | public/frontend/assets/js/web/appointment0d32.js | Paulson05/Laravel-Hospital-managemet-system | 78076cbfb1ab2e70bb2a81a7ad13124da18643d1 | [
"MIT"
] | null | null | null | public/frontend/assets/js/web/appointment0d32.js | Paulson05/Laravel-Hospital-managemet-system | 78076cbfb1ab2e70bb2a81a7ad13124da18643d1 | [
"MIT"
] | null | null | null | $(document).ready((function(){"use strict";var e;$("#patientId, #doctorId, #departmentId").select2({width:"100%"}),$("#opdDate").datetimepicker(DatetimepickerDefaults({format:"YYYY-MM-DD",sideBySide:!0,minDate:moment().subtract(1,"days"),useCurrent:!1})),$("#patientId").first().focus(),$("#departmentId").on("change",(f... | 7,742 | 7,742 | 0.661586 |
807991daabdcb10b57d80faf45e55b4eff6ab4b7 | 2,761 | js | JavaScript | lib/woocommerce/js/outfitter-woocommerce.js | killermann/huesfitter | 527a77a8e034a80cb3b0d4723662e1f1c2a9288a | [
"MIT"
] | null | null | null | lib/woocommerce/js/outfitter-woocommerce.js | killermann/huesfitter | 527a77a8e034a80cb3b0d4723662e1f1c2a9288a | [
"MIT"
] | null | null | null | lib/woocommerce/js/outfitter-woocommerce.js | killermann/huesfitter | 527a77a8e034a80cb3b0d4723662e1f1c2a9288a | [
"MIT"
] | null | null | null | /**
* This script adds the WooCommerce jquery effects to the Outfitter Pro theme.
*
* @package Outfitter\JS
* @author StudioPress
* @license GPL-2.0+
*/
( function($) {
var $body = $( 'body' ),
$content = $( '.off-screen-cart' ),
sOpen = false;
$(document).ready(function() {
// Toggl... | 32.869048 | 123 | 0.62586 |
807a20119879ba4b69504fd7551f0291613e0bbd | 268 | js | JavaScript | src/actions/flights.js | 2KHamed/acl-flight-reservation | 1ab5508ba1a769c9b68ff9bd6c4d61192b4723b3 | [
"MIT"
] | null | null | null | src/actions/flights.js | 2KHamed/acl-flight-reservation | 1ab5508ba1a769c9b68ff9bd6c4d61192b4723b3 | [
"MIT"
] | null | null | null | src/actions/flights.js | 2KHamed/acl-flight-reservation | 1ab5508ba1a769c9b68ff9bd6c4d61192b4723b3 | [
"MIT"
] | 1 | 2021-12-20T00:11:29.000Z | 2021-12-20T00:11:29.000Z | import * as api from '../api';
//action creators
export const getFlights = () => async (dispatch)=> {
try{
const{data} = await api.fetchFlights();
dispatch({type: 'FETCH_ALL',payload: data});
}catch(e){
console.log(e.message);
}
} | 24.363636 | 53 | 0.574627 |
807c1d0bcecd58b5129fb2260f81a5f4773a0f5b | 315 | js | JavaScript | fuzzer_output/interesting/sample_1554095208042.js | patil215/v8 | bb941b58df9ee1e4048b69a555a2ce819fb819ed | [
"BSD-3-Clause"
] | null | null | null | fuzzer_output/interesting/sample_1554095208042.js | patil215/v8 | bb941b58df9ee1e4048b69a555a2ce819fb819ed | [
"BSD-3-Clause"
] | null | null | null | fuzzer_output/interesting/sample_1554095208042.js | patil215/v8 | bb941b58df9ee1e4048b69a555a2ce819fb819ed | [
"BSD-3-Clause"
] | null | null | null | function main() {
let v18 = 0;
const v19 = v18 + 1;
v18 = v19;
const v26 = [1337,1337,1337,1337];
const v27 = [13.37];
const v28 = {parseInt:v26,fill:RegExp,length:"fromEntries",acos:"fromEntries"};
const v29 = {MIN_VALUE:"fromEntries",multiline:v28};
const v30 = v29 * v27;
}
%NeverOptimizeFunction(main);
main();
| 24.230769 | 79 | 0.688889 |
807cb148f517a881c829a619700771bc46d4e987 | 1,349 | js | JavaScript | tc/src/tc/js/contact.js | miriam-samuels/TasteClan | 5d3fb5ad15e03f6ceedb9d2f78ea7b76c2eafbf9 | [
"MIT"
] | 1 | 2020-08-23T23:38:06.000Z | 2020-08-23T23:38:06.000Z | tc/src/tc/js/contact.js | miriam-samuels/TasteClan | 5d3fb5ad15e03f6ceedb9d2f78ea7b76c2eafbf9 | [
"MIT"
] | null | null | null | tc/src/tc/js/contact.js | miriam-samuels/TasteClan | 5d3fb5ad15e03f6ceedb9d2f78ea7b76c2eafbf9 | [
"MIT"
] | null | null | null | import React from 'react'
import Menubar from './menubar';
import Credits from './footer';
function contact() {
return (
<div >
<Menubar/>
<div className="contact">
<div className="getintouch">
<h3>Get in Touch</h3>
<p>Call us</p>
<b>09... | 35.5 | 93 | 0.49444 |
807de5328a6d4f9324cd273eece03153f32696ad | 1,708 | js | JavaScript | public/javascripts/detail.js | superpower1/Movie_search_App | f9f5c90faaf69b9a3fa75b94a0c945c249e02ae0 | [
"MIT"
] | 2 | 2018-01-29T23:52:34.000Z | 2018-02-01T21:53:45.000Z | public/javascripts/detail.js | superpower1/Movie_search_App | f9f5c90faaf69b9a3fa75b94a0c945c249e02ae0 | [
"MIT"
] | null | null | null | public/javascripts/detail.js | superpower1/Movie_search_App | f9f5c90faaf69b9a3fa75b94a0c945c249e02ae0 | [
"MIT"
] | null | null | null | const userId = $('main.container')[0].dataset.userId;
const movieId = $('main.container')[0].dataset.movieId;
$("#like-btn").click(function(){
$.ajax({
url:"/session",
success: function(response){
const result = $.parseJSON(response);
console.log(result.login);
if (result.login) {
s... | 24.753623 | 80 | 0.540984 |
807e5fb19310c93f7dab96c9081d906856bb321a | 903 | js | JavaScript | scripts/seedDB.js | seattletrade/richtrader | 64b2194d199fbfc5aa41109f147e6a0800bfe97b | [
"MIT"
] | null | null | null | scripts/seedDB.js | seattletrade/richtrader | 64b2194d199fbfc5aa41109f147e6a0800bfe97b | [
"MIT"
] | 82 | 2021-02-06T20:42:20.000Z | 2021-02-26T22:17:14.000Z | scripts/seedDB.js | congmul/gamestock-ver02 | d6733781b26833f38dc0d7d07a2c35d336638b1d | [
"MIT"
] | 1 | 2021-05-15T04:35:36.000Z | 2021-05-15T04:35:36.000Z | const mongoose = require("mongoose");
const db = require("../models");
// This file empties the Books collection and inserts the books below
mongoose.connect(
process.env.MONGODB_URI ||
"mongodb://localhost/gamestock"
);
const stockSeed = [
{
user_email: "olya@test.com" ,
amount: 4 ,/// Schema.Types.D... | 21 | 69 | 0.611296 |
807f1739dca4108216f0084d23e81c1bec604cd9 | 337 | js | JavaScript | pilotly-coding-challenge/imports/ui/components/AddressForm/CoordinateInputs/styles.js | NGilreath0143/Pilotly-Coding-Challenge | 4ed3f13350a367181c1cf44ebe752bf7b2edcf9c | [
"MIT"
] | null | null | null | pilotly-coding-challenge/imports/ui/components/AddressForm/CoordinateInputs/styles.js | NGilreath0143/Pilotly-Coding-Challenge | 4ed3f13350a367181c1cf44ebe752bf7b2edcf9c | [
"MIT"
] | null | null | null | pilotly-coding-challenge/imports/ui/components/AddressForm/CoordinateInputs/styles.js | NGilreath0143/Pilotly-Coding-Challenge | 4ed3f13350a367181c1cf44ebe752bf7b2edcf9c | [
"MIT"
] | null | null | null | import styled from "styled-components";
import { InputField } from '../styles';
export const CoordinateInputField = styled(InputField)`
width: 156px;
`;
export const LatitudeInputField = styled(CoordinateInputField)`
margin-left: 20px
`;
export const LongitudeInputField = styled(CoordinateInputField)`
ma... | 24.071429 | 64 | 0.750742 |
807f2e9802e2ac8a5b583b25b4649d488949d74f | 1,709 | js | JavaScript | src/containers/Player.js | alvlinarez/videos | bcedff87b672c745f25102331309ee68f65b0c5e | [
"ISC"
] | null | null | null | src/containers/Player.js | alvlinarez/videos | bcedff87b672c745f25102331309ee68f65b0c5e | [
"ISC"
] | null | null | null | src/containers/Player.js | alvlinarez/videos | bcedff87b672c745f25102331309ee68f65b0c5e | [
"ISC"
] | null | null | null | import React, { useLayoutEffect, useState } from 'react';
import NotFound from './NotFound';
import '../assets/styles/components/Player.scss';
import { useDispatch, useSelector } from 'react-redux';
import { getPlayingMovieAction } from '../actions/moviesActions';
import Spinner from '../components/Spinner';
const Pl... | 25.132353 | 67 | 0.583382 |
807f5a510b56e4c266e67e727dfad6cb13ca5d8f | 2,280 | js | JavaScript | optimal-price/src/components/UserLogin.js | bw-ft-airbnb-1/front-end | 33b07ffacca0298e0a33a951483fbed79cf28b8d | [
"MIT"
] | null | null | null | optimal-price/src/components/UserLogin.js | bw-ft-airbnb-1/front-end | 33b07ffacca0298e0a33a951483fbed79cf28b8d | [
"MIT"
] | 2 | 2021-03-10T04:00:30.000Z | 2022-02-26T22:10:57.000Z | optimal-price/src/components/UserLogin.js | bw-ft-airbnb-1/front-end | 33b07ffacca0298e0a33a951483fbed79cf28b8d | [
"MIT"
] | null | null | null |
import React, { useEffect, useContext } from 'react';
import {
Jumbotron,
Button
} from 'reactstrap';
import {
Field,
Form,
withFormik
} from 'formik';
import * as Yup from 'yup';
import axios from 'axios';
import './UserLogin.css';
import Context from './../contexts/loginContext';
const UserLogin = ({v... | 21.509434 | 85 | 0.542105 |
807f6e7475235e9dec19b104bd6e7d07ebd71b42 | 20,595 | js | JavaScript | screens/main/StatisticsView.js | geonsangyoo/dailybear | 69fd9ac046bb9edb146fea40e879bf5673ae054f | [
"MIT"
] | 3 | 2022-01-08T15:27:47.000Z | 2022-02-24T13:20:57.000Z | screens/main/StatisticsView.js | geonsangyoo/dailybear | 69fd9ac046bb9edb146fea40e879bf5673ae054f | [
"MIT"
] | 1 | 2022-01-09T05:39:15.000Z | 2022-01-09T05:39:34.000Z | screens/main/StatisticsView.js | geonsangyoo/dailybear | 69fd9ac046bb9edb146fea40e879bf5673ae054f | [
"MIT"
] | null | null | null | /* eslint-disable no-shadow */
/* eslint-disable radix */
/* eslint-disable react-native/no-inline-styles */
// Standard
import React, {useState, useEffect, useRef, useCallback} from 'react';
import {
View,
StyleSheet,
Text,
StatusBar,
Image,
Animated,
Dimensions,
} from 'react-native';
import {useSelecto... | 34.041322 | 80 | 0.489148 |
80825cd8ed4187a2b1920af37b02582922adc8a8 | 314 | js | JavaScript | .storybook/leaflet-react-theme.js | chickencoding123/leaflet-react-fibers | a983071072f1433a344db19a837b805f88d586c3 | [
"MIT"
] | 1 | 2022-01-12T11:04:47.000Z | 2022-01-12T11:04:47.000Z | .storybook/leaflet-react-theme.js | IRoninCoder/leaflet-react-fibers | a983071072f1433a344db19a837b805f88d586c3 | [
"MIT"
] | null | null | null | .storybook/leaflet-react-theme.js | IRoninCoder/leaflet-react-fibers | a983071072f1433a344db19a837b805f88d586c3 | [
"MIT"
] | null | null | null | import { create } from '@storybook/theming';
let base = 'light'
if (window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches) {
base = 'dark'
}
export default create({
base,
brandTitle: 'leaflet-react-fibers',
brandUrl: 'https://github.com/chickencoding123/leaflet-react-fibers'
}); | 26.166667 | 85 | 0.707006 |
8084158017a90e5d341987d60f9f27acdf351dd2 | 44 | js | JavaScript | tests/tsc-references/types/tuple/tupleElementTypes3/input.ts/es5.2.minified/output.js | swc-project/swc | d83bde8ca5be3536632a51c9143f414879aeaf13 | [
"Apache-2.0",
"MIT"
] | 21,008 | 2017-04-01T04:06:55.000Z | 2022-03-31T23:11:05.000Z | tests/tsc-references/types/tuple/tupleElementTypes3/input.ts/es5.2.minified/output.js | dsherret/swc | bf886bac73ad348ab7bc333e6eae824c96e9abde | [
"Apache-2.0",
"MIT"
] | 2,309 | 2018-01-14T05:54:44.000Z | 2022-03-31T15:48:40.000Z | tests/tsc-references/types/tuple/tupleElementTypes3/input.ts/es5.2.minified/output.js | dsherret/swc | bf886bac73ad348ab7bc333e6eae824c96e9abde | [
"Apache-2.0",
"MIT"
] | 768 | 2018-01-14T05:15:43.000Z | 2022-03-30T11:29:42.000Z | var ref = [
0, void 0];
ref[0], ref[1];
| 11 | 15 | 0.454545 |
8084a944845d0c6474e22c535b491c3a97d1a302 | 1,067 | js | JavaScript | node_modules/thinkjs/src/middleware/csrf.js | hwdpaley/ketang | 9f726276662154a898d3fca6421f896276bd8d3a | [
"MIT"
] | null | null | null | node_modules/thinkjs/src/middleware/csrf.js | hwdpaley/ketang | 9f726276662154a898d3fca6421f896276bd8d3a | [
"MIT"
] | null | null | null | node_modules/thinkjs/src/middleware/csrf.js | hwdpaley/ketang | 9f726276662154a898d3fca6421f896276bd8d3a | [
"MIT"
] | null | null | null | 'use strict';
/**
* check csrf
* @type {}
*/
export default class extends think.middleware.base {
/**
* run
* @return {Promise} []
*/
async run() {
let csrf = this.config('csrf');
think.session(this.http);
let session = this.http._session;
let isGet = this.http.isGet();
let isPost = ... | 28.078947 | 75 | 0.582006 |
80858324d8a2bb13450275fc87c41e63edfb05d5 | 350 | js | JavaScript | src/store/reducers/SurahReducer.js | hgareeballa/quran | 03d5f8e1383f3d396e81b2e46f788f6274637618 | [
"MIT"
] | 10 | 2020-01-14T07:53:42.000Z | 2021-09-26T16:39:53.000Z | src/store/reducers/SurahReducer.js | hgareeballa/quran | 03d5f8e1383f3d396e81b2e46f788f6274637618 | [
"MIT"
] | 1 | 2020-01-22T11:46:18.000Z | 2020-01-29T09:26:00.000Z | src/store/reducers/SurahReducer.js | hgareeballa/quran | 03d5f8e1383f3d396e81b2e46f788f6274637618 | [
"MIT"
] | 10 | 2020-01-18T18:29:41.000Z | 2022-02-05T22:51:06.000Z | const initialState = {
surah: 1
};
const SurahReducer = (state = initialState, action) => {
// console.log("reducerSurah", state);
// console.log("ActionSurah", action);
switch (action.type) {
case "SURAH":
return {
surah: action.surah
};
default:
return state;
}
};
... | 17.5 | 56 | 0.591429 |
8085f724325f6432bd94bc23bf55f24430714a76 | 963 | js | JavaScript | src/node/domain/marubatsu/usecases/InputMaruBatsu.js | inocop/marubatsu-vr | cc2f50a64fd156a255701a3bb5845a8f0e1f4e51 | [
"MIT"
] | null | null | null | src/node/domain/marubatsu/usecases/InputMaruBatsu.js | inocop/marubatsu-vr | cc2f50a64fd156a255701a3bb5845a8f0e1f4e51 | [
"MIT"
] | 6 | 2021-03-09T02:48:05.000Z | 2022-02-26T10:28:02.000Z | src/node/domain/marubatsu/usecases/InputMaruBatsu.js | inocop/marubatsu-vr | cc2f50a64fd156a255701a3bb5845a8f0e1f4e51 | [
"MIT"
] | null | null | null | const Room = require('../entities/Room')
module.exports = class InputMaruBatsu {
constructor(room, socketId, data) {
if (!(room instanceof Room)) {
throw new TypeError()
}
this.room = room
this.socketId = socketId
this.data = data
}
exec() {
return new Promise((resolve, reject) ... | 20.489362 | 88 | 0.584631 |
8087d2e44357a479920069d6971ee30d9eb88aac | 4,328 | js | JavaScript | app/reducers/interaction.js | experimentalDataAesthetics/play-splom | dbc577db215ca6c8d5e669190a60869cfe55876b | [
"MIT"
] | 22 | 2016-04-27T14:23:40.000Z | 2022-02-22T06:46:12.000Z | app/reducers/interaction.js | experimentalDataAesthetics/play-splom | dbc577db215ca6c8d5e669190a60869cfe55876b | [
"MIT"
] | 53 | 2016-06-27T13:49:36.000Z | 2022-03-25T18:45:33.000Z | app/reducers/interaction.js | experimentalDataAesthetics/play-splom | dbc577db215ca6c8d5e669190a60869cfe55876b | [
"MIT"
] | 2 | 2017-08-01T02:45:20.000Z | 2020-01-31T17:22:04.000Z | import u from 'updeep';
import { xor, get } from 'lodash';
import { calcPointsEntering } from '../selectors/index';
const DEFAULT_LOOP_TIME = 10;
export default {
loopMode: {
timeDimension: null
}
};
/**
* setPointsUnderBrush - Action triggered by mouse move,
* sets the current points inside the brush rec... | 27.05 | 84 | 0.636322 |
8087f87b75deabb0c2811da0a4b8190e760557bf | 128 | js | JavaScript | gui/node_modules/core-js/internals/to-string.js | AntoniosKalattas/Ping_rep | 7285f44b87bfbd37baa1524be1ac18521d18c54c | [
"BSL-1.0"
] | null | null | null | gui/node_modules/core-js/internals/to-string.js | AntoniosKalattas/Ping_rep | 7285f44b87bfbd37baa1524be1ac18521d18c54c | [
"BSL-1.0"
] | 1 | 2022-03-25T19:20:50.000Z | 2022-03-25T19:20:50.000Z | gui/node_modules/core-js/internals/to-string.js | AntoniosKalattas/Ping_rep | 7285f44b87bfbd37baa1524be1ac18521d18c54c | [
"BSL-1.0"
] | null | null | null | version https://git-lfs.github.com/spec/v1
oid sha256:f853539077f679ec815eb884c5344ff06d00956766af0242ffbdfae36f8e3761
size 208
| 32 | 75 | 0.882813 |
80883e4dca533f2e4c9970f76f110c9496a6ac0e | 2,577 | js | JavaScript | node_modules/@redwoodjs/structure/dist/model/util/process_env.js | metanoiaweblabs/redwoodblog | 34af42bb875538cb4edeb76df6e3cf93e02504f7 | [
"MIT"
] | null | null | null | node_modules/@redwoodjs/structure/dist/model/util/process_env.js | metanoiaweblabs/redwoodblog | 34af42bb875538cb4edeb76df6e3cf93e02504f7 | [
"MIT"
] | null | null | null | node_modules/@redwoodjs/structure/dist/model/util/process_env.js | metanoiaweblabs/redwoodblog | 34af42bb875538cb4edeb76df6e3cf93e02504f7 | [
"MIT"
] | null | null | null | "use strict";
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js/object/define-property");
var _interopRequireWildcard = require("@babel/runtime-corejs3/helpers/interopRequireWildcard").default;
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault").default;
_... | 26.84375 | 145 | 0.667055 |
8089b2261f1031eefd2eec8e97848df28d7fd340 | 296 | js | JavaScript | .eslintrc.js | JacobPozaic/RSS-feed | 14c42d7b62281fa68de1151c9ace2529f467b576 | [
"MIT"
] | null | null | null | .eslintrc.js | JacobPozaic/RSS-feed | 14c42d7b62281fa68de1151c9ace2529f467b576 | [
"MIT"
] | null | null | null | .eslintrc.js | JacobPozaic/RSS-feed | 14c42d7b62281fa68de1151c9ace2529f467b576 | [
"MIT"
] | null | null | null | 'use strict';
module.exports = {
root: true,
extends: 'airbnb',
parser: 'babel-eslint',
env: {
es6: true,
browser: true,
},
rules: {
'no-plusplus': 'off',
'no-console': ['warn', {
allow: ['error', 'warn'],
}],
'react/jsx-filename-extension': 0,
},
};
| 15.578947 | 38 | 0.513514 |
8089f38c736d26b0f73a49084064dee298f01c03 | 913 | js | JavaScript | src/generators/html-generator.js | fairhopeweb/HackMyResume | ab6e7ee1a0f55608b531f4e644c298426291bb17 | [
"MIT"
] | 10,040 | 2015-12-22T15:32:40.000Z | 2022-03-31T02:45:57.000Z | src/generators/html-generator.js | fairhopeweb/HackMyResume | ab6e7ee1a0f55608b531f4e644c298426291bb17 | [
"MIT"
] | 196 | 2015-12-23T23:13:43.000Z | 2021-11-14T22:59:20.000Z | src/generators/html-generator.js | fairhopeweb/HackMyResume | ab6e7ee1a0f55608b531f4e644c298426291bb17 | [
"MIT"
] | 706 | 2015-12-19T17:48:57.000Z | 2022-03-31T03:16:56.000Z | /*
* decaffeinate suggestions:
* DS102: Remove unnecessary code created because of implicit returns
* Full docs: https://github.com/decaffeinate/decaffeinate/blob/master/docs/suggestions.md
*/
/**
Definition of the HTMLGenerator class.
@module generators/html-generator
@license MIT. See LICENSE.md for details.
*/
... | 22.825 | 90 | 0.711939 |
808a613222eab8331be14dfbeebc1125192f3ebf | 3,124 | js | JavaScript | js/main.js | forrana/ihan-valo-music | c123e0c49b6d0d0e54d9a03bb135f9dc466a1088 | [
"CC0-1.0"
] | null | null | null | js/main.js | forrana/ihan-valo-music | c123e0c49b6d0d0e54d9a03bb135f9dc466a1088 | [
"CC0-1.0"
] | null | null | null | js/main.js | forrana/ihan-valo-music | c123e0c49b6d0d0e54d9a03bb135f9dc466a1088 | [
"CC0-1.0"
] | null | null | null | const numbersListRaw = [
{
name: "Kalastus",
participanst: "all",
time: 0
},
{
name: "Snake",
participanst: "Ka, Ma, Os, To",
time: 95
},
{
name: "Keppi, Hyppis",
participanst: "Ka, Al",
time: 195
},
{
name: "Magneetti-Isolaatio",
participanst: "Os, To, Ma",
... | 24.030769 | 161 | 0.607554 |
808a768446d2919d1ce39d650cb2fa82420fe6aa | 203 | js | JavaScript | exercicios/ex011/index.js | CiceroWesley/curso-javascript | aab362e9329303c9812a5b34d8f9713d434b4c83 | [
"MIT"
] | null | null | null | exercicios/ex011/index.js | CiceroWesley/curso-javascript | aab362e9329303c9812a5b34d8f9713d434b4c83 | [
"MIT"
] | null | null | null | exercicios/ex011/index.js | CiceroWesley/curso-javascript | aab362e9329303c9812a5b34d8f9713d434b4c83 | [
"MIT"
] | null | null | null | var idade = 6
if (idade < 16){
console.log('Menor de idade')
} else{
if (idade < 18 || idade > 65){
console.log('Facultativo')
} else {
console.log('voto obrigatorio')
}
} | 20.3 | 39 | 0.541872 |
808ae5f64729b55f3fe40c9a8d1dd4374a791315 | 6,929 | js | JavaScript | addons/Snipe.js | BraketsHasGithub/eFex-bot | d1e1d246a44f2fabe360c01eee0c66f236440b0f | [
"Apache-2.0"
] | null | null | null | addons/Snipe.js | BraketsHasGithub/eFex-bot | d1e1d246a44f2fabe360c01eee0c66f236440b0f | [
"Apache-2.0"
] | null | null | null | addons/Snipe.js | BraketsHasGithub/eFex-bot | d1e1d246a44f2fabe360c01eee0c66f236440b0f | [
"Apache-2.0"
] | null | null | null | const _0x350c=['1430107eLSQEk','setupDatabase','ability\x20to\x20see\x20what\x20was\x20the\x20latest\x20deleted\x20message','cache','setupTable','set','../modules/handlers/EventHandler.js','bot','../modules/CustomConfig.js','INSERT\x20INTO\x20snipe\x20(channel,\x20user,\x20content,\x20image)VALUES(?,?,?,?)','snipe','74... | 6,929 | 6,929 | 0.759273 |
808aec1d3eec506d2723efb8646b24d490dbdfaf | 1,720 | js | JavaScript | src/server/model/user.model.js | dennis2k/keeper | c21d575e7a56a4088c123ac14248b6d29005cde1 | [
"MIT"
] | null | null | null | src/server/model/user.model.js | dennis2k/keeper | c21d575e7a56a4088c123ac14248b6d29005cde1 | [
"MIT"
] | null | null | null | src/server/model/user.model.js | dennis2k/keeper | c21d575e7a56a4088c123ac14248b6d29005cde1 | [
"MIT"
] | null | null | null | 'use strict'
const mongoose = require('mongoose')
var Schema = mongoose.Schema;
var ObjectId = Schema.ObjectId;
var bcrypt = require('bcryptjs');
var Promise = require('bluebird');
var account = require('./account.model').model;
var userSchema = new Schema({
accountId: { type: ObjectId, required: true, ref: 'acco... | 25.671642 | 69 | 0.581395 |
808c6f384c07159511b0b26c6bff00bfa35f4dab | 156 | js | JavaScript | config.js | paulcedrick/NoteMaker | f01ee32b20516e84a3d5ebf2d92f11c66ab49663 | [
"MIT"
] | null | null | null | config.js | paulcedrick/NoteMaker | f01ee32b20516e84a3d5ebf2d92f11c66ab49663 | [
"MIT"
] | null | null | null | config.js | paulcedrick/NoteMaker | f01ee32b20516e84a3d5ebf2d92f11c66ab49663 | [
"MIT"
] | null | null | null | module.exports = {
testing: {
siteUrl: 'http://localhost:3000'
},
development: {
siteUrl: 'http://localhost:3000'
},
production: {
}
}
| 13 | 36 | 0.570513 |
808c7e6f62c0ad274cc8208ef097bb688e170824 | 485 | js | JavaScript | client/src/reducers/index.js | jlgoh/stockeer | 305640c8f46cfc87c3df7b69d9e44200128bd513 | [
"MIT"
] | null | null | null | client/src/reducers/index.js | jlgoh/stockeer | 305640c8f46cfc87c3df7b69d9e44200128bd513 | [
"MIT"
] | null | null | null | client/src/reducers/index.js | jlgoh/stockeer | 305640c8f46cfc87c3df7b69d9e44200128bd513 | [
"MIT"
] | null | null | null | import { combineReducers } from "redux";
import authReducer from "./authReducer";
import stockReducer from "./stockReducer";
import bookmarkReducer from "./bookmarkReducer";
import searchReducer from "./searchReducer";
export default combineReducers({
auth: authReducer,
sidebar: (state = false, action) => {
if... | 28.529412 | 64 | 0.731959 |
808d584c2d2392271b691cf8681dbe32a9f5d518 | 421 | js | JavaScript | src/__tests__/helpers/images/fixtures.js | BHesseldieck/graphql-serverless-boilerplate | 18427f73879e8faf7cd570cb4e9257d85bb0d748 | [
"MIT"
] | null | null | null | src/__tests__/helpers/images/fixtures.js | BHesseldieck/graphql-serverless-boilerplate | 18427f73879e8faf7cd570cb4e9257d85bb0d748 | [
"MIT"
] | 9 | 2019-07-21T04:19:24.000Z | 2022-01-22T07:13:53.000Z | src/__tests__/helpers/images/fixtures.js | BHesseldieck/graphql-serverless-boilerplate | 18427f73879e8faf7cd570cb4e9257d85bb0d748 | [
"MIT"
] | null | null | null | import userFixtures from '../users/fixtures';
const { userStruct } = userFixtures.actuals;
const imageStruct = {
id: '5afd2b1b930adf00074d4de0',
title: 'Beautiful Sundowner',
uri: 'https://cdn.pixabay.com/photo/2019/05/29/20/01/sunset-4238445_1280.jpg',
published: true,
resolution: '1280x640',
taggedUsers... | 22.157895 | 80 | 0.703088 |
808d7d18926168141c5ce27a4e00084e045003d3 | 549 | js | JavaScript | src/singleResult.test.js | MilosRasic/reunit | 30a548eaf8ceae2442ef21d4b08baa4d0cb41a6c | [
"MIT"
] | 2 | 2022-01-19T10:59:08.000Z | 2022-01-19T12:32:56.000Z | src/singleResult.test.js | MilosRasic/reunit | 30a548eaf8ceae2442ef21d4b08baa4d0cb41a6c | [
"MIT"
] | null | null | null | src/singleResult.test.js | MilosRasic/reunit | 30a548eaf8ceae2442ef21d4b08baa4d0cb41a6c | [
"MIT"
] | null | null | null | const singleResult = require('./singleResult');
describe('singleResult', () => {
it('returns the only element from an array with only one element', () => {
const element = {};
const array = [element];
expect(singleResult(array)).to.equal(element);
});
it('throws if the array does not have exactly one result... | 23.869565 | 75 | 0.615665 |
808f236fb11f71417815c3a60f8865ede419f934 | 632 | js | JavaScript | src/cartridges/int_adyen_SFRA/cartridge/scripts/hooks/payment/processor/middlewares/posHandle.js | tagheuerhq/adyen-salesforce-commerce-cloud | 3d1776ec6da554c72d0f5be405494a8980ff3c21 | [
"MIT"
] | 68 | 2017-02-10T08:29:38.000Z | 2022-03-31T15:33:06.000Z | src/cartridges/int_adyen_SFRA/cartridge/scripts/hooks/payment/processor/middlewares/posHandle.js | tagheuerhq/adyen-salesforce-commerce-cloud | 3d1776ec6da554c72d0f5be405494a8980ff3c21 | [
"MIT"
] | 223 | 2017-01-06T10:22:35.000Z | 2022-03-11T09:43:26.000Z | src/cartridges/int_adyen_SFRA/cartridge/scripts/hooks/payment/processor/middlewares/posHandle.js | tagheuerhq/adyen-salesforce-commerce-cloud | 3d1776ec6da554c72d0f5be405494a8980ff3c21 | [
"MIT"
] | 58 | 2016-11-28T14:01:53.000Z | 2022-03-28T13:52:37.000Z | const Transaction = require('dw/system/Transaction');
const collections = require('*/cartridge/scripts/util/collections');
const constants = require('*/cartridge/adyenConstants/constants');
function posHandle(basket) {
Transaction.wrap(() => {
collections.forEach(basket.getPaymentInstruments(), (item) => {
... | 28.727273 | 68 | 0.721519 |
808f8813d84bcb8bb1567b4a384c7627604936f5 | 393 | js | JavaScript | src/models/simulator/simulator.model.js | Chia-Network/climate-warehouse | ef5ea06f854f8f33e7f65367c82f8379ae66be23 | [
"Apache-2.0"
] | 4 | 2022-03-11T08:52:13.000Z | 2022-03-20T11:47:52.000Z | src/models/simulator/simulator.model.js | Chia-Network/climate-warehouse | ef5ea06f854f8f33e7f65367c82f8379ae66be23 | [
"Apache-2.0"
] | 34 | 2022-03-10T15:06:52.000Z | 2022-03-30T10:48:16.000Z | src/models/simulator/simulator.model.js | Chia-Network/climate-warehouse | ef5ea06f854f8f33e7f65367c82f8379ae66be23 | [
"Apache-2.0"
] | 1 | 2022-03-10T19:23:31.000Z | 2022-03-10T19:23:31.000Z | 'use strict';
import Sequelize from 'sequelize';
const { Model } = Sequelize;
import { sequelize } from '../../database';
import ModelTypes from './simulator.modeltypes.cjs';
class Simulator extends Model {}
Simulator.init(ModelTypes, {
sequelize,
modelName: 'simulator',
freezeTableName: true,
timestamps: f... | 18.714286 | 52 | 0.707379 |
80914e447687434eee552203651c3806d9bcd58b | 2,412 | js | JavaScript | src/odata-client/sfo-data-service/TimeManagementAlertRequestBuilder.js | robypag/sdk-gen-sfsf | ce9b613ee3e85dd8ed4e42ffe200df1a2decf835 | [
"MIT"
] | null | null | null | src/odata-client/sfo-data-service/TimeManagementAlertRequestBuilder.js | robypag/sdk-gen-sfsf | ce9b613ee3e85dd8ed4e42ffe200df1a2decf835 | [
"MIT"
] | null | null | null | src/odata-client/sfo-data-service/TimeManagementAlertRequestBuilder.js | robypag/sdk-gen-sfsf | ce9b613ee3e85dd8ed4e42ffe200df1a2decf835 | [
"MIT"
] | null | null | null | "use strict";
var __extends = (this && this.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnPrope... | 49.22449 | 124 | 0.700249 |
80918b782f721379be8ac05b05efdeffb1d29329 | 2,000 | js | JavaScript | JSBook-master/WebContent/c03/js/example.js | june20516/WebWorks | 01ce151c59171b23dd222100ea46b389258aee5b | [
"Apache-2.0"
] | null | null | null | JSBook-master/WebContent/c03/js/example.js | june20516/WebWorks | 01ce151c59171b23dd222100ea46b389258aee5b | [
"Apache-2.0"
] | 7 | 2020-04-23T18:32:40.000Z | 2021-12-09T22:43:27.000Z | JSBook-master/WebContent/c03/js/example.js | june20516/WebWorks | 01ce151c59171b23dd222100ea46b389258aee5b | [
"Apache-2.0"
] | null | null | null | /* 이 스크립ㅌ는 변수의 범위를 보호하기 위해 즉시 호출 함수 표현식을 이용하여 작성되었다 */
(function() {
// 첫 번째 부분: 호텔 객체를 생성하고 할인 행사에 대한 상세 정보를 출력한다.
// 축약형 표기법을 이용하여 hotel 객체를 생성한다.
var hotel = {
name: 'Park',
roomRate: 240, // 방의 가격
discount: 15, // 할인율 (%)
offerPrice: function() {
var offerRate = this.roomRate * ((100 ... | 31.746032 | 91 | 0.5895 |
80923d2c3ac18a7136072514e06926011bd9ff4c | 2,072 | js | JavaScript | packages/maq-metadata-dojo/src/dojox/grid/TreeGridCreateTool.js | skylark-integration/skylark-maqetta | 2a1799f3910717ab000af6dc6813fd1dc40e8276 | [
"MIT"
] | null | null | null | packages/maq-metadata-dojo/src/dojox/grid/TreeGridCreateTool.js | skylark-integration/skylark-maqetta | 2a1799f3910717ab000af6dc6813fd1dc40e8276 | [
"MIT"
] | null | null | null | packages/maq-metadata-dojo/src/dojox/grid/TreeGridCreateTool.js | skylark-integration/skylark-maqetta | 2a1799f3910717ab000af6dc6813fd1dc40e8276 | [
"MIT"
] | null | null | null | //>>built
define("maq-metadata-dojo/dojox/grid/TreeGridCreateTool",["dojo/_base/declare","davinci/ve/tools/CreateTool","davinci/ve/widget","davinci/commands/CompoundCommand","davinci/ve/commands/AddCommand","davinci/ve/commands/MoveCommand","davinci/ve/commands/ResizeCommand","davinci/ve/commands/StyleCommand","dojo/pr... | 30.028986 | 359 | 0.730695 |
809266cb0e51f9a280c1f074732fa0a03914e564 | 704 | js | JavaScript | src/App.js | Vitorrrocha/ReactJS-Star-Wars | f2bf53a8252424471b295f96ca1f01e3b6d9eb17 | [
"MIT"
] | null | null | null | src/App.js | Vitorrrocha/ReactJS-Star-Wars | f2bf53a8252424471b295f96ca1f01e3b6d9eb17 | [
"MIT"
] | 4 | 2021-09-02T11:56:58.000Z | 2022-02-27T05:46:42.000Z | src/App.js | Vitorrrocha/ReactJS-Star-Wars | f2bf53a8252424471b295f96ca1f01e3b6d9eb17 | [
"MIT"
] | null | null | null | import React, { Component } from 'react';
import Axios from 'axios';
import List from './List';
import './App.css';
class App extends Component{
constructor(props){
super(props);
this.state = {
films: [],
}
this.getFilms = this.getFilms.bind(this)
}
getFilms(){
return Axios.get("https... | 18.051282 | 65 | 0.588068 |
809266d515b47637274efac9ec86be357fe78ac4 | 773 | js | JavaScript | src/pages/admin/stats/index.js | phillipthelen/freesewing.org | 79c5b15b29accf6efa74808a3ef5be0397bca9f6 | [
"MIT"
] | 26 | 2019-07-04T10:33:15.000Z | 2022-01-14T00:31:27.000Z | src/pages/admin/stats/index.js | phillipthelen/freesewing.org | 79c5b15b29accf6efa74808a3ef5be0397bca9f6 | [
"MIT"
] | 1,112 | 2019-08-02T09:12:38.000Z | 2022-03-29T04:28:41.000Z | src/pages/admin/stats/index.js | nataliabarnhart/freesewing.org | a2f157b1837c83b5529373810dcd4e0b330cdb02 | [
"MIT"
] | 23 | 2019-08-02T12:23:34.000Z | 2022-02-04T23:24:04.000Z | import React, { useEffect, useState } from 'react'
import useApp from '../../../hooks/useApp'
import AppWrapper from '../../../components/app/wrapper'
import AuthRequired from '../../../components/auth-required'
const Page = (props) => {
const app = useApp()
const [stats, setStats] = useState([])
// Effects
... | 24.15625 | 66 | 0.591203 |
80931f3ef4575f66d6badd40251e66ecbfd56f53 | 1,478 | js | JavaScript | importJasonDynamo/app.js | DobrePetrushev/AlexaBot | 37376347e67fa2d59dfa5b1bae07c79348afbe5b | [
"MIT"
] | null | null | null | importJasonDynamo/app.js | DobrePetrushev/AlexaBot | 37376347e67fa2d59dfa5b1bae07c79348afbe5b | [
"MIT"
] | null | null | null | importJasonDynamo/app.js | DobrePetrushev/AlexaBot | 37376347e67fa2d59dfa5b1bae07c79348afbe5b | [
"MIT"
] | null | null | null | /*********************************
Simple Demo for loading files into
DynamoDB.
**********************************/
//package to read json files
var jsonfile = require('jsonfile');
//AWS node sdk
var AWS = require('aws-sdk');
//need to update region in config
AWS.config.update({
region: "us-east-1"
... | 25.482759 | 52 | 0.550068 |
80937355f0599c9c81cf041239cd431ed2086fbe | 1,593 | js | JavaScript | index.js | commenthol/turndown-cli | 0e5da81479d0d24cd47e9bdc24f116e74e5065cf | [
"MIT"
] | null | null | null | index.js | commenthol/turndown-cli | 0e5da81479d0d24cd47e9bdc24f116e74e5065cf | [
"MIT"
] | null | null | null | index.js | commenthol/turndown-cli | 0e5da81479d0d24cd47e9bdc24f116e74e5065cf | [
"MIT"
] | null | null | null | const fsp = require('fs/promises')
const TurndownService = require('turndown')
const turndownPluginGfm = require('./turndown-plugin-gfm.js')
const turndownPluginConfluenceToGfm = require('turndown-plugin-confluence-to-gfm')
const { gfm, tables, strikethrough } = turndownPluginGfm
const DEFAULTS = {
headingStyle: 'a... | 23.086957 | 82 | 0.677338 |
80945cea320c53a65a00408a4b95b5b79a522e84 | 432 | js | JavaScript | e2e-properties.js | higorlaf12/Protractor-Base | 138210eea46650d46ec9ce873873ded9de3eb91e | [
"MIT"
] | null | null | null | e2e-properties.js | higorlaf12/Protractor-Base | 138210eea46650d46ec9ce873873ded9de3eb91e | [
"MIT"
] | null | null | null | e2e-properties.js | higorlaf12/Protractor-Base | 138210eea46650d46ec9ce873873ded9de3eb91e | [
"MIT"
] | null | null | null | exports.Url = '';
exports.Register = '';
exports.seleniumAddress = 'http://localhost:4444/wd/hub';
exports.username = '';
exports.password = '';
// Fica as outras varias que são usadas
exports.userAlias='';
exports.userName='';
exports.userPhone='';
exports.userEmail='';
... | 19.636364 | 61 | 0.606481 |
8094ce7a036fc6c3ef96d726cf8c135b729aa5fe | 1,907 | js | JavaScript | js/menu_pr.js | lancaster-esl/insurgent-dynamics | 92fc6ddb43d15c6ea14afa7938a28eeb9a1cb56f | [
"MIT"
] | null | null | null | js/menu_pr.js | lancaster-esl/insurgent-dynamics | 92fc6ddb43d15c6ea14afa7938a28eeb9a1cb56f | [
"MIT"
] | null | null | null | js/menu_pr.js | lancaster-esl/insurgent-dynamics | 92fc6ddb43d15c6ea14afa7938a28eeb9a1cb56f | [
"MIT"
] | null | null | null | function makeScrollable(wrapper, scrollable){
// Get jQuery elements
var wrapper = $(wrapper), scrollable = $(scrollable);
// Hide images until they are not loaded
scrollable.hide();
var loading = $('<div class="loading">Loading...</div>').appendTo(wrapper);
// Set function that will check if all images are l... | 28.462687 | 114 | 0.662297 |
809531dc565a3ae862dead80aab1b75140ff2460 | 1,475 | js | JavaScript | app/server/models/inventory.js | MScallion/nr-mals | 5807e9bd4774bf7a8cf4e677b748fb7cb46e6d6c | [
"Apache-2.0"
] | null | null | null | app/server/models/inventory.js | MScallion/nr-mals | 5807e9bd4774bf7a8cf4e677b748fb7cb46e6d6c | [
"Apache-2.0"
] | 10 | 2020-06-23T19:30:38.000Z | 2022-02-28T20:44:37.000Z | app/server/models/inventory.js | MScallion/nr-mals | 5807e9bd4774bf7a8cf4e677b748fb7cb46e6d6c | [
"Apache-2.0"
] | 31 | 2020-07-09T20:27:27.000Z | 2022-03-31T23:16:09.000Z | const { formatDate } = require("../utilities/formatting");
const { parseAsInt, parseAsFloat } = require("../utilities/parsing");
const {
populateAuditColumnsCreate,
populateAuditColumnsUpdate,
} = require("../utilities/auditing");
const constants = require("../utilities/constants");
function convertToLogicalMode... | 25 | 69 | 0.701695 |
8099d7b0f2c24bfddf1d0717256c48bac7ac5a65 | 10,766 | js | JavaScript | src/scripts/ripple.js | Metwas/chameleon-graphs | 7e5bf699b9bcc1a88517ee3d2cfaf290f785c245 | [
"MIT"
] | null | null | null | src/scripts/ripple.js | Metwas/chameleon-graphs | 7e5bf699b9bcc1a88517ee3d2cfaf290f785c245 | [
"MIT"
] | null | null | null | src/scripts/ripple.js | Metwas/chameleon-graphs | 7e5bf699b9bcc1a88517ee3d2cfaf290f785c245 | [
"MIT"
] | null | null | null | /*
MIT License
Copyright (c) Metwas
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify,... | 27.186869 | 142 | 0.514676 |
809bdc8ab1cec14c87ff75ae322fbb81517785c1 | 675 | js | JavaScript | qml/urlParams.js | florianwittmann/gitlovr | 07aaed4c36dd3ac1639773e41080bedfdf2c8f9a | [
"MIT"
] | null | null | null | qml/urlParams.js | florianwittmann/gitlovr | 07aaed4c36dd3ac1639773e41080bedfdf2c8f9a | [
"MIT"
] | 9 | 2015-08-29T14:35:22.000Z | 2015-08-29T14:43:36.000Z | qml/urlParams.js | florianwittmann/gitlovr | 07aaed4c36dd3ac1639773e41080bedfdf2c8f9a | [
"MIT"
] | null | null | null | .pragma library
function get_params(search_string) {
var parse = function(params, pairs) {
var pair = pairs[0];
var parts = pair.split('=');
var key = decodeURIComponent(parts[0]);
var value = decodeURIComponent(parts.slice(1).join('='));
// Handle multiple parameters of the same name
if (... | 27 | 115 | 0.620741 |
809bf778b691ec4eb4b117561ca4c3701274255d | 6,008 | js | JavaScript | src/main/webapp/scripts/miniui/source/debug/TimeSpinner.js | xsls/jquery-miniui | ce452196c54b8b4affd17ebfc1d40c2844f83f1b | [
"Apache-2.0"
] | 1 | 2019-10-17T08:25:46.000Z | 2019-10-17T08:25:46.000Z | src/main/webapp/scripts/miniui/source/debug/TimeSpinner.js | xsls/jquery-miniui | ce452196c54b8b4affd17ebfc1d40c2844f83f1b | [
"Apache-2.0"
] | null | null | null | src/main/webapp/scripts/miniui/source/debug/TimeSpinner.js | xsls/jquery-miniui | ce452196c54b8b4affd17ebfc1d40c2844f83f1b | [
"Apache-2.0"
] | 3 | 2020-06-30T09:41:09.000Z | 2022-01-26T13:35:24.000Z | /**
* 时间输入框。
*
* @example
* <input id="tsp1" class="mini-timespinner" format="H:mm" />
*
* @class
* @extends mini.ButtonEdit
* @constructor
*/
mini.TimeSpinner = function() {
mini.TimeSpinner.superclass.constructor.call(this);
this.setValue("00:00:00")
};
mini.extend(mini.TimeSpinner, ... | 27.18552 | 136 | 0.448735 |
809c04631ea761d0755aa9cda12b8a440e8348c7 | 1,085 | js | JavaScript | CS305/W3d3/passwords.js | chadia12/chadia12.github.io | 39e3200e0613705b7850371a06e9b243ee57e56c | [
"CC-BY-3.0"
] | null | null | null | CS305/W3d3/passwords.js | chadia12/chadia12.github.io | 39e3200e0613705b7850371a06e9b243ee57e56c | [
"CC-BY-3.0"
] | null | null | null | CS305/W3d3/passwords.js | chadia12/chadia12.github.io | 39e3200e0613705b7850371a06e9b243ee57e56c | [
"CC-BY-3.0"
] | null | null | null | "use strict";
/* exports at end of file since exporting an object, which can only be referenced after definition */
/* eslint-disable */
function askPassword(ok, fail, password) {
if (password == "rockstar") {
return ok();
}
else {
return fail();
}
}
let user = {
name: 'Jo... | 17.786885 | 139 | 0.592627 |
809cc458a284f4e9030d3917884d0ddb622776bc | 2,163 | js | JavaScript | renderer/screens/contacts/components/contact-info.js | serdrdoor/idena-desktop | b38436a089e6d142c09097c8deeb4c53d9c07287 | [
"MIT"
] | 1 | 2021-05-14T01:14:05.000Z | 2021-05-14T01:14:05.000Z | renderer/screens/contacts/components/contact-info.js | serdrdoor/idena-desktop | b38436a089e6d142c09097c8deeb4c53d9c07287 | [
"MIT"
] | null | null | null | renderer/screens/contacts/components/contact-info.js | serdrdoor/idena-desktop | b38436a089e6d142c09097c8deeb4c53d9c07287 | [
"MIT"
] | null | null | null | import React from 'react'
import PropTypes from 'prop-types'
import {margin, padding, borderRadius, backgrounds} from 'polished'
import {useTranslation} from 'react-i18next'
import {SubHeading, FormGroup, Text, Box} from '../../../shared/components'
import theme, {rem} from '../../../shared/theme'
import Flex from '../... | 28.090909 | 75 | 0.570042 |
809d43671c899283c0f4bec04077b7b04cfafafb | 416 | js | JavaScript | app/containers/ProfileInfoPage/data.js | phong2397/ReactBoilerplate | c4dc17430a29d5244e4d74061d2dee5b1513fcbb | [
"MIT"
] | null | null | null | app/containers/ProfileInfoPage/data.js | phong2397/ReactBoilerplate | c4dc17430a29d5244e4d74061d2dee5b1513fcbb | [
"MIT"
] | null | null | null | app/containers/ProfileInfoPage/data.js | phong2397/ReactBoilerplate | c4dc17430a29d5244e4d74061d2dee5b1513fcbb | [
"MIT"
] | null | null | null | export const tileData = [
{
img: 'https://viknews.com/vi/wp-content/uploads/2019/04/lam-lai-cmnd5.jpg',
title: 'Chững minh nhân dân (mặt trước)',
author: 'author',
},
{
img:
'https://cms.luatvietnam.vn/uploaded/Images/Original/2019/10/25/tay-not-ruoi-xoa-seo-co-phai-lam-lai-chung-minh-nhan-d... | 29.714286 | 143 | 0.644231 |
809ec13fd69d54171264c9f709e7ac6acdfbc798 | 1,203 | js | JavaScript | bin/cli.js | aid-lo/node-instant-http | 123dc5e010d6839271e62fc9ecd35f2fa3c5dec9 | [
"MIT"
] | 1 | 2022-02-16T19:38:38.000Z | 2022-02-16T19:38:38.000Z | bin/cli.js | aid-lo/xpress | 123dc5e010d6839271e62fc9ecd35f2fa3c5dec9 | [
"MIT"
] | null | null | null | bin/cli.js | aid-lo/xpress | 123dc5e010d6839271e62fc9ecd35f2fa3c5dec9 | [
"MIT"
] | null | null | null | #!/usr/bin/env node
const config = {
views: {}
};
for (let i = 2; i < process.argv.length; i++) {
switch (process.argv[i]) {
case "-h":
case "--handler":
config.handler = process.argv[++i];
break;
case "-k":
case "--sslkey":
config.key = proc... | 26.152174 | 55 | 0.449709 |
d0e8d618c9a9e8c10430ab5da6d404db17b06c5f | 2,154 | js | JavaScript | public/assets/js/app.js | AndreyLuka/php-mvc | 61deedd63f071cc8ac0f938b7787d7441a81dc7d | [
"MIT"
] | null | null | null | public/assets/js/app.js | AndreyLuka/php-mvc | 61deedd63f071cc8ac0f938b7787d7441a81dc7d | [
"MIT"
] | null | null | null | public/assets/js/app.js | AndreyLuka/php-mvc | 61deedd63f071cc8ac0f938b7787d7441a81dc7d | [
"MIT"
] | null | null | null | (function () {
/**
* Task Form.
*/
if (document.getElementById('taskPreview')) {
var TaskForm = {
username: document.getElementById('taskFormUsername'),
email: document.getElementById('taskFormEmail'),
text: document.getElementById('taskFormText'),
... | 41.423077 | 93 | 0.549675 |
d0e9a22579ba01238bbd21a0ee015f44176ecda8 | 2,390 | js | JavaScript | src/components/WorkExp.js | NateSGH/cv-project | c24b19c7f7d5872a162d7df51f1e40870991c774 | [
"MIT"
] | null | null | null | src/components/WorkExp.js | NateSGH/cv-project | c24b19c7f7d5872a162d7df51f1e40870991c774 | [
"MIT"
] | null | null | null | src/components/WorkExp.js | NateSGH/cv-project | c24b19c7f7d5872a162d7df51f1e40870991c774 | [
"MIT"
] | null | null | null | import React from 'react';
class WorkExp extends React.Component {
constructor(props) {
super(props);
this.state = {
companyName: '',
positionTitle: '',
workFrom: '',
workTo: '',
};
this.handleInputChange = this.handleInputChange.bind(this);
this.handleDeletion = this.ha... | 24.895833 | 92 | 0.548117 |
d0eaaa5f147a46b41d9690c5638bfcfcc754822c | 2,572 | js | JavaScript | manager/src/main/webapp/resources/js/group-user-menu.js | efbiz/ability-exam | e6a988fe89439df0d20c714ae0b8a01e55806e5b | [
"MIT"
] | null | null | null | manager/src/main/webapp/resources/js/group-user-menu.js | efbiz/ability-exam | e6a988fe89439df0d20c714ae0b8a01e55806e5b | [
"MIT"
] | null | null | null | manager/src/main/webapp/resources/js/group-user-menu.js | efbiz/ability-exam | e6a988fe89439df0d20c714ae0b8a01e55806e5b | [
"MIT"
] | null | null | null | $(function() {
$(".jstree li a").contextMenu(user_menu.menu, {
theme : 'vista'
});
});
var user_menu = {
menu : [{
'添加用户' : function(menuItem, menu) {
user_menu.add_user();
$("#group-code").val($(this).text());
$("#group-code").data("id", $(this).parent().data("id"));
}
},
// $.contextMen... | 24.037383 | 116 | 0.592535 |
d0ebe5b8916877db53251122afd4bebf4872a0d2 | 3,752 | js | JavaScript | public/imageimporter/cluster.js | RanceZero/mipui | e0e8c1864f3b9ffcf7776f2447426c9acc314b69 | [
"MIT"
] | 96 | 2017-06-07T17:59:11.000Z | 2022-03-28T12:40:18.000Z | public/imageimporter/cluster.js | RanceZero/mipui | e0e8c1864f3b9ffcf7776f2447426c9acc314b69 | [
"MIT"
] | 188 | 2017-06-15T03:08:45.000Z | 2020-10-23T04:48:23.000Z | public/imageimporter/cluster.js | RanceZero/mipui | e0e8c1864f3b9ffcf7776f2447426c9acc314b69 | [
"MIT"
] | 28 | 2017-06-07T18:18:25.000Z | 2021-11-29T18:53:26.000Z | class Cluster {
constructor(cells, parent, idCallback) {
this.cells_ = cells;
this.parent = parent;
this.idCallback_ = idCallback;
this.id = idCallback(this, parent);
}
get size() {
return this.cells.length;
}
get cells() {
return this.cells_;
}
getTopClusters(k) {
const clu... | 26.609929 | 79 | 0.537846 |
d0ebedcd6263d22c9e53736b501a9e27373a2568 | 2,718 | js | JavaScript | gatsby-config.js | jeslage/pelican-bar | 3b0ec4c47b97e07486301fc16a91e1af3047610c | [
"MIT"
] | 1 | 2019-07-30T19:30:51.000Z | 2019-07-30T19:30:51.000Z | gatsby-config.js | jeslage/pelican-bar | 3b0ec4c47b97e07486301fc16a91e1af3047610c | [
"MIT"
] | 5 | 2021-08-31T19:19:48.000Z | 2022-02-27T10:46:41.000Z | gatsby-config.js | jeslage/pelican-bar | 3b0ec4c47b97e07486301fc16a91e1af3047610c | [
"MIT"
] | null | null | null | module.exports = {
plugins: [
{
resolve: 'gatsby-plugin-manifest',
options: {
name: 'Pelican Bar',
short_name: 'Pelican',
start_url: '/',
background_color: '#f7f0eb',
theme_color: '#a2466c',
display: 'standalone',
icons: [
{
... | 22.840336 | 55 | 0.422369 |
d0ec1fa89f604d0aef4ed69949644099958dc36d | 583 | js | JavaScript | clients/web/app/js/controllers.js | panyam/msglib | d9d72d23d074b8edbd27350883504f3cae31900d | [
"Apache-2.0"
] | null | null | null | clients/web/app/js/controllers.js | panyam/msglib | d9d72d23d074b8edbd27350883504f3cae31900d | [
"Apache-2.0"
] | null | null | null | clients/web/app/js/controllers.js | panyam/msglib | d9d72d23d074b8edbd27350883504f3cae31900d | [
"Apache-2.0"
] | null | null | null |
var slackAppControllers = angular.module("slackAppControllers", []);
slackAppControllers.controller("ChannelListCtrl", ["$scope", "Channel", function($scope, Channel) {
$scope.channels = Channel.query();
}]);
slackAppControllers.controller("ChannelDetailsCtrl", ["$scope", "$routeParams", "Channel", function($scope,... | 34.294118 | 118 | 0.70669 |
d0ec3e0275cae7db776b279a0508c1e1a16c1596 | 504 | js | JavaScript | node_modules/purescript-psa/output/Partial.Unsafe/index.js | smaccoun/smaccoun.github.io | 92c6c0e4c7a254063d3d29989fe6fa697a43cd18 | [
"Apache-2.0"
] | 1 | 2018-07-18T08:40:50.000Z | 2018-07-18T08:40:50.000Z | node_modules/purescript-psa/output/Partial.Unsafe/index.js | smaccoun/smaccoun.github.io | 92c6c0e4c7a254063d3d29989fe6fa697a43cd18 | [
"Apache-2.0"
] | null | null | null | node_modules/purescript-psa/output/Partial.Unsafe/index.js | smaccoun/smaccoun.github.io | 92c6c0e4c7a254063d3d29989fe6fa697a43cd18 | [
"Apache-2.0"
] | null | null | null | // Generated by psc version 0.10.7
// | Utilities for working with partial functions.
"use strict";
var $foreign = require("./foreign");
var Partial = require("../Partial");
// | A function which crashes with the specified error message.
var unsafeCrashWith = function (msg) {
return $foreign.unsafePartial(functio... | 28 | 63 | 0.706349 |
d0ed4a42324246ffb087fad986ef90be51771bde | 769 | js | JavaScript | Practicas/Practica-6/Codigos/PROC_SEG_ModSecu_relI/documentacio/html/search/files_3.js | carlotacb/ACAP | 4b1fd693f67cee47ab4cc3ac72707dbc2d1fd5b8 | [
"MIT"
] | null | null | null | Practicas/Practica-6/Codigos/PROC_SEG_ModSecu_relI/documentacio/html/search/files_3.js | carlotacb/ACAP | 4b1fd693f67cee47ab4cc3ac72707dbc2d1fd5b8 | [
"MIT"
] | null | null | null | Practicas/Practica-6/Codigos/PROC_SEG_ModSecu_relI/documentacio/html/search/files_3.js | carlotacb/ACAP | 4b1fd693f67cee47ab4cc3ac72707dbc2d1fd5b8 | [
"MIT"
] | null | null | null | var searchData=
[
['deco_5fexcep_2evhd',['deco_excep.vhd',['../deco__excep_8vhd.html',1,'']]],
['decocamino_5fmodsecu_5freli_2evhd',['decocamino_ModSecu_relI.vhd',['../decocamino__ModSecu__relI_8vhd.html',1,'']]],
['decodificador_5fmodsecu_5freli_2evhd',['decodificador_ModSecu_relI.vhd',['../decodificador__ModSec... | 64.083333 | 129 | 0.710013 |