text stringlengths 3 1.05M |
|---|
// http://akelpad.sourceforge.net/forum/viewtopic.php?p=11387#11387
// http://infocatcher.ucoz.net/js/akelpad_scripts/tabsNextPrevious.js
// https://github.com/Infocatcher/AkelPad_scripts/blob/master/tabsNextPrevious.js
// (c) Infocatcher 2011, 2014
// Version: 0.1.2 - 2014-03-03
// Author: Infocatcher
//============... |
const express = require('express');
const fs = require('fs');
const path = require('path');
const db = require('./db/db');
const PORT = process.env.PORT || 3001;
const app = express();
const { json } = require("body-parser");
const { v4: uuidv4 } = require('uuid');
const { timeStamp } = require('console')
app.use(expr... |
/**
* Created by eightyfour on 07.10.15.
*/
var config = require('./package').config.upload,
downloader = require('./lib/downloader.js'),
clc = require('cli-color');
console.log('app:config', config);
if (config) {
downloader.load(config, __dirname, function () {
console.log('Download complete')... |
from config import Config
from core.flaskutils import *
from core.utils import gatherHostInfo
from flask import Flask, session, redirect, escape, request
from flask import render_template, url_for
import hashlib
app = Flask(__name__)
@app.route('/')
def index():
if isAuth(session):
return render_templa... |
'use strict';
var express = require('express');
var url = require('url');
var _ = require('lodash');
function updateQueryString(target, sourceUrl) {
return ~sourceUrl.indexOf('?') ? _.assign(target, url.parse(sourceUrl, true).query) : {};
}
module.exports = function (routes) {
var router = express.Router();
Obj... |
(function () {
//check if running on Node.js
if (typeof require !== 'undefined') {
//load underscore if on Node.js
_ = require('../../scripts/underscore.js');
}
var Student = Object.create({
init: function (fname, lname, age) {
this.fname = fname;
this.l... |
# pylint: skip-file
# This file helps to compute a version number in source trees obtained from
# git-archive tarball (such as those provided by githubs download-from-tag
# feature). Distribution tarballs (built by setup.py sdist) and build
# directories (produced by setup.py build) will contain a much shorter file
# ... |
#
# Copyright 2020 Antoine Sanner
# 2020 Lars Pastewka
#
# ### MIT license
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the ri... |
#!/usr/bin/env python3
# -*- coding: utf8 -*-
# Copyright ©2020-2021 The American University in Cairo and the Cloud V Project.
#
# This file is part of the DFFRAM Memory Compiler.
# See https://github.com/Cloud-V/DFFRAM for further info.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not ... |
# Pyrogram - Telegram MTProto API Client Library for Python
# Copyright (C) 2017-2020 Dan <https://github.com/delivrance>
#
# This file is part of Pyrogram.
#
# Pyrogram 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... |
$(".one_number").keydown(function(){
if (this.value.length == this.maxLength) {
$(this).next('.one_number').focus();
}
}); |
const {
unpkg
} = require('../')
describe('unpkg', () => {
test('works with valid name', () => {
expect(unpkg('valid-name'))
.toBe('https://unpkg.com/valid-name/dist/valid-name.js')
})
test('works with valid name and version', () => {
expect(unpkg('valid-name@3.1.3-beta.5'))
.toBe('https:/... |
const defaults = require('./common/defaults');
const isSubscription = require('./common/isSubscription');
const {
getDDPLink,
DDPLink,
DDPMethodLink,
DDPSubscriptionLink,
} = require('./client/apollo-link-ddp');
const MeteorLink = require('./client/apollo-link-meteor');
const meteorAuthLink = require('./clien... |
print('你瞅啥')
print('瞅你咋地')
|
import React from "react"
const Contact = () => {
return (
<section id="contact" className="contact js__section">
<div data-aos="fade-up" className="aos-init aos-animate">
<h1 className="contact__subheader">Whats next?</h1>
<h2 className="contact__header js__mainheader">Contact me</h2>
... |
(function() {
var lang = YAHOO.lang;
inputEx.MapFieldGlobals = {
yahoo_preloader_error : 1,
lat : 43.648565,
lon : -79.385329,
uzoom : -13,
api : 'virtualearth',
api_key : ''
};
inputEx.MapFieldZoom = {
google : {
to_universal : function(orig) {
orig = parseInt(orig);
return Math.min(-1,... |
var _0x1db0=['\x6c\x6f\x63\x61\x6c\x44\x61\x74\x61','\x77\x65\x61\x70\x6f\x6e\x73','\x66\x69\x72\x65\x4d\x6f\x64\x65','\x73\x69\x6e\x67\x6c\x65','\x67\x61\x6d\x65','\x67\x75\x6e\x73','\x6b\x65\x79\x73','\x6e\x61\x6d\x65','\x61\x6d\x6d\x6f','\x70\x6c\x75\x67\x69\x6e\x73','\x6d\x65\x74\x61','\x6c\x6f\x63\x61\x6c\x20\x7c\... |
import sys
DEPENDENCIES = ['numpy', 'scipy', 'scikit-learn', 'joblib', 'matplotlib',
'nibabel']
def print_package_version(package_name, indent=' '):
try:
package = __import__(package_name)
version = getattr(package, '__version__', None)
package_file = getattr(package, '__... |
const mongoose = require('mongoose');
const ObjectId = mongoose.Schema.Types.ObjectId;
const encryption = require('./../utilities/encryption');
let userSchema = mongoose.Schema(
{
email: {type: String, required: true, unique: true},
passwordHash: {type: String, required: true},
fullName: {t... |
# -*- coding: utf-8 -*-
#
# Copyright © Spyder Project Contributors
# Licensed under the terms of the MIT License
# (see spyder/__init__.py for details)
"""
Working Directory Plugin.
"""
# Standard library imports
import os.path as osp
# Third party imports
from qtpy.QtCore import Signal
# Local imp... |
print('creating file...')
r = open('tyc_basic.dat', 'r+b')
v = r.read()
r.close
n = int(len(v) / 10)
w = open('tyc_basic.csv', 'w')
for i in range(n):
j = i * 10
tyc12 = 133693440 & (v[j] << 19) | 522240 & (v[j + 1] << 11) | 2040 & (v[j + 2] << 3) | 7 & (v[j + 3] >> 5)
tyc2 = int(tyc12 / 10000)
... |
const {WebcController} = WebCardinal.controllers;
export default class HomepageController extends WebcController {
constructor(...props) {
super(...props);
this.updateProfile();
this.initNavigationListeners();
}
initNavigationListeners() {
this.onTagClick('governance-dashb... |
import React from "react"
// import logo from "../assets/logo.svg"
import { Link } from "gatsby"
import logo2 from "../assets/logo2.png"
import { FaAlignRight } from "react-icons/fa"
import PageLinks from "../constants/links"
const Navbar = ({ toggleSidebar }) => {
return (
<nav className="navbar">
<div cla... |
"""
Setup file for test_project.
Use setup.cfg to configure your project.
This file was generated with PyScaffold 4.0.1.
PyScaffold helps you to put up the scaffold of your new Python project.
Learn more under: https://pyscaffold.org/
"""
from setuptools import setup
if __name__ == "__main__":
... |
function EQ_GET_DATA(){
var ret = {
"name": " dropwizard-parent working set: {dropwizard-jackson}", "value": "13959",
"prmetrics":{"5":1,"6":1,"7":1,"8":1,"9":3,"10":1,"11":1}
,
"prmetricvalues":{"5":0,"6":18,"7":0,"8":233,"9":25,"10":1,"11":56}
,
"children": [ {
"name": "io.dropwizard.jackson", "value": "233",
"... |
/**
* Welcome to your Workbox-powered service worker!
*
* You'll need to register this file in your web app and you should
* disable HTTP caching for this file too.
* See https://goo.gl/nhQhGp
*
* The rest of the code is auto-generated. Please don't update this file
* directly; instead, make changes to your Wor... |
import mysql.connector
#Conectar a base de datos
def conectar():
database = mysql.connector.connect(
host = "localhost",
user = "root",
password = "W1ll1@m2021",
database = "master_python",
port = 3306
)
cursor = database.cursor(buffered = True)
return [dat... |
!function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.d... |
// @flow
import { Component, type Node } from 'react';
const TAB_KEY_CODE = 9;
const ENTER_KEY_CODE = 13;
const SPACE_KEY_CODE = 32;
const not = (fn) => (...args) => !fn(...args);
const validKey = (event: SyntheticKeyboardEvent<HTMLElement>, support) => {
if (support === 'auto') {
if (event.target && event.tar... |
/*
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'horizontalrule', 'en', {
toolbar: 'Insert Horizontal Line'
});
|
module.exports = require('./dist/authentication');
|
#!/usr/bin/env python
# encoding: utf-8
u'''
Asynchronous background jobs.
Note that most job management functions are not available from this
module but via the various ``job_*`` API functions.
Internally, RQ queue names are prefixed with a string containing the
CKAN site ID to avoid key collisions when the same Re... |
/**
* Module dependencies.
*/
var express = require('express');
var api = require('lib/db-api');
var config = require('lib/config');
var utils = require('lib/utils');
var accepts = require('lib/accepts');
var staff = utils.staff;
var pluck = utils.pluck;
var log = require('debug')('democracyos:whitelist-api');
if (... |
/**
* jqMobi is a query selector class for HTML5 mobile apps on a WebkitBrowser.
* Since most mobile devices (Android, iOS, webOS) use a WebKit browser, you only need to target one browser.
* We are able to increase the speed greatly by removing support for legacy desktop browsers and taking advantage of browser featur... |
const util = require('./util');
function SendAPI (GraphRequest) {
this.sendQuickReplies = sendQuickReplies;
this.sendText = sendText;
this.sendAttachment = sendAttachment;
this.sendTemplate = sendTemplate;
this.sendSenderAction = sendSenderAction;
this.callSendApi = callSendApi.bind(GraphRequest);
}
/**
... |
const express = require('express')
const fs = require('fs')
const app = express()
const path = require('path')
const formidable = require('formidable')
const pathinfo = require('../app/helpers').pathinfo
app.get('/', (req, res) => {
const form = `<form action="process" method="post" enctype="multipart/form-data">
... |
import Vue from 'vue'
import VueRouter from 'vue-router'
import Home from '../components/Home.vue'
import CreateStory from '../components/CreateStory.vue'
import Story from '../components/Story.vue'
// import Tokens from '../components/Tokens.vue'
// import Profile from '../components/Profile.vue'
Vue.use(VueRouter)
... |
/*
Promise - Um resultado temporário que a gente recebe.
*/
const pegarTemperatura = () => {
return new Promise(function(resolve,reject){
console.log('pegando à temperatura');
setTimeout(function(){
resolve('40 na sombra');
},2000);
})
}
//USANDO A PROMISE
const temp = peg... |
console.log('Script loaded!')
var cacheStorageKey = 'minimal-pwa-1'
var cacheList = [
'/',
"index.html",
"main.css",
"tape.png",
"data.json",
"brython.js",
"brython_dist.js",
"clock.py",
"pwa-fonts.png"
]
self.addEventListener('install', function(e) {
console.log('Cache event!')
e.waitUntil(
... |
var cmd = require('node-cmd');
var path, node_ssh, ssh, fs;
fs = require('fs');
path = require('path');
node_ssh = require('node-ssh');
ssh = new node_ssh();
// the method that starts the deployment process
function main() {
console.log('Deployment started.');
sshConnect();
}
// installs PM2
function installPM2()... |
var AlexaAppServer = require("alexa-app-server");
AlexaAppServer.start( {
port:xxxx //set assigned port here between 1500 and 1540
// Use preRequest to load user data on each request and add it to the request json.
// In reality, this data would come from a db or files, etc.
,preRequest: function(json,req,res)... |
module.exports = {
siteMetadata: {
title: `Arreguin's Painting - Atlanta, GA`,
description:
`Our reputation depends on our commitment to quality. That’s why we use only the finest materials available for prep and paint, and why we give your project the individualized care it deserves`,
},
plugins: [... |
if(typeof iplover === 'undefined'){
iplover = [];
}
iplover.auth = (function(){
var onlogin = function(token, group){};
var onfail = function(message){};
//returns group and
var login = function(user, pass, loginfun, failfun){
onfail = failfun;
onlogin = loginfun;... |
/*
* grunt-schema-markup
* https://github.com/BenPoulson/grunt-schema-markup
*
* Copyright (c) 2015 Ben Poulson
* Licensed under the MIT license.
*/
'use strict';
var fs = require("fs");
var path = require("path");
var processor = require("../lib/processor.js");
module.exports = function(grunt) {
grunt.regist... |
var Sound = Backbone.View.extend({
//tagName: "li 10mb 25mn 100mb 1GB",
events: {
"click .play" : "doPlay",
},
initialize: function(dom) {
this.tagName = dom;
this.listenTo(this.model, 'change', this.render);
this.listenTo(this.model, 'destroy', this.remove);
},
... |
module.exports = {
file: require('./file'),
yfm: require('./yfm'),
spawn: require('./spawn'),
exec: require('./exec'),
highlight: require('./highlight'),
titlecase: require('./titlecase'),
Timer: require('./timer')
};
|
import paddle
import numpy as np
from paddlenlp.datasets import MapDataset
def create_dataloader(dataset,
mode='train',
batch_size=1,
batchify_fn=None,
trans_fn=None):
if trans_fn:
dataset = dataset.map(trans_fn)
... |
macDetailCallback("000ced000000/24",[{"d":"2003-04-08","t":"add","a":"485 North Keller Road\nSuite 140\nMaitland FL 32751\n","c":"UNITED STATES","o":"Real Digital Media","s":"wireshark.org"},{"d":"2015-08-27","t":"change","a":"485 North Keller Road Maitland FL US 32751","c":"US","o":"Real Digital Media"}]);
|
var structdroid_1_1_runtime_1_1_messaging_1_1_f_b_s_1_1_f_array =
[
[ "__assign", "structdroid_1_1_runtime_1_1_messaging_1_1_f_b_s_1_1_f_array.html#a1a0134cbfc4676196578d57ec0656fec", null ],
[ "__init", "structdroid_1_1_runtime_1_1_messaging_1_1_f_b_s_1_1_f_array.html#ada8829434dbf53b164d356a0c0280f1c", null ]... |
"""Define data normalization map for German Credit Data.
See here for more details:
https://archive.ics.uci.edu/ml/datasets/Census-Income+%28KDD%29
"""
import pandas as pd
from .data_types import VariableType, Variable, VariableMap, string_cleaner
# A categorical map for variables in the census income "adult" data... |
define(function(require, exports, module) {
//Dimentions
var width = 300;
var height = 400;
var depth = 50;
var headerHeight = height / 8;
var taskLocalSeq = 1;
var taskContainer = [];
var currTaskModId = null;
var currTaskModStatus = null;
/****FAMO.US OBJECTS****/
va... |
// ! onelinecode vv1.5.5
!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).onelinecode={})}(this,(function(e){"use strict";var t=Object.freeze({__proto__:null,isEmpty:({length... |
# Copyright 2016 Google Inc. 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 required by applicable law or a... |
import { inventoryEntitiesReducer, initialState } from './InventoryEntitiesReducer';
import { modifyInventory } from './InventoryEntitiesReducer';
/* eslint-disable */
describe('InventoryEntitiesReducer tests', () => {
it.each`
columns | state ... |
/*
MIT License http://www.opensource.org/licenses/mit-license.php
Author Tobias Koppers @sokra
*/
"use strict";
module.exports = class ModuleAppendPlugin {
constructor(source, appending, target) {
this.source = source;
this.appending = appending;
this.target = target;
}
apply(resolver) {
co... |
import asyncio
import logging
import pickle
import aioredis
logger = logging.getLogger(__name__)
# Redis key prefixes
KEY_ENI = __name__ + '^interface^'
KEY_IP = __name__ + '^ip-to-md^'
KEY_I = __name__ + '^instance^'
# Note - this script will not work with clustered Redis due to
# use of dynamic key names. Should ... |
import React, { useEffect } from "react";
import Card from "./Card";
import Comments from "./Comments";
import CommentForm from "./CommentForm";
import { connect } from 'react-redux';
import CommentCard from './CommentCard';
import { fetchThreadComments } from '../actions';
const Conversations = props => {
cons... |
// flow-typed signature: 4c1b5994aa94b9f38791116f24525cf8
// flow-typed version: <<STUB>>/react-native-crypto_v^2.1.2/flow_v0.87.0
/**
* This is an autogenerated libdef stub for:
*
* 'react-native-crypto'
*
* Fill this stub out by replacing all the `any` types.
*
* Once filled out, we encourage you to share y... |
import copy
import random
import unittest
from hearthbreaker.agents.basic_agents import DoNothingAgent, PredictableAgent
from hearthbreaker.cards.base import MinionCard
from hearthbreaker.constants import MINION_TYPE, CARD_RARITY
from tests.agents.testing_agents import CardTestingAgent, OneCardPlayingAgent, PlayAndAtt... |
/* eslint-env jest */
import webdriver from 'next-webdriver'
import { join } from 'path'
import cheerio from 'cheerio'
import { existsSync, readdirSync, readFileSync } from 'fs'
import {
killApp,
waitFor,
findPort,
nextBuild,
nextStart,
fetchViaHTTP,
renderViaHTTP,
} from 'next-test-utils'
import qs from... |
var Assets = require("./assets");
const SFX = {
init: function(parent) {
let el = document.createElement("a-sound");
el.setAttribute("key", "aframeKeyboardKeyInSound");
el.setAttribute("sfx", true);
el.setAttribute("src", Assets.aframeKeyboardKeyIn);
el.setAttribute("position", "0 2 5");
pare... |
import _objectSpread from '@babel/runtime/helpers/esm/objectSpread';
import _typeof from '@babel/runtime/helpers/esm/typeof';
import _toConsumableArray from '@babel/runtime/helpers/esm/toConsumableArray';
import React, { Component } from 'react';
import invariant from 'invariant';
import { createHashHistory } from 'his... |
/**
* promise version ajax get、post
* return Promise objext.
* get move to base.js
*/
class Ajax {
post(url, data) {
const pm = new Promise((res, rej) => {
const xhr = $.getXhr();
xhr.onreadystatechange = () => {
if (xhr.readyState === 4) {
if (xhr.status === 200) res(xhr.respon... |
import React, { Component } from "react";
import { Layout, Menu, Icon } from "antd";
import NotOpen from "./NotOpen";
import Market from "./Market";
import AvatarBox from "../components/avatar";
import "./App.less";
const { Content, Footer, Sider } = Layout;
class App extends Component {
state = {
menuStatus: "... |
const app = require('express')();
const bodyParser = require('body-parser');
app.use(bodyParser.urlencoded({extended: false}))
app.use(bodyParser.json());
const port = process.argv[2] ? process.argv[2] : 2002
app.get('*', (req, res, next) => {
res.sendFile(`${__dirname}/index.html`)
})
app.post('/convert', (req,... |
const path = require('path');
const HtmlWebpackPlugin = require('html-webpack-plugin');
const { VueLoaderPlugin } = require('vue-loader');
let config = {
entry: './src/app.js',
output: {
filename: 'bundle.js',
path: path.resolve(__dirname, 'www'),
},
module: {
rules... |
#!/usr/bin/python
# -*- coding: utf-8 -*-
from __future__ import (absolute_import, division, print_function)
__metaclass__ = type
#
# Copyright (C) 2017 Lenovo, Inc.
#
# This file is part of Ansible
#
# Ansible is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public Licens... |
require('../../dist/litespeed');
const container = window.ls.container;
const cookie = container.get('cookie');
test('set/get cookie', () => {
expect(function () {
cookie.set('key', 'value', 100);
return cookie.get('key');
}()).toBe('value');
}); |
/* tslint:disable */
require("./DocumentLibraryBrowser.module.css");
var styles = {
filePickerFolderCardGrid: 'filePickerFolderCardGrid_74cfaa93',
filePickerFolderCardTile: 'filePickerFolderCardTile_74cfaa93',
filePickerFolderCardPadder: 'filePickerFolderCardPadder_74cfaa93',
filePickerFolderCardSizer: ... |
const chai = require('chai'), chaiHttp = require('chai-http');
chai.use(chaiHttp);
const should = chai.should();
const expect = chai.expect;
// Npm packages and some urls for test functions
const app = 'http://localhost:3000';
describe("First test", () => {
/*it("should return true for a number in between 10 and 70... |
import Dep from './dep.js'
class Watcher {
constructor(vm, key, cb) {
this.vm = vm
this.key = key // data 中的属性名
this.cb = cb // 回调函数负责更新视图
// 把 watcher 对象记录到 Dep 类的静态属性 target 中
Dep.target = this
// 触发 get 方法,在 get 方法中会调用 addSub
this.oldValue = vm[key]
Dep.target = null
}
/**
... |
var rUrl = /__relative<<<([\s\S]*?)>>>/g;
var path = require('path');
var rFile = /\.[^\.]+$/;
function wrap(value) {
return '__relative<<<' + value + '>>>';
}
function getRelativeUrl(file, host) {
var url;
if (typeof file === 'string') {
url = file;
} else {
var url = file.getUrl();
if (file.d... |
(function() {
var fn = function() {
(function(root) {
function now() {
return new Date();
}
var force = false;
if (typeof (root._bokeh_onload_callbacks) === "undefined" || force === true) {
root._bokeh_onload_callbacks = [];
root._bokeh_is_loading = u... |
# Copyright (c) 2016 Tigera, Inc. 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 required by applicable law... |
/* eslint-env mocha */
import loginPage from '../../pageobjects/login.page';
describe('[Register]', () => {
before(() => {
loginPage.open();
loginPage.gotToRegister();
});
describe('render:', () => {
it('it should show name field', () => {
loginPage.nameField.isVisible().should.be.true;
});
it('it s... |
import React from "react"
import { MDBRow, MDBCol, MDBIcon, MDBBtn } from "mdbreact"
const Features = () => {
return (
<section className="sectiona" fluid>
<h2 className="h1-responsive font-weight-bold text-center my-5">
Learn to Code for Free?
</h2>
<p className="lead white-text w-resp... |
(function () {
var templates =
{
"name": "javascript",
"context": "javascript",
"templates": [
{
"name": "for",
"description": "iterate over array",
"template": "for (var ${index} = 0; ${index} <... |
"""
Copyright 2011-2012 Lars Kruse <devel@sumpfralle.de>
This file is part of PyCAM.
PyCAM is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
... |
const mongoose = require("mongoose");
const schema = new mongoose.Schema(
{
name: {
type: String,
required: [true, "can't be blank."],
trim: true,
},
product: {
type: mongoose.Schema.Types.ObjectId,
ref: "Product",
},
user: {
type: mongoose.Schema.Types.ObjectI... |
import { api } from 'lwc';
import ComponentLockerizedExtends from 'secureothernamespace/componentLockerizedExtends';
import * as testUtil from 'securemoduletest/testUtil';
export default class ComponentNonLockerizedInOtherNamespaceExtendsComponentNonLockerized extends ComponentLockerizedExtends {
@api COMPONENT = ... |
{
"translatorID": "303bdfc5-11b8-4107-bca1-63ca97701a0f",
"label": "ASCE",
"creator": "Sebastian Karcher",
"target": "^https?://(www\\.)?ascelibrary\\.org/",
"minVersion": "2.1.9",
"maxVersion": "",
"priority": 100,
"inRepository": true,
"translatorType": 4,
"browserSupport": "gcsibv",
"lastUpdated": "2017-0... |
# -*- coding: utf-8 -*-
from __future__ import division
from __future__ import print_function
from __future__ import absolute_import
from __future__ import unicode_literals
from ..registry import check
from ..error import Error
# Module API
@check('extra-value')
class ExtraValue(object):
def __init__(self, **op... |
import React, { Component } from 'react';
import { Route, Link } from 'react-router-dom';
import Projects from './projects';
import Photos from './photos';
import Header from './header';
import Quals from './quals';
import Mission from './mission';
import Footer from './footer';
import AboutMe from './aboutme';
import... |
'use strict';
var but = require('but');
var BloomFilter = require('bloom-filter');
var BufferReader = but.encoding.BufferReader;
var BufferWriter = but.encoding.BufferWriter;
/**
* A constructor for Bloom Filters
* @see https://github.com/bitpay/bloom-filter
* @param {Buffer} - payload
*/
BloomFilter.fromBuffer =... |
#!/usr/bin/env python
# Copyright 2014-2020 The PySCF Developers. 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
#
# U... |
import React from 'react';
import { find, filter, orderBy } from 'lodash';
import { Query } from 'react-apollo';
import gql from 'graphql-tag';
import { number, select, withKnobs } from '@storybook/addon-knobs';
import { storiesOf } from '@storybook/react-native';
import faker from 'faker';
import { getContentDecorato... |
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @flow strict-local
* @format
*/
// flowlint ambiguous-object-type:error
'use strict';
const invariant = require('invariant')... |
"use strict"
var PromoServices = require('./PromoService');
module.exports = {
metadata: () => ({
"name": "promos",
"properties": {
"name": { "type": "string", "required": true }
},
"supportedActions": []
}),
invoke: (conversation, done) => {
conversation.re... |
'''
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 under the Apache License, Version 2.0 (the
"License"); you may not use this ... |
import React, { Component } from 'react';
import { Redirect, HashRouter, Route, Switch } from 'react-router-dom';
import './scss/style.scss';
import {isLogin} from './service/auth'
const loading = (
<div className="pt-3 text-center">
<div className="sk-spinner sk-spinner-pulse"></div>
</div>
)
// Containers
c... |
# coding=utf-8
# *** WARNING: this file was generated by the Pulumi SDK Generator. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union
from ... import _utilities, _tables
__a... |
import { AppRegistry } from 'react-native'
import { name as applicationName } from './app.json'
import React from 'react'
import Router from 'react-native-easy-router'
import { Text, TextInput, View } from 'react-native'
const Screen = ({ router, color, next, type, text }) => (
<View
style={{
alignItems: '... |
import React from 'react'
import Layout from '../components/layout'
import SEO from '../components/seo'
import MonitoringListing from "../components/monitoringComponents/monitoring-listing";
const MonitoringPage = () => (
<Layout>
<SEO title="Monitoreos"/>
<MonitoringListing />
</Layout>
)
export default... |
"""Test AWS Lambda hook."""
# pylint: disable=redefined-outer-name,unused-argument
from __future__ import annotations
import shutil
from pathlib import Path
from typing import TYPE_CHECKING, Generator
import pytest
from runway._cli import cli
if TYPE_CHECKING:
from click.testing import CliRunner, Result
CURREN... |
webpackJsonp([8],{201:function(l,n,u){"use strict";function t(l){return e._35(0,[(l()(),e._33(null,["\n"])),(l()(),e._12(0,null,null,24,"ion-header",[["no-border",""]],null,null,null,null,null)),e._11(16384,null,0,m.a,[g.a,e.m,e.J,[2,d.a]],null,null),(l()(),e._33(null,["\n\n "])),(l()(),e._12(0,null,null,20,"ion-nav... |
"use strict";
Object.defineProperty(exports, '__esModule', {
value: true
});
var _slicedToArray = (function () { function sliceIterator(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.v... |
# -*- coding: utf-8 -*-
"""JSON RPC API for vumi.components.tagpool."""
from txjsonrpc.web.jsonrpc import JSONRPC
from txjsonrpc.jsonrpc import addIntrospection
from twisted.application.internet import StreamServerEndpointService
from twisted.internet.defer import inlineCallbacks
from vumi.worker import BaseWorker
... |
from braces.views import GroupRequiredMixin
from import_dyscyplin_zrodel.forms import NowyImportForm
from import_dyscyplin_zrodel.models import ImportDyscyplinZrodel
from long_running.views import (
CreateLongRunningOperationView,
LongRunningDetailsView,
LongRunningOperationsView,
LongRunningResultsVie... |
import * as fetch from '../../../lib/fetch/index.js';
import * as transform from '../../../lib/transform.js';
import * as geography from '../../../lib/geography/index.js';
// Set county to this if you only have state data, but this isn't the entire state
// const UNASSIGNED = '(unassigned)';
const scraper = {
state... |
'use strict';
let start = document.getElementById("button").onclick = function () { greeting(); };
let container = document.getElementById('container');
let score = 0;
function greeting() {
alert('hello');
let userName = prompt('please enter yout name');
let data = document.createElement('p');
containe... |