text stringlengths 2 99.9k | meta dict |
|---|---|
--WEB Peripheral Thread
print("------------------------------")
--Thread communication channels
local web_channel, idle_channel, peripheral_path = ...
--Check if we have libcurl and/or luasec
local has_libcurl = pcall(require,"Engine.luajit-request")
local has_luasec = pcall(require,"ssl")
print(has_libcurl and "- l... | {
"pile_set_name": "Github"
} |
[package]
name = "julia_set"
version = "0.1.0"
authors = ["The wasm-bindgen Developers"]
edition = "2018"
[lib]
crate-type = ["cdylib"]
[dependencies]
wasm-bindgen = "0.2.68"
[dependencies.web-sys]
version = "0.3.4"
features = [
'ImageData',
'CanvasRenderingContext2d',
]
| {
"pile_set_name": "Github"
} |
using System;
using Raksha.Asn1.CryptoPro;
using Raksha.Asn1;
using Raksha.Security;
namespace Raksha.Crypto.Parameters
{
public class ECKeyGenerationParameters
: KeyGenerationParameters
{
private readonly ECDomainParameters domainParams;
private readonly DerObjectIdentifier publicKeyParamSet;
p... | {
"pile_set_name": "Github"
} |
{
"version": 2,
"waiters": {
"InstanceExists": {
"delay": 5,
"maxAttempts": 40,
"operation": "DescribeInstances",
"acceptors": [
{
"matcher": "path",
"expected": true,
"argument": "length(Reservations[]) > `0`",
"state": "success"
}... | {
"pile_set_name": "Github"
} |
"""
Provides Twisted version information.
"""
# This file is auto-generated! Do not edit!
# Use `python -m incremental.update Twisted` to change this file.
from incremental import Version
__version__ = Version('Twisted', 19, 7, 0)
__all__ = ["__version__"]
| {
"pile_set_name": "Github"
} |
/*
* Copyright (c) 2019 Tomohiro Kusumi <tkusumi@netbsd.org>
* Copyright (c) 2019 The DragonFly Project
* All rights reserved.
*
* This code is derived from software contributed to The DragonFly Project
* by Matthew Dillon <dillon@dragonflybsd.org>
*
* Redistribution and use in source and binary forms, with or ... | {
"pile_set_name": "Github"
} |
@charset "UTF-8";
@import "../core/index-noreset.scss";
@import "scss/mixin";
@import "scss/variable";
.#{$css-prefix}message {
@include box-sizing;
@include message-bounding();
animation-duration: $motion-duration-standard;
animation-timing-function: $motion-ease-in-out;
.#{$css-prefix}message-... | {
"pile_set_name": "Github"
} |
glabel func_808521F4
/* 1FFE4 808521F4 27BDFFE8 */ addiu $sp, $sp, 0xFFE8 ## $sp = FFFFFFE8
/* 1FFE8 808521F8 AFBF0014 */ sw $ra, 0x0014($sp)
/* 1FFEC 808521FC AFA60020 */ sw $a2, 0x0020($sp)
/* 1FFF0 80852200 90AE015B */ lbu $t6, 0x015B($a1) ## 0000015B
/* ... | {
"pile_set_name": "Github"
} |
<?php
/*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
* OWNER OR CONTRIBUTORS B... | {
"pile_set_name": "Github"
} |
package de.gsi.chart.axes;
/**
* Small interface for defining axis transforms (e.g. logarithmic-base 10, 2, other transforms etc.
*
* @author rstein
*/
public interface AxisTransform {
/**
* default backward transform for affine functions: backward(forward(val)) = forward(backward(val)) = val;
*
... | {
"pile_set_name": "Github"
} |
From fec484580477d93cd69e5355be68e6f5bf1a1e54 Mon Sep 17 00:00:00 2001
From: Camelia Groza <camelia.groza@nxp.com>
Date: Mon, 9 Dec 2019 18:20:05 +0200
Subject: [PATCH] sdk_dpaa: ceetm: coding style cleanup
Fix checkpatch warnings and use reverse Christmas tree variable ordering
throughout the driver.
Signed-off-by: ... | {
"pile_set_name": "Github"
} |
#include <bits/stdc++.h>
using namespace std;
#define MAXN 200009
#define FOR(i, n) for(int i = 0; i < n; i++)
#define REP(i, n) for(int i = n-1; i >= 0; i--)
#define FOR1(i, n) for(int i = 1; i <= n; i++)
#define REP1(i, n) for(int i = n; i > 0; i--)
#define fi first
#define se second
typedef long long ll;
typedef pai... | {
"pile_set_name": "Github"
} |
// Copyright 2013 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.
#include "remoting/host/setup/daemon_controller_delegate_mac.h"
#include <launch.h>
#include <sys/types.h>
#include "base/bind.h"
#include "base/command... | {
"pile_set_name": "Github"
} |
<?xml version="1.1" encoding="UTF-8"?>
<validators multi-role-match="false" xmlns='http://docs.openrepose.org/repose/validator/v1.0'>
<validator
role="default"
default="true"
wadl="generic_pass.wadl"
dot-output="default.dot"
enable-rax-roles="true"/>
</va... | {
"pile_set_name": "Github"
} |
/*
*
* Copyright 2016 gRPC 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 agree... | {
"pile_set_name": "Github"
} |
/*
Copyright 2012 Twitter, Inc.
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, software
distr... | {
"pile_set_name": "Github"
} |
//
// SynchronizedLyricsFrame.cs:
//
// Author:
// Brian Nickel (brian.nickel@gmail.com)
//
// Copyright (C) 2007 Brian Nickel
//
// This library is free software; you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License version
// 2.1 as published by the Free Software Fou... | {
"pile_set_name": "Github"
} |
//
// DDGBookmarkActivity.m
// DuckDuckGo
//
// Created by Johnnie Walker on 15/03/2013.
//
//
#import "DDGBookmarkActivity.h"
#import "DDGBookmarksProvider.h"
#import "SVProgressHUD.h"
#import "DDGStory.h"
@interface DDGBookmarkActivityItem ()
@property (nonatomic, copy, readwrite) NSURL *URL;
@property (nonatomi... | {
"pile_set_name": "Github"
} |
void f() {
auto foo = bar;
switch(foo) {
case x:
break;
}
}
// RUN: not %clang_cc1 -fsyntax-only -code-completion-at=%s:4:10 %s | FileCheck %s -allow-empty
// CHECK-NOT: COMPLETION: foo
| {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE xliff PUBLIC "-//XLIFF//DTD XLIFF//EN" "http://www.oasis-open.org/committees/xliff/documents/xliff.dtd">
<xliff version="1.0">
<file source-language="en" target-language="vi" datatype="plaintext" original="messages" date="2015-10-16T04:48:56Z" product-name="messages">
... | {
"pile_set_name": "Github"
} |
; Title: Win32 Reverse Connect Payload
; Platforms: Windows NT 4.0, Windows 2000, Windows XP, Windows 2003
; Author: hdm[at]metasploit.com
[BITS 32]
%include "win32_stage_boot_winsock_bind.asm"
LBind:
xor ebx, ebx
push ebx
push ebx
push dword 0x11220002 ; port 8721
mov eax, esp
... | {
"pile_set_name": "Github"
} |
#
# Cookbook:: apache2
# Recipe:: mod_dialup
#
# Copyright:: 2013, OneHealth Solutions, Inc.
#
# 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... | {
"pile_set_name": "Github"
} |
<?php
namespace MauticPlugin\MauticCrmBundle\Api;
use Mautic\PluginBundle\Exception\ApiErrorException;
class SugarcrmApi extends CrmApi
{
protected $object = 'Leads';
/**
* @param $sMethod
* @param array $data
* @param string $method
*
* @return mixed|string
*
* @t... | {
"pile_set_name": "Github"
} |
export type CoercionTypeClass = keyof typeof coercionTypesMap;
const coercionTypesMap = {
WFContentItem: true,
WFAppStoreAppContentItem: true,
WFArticleContentItem: true,
WFBooleanContentItem: true,
WFContactContentItem: true,
WFDateContentItem: true,
WFTimeLengthContentItem: true,
WFTimeContentItem: true,
WF... | {
"pile_set_name": "Github"
} |
From ea66faf68c93735edb1f2691cd7364b8cab83fef Mon Sep 17 00:00:00 2001
From: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Date: Mon, 26 Nov 2018 14:53:09 +0800
Subject: [PATCH 1/3] Avoid bashisms in init scripts
Upstream-Status: Inappropriate
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Rebase... | {
"pile_set_name": "Github"
} |
#if IS_IN (ldconfig)
# include <sysdeps/i386/dl-procinfo.c>
#else
# include <sysdeps/x86_64/dl-procinfo.c>
#endif
| {
"pile_set_name": "Github"
} |
/*!
* Font Awesome Free 5.9.0 by @fontawesome - https://fontawesome.com
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
*/
@import 'variables';
@import 'shims';
| {
"pile_set_name": "Github"
} |
var parse = require('../');
var test = require('tape');
test('numeric short args', function (t) {
t.plan(2);
t.deepEqual(parse([ '-n123' ]), { n: 123, _: [] });
t.deepEqual(
parse([ '-123', '456' ]),
{ 1: true, 2: true, 3: 456, _: [] }
);
});
test('short', function (t) {
t.deepEqua... | {
"pile_set_name": "Github"
} |
<?php
/**
* Copyright 2015-2017 DataStax, Inc.
*
* 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 o... | {
"pile_set_name": "Github"
} |
/*
* Infinitest, a Continuous Test Runner.
*
* Copyright (C) 2010-2013
* "Ben Rady" <benrady@gmail.com>,
* "Rod Coffin" <rfciii@gmail.com>,
* "Ryan Breidenbach" <ryan.breidenbach@gmail.com>
* "David Gageot" <david@gageot.net>, et al.
*
* Permission is hereby granted, free of charge, to any person obtaining a c... | {
"pile_set_name": "Github"
} |
{
"version": "1",
"triggerSource": "PreSignUp_SignUp",
"region": "<region>",
"userPoolId": "<userPoolId>",
"userName": "<userName>",
"callerContext": {
"awsSdkVersion": "<calling aws sdk with version>",
"clientId": "<apps client id>"
},
"request": {
"userAttributes": {
"email... | {
"pile_set_name": "Github"
} |
using System;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
namespace PreMailer.Net
{
public class CssSelectorParser : ICssSelectorParser
{
#region "CSS definitions"
// These definitions have been taken from https://www.w3.org/TR/css3-selectors/#lex
private static readonly string... | {
"pile_set_name": "Github"
} |
// Copyright (C) 2005-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 Foundation; either version 3, or (at your op... | {
"pile_set_name": "Github"
} |
---
title: "Resolve license conflicts"
f1.keywords:
- NOCSH
ms.author: cmcatee
author: cmcatee-MSFT
manager: mnirkhe
audience: Admin
ms.topic: article
ms.service: o365-administration
localization_priority: Normal
ms.collection:
- M365-subscription-management
- Adm_O365
- Adm_NonTOC
ms.custom: AdminSurgePortfolio
searc... | {
"pile_set_name": "Github"
} |
"use strict";
const expect = require("chai").expect;
const JsonSchema = require("../../../lib/helpers/json-schema");
let iterations = 100;
// Some older versions of Node don't define these constants
let MIN_SAFE_INTEGER = Number.MIN_SAFE_INTEGER || -9007199254740991;
let MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER ||... | {
"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"
} |
/**
* Move the default nozzle in a 10mm square.
* Demonstrates safely submitting machine tasks and using OpenPnP
* Java types in scripts. Also shows how to define a utility function
* in an external script file and call it.
*/
// Load Examples/Utility.js functions into our scope. This will define the
// task func... | {
"pile_set_name": "Github"
} |
\documentclass{article}
\usepackage[french,american]{babel}
\begin{document}
american figure name: \figurename
\foreignlanguage{spanish}{spanish figure name: \figurename}
\begin{otherlanguage}{german}
german figure name: \figurename
\end{otherlanguage}
\end{document}
| {
"pile_set_name": "Github"
} |
// Copyright 2017 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.
#ifndef REMOTING_CLIENT_UI_FLING_ANIMATION_H_
#define REMOTING_CLIENT_UI_FLING_ANIMATION_H_
#include <memory>
#include "base/callback.h"
#include "base/... | {
"pile_set_name": "Github"
} |
if GAME ge 2
SUPERWAV_ARRAY_SIZE equ 96
else
SUPERWAV_ARRAY_SIZE equ 64
endif
wave_address dw SUPERWAV_ARRAY_SIZE dup (?)
wave_shift dw SUPERWAV_ARRAY_SIZE dup (?)
wave_mask dw SUPERWAV_ARRAY_SIZE dup (?)
superwav_count db ?
db ? ; word alignment
| {
"pile_set_name": "Github"
} |
%include <tuttle/host/global.i>
%include <tuttle/host/ofx/OfxhImageEffectNodeDescriptor.i>
%include <tuttle/host/ofx/OfxhPluginBinary.i>
%{
#include <tuttle/host/ofx/OfxhImageEffectPlugin.hpp>
%}
%include <tuttle/host/ofx/OfxhImageEffectPlugin.hpp>
| {
"pile_set_name": "Github"
} |
/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=8 sts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0... | {
"pile_set_name": "Github"
} |
//
// BtlsX509Name.cs
//
// Author:
// Martin Baulig <martin.baulig@xamarin.com>
//
// Copyright (c) 2016 Xamarin Inc. (http://www.xamarin.com)
//
// 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... | {
"pile_set_name": "Github"
} |
59.446 -2.320 7.687
118.103 -0.819 19.870
156.723 3.874 29.167
194.024 12.968 40.383
226.362 33.463 51.750
265.335 74.318 70.887
277.181 89.031 77.460
294.693 122.615 90.317
284.626 160.989 95.421
211.374 203.527 102.212
204.170 242.814 104.370
200.508 262.446 105.450
189.400 321.326 108.566
180.697 360.279 110.846
168... | {
"pile_set_name": "Github"
} |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><title>R: Epiliptic Seizures</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" type="text/css" href="R.css">
</head><body>
<table width="100%" summary="page for seizure"><tr><td>seizure</td><td ... | {
"pile_set_name": "Github"
} |
var ctx = require('./$.ctx')
, invoke = require('./$.invoke')
, html = require('./$.html')
, cel = require('./$.dom-create')
, global = require('./$.global')
, process = global.process
, setTask = global.setImmediate
... | {
"pile_set_name": "Github"
} |
<?php
/**
* DO NOT EDIT THIS FILE!
*
* This file was automatically generated from external sources.
*
* Any manual change here will be lost the next time the SDK
* is updated. You've been warned!
*/
namespace DTS\eBaySDK\RelatedItemsManagement\Enums;
class BundleStatusEnum
{
const C_ACTIVE = 'Active';
... | {
"pile_set_name": "Github"
} |
package com.cdbhe.plib.list.adapter;
import android.content.Context;
import androidx.annotation.IntRange;
import androidx.annotation.NonNull;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import com.cdbhe.plib.list.convert.Converter;
i... | {
"pile_set_name": "Github"
} |
Technology: SpinalMountHull
Name: #R_SYS_SPINAL_MOUNT_HULL
Description: #R_SYS_SPINAL_MOUNT_HULL_DESC
Class: Unlock
Category: Subsystems
Point Cost: 600
Time Cost: 120
Icon: HullSubsystems::2
Color: #8edcef
UnlockSubsystem(SpinalMountHull)
SkipOnUnlockedSubsystem(SpinalMountHull)
Secondar... | {
"pile_set_name": "Github"
} |
fileFormatVersion: 2
guid: ce00ebfc0e20c4261b60b7563b672ba9
TextureImporter:
fileIDToRecycleName: {}
externalObjects: {}
serializedVersion: 7
mipmaps:
mipMapMode: 0
enableMipMap: 0
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestRefe... | {
"pile_set_name": "Github"
} |
/* Icon box */
.icon-box {
text-align: center;
}
.icon-small {
font-size: 28px;
line-height: 56px;
width: 56px;
height: 56px;
}
.icon-medium {
font-size: 38px;
line-height: 76px;
width: 76px;
height: 76px;
}
.icon-large {
font-size: 48px;
line-height: 96px;
width: 96px;
... | {
"pile_set_name": "Github"
} |
# Description: rpcsvc protocol definitions
# URL: https://github.com/thkukuk/rpcsvc-proto
# Maintainer: protonesso, nagakamira at gmail dot com
# Section: misc
name=rpcsvc-proto
version=1.4.2
release=1
source=("https://github.com/thkukuk/rpcsvc-proto/archive/v$version.tar.gz")
build() {
cd "$SRC"/$name-... | {
"pile_set_name": "Github"
} |
import os
import sys
from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
README = open(os.path.join(here, 'README.rst')).read()
CHANGES = open(os.path.join(here, 'CHANGES.txt')).read()
requires = [
'pyramid==1.5',
'SQLAlchemy==0.9.4',
'transaction',
'zope.sql... | {
"pile_set_name": "Github"
} |
====== inet-4.x ======
2020-01-08 ------ inet-4.2.0 released ------
2019-12-08 Andras Varga
Extended the <disconnect> and <set-channel-param> commands.
2019-06-26 Zoltan Bojthe
Added ScenarioTimer self message.
2019-06-04 Levente Mészáros
Extended dynamic module creation with PRE and POST init signals.
2... | {
"pile_set_name": "Github"
} |
//
// Generated by class-dump 3.5 (64 bit) (Debug version compiled Oct 15 2018 10:31:50).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2015 by Steve Nygard.
//
#import <ScriptingBridge/SBObject.h>
#import <ScriptingBridge/NSCoding-Protocol.h>
@protocol SBApplicationDelegate;
@interface SBApp... | {
"pile_set_name": "Github"
} |
// RUN: not %target-swift-frontend %s -emit-silgen
enum X {
init?(a: Int) {
.p[a]
}
}
| {
"pile_set_name": "Github"
} |
/**
* echarts设备环境识别
*
* @desc echarts基于Canvas,纯Javascript图表库,提供直观,生动,可交互,可个性化定制的数据统计图表。
* @author firede[firede@firede.us]
* @desc thanks zepto.
*/
/* global wx */
var env = {};
if (typeof wx === 'object' && typeof wx.getSystemInfoSync === 'function') {
// In Weixin Application
env = {
browser:... | {
"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"); you may... | {
"pile_set_name": "Github"
} |
/*
* Copyright 1996-2006 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Fou... | {
"pile_set_name": "Github"
} |
// _ _
// __ _____ __ ___ ___ __ _| |_ ___
// \ \ /\ / / _ \/ _` \ \ / / |/ _` | __/ _ \
// \ V V / __/ (_| |\ V /| | (_| | || __/
// \_/\_/ \___|\__,_| \_/ |_|\__,_|\__\___|
//
// Copyright © 2016 - 2020 SeMI Technologies B.V. All rights reserved.
//
// CONTACT: hello@s... | {
"pile_set_name": "Github"
} |
/* SPDX-License-Identifier: GPL-2.0-only */
/*
* Copyright (C) 2016 Cavium, Inc.
*/
#ifndef __CPT_HW_TYPES_H
#define __CPT_HW_TYPES_H
#include "cpt_common.h"
/**
* Enumeration cpt_comp_e
*
* CPT Completion Enumeration
* Enumerates the values of CPT_RES_S[COMPCODE].
*/
enum cpt_comp_e {
CPT_COMP_E_NOTDONE = 0... | {
"pile_set_name": "Github"
} |
{
"desc": "Uploads or creates a file.",
"args": {
"file": {
"required" : true,
"example" : "...",
"desc" : "File contents via `multipart/form-data`.",
"type" : "file"
},
"content": {
"required" : false,
"example" : "...",
"desc" : "File contents via a POST var."
},
"filetype": {
... | {
"pile_set_name": "Github"
} |
/* This file is part of the Spring engine (GPL v2 or later), see LICENSE.html */
#ifndef LUA_UI_COMMAND_H
#define LUA_UI_COMMAND_H
struct lua_State;
/* LuaUICommand defines functions to read and mofiy the engine UI commands (strings written in the console starting with "/", e.g. /luaui reload). */
class LuaUICommand... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<solid android:color="#ffffffff" />
<corners
android:bottomLeftRadius="4dp"
android:bottomRightRadius="4dp"
android:topLeftRadius="4dp"
android:... | {
"pile_set_name": "Github"
} |
class Solution(object):
# def sortedSquares(self, A):
# """
# :type A: List[int]
# :rtype: List[int]
# """
# # Directly sort
# return sorted(x * x for x in A)
def sortedSquares(self, A):
pos = 0
while pos < len(A) and A[pos] < 0:
pos ... | {
"pile_set_name": "Github"
} |
# $NetBSD: Makefile,v 1.19 2020/08/31 23:07:07 wiz Exp $
DISTNAME= kitty-0.16.0
PKGREVISION= 3
CATEGORIES= x11
MASTER_SITES= ${MASTER_SITE_GITHUB:=kovidgoyal/}
GITHUB_PROJECT= kitty
GITHUB_RELEASE= v${PKGVERSION_NOREV}
EXTRACT_SUFX= .tar.xz
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://sw.kovidgoyal.net/kitty... | {
"pile_set_name": "Github"
} |
/***********************************************************************
Copyright (c) 2006-2012, Skype Limited. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, (subject to the limitations in the disclaimer below)
are permitted provided that the following conditi... | {
"pile_set_name": "Github"
} |
/***************************************************************************/
/* */
/* ftheader.h */
/* */
/* Bu... | {
"pile_set_name": "Github"
} |
function [tt]=round(tt,eps,rmax)
%Approximate TT-matrix with another one with specified accuracy
% [TT]=ROUND(TT,EPS) Approximate TT-matrix with relative accuracy EPS
%
% [TT]=ROUND(TT,EPS,RMAX) Approximate TT-matrix with relative accuracy
% EPS and maximal rank RMAX. RMAX can be array of ranks or a number
%
%
%... | {
"pile_set_name": "Github"
} |
#ifndef STLPLUS_CONTAINERS_FIXES
#define STLPLUS_CONTAINERS_FIXES
////////////////////////////////////////////////////////////////////////////////
// Author: Andy Rushton
// Copyright: (c) Southampton University 1999-2004
// (c) Andy Rushton 2004 onwards
// License: BSD License, see .... | {
"pile_set_name": "Github"
} |
{
"_from": "estraverse@^4.2.0",
"_id": "estraverse@4.2.0",
"_inBundle": false,
"_integrity": "sha1-De4/7TH81GlhjOc0IJn8GvoL2xM=",
"_location": "/estraverse",
"_phantomChildren": {},
"_requested": {
"type": "range",
"registry": true,
"raw": "estraverse@^4.2.0",
"name": "estraverse",
"es... | {
"pile_set_name": "Github"
} |
package matchers
import (
"fmt"
"github.com/onsi/gomega/format"
)
type HavePrefixMatcher struct {
Prefix string
Args []interface{}
}
func (matcher *HavePrefixMatcher) Match(actual interface{}) (success bool, err error) {
actualString, ok := toString(actual)
if !ok {
return false, fmt.Errorf("HavePrefix mat... | {
"pile_set_name": "Github"
} |
-- Conditions for Spell "Stamp Out Bonfire"
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=13 AND `SourceEntry` IN (45437);
INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`SourceId`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionTarget`,`ConditionValue1`,`ConditionValue2`,`C... | {
"pile_set_name": "Github"
} |
set(SOURCES
DHCPv4Client.cpp
DHCPv4.cpp
main.cpp
)
serenity_bin(DHCPClient)
target_link_libraries(DHCPClient LibCore)
| {
"pile_set_name": "Github"
} |
/**
* @author Richard Davey <rich@photonstorm.com>
* @copyright 2016 Photon Storm Ltd.
* @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License}
*/
/**
* Phaser.Net handles browser URL related tasks such as checking host names, domain names and query string manipulation... | {
"pile_set_name": "Github"
} |
version https://git-lfs.github.com/spec/v1
oid sha256:0bd05afcf7c0662276c74ae77fad38fa901f4422f15a19deb6bc859f7e6abd2e
size 6671
| {
"pile_set_name": "Github"
} |
package dynamodbattribute
import (
"fmt"
"reflect"
"strconv"
"testing"
"time"
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/aws/awserr"
"github.com/aws/aws-sdk-go/service/dynamodb"
"github.com/stretchr/testify/assert"
)
func TestUnmarshalErrorTypes(t *testing.T) {
var _ awserr.Error = (*Unmars... | {
"pile_set_name": "Github"
} |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Mondrian | Jennifer Dewalt</title>
<link rel="stylesheet" href="css/reset.css">
<link rel="stylesheet" href="css/mondrian.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<script src="js/analy... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="UTF-8" ?>
<testsuite failures="0" time="0.100" errors="0" skipped="0" tests="1" name="hudson.plugins.performance.reports.UriReportTest">
<testcase time="0.100" classname="hudson.plugins.performance.reports.UriReportTest" name="testCountErrors"/>
</testsuite>
| {
"pile_set_name": "Github"
} |
<?php
/**
* FecMall file.
*
* @link http://www.fecmall.com/
* @copyright Copyright (c) 2016 FecMall Software LLC
* @license http://www.fecmall.com/license
*/
use yii\helpers\Html;
use fec\helpers\CRequest;
use fecadmin\models\AdminRole;
/**
* @author Terry Zhao <2358269014@qq.com>
* @since 1.0
*/
?>
<style>
.... | {
"pile_set_name": "Github"
} |
### Linux相关
* 脚本文件格式问题
**问题描述**:运行脚本出现提示`-bash: ./start.sh: /bin/bash^M: bad interpreter: No such file or directory`
**产生原因**:在Window下编写的脚本,放到Linux下执行导致格式不兼容。
使用vi打开脚本,运行`:set ff?`,结果为`fileformat=dos`,说明此脚本为DOS格式(每一行的行尾以\r\n来标识)。
**修复方法**:使用`set ff=unix`强制将格式改为unix,存盘退出
* chown,chmod命令
[修改linux文件权限... | {
"pile_set_name": "Github"
} |
# Copyright (C) 2001-2006 Python Software Foundation
# Author: Barry Warsaw
# Contact: email-sig@python.org
"""Base class for MIME specializations."""
__all__ = ['MIMEBase']
from email import message
class MIMEBase(message.Message):
"""Base class for MIME specializations."""
def __init__(self, _maintype... | {
"pile_set_name": "Github"
} |
<?php
/**
* PHPExcel
*
* Copyright (c) 2006 - 2011 PHPExcel
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later ve... | {
"pile_set_name": "Github"
} |
Decoder = require '../decoder'
class LPCMDecoder extends Decoder
Decoder.register('lpcm', LPCMDecoder)
readChunk: =>
stream = @stream
littleEndian = @format.littleEndian
chunkSize = Math.min(4096, stream.remainingBytes())
samples = chunkSize / (@format.bitsPerChannel / 8) |... | {
"pile_set_name": "Github"
} |
#!/usr/bin/perl
use strict;
use warnings;
use Test::More tests => 6;
use ExtUtils::ParseXS::Utilities qw(
valid_proto_string
);
my ($input, $output);
$input = '[\$]';
$output = valid_proto_string($input);
is( $output, $input, "Got expected value for <$input>" );
$input = '[$]';
$output = valid_proto_string($input... | {
"pile_set_name": "Github"
} |
/*
* snmptranslate.c - report or translate info about oid from mibs
*
* Update: 1998-07-17 <jhy@gsu.edu>
* Added support for dumping alternate oid reports (-t and -T options).
* Added more detailed (useful?) usage info.
*/
/************************************************************************
Copyright 1988, ... | {
"pile_set_name": "Github"
} |
<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
<AssemblyName>SMAPI.Web</AssemblyName>
<RootNamespace>StardewModdingAPI.Web</RootNamespace>
<TargetFramework>netcoreapp3.1</TargetFramework>
<LangVersion>latest</LangVersion>
</PropertyGroup>
<ItemGroup>
<Content Remove="aws-beanstalk-to... | {
"pile_set_name": "Github"
} |
/*
* EAP common peer/server definitions
* Copyright (c) 2004-2014, Jouni Malinen <j@w1.fi>
*
* This software may be distributed under the terms of the BSD license.
* See README for more details.
*/
#include "includes.h"
#include "common.h"
#include "eap_defs.h"
#include "eap_common.h"
/**
* eap_hdr_len_valid ... | {
"pile_set_name": "Github"
} |
.\"
.\" Copyright 2010 by Ben Greear <greearb@candelatech.com>
.\"
.\" Permission to use, copy, modify, and distribute this
.\" software and its documentation for any purpose and without
.\" fee is hereby granted, provided that the above copyright
.\" notice appear in all copies and that both that copyright
.\" notice ... | {
"pile_set_name": "Github"
} |
(function( factory ) {
if ( typeof define === "function" && define.amd ) {
define( ["jquery", "../jquery.validate"], factory );
} else {
factory( jQuery );
}
}(function( $ ) {
/*
* Translated default messages for the jQuery validation plugin.
* Locale: TH (Thai; ไทย)
*/
$.extend($.validator.messages, {
requ... | {
"pile_set_name": "Github"
} |
Garbage Collector (parallel iversion) for ix86 DG/UX Release R4.20MU07
*READ* the file README.QUICK.
You need the GCC-3.0.3 rev (DG/UX) compiler to build this tree.
This compiler has the new "dgux386" threads package implemented.
It also supports the switch "-pthread" needed to link correctly... | {
"pile_set_name": "Github"
} |
# Schema
```
https://ns.adobe.com/experience/analytics/event701to800
```
| [Abstract](../../../../abstract.md) | [Extensible](../../../../extensions.md) | [Status](../../../../status.md) | [Identifiable](../../../../id.md) | [Custom Properties](../../../../extensions.md) | [Additional Properties](../../../../exten... | {
"pile_set_name": "Github"
} |
config LEDS_GPIO_REGISTER
bool
help
This option provides the function gpio_led_register_device.
As this function is used by arch code it must not be compiled as a
module.
menuconfig NEW_LEDS
bool "LED Support"
help
Say Y to enable Linux LED support. This allows control of supported
LEDs from both u... | {
"pile_set_name": "Github"
} |
%button {
display: inline-block;
padding: 7px 12px;
&:active {
margin: 2px 0 -2px 0;
}
}
@mixin button-color($color) {
background: $color;
color: $white;
box-shadow: 0 3px 0 darken($color, 6%);
&:hover {
background: darken($color, 6%);
box-shadow: 0 3px 0 darken($color, 12%);
color: $white;
}
&:activ... | {
"pile_set_name": "Github"
} |
/**
* Module dependencies
*/
var isArray = Array.isArray
/**
* Export `type`
*/
module.exports = type
/**
* Get the type
*
* @param {Mixed} v
* @return {String}
*/
function type(v) {
return isArray(v)
? 'array'
: v && v.__catch__
? 'catch'
: v && v.vo
? 'vo'
: v && typeof v.next ... | {
"pile_set_name": "Github"
} |
# ==== Purpose ====
#
# Verify that their is no crash any more while executing a
# 'CREATE...SELECT' statement even if it is interrupted at
# debug point 'mysql_lock_tables_kill_query' in the middle
# and 'CREATE TABLE' event was not logged when
# binlog_format=row, gtid_mode=off and autocommit=0.
#
# ==== Implementati... | {
"pile_set_name": "Github"
} |
/*
* Copyright (c) 2005, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Softwa... | {
"pile_set_name": "Github"
} |
package client // import "github.com/docker/docker/client"
import (
"bytes"
"context"
"encoding/json"
"fmt"
"io/ioutil"
"net/http"
"strings"
"testing"
"github.com/docker/docker/api/types"
"github.com/docker/docker/api/types/filters"
"github.com/docker/docker/errdefs"
)
func TestContainerListError(t *testi... | {
"pile_set_name": "Github"
} |
{
"accountLinkingWhitelistedDomains": null,
"asin": "B01L8CXFGO",
"averageRating": 0,
"canDisable": true,
"capabilities": null,
"category": null,
"description": "Ever wanted to test your knowledge of lasers? Look no further! Laser trivia provides the best laser questions you can find.",
"enablement": nu... | {
"pile_set_name": "Github"
} |
package net.sourceforge.vrapper.keymap.vim;
import java.util.Set;
import net.sourceforge.vrapper.keymap.KeyStroke;
import net.sourceforge.vrapper.keymap.SimpleTransition;
import net.sourceforge.vrapper.keymap.State;
import net.sourceforge.vrapper.keymap.Transition;
import net.sourceforge.vrapper.keymap.UnionState;
im... | {
"pile_set_name": "Github"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.