text stringlengths 2 99.9k | meta dict |
|---|---|
package hcl
import (
"unicode"
"unicode/utf8"
)
type lexModeValue byte
const (
lexModeUnknown lexModeValue = iota
lexModeHcl
lexModeJson
)
// lexMode returns whether we're going to be parsing in JSON
// mode or HCL mode.
func lexMode(v []byte) lexModeValue {
var (
r rune
w int
offset int
)
... | {
"pile_set_name": "Github"
} |
# Copyright 2017 The TensorFlow Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applica... | {
"pile_set_name": "Github"
} |
git-sh
======
A customized bash shell suitable for git work.
The `git-sh` command starts an interactive bash shell tweaked for heavy git
interaction:
* All git commands available at top-level
(`checkout master` = `git checkout master`)
* All git aliases defined in the `[alias]` section
of `~/.gitconfig` ... | {
"pile_set_name": "Github"
} |
/*-------------------------------------------------------------------------
*
* varchar.c
* Functions for the built-in types char(n) and varchar(n).
*
* Portions Copyright (c) 1996-2010, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
*
* IDENTIFIC... | {
"pile_set_name": "Github"
} |
// Copyright 2014 the V8 project authors. 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 ... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="utf-8"?>
<!-- Do not remove this test for UTF-8: if “Ω” doesn’t appear as greek uppercase omega letter enclosed in quotation marks, you should use an editor that supports UTF-8, not this one. -->
<package xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/20... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="UTF-8"?>
<Project>
<ProjectName>D:\3 国际开发板项目\国际开发板例程和说明-3.20更新\Imu\\Imu</ProjectName>
<ProjectNature>C</ProjectNature>
<CMSIS>..\Drivers\CMSIS</CMSIS>
<HAL_... | {
"pile_set_name": "Github"
} |
//! Lists contents of a directory.
//!
//! Run with:
//!
//! ```
//! cargo run --example ls .
//! ```
use std::env;
use std::fs;
use blocking::Unblock;
use futures_lite::*;
fn main() -> io::Result<()> {
let path = env::args().nth(1).unwrap_or(".".into());
future::block_on(async {
let mut dir = Unblo... | {
"pile_set_name": "Github"
} |
// Here you can easily change your sites's layout.
// To give it a try, uncomment some of the lines below, make changes, rebuild your blog, and see how it works.
//$header-font-size: 1em;
//$header-padding-top: 1.5em;
//$header-padding-bottom: 1.5em;
//$max-width: 1350px;
//$indented-lists: true;
// Padding used for... | {
"pile_set_name": "Github"
} |
###############################################################################
# This software is provided 'as-is', without any express or implied
# warranty. In no event will the authors be held liable for any damages
# arising from the use of this software.
#
# Permission is granted to anyone to use this software f... | {
"pile_set_name": "Github"
} |
extends _layout
block content
script(type="text/babel").
class AppComponent extends React.Component {
constructor() {
super();
this.state = {
};
}
render() {
return (
<App>
<View main>
<Page>
<Navbar title="Co... | {
"pile_set_name": "Github"
} |
#N canvas 428 241 811 485 10;
#X declare -path .;
#N canvas 0 22 588 274 LICENSE 0;
#X text 57 36 Released under the GNU General Public License ver. 3
or later. See the file LICENSE.txt for the full text.;
#X text 79 84 (c) 2016 Dan Wilcox;
#X restore 571 80 pd LICENSE;
#X text 27 23 RjDj Scene Template - _main.pd;
#X ... | {
"pile_set_name": "Github"
} |
#
# (C) Copyright 2008
# Ricardo Ribalda,Universidad Autonoma de Madrid, ricardo.ribalda@uam.es
# This work has been supported by: Qtechnology http://qtec.com/
#
# See file CREDITS for list of people who contributed to this
# project.
#
# This program is free software; you can redistribute it and/or
# modify it under t... | {
"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.
// +build !gccgo
// +build arm,darwin
#include "textflag.h"
//
// System call support for ARM, Darwin
//
// Just jump to package syscall's implementation for... | {
"pile_set_name": "Github"
} |
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"idiom" : "universal",
"filename" : "fiveMin078.png",
"scale" : "2x"
},
{
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
} | {
"pile_set_name": "Github"
} |
/***********************************************************************
* Software License Agreement (BSD License)
*
* Copyright 2008-2009 Marius Muja (mariusm@cs.ubc.ca). All rights reserved.
* Copyright 2008-2009 David G. Lowe (lowe@cs.ubc.ca). All rights reserved.
*
* THE BSD LICENSE
*
* Redistribution an... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="windows-1250"?>
<COMPOSED_WIDGET>
<TITLE value="Composed document over Foodmart" style="font-weight:bold; font-family: Verdana; font-size: 16px;"/>
<DOCUMENTS>
<DOCUMENT label="mobile_tbl_4_comp" width="50%" height="100%"/>
<DOCUMENT label="mobile_line_4_comp" width="48%" height... | {
"pile_set_name": "Github"
} |
import { globalStore } from './stores/global';
import {get, isEmpty} from 'lodash';
import zhCN from './i18n/zh';
import en from './i18n/en';
export const BUILD_VERSION = process.env.REACT_APP_BUILD_VERSION as string;
export const t = (name: string, options?: any): string => {
const lang = globalStore.state.languag... | {
"pile_set_name": "Github"
} |
using System;
namespace Renci.SshNet.Messages.Authentication
{
/// <summary>
/// Represents SSH_MSG_USERAUTH_FAILURE message.
/// </summary>
[Message("SSH_MSG_USERAUTH_FAILURE", 51)]
public class FailureMessage : Message
{
/// <summary>
/// Gets or sets the allowed authenticati... | {
"pile_set_name": "Github"
} |
/*----------------------
Copyright (C): OpenGATE Collaboration
This software is distributed under the terms
of the GNU Lesser General Public Licence (LGPL)
See LICENSE.md for further details
----------------------*/
#ifndef GatePETScannerSystem_h
#define GatePETScannerSystem_h 1
#include "globals.hh"
#include ... | {
"pile_set_name": "Github"
} |
/*
*
* ZDKDictionaryCreatable.h
* ZendeskSDK
*
* Created by Zendesk on 25/07/2016.
*
* Copyright (c) 2016 Zendesk. All rights reserved.
*
* By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master
* Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-... | {
"pile_set_name": "Github"
} |
.\" $Darwin$
.\"
.\" Copyright (c) 2000-2002 Apple Computer, Inc. All rights reserved.
.\"
.\" @APPLE_LICENSE_HEADER_START@
.\"
.\" The contents of this file constitute Original Code as defined in and
.\" are subject to the Apple Public Source License Version 1.1 (the
.\" "License"). You may not use this file except ... | {
"pile_set_name": "Github"
} |
layer at (0,0) size 800x600
RenderView at (0,0) size 800x600
layer at (0,0) size 800x50
RenderBlock {HTML} at (0,0) size 800x50
RenderBody {BODY} at (8,16) size 784x18
RenderBlock {P} at (0,0) size 784x18 [color=#008000]
RenderText {#text} at (0,0) size 136x18
text run at (0,0) width 136... | {
"pile_set_name": "Github"
} |
<?php
namespace PayPal\Exception;
class PPConnectionException extends \Exception
{
/**
* The url that was being connected to when the exception occured
* @var string
*/
private $url;
/**
* Any response data that was returned by the server
* @var string
*/
private $data;
public function __construct($... | {
"pile_set_name": "Github"
} |
//
// RssFeedProvider.swift
// iTorrent
//
// Created by Daniil Vinogradov on 07.06.2020.
// Copyright © 2020 XITRIX. All rights reserved.
//
import Foundation
import SwiftyXMLParser
class RssFeedProvider {
enum RssError: LocalizedError {
case unknown
case wrongUrl
case feedExists
... | {
"pile_set_name": "Github"
} |
LIBRARY
; zlib data compression and ZIP file I/O library
VERSION 1.2
EXPORTS
adler32 @1
compress @2
crc32 @3
deflate @4
deflateCopy ... | {
"pile_set_name": "Github"
} |
#!/bin/bash
# Copyright (c) 2014 Intel Corporation. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
#
# stolen from https://github.com/crosswalk-project/tizen-extensions-crosswalk
if [ ! `which cpplint.py` ]; then
echo -en "\nPlease make sur... | {
"pile_set_name": "Github"
} |
<?php
// autoload_namespaces.php @generated by Composer
$vendorDir = dirname(dirname(__FILE__));
$baseDir = dirname($vendorDir);
return array(
);
| {
"pile_set_name": "Github"
} |
/*
* Copyright (C) 2009 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | {
"pile_set_name": "Github"
} |
from collections import deque
class Graph(object):
def __init__(self):
self.graph = {}
def get(self, label):
if label not in self.graph:
self.graph[label] = GraphNode(label)
return self.graph[label]
def query(self, node1, node2):
g = self.graph
if len(node1.nbrs) == 0 or len(node2.nb... | {
"pile_set_name": "Github"
} |
syntax(2)
test_suite('bind9')
tap_test_program{name='duration_test'}
tap_test_program{name='parser_test'}
| {
"pile_set_name": "Github"
} |
from conans import ConanFile, tools
import os
class GreatestConan(ConanFile):
name = "greatest"
description = "A C testing library in 1 file. No dependencies, no dynamic allocation."
license = "ISC"
url = "https://github.com/conan-io/conan-center-index"
homepage = "https://github.com/silentbicycle... | {
"pile_set_name": "Github"
} |
/*
*
* Copyright 2020 Netflix, 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
*
* Unless required by ap... | {
"pile_set_name": "Github"
} |
{% extends "base.html" %}{% load i18n %}
{% block content %}
<div class="container">
<div class="page-header">
<h3>
<i class="icon-desktop icon-2x pull-left icon-muted"></i>
<a href="{% url 'view_project' project.name %}">{{ project.name }}</a>
<span class="div... | {
"pile_set_name": "Github"
} |
/**
* FileService_PortType.java
* <p>
* This file was auto-generated from WSDL
* by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
*/
package org.javaweb.codereview.axis.client;
public interface FileService_PortType extends java.rmi.Remote {
public java.lang.String readFile(java.lang.String... | {
"pile_set_name": "Github"
} |
// +build js
package runewidth
func IsEastAsian() bool {
// TODO: Implement this for the web. Detect east asian in a compatible way, and return true.
return false
}
| {
"pile_set_name": "Github"
} |
package main
import "testing"
func TestLengthOfLastWord(t *testing.T) {
cases := [][]interface{}{
{"Hello World", 5},
{" Hello World s ", 1},
{" Hello World ", 5},
{"a", 1},
{"aaaaaa", 6},
{" a", 1},
{"a ", 1},
{" ", 0},
{" ", 0},
}
for _, c := range cases {
in, expect := c[0].(strin... | {
"pile_set_name": "Github"
} |
// Copyright (c) rubicon IT GmbH, www.rubicon.eu
//
// See the NOTICE file distributed with this work for additional information
// regarding copyright ownership. rubicon licenses this file to you under
// the Apache License, Version 2.0 (the "License"); you may not use this
// file except in compliance with th... | {
"pile_set_name": "Github"
} |
#%%
# -*- coding: utf-8 -*-
"""
============================================
Convolutional Wasserstein Barycenter example
============================================
This example is designed to illustrate how the Convolutional Wasserstein Barycenter
function of POT works.
"""
# Author: Nicolas Courty <ncourty@irisa... | {
"pile_set_name": "Github"
} |
#
# Phonet protocol
#
config PHONET
tristate "Phonet protocols family"
help
The Phone Network protocol (PhoNet) is a packet-oriented
communication protocol developed by Nokia for use with its modems.
This is required for Maemo to use cellular data connectivity (if
supported). It can also be used to cont... | {
"pile_set_name": "Github"
} |
/*
* This library is part of OpenCms -
* the Open Source Content Management System
*
* Copyright (c) Alkacon Software GmbH & Co. KG (http://www.alkacon.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 th... | {
"pile_set_name": "Github"
} |
/** Copyright (C) 2008-2011 Josh Ventura
*** Copyright (C) 2014 Robert B. Colton
*** This file is a part of the ENIGMA Development Environment.
***
*** ENIGMA 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... | {
"pile_set_name": "Github"
} |
# RCSid $Id: symbols.met,v 1.1 2015/10/12 20:10:50 greg Exp $
O 0 `triangle
l 100 0 0 16383 0
l 0 0 0 8192 16383
l 100 8192 0 16383 16383
C 200
O 0 `square
l 100 0 0 16383 0
l 0 0 0 0 16383
l 100 0 16383 16383 16383
l 0 16383 0 16383 16383
C 20... | {
"pile_set_name": "Github"
} |
/*
* JBoss, Home of Professional Open Source.
* Copyright 2012, Red Hat Middleware LLC, and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of individual contributors.
*
* This is free software; you can redistribute it and/or modify i... | {
"pile_set_name": "Github"
} |
.TH ZLIB 3 "28 Apr 2013"
.SH NAME
zlib \- compression/decompression library
.SH SYNOPSIS
[see
.I zlib.h
for full description]
.SH DESCRIPTION
The
.I zlib
library is a general purpose data compression library.
The code is thread safe, assuming that the standard library functions
used are thread safe, such as memory allo... | {
"pile_set_name": "Github"
} |
// Copyright 2010 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 html implements an HTML5-compliant tokenizer and parser.
Tokenization is done by creating a Tokenizer for an io.Reader r. It is the
caller's respons... | {
"pile_set_name": "Github"
} |
/*
* Copyright 2014 - 2020 Blazebit.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | {
"pile_set_name": "Github"
} |
#! /bin/bash
id=$(pidof python)
kill $id | {
"pile_set_name": "Github"
} |
# Licensed to the StackStorm, Inc ('StackStorm') 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 use th... | {
"pile_set_name": "Github"
} |
{
"basepath" : "stackWindow/",
"images" :
[
{ "frame" : 0, "file" : "level-0.png"},
{ "frame" : 1, "file" : "level-1.png"},
{ "frame" : 2, "file" : "level-2.png"},
{ "frame" : 3, "file" : "level-3.png"},
{ "frame" : 4, "file" : "level-4.png"},
{ "frame" : 5, "file" : "level-5.png"},
{ "frame" : 6, "fil... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
... | {
"pile_set_name": "Github"
} |
{
"compilerOptions": {
"rootDir": ".",
"sourceMap": true,
"declaration": false,
"moduleResolution": "node",
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"importHelpers": true,
"target": "es2015",
"module": "commonjs",
"typeRoots": ["node_modules/@types"],
... | {
"pile_set_name": "Github"
} |
/*******************************************************************************
* Copyright (c) 2015 Pivotal, Inc.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
*... | {
"pile_set_name": "Github"
} |
package org.dataalgorithms.chap04.mapreduce;
import org.apache.hadoop.mapreduce.Mapper;
import org.apache.hadoop.io.Text;
import java.io.IOException;
/**
* This is an identity mapper.
* LocationCountMapper implements the map() function for counting locations.
*
* @author Mahmoud Parsian
*
*/
public class Locat... | {
"pile_set_name": "Github"
} |
var convert = require('./convert'),
func = convert('toIterator', require('../toIterator'), require('./_falseOptions'));
func.placeholder = require('./placeholder');
module.exports = func;
| {
"pile_set_name": "Github"
} |
# Client Type: author
# Information for connecting to the source content
serverUsername : '<username>'
serverPassword : '<password>'
serverScheme : http
serverHost : some.other.server
serverPort : 4502
deltaContent : true # default for all the paths
# A reference to the standard set of workfl... | {
"pile_set_name": "Github"
} |
<?php
/**
* @link http://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license http://www.yiiframework.com/license/
*/
use yii\base\InvalidConfigException;
use yii\rbac\DbManager;
/**
* Initializes RBAC tables.
*
* @author Alexander Kochetov <creocoder@gmail.com>
* @since 2.0
*/
c... | {
"pile_set_name": "Github"
} |
page-font {
.desc, .detail {
line-height: 1.6rem;
}
.desc {
padding-top: 0 !important;
padding-bottom: 0 !important;
color: #555;
}
.detail {
color: #888;
position: relative;
top: -30px;
}
}
| {
"pile_set_name": "Github"
} |
// (C) Copyright Edward Diener 2011-2015
// Use, modification and distribution are subject to 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).
#if !defined(BOOST_VMD_DETAIL_EQUAL_13_HPP)
#define BOOST_VMD_DETAIL_EQUAL_13_HPP
#... | {
"pile_set_name": "Github"
} |
---
http_interactions:
- request:
method: get
uri: http://ps.pndsn.com/v2/auth/grant/sub-key/sub-a-mock-key?auth=ruby-authkey&channel=demo&pnsdk=PubNub-Ruby/4.1.0&r=1&signature=7gGLRer2n3KIh5vXQGKDLdOVuRshluFOD9OyQG8m5tk=×tamp=1464192470&ttl=1440&uuid=ruby-test-uuid-client-one&w=0
body:
encoding:... | {
"pile_set_name": "Github"
} |
// +build linux
package libcontainer
import (
"encoding/json"
"fmt"
"io"
"net"
"os"
"strings"
"syscall" // only for Errno
"unsafe"
"golang.org/x/sys/unix"
"github.com/containerd/console"
"github.com/opencontainers/runc/libcontainer/cgroups"
"github.com/opencontainers/runc/libcontainer/configs"
"github.... | {
"pile_set_name": "Github"
} |
package org.ripple.bouncycastle.asn1.cms;
import org.ripple.bouncycastle.asn1.ASN1EncodableVector;
import org.ripple.bouncycastle.asn1.ASN1Integer;
import org.ripple.bouncycastle.asn1.ASN1Object;
import org.ripple.bouncycastle.asn1.ASN1OctetString;
import org.ripple.bouncycastle.asn1.ASN1Primitive;
import org.ripple.b... | {
"pile_set_name": "Github"
} |
//
// JSONToViolationParser.swift
// Swetler
//
// Created by Seremet Mihai on 11/3/15.
// Copyright © 2015 Yopeso. All rights reserved.
//
import Foundation
import TaylorFramework
class JSONToViolationParser {
func parseFile(_ filePath: String) -> [[String:AnyObject]] {
guard filePath.lastPathCo... | {
"pile_set_name": "Github"
} |
#ifndef __M_FIXED_H__
#define __M_FIXED_H__
#ifdef FIXEDPOINT
typedef int t_sample;
#endif
#define t_fixed int
#define fix1 18 /* (18) number of bits after comma */
#define fixfac ((float)(1<<fix1)) /* float factor (for scaling ftofix ..) */
/* fixed point multiplication and division */
#define mult(a,b) (long... | {
"pile_set_name": "Github"
} |
// This package provides immutable UUID structs and the functions
// NewV3, NewV4, NewV5 and Parse() for generating versions 3, 4
// and 5 UUIDs as specified in RFC 4122.
//
// Copyright (C) 2011 by Krzysztof Kowalik <chris@nu7hat.ch>
package uuid
import (
"crypto/md5"
"crypto/rand"
"crypto/sha1"
"encoding/hex"
"... | {
"pile_set_name": "Github"
} |
/* Generated by RuntimeBrowser.
*/
@protocol ATSocketDelegate <NSObject>
@required
- (void)socket:(ATSocket *)arg1 hasDataAvailable:(const char *)arg2 length:(long long)arg3;
- (void)socketDidClose:(ATSocket *)arg1;
@end
| {
"pile_set_name": "Github"
} |
type: Secret
name: sample
mesh: default
data: dGVzdAo=
| {
"pile_set_name": "Github"
} |
// Boost.Geometry (aka GGL, Generic Geometry Library)
// Copyright (c) 2007-2012 Barend Gehrels, Amsterdam, the Netherlands.
// Copyright (c) 2013 Adam Wulkiewicz, Lodz, Poland
// Use, modification and distribution is subject to the Boost Software License,
// Version 1.0. (See accompanying file LICENSE_1_0.txt ... | {
"pile_set_name": "Github"
} |
/*
* Copyright (c) 2009-2010 jMonkeyEngine
* 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"
} |
<h1><img src="<?= base_url('assets/imgs/brands.jpg') ?>" class="header-img" style="margin-top:-3px;"> Brands</h1>
<hr>
<div class="row">
<div class="col-sm-6 col-md-4">
<a href="javascript:void(0);" data-toggle="modal" data-target="#addPage" class="btn btn-default" style="margin-bottom:10px;">Add brand<... | {
"pile_set_name": "Github"
} |
{
"name": "Xinzhong Zhai",
"displayName": "Xinzhong Zhai",
"properties": [
"videograbber.net"
]
} | {
"pile_set_name": "Github"
} |
// Koch Curve
// Daniel Shiffman <http://www.shiffman.net>
// Nature of Code, Chapter 8
// Renders a simple fractal, the Koch snowflake
// Each recursive level drawn in sequence
KochFractal k;
void setup() {
size(800,250);
background(255);
//frameRate(1); // Animate slowly
k = new KochFractal();
smooth();... | {
"pile_set_name": "Github"
} |
<!DOCTYPE html>
<html class="reftest-wait">
<head>
<style type="text/css">
#parent {
height: 100px;
background-color: lightgreen;
}
#last-child {
display: none;
height: 140px;
margin-bottom: 20px;
background-color: green;
}
#separator {
height: 20px;
background-color: blue;
}
</style>
<script type="text/javascr... | {
"pile_set_name": "Github"
} |
=begin
This file is part of Hopsworks
Copyright (C) 2018, Logical Clocks AB. All rights reserved
Hopsworks 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 ... | {
"pile_set_name": "Github"
} |
// Copyright 2009 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// +build !gccgo
#include "textflag.h"
//
// System call support for 386, NetBSD
//
// Just jump to package syscall's implementation for all these functions.... | {
"pile_set_name": "Github"
} |
#! /module/for/moderni/sh
\command unalias shellquote shellquoteparams _Msh_qV_PP _Msh_qV_R _Msh_qV_dblQuote _Msh_qV_sngQuote _Msh_qV_sngQuote_do1fld 2>/dev/null
# var/shellquote: efficient, fast, safe and portable shell-quoting algorithm.
#
# ___ shellquote ____________________________________________________________... | {
"pile_set_name": "Github"
} |
#aws iam role for host -same account queries
resource "aws_iam_role" "bastion_service_role" {
name = var.service_name == "bastion-service" ? format(
"%s-%s-%s_bastion",
var.environment_name,
data.aws_region.current.name,
var.vpc,
) : var.service_name
count = local.assume_role_no
as... | {
"pile_set_name": "Github"
} |
const functions = require('firebase-functions');
const admin = require('firebase-admin');
admin.initializeApp(functions.config().firebase);
exports.sendNotification = functions.https.onRequest((request, response) => {
var params = request.query;
var to = params.to;
var text = params.text || 'Your command is co... | {
"pile_set_name": "Github"
} |
package com.github.unidbg.linux.file;
import com.github.unidbg.Emulator;
import com.github.unidbg.file.linux.BaseAndroidFileIO;
import com.github.unidbg.file.linux.StatStructure;
import com.github.unidbg.unix.IO;
import com.github.unidbg.utils.Inspector;
import com.sun.jna.Pointer;
import org.apache.commons.logging.Lo... | {
"pile_set_name": "Github"
} |
<p align="center">
<a href="https://getbootstrap.com/">
<img src="https://getbootstrap.com/docs/4.1/assets/brand/bootstrap-solid.svg" alt="Bootstrap logo" width=72 height=72>
</a>
<h3 align="center">Bootstrap</h3>
<p align="center">
Sleek, intuitive, and powerful front-end framework for faster and eas... | {
"pile_set_name": "Github"
} |
raptor.png
size: 1024,512
format: RGBA8888
filter: Linear,Linear
repeat: none
back-arm
rotate: false
xy: 895, 295
size: 46, 25
orig: 46, 25
offset: 0, 0
index: -1
back-bracer
rotate: true
xy: 992, 216
size: 39, 28
orig: 39, 28
offset: 0, 0
index: -1
back-hand
rotate: false
xy: 594, 58
siz... | {
"pile_set_name": "Github"
} |
/*! Jupyter: Railscasts */
/* https://github.com/StylishThemes/Syntax-Themes/blob/master/pygments/css-github/pygments-railscasts.css */
#notebook div.output_stderr { background: #600 !important; }
#notebook .input_area:not(.highlight), body.api pre,
:is(#notebook, body.api) .highlight,
:is(#notebook, body.api) .highlig... | {
"pile_set_name": "Github"
} |
cheats = 17
cheat0_desc = "Max Money in Garage"
cheat0_code = "920A4F00+00000100+020F5984+05F5E0FF+D2000000+00000000"
cheat0_enable = false
cheat1_desc = "Low Time"
cheat1_code = "920A334C+00000001+620BD75C+00000000+B20BD75C+00000000+000000C4+00000000+D2000000+00000000"
cheat1_enable = false
cheat2_desc = "Infinite ... | {
"pile_set_name": "Github"
} |
# frozen_string_literal: true
module Shared
module ZeroBased
def setup
(1..4).each { |counter| ZeroBasedMixin.create! pos: counter, parent_id: 5 }
end
def test_insert
new = ZeroBasedMixin.create(parent_id: 20)
assert_equal 0, new.pos
assert new.first?
assert new.last?
... | {
"pile_set_name": "Github"
} |
#include "Precompile.h"
#include "RenderingGL.h"
#include "RenderingGL/GLConstantBuffer.h"
#include "GL/glew.h"
using namespace Helium;
/// Constructor.
///
/// @param[in] pData Constant buffer data allocated using DefaultAllocator. This object will assume
/// ownership of the bu... | {
"pile_set_name": "Github"
} |
/*
* Ample SDK - JavaScript GUI Framework
*
* Copyright (c) 2012 Sergey Ilinsky
* Dual licensed under the MIT and GPL licenses.
* See: http://www.amplesdk.com/about/licensing/
*
*/
var cXHTMLElement_basefont = function(){};
cXHTMLElement_basefont.prototype = new cXHTMLElement("basefont");
// Regist... | {
"pile_set_name": "Github"
} |
fileFormatVersion: 2
guid: c8507b8cd1bfd6e49a30370cb7afd1cc
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
| {
"pile_set_name": "Github"
} |
// © 2016 and later: Unicode, Inc. and others.
// License & terms of use: http://www.unicode.org/copyright.html
/**
*******************************************************************************
* Copyright (C) 2006-2014, International Business Machines Corporation *
* and others. All Rights Reserved. ... | {
"pile_set_name": "Github"
} |
//
// APCSetupTableViewCell.m
// APCAppCore
//
// Copyright (c) 2015, 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 ... | {
"pile_set_name": "Github"
} |
/*
Railscasts-like style (c) Visoft, Inc. (Damien White)
*/
.hljs {
display: block;
padding: 0.5em;
background: #232323;
color: #E6E1DC;
}
.hljs-comment,
.hljs-template_comment,
.hljs-javadoc,
.hljs-shebang {
color: #BC9458;
font-style: italic;
}
.hljs-keyword,
.ruby .hljs-functio... | {
"pile_set_name": "Github"
} |
/*
* Syncany, www.syncany.org
* Copyright (C) 2011-2016 Philipp C. Heckel <philipp.heckel@gmail.com>
*
* 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
... | {
"pile_set_name": "Github"
} |
/*
Copyright (c) 2012, Yahoo! Inc. All rights reserved.
Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.
*/
//EXPERIMENTAL code: do not rely on this in anyway until the docs say it is allowed
var path = require('path'),
yuiRegexp = /yui-nodejs\.js$/;
module.exports ... | {
"pile_set_name": "Github"
} |
FROM debian:buster-slim AS base
FROM base AS build
ARG VERSION=1.0
ARG DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install -y --no-install-recommends \
autoconf \
automake \
build-essential \
ca-certificates \
curl \
libflac++-dev \
libfuse-dev \
libid3tag0-dev \
... | {
"pile_set_name": "Github"
} |
# Run this TCL script using "testfixture" to get a report that shows
# the sequence of database pages used by a particular table or index.
# This information is used for fragmentation analysis.
#
# Get the name of the database to analyze
#
if {[llength $argv]!=2} {
puts stderr "Usage: $argv0 database-name table-or-... | {
"pile_set_name": "Github"
} |
# #023 2017-02-13: RegExr.com embed script
You want to embed regexr.com snippets? I build a gist like regexr.com embed script.
Example usage:
```html
<script src="https://goo.gl/xuwBhc" data-id="3f9da"></script>
```
Demo:
<https://codebrauer.github.io/27daysofcode/023_2017-02-13_JS_RegExr-Embed/> | {
"pile_set_name": "Github"
} |
{{define "users/show"}}
<div class="row">
<div class="col-md-12 col-xd-12">
<div class="media">
<a href="{{.User.ImagesRoute}}" class="pull-left">
<img src="{{.User.AvatarURL}}" alt="{{.User.Username}}">
</a>
<div class="media-body">
<h1 class="media-heading">
{{.User.Username}}
{{if eq .U... | {
"pile_set_name": "Github"
} |
using System.Diagnostics.CodeAnalysis;
using System.Runtime.InteropServices;
namespace OpenVIII.Battle.Dat
{
[StructLayout(LayoutKind.Explicit, Pack = 1, Size = 2)]
[SuppressMessage("ReSharper", "UnusedMember.Global")]
public struct Magic
{
[field: FieldOffset(0)]
public readonly byte ... | {
"pile_set_name": "Github"
} |
K 13
svn:mime-type
V 24
application/octet-stream
END
| {
"pile_set_name": "Github"
} |
{
"network": [
[
"probeNetwork - default - end",
0,
0
],
[
"probeNetwork - default - start",
0,
0
]
],
"gfx": [
[
"probeGFX - default - end",
4,
15,
... | {
"pile_set_name": "Github"
} |
FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/AMBTableViewController"
GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks'
OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/AMBTableV... | {
"pile_set_name": "Github"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.