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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1a75600c62a8024ba04df9e9d61dfaa45ef911ee | 4,798 | js | JavaScript | app.js | maldicion069/HBPWebNodeJs | 708b5edbddab85755ba809026ff7718a6c2c09f9 | [
"MIT"
] | 1 | 2015-11-04T08:24:45.000Z | 2015-11-04T08:24:45.000Z | app.js | maldicion069/HBPWebNodeJs | 708b5edbddab85755ba809026ff7718a6c2c09f9 | [
"MIT"
] | null | null | null | app.js | maldicion069/HBPWebNodeJs | 708b5edbddab85755ba809026ff7718a6c2c09f9 | [
"MIT"
] | null | null | null | /*
* The MIT License (MIT)
*
* Copyright (c) 2015 maldicion069
*
* 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,... | 27.895349 | 81 | 0.705502 |
1a75a2c0e42907d28d07f4711fd5071657f9f180 | 2,102 | js | JavaScript | src/pages/contact.js | gfellah45/Portfolio | d4ab2d91a85d454a698aaf988dfacc796c7fe520 | [
"MIT"
] | null | null | null | src/pages/contact.js | gfellah45/Portfolio | d4ab2d91a85d454a698aaf988dfacc796c7fe520 | [
"MIT"
] | null | null | null | src/pages/contact.js | gfellah45/Portfolio | d4ab2d91a85d454a698aaf988dfacc796c7fe520 | [
"MIT"
] | null | null | null | import React from "react";
import { motion } from "framer-motion";
import Layout from "../components/layout";
import SEO from "../components/seo";
function ContactPage() {
return (
<Layout>
<SEO
keywords={[`gatsby`, `tailwind`, `react`, `tailwindcss`]}
title="Contact"
/>
<sectio... | 25.950617 | 156 | 0.498097 |
1a768b4fd68386f4268c5e184d92732376680f73 | 1,098 | js | JavaScript | app/components/f7-page-container.js | Bottom-Line-Software/ember-cli-framework7 | 3257fede06ffa886290cad43a23304264245db0d | [
"MIT"
] | null | null | null | app/components/f7-page-container.js | Bottom-Line-Software/ember-cli-framework7 | 3257fede06ffa886290cad43a23304264245db0d | [
"MIT"
] | null | null | null | app/components/f7-page-container.js | Bottom-Line-Software/ember-cli-framework7 | 3257fede06ffa886290cad43a23304264245db0d | [
"MIT"
] | null | null | null | import Ember from 'ember';
export default Ember.Component.extend({
classNameBindings: [':page', 'navbar:navbar-fixed', 'toolbar:toolbar-fixed'],
navbar: undefined,
toolbar: undefined,
searchBar: undefined,
/*
* Initializes a given feature by looking for the given selector within the
* page container. ... | 24.954545 | 79 | 0.628415 |
1a76994ddcfc7760a5e46704b8d1f99dbc3f91f5 | 2,616 | js | JavaScript | hearth/chessKnockout/chessKnockout.js | albseb511/fsd | fd94258e246f3fbe0cfb9aef915383d4629af7d0 | [
"MIT"
] | 52 | 2020-01-03T10:08:09.000Z | 2022-03-14T16:18:44.000Z | hearth/chessKnockout/chessKnockout.js | impcakash/fsd | fd94258e246f3fbe0cfb9aef915383d4629af7d0 | [
"MIT"
] | 1 | 2020-10-03T08:43:07.000Z | 2020-10-03T08:43:07.000Z | hearth/chessKnockout/chessKnockout.js | impcakash/fsd | fd94258e246f3fbe0cfb9aef915383d4629af7d0 | [
"MIT"
] | 18 | 2020-01-19T18:42:22.000Z | 2022-03-08T17:42:39.000Z | /*
PROBLEM STATEMENT
Points: 30
2N participants (P1 , P2 , P3 .... , P2N ) have enrolled for a knockout chess tournament. In the first round, each participant P2k-1 is to play against participant P2k, (1 ≤ k ≤ 2N-1) . Here is an example for k = 4 :
enter image description here
Some information about all the particip... | 28.434783 | 252 | 0.572248 |
1a77eb9f69584f2680c3af8215e17914d17b3dd9 | 695 | js | JavaScript | test/testcache2.js | mmaroti/tasync | 6dce4eba796703fbd965ed5b62bf7c0194dfe0e2 | [
"MIT"
] | null | null | null | test/testcache2.js | mmaroti/tasync | 6dce4eba796703fbd965ed5b62bf7c0194dfe0e2 | [
"MIT"
] | null | null | null | test/testcache2.js | mmaroti/tasync | 6dce4eba796703fbd965ed5b62bf7c0194dfe0e2 | [
"MIT"
] | null | null | null | "use strict";
var TASYNC = require("../lib/tasync");
var FS = require("fs");
(function () {
var fsReadFile = TASYNC.wrap(FS.readFile);
var lastFileName, lastFileData;
function cachedReadFile (fileName) {
if (fileName === lastFileName) {
return TASYNC.call(patch, lastFileData);
}
lastFileName = fileName;... | 18.783784 | 51 | 0.676259 |
1a784d607c52d49ccfaa997e0896a2efa92f0dc2 | 272 | js | JavaScript | packages/plugin-convert-equal-to-strict-equal/lib/convert-equal-to-strict-equal.js | sobolevn/putout | 965279977fa9aa7e522960a86793813c64af1f26 | [
"MIT"
] | 260 | 2019-01-21T21:21:09.000Z | 2022-03-28T13:06:47.000Z | packages/plugin-convert-equal-to-strict-equal/lib/convert-equal-to-strict-equal.js | sobolevn/putout | 965279977fa9aa7e522960a86793813c64af1f26 | [
"MIT"
] | 98 | 2019-04-24T12:01:35.000Z | 2022-03-31T18:38:15.000Z | packages/plugin-convert-equal-to-strict-equal/lib/convert-equal-to-strict-equal.js | sobolevn/putout | 965279977fa9aa7e522960a86793813c64af1f26 | [
"MIT"
] | 31 | 2019-02-19T14:25:40.000Z | 2022-02-12T22:20:53.000Z | 'use strict';
module.exports.report = () => 'Strict equal should be used instead of equal';
module.exports.exclude = () => [
'__ == null',
'__ != null',
];
module.exports.replace = () => ({
'__a == __b': '__a === __b',
'__a != __b': '__a !== __b',
});
| 18.133333 | 77 | 0.518382 |
1a798d4dc02eeeb1689791e9448e5ae92bfcd487 | 318 | js | JavaScript | lib/Commands/getTempHistory.js | Apollon77/ioBroker.miio | ea3054b79de99972adf9cbb540e816aeee6d2016 | [
"MIT"
] | 23 | 2019-02-18T07:40:00.000Z | 2022-02-08T07:33:30.000Z | lib/Commands/getTempHistory.js | Apollon77/ioBroker.miio | ea3054b79de99972adf9cbb540e816aeee6d2016 | [
"MIT"
] | 8 | 2019-02-18T07:31:20.000Z | 2019-06-07T17:03:50.000Z | lib/Commands/getTempHistory.js | Apollon77/ioBroker.miio | ea3054b79de99972adf9cbb540e816aeee6d2016 | [
"MIT"
] | 7 | 2019-02-25T14:50:47.000Z | 2021-04-18T21:07:10.000Z | "use strict";
const MiioCommand = require("./command");
module.exports = class GetTempHistory extends MiioCommand {
constructor() {
super("get_temp_history", {
name: "get temp history",
desc: "Retrieves a temperature history",
returnType: "object"
});
}
}; | 24.461538 | 59 | 0.58805 |
1a7a10fd233210a8b121164653bf1cb3eb425484 | 1,499 | js | JavaScript | problems/algorithms/095.unique-binary-search-trees-ii.js | yoffee-wang/leetcode | cf033b0c66548f2685f6acbbb3976b1da031553f | [
"Unlicense"
] | null | null | null | problems/algorithms/095.unique-binary-search-trees-ii.js | yoffee-wang/leetcode | cf033b0c66548f2685f6acbbb3976b1da031553f | [
"Unlicense"
] | null | null | null | problems/algorithms/095.unique-binary-search-trees-ii.js | yoffee-wang/leetcode | cf033b0c66548f2685f6acbbb3976b1da031553f | [
"Unlicense"
] | null | null | null | /**
* [中等]95. 不同的二叉搜索树 II
* https://leetcode-cn.com/problems/unique-binary-search-trees-ii/
*
*
给定一个整数 n,生成所有由 1 ... n 为节点所组成的 二叉搜索树 。
示例:
输入:3
输出:
[
[1,null,3,2],
[3,2,null,1],
[3,1,null,null,2],
[2,1,3],
[1,null,2,null,3]
]
解释:
以上的输出对应以下 5 种不同结构的二叉搜索树:
1 3 3 2 1
\ ... | 17.845238 | 66 | 0.474983 |
1a7a2227cef4c7093253fac5c62ebde5d31c1499 | 225 | js | JavaScript | monolith/sender/index.js | GeorgeNiece/fortune-cookies | d40f8f27896cc433272919b5344d61bc1974ea4d | [
"MIT"
] | 1 | 2019-10-08T16:42:33.000Z | 2019-10-08T16:42:33.000Z | monolith/sender/index.js | GeorgeNiece/fortune-cookies | d40f8f27896cc433272919b5344d61bc1974ea4d | [
"MIT"
] | null | null | null | monolith/sender/index.js | GeorgeNiece/fortune-cookies | d40f8f27896cc433272919b5344d61bc1974ea4d | [
"MIT"
] | 3 | 2019-08-13T17:04:51.000Z | 2021-01-05T08:10:15.000Z | /*
config = {
firstName:string
lastName:string
userId:string;
}
*/
const send = (config, fortune) =>{
console.log(`Greetings from ${config.firstName} ${config.lastName}: ${fortune}`);
};
module.exports = {send}; | 16.071429 | 85 | 0.644444 |
1a7d9dc9732883a0ca544a58851edeaa9b810998 | 1,493 | js | JavaScript | contributors.js | hellomykami/cbc-kitten-scientists | 489c6b268453adbc3c364c4a0cf71e04d34c493f | [
"MIT"
] | 1 | 2018-09-20T09:36:57.000Z | 2018-09-20T09:36:57.000Z | contributors.js | hellomykami/cbc-kitten-scientists | 489c6b268453adbc3c364c4a0cf71e04d34c493f | [
"MIT"
] | null | null | null | contributors.js | hellomykami/cbc-kitten-scientists | 489c6b268453adbc3c364c4a0cf71e04d34c493f | [
"MIT"
] | 2 | 2021-07-02T06:56:18.000Z | 2022-01-05T03:20:13.000Z | #!/usr/bin/env node
"use strict";
var Promise = require('bluebird');
var _ = require('lodash');
var request = Promise.promisifyAll(require('superagent'));
var staticContributors = [
{
login: 'SphtMarathon',
html_url: 'https://www.reddit.com/user/SphtMarathon'
},
{
login: 'FancyRa... | 24.47541 | 89 | 0.602813 |
1a7e705f13ebe3451663a930f879605f668906aa | 2,311 | js | JavaScript | core/ui-src/js/directives/download-nzbzip-button.js | leidolf/nzbhydra2 | b51f72edfc066df37f8eabd486d6f9a292918f1a | [
"Apache-2.0"
] | 915 | 2018-01-06T14:56:05.000Z | 2022-03-29T17:22:38.000Z | core/ui-src/js/directives/download-nzbzip-button.js | leidolf/nzbhydra2 | b51f72edfc066df37f8eabd486d6f9a292918f1a | [
"Apache-2.0"
] | 745 | 2018-01-06T14:38:28.000Z | 2022-03-26T05:06:06.000Z | core/ui-src/js/directives/download-nzbzip-button.js | leidolf/nzbhydra2 | b51f72edfc066df37f8eabd486d6f9a292918f1a | [
"Apache-2.0"
] | 85 | 2018-01-06T17:50:04.000Z | 2022-03-03T12:10:01.000Z | angular
.module('nzbhydraApp')
.directive('downloadNzbzipButton', downloadNzbzipButton);
function downloadNzbzipButton() {
return {
templateUrl: 'static/html/directives/download-nzbzip-button.html',
require: ['^searchResults'],
scope: {
searchResults: "<",
... | 41.267857 | 133 | 0.475119 |
1a7ea614f1782c5868dc2c7da1a4a5a6aefd4eb0 | 365 | js | JavaScript | bachelor-thesis/mobile/app/actions/gamesActions.js | jsimck/uni | 42ea184ccf3d9ecbffdea19b74ed13f3bc583137 | [
"MIT"
] | null | null | null | bachelor-thesis/mobile/app/actions/gamesActions.js | jsimck/uni | 42ea184ccf3d9ecbffdea19b74ed13f3bc583137 | [
"MIT"
] | null | null | null | bachelor-thesis/mobile/app/actions/gamesActions.js | jsimck/uni | 42ea184ccf3d9ecbffdea19b74ed13f3bc583137 | [
"MIT"
] | null | null | null | import API from '../services/APIService'
// Manage games actions
export const ADD_GAME = 'ADD_GAME';
export const UPDATE_GAME = 'UPDATE_GAME';
export function addGame(id, qrId) {
return {
type: ADD_GAME,
id: id,
qrId: qrId
};
}
export function updateGame(game) {
return {
t... | 18.25 | 41 | 0.610959 |
1a7f0804da7d5067e27af2a979f9774e031656c6 | 981 | js | JavaScript | src/api/system/user-manage.js | houever/mall-admin | 555d3ebf49fe56539ca635bff2bd1e58274f682d | [
"Apache-2.0"
] | null | null | null | src/api/system/user-manage.js | houever/mall-admin | 555d3ebf49fe56539ca635bff2bd1e58274f682d | [
"Apache-2.0"
] | null | null | null | src/api/system/user-manage.js | houever/mall-admin | 555d3ebf49fe56539ca635bff2bd1e58274f682d | [
"Apache-2.0"
] | null | null | null | // eslint-disable-next-line no-unused-vars
import request from '@/utils/request'
// eslint-disable-next-line no-unused-vars
import { deleteRequest, getRequest, postRequest } from '../../utils/request'
import { userApi } from '../../config/env'
// 分页列表查询
export function getUserListPage(current,size,param) {
return ge... | 23.926829 | 76 | 0.710499 |
1a7f34405d67a96f8ef5a504ddb2e23469942ea1 | 759 | js | JavaScript | src/RandomHooksFeature/index.js | manuelpuchta/react-boilerplate | 9755b8e2bb4c0b8c5486506e2b778db17bec794b | [
"MIT"
] | 2 | 2019-09-25T13:40:49.000Z | 2020-04-06T16:07:08.000Z | src/RandomHooksFeature/index.js | manuelpuchta/react-boilerplate | 9755b8e2bb4c0b8c5486506e2b778db17bec794b | [
"MIT"
] | 9 | 2021-08-16T19:42:04.000Z | 2021-08-16T19:42:17.000Z | src/RandomHooksFeature/index.js | manuelpuchta/react-boilerplate | 9755b8e2bb4c0b8c5486506e2b778db17bec794b | [
"MIT"
] | null | null | null | import React, { useState } from 'react';
import PropTypes from 'prop-types';
import { Button } from '../styles';
const RandomHooksFeature = ({ randomProp }) => {
const [count, setCount] = useState(0);
return (
<>
<h2>
<a
href="https://reactjs.org/docs/hooks-intro.html"
title=... | 21.685714 | 67 | 0.582345 |
1a7f5748844dd53be43d824aa855cbb0f240caba | 913 | js | JavaScript | examples/basic.js | jloveric/Clockmaker | 355ffc1a080e9b300be89d2a8dbfc55135b33a2e | [
"MIT"
] | 5 | 2019-12-28T04:58:48.000Z | 2021-11-20T11:46:03.000Z | examples/basic.js | jloveric/Clockmaker | 355ffc1a080e9b300be89d2a8dbfc55135b33a2e | [
"MIT"
] | 2 | 2021-02-18T05:26:23.000Z | 2021-05-10T22:05:22.000Z | examples/basic.js | jloveric/Clockmaker | 355ffc1a080e9b300be89d2a8dbfc55135b33a2e | [
"MIT"
] | 1 | 2020-12-11T14:34:55.000Z | 2020-12-11T14:34:55.000Z | let BasicBot = require('../response/PhrasexBotLib.js').BasicBot
let UserData = require('../user/UserData.js')
//fileDatabase should always be 'filesystem'
//somebotname is your bots name - anything you want, but it can't match an existing bot
//uniqueindex should be all LOWERCASE and is the name of the index in elasti... | 22.825 | 87 | 0.613363 |
1a7f699a4033ded85fe0d51180472df7d6c1f6e8 | 1,773 | js | JavaScript | src/models/user.model.js | chinhhiep996/messaging-application | 2548773c87372ec33c101add6728b7b6388d1db2 | [
"MIT"
] | null | null | null | src/models/user.model.js | chinhhiep996/messaging-application | 2548773c87372ec33c101add6728b7b6388d1db2 | [
"MIT"
] | 2 | 2021-05-10T04:10:53.000Z | 2021-09-01T20:30:15.000Z | src/models/user.model.js | chinhhiep996/messaging-application | 2548773c87372ec33c101add6728b7b6388d1db2 | [
"MIT"
] | null | null | null | import mongoose from 'mongoose';
import bcrypt from 'bcrypt';
const Schema = mongoose.Schema;
const UserSchema = new Schema({
username: String,
gender: {
type: String,
default: 'male'
},
phone: {
type: Number,
default: null
},
address: {
type: String,
default: null... | 18.861702 | 62 | 0.566272 |
1a80a3146bcad3078f54951bb84dcac448b1718a | 919 | js | JavaScript | wp-content/plugins/kali-forms/resources/assets/js/forms/components/Snackbars/CustomSnackStyles.js | anhanguera-lr/anhanguera-lr.github.io | 55f66a8b4d2c443228caf314c216ecb84918b357 | [
"CC-BY-3.0",
"MIT"
] | 3 | 2019-11-28T00:57:08.000Z | 2020-07-25T21:09:39.000Z | wp-content/plugins/kali-forms/resources/assets/js/forms/components/Snackbars/CustomSnackStyles.js | anhanguera-lr/anhanguera-lr.github.io | 55f66a8b4d2c443228caf314c216ecb84918b357 | [
"CC-BY-3.0",
"MIT"
] | null | null | null | wp-content/plugins/kali-forms/resources/assets/js/forms/components/Snackbars/CustomSnackStyles.js | anhanguera-lr/anhanguera-lr.github.io | 55f66a8b4d2c443228caf314c216ecb84918b357 | [
"CC-BY-3.0",
"MIT"
] | 2 | 2019-11-28T00:58:28.000Z | 2020-07-27T05:53:20.000Z | import { makeStyles } from '@material-ui/core/styles';
const customSnackStyles = makeStyles(theme => ({
card: {
maxWidth: 400,
minWidth: 344,
},
typography: {
fontWeight: 500,
},
actionRoot: {
padding: '8px 8px 8px 16px',
color: theme.palette.getContrastText(theme.palette.primary.main),
background: the... | 20.422222 | 67 | 0.67247 |
1a82d2417920ce17dc44ef9fa6965e34edfc1f62 | 78 | js | JavaScript | tournaments/isInfiniteProcess/isInfiniteProcess.js | gurfinkel/codeSignal | 114817947ac6311bd53a48f0f0e17c0614bf7911 | [
"MIT"
] | 5 | 2020-02-06T09:51:22.000Z | 2021-03-19T00:18:44.000Z | tournaments/isInfiniteProcess/isInfiniteProcess.js | gurfinkel/codeSignal | 114817947ac6311bd53a48f0f0e17c0614bf7911 | [
"MIT"
] | null | null | null | tournaments/isInfiniteProcess/isInfiniteProcess.js | gurfinkel/codeSignal | 114817947ac6311bd53a48f0f0e17c0614bf7911 | [
"MIT"
] | 3 | 2019-09-27T13:06:21.000Z | 2021-04-20T23:13:17.000Z | function isInfiniteProcess(a, b) {
return a > b || 1 === ((b - a) & 1);
}
| 19.5 | 40 | 0.5 |
1a8300dcbea64c817bf4f2e5954e034e45cf40e3 | 2,824 | js | JavaScript | src/app/lastweekooo.component.js | sayandg14/PVPOC | 2818ba89d471d069e39a82b6c2a93fc4146545b2 | [
"MIT"
] | null | null | null | src/app/lastweekooo.component.js | sayandg14/PVPOC | 2818ba89d471d069e39a82b6c2a93fc4146545b2 | [
"MIT"
] | null | null | null | src/app/lastweekooo.component.js | sayandg14/PVPOC | 2818ba89d471d069e39a82b6c2a93fc4146545b2 | [
"MIT"
] | null | null | null | "use strict";
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = R... | 55.372549 | 161 | 0.653329 |
1a8356c9108fe8c41829af086919b758493388b2 | 661 | js | JavaScript | gulpfile.js | carlosazaustre/note-me | cd7fe853f0c9db727bfdb971723f37bae3402ad6 | [
"MIT"
] | 2 | 2017-03-02T17:12:08.000Z | 2019-11-07T12:26:41.000Z | gulpfile.js | carlosazaustre/note-me | cd7fe853f0c9db727bfdb971723f37bae3402ad6 | [
"MIT"
] | null | null | null | gulpfile.js | carlosazaustre/note-me | cd7fe853f0c9db727bfdb971723f37bae3402ad6 | [
"MIT"
] | 3 | 2015-03-01T22:23:32.000Z | 2019-11-07T12:26:06.000Z | 'use strict';
var gulp = require('gulp');
var mocha = require('gulp-mocha');
var jshint = require('gulp-jshint');
gulp.task('lint', function() {
gulp.src(['gulpfile.js', 'server.js', './lib/**/*.js'])
.pipe(jshint())
.pipe(jshint.reporter('jshint-stylish'));
});
gulp.task('test', function() {
return gu... | 22.793103 | 65 | 0.531014 |
1a839552ea45234775766b8ccbe9fc786306455e | 355 | js | JavaScript | .storybook/main.js | LuckyFBB/vikingship-ts-antd | 09887113089c828a555098a2b17b1d60e09f830f | [
"MIT"
] | 3 | 2020-10-10T07:38:14.000Z | 2020-10-10T07:54:21.000Z | .storybook/main.js | LuckyFBB/vikingship-ts-antd | 09887113089c828a555098a2b17b1d60e09f830f | [
"MIT"
] | null | null | null | .storybook/main.js | LuckyFBB/vikingship-ts-antd | 09887113089c828a555098a2b17b1d60e09f830f | [
"MIT"
] | 1 | 2020-12-11T11:03:37.000Z | 2020-12-11T11:03:37.000Z | /*
* @Author: FBB
* @Date: 2020-09-23 13:18:11
* @LastEditors: FBB
* @LastEditTime: 2020-09-23 14:58:44
* @Description:
*/
module.exports = {
stories: ["../src/**/*.stories.mdx", "../src/**/*.stories.@(js|jsx|ts|tsx)"],
addons: [
"@storybook/addon-links",
"@storybook/addon-essentials",
"@storybook... | 22.1875 | 79 | 0.588732 |
1a84cd2dcda62d60f4e14bb35ff7d548de1d0081 | 118 | js | JavaScript | assets/built/comment.min.js | ScottHelme/scotthelme.co.uk | f1882587123930d981d1d2080baa5ee02b419448 | [
"MIT"
] | null | null | null | assets/built/comment.min.js | ScottHelme/scotthelme.co.uk | f1882587123930d981d1d2080baa5ee02b419448 | [
"MIT"
] | 2 | 2020-06-14T09:40:56.000Z | 2021-09-02T12:03:26.000Z | assets/built/comment.min.js | ScottHelme/scotthelme.co.uk | f1882587123930d981d1d2080baa5ee02b419448 | [
"MIT"
] | 2 | 2020-06-11T14:27:04.000Z | 2021-05-06T13:05:39.000Z | var disqus_identifier=document.getElementById("post_id").getAttribute("data");
//# sourceMappingURL=comment.min.js.map | 59 | 78 | 0.813559 |
1a84ffd81b526b0db5379172b1135a2b4953bb06 | 149 | js | JavaScript | src/services/user.js | sonsangsoo/uiuxft.front.dev | 0f9dadd2593fe32faa93e41526ca7e58bd6e2745 | [
"MIT"
] | null | null | null | src/services/user.js | sonsangsoo/uiuxft.front.dev | 0f9dadd2593fe32faa93e41526ca7e58bd6e2745 | [
"MIT"
] | null | null | null | src/services/user.js | sonsangsoo/uiuxft.front.dev | 0f9dadd2593fe32faa93e41526ca7e58bd6e2745 | [
"MIT"
] | null | null | null | import HTTP from '../utils/http'
export const getUser = (params) =>
HTTP.post('api/smartcntrt/cust/nameVerifyCheck', params)
// SelectDisNetwork
| 21.285714 | 58 | 0.731544 |
1a8686e2f65966ddf8268a8e91f203bede5d34fa | 63,682 | js | JavaScript | dist_testing/18.js | majiacan/admin | 7d926442a8ce6f998febc3ffa6d46e9e6ad62e74 | [
"MIT"
] | null | null | null | dist_testing/18.js | majiacan/admin | 7d926442a8ce6f998febc3ffa6d46e9e6ad62e74 | [
"MIT"
] | null | null | null | dist_testing/18.js | majiacan/admin | 7d926442a8ce6f998febc3ffa6d46e9e6ad62e74 | [
"MIT"
] | null | null | null | (this["webpackJsonp"] = this["webpackJsonp"] || []).push([[18],{
/***/ "./node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./src/views/glod/glod/glodactive.vue?vue&type=script&lang=js&":
/*!*****************... | 656.515464 | 20,602 | 0.774222 |
1a8697d4cc5c6e012650e5dcd0502127a8a0948f | 3,203 | js | JavaScript | etudes/watch_props.js | cjsequeira/creature | cf09257dae1f0d7ad80896fd1685a1f05e0cd07b | [
"MIT"
] | null | null | null | etudes/watch_props.js | cjsequeira/creature | cf09257dae1f0d7ad80896fd1685a1f05e0cd07b | [
"MIT"
] | 5 | 2021-02-18T04:00:21.000Z | 2021-04-18T17:03:27.000Z | etudes/watch_props.js | cjsequeira/creature | cf09257dae1f0d7ad80896fd1685a1f05e0cd07b | [
"MIT"
] | null | null | null | 'use strict'
// ****** Etude to experiment with watching changes on an object/property ******
// get the value at a nested property of an object
// takes:
// obj: the object to look at
// prop: the nested property, as a string, e.g. 'nest1.nest2.property'
// will also work with a non-nested property, e.g. 'toplevel... | 32.353535 | 94 | 0.556353 |
1a86e55ec49aa70f24f29ffb77f3b20193ab84d1 | 7,296 | js | JavaScript | src/app/home/views/home.view.js | 67775128/test | d1e4493a957fe9e6c1f823c25ecb2298b38523c3 | [
"MIT"
] | null | null | null | src/app/home/views/home.view.js | 67775128/test | d1e4493a957fe9e6c1f823c25ecb2298b38523c3 | [
"MIT"
] | null | null | null | src/app/home/views/home.view.js | 67775128/test | d1e4493a957fe9e6c1f823c25ecb2298b38523c3 | [
"MIT"
] | null | null | null | // 依赖
// ----------------------
/*@require home:home.less*/
/*@require ui:button.less*/
/*@require home:mustHave.less*/
// Backbone
var Backbone = require('backbone');
// 页面基类
var PageView = require('common:page.view');
var _ = require('underscore');
// 驱动视图
var DeviceView = require('home:device.view');
// 磁盘容量视图
var... | 32.140969 | 129 | 0.515625 |
1a8705cd599e1fec4cfdb6d03c53188414d76492 | 1,114 | js | JavaScript | tasks/templates.js | glennreyes/gulp-boilerplate | 170c11c04fec33d84d98ecccd4603b89d241543f | [
"MIT"
] | 2 | 2016-05-29T16:22:22.000Z | 2018-06-05T11:04:00.000Z | tasks/templates.js | glennreyes/gulp-boilerplate | 170c11c04fec33d84d98ecccd4603b89d241543f | [
"MIT"
] | null | null | null | tasks/templates.js | glennreyes/gulp-boilerplate | 170c11c04fec33d84d98ecccd4603b89d241543f | [
"MIT"
] | null | null | null | import gulp from 'gulp'
import browserSync from 'browser-sync'
import fs from 'fs'
import handlebars from 'gulp-compile-handlebars'
import plumber from 'gulp-plumber'
import rename from 'gulp-rename'
import util from 'gulp-util'
import clean from './clean'
const templates = () => {
const DATA_GLOBAL = JSON.parse(fs... | 28.564103 | 77 | 0.637343 |
1a886f212f658155362b0a1f41c831ef9e8a65f5 | 252 | js | JavaScript | src/mixins/scroll-behavior.js | Lance-Hu/vue-dev | 949d74dee4c9079b21b513fa81a2a8ef44ad6c6d | [
"MIT"
] | null | null | null | src/mixins/scroll-behavior.js | Lance-Hu/vue-dev | 949d74dee4c9079b21b513fa81a2a8ef44ad6c6d | [
"MIT"
] | null | null | null | src/mixins/scroll-behavior.js | Lance-Hu/vue-dev | 949d74dee4c9079b21b513fa81a2a8ef44ad6c6d | [
"MIT"
] | null | null | null | export default {
activated() {
const scrollTop = this.$route.meta.scrollTop
const $content = document.querySelector('.m-innerPanel-bd') // 自定义: pageView里的class
if (scrollTop && $content) {
$content.scrollTop = scrollTop
}
}
}
| 25.2 | 87 | 0.654762 |
1a8913c61ee11f39b346d9291bac0e18405a56a4 | 853 | js | JavaScript | src/screens/SignIn/index.js | NearFutureBand/react-native-saga-template | c122b7ac3bea5ef5a2bbdf3132c15296c467dab3 | [
"MIT"
] | null | null | null | src/screens/SignIn/index.js | NearFutureBand/react-native-saga-template | c122b7ac3bea5ef5a2bbdf3132c15296c467dab3 | [
"MIT"
] | 2 | 2021-05-08T09:17:54.000Z | 2021-05-10T17:39:41.000Z | src/screens/SignIn/index.js | NearFutureBand/react-native-saga-template | c122b7ac3bea5ef5a2bbdf3132c15296c467dab3 | [
"MIT"
] | null | null | null | import React, {useEffect, useState} from 'react';
import {View, Text, StyleSheet, TextInput, Button} from 'react-native';
import {useDispatch} from 'react-redux';
import {loginRequest} from 'src/actions';
const Screen1 = ({navigation}) => {
const dispatch = useDispatch();
const onDonePress = () => {
dispatch... | 20.804878 | 71 | 0.621336 |
1a89366417d79e05179b799e168ccc8e0a35c37c | 297 | js | JavaScript | public/apis/printService.js | DaniloCorvus/inventario | 7192fe2bf38299ae697a67d3bd13e062384b3b25 | [
"MIT"
] | null | null | null | public/apis/printService.js | DaniloCorvus/inventario | 7192fe2bf38299ae697a67d3bd13e062384b3b25 | [
"MIT"
] | null | null | null | public/apis/printService.js | DaniloCorvus/inventario | 7192fe2bf38299ae697a67d3bd13e062384b3b25 | [
"MIT"
] | null | null | null | const showPrintService = (id) => {
console.log('imprimiendo');
document.getElementById('formPrint').id.value = id
$('#printerModal').modal('show')
}
const showPrintServiceDetails = (id) => {
document.getElementById('formPrint').id.value = id
$('#printerModal').modal('show')
} | 29.7 | 54 | 0.659933 |
1a89c3beaa528c486555c76b8547aaaae8905046 | 17,819 | js | JavaScript | app/services/user.service.js | WesleyMarques/sc-server | 8cd3a060c73a63251863f459eda29ccd89c6e73e | [
"MIT"
] | null | null | null | app/services/user.service.js | WesleyMarques/sc-server | 8cd3a060c73a63251863f459eda29ccd89c6e73e | [
"MIT"
] | null | null | null | app/services/user.service.js | WesleyMarques/sc-server | 8cd3a060c73a63251863f459eda29ccd89c6e73e | [
"MIT"
] | null | null | null | (function() {
'use strict';
var User = require('../models/user.model');
var nodemailer = require('../../node_modules/nodemailer');
var Transaction = require('../models/transaction.model');
exports.newUser = function(request, response) {
console.log(request.body);
var user = new Use... | 90.451777 | 11,963 | 0.786015 |
1a8acb385f6845d8df18e347a5ba74e57546f4d4 | 49 | js | JavaScript | example.js | jonschlinkert/global-paths | a2c115f5703947c4bdde49dad9642fd7f66fd732 | [
"MIT"
] | 12 | 2015-07-15T06:41:30.000Z | 2021-06-30T10:48:18.000Z | example.js | jonschlinkert/global-paths | a2c115f5703947c4bdde49dad9642fd7f66fd732 | [
"MIT"
] | 7 | 2016-11-25T06:24:25.000Z | 2017-09-11T20:17:22.000Z | example.js | jonschlinkert/global-paths | a2c115f5703947c4bdde49dad9642fd7f66fd732 | [
"MIT"
] | 2 | 2016-11-25T06:01:18.000Z | 2017-02-07T20:47:44.000Z |
var paths = require('./');
console.log(paths())
| 12.25 | 26 | 0.612245 |
1a8af175e59c98464a8f067986e62a499bf0b6b0 | 1,420 | js | JavaScript | lib/analyzer.js | jimmy-collazos/analyze-css-gulp | 299728af531ecbbce3c83b380e10354f3dd5a3c6 | [
"MIT"
] | null | null | null | lib/analyzer.js | jimmy-collazos/analyze-css-gulp | 299728af531ecbbce3c83b380e10354f3dd5a3c6 | [
"MIT"
] | null | null | null | lib/analyzer.js | jimmy-collazos/analyze-css-gulp | 299728af531ecbbce3c83b380e10354f3dd5a3c6 | [
"MIT"
] | null | null | null | const analyzerCss = require('analyze-css');
const fs = require('fs');
const path = require('path');
const utils = require('./utils');
module.exports = analyzer;
function analyzer(file, options, callback) {
let contents = String(file.contents);
let analyzerCallback = options.outDiretory ? _analyzeAndSaveReport : _... | 29.583333 | 96 | 0.702113 |
1a8b372dfaa831d30b62ec2dca1bf98bdb6960de | 392 | js | JavaScript | resources/assets/spa/js/spa.js | claytongf/codefin | dd57fce84853b3ac11a458431f7062b7f887d7df | [
"MIT"
] | 1 | 2017-10-22T14:36:28.000Z | 2017-10-22T14:36:28.000Z | resources/assets/spa/js/spa.js | claytongf/codefin | dd57fce84853b3ac11a458431f7062b7f887d7df | [
"MIT"
] | null | null | null | resources/assets/spa/js/spa.js | claytongf/codefin | dd57fce84853b3ac11a458431f7062b7f887d7df | [
"MIT"
] | null | null | null | import LocalStorage from './services/localStorage';
import appConfig from './services/appConfig';
require('materialize-css');
window.Vue = require('vue');
require('vue-resource');
Vue.http.options.root = appConfig.api_url;
require('./services/interceptors');
require('./router');
// LocalStorage.setObject('user', {na... | 28 | 60 | 0.72449 |
1a8ba0ae8b4a63784424c85afe5a71106b3ce41f | 4,355 | js | JavaScript | web/src/pages/Login/index.js | fernandonetom/api-iot-iluminacao-public | c73a6ae2836ec61c36b9139f24e2bea8cf0c89c7 | [
"MIT"
] | null | null | null | web/src/pages/Login/index.js | fernandonetom/api-iot-iluminacao-public | c73a6ae2836ec61c36b9139f24e2bea8cf0c89c7 | [
"MIT"
] | null | null | null | web/src/pages/Login/index.js | fernandonetom/api-iot-iluminacao-public | c73a6ae2836ec61c36b9139f24e2bea8cf0c89c7 | [
"MIT"
] | null | null | null | import React, { useContext, useState } from "react";
import {
Container,
LeftSection,
RightSection,
LogoSection,
TextLoginType,
LogoText,
FormSection,
FormInput,
SubmitButtom,
ForgotPass,
ChangeLogin,
ErrorBox,
} from "./styles";
import Input from "../../components/Input";
import Checkbox from "... | 34.023438 | 77 | 0.453961 |
1a8ea5c137cc471d86a9554d787fdb242aa6544f | 489 | js | JavaScript | packages/@mdpress/core/lib/client/components/Content.js | docschina/mdpress | d75662e7283e35883630e0991611480964a5d6e3 | [
"MIT"
] | 8 | 2021-01-28T02:35:26.000Z | 2021-11-09T10:43:13.000Z | packages/@mdpress/core/lib/client/components/Content.js | docschina/mdpress | d75662e7283e35883630e0991611480964a5d6e3 | [
"MIT"
] | 2 | 2021-05-05T11:54:37.000Z | 2021-05-16T09:05:42.000Z | packages/@mdpress/core/lib/client/components/Content.js | docschina/mdpress | d75662e7283e35883630e0991611480964a5d6e3 | [
"MIT"
] | null | null | null | import React from 'react';
import useData from '../hooks/data';
import pages from '@internal/page-components';
import { setGlobalInfo } from '@app/util';
import '../style/content.styl';
export default function Content(props) {
const { $page } = useData();
const { pageKey = $page.key,className,slotKey = 'default' }... | 32.6 | 70 | 0.685072 |
1a8f6c6753ede16aef8f9266083a4a5ce353abb6 | 1,296 | js | JavaScript | src/screens/Perfil/styles.js | ouvidor/mobile | e48531bd6ec71bee3397223626541e5e5ede5dcd | [
"MIT"
] | null | null | null | src/screens/Perfil/styles.js | ouvidor/mobile | e48531bd6ec71bee3397223626541e5e5ede5dcd | [
"MIT"
] | 1 | 2021-05-11T01:05:19.000Z | 2021-05-11T01:05:19.000Z | src/screens/Perfil/styles.js | ouvidor/mobile | e48531bd6ec71bee3397223626541e5e5ede5dcd | [
"MIT"
] | null | null | null | /* eslint-disable react/prop-types */
import styled from 'styled-components';
import colors from '../../utils/colors';
import { Text } from '../../components';
const { globalColors } = colors;
export const OuterContainer = styled.View`
padding: 10px;
flex: 1;
justify-content: space-between;
`;
export const Ti... | 20.25 | 52 | 0.682099 |
1a8fb0fbbdf445c1d64e8fb20d6f38d8ff5abf1c | 1,276 | js | JavaScript | source/app/components/_common/production/exception-handler.decorator.spec.js | yperevoznikov/angular1-webpack-starter | 4ae184eedc9761064dc475093e86a6f7d80c6b58 | [
"MIT"
] | 176 | 2015-11-27T01:40:13.000Z | 2020-09-23T20:33:46.000Z | source/app/components/_common/production/exception-handler.decorator.spec.js | yperevoznikov/angular1-webpack-starter | 4ae184eedc9761064dc475093e86a6f7d80c6b58 | [
"MIT"
] | 19 | 2015-10-14T13:49:15.000Z | 2017-08-23T12:58:10.000Z | source/app/components/_common/production/exception-handler.decorator.spec.js | yperevoznikov/angular1-webpack-starter | 4ae184eedc9761064dc475093e86a6f7d80c6b58 | [
"MIT"
] | 64 | 2016-03-21T03:39:19.000Z | 2019-07-18T01:32:53.000Z | import exceptionHandlerDecorator from './exception-handler.decorator';
describe('ExceptionHandler Decorator', () => {
let Logger;
let $timeout;
// module defination, module load
beforeEach(() => {
angular.module('test', [])
.config(($provide) => {
$provide.decorator... | 28.355556 | 83 | 0.533699 |
1a906d2dad347c53519ddcec3bad209eff1451d8 | 773 | js | JavaScript | client/src/app/components/tvSeason/factory.js | GuiNaud/waww | 080cfa389e6ad4eb8d85509ddc34213929448fc0 | [
"MIT"
] | null | null | null | client/src/app/components/tvSeason/factory.js | GuiNaud/waww | 080cfa389e6ad4eb8d85509ddc34213929448fc0 | [
"MIT"
] | null | null | null | client/src/app/components/tvSeason/factory.js | GuiNaud/waww | 080cfa389e6ad4eb8d85509ddc34213929448fc0 | [
"MIT"
] | null | null | null | (function() {
'use strict';
function TvSeasonService($http, $log) {
var service = {};
service.seasontv = [];
var key = 'bb7f1b623e15f1c323072c6f2c7c8a2d';
service.getOneSeason = function(tvID, season){
return $http.get('http://api.themoviedb.org/3/tv/' + tvID + '/... | 24.935484 | 93 | 0.468305 |
1a915f327ce736c5bd0958c766b9835c27c38193 | 799 | js | JavaScript | js/components/oppfolgingsplan/arbeidsoppgaver/ArbeidsoppgaverInfoboks.js | navikt/oppfolgingsplan | 0d94537f1b1f0571b3da4e43e36b069a75b0139c | [
"MIT"
] | null | null | null | js/components/oppfolgingsplan/arbeidsoppgaver/ArbeidsoppgaverInfoboks.js | navikt/oppfolgingsplan | 0d94537f1b1f0571b3da4e43e36b069a75b0139c | [
"MIT"
] | 37 | 2020-07-07T10:29:54.000Z | 2021-09-29T07:00:09.000Z | js/components/oppfolgingsdialog/utfylling/arbeidsoppgaver/ArbeidsoppgaverInfoboks.js | navikt/oppfolgingsplanarbeidsgiver | bd4665a62b5c365ff283be0165e7e67acbd86baf | [
"MIT"
] | null | null | null | import React from 'react';
import PropTypes from 'prop-types';
import { Knapp } from 'nav-frontend-knapper';
const tekster = {
knapp: '+ Legg til ny arbeidsoppgave',
};
const ArbeidsoppgaverInfoboks = ({ children, tittel, visSkjema, toggleSkjema }) => {
return (
<div className="arbeidsoppgaverInfoboks">
... | 22.194444 | 84 | 0.613267 |
1a9199f781b67931be859ad81f6071b47816dcc7 | 979 | js | JavaScript | web/gatsby-config.js | kmelve/lisemdressage | 7d135dc2c8867bbd3f9dfed261b3ef30a28e1576 | [
"CECILL-B"
] | null | null | null | web/gatsby-config.js | kmelve/lisemdressage | 7d135dc2c8867bbd3f9dfed261b3ef30a28e1576 | [
"CECILL-B"
] | 42 | 2019-06-09T13:13:32.000Z | 2022-02-26T09:31:31.000Z | web/gatsby-config.js | kmelve/lisemdressage | 7d135dc2c8867bbd3f9dfed261b3ef30a28e1576 | [
"CECILL-B"
] | null | null | null | const { api: { projectId, dataset } } = require('../studio/sanity.json')
require('dotenv').config()
module.exports = {
siteMetadata: {
siteUrl: `https://www.lisemdressage.no`
},
plugins: [
'gatsby-plugin-postcss',
'gatsby-plugin-react-helmet',
`gatsby-plugin-sitemap`,
{
resolve: `gatsb... | 25.102564 | 72 | 0.586313 |
1a91b4f9fe16db860ffb36b21f70cd298fb7ff30 | 724 | js | JavaScript | plugins/hangang.js | ChalkPE/welcomes | 6703e2e8a0e01a72dd6bea606195c806b0b1be17 | [
"MIT"
] | 5 | 2017-05-29T09:58:41.000Z | 2021-02-21T19:56:57.000Z | plugins/hangang.js | ChalkPE/welcomes | 6703e2e8a0e01a72dd6bea606195c806b0b1be17 | [
"MIT"
] | null | null | null | plugins/hangang.js | ChalkPE/welcomes | 6703e2e8a0e01a72dd6bea606195c806b0b1be17 | [
"MIT"
] | null | null | null | const axios = require('axios')
const defaultServer = 'http://hangang.dkserver.wo.tc'
// 섭씨 20도 이상이면 초록, 10도 이상이면 청록, 그 아래는 파랑
const waterColour = t => t >= 20 ? 'green' : t >= 10 ? 'cyan' : 'blue'
module.exports = async argv => {
const options = {
method: 'get',
timeout: argv.timeout || 0,
url: argv.my.... | 24.965517 | 70 | 0.610497 |
1a92b91aaa7f5414cca93a6ac4659589d99a59ef | 31,497 | js | JavaScript | app/Main.js | Esri/3d-viewer | fb0dd215fbd89b776df6a47478e2e01002b1228f | [
"Apache-2.0"
] | 2 | 2021-03-04T14:30:50.000Z | 2021-11-08T05:00:35.000Z | app/Main.js | Esri/3d-viewer | fb0dd215fbd89b776df6a47478e2e01002b1228f | [
"Apache-2.0"
] | 1 | 2021-01-19T17:10:54.000Z | 2021-01-19T17:27:58.000Z | app/Main.js | Esri/3d-viewer | fb0dd215fbd89b776df6a47478e2e01002b1228f | [
"Apache-2.0"
] | 3 | 2021-03-20T00:26:32.000Z | 2021-07-22T23:17:02.000Z | // Copyright 2020 Esri
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
// Unless required by applicable law or agreed to in writing, software
... | 68.770742 | 458 | 0.485792 |
1a92bc453d45c3c54cd62e2c89bb0d49330d8308 | 333 | js | JavaScript | lib/ARIAChecked.js | aristov/ariamodule | a964f072baad703baed1d4efac86f1f239617af7 | [
"MIT"
] | 1 | 2020-08-05T23:11:23.000Z | 2020-08-05T23:11:23.000Z | lib/ARIAChecked.js | aristov/ariamodule | a964f072baad703baed1d4efac86f1f239617af7 | [
"MIT"
] | 1 | 2021-03-08T21:19:45.000Z | 2021-03-08T21:19:45.000Z | lib/ARIAChecked.js | aristov/ariamodule | a964f072baad703baed1d4efac86f1f239617af7 | [
"MIT"
] | null | null | null | import { ARIATypeTristate } from './ARIATypeTristate'
/**
* Indicates the current "checked" state of checkboxes,
* radio buttons, and other widgets.
* @see https://www.w3.org/TR/wai-aria-1.1/#aria-checked
*/
export class ARIAChecked extends ARIATypeTristate {
}
/**
* @alias ARIAChecked
*/
export { ARIAChecked ... | 22.2 | 56 | 0.711712 |
1a960f3791405494baea43467b881f122191c5e9 | 41 | js | JavaScript | src/components/PageExcerpt/index.js | metamn/gatsby-starter-mrui | a3e54c0c60e8e19c9081e72a8be8873a03116e22 | [
"MIT"
] | null | null | null | src/components/PageExcerpt/index.js | metamn/gatsby-starter-mrui | a3e54c0c60e8e19c9081e72a8be8873a03116e22 | [
"MIT"
] | null | null | null | src/components/PageExcerpt/index.js | metamn/gatsby-starter-mrui | a3e54c0c60e8e19c9081e72a8be8873a03116e22 | [
"MIT"
] | null | null | null | export { default } from "./PageExcerpt";
| 20.5 | 40 | 0.682927 |
1a96e58815adc3f620b61b8e818122b6233c15bc | 3,596 | js | JavaScript | oneClickRate/App.js | qirh/one_click_rate | bb7fddf42d9d73123cf4db49229dc8e68321b129 | [
"MIT"
] | 1 | 2018-02-26T18:49:12.000Z | 2018-02-26T18:49:12.000Z | oneClickRate/App.js | qirh/profHacksTakeTwo | bb7fddf42d9d73123cf4db49229dc8e68321b129 | [
"MIT"
] | null | null | null | oneClickRate/App.js | qirh/profHacksTakeTwo | bb7fddf42d9d73123cf4db49229dc8e68321b129 | [
"MIT"
] | null | null | null |
import React, { Component } from 'react';
import { AppRegistry, Image, Button, Text, Alert, View, TouchableOpacity, ImageBackground, StyleSheet } from 'react-native';
export default class ratingApp extends Component {
constructor(){
super();
this.state = {
counter: 0,
num: 0
}
}
rende... | 31.269565 | 176 | 0.598999 |
1a973cb1d7bf579c198aa699a9999b0acbbe1c92 | 1,840 | js | JavaScript | react_wd_front/src/asynchronous/counter.js | Green-Pea-Ai/WD_Video_React | 7a8f6068f03f2513415999384215981aeef57a62 | [
"MIT"
] | null | null | null | react_wd_front/src/asynchronous/counter.js | Green-Pea-Ai/WD_Video_React | 7a8f6068f03f2513415999384215981aeef57a62 | [
"MIT"
] | null | null | null | react_wd_front/src/asynchronous/counter.js | Green-Pea-Ai/WD_Video_React | 7a8f6068f03f2513415999384215981aeef57a62 | [
"MIT"
] | null | null | null | // 파일명 만들 때 클래스는 대문자로 function은 소문자로 만든다.
import { createAction, handleActions } from 'redux-actions'
import { delay, put, takeLatest, select, throttle } from 'redux-saga/effects'
//mutation type 지정하는 곳
const INCREASE = 'counter/INCREASE'
const DECREASE = 'counter/DECREASE'
const INCREASE_ASYNC = 'counter/INCREASE_AS... | 28.307692 | 77 | 0.690217 |
1a9825e7a0b4d9ad7122b61fce5d3b711bda2661 | 4,753 | js | JavaScript | devel/share/gennodejs/ros/robotnik_msgs/msg/BatteryDockingStatusStamped.js | Jam-cpu/Masters-Project---Final | 0b266b1f117a579b96507249f0a128d0e3cc082a | [
"BSD-3-Clause-Clear"
] | null | null | null | devel/share/gennodejs/ros/robotnik_msgs/msg/BatteryDockingStatusStamped.js | Jam-cpu/Masters-Project---Final | 0b266b1f117a579b96507249f0a128d0e3cc082a | [
"BSD-3-Clause-Clear"
] | null | null | null | devel/share/gennodejs/ros/robotnik_msgs/msg/BatteryDockingStatusStamped.js | Jam-cpu/Masters-Project---Final | 0b266b1f117a579b96507249f0a128d0e3cc082a | [
"BSD-3-Clause-Clear"
] | null | null | null | // Auto-generated. Do not edit!
// (in-package robotnik_msgs.msg)
"use strict";
const _serializer = _ros_msg_utils.Serialize;
const _arraySerializer = _serializer.Array;
const _deserializer = _ros_msg_utils.Deserialize;
const _arrayDeserializer = _deserializer.Array;
const _finder = _ros_msg_utils.Find;
const _getB... | 32.554795 | 96 | 0.666106 |
b4adca09b6975b90ed44ddf08573361eb4caa70e | 2,341 | js | JavaScript | src/controls/TextInput.js | maierfelix/gown.js | ae7efe333d9b6e215453393c01adfd5a469eeff5 | [
"Apache-2.0"
] | null | null | null | src/controls/TextInput.js | maierfelix/gown.js | ae7efe333d9b6e215453393c01adfd5a469eeff5 | [
"Apache-2.0"
] | null | null | null | src/controls/TextInput.js | maierfelix/gown.js | ae7efe333d9b6e215453393c01adfd5a469eeff5 | [
"Apache-2.0"
] | 1 | 2019-05-09T01:51:50.000Z | 2019-05-09T01:51:50.000Z | var InputControl = require('./InputControl'),
InputWrapper = require('../utils/InputWrapper'),
position = require('../utils/position');
/**
* The basic Text Input - based on PIXI.Input Input by Sebastian Nette,
* see https://github.com/SebastianNette/PIXI.Input
*
* @class TextInput
* @extends GOWN.InputCon... | 28.901235 | 79 | 0.674071 |
b4ae874621bc41f7078fdb5f35f6f596f56ca9bc | 25,455 | js | JavaScript | view/listComponentView.js | sabicalija/WebACS | fb10ba49348c8bd5ad67a26c16f04313f5b81774 | [
"Apache-2.0"
] | 2 | 2017-09-11T20:33:21.000Z | 2022-02-28T09:16:04.000Z | view/listComponentView.js | sabicalija/WebACS | fb10ba49348c8bd5ad67a26c16f04313f5b81774 | [
"Apache-2.0"
] | 46 | 2017-07-14T06:09:31.000Z | 2020-06-05T10:49:56.000Z | view/listComponentView.js | sabicalija/WebACS | fb10ba49348c8bd5ad67a26c16f04313f5b81774 | [
"Apache-2.0"
] | 3 | 2016-12-07T21:04:14.000Z | 2019-11-02T13:59:44.000Z | /*
* AsTeRICS - Assistive Technology Rapid Integration and Construction Set (http://www.asterics.org)
*
*
* Y88b d88P 888 d8888 .d8888b. .d8888b.
* Y88b d88P 888 d88888 d88P Y88b d88P Y88b
* Y88b d88P 888... | 47.226345 | 264 | 0.608564 |
b4afd54556d35b07aff99f6bb621496ecb7dc061 | 1,410 | js | JavaScript | src/queries/index.js | ConstableBrew/EarthCoreRL | badb2cfb2e5793a3413c4e76b8ac8c15b56d177d | [
"MIT"
] | 1 | 2020-11-07T19:31:35.000Z | 2020-11-07T19:31:35.000Z | src/queries/index.js | ConstableBrew/EarthCoreRL | badb2cfb2e5793a3413c4e76b8ac8c15b56d177d | [
"MIT"
] | null | null | null | src/queries/index.js | ConstableBrew/EarthCoreRL | badb2cfb2e5793a3413c4e76b8ac8c15b56d177d | [
"MIT"
] | null | null | null | import {ecs} from 'src/state';
import {
Appearance,
IsBlocking,
IsInFov,
IsOpaque,
IsRevealed,
MoveTo,
Position,
BackgroundLayer,
TerrainLayer,
MarkingsLayer,
ItemsLayer,
ActorsLayer,
UILayer,
} from 'src/components';
export const backgroundLayerEntities = ecs.crea... | 21.363636 | 56 | 0.686525 |
b4b08c78e1131ea09a9c8a7cc59edb2973eb81d2 | 396 | js | JavaScript | routes/api/index.js | kvlin/PurchaseOrder-Generator | e85f3a56c783bd73a947c2c9d846e9121208992a | [
"MIT"
] | null | null | null | routes/api/index.js | kvlin/PurchaseOrder-Generator | e85f3a56c783bd73a947c2c9d846e9121208992a | [
"MIT"
] | 10 | 2021-04-29T11:06:25.000Z | 2021-05-15T03:27:12.000Z | routes/api/index.js | kvlin/PurchaseOrder-Generator | e85f3a56c783bd73a947c2c9d846e9121208992a | [
"MIT"
] | null | null | null | const router = require('express').Router()
const productRoutes = require('./products')
const userRoutes = require('./user')
const vendorsRoutes = require('./vendors')
const posRoutes = require('./purchaseOrders')
// Product routes
router.use('/products', productRoutes)
router.use('/user', userRoutes)
router.use('/vend... | 28.285714 | 45 | 0.737374 |
b4b164f4850a5eeaaea5e36c5870477b4bdcd746 | 4,692 | js | JavaScript | static/scripts/home.js | HausCloud/HausCloud-Portfolio | b55838f9dbca9ec2cf8b292870047e1b6d1018b5 | [
"MIT"
] | 1 | 2020-09-04T00:15:07.000Z | 2020-09-04T00:15:07.000Z | static/scripts/home.js | HausCloud/HausCloud-Portfolio | b55838f9dbca9ec2cf8b292870047e1b6d1018b5 | [
"MIT"
] | 1 | 2021-04-11T04:38:40.000Z | 2021-04-11T04:38:40.000Z | static/scripts/home.js | HausCloud/HausCloud-Portfolio | b55838f9dbca9ec2cf8b292870047e1b6d1018b5 | [
"MIT"
] | null | null | null | window.addEventListener('DOMContentLoaded', function () {
/* Typed.js for title */
var options = {
strings: ['Software Engineer', 'Eternal Student', 'Gamer', 'Lofi Addict', 'Anime Lover'],
typeSpeed: 60,
backspeed: 40,
loop: true,
};
var obj = {
0: ['Command inter... | 49.389474 | 509 | 0.649403 |
b4b20cf90b8dba0aee6b58da454f782a0682e9ff | 40 | js | JavaScript | src/js_wala/normalizer/test/data/test53.js | sch8906/static-dom-anlaysis | 840109a582e044ff2a4b0ab70f50369941a3c09d | [
"MIT"
] | 7 | 2018-01-18T10:31:24.000Z | 2021-06-29T07:16:44.000Z | src/js_wala/normalizer/test/data/test53.js | sch8906/static-dom-anlaysis | 840109a582e044ff2a4b0ab70f50369941a3c09d | [
"MIT"
] | 3 | 2016-06-29T20:53:52.000Z | 2017-05-14T06:01:20.000Z | src/js_wala/normalizer/test/data/test53.js | sch8906/static-dom-anlaysis | 840109a582e044ff2a4b0ab70f50369941a3c09d | [
"MIT"
] | 1 | 2019-02-20T13:34:59.000Z | 2019-02-20T13:34:59.000Z | (function(i) {
return i++, 42;
})(); | 13.333333 | 19 | 0.45 |
b4b25b0d5b25638936e6f843f779949a55b6081d | 714 | js | JavaScript | lib/satcat.js | jhermsmeier/node-satcat | 0e89737f1983646b14abf257c139568a1c482f9e | [
"MIT"
] | 4 | 2017-03-10T09:20:04.000Z | 2019-04-04T02:46:32.000Z | lib/satcat.js | jhermsmeier/node-satcat | 0e89737f1983646b14abf257c139568a1c482f9e | [
"MIT"
] | null | null | null | lib/satcat.js | jhermsmeier/node-satcat | 0e89737f1983646b14abf257c139568a1c482f9e | [
"MIT"
] | 1 | 2019-10-22T10:00:09.000Z | 2019-10-22T10:00:09.000Z | var stream = require( 'stream' )
class SatCat extends stream.Transform {
/**
* SatCat constructor
* @extends {stream.Transform}
* @param {Object} [options]
*/
constructor( options ) {
options = options || {}
options.readableObjectMode = true
super( options )
this._stringBuffer = ''
}... | 18.307692 | 58 | 0.610644 |
b4b3264f3a63f174acd6b9c9fbbdfbb2f952a43d | 108 | js | JavaScript | src/components/Form/index.js | barumel/ultritium-game-server-client | 34e35b2e1b943fd10bb2e9e1d3898f03232dad85 | [
"MIT"
] | null | null | null | src/components/Form/index.js | barumel/ultritium-game-server-client | 34e35b2e1b943fd10bb2e9e1d3898f03232dad85 | [
"MIT"
] | null | null | null | src/components/Form/index.js | barumel/ultritium-game-server-client | 34e35b2e1b943fd10bb2e9e1d3898f03232dad85 | [
"MIT"
] | null | null | null | export { default as TextInput } from './TextInput';
export { default as NumberInput } from './NumberInput';
| 36 | 55 | 0.722222 |
b4b52c015523c5a3ded01cd40f42915f33749434 | 1,326 | js | JavaScript | module-tools/readPom.js | MangoAutomation/mango-module-tools | a010261b1d77aa2325a41d23e875fc31e60501dc | [
"Apache-2.0"
] | 1 | 2020-10-10T06:34:23.000Z | 2020-10-10T06:34:23.000Z | module-tools/readPom.js | MangoAutomation/mango-module-tools | a010261b1d77aa2325a41d23e875fc31e60501dc | [
"Apache-2.0"
] | 10 | 2021-11-08T17:44:17.000Z | 2021-12-16T23:50:15.000Z | module-tools/readPom.js | infiniteautomation/node-mango-module-tools | a010261b1d77aa2325a41d23e875fc31e60501dc | [
"Apache-2.0"
] | 1 | 2020-06-20T06:48:55.000Z | 2020-06-20T06:48:55.000Z | /**
* Copyright 2020 Infinite Automation Systems Inc.
* http://infiniteautomation.com/
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
... | 33.15 | 75 | 0.588235 |
b4b845e267520e4daaf64bedf0172a1336e846ef | 463 | js | JavaScript | src/bin/index.js | artdecocode/transfer | 264fd73a2a03c6a2a3ac50ad5550027292f457e8 | [
"MIT"
] | 1 | 2018-06-26T06:58:42.000Z | 2018-06-26T06:58:42.000Z | src/bin/index.js | artdecocode/transfer | 264fd73a2a03c6a2a3ac50ad5550027292f457e8 | [
"MIT"
] | null | null | null | src/bin/index.js | artdecocode/transfer | 264fd73a2a03c6a2a3ac50ad5550027292f457e8 | [
"MIT"
] | null | null | null | #!/usr/bin/env node
import { addOwner, removeOwner } from '../lib'
import { resolve } from 'path'
const newOwner = 'artdecocode'
let name
try {
const p = resolve(process.cwd(), 'package.json')
;({ name } = require(p))
} catch (err) {
console.log('Could not find name from the package.json')
process.exit(1)
}
... | 21.045455 | 58 | 0.652268 |
b4b846e2b4911d93327ca80a8ba932111ebc4562 | 381 | js | JavaScript | JavaScript/controle/breakcontinue.js | Rebeca-Ismirna/Full-Stack-Learn | 8121150501510b4a65983e3692e4e102028c242f | [
"MIT"
] | null | null | null | JavaScript/controle/breakcontinue.js | Rebeca-Ismirna/Full-Stack-Learn | 8121150501510b4a65983e3692e4e102028c242f | [
"MIT"
] | null | null | null | JavaScript/controle/breakcontinue.js | Rebeca-Ismirna/Full-Stack-Learn | 8121150501510b4a65983e3692e4e102028c242f | [
"MIT"
] | null | null | null | const num = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
for(x in num) {
if (x ==5) {
break
}
console.log(`${x} = ${num[x]}`)
}
for (y in num) {
if (y ==5) {
continue
}
console.log(`${y} = ${num[y]}`)
}
// label:
externo:
for (a in num) {
for (b in num) {
if(a == 2 && b == 3)... | 15.24 | 43 | 0.396325 |
b4b94efada47cf146f22d32fa907918c15d05ee1 | 3,645 | js | JavaScript | src/shared/components/addon/maps/marker.js | lancetw/react-isomorphic-bundle | 4b137e4a42aee6d98115b2ad1546ccba74d94098 | [
"MIT"
] | 59 | 2015-07-08T17:40:10.000Z | 2020-12-07T08:45:27.000Z | src/shared/components/addon/maps/marker.js | lancetw/react-isomorphic-bundle | 4b137e4a42aee6d98115b2ad1546ccba74d94098 | [
"MIT"
] | 13 | 2015-07-09T08:35:05.000Z | 2022-02-10T15:50:19.000Z | src/shared/components/addon/maps/marker.js | lancetw/react-isomorphic-bundle | 4b137e4a42aee6d98115b2ad1546ccba74d94098 | [
"MIT"
] | 11 | 2015-07-12T06:48:28.000Z | 2019-06-27T15:30:25.000Z | import React, { Component, PropTypes } from 'react'
import shouldPureComponentUpdate from 'react-pure-render/function'
import classNames from 'classnames'
import { toShortDate } from 'shared/utils/date-utils'
import { tongwenAutoStr } from 'shared/utils/tongwen'
export default class Marker extends Component {
stati... | 30.889831 | 102 | 0.563512 |
b4baa55140b2a901255d5af895aa142e62f73554 | 708 | js | JavaScript | example-factory.js | bseib/drag-drop-flexbox | 4e6f789f4f0d66f77d951c8c614cd1794e939d0c | [
"MIT"
] | 3 | 2021-01-09T01:24:24.000Z | 2021-07-09T14:46:20.000Z | example-factory.js | bseib/drag-drop-flexbox | 4e6f789f4f0d66f77d951c8c614cd1794e939d0c | [
"MIT"
] | null | null | null | example-factory.js | bseib/drag-drop-flexbox | 4e6f789f4f0d66f77d951c8c614cd1794e939d0c | [
"MIT"
] | null | null | null | window.exampleFactory = (function() {
return {
'create': function(name) {
var pub = {
world: "hello " + name,
};
var me = {
justme: "can't see me " + name,
};
me.callMeMaybe = function() {
console.log("calling callMeMaybe: " + me.justme);
};
... | 21.454545 | 57 | 0.512712 |
b4bb23c2b1dbfbbe85f2db0876ca87fd975c1331 | 1,008 | js | JavaScript | core/runtime/test/mixin.test.js | bstefanescu/qutejs | 609a4ba26cc0f87bb363f892d97abc9948ef40ce | [
"MIT"
] | 2 | 2020-01-02T19:46:08.000Z | 2020-01-22T20:53:00.000Z | core/runtime/test/mixin.test.js | bstefanescu/qutejs | 609a4ba26cc0f87bb363f892d97abc9948ef40ce | [
"MIT"
] | 5 | 2020-05-08T19:31:53.000Z | 2020-09-06T13:57:27.000Z | core/runtime/test/mixin.test.js | bstefanescu/qutejs | 609a4ba26cc0f87bb363f892d97abc9948ef40ce | [
"MIT"
] | null | null | null | import assert from 'assert';
import window from '@qutejs/window';
import Qute from '..';
const TestMixin = Qute(function() {
var h1 = window.document.createElement('h1');
h1.textContent = 'Test Mixins';
return h1;
}, {});
TestMixin.mixin({
addMixin1Class() {
this.$el.className = 'mixin1';
... | 26.526316 | 72 | 0.599206 |
b4bb3fcb58f109d6296821ec906c6101f919bee9 | 950 | js | JavaScript | src/Auth.redux.js | q1w2e3r4wwww/react_demo1 | 2891bd16dbaeee6bbb3343868c9c2e6a21df08fc | [
"MIT"
] | null | null | null | src/Auth.redux.js | q1w2e3r4wwww/react_demo1 | 2891bd16dbaeee6bbb3343868c9c2e6a21df08fc | [
"MIT"
] | null | null | null | src/Auth.redux.js | q1w2e3r4wwww/react_demo1 | 2891bd16dbaeee6bbb3343868c9c2e6a21df08fc | [
"MIT"
] | null | null | null | import axios from 'axios'
const LOGIN = 'LOGIN';
const LOGOUT = 'LOGOUT';
const USER_DATA = 'USER_DATA';
// reducer
const userState = {
isAuth:false,
name:"王涛",
age:24
}
export function auth(state = userState,action) {
switch (action.type) {
case LOGIN:
return {...state, isAuth:true}... | 22.093023 | 49 | 0.56 |
b4bb4555143804100cbc447a7e961640ceb49991 | 370 | js | JavaScript | examples/login-api/controller/create_token.js | DeveshPankaj/node-api | 2f9db294767351e69db148d9088a0d37cda5e013 | [
"MIT"
] | null | null | null | examples/login-api/controller/create_token.js | DeveshPankaj/node-api | 2f9db294767351e69db148d9088a0d37cda5e013 | [
"MIT"
] | null | null | null | examples/login-api/controller/create_token.js | DeveshPankaj/node-api | 2f9db294767351e69db148d9088a0d37cda5e013 | [
"MIT"
] | null | null | null | // Imports
// Class
class GetToken {
constructor(platform, req, res) {
this.platform = platform
this.req = req
this.res = res
}
main (input, resolve, reject) {
resolve({token: "123"})
}
destroy () {
}
}
// Input
GetToken.input = ({
name: 'string',
password: 'string'
})
// Output
GetToken.output = ... | 11.5625 | 34 | 0.616216 |
b4bc19dd56b4e2a14b37498a231f0e00e70825f1 | 2,501 | js | JavaScript | src/chrome-extension/background.js | mynaparrot/plugNmeet-recorder | 832934aca85b3e157d5979a5a86258683f73da42 | [
"MIT"
] | null | null | null | src/chrome-extension/background.js | mynaparrot/plugNmeet-recorder | 832934aca85b3e157d5979a5a86258683f73da42 | [
"MIT"
] | null | null | null | src/chrome-extension/background.js | mynaparrot/plugNmeet-recorder | 832934aca85b3e157d5979a5a86258683f73da42 | [
"MIT"
] | null | null | null | // eslint-disable-next-line @typescript-eslint/no-unused-vars
/* global chrome, navigator, MediaRecorder, FileReader */
let recorder = null;
let ws;
let closeByCmd = false;
chrome.runtime.onConnect.addListener((port) => {
port.onMessage.addListener((msg) => {
switch (msg.type) {
case 'START_WEBSOCKET':
... | 24.519608 | 76 | 0.530588 |
b4bc8e74fd97ac1a8e382c0202f63cfe79be35f5 | 1,298 | js | JavaScript | src/reducers/TeamReducer.js | renerbaffa/315-app | fdedb6f3c81c88f00adbd20659e032b51b00ca41 | [
"MIT"
] | null | null | null | src/reducers/TeamReducer.js | renerbaffa/315-app | fdedb6f3c81c88f00adbd20659e032b51b00ca41 | [
"MIT"
] | 10 | 2019-03-11T21:45:54.000Z | 2019-03-23T16:13:27.000Z | src/reducers/TeamReducer.js | renerbaffa/315-app | fdedb6f3c81c88f00adbd20659e032b51b00ca41 | [
"MIT"
] | null | null | null | import { SET_TEAM_NAME, SET_NEW_PLAYER, EDIT_PLAYER } from '../constants/teamReducer'
import { setTeamOnLocalStorage, getTeamFromLocalStorage } from '../utils/localStorage'
const emptyPlayer = {
name: '',
nickname: '',
number: '',
age: '',
}
export default function TeamReducer(team, action) {
switch (actio... | 30.186047 | 86 | 0.682589 |
b4bd9c271c86fc074ab4c0b0eb8699d8a7ae351a | 2,097 | js | JavaScript | app.js | HaneenDarwish/test | 30ba572acb5b114a3dd3d2768a3be7535066d431 | [
"MIT"
] | null | null | null | app.js | HaneenDarwish/test | 30ba572acb5b114a3dd3d2768a3be7535066d431 | [
"MIT"
] | null | null | null | app.js | HaneenDarwish/test | 30ba572acb5b114a3dd3d2768a3be7535066d431 | [
"MIT"
] | null | null | null | 'use strict';
// let fruit = prompt ('What kind of fruits do you want?')
// fruit = fruit.toLocaleLowerCase()
// console.log(fruit);
// switch (fruit) {
// case 'apple':
// case 'yes':
// console.log('Apple is delicious!');
// break;
// case 'banana':
// console.log('Ban... | 18.394737 | 78 | 0.532666 |
b4be55dd7422300afe15fc57493ea987d4f567b4 | 522 | js | JavaScript | gatsby/utils/create-localized-redirect.js | misiekn/docs-website | 2db640bad4210a55a8a99cb444894fd8b25269e0 | [
"Apache-2.0",
"CC-BY-4.0"
] | 90 | 2020-08-19T20:27:45.000Z | 2022-03-30T19:07:28.000Z | gatsby/utils/create-localized-redirect.js | misiekn/docs-website | 2db640bad4210a55a8a99cb444894fd8b25269e0 | [
"Apache-2.0",
"CC-BY-4.0"
] | 5,204 | 2020-08-19T18:59:49.000Z | 2022-03-31T23:51:23.000Z | gatsby/utils/create-localized-redirect.js | misiekn/docs-website | 2db640bad4210a55a8a99cb444894fd8b25269e0 | [
"Apache-2.0",
"CC-BY-4.0"
] | 625 | 2020-09-30T19:39:20.000Z | 2022-03-31T15:20:02.000Z | const path = require('path');
const createLocalizedRedirect = ({
fromPath,
toPath,
locales,
redirectInBrowser = true,
isPermanent = true,
createRedirect,
}) => {
createRedirect({
fromPath,
toPath,
isPermanent,
redirectInBrowser,
});
locales.forEach((locale) => {
createRedirect({
... | 18 | 50 | 0.630268 |
b4bea34c3284c55889afb4df040eac1fb526f7fc | 2,345 | js | JavaScript | src/components/Sidebar.js | userly-tools/research-hub-webapp | 00afa9edb8c6fa996b95529160686f120075021c | [
"MIT"
] | 5 | 2020-09-13T19:07:41.000Z | 2020-09-27T16:23:07.000Z | src/components/Sidebar.js | userly-tools/research-hub-webapp | 00afa9edb8c6fa996b95529160686f120075021c | [
"MIT"
] | null | null | null | src/components/Sidebar.js | userly-tools/research-hub-webapp | 00afa9edb8c6fa996b95529160686f120075021c | [
"MIT"
] | 1 | 2020-09-12T03:24:27.000Z | 2020-09-12T03:24:27.000Z | import { mdiAccountGroupOutline, mdiCalendarMultiselect, mdiCog, mdiHomeOutline, mdiLogout } from "@mdi/js";
import Icon from "@mdi/react";
import React from "react";
import { Link, useHistory } from "react-router-dom";
import styled from "styled-components";
import Logo from '../assets/logo.png'
import User from '../a... | 31.689189 | 210 | 0.61322 |
b4c0bc86ff1c795f680c728c0b8a1779b3d171d2 | 767 | js | JavaScript | models/scheduled-email.js | jrrjdev/postgres-sequelize-jest-docker-example | f0cf142bef512536166c27caa029d21198c7383e | [
"MIT"
] | null | null | null | models/scheduled-email.js | jrrjdev/postgres-sequelize-jest-docker-example | f0cf142bef512536166c27caa029d21198c7383e | [
"MIT"
] | null | null | null | models/scheduled-email.js | jrrjdev/postgres-sequelize-jest-docker-example | f0cf142bef512536166c27caa029d21198c7383e | [
"MIT"
] | null | null | null | 'use strict';
module.exports = (sequelize, DataTypes) => {
const scheduledEmail = sequelize.define('scheduledEmail', {
sent: { type: DataTypes.BOOLEAN, allowNull: false },
scheduledDateTime: { type: DataTypes.DATE, allowNull: false },
toEmailAddress: { type: DataTypes.STRING, allowNull: false, validate: {... | 34.863636 | 94 | 0.650587 |
b4c1692ed2c20da7880687f9ab8555f6cf3b8e34 | 1,946 | js | JavaScript | client/src/context/reducers/index.js | 3imed-jaberi/wander-pins | 893ecaa631a0f1228ad22e8f40f32bb90136009a | [
"MIT"
] | null | null | null | client/src/context/reducers/index.js | 3imed-jaberi/wander-pins | 893ecaa631a0f1228ad22e8f40f32bb90136009a | [
"MIT"
] | null | null | null | client/src/context/reducers/index.js | 3imed-jaberi/wander-pins | 893ecaa631a0f1228ad22e8f40f32bb90136009a | [
"MIT"
] | null | null | null | import {
LOGIN_USER,
IS_LOGGED_IN,
SIGNOUT_USER,
CREATE_DRAFT,
UPDATE_DRAFT_LOCATION,
DELETE_DRAFT,
GET_PINS,
CREATE_PIN,
SET_PIN,
DELETE_PIN,
CREATE_COMMENT
} from '../types'
export function reducer(state, { type: ActionType, payload: ActionPayload }) {
switch (ActionType) {
case LOGIN_USE... | 20.924731 | 108 | 0.546249 |
b4c2318a2dbec28b8cbf638f0baff9277da3bb57 | 336 | js | JavaScript | test/adapter.js | rickkky/thener | fca16a73c80aaadfb570d6a993cc11de935f43c7 | [
"MIT"
] | null | null | null | test/adapter.js | rickkky/thener | fca16a73c80aaadfb570d6a993cc11de935f43c7 | [
"MIT"
] | 1 | 2020-06-23T09:08:13.000Z | 2020-06-23T09:08:13.000Z | test/adapter.js | rickkky/thener | fca16a73c80aaadfb570d6a993cc11de935f43c7 | [
"MIT"
] | null | null | null | const Thener = require('../dist/index')
const deferred = () => {
let closure = undefined
const promise = new Thener((resolve, reject) => {
closure = { resolve, reject }
})
return { ...closure, promise }
}
const resolved = Thener.resolve
const rejected = Thener.reject
module.exports = { deferred, resol... | 18.666667 | 51 | 0.657738 |
b4c2e1c59a80cbb1ce5afedb4fbdf2164433dd41 | 147 | js | JavaScript | docs/search/enumvalues_3.js | AkiyukiOkayasu/jade | 64ee0c6f4bf887c7a57aa3bf0c205b53ab15f4f1 | [
"MIT"
] | 1 | 2021-03-22T14:45:50.000Z | 2021-03-22T14:45:50.000Z | docs/search/enumvalues_3.js | AkiyukiOkayasu/jade | 64ee0c6f4bf887c7a57aa3bf0c205b53ab15f4f1 | [
"MIT"
] | 1 | 2021-03-23T13:21:18.000Z | 2021-03-23T13:21:18.000Z | docs/search/enumvalues_3.js | AkiyukiOkayasu/jade | 64ee0c6f4bf887c7a57aa3bf0c205b53ab15f4f1 | [
"MIT"
] | null | null | null | var searchData=
[
['rise_132',['Rise',['../main_8cpp.html#ac22b5ec98803feb017c6ff9d1e9b30aea64d71b4eabcd8de0a1d64bd6d5973c50',1,'main.cpp']]]
];
| 29.4 | 125 | 0.761905 |
b4c458bca56397ccb7ca8816eb679307ee9d8dd3 | 1,224 | js | JavaScript | src/cmdSwitches.js | GooseMod/OpenAsar | c6f2f5eb7827fea14cb4c54345af8ff6858c633a | [
"MIT"
] | 284 | 2021-12-09T16:59:24.000Z | 2022-03-28T08:04:28.000Z | src/cmdSwitches.js | GooseMod/OpenAsar | c6f2f5eb7827fea14cb4c54345af8ff6858c633a | [
"MIT"
] | 40 | 2021-12-09T16:21:39.000Z | 2022-03-27T22:00:53.000Z | src/cmdSwitches.js | GooseMod/OpenAsar | c6f2f5eb7827fea14cb4c54345af8ff6858c633a | [
"MIT"
] | 20 | 2021-12-10T22:56:03.000Z | 2022-03-28T00:05:45.000Z | const { app } = require('electron');
const presets = {
'base': '--autoplay-policy=no-user-gesture-required --disable-features=WinRetrieveSuggestionsOnlyOnDemand,HardwareMediaKeyHandling,MediaSessionService', // Base Discord
'perf': `--enable-gpu-rasterization --enable-zero-copy --ignore-gpu-blocklist --enable-hard... | 55.636364 | 482 | 0.722222 |
b4c4606ecaf6aeb7deceab33979cfc7b3374a07c | 1,775 | js | JavaScript | demo/nerdlets/nr1-community-demo-nerdlet/pages/NerdGraphError/examples/basic.js | tangollama/nr1-community | 498916bdd2363933c5a90ebbfe8f76b7c52f6e43 | [
"Apache-2.0"
] | 10 | 2020-01-28T22:26:13.000Z | 2021-12-22T11:18:23.000Z | demo/nerdlets/nr1-community-demo-nerdlet/pages/NerdGraphError/examples/basic.js | tangollama/nr1-community | 498916bdd2363933c5a90ebbfe8f76b7c52f6e43 | [
"Apache-2.0"
] | 67 | 2019-11-25T17:53:39.000Z | 2022-02-02T17:57:19.000Z | demo/nerdlets/nr1-community-demo-nerdlet/pages/NerdGraphError/examples/basic.js | tangollama/nr1-community | 498916bdd2363933c5a90ebbfe8f76b7c52f6e43 | [
"Apache-2.0"
] | 11 | 2019-11-28T14:41:26.000Z | 2022-02-25T16:40:18.000Z | import React from 'react';
import PropTypes from 'prop-types';
import { NerdGraphQuery } from 'nr1';
import { NerdGraphError } from '@/../dist';
import CodeHighlight from '../../../shared/components/CodeHighlight';
export default class NerdGraphErrorBasicDemo extends React.Component {
static propTypes = {
heade... | 21.646341 | 106 | 0.567887 |
b4c5935a82812b69038ccdd63d096d1a7a44917f | 163 | js | JavaScript | packages/dd-badge/index.js | Lazydd/ddlazy-ui | a0fcbe9e0808df11c23e43bd9ecb12e242d4195d | [
"MIT"
] | null | null | null | packages/dd-badge/index.js | Lazydd/ddlazy-ui | a0fcbe9e0808df11c23e43bd9ecb12e242d4195d | [
"MIT"
] | 1 | 2022-03-08T12:23:45.000Z | 2022-03-08T12:23:46.000Z | packages/dd-badge/index.js | Lazydd/ddlazy-ui | a0fcbe9e0808df11c23e43bd9ecb12e242d4195d | [
"MIT"
] | null | null | null | // 导入组件
import ddBadge from "./src";
// 为组件提供install安装方法,供按需引入
ddBadge.install = Vue => {
Vue.component(ddBadge.name, ddBadge)
}
// 暴露组件
export default ddBadge | 20.375 | 40 | 0.711656 |
b4c66e33caed7a739e880d83ce8dcacea9ad3c83 | 519 | js | JavaScript | composables/useState.js | mikehappythoughts/Nuxt-covid19-dashboard | 72eb5bd536fa19fa47e991050cd7223297fe5643 | [
"MIT"
] | null | null | null | composables/useState.js | mikehappythoughts/Nuxt-covid19-dashboard | 72eb5bd536fa19fa47e991050cd7223297fe5643 | [
"MIT"
] | null | null | null | composables/useState.js | mikehappythoughts/Nuxt-covid19-dashboard | 72eb5bd536fa19fa47e991050cd7223297fe5643 | [
"MIT"
] | null | null | null | import { ref, computed, readonly } from '@nuxtjs/composition-api'
const state = ref({
covidData: {},
data: {},
})
const isDataLoaded = ref(false)
export default function useState() {
const setStateData = ({ covidData }) => {
state.value.covidData = covidData
isDataLoaded.value = true
}
return {
... | 22.565217 | 68 | 0.65896 |
b4c8cb89059b32bae1e0352d3848e95cf73534ea | 572 | js | JavaScript | icons/music_note_outlined/MusicNoteOutlined.js | rook2pawn/password-manager-baseweb | 7a6655bfa0758569738a042fc7deb3b730607126 | [
"ISC",
"MIT"
] | null | null | null | icons/music_note_outlined/MusicNoteOutlined.js | rook2pawn/password-manager-baseweb | 7a6655bfa0758569738a042fc7deb3b730607126 | [
"ISC",
"MIT"
] | null | null | null | icons/music_note_outlined/MusicNoteOutlined.js | rook2pawn/password-manager-baseweb | 7a6655bfa0758569738a042fc7deb3b730607126 | [
"ISC",
"MIT"
] | null | null | null | import * as React from "react";
function SvgMusicNoteOutlined(props) {
return (
<svg
width={24}
height={24}
fill="none"
xmlns="http://www.w3.org/2000/svg"
{...props}
>
<path
d="M7 1v12.4c-.6-.3-1.3-.4-2-.4-2.8 0-5 2.2-5 5s2.2 5 5 5 5-2.2 5-5V9h9v4.4c-.6-.3-1.3-.4-2... | 27.238095 | 257 | 0.543706 |
b4c8e29836c125cb13494edb2840f5def7129c23 | 367 | js | JavaScript | probe/workers/containerSecurity.js | augustinebest/app | 74e797de5b43e8e9d34e6323ed8590f4c0bc1bb2 | [
"Apache-2.0"
] | null | null | null | probe/workers/containerSecurity.js | augustinebest/app | 74e797de5b43e8e9d34e6323ed8590f4c0bc1bb2 | [
"Apache-2.0"
] | null | null | null | probe/workers/containerSecurity.js | augustinebest/app | 74e797de5b43e8e9d34e6323ed8590f4c0bc1bb2 | [
"Apache-2.0"
] | null | null | null | const ErrorService = require('../utils/errorService');
const ContainerService = require('../utils/containerService');
module.exports = {
scan: async security => {
try {
await ContainerService.scan(security);
} catch (error) {
ErrorService.log('containerSecurity.scan', error)... | 26.214286 | 62 | 0.591281 |
b4c97cc73b2026997babd9fab9fcd09c3bffc187 | 751 | js | JavaScript | test/utils/getEasing.test.js | Mefjus/react-tiger-transition | 48f89133cc7a011602fd427a166b309204ca5d21 | [
"MIT"
] | 502 | 2019-12-01T08:03:43.000Z | 2022-03-13T19:45:33.000Z | test/utils/getEasing.test.js | Mefjus/react-tiger-transition | 48f89133cc7a011602fd427a166b309204ca5d21 | [
"MIT"
] | 35 | 2019-12-13T18:11:07.000Z | 2022-02-26T19:56:45.000Z | test/utils/getEasing.test.js | Mefjus/react-tiger-transition | 48f89133cc7a011602fd427a166b309204ca5d21 | [
"MIT"
] | 33 | 2019-10-27T10:12:13.000Z | 2022-03-13T19:45:37.000Z | import { getEasing } from '../../src/utils';
const easings = [
'easeInSine',
'easeOutSine',
'easeInOutSine',
'easeInCubic',
'easeOutCubic',
'easeInOutCubic',
'easeInQuint',
'easeOutQuint',
'easeInOutQuint',
'easeInCirc',
'easeOutCirc',
'easeInOutCirc',
'easeInQuad',
'easeOutQuad',
'easeI... | 18.317073 | 49 | 0.612517 |
b4cc70273f20997853727868cfe9d902b6b0de82 | 295 | js | JavaScript | test/bigtest/network/factories/file.js | folio-org/ui-localkbadmin | 613d75ba6eef13ea88289cc9533f66ca46f3f511 | [
"Apache-2.0"
] | null | null | null | test/bigtest/network/factories/file.js | folio-org/ui-localkbadmin | 613d75ba6eef13ea88289cc9533f66ca46f3f511 | [
"Apache-2.0"
] | 186 | 2019-07-01T18:32:08.000Z | 2022-03-22T11:49:08.000Z | test/bigtest/network/factories/file.js | folio-org/ui-localkbadmin | 613d75ba6eef13ea88289cc9533f66ca46f3f511 | [
"Apache-2.0"
] | 4 | 2019-10-03T12:59:28.000Z | 2020-09-03T07:16:27.000Z | import { Factory } from 'miragejs';
import faker from 'faker';
export default Factory.extend({
id: () => faker.random.uuid(),
contentType: () => 'application/json',
size: () => faker.random.number(),
modified: () => faker.date.recent().getTime(),
name: () => faker.random.words()
});
| 26.818182 | 48 | 0.627119 |
b4cd13b9c6f1f28f9dea2f55c16a777c74c3aef7 | 359 | js | JavaScript | src/components/Screens/index.js | elationbase/am-2020 | 9d27a6755ba66b5aa3d7fe11aa5fa53756e42ca7 | [
"MIT"
] | null | null | null | src/components/Screens/index.js | elationbase/am-2020 | 9d27a6755ba66b5aa3d7fe11aa5fa53756e42ca7 | [
"MIT"
] | null | null | null | src/components/Screens/index.js | elationbase/am-2020 | 9d27a6755ba66b5aa3d7fe11aa5fa53756e42ca7 | [
"MIT"
] | null | null | null | import React from 'react';
import { commasToArray, i18n } from '../../utils';
const Screens = ({ images }) => {
return (
<section>
<h3>{i18n.t('project.SCREENS')}</h3>
{commasToArray(images).map((image, index) => (
<img key={index} src={`../../projects/${image}`} alt="" />
))}
</sec... | 22.4375 | 66 | 0.543175 |
b4cd46b907f4d16819f0acf24bc35826185e5a0c | 2,813 | js | JavaScript | packages/ui/src/components/tooltip/Tooltip.js | dkandalam/borrow-ui | cd59ff5b59d92726fc5ee0176ac97178f9f9ff7a | [
"MIT"
] | 6 | 2020-03-24T13:21:54.000Z | 2021-12-12T23:48:52.000Z | packages/ui/src/components/tooltip/Tooltip.js | dkandalam/borrow-ui | cd59ff5b59d92726fc5ee0176ac97178f9f9ff7a | [
"MIT"
] | 29 | 2020-05-01T14:14:26.000Z | 2022-01-05T21:51:43.000Z | packages/ui/src/components/tooltip/Tooltip.js | dkandalam/borrow-ui | cd59ff5b59d92726fc5ee0176ac97178f9f9ff7a | [
"MIT"
] | 2 | 2020-08-11T08:05:39.000Z | 2021-11-15T07:30:40.000Z | import React from 'react';
import PropTypes from 'prop-types';
import { UI_PREFIX } from '../../config';
import { propTypesChildren } from '../../utils/types';
import { ReferenceOverlay, PLACEMENTS } from '../reference-overlay/ReferenceOverlay';
const TOOLTIP_CLASS = `${UI_PREFIX}__tooltip`;
const TOOLTIP_MIN_WIDTH_... | 33.094118 | 99 | 0.637398 |
b4cdd77b383ee00fde9000e92a2c172b39d69d42 | 3,683 | js | JavaScript | static/js/adminNewsItem.js | bbondy/brianbondy.gae | 5c189e5d8f1ee0fdc77ab48c21f3da2c9e3f246c | [
"MIT"
] | null | null | null | static/js/adminNewsItem.js | bbondy/brianbondy.gae | 5c189e5d8f1ee0fdc77ab48c21f3da2c9e3f246c | [
"MIT"
] | null | null | null | static/js/adminNewsItem.js | bbondy/brianbondy.gae | 5c189e5d8f1ee0fdc77ab48c21f3da2c9e3f246c | [
"MIT"
] | null | null | null | /**
* @jsx React.DOM
*/
'use strict';
define(['models', 'react', 'showdown'], function(models, React, Showdown) {
var converter = new Showdown.converter();
/**
* The HTML form for filling out the blog post
*/
var NewsItemForm = React.createClass({
getInitialState: function() {
if (newsIte... | 33.481818 | 198 | 0.59218 |
b4d0285d70a8ddf8ce67447fa8bdd5faa52476c6 | 263 | js | JavaScript | src/jobs/ThumbnailReport.js | saurabharch/rollout | f268c3140e18311fc107aa678f14b878b1361722 | [
"MIT"
] | 2 | 2020-02-12T09:00:34.000Z | 2021-06-27T07:03:58.000Z | src/jobs/ThumbnailReport.js | saurabharch/rollout | f268c3140e18311fc107aa678f14b878b1361722 | [
"MIT"
] | 225 | 2020-02-14T19:47:18.000Z | 2022-03-25T17:43:15.000Z | src/jobs/ThumbnailReport.js | saurabharch/rollout | f268c3140e18311fc107aa678f14b878b1361722 | [
"MIT"
] | 2 | 2021-01-31T17:30:26.000Z | 2022-02-16T04:14:24.000Z | const multer = require('multer');
const ffmpeg = require('fluent-ffmpeg');
export default{
key: 'ThumnailReport',
options: {
delay: 5000
},
async handle({ data }){
const { InputData } = data;
console.log(InputData);
}
};
| 17.533333 | 40 | 0.577947 |
b4d0ad05cd3b27fd4ecbf6ce461102a692e2a9c0 | 2,320 | js | JavaScript | src/notice/DropDownNotice.js | changkai244/react-native-ios-comps | 3322b7f6f339a1fafe631ad4c7f595e08664d076 | [
"MIT"
] | 4 | 2018-01-23T23:58:31.000Z | 2018-07-11T09:58:04.000Z | src/notice/DropDownNotice.js | changkai244/react-native-ios-comps | 3322b7f6f339a1fafe631ad4c7f595e08664d076 | [
"MIT"
] | 2 | 2018-06-25T07:51:19.000Z | 2018-08-19T13:13:21.000Z | src/notice/DropDownNotice.js | changkai244/react-native-ios-comps | 3322b7f6f339a1fafe631ad4c7f595e08664d076 | [
"MIT"
] | 1 | 2018-09-05T03:07:23.000Z | 2018-09-05T03:07:23.000Z | import React, {PureComponent} from 'react';
import {View, Text, StyleSheet, Animated} from 'react-native';
import NoticeImage from "./NoticeImage";
import {noticeTypes} from "./Notice";
const colors = {
[noticeTypes.info]: '#5084ef',
[noticeTypes.warn]: '#FF9F35',
[noticeTypes.success]: '#48CB25',
[noticeType... | 22.095238 | 95 | 0.55819 |
b4d0ad859a4ceab15f97855d5820517948516eac | 9,091 | js | JavaScript | build/compiled/test/functional/persistence/partial-persist/partial-persist.js | monkeymon/typeorm | 694c91607902a08b9b6f557b827e267b46571136 | [
"MIT"
] | null | null | null | build/compiled/test/functional/persistence/partial-persist/partial-persist.js | monkeymon/typeorm | 694c91607902a08b9b6f557b827e267b46571136 | [
"MIT"
] | null | null | null | build/compiled/test/functional/persistence/partial-persist/partial-persist.js | monkeymon/typeorm | 694c91607902a08b9b6f557b827e267b46571136 | [
"MIT"
] | null | null | null | "use strict";
var _this = this;
Object.defineProperty(exports, "__esModule", { value: true });
var tslib_1 = require("tslib");
require("reflect-metadata");
var test_utils_1 = require("../../../utils/test-utils");
var Post_1 = require("./entity/Post");
var Category_1 = require("./entity/Category");
var chai_1 = require(... | 59.418301 | 194 | 0.511275 |
b4d2115358ca32228a7c68f86c184ebe076daaa2 | 165 | js | JavaScript | JavaScript/ES6/module8.js | zhuyudong/blog | f3dbddb0065ce8e314718d1a1201c7cafc8a8465 | [
"MIT"
] | 1 | 2019-06-04T21:00:07.000Z | 2019-06-04T21:00:07.000Z | JavaScript/ES6/module8.js | zhuyudong/blog | f3dbddb0065ce8e314718d1a1201c7cafc8a8465 | [
"MIT"
] | 2 | 2020-07-18T13:36:36.000Z | 2021-05-09T03:07:45.000Z | JavaScript/ES6/module8.js | zhuyudong/blog | f3dbddb0065ce8e314718d1a1201c7cafc8a8465 | [
"MIT"
] | 1 | 2019-08-29T02:59:37.000Z | 2019-08-29T02:59:37.000Z | exports.done = false;
var mod7 = require('./module7');
console.log('在 module7.js 中, mod7.done = %j', mod7.done);
exports.done = true;
console.log('module8.js 执行完毕'); | 33 | 57 | 0.684848 |
b4d216997c7dd36844cf853ad7bfbaaedcaeef49 | 3,105 | js | JavaScript | src/rmi/stub.js | betajs/betajs | 36bea5c0b2431f710e28ee8eb38d9419647c18a3 | [
"Apache-2.0"
] | 19 | 2015-05-09T15:57:02.000Z | 2022-03-27T20:53:55.000Z | src/rmi/stub.js | betajs/betajs | 36bea5c0b2431f710e28ee8eb38d9419647c18a3 | [
"Apache-2.0"
] | 16 | 2015-06-10T05:17:01.000Z | 2022-02-24T15:55:51.000Z | src/rmi/stub.js | betajs/betajs | 36bea5c0b2431f710e28ee8eb38d9419647c18a3 | [
"Apache-2.0"
] | 5 | 2016-11-24T07:31:02.000Z | 2020-11-22T06:14:28.000Z | Scoped.define("module:RMI.Stub", [
"module:Class",
"module:Classes.InvokerMixin",
"module:Functions"
], function(Class, InvokerMixin, Functions, scoped) {
return Class.extend({
scoped: scoped
}, [InvokerMixin, function(inherited) {
/**
* Abstract Stub Class
*
... | 27.236842 | 143 | 0.455072 |
b4d474d66d3643b5f686e5e10992acda45b73200 | 123 | js | JavaScript | app/containers/LiteVaults/constants.js | zer0cache/yearn-finance | 4d97295bb71904494d94b2bf9edd65fb32a24a0c | [
"MIT"
] | 140 | 2021-03-01T14:47:41.000Z | 2022-03-30T08:54:34.000Z | app/containers/LiteVaults/constants.js | zer0cache/yearn-finance | 4d97295bb71904494d94b2bf9edd65fb32a24a0c | [
"MIT"
] | 173 | 2021-03-01T18:02:53.000Z | 2021-12-30T15:09:50.000Z | app/containers/LiteVaults/constants.js | devhani/yearn-finance | dddd1049c7873739602b96b750fcaab5cfdab088 | [
"MIT"
] | 76 | 2021-03-02T02:47:46.000Z | 2022-03-09T04:19:50.000Z | export const VAULTS_LOADED = 'VAULTS_LOADED';
export const USER_VAULT_STATISTICS_LOADED = 'USER_VAULT_STATISTICS_LOADED ';
| 41 | 76 | 0.845528 |
b4d5bfbf1b394ef1a6923d65f1cf39d94c24357d | 606 | js | JavaScript | p5js/slippy-map/classes/tile_set.js | brianhonohan/sketchbook | b43df1a8106e1073500ddf37885a8537c702be7b | [
"MIT"
] | 10 | 2021-12-16T18:47:37.000Z | 2022-03-12T00:28:01.000Z | p5js/slippy-map/classes/tile_set.js | brianhonohan/sketchbook | b43df1a8106e1073500ddf37885a8537c702be7b | [
"MIT"
] | 4 | 2018-09-08T04:00:26.000Z | 2021-12-25T18:19:34.000Z | p5js/slippy-map/classes/tile_set.js | brianhonohan/sketchbook | b43df1a8106e1073500ddf37885a8537c702be7b | [
"MIT"
] | null | null | null | class TileSet {
constructor(zoom, tileRenderer){
this.zoom = zoom;
this.tileRenderer = tileRenderer;
this.tiles = {};
this.rowCount = TileSet.rowCount(this.zoom);
this.colCount = TileSet.colCount(this.zoom);
}
static rowCount(zoomLevel) { return Math.pow(2, zoomLevel); }
static colCount(zo... | 26.347826 | 72 | 0.648515 |
b4d625bbd9ef431ae04badb4252f4f533daed55b | 22,505 | js | JavaScript | client/src/scripts/app.js | hannyajin/bittysound | 3a82bbc80412d3230c35c75f359f336ba9cbd408 | [
"MIT"
] | 8 | 2015-06-16T15:34:17.000Z | 2016-01-06T03:59:25.000Z | client/src/scripts/app.js | hannyajin/bittysound | 3a82bbc80412d3230c35c75f359f336ba9cbd408 | [
"MIT"
] | 2 | 2016-02-09T03:21:48.000Z | 2019-02-12T16:31:42.000Z | client/src/scripts/app.js | talmobi/bittysound | 3a82bbc80412d3230c35c75f359f336ba9cbd408 | [
"MIT"
] | 3 | 2016-02-09T03:21:57.000Z | 2020-03-18T15:28:48.000Z | var test_track = "/tracks/293";
var uri = "https://api.soundcloud.com" + test_track;
var template_uri = "https://api.soundcloud.com";
//var iframeEl = document.getElementById('sc-widget');
//var WIDGET = SC.Widget('sc-widget');
var __els = {};
var clipboard = null;
var widgets = {};
var current_widget = null;
var W... | 27.681427 | 1,677 | 0.579693 |
b4d651bcce534e7f86a4a9ad1b33c6c4843bbc46 | 4,042 | js | JavaScript | frontend/src/utils/api/HexoAdminNeueAPIService.js | Transfusion/hexo-admin-neue | d6f9451b72e3c33ec8a7370e58c23acf4a6047a6 | [
"Apache-2.0"
] | null | null | null | frontend/src/utils/api/HexoAdminNeueAPIService.js | Transfusion/hexo-admin-neue | d6f9451b72e3c33ec8a7370e58c23acf4a6047a6 | [
"Apache-2.0"
] | 2 | 2020-07-26T09:44:43.000Z | 2020-07-26T09:53:00.000Z | frontend/src/utils/api/HexoAdminNeueAPIService.js | Transfusion/hexo-admin-neue | d6f9451b72e3c33ec8a7370e58c23acf4a6047a6 | [
"Apache-2.0"
] | null | null | null | import axios from 'axios';
import Cookies from 'universal-cookie';
import { toast } from 'react-toastify';
import { Config } from '../Config';
import history from '../history';
const cookies = new Cookies();
// https://stackoverflow.com/questions/47216452/how-to-handle-401-authentication-error-in-axios-and-react
axi... | 27.496599 | 122 | 0.653142 |
b4d6b002cd509de20b41168956b6dd3763523b54 | 115 | js | JavaScript | packages/having-things/lib/modules/components.js | Shielkwamm/shielkwamm-shell | 56d744a68277ca5cf24c6d5ed740be14ceea1548 | [
"Apache-2.0"
] | null | null | null | packages/having-things/lib/modules/components.js | Shielkwamm/shielkwamm-shell | 56d744a68277ca5cf24c6d5ed740be14ceea1548 | [
"Apache-2.0"
] | 8 | 2021-05-11T06:51:54.000Z | 2022-02-27T02:50:44.000Z | packages/having-things/lib/modules/components.js | Shielkwamm/shielkwamm-shell | 56d744a68277ca5cf24c6d5ed740be14ceea1548 | [
"Apache-2.0"
] | null | null | null | export * from '../components/HavingThings/HavingThings.jsx';
export * from '../components/HavingThings/Things.jsx'; | 57.5 | 60 | 0.765217 |
b4d700bd4cc1f4136aa095dc0af2f7959f2747a1 | 8,624 | js | JavaScript | src/p5/main.js | atorov/p5js-webpack-pixel-puzzle | c83ccbe2cba8c62bee31b0bae2ae2ad1e4a7d6e0 | [
"MIT"
] | null | null | null | src/p5/main.js | atorov/p5js-webpack-pixel-puzzle | c83ccbe2cba8c62bee31b0bae2ae2ad1e4a7d6e0 | [
"MIT"
] | 1 | 2020-06-08T12:06:11.000Z | 2020-06-08T12:06:11.000Z | src/p5/main.js | atorov/p5js-webpack-pixels-puzzle | c83ccbe2cba8c62bee31b0bae2ae2ad1e4a7d6e0 | [
"MIT"
] | null | null | null | import delay from '../lib/utils/delay'
import cfg from './cfg'
import StateMachine from './StateMachine'
new p5((sketch) => {
const s = sketch
let data = {}
const imgTileArr = []
let imgSrc
let pgImgSrc = null
const pgImgSrcPixelsVector = []
let pgImgSrcWindowPointerX = 0
let pgImg... | 36.697872 | 147 | 0.448516 |
b4d737d50adde0e71c7ecda70342c783425b0c0f | 1,831 | es6 | JavaScript | src/nodefony/kernel/security/provider.es6 | nodefony/nodefony | cc1910217ac1cab3cb01c865be5389296bb8f082 | [
"CECILL-B"
] | 104 | 2016-11-18T18:30:08.000Z | 2022-01-20T11:10:15.000Z | src/nodefony/kernel/security/provider.es6 | nodefony/nodefony | cc1910217ac1cab3cb01c865be5389296bb8f082 | [
"CECILL-B"
] | 44 | 2016-11-16T11:25:19.000Z | 2021-11-27T23:19:28.000Z | src/nodefony/kernel/security/provider.es6 | nodefony/nodefony | cc1910217ac1cab3cb01c865be5389296bb8f082 | [
"CECILL-B"
] | 15 | 2016-12-22T11:23:38.000Z | 2021-10-30T14:09:59.000Z | class Provider extends nodefony.Service {
constructor(name, manager) {
super(name, manager.container);
this.manager = manager;
this.encoder = null;
}
log(pci, severity, msgid, msg) {
if (!msgid) {
msgid = "PROVIDER " + this.name;
}
return super.log(pci, severity, msgid, msg);
}
... | 30.016393 | 115 | 0.599672 |
b4d84d8df016cd5f923b32003d502746e0ceb95e | 133 | js | JavaScript | doc/search/namespaces_0.js | flhorizon/Lums | 2516fdebe89cf82cd3d470de20567d99448758d2 | [
"MIT"
] | 33 | 2015-01-20T10:15:24.000Z | 2021-06-16T13:20:50.000Z | doc/search/namespaces_0.js | flhorizon/Lums | 2516fdebe89cf82cd3d470de20567d99448758d2 | [
"MIT"
] | 1 | 2020-03-11T15:58:46.000Z | 2020-05-09T14:58:13.000Z | doc/search/namespaces_0.js | flhorizon/Lums | 2516fdebe89cf82cd3d470de20567d99448758d2 | [
"MIT"
] | 7 | 2015-01-15T21:02:38.000Z | 2019-08-23T09:41:57.000Z | var searchData=
[
['lm',['lm',['../namespacelm.html',1,'']]],
['vertex',['Vertex',['../namespacelm_1_1_vertex.html',1,'lm']]]
];
| 22.166667 | 65 | 0.556391 |
b4d8f1e8d364e89efc35310d17c5e71dea800777 | 1,451 | js | JavaScript | examples/apps/cloudfront-redirect-on-viewer-country/index.js | eugeniosu/serverless-application-model | d93e15232a1921fa51667389d83aeabbf1ff72d3 | [
"Apache-2.0"
] | 326 | 2019-12-20T04:04:41.000Z | 2020-09-30T10:42:43.000Z | examples/apps/cloudfront-redirect-on-viewer-country/index.js | eugeniosu/serverless-application-model | d93e15232a1921fa51667389d83aeabbf1ff72d3 | [
"Apache-2.0"
] | 18 | 2019-10-09T23:27:48.000Z | 2021-06-25T15:18:24.000Z | examples/apps/cloudfront-redirect-on-viewer-country/index.js | eugeniosu/serverless-application-model | d93e15232a1921fa51667389d83aeabbf1ff72d3 | [
"Apache-2.0"
] | 220 | 2020-10-02T06:12:18.000Z | 2022-03-31T13:15:21.000Z | 'use strict';
/* This is an origin request function */
exports.handler = (event, context, callback) => {
const request = event.Records[0].cf.request;
const headers = request.headers;
/*
* Based on the value of the CloudFront-Viewer-Country header, generate an
* HTTP status code 302 (Redirect) re... | 35.390244 | 87 | 0.582357 |
b4d961ef77faed59005b7bcb18e3c6a627296dec | 1,001 | js | JavaScript | downloader/webpack.config.js | notseenee/hscpapers | f3d73b202db8723d4badd207119ef9ade4c1a142 | [
"MIT"
] | 1 | 2021-10-31T22:47:26.000Z | 2021-10-31T22:47:26.000Z | downloader/webpack.config.js | notseenee/hscpapers | f3d73b202db8723d4badd207119ef9ade4c1a142 | [
"MIT"
] | null | null | null | downloader/webpack.config.js | notseenee/hscpapers | f3d73b202db8723d4badd207119ef9ade4c1a142 | [
"MIT"
] | null | null | null | const webpack = require('webpack');
const path = require('path');
const ExtractTextPlugin = require('extract-text-webpack-plugin');
const OptimizeCSSAssetsPlugin = require('optimize-css-assets-webpack-plugin');
const cssnano = require('cssnano');
const BUILD_DIR = path.resolve(__dirname, 'dist');
const APP_DIR = path... | 23.833333 | 78 | 0.615385 |
b4dcc3a7968ed8119a1b706925a0d3f33fa6ea24 | 392 | js | JavaScript | models/Review.js | letsgoflorida/backend-repo | 83611b6d3487c934ac6d7ca73e417abe781ad21e | [
"MIT"
] | null | null | null | models/Review.js | letsgoflorida/backend-repo | 83611b6d3487c934ac6d7ca73e417abe781ad21e | [
"MIT"
] | null | null | null | models/Review.js | letsgoflorida/backend-repo | 83611b6d3487c934ac6d7ca73e417abe781ad21e | [
"MIT"
] | null | null | null | const mongoose = require("mongoose");
const Schema = mongoose.Schema;
const reviewSchema = new Schema({
user: {type: Schema.Types.ObjectId, ref: "User"},
status: {type: String, enum:["local", "visitor"]},
rating: Number,
content: String,
trip: {type: Schema.Types.ObjectId, ref: "Trip"},
},
{
timestam... | 26.133333 | 56 | 0.668367 |