text
stringlengths
3
1.05M
const linkExpiredMessage = 'Link wygasł.'; const emailNotExistMessage = 'Podany email nie znajduje się w bazie danych.'; const messageSendSuccessMessage = 'Wiadomość została pomyślnie wysłana.'; const tokenNotGeneratedMessage = 'Nie udało się wygenerować tokenu.'; const resetPasswordTokeRequiredMessage = 'Właściwość "...
/* * Activiti app component part of the Activiti project * Copyright 2005-2015 Alfresco Software, Ltd. All rights reserved. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either ...
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for # license information. # # Code generated by Microsoft (R) AutoRest Code Generator. # Changes ...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const React = require("react"); const wrapIcon_1 = require("../utils/wrapIcon"); const rawSvg = (iconProps) => { const { className, primaryFill } = iconProps; return React.createElement("svg", { width: 48, height: 48, viewBox: "0 0 48 ...
import matplotlib from skimage import draw as skd import matplotlib.pyplot as plt import xray_vision.mpl_plotting as xrv_plt import numpy as np import skxray.roi as roi frame_shape = (128, 128) test_image = np.zeros(frame_shape) r = 5 for n, (i, j) in enumerate(zip([5, 15, 40, 110], [...
// Напиши функцию calculateTotalPrice(arr, productName), которая // получает массив объектов и имя продукта (значение свойства name). // Возвращает общую стоимость продукта (цена * количество). // Вызовы функции для проверки работоспособности твоей реализации. const products = [ { name: 'Радар', price: 1300, quanti...
// Karma configuration // http://karma-runner.github.io/0.10/config/configuration-file.html module.exports = function(config) { config.set({ // base path, that will be used to resolve files and exclude basePath: '', // testing framework to use (jasmine/mocha/qunit/...) frameworks: ['jasmine'], ...
from __future__ import print_function, division from sympy import (Add, ceiling, divisors, factor_list, factorint, floor, igcd, ilcm, Integer, integer_nthroot, isprime, Matrix, Mul, nextprime, perfect_power, Poly, S, sign, solve, sqrt, Subs, Symbol, symbols, sympify, Wild) from sympy.core.function import ...
$(function() { consoleInit(main) }); const SUKI_CHEF_ABI = [{"inputs":[{"internalType":"contract SukiToken","name":"_egg","type":"address"},{"internalType":"address","name":"_devaddr","type":"address"},{"internalType":"address","name":"_feeAddress","type":"address"},{"internalType":"uint256","name":"_startBlock","t...
from django.urls import path from .views import json, main, about, profile, suggestion, signup_request, login_request, randomize, getList, CreateThread, profile_edit, json, mainafter, aboutafter app_name = 'main' urlpatterns = [ path('', main, name='home'), path('about', about, name='about'), path('sugge...
import json import time import subprocess import warnings from kubernetes import client, config from kubernetes.client.rest import ApiException def to_selector(labels): return ",".join(["=".join(lbl) for lbl in labels.items()]) class K8sApi: def __init__(self): # https://github.com/kubernetes-cli...
def getHelp(): return 'привет, это help-сообщение.\nМои комманды:\n /help => this message;\n /start => hello message;\n getDate => date'
Proj4js.defs["EPSG:23946"] = "+proj=utm +zone=46 +a=6377276.345 +b=6356075.41314024 +towgs84=217,823,299,0,0,0,0 +units=m +no_defs "
"use strict"; (()=>{ let host = chrome.webview; // This used to be the case in iframes, but is not any more. // I don't know what could cause it now, but we'll keep the check just in case. if (host === undefined) return; // TODO: Figure out how to prevent webpage from abusing chrome.webview // If we delete this, ...
# Copyright 2019-2021 Huawei Technologies Co., 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...
import React from 'react'; import ReactDOM from 'react-dom'; import './index.css'; import App from './App'; import * as serviceWorker from './serviceWorker'; import 'bootstrap/dist/css/bootstrap.css'; ReactDOM.render(<App/>, document.getElementById('root')); // If you want your app to work offline and load faster, yo...
# Copyright 2021 Jacob Durrant # 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...
#!/usr/bin/env python import sys try: total = sum(int(arg) for arg in sys.argv[1:]) print ('sum =', total) except ValueError: print ('Please supply integer arguments')
from io import BytesIO from PIL import Image from flask import send_file from utils import http from utils.endpoint import Endpoint, setup @setup class Aborted(Endpoint): params = ['avatar0'] def generate(self, avatars, text, usernames, kwargs): base = Image.open('assets/aborted/aborted.bmp') ...
var group___s_t_m8_a_f___s_t_m8_s_struct_c_a_n__t_8_m_s_r = [ [ "__pad0__", "group___s_t_m8_a_f___s_t_m8_s.html#a74a47a7eac047138ff811ede153943e6", null ], [ "ERRI", "group___s_t_m8_a_f___s_t_m8_s.html#a96d70e4d39a19bbd0198a5739464bef4", null ], [ "INAK", "group___s_t_m8_a_f___s_t_m8_s.html#aa9ba0e237de8a4b...
from typing import List SHIP = 1 SPACE = 0 def calculate_hit_probability(rows: List[List[int]]) -> float: flattened = [ column for row in rows for column in row] spaces = len(flattened) ships = flattened.count(SHIP) return ships / spaces # pylint: disable=unused-argument de...
import { Link } from "gatsby" import * as React from "react" import Layout from "../components/layout" import Seo from "../components/seo" const NotFoundPage = () => ( <Layout> <Seo title="404: Not found" /> <h1>404: ページが見つかりません</h1> <p> <Link to="/">ホームへ戻る</Link> </p> </Layout> ) export de...
import React, { useState, useEffect } from "react"; import { Container, Card, CardImg, Button } from "react-bootstrap"; import { useParams, Link } from "react-router-dom"; import { useMutation, useQuery } from "@apollo/client"; import Auth from "../../utils/auth"; import { MY_PROFILE } from "../../utils/queries"; impor...
/** * Created by Glalex on 31.05.2017. */ 'use strict'; $(function () { var topContainer = document.querySelector(".top-container"); function readMoreBtnHandler() { $(this.parentNode.querySelector(".for-read-more")).slideToggle(); $(this).toggleText("Читать дальше", "Скрыть"); } $(...
const FaviconsWebpackPlugin = require('favicons-webpack-plugin'); // vue.config.js module.exports = { configureWebpack: { plugins: [ new FaviconsWebpackPlugin({ logo: './src/assets/images/logo.png', inject: true, favicons: { appName: 'Adagio', appDescription: 'Th...
var URL = window.URL || window.webkitURL || window.mozURL || window.msURL; navigator.saveBlob = navigator.saveBlob || navigator.msSaveBlob || navigator.mozSaveBlob || navigator.webkitSaveBlob; window.saveAs = window.saveAs || window.webkitSaveAs || window.mozSaveAs || window.msSaveAs; // Because highlight.js is a bit ...
// const Ws = use('Ws') // // Ws.channel('msj', 'ServerController') // Ws.channel('msj', ({ socket }) => { // socket.on('open', () => { // console.log('Conectado al servidor'); // this.socketStatus = true; // }) // socket.on('mensaje', (payload) => { // console.log('Mensaje R...
""" The command line interface for the Threema gateway service. """ import asyncio import binascii import os import re import aiohttp import click import logbook import logbook.more from threema.gateway import Connection from threema.gateway import __version__ as _version from threema.gateway import ( e2e, fe...
import ui from math import pi,atan2 class CircularSlider(ui.View): def __init__(self,*args,**kwargs): ui.View.__init__(self,*args,**kwargs) self.image = None self.a = 0 self.value = (self.a+pi)/(2*pi) self.action = None self.continuous = False @property def ...
const axios = require("axios"); const { fields: requestsFields } = require("~airtable/tables/requestsSchema"); module.exports = async function notifyManyc(record) { const manycId = record.get(requestsFields.externalId); if (!manycId) { console.log("No manyc ID for manyc request."); return; } if (!proce...
# -*- coding:utf-8 -*- from ais_sdk.gettoken import get_token from ais_sdk.image_moderation_batch import moderation_image_batch from ais_sdk.utils import init_global_env if __name__ == '__main__': # # access moderation image,post data by token # user_name = '******' password = '******' account_...
/** * NUMBER * * Normal text input that only allows a number. Letters etc. are not entered. */ Form.editors.Number = Form.editors.Text.extend({ defaultValue: 0, events: _.extend({}, Form.editors.Text.prototype.events, { 'keypress': 'onKeyPress', 'change': 'onKeyPress' }), initialize: function(op...
import { equal } from "assert" import _ from "lodash" import shape, { STRING, NUMBER, OBJECT, ARRAY, } from "../src" describe("facts", () => { describe("shape", () => { _.each([ ["bob vs bob", // Description "bob", // a "bob", // b true], // result of sha...
import Ember from 'ember'; export default Ember.Component.extend({ shoppingCart: Ember.inject.service(), itemsInCart: Ember.computed('shoppingCart.items.[]', function() { return this.get('shoppingCart.items').length; }) });
import React, { Component } from 'react' import { Button } from 'react-bootstrap' import "./Result.css" import D3Final from '../../Components/D3Final/D3Final' var fullLength = 0; class Result extends Component { constructor(){ super(); this.averages = { Anger: 0, Contempt: 0, Disgust: 0, ...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var tslib_1 = require("tslib"); var React = require("react"); var classNames = require("classnames"); var bulma_1 = require("./../../bulma"); function NavbarBrand(_a) { var _b = _a.tag, tag = _b === void 0 ? 'div' : _b, props = tslib_1.__r...
define([ 'beforeAfter' ], function( beforeAfter ) { var custom = { init: function(){ // all any custom init functions here beforeAfter.init(); } }; return custom; });
### Copyright 2014, MTA SZTAKI, www.sztaki.hu ### ### 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 applicab...
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } }...
"""Select sequences for strains that have titer measurements by a given timepoint. """ import argparse from augur.titer_model import TiterCollection from augur.utils import read_metadata import Bio.SeqIO import pandas as pd if __name__ == '__main__': parser = argparse.ArgumentParser( description="Select s...
from userbot.events import javes05 from pathlib import Path import json, os, subprocess, time, math, asyncio from pySmartDL import SmartDL from hachoir.metadata import extractMetadata from hachoir.parser import createParser from telethon.tl.types import DocumentAttributeVideo from userbot import LOGS, CMD_HELP, TEMP_...
require('dotenv-flow').config() const fastify = require('fastify') const { UrlEntity } = require('@albert-team/spiderman/entities') const Scheduler = require('./scheduler') const Scraper = require('./scraper') const DataProcessor = require('./data-processor') const loggerLevel = process.env.NODE_ENV !== 'production' ...
import Vue from 'vue'; import VueClipboard from 'vue-clipboard2'; import App from './App.vue'; import router from './router'; Vue.config.productionTip = false; Vue.use(VueClipboard); new Vue({ router, render: (h) => h(App), }).$mount('#app');
/** * vim:set sw=2 ts=2 sts=2 ft=javascript expandtab: * * # Pad and group sharing module * * ## License * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright owne...
/* ************************************ */ /* Define helper functions */ /* ************************************ */ function evalAttentionChecks() { var check_percent = 1 if (run_attention_checks) { var attention_check_trials = jsPsych.data.getTrialsOfType('attention-check') var checks_passed = 0 for (v...
"use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); exports.BaseManager = void 0; const DisTubeBase_1 = __importDefault(require("../DisTubeBase")); const __...
(function (root, factory) { var imgLoadBrowser = function(url, cb){ var img = new root.Image(); img.onload = function(){ cb(undefined, img) } img.src = url; }; var renderersBrowser = function(url, cb){ return [ 'average.js' ]; }; if (typeof define ...
const covid_updates = "covid_updates-ken-karlo-v1" const assets = [ "/", "assets/css/icons.min.css", "assets/css/app-dark.min.css", "assets/css/default.css", "assets/css/app.min.css", "assets/css/aos.css", "assets/js/aos.js", "assets/js/jquery.min.js", "assets/js/auth/_app.js", "assets/js/auth/_app....
import { readCmrResults } from '../readCmrResults' describe('readCmrResults', () => { describe('when the status code is not 200', () => { test('returns an empty array', () => { const response = readCmrResults('search/collextions.json', { body: { errors: ['Record not found.'] }, ...
#!/usr/bin/env python from reportlab import ascii from reportlab.lib.testutils import setOutDir,makeSuiteForClasses, outputfile, printLocation setOutDir(__name__) import sys from xml.dom import minidom from xml.sax._exceptions import SAXReaderNotAvailable import unittest from reportlab.graphics.shapes import * from rep...
exports.config = { seleniumAddress: 'http://localhost:4444/wd/hub', specs: ['thinkfulTest.js'] }
# -*- coding: utf-8 -*- # Copyright (c) 2018, prafful and Contributors # See license.txt from __future__ import unicode_literals import frappe import unittest class TestLibraryMember(unittest.TestCase): pass
'use strict'; let execSync = require('child_process').execSync; let exec = require('child_process').exec; let path = require('path'); var pageBuild = require('./page-build'); let csvlintVersion = '0.3.2'; let electronVersion = '1.0.1'; let platforms = { "darwin": 'csvlint-' + csvlintVersion + '-osx.tar.gz', "linu...
const { gql } = require('apollo-server-express'); const typeDefs = gql ` type Query { me: User } type Mutation { login(email: String!, password: String!): Auth addUser(username: String!, email: String!, password: String!): Auth saveBook(input: bookInput!): User ...
import store from "../plugins/store.js"; export default class partidaServices { async getlistpartidas() { try { let { data } = await axios("/api/get-partidas") store.commit("setPartidas", data) var model_notificacion = {mensaje: 'Partidas cargadas con exito', status: tru...
var databases = { 'seed.reaction' : 'https://identifiers.org/seed.reaction/' } var get_annotation_status = function(template_id, rxns, result, cb, fn_fail) { rxn_id = rxns.pop() if (rxn_id) { get_template_reaction_annotation_status(template_id, rxn_id, function(e) { result[rxn...
!function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.d...
// import { EffectPass, VignetteEffect } from 'postprocessing' import WebGLApp from './lib/WebGLApp' import assets from './lib/AssetManager' import Box from './scene/Box' import { addNaturalLight } from './scene/lights' // import { addScreenshotButton, addRecordButton } from './scene/screenshot-record-buttons' // true...
const { BaseCommand } = require('./base-command.js'); const { app } = require('./app.js'); const { _ } = require('lib/locale.js'); const { Tag } = require('lib/models/tag.js'); const { BaseModel } = require('lib/base-model.js'); class Command extends BaseCommand { usage() { return 'tag <tag-command> [tag] [note]';...
# Copyright 2021 Amazon.com, Inc. or its affiliates. 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. A copy of the License is located at # # http://aws.amazon.com/apache2.0/ # # or in the "license" file acco...
import argparse import json import os from typing import List import spacy from src.data import io from src.data.data_loader import EcbDataLoader, IDataLoader from src.data.io import json_serialize_default from src.data.mention import Mention def evaluate_coref(ecb_path: str, data_loader: IDataLoader) -> List[Menti...
'use strict'; /** * Module dependencies. */ var mongoose = require('mongoose'), Schema = mongoose.Schema, crypto = require('crypto'); /** * A Validation function for local strategy properties */ var validateLocalStrategyProperty = function(property) { return ((this.provider !== 'local' && !this.updated) || pro...
// Copyright 2010 the V8 project authors. All rights reserved. // 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 ...
var AdaptableController = require("../src/Controllers/AdaptableController").AdaptableController; var FilesAdapter = require("../src/Adapters/Files/FilesAdapter").default; var FilesController = require("../src/Controllers/FilesController").FilesController; var MockController = function(options) { AdaptableController...
// Copyright (C) 2017 Ecma International. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- description: | Collection of assertion functions used throughout test262 defines: [assert] ---*/ function assert(mustBeTrue, message) { if (mustBeTrue === true) { ...
(function(){BX.namespace("BX.rest");if(!!BX.rest.PlacementCarousel){return}BX.rest.PlacementCarousel=function(t){BX.rest.PlacementCarousel.superclass.constructor.apply(this,arguments);if(this.param.current){this.loaded[this.param.current]=true}};BX.extend(BX.rest.PlacementCarousel,BX.rest.Placement);BX.rest.PlacementCa...
let mongoose = require("mongoose"); let db = require("../models"); mongoose.connect( process.env.MONGODB_URI || 'mongodb://localhost/workout', { useNewUrlParser: true, useUnifiedTopology: true, useCreateIndex: true, useFindAndModify: false } ); let workoutSeed = [ { day: new Date().setDate...
import React, { Component } from 'react' import './styles/global.css' import GridWrapper from './components/hoc/Grid' import Nav from './components/Nav' import Routes from './routes/Routes' import styled from 'styled-components' import theme from './themeConfig' const AppWrapper = styled.div` height: 100%; backgroun...
define(["./AttributeCompression-1f045b73","./Matrix2-ccd5b911","./combine-83860057","./IndexDatatype-b7d979a6","./ComponentDatatype-93750d1a","./createTaskProcessorWorker","./RuntimeError-346a3079","./when-4bbc8319","./WebGLConstants-1c8239cc"],function(B,T,V,W,z,a,e,t,r){"use strict";var q=32767,i=Math.cos(z.CesiumMat...
import React, { Component } from 'react'; import api from '../services/api' import './Tweet.css'; import Like from '../like.svg' export default class Tweet extends Component { handleLike = async () => { const { _id } = this.props.tweet await api.post(`likes/${_id}`) } render() { const { tweet } =...
/** * Function that returns default values. * Used because Object.assign does a shallow instead of a deep copy. * Using [].push will add to the base array, so a require will alter * the base array output. */ 'use strict'; const path = require('path'); const srcPath = path.join(__dirname, '/../src'); const dfltPor...
var _ = require('lodash'); var request = require('request'); var Promise = require('bluebird'); function main(options) { options = options || {}; var user = options.user; var repo = options.repo; var oauthKey = options.oauthKey; var releaseDate = options.releaseDate; var releaseTag = options.re...
((function (App) { 'use strict'; App.Helper.Notifications = { map_version: { deletion: { type: 'warning', content: 'Are you sure you want to permanently delete this map version?', dialogButtons: true, closeable: false } }, site: { maxFileSize: { ...
export const crawlToken = (address, forceUIApproval = false) => ({ type: 'CRAWL_TOKEN', address, forceUIApproval, }) export const crawlNFTItem = (address, id) => ({ type: 'CRAWL_NFT_ITEM', address, id, })
const mysql = require("mysql2"); const cTable = require("console.table"); const connection = require("./connections"); const inquirer = require("inquirer"); const { connect } = require("./connections"); async function viewDept() { const query = `SELECT * FROM department`; return connection.promise().query(query);...
import { expect } from 'chai'; import { put, call } from 'redux-saga/effects'; import { HENTER_MOTE, MOTE_HENTET } from './mote_actions'; import { hentMote } from './moteSagas'; import { get, hentSyfoApiUrl, API_NAVN } from '../gateway-api/gatewayApi'; describe('moteSagas', () => { let apiUrlBase; describe('hentM...
const mongoose = require('mongoose'); mongoose.connect(process.env.MONGODB_URI || 'mongodb://localhost/donation-app-db', { useNewUrlParser: true, useUnifiedTopology: true, useCreateIndex: true, useFindAndModify: false }); module.exports = mongoose.connection;
/******/ (function(modules) { // webpackBootstrap /******/ // The module cache /******/ var installedModules = {}; /******/ /******/ // The require function /******/ function __webpack_require__(moduleId) { /******/ /******/ // Check if module is in cache /******/ if(installedModules[moduleId]) { /******/ re...
define([ "jquery", "Underscore", "text!templates/test.html" ], function ($, _, testTemplate) { "use strict"; var template = _.template(testTemplate); $("#content").html(template({ event : "JFokus", presenters : ["John Wilander", "Joakim Kemeny"] })); return 'Hello from ...
import os import argparse import numpy as np import processors as pe from paz import processors as pr from paz.backend.image import load_image from pipelines import CalculateFaceWeights class Database(): """Load images and updates the database with their weights value # Properties path: String. Path ...
import { __assign } from 'tslib'; import { Injectable, NgZone, RendererFactory2, Inject, PLATFORM_ID, ElementRef } from '@angular/core'; import { isPlatformBrowser } from '@angular/common'; import { Subject, merge, fromEvent, of, animationFrameScheduler } from 'rxjs'; /** * @fileoverview added by tsickle * @suppress...
import React from 'react'; import { Translate } from 'react-localize-redux'; import { withRouter } from 'react-router-dom'; import styled from 'styled-components'; import IconMCopy from '../../images/IconMCopy'; import FormButton from '../common/FormButton'; const CustomDiv = styled(`div`)` .buttons-row { ...
from rest_api_auto import _api_globals, CRUD from rest_api_auto.base import APIManager def register_model(name=None, actions=None): """ model 注册装饰器 :param name: app.model 默认为Model._meta.label :param actions: 增:"C", 删:"D", 改:"U", 查:"R" """ if actions: if not set(actions).issubset(...
export function adjustSqrColor(sqrColor, canDrop) { if (sqrColor === "sqr1" && canDrop) return "sqr1-in-range" if (sqrColor === "sqr2" && canDrop) return "sqr2-in-range" return sqrColor }
/** * Created by JimBarrows on 8/10/16. */ 'use strict'; export default { development: { mongoose: { url: 'mongodb://localhost/pinecone' }, rabbitMq: { url: 'amqp://localhost' } }, production: { mongoose: { url: 'mongodb://mongo/pinecone' }, rabbitMq: { url: 'amqp://rabbitmq' } } }
/** * svgLoader.js v1.0.0 * http://www.codrops.com * * Licensed under the MIT license. * http://www.opensource.org/licenses/mit-license.php * * Copyright 2014, Codrops * http://www.codrops.com */ ;( function( window ) { 'use strict'; function extend( a, b ) { for( var key in b ) { ...
import React, { useState } from 'react'; import * as PropTypes from 'prop-types'; import graphql from 'babel-plugin-relay/macro'; import { compose, filter, flatten, fromPairs, includes, map, uniq, zip, } from 'ramda'; import * as Yup from 'yup'; import Grid from '@material-ui/core/Grid'; import { withSt...
import React from 'react'; import ReactDOM from 'react-dom'; import {BrowserRouter as Router, Route, Link} from 'react-router-dom'; import memoize from 'lodash/memoize'; import loadable from 'react-loadable'; import styled from 'styled-components'; import formatName from '../utils/formatName'; import {tree, list} from...
macDetailCallback("001afa000000/24",[{"d":"2007-01-06","t":"add","a":"4619 Jordan Road\nPO Box 187\nSkaneateles Falls NY 13153-0187\n","c":"UNITED STATES","o":"Welch Allyn, Inc."},{"d":"2015-08-27","t":"change","a":"4619 Jordan Road Skaneateles Falls NY US 13153-0187","c":"US","o":"Welch Allyn, Inc."}]);
import React from 'react'; const AboutPage = () => ( <div className="about-page__container"> <h1>Placeholder for About Page</h1> </div> ); export default AboutPage;
'use strict' const cloneDeep = require('lodash/cloneDeep') module.exports = class LodashWrapper { constructor (_) { this.steps = [] const record = (name, isChained, args, result) => { if (name === 'chain' || typeof (name) === 'undefined') { return } this.steps.push({ func...
import React from "react"; import cn from "classnames"; import { css } from "goober"; import Text from "../Text"; const H1Class = () => { return css` font-size: 2.5rem; `; }; export const H1 = ({ children, ...props }) => { return ( <Text as="h1" bold {....
(function($) {
# coding=utf-8 """Generation 4 Struct Adapters.""" __author__ = 'Patrick Jacobs <ceolwulf@gmail.com>' from construct import Adapter from pypkm.sqlite import get_chr, get_ord class PkmStringAdapter(Adapter): def _encode(self, obj, ctx): """Converts a unicode string to a list of Gen 4 ords.""" # ...
'use strict'; angular.module('VAST.view1', ['ngRoute']) .config(['$routeProvider', function($routeProvider) { $routeProvider.when('/view1', { templateUrl: 'view1/view1.html', controller: 'View1Ctrl' }); }]) .controller('View1Ctrl', [function() { }]);
const chalk = require("chalk"); const inquirer = require("inquirer"); const fs = require("fs"); const confirm = require("../helpers/confirm"); const sitePicker = require("../helpers/site_picker"); const errorLogger = require("../helpers/error_logger"); // const spinner = [ // '/ Processing', // '| Processing', // ...
#!/usr/bin/env python # vim: ai ts=4 sts=4 et sw=4 from django.conf import settings from djtables import Table, Column from djtables.column import DateColumn from .models import Message class MessageTable(Table): # this is temporary, until i fix ModelTable! contact = Column() connection = Column() ...
import React from "react"; import renderer from "react-test-renderer"; import { shallow } from "enzyme"; import user from "../../../utilities/api-clients/user"; import log from "../../../utilities/logging/log"; import notifications from "../../../utilities/notifications"; import { ChangeUserPasswordController, mapState...
/*class flash.display.LoaderInfo*/ /* import flash.errors.IllegalOperationError; import flash.events.*; import flash.system.*; import flash.utils.*; */ (function () { "use strict"; var d = {}; d._content = null; d._applicationDomain = null; d._actionScriptVersion = 0; d._swfVersion = 0; ...
import createError from 'http-errors' import User from '../models/User.js' import cloudinary from 'cloudinary' import bcrypt from 'bcryptjs' export const getAllUsers = async (req, res, next) => { try { const users = await User.find().sort('username') res.json(users) } catch (err) { next(err) } }...