text stringlengths 2 99.9k | meta dict |
|---|---|
#
# Copyright (c) 2003-2020 Christopher M. Kohlhoff (chris at kohlhoff dot com)
#
# Distributed under the Boost Software License, Version 1.0. (See accompanying
# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
#
lib socket ; # SOLARIS
lib nsl ; # SOLARIS
lib ws2_32 ; # NT
lib mswsock ; # NT
lib ... | {
"pile_set_name": "Github"
} |
import Foundation
struct ObfuscableFilesFilter {
let isObfuscable: (URL) -> Bool
}
extension ObfuscableFilesFilter {
func and(_ other: ObfuscableFilesFilter) -> ObfuscableFilesFilter {
return ObfuscableFilesFilter { url in
self.isObfuscable(url) && other.isObfuscable(url)
}
}
... | {
"pile_set_name": "Github"
} |
# Verify that after CHANGE MASTER, replication (I/O thread and SQL
# thread) restart from where SQL thread left, not from where
# I/O thread left (some old bug fixed in 4.0.17)
source include/master-slave.inc;
connection master;
# Make SQL slave thread advance a bit
create table t1(n int);
sync_slave_with_master;
sel... | {
"pile_set_name": "Github"
} |
/*
* QEMU I/O channel test helpers
*
* Copyright (c) 2015 Red Hat, Inc.
*
* 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 of the License, or (at your option) an... | {
"pile_set_name": "Github"
} |
/* -----------------------------------------------------------------------
ffi.c - (c) 2011 Anthony Green
(c) 2008 Red Hat, Inc.
(c) 2006 Free Software Foundation, Inc.
(c) 2003-2004 Randolph Chung <tausq@debian.org>
HPPA Foreign Function Interface
HP-UX PA ABI support
... | {
"pile_set_name": "Github"
} |
/* This is a compiled file, you should be editing the file in the templates directory */
.pace {
-webkit-pointer-events: none;
pointer-events: none;
-webkit-user-select: none;
-moz-user-select: none;
user-select: none;
}
.pace .pace-activity {
display: block;
position: fixed;
z-index: 2000;
top: 0;
... | {
"pile_set_name": "Github"
} |
0 1 15.479 15.0995 16.0434
| {
"pile_set_name": "Github"
} |
#!/bin/sh
set -e
. ../scripts/run-test
run_test MemHandlerTest fail "" tests/MemHandlerTest
| {
"pile_set_name": "Github"
} |
[android-components](../../index.md) / [mozilla.components.concept.engine.permission](../index.md) / [PermissionRequest](index.md) / [reject](./reject.md)
# reject
`abstract fun reject(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) [(source)](https://github.com/mozilla-mobile/andro... | {
"pile_set_name": "Github"
} |
/*
* Copyright (C) 2009, Willow Garage, Inc.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must retain the above copyright notice,
* this list of conditions and the follo... | {
"pile_set_name": "Github"
} |
package client
import (
"fmt"
"net/url"
"strconv"
"github.com/docker/docker/api/types/swarm"
"golang.org/x/net/context"
)
// SwarmUpdate updates the swarm.
func (cli *Client) SwarmUpdate(ctx context.Context, version swarm.Version, swarm swarm.Spec, flags swarm.UpdateFlags) error {
query := url.Values{}
query.... | {
"pile_set_name": "Github"
} |
/*
Copyright IBM Corp. 2017 All Rights Reserved.
SPDX-License-Identifier: Apache-2.0
*/
package cluster
import (
"bytes"
"crypto/tls"
"crypto/x509"
"encoding/hex"
"encoding/json"
"encoding/pem"
"fmt"
"math/rand"
"sync"
"sync/atomic"
"time"
"github.com/hyperledger/fabric-config/protolator"
"github.com/h... | {
"pile_set_name": "Github"
} |
// +build go1.8
package pq
import (
"context"
"database/sql"
"testing"
"time"
)
func TestMultipleSimpleQuery(t *testing.T) {
db := openTestConn(t)
defer db.Close()
rows, err := db.Query("select 1; set time zone default; select 2; select 3")
if err != nil {
t.Fatal(err)
}
defer rows.Close()
var i int
... | {
"pile_set_name": "Github"
} |
# 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! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union
from .. import _utilitie... | {
"pile_set_name": "Github"
} |
// Copyright 2019 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// +build !gccgo
package cpu
func getisar0() uint64
func getisar1() uint64
func getpfr0() uint64
| {
"pile_set_name": "Github"
} |
use strict;
use warnings;
# New HTML templates
our @Templates = (
{ Queue => '0',
Name => 'Autoreply in HTML', # loc
Description => 'HTML Autoresponse template', # loc
Content => q[Subject: AutoReply: {$Ticket->Subject}
Conten... | {
"pile_set_name": "Github"
} |
========================================
GLib
========================================
.. contents:: 目錄
Memory Allocation
========================================
GLib 的 `Memory Allocation <https://developer.gnome.org/glib/unstable/glib-Memory-Allocation.html>`_
相關處理都在 ``glib/gmem.h`` 和 ``glib/gmem.c`` ,
大部分都是基於 C... | {
"pile_set_name": "Github"
} |
#region License
// ====================================================
// Project Porcupine Copyright(C) 2016 Team Porcupine
// This program comes with ABSOLUTELY NO WARRANTY; This is free software,
// and you are welcome to redistribute it under certain conditions; See
// file LICENSE, which is part of this source... | {
"pile_set_name": "Github"
} |
```scratch
crwdns8484:0[1]crwdnd8484:0[1]crwdne8484:0
``` | {
"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 <UIKit/UIButton.h>
@class UIColor, UIView;
@interface HUQuickControlCircleButton : UIButton
{
UIColor *_selectedColor;
... | {
"pile_set_name": "Github"
} |
/*---------------------------------------------------------------------------------------------
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
* See LICENSE.md in the project root for license terms and full copyright notice.
*-------------------------------------------------------------------------... | {
"pile_set_name": "Github"
} |
/* @generated */
digraph cfg {
"main.fad58de7366495db4650cfefac2fcd61_1" [label="1: Start main\nFormals: \nLocals: honda:Car* \n " color=yellow style=filled]
"main.fad58de7366495db4650cfefac2fcd61_1" -> "main.fad58de7366495db4650cfefac2fcd61_6" ;
"main.fad58de7366495db4650cfefac2fcd61_2" [label="2: Exit main \n ... | {
"pile_set_name": "Github"
} |
console.log('WebComponents2')
| {
"pile_set_name": "Github"
} |
#list of ScriptEngineFactory's in this package
#org.red5.server.script.rhino.RhinoScriptEngineFactory #javascript
com.sun.script.jruby.JRubyScriptEngineFactory
com.sun.script.jython.JythonScriptEngineFactory
com.sun.script.groovy.GroovyScriptEngineFactory
| {
"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 <AppleLDAP/NSObject-Protocol.h>
@protocol OS_ldap_connection <NSObject>
@end
| {
"pile_set_name": "Github"
} |
/* Copyright 2020 The TensorFlow Authors. 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 ... | {
"pile_set_name": "Github"
} |
## Version 8.0 beta
This new major release is quite a big overhaul bringing both new features and
some backwards incompatible changes. However, chances are that the majority of
users won't be affected by the latter: the basic scenario described in the
README is left intact.
Here's what did change in an incompatible w... | {
"pile_set_name": "Github"
} |
import subprocess
from jadi import component
from aj.plugins.services.api import ServiceManager, Service
@component(ServiceManager)
class SystemdServiceManager(ServiceManager):
id = 'systemd'
name = 'systemd'
@classmethod
def __verify__(cls):
return subprocess.call(['which', 'systemctl']) ==... | {
"pile_set_name": "Github"
} |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
<Title>EAStdC</title>
<link type="text/css" rel="stylesheet" href="UTFDoc.css">
<meta name="author" content="Paul Pedriana">
</head>
<body bgcolor="#FFFFFF">
<h1>EAStdC<... | {
"pile_set_name": "Github"
} |
<android.support.v7.widget.Toolbar
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/toolbar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="?attr/colorPrimary"
android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar"
... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="UTF-8"?>
<!--
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
Copyright (c) 2007 Sun Microsystems Inc. All Rights Reserved
The contents of this file are subject to the terms
of the Common Development and Distribution License
(the License). You may not use... | {
"pile_set_name": "Github"
} |
{
"images": [
{
"filename": "Icon-Small.png",
"size": "29x29",
"scale": "1x",
"idiom": "iphone"
},
{
"filename": "Icon-Small@2x.png",
"size": "29x29",
"scale": "2x",
"idiom": "iphone"
},
{
"filename": "Icon-87@3x.png",
"size": "29x29",
... | {
"pile_set_name": "Github"
} |
using System;
using System.Windows;
using HunterPie.Core.Jobs;
namespace HunterPie.GUI.Widgets.ClassWidget.Parts
{
/// <summary>
/// Interaction logic for BowControl.xaml
/// </summary>
public partial class BowControl : ClassControl
{
Bow Context;
public int MaxChargeLevel
... | {
"pile_set_name": "Github"
} |
// +build example
//
// Do not build by default.
package main
import (
"gobot.io/x/gobot"
"gobot.io/x/gobot/drivers/gpio"
"gobot.io/x/gobot/platforms/intel-iot/edison"
"gobot.io/x/gobot/api"
)
func main() {
master := gobot.NewMaster()
api.NewAPI(master).Start()
e := edison.NewAdaptor()
button := gpio.NewB... | {
"pile_set_name": "Github"
} |
"""Plot functions for the profiling report."""
import copy
from typing import Optional, Union
import numpy as np
import pandas as pd
import seaborn as sns
from matplotlib import pyplot as plt
from matplotlib.colors import LinearSegmentedColormap
from matplotlib.patches import Patch
from matplotlib.ticker import FuncFo... | {
"pile_set_name": "Github"
} |
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24.0"
android:viewportHeight="24.0">
<path
android:fillColor="#FF000000"
android:pathData="M20,4L4,4c-1.1,0 -1.99,0.9 -1.99,2L2,18c0,1.... | {
"pile_set_name": "Github"
} |
import {GraphQLObjectType} from 'graphql'
import {GQLContext} from '../graphql'
import ReflectPrompt from './ReflectPrompt'
import StandardMutationError from './StandardMutationError'
const MoveReflectTemplatePromptPayload = new GraphQLObjectType<any, GQLContext>({
name: 'MoveReflectTemplatePromptPayload',
fields:... | {
"pile_set_name": "Github"
} |
//
// ServersDataSource.m
//
// Copyright (C) 2013 IRCCloud, Ltd.
// 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 require... | {
"pile_set_name": "Github"
} |
using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyCulture("")]
// Setting ComVisible to false make... | {
"pile_set_name": "Github"
} |
---
order: 4
zh-CN:
title: disable状态
en-US:
title: Disable status
---
```jsx
import { NumberInput } from 'zent';
ReactDOM.render(
<div>
<NumberInput value={3} disabled />
<NumberInput value={3} disabled showStepper />
<NumberInput value={3} disabled showCounter/>
</div>
, mountNode
);
```
| {
"pile_set_name": "Github"
} |
package multithreads.waitAndNotify;
import java.util.LinkedList;
import java.util.Queue;
public class TaskQueue {
Queue<String> queue = new LinkedList<>();
public synchronized void addTask(String s) {
// 如何让等待的线程被重新唤醒,然后从wait()方法返回?答案是在相同的锁对象上调用notify()方法
this.queue.add(s);
// this.not... | {
"pile_set_name": "Github"
} |
.tundra .dijitTitlePaneTitle {
background: #cccccc;
background:#fff url("images/titleBar.png") repeat-x bottom left;
border:1px solid #bfbfbf;
padding:3px 4px;
}
.tundra .dijitTitlePaneTitleHover {
background: #f8fafd url("images/accordionItemHover.gif") bottom repeat-x;
}
.tundra .dijitTitlePane .dijitArrowNode... | {
"pile_set_name": "Github"
} |
Quick instructions for testing your mozart installation.
From <build-dir>/share/test:
make boot-all - Builds all tests with the compiler in <build-dir>
make boot-check - Runs all tests (except dp) with the emulator in <build-dir>
You can also run oztest and ozbench with the oz from your path/OZ_HOME. Run
oz... | {
"pile_set_name": "Github"
} |
### xargo宣布进入maintenance 模式
[issues](https://github.com/japaric/xargo/issues/193)
意味着作者不会在添加新的功能或者是修改Bug,但是开放PR,因为作者坚持这是个临时解决方案。作用要专注于开发 ARM Cortex-M (不清楚是什么项目)
---
### 探讨Rust和它在数据科学的立场
[rust and its stance in data science](https://medium.com/@e_net4/rust-and-its-stance-in-data-science-76d2c5ad2363)
结论: 看好Rust
... | {
"pile_set_name": "Github"
} |
/*
* Copyright 2013 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#ifndef SkValidatingReadBuffer_DEFINED
#define SkValidatingReadBuffer_DEFINED
#include "SkRefCnt.h"
#include "SkBitmapHeap.h"
#include "SkReadBuffer.h"
#include "SkWriteBuffe... | {
"pile_set_name": "Github"
} |
@import '~less/global-variables';
/**
* Editor
*/
// Our own customizations
.tr-editor {
border: 0;
background: transparent;
box-shadow: none;
height: auto;
resize: none;
margin: 0;
padding: 0;
cursor: text;
min-height: 100px;
&:hover {
background: fade(@brand-primary, 10%);
}
&:focus {
... | {
"pile_set_name": "Github"
} |
// 答题
class Solution {
// leetcode 20. 有效的括号
isValid (s) {
/**
* @param {string} s
* @return {boolean}
*/
var isValid = function(s) {
let stack = [];
// 以遍历的方式进行匹配操作
for (let i = 0; i < s.length; i++) {
// 是否是正括号
switch (s[i]) {
... | {
"pile_set_name": "Github"
} |
Given a binary tree, return the level order traversal of its nodes' values. (ie, from left to right, level by level).
For example:
Given binary tree [3,9,20,null,null,15,7],
3
/ \
9 20
/ \
15 7
return its level order traversal as:
[
[3],
[9,20],
[15,7]
]
| {
"pile_set_name": "Github"
} |
# 如何写好的技术简历?
- [是时候更新一下你的简历了](https://zhuanlan.zhihu.com/p/89522100)
| {
"pile_set_name": "Github"
} |
#!/usr/bin/env bash
# vim:noet:sts=4:ts=4:sw=4:tw=120
#=======================================================================================================================
# (c) 2014 Clemens Lang, neverpanic.de
# See https://neverpanic.de/blog/2014/03/19/downloading-google-web-fonts-for-local-hosting/ for details.
... | {
"pile_set_name": "Github"
} |
# Flambe
The Flambe command-line tool. Visit [getflambe.com] for install instructions.
[getflambe.com]: http://getflambe.com
| {
"pile_set_name": "Github"
} |
/*=============================================================================
Copyright (c) 2014-2015 Kohei Takahashi
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
===================================... | {
"pile_set_name": "Github"
} |
source "http://rubygems.org"
# Specify your gem's dependencies in mini_record.gemspec
gem 'rake'
gem 'minitest'
# Test database adapters with "rake test DB=mysql2"
gem 'sqlite3'
gem 'pg'
gem 'mysql'
gem 'mysql2'
# Uncomment to test older versions, then "bundle update"
# gem 'activerecord', '<= 3.2'
# gem 'activereco... | {
"pile_set_name": "Github"
} |
package timestampmap
import (
"sync"
"whapp-irc/whapp"
)
// A Map contains the last timestamp per chat ID.
type Map struct {
mutex sync.RWMutex
m map[string]int64
}
// New contains a new Map.
func New() *Map {
return &Map{
m: make(map[string]int64),
}
}
// Get returns the value attachted to the given ch... | {
"pile_set_name": "Github"
} |
import tensorflow as tf
from tensorflow.examples.tutorials.mnist import input_data
import mnist_inference
import os
BATCH_SIZE = 100
LEARNING_RATE_BASE = 0.8
LEARNING_RATE_DECAY = 0.99
REGULARIZATION_RATE = 0.0001
TRAINING_STEPS = 30000
MOVING_AVERAGE_DECAY = 0.99
MODEL_SAVE_PATH="MNIST_model/"
MODEL_NAME="mnist_model... | {
"pile_set_name": "Github"
} |
// stdafx.cpp : source file that includes just the standard includes
// TestBsonCodec.pch will be the pre-compiled header
// stdafx.obj will contain the pre-compiled type information
#include "stdafx.h"
// TODO: reference any additional headers you need in STDAFX.H
// and not in this file
| {
"pile_set_name": "Github"
} |
# IfElseStmtsMustUseBraces
**Category:** `pmd`<br/>
**Rule Key:** `pmd:IfElseStmtsMustUseBraces`<br/>
> :warning: This rule is **deprecated** in favour of [S00121](https://rules.sonarsource.com/java/RSPEC-121).
-----
<p>
Avoid using if..else statements without using curly braces.
</p>
| {
"pile_set_name": "Github"
} |
-----BEGIN CERTIFICATE-----
MIIDwDCCAqigAwIBAgIHBHL9Tb37ezANBgkqhkiG9w0BAQsFADCBnjELMAkGA1UE
BhMCVVMxEzARBgNVBAgMCkNhbGlmb3JuaWExEjAQBgNVBAcMCUxvcyBHYXRvczEU
MBIGA1UECgwLTmV0ZmxpeCBJbmMxLTArBgNVBAsMJFBsYXRmb3JtIFNlY3VyaXR5
ICgxMjUyMzMyMDgwMDEzNjYxKTEhMB8GA1UEAwwYSW50ZXJtZWRpYXRlIENBIGZv
ciAxNDc3MB4XDTIwMDcxNDAzMjExMVoX... | {
"pile_set_name": "Github"
} |
/**
* PANDA 3D SOFTWARE
* Copyright (c) Carnegie Mellon University. All rights reserved.
*
* All use of this software is subject to the terms of the revised BSD
* license. You should have received a copy of this license along
* with this source code in a file named "LICENSE."
*
* @file linearIntegrator.cxx
*... | {
"pile_set_name": "Github"
} |
<style type="text/css">
foo-bar2 {
}
</style>
<foo-<caret>bar2></foo-bar2> | {
"pile_set_name": "Github"
} |
// Created on: 1993-05-07
// Created by: Jean Yves LEBEY
// Copyright (c) 1993-1999 Matra Datavision
// Copyright (c) 1999-2014 OPEN CASCADE SAS
//
// This file is part of Open CASCADE Technology software library.
//
// This library is free software; you can redistribute it and/or modify it under
// the terms of the GN... | {
"pile_set_name": "Github"
} |
/** @file package.h Package containing metadata, data, and/or files.
*
* @authors Copyright (c) 2014-2017 Jaakko Keränen <jaakko.keranen@iki.fi>
*
* @par License
* LGPL: http://www.gnu.org/licenses/lgpl.html
*
* <small>This program is free software; you can redistribute it and/or modify
* it under the terms of... | {
"pile_set_name": "Github"
} |
// Copyright © 2011, Université catholique de Louvain
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// * Redistributions of source code must retain the above copyright notice,
// this... | {
"pile_set_name": "Github"
} |
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2015 by Steve Nygard.
//
#import <objc/NSObject.h>
#import <ModelIO/MDLTransformComponent-Protocol.h>
@class NSString;
@interface MDLTransform : NSObject <MDLTransformComponent>
{
// Error parsing ty... | {
"pile_set_name": "Github"
} |
/*
* Licensed to GraphHopper GmbH under one or more contributor
* license agreements. See the NOTICE file distributed with this work for
* additional information regarding copyright ownership.
*
* GraphHopper GmbH licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not ... | {
"pile_set_name": "Github"
} |
future==0.16.0
lxml==4.1.1
| {
"pile_set_name": "Github"
} |
#!/bin/bash
set -eou pipefail
source ../scripts/variables.sh
echo "Frontend service address: $(fdfrontend)"
echo "Inventory service address: $(fdinventory)"
echo "Product service address: $(fdproduct)"
#####
# The backend pool for the frontend service in AKS
#####
echo "Creating backend pool for frontend service $(fd... | {
"pile_set_name": "Github"
} |
/*
(Copyright) 2018, Winton Wang <365504029@qq.com>
ctpwrapper is free software: you can redistribute it and/or modify
it under the terms of the GNU LGPLv3 as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope tha... | {
"pile_set_name": "Github"
} |
%verify "executed"
/*
* Long integer shift, 2addr version. vA is 64-bit value/result, vB is
* 32-bit shift distance.
*/
/* ushr-long/2addr vA, vB */
mov r3, rINST, lsr #12 @ r3<- B
ubfx r9, rINST, #8, #4 @ r9<- A
GET_VREG(r2, r3) @ r2<- vB... | {
"pile_set_name": "Github"
} |
/*=============================================================================
Copyright (c) 2001-2011 Joel de Guzman
Copyright (c) 2006 Dan Marsden
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
=====... | {
"pile_set_name": "Github"
} |
// Copyright 2017 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Flags: --allow-natives-syntax
function foo(o) {
return o[0];
};
%PrepareFunctionForOptimization(foo);
assertEquals(undefined, foo({}));
Array.prot... | {
"pile_set_name": "Github"
} |
{
"jest": {
"rootDir": "./",
"transform": {
"^.+\\.(ts|js)$": "<rootDir>/TypescriptPreprocessor.js"
},
"testRegex": "/__tests__/.*\\.(ts|tsx|js)$",
"testEnvironment": "node",
"moduleFileExtensions": [
"ts",
"tsx",
"js"
]
},
"dependencies": {
"typescript": "^... | {
"pile_set_name": "Github"
} |
" Vim syntax file
" Language: ldap.conf(5) configuration file.
" Previous Maintainer: Nikolai Weibull <now@bitwi.se>
" Latest Revision: 2006-12-11
if exists("b:current_syntax")
finish
endif
let s:cpo_save = &cpo
set cpo&vim
syn keyword ldapconfTodo contained TODO FIXME XXX NOTE
syn regi... | {
"pile_set_name": "Github"
} |
import { Key, Path, pathToRegexp } from './path-to-regex';
import { MatchOptions, MatchResults } from '../global/interfaces';
import { valueEqual } from './location-utils';
interface CompileOptions {
end: boolean;
strict: boolean;
}
let cacheCount = 0;
const patternCache: {[key: string]: any } = {};
const cacheLi... | {
"pile_set_name": "Github"
} |
/*
* Copyright (c) 2008-2020 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by... | {
"pile_set_name": "Github"
} |
--[[
Unit Test for EmbedNet model
Copyright 2016 Xiang Zhang
--]]
local Model = require('model')
local sys = require('sys')
-- A Logic Named Joe
local joe = {}
function joe.main()
if joe.init then
print('Initializing testing environment')
joe:init()
end
for name, func in pairs(joe) do
if ... | {
"pile_set_name": "Github"
} |
'use strict';
var net = require('net');
var tls = require('tls');
var http = require('http');
var https = require('https');
var events = require('events');
var assert = require('assert');
var util = require('util');
exports.httpOverHttp = httpOverHttp;
exports.httpsOverHttp = httpsOverHttp;
exports.httpOverHttps = h... | {
"pile_set_name": "Github"
} |
{ config, lib, pkgs, ... }:
with lib;
let
cfg = config.hardware;
in {
imports = [
(mkRenamedOptionModule [ "networking" "enableRT73Firmware" ] [ "hardware" "enableRedistributableFirmware" ])
(mkRenamedOptionModule [ "networking" "enableIntel3945ABGFirmware" ] [ "hardware" "enableRedistributableFirmware" ... | {
"pile_set_name": "Github"
} |
/*
* Robotic Research Group (RRG)
* State University of Piauí (UESPI), Brazil - Piauí - Teresina
*
* Fuzzy.cpp
*
* Author: AJ Alves <aj.alves@zerokol.com>
* Co authors: Dr. Ricardo Lira <ricardor_usp@yahoo.com.br>
* Msc. Marvin Lemos <marvinlemos@gmail.com>
* ... | {
"pile_set_name": "Github"
} |
#pragma once
INT APIENTRY BITMAP_GetObject(SURFACE * bmp, INT count, LPVOID buffer);
HBITMAP FASTCALL BITMAP_CopyBitmap (HBITMAP hBitmap);
BOOL
NTAPI
GreSetBitmapOwner(
_In_ HBITMAP hbmp,
_In_ ULONG ulOwner);
HBITMAP
NTAPI
GreCreateBitmap(
_In_ ULONG nWidth,
_In_ ULONG nHeight,
_In_ ULONG c... | {
"pile_set_name": "Github"
} |
fileFormatVersion: 2
guid: db45ebb17de411646b06393269da2e79
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter class... | {
"pile_set_name": "Github"
} |
#!/usr/bin/env ruby -W
# encoding: utf-8
require 'set'
commit_range = ENV['TRAVIS_COMMIT_RANGE'] || 'master'
puts "#{File.basename($0)}: commit range #{commit_range}"
invalid_files = {}
comment_block = false
last_file = nil
last_lines = nil
changed_lines = `git diff #{commit_range} -- *.[mh]`.lines
changed_lines.ea... | {
"pile_set_name": "Github"
} |
/**
* @ngdoc factory
* @name core.factory:trNativeAppBridge
* @description
* Service for communicating with Native Trustroots mobile app
*/
angular.module('core').factory('trNativeAppBridge', trNativeAppBridgeFactory);
/* @ngInject */
function trNativeAppBridgeFactory(
$q,
$rootScope,
$log,
$window,
$ti... | {
"pile_set_name": "Github"
} |
/*
Original style from softwaremaniacs.org (c) Ivan Sagalaev <Maniac@SoftwareManiacs.Org>
*/
.hljs {
display: block; padding: 0.5em;
background: white; color: black;
}
.hljs-string,
.hljs-tag .hljs-value,
.hljs-filter .hljs-argument,
.hljs-addition,
.hljs-change,
.apache .hljs-tag,
.apache .hlj... | {
"pile_set_name": "Github"
} |
var tape = require('tape')
var through = require('through2')
var stream = require('stream')
var shift = require('./')
tape('shifts next', function (t) {
var passthrough = through()
passthrough.write('hello')
passthrough.write('world')
t.same(shift(passthrough), Buffer('hello'))
t.same(shift(passthrough), B... | {
"pile_set_name": "Github"
} |
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.tutorialproject"
android:versionCode="1"
android:versionName="1.0">
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW"/>
<uses-sd... | {
"pile_set_name": "Github"
} |
desc: Test that UUIDs work
tests:
- cd: r.uuid()
ot: uuid()
- cd: r.expr(r.uuid())
ot: uuid()
- cd: r.type_of(r.uuid())
ot: 'STRING'
- cd: r.uuid().ne(r.uuid())
ot: true
- cd: r.uuid('magic')
ot: ('97dd10a5-4fc4-554f-86c5-0d2c2e3d5330')
- cd: r.uuid('magic').eq(r.uuid('magic'))
ot: t... | {
"pile_set_name": "Github"
} |
fooking is distributed gateway server.It transfers client's requests to backend and send responses back with fpm protocol.
Just like Nginx, as building a http server with nginx and fastcgi server(e.g fpm, etc..), you can create a socket server with fooking.
# features
1 gateway server adding dynamicly.
2 uniq... | {
"pile_set_name": "Github"
} |
var isArray = require('./isArray');
/**
* Casts `value` as an array if it's not one.
*
* @static
* @memberOf _
* @since 4.4.0
* @category Lang
* @param {*} value The value to inspect.
* @returns {Array} Returns the cast array.
* @example
*
* _.castArray(1);
* // => [1]
*
* _.castArray({ 'a': 1 });
* // ... | {
"pile_set_name": "Github"
} |
# Overview
Turbo is developed for web site that based on [tornado](http://tornado.readthedocs.org/en/stable/) and [mongodb](https://www.mongodb.org/) to build rapidly and easily to scale up and maintain.
Turbo has support for:
- Easily scale up and maintain
- Rapid development for RESTFul api and web site
- Django ... | {
"pile_set_name": "Github"
} |
<?php
/**
* The main site settings page
*/
return array(
/**
* Settings page title
*
* @type string
*/
'title' => 'Site Settings',
/**
* The edit fields array
*
* @type array
*/
'edit_fields' => array(
'site_name' => array(
'title' => 'Site Name',
'type' => 'text',
'limit' => 50,
... | {
"pile_set_name": "Github"
} |
namespace $ASSEMBLYNAME${
using System;
using System.Collections.Generic;
using System.ComponentModel;
using DevExpress.Persistent.Base;
using DevExpress.Persistent.Validation;
using DevExpress.Xpo;
using Xpand.Persistent.Base.PersistentMetaData;
using Xpand.Persistent.BaseImpl.PersistentMetaData.PersistentAttributeIn... | {
"pile_set_name": "Github"
} |
#!/bin/bash
if [[ $(nodetool status | grep $POD_IP) == *"UN"* ]]; then
if [[ $DEBUG ]]; then
echo "UN";
fi
exit 0;
else
if [[ $DEBUG ]]; then
echo "Not Up";
fi
exit 1;
fi
| {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="UTF-8"?>
<Body>
<Title>湖北二广高速路大客车翻覆34人受伤</Title>
<ReportTime type="absTime">2011-10-13 14:31:05</ReportTime>
<Content>
<Paragraph>
<Sentence>
<Event eid="e1" type="thoughtevent">
<Participant sid="s1">中新网</Participant>
<Location lid="l1">荆门</Location>
<Time ... | {
"pile_set_name": "Github"
} |
using System;
namespace NetCoreStack.WebSockets
{
[Flags]
public enum WebSocketCommands : byte
{
Connect = 1,
DataSend = 2,
Handshake = 4,
All = 7
}
}
| {
"pile_set_name": "Github"
} |
#include <map>
#include "D3dDdi/Adapter.h"
#include "D3dDdi/AdapterFuncs.h"
#include "D3dDdi/DeviceCallbacks.h"
#include "D3dDdi/DeviceFuncs.h"
namespace
{
HRESULT APIENTRY closeAdapter(HANDLE hAdapter)
{
HRESULT result = D3dDdi::AdapterFuncs::s_origVtablePtr->pfnCloseAdapter(hAdapter);
if (SUCCEEDED(result))
... | {
"pile_set_name": "Github"
} |
# This file configures AppVeyor (http://www.appveyor.com),
# a Windows-based CI service similar to Travis.
# Identifier for this run
version: "{build}"
# Clone the repo into this path, which conforms to the standard
# Go workspace structure.
clone_folder: c:\gopath\src\cloud.google.com\go
environment:
GOPATH: c:\g... | {
"pile_set_name": "Github"
} |
debug synnet
tech tech
Username PASSWORD
adm (none)
<br> ANYCOM
<br> ILMI
admin (none)
n/a PASSWORD
adminttd adminttd
admin comcomcom
admin admin
operator (none)
security security
3comcso RIP000
tech (none)
admin synnet
(none) admin
root (none)
monitor monitor
manager manager
| {
"pile_set_name": "Github"
} |
using Microsoft.Extensions.Localization;
using OrchardCore.Users.Services;
using OrchardCore.Workflows.Services;
namespace OrchardCore.Users.Workflows.Activities
{
public class UserEnabledEvent : UserEvent
{
public UserEnabledEvent(IUserService userService, IWorkflowScriptEvaluator scriptEvaluator, ISt... | {
"pile_set_name": "Github"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.