text stringlengths 2 99.9k | meta dict |
|---|---|
= Examples bundled with Elnode =
There are a bunch of examples of using Elnode in the GitHub
repository.
== Interactive Javascript Mode ==
Is a Javascript shell done via Elnode. It shows how you can hook the
running Emacs and the remote browser together, quite easily.
The Elnode handler uses comet to wait for a Jav... | {
"pile_set_name": "Github"
} |
# Legacy API type versions
This package includes types for legacy API versions. The stable version of the API types live in `api/types/*.go`.
Consider moving a type here when you need to keep backwards compatibility in the API. This legacy types are organized by the latest API version they appear in. For instance, ty... | {
"pile_set_name": "Github"
} |
/*
* Copyright 2003-2019 JetBrains s.r.o.
*
* 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 agre... | {
"pile_set_name": "Github"
} |
/** Enter member fields and methods of a class
* @param env the environment current for the class block.
*/
private void finish(Env<AttrContext> env) {
DEBUG.P(this,"finish(Env<AttrContext> env)");
DEBUG.P("env="+env);
JavaFileObject prev = log.useSource(env.toplevel.so... | {
"pile_set_name": "Github"
} |
/* i7080_defs.h: IBM 7080 simulator definitions
Copyright (c) 2006-2016, Richard Cornwell
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 ... | {
"pile_set_name": "Github"
} |
fileFormatVersion: 2
guid: e4f6ef78bad62ed40a24952b4fc66b85
timeCreated: 1448271443
licenseType: Free
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:
| {
"pile_set_name": "Github"
} |
<?php
return [
/*
|--------------------------------------------------------------------------
| Pagination Language Lines
|--------------------------------------------------------------------------
|
| The following language lines are used by the paginator library to build
| the simple pag... | {
"pile_set_name": "Github"
} |
#### Via The Synchronous API
To get the device's current IP:
_With Kotlin_
```kotlin
val ip = wisefy.getIP()
```
_With Java_
```java
String ip = wisefy.getIP();
```
#### Via The Asynchronous API
To get the device's current IP:
_With Kotlin_
```kotlin
wisefy.getIP(object: GetIPCallbacks {
override fun retri... | {
"pile_set_name": "Github"
} |
<#
.SYNOPSIS
Installs hasher from the Internet via Chocolatey.
.DESCRIPTION
Author: Dane Stuckey (@cryps1s)
License: MIT
Performs a standard chocolatey installation of the most recent stable version of hasher.
.NOTES
#>
Set-StrictMode -Version Latest
# Load the Install-ChocolateyPackage Functio... | {
"pile_set_name": "Github"
} |
import module namespace cdml = "http://zorba.io/modules/store/dynamic/collections/dml";
for $e in cdml:collection(xs:QName("earthquakes"))
let $r := $e/column[last()] (: last column contains region name :)
where xs:double($e/column[7]) > 3 (: 7th column contains magnitude :)
group by $r2 := $r
let $r := $r[1]
where $r... | {
"pile_set_name": "Github"
} |
define("ace/mode/logtalk_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"], function(require, exports, module) {
"use strict";
var oop = require("../lib/oop");
var TextHighlightRules = require("./text_highlight_rules").TextHighlightRules;
var LogtalkHighlightRules = functio... | {
"pile_set_name": "Github"
} |
public class Class1
{
public Class1()
{
T t1 = T.Instance / T.Instance;
T t2 = T.Instance / 123;
}
}
---------------------------------------------------------
M:T.op_Division(T,T)
P:T.Instance
P:T.Instance
M:T.op_Division(T,System.Int32)
P:T.Instance
| {
"pile_set_name": "Github"
} |
/***************************************************************************\
|* *|
|* Copyright 2001-2004 NVIDIA Corporation. All Rights Reserved. *|
|* *|
|*... | {
"pile_set_name": "Github"
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Transactions;
using InventoryService.Api.Database;
using InventoryService.Api.Models;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Logging;
namespace InventoryService.Api.Services
{
publ... | {
"pile_set_name": "Github"
} |
require 'spec_helper'
require 'pact/consumer/configuration'
module Pact::Consumer::Configuration
describe MockService do
let(:world) { Pact::Consumer::World.new }
let(:port_number) { 1234 }
before do
Pact.clear_configuration
allow(Pact::MockService::AppManager.instance).to receive(:register... | {
"pile_set_name": "Github"
} |
//
// Copyright (c) 2020 Related Code - http://relatedcode.com
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIG... | {
"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")... | {
"pile_set_name": "Github"
} |
{{ content }}
| {
"pile_set_name": "Github"
} |
package com.lzx.lock.utils;
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
/**
* Created by xian on 2017/2/17.
*/
public class StringUtil {
public static String toMD5(String source) {
if (null == source || "".equals(source))
return null;
try {
... | {
"pile_set_name": "Github"
} |
// Copyright 2014 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 BASE_TIMER_MOCK_TIMER_H_
#define BASE_TIMER_MOCK_TIMER_H_
#include "base/test/simple_test_tick_clock.h"
#include "base/timer/timer.h"
namespace ... | {
"pile_set_name": "Github"
} |
/*
* Copyright (c) 2009 Apple Inc. All rights reserved.
*
* @APPLE_OSREFERENCE_LICENSE_HEADER_START@
*
* This file contains Original Code and/or Modifications of Original Code
* as defined in and that are subject to the Apple Public Source License
* Version 2.0 (the 'License'). You may not use this file except ... | {
"pile_set_name": "Github"
} |
# -*- encoding: utf-8 -*-
# Pilas engine - A video game framework.
#
# Copyright 2010 - Hugo Ruscitti
# License: LGPLv3 (see http://www.gnu.org/licenses/lgpl.html)
#
# Website - http://www.pilas-engine.com.ar
import pilas
from pilas.actores import Actor
import Image
import os
class Fondo(Actor):
def __init__(self... | {
"pile_set_name": "Github"
} |
#include <errno.h>
#include <stdlib.h>
#include <string.h>
#include <wchar.h>
#include <locale.h>
#include "../mb/mbctype.h"
#include "../local.h"
int wctomb(
char *s,
wchar_t wchar)
{
#ifdef _MB_CAPABLE
mbstate_t *ps;
ps = &(TLSGetCurrent()->MbState);
return __WCTOMB (s, wchar, ps);
#else /* not _MB_CAPABLE */
... | {
"pile_set_name": "Github"
} |
; RUN: opt -loop-vectorize -pass-remarks-analysis=loop-vectorize < %s 2>&1 | FileCheck %s
; 1 extern int map[];
; 2 extern int out[];
; 3
; 4 void f(int a, int n) {
; 5 for (int i = 0; i < n; ++i) {
; 6 out[i] = a;
; 7 a = map[a];
; 8 }
; 9 }
; CHECK: remark: /tmp/... | {
"pile_set_name": "Github"
} |
using System;
using System.Linq;
using FizzWare.NBuilder;
using FluentAssertions;
using NUnit.Framework;
using NzbDrone.Core.MediaFiles;
using NzbDrone.Core.Qualities;
using NzbDrone.Core.SeriesStats;
using NzbDrone.Core.Test.Framework;
using NzbDrone.Core.Tv;
namespace NzbDrone.Core.Test.SeriesStatsTests
{
[Test... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<xliff xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:oasis:names:tc:xliff:document:1.2" version="1.2" xsi:schemaLocation="urn:oasis:names:tc:xliff:document:1.2 http://docs.oasis-open.org/xliff/v1.2/os/xliff-core-1.2-strict.xsd">
<file original=... | {
"pile_set_name": "Github"
} |
/*
* Project: Breadbox Home Automation
* File: dialog.ui
*
* Author: David Hunter
*
* This file contains the user Interface description for the
* dialog used by the driver. The resource must be a template
* resource to work with UserCreateDialog.
*
*/
/* -------------------------------... | {
"pile_set_name": "Github"
} |
//
// main.m
// SFFmpegIOSHelloworld
//
// Created by 雷霄骅 on 15/6/23.
// Copyright (c) 2015年 Lei Xiaohua. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "AppDelegate.h"
int main(int argc, char * argv[]) {
@autoreleasepool {
return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDeleg... | {
"pile_set_name": "Github"
} |
Filter 1: ON PK Fc 31 Hz Gain 6.6 dB Q 1.41
Filter 2: ON PK Fc 62 Hz Gain 3.3 dB Q 1.41
Filter 3: ON PK Fc 125 Hz Gain 2.5 dB Q 1.41
Filter 4: ON PK Fc 250 Hz Gain 1.7 dB Q 1.41
Filter 5: ON PK Fc 500 Hz Gain 2.2 dB Q 1.41
Filter 6: ON PK Fc 1000 Hz Gain 3.4 dB Q 1.41
Filter 7: ON PK Fc 2000 Hz Gain -4.8 dB Q 1.41
Filt... | {
"pile_set_name": "Github"
} |
# Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
search streamingstruct {
document streamingstruct {
field coupleof type string {
indexing: index | summary
}
field normalfields type string {
indexing: index | summary
... | {
"pile_set_name": "Github"
} |
import pygame_sdl2; pygame_sdl2.import_as_pygame()
import sys, os
import pygame
if len(sys.argv) < 2:
print "Usage: %s <filename>" % sys.argv[0]
sys.exit(0)
print pygame.mixer.get_init()
pygame.mixer.pre_init(frequency=44100)
pygame.init()
print pygame.mixer.get_init()
#
# pygame.mixer.music.load(sys.argv[1])... | {
"pile_set_name": "Github"
} |
package tenants
import "github.com/gophercloud/gophercloud"
func listURL(client *gophercloud.ServiceClient) string {
return client.ServiceURL("tenants")
}
func getURL(client *gophercloud.ServiceClient, tenantID string) string {
return client.ServiceURL("tenants", tenantID)
}
func createURL(client *gophercloud.Ser... | {
"pile_set_name": "Github"
} |
---
docker_image_info_family: "{{ lookup('pipe', 'docker-image-info family') }}"
docker_image_info_distribution: "{{ lookup('pipe', 'docker-image-info dist') }}"
docker_image_info_distribution_version: "{{ lookup('pipe', 'docker-image-info dist-version') }}"
docker_image_info_distribution_rele... | {
"pile_set_name": "Github"
} |
// Copyright (c) 2012 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 "ui/views/controls/menu/menu_listener.h"
namespace views {
MenuListener::MenuListener() {
}
MenuListener::~MenuListener() {
}
} // names... | {
"pile_set_name": "Github"
} |
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Category" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_count</string> </key>
<value>
<persistent> <string encoding="base... | {
"pile_set_name": "Github"
} |
/*
* Copyright 2002-2016 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the OpenSSL license (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
* in the file LICENSE in the source distribution or at
* https://www.openssl.org/source/lice... | {
"pile_set_name": "Github"
} |
{
"navigationBarTitleText": "英雄详情"
}
| {
"pile_set_name": "Github"
} |
@extends('layouts.app')
@section('content')
<div class="container">
<div class="row">
<div class="col-md-8 col-md-offset-2">
<div class="panel panel-default">
<div class="panel-heading">重置密码</div>
<div class="panel-body">
@if (session('status... | {
"pile_set_name": "Github"
} |
#include "../../src/sql/drivers/oci/qsql_oci.h"
| {
"pile_set_name": "Github"
} |
// Copyright (c) 2014 Stanislas Polu. All rights reserved.
// See the LICENSE file.
#ifndef THRUST_SHELL_BROWSER_THRUST_MENU_H_
#define THRUST_SHELL_BROWSER_THRUST_MENU_H_
#include <string>
#include <map>
#include "base/memory/scoped_ptr.h"
#include "ui/base/models/simple_menu_model.h"
namespace thrust_shell {
cla... | {
"pile_set_name": "Github"
} |
package com.planet_ink.coffee_mud.Areas;
import com.planet_ink.coffee_mud.core.interfaces.*;
import com.planet_ink.coffee_mud.core.*;
import com.planet_ink.coffee_mud.core.collections.*;
import com.planet_ink.coffee_mud.Abilities.interfaces.*;
import com.planet_ink.coffee_mud.Areas.interfaces.*;
import com.planet... | {
"pile_set_name": "Github"
} |
const apply = require('../call')
describe('function/call', () => {
const increase = num => num + 1
test('sync', () => {
const expected = 888
const actual = apply(increase)(887)
expect(actual).toBe(expected)
})
test('async', () => {
const expected = 888
const actual = apply(increase)(Promi... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="CompilerConfiguration">
<resourceExtensions />
<wildcardResourcePatterns>
<entry name="!?*.java" />
<entry name="!?*.form" />
<entry name="!?*.class" />
<entry name="!?*.groovy" />
<entry name="!?*.scal... | {
"pile_set_name": "Github"
} |
using System.Collections.Generic;
using System.Text.Json.Serialization;
namespace Essensoft.AspNetCore.Payment.Alipay.Domain
{
/// <summary>
/// KoubeiMallScanpurchaseDiscountdetailModifyModel Data Structure.
/// </summary>
public class KoubeiMallScanpurchaseDiscountdetailModifyModel : AlipayObject
... | {
"pile_set_name": "Github"
} |
Basis
=====
Haxe Native Development (haxe 3 only)
The goal of Basis is to provide access to native APIs and allow easy building of projects. For example, in ios you would need an xcode project and in android you would need an android project. Basis will create all needed files then compile and run if wanted.
For an A... | {
"pile_set_name": "Github"
} |
G04 (created by PCBNEW (2013-07-07 BZR 4022)-stable) date 17/06/2015 19:17:38*
%MOIN*%
G04 Gerber Fmt 3.4, Leading zero omitted, Abs format*
%FSLAX34Y34*%
G01*
G70*
G90*
G04 APERTURE LIST*
%ADD10C,0.00590551*%
G04 APERTURE END LIST*
G54D10*
M02*
| {
"pile_set_name": "Github"
} |
"""
Some useful decorators
"""
import sys
import types
import time
from functools import wraps
from zope.interface import implementedBy, classImplements
from decorator import FunctionMaker
from inspect import getmembers, ismethod, isfunction, isclass, getargspec, formatargspec, getmro
# this decorator is based on a ... | {
"pile_set_name": "Github"
} |
#
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
#
# Copyright (c) 1997-2017 Oracle and/or its affiliates. All rights reserved.
#
# The contents of this file are subject to the terms of either the GNU
# General Public License Version 2 only ("GPL") or the Common Development
# and Distribution License("CDDL"... | {
"pile_set_name": "Github"
} |
'use strict';
module.exports = balanced;
function balanced(a, b, str) {
if (a instanceof RegExp) a = maybeMatch(a, str);
if (b instanceof RegExp) b = maybeMatch(b, str);
var r = range(a, b, str);
return r && {
start: r[0],
end: r[1],
pre: str.slice(0, r[0]),
body: str.slice(r[0] + a.length, r[... | {
"pile_set_name": "Github"
} |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/liger.R
\name{calcAgreement}
\alias{calcAgreement}
\title{Calculate agreement metric}
\usage{
calcAgreement(
object,
dr.method = "NMF",
ndims = 40,
k = 15,
use.aligned = TRUE,
rand.seed = 42,
by.dataset = FALSE
)
}
\arguments{
\... | {
"pile_set_name": "Github"
} |
/*
* Copyright (C) 2015 The Android Open Source Project
*
* 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 app... | {
"pile_set_name": "Github"
} |
---
title: I.Assert.Text
link: Text
---
Assert that an element matching selector has the specified text. Works with any DOM element that has `innerHTML` or can provides its contents/value via text.
Supports anonymous functions that return `true` or `false`.
```csharp
// Header tag set to FluentAutomation
I.Assert.Tex... | {
"pile_set_name": "Github"
} |
fileFormatVersion: 2
guid: 2ab7c7a7ef9e44f4d8c56e49c8bfed8f
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
| {
"pile_set_name": "Github"
} |
=head1 B<floorplan>
=head2 SYNOPSIS
NONE
=head2 DESCRIPTION
Provides a function to render an HTML table from the objects in the group passed as a parameter.
Bugs:
- Recursion is in use. Be carefull of problems with referencing the parent
group from a child element. Someone could add a max_level in there ... | {
"pile_set_name": "Github"
} |
topic "S_type structures";
[2 $$0,0#00000000000000000000000000000000:Default]
[i448;a25;kKO9;2 $$1,0#37138531426314131252341829483380:class]
[l288;2 $$2,2#27521748481378242620020725143825:desc]
[0 $$3,0#96390100711032703541132217272105:end]
[H6;0 $$4,0#05600065144404261032431302351956:begin]
[i448;a25;kKO9;2 $$5,... | {
"pile_set_name": "Github"
} |
from random import randint
import cv2
import sys
import os
import traceback
CASCADE="Face_cascade.xml"
FACE_CASCADE=cv2.CascadeClassifier(CASCADE)
def detect_faces(image_path,display=True):
image=cv2.imread(image_path)
image_grey=cv2.cvtColor(image,cv2.COLOR_BGR2GRAY)
faces = FACE_CASCADE.detectMultiScale(... | {
"pile_set_name": "Github"
} |
package drds
//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
//distribu... | {
"pile_set_name": "Github"
} |
library("matrixStats")
fcns <- list(
varDiff = c(rowVarDiffs, colVarDiffs),
sdDiff = c(rowSdDiffs, colSdDiffs)
)
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Subsetted tests
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
source("utils/validateIndicesFramework.R")
trim... | {
"pile_set_name": "Github"
} |
return Byte(this.val$^0xff);
| {
"pile_set_name": "Github"
} |
package me.loda.spring.springsecurityhibernate;
/*******************************************************
* For Vietnamese readers:
* Các bạn thân mến, mình rất vui nếu project này giúp
* ích được cho các bạn trong việc học tập và công việc. Nếu
* bạn sử dụng lại toàn bộ hoặc một phần source code xin để
* lại... | {
"pile_set_name": "Github"
} |
//
// YiXinConnector.h
// ShareSDKConnector
//
// Created by 冯鸿杰 on 16/9/29.
// Copyright © 2016年 mob. All rights reserved.
//
#import <Foundation/Foundation.h>
/**
* 易信连接器
*/
@interface YiXinConnector : NSObject
/**
* 链接易信以供ShareSDK可以正常使用易信的相关功能(包括授权、分享)
*
* @param yxApiClass 易信SDK中的类型,应先导入YXApi.h,再将[YX... | {
"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 ... | {
"pile_set_name": "Github"
} |
perf-y += header.o
perf-y += machine.o
perf-y += perf_regs.o
perf-$(CONFIG_DWARF) += dwarf-regs.o
perf-$(CONFIG_LOCAL_LIBUNWIND) += unwind-libunwind.o
perf-$(CONFIG_LIBDW_DWARF_UNWIND) += unwind-libdw.o
perf-$(CONFIG_AUXTRACE) += ../../arm/util/pmu.o \
../../arm/util/auxtrace.o \
../../arm/util/c... | {
"pile_set_name": "Github"
} |
set(BENCHMARK_HEADERS
)
set(BENCHMARK_SOURCES
)
ADD_FISHSTORE_BENCHMARK(checkpoint_recovery)
| {
"pile_set_name": "Github"
} |
obj-y += drm/ vga/
obj-$(CONFIG_TEGRA_HOST1X) += host1x/
| {
"pile_set_name": "Github"
} |
//
// Scaffolding
// --------------------------------------------------
// Reset the box-sizing
//
// Heads up! This reset may cause conflicts with some third-party widgets.
// For recommendations on resolving such conflicts, see
// http://getbootstrap.com/getting-started/#third-box-sizing
* {
.box-sizing(border-bo... | {
"pile_set_name": "Github"
} |
package config
import (
"fmt"
"io"
)
// configurable is an interface that must be implemented by any configuration
// formats of Terraform in order to return a *Config.
type configurable interface {
Config() (*Config, error)
}
// importTree is the result of the first-pass load of the configuration
// files. It is... | {
"pile_set_name": "Github"
} |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML lang="ja">
<HEAD>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="dsk_sakura.css" type="text/css">
<link rel="shortcut icon" href="images/favicon.ico">
<TITLE>カーソル上移動(2行ごと)</TITLE>
<META NAME="MS-HKWD... | {
"pile_set_name": "Github"
} |
// Copyright (C) 2012-2013 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"
} |
/**
* @file mem_barriers.h
* @brief Header file for memory barriers
*
* @author Michele Di Giorgio
* @date 23.11.2015
*/
#ifndef HAL_MEM_BARRIERS_H_
#define HAL_MEM_BARRIERS_H_
#include <module/embox/arch/mem_barriers.h>
#ifndef __ASSEMBLER__
extern void data_mem_barrier(void);
#endif /* __ASSEMBLER__ */
... | {
"pile_set_name": "Github"
} |
{
"modal": {
"name": "modal",
"methods": ["show", "hide", "toggle"],
"dafault-animation": "left",
"background": ["#COLOR", "greyscale", "grey-1"],
"color": ["#CORE", "text-color"],
"width": "650px",
"border-radius": 0,
"transition": ["#CORE", "transiti... | {
"pile_set_name": "Github"
} |
"""
Fixtures to make testing cognitive complexity easy.
Policy for testing cognitive complexity:
1. Use a single function def in code samples
2. Write ``# +x`` comments on each line where addition happens
Adapted from https://github.com/Melevir/cognitive_complexity
"""
import ast
import pytest
from wemake_python_... | {
"pile_set_name": "Github"
} |
/* SPDX-License-Identifier: GPL-2.0+ */
/*
* (C) Copyright 2007-2008
* Stelian Pop <stelian@popies.net>
* Lead Tech Design <www.leadtechdesign.com>
*
* Configuation settings for the AT91SAM9260EK & AT91SAM9G20EK boards.
*/
#ifndef __CONFIG_H
#define __CONFIG_H
/*
* SoC must be defined first, before hardware.h ... | {
"pile_set_name": "Github"
} |
<?php
namespace Drupal\node\Form;
use Drupal\Core\Entity\ContentEntityDeleteForm;
/**
* Provides a form for deleting a node.
*
* @internal
*/
class NodeDeleteForm extends ContentEntityDeleteForm {
/**
* {@inheritdoc}
*/
protected function getDeletionMessage() {
/** @var \Drupal\node\NodeInterface ... | {
"pile_set_name": "Github"
} |
X-Account-Key: account5
X-UIDL: GmailId127f81e69244d767
X-Mozilla-Status: 0000
X-Mozilla-Status2: 00000000
X-Mozilla-Keys:
Delivered-To: mlsubscriber.tech@csmining.org
Received: by 10.142.69.10 with SMTP id r10cs29204wfa;
Tue, 13 A... | {
"pile_set_name": "Github"
} |
Annotation:
type: object
required:
- id
- created
- updated
- user
- uri
- text
- tags
- group
- permissions
- target
- document
- links
- hidden
- flagged
properties:
id:
type: string
created:
type: string
format: date-time
upd... | {
"pile_set_name": "Github"
} |
using System.Text;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Routing;
using Microsoft.Extensions.Logging;
using Plato.Entities.Extensions;
using Plato.Entities.Stores;
using PlatoCore.Messaging.Abstractions;
using Plato.Ideas.Models;
using Plato.Slack.Services;
using PlatoCore.Hosting.Web.Abstractions;
... | {
"pile_set_name": "Github"
} |
/*
* Copyright 2009 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 applica... | {
"pile_set_name": "Github"
} |
#!/bin/bash
set -e
#DEBHELPER#
case "$1" in
purge)
# purge configuration
/usr/share/zentyal/purge-module openvpn
;;
remove)
# openvpn changes network interfaces so we must restart network module
# to propagate the changes
zs network restart || true
dpkg-tr... | {
"pile_set_name": "Github"
} |
// srw_lock.hpp --------------------------------------------------------------//
// Copyright 2010 Vicente J. Botet Escriba
// Copyright 2015 Andrey Semashev
// Distributed under the Boost Software License, Version 1.0.
// See http://www.boost.org/LICENSE_1_0.txt
#ifndef BOOST_DETAIL_WINAPI_SRW_LOCK_... | {
"pile_set_name": "Github"
} |
<head>
<style> body { margin: 0; } </style>
<script src="//unpkg.com/force-graph"></script>
<!--<script src="../../dist/force-graph.js"></script>-->
</head>
<body>
<div id="graph"></div>
<script>
// Random tree
const N = 80;
const gData = {
nodes: [...Array(N).keys()].map(i => ({ id: i })... | {
"pile_set_name": "Github"
} |
<?php
/**
* Tests for the WC_Customer_Data_Store_Custom_Table class.
*
* @package WooCommerce_Custom_Orders_Table
* @author Liquid Web
*/
class CustomerDataStoreTest extends TestCase {
/**
* @testWith ["some-value", "wc-some-value"]
* ["wc-some-value", "wc-some-value"]
*/
public function test_... | {
"pile_set_name": "Github"
} |
/*
** Taiga
** Copyright (C) 2010-2020, Eren Okka
**
** This program is free software: you can redistribute it and/or modify
** it under the terms of the GNU General Public License as published by
** the Free Software Foundation, either version 3 of the License, or
** (at your option) any later version.
**
** This prog... | {
"pile_set_name": "Github"
} |
<div class="settings__general-prv settings__general-prv-{{name}}">
{{#if desc}}<div class="settings__general-prv-desc">{{res desc}}</div>{{/if}}
<div class="settings__general-prv-fields">
{{#each fields as |field ix|}}
{{#ifeq type 'select'}}
<div>
<label ... | {
"pile_set_name": "Github"
} |
/*
* Copyright (c) 2008, 2011, 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 ... | {
"pile_set_name": "Github"
} |
op {
graph_op_name: "CollectiveReduceV2"
summary: "Mutually reduces multiple tensors of identical type and shape."
visibility: HIDDEN
}
| {
"pile_set_name": "Github"
} |
import assert from "assert";
import fs from "fs";
import path from "path";
import { fromString, concat, countSpaces, Lines } from "../lib/lines";
import { EOL as eol } from "os";
function check(a: any, b: any) {
assert.strictEqual(
a.toString({
lineTerminator: eol,
}),
b.toString({
lineTermin... | {
"pile_set_name": "Github"
} |
var searchData=
[
['getdebuglog',['getDebugLog',['../classts3admin.html#a1f5f0bfffa7e348c26c7087a9af2f0d6',1,'ts3admin']]],
['getelement',['getElement',['../classts3admin.html#ac9de91d0184cda14b8cf535a71e4bc56',1,'ts3admin']]],
['geticonbyid',['getIconByID',['../classts3admin.html#a4256bad98633722439c4d791ba90d4d... | {
"pile_set_name": "Github"
} |
//
// Copyright 2005-2007 Adobe Systems Incorporated
//
// 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
//
#ifndef BOOST_GIL_EXTENSION_DYNAMIC_IMAGE_ANY_IMAGE_VIEW_HPP
#define BOOST_GIL_EXTENSION_DYNAMIC_IMAGE_ANY_I... | {
"pile_set_name": "Github"
} |
define(
//begin v1.x content
{
"days-standAlone-short": [
"niedz.",
"pon.",
"wt.",
"śr.",
"czw.",
"pt.",
"sob."
],
"quarters-standAlone-narrow": [
"K1",
"K2",
"K3",
"K4"
],
"field-weekday": "Dzień tygodnia",
"dateFormatItem-GyMMMEd": "E, d MMM y G",
"dateFormatItem-MMMEd": "E, d MMM",
"day... | {
"pile_set_name": "Github"
} |
package mediathek.tool;
import java.math.BigDecimal;
import java.math.BigInteger;
import java.math.RoundingMode;
import static org.apache.commons.io.FileUtils.*;
/**
* This code is inspired by
* custom Implementation of FileUtils.byteCountToDisplaySize to fix rounding bug
* taken from https://issues.apache.org/ji... | {
"pile_set_name": "Github"
} |
/* -*- mode: c; c-basic-offset: 8; -*-
* vim: noexpandtab sw=8 ts=8 sts=0:
*
* uptodate.c
*
* Tracking the up-to-date-ness of a local buffer_head with respect to
* the cluster.
*
* Copyright (C) 2002, 2004, 2005 Oracle. All rights reserved.
*
* This program is free software; you can redistribute it and/or
*... | {
"pile_set_name": "Github"
} |
/*
Bullet Continuous Collision Detection and Physics Library
Copyright (c) 2003-2006 Erwin Coumans http://continuousphysics.com/Bullet/
This software is provided 'as-is', without any express or implied warranty.
In no event will the authors be held liable for any damages arising from the use of this software.
Permiss... | {
"pile_set_name": "Github"
} |
/*************************************************************************************
Extended WPF Toolkit
Copyright (C) 2007-2013 Xceed Software Inc.
This program is provided to you under the terms of the Microsoft Public
License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
For ... | {
"pile_set_name": "Github"
} |
package com.box.l10n.mojito.security;
import org.springframework.boot.autoconfigure.condition.ConditionalOnExpression;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.security.authentication.AuthenticationManager;
import org.sp... | {
"pile_set_name": "Github"
} |
#!/usr/bin/evn python
#-*-:coding:utf-8 -*-
#Author:404
#Name:铭万信息技术企事业通用建站系统SQL注入(系统不同)
#Refer:http://www.wooyun.org/bugs/wooyun-2010-074974
def assign(service,arg):
if service=="mainone_b2b":
return True,arg
def audit(arg):
url=arg+"MessageBoard/Default.aspx?hidIsreply=DefaultModule1%24rbIsRep... | {
"pile_set_name": "Github"
} |
<?php declare(strict_types=1);
/**
* This file is part of the Propel package.
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* @license MIT License
*/
namespace Propel\Generator\Behavior\ConcreteInheritance;
use Propel\Generator\Bu... | {
"pile_set_name": "Github"
} |
Set-Cookie: foo=bar; Expires=Fri, 01 Jan 2038 00:00:00 GMT
| {
"pile_set_name": "Github"
} |
//! moment.js locale configuration
//! locale : Bengali [bn]
//! author : Kaushik Gandhi : https://github.com/kaushikgandhi
import moment from '../moment';
var symbolMap = {
'1': '১',
'2': '২',
'3': '৩',
'4': '৪',
'5': '৫',
'6': '৬',
'7': '৭',
'8': '৮',
'9': '৯',
'0': '০'
},
nu... | {
"pile_set_name": "Github"
} |
// Copyright 2014 Google Inc. All rights reserved.
// Use of this source code is governed by the Apache 2.0
// license that can be found in the LICENSE file.
// +build !appengine
package user
import (
"golang.org/x/net/context"
"google.golang.org/appengine/internal"
)
// Current returns the currently logged-in u... | {
"pile_set_name": "Github"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.