text
stringlengths
2
99.9k
meta
dict
# This schema creates tables without columns for the translated fields ActiveRecord::Schema.define do create_table :blogs, :force => true do |t| t.string :description end create_table :posts, :force => true do |t| t.references :blog end create_table :sections, :force => true do |t| end ...
{ "pile_set_name": "Github" }
# Changelog All notable changes to this project will be documented in this file, in reverse chronological order by release. ## 1.0.1 - 2016-08-06 ### Added - Nothing. ### Deprecated - Nothing. ### Removed - Nothing. ### Fixed - Updated all `@return self` annotation references in interfaces to use `@return s...
{ "pile_set_name": "Github" }
#ifndef JSON_SPIRIT_READER_TEMPLATE #define JSON_SPIRIT_READER_TEMPLATE // Copyright John W. Wilkinson 2007 - 2009. // Distributed under the MIT License, see accompanying file LICENSE.txt // json spirit version 4.03 #include "json_spirit_value.h" #include "json_spirit_error_position.h" //#define...
{ "pile_set_name": "Github" }
/*container*/ #ym-window{ background:#fff;overflow:hidden; font-size:12px;font-family:'宋体' } .ym-tl{padding-left:3px;background:#333 url(images/title_bg_left.gif) no-repeat 0 0} .ym-tr{padding-right:3px;background:#333 url(images/title_bg_right.gif) no-repeat right 0;} .ym-tc{background:#333 url(images/title_bg_cen...
{ "pile_set_name": "Github" }
package com.planet_ink.coffee_mud.WebMacros; import com.planet_ink.coffee_web.interfaces.*; import com.planet_ink.coffee_mud.core.interfaces.*; import com.planet_ink.coffee_mud.core.*; import com.planet_ink.coffee_mud.core.collections.*; import com.planet_ink.coffee_mud.Abilities.interfaces.*; import com.planet...
{ "pile_set_name": "Github" }
// SPDX-License-Identifier: GPL-2.0 /* * Driver for TI TPS6598x USB Power Delivery controller family * * Copyright (C) 2017, Intel Corporation * Author: Heikki Krogerus <heikki.krogerus@linux.intel.com> */ #include <linux/i2c.h> #include <linux/acpi.h> #include <linux/module.h> #include <linux/regmap.h> #include ...
{ "pile_set_name": "Github" }
#!/bin/bash set -e check_mandatory_flags() { if [ -z "$EXTERNAL_IP" ]; then echo "external ip not set, use the -e flag." >&2 usage exit 1 fi } setup_database() { set +e TIMEOUT=90 COUNT=0 RETRY=1 while [ $RETRY -ne 0 ]; do if [ "$COUNT" -ge "$TIMEOUT" ]; then printf " [FAIL]\n" ...
{ "pile_set_name": "Github" }
# coding: utf-8 from __future__ import unicode_literals from fireworks.utilities.fw_serializers import FWSerializable, recursive_serialize, serialize_fw, \ recursive_deserialize __author__ = 'Anubhav Jain' __copyright__ = 'Copyright 2014, The Materials Project' __version__ = '0.1' __maintainer__ = 'Anubhav Jain'...
{ "pile_set_name": "Github" }
fixes: - | Use SHA256 for comparing file contents instead of MD5. This improves FIPS compatibility.
{ "pile_set_name": "Github" }
/** * err.c * * Contains a formal API to create, initialize, get, reset, and free errors * among different backends. */ #include "err.h" #include "assert.h" #include "redismodule.h" #include "stdlib.h" #include "string.h" char *RAI_Chomp(const char *src) { char *str = RedisModule_Strdup(src); size_t len = s...
{ "pile_set_name": "Github" }
{ "cells": [ { "cell_type": "code", "execution_count": 1, "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "Version: 2.1.0\n", "Eager mode: True\n", "Hub version: 0.7.0\n", "GPU is NOT AVAILABLE\n" ] } ], "sou...
{ "pile_set_name": "Github" }
/// <reference path="../../../dist/preview release/babylon.d.ts"/> var __extends = (this && this.__extends) || (function () { var extendStatics = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || function (d, b) { for (var p in b) if (b.hasOwnPr...
{ "pile_set_name": "Github" }
owner = SAU controller = SAU add_core = SAU infra = 2
{ "pile_set_name": "Github" }
+++ title = "BusyBox" description = "" date = 2014-11-21T15:14:09Z aliases = [] [extra] id = 18208 [taxonomies] categories = [] tags = [] +++ [[Category:AWK Implementations]] [[Category:UNIX Shell Implementations]] [[Category:Editor]] [[Category:Utility]] [[wp:BusyBox|BusyBox]] "The Swiss Army Knife of Embedded Linux...
{ "pile_set_name": "Github" }
import React, { PropTypes } from 'react'; import StyleSheet from 'react-style'; var ListStyles = StyleSheet.create({ normalListStyle: { overflow: 'auto', overflowY: 'auto', overflowX: 'none' } }); export default class extends React.Component { static displayName = 'List' static propTypes = { c...
{ "pile_set_name": "Github" }
prefix=INSTALL_PREFIX libdir=LIB_DIR includedir=HEADER_DIR Name: libtraceevent URL: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git Description: Linux kernel trace event library Version: LIB_VERSION Cflags: -I${includedir} Libs: -L${libdir} -ltraceevent
{ "pile_set_name": "Github" }
KotlinPoet ========== `KotlinPoet` is a Kotlin and Java API for generating `.kt` source files. Source file generation can be useful when doing things such as annotation processing or interacting with metadata files (e.g., database schemas, protocol formats). By generating code, you eliminate the need to write boilerp...
{ "pile_set_name": "Github" }
/* * Copyright 2000-2016 JetBrains s.r.o. * * 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" }
// Copyright 2014 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 http2 import "math" // NewRandomWriteScheduler constructs a WriteScheduler that ignores HTTP/2 // priorities. Control frames like SETTINGS and PING ar...
{ "pile_set_name": "Github" }
from __future__ import print_function, division import argparse import torch import torch.nn as nn import torch.optim as optim from torchvision import datasets, models, transforms import os import smdebug.pytorch as smd from smdebug import modes from smdebug.core.modes import ModeKeys from custom_hook import CustomHo...
{ "pile_set_name": "Github" }
# Translation of Odoo Server. # This file contains the translation of the following modules: # * mass_mailing_crm # # Translators: # Kostas Goutoudis <goutoudis@gmail.com>, 2019 # msgid "" msgstr "" "Project-Id-Version: Odoo Server 13.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2019-10-07 07:12+0000\n" "PO-R...
{ "pile_set_name": "Github" }
GLIBC_2.0 __ctype_get_mb_cur_max F
{ "pile_set_name": "Github" }
/** * OWASP Benchmark Project v1.2 * * This file is part of the Open Web Application Security Project (OWASP) * Benchmark Project. For details, please see * <a href="https://www.owasp.org/index.php/Benchmark">https://www.owasp.org/index.php/Benchmark</a>. * * The OWASP Benchmark is free software: you can redistribute i...
{ "pile_set_name": "Github" }
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: git-lfs Source: https://github.com/git-lfs/git-lfs Files: * Copyright: 2013-2015 Github, Inc. License: Expat Copyright (c) GitHub, Inc. and Git LFS contributors . Permission is hereby granted, free of charge, to any person obta...
{ "pile_set_name": "Github" }
package com.hp.hpl.sparta; import java.util.Hashtable; /** This utility class allows you to configure some low-level behavior * of the Sparta code such as caching and String interning. * If you do not set any of the configurations here then sparta will use * default implementations that will work in smaller JVMs s...
{ "pile_set_name": "Github" }
# Copyright (c) 2012-2019, Mark Peek <mark@peek.org> # All rights reserved. # # See LICENSE file for full license. # # *** Do not modify - this file is autogenerated *** # Resource specification version: 8.1.0 from . import AWSObject from . import AWSProperty from .validators import integer class EventBus(AWSObject...
{ "pile_set_name": "Github" }
/* * Copyright Terracotta, 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 agreed to ...
{ "pile_set_name": "Github" }
#!/usr/bin/env bash # # Set up a vm on packstack. Use the iso in RHEL_ISO (defaults to home dir) # set -fv source ./copy_func.sh source ./fix_conf_file.sh openstack_node=${1} ceph_node=${2} RHEL_ISO=${RHEL_ISO:-~/rhel-server-7.2-x86_64-boot.iso} copy_file ${RHEL_ISO} $openstack_node . copy_file execs/run_openstack.sh...
{ "pile_set_name": "Github" }
# Application Structure Clone the [dinoloop-starter](https://github.com/ParallelTask/dinoloop-starter) and install the dependencies. Here are few steps: ``` git clone https://github.com/ParallelTask/dinoloop-starter.git cd dinoloop-starter npm install ``` ## Files Open project in your favorite editor (Recommended [V...
{ "pile_set_name": "Github" }
cheats = 27 cheat0_desc = "Infinite Lives" cheat0_code = "Z 8 61219 201 0" cheat0_enable = false cheat1_desc = "Immunity" cheat1_code = "Z 8 58518 33 0" cheat1_enable = false cheat2_desc = "Infinite Time" cheat2_code = "Z 8 56734 182 0" cheat2_enable = false cheat3_desc = "Infinite Letter Spells" cheat3_code = "M 8...
{ "pile_set_name": "Github" }
#![cfg_attr(feature = "strict", deny(warnings, missing_docs))] //! The flux crate handles the parsing and semantic analysis of flux source //! code. extern crate chrono; #[macro_use] extern crate serde_derive; extern crate serde_aux; pub mod ast; pub mod formatter; pub mod parser; pub mod scanner; pub mod semantic; ...
{ "pile_set_name": "Github" }
From 9a0067e0fa4636efa37212d7d56376f8ec02a802 Mon Sep 17 00:00:00 2001 From: Mart Raudsepp <leio@gentoo.org> Date: Sat, 21 Mar 2020 18:40:09 +0200 Subject: [PATCH] build: Workaround chmod on root filesystem sandbox issue Just delete this again, but keep the server enabling from commit ec662d01dac16b81; the suid part h...
{ "pile_set_name": "Github" }
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % % SU2 configuration file % % Case description: 3D, inviscid flow inside a pipe with rotating sections ...
{ "pile_set_name": "Github" }
{ "_args": [ [ { "raw": "compressible@~2.0.5", "scope": null, "escapedName": "compressible", "name": "compressible", "rawSpec": "~2.0.5", "spec": ">=2.0.5 <2.1.0", "type": "range" }, "/Users/liyuechun/Desktop/demo/ComicBook/node_modules/com...
{ "pile_set_name": "Github" }
//ошибки которые возвращает бот админке при выполнении команд namespace TaskErr { const int Succesfully = 0; //нет ошибки const int Wrong = 1; //команда не выполнилась const int Param = 2; //неверные параметры const int PluginNotLoad = 3; //не загрузился плагин const int NotCreateDir = 4; //не удалось создать папку c...
{ "pile_set_name": "Github" }
# Copyright 2014 Square 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 agreed ...
{ "pile_set_name": "Github" }
#include "config.h" #include "gskvulkanbufferprivate.h" #include "gskvulkanmemoryprivate.h" #include "gskvulkanpipelineprivate.h" struct _GskVulkanBuffer { GdkVulkanContext *vulkan; gsize size; VkBuffer vk_buffer; GskVulkanMemory *memory; }; static GskVulkanBuffer * gsk_vulkan_buffer_new_internal (GdkVulk...
{ "pile_set_name": "Github" }
"use strict"; module.exports = function (t, a) { a(t({ 1: 1, 2: 2, 3: 3 }, { 1: 1, 2: 2, 3: 3 }), true, "Same"); a(t({ 1: 1, 2: 2, 3: 3 }, { 1: 1, 2: 2, 3: 4 }), false, "Different property value"); a(t({ 1: 1, 2: 2, 3: 3 }, { 1: 1, 2: 2 }), false, "Property only in source"); a(t({ 1: 1, 2: 2 }, { 1: 1, 2: 2, 3...
{ "pile_set_name": "Github" }
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab /* * Ceph - scalable distributed file system * * Copyright (C) 2011 New Dream Network * Copyright (C) 2017 OVH * * This is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser...
{ "pile_set_name": "Github" }
/* ============================================================================== This file is part of the JUCE library. Copyright (c) 2017 - ROLI Ltd. JUCE is an open source library subject to commercial or open-source licensing. The code included in this file is provided under the terms o...
{ "pile_set_name": "Github" }
/* * This file is part of the UCB release of Plan 9. It is subject to the license * terms in the LICENSE file found in the top-level directory of this * distribution and at http://akaros.cs.berkeley.edu/files/Plan9License. No * part of the UCB release of Plan 9, including this file, may be copied, * modified, prop...
{ "pile_set_name": "Github" }
{ "translation": { "aboutCovidDescription": "Na stronie covid.is znajdziesz różne wskazówki i wiarygodne informacje.", "aboutCovidTitle": "Informacje o COVID-19", "announcements": "Ogłoszenia", "announcementsLink": "https://www.covid.is/ogoszenia", "avoidInfectionLabel": "W jaki sposób zarażam?", ...
{ "pile_set_name": "Github" }
{ $method->exe("campaign","search_form") } { if ($method->result == FALSE) } { $block->display("core:method_error") } {else} <form name="campaign_search" method="post" action=""> <table width=100% border="0" cellspacing="0" cellpadding="0" class="table_background"> <tr> <td> <table width="100%" bor...
{ "pile_set_name": "Github" }
# /* ************************************************************************** # * * # * (C) Copyright Paul Mensonides 2002. # * Distributed under the Boost Software License, Version 1.0. (See # * accompanying file LICENSE_1_0.txt...
{ "pile_set_name": "Github" }
#!/bin/bash -eux # Ensure a nameserver is being used that won't return an IP for non-existent domain names. printf "nameserver 4.2.2.1\nnameserver 4.2.2.2\nnameserver 208.67.220.220\n"> /etc/resolv.conf # Set the hostname, and then ensure it will resolve properly. if [[ "$PACKER_BUILD_NAME" =~ ^generic-centos8-(vmwar...
{ "pile_set_name": "Github" }
# 『食』 ------ フェルトの名前をこそぎ取り、『食事』を始めたはずのバテンカイトスが嘔吐する。 苦しげに呻き、胃液を吐き出す『暴食』の態度には嘘がない。実際に形のあるモノを口にしたわけではないのに、嘔吐するときは胃を絞り出されるのか。 そんな益体のない感想が浮かぶ、不可思議な光景だった。   「クソ、いてーな……ふざけやがって……」   突き飛ばされた胸を撫でつけ、擦り傷だらけの姿でフェルトが立ち上がる。その表情は苛立ちと不満を宿しているが、致命的な被害を受けた様子はない。 彼女を視界の端に捉えるベアトリスらも、フェルトを忘れてなどいない。   『暴食』の食事は失敗したのだ。   「がっ、げほっ、お...
{ "pile_set_name": "Github" }
{ "name": "jss-swinging-cat-rx-example", "version": "1.0.0", "license": "ISC", "dependencies": { "dynamics.js": "^1.1.5", "hammerjs": "^2.0.8", "jss": "^10.0.3", "jss-preset-default": "^10.0.3", "rxjs": "^6.5.4" }, "devDependencies": { "parcel-bundler": "^1.6.1" } }
{ "pile_set_name": "Github" }
package managedapplications // Copyright (c) Microsoft and contributors. 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...
{ "pile_set_name": "Github" }
// Generated from definition io.k8s.api.apps.v1beta2.ReplicaSetCondition /// ReplicaSetCondition describes the state of a replica set at a certain point. #[derive(Clone, Debug, Default, PartialEq)] pub struct ReplicaSetCondition { /// The last time the condition transitioned from one status to another. pub las...
{ "pile_set_name": "Github" }
package com.linkedin.camus.sweeper; import java.io.IOException; import java.util.ArrayList; import java.util.HashSet; import java.util.List; import java.util.Properties; import java.util.Set; import org.apache.hadoop.fs.FileStatus; import org.apache.hadoop.fs.FileSystem; import org.apache.hadoop.fs.Path; import org.a...
{ "pile_set_name": "Github" }
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2008 Gael Guennebaud <gael.guennebaud@inria.fr> // Copyright (C) 2008 Benoit Jacob <jacob.benoit.1@gmail.com> // // This Source Code Form is subject to the terms of the Mozilla // Public License v. 2.0. If a cop...
{ "pile_set_name": "Github" }
% test for meshing the inside of an object path(path,'toolbox/'); path(path,'data/'); name = 'mm'; n = 400; Ma = load_image(name,n-10); Ma = rescale(abs(Ma)); % to avoid that the shape touches the boundary M = zeros(n,n,3); M(6:n-5,6:n-5,:) = Ma; repimg = 'results/meshing-shape/'; if ~exist(repimg) mkdir(repimg)...
{ "pile_set_name": "Github" }
/* * drivers/pcmcia/sa1100_cerf.c * * PCMCIA implementation routines for CerfBoard * Based off the Assabet. * */ #include <linux/module.h> #include <linux/kernel.h> #include <linux/device.h> #include <linux/init.h> #include <linux/delay.h> #include <mach/hardware.h> #include <asm/mach-types.h> #include <asm/irq....
{ "pile_set_name": "Github" }
/* * Copyright (c) 2010 WiYun Inc. * Author: luma(stubma@gmail.com) * * For all entities this program is free software; you can redistribute * it and/or modify it under the terms of the 'WiEngine' license with * the additional provision that 'WiEngine' must be credited in a manner * that can be be observe...
{ "pile_set_name": "Github" }
/** * @file */ /* Copyright (C) 2002-2020 UFO: Alien Invasion. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program...
{ "pile_set_name": "Github" }
%YAML 1.1 %TAG !u! tag:unity3d.com,2011: --- !u!126 &1 NavMeshLayers: m_ObjectHideFlags: 0 Built-in Layer 0: name: Default cost: 1 editType: 2 Built-in Layer 1: name: Not Walkable cost: 1 editType: 0 Built-in Layer 2: name: Jump cost: 2 editType: 2 User Layer 0: name: ...
{ "pile_set_name": "Github" }
//****************************************************************** // // Copyright 2014 Intel Mobile Communications GmbH All Rights Reserved. // //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except ...
{ "pile_set_name": "Github" }
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>Flot Examples</title> <link href="layout.css" rel="stylesheet" type="text/css"> <!--[if lte IE 8]><script langu...
{ "pile_set_name": "Github" }
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <launchConfiguration type="org.eclipse.pde.ui.RuntimeWorkbench"> <booleanAttribute key="append.args" value="true"/> <booleanAttribute key="askclear" value="true"/> <booleanAttribute key="automaticAdd" value="true"/> <booleanAttribute key="automaticValidate" value="...
{ "pile_set_name": "Github" }
/* * Copyright 2017 * Ubiquitous Knowledge Processing (UKP) Lab * Technische Universität Darmstadt * * 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" }
// Copyright 2018 Gin Core Team. All rights reserved. // Use of this source code is governed by a MIT style // license that can be found in the LICENSE file. package binding import ( "bytes" "io" "net/http" "gopkg.in/yaml.v2" ) type yamlBinding struct{} func (yamlBinding) Name() string { return "yaml" } fun...
{ "pile_set_name": "Github" }
/* * Copyright (c) 2011 Erin Catto http://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 purpose, * inc...
{ "pile_set_name": "Github" }
<?xml version="1.0" encoding="UTF-8"?> <Scheme LastUpgradeVersion = "0460" version = "1.3"> <BuildAction parallelizeBuildables = "YES" buildImplicitDependencies = "YES"> <BuildActionEntries> <BuildActionEntry buildForTesting = "YES" buildForRunning = "YES" ...
{ "pile_set_name": "Github" }
package com.martinrgb.animer.core.math.converter; public class AndroidSpringConverter extends AnSpringConverter { private boolean otherParaCalculation = false; public AndroidSpringConverter(double stiffness,double dampingratio) { super(); calculate(stiffness,dampingratio,1,0); } publ...
{ "pile_set_name": "Github" }
class A { fun buzz() {} }
{ "pile_set_name": "Github" }
// stylelint-disable declaration-no-important, selector-no-qualifying-type // Source: https://github.com/h5bp/html5-boilerplate/blob/master/src/css/main.css // ========================================================================== // Print styles. // Inlined to avoid the additional HTTP request: // https://www.ph...
{ "pile_set_name": "Github" }
[package] name = "simple_image" version = "0.1.0" authors = ["Max Holder <mxhold@gmail.com>"] [dependencies] image = "*"
{ "pile_set_name": "Github" }
{ "chat.chatting_with": "與<span id=\"chat-with-name\"></span>聊天", "chat.placeholder": "在這裡輸入聊天訊息,按返回鍵發送", "chat.scroll-up-alert": "You are looking at older messages, click here to go to most recent message.", "chat.send": "發送", "chat.no_active": "暫無聊天", "chat.user_typing": "%1 正在輸入……", "chat...
{ "pile_set_name": "Github" }
/* Declarations for internal libc locale interfaces Copyright (C) 1995, 96, 97, 98, 99,2000,2001 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as...
{ "pile_set_name": "Github" }
var socks = require('sockx'); var url = require('url'); var net = require('net'); var extend = require('extend'); var LRU = require('lru-cache'); var EventEmitter = require('events').EventEmitter; var hparser = require('hparser'); var dispatch = require('./https'); var util = require('./util'); var rules = require('./r...
{ "pile_set_name": "Github" }
define(function(require) { var Protoplast = require('protoplast'), BaseSectionViewPresenter = require('theme/aw-bubble/presenter/base-section-view-presenter'), PreviewController = require('plugin/preview/controller/preview-controller'); var PreviewViewPresenter = BaseSectionViewPrese...
{ "pile_set_name": "Github" }
{ "title": "Right-to-left Styling", "url": "https://myurl.com/", "description": "An extensive guide on how to style for RTL in CSS", "feed": { "subtitle": "An extensive guide on how to style for RTL in CSS", "filename": "feed.xml", "path": "/feed/feed.xml", "url": "https://myurl.com/feed/feed.xm...
{ "pile_set_name": "Github" }
/** * @file * This file is a posix wrapper for lwip/sockets.h. */ /* * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, * this list o...
{ "pile_set_name": "Github" }
package windows import ( "os" "runtime" "syscall" "testing" "github.com/pkg/errors" "github.com/stretchr/testify/assert" ) func TestGetProcessImageFileName(t *testing.T) { h, err := syscall.OpenProcess(syscall.PROCESS_QUERY_INFORMATION, false, uint32(syscall.Getpid())) if err != nil { t.Fatal(err) } fil...
{ "pile_set_name": "Github" }
[@genType.import ("./hookExample", "default")] [@react.component] external make: (~show: bool, ~_Message: string=?) => React.element = "make"; [@genType.import "./hookExample"] [@react.component] external make2: (~show: bool, ~_Message: string=?) => React.element = "default";
{ "pile_set_name": "Github" }
fileFormatVersion: 2 guid: c50d77affeb31e14c9c062c282f13fc8 NativeFormatImporter: externalObjects: {} mainObjectFileID: 0 userData: assetBundleName: assetBundleVariant:
{ "pile_set_name": "Github" }
module['exports'] = function(colors) { return function(letter, i, exploded) { if (letter === ' ') return letter; switch (i%3) { case 0: return colors.red(letter); case 1: return colors.white(letter); case 2: return colors.blue(letter); } }; };
{ "pile_set_name": "Github" }
import { html, css } from 'lit-element/lit-element.js'; /** * Adds basic properties to all chart elements. * @polymer * @mixinFunction */ export const ChartPropertyMixin = function(superClass) { return class extends superClass { static get properties() { return { chart: Object, data: Ob...
{ "pile_set_name": "Github" }
# This is the official list of go-github authors for copyright purposes. # # This does not necessarily list everyone who has contributed code, since in # some cases, their employer may be the copyright holder. To see the full list # of contributors, see the revision history in source control or # https://github.com/goo...
{ "pile_set_name": "Github" }
<?xml version="1.0" encoding="utf-8"?> <ScrollView xmlns:android="http://schemas.android.com/apk/res/android" xmlns:info="http://schemas.android.com/apk/res-auto" android:layout_width="match_parent" android:layout_height="match_parent" android:background="@color/kg_common_background" android:f...
{ "pile_set_name": "Github" }
<?xml version="1.0" encoding="utf-8"?> <resources> <!--ShapeButton--> <declare-styleable name="ShapeTextView"> <!--Button圆角--> <attr name="shapeRadius" format="dimension"></attr> <!--边框宽度--> <attr name="shapeStrokeWidth" format="dimension"></attr> <!--边框颜色--> <att...
{ "pile_set_name": "Github" }
open Revery_Core; open TestFramework; describe("Environment", ({test, _}) => { test("executingDirectory", _ => test( "validate we can load a file adjacent to the executable", ({expect, _}) => { expect.bool( Sys.file_exists(Environment.executingDirectory ++ "test-asset.txt"), ). ...
{ "pile_set_name": "Github" }
/* * * Copyright 2017 gRPC authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
{ "pile_set_name": "Github" }
/* Copyright (c) 2013 yvt This file is part of OpenSpades. OpenSpades 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. OpenSpades is...
{ "pile_set_name": "Github" }
#!/usr/bin/env bash # 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 writing, software # dis...
{ "pile_set_name": "Github" }
# -*- mode: ruby -*- # vi: set ft=ruby : Vagrant.configure(2) do |config| config.vm.box = "ubuntu/trusty64" config.vm.provision "shell", inline: <<-SHELL apt-get -y update # Basic essential toolkit apt-get -y install wget apt-get -y install build-essential apt-get -y install python-dev apt-get -y inst...
{ "pile_set_name": "Github" }
# Resistor Color Duo If you want to build something using a Raspberry Pi, you'll probably use _resistors_. For this exercise, you need to know two things about them: * Each resistor has a resistance value. * Resistors are small - so small in fact that if you printed the resistance value on them, it would be hard to r...
{ "pile_set_name": "Github" }
group("cpu") { deps = [ "//src/cpu/colun", "//src/cpu/control_tester", "//src/cpu/hamaji", "//src/cpu/inosendo", "//src/cpu/kantoku", "//src/cpu/mayah", "//src/cpu/munetoshi", "//src/cpu/peria", "//src/cpu/ryumas", "//src/cpu/sample", ...
{ "pile_set_name": "Github" }
/** * @callback Phaser.Types.Cameras.Scene2D.CameraPanCallback * @since 3.5.0 * * @param {Phaser.Cameras.Scene2D.Camera} camera - The camera on which the effect is running. * @param {number} progress - The progress of the effect. A value between 0 and 1. * @param {number} x - The Camera's new scrollX coordinate. ...
{ "pile_set_name": "Github" }
/* * * Copyright (c) 2013,2019 AT&T Knowledge Ventures * SPDX-License-Identifier: MIT */ package com.att.research.xacml.std.pip; import java.util.ArrayList; import java.util.Collection; import java.util.HashMap; import java.util.Iterator; import java.util.List; import java.util.Map; ...
{ "pile_set_name": "Github" }
package io.onedev.server.web.page.project.blob.render.renderers.symbollink; import org.apache.wicket.Component; import io.onedev.server.web.PrioritizedComponentRenderer; import io.onedev.server.web.page.project.blob.render.BlobRenderContext; import io.onedev.server.web.page.project.blob.render.BlobRendererContributio...
{ "pile_set_name": "Github" }
#ifndef __AMF_H__ #define __AMF_H__ /* * Copyright (C) 2005-2008 Team XBMC * http://www.xbmc.org * Copyright (C) 2008-2009 Andrej Stepanchuk * Copyright (C) 2009-2010 Howard Chu * * This file is part of librtmp. * * librtmp is free software; you can redistribute it and/or modify * it und...
{ "pile_set_name": "Github" }
__author__ = "bt3" This is the classic "you have 8 balls/coins, which are the same weight, except for one which is slightly heavier than the others. You also have an old-style balance. What is the fewest number of weighings to find the heavy coin/ball? Answer: 2! You need to use every information available: Weight 3...
{ "pile_set_name": "Github" }
tests/qapi-schema/escape-too-big.json:3:14: For now, \u escape only supports non-zero values up to \u007f
{ "pile_set_name": "Github" }
// Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- info: | If Result.type is break and Result.target is in the current label set, return (normal, Result.value, empty) es5id: 12.11_A1_T3 description: Using case with null, NaN...
{ "pile_set_name": "Github" }
# These are supported funding model platforms github: markbates patreon: buffalo
{ "pile_set_name": "Github" }
""" Rbna yezedak Correctness w ye2lel men falsatk isa """ import os import torchfile import pickle import numpy as np import pdb import matplotlib.pyplot as plt import tensorflow as tf torch_output = torchfile.load('../out_networks_layers/dict_out.t7') with open('../out_networks_layers/out_linknet_layers.pkl', 'rb')...
{ "pile_set_name": "Github" }
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/core/utils/crypto/KeyWrapAlgorithm.h> #include <aws/core/utils/HashingUtils.h> #include <aws/core/utils/EnumParseOverflowContainer.h> #include <aws/core/Globals.h> using namespace Aws::Ut...
{ "pile_set_name": "Github" }
// // Copyright (c) Microsoft Corporation. All rights reserved. // namespace Microsoft.Llilum.K64F { using System; using Microsoft.Zelig.Runtime; using Chipset = Microsoft.CortexM4OnMBED; using ChipsetAbstration = Microsoft.DeviceModels.Chipset.CortexM3; public sealed class SpiProviderUwp : Mi...
{ "pile_set_name": "Github" }
/* $OpenBSD$ */ /* * Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com> * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE S...
{ "pile_set_name": "Github" }