text stringlengths 2 99.9k | meta dict |
|---|---|
package com.balsikandar.crashreporter.sample;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import com.balsikandar.crashreporter.CrashReporter;
import com.balsikandar.crashreporter.ui.CrashReporterAct... | {
"pile_set_name": "Github"
} |
/*
* allocator.cpp: custom allocator for search layers
*
* Author: Henry Daly, 2018
*
*/
/**
* Module Overview:
*
* This is a custom allocator to process allocation requests for NUMASK. It services
* index and intermediate layer node allocation requests. We deploy one instance per NUMA
* zone. The inherent l... | {
"pile_set_name": "Github"
} |
<?php
use PayPal\PayPalAPI\BAUpdateRequestType;
use PayPal\PayPalAPI\BillAgreementUpdateReq;
use PayPal\Service\PayPalAPIInterfaceServiceService;
require_once('../PPBootStrap.php');
/*
* update billing agreement
*/
$BAUpdateRequest = new BAUpdateRequestType($_REQUEST['referenceID']);
$BAUpdateRequest->BillingAgreemen... | {
"pile_set_name": "Github"
} |
package epic.features
import breeze.linalg.Counter
import breeze.util.{Encoder, Index}
import epic.framework.Feature
import scala.collection.immutable
/**
*
*
* @author dlwh
**/
class TransformedWordFeaturizer[W](initCounts: Counter[W, Double],
transform: W=>W,
... | {
"pile_set_name": "Github"
} |
/*
* Copyright 2012-2019 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | {
"pile_set_name": "Github"
} |
// Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_UI_SYNC_BROWSER_SYNCED_WINDOW_DELEGATES_GETTER_H_
#define CHROME_BROWSER_UI_SYNC_BROWSER_SYNCED_WINDOW_DELEGATES_GETTER_H_
#includ... | {
"pile_set_name": "Github"
} |
<component name="libraryTable">
<library name="Maven: net.minidev:accessors-smart:1.2">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/net/minidev/accessors-smart/1.2/accessors-smart-1.2.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$MAVEN_REPOSITORY$/net/minidev/accessors-smart/1.2/accessors... | {
"pile_set_name": "Github"
} |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using src.Models;
namespace src.Controllers
{
public class HomeController : Controller
{
public IActionResult Index()
{
return ... | {
"pile_set_name": "Github"
} |
# Copyright (C) 2001-2006 Python Software Foundation
# Author: Anthony Baxter
# Contact: email-sig@python.org
"""Class representing audio/* type MIME documents."""
__all__ = ['MIMEAudio']
import sndhdr
from cStringIO import StringIO
from email import encoders
from email.mime.nonmultipart import MIMENonMultipart
... | {
"pile_set_name": "Github"
} |
package main
import (
"fmt"
"sync"
"time"
"gopnik"
"gopnikrpc"
"perflog"
)
type coordinator struct {
addrs []string
timeout time.Duration
connsWg sync.WaitGroup
tasks *plan
results chan perflog.PerfLogEntry
nodeQueueSize int
connStatuses map[string]bool
connSta... | {
"pile_set_name": "Github"
} |
/**
* @fileoverview JSLint XML reporter
* @author Ian Christian Myers
*/
"use strict";
const xmlEscape = require("../xml-escape");
//------------------------------------------------------------------------------
// Public Interface
//------------------------------------------------------------------------------
m... | {
"pile_set_name": "Github"
} |
const tabs = require("sdk/tabs");
const config = require("sdk/simple-prefs");
const prefs = config.prefs;
const windows = require("sdk/windows").browserWindows;
var option = require("./option");
var Toggle = require("./button");
exports.init = function(goobserver) {
var toggle = new Toggle(prefs);
if(prefs.is... | {
"pile_set_name": "Github"
} |
---
title: "Upgrading to Riak KV 2.0"
description: ""
project: "riak_kv"
project_version: "2.0.6"
menu:
riak_kv-2.0.6:
name: "Upgrading to 2.0"
identifier: "upgrading_version"
weight: 101
parent: "upgrading"
toc: true
aliases:
- /riak/2.0.6/upgrade-v20/
---
When upgrading to Riak 2.0 from an earlie... | {
"pile_set_name": "Github"
} |
package org.tests.cache;
import io.ebean.BaseTestCase;
import io.ebean.Ebean;
import org.junit.Test;
import org.tests.model.basic.OCachedBean;
import org.tests.model.basic.OCachedBeanChild;
import static org.junit.Assert.assertEquals;
/**
* Test class testing deleting/invalidating of cached beans
*/
public class T... | {
"pile_set_name": "Github"
} |
Testing X queries
Mrv1722703051710352D
7 7 0 0 0 0 999 V2000
4.4643 2.9456 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
3.7498 2.5330 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
3.7498 1.7080 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
4.4643 1.2955 0.00... | {
"pile_set_name": "Github"
} |
<!doctype html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Create Portable Globes and Maps — Google Earth Enterprise 5.3.3 documentation</title>
<link r... | {
"pile_set_name": "Github"
} |
var error = require('@prairielearn/prairielib/error');
module.exports = function(req, res, next) {
if (!res.locals.is_administrator) {
return next(error.make(403, 'Requires administrator privileges', {locals: res.locals}));
}
next();
};
| {
"pile_set_name": "Github"
} |
(function () {
var Testem = window.Testem
var regex = /^((?:not )?ok) (\d+) (.+)$/
Testem.useCustomAdapter(tapAdapter)
function tapAdapter(socket){
var results = {
failed: 0
, passed: 0
, total: 0
, tests: []
}
socket.emit('tests... | {
"pile_set_name": "Github"
} |
/* Block out what is behind the fixed column's header and footer */
table.DTFC_Cloned thead,
table.DTFC_Cloned tfoot {
background-color: white;
}
/* Block out the gap above the scrollbar on the right, when there is a fixed
* right column
*/
div.DTFC_Blocker {
background-color: white;
}
div.DTFC_LeftWrapper tabl... | {
"pile_set_name": "Github"
} |
#include "om.hpp"
#include "om/code_point.hpp"
#include "om/copyable.hpp"
#include "om/default_copyable.hpp"
#include "om/default_giveable.hpp"
#include "om/default_moveable.hpp"
#include "om/giveable.hpp"
#include "om/language.hpp"
#include "om/list.hpp"
#include "om/macro.hpp"
#include "om/moveable.hpp"
#i... | {
"pile_set_name": "Github"
} |
#include <cstdio>
#include <algorithm>
#include <queue>
#include <map>
using namespace std;
struct job{
int a,b,d;
job(){}
bool operator < (job X)const{
if(d != X.d) return d < X.d;
return a > X.a;
}
}J[100000];
double eps = 1e-10;
int main(){
int T... | {
"pile_set_name": "Github"
} |
/*
* Copyright (c) 2017 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contribut... | {
"pile_set_name": "Github"
} |
package constx
// msgid
const (
MsgConnectReq = 101
MsgNodeHeartBeatResp = 1001
MsgTestStepUpdateResp = 1002
MsgWorkerHeartBeatResp = 1003
)
// mode
const (
ModeSingle = "single"
ModeMultiple = "multiple"
)
| {
"pile_set_name": "Github"
} |
a1ee087329ef524229a8eb3dadc33265a0d30288
| {
"pile_set_name": "Github"
} |
Warning: No rules/facts defined for relation D in file union_types.dl at line 18
.decl D (i:three)
------^-----------
Error: Atom's argument type is not a subtype of its declared type in file union_types.dl at line 33
G(X) :- E(X). // error
--^--------------------
The argument's declared type is one in file union_types... | {
"pile_set_name": "Github"
} |
""" Python Character Mapping Codec iso8859_5 generated from 'MAPPINGS/ISO8859/8859-5.TXT' with gencodec.py.
"""#"
import codecs
### Codec APIs
class Codec(codecs.Codec):
def encode(self,input,errors='strict'):
return codecs.charmap_encode(input,errors,encoding_table)
def decode(self,input,errors='... | {
"pile_set_name": "Github"
} |
// Copyright (c) 2012, Rasmus Andersson. All rights reserved. Use of this source
// code is governed by a MIT-style license that can be found in the LICENSE file.
// Expressions
#ifndef HUE__AST_EXPRESSION_H
#define HUE__AST_EXPRESSION_H
#include "Node.h"
#include "Type.h"
#include "Variable.h"
#include "../Logger.h"... | {
"pile_set_name": "Github"
} |
/*
* Copyright (c) 2009-2020 Weasis Team and other contributors.
*
* This program and the accompanying materials are made available under the terms of the Eclipse
* Public License 2.0 which is available at http://www.eclipse.org/legal/epl-2.0.
*
* SPDX-License-Identifier: EPL-2.0
*/
package org.weasis.dicom.exp... | {
"pile_set_name": "Github"
} |
// * ———————————————————————————————————————————————————————— * //
// * Enduro Admin Security
// * ———————————————————————————————————————————————————————— * //
const admin_security = function () {}
// * vendor dependencies
const Promise = require('bluebird')
const crypto = require('crypto')
// * enduro dependencies... | {
"pile_set_name": "Github"
} |
// Greenplum Database
// Copyright (C) 2012 EMC Corp.
//
// Assert operator for runtime checking of constraints. Assert operators have a list
// of constraints to be checked, and corresponding error messages to print in the
// event of constraint violation.
//
// For example:
// clang-format off
//
// +--CPhysicalAss... | {
"pile_set_name": "Github"
} |
# Default values for aws-load-balancer-controller.
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.
replicaCount: 1
image:
repository: amazon/aws-alb-ingress-controller
tag: v2.0.0-rc2
pullPolicy: Always
imagePullSecrets: []
nameOverride: ""
fullnameOverride: ""
# The nam... | {
"pile_set_name": "Github"
} |
<html><head>
<title>GLGE</title>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
<script type="text/javascript" src="../../glge-compiled-min.js"></script>
<style>
body{background-color: #000;color: #fff;font-family:arial}
</style>
</head><body>
<div id="dump"></div>
<div>
<div styl... | {
"pile_set_name": "Github"
} |
/*******************************************************************************
* Copyright 2020 Intel Corporation
*
* 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.o... | {
"pile_set_name": "Github"
} |
// Copyright (c) Facebook, Inc. and its affiliates.
//
// 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 applicabl... | {
"pile_set_name": "Github"
} |
require_relative '../../../spec_helper'
require_relative 'shared/constants'
describe "Digest::SHA512#==" do
it "equals itself" do
cur_digest = Digest::SHA512.new
cur_digest.should == cur_digest
end
it "equals the string representing its hexdigest" do
cur_digest = Digest::SHA512.new
cur_digest.s... | {
"pile_set_name": "Github"
} |
//-----------------------------------------------------------------------------
// Copyright (c) 2013 GarageGames, LLC
//
// 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 restrictio... | {
"pile_set_name": "Github"
} |
package net.i2p.data.i2cp;
/*
* free (adj.): unencumbered; not under the control of others
* Written by jrandom in 2003 and released into the public domain
* with no warranty of any kind, either expressed or implied.
* It probably won't make your computer catch on fire, or eat
* your children, but it might. ... | {
"pile_set_name": "Github"
} |
{
"_args": [
[
"caseless@0.12.0",
"/Users/eshanker/Code/fsevents"
]
],
"_from": "caseless@0.12.0",
"_id": "caseless@0.12.0",
"_inBundle": true,
"_integrity": "sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw=",
"_location": "/fsevents/caseless",
"_phantomChildren": {},
"_requested": {
"type": ... | {
"pile_set_name": "Github"
} |
name=Dragon's Claw
image=https://magiccards.info/scans/en/m12/206.jpg
value=2.385
rarity=U
type=Artifact
cost={2}
ability=Whenever a player casts a red spell, you may gain 1 life.
timing=artifact
oracle=Whenever a player casts a red spell, you may gain 1 life.
| {
"pile_set_name": "Github"
} |
---
Description: Defines the number of the code layer to be generated.
ms.assetid: ad67a6fb-4bb6-4550-a9e9-f5219f3868c6
title: layerNumber element
ms.topic: reference
ms.date: 05/31/2018
---
# layerNumber element
Defines the number of the code layer to be generated.
## Usage
``` syntax
<layerNumber/>
```
## Attrib... | {
"pile_set_name": "Github"
} |
From c7ab998ec52b09d61ec3c0ea62aa07cd26077ea3 Mon Sep 17 00:00:00 2001
From: Romain Naour <romain.naour@smile.fr>
Date: Mon, 3 Jul 2017 14:43:02 +0200
Subject: [PATCH] libunwind-arm: fix build failure due to asm()
The gcc documentation [1] suggest to use __asm__ instead of asm.
Fixes:
http://autobuild.buildroot.net/r... | {
"pile_set_name": "Github"
} |
A message has been posted to the {ForumName} forum at {SiteName}.
Follow this link to reply or see the full conversation: {MessageLink}
You are receiving this message because you indicated that you wanted to be notified of such messages.
If you don't want to be notified when others reply to this post click this link {... | {
"pile_set_name": "Github"
} |
/*
* Copyright 2016 Advanced Micro Devices, Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, m... | {
"pile_set_name": "Github"
} |
<?php
/**
* Magento
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/osl-3.0.php
* If you did not receive a co... | {
"pile_set_name": "Github"
} |
_________________________________________________________________
Copyright and Licensing Information for ACE(TM), TAO(TM), CIAO(TM),
DAnCE(TM), and CoSMIC(TM)
[1]ACE(TM), [2]TAO(TM), [3]CIAO(TM), DAnCE(TM), and [4]CoSMIC(TM)
(henceforth referred to as "DOC software") are copyrighted by
[5]Douglas ... | {
"pile_set_name": "Github"
} |
package logs
import (
"bytes"
"io"
"github.com/litmuschaos/litmus/litmus-portal/cluster-agents/subscriber/pkg/k8s"
v1 "k8s.io/api/core/v1"
"k8s.io/client-go/kubernetes"
)
func GetLogs(podName, namespace, container string) (string, error) {
conf, err := k8s.GetKubeConfig()
podLogOpts := v1.PodLogOptions{}
if... | {
"pile_set_name": "Github"
} |
/*
* Copyright (c) 2000, 2003, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free ... | {
"pile_set_name": "Github"
} |
#ifdef BLOG_CURRENT_CHANNEL
#undef BLOG_CURRENT_CHANNEL
#endif
#define BLOG_CURRENT_CHANNEL BLOG_CHANNEL_ncd_net_ipv4_addr_in_network
| {
"pile_set_name": "Github"
} |
version https://git-lfs.github.com/spec/v1
oid sha256:e126e58442748049e5fee162d4c854d7679e601c0ffc6b5b7ed0ba70ffc93457
size 2401190
| {
"pile_set_name": "Github"
} |
#ifdef __OBJC__
#import <UIKit/UIKit.h>
#endif
| {
"pile_set_name": "Github"
} |
#!/usr/bin/env python
#
# Copyright 2009 Google Inc. All Rights Reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
# met:
#
# * Redistributions of source code must retain the above copyright
# notice, this list of... | {
"pile_set_name": "Github"
} |
FixedPointy
===========
A simple fixed-point math library for C#.
All standard math functions are implemented, with the exception of hyperbolic trig.
Precision can be configured by adjusting the FractionalBits constant in Fix.cs,
ranging from Q9.22 through Q23.8 formats.
Available under MIT license. See LICENSE.txt f... | {
"pile_set_name": "Github"
} |
#!/usr/bin/env python
# coding:utf-8
# author: LandGrey
"""
Copyright (c) 2016-2017 LandGrey (https://github.com/LandGrey/pydictor)
License: GNU GENERAL PUBLIC LICENSE Version 3
"""
from __future__ import unicode_literals
from os.path import isfile
from lib.fun.decorator import magic
from lib.data.data import pyoptio... | {
"pile_set_name": "Github"
} |
# SPDX-License-Identifier: GPL-2.0-only
obj-y += i2s_pll_clock.o
obj-y += pll_clock.o
| {
"pile_set_name": "Github"
} |
Bitcoin Core version 0.9.0 is now available from:
https://bitcoin.org/bin/0.9.0/
This is a new major version release, bringing both new features and
bug fixes.
Please report bugs using the issue tracker at github:
https://github.com/bitcoin/bitcoin/issues
How to Upgrade
--------------
If you are running an ol... | {
"pile_set_name": "Github"
} |
/**
* (C) Copyright 2020 Intel Corporation.
*
* 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... | {
"pile_set_name": "Github"
} |
/*
* Copyright (c) 2006-2009 Erin Catto http://www.box2d.org
*
* 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 for any purpos... | {
"pile_set_name": "Github"
} |
{
"name": "KeenClient",
"version": "3.2.2",
"license": "MIT",
"platforms": {
"ios": null
},
"summary": "Keen iOS client library.",
"homepage": "https://github.com/keenlabs/KeenClient-iOS",
"authors": {
"Daniel Kador": "dan@keen.io"
},
"source": {
"git": "https://github.com/keenlabs/KeenC... | {
"pile_set_name": "Github"
} |
title: DataStax Node.js Driver
summary: DataStax Node.js Driver for Apache Cassandra
theme: datastax
swiftype_drivers: nodejsdrivers
sections:
- title: Features
prefix: /features
type: markdown
files: 'doc/features/**/*.md'
- title: Frequently Asked Questions
prefix: /faq
... | {
"pile_set_name": "Github"
} |
# Copyright (C) 2007, 2011, One Laptop Per Child
# Copyright (C) 2014, Ignacio Rodriguez
#
# 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) ... | {
"pile_set_name": "Github"
} |
/*
Copyright 2013-2014 EditShare, 2013-2015 Skytechnology sp. z o.o.
This file is part of LizardFS.
LizardFS 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, version 3.
LizardFS is distributed ... | {
"pile_set_name": "Github"
} |
export const environment = {
production: true
};
| {
"pile_set_name": "Github"
} |
<!DOCTYPE html>
<html class='reftest-wait'>
<link rel='stylesheet' type='text/css' href='style.css'>
<script>
function loadHandler()
{
document.getElementById('t').removeAttribute('placeholder');
document.getElementById('moz').removeAttribute('placeholder');
document.documentElement.classN... | {
"pile_set_name": "Github"
} |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("My... | {
"pile_set_name": "Github"
} |
fileFormatVersion: 2
guid: a8e5fc2691065574f92a65bac244d4f1
timeCreated: 1504416773
licenseType: Free
NativeFormatImporter:
mainObjectFileID: 2100000
userData:
assetBundleName:
assetBundleVariant:
| {
"pile_set_name": "Github"
} |
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\Ui\Component\Form\Element;
use Magento\Framework\Data\OptionSourceInterface;
use Magento\Framework\View\Element\UiComponent\ContextInterface;
/**
* Base abstract form element.
*
* phpcs:disable... | {
"pile_set_name": "Github"
} |
from __future__ import print_function
import traceback
import dsz
import ops
from util.DSZPyLogger import DSZPyLogger
DEFAULT_LOG = 'OPS'
_debug_enabled = False
_pass_through = {}
def register_passthrough(extype, content):
if (extype not in _pass_through):
_pass_through[extype] = []
tcont... | {
"pile_set_name": "Github"
} |
/*
MIT License
Copyright (c) 2017-2018 MessageKit
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge,... | {
"pile_set_name": "Github"
} |
30.times do |i|
puts "Test case #{i}..."
system "ruby gen.rb > rand.in"
system "./ac < rand.in > right.out"
system "./ana < rand.in > wrong.out"
system "diff right.out wrong.out"
unless $?.success?
break
end
end
system "rm right.out wrong.out" | {
"pile_set_name": "Github"
} |
//
// Generated by class-dump 3.5 (64 bit) (Debug version compiled Oct 25 2017 03:49:04).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2015 by Steve Nygard.
//
#import <SystemUIPlugin/NSMenuExtra.h>
#import "NSMachPortDelegate-Protocol.h"
#import "NSMenuDelegate-Protocol.h"
@class CLKClockExt... | {
"pile_set_name": "Github"
} |
<template>
<div class="entry-title">
<h1 itemprop="title">
<factor-link :path="postLink(post._id)">{{ post.title }}</factor-link>
</h1>
<span
v-if="post.jobLocation"
itemprop="jobLocation"
itemscope
itemtype="http://schema.org/Place"
class="location"
>{{ post.jobLo... | {
"pile_set_name": "Github"
} |
/*
* Copyright (c) 1999, 2017, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free ... | {
"pile_set_name": "Github"
} |
(*
Copyright © 2011, 2012 MLstate
This file is part of Opa.
Opa is free software: you can redistribute it and/or modify it under the
terms of the GNU Affero General Public License, version 3, as published by
the Free Software Foundation.
Opa is distributed in the hope that it will be useful, ... | {
"pile_set_name": "Github"
} |
class UsersController < ApplicationController
def new
@user = User.new
end
def create
@user = User.new(params[:user])
if @user.save
redirect_to root_url, :notice => "Signed up!"
else
render "new"
end
end
end
| {
"pile_set_name": "Github"
} |
{
"type": "Live2D Model Setting",
"name": "33-2017-newyear",
"label": "33",
"model": "33.v2.moc",
"textures": [
"33.1024/closet.default.v2/texture_00.png",
"33.1024/closet.2017.newyear/texture_01.png",
"33.1024/closet.2017.newyear/texture_02.png",
"33.1024/closet.2017.newyear/texture_03.png"
... | {
"pile_set_name": "Github"
} |
{
"name": "ng-boilerplate",
"version": "0.3.2",
"devDependencies": {
"angular": "~1.3.0",
"angular-mocks": "~1.3.0",
"angular-route": "~1.3.0",
"jquery": "latest",
"lodash": "latest",
"FullScreenMario": "git@github.com:blnight/FullScreenMario.git#mario-presentation-game",
"reveal.js": ... | {
"pile_set_name": "Github"
} |
//
// RSEAN8Generator.h
// RSBarcodes
//
// Created by zhangxi on 13-12-26.
// http://zhangxi.me
// Copyright (c) 2013年 P.D.Q. All rights reserved.
//
#import "RSEANGenerator.h"
@interface RSEAN8Generator : RSEANGenerator
@end
| {
"pile_set_name": "Github"
} |
/*CFG Analyzer, version 03/12/2007
A word in the intersection of L(G1) ... L(G2) is, e.g., "cccde" of length 5
*/
var hampiStringVar : 5;
cfg A := B D E ;
cfg B := "a" | "c" | "c" A ;
cfg D := "a" B | "d" | "c" D ;
cfg E := "c" "e" | "d" "e" | "e" ;
reg limit := fix(A, 5);
assert hampiStringVar in limit;
| {
"pile_set_name": "Github"
} |
#include "symbols.h"
const int symbols_nelts = 0;
const struct symbols symbols[] = {{0,0}};
| {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2014 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/license... | {
"pile_set_name": "Github"
} |
/* eslint-env jest */
// mock config for testing
jest.mock('../src/config', () => require('./__mocks__/config'));
// npm packages
const nock = require('nock');
const sinon = require('sinon');
const inquirer = require('inquirer');
// our packages
const {handler: update} = require('../src/commands/update');
const {user... | {
"pile_set_name": "Github"
} |
package ftl.config.android
import com.fasterxml.jackson.annotation.JsonIgnore
import com.fasterxml.jackson.annotation.JsonIgnoreProperties
import com.fasterxml.jackson.annotation.JsonProperty
import ftl.args.yml.AppTestPair
import ftl.args.yml.IYmlKeys
import ftl.args.yml.ymlKeys
import ftl.config.Config
import picocl... | {
"pile_set_name": "Github"
} |
// SPDX-License-Identifier: GPL-2.0
/* Copyright(c) 1999 - 2019 Intel Corporation. */
#include "ixgbe.h"
#ifdef HAVE_IXGBE_DEBUG_FS
#include <linux/debugfs.h>
#include <linux/module.h>
static struct dentry *ixgbe_dbg_root;
static char ixgbe_dbg_reg_ops_buf[256] = "";
/**
* ixgbe_dbg_reg_ops_read - read for reg_op... | {
"pile_set_name": "Github"
} |
open CommonTypes
open Operators
open SourceCode
open SourceCode.WithPos
open Sugartypes
open Utility
(* Import module signatures. *)
module type Pos = SugarConstructorsIntf.Pos
module type SugarConstructorsSig = SugarConstructorsIntf.SugarConstructorsSig
(* Actual implementation of smart constructors... | {
"pile_set_name": "Github"
} |
---
# ===========================================================
# OWASP SAMM2 Security Practice - Operational Management
# ===========================================================
#Link to the model, using its unique identifier
function: 942d679b0c9e41909f8bde728fdb1259
#Unique identifier (GUID) used to refer to ... | {
"pile_set_name": "Github"
} |
/* ioapi.h -- IO base function header for compress/uncompress .zip
part of the MiniZip project - ( http://www.winimage.com/zLibDll/minizip.html )
Copyright (C) 1998-2010 Gilles Vollant (minizip) ( http://www.winimage.com/zLibDll/minizip.html )
Modifications for Zip64 support
Copyright (C... | {
"pile_set_name": "Github"
} |
/*
* Copyright (c) 2016 Network New Technologies 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 appli... | {
"pile_set_name": "Github"
} |
//
// AIStrategyCast.h
// WizardWar
//
// Created by Sean Hess on 8/24/13.
// Copyright (c) 2013 Orbital Labs. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "AITactic.h"
// casts a single kind of spell?
@interface AITCast : NSObject <AITactic>
@property (nonatomic, strong) NSString * spellType... | {
"pile_set_name": "Github"
} |
#ShadowsocksR Droid 协议和混淆插件开发规范v1.0
### ShadowSocksR(下称SSR)插件分为```协议```和```混淆```两种。
####开发步骤
#####准备:
1. 挑选您熟悉的语言:C,C++,Java,Kotlin。
2. 如果使用C/C++则需要利用JNI间接调用。
3. 如果使用Java或Kotlin则可以直接上手了。
#####协议插件:
1. 协议插件应写在com.proxy.shadowsocksr.impl.plugin.proto包下,并继承AbsProtocol类。根据协议类型,类名以Verify或Auth开头,以Protocol结尾。如:AuthSim... | {
"pile_set_name": "Github"
} |
module Rouge
module Lexers
class Perl < RegexLexer
desc "The Perl scripting language (perl.org)"
tag 'perl'
aliases 'pl'
filenames '*.pl', '*.pm'
mimetypes 'text/x-perl', 'application/x-perl'
def self.analyze_text(text)
return 1 if text.shebang? 'perl'
return... | {
"pile_set_name": "Github"
} |
#
# Copyright (C) 2016 AppTik 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 applicable law or agreed to in... | {
"pile_set_name": "Github"
} |
import * as PropTypes from 'prop-types';
import * as React from 'react';
import { IEdge, INode, ITooltip, IZoom } from 'viser-graph';
class Props {}
// tslint:disable-next-line:max-classes-per-file
class SubComponent<T = {}> extends React.Component<Props & T, any> {
public static contextTypes = {
centralizedUpd... | {
"pile_set_name": "Github"
} |
#pragma once
#include "stdafx.h"
#include <Xinput.h>
class Console;
class XInputManager
{
private:
shared_ptr<Console> _console;
vector<shared_ptr<XINPUT_STATE>> _gamePadStates;
vector<uint8_t> _gamePadConnected;
public:
XInputManager(shared_ptr<Console> console);
bool NeedToUpdate();
void UpdateDevi... | {
"pile_set_name": "Github"
} |
@if-sdf = 0
sdf 101, 0
msg -1, -1, -1
pic 0, 4
ex1 1, 1, -1
ex2 -1, -1, -1
goto 2
@death = 1
sdf -1, -1
msg 0, 1, -1
pic 0, 4
ex1 0, 1, -1
ex2 -1, -1, -1
goto -1
@once-disp-msg = 2
sdf 6, 0
msg 2, 3, -1
pic 0, 4
ex1 -1, -1, -1
ex2 -1, -1, -1
goto -1
@block-move = 3
sdf -1, -1
msg -1, -1, -1
pic 0, ... | {
"pile_set_name": "Github"
} |
/**********************************************************************
// @@@ START COPYRIGHT @@@
//
// 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. ... | {
"pile_set_name": "Github"
} |
/*
* Hibernate, Relational Persistence for Idiomatic Java
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
*/
package org.hibernate.envers.internal.entities.mapper.relation.query;
import org.h... | {
"pile_set_name": "Github"
} |
/*
*
* Copyright (c) 2006-2020, Speedment, Inc. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"); You may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at:
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless requi... | {
"pile_set_name": "Github"
} |
/*
* Copyright (C) 2011-2016 OpenDungeons 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 version 3 of the License, or
* (at your option) any later version.
*
* This... | {
"pile_set_name": "Github"
} |
export const bar = 'b ar'
| {
"pile_set_name": "Github"
} |
test: deps
go test -race -v ./...
export IPFS_API ?= v04x.ipfs.io
gx:
go get -u github.com/whyrusleeping/gx
go get -u github.com/whyrusleeping/gx-go
deps: gx
gx --verbose install --global
gx-go rewrite
go get -t ./...
| {
"pile_set_name": "Github"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.