text
stringlengths
2
99.1k
meta
dict
function showIframeDialog(url) { var dlg = $('#iframeModal'); dlg.find("#iframe").attr("src", url); dlg.modal({'show':true}); }
{ "pile_set_name": "Github" }
/// @ref gtx_vector_angle /// @file glm/gtx/vector_angle.hpp /// /// @see core (dependence) /// @see gtx_quaternion (dependence) /// @see gtx_epsilon (dependence) /// /// @defgroup gtx_vector_angle GLM_GTX_vector_angle /// @ingroup gtx /// /// @brief Compute angle between vectors /// /// <glm/gtx/vector_angle.hpp> need...
{ "pile_set_name": "Github" }
Welcome to the Munin Guide ========================== Contents: .. toctree:: :maxdepth: 2 preface/index.rst tutorial/index.rst architecture/index.rst installation/index.rst advanced/index.rst howtos/index.rst develop/index.rst develop/plugins/index.rst reference/index.rst others/i...
{ "pile_set_name": "Github" }
file(GLOB images *.png) install(FILES theme.cfg ${images} credits.txt DESTINATION ${SHAREPATH}Data/Themes/Cake)
{ "pile_set_name": "Github" }
require_rv64; WRITE_RD(sext32(int32_t(RS1) >> (RS2 & 0x1F)));
{ "pile_set_name": "Github" }
use std::fs; use std::path::Path; pub fn main() { for f in fs::read_dir("/").unwrap() { let f = f.unwrap(); println!("{}", Path::new(&f.file_name()).display()); } }
{ "pile_set_name": "Github" }
{% extends "base.html" %} {% block content %} <article> <h2>{{ article.title }}</h2> {{ article.content }} <h6>Written by <a href="{{ SITEURL }}/author/{{ article.author|lower|replace(' ', '-') }}.html">{{ article.author }}</a> on {{ article.locale_date }}.</h6> </article> {% if DISQUS_SITENAME %} <hr/> <div class...
{ "pile_set_name": "Github" }
package com.cleveroad.blur_tutorial.explanator import android.view.View internal interface ExplanatorCallback { fun onPopupInflated(popupView: View) fun onError(errMsg: String) }
{ "pile_set_name": "Github" }
/// <reference path="fourslash.ts" /> //@Filename: jsxExpressionFollowedByIdentifier.tsx ////declare var React: any; ////const a = <div>{<div />[|x|]}</div> ////const b = <div x={<div />[|x|]} /> test.ranges().forEach(range => { verify.errorExistsAtRange(range, ts.Diagnostics._0_expected.code, "'}' expected."); /...
{ "pile_set_name": "Github" }
namespace std { template <typename> struct remove_reference; template <typename _Tp> struct remove_reference { typedef _Tp type; }; template <typename _Tp> struct remove_reference<_Tp &> { typedef _Tp type; }; template <typename _Tp> struct remove_reference<_Tp &&> { typedef _Tp type; }; template <typename _Tp> co...
{ "pile_set_name": "Github" }
defmodule GrapevineTelnet.Client do @moduledoc """ A client to check for MSSP data """ use GenServer, restart: :transient require Logger alias GrapevineTelnet.Features alias Telnet.Options @type message() :: any() @type option() :: tuple() @type result() :: {:noreply, state()} | {:stop, :normal,...
{ "pile_set_name": "Github" }
# PromiseKit # Setup You'll need to add the following "glue code" to your application, ideally as `ReactiveReSwiftBridge.swift`: ```swift extension Promise: StreamType { public typealias ValueType = T public typealias DisposableType = DisposableFake public func subscribe(_ function: @escaping (T) -> Voi...
{ "pile_set_name": "Github" }
SHORT GetArray(SHORT row, SHORT column); void SetArray(SHORT row, SHORT column, SHORT newVal);
{ "pile_set_name": "Github" }
// author: Jannik Strötgen // email: stroetgen@uni-hd.de // resources automatically created; see our EMNLP 2015 paper for details: // https://aclweb.org/anthology/D/D15/D15-1063.pdf // // english: "and","and" [Ii]n [Tt]er [Pp]a // english: "or","or" àli // english: "to","to" [Kk] [Hh] [Pp]roti
{ "pile_set_name": "Github" }
{ "Entries": [ { "Module": "go", "Field": "debug", "Kind": 0, "FunctionType": { "Index": 1 }, "TableType": null, "MemoryType": null, "GlobalType": null }, { "Module": "go", "Field": "runtime.wasmExit", "Kind": 0, "FunctionType": { "Index": 1 }, "TableType": null,...
{ "pile_set_name": "Github" }
# frozen_string_literal: true require_relative "../lib/tty-markdown" markdown =<<-TEXT ## Image ![Code highlight](assets/headers.png) ## Image Source Location ![](assets/headers.png) TEXT print TTY::Markdown.parse(markdown)
{ "pile_set_name": "Github" }
source 'https://github.com/CocoaPods/Specs.git' platform :osx, '10.10' target :Switch do pod 'MASPreferences' pod 'Sparkle' target :SwitchTests do pod 'OCMock' end end
{ "pile_set_name": "Github" }
<?xml version="1.0" encoding="utf-8"?> <Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <PropertyGroup /> </Project>
{ "pile_set_name": "Github" }
include(Platform/HP-UX-HP) __hpux_compiler_hp(ASM)
{ "pile_set_name": "Github" }
import socket def pickup_port(): s = socket.socket() s.bind(('127.0.0.1', 0)) port = s.getsockname()[-1] s.close() return port
{ "pile_set_name": "Github" }
{ "images" : [ { "idiom" : "universal", "filename" : "icon_read.png", "scale" : "1x" }, { "idiom" : "universal", "filename" : "icon_read@2x.png", "scale" : "2x" }, { "idiom" : "universal", "scale" : "3x" } ], "info" : { "version" : 1, ...
{ "pile_set_name": "Github" }
# TomEE Server Composer Intended soley as a means to improve integration testing by enabling a more expressive way to build a running server process, including ability to read log output.
{ "pile_set_name": "Github" }
{ "created_at": "2015-02-27T22:28:43.971214", "description": "A meteor smart package for the bootstrap bootboxjs plugin", "fork": false, "full_name": "TimHeckel/meteor-bootboxjs", "language": "JavaScript", "updated_at": "2015-03-10T07:01:59.041825" }
{ "pile_set_name": "Github" }
include_rules = [ "+grit", # For generated headers ]
{ "pile_set_name": "Github" }
version = $(shell git describe --dirty || echo dev) curl=no ifneq ($(curl),no) flags=-DUSE_CURL -lcurl else flags= endif all: push.so push.so: push.cpp CXXFLAGS="$(CXXFLAGS) -DPUSHVERSION=\"\\\"$(version)\\\"\" $(flags)" LIBS="$(LIBS) $(flags)" \ znc-buildmod push.cpp install: push.so mkdir -p $(HOME)/.znc/m...
{ "pile_set_name": "Github" }
/* MIT License http://www.opensource.org/licenses/mit-license.php Author Tobias Koppers @sokra */ var ExternalsPlugin = require("../ExternalsPlugin"); function NodeTargetPlugin() {} module.exports = NodeTargetPlugin; NodeTargetPlugin.prototype.apply = function(compiler) { new ExternalsPlugin("commonjs", Object.key...
{ "pile_set_name": "Github" }
export function isDef(val) { return val !== undefined && val !== null; } export function isKorean(text) { const reg = /([(\uAC00-\uD7AF)|(\u3130-\u318F)])+/gi; return reg.test(text); }
{ "pile_set_name": "Github" }
There is a ppro flag in cast-586 which turns on/off generation of pentium pro/II friendly code This flag makes the inner loop one cycle longer, but generates code that runs %30 faster on the pentium pro/II, while only %7 slower on the pentium. By default, this flag is on.
{ "pile_set_name": "Github" }
## _template.properties ## This optional file controls the template processing settings. ## Ignore: file pattern(s) to ignore # ignore: .gitignore, *.swp ## Resource patterns for processing with the template engine. In ## this example, files matching will not be processed. # process.before: !*.aaa
{ "pile_set_name": "Github" }
{ "images" : [ { "idiom" : "universal", "scale" : "1x" }, { "idiom" : "universal", "filename" : "pic_local_empty_177x120_@2x.png", "scale" : "2x" }, { "idiom" : "universal", "filename" : "pic_local_empty_177x120_@3x.png", "scale" : "3x" } ], ...
{ "pile_set_name": "Github" }
#define HEADLESS_APP 1 typedef struct ovrHmdStruct { } OvrHmdContext; #define OVR_ALIGNAS(n) /** Removed in 0.5.0, but permanently enabled! */ #define ovrDistortionCap_Chromatic 0x01 #include "OVR_CAPI.h"
{ "pile_set_name": "Github" }
package name func EmptyIfNil(input *string) string { if input == nil { return "" } return *input }
{ "pile_set_name": "Github" }
{ "parent": "minecraft:recipes/root", "rewards": { "recipes": [ "tconstruct:casting/casts/ingots" ] }, "criteria": { "has_item": { "trigger": "minecraft:inventory_changed", "conditions": { "items": [ { "tag": "forge:ingots" } ] ...
{ "pile_set_name": "Github" }
module.exports = { ROOT : 0, GROUP : 1, POSITION : 2, SET : 3, RANGE : 4, REPETITION : 5, REFERENCE : 6, CHAR : 7, };
{ "pile_set_name": "Github" }
*** Error at (8,15): syntax error
{ "pile_set_name": "Github" }
RADXA_ROCK M: Heiko Stuebner <heiko@sntech.de> S: Maintained F: board/radxa/rock F: include/configs/rock.h F: configs/rock_defconfig
{ "pile_set_name": "Github" }
require('../../modules/es7.reflect.has-metadata'); module.exports = require('../../modules/_core').Reflect.hasMetadata;
{ "pile_set_name": "Github" }
/* ===== dialog.css ====================================================== == Styles used by the XUL dialog element. ======================================================================= */ @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
{ "pile_set_name": "Github" }
// Copyright 2012-present Oliver Eilhard. All rights reserved. // Use of this source code is governed by a MIT-license. // See http://olivere.mit-license.org/license.txt for details. package elastic import ( "encoding/json" "testing" ) func TestTypeQuery(t *testing.T) { q := NewTypeQuery("my_type") src, err := q...
{ "pile_set_name": "Github" }
export default [ { text: 'Apple', }, { text: 'Banana', }, { text: 'Cherry', }, { text: 'Grapefruit', }, { text: 'Lemon', }, ];
{ "pile_set_name": "Github" }
rootProject.name = "cross-compilation"
{ "pile_set_name": "Github" }
temple = { name = "Temple" conditions = { unit_class = lumber_mill } }
{ "pile_set_name": "Github" }
import Elm from './Main'; // We need embed the Elm app to the div, if we call fullscreen we will have duplicated html Elm.Main.embed(document.getElementById('root')); if (module.hot) { module.hot.accept(); }
{ "pile_set_name": "Github" }
package synthetic // Generator is a pseudo-random numbers generator. type Generator interface { Int() int }
{ "pile_set_name": "Github" }
exclude :test_install_into, "needs investigation" exclude :test_install_into_development_shallow, "needs investigation"
{ "pile_set_name": "Github" }
# Several scripts pull information from Galaxy's standard configuration # file. The post-processing scripts use the following variables. [app:main] enable_api = True library_import_dir = /source/galaxy/upload [galaxy_amqp] host = rabbitmq.host.machine port = 5672 userid = rabbitmq_user password = rabbitmq_passwd virt...
{ "pile_set_name": "Github" }
nocibambi
{ "pile_set_name": "Github" }
# frozen_string_literal: true module PayHelper end
{ "pile_set_name": "Github" }
UITour ====== .. toctree:: UITour-lib .. js:autoclass:: Mozilla.UITour :members: none
{ "pile_set_name": "Github" }
// #Conformance #TypesAndModules #Records #light // Verify no errors for type inference with ambiguous types // and type annotations. type Red = { A : char } type Blue = { A : char; B : int } type Green = { A : char; B : int; C : string } let test1 () = let t : Red = { A = 'a' } t.A let test2 () = l...
{ "pile_set_name": "Github" }
// // Use this file to import your target's public headers that you would like to expose to Swift. //
{ "pile_set_name": "Github" }
error: too many `#` when terminating raw string --> $DIR/raw-str-unbalanced.rs:3:9 | LL | "## | ^ help: remove the extra `#` | = note: the raw string started with 1 `#`s error: aborting due to previous error
{ "pile_set_name": "Github" }
'use strict'; module.exports = function () { var isSafeInteger = Number.isSafeInteger; if (typeof isSafeInteger !== 'function') return false; return !isSafeInteger('23') && isSafeInteger(34232322323) && !isSafeInteger(9007199254740992); };
{ "pile_set_name": "Github" }
from pathlib import Path def list_v2_defs(): return [deffile.stem for deffile in (Path(__file__).parent / '..' / '..' / '..' / 'module' / 'definitions' / '2') .iterdir()]
{ "pile_set_name": "Github" }
class Regexp def to_json(options = nil) #:nodoc: inspect end end
{ "pile_set_name": "Github" }
This is to explore common versioning issues with persisted events when using event sourcing with ncqrs. Run CreateEventStore.sql script to your local SQL database. Update the connection strings when needed. * AppV1 is the base app, run this first to create a person with an "old" event. * AppV2 represen...
{ "pile_set_name": "Github" }
{ "author": { "name": "Sindre Sorhus", "email": "sindresorhus@gmail.com", "url": "sindresorhus.com" }, "dependencies": { "pump": "^3.0.0" }, "description": "Get a stream as a string, buffer, or array", "devDependencies": { "ava": "*", "into-stream": "^3.0.0", "xo": "*" }, "en...
{ "pile_set_name": "Github" }
#!/bin/bash if grep -q -Ew "(drbl-live-debug|ocs-debug|ocs-live-debug)" /proc/cmdline; then /bin/bash fi
{ "pile_set_name": "Github" }
// RUN: %clang_cc1 -fsyntax-only -verify -Wreserved-user-defined-literal -fms-extensions -fms-compatibility -std=c++98 %s #define bar(x) #x const char * f() { return "foo"bar("bar")"baz"; /*expected-warning {{identifier after literal will be treated as a reserved user-defined literal suffix in C++11}} */ }
{ "pile_set_name": "Github" }
--- src/input/device_mouse_osg.hh.orig 2011-12-14 01:56:48 UTC +++ src/input/device_mouse_osg.hh @@ -41,7 +41,6 @@ private: HandlerOSG( void ) { } virtual ~HandlerOSG() { } virtual bool handle( const osgGA::GUIEventAdapter& event, osgGA::GUIActionAdapter& action ); ...
{ "pile_set_name": "Github" }
package org.ligi.passandroid.model import org.ligi.passandroid.model.pass.PassType.* object PassDefinitions { val TYPE_TO_NAME = mapOf(COUPON to "coupon", EVENT to "eventTicket", BOARDING to "boardingPass", GENERIC to "generic", LOYALTY to "storeCard") val NAM...
{ "pile_set_name": "Github" }
name = "FlatBuffers" uuid = "53afe959-3a16-52fa-a8da-cf864710bae9" repo = "https://github.com/JuliaData/FlatBuffers.jl.git"
{ "pile_set_name": "Github" }
/usr/local/vesta/log/*.log { missingok notifempty size 30k yearly create 0600 root root }
{ "pile_set_name": "Github" }
[[source]] url = "https://pypi.python.org/simple" verify_ssl = true name = "pypi" [packages] [dev-packages]
{ "pile_set_name": "Github" }
(function( factory ) { if ( typeof define === "function" && define.amd ) { define( ["jquery", "../jquery.validate"], factory ); } else { factory( jQuery ); } }(function( $ ) { /* * Translated default messages for the jQuery validation plugin. * Locale: HR (Croatia; hrvatski jezik) */ $.extend($.validator.mes...
{ "pile_set_name": "Github" }
//! `cortex-m-rt` based program with a function run before RAM is initialized. #![deny(warnings)] #![no_main] #![no_std] extern crate cortex_m_rt as rt; extern crate panic_halt; use rt::{entry, pre_init}; #[pre_init] unsafe fn disable_watchdog() { // Do what you need to disable the watchdog. } #[entry] fn main...
{ "pile_set_name": "Github" }
format_version: '2.0' input_files: 'aws_hash_ptr_harness.i' properties: - property_file: ../properties/unreach-call.prp expected_verdict: true options: language: C data_model: LP64
{ "pile_set_name": "Github" }
Cleaning up comments on config files with `grep` Intro to `sed` Using `lynx` to convert HTML to text Count non-empty lines with `nl` utility Wrap text with `fold`
{ "pile_set_name": "Github" }
#define __NR_read 6000 #define __NR_write 6001 #define __NR_open 6002 #define __NR_close 6003 #define __NR_stat 6004 #define __NR_fstat 6005 #define __NR_lstat 6006 #define __NR_poll 6007 #define __NR_lseek 6008 #define __NR_mmap 6009 #define __NR_mprotect 6010 #define __NR_munmap 6011 #define _...
{ "pile_set_name": "Github" }
export const delay = (time) => new Promise((resolve) => setTimeout(() => resolve(), time));
{ "pile_set_name": "Github" }
var pako = require('pako'); var Binary = require('bodec').Binary; if (Binary === Uint8Array) { module.exports = pako.inflate; } else { module.exports = function inflate(value) { return new Binary(pako.inflate(new Uint8Array(value))); }; }
{ "pile_set_name": "Github" }
#!/bin/sh mkdir colors cp SublimeMonokai.xml colors touch IntelliJ\ IDEA\ Global\ Settings jar cfM SublimeMonoKai.jar IntelliJ\ IDEA\ Global\ Settings colors rm -r colors rm IntelliJ\ IDEA\ Global\ Settings
{ "pile_set_name": "Github" }
func something() { fatalError("this should never be ran") }
{ "pile_set_name": "Github" }
<?xml version="1.0" encoding="utf-8" ?> <configuration> <appSettings> <add key="Theme" value="Dark" /> </appSettings> <startup> <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" /> </startup> </configuration>
{ "pile_set_name": "Github" }
within Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Data; package DoubleSpeed "Performance data for DoubleSpeed DXCoils" extends Modelica.Icons.MaterialPropertiesPackage; annotation(preferredView="info", Documentation(info="<html> <p> Package with performance data for air-cooled DX coils. </p> </html>", revisio...
{ "pile_set_name": "Github" }
/** * Implementation of REST API using Jersey. * * @author Cedrick Lunven (@clunven)</a> * @version 1.0 */ package org.ff4j.web.api; /* * #%L * ff4j-core * %% * Copyright (C) 2013 - 2016 FF4J * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compli...
{ "pile_set_name": "Github" }
new (A, B) new (A || B) new (X ? A : B)
{ "pile_set_name": "Github" }
Checked 2 interleaving(s). No errors found.
{ "pile_set_name": "Github" }
/** * @swagger * parameter: * tl_limit: * name: limit * in: query * description: The maximum number of timeline entries to include in the response. * required: false * type: integer * tl_offset: * name: offset * in: query * description: Start the list of resul...
{ "pile_set_name": "Github" }
// // Border // .border-0 { border: 0 !important; } .border-top-0 { border-top: 0 !important; } .border-right-0 { border-right: 0 !important; } .border-bottom-0 { border-bottom: 0 !important; } .border-left-0 { border-left: 0 !important; } // // Border-radius // .rounded { @include border-radius($bord...
{ "pile_set_name": "Github" }
using System; using Windows.UI.Xaml.Data; namespace Q42.WinRT.SampleApp.Common { /// <summary> /// Value converter that translates true to false and vice versa. /// </summary> public sealed class BooleanNegationConverter : IValueConverter { public object Convert(object value, Type targetTy...
{ "pile_set_name": "Github" }
// // Generated by class-dump 3.5 (64 bit). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2015 by Steve Nygard. // #import <UIKit/UIView.h> @class TVSImageProxy, UIColor, UIImage, UIImageView; @interface TVImageView : UIView { _Bool _rendersImageAsTemplates; UIImage *_image; UIImag...
{ "pile_set_name": "Github" }
require('../../modules/es.array.iterator'); var entryUnbind = require('../../internals/entry-unbind'); module.exports = entryUnbind('Array', 'values');
{ "pile_set_name": "Github" }
.gradient-mixin(@color) { background: svg-gradient(to bottom, fade(@color, 0%) 0%, fade(@color, 5%) 60%, fade(@color, 10%) 70%, fade(@color, 15%) 73%, fade(@color, 20%) 75%, fade(@color, 25%) 80%, fade(@color, 30%) 85%, fade(@color, 35%) 88%, fade(@color, 40%) 90%, fade(@color,...
{ "pile_set_name": "Github" }
{ "id": "blue-mosaic-tile-flooring", "name": "Blue Mosaic-tile Flooring", "games": { "nh": { "sellPrice": { "currency": "bells", "value": 225 }, "buyPrices": [ { "currency": "bells", "value": 900 } ] } }, "category": "Flooring...
{ "pile_set_name": "Github" }
/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ import React from 'react'; import { withTheme } from '../../../cn'; import Icon from '../..'; import { IconProps }...
{ "pile_set_name": "Github" }
# See the OWNERS docs at https://go.k8s.io/owners reviewers: - deads2k - mbohlool
{ "pile_set_name": "Github" }
/* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License; * you may not use this file except in compliance with the Elastic License. */ import { createTestConfig } from '../common/config'; // eslint-disable-next-...
{ "pile_set_name": "Github" }
#include <asm-generic/termbits.h>
{ "pile_set_name": "Github" }
Scope: [] Kind: Module FrameDescriptor: Empty CellVars: Empty FreeVars: Empty Scope: gen Kind: Generator FrameDescriptor: [x, <return_val>] CellVars: Empty FreeVars: Empty
{ "pile_set_name": "Github" }
<%- list_categories({style: 'list', depth: '0'}) %>
{ "pile_set_name": "Github" }
{ "log_level": "INFO", "server": true, "ui": true, "data_dir": "/opt/consul/data", "bind_addr": "IP_ADDRESS", "client_addr": "IP_ADDRESS", "advertise_addr": "IP_ADDRESS", "bootstrap_expect": SERVER_COUNT, "service": { "name": "consul" } }
{ "pile_set_name": "Github" }
Payload: <%= @payload.inspect %> Exception: <%= @error %> Backtrace: <%= @backtrace %>
{ "pile_set_name": "Github" }
define( [ "../core", "../var/document", "../ajax" ], function( jQuery, document ) { "use strict"; // Prevent auto-execution of scripts when no explicit dataType was provided (See gh-2432) jQuery.ajaxPrefilter( function( s ) { if ( s.crossDomain ) { s.contents.script = false; } } ); // Install script dataType ...
{ "pile_set_name": "Github" }
.container{ width: 100%; height: 100%; } .map{ width: 100%; height: 100%; }
{ "pile_set_name": "Github" }
using WowPacketParser.Enums; using WowPacketParser.Misc; using WowPacketParser.Parsing; namespace WowPacketParserModule.V1_13_2_31446.Parsers { public static class ActionBarHandler { [Parser(Opcode.CMSG_SET_ACTION_BUTTON)] public static void HandleSetActionButton(Packet packet) { ...
{ "pile_set_name": "Github" }
class Build constructor: (@singool) -> description: 'Build Layout, JS and CSS' run: => @singool.build() module.exports = Build
{ "pile_set_name": "Github" }
'use strict' angular.module '<%= appname %>' .filter '<%= compname %>', -> (input) -> '<%= compname %> filter: ' + input
{ "pile_set_name": "Github" }
callbacks html: aBlock "Conveniance method that takes a block that is used to render the contents of the window when being opened." self autoOpen: false. self onOpen: (self owner copy load html: aBlock)
{ "pile_set_name": "Github" }
import { helper } from '@ember/component/helper'; export default helper(function([value]) { return value + 1; });
{ "pile_set_name": "Github" }