text stringlengths 3 1.05M |
|---|
from flask import render_template, redirect, request, url_for, flash
from flask.ext.login import login_user, logout_user, login_required, \
current_user
from . import auth
from .. import db
from ..models import User
from ..email import send_email
from .forms import LoginForm, RegistrationForm
@auth.route('/login'... |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.change = exports.resolve = exports.acknowledge = exports.trigger = exports.event = void 0;
const common_1 = require("./common");
function event(eventParameters) {
const { server = 'events.pagerduty.com', type = 'event', data, ...co... |
/*
* Innerwave's jQuery Scroller plugin v0.2.1233-SNAPSHOT
* http://www.innerwave.co.kr
*
* Copyright 2014 Innerwave Co., Ltd.
*
*/
(function (factory) {
if (typeof define === 'function' && define.amd) {
define([
'jquery'
], factory);
} else {
factory(jQuery);
}
}(function ($) {
functio... |
import React from "react";
import Pixel from "./Pixel";
// Functional component - Create a 25x25 block of blank pixels
const BlankBlock = () => {
const createColumns = row => {
// Create 25 column divs
const columns = new Array(25);
const items = [];
for (const [index] of columns.entries()) {
... |
import React, { Component } from 'react'
import PropTypes from 'prop-types'
import DeleteX from './DeleteX'
import actions from '../../business/actions'
class CoffeeSummary extends Component {
select () {
actions.selectCoffee(this.props.dispatch, this.props.orderId, this.props.id)
}
cancel () {
action... |
# Copyright 2017 New Vector Ltd
# Copyright 2019-2021 The Matrix.org Foundation C.I.C
#
# 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
#
# Un... |
ASSET_PREFIX = "";
SCRIPT_PREFIX = "";
SCENE_PATH = "1139456.json";
CONTEXT_OPTIONS = {
'antialias': true,
'alpha': false,
'preserveDrawingBuffer': false,
'preferWebGl2': true,
'powerPreference': "default"
};
SCRIPTS = [ 46616674, 46616696 ];
CONFIG_FILENAME = "config.json";
INPUT_SETTINGS = {
u... |
/* eslint-disable-next-line */
const { isRegExp } = require("util");
const { isTagNode } = require("../../knife/tag_utils");
module.exports = {
name: "attr-bans",
on: ["dom"],
need: "dom",
validateConfig(config) {
const typeError = (type) => `Configuration for rule "${this.name}" is invalid: Expected stri... |
/*
Copyright (c) 2018-2020 Uber Technologies, Inc.
This source code is licensed under the MIT license found in the
LICENSE file in the root directory of this source tree.
*/
// @flow
import * as React from 'react';
import {getOverrides} from '../helpers/overrides.js';
import type {SkeletonPropsT} from './types.js';
im... |
const test = require('tape')
const pull = require('pull-stream')
const buffer = require('.')
function timedSource(data) {
return pull(
pull.values(data),
pull.asyncMap(function(item, cb) {
setTimeout(function() {
cb(null, item[1])
}, item[0])
})
)
}
test('should buffer frequent upd... |
"""itaigisite URL Configuration
The `urlpatterns` list routes URLs to views. For more information please see:
https://docs.djangoproject.com/en/3.1/topics/http/urls/
Examples:
Function views
1. Add an import: from my_app import views
2. Add a URL to urlpatterns: path('', views.home, name='home')
Class-ba... |
(function(c){var b=c.Quark=c.Quark||{version:"1.0.0",global:c},a=function(){};b.inherit=function(b,g){a.prototype=g.prototype;b.superClass=g.prototype;b.prototype=new a;b.prototype.constructor=b};b.merge=function(a,b,d){for(var c in b)if(!d||a.hasOwnProperty(c))a[c]=b[c];return a};b.delegate=function(a,b){var d=b||c;if... |
import React, {Component} from 'react'
import PropTypes from 'prop-types'
import {withStyles} from 'material-ui/styles'
import Paper from 'material-ui/Paper'
import Button from 'material-ui/Button'
import Typography from 'material-ui/Typography'
import IconButton from 'material-ui/IconButton'
import {Link} from 'react-... |
/*
PACKABUNCHAS
by Mattia Fortunati
http://www.mattiafortunati.com
mattia@mattiafortunati.com
This game is made for the 2021 edition of js13kgames.
As you can see, this code is really messy, full of mistakes and unused/redundat/unoptimized/workaroundy/copypasted things.
It would have been great to optimi... |
const excludeFiles = [];
module.exports = {
out: './docs/',
readme: './README.MD',
includes: './src',
exclude: [
'**/__tests__/**/*',
'**/cypress/**/*',
'**/__mocks__/**/*',
...excludeFiles.map(f => `./src/${f}.ts`)
],
excludeExternals: false,
excludePrivate: true,
hideGenerator: true
}... |
"""Support to select a date and/or a time."""
import datetime
import logging
import typing
import voluptuous as vol
from homeassistant.const import (
ATTR_DATE,
ATTR_EDITABLE,
ATTR_TIME,
CONF_ICON,
CONF_ID,
CONF_NAME,
SERVICE_RELOAD,
)
from homeassistant.core import callback
from homeassis... |
import {vlElement, define, awaitUntil} from '/node_modules/vl-ui-core/dist/vl-core.js';
import '/node_modules/vl-ui-input-addon/dist/vl-input-addon.js';
import '/node_modules/vl-ui-input-group/dist/vl-input-group.js';
import '/node_modules/vl-ui-input-field/dist/vl-input-field.js';
import {vlFormValidation, vlFormValid... |
import UIPlugin from '../../templates/ui/ui-plugin.js';
import TCRPPlugin from '../../plugins/tcrp-plugin.js';
class Drawer {
constructor(canvas) {
this.setCanvas(canvas).clear();
}
setCanvas(canvas) {
this.canvas = canvas;
return this;
}
clear() {
this.canvas.fill... |
require('@nomiclabs/hardhat-waffle')
require('@nomiclabs/hardhat-etherscan')
require('hardhat-local-networks-config-plugin')
const hardhat = {}
const forkingEnabled = !!process.env.FORK_NODE
if (forkingEnabled) {
hardhat.forking = {
url: process.env.FORK_NODE,
// Ensures test reliability for price queries (0... |
var express = require('express');
var path = require('path');
var favicon = require('serve-favicon');
var logger = require('morgan');
var cookieParser = require('cookie-parser');
var bodyParser = require('body-parser');
var session = require('express-session');
var partials = require('express-partials');
var flash = re... |
import React, { Component } from 'react'
import PropTypes from 'prop-types'
import Button from '../../../../components/ui/button'
export default class TokenListPlaceholder extends Component {
static contextTypes = {
t: PropTypes.func,
}
render () {
return (
<div className="token-list-placeholder">... |
import ProductActions from '../actions/ProductActions';
import fetch from '../core/fetch';
import { apiBase, apiKey, brand } from '../config';
const KEY = apiKey;
const ProductSource = {
fetchFeatured() {
return {
remote() {
return new Promise((res, rej) => {
fetch(`/api/products/featured.json`)
.... |
import React from "react";
import Square from './Square';
class Board extends React.Component {
renderSquare(i) {
return <Square value={this.props.squares[i]} handleClick={() => this.props.handleClick(i)}/>
};
render() {
return (
<div>
<div className="status">
{status}
</... |
// Write code that returns true if `str` is a palindrome, and false if `str` is not a palindrome
function isPalindrome(str) {
var reversed = str.split('').reverse().join('');
return str === reversed;
}
|
const chainMaker = {
arr: [],
getLength() {
this.arr.length;
return this;
// remove line with error and write your code here
},
addLink(value) {
if (value === undefined) {
this.arr.push('( )');
} else {
this.arr.push(`( ${value} )`);
}
return this;
// remove line... |
/*
* Copyright 2020 the original author or authors
*
* 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 applicabl... |
#!/usr/bin/env python3
# -*- mode: python -*-
# -*- coding: utf-8 -*-
# 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 ownership. The ASF licenses this file
# to you... |
import Http from './http.js';
const run = async () => {
const http = new Http();
const data = await http.get('hello');
console.log('DATA ', data)
}
run();
|
// pages/home/home.js
Page({
/**
* 页面的初始数据
*/
data: {
},
/**
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady: function () {
},
/**
* 生命周期函数--监听页面显示
*/
onShow: function () {
},
/**
* 生命周期函数--监听页面隐藏
*/
onHid... |
from guillotina import addons
from guillotina import app_settings
from guillotina import configure
from guillotina import error_reasons
from guillotina import task_vars
from guillotina.api import content
from guillotina.api.service import Service
from guillotina.component import get_adapter
from guillotina.component im... |
import threading
from time import sleep
import pyautogui
DELAY_BETWEEN_COMMANDS = 1.0
def main():
initializedPyAutoGui()
countDownTimer()
threading.Thread(target=allHeroesStart).start()
sleep(420)
threading.Thread(target=dontSleepScreen).start()
# allHeroesStop()
print('Done.')
def... |
/** @jsx jsx */
import { Transforms } from 'tuture-slate'
import { jsx } from '../../..'
export const run = editor => {
Transforms.insertFragment(
editor,
<fragment>
<inline>fragment</inline>
</fragment>
)
}
export const input = (
<editor>
<block>
<text />
<inline>
<cu... |
fatfinger.run = function(code) {
try
{
code = addBracketsToEnd(code);
code = cleanUpForVars(code);
code = reorderLinebreaks(code);
var prevCode = code;
// if it doesn't parse, fix that first
code = fatfinger.wordReplacer.parseLevel.fixCode(code);
... |
/**
* Demandware Template Debugger
* https://github.com/sholsinger/demandware-template-debugger
*/
/*
Usage: Place a script debugger breakpoint on the `return` line within the function below.
You can pass any variable in parameter to introspect it.
Then call it within a template wherever you need t... |
test(`should be able to call a function and spread the arguments`, () => {
const args = ['a', 'b', 'c']
let calls = 0
// call myFunction using the spread operator with args
expect(calls).toBe(1)
function myFunction(a, b, c) {
expect(a).toBe('a')
expect(b).toBe('b')
expect(c).toBe('c')
calls++... |
/*! jQuery v2.1.0 | (c) 2005, 2014 jQuery Foundation, Inc. | jquery.org/license */ ;
! function(d, c) {
"object" == typeof module && "object" == typeof module.exports ? module.exports = d.document ? c(d, !0) : function(b) {
if (!b.document) {
throw new Error("jQuery requires a window with a document")
}
retur... |
// This file was procedurally generated from the following sources:
// - src/dstr-binding/ary-ptrn-rest-ary-empty.case
// - src/dstr-binding/default/gen-func-expr.template
/*---
description: Rest element containing an "empty" array pattern (generator function expression)
esid: sec-generator-function-definitions-runtime... |
CKEDITOR.plugins.setLang("a11yhelp","el",{title:"\u039f\u03b4\u03b7\u03b3\u03af\u03b5\u03c2 \u03a0\u03c1\u03bf\u03c3\u03b2\u03b1\u03c3\u03b9\u03bc\u03cc\u03c4\u03b7\u03c4\u03b1\u03c2",contents:"\u03a0\u03b5\u03c1\u03b9\u03b5\u03c7\u03cc\u03bc\u03b5\u03bd\u03b1 \u0392\u03bf\u03ae\u03b8\u03b5\u03b9\u03b1\u03c2. \u03a0\u0... |
module.exports = {
env: {
'react-native/react-native': true,
},
extends: [
'plugin:react/recommended',
'airbnb',
],
parserOptions: {
ecmaFeatures: {
jsx: true,
},
ecmaVersion: 13,
sourceType: 'module',
},
plugins: [
'react',
'react-native',
],
rules: {
're... |
import { useState } from 'react';
import PropTypes from 'prop-types';
import { FormattedMessage } from 'react-intl';
import SafeHTMLMessage from '@folio/react-intl-safe-html';
import {
ConfirmationModal,
} from '@folio/stripes/components';
import DashboardHeader from './DashboardHeader';
import NoWidgets from './No... |
import * as api from '../api';
import {
GET_REVIEWS_REQUEST,
GET_REVIEWS_SUCCESS,
GET_REVIEWS_FAIL,
ADD_REVIEW_REQUEST,
ADD_REVIEW_SUCCESS,
ADD_REVIEW_FAIL,
} from '../constants/reviewConstants';
export const getReviews = (movieId) => async (dispatch) => {
try {
dispatch({ type: GET_REVIEWS_REQUEST }... |
$(document).ready( function() {
performTranslation();
var conf_editor = null;
$('#conf_cont').append(createOptPanel('fa-wrench', $.i18n("edt_conf_webc_heading_title"), 'editor_container', 'btn_submit'));
if(showOptHelp)
{
$('#conf_cont').append(createHelpTable(schema.webConfig.properties, $.i18n("edt_conf_w... |
// This file need to be append to the build in order to work with browserify
// Shamelessly stolen here: https://github.com/fabiosantoscode/require-emscripten/blob/master/post-js.postjs
module.exports = Module;
// Do not recurse into module and waste all day
Module.inspect = function () {
return '[Module]';
};
|
/*
*
* (c) Copyright Ascensio System Limited 2010-2020
*
* 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... |
import React from "react";
import { Card, CardBody, CardTitle} from "reactstrap";
import IntlMessages from "../../helpers/IntlMessages";
import {DoughnutChart} from "../../components/charts"
import { doughnutChartData } from "../../data/charts";
const ProductCategoriesDoughnut = () => {
return (
<Card class... |
import styled from 'styled-components';
const Wrapper = styled.div`
display: flex;
overflow-x: hidden;
p,
span {
font-family: Lato;
}
.adminPageRightWrapper {
width: ${props => `calc(100% - ${props.theme.main.sizes.leftMenu.width})`};
}
`;
Wrapper.defaultProps = {
theme: {
main: {
... |
import {parse} from 'graphql/language/parser';
import {Source} from 'graphql/language/source';
import {isLeafType, GraphQLObjectType, GraphQLUnionType, GraphQLInterfaceType, GraphQLNonNull, GraphQLList} from 'graphql/type/definition';
const PLACEHOLDER_FIELD_NAME = '___relayflowtypesplaceholder';
export default fun... |
export default function loginUserAction(user) {
return {
type: 'LOGIN_USER',
user,
};
}
|
# coding: utf-8
import pdb
import argparse
import os
import sys
import time
import numpy as np
import pandas as pd
import random
from PIL import Image
from ae import get_xdats, Xnn
import tensorflow as tf
def init():
parser = argparse.ArgumentParser()
# inout
parser.add_argument("--ckpt_file", default='ou... |
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).zustandVanilla={})}(this,(function(e){"use strict";e.default=function(e){var t,n=new Set,r=function(e,r){var i="function"==ty... |
exports.RestRequest = require('./RestRequest.js');
exports.Page = require('./Page');
exports.Feed = require('./Feed');
/**
* Returns a random Wikipedia page
*/
exports.randomPage = async function() {
const request = new exports.RestRequest('page/random/title');
const response = await request.fetch();
return new ... |
import React, { PropTypes } from 'react';
import Base from './Base';
import parseUnit from '../utils/parseUnit';
class Grid extends Base {
get computed() {
const {
justify, align, direction, reverse,
nested, gutter, bottom, wrap, spacing,
style = {}, ...props
} = this.props;
const styl... |
# (C) Datadog, Inc. 2019-present
# All rights reserved
# Licensed under a 3-clause BSD style license (see LICENSE)
import json
import os
import mock
import pytest
from datadog_checks.dev import get_here
from datadog_checks.twistlock import TwistlockCheck
customtag = "custom:tag"
instance = {
'username': 'admin... |
# -*- coding: utf-8 -*-
"""
--------------------------------------
@File : __init__.py
@Author : maixiaochai
@Email : maixiaochai@outlook.com
@Created on : 2020/4/26 22:05
--------------------------------------
"""
from flask import Flask
from App.settings import envs
from App.ext import init_ext
from ... |
import { faPen } from '@fortawesome/free-solid-svg-icons';
import { FontAwesomeIcon as Icon } from '@fortawesome/react-fontawesome';
import Tippy from '@tippyjs/react';
import AuthorsList from 'components/SmartReview/AuthorsList';
import AuthorsModal from 'components/SmartReview/AuthorsModal';
import { SectionStyled, S... |
const electron = require('electron');
const { app, BrowserWindow, Menu, Notification} = electron;
const shell = electron.shell;
const path = require('path');
const url = require('url');
// In main process.
const {ipcMain} = require('electron');
ipcMain.on('fuck-my-modal', (event, arg) => {
event.sender.send('asy... |
$(document).ready(function () {
const clusters_in_sync = $('#id_clusters_in_sync');
if (clusters_in_sync.is(":checked")) {
$(".field-clusters").hide()
}
clusters_in_sync.change(function(){
if ($(this).is(':checked')) {
$(".field-clusters").hide()
} else {
... |
// @link https://schemas.thereal.com/json-schema/thereal/iam/command/create-role/1-0-0.json#
import Fb from '@gdbots/pbj/FieldBuilder';
import Format from '@gdbots/pbj/enums/Format';
import GdbotsPbjxCommandV1Mixin from '@gdbots/schemas/gdbots/pbjx/mixin/command/CommandV1Mixin';
import Message from '@gdbots/pbj/Message... |
import React from "react"
import { Link, graphql, useStaticQuery } from "gatsby"
import Layout from "../components/layout"
import postsStyles from "./posts.module.scss"
import Head from "../components/head"
const PostsPage = () => {
const data = useStaticQuery(graphql`
query {
allContentfulPost(sort: { fi... |
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[34],{
/***/ "./node_modules/babel-loader/lib/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/pages/video/VideoChat.vue?vue&type=script&lang=js&":
/*!******************************************************************************************... |
"""
Flask application initalization
"""
import os
from flask import Flask
from application.jinja_filters import (
format_date, time_since, format_month, format_day,
safe_markdown, from_timestamp, strip_links, current_version
)
app = Flask(__name__) # pylint: disable=C0103
if os.getenv('FLASK_CONF') == 'TEST'... |
deepmacDetailCallback("1803fa000000/24",[{"d":"2011-09-15","t":"add","a":"Im Taubhaus 19\nRoedermark Hessen 63322\n\n","c":"GERMANY","o":"IBT Interfaces"},{"d":"2015-08-27","t":"change","a":"Im Taubhaus 19 Roedermark Hessen DE 63322","c":"DE","o":"IBT Interfaces"}]);
|
# Copyright (c) 2017-present, Facebook, Inc.
# All rights reserved.
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree. An additional grant
# of patent rights can be found in the PATENTS file in the same directory.
"""This class defines the b... |
var getAuthString = require('./auth');
var xutil = require('./xutil');
function readVisuals(bl, visuals, n_visuals, cb)
{
if (n_visuals == 0)
{
cb();
return;
}
var visual = {};
bl.unpackTo( visual,
[
'L vid',
'C class',
'C bits_per_rgb',
'S ma... |
'use strict';
var Promise = require('bluebird');
Promise.longStackTraces();
var test = require('tape');
var session = require('express-session');
var KnexStore = require('./index.js')(session);
var knexPg = require('knex')({
client: 'pg',
connection: {
host: '127.0.0.1',
user: 'postgres',
password: '',
data... |
/*
* @copyright (c) 2017, Philipp Thuerwaechter & Pattrick Hueper
* @license BSD-3-Clause (see LICENSE.md in the root directory of this source tree)
*/
/**
* @private
*
* Helper method to create an immutable entry.
*
* @param text the text, not null
* @param field the field, not null
* @return the entry, ... |
'use strict';
/**
* @ngdoc service
* @name $cacheFactory
*
* @description
* Factory that constructs cache objects and gives access to them.
*
* ```js
*
* var cache = $cacheFactory('cacheId');
* expect($cacheFactory.get('cacheId')).toBe(cache);
* expect($cacheFactory.get('noSuchCacheId')).not.toBeDefine... |
/*
* Copyright (C) 2013 Google Inc. 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 conditio... |
/// Copyright (c) 2012 Ecma International. All rights reserved.
/// Ecma International makes this code available under the terms and conditions set
/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
/// "Use Terms"). Any redistribution of this code must retain the above
/// copyright an... |
(this.webpackJsonpfrontend=this.webpackJsonpfrontend||[]).push([[0],{17:function(e,t,n){e.exports=n(40)},40:function(e,t,n){"use strict";n.r(t);var r=n(0),a=n.n(r),c=n(15),u=n.n(c),o=n(1),l=n.n(o),i=n(2),s=n(3),p=n(5),d=n.n(p),f={login:function(){var e=Object(i.a)(l.a.mark((function e(t){var n;return l.a.wrap((function... |
/**
* Created by jljsj on 15/6/3.
*/
$(function() {
var loadData = [
"https://os.alipayobjects.com/rmsportal/PfhNcINWBAnMIWR.js", // easeljs-0.8.0.min.js
"https://os.alipayobjects.com/rmsportal/nGFyCGHAblMWsYE.js", // TweenMax.min.js
"/static/home.js",
"https://t.alipayobjects.com/images/T1CFtgXb0jX... |
from django.conf.urls.defaults import *
urlpatterns = patterns('tms.contrib.saasu.views',
url(r'^saasu_account_lookup/$', 'saasu_account_lookup', name='admin_saasu_account_lookup'),
url(r'^saasu_contact_lookup/$', 'saasu_contact_lookup', name='admin_saasu_contact_lookup'),... |
/*
* Copyright 2013-2016 Uncharted Software Inc.
*
* Property of Uncharted(TM), formerly Oculus Info Inc.
* https://uncharted.software/
*
* 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 Licen... |
/*!
* VERSION: beta 0.14
* DATE: 2012-06-19
* JavaScript
* UPDATES AND DOCS AT: http://www.greensock.com
*
* Copyright (c) 2008-2012, GreenSock. All rights reserved.
* This work is subject to the terms in http://www.greensock.com/terms_of_use.html or for
* corporate Club GreenSock members, the softwa... |
function entrei(){
document.getElementById("quadrado").style.backgroundColor = 'red';
}
function sai(){
document.getElementById("quadrado").style.backgroundColor = 'blue';
}
function pressionei(){
document.getElementById("quadrado").style.backgroundColor = 'green';
}
function soltei(){
document.getEl... |
# Copyright (c) 2016 Ben Noordhuis <info@bnoordhuis.nl>. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import gyp.common
import gyp.xcode_emulation
import json
import os
generator_additional_non_configuration_keys = []
generator_additional_p... |
class MultiselectItem {
constructor(webElement) {
this.webElement = webElement;
}
async value() {
return this.webElement.getAttribute('data-value');
}
async isSelected() {
return false;
}
async text() {
const innerText = await this.webElement.getAttribute('innerText');
return innerT... |
/*
* ui-bootstrap4
* http://morgul.github.io/ui-bootstrap4/
* Version: 3.0.6 - 2020-11-19
* License: MIT
*/angular.module("ui.bootstrap", ["ui.bootstrap.tpls", "ui.bootstrap.collapse","ui.bootstrap.tabindex","ui.bootstrap.accordion","ui.bootstrap.alert","ui.bootstrap.buttons","ui.bootstrap.carousel","ui.bootstrap... |
// prefer default export if available
const preferDefault = m => m && m.default || m
exports.components = {
"component---cache-dev-404-page-js": () => import("dev-404-page.js" /* webpackChunkName: "component---cache-dev-404-page-js" */)
}
|
# -*- coding: utf-8 -*-
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from __future__ import unicode_literals
from datetime import datetime
import logging
import json
from flask import escape, Markup
from flask_appbuilder import Model
from flask_babel imp... |
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
const notifications = chrome.notifications;
var idString = "foo";
var testBasicEvents = function() {
var incidents = 0;
var onCreateCallback = ... |
import { Router } from 'express';
import ProjectController from './app/controllers/projectController';
import { checkParam, qtdRequests } from './app/middlewares';
const routes = new Router();
routes.use(qtdRequests);
routes.get('/projects', ProjectController.index);
routes.post('/projects', ProjectController.store)... |
import React from 'react'
import PropTypes from 'prop-types'
import styled, { keyframes } from 'styled-components'
import source from '../img/vinyl.png'
const Container = styled.section`
margin-top: 2em;
`
const spin = keyframes`
from {
transform: rotate(0deg);
}
to {
transform: rota... |
(function() {
var RedisRQS;
RedisRQS = (function() {
var EventEmitter, Redis, async;
class RedisRQS {
constructor(options) {
// Validate the options
if (options == null) {
throw new Error("Options are missing");
}
if (options.redis == null) {
throw... |
import React from 'react';
import Collapsible from 'react-collapsible';
import './App.css';
import ArmorContainer from './containers/ArmorContainer';
import AdventuringGearContainer from './containers/AdventuringGearContainer';
import AmmunitionContainer from './containers/AmmunitionContainer';
import ConsumablesContai... |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const fs = require("fs");
const common_1 = require("@rgba-image/common");
const create_image_1 = require("@rgba-image/create-image");
const png_1 = require("@rgba-image/png");
const __1 = require("..");
const lineHelper = (dest, linePoints, co... |
define({
root: ({
_widgetLabel: "デモ",
label1: "これはデモ ウィジェットです。",
label2: "これは構成可能です。"
}),
"ar": 0,
"cs": 0,
"da": 0,
"de": 0,
"el": 0,
"es": 0,
"et": 0,
"fi": 0,
"fr": 0,
"he": 0,
"it": 0,
"ja": 0,
"ko": 0,
"lt": 0,
"lv": 0,
"nb": 0,
"nl": 0,
"pl": 0,
"pt-br": 0,
... |
import random
from tools.scraper import Scraper
from tinydb import TinyDB, Query
def reply(activity, bot, data):
query = Query()
db = TinyDB('./db.json')
result = db.search(query.userid == activity.from_property.id)
scraper = Scraper()
if len(result) > 0:
result = result[0]
rollno =... |
var AWS = require("aws-sdk");
var helpers = require("./game_helpers");
exports.handler = function(event, context, callback) {
var userId = event.userId ? ("" + event.userId) : null; // if userId is passed, convert to a string, else use null
var userName = event.userName ? ("" + event.userName) : null;
var ... |
import React from "react";
import { graphql } from "gatsby";
import Layout from "../components/Layout";
import { SEO } from "../components/SEO";
import Section from "../components/Section";
import video from "../video/logo-animation.mp4";
const AboutPageTemplate = ({ subtitle, title, body }) => (
<div className="s-... |
// This file was automatically generated. Do not modify.
'use strict';
goog.provide('Blockly.Msg.hi');
goog.require('Blockly.Msg');
Blockly.Msg.ABOUT = "about"; // untranslated
Blockly.Msg.ACCELERATION_TOOLTIP = "Get the acceleration value in milli-gravities."; // untranslated
Blockly.Msg.ACCELEROMETER_ROTATION_... |
"use strict";
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
return new (P || (P = Promise))(function (resolve, reject) {
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
function rejected(value) { try { step(gene... |
routes = [
('Binance Futures', 'ETH-USDT', '5m', 'Ott2butKAMARe3', 'B?(Kq')
]
extra_candles = []
|
"""[Scynced Lights]
Class attributes are "shared"
Instance attributes are not shared.
"""
def sub(x, y):
return x - y
def sub2(x, y=0)
class Light:
pass
a = Light()
b = Light()
|
var express = require('express');
var router = express.Router();
var mongoose = require('mongoose');
var Comment = mongoose.model('Comment');
/* GET edit page by ID . */
router.get('/:commentId', function(req, res, next) {
var commentId = req.params.commentId;
res.render('edit', { title: 'Express', id: commen... |
(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{"+s0g":function(e,t,a){!function(e){"use strict";var t="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),a="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),n=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[... |
// CodeMirror is the only global var we claim
window.CodeMirror = (function() {
"use strict";
// BROWSER SNIFFING
// Crude, but necessary to handle a number of hard-to-feature-detect
// bugs and behavior differences.
var gecko = /gecko\/\d/i.test(navigator.userAgent);
var ie = /MSIE \d/.test(navigator.use... |
export default {
small: '8px',
medium: '12px',
large: '16px',
xlarge: '24px',
}
|
export default {
name: 'PageWrapper',
data() {
return {
};
},
};
|
const path = require('path')
const express = require('express')
const morgan = require('morgan')
const compression = require('compression')
const session = require('express-session')
const passport = require('passport')
const SequelizeStore = require('connect-session-sequelize')(session.Store)
const db = require('./db'... |