text stringlengths 2 99.9k | meta dict |
|---|---|
package model.utils
{
import flash.external.ExternalInterface;
import flash.utils.getQualifiedClassName;
import flash.utils.ByteArray;
import flash.net.SharedObject;
import model.utils.logs.*;
/**
* クライアントのログクラス
*
*/
public class ClientLog
{
public static ... | {
"pile_set_name": "Github"
} |
/****************************************************************************
**
** Copyright (C) 2016 The Qt Company Ltd.
** Contact: https://www.qt.io/licensing/
**
** This file is part of the QtGui module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** Commercial License Usage
** Licensees holding valid commerci... | {
"pile_set_name": "Github"
} |
package network
// Copyright (c) Microsoft and contributors. 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
//
// Unl... | {
"pile_set_name": "Github"
} |
let length: list('a) => int;
| {
"pile_set_name": "Github"
} |
'use strict';
let Service;
let Characteristic;
let communicationError;
/* eslint-disable */
const LightUtil = {
hsvToRgb(h, s, v) {
let r;
let g;
let b;
let i;
let f;
let p;
let q;
let t;
if (arguments.length === 1) {
s = h.s, v =... | {
"pile_set_name": "Github"
} |
---
title: Building images using Podman and cron
layout: default
author: tsweeney
categories: [new]
tags: containers, podman, networking, pod, api, rest, rest-api, v2, hpc
---
{% assign author = site.authors[page.author] %}
{{ author.display_name }} has another blog post on the [Red Hat Enable Sysadmin](https://www.... | {
"pile_set_name": "Github"
} |
<?php
require __DIR__ . '/../vendor/autoload.php';
require __DIR__ . '/../vendor/guzzlehttp/ringphp/tests/Client/Server.php';
use GuzzleHttp\Tests\Server;
Server::start();
register_shutdown_function(function () {
Server::stop();
});
| {
"pile_set_name": "Github"
} |
interactions:
- request:
body: null
headers:
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
CommandName:
- network list-usages
Connection:
- keep-alive
ParameterSetName:
- --location
User-Agent:
- python/3.7.4 (Linux-4.15.0-112... | {
"pile_set_name": "Github"
} |
{
"nome": "Botticino",
"codice": "017023",
"zona": {
"codice": "1",
"nome": "Nord-ovest"
},
"regione": {
"codice": "03",
"nome": "Lombardia"
},
"provincia": {
"codice": "017",
"nome": "Brescia"
},
"sigla": "BS",
"codiceCatastale": "B091",
"cap": [
"25082"
],
"popolazione": 10788
}
| {
"pile_set_name": "Github"
} |
// Generated by LiveScript 1.4.0
(function(){
var reject, special, tokenRegex;
reject = require('prelude-ls').reject;
function consumeOp(tokens, op){
if (tokens[0] === op) {
return tokens.shift();
} else {
throw new Error("Expected '" + op + "', but got '" + tokens[0] + "' instead in " + JSON.... | {
"pile_set_name": "Github"
} |
-- Andreas, 2013-02-27
module Issue653 where
postulate
P : {A : Set} → (A → Set) → Set
mutual
{-# NON_TERMINATING #-}
A : Set
A = P B -- note A = P {A} B is non-terminating
data B : A → Set where
c : (a : A) → B a
-- This caused a stack overflow due to infinite reduction
-- in the positivity checker.
... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0820"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
... | {
"pile_set_name": "Github"
} |
// Copyright Joyent, Inc. and other Node contributors.
//
// Permission is hereby granted, free of charge, to any person obtaining a
// copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modi... | {
"pile_set_name": "Github"
} |
/* This file is part of VoltDB.
* Copyright (C) 2008-2020 VoltDB Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any la... | {
"pile_set_name": "Github"
} |
<?php
/**
* BaconQrCode
*
* @link http://github.com/Bacon/BaconQrCode For the canonical source repository
* @copyright 2013 Ben 'DASPRiD' Scholzen
* @license http://opensource.org/licenses/BSD-2-Clause Simplified BSD License
*/
namespace BaconQrCode\Encoder;
use BaconQrCode\Common\BitUtils;
/**
* Mask ... | {
"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>_Add_portal_content_Permission</string> </key>
<value>
<tuple>
... | {
"pile_set_name": "Github"
} |
// SPDX-License-Identifier: GPL-2.0-only
/*
* Copyright (c) 2014 The Linux Foundation. All rights reserved.
* Copyright (C) 2013 Red Hat
* Author: Rob Clark <robdclark@gmail.com>
*/
#include <linux/clk.h>
#include <linux/component.h>
#include <linux/platform_device.h>
#include <linux/pm_runtime.h>
#include <drm/d... | {
"pile_set_name": "Github"
} |
<?php
/**
* @package Anahita_Filter
* @copyright Copyright (C) 2007 - 2012 Johan Janssens. All rights reserved.
* @copyright Copyright (C) 2018 Rastin Mehr. All rights reserved.
* @license GNU GPLv3 <http://www.gnu.org/licenses/gpl.html>
* @link http://www.nooku.org
* @link https://www.G... | {
"pile_set_name": "Github"
} |
{
"JSON Test Pattern pass3": {
"The outermost value": "must be an object or array.",
"In this test": "It is an object."
}
}
| {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="utf-8"?>
<ripple xmlns:android="http://schemas.android.com/apk/res/android"
android:color="@color/ripple_color">
<item android:id="@android:id/mask">
<color android:color="@android:color/white" />
</item>
</ripple> | {
"pile_set_name": "Github"
} |
/*!
Pure v0.5.0
Copyright 2014 Yahoo! Inc. All rights reserved.
Licensed under the BSD License.
https://github.com/yui/pure/blob/master/LICENSE.md
*/
/*csslint regex-selectors:false, known-properties:false, duplicate-properties:false*/
.pure-g {
letter-spacing: -0.31em; /* Webkit: collapse white-space between unit... | {
"pile_set_name": "Github"
} |
/*
* Copyright (c) 2004, 2012, 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"
} |
/*
Copyright (C) 2004, 2005, 2006, 2007 Nikolas Zimmermann <zimmermann@kde.org>
2004, 2005 Rob Buis <buis@kde.org>
2005 Eric Seidel <eric@webkit.org>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public... | {
"pile_set_name": "Github"
} |
# Copyright 2011 Free Software Foundation, Inc.
#
# This file was generated by gr_modtool, a tool from the GNU Radio framework
# This file is a part of gr-inspector
#
# GNU Radio 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 Sof... | {
"pile_set_name": "Github"
} |
context("multcomp")
skip_on_cran()
skip_if_not_installed("modeltests")
library(modeltests)
skip_if_not_installed("multcomp")
library(multcomp)
amod <- aov(breaks ~ wool + tension, data = warpbreaks)
wht <- glht(amod, linfct = mcp(tension = "Tukey"))
test_that("multcomp tidier arguments", {
check_arguments(tidy.g... | {
"pile_set_name": "Github"
} |
"use strict";
function _defaults(obj, defaults) { var keys = Object.getOwnPropertyNames(defaults); for (var i = 0; i < keys.length; i++) { var key = keys[i]; var value = Object.getOwnPropertyDescriptor(defaults, key); if (value && value.configurable && obj[key] === undefined) { Object.defineProperty(obj, key, value); ... | {
"pile_set_name": "Github"
} |
# Developing TSDuck extensions {#extensions}
[TOC]
Applications or TSP plugins can be developed on their own.
But it is also possible to develop fully integrated _extensions_ to TSDuck.
An extension not only adds new plugins and commands, it can also augment the
features of standard TSDuck commands and plugins. An ... | {
"pile_set_name": "Github"
} |
// Copyright (c) 2015, Cisco Systems
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions
// are met:
//
// 1. Redistributions of source code must retain the above copyright notice,
// this list of condi... | {
"pile_set_name": "Github"
} |
# Dockerfile
FROM ubuntu:trusty
# Local caches - only set those you actually have such caches
#ENV apt_proxy http://10.42.44.100:3142/
#ENV http_proxy http://10.42.44.100:3128/
#ENV https_proxy http://10.42.44.100:3128/
# Arch to output
ENV ARCH 64
ENV PKG_ARCH amd64
ENV PKG_VERSION 1.6.5
ENV PKG_REL 1
ENV PKG_NAME p... | {
"pile_set_name": "Github"
} |
$LOAD_PATH.unshift File.expand_path('../../lib', __FILE__)
require 'rubygems'
require 'cool.io'
ADDR = '127.0.0.1'
PORT = 4321
class ClientConnection < Cool.io::TCPSocket
def on_connect
puts "#{remote_addr}:#{remote_port} connected"
write "bounce this back to me"
end
def on_close
puts "#{remote_ad... | {
"pile_set_name": "Github"
} |
# Files in the config/locales directory are used for internationalization
# and are automatically loaded by Rails. If you want to use locales other
# than English, add the necessary files in this directory.
#
# To use the locales, use `I18n.t`:
#
# I18n.t 'hello'
#
# In views, this is aliased to just `t`:
#
# <... | {
"pile_set_name": "Github"
} |
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2019-2020 OpenFOAM Foundation
\\... | {
"pile_set_name": "Github"
} |
/*
From
Yi Wu, Lei Li, Stuart Russell, Rastislav Bodik
"Swift: Compiled Inference for Probabilistic Programming Languages"
Page 2
*/
type Ball;
type Draw;
type Color;
distinct Color Blue, Green;
distinct Draw D[5]; //5 draws: D[0],D[1],D[2],D[3], and D[4] (the unobserved)
// #Ball ~ UniformInt(1,20);
#... | {
"pile_set_name": "Github"
} |
#import "GPUImageFilter.h"
@interface GPUImageJFAVoronoiFilter : GPUImageFilter
{
GLuint secondFilterOutputTexture;
GLuint secondFilterFramebuffer;
GLint sampleStepUniform;
GLint sizeUniform;
NSUInteger numPasses;
}
@property (nonatomic, readwrite) CGSize sizeInPixels;
@end | {
"pile_set_name": "Github"
} |
#ifndef __MJExtensionConst__H__
#define __MJExtensionConst__H__
#import <Foundation/Foundation.h>
// 过期
#define MJExtensionDeprecated(instead) NS_DEPRECATED(2_0, 2_0, 2_0, 2_0, instead)
// 构建错误
#define MJExtensionBuildError(clazz, msg) \
NSError *error = [NSError errorWithDomain:msg code:250 userInfo:nil]; \
[clazz... | {
"pile_set_name": "Github"
} |
// bslstp_slist.h -*-C++-*-
#ifndef INCLUDED_BSLSTP_SLIST
#define INCLUDED_BSLSTP_SLIST
//@PURPOSE: Provide a singly linked list container.
//
//@INTERNAL_DEPRECATED: Do not use directly.
//
//@CLASSES:
// slist: singly linked list
//
//@SEE_ALSO: bsl_slist
//
//@DE... | {
"pile_set_name": "Github"
} |
diffuse 0.8 0.8 0.8 1.0
ambient 0.2 0.2 0.2 1.0
specular 0.0 0.0 0.0 1.0
emissive 0.0 0.0 0.0 1.0
shininess 0.0
flags lit shadowed
angle 45.0
| {
"pile_set_name": "Github"
} |
---
http_interactions:
- request:
method: post
uri: https://devel.balmora.example.com/pulp/api/v2/repositories/
body:
encoding: UTF-8
base64_string: |
eyJpZCI6IkZlZG9yYV8xNyIsImRpc3BsYXlfbmFtZSI6IkZlZG9yYSAxNyB4
ODZfNjQiLCJpbXBvcnRlcl90eXBlX2lkIjoieXVtX2ltcG9ydGVyIiwiaW1w
... | {
"pile_set_name": "Github"
} |
/*
*
* Copyright (c) 2006-2020, Speedment, Inc. 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 requi... | {
"pile_set_name": "Github"
} |
import unittest
from conans.model.ref import ConanFileReference
from conans.test.utils.tools import TestClient, TestServer, TurboTestClient, GenConanfile
from conans.util.env_reader import get_env
class DownloadRevisionsTest(unittest.TestCase):
@unittest.skipIf(get_env("TESTING_REVISIONS_ENABLED", False), "No s... | {
"pile_set_name": "Github"
} |
let openComment = false
const commentRegex = /(\/\*(?:[^](?!\/\*))*\*)$/
const keyRegex = /([a-zA-Z- ^\n]*)$/
const valueRegex = /([^:]*)$/
const selectorRegex = /(.*)$/
const pxRegex = /\dp/
const pxRegex2 = /p$/
export function handleChar(fullText, char) {
if (openComment && char !== '/') {
fullText += char
... | {
"pile_set_name": "Github"
} |
{
"build": {
"cpu": "cortex-m4",
"extra_flags": "-DSTM32F446xx",
"f_cpu": "180000000L",
"mcu": "stm32f446ret6",
"variant": "FYSETC_S6"
},
"connectivity": [
"can"
],
"debug": {
"jlink_device": "STM32F446RE",
"openocd_target": "stm32f4x",
"svd_path": "STM32F446x.svd"
},
"... | {
"pile_set_name": "Github"
} |
// Test frontend handling of __sync builtins.
// Modified from a gcc testcase.
// RUN: %clang_cc1 -triple x86_64-apple-darwin -emit-llvm %s -o - | FileCheck %s
signed char sc;
unsigned char uc;
signed short ss;
unsigned short us;
signed int si;
unsigned int ui;
signed long long sll;
unsigned long long ull;
void test_... | {
"pile_set_name": "Github"
} |
//
// mbstring.h
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// Functions and macros for MBCS string manipulation
//
#pragma once
#ifndef _INC_MBSTRING // include guard for 3rd party interop
#define _INC_MBSTRING
#include <corecrt.h>
_CRT_BEGIN_C_HEADER
#ifndef _FILE_DEFINED
#define... | {
"pile_set_name": "Github"
} |
@using Sketch2Code.Core.BoxGeometry;
@model Sketch2Code.Core.BoxGeometry.GroupBox
@{
ViewBag.Title = "RawGroupBox";
Layout = "~/Views/Shared/_FlatLayout.cshtml";
}
<div class="container">
@ShowTree(Model.Groups.ToList())
</div>
@helper ShowTree(IEnumerable<Sketch2Code.Core.BoxGeometry.GroupBox> gro... | {
"pile_set_name": "Github"
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Audit.Core;
using Audit.Redis.Providers;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using NUnit.Framework;
using StackExchange.Redis;
namespace Audit.IntegrationTest
{
public class RedisTests
{
... | {
"pile_set_name": "Github"
} |
/*
* Copyright (c) 2006 - 2008
* Wandering Monster Studios Limited
*
* Any use of this program is governed by the terms of Wandering Monster
* Studios Limited's Licence Agreement included with this program, a copy
* of which can be obtained by contacting Wandering Monster Studios
* Limited at info@wanderi... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="UTF-8"?>
<Workspace
version = "1.0">
<FileRef
location = "self:Theseus.xcodeproj">
</FileRef>
</Workspace>
| {
"pile_set_name": "Github"
} |
:101E000001C0B0C011248FE592E09EBF8DBF84B7A2
:101E1000882361F0982F9A70923041F081FF02C0C0
:101E200097EF94BF282E80E0B8D0EAC085E08EBD41
:101E300082E08BB988E18AB986E880BD8FEB89B9E9
:101E40008EE0ABD0BF9A84E02CE73CEF44E03DBD90
:101E50002CBD48BF08B602FEFDCF98B3905898BB82
:101E6000A8955F9902C0815091F790D0813479F4A0
:101E... | {
"pile_set_name": "Github"
} |
export void f_fu(uniform float RET[], uniform float aFOO[], uniform float b) {
varying unsigned int64 a_max = 0xFFFFFFFFFFFFFFFF, a_min = 0; // max and min unsigned int64
if (programIndex % 2 == 0) {
#pragma ignore warning(perf)
RET[programIndex] = saturating_sub(a_min, b);
}
else {
... | {
"pile_set_name": "Github"
} |
//! moment.js locale configuration
//! locale : Slovenian [sl]
//! author : Robert Sedovšek : https://github.com/sedovsek
import moment from '../moment';
function processRelativeTime(number, withoutSuffix, key, isFuture) {
var result = number + ' ';
switch (key) {
case 's':
return withoutS... | {
"pile_set_name": "Github"
} |
// Copyright 2018 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.
// CPU affinity functions
package unix
import (
"math/bits"
"unsafe"
)
const cpuSetSize = _CPU_SETSIZE / _NCPUBITS
// CPUSet represents a CPU affinity mas... | {
"pile_set_name": "Github"
} |
This example demonstrates the textured rendering of a cylinder using both
textures based on an image file and on image data created directly in app
code. The application allows the user to switch textures on the fly and to
change texture coordinates on the fly. It also allows the user to select
the desired texture a... | {
"pile_set_name": "Github"
} |
<plugin name="MyPlugin" version="2.2.3_9" compatVersion="2.0.0">
</plugin>
| {
"pile_set_name": "Github"
} |
--- a/xdgmimecache.c
+++ b/xdgmimecache.c
@@ -40,6 +40,8 @@
#include <netinet/in.h> /* for ntohl/ntohs */
+#define HAVE_MMAP 1
+
#ifdef HAVE_MMAP
#include <sys/mman.h>
#else
@@ -1000,5 +1002,3 @@
dump_glob_node (cache, offset + 20 * j, 0);
}
}
-
-
| {
"pile_set_name": "Github"
} |
/*=============================================================================
Copyright (c) 2001-2008 Joel de Guzman
Copyright (c) 2001-2008 Hartmut Kaiser
http://spirit.sourceforge.net/
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at http:... | {
"pile_set_name": "Github"
} |
# -*- coding: utf-8 -*-
#prediction using model.
#process--->1.load data(X:list of lint,y:int). 2.create session. 3.feed data. 4.predict
import sys
reload(sys)
sys.setdefaultencoding('utf8')
import tensorflow as tf
import numpy as np
from p5_fastTextB_model import fastTextB as fastText
from p4_zhihu_load_data import lo... | {
"pile_set_name": "Github"
} |
/**
* Copyright 2013-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
/*jshint evil:... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<connectionStrings>
<add name="TimesheetDatabase" connectionString="Server=192.168.3.2;Database=ToolsSampleDatabase;User=Snek;Password=p@ssw0rd" />
</connectionStrings>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" />
... | {
"pile_set_name": "Github"
} |
/*
* Copyright 2010-2019 Amazon.com, Inc. or its affiliates. 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.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "lice... | {
"pile_set_name": "Github"
} |
//
// Copyright (C) 2019 Assured Information Security, Inc.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy,... | {
"pile_set_name": "Github"
} |
package com.jnape.palatable.lambda.semigroup.builtin;
import org.junit.Test;
import static com.jnape.palatable.lambda.semigroup.builtin.MaxWith.maxWith;
import static java.util.Comparator.comparing;
import static java.util.Comparator.naturalOrder;
import static org.junit.Assert.assertEquals;
public class MaxWithTest... | {
"pile_set_name": "Github"
} |
#ifndef FOREGROUND_H
#define FOREGROUND_H
#include "ActorFrame.h"
class Song;
class Foreground: public ActorFrame
{
public:
~Foreground();
void Unload();
void LoadFromSong( const Song *pSong );
virtual void Update( float fDeltaTime );
protected:
void LoadFromAniDir( CString sAniDir );
struct LoadedBGA
{
... | {
"pile_set_name": "Github"
} |
ch4g_BP.chem:
.br
.cstart
# Example file for `chem':
# This originates from Computing Science Technical Report No. 122
# CHEM - A Program for Typesetting Chemical Diagrams: User Manual
# by Jon L. Bentley, Lynn W. Jelinski, Brian W. Kernighan
# <http://cm.bell-labs.com/cm/cs/cstr/122.ps.gz>.
# Copyright (C) 20... | {
"pile_set_name": "Github"
} |
version https://git-lfs.github.com/spec/v1
oid sha256:5a73a23cfc5a2b71be29cff63feecfcbf5c308629873fbe46d1c430d3904a0fe
size 34272
| {
"pile_set_name": "Github"
} |
require('../../modules/es6.math.acosh');
module.exports = require('../../modules/_core').Math.acosh;
| {
"pile_set_name": "Github"
} |
3a7d69453be74f9cd50e631ebb0cc93777a1b917
| {
"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 "net/curvecp/client_packetizer.h"
#include "base/bind.h"
#include "net/base/io_buffer.h"
#include "net/base/net_errors.h"
#include "net/base... | {
"pile_set_name": "Github"
} |
// Out of 32-bit signed integer range, switch to double in all modes. Length
// the same as INT_MIN in base 10 and digit less than INT_MIN's last digit in
// order to catch a bug in the parsing code.
-2200000001
| {
"pile_set_name": "Github"
} |
import Joi from 'joi';
import ModifierSayingSchema from '../models/modifier.saying.model';
class ModifierModel {
static get schema() {
return {
modifierName: Joi.string().trim(),
action: Joi.string().trim(),
valueSource: Joi.string().trim(),
staticValue: Joi... | {
"pile_set_name": "Github"
} |
/*
* Vietnamese translation
* @author babycntt
* @version 2011-02-01
*/
(function($) {
elRTE.prototype.i18Messages.vi = {
'_translator' : 'babycntt',
'_translation' : 'Vietnamese translation',
'Source' : 'Mã nguồn',
// panels names
'Copy/Pase' : 'Sao chép/Dán',
'Undo/Redo' : 'Khôi phục thao tác... | {
"pile_set_name": "Github"
} |
// Catalano Android Imaging Library
// The Catalano Framework
//
// Copyright © Diego Catalano, 2012-2016
// diego.catalano at live.com
//
// 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 S... | {
"pile_set_name": "Github"
} |
!
interface lo
ip address 10.0.255.2/32
!
interface r2-eth0
ip address 10.0.0.2/24
!
interface r2-eth1
ip address 10.0.1.2/24
!
interface r2-eth2
ip address 10.0.3.2/24
!
interface r2-eth3
ip address 10.0.4.2/24
!
ip forwarding
!
| {
"pile_set_name": "Github"
} |
//======================================================================
//
// Ctrl2cap
//
// Copyright (C) 1996-1999 Mark Russinovich
//
// Hook onto the keyboard I/O path and massage the input stream
// converting caps-locks into controls. This example works on
// NT 4 and Win2K and the Win2K version is very ... | {
"pile_set_name": "Github"
} |
/*
* Copyright (C) 2001-2016 Food and Agriculture Organization of the
* United Nations (FAO-UN), United Nations World Food Programme (WFP)
* and United Nations Environment Programme (UNEP)
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public Licen... | {
"pile_set_name": "Github"
} |
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
<title></title>
<link rel="Stylesheet" href="../css/analysis.css" />
<script type="text/javascript">
function init() {
if (window.location.hash) {
var parentDiv, nodes, ... | {
"pile_set_name": "Github"
} |
#
# Copyright (c) 2016, 2019 Oracle and/or its affiliates. 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 r... | {
"pile_set_name": "Github"
} |
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<title>Set and unset dir="auto"</title>
<style>
textarea { resize: none; }
</style>
</head>
<body>
<div><input type="text" value="אבג ABC" dir="ltr"></div>
<div><span dir="ltr">אבג ABC</span></div>
<div><textarea dir="ltr">אבג A... | {
"pile_set_name": "Github"
} |
Return: function named 'arguments'
Return: function named 'eval'
| {
"pile_set_name": "Github"
} |
;; Copyright © 2014 JUXT LTD.
(defproject juxt.modular/mqtt "0.5.0"
:description "A modular extension that provides support for MQTT over Netty"
:url "https://github.com/juxt/modular/tree/master/modules/mqtt"
:license {:name "The MIT License"
:url "http://opensource.org/licenses/MIT"}
:dependencies... | {
"pile_set_name": "Github"
} |
## Contributing
This exercise answer is currently not available. If you already finished this task and you want to share your answer. Please follow these steps:
1. Fork it!
2. Edit
3. Commit.
4. Push.
5. Submit a pull request :D
Thank for participating!
| {
"pile_set_name": "Github"
} |
# 深度学习项目流程
tags: 深度学习
---
## 1. 定义问题
确定是分类问题还是回归问题,还是无监督问题。
## 2. 探索和清洗数据
**探索和进一步清洗数据集一直都是深度学习中最重要的一步。**
## 3. 选择模型并探索模型结果
探索模型的结果,通常是需要对模型在验证集上的性能进行进一步的分析,这是如何进一步提升模型性能很重要的步骤。将模型在训练集和验证集都进行结果的验证和可视化,可直观的分析出模型是否存在较大偏差以及结果的正确性。
## 4. 监控训练和验证误差
首先很多情况下,我们忽略代码的**规范性和算法**撰写正确性验证,这点上容易产生致命的影响... | {
"pile_set_name": "Github"
} |
#include <string>
#include <fstream>
#include <sstream>
#include <iostream>
#include <vector>
#include <glad/glad.h>
#include <glm/glm.hpp>
#include <glm/gtc/matrix_transform.hpp>
#include <glm/gtc/type_ptr.hpp>
#include "stb_image.h"
#include "skybox.h"
Skybox::Skybox()
{
}
Skybox::~Skybox()
{
}
void Skybox:... | {
"pile_set_name": "Github"
} |
/*
Language: Gherkin
Author: Sam Pikesley (@pikesley) <sam.pikesley@theodi.org>
Description: Gherkin (Cucumber etc)
*/
function (hljs) {
return {
keywords: 'Feature Background Ability Business\ Need Scenario Scenarios Scenario\ Outline Scenario\ Template Examples Given And Then But When',
contains: [
... | {
"pile_set_name": "Github"
} |
#include "DPrimitive.hpp"
#include "DMath.hpp"
#include <math.h>
#include <stdlib.h>
#include <stdio.h>
// for debugging purpose only
/*#include <windows.h>
#include <commctrl.h>
#include <wchar.h>
extern HWND g_hStatus;*/
// -----
int CropLineLeft(CDPrimitive cPrim, CDPoint cPt1, CDPoint cPt2,
PDPr... | {
"pile_set_name": "Github"
} |
// Copyright (c) 2010, Google Inc.
// 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 list of conditi... | {
"pile_set_name": "Github"
} |
OBJ_PROPELLER=asm_propeller.o
OBJ_PROPELLER+=../arch/propeller/propeller_disas.o
CFLAGS+=-I./arch/propeller/
STATIC_OBJ+=${OBJ_PROPELLER}
TARGET_PROPELLER=asm_propeller.${EXT_SO}
ifeq ($(WITHPIC),1)
ALL_TARGETS+=${TARGET_PROPELLER}
${TARGET_PROPELLER}: ${OBJ_PROPELLER}
${CC} $(call libname,asm_propeller) ${LDFLAGS}... | {
"pile_set_name": "Github"
} |
&control
calculation='scf',
/
&system
ibrav = 14,
celldm(1) =10.0,
celldm(2) = 1.5,
celldm(3) = 2.0,
celldm(4) = 0.1,
celldm(5) = 0.2,
celldm(6) = 0.3,
nat=2, ntyp=1,
nbnd = 4,
ecutwfc = 25.0
/
&electrons
conv_thr = 1.d-8
diago_david_ndim=4
/
ATOMIC_SPECIES
... | {
"pile_set_name": "Github"
} |
/*
* linux/drivers/video/omap2/dss/dpi.c
*
* Copyright (C) 2009 Nokia Corporation
* Author: Tomi Valkeinen <tomi.valkeinen@nokia.com>
*
* Some code and ideas taken from drivers/video/omap/ driver
* by Imre Deak.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of t... | {
"pile_set_name": "Github"
} |
server:
verbosity: 4
num-threads: 1
outgoing-range: 16
interface: 127.0.0.1
port: @PORT@
use-syslog: no
directory: ""
pidfile: "unbound.pid"
chroot: ""
username: ""
do-not-query-localhost: no
local-zone: "example.net." redirect
local-data: "example.net. IN A 10.20.30.41"
remote-control:
control-enable: ye... | {
"pile_set_name": "Github"
} |
package org.apache.maven.cli.logging.impl;
/*
* 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 L... | {
"pile_set_name": "Github"
} |
#define CONTROLLER_NAME "material_skin_7.pmx"
#include "material_editor.fxsub"
#define ALBEDO_MAP_FROM 3
#define ALBEDO_MAP_UV_FLIP 0
#define ALBEDO_MAP_APPLY_SCALE 1
#define ALBEDO_MAP_APPLY_DIFFUSE 1
#define ALBEDO_MAP_APPLY_MORPH_COLOR 0
#define ALBEDO_MAP_FILE "albedo.png"
static const float3 albedo = m... | {
"pile_set_name": "Github"
} |
# distutils: libraries = gmp ntl zn_poly
# distutils: language = c++
"""
Dense univariate polynomials over `\ZZ/n\ZZ`, implemented using FLINT
This module gives a fast implementation of `(\ZZ/n\ZZ)[x]` whenever `n` is at
most ``sys.maxsize``. We use it by default in preference to NTL when the modulus
is small, falling... | {
"pile_set_name": "Github"
} |
/*
Copyright (c) T. Zachary Laine 2018.
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)
For more information, see http://www.boost.org
*/
#include <iostream>
#include <boost/algorithm/find_not.hpp>
#defi... | {
"pile_set_name": "Github"
} |
(ns precept.schema
(:require [precept.spec.sub :as sub]
[precept.state :as state]))
(defn guid []
#?(:clj (java.util.UUID/randomUUID)
:cljs (random-uuid)))
(defn by-ident [schema]
(reduce (fn [acc [k v]] (assoc acc k (first v)))
{} (group-by :db/ident schema)))
(defn schema-attr? [by-i... | {
"pile_set_name": "Github"
} |
<html lang=""><head>
<title>picker · MINA</title>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<meta name="description" content="">
<meta name="generator" content="GitBook 3.2.0">
<link r... | {
"pile_set_name": "Github"
} |
//
// detail/buffered_stream_storage.hpp
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
//
// Copyright (c) 2003-2016 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)
//
... | {
"pile_set_name": "Github"
} |
Template.hotvideos.helpers({
hotVideos: function () {
return Videos.find({ source: 'chainByHot', "json.hide": {$ne: 1} }).fetch()
}
})
Template.hotvideos.rendered = function () {
$('.ui.infinite')
.visibility({
once: false,
observeChanges: true,
onBottomVisible: function() {
$('.ui.infini... | {
"pile_set_name": "Github"
} |
there are movies that pose a question in its first five minutes and spend the rest of the time trying to answer it .
then there are movies that spend the whole time posing questions and try to answer it all in the last five minutes .
writer-director john herzfeld's two days in the valley falls into the latter categor... | {
"pile_set_name": "Github"
} |
#include <u.h>
#include <unistd.h>
#include <string.h>
#include <libc.h>
void*
mallocz(unsigned long n, int clr)
{
void *v;
v = malloc(n);
if(clr && v)
memset(v, 0, n);
return v;
}
| {
"pile_set_name": "Github"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.