text
stringlengths
2
100k
meta
dict
import extractRootDomain from "../extractRootDomain"; describe("extractRootDomain", () => { test("extracts from 2-character TLDs", () => { expect(extractRootDomain("https://ssorallen.github.io/react-todos/")).toEqual("github.io"); }); test("extracts country code TLDs", () => { expect(extractRootDomain("...
{ "pile_set_name": "Github" }
package org.thp.cortex.util import com.typesafe.config.ConfigValueType.{BOOLEAN, NULL, NUMBER, STRING} import com.typesafe.config.{ConfigList, ConfigObject, ConfigValue} import play.api.Configuration import play.api.libs.json._ import scala.collection.JavaConverters._ object JsonConfig { implicit val configValueWr...
{ "pile_set_name": "Github" }
# -*- coding: utf-8 -*- import re import ast try: from setuptools import setup except (ImportError): from distutils.core import setup _version_re = re.compile(r'__version__\s+=\s+(.*)') with open('jpush/__init__.py', 'rb') as f: version = str(ast.literal_eval(_version_re.search( f.read().decode('u...
{ "pile_set_name": "Github" }
using Blog.Core.Common; using Blog.Core.Common.LogHelper; using Microsoft.AspNetCore.Http; using Microsoft.Extensions.Logging; using System; using System.IO; using System.Text.RegularExpressions; using System.Threading.Tasks; namespace Blog.Core.Middlewares { /// <summary> /// 中间件 /// 记录请求和响应数据 /// </...
{ "pile_set_name": "Github" }
import sys, os import argparse import argcomplete import textwrap class Base (object): always_complete_options = True def __init__ (self, args): self.inputs = args @classmethod def _get_description (klass): return klass.__doc__.split("\n\n")[0] @classmethod def _get_epilog (klass): return "...
{ "pile_set_name": "Github" }
<html> <body> <%= yield %> </body> </html>
{ "pile_set_name": "Github" }
{ stdenv , fetchFromGitHub , ncurses , SDL }: stdenv.mkDerivation rec { pname = "curseofwar"; version = "1.3.0"; src = fetchFromGitHub { owner = "a-nikolaev"; repo = pname; rev = "v${version}"; sha256 = "1wd71wdnj9izg5d95m81yx3684g4zdi7fsy0j5wwnbd9j34ilz1i"; }; buildInputs = [ ncurses ...
{ "pile_set_name": "Github" }
package shape import "github.com/oakmound/oak/v2/oakerr" // BezierCurve will form a Bezier on the given coordinates, expected in (x,y) // pairs. If the inputs have an odd length, an error noting so is returned, and // the Bezier returned is nil. func BezierCurve(coords ...float64) (Bezier, error) { if len(coords) ==...
{ "pile_set_name": "Github" }
/** * (C) Copyright IBM Corp. 2019. * * 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 ...
{ "pile_set_name": "Github" }
// Copyright (c) .NET Foundation and contributors. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using System.IO; using System.IO.Compression; using System.Linq; using System.Xml.Linq; using FluentAssertions; using Microsoft.Do...
{ "pile_set_name": "Github" }
/////////////////////////////////////////////////////////////////////////////////// /// OpenGL Mathematics (glm.g-truc.net) /// /// Copyright (c) 2005 - 2015 G-Truc Creation (www.g-truc.net) /// Permission is hereby granted, free of charge, to any person obtaining a copy /// of this software and associated documentatio...
{ "pile_set_name": "Github" }
#---------------------------------------------------------------------------- # Tables table BASE { HorizAxis.BaseTagList ideo romn; HorizAxis.BaseScriptList DFLT romn -216 0, latn romn -216 0, gujr romn -236 0, gjr2 romn -236 0; } BASE; table head { FontRevision include(../../version.fea); } head; table...
{ "pile_set_name": "Github" }
<!--## 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"); yo...
{ "pile_set_name": "Github" }
package org.springframework.web.servlet.tags; import javax.servlet.jsp.JspException; public abstract class HtmlEscapingAwareTag extends RequestContextAwareTag { private Boolean htmlEscape; public void setHtmlEscape(boolean htmlEscape) throws JspException { this.htmlEscape = htmlEscape; } pr...
{ "pile_set_name": "Github" }
// // AppEngineConnection.h // AppEngine // // Created by Makara Khloth on 11/19/11. // Copyright 2011 __MyCompanyName__. All rights reserved. // #import <Foundation/Foundation.h> #import "SocketIPCReader.h" #import "ActivationListener.h" #import "MessagePortIPCReader.h" @class AppEngine; @interface AppEngineCo...
{ "pile_set_name": "Github" }
Expecting a primary expression, got token:+ on line 5 of input031.c
{ "pile_set_name": "Github" }
var optimist = require('../'); var test = require('tap').test; test('parse with modifier functions' , function (t) { t.plan(1); var argv = optimist().boolean('b').parse([ '-b', '123' ]); t.deepEqual(fix(argv), { b: true, _: ['123'] }); }); function fix (obj) { delete obj.$0; return obj; }
{ "pile_set_name": "Github" }
/*M/////////////////////////////////////////////////////////////////////////////////////// // // IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING. // // By downloading, copying, installing or using the software you agree to this license. // If you do not agree to this license, do not download, instal...
{ "pile_set_name": "Github" }
1012 1566590872982 httpcache-v1 Method: POST URL: https://www.notion.so/api/v3/getRecordValues Body:+110 { "requests": [ { "id": "56216027-c0e3-43b2-985d-35648b9c0891", "table": "block" } ] } Response:+813 { "results": [ { "role": "comment_only", "value": { "alive": tru...
{ "pile_set_name": "Github" }
from hyperadmin.resources.models.resources import ModelResource, InlineModelResource
{ "pile_set_name": "Github" }
cloud.google.com/go v0.33.1/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= github.com/PuerkitoBio/goquery v1.5.1/go.mod h1:GsLWisAFVj4WgDibEWF4pvYnkVQBpKBKeU+7zCJoLcc= github.com/andybalholm/cascadia v1.1.0/go.mod h1:GsXiBk...
{ "pile_set_name": "Github" }
-----BEGIN RSA PRIVATE KEY----- MIIEpAIBAAKCAQEAwbRctAAbSdMGcx0ebfh8MfUOYXM5i4LYfAq5pWAhXRImZ3Ir b638rtHDS5GzFYEq5hLkye5FCAtbI8CmgCDr6epJVRN72Oam+a+nm4c+laYVlIZo PkCYJI7qSxLqbL5vCxsMtP896Hn6Rb1GpU2+mv5GO1oKyij4qIb3B9rv6d8ENT28 pRA6tKF6ndc9WHKovuvX3cGbEfsxFohxCi7aWeNPdtKvTYQ23uzs9pShqSg1rGOU B3aGPpH5N+R2OsycKJ3OI1tBRFP8...
{ "pile_set_name": "Github" }
struct PS_INPUT { float2 uv0 : TEXCOORD0; }; Texture2D<float> ssaoTexture : register(t0); Texture2D<float> depthTexture : register(t1); SamplerState samplerState : register(s0); uniform float2 projectionParams; uniform float4 texelSize; static const float offsets[9] = { -8.0, -6.0, -4.0, -2.0, 0.0,...
{ "pile_set_name": "Github" }
{ "browserName": "chrome-docker", "imageSnapshotOptions": { "customDiffConfig": { "threshold": 0.14 }, "noColors": true }, "timeouts": { "directLine": 15000, "fetch": 2500, "fetchImage": 5000, "navigation": 10000, "postActivity": 30000, "scrollToBottom": 2000, "test...
{ "pile_set_name": "Github" }
/* * Copyright 2018 Analytics Zoo 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 applicable law or...
{ "pile_set_name": "Github" }
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <title>CommandServiceManager: AckSecResponse Class Reference</title> <link hre...
{ "pile_set_name": "Github" }
// // Close icons // -------------------------------------------------- .close { float: right; font-size: (@font-size-base * 1.5); font-weight: @close-font-weight; line-height: 1; color: @close-color; text-shadow: @close-text-shadow; .opacity(.2); &:hover, &:focus { color: @close-color; tex...
{ "pile_set_name": "Github" }
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>CFBundleDevelopmentRegion</key> <string>en</string> <key>CFBundleExecutable</key> <string>$(EXECUTABLE_NAME)</string> <key>CFBundleIdentifi...
{ "pile_set_name": "Github" }
# One to multi 一对多可以建两张表,将一这一方的主键作为多那一方的外键,例如一个学生表可以加一个字段指向班级(班级与学生一对多的关系)
{ "pile_set_name": "Github" }
#ifndef VRPN_FILE_CONNECTION_H #define VRPN_FILE_CONNECTION_H // {{{ vrpn_File_Connection // // Tom Hudson, June 1998 // This class *reads* a file written out by vrpn_Connection's logging hooks. // The interface exactly matches that of vrpn_Connection. To do things that // are meaningful on log replay but not on li...
{ "pile_set_name": "Github" }
<?php namespace Oro\Bundle\PaymentBundle\Method\View; use Oro\Bundle\PaymentBundle\Context\PaymentContextInterface; interface PaymentMethodViewInterface { /** * @param PaymentContextInterface $context * @return array */ public function getOptions(PaymentContextInterface $context); /** ...
{ "pile_set_name": "Github" }