prompt
stringlengths
108
4.81k
target
stringlengths
17
1.85k
prompt_type
stringclasses
6 values
<|file_sep|>edit history --- a/cronusw/src/main/public/js/cronus-time.js +++ b/cronusw/src/main/public/js/cronus-time.js @@ -69,0 +69,1 @@ + var workspace = new Workspace(); <|file_sep|>cronusw/src/main/public/js/cronus-time.js <|fim_prefix|>ePassword', "click #login": 'onClickLogin' }, ...
workspace.navigate('login', {trigger: true}); >>>>>>> UPDATED
no_edit_last_hunk
<|file_sep|>tests/unit/test_gcs_client.py import uuid import pytest from globus_cli.services.gcs import get_gcs_client def test_get_gcs_client_missing_required_auth(): gcsid = str(uuid.uuid1()) with pytest.raises(ValueError) as excinfo: get_gcs_client(gcsid) assert f"--gcs {gcsid}" in str(exci...
env: ARAKOON_EXECUTABLE_NAME=/usr/bin/arakoon >>>>>>> UPDATED
no_edit_last_hunk
<|file_sep|>net.stickycode.bootstrap/sticky-bootstrap-spring3/src/main/java/net/stickycode/bootstrap/spring3/StickySpringBootstrap.java <|fim_prefix|>package net.stickycode.bootstrap.spring3; import net.stickycode.stereotype.StickyComponent; import net.stickycode.stereotype.StickyPlugin; import org.springframework.co...
import org.springframework.stereotype.Component; >>>>>>> UPDATED
no_related_no_history
<|file_sep|>tests/test_gene_page.py import unittest import runserver class GenePageTestCase(unittest.TestCase): def setUp(self): runserver.app.config['TESTING'] = True self.app = runserver.app.test_client() def tearDown(self): pass # import this TODO LMTW def login(self,...
"version": "1.0.2", >>>>>>> UPDATED
dummy_related_files
<|file_sep|>.travis.yml <|fim_prefix|><<<<<<< CURRENT <|user_cursor|>language: ruby ======= <|fim_suffix|> addons: apt: packages: - build-essential - software-properties-common - bzr - dh-make - bzr-builddeb rvm: - 2.4.0 #env: # global: # - NO_EXCLUDE=yes # matrix: # - RUBYVER=check script...
language: c os: - linux compiler: - gcc >>>>>>> UPDATED
no_related_no_history
<|file_sep|>spec/requests/healthcheck_spec.rb RSpec.describe "/healthcheck" do it "returns database connection status" do get "/healthcheck" json = JSON.parse(response.body) expect(json["checks"]).to include("database_connectivity") end end <|file_sep|>themeStorage.js window.ThemeStorage = { default...
<entry type="NXentry"> <entry_1D NXS:location=" [3,10,5][3,10,5]#((({pixelY|0,1}OR{pixelID|1,2,3,4,5,6,7})))OR{pixelX|1,3,1}OR{Tbin|1,2}"/> </entry> >>>>>>> UPDATED
dummy_related_files
<|file_sep|>Ex03/chebNodesWeights.py import numpy as np from scipy.interpolate import lagrange def chebNodes(N): "Returns N Chebyshev nodes in (-1,1)." return np.array([np.cos( np.pi * (2*k-1)/(2*N)) for k in range(1,N+1)]) def l(j,q): "Returns the j-th lagrange basis polynomial on the nodes q." ...
</div> <div class="col-xs-12 col-sm-2"> <label><input id="include-departed" type="checkbox"> include departed</label> >>>>>>> UPDATED
no_edit_last_hunk
<|file_sep|>plugins-compat-tester/src/main/java/org/jenkins/tools/test/hook/AwsJavaSdkHook.java package org.jenkins.tools.test.hook; import java.util.Map; import java.util.logging.Level; import java.util.logging.Logger; import org.jenkins.tools.test.model.PomData; public class AwsJavaSdkHook extends AbstractMultiPare...
echo "</center>" >>>>>>> UPDATED
both
<|file_sep|>bearsData/validations/march-24_to_01-april.txt FasterXML-jackson-databind-215799347-20170328-070955 [OK] FasterXML-jackson-databind-215111320-20170326-013759 [OK] phoenixnap-springmvc-raml-plugin-216359941-20170329-155651 [OK] tipsy-j2html-216094003-20170328-222754 [OK] owlcs-owlapi-216138121-20170329-00474...
:content => /^\s+server_name gruffalo\.example\.com\ gruffalo\.example\.com\.\*;$/ >>>>>>> UPDATED
dummy_related_files
<|file_sep|>core/src/test/scala/org/scalatra/RailsLikeUrlGeneratorTest.scala package org.scalatra import org.scalatest.FunSuite import org.scalatest.matchers.MustMatchers class RailsLikeUrlGeneratorTest extends FunSuite with MustMatchers { def url(path: String, params: Pair[String, String]*): String = url(path...
version='0.5.2', >>>>>>> UPDATED
dummy_related_files
<|file_sep|>tests/cli/test_repair.py from vdirsyncer.cli.utils import repair_storage from vdirsyncer.storage.memory import MemoryStorage from vdirsyncer.utils.vobject import Item def test_repair_uids(): s = MemoryStorage() s.upload(Item(u'BEGIN:VCARD\nEND:VCARD')) repair_storage(s) uid, = [s.get(hre...
- "0.6" - "0.8" - "0.10" >>>>>>> UPDATED
dummy_related_files
<|file_sep|>docs/_posts/2017-10-11-version-0.05-release.md --- title: Arez 0.05 released type: minor --- Arez 0.05 released. [Full Changelog](https://github.com/realityforge/arez/compare/v0.04...v0.05) Changes in this release: ##### Added * **\[extras\]** Extract the `StringifyReplacer` from the `ConsoleSpyEven...
- openjdk16 >>>>>>> UPDATED
dummy_related_files
<|file_sep|>scripts/dump_timestamp.py #!/usr/bin/env python from pexif import JpegFile import sys usage = """Usage: dump_timestamp.py filename.jpg""" if len(sys.argv) != 2: print >> sys.stderr, usage sys.exit(1) try: ef = JpegFile.fromFile(sys.argv[1]) primary = ef.get_exif().get_primary() print...
alias yw="yarn workspace" alias yws="yarn workspaces" >>>>>>> UPDATED
dummy_related_files
<|file_sep|>README.md <|fim_prefix|># Robolectric <<<<<<< CURRENT <|user_cursor|>[![Build Status](https://secure.travis-ci.org/erd/robolectric.github.io.png?branch=source)](http://travis-ci.org/erd/robolectric.github.io) ======= <|fim_suffix|> This repository is the source for the docs that live at [robolectric.org](...
[![Build Status](https://secure.travis-ci.org/robolectric/robolectric.github.io.png?branch=source)](http://travis-ci.org/robolectric/robolectric.github.io) >>>>>>> UPDATED
no_related_no_history
<|file_sep|>findbugsTestCases/src/java/npe/LoggerFalsePositive.java package npe; import java.util.logging.Level; import java.util.logging.Logger; public class LoggerFalsePositive { public LoggerFalsePositive(String container) { this.container = container; } private Logger getLogger() { return Logger.getAnonymo...
addSbtPlugin("org.scala-js" % "sbt-scalajs" % "1.5.0") >>>>>>> UPDATED
dummy_related_files
<|file_sep|>src/main/java/com/sunny/grokkingalgorithms/fasttrack/treesandgraphs/CreateBSTFromSortedArray.java package com.sunny.grokkingalgorithms.fasttrack.treesandgraphs; import com.sunny.grokkingalgorithms.ctci.c4.util.BinaryTreeNode; import com.sunny.grokkingalgorithms.ctci.c4.util.TreeUtils; /** * Created by su...
* @see {@link https://github.com/AvianFlu/ncp} for NCP module information. >>>>>>> UPDATED
dummy_related_files
<|file_sep|>README.md <|fim_prefix|>g?branch=master)](https://coveralls.io/github/rhberro/the-react-client?branch=master) The simplest and the cleanest client template using React. --- - [**Installing**](#installing) - [**Getting Started**](#getting-started) - [**Contributing**](#contributing) - [**License**](#licen...
Run node package manager install command or yarn to install the project dependencies. >>>>>>> UPDATED
no_related_no_history
<|file_sep|>wordpress-shortcodes/src/main/java/org/wordpress/aztec/plugins/shortcodes/handlers/CaptionHandler.kt package org.wordpress.aztec.plugins.shortcodes.handlers import org.wordpress.aztec.handlers.GenericBlockHandler import org.wordpress.aztec.plugins.shortcodes.spans.CaptionShortcodeSpan class CaptionHandler...
- uses: actions/checkout@v2 >>>>>>> UPDATED
both
<|file_sep|>.github/workflows/regression_tests.yml name: Daily regression tests on: schedule: - cron: '0 4,16 * * *' workflow_dispatch: jobs: tfhubmodels: name: "Regression test TF hub models" runs-on: ubuntu-18.04 # Don't run this in everyone's forks. if: github.repository == 'google/iree-s...
skip_install = true >>>>>>> UPDATED
no_edit_last_hunk
<|file_sep|>edit history --- a/Code/Cleavir/SSA-form/cleavir-ssa-form.asd +++ b/Code/Cleavir/SSA-form/cleavir-ssa-form.asd @@ -6,0 +6,1 @@ + :serial t <|file_sep|>Code/Cleavir/SSA-form/cleavir-ssa-form.asd <|fim_prefix|>(cl:in-package #:asdf-user) (defsystem :cleavir-ssa-form :depends-on (:cleavir-utilities ...
(:file "ssa-form"))) >>>>>>> UPDATED
no_edit_last_hunk
<|file_sep|>step_0/scripts/instructional_sampling.py # coding=utf-8 import sys reload(sys) sys.setdefaultencoding('utf-8') # sc is an existing SparkContext. from pyspark.sql import SQLContext sqlContext = SQLContext(sc) directory = "/Volumes/JS'S FIT/json" datasets = sqlContext.read.json(directory) file_count = data...
navigation-title=Pontoon Intro navigation-developers=Developers >>>>>>> UPDATED
dummy_related_files
<|file_sep|>app/views/partial/navbar/_zeromin.html.erb <%= include_gon %> <div class="btn-group"> <a id="zeromin" type="button" class="btn btn-default" data-toggle="tooltip-down" data-original-title="Force min(y) == 0" > <b>y0</b> </a> </div> <script> $(function() { zm = <%= to_bool(check_param(:zeromin, ["o...
.. _porting guide: http://py3c.readthedocs.org/en/latest/guide.html .. _cheatsheet: http://py3c.readthedocs.org/en/latest/cheatsheet.html >>>>>>> UPDATED
no_edit_last_hunk
<|file_sep|>edit history --- a/README.md +++ b/README.md @@ -5,1 +5,1 @@ -<img width="375" alt="Partyshare screenshot" src="https://cloud.githubusercontent.com/assets/1383979/25337347/8fff202a-28c9-11e7-98a6-86bc4fc27481.png"> +![example](https://cloud.githubusercontent.com/assets/1383979/25846625/7be9b06a-3480-11e7-84...
Download the latest version at [busterlabs.github.io/Partyshare](https://busterlabs.github.io/Partyshare/). >>>>>>> UPDATED
no_edit_last_hunk
<|file_sep|>week-4/smallest-integer/smallest_integer_spec.rb require_relative "my_solution" describe 'smallest_integer' do it "returns nil when the array is empty ([])" do expect(smallest_integer([])).to be_nil end it "returns 0 when that is the only element in the array" do expect(smallest_integer([0])...
<fileMode>644</fileMode> >>>>>>> UPDATED
no_edit_last_hunk
<|file_sep|>packages/an/antiope-es.yaml <|fim_prefix|><<<<<<< CURRENT <|user_cursor|>homepage: https://github.com/arbor/antiope#readme changelog-type: markdown hash: e9da80dbc77434d0112433246bc0757f7cd1d552a32c721ef9a09e95880d4cbe test-bench-deps: base: ! '>=4.7 && <5' hspec: -any antiope-es: -any maintainer: may...
homepage: https://github.com/arbor/antiope#readme changelog-type: markdown hash: e9da80dbc77434d0112433246bc0757f7cd1d552a32c721ef9a09e95880d4cbe test-bench-deps: base: ! '>=4.7 && <5' hspec: -any antiope-es: -any maintainer: mayhem@arbor.net synopsis: Please see the README on Github at <https://github.com/arbor/...
no_edit_random
<|file_sep|>h2o-py/tests/testdir_algos/deepwater/pyunit_inception_bn_feature_extraction.py from __future__ import print_function import sys, os sys.path.insert(1, os.path.join("..","..","..")) import h2o from tests import pyunit_utils from h2o.estimators.deepwater import H2ODeepWaterEstimator import urllib def deepwa...
when: skip_base is not defined >>>>>>> UPDATED
dummy_related_files
<|file_sep|>nubis/builder/provisioners.json { "provisioners": [ { "type": "shell", "inline" : ["sudo rm -rf /var/lib/consul /usr/local/bin/consul /opt/staging/consul/consul.zip"] "order": 20 } ] } <|file_sep|>build.py """Update conda packages on binstars with latest versions""" import os import six...
{{#if model}} >>>>>>> UPDATED
dummy_related_files
<|file_sep|>targets.py """ Functions for managing targets. """ import json import logging import os import glob import services from services import * class Target(object): def __init__(self, json_desc): config = json.loads(json_desc) self.name = config['name'] self.host = config['host']...
- apt: pkg=vlan - apt: pkg=bridge-utils >>>>>>> UPDATED
dummy_related_files
<|file_sep|>app/models/curated_mark.rb <|fim_prefix|>SUGGESTED_MARKS = [ { name: 'Development', description: 'You build webapps, develop mobile apps, implement designs, manage infrastructure, or just love doing code reviews.', related_marks: [ 'Ruby', 'Rails', 'iOS', 'Android', 'Redis', 'JavaScript'...
Go', 'Bitcoin', 'Ember', 'Clojure', 'React', 'Security' ], }, { name: 'Design', description: 'You spend most of your day in Photoshop. You design logos, put together wireframes and create high fidelity mockups.', related_marks: [ 'UI', 'UX', 'Logo', 'IA', 'Homepage', 'Branding', 'Wirefra...
no_edit_random
<|file_sep|>ShakaPlayer.qml ///Video paly er based on shaka-player Item { signal error; ///< error occured signal signal finished; ///< video finished signal property string source; ///< video source URL property Color backgroundColor: "#000"; ///< default background color property float volume: 1.0; ///< video ...
set_include_path(dirname(__FILE__).'/thirdparty'.PATH_SEPARATOR.get_include_path()); >>>>>>> UPDATED
no_edit_last_hunk
<|file_sep|>scripts/find_nested_projects.py #!/usr/bin/env python # -*- coding: utf-8 -*- """Helper to get a list of all projects that are nested within another project.""" from website.project.model import Node from modularodm import Q from tests.base import OsfTestCase from tests.factories import ProjectFactory d...
#!/bin/sh >>>>>>> UPDATED
dummy_related_files
<|file_sep|>source/posts/2017-01-16-Edo-van-Dijk-149.html.erb.md --- title: Edo van Dijk interviewee: Edo van Dijk topic_list: EdenSpiekermann | Lessons learned | Curiosity | Innocence | Teams | Mistakes | Stupid questions | Asia | Loosing face | Interns | Failure | Singapore | Empowerment | Making a difference | Job...
function babelifyMiddleware(entries, brOptions, baOptions) { >>>>>>> UPDATED
dummy_related_files
<|file_sep|>.forestry/front_matter/templates/colinha.yml <|fim_prefix|> name: date label: Date type: datetime hidden: false default: 2019-02-21 03:00:00 +0000 - name: img label: Img type: file hidden: false default: "/images/colinha.png" - name: comments label: Comments type: boolean hidden: false...
- _posts/estou-usando-um-cms-e-você-deveria-também.md >>>>>>> UPDATED
no_related_no_history
<|file_sep|>examples/auto_start.rb # coding: utf-8 require 'tty-spinner' spinner = TTY::Spinner.new("Loading :spinner ...", format: :spin_2) spinner.start sleep 1 # Some long task spinner.stop('done') <|file_sep|>声明式编程与命令式编程的差异.md # 声明式编程与命令式编程的差异 声明式程序和命令式程序是程序的方法,具体使用依赖于要么与你想在给定的工程上要么就是你工程上,具体使用依据你的实际需要 ## 什么是声明式...
if @school @school.key_stage_list elsif current_user.nil? || current_user.school.nil? >>>>>>> UPDATED
dummy_related_files
<|file_sep|>.github/PULL_REQUEST_TEMPLATE.md <|fim_prefix|># Issue What issue is this PR targeting? If there is no issue that addresses the problem, please open a corresponding issue and link it here. ## Tasklist - [ ] ADD OWN TASKS HERE <<<<<<< CURRENT <|user_cursor|> ======= <|fim_suffix|> - [ ] update relevant [...
- [ ] CHANGELOG.md entry ([How to write a changelog entry](http://keepachangelog.com/en/1.0.0/#how)) >>>>>>> UPDATED
no_related_no_history
<|file_sep|>spec/unit/pty_spec.rb <|fim_prefix|>RSpec.describe TTY::Command, ':pty' do it "executes command in pseudo terminal mode as global option", unless: RSpec::Support::OS.windows? do color_cli = fixtures_path('color') output = StringIO.new <<<<<<< CURRENT <|user_cursor|> cmd = TTY::Command.new(pty: ...
cmd = TTY::Command.new(output: output, pty: true) >>>>>>> UPDATED
no_related_no_history
<|file_sep|>requirements_dev.txt <|fim_prefix|>pip==9.0.1 bumpversion==0.5.3 wheel==0.33.6 flake8==3.7.8 watchdog==0.9.0 tox==3.14.0 coverage==4.5.4 Sphinx==1.6.5 cryptography==2.7 <<<<<<< CURRENT <|user_cursor|>PyYAML==5.1.2 ======= <|fim_suffix|> pytest==3.2.3 pytest-mock==1.10.4 pytest-runner==5.1 six==1.12.0 <|fim_...
PyYAML==5.3.1 >>>>>>> UPDATED
no_related_no_history
<|file_sep|>16Colors.txt #000000 #0000aa #aa0000 #aa00aa #00aa00 #00aaaa #aaaa00 #cccccc #777777 #0000ff #ff0000 #ff00ff #00ff00 #00ffff #ffff00 #ffffff <|file_sep|>btrfs/snapshot_size.sh #!/bin/bash QGROUPS=$(btrfs qgroup show / | tail -n +3 | cut -d/ -f2-) NAMES=$(btrfs sub list / | cut -d" " -f2-) #echo "$QGROUPS"...
command = ((HelpCommand) command).getRootCommand(); // changed command point without parsing extra argument i--; // step back for that extra argument >>>>>>> UPDATED
no_edit_last_hunk
<|file_sep|>WalletWasabi/Models/CoinsRegistry.cs using System.Collections.Generic; using System.Collections.Specialized; using System.Linq; using NBitcoin; using WalletWasabi.Models; namespace WalletWasabi.Gui.Models { public class CoinsRegistry { private HashSet<SmartCoin> _coins; private object _lock; public...
// See https://github.com/atom/atom-dark-ui/blob/master/styles/ui-variables.less >>>>>>> UPDATED
dummy_related_files
<|file_sep|>CMakeLists.txt <|fim_prefix|>cmake_minimum_required(VERSION 3.6) find_package(PkgConfig REQUIRED) find_package(Threads) set(TSUNAGARIC_LIBRARIES ${TSUNAGARIC_LIBRARIES} Threads::Threads ) if (APPLE) set(TSUNAGARIC_LIBRARIES ${TSUNAGARIC_LIBRARIES} /System/Library/Frameworks/Cocoa.framewor...
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11") >>>>>>> UPDATED
no_related_no_history
<|file_sep|>ct.sh source Message/MessageBuilder.sh baseDir=$(pwd) projectDir=d:/private/ee-7.0.x-portal/modules/apps/content-targeting MB(){ MessageBuilder $@ } CTBuilder(){ build(){ MB printProgressMessage building-content-targeting-modules cd ${projectDir} d:/private/ee-7.0.x-portal/gradlew clean depl ....
If `α <= 2` or `β <= 0`, the function returns `NaN`. >>>>>>> UPDATED
dummy_related_files
<|file_sep|>shadows/framework/src/main/java/org/robolectric/shadows/ShadowFontsContract.java <|fim_prefix|><<<<<<< CURRENT <|user_cursor|>package org.robolectric.shadows; import static android.os.Build.VERSION_CODES.O; import android.graphics.Typeface; import android.provider.FontRequest; import android.provider.Font...
package org.robolectric.shadows; import static android.os.Build.VERSION_CODES.O; import android.graphics.Typeface; import android.provider.FontRequest; import android.provider.FontsContract; import org.robolectric.annotation.Implementation; import org.robolectric.annotation.Implements; @Implements(value = FontsContr...
no_edit_random
<|file_sep|>e-mission-py.bash # # Simple script to ensure that the pythonpath is set correctly before executing the command. # As we increase the number of directories that we need, this becomes useful. # Maybe we can restructure the code to avoid this, but this is a useful placeholder until then. # Make sure that th...
autodoc.json() >>>>>>> UPDATED
no_edit_last_hunk
<|file_sep|>src/main/resources/builtin/basex.org/modules/sessions.xqy <|fim_prefix|><<<<<<< CURRENT <|user_cursor|>xquery version "3.0"; (:~ : BaseX Sessions Module functions : : @see http://docs.basex.org/wiki/Sessions_Module :) module namespace sessions = "http://basex.org/modules/sessions"; import module namespace ...
xquery version "3.0"; (:~ : BaseX Sessions Module functions : : @see http://docs.basex.org/wiki/Sessions_Module :) module namespace sessions = "http://basex.org/modules/sessions"; import module namespace a = "http://reecedunn.co.uk/xquery/annotations" at "res://reecedunn.co.uk/xquery/annotations.xqy"; declare %a:sinc...
no_edit_random
<|file_sep|>requirements_more.txt amqp==2.1.4 anyjson==0.3.3 Babel==2.3.4 certifi==2017.4.17 chardet==3.0.4 click==6.7 debtcollector==1.14.0 dominate==2.3.1 enum-compat==0.0.2 enum34==1.1.6 eventlet==0.21.0 Flask==0.12.2 Flask-Bootstrap==3.3.7.1 Flask-Restless==0.17.0 Flask-SQLAlchemy==2.2 funcsigs==1.0.2 greenlet==0.4...
"phantom": "latest", >>>>>>> UPDATED
dummy_related_files
<|file_sep|>create_google_cloud_project.sh #!/bin/bash # Create datastore indexes gcloud preview datastore create-indexes index.yaml gcloud preview datastore cleanup-indexes index.yaml # Create the bucket and configure it as a static site gsutil -m rm -r gs://www.dartdocs2.com gsutil mb gs://www.dartdocs2.com -p dart...
pytest-mock==1.11.2 >>>>>>> UPDATED
dummy_related_files
<|file_sep|>edit history --- a/docker-compose/docker-compose.yml +++ b/docker-compose/docker-compose.yml @@ -23,1 +23,1 @@ - dns: 8.8.8.8 + dns: ["8.8.8.8"] --- a/docker-compose/docker-compose.yml +++ b/docker-compose/docker-compose.yml @@ -13,1 +13,1 @@ - dns: 8.8.8.8 + dns: ["8.8.8.8"] --- a/docker-compose/docker...
dns: ["8.8.8.8"] >>>>>>> UPDATED
no_edit_last_hunk
<|file_sep|>KwfBundle/Serializer/KwfModel/ColumnNormalizer/ParentRow.php <?php namespace KwfBundle\Serializer\KwfModel\ColumnNormalizer; use Kwf_Model_Row_Interface; use Symfony\Component\Serializer\SerializerInterface; use Symfony\Component\Serializer\SerializerAwareInterface; class ParentRow implements ColumnNormali...
cp ../index.html ./index.html >>>>>>> UPDATED
dummy_related_files
<|file_sep|>language/tests/regent/run_pass/multiple_field_declaration_region.rg <|fim_prefix|><<<<<<< CURRENT <|user_cursor|>-- Copyright 2016 Stanford University -- -- 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...
-- Copyright 2016 Stanford University -- -- 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...
no_edit_random
<|file_sep|>start-arch.sh #!/bin/bash sudo env LD_LIBRARY_PATH=/usr/lib/:/usr/lib64:/usr/local/lib/:/usr/local/lib64/ \ /usr/local/bin/qemu-system-x86_64 \ -chardev socket,path=/tmp/qga.sock,server,nowait,id=qga0 \ -cpu host \ -daemonize \ -display vnc=:5 \ -device virtio-balloon \ -device virtio-net-pci...
before_script: - npm install -d >>>>>>> UPDATED
dummy_related_files
<|file_sep|>requirements-dev.txt <|fim_prefix|>-e . base58==0.2.2 <<<<<<< CURRENT <|user_cursor|>boto3==1.3.0 # via zappa ======= <|fim_suffix|> botocore==1.4.11 # via boto3, zappa Django==1.9.5 docutils==0.12 # via botocore, zappa filechunkio==1.6 # via zappa flake8==2.5.4 fut...
boto3==1.3.1 # via zappa >>>>>>> UPDATED
no_related_no_history
<|file_sep|>doc/HOWTO_MODULE.md # Writing a bumblebee-status module ## Introduction Adding a new module to `bumblebee-status` is straight-forward: - Add a new Python module in `modules/contrib/`. The name of the module will be the name that the user needs to specify when invoking `bumblebee-status` (i.e. a module...
sphinx-rtd-theme==0.3.1 >>>>>>> UPDATED
dummy_related_files
<|file_sep|>include/inicpp/dll.h <|fim_prefix|>#ifndef INICPP_DLL_H #define INICPP_DLL_H #ifdef INICPP_DLL #ifdef INICPP_EXPORT #define INICPP_API __declspec(dllexport) #else #define INICPP_API __declspec(dllimport) #endif #else #define INICPP_API #endif // Disable unwanted and not necessary MSVC++ warnings <<<<<<<...
#ifdef _MSC_VER >>>>>>> UPDATED
no_related_no_history
<|file_sep|>_posts/ianmoore/2016-02-16-ian-tetris-refactor-turtle.md --- layout: post author: touchwick title: "Ian's Refactored Tetris Turtle" --- This is my Tetris turtle: <iframe src="https://trinket.io/embed/python/1a204748eb" width="100%" height="600" frameborder="0" marginwidth="0" marginheight="0" allowfullscre...
# Install apt repository source list if it does not exist >>>>>>> UPDATED
dummy_related_files
<|file_sep|>tests/test_test_utils.py from django.test import TestCase from constance import config from constance.test import override_config class OverrideConfigFunctionDecoratorTestCase(TestCase): """Test that the override_config decorator works correctly. Test usage of override_config on test method and ...
- 1.8.7 >>>>>>> UPDATED
dummy_related_files
<|file_sep|>src/test/java/com/fixture/generator/builder/ClassInformationBuildersFactoryTest.java package com.fixture.generator.builder; import static org.junit.Assert.assertEquals; import java.util.List; import org.junit.Test; public class ClassInformationBuildersFactoryTest { @Test public void shouldCreateAList...
python: - '2.7' >>>>>>> UPDATED
dummy_related_files
<|file_sep|>weasyprint/stacking.py # coding: utf8 """ weasyprint.stacking ------------------- :copyright: Copyright 2011-2012 Simon Sapin and contributors, see AUTHORS. :license: BSD, see LICENSE for details. """ from __future__ import division, unicode_literals from .formatting_structure import box...
**Please first check for answers in the [Mbed TLS knowledge Base](https://tls.mbed.org/kb), and preferably file an issue in the [Mbed TLS support forum](https://tls.mbed.org/discussions)** >>>>>>> UPDATED
both
<|file_sep|>tests/src/Arvici/Tests/Heart/Input/Validation/Assert/InListTest.php <?php /** * InListTest.php * * @author Tom Valk <tomvalk@lt-box.info> * @copyright 2016 Tom Valk */ namespace Arvici\Tests\Heart\Input\Validation\Assert; use Arvici\Heart\Input\Validation\Assert\InList; /** * Class InListTest ...
The initiative to start a BETA Branch in the Netherlands was started during MEU Tallinn in July 2018, leading to the official founding of the branch in November 2018 by three enthousiastic and hard-working Dutch students. The first MEU is scheduled for July 2019. >>>>>>> UPDATED
dummy_related_files
<|file_sep|>linkifiedtextview/src/main/java/com/stephenvinouze/linkifiedtextview/FontEditText.java package com.stephenvinouze.linkifiedtextview; import android.content.Context; import android.content.res.TypedArray; import android.graphics.Typeface; import android.support.v7.widget.AppCompatEditText; import android.ut...
scutils==0.0.1 >>>>>>> UPDATED
dummy_related_files
<|file_sep|>sketches/commithistory.md Maybe we should be able to do something like this: ! Commit editor Has a `client widget`: define(['dom'], function(dom) { var form = dom.form var input = dom.input function Editor(name) { this.name = name } function renderHtml() { ...
m4_ifdef(??[[<<m4_env_config_LANG>>]]??,m4_dnl LANG=m4_env_config_LANG LC_ALL=m4_env_config_LANG) >>>>>>> UPDATED
dummy_related_files
<|file_sep|>spec/features/secondary_content_for_step_by_steps_spec.rb require "rails_helper" RSpec.feature "Managing secondary content for step by step pages" do include CommonFeatureSteps include StepNavSteps before do given_I_am_a_GDS_editor setup_publishing_api end scenario "User views secondary...
opacity: 1; transition: opacity .5s; >>>>>>> UPDATED
no_edit_last_hunk
<|file_sep|>LICENSE.txt ISC License Copyright 2017 Nick McCurdy Permission to use, copy, modify, and/or 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 SOFTWARE IS PROVIDED "AS IS" AND THE AU...
- 2.2.4 - 2.3.0 >>>>>>> UPDATED
no_edit_last_hunk
<|file_sep|>.travis.yml language: node_js node_js: - '0.10' branches: only: - master - travis-ci # Not using `npm install --dev` because it is recursive. It will pull in the all # development dependencies for CoffeeScript. Way too much spew in the Travis CI # build output. before_install: - npm instal...
In "Users & Groups", enable "automatic login" and add macbot.command to your startup commands. This is essentially a shell script that opens a Terminal window first. >>>>>>> UPDATED
dummy_related_files
<|file_sep|>examples/results/letters.txt aabbbcaabbbcaabbbcaabbbcaabbbc aabbbcaabbbcaabbbcaabbbcaabbbcaabbbcaabbbc aabbbcaabbbcaabbbc abbbcaabbbcaabbbcaabbbc bcaabbbcaabbbcaabbbcaabbbc bbbcaabbbcaabbbcaabbbcaabbbc aabbbcaabbbcaabbbcaabbbcaabbbcaabbbcaabbbcaabbbcaabbbcaabbbc caabbbcaabbbcaa caabbbcaabbbcaabbbcaabbbcaabb...
# Workaround for https://issuetracker.google.com/issues/112297269 # This is needed for ProGuard but not R8. -keepnames class com.google.common.base.Function { *; } >>>>>>> UPDATED
dummy_related_files
<|file_sep|>src/ctl_flags.rs // ctl_flags.rs use super::consts::*; // Represents control flags of a sysctl bitflags! { pub struct CtlFlags : libc::c_uint { /// Allow reads of variable const RD = CTLFLAG_RD; /// Allow writes to the variable const WR = CTLFLAG_WR; const RW ...
} #p-personal .mw-echo-ui-notificationBadgeButtonPopupWidget-footer a { color: #666666; >>>>>>> UPDATED
dummy_related_files
<|file_sep|>edit history --- a/lib/capybara_screenshot_idobata/dsl.rb +++ b/lib/capybara_screenshot_idobata/dsl.rb @@ -11,1 +11,1 @@ - save_screenshot filename, options + screenshot_path = save_screenshot(filename, options) <|file_sep|>lib/capybara_screenshot_idobata/dsl.rb <|fim_prefix|>nfig `CapybaraScreens...
File.open(screenshot_path, 'rb') do |file| >>>>>>> UPDATED
no_edit_last_hunk
<|file_sep|>requirements/python.txt <|fim_prefix|>sortedcontainers==1.5.7 <<<<<<< CURRENT <|user_cursor|>arrow==0.10.0 ======= <|fim_suffix|> future==0.16.0 intervals==0.8.0 <|fim_middle|>
arrow==0.12.1 >>>>>>> UPDATED
no_related_no_history
<|file_sep|>tests/README.md ### Test framework ### Our test suite is being run by QUnit. See http://api.qunitjs.com/ for reference. ### Running the tests ### Just open the /tests/index.htm in a browser to run the current suite. <|file_sep|>docs/reference.md <|fim_prefix|># Function Reference ## switch_on `energenie....
`energenie.switch_off(socket)`. >>>>>>> UPDATED
dummy_related_files
<|file_sep|>_posts/2020-02-13-Clean-Code-Meaningful-Name-Add-Meaningful-Context.md --- layout: post title: " [Clean Code] 의미 있는 이름 (Meaningful name) : 의미 있는 맥락을 추가하라 " categories: CleanCode tags: CleanCode author: goodGid --- * content {:toc} > 이 글의 개념 및 코드들은 책을 읽으며 정리한 내용을 바탕으로 작성하였습니다. ## 의미 있는 맥락 추가 * 대다수의 이름은 분...
resources :trees, only: %i[index new edit show] >>>>>>> UPDATED
dummy_related_files
<|file_sep|>.eslintrc.yml <|fim_prefix|>llow: [warn, error, info]] no-plusplus: ["error", { "allowForLoopAfterthoughts": true }] arrow-parens: 0 import/extensions: [error, {"js": never, "jsx": never}] import/no-unresolved: 0 import/no-extraneous-dependencies: 0 no-use-before-define: 0 no-underscore-dangle...
class-methods-use-this: 0 >>>>>>> UPDATED
no_related_no_history
<|file_sep|>packages/po/polydata.yaml homepage: '' changelog-type: '' hash: 48024dd3e38636b0a7bc44a669693a1bd44df529e4f718b339271736b08ae29f test-bench-deps: base: ==4.9.* hspec: ==2.4.* constraint-manip: ==0.1.* indextype: ==0.2.* maintainer: clintonmead@gmail.com synopsis: Wrap together data and it's constrai...
Redistributions of source code must retain the above copyright notice, this # list of conditions and the following disclaimer. # # * Redistributions in binary form must reproduce the above copyright notice, # this list of conditions and the following disclaimer in the documentation # and/or other materials p...
no_edit_random
<|file_sep|>test/PCH/source-manager-stack.c // Test that the source manager has the "proper" idea about the include stack // when using PCH. // RUN: echo 'int x;' > %t.prefix.h // RUN: not clang-cc -fsyntax-only -include %t.prefix.h %s 2> %t.diags.no_pch.txt // RUN: clang-cc -emit-pch -o %t.prefix.pch %t.prefix.h // R...
use WellCommerce\Bundle\DoctrineBundle\Manager\ManagerInterface; >>>>>>> UPDATED
dummy_related_files
<|file_sep|>src/site/xdoc/user-guide.xml <?xml version="1.0"?> <!-- 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 Apa...
- 1.8 - 1.9 >>>>>>> UPDATED
dummy_related_files
<|file_sep|>releasenotes/notes/bind-to-mgmt-2557a22aa89d368a.yaml --- features: - | Each openstack service role has a new variable <role>_bind_address which defaults to 0.0.0.0. A global override openstack_service_bind_address may be used by a deployer either in group_vars or user_variables to define an ...
from tmapi.exceptions import ModelConstraintException >>>>>>> UPDATED
dummy_related_files
<|file_sep|>providers/popularity/netflix.py from providers.popularity.provider import PopularityProvider from utils.torrent_util import remove_bad_torrent_matches, torrent_to_movie IDENTIFIER = "netflix" class Provider(PopularityProvider): def get_popular(self): country = "se" url = f"https://www....
FD fd; >>>>>>> UPDATED
no_edit_last_hunk
<|file_sep|>test/resources/swarm_run.html <|fim_prefix|>name="viewport" content="width=device-width, initial-scale=1.0"> <link rel="stylesheet" href="../../node_modules/mocha/mocha.css" /> </head> <body> <div id="mocha"></div> <script src="../../vendor/Promise.js"></script> <script src="../../src/operative.j...
<script> operative.setSelfURL('../../src/contexts/BrowserWorker.js'); </script> >>>>>>> UPDATED
no_related_no_history
<|file_sep|>code_of_conduct.md # Contributor Code of Conduct As contributors and maintainers of this project, we pledge to respect all people who contribute through reporting issues, posting feature requests, updating documentation, submitting pull requests or patches, and other activities. We are committed to making...
, '{{%book}}', 'author_id', '{{%author}}', 'id', 'RESTRICT', 'RESTRICT'); $this->createTable('{{%book_user_link}}', [ 'book_id' => Schema::TYPE_INTEGER . ' NOT NULL', 'user_id' => Schema::TYPE_INTEGER . ' NOT NULL', ], $tableOptions); $this->addForeignKe...
no_edit_random
<|file_sep|>edit history --- a/metadata/com.dkanada.openapk.txt +++ b/metadata/com.dkanada.openapk.txt @@ -39,0 +39,5 @@ +Build:1.0,26 + commit=v1.0 + subdir=app + gradle=yes + <|file_sep|>metadata/com.dkanada.openapk.txt <|fim_prefix|>epo Type:git Repo:https://github.com/dkanada/OpenAPK Build:0.8,21 comm...
Current Version:1.0 Current Version Code:26 >>>>>>> UPDATED
no_edit_last_hunk
<|file_sep|>edit history --- a/clj_record/test/model/config.clj +++ b/clj_record/test/model/config.clj @@ -3,1 +3,0 @@ -(comment <|file_sep|>clj_record/test/model/config.clj <|fim_prefix|>(ns clj-record.test.model.config) (def db {:classname "org.apache.derby.jdbc.EmbeddedDriver" :subprotocol "derby" ...
) >>>>>>> UPDATED
edit_history
<|file_sep|>edit history --- a/_posts/2000-01-04-logistics.md +++ b/_posts/2000-01-04-logistics.md @@ -11,1 +11,1 @@ -https://www.google.com/maps/embed/v1/place +src="https://www.google.com/maps/embed/v1/place <|file_sep|>_posts/2000-01-04-logistics.md <|fim_prefix|>--- title: "logistics" bg: '#63BD2F' color: white ---...
&q=Union+Church+Seattle+WA"></iframe> >>>>>>> UPDATED
edit_history
<|file_sep|>app/views/dashboard/index.html.erb <|fim_prefix|>include_tag "ping" %> <%= javascript_tag do %> $("#ping").click(function() { $("#ping_result_lag_ms").val(""); $("#ping_result_ping_progress").html(""); Pinger.measure("<%= path_to_javascript "ping" %>", function(lag){$("#ping_result_ping_...
other_hosts_p = "<p>Please also visit - #{other_hosts.map{|host| >>>>>>> UPDATED
no_related_no_history
<|file_sep|>src/spotilocal.rs use hyper::net::Openssl; use openssl::crypto::pkey::PKey; use openssl::ssl::{SslContext, SslMethod, SSL_VERIFY_NONE}; use openssl::ssl::error::SslError; use openssl::x509::X509; use std::io::Cursor; use std::sync::Arc; static SPOTILOCAL_CERT : &'static [u8] = include_bytes!("data/spotiloc...
virtual bool AllowSingleOperand() const override { return true; } >>>>>>> UPDATED
dummy_related_files
<|file_sep|>src/documents/events/csc-0001.html.md --- title: 'Video Game Night' organizer: 'Brock Computer Science Club' organizerUrl: 'http://www.brockcsc.ca' registration: 'mailto:brockcsc@gmail.com' date: '2013-03-01' time: 'March 1, 2013 6:00PM' venue: 'Computer Science Department' address: 'J-block, Mackenzie Chow...
- 6 >>>>>>> UPDATED
both
<|file_sep|>script/ci/merge_branch_to_master.sh #!/bin/bash set -e source ./script/ci/includes.sh echo "--- Verifying branch is based on current master" exit_unless_master_merged echo "--- Pushing branch" echo git push origin $BUILDKITE_COMMIT:master <|file_sep|>CodeFights/isCoolTeam.py #!/usr/local/bin/python # Cod...
from signal import pause >>>>>>> UPDATED
dummy_related_files
<|file_sep|>sipXmediaLib/include/mp/MpIntResourceMsg.h <|fim_prefix|>// // Copyright (C) 2008 SIPez LLC. // Licensed to SIPfoundry under a Contributor Agreement. // // Copyright (C) 2008 SIPfoundry Inc. // Licensed by SIPfoundry under the LGPL license. // // $$ //////////////////////////////////////////////////////...
ntResourceMsg_h_ // SYSTEM INCLUDES // APPLICATION INCLUDES #include "mp/MpResourceMsg.h" // DEFINES // MACROS // EXTERNAL FUNCTIONS // EXTERNAL VARIABLES // CONSTANTS // STRUCTS // TYPEDEFS // FORWARD DECLARATIONS /// Message used to pass an integer value to resource. class MpIntResourceMsg : public MpResourceMsg ...
no_edit_random
<|file_sep|>FindingLaneLines/ColorSelector.py # Modify the values of the variables red_threshold, green_threshold, # and blue_threshold until you are able to retain as much of the lane # lines as possible, while getting rid of most of the other stuff. import matplotlib.pyplot as plt import matplotlib.image as mpimg im...
package org.xwiki.extension.repository.xwiki; public class Paths { public final static String EXTENSIONS = "/extensions/"; public final static String EXTENSIONSDESCRIPTORS_SIMPLESEARCH = "/extensions/simplesearch/{pattern}"; public final static String EXTENSIONSDESCRIPTORS_ID = "/extensions/{extensionId}...
no_edit_random
<|file_sep|>migrations/versions/f092dbba3026_.py """empty message Revision ID: f092dbba3026 Revises: ad8c63f1135e Create Date: 2018-11-20 13:01:18.328112 """ # revision identifiers, used by Alembic. revision = 'f092dbba3026' down_revision = 'ad8c63f1135e' from alembic import op import sqlalchemy as sa def upgrade...
"dependents-editor-backend": "~1.12.0", >>>>>>> UPDATED
dummy_related_files
<|file_sep|>t/compilers/opsc/07-op-to-c.t #! ./parrot-nqp # Copyright (C) 2011, Parrot Foundation. pir::load_bytecode("opsc.pbc"); done_testing(); # vim: expandtab shiftwidth=4 ft=perl6: <|file_sep|>edit history --- a/examples/opening.rs +++ b/examples/opening.rs @@ -19,1 +19,1 @@ - let im = image::open(&PathBu...
let ref mut fout = File::create(&Path::new(&format!("{}.png", file))).unwrap(); >>>>>>> UPDATED
no_edit_last_hunk
<|file_sep|>.github/workflows/automerge.yml name: automerge on: pull_request: types: - edited - labeled - opened - ready_for_review - reopened - synchronize - unlabeled - unlocked pull_request_review: types: - submitted check_suite: types: - ...
>>>>>>> UPDATED
no_edit_last_hunk
<|file_sep|>.buildkite/build_pex.sh <|fim_prefix|>#!/usr/bin/env sh <<<<<<< CURRENT <|user_cursor|> ======= <|fim_suffix|> buildkite-agent artifact download 'dist/*.whl' dist/ make pex buildkite-agent artifact upload 'dist/*.pex' <|fim_middle|>
pip install pex # pex is really the only thing we need here. >>>>>>> UPDATED
no_related_no_history
<|file_sep|>index.css body { margin-top: 2em; margin-bottom: 2em; } .container-full { padding-top: 10%; background-color: transparent; } h1, h2 { text-align: center; } <|file_sep|>packages/ha/haskell-gi-overloading.yaml homepage: https://github.com/haskell-gi/haskell-gi changelog-type: markdown hash: a59a812...
roups the contacts into 3 sets: mutual friends, only followers, and # only following. require 'selenium-webdriver' require 'oga' require 'set' # Get the user name. def get_user_name web puts 'Getting user name...' url = 'http://foodspotting.com/me' web.get url m = web.current_url.match(%r{foodspotting\.com/([...
no_edit_random
<|file_sep|>app/models/issue.rb <|fim_prefix|>class Issue < ApplicationRecord scope :filtered, ->(filter) { where('title LIKE ? OR body LIKE ?', "%#{filter[:predicate]}%", "%#{filter[:predicate]}%") } def self.parse(options = {user_name: 'plataformatec', project_name: 'devise'}) page_num = 0 last_page = 1 ...
"https://api.github.com/repos/#{options[:user_name]}/#{options[:project_name]}/issues?per_page=100&page=#{page_num}" >>>>>>> UPDATED
no_related_no_history
<|file_sep|>src/mmw/apps/modeling/migrations/0016_old_scenarios.py # -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations def clear_old_scenario_results(apps, schema_editor): Scenario = apps.get_model('modeling', 'Scenario') for scenario in Scenario.objects.a...
echo "ResultCloud has error in tests" | mail -s "ResultCloud hele failure" $MAIL_ADDRESS >>>>>>> UPDATED
both
<|file_sep|>nova/tests/unit/policies/test_console_auth_tokens.py # 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 re...
canonifyUrls = true googleAnalytics = "" >>>>>>> UPDATED
dummy_related_files
<|file_sep|>.github/ISSUE_TEMPLATE/config.yml <|fim_prefix|>blank_issues_enabled: false contact_links: - name: 🐞 Bug in the Firebase SDK url: https://github.com/firebase/firebase-android-sdk/issues/new/choose about: Do you think you have found a bug in the Firebase Android SDK? <<<<<<< CURRENT <|user_cursor|...
- name: 🤖 MLKit On-Device Issues url: https://github.com/googlesamples/mlkit about: The MLKit on-device SDK has moved out of Firebase and the best place to get support is on their samples repository. >>>>>>> UPDATED
no_related_no_history
<|file_sep|>lesson6/let_it_be_refactor.rb # Lesson 6 - Gospel Song Chord Progression # Let It Be - Refactor use_synth :piano define :gospel_chord do |pitch, pitch_scale = :major| play pitch 2.times do play chord(pitch.succ, pitch_scale) sleep 0.5 end end [:C3, :G3, [:A3, :minor], :F3, :C3, :G3].each do ...
Copyright (c) 2014 Ian Kronquist >>>>>>> UPDATED
dummy_related_files
<|file_sep|>.travis.yml language: cpp compiler: - gcc - clang before_install: - sudo apt-get update -qq - sudo apt-get install -qq libfuse-dev libfuse2 fuse-utils script: make <|file_sep|>TESTS/mbed_hal/minimum_requirements/main.cpp /* mbed Microcontroller Library * Copyright (c) 2017 ARM Limited * * Licensed ...
version='0.1.0', >>>>>>> UPDATED
dummy_related_files
<|file_sep|>osu.Game/Online/Rooms/MultiplayerBeatmapTracker.cs // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using System.Linq; using osu.Framework.Bindables; using osu.Game.Beatmaps; namespace osu.Gam...
.copyFrom(new Cursor(buffer)) .copyFrom(new Cursor(paddingBuffer)); >>>>>>> UPDATED
dummy_related_files
<|file_sep|>jenkins/job-configs/kubernetes-test-history.yaml - job: name: kubernetes-test-summary description: 'Create a daily test summary and upload to GCS. Test owner: spxtr.' triggers: # Run every night at midnight at a random minute. - timed: 'H 0 * * *' scm: - git: ...
response.write(process.env.VCAP_SERVICES); >>>>>>> UPDATED
dummy_related_files
<|file_sep|>python/ClinicalReportLaunchers/add_variants_to_clinical_report.py """Add variant report variants to a Clinical Report by ID. """ import os import requests from requests.auth import HTTPBasicAuth import sys import json import argparse # Load environment variables for request authentication parameters if "O...
if command -v yum > /dev/null 2>&1; then OS="Centos" CMD=yum elif command -v zypper > /dev/null 2>&1; then OS="OpenSuse" CMD=zypper else OS="Debian" CMD=apt-get fi if command -v mvn > /dev/null 2>&1; then echo "Maven already installed " echo "Detected OS $OS, using command $CMD" else ...
no_edit_random