commit
stringlengths
40
40
old_file
stringlengths
4
237
new_file
stringlengths
4
237
old_contents
stringlengths
1
4.24k
new_contents
stringlengths
5
4.84k
subject
stringlengths
15
778
message
stringlengths
16
6.86k
lang
stringlengths
1
30
license
stringclasses
13 values
repos
stringlengths
5
116k
config
stringlengths
1
30
content
stringlengths
105
8.72k
9e3810e3326fa82e50e5e7bb033275e2e016f3d6
app/views/assets/new.html.erb
app/views/assets/new.html.erb
<div class="close-button">&#10005</div> <div id="asset-upload-box" class="dialog-box"> <h1 id="asset-upload-title">Upload Images</h1> <%= form_for(:asset, multipart: true, as: :asset, html: {id: 'multi-upload', class: 'dropzone'}) do |f| %> <% end %> </div>
<div id="asset-upload-box" class="dialog-box"> <div class="close-button">&#10005</div> <h1 id="asset-upload-title">Upload Images</h1> <%= form_for(:asset, multipart: true, as: :asset, html: {id: 'multi-upload', class: 'dropzone'}) do |f| %> <% end %> </div>
Fix close button on upload images
Fix close button on upload images
HTML+ERB
mit
dma315/ambrosia,dma315/ambrosia,dma315/ambrosia
html+erb
## Code Before: <div class="close-button">&#10005</div> <div id="asset-upload-box" class="dialog-box"> <h1 id="asset-upload-title">Upload Images</h1> <%= form_for(:asset, multipart: true, as: :asset, html: {id: 'multi-upload', class: 'dropzone'}) do |f| %> <% end %> </div> ## Instruction: Fix close button on upl...
3dee35fdc99e76b5c1cb3983723d5930df3fb046
.travis.yml
.travis.yml
--- language: python python: "2.7" script: - make test-release - make test-devel
--- language: python python: "2.7" matrix: allow_failures: - env: COMMAND=test-devel include: - env: COMMAND=test-release - env: COMMAND=test-devel script: - make $COMMAND
Use a build matrix, allow dev to fail.
Use a build matrix, allow dev to fail.
YAML
mit
nsg/ansible-inventory,nsg/ansible-inventory
yaml
## Code Before: --- language: python python: "2.7" script: - make test-release - make test-devel ## Instruction: Use a build matrix, allow dev to fail. ## Code After: --- language: python python: "2.7" matrix: allow_failures: - env: COMMAND=test-devel include: - env: COMMAND=test-release - env...
e186262d0a53210eb21eaa997e3af5f829152897
projects/hslayers/src/components/layermanager/partials/physical-layerlist.html
projects/hslayers/src/components/layermanager/partials/physical-layerlist.html
<div class="list-group-item hs-lm-list pb-1" *ngIf="layersCopy.length != 0"> <ul class="list-group row pl-1"> <li *ngFor="let layer of layersCopy;" class="list-group-item hs-lm-item" [ngClass]="{'activeLayer': layer.active}"> <div class="d-flex"> <div class="align-items-center p...
<div class="list-group-item hs-lm-list pb-1" *ngIf="layersCopy.length != 0"> <ul class="list-group row pl-1"> <li *ngFor="let layer of layersCopy;" class="list-group-item hs-lm-item" [ngClass]="{'activeLayer': layer.active}"> <div class="d-flex"> <div class="align-items-center p...
Break layer text for physical layer list items
Break layer text for physical layer list items
HTML
mit
hslayers/hslayers-ng,hslayers/hslayers-ng,hslayers/hslayers-ng,hslayers/hslayers-ng
html
## Code Before: <div class="list-group-item hs-lm-list pb-1" *ngIf="layersCopy.length != 0"> <ul class="list-group row pl-1"> <li *ngFor="let layer of layersCopy;" class="list-group-item hs-lm-item" [ngClass]="{'activeLayer': layer.active}"> <div class="d-flex"> <div class="alig...
89493a6b40e3b48a7a01756686a065f2886be7b4
src/store/modules/annotation/getters.js
src/store/modules/annotation/getters.js
export default { // Return the color in which an item should be drawn getColor: (state, getters, rootState) => { // Check if there is a default color for the step if ( rootState.editor.steps && rootState.editor.steps[rootState.editor.activeStep].color) { return rootState.editor.steps[root...
export default { // Return the color in which an item should be drawn getColor: (state, getters, rootState) => { // Check if there is a default color for the step if ( rootState.editor.steps && rootState.editor.steps[rootState.editor.activeStep].color) { return rootState.editor.steps[root...
Increase resiliance of getMegas functions
Increase resiliance of getMegas functions
JavaScript
mit
alanaberdeen/annotate,alanaberdeen/AIDA,alanaberdeen/AIDA,alanaberdeen/annotate
javascript
## Code Before: export default { // Return the color in which an item should be drawn getColor: (state, getters, rootState) => { // Check if there is a default color for the step if ( rootState.editor.steps && rootState.editor.steps[rootState.editor.activeStep].color) { return rootState.e...
6aba02ecbbacb85918853ed86fea114138945643
atom/common/common_message_generator.h
atom/common/common_message_generator.h
// Copyright (c) 2014 GitHub, Inc. // Use of this source code is governed by the MIT license that can be // found in the LICENSE file. // Multiply-included file, no traditional include guard. #include "atom/common/api/api_messages.h" #include "chrome/common/print_messages.h" #include "chrome/common/tts_messages.h" #i...
// Copyright (c) 2014 GitHub, Inc. // Use of this source code is governed by the MIT license that can be // found in the LICENSE file. // Multiply-included file, no traditional include guard. #include "atom/common/api/api_messages.h" #include "chrome/common/print_messages.h" #include "chrome/common/tts_messages.h" #i...
Fix linking problem with IPC::MessageT
Fix linking problem with IPC::MessageT IPC::MessageT<ChromeUtilityHostMsg_ProcessStarted_Meta, std::__1::tuple<>, void>::MessageT(IPC::Routing)
C
mit
Floato/electron,Floato/electron,Floato/electron,Floato/electron,Floato/electron,Floato/electron
c
## Code Before: // Copyright (c) 2014 GitHub, Inc. // Use of this source code is governed by the MIT license that can be // found in the LICENSE file. // Multiply-included file, no traditional include guard. #include "atom/common/api/api_messages.h" #include "chrome/common/print_messages.h" #include "chrome/common/tt...
bd7f66452341a02e78db0058413f11840b50e5ae
src/System/Information.hs
src/System/Information.hs
{-# Language DerivingStrategies #-} {-# Language GeneralisedNewtypeDeriving #-} {-| Module : System.Information Description : Getting system information Copyright : 2016 ChaosGroup License : MIT Maintainer : daniel.taskoff@chaosgroup.com Stability : experimental Portability : non-portable (GHC extensions)...
{-# Language DerivingStrategies #-} {-# Language GeneralisedNewtypeDeriving #-} ----------------------------------------------------------------------------- -- | -- Module : System.Information -- Copyright : (c) ChaosGroup, 2020 -- License : MIT -- -- Maintainer : daniel.taskoff@gmail.com -- Stability ...
Change the format of and reword the documentation
Change the format of and reword the documentation
Haskell
mit
ChaosGroup/system-info
haskell
## Code Before: {-# Language DerivingStrategies #-} {-# Language GeneralisedNewtypeDeriving #-} {-| Module : System.Information Description : Getting system information Copyright : 2016 ChaosGroup License : MIT Maintainer : daniel.taskoff@chaosgroup.com Stability : experimental Portability : non-portable ...
39432a7ccb3f41e05e23f2fe2d05cccae0552fbe
lib/dolphy/core.rb
lib/dolphy/core.rb
require 'dolphy/router' require 'dolphy/template_engines' require 'rack' module Dolphy class Core include Dolphy::TemplateEngines include Dolphy::Router attr_accessor :status, :headers, :response, :routes, :request def initialize(status = 200, headers = {"Content-type" => "text/h...
require 'dolphy/router' require 'dolphy/template_engines' require 'rack' module Dolphy class Core include Dolphy::TemplateEngines include Dolphy::Router attr_accessor :status, :headers, :response, :routes, :request def initialize(status = 200, headers = {"Content-type" => "text/h...
Refactor logic inside of call(env).
Refactor logic inside of call(env).
Ruby
mit
majjoha/dolphy
ruby
## Code Before: require 'dolphy/router' require 'dolphy/template_engines' require 'rack' module Dolphy class Core include Dolphy::TemplateEngines include Dolphy::Router attr_accessor :status, :headers, :response, :routes, :request def initialize(status = 200, headers = {"Content-...
2301b0bfdb216f31428e6c9ca0bf6b2951a5e64b
symposion/forms.py
symposion/forms.py
from django import forms import account.forms class SignupForm(account.forms.SignupForm): first_name = forms.CharField() last_name = forms.CharField() email_confirm = forms.EmailField(label="Confirm Email") def __init__(self, *args, **kwargs): super(SignupForm, self).__init__(*args, **kwarg...
try: from collections import OrderedDict except ImportError: OrderedDict = None import account.forms from django import forms from django.utils.translation import ugettext_lazy as _ class SignupForm(account.forms.SignupForm): first_name = forms.CharField(label=_("First name")) last_name = forms.Char...
Fix order fields in signup form
Fix order fields in signup form
Python
bsd-3-clause
toulibre/symposion,toulibre/symposion
python
## Code Before: from django import forms import account.forms class SignupForm(account.forms.SignupForm): first_name = forms.CharField() last_name = forms.CharField() email_confirm = forms.EmailField(label="Confirm Email") def __init__(self, *args, **kwargs): super(SignupForm, self).__init_...
c9801bd107187c4630b953ba6ee32a93bad4d180
routes/index.js
routes/index.js
const _ = require('lodash'); const gtfs = require('gtfs'); const router = require('express').Router(); const config = require('../config'); const utils = require('../lib/utils'); /* * Show all agencies */ router.get('/', (req, res, next) => { gtfs.agencies((err, agencies) => { if (err) return next(err); ...
const _ = require('lodash'); const gtfs = require('gtfs'); const router = require('express').Router(); const config = require('../config'); const utils = require('../lib/utils'); /* * Show all agencies */ router.get('/', (req, res, next) => { gtfs.agencies((err, agencies) => { if (err) return next(err); ...
Sort agencies page by name
Sort agencies page by name
JavaScript
mit
brendannee/gtfs-to-html,brendannee/gtfs-to-html,BlinkTagInc/gtfs-to-html,BlinkTagInc/gtfs-to-html
javascript
## Code Before: const _ = require('lodash'); const gtfs = require('gtfs'); const router = require('express').Router(); const config = require('../config'); const utils = require('../lib/utils'); /* * Show all agencies */ router.get('/', (req, res, next) => { gtfs.agencies((err, agencies) => { if (err) return...
e6e549291b031e29bb139f2f37105dbee3893706
bin/container_setup.sh
bin/container_setup.sh
set -exuo pipefail IFS=$'\n\t' DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )" cd "$DIR/.." # Set up python curl https://bootstrap.pypa.io/get-pip.py | python3.9 pip3 install --no-cache-dir -r requirements.txt # Set up node npm ci # Set up supervisor cp config/supervisord.conf /etc/supervisor/co...
set -exuo pipefail IFS=$'\n\t' DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )" cd "$DIR/.." # Set up python pip install --no-cache-dir -r requirements.txt # Set up node npm ci # Set up supervisor cp config/supervisord.conf /etc/supervisor/conf.d/supervisord.conf # Set up logrotate cp config/log...
Remove unneeded reinstallation of pip
Remove unneeded reinstallation of pip
Shell
mit
albertyw/base-flask,albertyw/base-flask,albertyw/base-flask,albertyw/base-flask
shell
## Code Before: set -exuo pipefail IFS=$'\n\t' DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )" cd "$DIR/.." # Set up python curl https://bootstrap.pypa.io/get-pip.py | python3.9 pip3 install --no-cache-dir -r requirements.txt # Set up node npm ci # Set up supervisor cp config/supervisord.conf /e...
b8e406a725b08277d68383c07c2c8edd387b44aa
.travis.yml
.travis.yml
dist: trusty language: go addons: postgresql: "9.6" go: - 1.9.x - 1.10.x - 1.11.x - 1.12.x - tip go_import_path: github.com/go-pg/pg matrix: allow_failures: - go: tip before_install: - psql -U postgres -c "CREATE EXTENSION hstore" - curl -sfL https://install.goreleaser.com/github.com/golangci...
dist: xenial language: go addons: postgresql: "9.6" go: - 1.9.x - 1.10.x - 1.11.x - 1.12.x - tip go_import_path: github.com/go-pg/pg matrix: allow_failures: - go: tip before_install: - psql -U postgres -c "CREATE EXTENSION hstore" - curl -sfL https://install.goreleaser.com/github.com/golangci...
Fix script and update distro
Fix script and update distro
YAML
bsd-2-clause
go-pg/pg,vmihailenco/pg,go-pg/pg
yaml
## Code Before: dist: trusty language: go addons: postgresql: "9.6" go: - 1.9.x - 1.10.x - 1.11.x - 1.12.x - tip go_import_path: github.com/go-pg/pg matrix: allow_failures: - go: tip before_install: - psql -U postgres -c "CREATE EXTENSION hstore" - curl -sfL https://install.goreleaser.com/git...
1c18f6061e282e60afdd68e360e1705e7c50cbcf
readme.md
readme.md
Savior is a project build with Laravel 5 (PHP) that aims to easily build and deploy REST APIs to any service, production, stage or testing environments as well as your local environments. I'm just starting this project to contribute to the community and help mysefl due to the increasing requests i've had for creating...
Savior is a project build with Laravel 5 (PHP) that aims to easily build and deploy REST APIs to any service, production, stage or testing environments as well as your local environments. I'm just starting this project to contribute to the community and help mysefl due to the increasing requests i've had for creating...
Update documentation with requirements and installation procedures
Update documentation with requirements and installation procedures
Markdown
mit
renomx/Savior,renomx/Savior
markdown
## Code Before: Savior is a project build with Laravel 5 (PHP) that aims to easily build and deploy REST APIs to any service, production, stage or testing environments as well as your local environments. I'm just starting this project to contribute to the community and help mysefl due to the increasing requests i've ...
e5b11c7a133058e3a26124fc057fda07c5658471
swagger-springmvc/src/main/java/com/mangofactory/swagger/paths/RelativeSwaggerPathProvider.java
swagger-springmvc/src/main/java/com/mangofactory/swagger/paths/RelativeSwaggerPathProvider.java
package com.mangofactory.swagger.paths; import javax.servlet.ServletContext; public class RelativeSwaggerPathProvider extends SwaggerPathProvider { public static final String ROOT = "/"; private final ServletContext servletContext; public RelativeSwaggerPathProvider(ServletContext servletContext) { supe...
package com.mangofactory.swagger.paths; import javax.servlet.ServletContext; import static com.google.common.base.Strings.isNullOrEmpty; public class RelativeSwaggerPathProvider extends SwaggerPathProvider { public static final String ROOT = "/"; private final ServletContext servletContext; public Relative...
Fix for when the context path is at the root the 'try this' doesnt work
Fix for when the context path is at the root the 'try this' doesnt work
Java
apache-2.0
wjc133/springfox,vmarusic/springfox,yelhouti/springfox,acourtneybrown/springfox,thomsonreuters/springfox,maksimu/springfox,RobWin/springfox,zhiqinghuang/springfox,jlstrater/springfox,maksimu/springfox,arshadalisoomro/springfox,ammmze/swagger-springmvc,springfox/springfox,RobWin/springfox,jlstrater/springfox,choiapril6/...
java
## Code Before: package com.mangofactory.swagger.paths; import javax.servlet.ServletContext; public class RelativeSwaggerPathProvider extends SwaggerPathProvider { public static final String ROOT = "/"; private final ServletContext servletContext; public RelativeSwaggerPathProvider(ServletContext servletCon...
5cabf0e2d7cd7f1cfe2f733bc062dcb80e817730
.travis.yml
.travis.yml
language: python install: - pip install tox script: - tox env: - TOXENV=django18-py27 - TOXENV=django18-py33 - TOXENV=django18-py34 - TOXENV=django18-py35 - TOXENV=django19-py27 - TOXENV=django19-py34 - TOXENV=django19-py35
language: python install: - pip install tox script: - tox env: - TOXENV=django18-py27 - TOXENV=django18-py33 - TOXENV=django18-py34 - TOXENV=django18-py35 - TOXENV=django19-py27 - TOXENV=django19-py34 - TOXENV=django19-py35 matrix: allow_failures: # - env: TOXENV=django18-py27 - env: TOX...
Allow Travis CI builds to fail fast (except for latest LTS on latest Python 2/3).
Allow Travis CI builds to fail fast (except for latest LTS on latest Python 2/3).
YAML
mit
ixc/django-master-password
yaml
## Code Before: language: python install: - pip install tox script: - tox env: - TOXENV=django18-py27 - TOXENV=django18-py33 - TOXENV=django18-py34 - TOXENV=django18-py35 - TOXENV=django19-py27 - TOXENV=django19-py34 - TOXENV=django19-py35 ## Instruction: Allow Travis CI builds to fail fast (excep...
2738d4da18f6571eaf8d75d74c21ba15b75e83a5
gnu/usr.bin/groff/eqn/Makefile
gnu/usr.bin/groff/eqn/Makefile
PROG= eqn MAN1= eqn.1 neqn.1 SRCS= main.cc lex.cc box.cc limit.cc list.cc over.cc text.cc\ script.cc mark.cc other.cc delim.cc sqrt.cc pile.cc special.cc OBJS= eqn.o #CFLAGS+= -I. -I${.CURDIR}/../include LDADD+= ${LIBGROFF} DPADD+= ${LIBGROFF} MANDEPEND= neqn.1 eqn.1 CLEANFILES+= eqn.cc eqn.tab.h neqn ${MAND...
PROG= eqn MAN1= eqn.1 neqn.1 SRCS= main.cc lex.cc box.cc limit.cc list.cc over.cc text.cc\ script.cc mark.cc other.cc delim.cc sqrt.cc pile.cc special.cc OBJS= eqn.o #CFLAGS+= -I. -I${.CURDIR}/../include LDADD+= ${LIBGROFF} DPADD+= ${LIBGROFF} MANDEPEND= neqn.1 eqn.1 CLEANFILES+= eqn.cc eqn.tab.h neqn ${MAND...
Fix neqn building: 1) Move it after Makefile.inc included since it uses DIST_DIR from there 2) Add neqn.sh dependance
Fix neqn building: 1) Move it after Makefile.inc included since it uses DIST_DIR from there 2) Add neqn.sh dependance
unknown
bsd-3-clause
jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase
unknown
## Code Before: PROG= eqn MAN1= eqn.1 neqn.1 SRCS= main.cc lex.cc box.cc limit.cc list.cc over.cc text.cc\ script.cc mark.cc other.cc delim.cc sqrt.cc pile.cc special.cc OBJS= eqn.o #CFLAGS+= -I. -I${.CURDIR}/../include LDADD+= ${LIBGROFF} DPADD+= ${LIBGROFF} MANDEPEND= neqn.1 eqn.1 CLEANFILES+= eqn.cc eqn.t...
7781acc765deeeefdbac60ededd9f48fa1b83cf5
common.css
common.css
.navbar-right:last-child { margin-right: 0px; } .navbar li > a > span { margin-right: 0.2778em; }
.navbar-right:last-child { margin-right: 0px; } .navbar li > a > span { margin-right: 0.2778em; } #logo-boerse { float: right; max-width: 100%; }
Add CSS for the WiW logo on boerse.willkommeninwoellstein.de
Add CSS for the WiW logo on boerse.willkommeninwoellstein.de
CSS
mit
fenhl/willkommeninwoellstein.de
css
## Code Before: .navbar-right:last-child { margin-right: 0px; } .navbar li > a > span { margin-right: 0.2778em; } ## Instruction: Add CSS for the WiW logo on boerse.willkommeninwoellstein.de ## Code After: .navbar-right:last-child { margin-right: 0px; } .navbar li > a > span { margin-right: 0.2778em...
7830032795651b311713ce9332983d154c354734
test/prx_auth/rails/configuration_test.rb
test/prx_auth/rails/configuration_test.rb
require 'test_helper' describe PrxAuth::Rails::Configuration do subject { PrxAuth::Rails::Configuration.new } it 'initializes with a namespace defined by rails app name' do assert subject.namespace == :dummy end it 'can be reconfigured using the namespace attr' do subject.namespace = :new_test ...
require 'test_helper' describe PrxAuth::Rails::Configuration do subject { PrxAuth::Rails::Configuration.new } it 'initializes with a namespace defined by rails app name' do assert subject.namespace == :dummy end it 'can be reconfigured using the namespace attr' do PrxAuth::Rails.stub(:configuration,...
Use stubbing here to ensure we trace the config block codepath
Use stubbing here to ensure we trace the config block codepath
Ruby
mit
PRX/prx_auth-rails,PRX/prx_auth-rails,PRX/prx_auth-rails
ruby
## Code Before: require 'test_helper' describe PrxAuth::Rails::Configuration do subject { PrxAuth::Rails::Configuration.new } it 'initializes with a namespace defined by rails app name' do assert subject.namespace == :dummy end it 'can be reconfigured using the namespace attr' do subject.namespace =...
2c480b4b42e4bac295a958ccb2046aba6a49bdba
recipes/jupyterlab-transient-display-data/meta.yaml
recipes/jupyterlab-transient-display-data/meta.yaml
{% set name = "jupyterlab-transient-display-data" %} {% set version = "0.2.2" %} package: name: {{ name|lower }} version: {{ version }} source: url: https://github.com/vatlab/transient-display-data/archive/{{ version }}.tar.gz sha256: d12dc82612ff116f6a27c11ccd0597c196f5889868fd44101223af233ae28297 build: ...
{% set name = "jupyterlab-transient-display-data" %} {% set version = "0.2.3" %} package: name: {{ name|lower }} version: {{ version }} source: url: https://github.com/vatlab/transient-display-data/archive/{{ version }}.tar.gz sha256: 116f8eefd378e996e9ec1201174ea592e8db4e9f0a751380458b7553c7c0c66e build: ...
Make a new release with LICENSE file
Make a new release with LICENSE file
YAML
bsd-3-clause
igortg/staged-recipes,scopatz/staged-recipes,birdsarah/staged-recipes,scopatz/staged-recipes,ocefpaf/staged-recipes,kwilcox/staged-recipes,mcs07/staged-recipes,kwilcox/staged-recipes,stuertz/staged-recipes,goanpeca/staged-recipes,petrushy/staged-recipes,SylvainCorlay/staged-recipes,igortg/staged-recipes,johanneskoester...
yaml
## Code Before: {% set name = "jupyterlab-transient-display-data" %} {% set version = "0.2.2" %} package: name: {{ name|lower }} version: {{ version }} source: url: https://github.com/vatlab/transient-display-data/archive/{{ version }}.tar.gz sha256: d12dc82612ff116f6a27c11ccd0597c196f5889868fd44101223af233a...
af8f66ea20aa23d77c6b1b4d3e88497b8d3f5f4d
framework_components/order.json
framework_components/order.json
[ "runs_list_bot", "main_interface", "binary-files-manager" ]
[ "runs_list_bot", "main_interface", "binary-files-manager", "server_bot" ]
Add server bot to runlist
Add server bot to runlist
JSON
mit
nutella-framework/nutella_framework,nutella-framework/nutella_framework,nutella-framework/nutella_framework,nutella-framework/nutella_framework
json
## Code Before: [ "runs_list_bot", "main_interface", "binary-files-manager" ] ## Instruction: Add server bot to runlist ## Code After: [ "runs_list_bot", "main_interface", "binary-files-manager", "server_bot" ]
04381dcea31c9a6ccc4c4eeaf306e867f5fcc893
test/fixtures/error_corpus/python_errors.txt
test/fixtures/error_corpus/python_errors.txt
============================================= incomplete condition in if statement ============================================= if a is: print b print c print d --- (module (if_statement condition: (identifier) (ERROR) consequence: (block (print_statement argument: (identifier)) (print...
============================================= incomplete condition in if statement ============================================= if a is: print b print c print d --- (module (if_statement condition: (identifier) (ERROR) consequence: (block (print_statement argument: (identifier)) (print...
Add more python error recovery tests
Add more python error recovery tests
Text
mit
tree-sitter/tree-sitter,tree-sitter/tree-sitter,tree-sitter/tree-sitter,tree-sitter/tree-sitter,tree-sitter/tree-sitter,tree-sitter/tree-sitter,tree-sitter/tree-sitter
text
## Code Before: ============================================= incomplete condition in if statement ============================================= if a is: print b print c print d --- (module (if_statement condition: (identifier) (ERROR) consequence: (block (print_statement argument: (identifie...
98179c171098fe94853be74b65a7d2ac7b923b1a
dta_rapid.gemspec
dta_rapid.gemspec
Gem::Specification.new do |spec| spec.name = "dta_rapid" spec.version = "0.2.1" spec.authors = ["Gareth Rogers"] spec.email = ["grogers@thoughtworks.com"] spec.summary = %q{Converting the DTA UI kit (see https://github.com/AusDTO/gov-au-ui-kit) into a Jekyll theme} spec....
Gem::Specification.new do |spec| spec.name = "dta_rapid" spec.version = "0.2.1" spec.authors = ["Gareth Rogers"] spec.email = ["grogers@thoughtworks.com"] spec.summary = %q{Converting the DTA UI kit (see https://github.com/AusDTO/gov-au-ui-kit) into a Jekyll theme} spec....
Change bourbon and neat to runtime dependency
Change bourbon and neat to runtime dependency
Ruby
mit
WorkItMakeItDoItMakeUs/dta_rapid,WorkItMakeItDoItMakeUs/dta_rapid,WorkItMakeItDoItMakeUs/dta_rapid,WorkItMakeItDoItMakeUs/dta_rapid
ruby
## Code Before: Gem::Specification.new do |spec| spec.name = "dta_rapid" spec.version = "0.2.1" spec.authors = ["Gareth Rogers"] spec.email = ["grogers@thoughtworks.com"] spec.summary = %q{Converting the DTA UI kit (see https://github.com/AusDTO/gov-au-ui-kit) into a Jekyl...
00383460da8fa380c65dd658fb8d1a12192f3e24
common-jwt/src/main/resources/sg/ncl/common/jwt/jwt.yml
common-jwt/src/main/resources/sg/ncl/common/jwt/jwt.yml
ncl: jwt: # please set value for the variable (${jwt.apiKey}) externally (e.g., environment variables, properties file) apiKey: ${jwt.apiKey}
ncl: jwt: # please set value for the variable (${jwt.apiKey}) externally (e.g., environment variables, properties file) apiKey: ${jwt.apiKey} signing-algorithm: HS512
Set default signing algorithm HS512 (DEV-99)
Set default signing algorithm HS512 (DEV-99)
YAML
apache-2.0
nus-ncl/services-in-one,nus-ncl/services-in-one
yaml
## Code Before: ncl: jwt: # please set value for the variable (${jwt.apiKey}) externally (e.g., environment variables, properties file) apiKey: ${jwt.apiKey} ## Instruction: Set default signing algorithm HS512 (DEV-99) ## Code After: ncl: jwt: # please set value for the variable (${jwt.apiKey}) externally (e....
b80f4b7f7354507616789b1753f115ecfe111013
tests/regression/27-inv_invariants/04-ints-not-interval.c
tests/regression/27-inv_invariants/04-ints-not-interval.c
//PARAM: --disable ana.int.def_exc --enable ana.int.interval int main() { int x; if(!x) { assert(x==0); } else { assert(x==1); //UNKNOWN! } }
//PARAM: --disable ana.int.def_exc --enable ana.int.interval int main() { int x; if(!x) { } else { assert(x==1); //UNKNOWN! } }
Remove assert that is unknown when runinng only with interval
27/04: Remove assert that is unknown when runinng only with interval
C
mit
goblint/analyzer,goblint/analyzer,goblint/analyzer,goblint/analyzer,goblint/analyzer
c
## Code Before: //PARAM: --disable ana.int.def_exc --enable ana.int.interval int main() { int x; if(!x) { assert(x==0); } else { assert(x==1); //UNKNOWN! } } ## Instruction: 27/04: Remove assert that is unknown when runinng only with interval ## Code After: //PARAM: --disable ana.int....
396680a5f6418d8591d7191a730f0ac070e28edb
modules/mod_admin/templates/admin_logon.tpl
modules/mod_admin/templates/admin_logon.tpl
{% extends "admin_base.tpl" %} {% block title %} {_ Admin log on _} {% endblock %} {% block bodyclass %}noframe{% endblock %} {% block navigation %} <div class="navbar navbar-fixed-top"> <div class="navbar-inner"> <div class="container"> <a class="brand" href="http://{{ m.site.hostname }}" ti...
{% extends "admin_base.tpl" %} {% block title %} {_ Admin log on _} {% endblock %} {% block bodyclass %}noframe{% endblock %} {% block navigation %} <div class="navbar navbar-fixed-top"> <div class="navbar-inner"> <div class="container"> <a class="brand" href="http://{{ m.site.hostname }}" ti...
Fix redirect to admin page when using admin logon form
mod_admin: Fix redirect to admin page when using admin logon form Using the new admin logon form overwrote the "page" argument always to redirect to /admin. This patch fixes that. Fixes #488
Smarty
apache-2.0
erlanger-ru/erlanger-ru.meta,erlanger-ru/erlanger-ru.meta,erlanger-ru/erlanger-ru.meta,erlanger-ru/erlanger-ru.meta,erlanger-ru/erlanger-ru.meta
smarty
## Code Before: {% extends "admin_base.tpl" %} {% block title %} {_ Admin log on _} {% endblock %} {% block bodyclass %}noframe{% endblock %} {% block navigation %} <div class="navbar navbar-fixed-top"> <div class="navbar-inner"> <div class="container"> <a class="brand" href="http://{{ m.site...
91afa7c5f56d4e2ac780286c92e44e33989f90f0
.travis.yml
.travis.yml
language: java sudo: false install: true services: - docker jdk: - oraclejdk8 before_cache: - rm -f $HOME/.gradle/caches/modules-2/modules-2.lock - rm -fr $HOME/.gradle/caches/*/plugin-resolution/ cache: directories: - "$HOME/.gradle/caches/" - "$HOME/.gradle/wrapper/" script: - "./gradlew test jacocoJu...
language: java sudo: false install: true services: - docker jdk: - oraclejdk8 before_cache: - rm -f $HOME/.gradle/caches/modules-2/modules-2.lock - rm -fr $HOME/.gradle/caches/*/plugin-resolution/ cache: directories: - "$HOME/.gradle/caches/" - "$HOME/.gradle/wrapper/" jobs: include: - stage: test...
Break down single script command into a pipeline on CI
Break down single script command into a pipeline on CI
YAML
mit
fcostaa/kotlin-microservice,fcostaa/kotlin-microservice,fcostaa/kotlin-microservice
yaml
## Code Before: language: java sudo: false install: true services: - docker jdk: - oraclejdk8 before_cache: - rm -f $HOME/.gradle/caches/modules-2/modules-2.lock - rm -fr $HOME/.gradle/caches/*/plugin-resolution/ cache: directories: - "$HOME/.gradle/caches/" - "$HOME/.gradle/wrapper/" script: - "./gradl...
fdb3711c5690effa82a14fc16c8703d771f1fe05
package.json
package.json
{ "name": "Melange", "description": "The goal of this project is to create a framework for representing Open Source contribution workflows, such as the existing Google Summer of Code TM (GSoC) program", "devDependencies": { "grunt": "~0.4.1", "grunt-contrib-jasmine": "~0.3.1", "grunt-template-jasmine-...
{ "name": "Melange", "description": "The goal of this project is to create a framework for representing Open Source contribution workflows, such as the existing Google Summer of Code TM (GSoC) program", "devDependencies": { "grunt": "~0.4.1", "grunt-contrib-jasmine": "~0.3.1", "grunt-template-jasmine-...
Install grunt task for LESSCSS during buildout.
Install grunt task for LESSCSS during buildout.
JSON
apache-2.0
rhyolight/nupic.son,rhyolight/nupic.son,rhyolight/nupic.son
json
## Code Before: { "name": "Melange", "description": "The goal of this project is to create a framework for representing Open Source contribution workflows, such as the existing Google Summer of Code TM (GSoC) program", "devDependencies": { "grunt": "~0.4.1", "grunt-contrib-jasmine": "~0.3.1", "grunt-t...
4e23fb8503bb991abeaae25cf4849f7b08638cab
web/emergencyshutdown.go
web/emergencyshutdown.go
package web import ( "github.com/control-center/serviced/dao" rest "github.com/zenoss/go-json-rest" ) type EmergencyShutdownRequest struct { Operation int // 0 is emergency shutdown, 1 is clear emergency shutdown status TenantID string } func restEmergencyShutdown(w *rest.ResponseWriter, r *rest.Request, ctx *r...
package web import ( "github.com/control-center/serviced/dao" rest "github.com/zenoss/go-json-rest" ) type EmergencyShutdownRequest struct { Operation int // 0 is emergency shutdown, 1 is clear emergency shutdown status TenantID string } func restEmergencyShutdown(w *rest.ResponseWriter, r *rest.Request, ctx *r...
Update to emergency shutdown endpoint for tests
Update to emergency shutdown endpoint for tests
Go
apache-2.0
control-center/serviced,control-center/serviced,control-center/serviced,control-center/serviced,control-center/serviced,control-center/serviced,control-center/serviced,control-center/serviced
go
## Code Before: package web import ( "github.com/control-center/serviced/dao" rest "github.com/zenoss/go-json-rest" ) type EmergencyShutdownRequest struct { Operation int // 0 is emergency shutdown, 1 is clear emergency shutdown status TenantID string } func restEmergencyShutdown(w *rest.ResponseWriter, r *rest...
d062eac9d284df8f6f059b7fac27c14224ec63ad
docs/docs/reference/dropped-features/this-qualifier.md
docs/docs/reference/dropped-features/this-qualifier.md
--- title: "Dropped: private[this] and protected[this]" type: section num: 86 previous-page: /scala3/reference/dropped-features/weak-conformance next-page: /scala3/reference/dropped-features/wildcard-init --- The `private[this]` and `protected[this]` access modifiers are deprecated and will be phased out. Previously,...
--- title: "Dropped: private[this] and protected[this]" type: section num: 86 previous-page: /scala3/reference/dropped-features/weak-conformance next-page: /scala3/reference/dropped-features/wildcard-init --- The `private[this]` and `protected[this]` access modifiers are deprecated and will be phased out. Previously,...
Add explanations to discussion of private[this] in docs
Add explanations to discussion of private[this] in docs Fixes #13770 Or more precisely: it explains the issue with reflection which has been observed in several projects. The issue with WeakReferences is so tricky/underspecified that I did not find a reasonable explanation. I fear people would be confused rather than...
Markdown
apache-2.0
dotty-staging/dotty,sjrd/dotty,lampepfl/dotty,dotty-staging/dotty,dotty-staging/dotty,dotty-staging/dotty,dotty-staging/dotty,sjrd/dotty,lampepfl/dotty,lampepfl/dotty,sjrd/dotty,sjrd/dotty,lampepfl/dotty,sjrd/dotty,lampepfl/dotty
markdown
## Code Before: --- title: "Dropped: private[this] and protected[this]" type: section num: 86 previous-page: /scala3/reference/dropped-features/weak-conformance next-page: /scala3/reference/dropped-features/wildcard-init --- The `private[this]` and `protected[this]` access modifiers are deprecated and will be phased o...
72af10999d6372770623075eee018f2a0f463b33
src/com/connectsdk/DefaultPlatform.java
src/com/connectsdk/DefaultPlatform.java
package com.connectsdk; import java.util.HashMap; public class DefaultPlatform { public DefaultPlatform() { } public static HashMap<String, String> getDeviceServiceMap() { HashMap<String, String> devicesList = new HashMap<String, String>(); devicesList.put("com.connectsdk.service.WebOSTVService", "com....
package com.connectsdk; import java.util.HashMap; public class DefaultPlatform { public DefaultPlatform() { } public static HashMap<String, String> getDeviceServiceMap() { HashMap<String, String> devicesList = new HashMap<String, String>(); devicesList.put("com.connectsdk.service.WebOSTVService", "com....
Add MultiScreenService to Default platforms
Add MultiScreenService to Default platforms
Java
apache-2.0
ConnectSDK/Connect-SDK-Android,happysir/Connect-SDK-Android,AspiroTV/Connect-SDK-Android,jaambee/Connect-SDK-Android
java
## Code Before: package com.connectsdk; import java.util.HashMap; public class DefaultPlatform { public DefaultPlatform() { } public static HashMap<String, String> getDeviceServiceMap() { HashMap<String, String> devicesList = new HashMap<String, String>(); devicesList.put("com.connectsdk.service.WebOST...
09bef3b1c50a8ac7e1f463e9a7b9ca2124b8478f
lib/cacheable_flash/rspec_matchers.rb
lib/cacheable_flash/rspec_matchers.rb
require 'cacheable_flash/test_helpers' module CacheableFlash module RspecMatchers include CacheableFlash::TestHelpers RSpec::Matchers.define :have_flash_cookie do |flash_status, expecting| define_method :has_flash_cookie? do |response| flash = testable_flash(response)[flash_status] if f...
require 'stackable_flash/test_helpers' # Used in the definition of these matchers require 'stackable_flash/rspec_matchers' # Not used here, but for convenience require 'cacheable_flash/test_helpers' # Used in the definition of these matchers module CacheableFlash module RspecMatchers include StackableFlash::...
Use stackable_flash/test_helpers instead of reinventing the wheel
Use stackable_flash/test_helpers instead of reinventing the wheel
Ruby
mit
ndreckshage/cacheable-flash,pivotal/cacheable-flash,pedrocarrico/cacheable-flash,efigence/cacheable-flash,wandenberg/cacheable-flash,ekampp/cacheable-flash,pboling/cacheable-flash,khoan/cacheable-flash,ndreckshage/cacheable-flash,pboling/cacheable-flash,pboling/cacheable-flash,pivotal/cacheable-flash,khoan/cacheable-fl...
ruby
## Code Before: require 'cacheable_flash/test_helpers' module CacheableFlash module RspecMatchers include CacheableFlash::TestHelpers RSpec::Matchers.define :have_flash_cookie do |flash_status, expecting| define_method :has_flash_cookie? do |response| flash = testable_flash(response)[flash_stat...
41041c967c3402102deb19adee6908f3b395f947
requirements.txt
requirements.txt
Markdown==2.4 inflection==0.2.0 jsonpatch==1.13 jsonpointer==1.10 jsonschema==2.3.0 pandocfilters==1.2 six>=1.5.2
Markdown==2.4 inflection==0.2.0 jsonschema==2.3.0 pandocfilters==1.2 six>=1.5.2
Remove dependency on jsonpatch and jsonpointer
Remove dependency on jsonpatch and jsonpointer It's not clear at all why these were ever in the requirements list, because they're not imported, and they don't appear to be an upstream dependency of jsonschema.
Text
mit
cwacek/python-jsonschema-objects
text
## Code Before: Markdown==2.4 inflection==0.2.0 jsonpatch==1.13 jsonpointer==1.10 jsonschema==2.3.0 pandocfilters==1.2 six>=1.5.2 ## Instruction: Remove dependency on jsonpatch and jsonpointer It's not clear at all why these were ever in the requirements list, because they're not imported, and they don't appear to be...
c74e5bc942ae2486199070ec213fa6d692a2a605
docs/source/examples/test_modify_array_argument_reals.py
docs/source/examples/test_modify_array_argument_reals.py
import numpy as np from pych.extern import Chapel @Chapel() def printArray(arr=np.ndarray): """ arr += 1; writeln(arr); """ return None if __name__ == "__main__": arr = np.array([1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0, 10.0]) print arr printArray(arr); print arr import testc...
import numpy as np from pych.extern import Chapel @Chapel() def printArray(arr=np.ndarray): """ arr += 1; writeln(arr); """ return None if __name__ == "__main__": arr = np.array([1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0, 10.0]) print arr printArray(arr); print arr import testc...
Fix trivial unit test error that started when numpy version changed
Fix trivial unit test error that started when numpy version changed The version of numpy brought in by pip changed, which changed some test outputs in meaningless ways (ie, spaces), and those meaningless changes broke a unit test with assertEquals( "string literal", test(something) ) This change fixes the unit te...
Python
apache-2.0
russel/pychapel,russel/pychapel,chapel-lang/pychapel,chapel-lang/pychapel,russel/pychapel,chapel-lang/pychapel
python
## Code Before: import numpy as np from pych.extern import Chapel @Chapel() def printArray(arr=np.ndarray): """ arr += 1; writeln(arr); """ return None if __name__ == "__main__": arr = np.array([1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0, 10.0]) print arr printArray(arr); print a...
e82f652c4210f5105f6a77c71d8660b3a8495d84
lib/stash_merge_executor.rb
lib/stash_merge_executor.rb
require 'open3' require 'git_merge_executor' class StashMergeExecutor < GitMergeExecutor # Merges the branch associated with a build using the Stash REST api. # If an API error is raised, falls back on traditional method. def merge_and_push remote_server = @build.repository.remote_server if @build.proje...
require 'open3' require 'git_merge_executor' class StashMergeExecutor < GitMergeExecutor # Merges the branch associated with a build using the Stash REST api. # If an API error is raised, falls back on traditional method. def merge_and_push remote_server = @build.repository.remote_server if @build.proje...
Remove minor bug in delete branch
Remove minor bug in delete branch
Ruby
apache-2.0
square/kochiku,rudle/kochiku,square/kochiku,rudle/kochiku,moshez/kochiku,rudle/kochiku,moshez/kochiku,moshez/kochiku,rudle/kochiku,moshez/kochiku,square/kochiku,square/kochiku
ruby
## Code Before: require 'open3' require 'git_merge_executor' class StashMergeExecutor < GitMergeExecutor # Merges the branch associated with a build using the Stash REST api. # If an API error is raised, falls back on traditional method. def merge_and_push remote_server = @build.repository.remote_server ...
3031b2bcc712db7678c777566e75cde460513ebb
.drone.yml
.drone.yml
kind: pipeline name: default steps: - name: test image: golang environment: GO111MODULE: on ARN_ROOT: /notify.moe commands: - go version - go get ./... - go build ./... - curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(go env GOPATH)/bin v1.16.0 - g...
kind: pipeline name: default steps: - name: test image: golang environment: GO111MODULE: on ARN_ROOT: /notify.moe commands: - go version - go get ./... - go build ./... - curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(go env GOPATH)/bin v1.16.0 - g...
Disable duplication checks until fixed
Disable duplication checks until fixed
YAML
mit
animenotifier/arn
yaml
## Code Before: kind: pipeline name: default steps: - name: test image: golang environment: GO111MODULE: on ARN_ROOT: /notify.moe commands: - go version - go get ./... - go build ./... - curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(go env GOPATH)/b...
01f93db36e8a9ddf1c9da662ec24fc56d36476e1
.travis.yml
.travis.yml
sudo: false language: python python: - pypy - pypy3 - 2.6 - 2.7 - 3.3 - 3.4 - 3.5 install: - pip install -rrequirements-dev.txt coveralls script: - coverage run --source sass,sassc,sassutils -m pytest sasstests.py - flake8 . after_success: - coveralls cache: directories: - $HOME/.cache/pip
language: python python: - pypy - pypy3 - 2.6 - 2.7 - 3.3 - 3.4 - 3.5 install: - pip install -rrequirements-dev.txt coveralls script: - coverage run --source sass,sassc,sassutils -m pytest sasstests.py - flake8 . after_success: - coveralls cache: directories: - $HOME/.cache/pip
Remove now default 'sudo: false'
Remove now default 'sudo: false' 'sudo: false' is now default on Travis CI.
YAML
mit
dahlia/libsass-python,dahlia/libsass-python
yaml
## Code Before: sudo: false language: python python: - pypy - pypy3 - 2.6 - 2.7 - 3.3 - 3.4 - 3.5 install: - pip install -rrequirements-dev.txt coveralls script: - coverage run --source sass,sassc,sassutils -m pytest sasstests.py - flake8 . after_success: - coveralls cache: directories: - $HOME/.cache/pip ...
29abdb6ceff6038cce37e9e5761513b204a08ea0
module/json_api_request.js
module/json_api_request.js
/*! * apiai * Copyright(c) 2015 http://api.ai/ * Apache 2.0 Licensed */ 'use strict'; var Request = require('./request').Request; var util = require('util'); var ServerError = require('./exceptions').ServerError; exports.JSONApiRequest = module.exports.JSONApiRequest = JSONApiRequest; util.inherits(JSONApiRequ...
/*! * apiai * Copyright(c) 2015 http://api.ai/ * Apache 2.0 Licensed */ 'use strict'; var Request = require('./request').Request; var util = require('util'); var ServerError = require('./exceptions').ServerError; exports.JSONApiRequest = module.exports.JSONApiRequest = JSONApiRequest; util.inherits(JSONApiRequ...
Fix issue with wrong data in response
Fix issue with wrong data in response
JavaScript
apache-2.0
dialogflow/dialogflow-nodejs-client,api-ai/api-ai-node-js,api-ai/apiai-nodejs-client,api-ai/api-ai-node-js,api-ai/apiai-nodejs-client,dialogflow/dialogflow-nodejs-client
javascript
## Code Before: /*! * apiai * Copyright(c) 2015 http://api.ai/ * Apache 2.0 Licensed */ 'use strict'; var Request = require('./request').Request; var util = require('util'); var ServerError = require('./exceptions').ServerError; exports.JSONApiRequest = module.exports.JSONApiRequest = JSONApiRequest; util.inhe...
c15f064c2e12da8b0d1f0b16f06529699db2d612
src/Command/MigrationMigrateCommand.php
src/Command/MigrationMigrateCommand.php
<?php namespace PDOSimpleMigration\Command; use Symfony\Component\Console\Input\InputArgument; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Input\InputOption; use Symfony\Component\Console\Output\OutputInterface; class MigrationMigrateCommand extends AbstractCommand { protect...
<?php namespace PDOSimpleMigration\Command; use Symfony\Component\Console\Input\InputArgument; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Input\InputOption; use Symfony\Component\Console\Output\OutputInterface; class MigrationMigrateCommand extends AbstractCommand { protect...
Fix error PHP <= 5.6
Fix error PHP <= 5.6
PHP
mit
fabiopaiva/PDOSimpleMigration
php
## Code Before: <?php namespace PDOSimpleMigration\Command; use Symfony\Component\Console\Input\InputArgument; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Input\InputOption; use Symfony\Component\Console\Output\OutputInterface; class MigrationMigrateCommand extends AbstractComma...
3682d1b364834c44c0b7b8efca722479b43b5cff
spec/factories/tools.rb
spec/factories/tools.rb
FactoryGirl.define do factory :tool do tool_slot device name { Faker::Pokemon.name } end end
FactoryGirl.define do factory :tool do tool_slot device name { Faker::Pokemon.name + Faker::Pokemon.name } end end
Change FactoryGirl to make tool names more unique
Change FactoryGirl to make tool names more unique
Ruby
mit
FarmBot/farmbot-web-app,RickCarlino/farmbot-web-app,gabrielburnworth/Farmbot-Web-App,gabrielburnworth/Farmbot-Web-App,MrChristofferson/Farmbot-Web-API,FarmBot/Farmbot-Web-API,gabrielburnworth/Farmbot-Web-App,gabrielburnworth/Farmbot-Web-App,MrChristofferson/Farmbot-Web-API,RickCarlino/farmbot-web-app,FarmBot/Farmbot-We...
ruby
## Code Before: FactoryGirl.define do factory :tool do tool_slot device name { Faker::Pokemon.name } end end ## Instruction: Change FactoryGirl to make tool names more unique ## Code After: FactoryGirl.define do factory :tool do tool_slot device name { Faker::Pokemon.name + Faker::Pokemo...
153ce8b0a263edce819a5df534ff89a100c5454a
human_time.go
human_time.go
package main import ( "github.com/dustin/go-humanize" "time" "strings" ) func HumanTime(time time.Time) string { original := humanize.Time(time) parts := strings.Split(original, " ") return parts[0] + " " + parts[1] }
package main import ( "github.com/dustin/go-humanize" "time" "strings" "math" ) func HumanTime(time time.Time) string { original := humanize.Time(time) parts := strings.Split(original, " ") length := int(math.Min(float64(len(parts)), 2)) // now / x minutes parts = parts[:length] re...
Fix fatal error when pokemon expires “now”
Fix fatal error when pokemon expires “now”
Go
mit
jacobmarshall/pokevision-cli,jacobmarshall/pokevision-cli
go
## Code Before: package main import ( "github.com/dustin/go-humanize" "time" "strings" ) func HumanTime(time time.Time) string { original := humanize.Time(time) parts := strings.Split(original, " ") return parts[0] + " " + parts[1] } ## Instruction: Fix fatal error when pokemon expires “now” ...
a9c64b2c2447da1522ca12f6d891a8d8b9baedb2
test/Version.nim
test/Version.nim
proc demo(alpha: int=1, item: string="hi", args: seq[string]): int = ## demo entry point with varied, meaningless parameters. A Nim invocation ## might be: demo(alpha=2, @[ "hi", "ho" ]) corresponding to the command ## invocation "demo --alpha=2 hi ho" (assuming executable gets named demo). echo "alpha:", alph...
proc demo(alpha: int=1, item: string="hi", args: seq[string]): int = ## demo entry point with varied, meaningless parameters. A Nim invocation ## might be: demo(alpha=2, @[ "hi", "ho" ]) corresponding to the command ## invocation "demo --alpha=2 hi ho" (assuming executable gets named demo). echo "alpha:", alph...
Use git describe in example for a better version string.
Use git describe in example for a better version string.
Nimrod
isc
c-blake/cligen
nimrod
## Code Before: proc demo(alpha: int=1, item: string="hi", args: seq[string]): int = ## demo entry point with varied, meaningless parameters. A Nim invocation ## might be: demo(alpha=2, @[ "hi", "ho" ]) corresponding to the command ## invocation "demo --alpha=2 hi ho" (assuming executable gets named demo). ech...
3af4c5122961aeeb8173a9862a061340a678fbc1
lib/opal-jquery/event.rb
lib/opal-jquery/event.rb
class Event < `$.Event` def current_target %x{ return $(#{self}.currentTarget); } end def target %x{ if (#{self}._opalTarget) { return #{self}._opalTarget; } return #{self}._opalTarget = $(#{self}.target); } end def type `#{self}.type` end def ...
class Event < `$.Event` def current_target `$(#{self}.currentTarget)` end alias_native :default_prevented?, :isDefaultPrevented alias_native :prevent_default, :preventDefault def page_x `#{self}.pageX` end def page_y `#{self}.pageY` end alias_native :propagation_stopped?, :propagation...
Add more useful Event methods
Add more useful Event methods
Ruby
mit
opal/opal-jquery,opal/opal-jquery,wied03/opal-jquery,xuwupeng2000/opal-jquery,xuwupeng2000/opal-jquery,wied03/opal-jquery,catprintlabs/opal-jquery-beta-minus
ruby
## Code Before: class Event < `$.Event` def current_target %x{ return $(#{self}.currentTarget); } end def target %x{ if (#{self}._opalTarget) { return #{self}._opalTarget; } return #{self}._opalTarget = $(#{self}.target); } end def type `#{self}.typ...
059a9fcaed8f732f55869e43af7d2c12cbcf8315
README.md
README.md
living-style-guide ================== Our design guidelines in code.
living-style-guide ================== Our design guidelines in code. ### Installation Run the following commands: ```sh git clone https://github.com/BMJ-Ltd/living-style-guide cd living-style-guide npm install bower install ``` If you don't have [Bower](http://bower.io/) installed, install it using: ```sh npm in...
Add install and usage instructions
Add install and usage instructions
Markdown
mit
BMJ-Ltd/living-style-guide,BMJ-Ltd/living-style-guide,BMJ-Ltd/living-style-guide
markdown
## Code Before: living-style-guide ================== Our design guidelines in code. ## Instruction: Add install and usage instructions ## Code After: living-style-guide ================== Our design guidelines in code. ### Installation Run the following commands: ```sh git clone https://github.com/BMJ-Ltd/livin...
355a5fa8b1601ada01c60de80d97c3fbc4988b9f
src/main/java/com/yubico/client/v2/Cmd.java
src/main/java/com/yubico/client/v2/Cmd.java
package com.yubico.client.v2; /** * Created by IntelliJ IDEA. * User: lwid * Date: 1/28/11 * Time: 2:07 PM * To change this template use File | Settings | File Templates. */ public class Cmd { public static void main (String args []) throws Exception { if (args.length != 2) { System....
package com.yubico.client.v2; /** * Created by IntelliJ IDEA. * User: lwid * Date: 1/28/11 * Time: 2:07 PM * To change this template use File | Settings | File Templates. */ public class Cmd { public static void main (String args []) throws Exception { if (args.length != 2) { System....
Handle null returns from client constructor
Handle null returns from client constructor
Java
bsd-2-clause
Yubico/yubico-java-client,Yubico/yubico-java-client
java
## Code Before: package com.yubico.client.v2; /** * Created by IntelliJ IDEA. * User: lwid * Date: 1/28/11 * Time: 2:07 PM * To change this template use File | Settings | File Templates. */ public class Cmd { public static void main (String args []) throws Exception { if (args.length != 2) { ...
133935d855dd601118c9e559d6585a44a99d9b3f
packages/lt/ltext.yaml
packages/lt/ltext.yaml
homepage: '' changelog-type: '' hash: 686ca12e964fa200ea2ae167d1b37d6a3d94b6d3cdba3ca8eece32be87d4e190 test-bench-deps: base: -any hspec: -any maintainer: Athan Clark <athan.clark@gmail.com> synopsis: Higher-order file applicator changelog: '' basic-deps: base: ! '>=4.6 && <5' text: -any composition: -any p...
homepage: '' changelog-type: '' hash: 7e2fe707c7b39cac8241d02ae20907e937c93a39105e50576d834b0fe6045585 test-bench-deps: base: -any hspec: -any mtl: -any maintainer: Athan Clark <athan.clark@gmail.com> synopsis: Higher-order file applicator changelog: '' basic-deps: base: ! '>=4.6 && <5' text: -any compositi...
Update from Hackage at 2015-05-31T16:20:10+0000
Update from Hackage at 2015-05-31T16:20:10+0000
YAML
mit
commercialhaskell/all-cabal-metadata
yaml
## Code Before: homepage: '' changelog-type: '' hash: 686ca12e964fa200ea2ae167d1b37d6a3d94b6d3cdba3ca8eece32be87d4e190 test-bench-deps: base: -any hspec: -any maintainer: Athan Clark <athan.clark@gmail.com> synopsis: Higher-order file applicator changelog: '' basic-deps: base: ! '>=4.6 && <5' text: -any compo...
80c827119d9b1deb9a900c5a281ebb084d02ab48
modules/lang/rust/doctor.el
modules/lang/rust/doctor.el
;; -*- lexical-binding: t; no-byte-compile: t; -*- ;;; lang/rust/doctor.el (assert! (or (not (featurep! +lsp)) (featurep! :tools lsp)) "This module requires (:tools lsp)") (unless (executable-find "rustc") (warn! "Couldn't find rustc binary")) (unless (executable-find "cargo") (warn! "Could...
;; -*- lexical-binding: t; no-byte-compile: t; -*- ;;; lang/rust/doctor.el (assert! (or (not (featurep! +lsp)) (featurep! :tools lsp)) "This module requires (:tools lsp)") (unless (executable-find "rustc") (warn! "Couldn't find rustc binary")) (unless (executable-find "cargo") (warn! "Could...
Fix references to old rust-analyzer binary
Fix references to old rust-analyzer binary Closes #2588
Emacs Lisp
mit
UndeadKernel/emacs_doom,hlissner/doom-emacs,hlissner/.emacs.d,hlissner/.emacs.d,UndeadKernel/emacs_doom,UndeadKernel/emacs_doom,hlissner/.emacs.d,UndeadKernel/emacs_doom,hlissner/.emacs.d,hlissner/.emacs.d,hlissner/doom-emacs,hlissner/doom-emacs,hlissner/.emacs.d,hlissner/doom-emacs,hlissner/.emacs.d,hlissner/doom-emac...
emacs-lisp
## Code Before: ;; -*- lexical-binding: t; no-byte-compile: t; -*- ;;; lang/rust/doctor.el (assert! (or (not (featurep! +lsp)) (featurep! :tools lsp)) "This module requires (:tools lsp)") (unless (executable-find "rustc") (warn! "Couldn't find rustc binary")) (unless (executable-find "cargo")...
7d53111c20e0c1f5981e060293b9f695dc5863b1
meta/main.yml
meta/main.yml
--- dependencies: - { role: andrewrothstein.docker } - { role: andrewrothstein.docker-compose } galaxy_info: author: Daisuke Baba description: Install docker version of concourse-ci license: "license (MIT)" min_ansible_version: 2.0.0.1 platforms: - name: EL versions: - 7 - name: Ubunt...
--- dependencies: - { role: andrewrothstein.docker } - { role: andrewrothstein.docker-compose } galaxy_info: author: Daisuke Baba description: Install docker version of concourse-ci license: "license (MIT)" min_ansible_version: 2.0.0.1 platforms: - name: EL versions: - 7 - name: Ubunt...
Remove unsupported version of Ubuntu
Remove unsupported version of Ubuntu
YAML
mit
dbaba/ansible-role-concourse-ci
yaml
## Code Before: --- dependencies: - { role: andrewrothstein.docker } - { role: andrewrothstein.docker-compose } galaxy_info: author: Daisuke Baba description: Install docker version of concourse-ci license: "license (MIT)" min_ansible_version: 2.0.0.1 platforms: - name: EL versions: - 7 ...
e27e81522e8ab58d696ac19dd144932d2f0507e6
app/views/_goal_listing.erb
app/views/_goal_listing.erb
<div class="goal-listing"> <div class="checkbox"></div> <a href="/goals/<%= goal.id %>"><strong><%= goal.name %></strong></a><br> <%= goal.pillar.name %>: <%= goal.strand.name %><br> <span <% if goal.set_at < DateTime.current && !goal.is_completed %> class="active" <% end %>>Start: <%= goal.set_at %></span><br>...
<div class="goal-listing"> <div class="checkbox"></div> <a href="/goals/<%= goal.id %>"><strong><%= goal.name %></strong></a><br> <%= goal.pillar.name %>: <%= goal.strand.name %><br> <% if goal.set_at < DateTime.current && !goal.is_completed %> <span class="active"> <% else %> <span> <% end %> Sta...
Add proper if-else statement for active spans
Add proper if-else statement for active spans
HTML+ERB
mit
caonayemi/getting-it-together,caonayemi/getting-it-together,caonayemi/getting-it-together
html+erb
## Code Before: <div class="goal-listing"> <div class="checkbox"></div> <a href="/goals/<%= goal.id %>"><strong><%= goal.name %></strong></a><br> <%= goal.pillar.name %>: <%= goal.strand.name %><br> <span <% if goal.set_at < DateTime.current && !goal.is_completed %> class="active" <% end %>>Start: <%= goal.set_...
3b34d6829a451c81705586a5ecdcec83aa2e25c0
openforcefield/meta.yaml
openforcefield/meta.yaml
package: name: openforcefield version: 0.2.0 source: git_url: https://github.com/openforcefield/openforcefield.git git_tag: 0.2.0 build: preserve_egg_dir: True number: 0 # Build number and string do not work together. #string: py{{ py }}_a1 # Alpha version 1. skip: True # [py27 or py35] extra: #for...
package: name: openforcefield version: 0.2.0 source: git_url: https://github.com/openforcefield/openforcefield.git git_tag: 0.2.0 build: preserve_egg_dir: True number: 0 # Build number and string do not work together. #string: py{{ py }}_a1 # Alpha version 1. skip: True # [win or py27 or py35] extra:...
Fix issue with rdkit/cairo/python versions
[openforcefield] Fix issue with rdkit/cairo/python versions
YAML
mit
peastman/conda-recipes,peastman/conda-recipes,omnia-md/conda-recipes,omnia-md/conda-recipes,peastman/conda-recipes,omnia-md/conda-recipes
yaml
## Code Before: package: name: openforcefield version: 0.2.0 source: git_url: https://github.com/openforcefield/openforcefield.git git_tag: 0.2.0 build: preserve_egg_dir: True number: 0 # Build number and string do not work together. #string: py{{ py }}_a1 # Alpha version 1. skip: True # [py27 or py35...
234784bd6d6817d614c82a339700bb1a9f0e900a
README.md
README.md
Interactive code profiling widget for IPython + Jupyter Notebook. Tested with Jupyter notebook server 4.1.0 and 4.2.0, Python 2.7 and 3.5, IPython 4.1 and IPython 4.2. May be compatible with earlier/later versions. **This software is a work in progress and is not yet stable/release ready.** ## Dependencies + Cython ...
Interactive code profiling widget for IPython + Jupyter Notebook. Tested with Jupyter notebook server 4.1.0 and 4.2.0, Python 2.7 and 3.5, IPython 4.1 and IPython 4.2. May be compatible with earlier/later versions. **This software is a work in progress and is not yet stable/release ready.** ## Dependencies + Cython ...
Change installation in readme.md to local install.
Change installation in readme.md to local install.
Markdown
mit
j-towns/iprofiler,j-towns/iprofiler,j-towns/iprofiler,j-towns/iprofiler
markdown
## Code Before: Interactive code profiling widget for IPython + Jupyter Notebook. Tested with Jupyter notebook server 4.1.0 and 4.2.0, Python 2.7 and 3.5, IPython 4.1 and IPython 4.2. May be compatible with earlier/later versions. **This software is a work in progress and is not yet stable/release ready.** ## Depend...
b743d604ad1d7299cc1d891916f70aeb6e369e2b
provisioning/provision.yml
provisioning/provision.yml
--- - hosts: - local - staging - prod gather_facts: yes roles: - { role: "common" } - { role: "front-web", tags: ["website"] } - { role: "app-web", tags: ["website"] } - { role: "api-db", tags: ["website", "database"] } - { role: "api-web", tags: ["website", "api"] }
--- - hosts: - local - staging - prod gather_facts: yes roles: - { role: "common" } - { role: "front-web", tags: ["website"] } - { role: "app-web", tags: ["website"] } - { role: "api-db", tags: ["website", "database"] } - { role: "api-web", tags: ["website", "api"] } - { role: "b...
Enable the "blockchain" Ansible role.
Enable the "blockchain" Ansible role.
YAML
mit
promethe42/cocorico,promethe42/cocorico,promethe42/cocorico,promethe42/cocorico,promethe42/cocorico
yaml
## Code Before: --- - hosts: - local - staging - prod gather_facts: yes roles: - { role: "common" } - { role: "front-web", tags: ["website"] } - { role: "app-web", tags: ["website"] } - { role: "api-db", tags: ["website", "database"] } - { role: "api-web", tags: ["website", "api"] } ...
6506a55e833ff894abf8a488d16854168dc0a790
spec/support/authentication_helpers.rb
spec/support/authentication_helpers.rb
module AuthenticationHelpers def sign_in_as!(user) visit '/login' fill_in 'Email', with: user.email fill_in 'Password', with: 'secret' click_button 'Login' end end RSpec.configure do |config| config.include AuthenticationHelpers, type: :feature config.include Devise::TestHelpers, type: :contr...
module AuthenticationHelpers def sign_in_as!(user) visit '/login' fill_in 'Email', with: user.email fill_in 'Password', with: 'secret' click_button 'Login' end end RSpec.configure do |config| config.include AuthenticationHelpers, type: :feature config.include Devise::Test::ControllerHelpers, ty...
Correct Devise test helpers deprecation warning
Correct Devise test helpers deprecation warning Example deprecation warning: DEPRECATION WARNING: [Devise] including `Devise::TestHelpers` is deprecated and will be removed from Devise. For controller tests, please include `Devise::Test::ControllerHelpers` instead. (called from <top (required)> at /home/andrew/...
Ruby
bsd-3-clause
solidusio/solidus_auth_devise,mayankdedhia/solidus_auth_devise,mayankdedhia/solidus_auth_devise,AngelChaos26/mandrill,mayankdedhia/solidus_auth_devise,solidusio/solidus_auth_devise,AngelChaos26/mandrill,solidusio/solidus_auth_devise,AngelChaos26/mandrill
ruby
## Code Before: module AuthenticationHelpers def sign_in_as!(user) visit '/login' fill_in 'Email', with: user.email fill_in 'Password', with: 'secret' click_button 'Login' end end RSpec.configure do |config| config.include AuthenticationHelpers, type: :feature config.include Devise::TestHelpers...
d2f506845e451dbb61a3e0133cb8bed68f5ce22d
src/vs/languages/html/common/html.contribution.ts
src/vs/languages/html/common/html.contribution.ts
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
Add text/ng-template to the HTML mime types to enable HTML highlighting/help in Angular templates with in <script> blocks
Add text/ng-template to the HTML mime types to enable HTML highlighting/help in Angular templates with in <script> blocks
TypeScript
mit
matthewshirley/vscode,f111fei/vscode,joaomoreno/vscode,edumunoz/vscode,the-ress/vscode,rishii7/vscode,mjbvz/vscode,KattMingMing/vscode,f111fei/vscode,0xmohit/vscode,the-ress/vscode,Zalastax/vscode,sifue/vscode,cleidigh/vscode,ups216/vscode,eamodio/vscode,Microsoft/vscode,veeramarni/vscode,microlv/vscode,cleidigh/vscode...
typescript
## Code Before: /*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *-----------------------------------------------...
98c6903e9c757af91e1c59a51d409631b2e52a7b
plugins/hosts/windows/cap/ssh.rb
plugins/hosts/windows/cap/ssh.rb
module VagrantPlugins module HostWindows module Cap class SSH # Set the ownership and permissions for SSH # private key # # @param [Vagrant::Environment] env # @param [Pathname] key_path def self.set_ssh_key_permissions(env, key_path) script_path = H...
module VagrantPlugins module HostWindows module Cap class SSH # Set the ownership and permissions for SSH # private key # # @param [Vagrant::Environment] env # @param [Pathname] key_path def self.set_ssh_key_permissions(env, key_path) script_path = H...
Fix path variable name. Return process result.
Fix path variable name. Return process result.
Ruby
mit
sni/vagrant,sni/vagrant,gitebra/vagrant,bryson/vagrant,marxarelli/vagrant,bryson/vagrant,mitchellh/vagrant,sni/vagrant,marxarelli/vagrant,marxarelli/vagrant,gitebra/vagrant,chrisroberts/vagrant,mitchellh/vagrant,mitchellh/vagrant,chrisroberts/vagrant,marxarelli/vagrant,bryson/vagrant,sni/vagrant,gitebra/vagrant,chrisro...
ruby
## Code Before: module VagrantPlugins module HostWindows module Cap class SSH # Set the ownership and permissions for SSH # private key # # @param [Vagrant::Environment] env # @param [Pathname] key_path def self.set_ssh_key_permissions(env, key_path) ...
4c5b6217015610fe7cf3064b59e1b8de1fa41575
PyFloraBook/input_output/data_coordinator.py
PyFloraBook/input_output/data_coordinator.py
from pathlib import Path import json import inspect import sys import PyFloraBook OBSERVATIONS_FOLDER = "observation_data" RAW_DATA_FOLDER = "raw" def locate_project_folder() -> Path: """Locate top-level project folder Returns: Path of the project folder """ source_path = Path(inspect.gets...
from pathlib import Path import json import inspect import sys import PyFloraBook # Globals OBSERVATIONS_FOLDER = "observation_data" RAW_OBSERVATIONS_FOLDER = "raw_observations" RAW_COUNTS_FOLDER = "raw_counts" def locate_project_folder() -> Path: """Locate top-level project folder Returns: Path o...
Support separate folders for raw observations and raw counts
Support separate folders for raw observations and raw counts
Python
mit
jnfrye/local_plants_book
python
## Code Before: from pathlib import Path import json import inspect import sys import PyFloraBook OBSERVATIONS_FOLDER = "observation_data" RAW_DATA_FOLDER = "raw" def locate_project_folder() -> Path: """Locate top-level project folder Returns: Path of the project folder """ source_path = P...
7d3586bb5fdaf5e0313b2b2c306fbac847e7847a
docs/source/user_guide/index.rst
docs/source/user_guide/index.rst
========== User Guide ========== .. toctree:: :maxdepth: 2 :glob: airwaveapiclient aplist apdetail apgraph sample_code
========== User Guide ========== .. toctree:: :maxdepth: 2 :glob: airwaveapiclient aplist apdetail apgraph report sample_code
Add report doc at user guide
Add report doc at user guide
reStructuredText
mit
mtoshi/airwaveapiclient,mtoshi/airwaveapiclient
restructuredtext
## Code Before: ========== User Guide ========== .. toctree:: :maxdepth: 2 :glob: airwaveapiclient aplist apdetail apgraph sample_code ## Instruction: Add report doc at user guide ## Code After: ========== User Guide ========== .. toctree:: :maxdepth: 2 :glob: airwaveapiclient apl...
8d53a7478a139770d9ffb241ec2985123c403845
bookmarks/bookmarks/models.py
bookmarks/bookmarks/models.py
from __future__ import unicode_literals from django.db import models from django.utils import timezone from django.dispatch import receiver from django.conf import settings from taggit.managers import TaggableManager import requests class Bookmark(models.Model): title = models.CharField(max_length=200, blank=T...
from __future__ import unicode_literals from django.db import models from django.utils import timezone from django.dispatch import receiver from django.conf import settings from taggit.managers import TaggableManager import requests class Bookmark(models.Model): title = models.CharField(max_length=200, blank=T...
Remove attachment and use slack link unfurling
Remove attachment and use slack link unfurling
Python
mit
tom-henderson/bookmarks,tom-henderson/bookmarks,tom-henderson/bookmarks
python
## Code Before: from __future__ import unicode_literals from django.db import models from django.utils import timezone from django.dispatch import receiver from django.conf import settings from taggit.managers import TaggableManager import requests class Bookmark(models.Model): title = models.CharField(max_len...
997bc3cbf5efb8b8a6b3f4d75deae2c22072e640
tests/integration/components/ember-x-editable-test.js
tests/integration/components/ember-x-editable-test.js
import { moduleForComponent, test } from 'ember-qunit'; import { find, focus, triggerEvent } from 'ember-native-dom-helpers'; import hbs from 'htmlbars-inline-precompile'; moduleForComponent('ember-x-editable', 'Integration | Component | ember x editable', { integration: true }); test('mouseEnter/mouseLeave', async...
import { moduleForComponent, test } from 'ember-qunit'; import { click, fillIn, find, focus, triggerEvent } from 'ember-native-dom-helpers'; import hbs from 'htmlbars-inline-precompile'; moduleForComponent('ember-x-editable', 'Integration | Component | ember x editable', { integration: true }); test('mouseEnter/mou...
Add test for no validator case
Add test for no validator case
JavaScript
mit
rwwagner90/ember-x-editable-addon,shipshapecode/ember-x-editable,rwwagner90/ember-x-editable-addon,shipshapecode/ember-x-editable
javascript
## Code Before: import { moduleForComponent, test } from 'ember-qunit'; import { find, focus, triggerEvent } from 'ember-native-dom-helpers'; import hbs from 'htmlbars-inline-precompile'; moduleForComponent('ember-x-editable', 'Integration | Component | ember x editable', { integration: true }); test('mouseEnter/mo...
9a51c4bede4afe947612e87e53a708694a905835
squidb-processor/src/com/yahoo/squidb/processor/data/ErrorInfo.java
squidb-processor/src/com/yahoo/squidb/processor/data/ErrorInfo.java
/* * Copyright 2015, Yahoo Inc. * Copyrights licensed under the Apache 2.0 License. * See the accompanying LICENSE file for terms. */ package com.yahoo.squidb.processor.data; import com.yahoo.aptutils.model.DeclaredTypeName; /** * Tuple class to hold logged error info, to be written by the * {@link com.yahoo.sq...
/* * Copyright 2015, Yahoo Inc. * Copyrights licensed under the Apache 2.0 License. * See the accompanying LICENSE file for terms. */ package com.yahoo.squidb.processor.data; import com.yahoo.aptutils.model.DeclaredTypeName; /** * Tuple class to hold logged error info, to be written by the * {@link com.yahoo.sq...
Move comments to public javadocs
Move comments to public javadocs
Java
apache-2.0
yahoo/squidb,yahoo/squidb,yahoo/squidb,yahoo/squidb,yahoo/squidb
java
## Code Before: /* * Copyright 2015, Yahoo Inc. * Copyrights licensed under the Apache 2.0 License. * See the accompanying LICENSE file for terms. */ package com.yahoo.squidb.processor.data; import com.yahoo.aptutils.model.DeclaredTypeName; /** * Tuple class to hold logged error info, to be written by the * {@l...
8bbf5d0425ec5857f166a63b270dcd4c54fec5b4
app/views/welcome/index.html.erb
app/views/welcome/index.html.erb
<div class="welcome-container"> <div class="row"> <div class="col s12"><h2>Welcome to Global Host</h2></div> </div> <div class="row"> <div class="col s12"><h4>Friends in far places</h4></div> </div> <div class="row"> <div class="col s12"> <%= render '/sessions/form' %> ...
<div class="welcome-container"> <div class="row"> <div class="col s12"><h2>Welcome to Global Host</h2></div> </div> <div class="row"> <div class="col s12"><h4>Find friends in far places</h4></div> </div> <div class="row"> <div class="col s12"> <%= render '/sessions/form' ...
Make register button less proiment
Make register button less proiment
HTML+ERB
mit
Aslonski/Global-Host,Aslonski/Global-Host,Aslonski/Global-Host
html+erb
## Code Before: <div class="welcome-container"> <div class="row"> <div class="col s12"><h2>Welcome to Global Host</h2></div> </div> <div class="row"> <div class="col s12"><h4>Friends in far places</h4></div> </div> <div class="row"> <div class="col s12"> <%= render '/sess...
44ae15fe9b28cf9f8d5d3a67b5fdf72f53325dce
gulp-tasks/copy.js
gulp-tasks/copy.js
/** * External dependencies */ import gulp from 'gulp'; import del from 'del'; gulp.task( 'copy', () => { del.sync( [ './release/**/*' ] ); gulp.src( [ 'readme.txt', 'google-site-kit.php', 'dist/*.js', 'dist/assets/**/*', 'bin/**/*', 'includes/**/*', 'third-party/**/*', '!third-party/**/...
/** * External dependencies */ import gulp from 'gulp'; import del from 'del'; gulp.task( 'copy', () => { del.sync( [ './release/**/*' ] ); gulp.src( [ 'readme.txt', 'google-site-kit.php', 'uninstall.php', 'dist/*.js', 'dist/assets/**/*', 'bin/**/*', 'includes/**/*', 'third-party/**/*', ...
Update packaging script to include uninstall.php file.
Update packaging script to include uninstall.php file.
JavaScript
apache-2.0
google/site-kit-wp,google/site-kit-wp,google/site-kit-wp,google/site-kit-wp
javascript
## Code Before: /** * External dependencies */ import gulp from 'gulp'; import del from 'del'; gulp.task( 'copy', () => { del.sync( [ './release/**/*' ] ); gulp.src( [ 'readme.txt', 'google-site-kit.php', 'dist/*.js', 'dist/assets/**/*', 'bin/**/*', 'includes/**/*', 'third-party/**/*', '...
746551086a57d0c1786e5ae09a8f13f2d411a142
README.md
README.md
<pre style="line-height:1; background-color:#FFFFFF; border-radius: 0px; border:none; padding:0"> <code style="font-family:Monospace; background-color:transparent"> _ _ | | | | __ _____ ___ | |_ ___ ___ | |___ \ \ /\ / / _ \ / _ \| ...
<pre style="line-height:1; background-color:#FFFFFF; border-radius: 0px; border:none; padding:0"> <code style="font-family:Monospace; background-color:transparent"> _ _ | | | | __ _____ ___ | |_ ___ ___ | |___ \ \ /\ / / _ \ / _ \| ...
Update Readme with travis badge
Update Readme with travis badge
Markdown
mit
wooga/homebrew-tools
markdown
## Code Before: <pre style="line-height:1; background-color:#FFFFFF; border-radius: 0px; border:none; padding:0"> <code style="font-family:Monospace; background-color:transparent"> _ _ | | | | __ _____ ___ | |_ ___ ___ | |___ \ \ /\...
ea37af3a71e5f218b6b38d1dba23482e1389f002
gnu/usr.bin/binutils/gasp/Makefile
gnu/usr.bin/binutils/gasp/Makefile
.include "../Makefile.inc0" .PATH: ${SRCDIR}/gas SUBDIR= doc PROG= gasp SRCS+= gasp.c macro.c sb.c hash.c CFLAGS+= -I${SRCDIR} CFLAGS+= -I${SRCDIR}/gas CFLAGS+= -I${SRCDIR}/gas/config CFLAGS+= -I${.CURDIR}/../as/${TARGET_ARCH}-freebsd CFLAGS+= -DBFD_ASSEMBLER LDADD+= -L${RELTOP}/libiberty -liberty DPADD+= ${RE...
.include "../Makefile.inc0" .PATH: ${SRCDIR}/gas SUBDIR= doc PROG= gasp SRCS+= gasp.c macro.c sb.c hash.c CFLAGS+= -I${SRCDIR} CFLAGS+= -I${SRCDIR}/gas CFLAGS+= -I${SRCDIR}/gas/config CFLAGS+= -I${.CURDIR}/../as/${TARGET_ARCH}-freebsd CFLAGS+= -DBFD_ASSEMBLER LDADD+= -L${RELTOP}/libiberty -liberty DPADD+= ${RE...
Add a manpage for gasp.
Add a manpage for gasp.
unknown
bsd-3-clause
jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase
unknown
## Code Before: .include "../Makefile.inc0" .PATH: ${SRCDIR}/gas SUBDIR= doc PROG= gasp SRCS+= gasp.c macro.c sb.c hash.c CFLAGS+= -I${SRCDIR} CFLAGS+= -I${SRCDIR}/gas CFLAGS+= -I${SRCDIR}/gas/config CFLAGS+= -I${.CURDIR}/../as/${TARGET_ARCH}-freebsd CFLAGS+= -DBFD_ASSEMBLER LDADD+= -L${RELTOP}/libiberty -liber...
092bd3d506ec281a24adcecef6ca498443df5f59
kboard/board/urls.py
kboard/board/urls.py
from django.conf.urls import url from . import views app_name = 'board' urlpatterns = [ url(r'^$', views.board_list, name='board_list'), url(r'^(?P<board_slug>[-a-z]+)/$', views.post_list, name='post_list'), url(r'^(?P<board_slug>[-a-z]+)/new/$', views.new_post, name='new_post'), url(r'^(?P<post_id>\...
from django.conf.urls import url from . import views app_name = 'board' urlpatterns = [ url(r'^$', views.board_list, name='board_list'), url(r'^(?P<board_slug>[-a-z]+)/$', views.post_list, name='post_list'), url(r'^(?P<board_slug>[-a-z]+)/new/$', views.new_post, name='new_post'), url(r'^(?P<post_id>\...
Add 'comment_id' parameter in 'delete_comment' url
Add 'comment_id' parameter in 'delete_comment' url
Python
mit
hyesun03/k-board,guswnsxodlf/k-board,hyesun03/k-board,kboard/kboard,guswnsxodlf/k-board,kboard/kboard,guswnsxodlf/k-board,cjh5414/kboard,darjeeling/k-board,hyesun03/k-board,kboard/kboard,cjh5414/kboard,cjh5414/kboard
python
## Code Before: from django.conf.urls import url from . import views app_name = 'board' urlpatterns = [ url(r'^$', views.board_list, name='board_list'), url(r'^(?P<board_slug>[-a-z]+)/$', views.post_list, name='post_list'), url(r'^(?P<board_slug>[-a-z]+)/new/$', views.new_post, name='new_post'), url(...
6fa2ccc5eee5e7d3fa76a989a029f4a8ba6ee0a7
app.js
app.js
var express = require('express'), app = express(), swig = require('swig'); var bodyParser = require('body-parser'); var https = require('https'), config = require('./config'); app.engine('html', swig.renderFile); app.set('view engine', 'html'); app.set('views', __dirname + '/pages'); app.set('view cache', false); sw...
var express = require('express'), app = express(), swig = require('swig'); var bodyParser = require('body-parser'); var https = require('https'), config = require('./config'); app.engine('html', swig.renderFile); app.set('view engine', 'html'); app.set('views', __dirname + '/pages'); app.set('view cache', false); sw...
Convert debug info to string
Convert debug info to string
JavaScript
mit
iveysaur/PiCi
javascript
## Code Before: var express = require('express'), app = express(), swig = require('swig'); var bodyParser = require('body-parser'); var https = require('https'), config = require('./config'); app.engine('html', swig.renderFile); app.set('view engine', 'html'); app.set('views', __dirname + '/pages'); app.set('view ca...
0861b92137da5ba9b53a9e38892012d5bb7b2b4f
app/apps/themes/hub_theme/views/layouts/article.html.erb
app/apps/themes/hub_theme/views/layouts/article.html.erb
<!DOCTYPE html> <html lang="en"> <head> <!-- META SECTION --> <title>Trenton Business Hub</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> <...
<!DOCTYPE html> <html lang="en"> <head> <!-- META SECTION --> <title>Trenton Business Hub</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> <...
Add Google fonts api to article layout
Add Google fonts api to article layout
HTML+ERB
mit
jdollete/trenton-business-portal,jdollete/trenton-business-portal,jdollete/trenton-business-portal
html+erb
## Code Before: <!DOCTYPE html> <html lang="en"> <head> <!-- META SECTION --> <title>Trenton Business Hub</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta name="viewport" content="width=device-width, initial-s...
2702f0df5398ef263da65a2add36cb0168edbfad
README.md
README.md
Registration and Change submission formats can be found here: https://github.com/praekeltfoundation/ndoh-hub/blob/develop/README.md ## Generating translations You can run a command like this from the `config/` directory to update the JSON files when the PO catalogs change: ``` find . -name "go-app-ussd_popi_faq.*po...
Registration and Change submission formats can be found here: https://github.com/praekeltfoundation/ndoh-hub/blob/develop/README.md ## Generating translations You can run a command like this from the `config/` directory to update the JSON files when the PO catalogs change: ``` find . -name "go-app-ussd_popi_faq.*po...
Update readme with how to use docker-compose setup
Update readme with how to use docker-compose setup
Markdown
bsd-3-clause
praekeltfoundation/ndoh-jsbox,praekeltfoundation/ndoh-jsbox
markdown
## Code Before: Registration and Change submission formats can be found here: https://github.com/praekeltfoundation/ndoh-hub/blob/develop/README.md ## Generating translations You can run a command like this from the `config/` directory to update the JSON files when the PO catalogs change: ``` find . -name "go-app-u...
413d9a9d20e4e1c10ba9e47ab06fd2d2ffa9aed4
lib/minitest/fivemat_plugin.rb
lib/minitest/fivemat_plugin.rb
require 'fivemat/elapsed_time' module Minitest class FivematReporter < Reporter include ElapsedTime def record(result) if @class != result.class if @class print_elapsed_time(io, @class_start_time) io.print "\n" end @class = result.class @class_start_...
require 'fivemat/elapsed_time' module Minitest class FivematReporter < Reporter include ElapsedTime def record(result) if defined?(@class) && @class != result.class if @class print_elapsed_time(io, @class_start_time) io.print "\n" end @class = result.class ...
Fix instance variable @class not initialized warning
Fix instance variable @class not initialized warning
Ruby
mit
tpope/fivemat
ruby
## Code Before: require 'fivemat/elapsed_time' module Minitest class FivematReporter < Reporter include ElapsedTime def record(result) if @class != result.class if @class print_elapsed_time(io, @class_start_time) io.print "\n" end @class = result.class ...
6abbccd2fef1ae43311bc6b22515b8984c720e34
css/custom.css
css/custom.css
text-decoration: underline; } .container li a { text-decoration: underline; } .intro-header { -webkit-transition: background-image 2s ease-in-out; -moz-transition: background-image 2s ease-in-out; -ms-transition: background-image 2s ease-in-out; -o-transition: background-image 2s ease-in-out; transition: b...
text-decoration: underline; } .container li a { text-decoration: underline; } .intro-header { -webkit-transition: background-image 2s ease-in-out; -moz-transition: background-image 2s ease-in-out; -ms-transition: background-image 2s ease-in-out; -o-transition: background-image 2s ease-in-out; transition: b...
Fix menu on screens under 768px wide
Fix menu on screens under 768px wide
CSS
apache-2.0
jannecederberg/jannecederberg.github.io,jannecederberg/jannecederberg.github.io,jannecederberg/jannecederberg.github.io,jannecederberg/jannecederberg.github.io,jannecederberg/jannecederberg.github.io
css
## Code Before: text-decoration: underline; } .container li a { text-decoration: underline; } .intro-header { -webkit-transition: background-image 2s ease-in-out; -moz-transition: background-image 2s ease-in-out; -ms-transition: background-image 2s ease-in-out; -o-transition: background-image 2s ease-in-out;...
b7e78657497c9d3f9b837cdfa3f6cfac9908f53f
Hammer/Reduce.swift
Hammer/Reduce.swift
// Copyright (c) 2014 Rob Rix. All rights reserved. /// Traverse a recursive language. func reduce<Into, Alphabet>(language: Language<Alphabet>, initial: Into, combine: (Into, Language<Alphabet>) -> Into) -> Into { var memo = Dictionary<Language<Alphabet>, Into>() return _reduce(memo, language, initial, combine) } ...
// Copyright (c) 2014 Rob Rix. All rights reserved. /// Traverse a recursive language. extension Language : Testable { func reduce<Into>(initial: Into, combine: (Into, Language<Alphabet>) -> Into) -> Into { var memo = Dictionary<Language<Alphabet>, Into>() return _reduce(memo, self, initial, combine) } } func ...
Move reduce into the Language type.
Move reduce into the Language type.
Swift
mit
robrix/Hammer.swift,robrix/Hammer.swift
swift
## Code Before: // Copyright (c) 2014 Rob Rix. All rights reserved. /// Traverse a recursive language. func reduce<Into, Alphabet>(language: Language<Alphabet>, initial: Into, combine: (Into, Language<Alphabet>) -> Into) -> Into { var memo = Dictionary<Language<Alphabet>, Into>() return _reduce(memo, language, init...
e94ff44b23f74fe86edb0bf04d5b2d7b65de965a
README.rdoc
README.rdoc
= SuperSettings This project rocks and uses MIT-LICENSE.
= SuperSettings {<img src="https://travis-ci.org/sidapa/super_settings.svg?branch=master" alt="Build Status" />}[https://travis-ci.org/sidapa/super_settings] This project rocks and uses MIT-LICENSE.
Add build status badge to readme
Add build status badge to readme
RDoc
mit
sidapa/super_settings
rdoc
## Code Before: = SuperSettings This project rocks and uses MIT-LICENSE. ## Instruction: Add build status badge to readme ## Code After: = SuperSettings {<img src="https://travis-ci.org/sidapa/super_settings.svg?branch=master" alt="Build Status" />}[https://travis-ci.org/sidapa/super_settings] This project rocks and...
a8828ce67e0a3547d76492ee51757c3c04d78336
app/lib/userstatus.js
app/lib/userstatus.js
// SERVER: Listen for events if(Meteor.isServer) { // listen for user logout events, call the clearAssignments server method UserStatus.events.on("connectionLogout", function(fields){ //console.log("Logout Event"); //console.log(fields.userId); Meteor.call('clearAssignments', Meteor.users.findOne({_id:...
// SERVER: Listen for events if(Meteor.isServer) { // listen for user logout events, call the clearAssignments server method UserStatus.events.on("connectionLogout", function(fields){ //console.log("Logout Event"); //console.log(fields.userId); Meteor.call('clearAssignments', Meteor.users.findOne({_id:...
Add comment for user idle
Add comment for user idle
JavaScript
mit
wtwalsh/nexq,wtwalsh/nexq
javascript
## Code Before: // SERVER: Listen for events if(Meteor.isServer) { // listen for user logout events, call the clearAssignments server method UserStatus.events.on("connectionLogout", function(fields){ //console.log("Logout Event"); //console.log(fields.userId); Meteor.call('clearAssignments', Meteor.use...
f16f9e8c7c46d2b8db129d31de1d69a3c306dec6
Http/routes.php
Http/routes.php
<?php Route::group(['prefix' => Config::get('core::core.admin-prefix'), 'namespace' => 'Modules\Workshop\Http\Controllers'], function () { Route::get('modules', ['as' => 'dashboard.modules.index', 'uses' => 'ModulesController@index']); Route::post('modules', ['as' => 'dashboard.modules.store', 'use...
<?php Route::group(['prefix' => LaravelLocalization::setLocale(), 'before' => 'LaravelLocalizationRedirectFilter'], function() { Route::group(['prefix' => Config::get('core::core.admin-prefix'), 'namespace' => 'Modules\Workshop\Http\Controllers'], function () { Route::get('modul...
Add i18n route and route filter
Add i18n route and route filter
PHP
mit
oimken/Workshop,oimken/Workshop,AsgardCms/Workshop,AsgardCms/Workshop,bitsoflove/Workshop,Erocanti/Workshop,ruscon/Workshop
php
## Code Before: <?php Route::group(['prefix' => Config::get('core::core.admin-prefix'), 'namespace' => 'Modules\Workshop\Http\Controllers'], function () { Route::get('modules', ['as' => 'dashboard.modules.index', 'uses' => 'ModulesController@index']); Route::post('modules', ['as' => 'dashboard.modu...
a2cfed4a0dd1fdac6e319cb487cdfd77719baff1
app/models/uploaded_file.rb
app/models/uploaded_file.rb
require "flex_deployment_client/middleware/uploaded_file_middleware" require "flex_deployment_client/requestor/uploaded_file_requestor" module FlexDeploymentClient class UploadedFile < ModelBase def file=(value) if value=~/^file:\/\// filename = value.match(/^file:\/\/(.*)$/)[1] mime_type =...
require "flex_deployment_client/middleware/uploaded_file_middleware" require "flex_deployment_client/requestor/uploaded_file_requestor" module FlexDeploymentClient class UploadedFile < ModelBase def file=(value) if value=~/^file:\/\// filename = value.match(/^file:\/\/(.*)$/)[1] mime_type =...
Update upload request Content-Type header from multipart/form-data to application/vnd.api+json
Update upload request Content-Type header from multipart/form-data to application/vnd.api+json
Ruby
mit
flex-commerce/flex_deployment_client,flex-commerce/flex_deployment_client
ruby
## Code Before: require "flex_deployment_client/middleware/uploaded_file_middleware" require "flex_deployment_client/requestor/uploaded_file_requestor" module FlexDeploymentClient class UploadedFile < ModelBase def file=(value) if value=~/^file:\/\// filename = value.match(/^file:\/\/(.*)$/)[1] ...
4eedd9650715409c434f72a4edf07f30f241c0b1
iOS/Article/OpenInSafariActivity.swift
iOS/Article/OpenInSafariActivity.swift
// // OpenInSafariActivity.swift // NetNewsWire-iOS // // Created by Maurice Parker on 1/9/20. // Copyright © 2020 Ranchero Software. All rights reserved. // import UIKit class OpenInSafariActivity: UIActivity { private var activityItems: [Any]? override var activityTitle: String? { return NSLocalizedStrin...
// // OpenInSafariActivity.swift // NetNewsWire-iOS // // Created by Maurice Parker on 1/9/20. // Copyright © 2020 Ranchero Software. All rights reserved. // import UIKit class OpenInSafariActivity: UIActivity { private var activityItems: [Any]? override var activityTitle: String? { return NSLocalizedStrin...
Fix regression that prevented Safari from opening from Activity dialog.
Fix regression that prevented Safari from opening from Activity dialog.
Swift
mit
brentsimmons/Evergreen,brentsimmons/Evergreen,brentsimmons/Evergreen,brentsimmons/Evergreen
swift
## Code Before: // // OpenInSafariActivity.swift // NetNewsWire-iOS // // Created by Maurice Parker on 1/9/20. // Copyright © 2020 Ranchero Software. All rights reserved. // import UIKit class OpenInSafariActivity: UIActivity { private var activityItems: [Any]? override var activityTitle: String? { return ...
42e556a64dc15254fdf22528938516f1dbe12043
README.md
README.md
Easily tap into a pipeline. ## Uses Some filters like `gulp-coffee` process all files. What if you want to process all JS and Coffee files in a single pipeline. Use tap to filter out '.coffee' files and process them through coffee filter and let JavaScript files passthrough. gulp.src("src/**/*.{coffee,js}") ...
Easily tap into a pipeline. ## Uses Some filters like `gulp-coffee` process all files. What if you want to process all JS and Coffee files in a single pipeline. Use `tap` to filter out `.coffee` files and process them through the `coffee` filter and let JavaScript files pass through. ```js gulp.src("src/**/*.{coffe...
Fix typos, grammar, and formatting in readme
Fix typos, grammar, and formatting in readme Formatting changes only include converting two code blocks from indented to fenced with explicit JS syntax highlighting.
Markdown
mit
geejs/gulp-tap
markdown
## Code Before: Easily tap into a pipeline. ## Uses Some filters like `gulp-coffee` process all files. What if you want to process all JS and Coffee files in a single pipeline. Use tap to filter out '.coffee' files and process them through coffee filter and let JavaScript files passthrough. gulp.src("src/**/*.{...
21882ab7a21eb17f0d23d2d2459fdb3c6e787322
libpkg/pkg_util.h
libpkg/pkg_util.h
struct array { size_t cap; size_t len; void **data; }; #define STARTS_WITH(string, needle) (strncasecmp(string, needle, strlen(needle)) == 0) #define ERROR_SQLITE(db) \ EMIT_PKG_ERROR("sqlite: %s", sqlite3_errmsg(db)) int sbuf_set(struct sbuf **, const char *); const char * sbuf_get(struct sbuf *); void sbuf_re...
EMIT_PKG_ERROR("sqlite: %s", sqlite3_errmsg(db)) int sbuf_set(struct sbuf **, const char *); const char * sbuf_get(struct sbuf *); void sbuf_reset(struct sbuf *); void sbuf_free(struct sbuf *); int mkdirs(const char *path); int file_to_buffer(const char *, char **, off_t *); int format_exec_cmd(char **, const char *...
Remove last occurences of the dead struct array
Remove last occurences of the dead struct array
C
bsd-2-clause
en90/pkg,khorben/pkg,en90/pkg,khorben/pkg,Open343/pkg,skoef/pkg,Open343/pkg,skoef/pkg,junovitch/pkg,junovitch/pkg,khorben/pkg
c
## Code Before: struct array { size_t cap; size_t len; void **data; }; #define STARTS_WITH(string, needle) (strncasecmp(string, needle, strlen(needle)) == 0) #define ERROR_SQLITE(db) \ EMIT_PKG_ERROR("sqlite: %s", sqlite3_errmsg(db)) int sbuf_set(struct sbuf **, const char *); const char * sbuf_get(struct sbuf ...
b8d744237aebf359ad5c26b51c5b10bbb35d51e0
rat-excludes.txt
rat-excludes.txt
rat-excludes.txt .* .*/** CODE_OF_CONDUCT.md CONTRIBUTING.md eclipse.md PULL_REQUEST_TEMPLATE.md README.md **/*.jmx bin/*.csv bin/*.xml bin/*.jtl bin/examples/** bin/report-output/** bin/report-template/** bin/testfiles/** build/** build-local.properties docs/** extras/*.txt extras/*.json **/images/** lib/aareadme.txt ...
rat-excludes.txt .* .*/** CODE_OF_CONDUCT.md CONTRIBUTING.md eclipse.md PULL_REQUEST_TEMPLATE.md README.md **/*.jmx bin/*.csv bin/*.xml bin/*.jtl bin/examples/** bin/report-output/** bin/report-template/** bin/testfiles/** build/** build-local.properties dist/*.md5 dist/*.sha512 docs/** extras/*.txt extras/*.json **/im...
Exclude hashsum-files from dist folder for rat
Exclude hashsum-files from dist folder for rat git-svn-id: https://svn.apache.org/repos/asf/jmeter/trunk@1818470 13f79535-47bb-0310-9956-ffa450edef68 Former-commit-id: be6f0f7e75ea1b0a73e863bbfca1f62561b1aad9
Text
apache-2.0
benbenw/jmeter,etnetera/jmeter,ham1/jmeter,apache/jmeter,benbenw/jmeter,ham1/jmeter,etnetera/jmeter,etnetera/jmeter,etnetera/jmeter,ham1/jmeter,benbenw/jmeter,apache/jmeter,ham1/jmeter,etnetera/jmeter,apache/jmeter,ham1/jmeter,apache/jmeter,apache/jmeter,benbenw/jmeter
text
## Code Before: rat-excludes.txt .* .*/** CODE_OF_CONDUCT.md CONTRIBUTING.md eclipse.md PULL_REQUEST_TEMPLATE.md README.md **/*.jmx bin/*.csv bin/*.xml bin/*.jtl bin/examples/** bin/report-output/** bin/report-template/** bin/testfiles/** build/** build-local.properties docs/** extras/*.txt extras/*.json **/images/** l...
eb44002a5429834ab9a2fb51c14a3847362cbd4c
cmd/edgectl/notify.go
cmd/edgectl/notify.go
package main import ( "fmt" "runtime" "github.com/datawire/ambassador/pkg/supervisor" ) var notifyRAI *RunAsInfo // Notify displays a desktop banner notification to the user func Notify(p *supervisor.Process, message string) { if notifyRAI == nil { var err error notifyRAI, err = GuessRunAsInfo(p) if err !...
package main import ( "fmt" "runtime" "github.com/datawire/ambassador/pkg/supervisor" ) var ( notifyRAI *RunAsInfo notifyEnabled = false ) // Notify displays a desktop banner notification to the user func Notify(p *supervisor.Process, message string) { p.Logf("---------------------------------------------...
Make it possible to disable notifications; disable them
Make it possible to disable notifications; disable them
Go
apache-2.0
datawire/ambassador,datawire/ambassador,datawire/ambassador,datawire/ambassador,datawire/ambassador
go
## Code Before: package main import ( "fmt" "runtime" "github.com/datawire/ambassador/pkg/supervisor" ) var notifyRAI *RunAsInfo // Notify displays a desktop banner notification to the user func Notify(p *supervisor.Process, message string) { if notifyRAI == nil { var err error notifyRAI, err = GuessRunAsIn...
d83f479e463e7b07e3adb7e11d1441f80df7b5be
spec/spec_helper.rb
spec/spec_helper.rb
require 'simplecov' SimpleCov.start
require 'simplecov' # Start the code coverage inspector here so any tests that are run # which include the spec_helper count towards the code that is covered. SimpleCov.start RSpec.configure do |config| # These two settings work together to allow you to limit a spec run # to individual examples or groups you care ...
Add support for RSpec :focus keyword
Add support for RSpec :focus keyword
Ruby
mit
lessan/toyrobot
ruby
## Code Before: require 'simplecov' SimpleCov.start ## Instruction: Add support for RSpec :focus keyword ## Code After: require 'simplecov' # Start the code coverage inspector here so any tests that are run # which include the spec_helper count towards the code that is covered. SimpleCov.start RSpec.configure do |co...
d50d7ff90300c6c21f7d459e057b886a7281bc25
src/js/examples/arrow-example.js
src/js/examples/arrow-example.js
/* global window */ window.es6Example = window.es6Example || {}; window.es6Example.arrow = {}; window.es6Example.arrow.code = `let square = x => x * x; let add = (a, b) => a + b; let pi = () => 3.1415; console.log(square(5)); console.log(add(3, 4)); console.log(pi());`; window.es6Example.arrow.display = 'Arrow Funct...
/* global window */ window.es6Example = window.es6Example || {}; window.es6Example.arrow = {}; window.es6Example.arrow.code = `const square = x => x * x; const add = (a, b) => a + b; const pi = () => 3.1415; console.log(square(5)); console.log(add(3, 4)); console.log(pi());`; window.es6Example.arrow.display = 'Arrow...
Use const for variables that aren't re-assigned
Use const for variables that aren't re-assigned
JavaScript
mit
esfiddle/esfiddle,esfiddle/esfiddle,esfiddle/esfiddle,joshghent/es6-fiddle-web,joshghent/es6-fiddle-web
javascript
## Code Before: /* global window */ window.es6Example = window.es6Example || {}; window.es6Example.arrow = {}; window.es6Example.arrow.code = `let square = x => x * x; let add = (a, b) => a + b; let pi = () => 3.1415; console.log(square(5)); console.log(add(3, 4)); console.log(pi());`; window.es6Example.arrow.displa...
25cc1ad01c077e23bddb4d34fe655fb3500043a9
ncharts/fixtures/datasets_cabl.json
ncharts/fixtures/datasets_cabl.json
[ { "fields": { "variables": [], "platforms": [ "ISFS" ], "start_time": "2015-02-18T00:00:00+00:00", "end_time": "2015-06-26T00:00:00+00:00", "location": "Boulder Atmospheric Observatory and Erie High School", "name": "geo_tiltcor", "...
[ { "fields": { "variables": [], "platforms": [ "ISFS" ], "start_time": "2015-02-18T00:00:00+00:00", "end_time": "2015-06-26T00:00:00+00:00", "location": "Boulder Atmospheric Observatory and Erie High School", "name": "geo_tiltcor", "...
Change directory for cabl data
Change directory for cabl data
JSON
bsd-2-clause
nguyenduchien1994/django-ncharts,nguyenduchien1994/django-ncharts,nguyenduchien1994/django-ncharts,nguyenduchien1994/django-ncharts,nguyenduchien1994/django-ncharts
json
## Code Before: [ { "fields": { "variables": [], "platforms": [ "ISFS" ], "start_time": "2015-02-18T00:00:00+00:00", "end_time": "2015-06-26T00:00:00+00:00", "location": "Boulder Atmospheric Observatory and Erie High School", "name": "geo_tilt...
0b0beac6257ba03ea06559d206a4078d1b163db2
handlers/main.yml
handlers/main.yml
--- # handlers file for ansible-role-cuda - name: reload systemd unit files systemd: daemon-reload: yes when: ansible_connection != 'chroot' - name: Initialize the GPUs command: /bin/bash /usr/local/bin/cuda_init.sh when: - cuda_init|bool - cuda_init_restart_service|bool - ansible_connection !=...
--- # handlers file for ansible-role-cuda - name: reload systemd unit files shell: systemctl daemon-reload when: ansible_connection != 'chroot' - name: Initialize the GPUs command: /bin/bash /usr/local/bin/cuda_init.sh when: - cuda_init|bool - cuda_init_restart_service|bool - ansible_connection != ...
Revert "use systemd module instead of shell"
Revert "use systemd module instead of shell" This reverts commit 622eea697a18496ab7316787ed020c64b0b95120.
YAML
mit
CSC-IT-Center-for-Science/ansible-role-cuda
yaml
## Code Before: --- # handlers file for ansible-role-cuda - name: reload systemd unit files systemd: daemon-reload: yes when: ansible_connection != 'chroot' - name: Initialize the GPUs command: /bin/bash /usr/local/bin/cuda_init.sh when: - cuda_init|bool - cuda_init_restart_service|bool - ansib...
d6871bd477dc33f65d1d56e2ce2160ce1caa0142
Kwf/Update/20160824ComponentLinkViewCache.php
Kwf/Update/20160824ComponentLinkViewCache.php
<?php class Kwf_Update_20160824ComponentLinkViewCache extends Kwf_Update { protected $_tags = array('kwc'); public function update() { Kwf_Component_Cache::getInstance()->deleteViewCache(array( 'type' => 'componentLink' )); } }
<?php class Kwf_Update_20160824ComponentLinkViewCache extends Kwf_Update { protected $_tags = array('kwc'); public function update() { //required for addition of Kwf_Component_Data::getLinkClass Kwf_Component_Cache::getInstance()->deleteViewCache(array( 'type' => 'componentLink'...
Add comment why this update script is required
Add comment why this update script is required
PHP
bsd-2-clause
koala-framework/koala-framework,koala-framework/koala-framework
php
## Code Before: <?php class Kwf_Update_20160824ComponentLinkViewCache extends Kwf_Update { protected $_tags = array('kwc'); public function update() { Kwf_Component_Cache::getInstance()->deleteViewCache(array( 'type' => 'componentLink' )); } } ## Instruction: Add comment wh...
8f5d490c90329431f0620dae70c830d23769ddb3
Rendering/OpenGL2/Testing/Cxx/CMakeLists.txt
Rendering/OpenGL2/Testing/Cxx/CMakeLists.txt
vtk_add_test_cxx(${vtk-module}CxxTests tests TestRenderWidget.cxx TestVBOPLYMapper.cxx TestVBOPointsLines.cxx ) vtk_test_cxx_executable(${vtk-module}CxxTests tests RENDERING_FACTORY)
vtk_add_test_cxx(${vtk-module}CxxTests tests #TestRenderWidget.cxx # Very experimental, fails, does nothing useful yet. TestVBOPLYMapper.cxx TestVBOPointsLines.cxx ) vtk_test_cxx_executable(${vtk-module}CxxTests tests RENDERING_FACTORY)
Disable test for render widget
Disable test for render widget Not doing anything useful yet, fails. Change-Id: I07e1f382da72bf404432d98be6fc2c83cd94f6f0
Text
bsd-3-clause
gram526/VTK,sumedhasingla/VTK,SimVascular/VTK,demarle/VTK,mspark93/VTK,msmolens/VTK,SimVascular/VTK,hendradarwin/VTK,gram526/VTK,keithroe/vtkoptix,sumedhasingla/VTK,johnkit/vtk-dev,sumedhasingla/VTK,ashray/VTK-EVM,jmerkow/VTK,demarle/VTK,msmolens/VTK,ashray/VTK-EVM,demarle/VTK,keithroe/vtkoptix,msmolens/VTK,SimVascular...
text
## Code Before: vtk_add_test_cxx(${vtk-module}CxxTests tests TestRenderWidget.cxx TestVBOPLYMapper.cxx TestVBOPointsLines.cxx ) vtk_test_cxx_executable(${vtk-module}CxxTests tests RENDERING_FACTORY) ## Instruction: Disable test for render widget Not doing anything useful yet, fails. Change-Id: I07e1f382da72...
a6426554c9c23a92de20ae261f11999f1fce4022
templates/games/installer-form.html
templates/games/installer-form.html
{% extends "base.html" %} {% block title %} {% if new %} Create new installer for {{ game }} {% else %} Edit installer for {{ game }} {% endif %} | Lutris {% endblock %} {% block extra_head %} {{ form.media.css }} {% endblock %} {% block content %} {% if new %} <h1>New installer for {{ game }}</...
{% extends "base.html" %} {% block title %} {% if new %} Create new installer for {{ game }} {% else %} Edit installer for {{ game }} {% endif %} | Lutris {% endblock %} {% block extra_head %} {{ form.media.css }} {% endblock %} {% block content %} {% if new %} <h1>New installer for {{ game }}</...
Add Save draft button to installer form
Add Save draft button to installer form
HTML
agpl-3.0
lutris/website,lutris/website,Turupawn/website,Turupawn/website,lutris/website,Turupawn/website,lutris/website,Turupawn/website
html
## Code Before: {% extends "base.html" %} {% block title %} {% if new %} Create new installer for {{ game }} {% else %} Edit installer for {{ game }} {% endif %} | Lutris {% endblock %} {% block extra_head %} {{ form.media.css }} {% endblock %} {% block content %} {% if new %} <h1>New installer ...
55362407c77b2452437cc45a307698dfcd3448f3
pawn.json
pawn.json
{ "user": "lassir", "repo": "bcrypt-samp", "include_path": "pawn", "resources": [ { "name": "^bcrypt-samp-.+-windows\\.zip$", "platform": "windows", "archive": true, "plugins": ["bcrypt-samp-.+/bcrypt-samp.dll"] }, { "na...
{ "user": "lassir", "repo": "bcrypt-samp", "include_path": "pawn", "resources": [ { "name": "^bcrypt-samp-.+-windows\\.zip$", "platform": "windows", "archive": true, "plugins": ["bcrypt-samp-.+/bcrypt-samp.dll"] }, { "na...
Fix sampctl config name regex
Fix sampctl config name regex
JSON
mit
lassir/bcrypt-samp,lassir/bcrypt-samp
json
## Code Before: { "user": "lassir", "repo": "bcrypt-samp", "include_path": "pawn", "resources": [ { "name": "^bcrypt-samp-.+-windows\\.zip$", "platform": "windows", "archive": true, "plugins": ["bcrypt-samp-.+/bcrypt-samp.dll"] }, {...
742db68490fd7dace0c46375c68a2ec1409f8f65
README.md
README.md
hr.model [![Build Status](https://travis-ci.org/HappyRhino/hr.model.png?branch=master)](https://travis-ci.org/HappyRhino/hr.model) ============================= > Data modelling utility ## Installation ``` $ npm install hr.model ``` ### Documentation #### Creation Create a new model by extending the default `Mode...
hr.model [![Build Status](https://travis-ci.org/HappyRhino/hr.model.png?branch=master)](https://travis-ci.org/HappyRhino/hr.model) ============================= > Data modelling utility ## Installation ``` $ npm install hr.model ``` ### Documentation #### Creation Create a new model by extending the default `Mode...
Add section about events on documentation
Add section about events on documentation
Markdown
apache-2.0
HappyRhino/hr.model
markdown
## Code Before: hr.model [![Build Status](https://travis-ci.org/HappyRhino/hr.model.png?branch=master)](https://travis-ci.org/HappyRhino/hr.model) ============================= > Data modelling utility ## Installation ``` $ npm install hr.model ``` ### Documentation #### Creation Create a new model by extending t...
2958e793ea30d879afe265bb511183e4512fc049
webstr/core/config.py
webstr/core/config.py
# Copyright 2016 Red Hat # # 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, sof...
# Copyright 2016 Red Hat # # 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, sof...
Change the default value for SELENIUM_SERVER
Change the default value for SELENIUM_SERVER with this change it is possible to use webstr on localhost without any action Change-Id: Ife533552d7a746401df01c03af0b2d1caf0702b5 Signed-off-by: ltrilety <b0b91364d2d251c1396ffbe2df56e3ab774d4d4b@redhat.com>
Python
apache-2.0
Webstr-framework/webstr
python
## Code Before: # Copyright 2016 Red Hat # # 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...
c7511d81236f2a28019d8d8e103b03e0d1150e32
django_website/blog/admin.py
django_website/blog/admin.py
from __future__ import absolute_import from django.contrib import admin from .models import Entry admin.site.register(Entry, list_display = ('headline', 'pub_date', 'is_active', 'is_published', 'author'), list_filter = ('is_active',), exclude = ('summary_html', 'body_html'), prepopulated_fields = {"s...
from __future__ import absolute_import from django.contrib import admin from .models import Entry class EntryAdmin(admin.ModelAdmin): list_display = ('headline', 'pub_date', 'is_active', 'is_published', 'author') list_filter = ('is_active',) exclude = ('summary_html', 'body_html') prepopulated_fields...
Use proper ModelAdmin for blog entry
Use proper ModelAdmin for blog entry
Python
bsd-3-clause
khkaminska/djangoproject.com,nanuxbe/django,rmoorman/djangoproject.com,gnarf/djangoproject.com,relekang/djangoproject.com,relekang/djangoproject.com,django/djangoproject.com,alawnchen/djangoproject.com,vxvinh1511/djangoproject.com,nanuxbe/django,nanuxbe/django,django/djangoproject.com,xavierdutreilh/djangoproject.com,g...
python
## Code Before: from __future__ import absolute_import from django.contrib import admin from .models import Entry admin.site.register(Entry, list_display = ('headline', 'pub_date', 'is_active', 'is_published', 'author'), list_filter = ('is_active',), exclude = ('summary_html', 'body_html'), prepopula...
6e75abd68e515591c00934d0d086f05129e6ff79
README.md
README.md
servo ======== [![Build Status](https://secure.travis-ci.org/fgrosse/servo.png?branch=develop)](http://travis-ci.org/fgrosse/servo) [![Coverage Status](https://coveralls.io/repos/fgrosse/servo/badge.svg?branch=develop)](https://coveralls.io/r/fgrosse/servo?branch=master) [![GoDoc](https://godoc.org/github.com/fgrosse/...
servo ======== [![Build Status](https://secure.travis-ci.org/fgrosse/servo.png?branch=develop)](http://travis-ci.org/fgrosse/servo) [![Coverage Status](https://coveralls.io/repos/fgrosse/servo/badge.svg?branch=develop)](https://coveralls.io/r/fgrosse/servo?branch=master) [![GoDoc](https://godoc.org/github.com/fgrosse/...
Add link to servo-example and document first bundles
Add link to servo-example and document first bundles
Markdown
mit
fgrosse/servo,fgrosse/servo
markdown
## Code Before: servo ======== [![Build Status](https://secure.travis-ci.org/fgrosse/servo.png?branch=develop)](http://travis-ci.org/fgrosse/servo) [![Coverage Status](https://coveralls.io/repos/fgrosse/servo/badge.svg?branch=develop)](https://coveralls.io/r/fgrosse/servo?branch=master) [![GoDoc](https://godoc.org/git...
738a7cc75fe112630f29ed08ce68546ac1939728
server/packet/packet_entity_equipment.c
server/packet/packet_entity_equipment.c
void packet_send_entity_equipment(struct client *client, struct client *c, uint16_t slot, struct item *item, uint16_t damage) { bedrock_packet packet; struct item_stack stack; stack.id = item->id; stack.count = 1; stack.metadata = damage; packet_init(&packet, SERVER_ENTITY_EQUIPMENT); packet_pack_int(&packet...
void packet_send_entity_equipment(struct client *client, struct client *c, uint16_t slot, struct item *item, uint16_t damage) { bedrock_packet packet; struct item_stack stack; stack.id = item->id ? item->id : -1; stack.count = 1; stack.metadata = damage; packet_init(&packet, SERVER_ENTITY_EQUIPMENT); packet_...
Fix client crash from changing item to nothing
Fix client crash from changing item to nothing
C
bsd-2-clause
Adam-/bedrock,Adam-/bedrock
c
## Code Before: void packet_send_entity_equipment(struct client *client, struct client *c, uint16_t slot, struct item *item, uint16_t damage) { bedrock_packet packet; struct item_stack stack; stack.id = item->id; stack.count = 1; stack.metadata = damage; packet_init(&packet, SERVER_ENTITY_EQUIPMENT); packet_...
93ea6c34fdc0a152742eec1d2a7d1e025b054244
docs/sync-doc.sh
docs/sync-doc.sh
TARGET=../../nextflow-website/assets if egrep "^release = '.*edge'$" -c conf.py >/dev/null; then MODE=edge else MODE=latest fi LATEST=$TARGET/docs/$MODE/ mkdir -p $LATEST rsync -r _build/html/ $LATEST ( cd ../../nextflow-website; ./jbake)
TARGET=../../nextflow-website/assets if egrep "^release = '.*edge|.*SNAPSHOT'$" -c conf.py >/dev/null; then MODE=edge else MODE=latest fi LATEST=$TARGET/docs/$MODE/ mkdir -p $LATEST rsync -r _build/html/ $LATEST ( cd ../../nextflow-website; ./jbake)
Add snapshot to docs sync
Add snapshot to docs sync
Shell
apache-2.0
nextflow-io/nextflow,robsyme/nextflow,robsyme/nextflow,nextflow-io/nextflow,nextflow-io/nextflow,robsyme/nextflow,nextflow-io/nextflow,robsyme/nextflow,robsyme/nextflow,nextflow-io/nextflow
shell
## Code Before: TARGET=../../nextflow-website/assets if egrep "^release = '.*edge'$" -c conf.py >/dev/null; then MODE=edge else MODE=latest fi LATEST=$TARGET/docs/$MODE/ mkdir -p $LATEST rsync -r _build/html/ $LATEST ( cd ../../nextflow-website; ./jbake) ## Instruction: Add snapshot to docs sync ## Code After: TA...
a0b1d9966a30859d004ee6feb2b9623a05fa5965
task.js
task.js
const fs = require('fs') const add = require('./commands/add') const list = require('./commands/list') const done = require('./commands/done') const command = process.argv[2] const argument = process.argv.slice(3).join(' ') switch(command) { case "add": add(argument) break; case "list": list() b...
const fs = require('fs') const add = require('./commands/add') const list = require('./commands/list') const done = require('./commands/done') const command = process.argv[2] const argument = process.argv.slice(3).join(' ') switch(command) { case "add": add(argument) break; case "list": list() b...
Add default case to switch statement
Add default case to switch statement
JavaScript
mit
breyana/Command-Line-Todo-List
javascript
## Code Before: const fs = require('fs') const add = require('./commands/add') const list = require('./commands/list') const done = require('./commands/done') const command = process.argv[2] const argument = process.argv.slice(3).join(' ') switch(command) { case "add": add(argument) break; case "list": ...
b8bcc946b7f82ff9f99b655ec9d14658b839487c
app/views/projects/_contributors.html.erb
app/views/projects/_contributors.html.erb
<% if @contributors.length > 0 %> <div class="row"> <div class="col-md-12"> <h4 data-ga-tracked-el='top-contributors'>Top Contributors <small><%= link_to 'See all', repository_contributors_path(@repository.to_param) %></small></h4> <%= render @contributors %> </div> </div> <% end %>
<% if @contributors.length > 0 %> <div class="row"> <div class="col-md-12"> <hr> <h3 data-ga-tracked-el='top-contributors'>Contributors</h4> <%= render @contributors %> <%= link_to 'See all contributors', repository_contributors_path(@repository.to_param) %> </div> </div> <% end %>
Add tracked el to contributors
Add tracked el to contributors * add tracked el * move ‘see all’ link to bottom (matching explore and see all links elsewhere)
HTML+ERB
agpl-3.0
librariesio/libraries.io,abrophy/libraries.io,librariesio/libraries.io,librariesio/libraries.io,abrophy/libraries.io,abrophy/libraries.io,librariesio/libraries.io
html+erb
## Code Before: <% if @contributors.length > 0 %> <div class="row"> <div class="col-md-12"> <h4 data-ga-tracked-el='top-contributors'>Top Contributors <small><%= link_to 'See all', repository_contributors_path(@repository.to_param) %></small></h4> <%= render @contributors %> </div> </div> <% end %> ##...
d1f45de88f0c5fe6b27fde59015b156294bda1be
main.go
main.go
package main import ( "flag" "fmt" "os" "os/exec" ) var output string func init() { flag.Usage = func() { fmt.Printf("Usage: %s [-out=out.path] in.path\n\n", os.Args[0]) flag.PrintDefaults() } flag.StringVar(&output, "out", "out.go", "Specify a path to the output file") flag.Parse() } func main() { c...
package main import ( "flag" "fmt" "log" "os" "os/exec" ) var output string func init() { flag.Usage = func() { fmt.Printf("Usage: %s [-out=out.path] in.path\n\n", os.Args[0]) flag.PrintDefaults() } flag.StringVar(&output, "out", "out.go", "Specify a path to the output file") flag.Parse() } func main...
Use `log` package instead of `fmt` for logging and exiting
Use `log` package instead of `fmt` for logging and exiting
Go
mit
konjoot/go-inspect
go
## Code Before: package main import ( "flag" "fmt" "os" "os/exec" ) var output string func init() { flag.Usage = func() { fmt.Printf("Usage: %s [-out=out.path] in.path\n\n", os.Args[0]) flag.PrintDefaults() } flag.StringVar(&output, "out", "out.go", "Specify a path to the output file") flag.Parse() } ...
168bb6c1bf687f514c58e09cb953c0621c80bf92
README.md
README.md
**lita-slack** is an adapter for [Lita](https://www.lita.io/) that allows you to use the robot with [Slack](https://slack.com/). The current adapter is not compatible with pre-1.0.0 versions, as it now uses Slack's [Real Time Messaging API](https://api.slack.com/rtm). ## Installation Add **lita-slack** to your Lita ...
**lita-slack** is an adapter for [Lita](https://www.lita.io/) that allows you to use the robot with [Slack](https://slack.com/). The current adapter is not compatible with pre-1.0.0 versions, as it now uses Slack's [Real Time Messaging API](https://api.slack.com/rtm). ## Installation Add **lita-slack** to your Lita ...
Add note about the robot's name and mention name being automatically set.
Add note about the robot's name and mention name being automatically set.
Markdown
mit
erikogan/lita-slack,SCPR/lita-slack,clintkelly/lita-slack,byroot/lita-slack,litaio/lita-slack,kenjij/lita-slack,pallan/lita-slack,envoy/lita-slack,jaisonerick/lita-slack,librato/lita-slack,ajaleelp/lita-slack,josacar/lita-slack
markdown
## Code Before: **lita-slack** is an adapter for [Lita](https://www.lita.io/) that allows you to use the robot with [Slack](https://slack.com/). The current adapter is not compatible with pre-1.0.0 versions, as it now uses Slack's [Real Time Messaging API](https://api.slack.com/rtm). ## Installation Add **lita-slack...
a4bfb1f2f26230c97d6266cfd28a715b2de9e65f
src/_patterns/02-components/05-bolt-background-shapes/src/shape-groups.json
src/_patterns/02-components/05-bolt-background-shapes/src/shape-groups.json
{ "A": [ { "shape": "circle-square", "color": "yellow", "interiorColor": "indigo" }, { "shape": "outline-circle", "color": "orange" }, { "shape": "square-square", "color": "orange", "interiorColor": "yellow" }, { "shape": "little-circle...
{ "A": [ { "shape": "circle-square", "color": "yellow", "interiorColor": "indigo" }, { "shape": "outline-circle", "color": "orange" }, { "shape": "square-square", "color": "teal", "interiorColor": "indigo" }, { "shape": "little-circle",...
Update shape colors based on feedback from Matt
BK-26: Update shape colors based on feedback from Matt
JSON
mit
bolt-design-system/bolt,bolt-design-system/bolt,bolt-design-system/bolt,bolt-design-system/bolt,bolt-design-system/bolt
json
## Code Before: { "A": [ { "shape": "circle-square", "color": "yellow", "interiorColor": "indigo" }, { "shape": "outline-circle", "color": "orange" }, { "shape": "square-square", "color": "orange", "interiorColor": "yellow" }, { "shape"...
3485612b635e6d0e9a0f9289c16bc31648d10f2c
PercentEncoder/PercentEncoder/String+PercentEncoder.swift
PercentEncoder/PercentEncoder/String+PercentEncoder.swift
// // String+PercentEncoder.swift // PercentEncoder // // Created by Kazunobu Tasaka on 8/4/15. // Copyright (c) 2015 Kazunobu Tasaka. All rights reserved. // import Foundation public extension String { func encodeURI() -> String { return PercentEncoding.EncodeURI.evaluate(string: self) } ...
// // String+PercentEncoder.swift // PercentEncoder // // Created by Kazunobu Tasaka on 8/4/15. // Copyright (c) 2015 Kazunobu Tasaka. All rights reserved. // import Foundation public extension String { func ped_encodeURI() -> String { return PercentEncoding.EncodeURI.evaluate(string: self) } ...
Append prefix string "ped" to String extension methods
Append prefix string "ped" to String extension methods
Swift
mit
tasanobu/PercentEncoder,tasanobu/PercentEncoder
swift
## Code Before: // // String+PercentEncoder.swift // PercentEncoder // // Created by Kazunobu Tasaka on 8/4/15. // Copyright (c) 2015 Kazunobu Tasaka. All rights reserved. // import Foundation public extension String { func encodeURI() -> String { return PercentEncoding.EncodeURI.evaluate(string: self...
13d7c887a2c3926622d6c66fa1e0202527bb915a
features/step_definitions/website_management_steps.rb
features/step_definitions/website_management_steps.rb
Given /^I am logged in as an administrator$/ do @current_user = User.create!( :email => 'a@b.c', :name => 'Admin', :password => 'admin' ) { |u| u.admin = true } Given "I am on the login page" fill_in("Email", :with => 'a@b.c') fill_in("Password", :with => 'admin') click_button("Login") visi...
Given /^I am logged in as an administrator$/ do @current_user = User.create!( :email => 'admin@example.org', :name => 'Admin', :password => 'admin' ) { |u| u.admin = true } Given "I am on the login page" fill_in("Email", :with => @current_user.email) fill_in("Password", :with => @current_user.pas...
Use a valid email address for administrator user account in 'I am logged in as an administrator' cucumber step
Use a valid email address for administrator user account in 'I am logged in as an administrator' cucumber step
Ruby
mit
ianfleeton/zmey,ianfleeton/zmey,ianfleeton/zmey,ianfleeton/zmey
ruby
## Code Before: Given /^I am logged in as an administrator$/ do @current_user = User.create!( :email => 'a@b.c', :name => 'Admin', :password => 'admin' ) { |u| u.admin = true } Given "I am on the login page" fill_in("Email", :with => 'a@b.c') fill_in("Password", :with => 'admin') click_button...
90798c3cb69b621834bc5d4066e24a1ff67ff59c
locales/fr/share.properties
locales/fr/share.properties
title=Merci de votre inscription ! # Alt text for button share_email_tooltip=Partager par courriel # Alt text for button share_fb_tooltip=Partager sur Facebook # Alt text for button share_twitter_tooltip=Partager sur twitter # Message when sharing via email # Message when sharing via Facebook fb_share_title_b=À qu...
title=Merci de votre inscription ! headline=N’hésitez pas à utiliser les boutons ci-dessous pour faire passer le message : # Alt text for button share_email_tooltip=Partager par courriel # Alt text for button share_fb_tooltip=Partager sur Facebook # Alt text for button share_twitter_tooltip=Partager sur twitter # Me...
Update French (fr) localization of EU Copyright campaign
Pontoon: Update French (fr) localization of EU Copyright campaign Localization authors: - Théo Chevalier <theo.chevalier11@gmail.com>
INI
mpl-2.0
mozilla/copyright
ini
## Code Before: title=Merci de votre inscription ! # Alt text for button share_email_tooltip=Partager par courriel # Alt text for button share_fb_tooltip=Partager sur Facebook # Alt text for button share_twitter_tooltip=Partager sur twitter # Message when sharing via email # Message when sharing via Facebook fb_sh...