text stringlengths 2 1.04M |
|---|
angular.module('machineevents').controller('machinesController', function($scope, $timeout, Machines) {
$scope.machines = [];
$scope.currentpage = 0;
$scope.totalMachines = 0;
$scope.limitPage = 10;
$scope.machine = {
active: null,
status: null,
name: null,
created_da... |
export default {
name: 'Nombre',
tel: 'Teléfono',
save: 'Guardar',
confirm: 'Confirmar',
cancel: 'Cancelar',
delete: 'Eliminar',
complete: 'Completado',
loading: 'Cargando...',
telEmpty: 'Por favor rellena el teléfono',
nameEmpty: 'Por favor rellena el nombre',
nameInvalid: 'nombre inválido',
co... |
/// Copyright (c) 2009 Microsoft Corporation
///
/// Redistribution and use in source and binary forms, with or without modification, are permitted provided
/// that the following conditions are met:
/// * Redistributions of source code must retain the above copyright notice, this list of conditions and
/// ... |
function confirmurl(url, message) {
artConfirm(message, function () {
$.post(url, function () {
window.location.reload();
});
});
}
function redirect(url) {
if (window.self === window.self) {
window.top.location.href = url;
} else {
location.href = url;
}... |
import React, { forwardRef } from 'react';
import PropTypes from 'prop-types';
const EarFill = forwardRef(({ color, size, ...rest }, ref) => {
return (
<svg
ref={ref}
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 16 16"
width={size}
height={size}
fill={color}
{...rest}... |
export * from './client-config.js';
export * from './page-layout';
export * from './error-status-code.js'; |
let oldNumber = -1;
let figuresFixed = true;
$(document).ready(function() {
$.getJSON("data/resources.json", function(json) {
$('#range').on('input', function () {
let step = 61;
let numberRange = Math.trunc(parseInt($('#range').val())/step);
// console.log(parseInt($(... |
/*
Input Mask plugin for jquery
http://github.com/RobinHerbots/jquery.inputmask
Copyright (c) 2010 - 2013 Robin Herbots
Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php)
Version: 2.2.2
*/
(function(f){void 0==f.fn.inputmask&&(f.inputmask={defaults:{placeholder:"_",optionalmarker:{... |
angular.module("materialCalendar", ["ngMaterial", "ngSanitize"]);
angular.module("materialCalendar").constant("materialCalendar.config", {
version: "0.2.13",
debug: document.domain.indexOf("localhost") > -1
});
angular.module("materialCalendar").config(["materialCalendar.config", "$logProvider", "$compileProv... |
// @flow strict
import { type Node } from 'react';
import Box from './Box.js';
import Text from './Text.js';
import styles from './Dropdown.css';
type Props = {|
/**
* Any [Dropdown.Items](https://gestalt.pinterest.systems/dropdown#Dropdown.ItemProps) and/or [Dropdown.Links](https://gestalt.pinterest.systems/drop... |
var x = document.getElementById("demo");
var far;
var cel;
var weatherIcon;
var vm;
$(document).ready(function(){
vm = new Vue({
el: '#demo',
data: {
message: 'Gathering Weather Data...',
icon: 'data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA'
},
methods:... |
(function() {
'use strict';
angular
.module('catalogue.login')
.factory('loginService', loginService);
loginService.$inject = ['$q'];
/* @ngInject */
function loginService($q) {
var validCode = '12345678';
var service = {
validate: validate
};
return service;
// ******************************... |
/// @file JSRoot.webwindow.js
/// Connections handling to RWebWindow
JSROOT.define([], () => {
"use strict";
/**
* @summary Class emulating web socket with long-poll http requests
*
* @class
* @memberof JSROOT
* @private
*/
function LongPollSocket(addr, _raw, _args) {
this.pat... |
// var nub =document.getElementsByClassName("dropdown-item edit_img").length;
// console.log(nub);
// console.log(img_edit_btn);
// for(var i=0 ;i < nub;i++)
// {
// img_edit_btn.setAttribute("data_imgedit_id",i);
// }
function edit_css(){
var form_w= document.getElementById("css_edit_width");
var form_h= docum... |
// Sub-application/main Level State
app.config(['$stateProvider', function ($stateProvider) {
$stateProvider
.state('app.home', {
url: '/home',
templateUrl: 'js/main/templates/home.tpl.html',
controller: 'HomeCtrl'
})
.state('app.about', {
url... |
webpackHotUpdate("static/development/pages/index.js",{
/***/ "./pages/index.js":
/*!************************!*\
!*** ./pages/index.js ***!
\************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_e... |
/*!
* chain.js - blockchain management for bcoin
* Copyright (c) 2014-2015, Fedor Indutny (MIT License)
* Copyright (c) 2014-2017, Christopher Jeffrey (MIT License).
* https://github.com/bcoin-org/bcoin
*/
'use strict';
const assert = require('assert');
const path = require('path');
const AsyncObject = require('... |
import React from 'react'
import { Route, IndexRoute } from 'react-router'
import App from './components/App'
import HomePage from './components/home/HomePage'
export default (
<Route path='/' component={App}>
<IndexRoute component={HomePage} />
</Route>
) |
import axios from 'axios'
const api = axios.create({
baseURL: 'https://navedex-api.herokuapp.com/v1'
})
api.interceptors.request.use((config) => {
const token = localStorage.getItem('token')
config.headers.Authorization = `Bearer ${token}`
return config
})
export default api |
/**
* @author Richard Davey <rich@photonstorm.com>
* @copyright 2019 Photon Storm Ltd.
* @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License}
*/
/**
* Takes a reference to the Canvas Renderer, a Canvas Rendering Context, a Game Object, a Camera and a parent matr... |
import ReactLoading from "react-loading";
// eslint-disable-next-line import/no-anonymous-default-export
export default (props) => {
if (props?.isOpen) {
return (
<div
className="loading-container "
style={{
backgroundColor: `rgba(0,0,0,0.8)`,... |
import FlashFilled32 from "./FlashFilled32.svelte";
export default FlashFilled32; |
const path = require('path')
const VueLoaderPlugin = require('vue-loader/lib/plugin')
console.log('webpack.test')
const config = {
mode: 'development',
module: {
rules: [
{
test: /\.(js|vue)$/,
loader: 'eslint-loader',
enforce: 'pre',
include: [
path.resolve('sr... |
var searchData=
[
['dns_5ffound_5fcallback',['dns_found_callback',['../dns_8h.html#ab5a9dec5b22802f91876c53e99f427ae',1,'dns.h']]]
]; |
/*******************************************************
Template Name : Bistro - Food & Resturant Landing Page Template
Author : Cute Themes
Version : 1.0
Created : 2021
*******************************************************/
(function ($) {
"use strict";
var wind = $(... |
// @flow
export type UserProfile = {
googleId: string,
imageUrl: ?string,
email: string,
name: string,
givenName: string,
familyName: string
}
export type EmailType = string
export type CloudWalletFolderMetaType = {
fileId: string,
lastModified: number // timestamp
} |
/**
* Copyright 2015 The AMP HTML Authors. All Rights Reserved.
*
* 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 require... |
'use strict';
var testUtils = require('../test-utils');
var sortById = testUtils.sortById;
module.exports = function (dbType, context) {
describe(dbType + ': basic3', function () {
beforeEach(function () {
return context.db.bulkDocs([
{ name: 'Mario', _id: 'mario', rank: 5, series: 'Mario', debu... |
import Icon from '../../components/Icon.vue'
Icon.register({
'brands/pinterest-p': {
width: 384,
height: 512,
paths: [
{
d: 'M204 6.5c94.2 0 180 64.8 180 164.1 0 93.3-47.7 196.8-153.9 196.8-25.2 0-57-12.6-69.3-36-22.8 90.3-21 103.8-71.4 172.8-5.2 1.9-3.5 2.3-6.9-1.5-1.8-18.9-4.5-37.5-4.5-56... |
module.exports = {
presets: [
[
'@babel/preset-env',
{
modules: 'commonjs',
targets: {
node: 8
}
}
],
'@babel/preset-flow'
]
}; |
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/**
* @name: S12.6.1_A8;
* @section: 12.6.1;
* @assertion: "continue" statement within a "do-while" Statement is allowed;
* @description: Using eval;
*/
var __condition = 0, __odds=0;
_... |
import axios from 'axios'
import { Message } from 'element-ui'
import router from '@/router'
// create an axios instance
const service = axios.create({
baseURL: process.env.VUE_APP_BASE_API, // url = base url + request url
// withCredentials: true, // send cookies when cross-domain requests
timeout: 5000 // requ... |
angular.module('warRoom')
.service('timeWidgetService', function() {
return {
initialize: function ($scope, obj) {
if(obj) {
$scope.loadTabs(obj)
}
},
serialize: function($scope) {
... |
import * as React from 'react';
import PersonalDetails from './PersonalDetails';
import DirectionDetails from './DirectionDetails';
import EducationDetails from './EducationDetails';
import { Link } from "react-router-dom";
export default function UserDetails(){
return <div>
<Link to="/home">Back</Link>
... |
import css from "styled-components";
import React from "react";
import { array, func, number, shape, string } from "prop-types";
import { format } from "date-fns";
import {
Action,
Avatar,
Container,
Dropdown,
DropdownContent,
Icon,
Text,
Tip,
color,
radius,
setSpace,
time,
disselect,
} from ... |
const connection = require('../database/connection')
module.exports = {
async create(req, res) {
const { id } = req.body
const ong = await connection('ongs')
.where('id', id)
.select('name')
.first()
if (!ong) {
return res.status(400).json({ error: 'No ONG found with ... |
describe(`User contact us page`, () => {
beforeEach(() => {
cy.createRandomAccount()
})
it(`should load the page`, () => {
cy.visit('/dashboard/contact-us')
})
}) |
import ListGroup from 'react-bootstrap/ListGroup'
function Summary(modalInfo) {
return (
<ListGroup>
<ListGroup.Item>Device Status: {modalInfo.status}</ListGroup.Item>
<ListGroup.Item>Model: {modalInfo.model}</ListGroup.Item>
<ListGroup.Item>Serial Number: {modalInfo.serial_number}</ListGrou... |
// test exp
var assert = require('assert'),
approx = require('../../../tools/approx'),
math = require('../../../index'),
complex = math.complex,
matrix = math.matrix,
sparse = math.sparse,
unit = math.unit,
dotPow = math.dotPow;
describe('dotPow', function() {
it('should elevate a number... |
//>>built |
$(function(){
$('#add').click(function() {
$(this).html('确认...');
$(this).prop('disabled', true);
$.ajax({
type: 'post',
url: '/projects/do_add',
data: {'title': $('#title').val(), 'authority': $('#authority option:selected').val(), 'description': $('#des... |
import React, {Component} from "react"
import {connect} from "react-redux"
import "./CommonInfoList.css"
import Panel from "../Panel/Panel"
const BLOCK_WIDTH = 326
class CommonInfoList extends Component {
render() {
let {title, list} = this.props
let itemStyle = {}
if (list.length !== 1) {
itemStyle.width ... |
/*
Copyright 2015, 2016 OpenMarket Ltd
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, sof... |
const slack = require("slack");
async function sendMessage(msg) {
slack.chat.postMessage({
token: process.env.SLACK_TOKEN,
channel: process.env.SLACK_CHANNEL,
text: msg
}).then(response => {
return response;
}).catch(error => {
return error;
})
}
module.export... |
import { Component } from 'react';
import Header from '../../../components/modules/Header';
function Dashboard() {
return(
<div>
<Header />
<h1 className="container">ACCOUNT</h1>
<style jsx>{`
.content {
margin-top: 40px;
... |
import * as jqxcore from '../../jqwidgets/jqxcore';
import * as jqxbuttons from '../../jqwidgets/jqxbuttons';
import * as jqxdropdownbutton from '../../jqwidgets/jqxdropdownbutton';
import * as jqxradiobutton from '../../jqwidgets/jqxradiobutton';
import * as jqxcolorpicker from '../../jqwidgets/jqxcolorpicker';
import... |
/** Used for built-in method references. */
var objectProto = Object.prototype;
/**
* Checks if `value` is likely a prototype object.
*
* @private
* @param {*} value The value to check.
* @returns {boolean} Returns `true` if `value` is a prototype, else `false`.
*/
function isPrototype(value) {
var Ctor = valu... |
const mix = require('laravel-mix');
/*
|--------------------------------------------------------------------------
| Mix Asset Management
|--------------------------------------------------------------------------
|
| Mix provides a clean, fluent API for defining some Webpack build steps
| for your Laravel appli... |
// Generated on 2016-07-02 using generator-angular 0.15.1
'use strict';
// # Globbing
// for performance reasons we're only matching one level down:
// 'test/spec/{,*/}*.js'
// use this if you want to recursively match all subfolders:
// 'test/spec/**/*.js'
module.exports = function (grunt) {
// Time how long task... |
'use strict';
describe('Service: sBuildings', function () {
// load the service's module
beforeEach(module('metacastleApp'));
// instantiate service
var sBuildings;
beforeEach(inject(function (_sBuildings_) {
sBuildings = _sBuildings_;
}));
it('should do something', function () {
expect(!!sBui... |
/**
* Definition for singly-linked list.
* function ListNode(val) {
* this.val = val;
* this.next = null;
* }
*/
/**
* @param {ListNode} head
* @return {boolean}
*/
var isPalindrome = function(head) {
let arr = [];
while (head) {
arr.push(head.val);
head = head.next;
}
for (let i = 0; ... |
const express = require('express');
const path = require('path');
const fs = require('fs');
const router = express.Router();
router.get(/^\/(.+)/, (req, res) => {
const sectionPath = req.params[0];
const sectionFilePath = path.join(__dirname, 'data', `${sectionPath}.json`);
fs.readFile(sectionFilePath, 'utf8', ... |
"use strict";
export function buildPathChange(types) {
const valueOf = x => x && x.valueOf();
const apply = (c, v) => (c ? c.apply(v) : v);
const commonPathLen = (p1, p2) => {
if (p1.length === 0 || p2.length === 0) return 0;
let i = 0;
for (; i < p1.length && i < p2.length && p1[i] === p2[i]; i++);
... |
/*!
* ${copyright}
*/
// Provides class sap.ui.rta.Main.
sap.ui.define([
"jquery.sap.global",
"sap/ui/base/ManagedObject",
"sap/ui/rta/toolbar/Fiori",
"sap/ui/rta/toolbar/Standalone",
"sap/ui/rta/toolbar/Personalization",
"sap/ui/dt/DesignTime",
"sap/ui/dt/Overlay",
"sap/ui/rta/command/Stack",
"sap... |
function range(start, stop, step=1) {
if (stop == null) {
stop = start || 0
start = 0
}
var length = Math.max(Math.ceil((stop - start) / step), 0)
var range = Array(length)
for (let idx = 0; idx < length; idx++, start += step) {
range[idx] = start
}
return range
}
module.exports = range |
/**
* @license Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
CKEDITOR.plugins.setLang( 'uicolor', 'tt', {
title: 'Интерфейс төсләрен сайлау',
options: 'Color Options', // MISSING
highlight: 'Highli... |
var group__group__ctdac__functions__switches =
[
[ "Cy_CTDAC_SetAnalogSwitch", "group__group__ctdac__functions__switches.html#ga35720692cc90978d7433d7446a438c03", null ],
[ "Cy_CTDAC_GetAnalogSwitch", "group__group__ctdac__functions__switches.html#ga4adea8df5e58027a0f32e3de9a719bf3", null ],
[ "Cy_CTDAC_Set... |
$(function() {
// Update summer season
$('#updateSummerSeason').on('click', function () {
var $btn = $(this);
divId = 'listSeasonDiv';
url = '/admin/cabinlite/seasondetails/summer/update';
$('#' + divId).find('.has-error').removeClass('has-error');
$('... |
// ** React Imports
import { useState, useEffect } from 'react';
// ** Third Party Components
import { Button } from 'reactstrap';
import classnames from 'classnames';
// ** Styles
import './ripple-button.scss';
const RippleButton = ({ className, children, onClick, ...rest }) => {
// ** States
const [mounted... |
/*!
* Ext JS Library 3.1.1
* Copyright(c) 2006-2010 Ext JS, LLC
* licensing@extjs.com
* http://www.extjs.com/license
*/
MainPanel = function(){
this.preview = new Ext.Panel({
id: 'preview',
region: 'south',
cls:'preview',
autoScroll: true,
listeners: FeedViewer.LinkInter... |
import styled from "styled-components";
const Wrapper = styled.div`
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
margin-top: 150px;
`;
export default Wrapper; |
import { loginWithEdge } from "modules/auth/actions/login-with-edge";
import {
updateAuthStatus,
EDGE_CONTEXT,
EDGE_LOADING
} from "modules/auth/actions/update-auth-status";
import {
selectEdgeContextState,
selectEdgeLoadingState
} from "src/select-state";
import { makeEdgeUiContext } from "edge-login-ui-web"... |
//// [assignParameterPropertyToPropertyDeclarationESNext.ts]
class C {
qux = this.bar // should error
bar = this.foo // should error
quiz = this.bar // ok
m1() {
this.foo // ok
}
constructor(public foo: string) {}
quim = this.baz // should error
baz = this.foo; // should error
... |
/*
* jQuery UI Datepicker 1.7.3
*
* Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about)
* Dual licensed under the MIT (MIT-LICENSE.txt)
* and GPL (GPL-LICENSE.txt) licenses.
*
* http://docs.jquery.com/UI/Datepicker
*
* Depends:
* ui.core.js
*/
(function($) { // hide the namespace
$.extend($.ui, { da... |
/*****************************************************************************
* Open MCT, Copyright (c) 2014-2018, United States Government
* as represented by the Administrator of the National Aeronautics and Space
* Administration. All rights reserved.
*
* Open MCT is licensed under the Apache License, Version ... |
import React, { PureComponent } from 'react';
import { Layout, Menu, Icon } from 'antd';
import pathToRegexp from 'path-to-regexp';
import { Link } from 'dva/router';
import styles from './index.less';
const { Sider } = Layout;
const { SubMenu } = Menu;
// Allow menu.js config icon as string or ReactNode
// icon: '... |
Errors = new Mongo.Collection(null)
throwError = function(message) {
console.log('in throw error');
Errors.insert({message: message});
} |
'use strict';
const defaults = require('defaults');
const redis = require('sota-core').load('cache/foundation/RedisCache');
const RedisStore = function (options) {
options = defaults(options, {
expiry: 60, // default expiry is one minute
prefix: "rl:",
resetExpiryOnChange: false
});
let expiryMs = M... |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var HistogramIterationValue_1 = require("./HistogramIterationValue");
/**
* Used for iterating through histogram values.
*/
var AbstractHistogramIterator /* implements Iterator<HistogramIterationValue> */ = /** @class */ (function () {
f... |
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
export default [
[
['فجرًا', 'صباحًا', 'ظهرًا', 'بعد الظهر', 'مساءً', 'منتصف الليل', 'ليلاً'],
['... |
import React from "react";
import {
ResourceItem,
ResourceList,
Avatar,
TextStyle,
Button,
} from "@shopify/polaris";
export default function ResourceListBody({
selected,
abandonedCheckout,
abandonedCart,
}) {
if (selected === 0) {
return (
<ResourceList
resourceName={{ singular: "... |
"!="
//# sourceMappingURL=app-1dacbdb5ab5ed2c6948c.js.map |
import React, { Component } from 'react';
import PropTypes from 'prop-types';
import '../App.css';
import RaisedButton from 'material-ui/RaisedButton';
class AddressShow extends Component {
constructor() {
super();
this.debug = false;
if (this.debug) {
console.log('SHOW ADDRESS... |
var pageComponent =
webpackJsonppageComponent([0],{
/***/ 266:
/***/ (function(module, exports, __webpack_require__) {
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
var _metalComponent = __webpack_require__(1);
var _metalComponent2 = _interopRequireDefault(_metalComponent);
var _... |
module.exports = {
semi: true,
trailingComma: "all",
singleQuote: true,
printWidth: 180,
tabWidth: 4,
endOfLine: "auto"
}; |
import React, { useContext } from "react";
const FetchContext = React.createContext(null)
export const useFetchContext = () => {
const cache = useContext(FetchContext)
return cache;
};
function FetchProvider({ cache, children }) {
return (
<FetchContext.Provider value={cache}>{children}</FetchContext.Provi... |
'use strict'
export default class Component {
name () {
return this.name
}
} |
import * as React from 'react'
import styled from 'styled-components'
import Layout from '../components/layout'
import Nav from '../components/Nav'
import Hero from '../components/sections/Hero'
import About from '../components/sections/About'
import Works from '../components/sections/Works'
import Contact from '../com... |
//이크마스크립트 문법을 준수 하겠다라는 내용
"use strict";
//DOM ->Document Object Model
const id = document.querySelector("#id"),
psword = document.querySelector("#psword"),
loginBtn = document.querySelector("#button");
loginBtn.addEventListener("click", login)
function login (){
const req = {
id : id.value,
... |
import Script from 'next/script'
import siteMetadata from '@/data/siteMetadata'
const PlausibleScript = () => {
return (
<>
<Script
strategy="lazyOnload"
data-domain={siteMetadata.analytics.plausibleDataDomain}
src="https://plausible.nadimtuh.in/js/plausible.js"
/>
<Scr... |
import {
GET_PROFILE,
PROFILE_LOADING,
PROFILE_NOT_FOUND,
CLEAR_CURRENT_PROFILE,
GET_PROFILES
} from "../actions/types";
const initialState = {
profile: null,
profiles: null,
loading: false
};
export default function(state = initialState, action) {
switch (action.type) {
case PROFILE_LOADING:
... |
modules.push('2.js');
console.log('module [2.js] was loaded!!'); |
"use strict";
function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj ... |
import React from 'react';
/**
* React component implementation.
*
* @author dfilipovic
* @namespace ReactApp
* @class BlogAuthor
* @extends ReactApp
*/
export class BlogAuthor extends React.Component {
//---------------------------------------------------------------------------------------------------------... |
/*
* Copyright (C) 2017-2019 Dremio Corporation
*
* 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 l... |
export const OPEN_LOG_IN = 'OPEN_LOG_IN'
export const CLOSE_LOG_IN = 'CLOSE_LOG_IN'
export const OPEN_LOG_IN_USING_PIN = 'OPEN_LOG_IN_USING_PIN'
export const CLOSE_LOG_IN_USING_PIN = 'CLOSE_LOG_IN_USING_PIN'
export const LOG_IN_USERNAME = 'LOG_IN_USERNAME'
export const LOG_IN_PASSWORD = 'LOG_IN_PASSWORD'
export const L... |
"use strict";
const Joi = require(`joi`);
const chalk = require(`chalk`);
const _ = require(`lodash`);
const {
gatsbyConfigSchema
} = require(`../../joi-schemas/joi`);
module.exports = (state = {}, action) => {
switch (action.type) {
case `SET_SITE_CONFIG`:
{
// Validate the config.
c... |
{
"GITHUBACCESSKEY": "463917f466e9a36817eddced0be6444f6997512d",
"URLSCANAPIKEY": "ef8cfb45-b692-4bbb-b103-0967ef8d0fc4"
} |
// LICENSE : MIT
"use strict";
/*
JSer.infoの記事が更新出来るかどうかをチェックする
中央値と現在値を比較して一致してる時のみGitterへ投稿する
*/
const { getStat } = require("../jser.github.io/lib/get-stat");
const postToGitter = require("./post-to-gitter");
getStat().then(stat => {
const jSerWeeks = stat.getJSerWeeks();
const latestWeek = jSerWeeks[jSer... |
/*!
* FilePond 4.28.2
* Licensed under MIT, https://opensource.org/licenses/MIT/
* Please visit https://pqina.nl/filepond/ for details.
*/
/* eslint-disable */
|
/*global tarteaucitron, ga, Shareaholic, stLight, clicky, top, google, Typekit, FB, ferankReady, IN, stButtons, twttr, PCWidget*/
/*jslint regexp: true, nomen: true*/
// generic iframe
tarteaucitron.services.iframe = {
"key": "iframe",
"type": "other",
"name": "Web content",
"uri": "",
"needConsent... |
function generateSolarSystem(lang){
function getHillRadius(m,a){
return a*Math.cbrt(m/(3*1.9891e30));
}
if (lang == 'en'){
core.regions.push({name:'Sun system',l1:0,l2:4.488e9});
core.regions.push({name:'Mercury sphere of influence',l1:57909227 - getHillRadius(3.33022e23,57909227),l2:57909227 + getHillRadius(... |
const Employee = require('./employee');
class Engineer extends Employee {
constructor(name, id, email, github) {
super(name, id, email);
this.github = github;
}
getGithub() {
return this.github;
}
getRole() {
return 'Engineer';
}
}
module.exports = Engineer; |
module.exports = {"name":"--pf-c-card--m-selectable--hover--BoxShadow","value":"0 0.1875rem 0.4375rem 0.1875rem rgba(3,3,3,0.13),0 0.6875rem 1.5rem 1rem rgba(3,3,3,0.12)","var":"var(--pf-c-card--m-selectable--hover--BoxShadow)"} |
import * as tslib_1 from "tslib";
import { Injectable } from '@angular/core';
import { HttpHeaders, HttpClient } from '@angular/common/http';
//realizar a conexao com o servidor carregando o driver do banco
var API_URL = 'http://localhost:3000';
var httpOptions = {
headers: new HttpHeaders({ 'Content-Type': 'applic... |
/* @generated */
// prettier-ignore
if (Intl.NumberFormat && typeof Intl.NumberFormat.__addLocaleData === 'function') {
} |
import React from 'react'
import styled from '@emotion/styled'
const Span = styled('span')`
/*
* Hamburgers
* @description Tasty CSS-animated hamburgers
* @author Jonathan Suh @jonsuh
* @site https://jonsuh.com/hamburgers
* @link https://github.com/jonsuh/hamburgers
*/
.hamburger {
padding: 0px 0px;
... |
function enterFloatingLayout(gswindows, split_pos, n_master) {
// restore all window geometry
for (var idx = 0; idx < gswindows.length; ++idx) {
gswindows[idx].restore_geometry();
}
}
function updateFloatingLayout(gswindows, split_pos, n_master) {
}
function exitFloatingLayout(gswindows, split_po... |
"use strict";
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
return new (P || (P = Promise))(function (resolve, reject) {
function fulfilled(value) { t... |
!function(){function _getCompiled(nools){return function(){return function(options){options=options||{};var defined={Array:Array,String:String,Number:Number,Boolean:Boolean,RegExp:RegExp,Date:Date,Object:Object},scope=options.scope||{},optDefined=options.defined||{};for(var i in optDefined)defined[i]=optDefined[i];retu... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.