text stringlengths 2 1.05M |
|---|
/* eslint-env mocha */
const assert = require('assert')
const TestHelper = require('../../../../test-helper.js')
const TestStripeAccounts = require('../../../../test-stripe-accounts.js')
const DashboardTestHelper = require('@layeredapps/dashboard/test-helper.js')
describe('/account/subscriptions/confirm-subscription',... |
var __extends = (this && this.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProp... |
/*
EASY TABS 1.2 Produced and Copyright by Koller Juergen
www.kollermedia.at | www.austria-media.at
Need Help? http:/www.kollermedia.at/archive/2007/07/10/easy-tabs-12-now-with-autochange
You can use this Script for private and commercial Projects, but just leave the two credit lines, thank you.
*/
// Tabs 如(tabid1,ta... |
'use strict';
var path = require('path');
var rootPath = path.normalize(__dirname + '/../../..');
console.log(rootPath, "is");
module.exports = {
root: rootPath,
port: process.env.PORT || 3000,
mongo: {
options: {
db: {
safe: true
}
}
}
}; |
// @flow
import React, { useCallback } from 'react'
import { RecipientRequired } from '@ledgerhq/errors'
import type { Account, Transaction, TransactionStatus } from '@ledgerhq/live-common/lib/types'
import { getAccountBridge } from '@ledgerhq/live-common/lib/bridge'
import type { T } from 'types/common'
import Box fro... |
/* --- AUTOGENERATED FILE -----------------------------
* If you make changes to this file delete this comment.
* Otherwise the file may be overwritten in the future.
* --------------------------------------------------- */
const { mergeLocMatchGroups } = require('../lib/matching/utils');
const { regexMatchLocs } = re... |
var typeIcons = {
amenity: {
arts_centre: 'arg-gallery',
atm: 'marker',
bank: 'bank',
bar: 'bar',
bicycle_parking: 'bicycle_parking',
bicycle_rental: 'bicycle_rental',
bus_station: 'bus',
cafe: 'cafe',
car_wash: 'marker',
cinema: 'cinema',
clinic: 'marker',
... |
if (self.CavalryLogger) { CavalryLogger.start_js(["icl83"]); }
__d("DistanceConstants",[],(function(a,b,c,d,e,f){e.exports={KILOMETERS_PER_MILE:1.609344,MILES_PER_KILOMETER:.621371,FEET_PER_MILE:5280,METERS_PER_MILE_APPROXIMATE:1609,METERS_PER_MILE:1609.344,METERS_PER_KILOMETER:1e3,KILOMETERS_PER_METER:.001,FEET_PER_D... |
import { Vector3 } from 'three';
var titleHTML = "\
<span style='position: absolute; top: "+80+"px; left: "+55+"px; display: block;'>\
<center><h1 id=title style='color: silver; font-size: 70px; opacity: 0;'>LABYRINTH</h1></center>\
<center id=entertostart style='color: silver; position: relative; top: "+(-30)+"px; ... |
function formatDate(date, fmt) {
if (typeof date == 'string') {
return date;
}
if (!fmt) fmt = "yyyy-MM-dd hh:mm:ss";
if (!date || date == null) return null;
var o = {
'M+': date.getMonth() + 1, // 月份
'd+': date.getDate(), // 日
'h+': date.getHours(), // 小时
'm+': date.getMinutes(), // 分
's+': date.get... |
'use strict';
var _regeneratorRuntime = require('babel-runtime/regenerator')['default'];
var _interopRequireDefault = require('babel-runtime/helpers/interop-require-default')['default'];
var _interopRequireWildcard = require('babel-runtime/helpers/interop-require-wildcard')['default'];
var _this2 = this;
var _chai... |
// These are the different permutations of ARIA attributes to try.
var attrs = [
'aria-live="polite" aria-relevant="text additions" (default)'];
build();
var live_region_counter = 0;
addTests(
'additions',
'append img with alt text',
'<div ARIA-ATTRS></div>',
function(region) {
var img = docu... |
"use strict";
/**
* @ngdoc function
* @name digitalWorkplaceApp.component:checkboxFormElement
* @description
* # checkboxFormElement
* Component of the digitalWorkplaceApp
*
* This component creates a checkbox form element.
*
* Example usage:
*
* <checkbox-form-element
* ng-model
* id="lead.hasGas" <!... |
// Tutorial handling
function sugarizerTour(currentView, role) {
var tutorial = {};
var tour;
var launched = false;
// Init tutorial
tutorial.init = function() {
var prevString = document.webL10n.get("TutoPrev");
var nextString = document.webL10n.get("TutoNext");
var endString = document.webL10n.get("TutoE... |
'use strict';
/**
* @ngdoc service
* @name $log
* @requires $window
*
* @description
* Simple service for logging. Default implementation safely writes the message
* into the browser's console (if present).
*
* The main purpose of this service is to simplify debugging and troubleshooting.
*
* The default is... |
import React, { useContext, useEffect, useState } from 'react'
import { useHistory } from 'react-router'
import { motion, AnimatePresence } from 'framer-motion'
import { HicetnuncContext } from '../../context/HicetnuncContext'
import { Container, Padding } from '../layout'
import { Button, Primary, Secondary } from '..... |
import React, { Component } from "react";
import { inject, observer } from "mobx-react";
import glamorous from "glamorous";
import {
DetailsTableRow,
DetailsTableCell,
DetailsTableTitle
} from "components/EntityList/style";
@observer
class AmqpItem extends Component {
constructor(props) {
supe... |
#!/usr/bin/env npx jbash
set("-x");
set("-e");
const rootFolder = require("path").join(__dirname, "../");
const specFilename = `spec-v1-swagger.json`;
const swaggerConfigFilename = `config.json`;
cd(rootFolder);
exec(
`wget http://127.0.0.1:8000/swagger.json -O ./.swagger-codegen/${specFilename}`
);
// Update c... |
module.exports = (function(){
// -------------------------------------------------------------------------------------------
// Defining configuration sub-schema
// -------------------------------------------------------------------------------------------
// Configuration for REDIS connections.
var CSUB_RED... |
function Observable() {
let observers = [];
this.sendMessage = msg => {
observers.forEach(observer => {
observer.notify(msg);
});
};
this.addObserver = observer => {
observers.push(observer);
};
}
function Observer(behavior) {
this.notify = msg => behavior(msg);
}
const observable = new Observable();
c... |
const express = require("express");
const app = express.Router();
/* Controllers */
var controllers = require('../../controllers');
/* Middleware */
var middleware = require("../../middlewares/middleware");
/* Manage People Page */
app.get("/manage_people", middleware.checkSessionElseProfile, function (req, res) {
... |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.decode = exports.defaultDecodeOptions = void 0;
const Decoder_1 = require("./Decoder");
exports.defaultDecodeOptions = {};
/**
* It decodes a MessagePack-encoded buffer.
*
* This is a synchronous decoding function. See other variant... |
const express = require('express');
const path = require('path');
const fs = require('fs');
const uuid = require('uuid');
const buildIndex = require('./buildIndex.js');
const PORT = process.env.PORT || 8080;
express()
.use("/", express.static(__dirname, {
index: "report.html"
}))
.use('/report', express.text({ ... |
(window.webpackJsonp=window.webpackJsonp||[]).push([[95],{2931:function(t,e,n){"use strict";n.r(e),n.d(e,"icon",(function(){return c}));n(11),n(2),n(7),n(8),n(5),n(9);var r=n(0),a=n.n(r);function i(){return(i=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototy... |
/*
* ATTENTION: An "eval-source-map" devtool has been used.
* This devtool is neither made for production nor for readable output files.
* It uses "eval()" calls to create a separate source file with attached SourceMaps in the browser devtools.
* If you are trying to read the output file, select a different devtool... |
import SegmentsController from '../../src/dash/controllers/SegmentsController';
import DashConstants from '../../src/dash/constants/DashConstants';
import Debug from '../../src/core/Debug';
import Settings from '../../src/core/Settings';
import EventBus from '../../src/core/EventBus';
import Events from '../../src/core... |
import React from 'react';
import { makeStyles } from '@material-ui/core/styles';
import Popover from '@material-ui/core/Popover';
import Typography from '@material-ui/core/Typography';
import Button from '@material-ui/core/Button';
const useStyles = makeStyles(theme => ({
typography: {
padding: theme.spacing(2)... |
module.exports = {
plugins: [
require('tailwindcss')
]
};
|
!function(e){function r(r){for(var n,u,p=r[0],f=r[1],i=r[2],c=0,s=[];c<p.length;c++)u=p[c],Object.prototype.hasOwnProperty.call(o,u)&&o[u]&&s.push(o[u][0]),o[u]=0;for(n in f)Object.prototype.hasOwnProperty.call(f,n)&&(e[n]=f[n]);for(a&&a(r);s.length;)s.shift()();return l.push.apply(l,i||[]),t()}function t(){for(var e,r... |
let mongoose = require('mongoose');
mongoose.Promise = Promise;
export class StudentProvider{
constructor(model) {
if (!model)
this._model = mongoose.model('Student');
else
this._model = model;
}
getAllStudentsByPage(limit, page, filter, orderBy){
// filter... |
const path = require('path');
const UglifyJsPlugin = require('uglifyjs-webpack-plugin');
const CleanWebpackPlugin = require('clean-webpack-plugin');
const HtmlWebpackPlugin = require('html-webpack-plugin');
module.exports = {
entry: './src/app.js',
plugins: [
new CleanWebpackPlugin(['dist']),
new HtmlWebp... |
import React from 'react'
import { render } from 'react-dom'
import Stars from '../src/react-stars'
const firstExample = {
size: 30,
value: 2.5,
edit: false
}
const secondExample = {
size: 50,
count: 10,
char: '',
color1: '#ff9900',
color2: '#6599ff',
onChange: newValue => {
console.log(`Exampl... |
import * as React from 'react';
import wrapIcon from '../utils/wrapIcon';
const rawSvg = (iconProps) => {
const { className, primaryFill } = iconProps;
return React.createElement("svg", { width: 10, height: 10, viewBox: "0 0 10 10", xmlns: "http://www.w3.org/2000/svg", className: className },
React.crea... |
import { combineReducers } from 'redux';
import shelfReducer from './shelf/reducer';
import cartReducer from './cart/reducer';
import totalReducer from './total/reducer';
import styleFiltersReducer from './styleFilters/reducer';
import genderFilterReducer from './genderFilter/reducer';
import sortReducer from './sort/r... |
import React, { PropTypes } from 'react';
import pubsub from 'pubsub-js'
import { Link } from 'react-router';
import AppTable from 'components/AppTable';
import AppButton from 'components/AppButton'
import InputNumberField from 'components/Form/InputNumberField'
import {resolveDataSource, publishEvents, resolveFetch,re... |
'use strict';
var path = require('path')
, test = require('tap').test
, configurator = require(path.join(__dirname, '..', '..', 'lib', 'config'))
, Agent = require(path.join(__dirname, '..', '..', 'lib', 'agent'))
;
test("Agent should send metrics to staging-collector.newrelic.com", fun... |
import React, { Component } from 'react';
import { connect } from 'react-redux';
import { selectBook } from '../actions/index';
import { bindActionCreators } from 'redux';
class BookList extends Component {
renderList() {
return this.props.books.map((book) => {
return (
<li
... |
// Generated by CoffeeScript 1.9.3
(function() {
var bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; },
extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototyp... |
let t = parseInt(readline());
while(t--){
let lines = readline().split(" ");
let nums = lines.map(Number);// nums
let n = nums[0];
let sum=0,curval;
for(let i=1; i<=n; i++){
curval = nums[i];
sum += curval;
}
print(sum);
} |
import React from "react"
import { Link } from "gatsby"
import App from './App';
const ListLink = props => (
<li style={{ display: `inline-block`, marginRight: `1rem` }}>
<Link style={{ textShadow: `none`, textDecoration: `none`, color: '#00000'}} to={props.to}>{props.children}</Link>
</li>
)
export default ... |
var execSync = require('child_process').execSync;
execSync("echo '" + __filename + "' >> /tmp/file_paths");
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor ... |
import React from "react";
import InputComponent from "../../InputComponent";
import "./EditAddressModal.scss";
class EditAddressModal extends React.Component {
constructor(props) {
super(props);
this.state = {
config: {},
customerDetail: {},
};
}
componentD... |
/*****************************************************************************
* Open MCT, Copyright (c) 2014-2021, 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 from 'react'
import Layout from '../components/layout'
// import { useStaticQuery, graphql } from "gatsby"
import '../styles/contact.css'
// import Header from '../components/header'
// import Footer from '../components/footer'
const Contact = () => {
return (
<Layout>
<div classNa... |
// https://eslint.org/docs/user-guide/configuring
module.exports = {
root: true,
parser: 'babel-eslint',
parserOptions: {
"ecmaVersion": 6,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true
}
},
env: {
"browser": true,
"es6": true,
"node": true
},
extends: [
'standard'... |
const API = 'https://randomuser.me/api/';
const getName = async () => {
const perroNameStorage=JSON.parse(sessionStorage.getItem('perrosNames'));
if (perroNameStorage.length > 0) {
return perroNameStorage;
}else{
let promesa1 = fetch(API);
let promesa2 = fetch(API);
let promesa3 = f... |
export {abstractField, validators} from 'vue-form-generator';
import {schema} from 'vue-form-generator';
export const {createDefaultObject} = schema;
|
const mongoose = require('mongoose');
const Joi = require("joi");
const jwt = require("jsonwebtoken");
const config = require('config');
const userSchema = new mongoose.Schema({
name: {
type: String,
required: true,
unique: true,
minlength: 1,
maxlength: 32
},
passwo... |
const { Model, DataTypes } = require('sequelize');
const sequelize = require('../config/connection');
class ProductTag extends Model {}
ProductTag.init(
{
id: {
type: DataTypes.INTEGER,
allowNull: false,
primaryKey: true,
autoIncrement: true,
},
product_id: {
type: DataType... |
() + 42
|
require('../../style/base.less');
require('../../badge/index.less');
require('../../icon/index.less');
require('../../loading/index.less');
require('../../picker/index.less');
require('../../button/index.less');
require('../../overlay/index.less');
require('../../popup/index.less');
require('../../toast/index.less');
r... |
const config = require('config');
const { format } = require('date-fns');
const log = require('./src/components/log')(module.filename);
/**
* Knex configuration
* Set database configuration for application and knex configuration for migrations
* and seeding. Since configuration values can change via env. vars or ... |
//// [tests/cases/compiler/moduleAugmentationsImports2.ts] ////
//// [a.ts]
export class A {}
//// [b.ts]
export class B {x: number;}
//// [c.d.ts]
declare module "C" {
class Cls {y: string; }
}
//// [d.ts]
/// <reference path="c.d.ts"/>
import {A} from "./a";
import {B} from "./b";
A.prototype.getB... |
import { searchVersionManage, deleteVersionManage } from '../../services/configManagement';
export default {
namespace: 'metadataVersionManage',
state: {
dataSource: [],
},
effects: {
*fetch({ payload }, { call, put }) {
const response = yield call(searchVersionManage, payload);
if (respo... |
module.exports = {
rules: {
// enforce spacing inside array brackets
'array-bracket-spacing': [ 'error', 'always' ],
// allow/disallow an empty newline after var statement
// https://github.com/eslint/eslint/blob/master/docs/rules/newline-after-var.md
'newline-after-var': [ 'error', 'always' ],
... |
(function( window, undefined ) {
kendo.cultures["lb-LU"] = {
name: "lb-LU",
numberFormat: {
pattern: ["-n"],
decimals: 2,
",": " ",
".": ",",
groupSize: [3,0],
percent: {
pattern: ["-n %","n %"],
... |
import mongoose from 'mongoose'
mongoose.Promise = global.Promise
export const createConnection = (url) => {
return mongoose.connect(url)
} |
'use strict'
const Joi = require('joi')
const { renderVersionBadge } = require('../version')
const { compare, isStable, latest } = require('../php-version')
const { optionalUrl } = require('../validators')
const { NotFound, redirector } = require('..')
const {
allVersionsSchema,
keywords,
BasePackagistService,
... |
import React, { Component } from 'react';
import ReactDOM from 'react-dom';
import axios from 'axios';
export default class Blog extends Component {
constructor(){
super();
this.state = {
blogs:[]
}
}
componentWillMount(){
axios.get('/api/blog').then(response=>{
... |
THREE.Object3D.DefaultUp.set(0, 0, 1);
// const tr = THREE;
// const zerorpc = require("zerorpc");
// const fs = require('fs');
// // import { } from 'app:../node_modules/ccapture.js/build/CCapture.all.min.js';
// // import {CCapture} from 'app:../node_modules/ccapture.js/build/CCapture.all.min.js'
// // const HoloPl... |
"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const option_names_1 = __importDefault(require("./option-names"));
exports.default = [
option_names_... |
var routes = {
// Default route ==>> localhost/#/
'': function () {
nx.importController('index', function() {
indexController.index();
});
},
//==>> localhost/#/inbox
'inbox': function () {
nx.importController('inbox', function() {
inboxController.index();
});
},
//==>> local... |
import {action, observable} from "mobx";
import React from 'react';
export default class AppState {
@observable isLogin = false;
// Is a super user
@observable user = {isSuper: false,userID:0};
@observable sessionID = "";
@action getSessionID = () => {
return this.sessionID;
};
@ac... |
// https://www.json.org/json-en.html
Prism.languages.json = {
'property': {
pattern: /"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,
greedy: true
},
'string': {
pattern: /"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,
greedy: true
},
'comment': {
pattern: /\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,
greedy: true
},
'number': /-?\b\d+(?:\.\d+... |
/**
* @license Angular v5.0.1
* (c) 2010-2017 Google, Inc. https://angular.io/
* License: MIT
*/
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/platform-browser'), require('@angular/animations'), require('@an... |
(this.webpackJsonpme=this.webpackJsonpme||[]).push([[12],{632:function(e,a,t){"use strict";t.r(a);var n=t(2),l=t(3),c=t(5),r=t(4),i=t(0),o=t.n(i);var m=function(){return o.a.createElement("header",{className:"header"},o.a.createElement("div",{className:"head-bg",style:{backgroundImage:"url('img/cover.png')"}}),o.a.crea... |
import { E } from '@agoric/eventual-send';
import { makePromiseKit } from '@agoric/promise-kit';
import { Far } from '@agoric/marshal';
export function buildRootObject() {
const callbackObj = Far('callback', {
callback(_arg1, _arg2) {
// console.log(`callback`, arg1, arg2);
return ['data', callbackOb... |
/* Requiring services */
const CustomFS = require('./utils/fs-utils');
const Path = require('path');
const _ = require('lodash');
/* Class declaration */
class Module {
constructor (currentDir) {
this.currentDir = currentDir;
this.controllers = {};
this._name = '_base';
this._routing = false;
thi... |
const pluginsConfig = require('../base/plugins.config.js');
const webpack = require('webpack');
pluginsConfig.push(
new webpack.HotModuleReplacementPlugin(),
new webpack.NoEmitOnErrorsPlugin()
);
module.exports = pluginsConfig;
|
macDetailCallback("00c040000000/24",[{"d":"1998-04-22","t":"add","a":"15070-B AVENUE OF SCIENCE\nSAN DIEGO CA 92128\n\n","c":"UNITED STATES","o":"ECCI"},{"d":"2001-10-24","t":"change","a":"15070-B AVENUE OF SCIENCE\nSAN DIEGO CA 92128\n\n","c":"UNITED STATES","o":"ECCI"},{"d":"2015-08-27","t":"change","a":"15070-B AV... |
Rickshaw.namespace('Rickshaw.Compat.ClassList');
Rickshaw.Compat.ClassList = function() {
/* adapted from http://purl.eligrey.com/github/classList.js/blob/master/classList.js */
if (typeof document !== "undefined" && !("classList" in document.createElement("a"))) {
(function (view) {
... |
/**
* @license DEDUPE_ON_MINIFY
* 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/LIC... |
import _ from 'lodash';
import keycodes from './lib/keycodes';
import ParallaxLayer from './lib/Parallaxlayer';
import File from './lib/File';
import Folder from './lib/Folder';
import VideoFile from './lib/VideoFile';
import ImageFile from './lib/ImageFile';
import Bullet from './lib/Bullet';
import Shooter fr... |
var gapi=window.gapi=window.gapi||{};gapi._bs=new Date().getTime();(function(){/*
gapi.loader.OBJECT_CREATE_TEST_OVERRIDE &&*/
var g=window,h=document,m=g.location,n=function(){},q=/\[native code\]/,u=function(a,b,c){return a[b]=a[b]||c},aa=function(a){a=a.sort();for(var b=[],c=void 0,d=0;d<a.length;d++){var e=a[d];e!... |
YUI.add("yuidoc-meta", function(Y) {
Y.YUIDoc = { meta: {
"classes": [
"AssetLoader",
"BaseTexture",
"CanvasRenderer",
"DisplayObject",
"DisplayObjectContainer",
"InteractionData",
"InteractionManager",
"MovieClip",
"Point",
"Rectang... |
export default {
datesPicked: [],
formFields: {
one: "",
two: "",
three: "",
four: "",
five: "",
six: "",
seven: ""
}
};
|
(function() {
'use strict';
var template = require('./appMainFooter.html');
module.exports = function appMainFooter() {
return {
//controller: 'AppMainFooterController', // Called from AppMainFooterController.js
template: template,
restrict: 'EA'
//replace: true
};
};
})(); |
"use strict";
const {
builders: { indent, line, hardline, concat, group },
utils: { mapDoc },
} = require("../../document");
const {
printTemplateExpressions,
uncookTemplateElementValue,
} = require("../print/template-literal");
// The counter is needed to distinguish nested embeds.
let htmlTemplateLiteralCou... |
/*
* jquery.simulate - simulate browser mouse and keyboard events
* http://jqueryui.com
*
* Copyright 2012 jQuery Foundation and other contributors
* Dual licensed under the MIT or GPL Version 2 licenses.
* http://jquery.org/license
*/
;(function( $ ) {
"use strict";
var rkeyEvent = /^key/,
rmouseEvent = /^(... |
'use strict';
var isPresent = require('is-present');
var hasClassSelector = require('has-class-selector');
module.exports = function classPrefix(prefix, options) {
options = options || {};
var ignored = options.ignored;
return function prefixRules(styling) {
styling.rules.forEach(function(rule) {
if... |
/*!
* Web Experience Toolkit (WET) / Boîte à outils de l'expérience Web (BOEW)
* wet-boew.github.io/wet-boew/License-en.html / wet-boew.github.io/wet-boew/Licence-fr.html
* v4.0.43.2 - 2021-10-26
*
*/
!function(){"use strict";wb.i18nDict={"lang-code":"ru","lang-native":"Русский язык",add:"добавлять",all:"Все",tphp... |
(function(a, b, c) {
/* node_modules/kit/inc/core/defs.sibilant:53:9 */
return foo(this);
}).bind(this);
;
var R = require("ramda");
var {
create,
extend,
mixin,
conditional,
cond,
partiallyApplyAfter
} = require("kit/js/util");
var {
Interface
} = require("kit-interface");
var {
Actor,... |
// Generated by CoffeeScript 1.12.2
var NEST_API_HOSTNAME, NEST_API_LOGIN_PATH, NEST_API_PORT, NestApi, https, queryString, url, util;
https = require('https');
queryString = require('querystring');
url = require('url');
util = require('util');
NEST_API_HOSTNAME = 'home.nest.com';
NEST_API_PORT = 443;
NEST_API_L... |
/*! nanoScrollerJS - v0.8.7 - (c) 2015 James Florentino; Licensed MIT */
!function (a) { return "function" == typeof define && define.amd ? define(["jquery"], function (b) { return a(b, window, document) }) : "object" == typeof exports ? module.exports = a(require("jquery"), window, document) : a(jQuery, window, docu... |
/**
*
* Source: https://docs.microsoft.com/en-us/azure/cognitive-services/translator/language-support
*
* The languages that Azure Translate supports alongside with their ISO 639-1 codes (not always correct iso code tho)
* See https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes
*/
const langs = {
auto: 'Au... |
import { r as registerInstance, h, g as getAssetPath } from './index-f4a4fd8c.js';
const myImageCss = "img{max-width:100%;max-height:100%;vertical-align:middle}";
const MyImage = class {
constructor(hostRef) {
registerInstance(this, hostRef);
/**
* The first name
*/
this.source = 'default.jpeg... |
webpackJsonp([9,12],[function(e,t,n){n(1)},function(e,t,n){function o(){r=f.width(),i=f.height(),a=r/2,s=i/2,f.css({"margin-left":-a,"margin-top":-s})}window.jQuery=window.$=n(2),n(3),n(4),n(14),n(20),n(24),n(25);var r,i,a,s,f=$(".header-background img");$(window).on("load resize",o),$(window).on("load",function(){var ... |
//
// Vivado(TM)
// rundef.js: a Vivado-generated Runs Script for WSH 5.1/5.6
// Copyright 1986-2016 Xilinx, Inc. All Rights Reserved.
//
var WshShell = new ActiveXObject( "WScript.Shell" );
var ProcEnv = WshShell.Environment( "Process" );
var PathVal = ProcEnv("PATH");
if ( PathVal.length == 0 ) {
PathVal... |
var banner = require('./banner')
var iit = module.exports = banner.submodule('iit')
.fullName('Illinois Institute of Technology')
.location('Chicago IL 60647')
.timezone('America/New_York')
.uses('banner')
.configure({
seperateDepartments: true
, seatsListedWithSections: false
, section... |
describe('pigLatin', function () {
it('adds "ay" to the end of words that start with a vowel', function () {
pigLatin("ear").should.equal("earay");
});
it('moves consecutive initial consonants at the beginning of a word and adds "ay"', function () {
pigLatin('spear').should.equal('earspay');
});
it('moves an i... |
const asyncRetry = require('async/retry');
const {spawnLightningCluster} = require('ln-docker-daemons');
const {test} = require('@alexbosworth/tap');
const {closeChannel} = require('./../../');
const {createChainAddress} = require('./../../');
const {createCluster} = require('./../macros');
const {createHodlInvoice} =... |
import Vue from 'vue'
import router from './router.js'
import SocialSharing from 'vue-social-sharing'
import axios from 'axios'
Vue.prototype.$http = axios;
Vue.use(SocialSharing);
new Vue({
router: router, // routerにはrouter.jsファイルを設定します
}).$mount('#app') // routerを適用する要素を設定(マウント)します |
/**
* Module depedencies
*/
var fs = require('fs');
var path = require('path');
var util = require('util');
var _ = require('@sailshq/lodash');
var transformTools = require('browserify-transform-tools');
module.exports = transformTools.makeStringTransform('machinepack', {}, function (code, transformOptions, done) ... |
import $ from 'jquery';
import { DataSource } from 'data/data_source/data_source';
import { isRenderer } from 'core/utils/type';
import { noop } from 'core/utils/common';
import config from 'core/config';
import devices from 'core/devices';
import errors from 'ui/widget/ui.errors';
import executeAsyncMock from '../../.... |
var express = require('express');
var bodyParser = require('body-parser');
var mongoose = require('mongoose');
var session = require('express-session');
var MongoStore = require('connect-mongo')(session);
var app = express();
// mongodb connection
mongoose.connect("mongodb://localhost:27017/photo-blog");
var db = mong... |
export const capitalizeFirstLetter = function (string) {
return string.charAt(0).toUpperCase() + string.slice(1);
}
export const toCamelCase = function (string) {
return string.replace(/([-:]\w)/g, function($1) { return $1.toUpperCase().replace('-','').replace(':', '') })
}
export default function formatName (nam... |
/**
* Created with JetBrains PhpStorm.
* MyUserInfo: taoqili
* Date: 12-6-12
* Time: 下午5:02
* To change this template use File | Settings | File Templates.
*/
UE.I18N['zh-cn'] = {
'labelMap':{
'anchor':'锚点', 'undo':'撤销', 'redo':'重做', 'bold':'加粗', 'indent':'首行缩进', 'snapscreen':'截图',
'italic':'斜... |
// Copyright 2018 OpenStax Poland
// Licensed under the MIT license. See LICENSE file in the project root for
// full license text.
import schema from './schema'
import renderInline from './render'
import * as commands from './commands'
export default function XReference() {
return { commands, schema, renderInlin... |
/*
* mobile navigation base tag unit tests
*/
(function($){
var baseDir = $.mobile.path.parseUrl($("base").attr("href")).directory,
contentDir = $.mobile.path.makePathAbsolute("../content/", baseDir),
home = location.pathname + location.search,
baseTagEnabled = $.mobile.dynamicBaseTagEnabled,
baseTagSupporte... |
import React from 'react'
import PropTypes from 'prop-types'
import { Button } from 'semantic-ui-react'
import { Translate } from 'react-localize-redux'
import { withRouter } from 'react-router'
import classNames from '../../utils/classNames'
import ArrowGrnImage from '../../images/icon-arrow-grn.svg'
import ArrowWhit... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.