text
stringlengths
2
99.9k
meta
dict
// // Generated by class-dump 3.5 (64 bit). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. // #pragma mark Named Structures struct Argument { void *_field1; unsigned int _field2; unsigned int _field3; unsigned int _field4; unsigned short _field5; uns...
{ "pile_set_name": "Github" }
/* defines.h.in. Generated from configure.ac by autoheader. */ /* Unix definition file for less. -*- C -*- * * This file has 3 sections: * User preferences. * Settings always true on Unix. * Settings automatically determined by configure. * * * * * * * WARNING * * * * * * * If you edit defines.h by hand,...
{ "pile_set_name": "Github" }
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>CFBundleDevelopmentRegion</key> <string>en</string> <key>CFBundleExecutable</key> <string>${EXECUTABLE_NAME}</string> <key>CFBundleIde...
{ "pile_set_name": "Github" }
#import "YOLO.ph" @implementation NSArray (YOLOFlatMap) - (NSArray *(^)(NSArray *(^)(id o)))flatMap { return ^(NSArray *(^block)(id o)){ NSMutableArray *rv = [NSMutableArray new]; for (id o in self) { id m = block(o); if (m) [rv addObjectsFromArray:m]; ...
{ "pile_set_name": "Github" }
import cuid from '../../source/server/index.js'; import test from 'tape'; const { slug } = cuid; const MAX = 1200000; const collisionTest = (fn) => { let i = 0; let ids = {}; let pass = true; while (i < MAX) { let id = fn(); if (!ids[id]) { ids[id] = id; } else { pass = false; ...
{ "pile_set_name": "Github" }
import React, { Component } from 'react'; import * as PropTypes from 'prop-types'; import { Formik, Form, Field } from 'formik'; import { withStyles } from '@material-ui/core/styles'; import Drawer from '@material-ui/core/Drawer'; import Typography from '@material-ui/core/Typography'; import Button from '@material-ui/c...
{ "pile_set_name": "Github" }
/** * Solarized Dark theme for reveal.js. * Author: Achim Staebler */ // Default mixins and settings ----------------- @import "../template/mixins"; @import "../template/settings"; // --------------------------------------------- // Include theme-specific fonts @font-face { font-family: 'League Gothic'; src: ...
{ "pile_set_name": "Github" }
README for libpng version 1.6.37 - April 14, 2019 ================================================= See the note about version numbers near the top of png.h. See INSTALL for instructions on how to install libpng. Libpng comes in several distribution formats. Get libpng-*.tar.gz or libpng-*.tar.xz or if you want UNIX...
{ "pile_set_name": "Github" }
echo $<ref>a a=1
{ "pile_set_name": "Github" }
import _ from 'lodash'; import { ActionTypes, PayloadStates, normalize } from 'lore-utils'; /* * Blueprint for Destroy method */ export default function destroy(model) { return function(dispatch) { const Model = lore.models.{{ modelName }}; const proxyModel = new Model(model.data); proxyModel.destroy(...
{ "pile_set_name": "Github" }
<?xml version="1.0" encoding="utf-8"?> <item xmlns="http://www.supermemo.net/2006/smux"> <lesson-title>GRE词汇:《再要你命三千》</lesson-title> <chapter-title>List 16</chapter-title> <question-title>根据单词,回想词义</question-title> <question><span style='font-size:18; font-family:Comic Sans MS; font-weight:normal; font-style:no...
{ "pile_set_name": "Github" }
<?php defined('SYSPATH') or die('No direct access allowed.'); class Provider_Twitter extends Useradmin_Provider_Twitter { }
{ "pile_set_name": "Github" }
if (typeof exports === 'object') { var assert = require('assert'); var alasql = require('..'); } var test = '609'; // insert test file number describe('Test ' + test + ' - Insert into table ', function () { it('values', function () { alasql.parse('insert into abc values (1,2,3)'); }); it('value', function () ...
{ "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="ko"> <head> <!-- Generated by javadoc (version 1.7.0_10) on Tue Mar 20 20:18:53 KST 2018 --> <meta http-equiv="Content-Type" content="text/html" charset="UTF-8"> <title>Uses of Class...
{ "pile_set_name": "Github" }
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "dtd/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" manifest="cll.appcache" xml:lang="en" lang="en"> <head> <meta http-equiv="C...
{ "pile_set_name": "Github" }
package DDG::ZeroClickInfo; # ABSTRACT: DuckDuckGo server side used ZeroClickInfo result class use Moo; extends qw( WWW::DuckDuckGo::ZeroClickInfo ); with 'DDG::IsControllable'; =head1 SYNOPSIS my $zci = DDG::ZeroClickInfo->new( answer => "I'm a little teapot!", is_cached => 1, ttl => 500, ); =head1...
{ "pile_set_name": "Github" }
/* * An interrupting chicken is when the facilitator moves forward while another client is still typing. * This causes the user to progress as well, causing them to lose their progress on what they were typing. */ import {AGENDA_ITEMS, DISCUSS} from './constants' const interruptingChickenPhases = new Set([AGENDA_IT...
{ "pile_set_name": "Github" }
{ "ˆ"ÈÃ""
{ "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 ...
{ "pile_set_name": "Github" }
development: adapter: async test: adapter: async production: adapter: redis url: <%= ENV.fetch("REDIS_URL") { "redis://localhost:6379/1" } %> channel_prefix: publify_production
{ "pile_set_name": "Github" }
/** @file @section license License 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, Versi...
{ "pile_set_name": "Github" }
import * as React from 'react'; import * as ReactDom from 'react-dom'; import { Version } from '@microsoft/sp-core-library'; import { BaseClientSideWebPart, IPropertyPaneConfiguration, PropertyPaneTextField } from '@microsoft/sp-webpart-base'; import * as strings from 'helloWorldStrings'; import HelloWorld from ...
{ "pile_set_name": "Github" }
package metrics import ( "os" "time" ) // Config is used to configure metrics settings type Config struct { ServiceName string // Prefixed with keys to seperate services HostName string // Hostname to use. If not provided and EnableHostname, it will be os.Hostname EnableHostnam...
{ "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 ...
{ "pile_set_name": "Github" }
// Copyright 2014 Citra Emulator Project // Licensed under GPLv2 or any later version // Refer to the license.txt file included. #pragma once #include <unordered_map> #include <boost/serialization/unordered_map.hpp> #include "core/hle/service/service.h" namespace Core { class System; } namespace Service::SOC { ///...
{ "pile_set_name": "Github" }
path = require 'path' _ = require 'underscore-plus' async = require 'async' yargs = require 'yargs' read = require 'read' semver = require 'semver' Git = require 'git-utils' Command = require './command' config = require './apm' fs = require './fs' Install = require './install' Packages = require './packages' request...
{ "pile_set_name": "Github" }
/** * This file has no copyright assigned and is placed in the Public Domain. * This file is part of the mingw-w64 runtime package. * No warranty is given; refer to the file DISCLAIMER.PD within this package. */ #ifndef SIPBASE_H #define SIPBASE_H #include <mssip.h> #endif
{ "pile_set_name": "Github" }
# yum-epel Cookbook [![Build Status](https://travis-ci.org/chef-cookbooks/yum-epel.svg?branch=master)](http://travis-ci.org/chef-cookbooks/yum-epel) [![Cookbook Version](https://img.shields.io/cookbook/v/yum-epel.svg)](https://supermarket.chef.io/cookbooks/yum-epel) The yum-epel cookbook takes over management of the d...
{ "pile_set_name": "Github" }
b278e45ce46724c58662fc6ea9c526e5f22db817
{ "pile_set_name": "Github" }
{"config": { "version":2, "device_info":{"vid":"0xFEED","pid":"0x6060", "name":"ErgoDash","manufacture":"Omkbd","description":"Power"}, "matrix":{"rows":10,"cols":7,"device_rows":5, "device_cols":7, "debounce":1,"is_left_hand":1,"diode_direction":2, "row_pins":[7, 9, 10, 11, 12, 7, 9, 10, 11, 12], "c...
{ "pile_set_name": "Github" }
<?php /* * This file is part of the Elcodi package. * * Copyright (c) 2014-2016 Elcodi Networks S.L. * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. * * Feel free to edit as you please, and have fun. * * @author Marc Morera <yuhu@...
{ "pile_set_name": "Github" }
process.mixin(require("../common")); var finished1 = false; var finished_array = {}; var queries = [ [{age: 50}, 2], [{"age =": 50}, 2], [{"age <": 50}, 100], [{"age <=": 50}, 102], [{"age >=": 50}, 100], [{"age >": 50}, 98], [{"age !=": 50}, 198], [{"age <>": 50}, 198], [{age: 50, name: "USER 50"}, 1...
{ "pile_set_name": "Github" }
--- com.fasterxml.jackson.databind.filter.JsonIncludeTest::testIssue1351 junit.framework.ComparisonFailure: expected:<{[]}> but was:<{["str":null]}> at junit.framework.Assert.assertEquals(Assert.java:100) at junit.framework.Assert.assertEquals(Assert.java:107) at junit.framework.TestCase.assertEquals(TestCase.java:2...
{ "pile_set_name": "Github" }
# # This file is part of Scalable COncurrent Operations in Python (SCOOP). # # SCOOP 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, either version 3 of # the License, or (at your option)...
{ "pile_set_name": "Github" }
--- layout: default gamename: bandit level: 12 --- Level Goal ---------- The password for the next level is stored in the file **data.txt**, where all lowercase (a-z) and uppercase (A-Z) letters have been rotated by 13 positions Commands you may need to solve this level ----------------------------------------- grep, ...
{ "pile_set_name": "Github" }
/** * Copyright 2000-present Liferay, 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 applicable law or a...
{ "pile_set_name": "Github" }
/* * Copyright 2014 Midokura SARL * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
{ "pile_set_name": "Github" }
-- Copyright 2019 Google LLC -- -- Use of this source code is governed by a BSD-style -- license that can be found in the LICENSE file or at -- https://developers.google.com/open-source/licenses/bsd {-# LANGUAGE GeneralizedNewtypeDeriving #-} {-# LANGUAGE FunctionalDependencies #-} {-# LANGUAGE MultiParamTypeClasses #...
{ "pile_set_name": "Github" }
// !$*UTF8*$! { archiveVersion = 1; classes = { }; objectVersion = 52; objects = { /* Begin PBXBuildFile section */ D9A12776235699C600D136A5 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = D9A12775235699C600D136A5 /* AppDelegate.swift */; }; D9A12778235699C600D136A5 /* SceneDelegate.swift ...
{ "pile_set_name": "Github" }
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" con...
{ "pile_set_name": "Github" }
BUILD_TYPE := static include $(PREPARE_TO_BUILD) $(BUILD_TARGET_WITH_PATH) : $(BUILD_SHARED_LIBRARIES_WITH_PATH) $(BUILD_C_HEADER_FILES) $(BUILD_CXX_HEADER_FILES) $(BUILD_TARGET_WITH_PATH) : $(BUILD_C_OBJECT_FILES) $(BUILD_CXX_OBJECT_FILES) $(BUILD_STATIC_LIBRARIES_WITH_PATH) @$(TARGET_COUNTER) @mkdir -p $(dir $@) ...
{ "pile_set_name": "Github" }
// // ******************************************************************** // * License and Disclaimer * // * * // * The Geant4 software is copyright of the Copyright Holders of * // * the Geant4 Collaboration...
{ "pile_set_name": "Github" }
#import <Foundation/Foundation.h> #import "HTTPResponse.h" @interface HTTPDataResponse : NSObject <HTTPResponse> { NSUInteger offset; NSData *data; } - (id)initWithData:(NSData *)data; @end
{ "pile_set_name": "Github" }
Shader "Hidden/Blend" { Properties { _MainTex ("Screen Blended", 2D) = "" {} _ColorBuffer ("Color", 2D) = "" {} } CGINCLUDE #include "UnityCG.cginc" struct v2f { float4 pos : SV_POSITION; float2 uv[2] : TEXCOORD0; }; struct v2f_mt { float4 pos : SV_POSITION; float2 uv[4] : TEXCOORD0; }; sa...
{ "pile_set_name": "Github" }
import Foundation public struct AccountSessionFlags: OptionSet { public var rawValue: Int32 public init() { self.rawValue = 0 } public init(rawValue: Int32) { self.rawValue = rawValue } public static let isOfficial = AccountSessionFlags(rawValue: (1 << 1)) pub...
{ "pile_set_name": "Github" }
<?xml version="1.0"?> <definitions> <definition> <key>text_title</key> <value><![CDATA[Por Artículo]]></value> </definition> <definition> <key>text_description</key> <value><![CDATA[Por Artículo enviado]]></value> </definition> </definitions>
{ "pile_set_name": "Github" }
# Be sure to restart your server when you modify this file. # # This file contains settings for ActionController::ParamsWrapper which # is enabled by default. # Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array. ActiveSupport.on_load(:action_controller) do wrap_parameters ...
{ "pile_set_name": "Github" }
package org.joget.plugin.base; import java.util.HashMap; import java.util.Map; import org.joget.commons.util.DynamicDataSourceManager; import org.joget.commons.util.LogUtil; /** * Class to cache plugin manager data */ public class ProfilePluginCache { private Map<String, PluginManagerCache> profileCacheMap = n...
{ "pile_set_name": "Github" }
/* * Copyright (C) 2013 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" }
// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. // All rights reserved. // // This source code is licensed under the license found in the // LICENSE file in the root directory of this source tree. module FloatSignedToLinearFixedTest(); localparam FRAC = 8; localparam ACC_NON_FRAC = 17; l...
{ "pile_set_name": "Github" }
/** * Distance 1D. * * Move the mouse left and right to control the * speed and direction of the moving shapes. */ float xpos1; float xpos2; float xpos3; float xpos4; int thin = 8; int thick = 36; void setup() { size(640, 360); noStroke(); xpos1 = width/2; xpos2 = width/2; xpos3 = width/2; xpos...
{ "pile_set_name": "Github" }
config BR2_PACKAGE_TMUX bool "tmux" depends on BR2_USE_MMU # fork() select BR2_PACKAGE_LIBEVENT select BR2_PACKAGE_NCURSES help tmux is a terminal multiplexer, it enables a number of terminals (or windows) to be accessed and controlled from a single terminal. http://tmux.sourceforge.net/
{ "pile_set_name": "Github" }
package design.design_patterns.collections.iteratorBuiltin; import java.util.ArrayList; import java.util.Iterator; public class PancakeHouseMenu implements Menu { ArrayList<String> menuItems; public PancakeHouseMenu() { menuItems = new ArrayList<String>(); addItem("K&B's Pancake Breakfast"...
{ "pile_set_name": "Github" }
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> <html> <head> <title>Index of /iso/srv/1.0</title> </head> <body> <h1>Index of /iso/srv/1.0</h1> <ul><li><a href="/iso/srv/"> Parent Directory</a></li> <li><a href="serviceMetadata.xsd"> serviceMetadata.xsd</a></li> <li><a href="serviceModel.xsd"> serviceMode...
{ "pile_set_name": "Github" }
; RUN: opt -instcombine -S < %s | llvm-as ; RUN: opt -instcombine -globalopt -S < %s | llvm-as @G1 = global i32 zeroinitializer @G2 = global i32 zeroinitializer @g = global <2 x i32*> zeroinitializer %0 = type { i32, void ()*, i8* } @llvm.global_ctors = appending global [1 x %0] [%0 { i32 65535, void ()* @test, i8* nul...
{ "pile_set_name": "Github" }
{ "__WET_GROUP__0": { "message": "Branding" }, "extensionName": { "message": "Forget Me Not - Hapus kuki & data lainnya", "description": "Name of the extension.", "hash": "fda1d8fe3045df9c26b504ae4e45b1ad" }, "extensionDescription": { "message": "Membuat peramban menghapu...
{ "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. #include "components/metrics/net/net_metrics_log_uploader.h" #include "base/bind.h" #include "base/macros.h" #include "net/url_request/test_url_fetcher_f...
{ "pile_set_name": "Github" }
/* * Copyright (c) 2002-2012 Alibaba Group Holding Limited. * 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/LICENS...
{ "pile_set_name": "Github" }
/*============================================================================= Copyright (c) 2009 Hartmut Kaiser Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) =============================================...
{ "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, either version 3 of the License, or // (at your option) any later version. // // This program is distributed in the hope that it wil...
{ "pile_set_name": "Github" }
// Protocol Buffers - Google's data interchange format // Copyright 2008 Google Inc. All rights reserved. // https://developers.google.com/protocol-buffers/ // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: // // ...
{ "pile_set_name": "Github" }
# -*- coding: utf-8 -*- import datetime from django.db.models.signals import post_save from django.dispatch import Signal, receiver from django.db import models from django.contrib.auth.models import User from django.utils.translation import ugettext_lazy as _ from django.conf import settings from treebeard.mp_tree i...
{ "pile_set_name": "Github" }
//Fowler/Noll/Vo- hash // // The basis of this hash algorithm was taken from an idea sent // as reviewer comments to the IEEE POSIX P1003.2 committee by: // // Phong Vo (http://www.research.att.com/info/kpv/) // Glenn Fowler (http://www.research.att.com/~gsf/) // // In a subsequent ballot round: // // La...
{ "pile_set_name": "Github" }
// Copyright 2008-2018 Yolo Technologies, Inc. All Rights Reserved. https://www.comblockengine.com #include "address.h" #include "endpoint.h" #include "helper/debug_helper.h" namespace KBEngine { namespace Network { char Address::s_stringBuf[2][32] = {{0},{0}}; int Address::s_currStringBuf = 0; const Address Addre...
{ "pile_set_name": "Github" }
<?xml version="1.0" encoding="utf-8"?> <!-- ~ This file is part of the PhotoEditor Software Development Kit. ~ ~ Copyright (C) 2019 img.ly GmbH <contact@img.ly> ~ All rights reserved. ~ ~ Redistribution and use in source and binary forms, without ~ modification, are permitted provided that the following l...
{ "pile_set_name": "Github" }
/* Multiply indexed container. * * Copyright 2003-2014 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/multi_index for library home page. */ ...
{ "pile_set_name": "Github" }
# July 24, 2018 Meeting Notes ----- Waldemar Horwat (WH), Mark Miller (MM), Till Schneidereit (TST), Michael Ficarra (MF), Michael Saboff (MLS), James Burke (JRB), Maxim Aleksa (MAA), Brian Terlson (BT), Shu-yu Guo (SYG), Rex Jaeschke (RJE), Yehuda Katz (YK), Andrew Paprocki (API), Chip Morningstar (CM), Mariko Kosaka...
{ "pile_set_name": "Github" }
/////////////////////////////////////////////////////////////////////// // File: lm_consistency.h // Description: Struct for recording consistency of the paths representing // OCR hypotheses. // Author: Rika Antonova // // (C) Copyright 2012, Google Inc. // Licensed under the Apache License, V...
{ "pile_set_name": "Github" }
/* * Copyright (c) 2017 Linaro Limited * * SPDX-License-Identifier: Apache-2.0 */ #include <stdio.h> #include <stdbool.h> #include <errno.h> #include <stdlib.h> #if !defined(__ZEPHYR__) || defined(CONFIG_POSIX_API) #include <netinet/in.h> #include <sys/socket.h> #include <sys/select.h> #include <arpa/inet.h> #in...
{ "pile_set_name": "Github" }
<!doctype html> <!-- @license Copyright (c) 2015 The Polymer Project Authors. All rights reserved. This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt The complete set of contributors may be...
{ "pile_set_name": "Github" }
// // RectangleStatusItem.swift // Rectangle // // Created by Ryan Hanson on 6/11/19. // Copyright © 2019 Ryan Hanson. All rights reserved. // import Cocoa class RectangleStatusItem { static let instance = RectangleStatusItem() private var nsStatusItem: NSStatusItem? private var added: Bool = fal...
{ "pile_set_name": "Github" }
; RUN: llvm-as < %s | llvm-dis | llvm-as | llvm-dis | FileCheck %s ; RUN: verify-uselistorder %s ; CHECK: @foo ; CHECK: store { i32, i32 } { i32 7, i32 9 }, { i32, i32 }* %x ; CHECK: ret define void @foo({i32, i32}* %x) nounwind { store {i32, i32}{i32 7, i32 9}, {i32, i32}* %x ret void } ; CHECK: @foo_empty ; CHE...
{ "pile_set_name": "Github" }
defmodule Web.Manage.ClientController do use Web, :controller alias GrapevineData.Games alias GrapevineData.GameSettings alias GrapevineData.Gauges def show(conn, %{"game_id" => id}) do %{current_user: user} = conn.assigns with {:ok, game} <- Games.get(user, id) do conn |> assign(:game,...
{ "pile_set_name": "Github" }
<?php namespace App\Http\Admin\Controller; use App\Core\Helper\Paginator\PaginatorInterface; use App\Domain\Comment\CommentRepository; use App\Domain\Forum\Repository\ReportRepository; use App\Domain\Revision\RevisionRepository; use App\Infrastructure\Queue\FailedJobsService; use Symfony\Component\HttpFoundation\Resp...
{ "pile_set_name": "Github" }
/* * Definitions for the UDP-Lite (RFC 3828) code. */ #ifndef _UDPLITE_H #define _UDPLITE_H #include <net/ip6_checksum.h> /* UDP-Lite socket options */ #define UDPLITE_SEND_CSCOV 10 /* sender partial coverage (as sent) */ #define UDPLITE_RECV_CSCOV 11 /* receiver partial coverage (threshold ) */ extern st...
{ "pile_set_name": "Github" }
/** * The reveal.js markdown plugin. Handles parsing of * markdown inside of presentations as well as loading * of external markdown documents. */ (function( root, factory ) { if( typeof exports === 'object' ) { module.exports = factory( require( './marked' ) ); } else { // Browser globals (root is window) ...
{ "pile_set_name": "Github" }
/* * linux/drivers/acorn/net/ether1.h * * Copyright (C) 1996 Russell King * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. * * Network driver for Acorn Ether1 cards. */ ...
{ "pile_set_name": "Github" }
ace.define("ace/theme/merbivore",["require","exports","module","ace/lib/dom"], function(require, exports, module) { exports.isDark = true; exports.cssClass = "ace-merbivore"; exports.cssText = ".ace-merbivore .ace_gutter {\ background: #202020;\ color: #E6E1DC\ }\ .ace-merbivore .ace_print-margin {\ width: 1px;\ backg...
{ "pile_set_name": "Github" }
/*************************************************************************** * Copyright (C) 2008 digenius technology GmbH. * * Michael Bruck * * * * Copyrig...
{ "pile_set_name": "Github" }
import { escapeRegExp } from './escapeRegExp'; describe('escapeRegExp utility function', () => { it('escapes special characters', () => { expect(escapeRegExp('?')).toBe('\\?'); expect(escapeRegExp('\\')).toBe('\\\\'); expect(escapeRegExp('{')).toBe('\\{'); }); it('leaves strings without special chara...
{ "pile_set_name": "Github" }
<?php class kPlayReadyPartnerSetup { public static function setupPartner($partnerId) { $c = new Criteria(); $c->add ( DrmPolicyPeer::PARTNER_ID, $partnerId ); $c->add ( DrmPolicyPeer::STATUS, DrmPolicyStatus::ACTIVE); $c->add ( DrmPolicyPeer::PROVIDER, PlayReadyPlugin::getPlayReadyProviderCoreValue()); ...
{ "pile_set_name": "Github" }
<?php // This file is part of Moodle - http://moodle.org/ // // Moodle 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. // // Moodle ...
{ "pile_set_name": "Github" }
package fo import ( "testing" "time" "github.com/go-playground/locales" "github.com/go-playground/locales/currency" ) func TestLocale(t *testing.T) { trans := New() expected := "fo" if trans.Locale() != expected { t.Errorf("Expected '%s' Got '%s'", expected, trans.Locale()) } } func TestPluralsRange(t *...
{ "pile_set_name": "Github" }
// Do not optimize this pattern function a() { console.log('ng'); } { function a() { console.log('ng'); } a(); function a() { console.log('ok'); } } a(); function a() { console.log('ok'); }
{ "pile_set_name": "Github" }
<?xml version="1.0" encoding="UTF-8"?> <project version="4"> <component name="MarkdownExportedFiles"> <htmlFiles /> <imageFiles /> <otherFiles /> </component> </project>
{ "pile_set_name": "Github" }
// Emacs SyntaxHighlighter theme based on theme by Joshua Emmons // http://www.skia.net/ $background: black !default; $line_highlighted_background: #2A3133 !default; $line_highlighted_number: white !default; $gutter_text: #d3d3d3 !default; $gutter_border_color: #990000 !default; $toolbar_collapsed_a: #...
{ "pile_set_name": "Github" }
<?xml version="1.0" encoding="utf-8"?> <super> <meta> <artist>Travie McCoy ft Bruno Mars</artist> <title>Billionaire</title> <beats_in_measure>4</beats_in_measure> <key>Bb</key> <YouTubeID>z3D3qhXZOfY</YouTubeID> <sections> <Verse> <normalization>1.56</normali...
{ "pile_set_name": "Github" }
/* * QLogic Fibre Channel HBA Driver * Copyright (c) 2003-2014 QLogic Corporation * * See LICENSE.qla2xxx for copyright and licensing details. */ #ifndef __QLA_FW_H #define __QLA_FW_H #define MBS_CHECKSUM_ERROR 0x4010 #define MBS_INVALID_PRODUCT_KEY 0x4020 /* * Firmware Options. */ #define FO1_ENABLE_PUREX BI...
{ "pile_set_name": "Github" }
Comments ======== There is an errata page at the wavelet website maintained at the Program in Atmospheric and Oceanic Sciences, University of Colorado, Boulder, Colorado, which is accessible at http://paos.colorado.edu/research/wavelets/errata.html A Practical Guide to Wavelet Analysis ------------------------------...
{ "pile_set_name": "Github" }
# ListView ## Event Handler(事件处理) Let’s start by using the <ListView> component. In this section, we are going to build an app that displays the New York Times Bestseller’s List and lets us view data about each book. If you’d like, you can grab your own API token from the NYTimes. Otherwise, use the API token include...
{ "pile_set_name": "Github" }
/* Not needed anymore. */
{ "pile_set_name": "Github" }
# frozen_string_literal: true module RailsWorkflow module ApplicationHelper end end
{ "pile_set_name": "Github" }
<?xml version="1.0" encoding="UTF-8"?> <Scheme LastUpgradeVersion = "1020" version = "1.3"> <BuildAction parallelizeBuildables = "YES" buildImplicitDependencies = "YES"> <BuildActionEntries> <BuildActionEntry buildForTesting = "YES" buildForRunning = "YES" ...
{ "pile_set_name": "Github" }
package com.airbnb.android.react.lottie; import android.graphics.Color; import android.graphics.ColorFilter; import android.widget.ImageView; import com.airbnb.lottie.LottieAnimationView; import com.airbnb.lottie.LottieDrawable; import com.airbnb.lottie.LottieProperty; import com.airbnb.lottie.RenderMode; import com....
{ "pile_set_name": "Github" }
namespace modifiers { internal class Base { public virtual void foo() { } public virtual void bar() { } public int fooBar; } internal abstract class Derived : modifiers.Base { new public int foo; new public void bar() { // As of today, this will be translated incorrectly to C# (which req...
{ "pile_set_name": "Github" }
import App from "./App"; import React from "react"; import ReactDOM from "react-dom"; ReactDOM.render(<App />, document.getElementById("root"));
{ "pile_set_name": "Github" }
// Copyright (c) 2018 PaddlePaddle 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...
{ "pile_set_name": "Github" }
/* ********************************************************************** * Copyright (c) 2002-2008, International Business Machines * Corporation and others. All Rights Reserved. ********************************************************************** */ #ifndef USETITER_H #define USETITER_H #include "unicode/utypes.h...
{ "pile_set_name": "Github" }
addSbtPlugin("ch.epfl.scala" % "sbt-bloop" % sys.props.apply("plugin.version"))
{ "pile_set_name": "Github" }
**string_decoder.js** (`require('string_decoder')`) from Node.js core Copyright Joyent, Inc. and other Node contributors. See LICENCE file for details. Version numbers match the versions found in Node core, e.g. 0.10.24 matches Node 0.10.24, likewise 0.11.10 matches Node 0.11.10. **Prefer the stable version over the ...
{ "pile_set_name": "Github" }