text stringlengths 2 99.9k | meta dict |
|---|---|
Vue.component('dropdown', {
template: '#tmpl-dropdown',
props: {
id: {
type: String,
},
visible: {
type: Boolean,
default: false,
},
items: {
type: Array,
default: [],
},
classes: {
... | {
"pile_set_name": "Github"
} |
const express = require('express')
const router = express()
const { createWebAPIRequest } = require('../util/util')
router.get('/', (req, res) => {
const cookie = req.get('Cookie') ? req.get('Cookie') : ''
const data = {
mvid: req.query.mvid
}
createWebAPIRequest(
'music.163.com',
'/weapi/discovery... | {
"pile_set_name": "Github"
} |
///////////////////////////////////////////////////////////////////////////////////
/// OpenGL Mathematics (glm.g-truc.net)
///
/// Copyright (c) 2005 - 2015 G-Truc Creation (www.g-truc.net)
/// Permission is hereby granted, free of charge, to any person obtaining a copy
/// of this software and associated documen... | {
"pile_set_name": "Github"
} |
/**
* Copyright 1993-2013 NVIDIA Corporation. All rights reserved.
*
* Please refer to the NVIDIA end user license agreement (EULA) associated
* with this source code for terms and conditions that govern your use of
* this software. Any use, reproduction, disclosure, or distribution of
* this software and relate... | {
"pile_set_name": "Github"
} |
defmodule Absinthe.Execution.SubscriptionTest do
use Absinthe.Case
import ExUnit.CaptureLog
defmodule PubSub do
@behaviour Absinthe.Subscription.Pubsub
def start_link() do
Registry.start_link(keys: :unique, name: __MODULE__)
end
def node_name() do
node()
end
def subscribe(... | {
"pile_set_name": "Github"
} |
# Copyright (c) 2012 Google Inc. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
{
'targets': [
{
'target_name': 'test_aslr_default',
'type': 'executable',
'msvs_settings': {
},
'sources': ['hello.cc'],
},... | {
"pile_set_name": "Github"
} |
--- src/client.c.org Tue Nov 30 13:49:23 2004
+++ src/client.c Wed Dec 1 12:42:01 2004
@@ -144,6 +144,7 @@
static size_t try_read_from_server PROTO ((char *, size_t));
+static void proxy_connect PROTO ((cvsroot_t *, int));
static void auth_server PROTO ((cvsroot_t *, struct buffer *, struct buffer *,
int, i... | {
"pile_set_name": "Github"
} |
/* Presentation mode for SF HTML
*
* This file implements simple slide functionality for the SF HTML
* files. When loaded in a page, it will tag some of the page elements
* as slide boundaries, giving each an id of the form
* "#slide-XX". Pressing left or right should trigger "slide mode",
* focusing the screen o... | {
"pile_set_name": "Github"
} |
# The MIT License
#
# Copyright (c) 2004-2010, Sun Microsystems, 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, ... | {
"pile_set_name": "Github"
} |
rem -----------------------------------------------------------------------
rem URL: http://www.orafaq.com/scripts/plsql/hex2dec.txt
rem Filename: hex2dec.sql
rem Purpose: Functions to convert Hex to Decimal and vice versa
rem Author: Mark Malakanov, Feb-1999 + Anonymous
rem ----------------------------... | {
"pile_set_name": "Github"
} |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0) on Thu Jan 05 01:03:22 EST 2017 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>StaxServerConfiguration (appsen... | {
"pile_set_name": "Github"
} |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using Xunit;
namespace System.Runtime.InteropServices.Tests
{
public class TypeLibVarAttributeTests
{
[Theory]
[InlineData((TypeLibVarFlags)(-1))]
[I... | {
"pile_set_name": "Github"
} |
/*
* Broadcom UniMAC MDIO bus controller driver
*
* Copyright (C) 2014-2017 Broadcom
*
* 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 2 of the License, or
* (at your opti... | {
"pile_set_name": "Github"
} |
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!21 &2100000
Material:
serializedVersion: 6
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: Floor
m_Shader: {fileID: 4800000, guid: 933532a4fcc9baf4fa0491de14d08ed7, type: 3}
m_S... | {
"pile_set_name": "Github"
} |
/*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty ... | {
"pile_set_name": "Github"
} |
def euclideanDistance(p: List[Int], q: List[Int]): Int =
math.sqrt(p.zip(q).map { case (u, v) => math.pow(u-v, 2) }.sum) | {
"pile_set_name": "Github"
} |
--- a/sockd/sockd_io.c.old 2017-05-10 19:57:20.672000000 +0000
+++ b/sockd/sockd_io.c 2017-05-10 20:00:34.548000000 +0000
@@ -2912,7 +2912,7 @@ siginfo(sig, si, sc)
int src_so_rcvbuf, dst_so_rcvbuf;
#endif /* HAVE_RECVBUF_IOCTL */
-#if HAVE_SENDBUF_IOCTL
+#ifdef HAVE_SENDBUF_IOCTL
int src_so_sndb... | {
"pile_set_name": "Github"
} |
/* Copyright 2006-2015 Joaquin M Lopez Munoz.
* 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)
*
* See http://www.boost.org/libs/flyweight for library home page.
*/
#ifndef BOOST_FLYWEIGHT_SERIALIZE_HP... | {
"pile_set_name": "Github"
} |
/*****
* Tencent is pleased to support the open source community by making QMUI_iOS available.
* Copyright (C) 2016-2019 THL A29 Limited, a Tencent company. All rights reserved.
* Licensed under the MIT License (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of... | {
"pile_set_name": "Github"
} |
import { db } from "../../lib/mongo"
import parse from "../../lib/parse"
class EmailSettingsService {
constructor() {
this.defaultSettings = {
host: "",
port: "",
user: "",
pass: 0,
from_name: "",
from_address: "",
}
}
getEmailSettings() {
return db
.collect... | {
"pile_set_name": "Github"
} |
package raft
import (
"log"
"os"
)
//------------------------------------------------------------------------------
//
// Variables
//
//------------------------------------------------------------------------------
const (
Debug = 1
Trace = 2
)
var logLevel int = 0
var logger *log.Logger
func init() {
logger... | {
"pile_set_name": "Github"
} |
/* ___DISCLAIMER___ */
/* clock.c: PLL, CCLK, PCLK controls */
#include <arm/NXP/LPC17xx/LPC17xx.h>
#include "config.h"
#include "clock.h"
#include "bits.h"
#include "uart.h"
void clock_disconnect() {
disconnectPLL0();
disablePLL0();
}
void clock_init() {
/* set flash access time to 5 clks (80<f<=100MHz) */
... | {
"pile_set_name": "Github"
} |
// This module implements the QsciLexerVerilog class.
//
// Copyright (c) 2017 Riverbank Computing Limited <info@riverbankcomputing.com>
//
// This file is part of QScintilla.
//
// This file may be used under the terms of the GNU General Public License
// version 3.0 as published by the Free Software Foundation and ... | {
"pile_set_name": "Github"
} |
/*
Package logrus is a structured logger for Go, completely API compatible with the standard library logger.
The simplest way to use Logrus is simply the package-level exported logger:
package main
import (
log "github.com/sirupsen/logrus"
)
func main() {
log.WithFields(log.Fields{
"animal": ... | {
"pile_set_name": "Github"
} |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var chars = require("./chars");
var CssTokenType;
(function (CssTokenType) {
CssTokenType[CssTokenType["EOF"] = 0] = "EOF";
CssTokenType[CssTokenType["String"] = 1] = "String";
CssTokenType[CssTokenType["Comment"] = 2] = "Comment";... | {
"pile_set_name": "Github"
} |
fileFormatVersion: 2
guid: 8b83134143223104c9bc3865a565cab3
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| {
"pile_set_name": "Github"
} |
<?php defined('BX_DOL') or die('hack attempt');
/**
* Copyright (c) UNA, Inc - https://una.io
* MIT License - https://opensource.org/licenses/MIT
*
* @defgroup UnaCore UNA Core
* @{
*/
class BxDolModuleQuery extends BxDolDb implements iBxDolSingleton
{
protected function __construct()
{
if (is... | {
"pile_set_name": "Github"
} |
<header class="header-wrapper">
<nav class="inner">
<div class="title">
<a href="/">
<img class="logo" src="<%- url_for(theme.profile.logo) %>" />
</a>
</div>
<ul class="menu">
<% for (var i in theme.menu){ %>
<% if ( i == 'search' ){%>
<li class="item">
<a... | {
"pile_set_name": "Github"
} |
# 练习 1:文本编辑器,vim
> 原文:[Exercise 1. Text Editor, The: vim](https://archive.fo/5vf0X)
> 译者:[飞龙](https://github.com/wizardforcel)
> 协议:[CC BY-NC-SA 4.0](http://creativecommons.org/licenses/by-nc-sa/4.0/)
> 自豪地采用[谷歌翻译](https://translate.google.cn/)
在 Linux 中,就像任何类 Unix 操作系统,一切都只是文件。而 Unix 哲学指出,配置文件必须是人类可读和可编辑的。在几乎所有的情... | {
"pile_set_name": "Github"
} |
/*
Copyright (C) 2011 Mark Chandler (Desura Net Pty Ltd)
Copyright (C) 2014 Bad Juju Games, Inc.
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) a... | {
"pile_set_name": "Github"
} |
#ifndef _NRF_DELAY_H
#define _NRF_DELAY_H
// #include "nrf.h"
/*lint --e{438, 522} "Variable not used" "Function lacks side-effects" */
#if defined ( __CC_ARM )
static __ASM void __INLINE nrf_delay_us(uint32_t volatile number_of_us)
{
loop
SUBS R0, R0, #1
NOP
NOP
NOP
NOP
... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="vertical">
<TextView
android:id="@+id/tv_item"
android:layout_width="wrap_content... | {
"pile_set_name": "Github"
} |
fileFormatVersion: 2
guid: 4f6a32ae4320c1d489759d620e71be9b
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 2100000
userData:
assetBundleName:
assetBundleVariant:
| {
"pile_set_name": "Github"
} |
---------------
Custom Commands
---------------
``xse trip``
show last Trip value
``xse recu up``
``xse recu down``
set Rekuperation up or down.
Works only if Rekuperation is enabled in car
``xse charge``
set charge and leave Time.
Example:
``xse charge 7 15 off``
set Time at 7:15 clock with pre climate off
... | {
"pile_set_name": "Github"
} |
/*
* Copyright 2019 The Error Prone 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 ... | {
"pile_set_name": "Github"
} |
import $ from 'jquery';
import env from '../core/env';
import lists from '../core/lists';
import dom from '../core/dom';
export default class TablePopover {
constructor(context) {
this.context = context;
this.ui = $.summernote.ui;
this.options = context.options;
this.events = {
'summernote.mou... | {
"pile_set_name": "Github"
} |
// Copyright (C) 2017-2019 Jonathan Müller <jonathanmueller.dev@gmail.com>
// This file is subject to the license terms in the LICENSE file
// found in the top-level directory of this distribution.
#include <cppast/cpp_template_parameter.hpp>
#include <cppast/cpp_entity_kind.hpp>
using namespace cppast;
const char*... | {
"pile_set_name": "Github"
} |
//
// Generated by class-dump 3.5 (64 bit) (Debug version compiled Oct 15 2018 10:31:50).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2015 by Steve Nygard.
//
#import <AddressBookCore/ABCNPropertyDescription.h>
#import <AddressBookCore/ABCNAbstractPropertyDescription-Protocol.h>
@class NSStr... | {
"pile_set_name": "Github"
} |
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (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.mozilla.org/MPL/
*
... | {
"pile_set_name": "Github"
} |
<?php
/**
* Zend Framework
*
* LICENSE
*
* This source file is subject to the new BSD license that is bundled
* with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://framework.zend.com/license/new-bsd
* If you did not receive a copy of the license an... | {
"pile_set_name": "Github"
} |
#include <rose.h>
class SgVarSubstCopy : public SgCopyHelp
{
SgVariableSymbol *sourceSymbol;
SgExpression *replacementExpression;
public:
SgVarSubstCopy(SgVariableSymbol *sourceSymbol, SgExpression *replacementExpression)
: sourceSymbol(sourceSymbol), replacementExpression(replace... | {
"pile_set_name": "Github"
} |
/**
* Converts an ASCII `string` to an array.
*
* @private
* @param {string} string The string to convert.
* @returns {Array} Returns the converted array.
*/
function asciiToArray(string) {
return string.split('');
}
module.exports = asciiToArray;
| {
"pile_set_name": "Github"
} |
// This file is part of Substrate.
// Copyright (C) 2017-2020 Parity Technologies (UK) Ltd.
// SPDX-License-Identifier: GPL-3.0-or-later WITH Classpath-exception-2.0
// 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 F... | {
"pile_set_name": "Github"
} |
console.log (Object.prototype.toString.call([].__proto__));
console.log (Object.prototype.toString.call([].__proto__.__proto__));
console.log (Object.prototype.toString.call([].__proto__.__proto__.__proto__));
| {
"pile_set_name": "Github"
} |
# Subscription
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**subscriptionId** | **String** | | [optional]
**applicationId** | **String** | |
**apiIdentifier** | **String** | |
**tier** | **String** | |
**status** | [**StatusEnum**](#StatusEnum) ... | {
"pile_set_name": "Github"
} |
/*
* Copyright (c) 2006-2011 Christian Plattner. All rights reserved.
* Please refer to the LICENSE.txt for licensing details.
*/
package ch.ethz.ssh2.packets;
import ch.ethz.ssh2.DHGexParameters;
/**
* PacketKexDhGexRequestOld.
*
* @author Christian Plattner
* @version 2.50, 03/15/10
*/
public class PacketK... | {
"pile_set_name": "Github"
} |
true
false
| {
"pile_set_name": "Github"
} |
//===========================================
// The following is for 8812A 1ANT BT Co-exist definition
//===========================================
#define BT_AUTO_REPORT_ONLY_8812A_1ANT 1
#define BT_INFO_8812A_1ANT_B_FTP BIT7
#define BT_INFO_8812A_1ANT_B_A2DP BIT6
#define BT_INFO_8812A_1ANT_B_HID B... | {
"pile_set_name": "Github"
} |
package crdapps
import (
"testing"
routefake "github.com/openshift/client-go/route/clientset/versioned/fake"
v1alpha1 "github.com/stakater/Forecastle/pkg/apis/forecastle/v1alpha1"
"github.com/stakater/Forecastle/pkg/kube"
"github.com/stakater/Forecastle/pkg/testutil"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1... | {
"pile_set_name": "Github"
} |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.1
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
... | {
"pile_set_name": "Github"
} |
<?php
/*
* Copyright 2007-2017 Charles du Jeu - Abstrium SAS <team (at) pyd.io>
* This file is part of Pydio.
*
* Pydio 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 Lice... | {
"pile_set_name": "Github"
} |
# coding=utf-8
"""Python Arlo setup script."""
from setuptools import setup
def readme():
with open('README.md') as desc:
return desc.read()
setup(
name='arlo',
py_modules=['arlo', 'request', 'eventstream'],
version='1.2.35',
description='Python Arlo is a library written in Python 2.7/3x '... | {
"pile_set_name": "Github"
} |
// Copyright 2017 The Cockroach Authors.
//
// Use of this software is governed by the Business Source License
// included in the file licenses/BSL.txt.
//
// As of the Change Date specified in that file, in accordance with
// the Business Source License, use of this software will be governed
// by the Apache License, ... | {
"pile_set_name": "Github"
} |
Description:
Compute MD4 checksum.
Files:
lib/md4.h
lib/md4.c
m4/md4.m4
Depends-on:
byteswap
stdalign
stdint
configure.ac:
AC_REQUIRE([AC_C_RESTRICT])
gl_MD4
Makefile.am:
lib_SOURCES += md4.c
Include:
"md4.h"
License:
LGPLv2+
Maintainer:
Simon Josefsson
| {
"pile_set_name": "Github"
} |
import _plotly_utils.basevalidators
class XaxisValidator(_plotly_utils.basevalidators.SubplotidValidator):
def __init__(self, plotly_name="xaxis", parent_name="histogram2d", **kwargs):
super(XaxisValidator, self).__init__(
plotly_name=plotly_name,
parent_name=parent_name,
... | {
"pile_set_name": "Github"
} |
#[doc = "Reader of register CHINTENCLR"]
pub type R = crate::R<u8, super::CHINTENCLR>;
#[doc = "Writer for register CHINTENCLR"]
pub type W = crate::W<u8, super::CHINTENCLR>;
#[doc = "Register CHINTENCLR `reset()`'s with value 0"]
impl crate::ResetValue for super::CHINTENCLR {
type Type = u8;
#[inline(always)]
... | {
"pile_set_name": "Github"
} |
export enum NotificationAnimationType {
Fade = 'fade',
FromTop = 'fromTop',
FromRight = 'fromRight',
FromBottom = 'fromBottom',
FromLeft = 'fromLeft',
Scale = 'scale',
Rotate = 'rotate'
}
| {
"pile_set_name": "Github"
} |
/*
* The Clear BSD License
* Copyright (c) 2016, Freescale Semiconductor, Inc.
* Copyright 2016-2017 NXP
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted (subject to the limitations in the disclaimer below) provided
* that the following ... | {
"pile_set_name": "Github"
} |
$TTL 1
; KO
$ORIGIN .. ; Missing label between dots
| {
"pile_set_name": "Github"
} |
/* http://www.positioniseverything.net/easyclearing.html */
#djDebug .djdt-clearfix:after {
content: ".";
display: block;
height: 0;
clear: both;
visibility: hidden;
}
#djDebug .djdt-clearfix {display: inline-block;}
/* Hides from IE-mac \*/
#djDebug .djdt-clearfix {display: block;}
* html #djDebug ... | {
"pile_set_name": "Github"
} |
- content_for :page_title, @user.full_name
.outer
.container
= render "/header", title: @user.full_name
.charts
= render @time_series.chart, time_series: @time_series
.charts
= render "/charts/pie_chart", title: t("charts.hours_spent_per_project"), data: EntryStats.new(@time_series.entries_fo... | {
"pile_set_name": "Github"
} |
package com.yarolegovich.mp.io;
import android.app.Dialog;
import android.content.Context;
import android.content.DialogInterface;
import android.view.LayoutInflater;
import android.view.View;
import android.widget.EditText;
import androidx.appcompat.app.AlertDialog;
import androidx.fragment.app.FragmentActivity;
im... | {
"pile_set_name": "Github"
} |
# Copyright (c) Open Enclave SDK contributors.
# Licensed under the MIT License.
add_enclave_library(oehostfs STATIC hostfs.c)
maybe_build_using_clangw(oehostfs)
enclave_include_directories(oehostfs PRIVATE ${CMAKE_BINARY_DIR}/syscall
${PROJECT_SOURCE_DIR}/include/openenclave/corelibc)
e... | {
"pile_set_name": "Github"
} |
package com.xixiciTest
import com.xixici.P10
import org.scalatest.FunSuite
/**
* Created by xixici
* Date: 2019/3/13
* Project Name: sword-offer-scala-sbt
* Project URL: https://github.com/xixici/sword-offer-scala
**/
class P10Test extends FunSuite {
test("P10Test") {
val Expected = 5
val Actual ... | {
"pile_set_name": "Github"
} |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="author" content="{{ Setting::get('author') }}">
<meta name="description" content="{{ Setting::get('des... | {
"pile_set_name": "Github"
} |
ccc05a53f8c4a7f74b75a07b2cfba7b1
| {
"pile_set_name": "Github"
} |
from pymesh.TestCase import TestCase
from pymesh import compute_outer_hull
from pymesh.meshio import form_mesh
from pymesh.meshutils import generate_box_mesh
from pymesh.meshutils import merge_meshes
from pymesh.misc import Quaternion
import numpy as np
import math
import unittest
class OuterHullTest(TestCase):
d... | {
"pile_set_name": "Github"
} |
#!/bin/bash
#
# This is a git extension that merges a pull request or topic branch via
# rebasing so as to avoid a merge commit.
#
# Copyright 2015 Bazaarvoice, Inc., RetailMeNot, Inc., and git-land contributors
# Licensed under Apache 2.0
# http://www.apache.org/licenses/LICENSE-2.0
project_root=`echo $(git rev-parse... | {
"pile_set_name": "Github"
} |
//
// KCSIBeaconTests.m
// KCSIBeaconTests
//
// Copyright 2015 Kinvey, Inc
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// ... | {
"pile_set_name": "Github"
} |
class PassthroughFormatter {
format(value) {
return value;
}
parse(text) {
return text;
}
}
export default PassthroughFormatter;
| {
"pile_set_name": "Github"
} |
{
global: {},
components: {
// Component-level parameters, defined initially from 'ks prototype use ...'
// Each object below should correspond to a component in the components/ directory
workflows: {
bucket: "kubeflow-ci_temp",
mode: "minikube",
name: "jlewi-kubeflow-gke-deploy-test-4... | {
"pile_set_name": "Github"
} |
# 如何查看一个文件的 inode number
::: tip Issue
欢迎在 Issue 中交流与讨论: [Issue 115](https://github.com/shfshanyue/Daily-Question/issues/115)
:::
::: tip Author
回答者: [shfshanyue](https://github.com/shfshanyue)
:::
可以使用 `ls` 或者 `stat`
``` bash
$ stat hello.txt
File: ‘hello.txt’
Size: 30 Bloc... | {
"pile_set_name": "Github"
} |
/*
Author: aeroson
Description:
Sets the text on the dialog
Parameters:
None
Returns:
Nothing
*/
#define AGM_CrewInfo_TextIDC 11123
private["_text", "_ctrl"];
disableSerialization;
_text = _this select 0;
_ctrl = (uiNamespace getVariable "AGM_CrewInfo_dialog") displayCtrl AGM_CrewInfo_TextIDC;
_ct... | {
"pile_set_name": "Github"
} |
{% if scid %}
SELECT
cl.oid as oid,
relname as name,
nsp.nspname as schema,
pg_get_userbyid(relowner) AS seqowner,
description as comment,
array_to_string(relacl::text[], ', ') as acl,
(SELECT array_agg(provider || '=' || label) FROM pg_seclabels sl1 WHERE sl1.objoid=cl.oid) AS securities
FR... | {
"pile_set_name": "Github"
} |
package(default_visibility = ["//visibility:public"])
load(
"@io_bazel_rules_go//go:def.bzl",
"go_library",
)
go_library(
name = "go_default_library",
srcs = [
"controllerrevision.go",
"deployment.go",
"expansion_generated.go",
"scale.go",
"statefulset.go",
... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="UTF-8"?>
<configuration status="OFF">
<appenders>
<Console name="Console" target="SYSTEM_OUT">
<PatternLayout pattern="%d [%t] %-5p %M(%F:%L) - %m%n"/>
</Console>
</appenders>
<loggers>
<root level="info">
<appender-ref ref="Conso... | {
"pile_set_name": "Github"
} |
/* (C) COPYRIGHT 1994-2002 Xiph.Org Foundation */
/* Modified by Jean-Marc Valin */
/*
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, t... | {
"pile_set_name": "Github"
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace RssDataSerices
{
class RssDataScheduler
{
public string PostRssFeed(string ProfileType)
{
string str = "";
try
{
Api.RssFeeds.RssFeeds objRssFeed ... | {
"pile_set_name": "Github"
} |
// Copyright 2015 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.
// Package rangetable provides utilities for creating and inspecting
// unicode.RangeTables.
package rangetable
import (
"sort"
"unicode"
)
// New creates a... | {
"pile_set_name": "Github"
} |
/* Whole cell */
div.container.cell {
padding-left: 0;
margin-bottom: 1em;
}
/* Removing all background formatting so we can control at the div level */
.cell_input div.highlight, .cell_input pre, .cell_output .output * {
border: none;
background: none;
background-color: transparent;
box-shadow: none;
}
.... | {
"pile_set_name": "Github"
} |
package org.nextrtc.signalingserver.api.dto;
import org.nextrtc.signalingserver.api.NextRTCEvents;
import org.nextrtc.signalingserver.exception.SignalingException;
import java.time.ZonedDateTime;
import java.util.Map;
import java.util.Optional;
public interface NextRTCEvent {
NextRTCEvents type();
ZonedDat... | {
"pile_set_name": "Github"
} |
OPTION DOTNAME
.text$ SEGMENT ALIGN(256) 'CODE'
EXTERN OPENSSL_ia32cap_P:NEAR
PUBLIC aesni_multi_cbc_encrypt
ALIGN 32
aesni_multi_cbc_encrypt PROC PUBLIC
mov QWORD PTR[8+rsp],rdi ;WIN64 prologue
mov QWORD PTR[16+rsp],rsi
mov rax,rsp
$L$SEH_begin_aesni_multi_cbc_encrypt::
mov rdi,rcx
mov rsi,rdx
mov rdx,r8
m... | {
"pile_set_name": "Github"
} |
visiting
accept: aVisitor
aVisitor visitTask: self | {
"pile_set_name": "Github"
} |
<?php
/**
* This file is part of the Nette Framework (https://nette.org)
* Copyright (c) 2004 David Grudl (https://davidgrudl.com)
*/
declare(strict_types=1);
namespace Nette;
if (false) {
/** @deprecated use Nette\Bootstrap\Configurator */
class Configurator
{
}
} elseif (!class_exists(Configurator::class))... | {
"pile_set_name": "Github"
} |
/******************************************************************************
* most_balanced_minimum_cuts.h
* *
* Source of KaHIP -- Karlsruhe High Quality Partitioning.
* Christian Schulz <christian.schulz.phone@gmail.com>
*****************************************************************************/
#ifndef... | {
"pile_set_name": "Github"
} |
CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/Crashlytics
FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Crashlytics/iOS" "${PODS_ROOT}/Fabric/iOS"
GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
OTHER_LDFLAGS = $(inherited) -l"c++" -l"z" -framework "Security" -framework "SystemConfiguration" -... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:color="@color/b4" android:state_checked="false" android:state_focused="false" android:state_pressed="false" />
<item android:color="@color/c1" android:state_checked="true" android:state_foc... | {
"pile_set_name": "Github"
} |
/// Copyright (c) 2012 Ecma International. All rights reserved.
/**
* @path ch15/15.4/15.4.4/15.4.4.19/15.4.4.19-1-10.js
* @description Array.prototype.map - applied to the Math object
*/
function testcase() {
function callbackfn(val, idx, obj) {
return ('[object Math]' === Object.prototype.t... | {
"pile_set_name": "Github"
} |
//
// MMTrainWorkModel.m
// MicroMannage
//
// Created by 倪望龙 on 2017/3/17.
// Copyright © 2017年 xunyijia. All rights reserved.
//
#import "MMTrainWorkModel.h"
@implementation MMTrainWorkModel
@end
| {
"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"
} |
function getCookie(name) {
var cookieValue = null;
if (document.cookie && document.cookie != '') {
var cookies = document.cookie.split(';');
for (var i = 0; i < cookies.length; i++) {
var cookie = jQuery.trim(cookies[i]);
if (cookie.substring(0, name.length + 1) == (name ... | {
"pile_set_name": "Github"
} |
#ifndef BOOST_BIND_STORAGE_HPP_INCLUDED
#define BOOST_BIND_STORAGE_HPP_INCLUDED
// MS compatible compilers support #pragma once
#if defined(_MSC_VER) && (_MSC_VER >= 1020)
# pragma once
#endif
//
// bind/storage.hpp
//
// boost/bind.hpp support header, optimized storage
//
// Copyright (c) 2006 Peter Dimov
//
// ... | {
"pile_set_name": "Github"
} |
/*
* Copyright (c) 2010-2011, NVIDIA Corporation
* 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... | {
"pile_set_name": "Github"
} |
Sample code for Chapter 5 - "First-class functions"
From the book "Fluent Python" by Luciano Ramalho (O'Reilly, 2015)
http://shop.oreilly.com/product/0636920032519.do
| {
"pile_set_name": "Github"
} |
// StringUtils.cpp
#include "StdAfx.h"
#include "StringUtils.h"
void SplitStringToTwoStrings(const UString &src, UString &dest1, UString &dest2)
{
dest1.Empty();
dest2.Empty();
bool quoteMode = false;
int i;
for (i = 0; i < src.Length(); i++)
{
wchar_t c = src[i];
if (c == L'\"')
... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="UTF-8"?>
<model ref="5ef691b5-60ce-4ece-a04e-25e642dfa128/r:59b6a434-36b8-4735-ae34-3acf97303510(com.mbeddr.mpsutil.lantest/com.mbeddr.mpsutil.lantest.structure)">
<persistence version="9" />
<languages>
<use id="982eb8df-2c96-4bd7-9963-11712ea622e5" name="jetbrains.mps.lang.resour... | {
"pile_set_name": "Github"
} |
package cobra
import (
"bytes"
"strings"
"testing"
)
func TestZshCompletion(t *testing.T) {
tcs := []struct {
name string
root *Command
expectedExpressions []string
}{
{
name: "trivial",
root: &Command{Use: "trivialapp"},
expectedExpres... | {
"pile_set_name": "Github"
} |
/*
Copyright (c) 2011, Daniel Guerrero
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 conditions and the f... | {
"pile_set_name": "Github"
} |
---
method: POST
headers:
Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/mturk-requester/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?
Host: mturk-requester.us-east-1.amazonaws.com
Content-Type: application/x-www-... | {
"pile_set_name": "Github"
} |
$NetBSD: patch-ac,v 1.2 2006/08/02 19:24:55 kristerw Exp $
--- xroads.c.orig 1999-06-30 20:25:02.000000000 +0200
+++ xroads.c 2006-08-02 21:14:27.000000000 +0200
@@ -282,13 +282,13 @@
}
/*************************************************************************************************/
-int trunc( float num ) { /*... | {
"pile_set_name": "Github"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.