text stringlengths 2 99.9k | meta dict |
|---|---|
# -*- coding: utf-8 -*-
# 淘宝账号
taobao_username = u""
taobao_password = ""
# CSDN账户
csdn_username = ""
csdn_password = ""
# 七牛授权
qiniu_ak = ""
qiniu_sk = ""
qiniu_bucket = "csdn-data"
qiniu_domain = "http://example.com"
# 邮箱账号
mail_username = ""
# 邮箱登录密码(可选,mail_send_type=2有效)
mail_password = ""
# 邮箱独立密码(可选,mail_send... | {
"pile_set_name": "Github"
} |
"""
输出乘法口诀表(九九表)
Version: 0.1
Author: 骆昊
Date: 2018-03-02
"""
for i in range(1, 10):
for j in range(1, i + 1):
print('%d*%d=%d' % (i, j, i * j), end='\t')
print()
| {
"pile_set_name": "Github"
} |
/home/ksw/develop/ijkplayer-android/android/ijkplayer/ijkplayer-armv5/src/main/obj/local/armeabi/objs/ijksoundtouch/source/SoundTouch/RateTransposer.o: \
/home/ksw/develop/ijkplayer-android/android/ijkplayer/ijkplayer-armv5/src/main/jni/ijkmedia/ijksoundtouch/source/SoundTouch/RateTransposer.cpp \
/home/ksw/develop/a... | {
"pile_set_name": "Github"
} |
# executes a predicate on every item of the list (passed by reference)
# and returns those items for which the predicate holds
function(list_where __list_where_lst predicate)
foreach(item ${${__list_where_lst}})
rcall(__matched = "${predicate}"("${item}"))
if(__matched)
list(APPEND result_list ${item})
end... | {
"pile_set_name": "Github"
} |
// Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2018 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <chain.h>
/**
* CChain implementation
*/
void CChain::SetTip(CBlockIn... | {
"pile_set_name": "Github"
} |
require 'socket'
require_relative '../../services/table-geocoder/lib/table_geocoder_factory'
require_relative '../../services/table-geocoder/lib/exceptions'
require_relative '../../services/table-geocoder/lib/mail_geocoder'
require_relative '../../services/geocoder/lib/geocoder_config'
require_relative '../../lib/carto... | {
"pile_set_name": "Github"
} |
//===-- omptargetplugin.h - Target dependent OpenMP Plugin API --*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | {
"pile_set_name": "Github"
} |
<?php
namespace App\Console;
use Illuminate\Console\Scheduling\Schedule;
use Illuminate\Foundation\Console\Kernel as ConsoleKernel;
class Kernel extends ConsoleKernel
{
/**
* The Artisan commands provided by your application.
*
* @var array
*/
protected $commands = [
//
];
... | {
"pile_set_name": "Github"
} |
/*
* Tencent is pleased to support the open source community by making Tinker available.
*
* Copyright (C) 2016 THL A29 Limited, a Tencent company. All rights reserved.
*
* Licensed under the BSD 3-Clause License (the "License"); you may not use this file except in
* compliance with the License. You may obtain a ... | {
"pile_set_name": "Github"
} |
#!/bin/bash
shopt -s expand_aliases
alias foo='oneword'
foo_word='foo'
#
# Fails silently to match 'foo':
#
case "$foo_word"
in
foo) ;;
*) echo bad 1;;
esac
| {
"pile_set_name": "Github"
} |
-----BEGIN CERTIFICATE-----
MIIB/jCCAaSgAwIBAgIFAN6tvu8wCgYIKoZIzj0EAwIwcjELMAkGA1UEBhMCR0Ix
DzANBgNVBAgTBkxvbmRvbjEPMA0GA1UEBxMGTG9uZG9uMQ8wDQYDVQQKEwZHb29n
bGUxDDAKBgNVBAsTA0VuZzEiMCAGA1UEAxMZRmFrZUludGVybWVkaWF0ZUF1dGhv
cml0eTAeFw0xNjEyMDcxNTEzMzZaFw0yNDAxMjAxNTEzMzZaMFYxCzAJBgNVBAYT
AkdCMQ8wDQYDVQQIDAZMb25kb24xDzAN... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleName</key>
<string>Font List</string>
<key>CFBundleIdentifier</key>
<string>com.xamarin.font-list</string>
<key>CFBundleShortVersio... | {
"pile_set_name": "Github"
} |
import React from "react"
import styled from "@emotion/styled"
import { css } from "@emotion/core"
import { graphql } from "gatsby"
import { SubHeader } from "./utils"
const Wrapper = styled(`span`)`
font-family: ${p => p.theme.fonts.heading};
font-weight: 400;
:before,
:after {
color: #969584;
}
:... | {
"pile_set_name": "Github"
} |
{
"type": "statement",
"variant": "list",
"statement": [
{
"type": "statement",
"name": {
"type": "identifier",
"variant": "table",
"name": "bees"
},
"variant": "create",
"format": "table",
"definition": [
{
"type": "statement",
... | {
"pile_set_name": "Github"
} |
/*
*******************************************************************************
** O.S : Linux
** FILE NAME : arcmsr_attr.c
** BY : Erich Chen
** Description: attributes exported to sysfs and device host
*******************************************************************************
** Copyri... | {
"pile_set_name": "Github"
} |
import time
class HtmlOutput(object):
def __init__(self):
self.datas = []
def collect_data(self, data):
if data is None:
return
self.datas.append(data)
def output_html(self):
file_name = time.strftime("%Y-%m-%d_%H-%M-%S")
with open("out_%s.html" % file... | {
"pile_set_name": "Github"
} |
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE RecordWildCards #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE TupleSections #-}
-- | http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-applicationcloudwatchloggingoption-cloudwatchloggingoption.html
module Stratosphere.Resour... | {
"pile_set_name": "Github"
} |
// Copyright 2018 Espressif Systems (Shanghai) PTE LTD
// All rights reserved.
#ifndef _AVS_CONFIG_H_
#define _AVS_CONFIG_H_
#include <conn_mgr_prov.h>
/** Callback event for provisioning AVS configuration
*
* This api can be set as the event_cb in conn_mgr_prov_t while starting provisioning if the application
* ... | {
"pile_set_name": "Github"
} |
{% load datepicker_locale from horizon %}
{% datepicker_locale as DATEPICKER_LOCALE %}
<script src='{{ STATIC_URL }}lib/jquery-1.10.2.js' type='text/javascript' charset='utf-8'></script>
<script src='{{ STATIC_URL }}horizon/js/horizon.js' type='text/javascript' charset='utf-8'></script>
<script type='text/javascrip... | {
"pile_set_name": "Github"
} |
# Exercism as Part of Ada's Ruby Unit
## Introduction
[Exercism.io](https://exercism.io) is a free online community that provides programming exercises that are language-specific and TDD-style to encourage code practice and mentorship.
On Exercism.io, we should expect to find resources for the following:
- Dozens o... | {
"pile_set_name": "Github"
} |
.\" $OpenBSD: DH_get0_pqg.3,v 1.5 2018/12/21 21:54:48 schwarze Exp $
.\" selective merge up to: OpenSSL 83cf7abf May 29 13:07:08 2018 +0100
.\"
.\" This file was written by Matt Caswell <matt@openssl.org>.
.\" Copyright (c) 2016, 2018 The OpenSSL Project. All rights reserved.
.\"
.\" Redistribution and use in source a... | {
"pile_set_name": "Github"
} |
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
import sorl.thumbnail.fields
import newsletter.utils
import django.utils.timezone
from django.conf import settings
class Migration(migrations.Migration):
dependencies = [
('sites', '0001_initial'),
... | {
"pile_set_name": "Github"
} |
var baseInverter = require('./_baseInverter');
/**
* Creates a function like `_.invertBy`.
*
* @private
* @param {Function} setter The function to set accumulator values.
* @param {Function} toIteratee The function to resolve iteratees.
* @returns {Function} Returns the new inverter function.
*/
function create... | {
"pile_set_name": "Github"
} |
// Copyright 2012 Neal van Veen. All rights reserved.
// Usage of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package gotty
// Boolean capabilities
var BoolAttr = [...]string{
"auto_left_margin", "bw",
"auto_right_margin", "am",
"no_esc_ctlc", "xsb",
"ceol_standou... | {
"pile_set_name": "Github"
} |
#!/usr/bin/perl
# ********************************************************************
# * Copyright (C) 2016 and later: Unicode, Inc. and others.
# * License & terms of use: http://www.unicode.org/copyright.html
# ********************************************************************
# *****************************... | {
"pile_set_name": "Github"
} |
# File src/library/base/R/srcfile.R
# Part of the R package, https://www.R-project.org
#
# Copyright (C) 1995-2017 The R Core Team
#
# 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 ... | {
"pile_set_name": "Github"
} |
/*
* Copyright (C) 2015-2018 Alibaba Group Holding Limited
*/
#ifndef _DM_FOTA_H_
#define _DM_FOTA_H_
typedef struct {
int is_report_new_config;
} dm_fota_ctx_t;
int dm_fota_init(void);
int dm_fota_deinit(void);
int dm_fota_perform_sync(_OU_ char *output, _IN_ int output_len);
int dm_fota_status_check(void);... | {
"pile_set_name": "Github"
} |
import { patch } from 'web/runtime/patch'
import VNode, { createEmptyVNode } from 'core/vdom/vnode'
function prop (name) {
return obj => { return obj[name] }
}
function map (fn, list) {
const ret = []
for (let i = 0; i < list.length; i++) {
ret[i] = fn(list[i])
}
return ret
}
function spanNum (n) {
i... | {
"pile_set_name": "Github"
} |
// Copyright JS Foundation and other contributors, http://js.foundation
//
// 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"
} |
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/ecs/model/UpdateClusterSettingsResult.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <aws/core/AmazonWebServiceResult.h>
#include <aws/core/utils/StringUtils.h>
#include <aw... | {
"pile_set_name": "Github"
} |
// Copyright 2015 The etcd Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed t... | {
"pile_set_name": "Github"
} |
/************************************************************************************************
NC_ALLOC.CPP
* Copyright (c) 1997
* Mark of the Unicorn, Inc.
*
* Permission to use, copy, modify, distribute and sell this software
* and its documentation for any purpose is hereby granted without fee,
* provided... | {
"pile_set_name": "Github"
} |
cave9 is a gravity cave-exploration game.
Use only two buttons to activate the thrust jets of your ship in
this first-person 3D version of the classic SF-Cave game.
WWW: https://github.com/bart9h/cave9
| {
"pile_set_name": "Github"
} |
module Psych
###
# Psych::Handler is an abstract base class that defines the events used
# when dealing with Psych::Parser. Clients who want to use Psych::Parser
# should implement a class that inherits from Psych::Handler and define
# events that they can handle.
#
# Psych::Handler defines all events th... | {
"pile_set_name": "Github"
} |
<?php
/**
* Created by PhpStorm.
* User: royalwang
* Date: 2018/9/29
* Time: 1:05 PM
*/
defined('IN_ECJIA') or exit('No permission resources.');
/**
* 获取公众平台列表
*/
class platform_platform_account_list_api extends Component_Event_Api
{
/**
* @param shop_id 店铺ID,默认为0
* @param platform 平台,wechat 微... | {
"pile_set_name": "Github"
} |
// ************************************************
// wallace_cuda.hpp
// authors: Lee Howes and David B. Thomas
//
// Wrapper for allowing the calling of CUDA
// based Wallace generators from the test
// framework.
// ************************************************
#ifndef wallace_cuda_hpp
#define wallace_cuda_hpp
... | {
"pile_set_name": "Github"
} |
<!--
Description: entry link title
Expect: not bozo and entries[0]['links'][0]['title'] == u'Example title'
-->
<feed version="0.3" xmlns="http://purl.org/atom/ns#">
<entry>
<link rel="alternate" type="text/html" title="Example title" href="http://www.example.com/"/>
</entry>
</feed> | {
"pile_set_name": "Github"
} |
/* $Id$ */
/***************************************************************************
* (C) Copyright 2003-2011 - Stendhal *
***************************************************************************
***************************************************************************
... | {
"pile_set_name": "Github"
} |
-- Licensed to the Apache Software Foundation (ASF) under one or more
-- contributor license agreements. See the NOTICE file distributed with
-- this work for additional information regarding copyright ownership.
-- The ASF licenses this file to You under the Apache License, Version 2.0
-- (the "License"); you may... | {
"pile_set_name": "Github"
} |
<component name="ProjectCodeStyleConfiguration">
<code_scheme name="Project" version="173">
<Objective-C-extensions>
<file>
<option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Import" />
<option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Macro" />
<... | {
"pile_set_name": "Github"
} |
// file : liblava/fwd.hpp
// copyright : Copyright (c) 2018-present, Lava Block OÜ
// license : MIT; see accompanying LICENSE file
#pragma once
namespace lava {
// liblava/app.hpp
struct app;
struct camera;
struct forward_shading;
struct gui;
// liblava/base.hpp
struct target_call... | {
"pile_set_name": "Github"
} |
RSpec.describe Listen::Adapter do
let(:listener) { instance_double(Listen::Listener, options: {}) }
before do
allow(Listen::Adapter::BSD).to receive(:usable?) { false }
allow(Listen::Adapter::Darwin).to receive(:usable?) { false }
allow(Listen::Adapter::Linux).to receive(:usable?) { false }
allow(Li... | {
"pile_set_name": "Github"
} |
#!/bin/csh
####/home/stgpzli/ /bin/kzmig \
sumerge /files1/data/syn.data \
/files1/data/syn.data \
| kzmig \
x1=0 y1=0 s1=0 l1=0 cdp1=1 \
x2=4000 y2=0 s2=4000 l2=0 cdp2=201 \
x3=0 y3=5000 s3=0 l3=5000 cdp3=10051 \
dds=20 ddl=100 \
fzo=0 nzo=490 dzo=5 \
sstart=0 ns=201 \
lstart=0 nl=51 \
ncpu=1 \
mlimit=1024 \
of... | {
"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 license... | {
"pile_set_name": "Github"
} |
#!/usr/bin/env python
# encoding: utf-8
'''
@author: wujiyang
@contact: wujiyang@hust.edu.cn
@file: megaface.py
@time: 2018/12/24 16:29
@desc:
'''
import torchvision.transforms as transforms
import torch.utils.data as data
import numpy as np
import cv2
import os
import torch
def img_loader(path):
try:
wit... | {
"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.
// Code generated by generate-types. DO NOT EDIT.
package proto
import (
"math"
"unicode/utf8"
"google.golang.org/protobuf/encoding/protowire"
"google.go... | {
"pile_set_name": "Github"
} |
/* Copyright JS Foundation and other contributors, http://js.foundation
*
* 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"
} |
#import "Expecta.h"
EXPMatcherInterface(beTruthy, (void));
| {
"pile_set_name": "Github"
} |
<?php defined('IN_ECJIA') or exit('No permission resources.');?>
<!-- {extends file="ecjia.dwt.php"} -->
<!-- {block name="footer"} -->
<script type="text/javascript">
ecjia.admin.shopping_admin.editFormSubmit();
</script>
<!-- {/block} -->
<!-- {block name="main_content"} -->
<div>
<h3 class="heading">
<!-- {if ... | {
"pile_set_name": "Github"
} |
/******************************************************************************
* Copyright 2018 The Apollo 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
... | {
"pile_set_name": "Github"
} |
rm -rf .directus-build
git clone https://github.com/directus/directus.git .directus-build
pushd .directus-build
npm install
gulp build
gulp deploy
popd
rm -rf .directus-build
| {
"pile_set_name": "Github"
} |
'use strict';
var assert = require('assert'),
common = require('../common'),
fork = require('child_process').fork,
fork = require('child_process').fork;
var cp = fork(common.fixturesDir + '/child-process-message-and-exit.js');
var gotMessage = false,
gotExit = false,
gotClose = false;
cp.on('mess... | {
"pile_set_name": "Github"
} |
#tb 0: 1/25
#media_type 0: video
#codec_id 0: rawvideo
#dimensions 0: 192x128
#sar 0: 0/1
0, 0, 0, 1, 36864, 0x954464be
0, 1, 1, 1, 36864, 0xace1d90b
0, 2, 2, 1, 36864, 0x8f149f03
0, 3, 3, 1, 36864, 0xea9b21e... | {
"pile_set_name": "Github"
} |
\i setup.sql
SELECT plan(656);
SELECT has_function('pgr_bddijkstracost', ARRAY['text', 'bigint', 'bigint', 'boolean']);
SELECT has_function('pgr_bddijkstracost', ARRAY['text', 'anyarray', 'bigint', 'boolean']);
SELECT has_function('pgr_bddijkstracost', ARRAY['text', 'bigint', 'anyarray', 'boolean']);
SELECT has_funct... | {
"pile_set_name": "Github"
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Markup;
using Granular.Collections;
namespace System.Windows.Markup
{
public interface IDeferredValueKeyProvider
{
object GetValueKey(XamlElement element... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0">
<PropertyGroup>
<PublishProtocol>FileSystem</PublishProtocol>
<Configuration>Release</Configuration>
<Platform>Any CPU</Platform>
<TargetFramework>netcoreapp3.0</TargetFramework>
<TrimUnusedDependencies>true... | {
"pile_set_name": "Github"
} |
// MESSAGE MISSION_SET_CURRENT PACKING
#define MAVLINK_MSG_ID_MISSION_SET_CURRENT 41
typedef struct __mavlink_mission_set_current_t {
uint16_t seq; ///< Sequence
uint8_t target_system; ///< System ID
uint8_t target_component; ///< Component ID
} mavlink_mission_set_current_t;
#define MAVLINK_MSG_ID_MIS... | {
"pile_set_name": "Github"
} |
Youkai Watch (JPN)
Downloaded From Fort42: GateShark
Credits and instructions:
http://www.fort42.com/gateshark/game544/
----------------------------------------------------
[Max Money]
08695118 000F423F
[Items you own x99]
C0000000 000000FE
28695850 00000063
DC000000 00000010
D1000000 00000000
[255 first yokai Max ... | {
"pile_set_name": "Github"
} |
@charset "utf-8";
//主页面皮肤下拉列表公共样式
$head-height: 56px !default;
$line-height: 22px !default;
$icon-size: $line-height !default;
$action-font-size: 12px !default;;
%page_home_skin_actions{
.action_skin,
.action_exit,
.action_home,
.action_language{
display: inline-block;
font-size: $action... | {
"pile_set_name": "Github"
} |
Dominica
1
-6.190110E+01 1.554550E+01
-6.144157E+01 1.578591E+01
-6.084391E+01 1.557876E+01
-6.086251E+01 1.518179E+01
-6.170719E+01 1.487908E+01
-6.190110E+01 1.554550E+01
END
END
| {
"pile_set_name": "Github"
} |
---
id: 598f48a36c8c40764b4e52b3
title: Prevent Object Mutation
challengeType: 1
forumTopicId: 301207
---
## Description
<section id='description'>
As seen in the previous challenge, <code>const</code> declaration alone doesn't really protect your data from mutation. To ensure your data doesn't change, JavaScript prov... | {
"pile_set_name": "Github"
} |
our($ri1, $rf1, $rfe1);
BEGIN { $ri1 = $^H; $rf1 = $^H{foo}; $rfe1 = exists($^H{foo}); }
1;
| {
"pile_set_name": "Github"
} |
/* $Id: hfc_sx.h,v 1.2.6.1 2001/09/23 22:24:48 kai Exp $
*
* specific defines for CCD's HFC 2BDS0 S+,SP chips
*
* Author Werner Cornelius
* based on existing driver for CCD HFC PCI cards
* Copyright by Werner Cornelius <werner@isdn4linux.de>
*
* This software may be used and distributed a... | {
"pile_set_name": "Github"
} |
// Copyright (c) 2015-present, salesforce.com, inc. All rights reserved
// Licensed under BSD 3-Clause - see LICENSE.txt or git.io/sfdc-license
/**
* @summary Creates layout for a form element
* @name base
* @selector .slds-form-element
* @restrict div, fieldset, li
* @support dev-ready
* @variant
*/
.slds-form... | {
"pile_set_name": "Github"
} |
{"1179": 0.23512073149405358}
{"1106": 0.228654571409621}
{"652": 0.26706320871106765}
{"617": 0.25888070620540204}
{"529": 0.23796719398186578}
{"1336": 0.22708931518452144}
{"560": 0.2612410483304467}
{"569": 0.25344843499981895, "556": 0.24737922264439613}
{"864": 0.22093242105651731, "1369": 0.21443143954958546, "7... | {
"pile_set_name": "Github"
} |
#ifndef FIX43_SECURITYTYPES_H
#define FIX43_SECURITYTYPES_H
#include "Message.h"
namespace FIX43
{
class SecurityTypes : public Message
{
public:
SecurityTypes() : Message(MsgType()) {}
SecurityTypes(const FIX::Message& m) : Message(m) {}
SecurityTypes(const Message& m) : Message(m) {}
Security... | {
"pile_set_name": "Github"
} |
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef JSON_H
#define JSON_H 1
#include "jsmn.h"
jsmntok_t *parse_json(const char *fn, char **map, size_t *size, int *len);
void free_json(char *map, size_t size, jsmntok_t *tokens);
int json_line(char *map, jsmntok_t *t);
const char *json_name(jsmntok_t *t);
int json_streq(cha... | {
"pile_set_name": "Github"
} |
//===----------------------------------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | {
"pile_set_name": "Github"
} |
```python
"""
Please note, this script is for python3+.
If you are using python2+, please modify it accordingly.
Tutorial reference:
http://www.scipy-lectures.org/intro/matplotlib/matplotlib.html
"""
import matplotlib.pyplot as plt
import numpy as np
x = np.linspace(-3, 3, 50)
y1 = 2*x + 1
y2 = x**2
plt.figure()
pl... | {
"pile_set_name": "Github"
} |
DataverseUse test
Query:
SELECT ELEMENT [
Variable [ Name=$m ]
]
FROM [ FunctionCall asterix.dataset@1[
LiteralExpr [STRING] [test.FacebookMessages]
]
AS Variable [ Name=$m ]
]
Where
OperatorExpr [
FunctionCall asterix.spatial-intersect@2[
FieldAccessor [
Variable [ Name=$m ]
Field=... | {
"pile_set_name": "Github"
} |
#==========================================================================
#
# Program: ParaView
#
# Copyright (c) 2005-2008 Sandia Corporation, Kitware Inc.
# All rights reserved.
#
# ParaView is a free software; you can redistribute it and/or modify it
# under the terms of the ParaView license ve... | {
"pile_set_name": "Github"
} |
//[hello
#include <binlog/binlog.hpp>
//]
#include <fstream>
#include <iostream>
//[hello
int main()
{
BINLOG_INFO("Hello {}!", "World");
std::ofstream logfile("hello.blog", std::ofstream::out|std::ofstream::binary);
binlog::consume(logfile);
//]
if (! logfile)
{
std::cerr << "Failed to write hello.b... | {
"pile_set_name": "Github"
} |
import * as React from "react";
import ReactTable, { TableProps } from "react-table";
import {
useSelectableReactTable,
SelectionBehaviour,
} from "lib/useSelectableItemListing";
import { TableOutProps } from "lib/useSelectableItemListing/types";
import { Activity } from "../api/types";
interface Props {
activ... | {
"pile_set_name": "Github"
} |
If you want to write an option parser, and have it be good, there are
two ways to do it. The Right Way, and the Wrong Way.
The Wrong Way is to sit down and write an option parser. We've all done
that.
The Right Way is to write some complex configurable program with so many
options that you hit the limit of your fru... | {
"pile_set_name": "Github"
} |
# frozen_string_literal: true
class CreateTopicRevisions < ActiveRecord::Migration[4.2]
def up
create_table :topic_revisions do |t|
t.belongs_to :user
t.belongs_to :topic
t.text :modifications
t.integer :number
t.timestamps null: false
end
execute "INSERT INTO topic_revisio... | {
"pile_set_name": "Github"
} |
import { Component, Inject } from '@angular/core';
import { MAT_DIALOG_DATA } from '@angular/material/dialog';
import { DynamicEntityObject } from '@app/dynamics';
@Component({
selector: 'app-entity-schema-modal',
templateUrl: 'entity-schema-modal.component.html',
})
export class EntitySchemaModalComponent {
in... | {
"pile_set_name": "Github"
} |
'use strict';
exports.decode = exports.parse = require('./decode');
exports.encode = exports.stringify = require('./encode');
| {
"pile_set_name": "Github"
} |
<?xml version='1.0' encoding='utf-8'?>
<section xmlns="https://code.dccouncil.us/schemas/dc-library" xmlns:codified="https://code.dccouncil.us/schemas/codified" xmlns:codify="https://code.dccouncil.us/schemas/codify" xmlns:xi="http://www.w3.org/2001/XInclude" containing-doc="D.C. Code">
<num>26-551.01</num>
<headin... | {
"pile_set_name": "Github"
} |
## head命令格式
````
head [OPTION]... [FILE]...
````
head命令默认打印文件开头10行。
## head命令常用的参数
````
-q 隐藏文件名
-v 显示文件名
-c<字节> 显示字节数
-n<行数> 显示的行数
````
## head命令 应用实例
* 显示文件的前5行
````
````
* 显示文件前10个字节
````
````
* 显示除了开头100个字符以后的内容
````
````
| {
"pile_set_name": "Github"
} |
*maglev-runtime
callCC
"GsProcess>>value: fails to restore the clientData, we keep it in the RubyContinuation"
| callCCReturn args clientData rubyCC |
args := Array new: block numArgs.
rubyCC := RubyContinuation new clientData: GsProcess _current clientData; yourself.
args size > 0 ifTrue: [args at: 1 put: rubyCC]... | {
"pile_set_name": "Github"
} |
/*
Copyright (c) 2008, Adobe Systems Incorporated
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"
} |
package sockaddr
import (
"fmt"
"math/big"
"net"
"strings"
)
// Constants for the sizes of IPv3, IPv4, and IPv6 address types.
const (
IPv3len = 6
IPv4len = 4
IPv6len = 16
)
// IPAddr is a generic IP address interface for IPv4 and IPv6 addresses,
// networks, and socket endpoints.
type IPAddr interface {
Soc... | {
"pile_set_name": "Github"
} |
57--Angler/57_Angler_peoplefishing_57_559.jpg
1
459.47246875 20.35271875 32.94453125 38.938203125 0.999190628529
| {
"pile_set_name": "Github"
} |
package com.in28minutes.example.layering.data.database;
import java.util.Arrays;
import java.util.Date;
import java.util.List;
import org.springframework.stereotype.Component;
import com.in28minutes.example.layering.model.api.client.Todo;
//TODO : Ideally should use jdbc interfacing or an ORM
// A Dummy database ju... | {
"pile_set_name": "Github"
} |
#ifndef CT_VERIF_H
#define CT_VERIF_H
#ifndef COMPILE
#include <smack.h>
/*
Security levels are the following.
For inputs:
- public - function requires (assumes) these to be equal.
- private - no requirement (allowed to vary freely)
For outputs (both by reference and return values):
- public - function ensures thes... | {
"pile_set_name": "Github"
} |
/*=============================================================================
Copyright (c) 2001-2014 Joel de Guzman
Copyright (c) 2001-2011 Hartmut Kaiser
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_... | {
"pile_set_name": "Github"
} |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="coqdoc.css" rel="stylesheet" type="text/css" />
<title>mathcomp.ssreflect.tup... | {
"pile_set_name": "Github"
} |
<line_state xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#iosxe" comment="Affected configuration value" id="oval:org.cisecurity:ste:13062" version="1">
<config_line operation="pattern match">Enabled</config_line>
</line_state>
| {
"pile_set_name": "Github"
} |
#ifndef __DIGITS5x9_H
#define __DIGITS5x9_H
#define dig5x9 &Digits5x9
static const Font_TypeDef Digits5x9 = {
5, // Font width
9, // Font height
9, // Bytes per character
FONT_H, // Vertical font scan lines
45, // First character: '-'
57, // Last charac... | {
"pile_set_name": "Github"
} |
// @flow
import { Env } from './Env';
import { type LangMessage, langMessageToString } from './Lang';
import { LOG_LEVELS, STDOUT_WIDTH } from './constants';
import chalk from 'chalk';
export type LoggerOptions = {
env: Env
};
export type LogKind = $Keys<typeof LOG_LEVELS>;
type FormatOptions = {
prefix?: string... | {
"pile_set_name": "Github"
} |
{
"author": "jonas747",
"date": "14th Feb 2017",
"title": "Version 0.19"
}
- **New Feed: Youtube video uploads**: Will post new videos from channels you specify in a discord channel
- **Moderation: New command** `Warn @user reason`: warns a user, all warnings are stored and can be vie... | {
"pile_set_name": "Github"
} |
#ifndef IIT_ROBOT_CT_DOUBLEINVERTEDPENDULUM_INERTIA_PROPERTIES_H_
#define IIT_ROBOT_CT_DOUBLEINVERTEDPENDULUM_INERTIA_PROPERTIES_H_
#include <iit/rbd/rbd.h>
#include <iit/rbd/InertiaMatrix.h>
#include <iit/rbd/utils.h>
#include <iit/rbd/traits/DoubleTrait.h>
#include "declarations.h"
namespace iit {
namespace ct_Dou... | {
"pile_set_name": "Github"
} |
{
Miranda IM: the free IM client for Microsoft* Windows*
Copyright 2000-2003 Miranda ICQ/IM project,
all portions of this codebase are copyrighted to the people
listed in contributors.txt.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License... | {
"pile_set_name": "Github"
} |
#
# Test of auto_increment; The test for BDB tables is in bdb.test
#
--disable_warnings
drop table if exists t1;
--enable_warnings
create table t1 (a int not null auto_increment,b int, primary key (a)) engine=heap auto_increment=3;
insert into t1 values (1,1),(NULL,3),(NULL,4);
delete from t1 where a=4;
insert into ... | {
"pile_set_name": "Github"
} |
require 'spec_helper'
describe Attache::Delete do
let(:app) { ->(env) { [200, env, "app"] } }
let(:middleware) { Attache::Delete.new(app) }
let(:params) { {} }
let(:filename) { "hello#{rand}.gif" }
let(:reldirname) { "path#{rand}" }
let(:file) { StringIO.new(IO.binread("spec/fixtures/transparent.gif"), 'rb... | {
"pile_set_name": "Github"
} |
//{{NO_DEPENDENCIES}}
// Microsoft Visual C++ generated include file.
// Used by FreeOTFECypherRC6_Gladman.rc
//
// Next default values for new objects
//
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_NEXT_RESOURCE_VALUE 101
#define _APS_NEXT_COMMAND_VALUE 40001
#def... | {
"pile_set_name": "Github"
} |
<?xml version="1.0"?>
<Document style="helpdocument">
<p style="htitle">Spår</p>
<p style="hp">Spår är det enklaste och billigast sättet för transporter. De har också den lägsta kapaciteten. Det som är bra är att de bidrar inte till miljöförstöringen.</p>
<p style="hp">Detta är ett spår</p>
<img src="images/tile... | {
"pile_set_name": "Github"
} |
#
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not u... | {
"pile_set_name": "Github"
} |
/*
* Copyright (C) 2005, 2006, 2008 Apple 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:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of ... | {
"pile_set_name": "Github"
} |
var InnerSubscription = function (s, o) {
this._s = s;
this._o = o;
};
InnerSubscription.prototype.dispose = function () {
if (!this._s.isDisposed && this._o !== null) {
var idx = this._s.observers.indexOf(this._o);
this._s.observers.splice(idx, 1);
this._o = null;
}
};
| {
"pile_set_name": "Github"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.