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
a7d5c9868dc9ba3f7175351269002b9c9330ae04
README.md
README.md
HBase Indexer ============= HBase Indexer allows you to easily and quickly index HBase rows into Solr. Usage documentation can be found on the hbase-indexer Wiki - http://github.com/NGDATA/hbase-indexer/wiki. ## Subprojects ### HBase SEP A standalone library for asynchronously processing HBase mutation events by ho...
HBase Indexer ============= HBase Indexer allows you to easily and quickly index HBase rows into Solr. Usage documentation can be found on the hbase-indexer Wiki - http://github.com/NGDATA/hbase-indexer/wiki. ## Subprojects ### HBase SEP A standalone library for asynchronously processing HBase mutation events by ho...
Add build an specific version of Hortonworks.
LWSHADOOP-474: Add build an specific version of Hortonworks.
Markdown
apache-2.0
LucidWorks/hbase-indexer,LucidWorks/hbase-indexer
markdown
## Code Before: HBase Indexer ============= HBase Indexer allows you to easily and quickly index HBase rows into Solr. Usage documentation can be found on the hbase-indexer Wiki - http://github.com/NGDATA/hbase-indexer/wiki. ## Subprojects ### HBase SEP A standalone library for asynchronously processing HBase mutat...
f253feac7a4c53bd17958b0c74adbec528ae2e17
rethinkdb/setup-rethinkdb.py
rethinkdb/setup-rethinkdb.py
import rethinkdb as r import argparse parser = argparse.ArgumentParser(description='Set up RethinkDB locally') args = parser.parse_args() conn = r.connect() r.db_create('muzhack').run(conn) r.db('muzhack').table_create('users').run(conn) r.db('muzhack').table_create('projects').run(conn) r.db('muzhack').table_create...
import rethinkdb as r import argparse parser = argparse.ArgumentParser(description='Set up RethinkDB') parser.add_argument('-H', '--host', default='localhost', help='Specify host') args = parser.parse_args() conn = r.connect(host=args.host) r.db_create('muzhack').run(conn) r.db('muzhack').table_create('users').run(c...
Allow setting up rethinkdb remotely
Allow setting up rethinkdb remotely
Python
mit
muzhack/musitechhub,muzhack/musitechhub,muzhack/musitechhub,muzhack/muzhack,muzhack/muzhack,muzhack/musitechhub,muzhack/muzhack,muzhack/muzhack
python
## Code Before: import rethinkdb as r import argparse parser = argparse.ArgumentParser(description='Set up RethinkDB locally') args = parser.parse_args() conn = r.connect() r.db_create('muzhack').run(conn) r.db('muzhack').table_create('users').run(conn) r.db('muzhack').table_create('projects').run(conn) r.db('muzhac...
eaa588dfaf02a9d14f339461bb7091b3b67d36a0
packages.d/init-auto-complete.el
packages.d/init-auto-complete.el
(add-to-list 'ac-dictionary-directories "~/.emacs.d/ac-dict") (require 'auto-complete-config) (ac-config-default) (define-key ac-mode-map (kbd "M-TAB") 'auto-complete)
(require 'auto-complete-config) (ac-config-default) (add-to-list 'ac-dictionary-directories "~/.emacs.d/ac-dict") (define-key ac-mode-map (kbd "M-TAB") 'auto-complete)
Fix order issue for AC setup
Fix order issue for AC setup
Emacs Lisp
mit
lstoll/dotfiles,lstoll/repo,lstoll/dotfiles,lstoll/dotfiles,lstoll/repo,lstoll/repo
emacs-lisp
## Code Before: (add-to-list 'ac-dictionary-directories "~/.emacs.d/ac-dict") (require 'auto-complete-config) (ac-config-default) (define-key ac-mode-map (kbd "M-TAB") 'auto-complete) ## Instruction: Fix order issue for AC setup ## Code After: (require 'auto-complete-config) (ac-config-default) (add-to-list 'ac-dict...
8b6f8302fabafecc5a9d1810f164a42a0b1ebf37
src/main/resources/static/css/main.css
src/main/resources/static/css/main.css
body { background-color: lightblue; font-family: sans-serif; } table { border: 1px solid black; } th { font-size: 150%; text-align: left; background-color: aquamarine; padding: 10px; } td { text-align: left; background-color: azure; padding: 4px; }
body { background-color: lightblue; font-family: sans-serif; } table { border: 1px solid black; } th { font-size: 150%; text-align: left; background-color: aquamarine; padding: 10px; } td { text-align: left; background-color: azure; padding: 4px; } a, a:visited { color: i...
Tweak CSS for links on form.
Tweak CSS for links on form.
CSS
unlicense
TonyJenkins/shiny-barnacle,TonyJenkins/shiny-barnacle
css
## Code Before: body { background-color: lightblue; font-family: sans-serif; } table { border: 1px solid black; } th { font-size: 150%; text-align: left; background-color: aquamarine; padding: 10px; } td { text-align: left; background-color: azure; padding: 4px; } ## Instructi...
a65f603a2f1169b1d147dfc9172fa8fd88dcf28f
test/integration/base-suite/ResultsFixture.js
test/integration/base-suite/ResultsFixture.js
PRESTATION_TO_TEST_POSITION = 1 PRESTATION_NAME = /Prime d’activité/ PRESTATION_DESCRIPTION = /revenus modestes/ HAS_PRESTATION_WARNING = false HAS_PRESTATION_ENGAGER_DEMARCHES_LINK = true
PRESTATION_TO_TEST_POSITION = 1 PRESTATION_NAME = /Prime d’activité/ PRESTATION_DESCRIPTION = /complète les revenus/ HAS_PRESTATION_WARNING = false HAS_PRESTATION_ENGAGER_DEMARCHES_LINK = true
Fix expected text in integration test
Fix expected text in integration test * Rewording in f456e6416 was not replicated in tests
JavaScript
agpl-3.0
sgmap/mes-aides-ui,sgmap/mes-aides-ui,sgmap/mes-aides-ui,sgmap/mes-aides-ui
javascript
## Code Before: PRESTATION_TO_TEST_POSITION = 1 PRESTATION_NAME = /Prime d’activité/ PRESTATION_DESCRIPTION = /revenus modestes/ HAS_PRESTATION_WARNING = false HAS_PRESTATION_ENGAGER_DEMARCHES_LINK = true ## Instruction: Fix expected text in integration test * Rewording in f456e6416 was not replicated in tests ## Co...
1fa01033d36414f810af6d96f443a6d8e411280e
lib/juvia_rails/configuration.rb
lib/juvia_rails/configuration.rb
module JuviaRails class Configuration attr_accessor :site_key, :comment_order, :server_url def initialize @site_key = nil @server_url = nil @comment_order = 'latest-first' end end end
module JuviaRails class Configuration attr_accessor :site_key, :comment_order, :server_url, :include_css def initialize @site_key = nil @server_url = nil @comment_order = 'latest-first' @include_css = nil end end end
Add include_css option to config
Add include_css option to config
Ruby
mit
theodi/juvia_rails
ruby
## Code Before: module JuviaRails class Configuration attr_accessor :site_key, :comment_order, :server_url def initialize @site_key = nil @server_url = nil @comment_order = 'latest-first' end end end ## Instruction: Add include_css option to config ## Code After: module JuviaRa...
d95273bd72f849e0aab2341e04f77f30920e57a8
app/views/pages/integrate.en.html.erb
app/views/pages/integrate.en.html.erb
<% @title = t(:integrate_the_form_in_your_website) %> <h2><%= link_to t(:integrate_the_form_in_your_website), integrate_path %></h2>
<% @title = t(:integrate_the_form_in_your_website) %> <h2><%= link_to t(:integrate_the_form_in_your_website), integrate_path %></h2> <p>Embed this form into your website</p> <p>Your website can actively participate: be a part of the net of blogs and websites that ask for sending emails to stop the massacre that is b...
Add Spanish translation by iokese
Add Spanish translation by iokese Signed-off-by: Quique <da035149b353ae0c01e142faa3dd77c14a65464f@gmail.com>
HTML+ERB
agpl-3.0
apardo/sahara,apardo/sahara
html+erb
## Code Before: <% @title = t(:integrate_the_form_in_your_website) %> <h2><%= link_to t(:integrate_the_form_in_your_website), integrate_path %></h2> ## Instruction: Add Spanish translation by iokese Signed-off-by: Quique <da035149b353ae0c01e142faa3dd77c14a65464f@gmail.com> ## Code After: <% @title = t(:integrate_t...
36558e28a1bef96c4c7550e90343931f31f628b2
_temp/hud/src/index.html
_temp/hud/src/index.html
<!doctype html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Glimpse</title> </head> <body> <script src="./main.js" id="__glimpse_hud" data-request-id="1234"></script> </body> </html>
<!doctype html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Glimpse</title> </head> <body> <script src="./main.js" id="__glimpse_hud" data-request-id="1234" data-client-template="/glimpse/client/index.html?hash=8a6b2a0a{&amp;requestId,follow,metadataUri}" data-c...
Update script tag for hud to have latest template attributes to match server
Update script tag for hud to have latest template attributes to match server
HTML
unknown
avanderhoorn/Glimpse.Client.Prototype,Glimpse/Glimpse.Client.Prototype,Glimpse/Glimpse.Client.Prototype,Glimpse/Glimpse.Client.Prototype,avanderhoorn/Glimpse.Client.Prototype
html
## Code Before: <!doctype html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Glimpse</title> </head> <body> <script src="./main.js" id="__glimpse_hud" data-request-id="1234"></script> </body> </html> ## Instruction: Update script tag for hud to have latest template attributes to match server ## Co...
2b87bbc4fe04e70a5a75702cafe986f1493daac7
app/synchronizers/solidus_mailchimp_sync/product_synchronizer.rb
app/synchronizers/solidus_mailchimp_sync/product_synchronizer.rb
module SolidusMailchimpSync class ProductSynchronizer < BaseSynchronizer self.serializer_class_name = "::SolidusMailchimpSync::ProductSerializer" self.synced_attributes = %w{name description slug available_on} # Since Mailchimp API 3.0 doesn't let us update products, important to wait # until product...
module SolidusMailchimpSync class ProductSynchronizer < BaseSynchronizer self.serializer_class_name = "::SolidusMailchimpSync::ProductSerializer" self.synced_attributes = %w{name description slug available_on} # Since Mailchimp API 3.0 doesn't let us update products, important to wait # until product...
Allow patch for updating products
Allow patch for updating products
Ruby
bsd-3-clause
LaLigne/solidus_mailchimp_sync,LaLigne/solidus_mailchimp_sync
ruby
## Code Before: module SolidusMailchimpSync class ProductSynchronizer < BaseSynchronizer self.serializer_class_name = "::SolidusMailchimpSync::ProductSerializer" self.synced_attributes = %w{name description slug available_on} # Since Mailchimp API 3.0 doesn't let us update products, important to wait ...
f3bdab63a999c2102b16bc7c9c536b4a8e212b53
.gitlab-ci.yml
.gitlab-ci.yml
variables: GIT_STRATEGY: fetch GIT_SUBMODULE_STRATEGY: normal NODE_OPTIONS: --no-warnings stages: - test tests: stage: test tags: - windows before_script: - Import-Module "$env:ChocolateyInstall\helpers\chocolateyProfile.psm1" - choco install -y yarn - refreshenv script: - yarn ...
variables: GIT_STRATEGY: fetch GIT_CHECKOUT: "false" GIT_SUBMODULE_STRATEGY: normal NODE_OPTIONS: --no-warnings stages: - test tests: stage: test tags: - windows before_script: - Import-Module "$env:ChocolateyInstall\helpers\chocolateyProfile.psm1" - choco install -y yarn - refreshenv ...
Test a fix for Windows CI issues with symlinks
Test a fix for Windows CI issues with symlinks
YAML
mit
Squishymedia/BIDS-Validator,nellh/bids-validator,nellh/bids-validator,nellh/bids-validator,Squishymedia/bids-validator
yaml
## Code Before: variables: GIT_STRATEGY: fetch GIT_SUBMODULE_STRATEGY: normal NODE_OPTIONS: --no-warnings stages: - test tests: stage: test tags: - windows before_script: - Import-Module "$env:ChocolateyInstall\helpers\chocolateyProfile.psm1" - choco install -y yarn - refreshenv script:...
90fa23d1d1b2497d65507b7930323b118f512a25
disco_aws_automation/disco_acm.py
disco_aws_automation/disco_acm.py
import logging import boto3 import botocore class DiscoACM(object): """ A class to manage the Amazon Certificate Service """ def __init__(self, connection=None): self._acm = connection @property def acm(self): """ Lazily creates ACM connection NOTE!!! As of...
import logging import boto3 import botocore class DiscoACM(object): """ A class to manage the Amazon Certificate Service """ def __init__(self, connection=None): self._acm = connection @property def acm(self): """ Lazily creates ACM connection NOTE!!! As of...
Revert "Swallow proxy exception from requests"
Revert "Swallow proxy exception from requests" This reverts commit 8d9ccbb2bbde7c2f8dbe60b90f730d87b924d86e.
Python
bsd-2-clause
amplifylitco/asiaq,amplifylitco/asiaq,amplifylitco/asiaq
python
## Code Before: import logging import boto3 import botocore class DiscoACM(object): """ A class to manage the Amazon Certificate Service """ def __init__(self, connection=None): self._acm = connection @property def acm(self): """ Lazily creates ACM connection ...
5bd5f99315a1c6f705034f8a0bf2d06b4060d167
lib/ffi/io.rb
lib/ffi/io.rb
module FFI module IO def self.for_fd(fd, mode = "r") ::IO.for_fd(fd, mode) end end end
module FFI module IO def self.for_fd(fd, mode = "r") ::IO.for_fd(fd, mode) end # # A version of IO#read that reads into a native buffer # # This will be optimized at some future time to eliminate the double copy # def self.read(io, buf, len) tmp = io.read(len) retur...
Add FFI::IO.read as described in JRUBY-3636
Add FFI::IO.read as described in JRUBY-3636
Ruby
bsd-3-clause
yghannam/ffi,MikaelSmith/ffi,mvz/ffi,tduehr/ffi,sparkchaser/ffi,yghannam/ffi,majioa/ffi,ferventcoder/ffi,yghannam/ffi,mvz/ffi,majioa/ffi,mvz/ffi,MikaelSmith/ffi,majioa/ffi,tduehr/ffi,MikaelSmith/ffi,mvz/ffi,yghannam/ffi,ferventcoder/ffi,ferventcoder/ffi,yghannam/ffi,ffi/ffi,tduehr/ffi,ferventcoder/ffi,sparkchaser/ffi,f...
ruby
## Code Before: module FFI module IO def self.for_fd(fd, mode = "r") ::IO.for_fd(fd, mode) end end end ## Instruction: Add FFI::IO.read as described in JRUBY-3636 ## Code After: module FFI module IO def self.for_fd(fd, mode = "r") ::IO.for_fd(fd, mode) end # # A version of IO...
4b4156b66f5a41ef7451cf1c39fa7c948e363406
lib/Settings/readme.md
lib/Settings/readme.md
Displays the settings page for a Stripes module, given a list of the sub-pages to link and route to. ## Usage ``` import React from 'react'; import Settings from './Settings'; import PermissionSets from './PermissionSets'; import PatronGroupsSettings from './PatronGroupsSettings'; const pages = [ { route: 'perms...
Displays the settings page for a Stripes module, given a list of the sub-pages to link and route to. ## Usage ``` import React from 'react'; import Settings from './Settings'; import PermissionSets from './PermissionSets'; import PatronGroupsSettings from './PatronGroupsSettings'; const pages = [ { route: 'perms...
Remove claim in docs that <Settings> requires the "stripes" prop
Remove claim in docs that <Settings> requires the "stripes" prop
Markdown
apache-2.0
folio-org/stripes-components,folio-org/stripes-components
markdown
## Code Before: Displays the settings page for a Stripes module, given a list of the sub-pages to link and route to. ## Usage ``` import React from 'react'; import Settings from './Settings'; import PermissionSets from './PermissionSets'; import PatronGroupsSettings from './PatronGroupsSettings'; const pages = [ ...
a162a996d9eafa168f0bf321df9bc2b6996fb9d3
src/test/java/com/gmail/cs475x/anybar4j/AnyBar4jTest.java
src/test/java/com/gmail/cs475x/anybar4j/AnyBar4jTest.java
package com.gmail.cs475x.anybar4j; import static org.junit.Assert.assertEquals; import org.junit.Test; import com.gmail.cs475x.anybar4j.AnyBar4j.AnyBarImage; public class AnyBar4jTest { @Test public void shouldWorkWithDefaultHostAndPort() { Exception exception = null; try { AnyBar4j anybar = new AnyBar4j...
package com.gmail.cs475x.anybar4j; import static org.junit.Assert.assertEquals; import org.junit.Test; import com.gmail.cs475x.anybar4j.AnyBar4j.AnyBarImage; public class AnyBar4jTest { @Test public void shouldWorkWithDefaultHostAndPort() { AnyBar4j anybar = null; Exception exception = null; try { anyb...
Move `close()` calls to finally block
Move `close()` calls to finally block
Java
mit
cs475x/AnyBar4j
java
## Code Before: package com.gmail.cs475x.anybar4j; import static org.junit.Assert.assertEquals; import org.junit.Test; import com.gmail.cs475x.anybar4j.AnyBar4j.AnyBarImage; public class AnyBar4jTest { @Test public void shouldWorkWithDefaultHostAndPort() { Exception exception = null; try { AnyBar4j anyba...
747c7bc260aab88d8520e410a8554bde63f25a24
app/views/noisy_workflow/request_fact_check.text.erb
app/views/noisy_workflow/request_fact_check.text.erb
Hello, The following piece of mainstream GOV.UK content is ready to be checked for factual accuracy: Title: <%= @edition.title %> <%= "#{Plek.current.find("private-frontend")}/#{@edition.slug}?edition=#{@edition.version_number}" %> You will need your GOV.UK user name and password to preview the content. If you or y...
Hello. The following piece of mainstream GOV.UK content needs to be fact checked because Title: <%= @edition.title %> <%= "#{Plek.current.find("private-frontend")}/#{@edition.slug}?edition=#{@edition.version_number}" %> You'll need your GOV.UK user name and password to view the content. Please reply to this email a...
Clean up email to match GOV.UK style and clarity
Clean up email to match GOV.UK style and clarity Number of amends to make the email cleaner and simpler, hopefully providing clearer instructions to fact checkers.
HTML+ERB
mit
leftees/publisher,leftees/publisher,alphagov/publisher,telekomatrix/publisher,leftees/publisher,telekomatrix/publisher,telekomatrix/publisher,leftees/publisher,alphagov/publisher,telekomatrix/publisher,alphagov/publisher
html+erb
## Code Before: Hello, The following piece of mainstream GOV.UK content is ready to be checked for factual accuracy: Title: <%= @edition.title %> <%= "#{Plek.current.find("private-frontend")}/#{@edition.slug}?edition=#{@edition.version_number}" %> You will need your GOV.UK user name and password to preview the conte...
c6855fa87770e65fb0a6986386ce97c894a554c4
tests/foundation/class-foundation-test.php
tests/foundation/class-foundation-test.php
<?php namespace Xu\Tests\Foundation; use Xu\Foundation\Foundation; class Foundation_Test extends \WP_UnitTestCase { public function test_component() { $this->assertTrue( xu( '' ) instanceof Foundation ); $this->assertEquals( Foundation::VERSION, xu( 'xu' )->version() ); } public functio...
<?php namespace Xu\Tests\Foundation; use Xu\Foundation\Foundation; class Foundation_Test extends \WP_UnitTestCase { public function test_component() { $this->assertTrue( xu( '' ) instanceof Foundation ); $this->assertEquals( Foundation::VERSION, xu( 'xu' )->version() ); } public functio...
Add one more component test
Add one more component test
PHP
mit
wp-xu/framework,wp-xu/xu
php
## Code Before: <?php namespace Xu\Tests\Foundation; use Xu\Foundation\Foundation; class Foundation_Test extends \WP_UnitTestCase { public function test_component() { $this->assertTrue( xu( '' ) instanceof Foundation ); $this->assertEquals( Foundation::VERSION, xu( 'xu' )->version() ); } ...
9fbfc4c13b8ffc90b4d4df57c0e2028d29a7eb0b
run.sh
run.sh
export WEPLAY_PORT 3000 export WEPLAY_IO_URL "http://159.203.3.193:3001" export WEPLAY_REDIS "159.203.3.193:6379" forever start /srv/weplay-web/index.js tail -f root/.forever/*.log
WEPLAY_PORT=3000 WEPLAY_IO_URL="http://159.203.3.193:3001" WEPLAY_REDIS="159.203.3.193:6379" forever /srv/weplay-web/index.js
Fix export, add environ to forever
Fix export, add environ to forever
Shell
mit
imdjh/letweplay
shell
## Code Before: export WEPLAY_PORT 3000 export WEPLAY_IO_URL "http://159.203.3.193:3001" export WEPLAY_REDIS "159.203.3.193:6379" forever start /srv/weplay-web/index.js tail -f root/.forever/*.log ## Instruction: Fix export, add environ to forever ## Code After: WEPLAY_PORT=3000 WEPLAY_IO_URL="http://159.203.3...
3eaac1028f57458c4ef79df9655f3f4c088f99a6
.github/workflows/github-pages.yml
.github/workflows/github-pages.yml
name: Build and deploy site to GitHub Pages on: push: branches: - master jobs: jekyll: runs-on: ubuntu-latest steps: - name: Checkout the code uses: actions/checkout@master - name: Use GitHub Actions cache uses: actions/cache@master with: path: vendor/bundle ...
name: Build and deploy site to GitHub Pages on: push: branches: - master jobs: jekyll: runs-on: ubuntu-latest steps: - name: Checkout the code uses: actions/checkout@master - name: Use GitHub Actions cache uses: actions/cache@master with: path: vendor/bundle ...
Remove htmlproofer for now, going to add it back later
Remove htmlproofer for now, going to add it back later
YAML
agpl-3.0
CorruptComputer/CorruptComputer.github.io,CorruptComputer/CorruptComputer.github.io
yaml
## Code Before: name: Build and deploy site to GitHub Pages on: push: branches: - master jobs: jekyll: runs-on: ubuntu-latest steps: - name: Checkout the code uses: actions/checkout@master - name: Use GitHub Actions cache uses: actions/cache@master with: path: ...
8f42b814b989441005134d720ab6b3be4b1bb674
src/Illuminate/Foundation/Auth/VerifiesEmails.php
src/Illuminate/Foundation/Auth/VerifiesEmails.php
<?php namespace Illuminate\Foundation\Auth; use Illuminate\Http\Request; use Illuminate\Auth\Events\Verified; trait VerifiesEmails { use RedirectsUsers; /** * Show the email verification notice. * * @param \Illuminate\Http\Request $request * @return \Illuminate\Http\Response */ ...
<?php namespace Illuminate\Foundation\Auth; use Illuminate\Auth\Access\AuthorizationException; use Illuminate\Http\Request; use Illuminate\Auth\Events\Verified; trait VerifiesEmails { use RedirectsUsers; /** * Show the email verification notice. * * @param \Illuminate\Http\Request $request ...
Add verify of current user id on email verification
Add verify of current user id on email verification
PHP
mit
JamesForks/framework,cviebrock/framework,leo108/laravel_framework,stidges/framework,tjbp/framework,jerguslejko/framework,mul14/laravel-framework,tomschlick/framework,arturock/framework,barryvdh/framework,tomschlick/framework,jerguslejko/framework,ChristopheB/framework,srmkliveforks/framework,laravel/framework,halaei/fr...
php
## Code Before: <?php namespace Illuminate\Foundation\Auth; use Illuminate\Http\Request; use Illuminate\Auth\Events\Verified; trait VerifiesEmails { use RedirectsUsers; /** * Show the email verification notice. * * @param \Illuminate\Http\Request $request * @return \Illuminate\Http\Res...
b07a0a993b4bfaabb57aef416c81a70f933ebaf1
src/main/webapp/index.html
src/main/webapp/index.html
<!DOCTYPE html> <html lang="en-US"> <head> <meta charset="UTF-8" /> <title>Reddit Dashboard</title> <link rel="stylesheet" href="style.css" /> <script src="script.js"></script> </head> <body onload="addThreads()"> <div id="content"> <h1>Reddit Dashboard</h1> <div id="thread-contain...
<!DOCTYPE html> <html lang="en-US"> <head> <meta charset="UTF-8" /> <title>Youtube Comment Dashboard</title> <link rel="stylesheet" href="style.css" /> <script src="script.js"></script> </head> <body onload="addThreads()"> <div id="content"> <h1>Youtube Comment Dashboard</h1> <div ...
Change the web page title
Change the web page title
HTML
apache-2.0
googleinterns/step64-2020,googleinterns/step64-2020,googleinterns/step64-2020
html
## Code Before: <!DOCTYPE html> <html lang="en-US"> <head> <meta charset="UTF-8" /> <title>Reddit Dashboard</title> <link rel="stylesheet" href="style.css" /> <script src="script.js"></script> </head> <body onload="addThreads()"> <div id="content"> <h1>Reddit Dashboard</h1> <div id...
01c5311c3027c893ddd76cfbec42d88baece1564
lib/daab-run.js
lib/daab-run.js
// daab run var fs = require('fs'); var spawn = require('child_process').spawn; var program = require('commander'); var auth = require('./auth'); program .allowUnknownOption() .parse(process.argv); if (! auth.hasToken()) { console.log('At first, try "daab login"'); process.exit(); } var hubot = spawn('bin/h...
// daab run var fs = require('fs'); var spawn = require('child_process').spawn; var program = require('commander'); var auth = require('./auth'); program .allowUnknownOption() .parse(process.argv); if (! auth.hasToken()) { console.log('At first, try "daab login"'); process.exit(); } var cmd = process.platfo...
Fix launch command on windows platform.
Fix launch command on windows platform.
JavaScript
mit
lisb/daab,lisb/daab,lisb/daab
javascript
## Code Before: // daab run var fs = require('fs'); var spawn = require('child_process').spawn; var program = require('commander'); var auth = require('./auth'); program .allowUnknownOption() .parse(process.argv); if (! auth.hasToken()) { console.log('At first, try "daab login"'); process.exit(); } var hubo...
9dc025638dc28a6feaeeb5f604d40f536d67d5a3
app/models/document.rb
app/models/document.rb
class Document attr_reader :id, :filename DIR_PATH = 'db/docs' URL_PATH = 'docs' class << self def all Dir.glob("#{DIR_PATH}/*.md").sort.map do |filename| self.new(File.basename(filename, '.*')) end end end def initialize(filename) @filename = filename end def path ...
class Document attr_reader :id, :filename DIR_PATH = 'db/docs' URL_PATH = 'docs' class << self def all Dir.glob("#{DIR_PATH}/*.md").sort.map do |filename| self.new(File.basename(filename, '.*')) end end end def initialize(filename) @filename = filename end def path ...
Enable to fetch doc's updated_at from git log
Enable to fetch doc's updated_at from git log
Ruby
mit
yasslab/coderdojo.jp,coderdojo-japan/coderdojo.jp,yasslab/coderdojo.jp,coderdojo-japan/coderdojo.jp,yasslab/coderdojo.jp,coderdojo-japan/coderdojo.jp,coderdojo-japan/coderdojo.jp
ruby
## Code Before: class Document attr_reader :id, :filename DIR_PATH = 'db/docs' URL_PATH = 'docs' class << self def all Dir.glob("#{DIR_PATH}/*.md").sort.map do |filename| self.new(File.basename(filename, '.*')) end end end def initialize(filename) @filename = filename end...
4d7402adb5e9f97c299c5f4fb6b2c62915298962
requirements.txt
requirements.txt
mock>=1.01 pathlib>=1.0 python-dateutil>=2.3
mock>=1.0.1 nose>=1.3.4 pathlib>=1.0 python-dateutil>=2.3
Correct version string for mock. Added nose.
Correct version string for mock. Added nose.
Text
bsd-3-clause
NaturalHistoryMuseum/inselect,NaturalHistoryMuseum/inselect
text
## Code Before: mock>=1.01 pathlib>=1.0 python-dateutil>=2.3 ## Instruction: Correct version string for mock. Added nose. ## Code After: mock>=1.0.1 nose>=1.3.4 pathlib>=1.0 python-dateutil>=2.3
892386c344d2c19f097053eb87fa70b0e3d239d1
SuperBuild/External_SimpleITKExamples.cmake
SuperBuild/External_SimpleITKExamples.cmake
set(proj SimpleITKExamples) # Set dependency list set(SimpleITKExamples_DEPENDENCIES "SimpleITK") if (${BUILD_EXAMPLES} ) file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/${proj}-build/CMakeCacheInit.txt" "${ep_common_cache}" ) ExternalProject_Add(${proj} DOWNLOAD_COMMAND "" UPDATE_COMMAND "" SOURCE_DIR $...
set(proj SimpleITKExamples) # Set dependency list set(SimpleITKExamples_DEPENDENCIES "SimpleITK") if (${BUILD_EXAMPLES} ) file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/${proj}-build/CMakeCacheInit.txt" "${ep_common_cache}" ) ExternalProject_Add(${proj} DOWNLOAD_COMMAND "" UPDATE_COMMAND "" SOURCE_DIR $...
Fix the SimpleITK install directory used for superbuild SimpleITK Examples
Fix the SimpleITK install directory used for superbuild SimpleITK Examples The version was not updated to SimpleITK version 1.0 and the binary build directory was used not the install directory.
CMake
apache-2.0
kaspermarstal/SimpleElastix,kaspermarstal/SimpleElastix,kaspermarstal/SimpleElastix,kaspermarstal/SimpleElastix,InsightSoftwareConsortium/SimpleITK,InsightSoftwareConsortium/SimpleITK,blowekamp/SimpleITK,SimpleITK/SimpleITK,richardbeare/SimpleITK,SimpleITK/SimpleITK,InsightSoftwareConsortium/SimpleITK,InsightSoftwareCo...
cmake
## Code Before: set(proj SimpleITKExamples) # Set dependency list set(SimpleITKExamples_DEPENDENCIES "SimpleITK") if (${BUILD_EXAMPLES} ) file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/${proj}-build/CMakeCacheInit.txt" "${ep_common_cache}" ) ExternalProject_Add(${proj} DOWNLOAD_COMMAND "" UPDATE_COMMAND "" ...
a91498c793f73551027a3c408befaa1b2de4b3da
public/css/style.css
public/css/style.css
.add-item { margin: 6px; }
.add-item { margin: 6px; } .item-cost { font-family: "Lucida Console", Monaco, monospace; }
Use monospace font for cost
Use monospace font for cost
CSS
mit
hasyimibhar/bajet,hasyimibhar/bajet
css
## Code Before: .add-item { margin: 6px; } ## Instruction: Use monospace font for cost ## Code After: .add-item { margin: 6px; } .item-cost { font-family: "Lucida Console", Monaco, monospace; }
d3f7c1a592a6f81befa89f51226ed0a97295a157
CONTRIBUTING.md
CONTRIBUTING.md
- **To add to the list:** Submit a pull request - **To remove from the list:** Open an issue - List items should be sorted *alphabetically*. - Each item should be limited to one link - The link should be the name of the package or project - Direct installation commands should follow on the next line, indented by 2 sp...
- **To add to the list:** Submit a pull request - **To remove from the list:** Open an issue - List items should be sorted *alphabetically*. - Each item should be limited to one link - The link should be the name of the package or project - Direct installation commands should follow on the next line, indented by 2 sp...
Update instructions in Contributing to include testing information
Update instructions in Contributing to include testing information
Markdown
mit
davidlebr1/awesome-ctf,apsdehal/awesome-ctf,601040605/awesome-ctf,shekkbuilder/awesome-ctf,jack51706/awesome-ctf,aancw/awesome-ctf,sillvan/awesome-ctf
markdown
## Code Before: - **To add to the list:** Submit a pull request - **To remove from the list:** Open an issue - List items should be sorted *alphabetically*. - Each item should be limited to one link - The link should be the name of the package or project - Direct installation commands should follow on the next line, ...
5fa2dfacd0967842842067429122732d2b50faee
app/views/surveys/question_templates/_prefer_not_to_answer_box.html.haml
app/views/surveys/question_templates/_prefer_not_to_answer_box.html.haml
.input-group.center-block .check-box-container.preferred-not-to-answer = check_box_tag "#{question.to_param}[preferred_not_to_answer]", "1", answer.preferred_not_to_answer?, disabled: answer.locked?, name: 'response[preferred_not_to_answer]' %label{ for: "#{question.to_param}[preferred_not_to_answer]", style:...
.input-group.center-block .check-box-container.preferred-not-to-answer = check_box_tag "#{question.to_param}[preferred_not_to_answer]", "1", answer.preferred_not_to_answer?, disabled: answer.locked?, name: 'response[preferred_not_to_answer]' %label{ for: "#{question.to_param}[preferred_not_to_answer]", style:...
Use similar text for skipping a question, to be consistent with ResearchKit app
Use similar text for skipping a question, to be consistent with ResearchKit app
Haml
mit
myapnea/www.myapnea.org,myapnea/www.myapnea.org,myapnea/www.myapnea.org
haml
## Code Before: .input-group.center-block .check-box-container.preferred-not-to-answer = check_box_tag "#{question.to_param}[preferred_not_to_answer]", "1", answer.preferred_not_to_answer?, disabled: answer.locked?, name: 'response[preferred_not_to_answer]' %label{ for: "#{question.to_param}[preferred_not_to_...
0613d7b749b6bfffc6094b1c382898d235c884f1
data/docker-storage-setup-env.sh
data/docker-storage-setup-env.sh
STORAGE_DRIVER=devicemapper DEVS=/dev/sdb VG=dockervg DATA_SIZE=40%FREE MIN_DATA_SIZE=2G CHUNK_SIZE=512K GROWPART=false AUTO_EXTEND_POOL=yes POOL_AUTOEXTEND_THRESHOLD=60 POOL_AUTOEXTEND_PERCENT=20 [ -e docker-storage-setup-env.local.sh ] && . docker-storage-setup-env.local.sh
DEVS=/dev/sdb VG=dockervg [ -e docker-storage-setup-env.local.sh ] && . docker-storage-setup-env.local.sh
Remove initial override directives that are of same value from the conf in the package.
Remove initial override directives that are of same value from the conf in the package.
Shell
apache-2.0
flaccid/vagrant-docker-storage-setup,flaccid/vagrant-docker-storage-setup
shell
## Code Before: STORAGE_DRIVER=devicemapper DEVS=/dev/sdb VG=dockervg DATA_SIZE=40%FREE MIN_DATA_SIZE=2G CHUNK_SIZE=512K GROWPART=false AUTO_EXTEND_POOL=yes POOL_AUTOEXTEND_THRESHOLD=60 POOL_AUTOEXTEND_PERCENT=20 [ -e docker-storage-setup-env.local.sh ] && . docker-storage-setup-env.local.sh ## Instruction: Remove i...
089bccd649dd2479fe71d9a80069ec905933660f
index.php
index.php
<?php require_once 'recaptcha.class.php'; $form_id = "form"; $site_key = 'YOUR_SITE_KEY'; $secret_key = 'YOUR_SECRET_KEY'; $recaptcha = new Recaptcha($form_id, $site_key, $secret_key); ?> <!doctype html> <html> <head> <title>Invisible ReCAPTCHA API Class Demo</title> </head> <body> <?php ob_start(); ?> <form id="for...
<?php require_once 'recaptcha.class.php'; $form_id = "form"; $site_key = 'YOUR_SITE_KEY'; $secret_key = 'YOUR_SECRET_KEY'; $recaptcha = new Recaptcha($form_id, $site_key, $secret_key); ?> <!doctype html> <html> <head> <title>ReCAPTCHA v3 API Class Demo</title> </head> <body> <?php ob_start(); ?> <form id="form" meth...
Update title to ReCAPTCHA v3
Update title to ReCAPTCHA v3
PHP
mit
svenagen/recaptcha,JoelLisenby/recaptcha
php
## Code Before: <?php require_once 'recaptcha.class.php'; $form_id = "form"; $site_key = 'YOUR_SITE_KEY'; $secret_key = 'YOUR_SECRET_KEY'; $recaptcha = new Recaptcha($form_id, $site_key, $secret_key); ?> <!doctype html> <html> <head> <title>Invisible ReCAPTCHA API Class Demo</title> </head> <body> <?php ob_start(); ...
db9e7163a9aef3f41af2e71f074611dae0f5ac39
lispkit.lisp
lispkit.lisp
(defpackage lispkit (:use :gtk :gdk :gdk-pixbuf :gobject :drakma :cl-webkit :glib :gio :pango :cairo :common-lisp) (:export #:main)) (in-package :lispkit) (defparameter *current-tab* nil) (defun handle-key (window event) (declare (ignore window)) (print event) nil) (defun main (&rest args)...
(defpackage lispkit (:use :gtk :gdk :gdk-pixbuf :gobject :drakma :cl-webkit :glib :gio :pango :cairo :common-lisp) (:export #:main)) (in-package :lispkit) (defparameter *current-tab* nil) (defun load-url (url &optional view) (webkit.foreign:webkit-web-view-load-uri (or view *current-tab*) ur...
Put load-url into a function
Put load-url into a function
Common Lisp
bsd-2-clause
AeroNotix/lispkit,AeroNotix/lispkit
common-lisp
## Code Before: (defpackage lispkit (:use :gtk :gdk :gdk-pixbuf :gobject :drakma :cl-webkit :glib :gio :pango :cairo :common-lisp) (:export #:main)) (in-package :lispkit) (defparameter *current-tab* nil) (defun handle-key (window event) (declare (ignore window)) (print event) nil) (defun m...
d299c8cf01a856e0c53599e0d0e45ef9063ccad7
engines/order_management/spec/services/order_management/stock/packer_spec.rb
engines/order_management/spec/services/order_management/stock/packer_spec.rb
require 'spec_helper' module OrderManagement module Stock describe Packer do let(:order) { create(:order_with_line_items, line_items_count: 5) } let(:stock_location) { create(:stock_location) } subject { Packer.new(stock_location, order) } before { order.line_items.first.variant.weight...
require 'spec_helper' module OrderManagement module Stock describe Packer do let(:order) { create(:order_with_line_items, line_items_count: 5) } let(:stock_location) { create(:stock_location) } subject { Packer.new(stock_location, order) } before { order.line_items.first.variant.update...
Update test setup in Packer spec.
Update test setup in Packer spec. This is the correct way to set a variant's weight.
Ruby
agpl-3.0
lin-d-hop/openfoodnetwork,Matt-Yorkley/openfoodnetwork,openfoodfoundation/openfoodnetwork,lin-d-hop/openfoodnetwork,mkllnk/openfoodnetwork,lin-d-hop/openfoodnetwork,mkllnk/openfoodnetwork,openfoodfoundation/openfoodnetwork,Matt-Yorkley/openfoodnetwork,openfoodfoundation/openfoodnetwork,lin-d-hop/openfoodnetwork,mkllnk/...
ruby
## Code Before: require 'spec_helper' module OrderManagement module Stock describe Packer do let(:order) { create(:order_with_line_items, line_items_count: 5) } let(:stock_location) { create(:stock_location) } subject { Packer.new(stock_location, order) } before { order.line_items.firs...
f8ac81301df0950c8fcd333a4d8954b9ab3736b6
tools/gen-code-from-swagger.sh
tools/gen-code-from-swagger.sh
version=0.15.0 # Always points to the directory of this script. DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" SWAGGER=$DIR/swagger-${version} if [ ! -f $SWAGGER ]; then curl -o $SWAGGER -L'#' https://github.com/go-swagger/go-swagger/releases/download/$version/swagger_$(echo `uname`|tr '[:upper:]' '[:lower...
version=0.15.0 # Always points to the directory of this script. DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" SWAGGER=$DIR/swagger-${version} if [ ! -f $SWAGGER ]; then curl -o $SWAGGER -L'#' https://github.com/go-swagger/go-swagger/releases/download/$version/swagger_$(echo `uname`|tr '[:upper:]' '[:lower...
Remove all models/operations before generating new ones
gh-396: Remove all models/operations before generating new ones This is an improvement, because otherwise now non-existing models and operations will be left behind as cruft.
Shell
bsd-3-clause
weaviate/weaviate,weaviate/weaviate
shell
## Code Before: version=0.15.0 # Always points to the directory of this script. DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" SWAGGER=$DIR/swagger-${version} if [ ! -f $SWAGGER ]; then curl -o $SWAGGER -L'#' https://github.com/go-swagger/go-swagger/releases/download/$version/swagger_$(echo `uname`|tr '[:u...
21ec062c9a6c9661b7a3808fbbbaf1681701760a
src/elements/linkedin-icon/index.js
src/elements/linkedin-icon/index.js
//@flow import React from "react"; import { Link } from "react-router-dom"; import { pure, compose, withState, withHandlers } from "recompose"; import { ThemeProvider } from "styled-components"; import mainTheme from "../../global/style/mainTheme"; import { Logo } from "./Logo"; const enhance = compose( withState(...
//@flow import React from "react"; import { pure, compose, withState, withHandlers } from "recompose"; import { ThemeProvider } from "styled-components"; import mainTheme from "../../global/style/mainTheme"; import { Logo } from "./Logo"; const enhance = compose( withState("isActive", "setActive", false), withHa...
Change Link component for a tag in LinkedIn logo
Change Link component for a tag in LinkedIn logo external links require an a tag to work correctly
JavaScript
mit
slightly-askew/portfolio-2017,slightly-askew/portfolio-2017
javascript
## Code Before: //@flow import React from "react"; import { Link } from "react-router-dom"; import { pure, compose, withState, withHandlers } from "recompose"; import { ThemeProvider } from "styled-components"; import mainTheme from "../../global/style/mainTheme"; import { Logo } from "./Logo"; const enhance = compo...
2272649aee64c2f35651dbea5acd2dc3c69a1024
cfg/layout/html:account:login.php
cfg/layout/html:account:login.php
<?php declare(strict_types=1); return [ 'toolbar' => [ 'active' => false, ], 'title' => [ 'parent_id' => 'content', 'sort' => 100, 'cfg' => [ 'text' => 'Login', ], ], 'main-content' => [ 'type' => 'login', 'parent_id' => 'content',...
<?php declare(strict_types=1); return [ 'toolbar' => [ 'active' => false, ], 'header' => [ 'active' => false, ], 'title' => [ 'parent_id' => 'content', 'sort' => 100, 'cfg' => [ 'text' => 'Login', ], ], 'main-content' => [ ...
Disable header on login page
Disable header on login page
PHP
mit
akilli/cms,akilli/cms,akilli/cms
php
## Code Before: <?php declare(strict_types=1); return [ 'toolbar' => [ 'active' => false, ], 'title' => [ 'parent_id' => 'content', 'sort' => 100, 'cfg' => [ 'text' => 'Login', ], ], 'main-content' => [ 'type' => 'login', 'parent_i...
868f210fe9250102e35b801654380c3a90f481c2
CONTRIBUTING.md
CONTRIBUTING.md
Contributing ============ We welcome contributions in the form of GitHub issues or pull requests. A [guide to contributing via GitHub][guide] is available. The documents are licensed under the [Creative Commons CC0 1.0 license][CC0]. Please review CC0 1.0 and agree to license your contributions under the same terms. ...
Contributing ============ We welcome contributions in the form of GitHub issues or pull requests. A [guide to contributing via GitHub][guide] is available. License and Disclaimer ---------------------- The documents are licensed under the [Creative Commons CC0 1.0 license][CC0]. Please review CC0 1.0 and agree to li...
Add Markdown formatting to contributing guidelines
Add Markdown formatting to contributing guidelines
Markdown
cc0-1.0
seriesnext/seriesnext,seriesnext/seriesnext
markdown
## Code Before: Contributing ============ We welcome contributions in the form of GitHub issues or pull requests. A [guide to contributing via GitHub][guide] is available. The documents are licensed under the [Creative Commons CC0 1.0 license][CC0]. Please review CC0 1.0 and agree to license your contributions under ...
b2cdf3495e3a87572695baec68a015fb7e38a714
core/app/controllers/users/passwords_controller.rb
core/app/controllers/users/passwords_controller.rb
class Users::PasswordsController < Devise::PasswordsController layout "one_column" def edit if params[:msg] # Warning! Also used for logging in unconfirmed users who request new password @user = User.where(reset_password_token: params[:reset_password_token].to_s).first if @user @user.skip...
class Users::PasswordsController < Devise::PasswordsController layout "one_column" end
Remove old approval flow, just have people use the reset password functionality
Remove old approval flow, just have people use the reset password functionality
Ruby
mit
daukantas/factlink-core,daukantas/factlink-core,Factlink/factlink-core,Factlink/factlink-core,Factlink/factlink-core,daukantas/factlink-core,Factlink/factlink-core,daukantas/factlink-core
ruby
## Code Before: class Users::PasswordsController < Devise::PasswordsController layout "one_column" def edit if params[:msg] # Warning! Also used for logging in unconfirmed users who request new password @user = User.where(reset_password_token: params[:reset_password_token].to_s).first if @user ...
c7608162a4dfc500c04475cf45583f0e358d0037
packages/webdriverio/src/index.ts
packages/webdriverio/src/index.ts
import { Browser } from 'mugshot'; /** * API adapter for WebdriverIO to make working with it saner. */ export default class WebdriverIOAdapter implements Browser { private browser: WebDriver.ClientAsync & WebdriverIOAsync.Browser; constructor(browser: WebDriver.ClientAsync & WebdriverIOAsync.Browser) { this...
import { Browser } from 'mugshot'; /* istanbul ignore next because this will get stringified and sent to the browser */ function getBoundingRect(selector: string): DOMRect { // @ts-ignore because querySelector can be null and we don't // care about browsers that don't support it. return document.querySelector(se...
Fix stringified function breaking under istanbul
Fix stringified function breaking under istanbul
TypeScript
mit
uberVU/mugshot,uberVU/mugshot
typescript
## Code Before: import { Browser } from 'mugshot'; /** * API adapter for WebdriverIO to make working with it saner. */ export default class WebdriverIOAdapter implements Browser { private browser: WebDriver.ClientAsync & WebdriverIOAsync.Browser; constructor(browser: WebDriver.ClientAsync & WebdriverIOAsync.Bro...
42a2254ad30a0edd3ae3f82deef3cae717bedfcc
.travis.yml
.travis.yml
language: php php: - '7.1' - '7.2' - '7.3' - '7.4snapshot' - nightly matrix: allow_failures: - php: nightly - php: '7.4snapshot' install: - composer update script: - vendor/bin/phpunit --coverage-clover build/coverage/xml after_script: - php vendor/bin/codacycoverage clover build/cover...
language: php php: - '7.1' - '7.2' - '7.3' - '7.4snapshot' - nightly matrix: allow_failures: - php: nightly - php: '7.4snapshot' install: - composer update script: - if [[ $(phpenv version-name) != '7.1' && $(phpenv version-name) != '7.2' ]] ; then vendor/bin/phpunit --coverage-clover bu...
Fix Travis, Xdebug old version coverage test. Coverage now only run on PHP >=7.3.
Fix Travis, Xdebug old version coverage test. Coverage now only run on PHP >=7.3.
YAML
mit
julien-boudry/Condorcet
yaml
## Code Before: language: php php: - '7.1' - '7.2' - '7.3' - '7.4snapshot' - nightly matrix: allow_failures: - php: nightly - php: '7.4snapshot' install: - composer update script: - vendor/bin/phpunit --coverage-clover build/coverage/xml after_script: - php vendor/bin/codacycoverage cl...
59373060d8d65384f6b78e5acf18a3ebff543045
_setup/utils/resolve-static-triggers.js
_setup/utils/resolve-static-triggers.js
'use strict'; var resolve = require('esniff/accessed-properties')('this') , memoize = require('memoizee/plain') , ignored = require('./meta-property-names') , re = new RegExp('^\\s*function\\s*(?:[\\0-\'\\)-\\uffff]+)*\\s*\\(\\s*' + '(_observe)?[\\/*\\s]*\\)\\s*\\{([\\0-\\uffff]*)\\}\\s*$') , ...
'use strict'; var resolve = require('esniff/accessed-properties')('this') , memoize = require('memoizee/plain') , ignored = require('./meta-property-names') , re = new RegExp('^\\s*function\\s*(?:[\\0-\'\\)-\\uffff]+)*\\s*\\(\\s*' + '(_observe)?[\\/*\\s]*\\)\\s*\\{([\\0-\\uffff]*)\\}\\s*$') , ...
Introduce better error reporting for getter errors
Introduce better error reporting for getter errors
JavaScript
mit
medikoo/dbjs
javascript
## Code Before: 'use strict'; var resolve = require('esniff/accessed-properties')('this') , memoize = require('memoizee/plain') , ignored = require('./meta-property-names') , re = new RegExp('^\\s*function\\s*(?:[\\0-\'\\)-\\uffff]+)*\\s*\\(\\s*' + '(_observe)?[\\/*\\s]*\\)\\s*\\{([\\0-\\uffff]*...
97e69624bf6f2e5ff7e5bbe199136588a613d282
src/Consul/ConsulDns.php
src/Consul/ConsulDns.php
<?php namespace CascadeEnergy\ServiceDiscovery\Consul; use CascadeEnergy\ServiceDiscovery\ServiceDiscoveryClientInterface; class ConsulDns implements ServiceDiscoveryClientInterface { private $lookupService; public function __construct(callable $lookupService = null) { $this->lookupService = $lo...
<?php namespace CascadeEnergy\ServiceDiscovery\Consul; use CascadeEnergy\ServiceDiscovery\ServiceDiscoveryClientInterface; class ConsulDns implements ServiceDiscoveryClientInterface { private $lookupService; public function __construct(callable $lookupService = null) { $this->lookupService = $lo...
Fix ip -> target bug
Fix ip -> target bug
PHP
mit
CascadeEnergy/php-consul-client
php
## Code Before: <?php namespace CascadeEnergy\ServiceDiscovery\Consul; use CascadeEnergy\ServiceDiscovery\ServiceDiscoveryClientInterface; class ConsulDns implements ServiceDiscoveryClientInterface { private $lookupService; public function __construct(callable $lookupService = null) { $this->loo...
67d60965fe518c4ffc791e9561be44569aa94f52
project.properties
project.properties
target=android-21 android.library.reference.1=..\\..\\workspace\\cardview android.library.reference.2=../../workspace/android-support-v7-appcompat
proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt # Project target. target=android-21 android.library.reference.1=..\\..\\workspace\\cardview android.library.reference.2=../../workspace/android-support-v7-appcompat
Enable ProGuard to strip out unnecessary code from the support library
Enable ProGuard to strip out unnecessary code from the support library
INI
apache-2.0
blunden/haveibeenpwned
ini
## Code Before: target=android-21 android.library.reference.1=..\\..\\workspace\\cardview android.library.reference.2=../../workspace/android-support-v7-appcompat ## Instruction: Enable ProGuard to strip out unnecessary code from the support library ## Code After: proguard.config=${sdk.dir}/tools/proguard/proguard-and...
ec69bffd1e732a55a3211cfd65f3bef6aed33a39
src/validate.rs
src/validate.rs
/// Validation provider pub trait Validator { fn is_valid(&self, line: &str) -> bool; } impl Validator for () { fn is_valid(&self, _line: &str) -> bool { true } }
//! Input buffer validation API (Multi-line editing) /// This trait provides an extension interface for determining whether /// the current input buffer is valid. Rustyline uses the method /// provided by this trait to decide whether hitting the enter key /// will end the current editing session and return the current...
Improve documentation for new Validation trait
Improve documentation for new Validation trait
Rust
mit
kkawakam/rustyline
rust
## Code Before: /// Validation provider pub trait Validator { fn is_valid(&self, line: &str) -> bool; } impl Validator for () { fn is_valid(&self, _line: &str) -> bool { true } } ## Instruction: Improve documentation for new Validation trait ## Code After: //! Input buffer validation API (Multi-l...
80ccc5ef130979ddfbf4dfa142356c4f48e2ae0d
README.md
README.md
Pliny is a template Sinatra app to implement postgres-backed APIs.
Pliny is a template Sinatra app to implement postgres-backed APIs. ``` bundle install createdb pliny-development foreman start web ``
Add setup instructions for Pliny
Add setup instructions for Pliny
Markdown
mit
uhoh-itsmaciek/transferatu,uhoh-itsmaciek/transferatu,neilmiddleton/pliny-test,heroku/pgperf,heroku/pgperf,ukd1/transferatu,ukd1/transferatu
markdown
## Code Before: Pliny is a template Sinatra app to implement postgres-backed APIs. ## Instruction: Add setup instructions for Pliny ## Code After: Pliny is a template Sinatra app to implement postgres-backed APIs. ``` bundle install createdb pliny-development foreman start web ``
7ad3de734a21e8a42d7f6993da684dff5bcfb67c
tox-requirements.txt
tox-requirements.txt
tox < 3.0.0; python_version == '3.3' tox; python_version != '3.3' virtualenv == 15.2.0; python_version == '3.3'
tox < 3.0.0; python_version == '3.3' tox < 4.0.0; implementation_name == 'pypy' tox; python_version != '3.3' and implementation_name != 'pypy' virtualenv == 15.2.0; python_version == '3.3'
Use older tox for the pypy python
Use older tox for the pypy python
Text
bsd-3-clause
sjagoe/haas,sjagoe/haas,itziakos/haas,scalative/haas,scalative/haas,itziakos/haas
text
## Code Before: tox < 3.0.0; python_version == '3.3' tox; python_version != '3.3' virtualenv == 15.2.0; python_version == '3.3' ## Instruction: Use older tox for the pypy python ## Code After: tox < 3.0.0; python_version == '3.3' tox < 4.0.0; implementation_name == 'pypy' tox; python_version != '3.3' and implementati...
c8978063a6e6fab40a58774610140e22e1621b98
.travis.yml
.travis.yml
language: rust rust: - stable - beta - nightly sudo: false addons: apt: packages: - libgl1-mesa-dev os: - linux - osx
language: rust rust: - stable - beta - nightly sudo: false addons: apt: packages: - libgl1-mesa-dev os: - linux - osx matrix: allow_failures: - rust: nightly - rust: beta
Allow nightly and beta to fail
Allow nightly and beta to fail
YAML
apache-2.0
gltf-rs/gltf,warmwaffles/gltf
yaml
## Code Before: language: rust rust: - stable - beta - nightly sudo: false addons: apt: packages: - libgl1-mesa-dev os: - linux - osx ## Instruction: Allow nightly and beta to fail ## Code After: language: rust rust: - stable - beta - nightly sudo: false ...
d0f0ec5be3d318f5abfcd1c72846cbb849ecf8fd
.config/fish/functions/fs.fish
.config/fish/functions/fs.fish
function fs --argument-names function_name set -l dest_file ~/.config/fish/functions/$function_name.fish set -l original_contents set -l comment_lines if test -e $dest_file set original_contents (cat $dest_file) for line in $original_contents # Collect lines starting with a ...
function fs --argument function_name set -l dest_file ~/.config/fish/functions/$function_name.fish set -l original_contents set -l comment_lines if test -e $dest_file set original_contents (cat $dest_file) for line in $original_contents # Collect lines starting with a hash ...
Use fish_indent to fix funcsave output
Use fish_indent to fix funcsave output
fish
mit
phatblat/dotfiles,phatblat/dotfiles,phatblat/dotfiles,phatblat/dotfiles,phatblat/dotfiles,phatblat/dotfiles
fish
## Code Before: function fs --argument-names function_name set -l dest_file ~/.config/fish/functions/$function_name.fish set -l original_contents set -l comment_lines if test -e $dest_file set original_contents (cat $dest_file) for line in $original_contents # Collect lines ...
7cda51f02ad3a423974ec837c28480d75ef469f2
features/chart_of_accounts/organization_review.feature
features/chart_of_accounts/organization_review.feature
Feature: Organization Review [KFSQA-583] As a KFS Chart Administrator I want to copy an Organization without getting an error. [KFSQA-584] As a KFS Chart Manager, the Organization Review document should route to final. @KFSQA-583 @Bug @OrgMaint @KFSMI-9622 @hare @solid Scenario: Select an Organization Review...
Feature: Organization Review [KFSQA-583] As a KFS Chart Manager, I want to edit, copy, or create delegation for an Organization Review without getting an Incident Report. [KFSQA-584] As a KFS Chart Manager, the Organization Review document should route to final. @KFSQA-583 @Bug @OrgMaint @KFSMI-...
Fix KFSQA-583 and KFSQA-584 false positive tests. Removed caching for global_config methods that looked up the first or a random principal name and continued to use that same value throughout the test even when a different value would be needed. Added fail for the AFT with a more descriptive error message when method K...
[KFSQA-1147] Fix KFSQA-583 and KFSQA-584 false positive tests. Removed caching for global_config methods that looked up the first or a random principal name and continued to use that same value throughout the test even when a different value would be needed. Added fail for the AFT with a more descriptive error message ...
Cucumber
apache-2.0
CU-CommunityApps/kuality-kfs-cu
cucumber
## Code Before: Feature: Organization Review [KFSQA-583] As a KFS Chart Administrator I want to copy an Organization without getting an error. [KFSQA-584] As a KFS Chart Manager, the Organization Review document should route to final. @KFSQA-583 @Bug @OrgMaint @KFSMI-9622 @hare @solid Scenario: Select an Org...
55f4dac3d3569fb4b8c35f5e63ead24b97316921
packages/tux/src/utils/accessors.ts
packages/tux/src/utils/accessors.ts
/** * Gets the value of a property on an object. * * @param {Object} obj The value to be clamped * @param {String} key The lower boundary of the output range * @returns {Object} the property value or 'null'. */ export function get(obj: any, key: string | string[]): any { if (key.length === 0 || !obj) { retu...
/** * Gets the value of a property on an object. * * @param {Object} obj The value to be clamped * @param {String} key The lower boundary of the output range * @returns {Object} the property value or 'null'. */ export function get(obj: any, key: string | string[]): any { if (key.length === 0 || !obj) { retu...
Add an empty-key guard around logic in set
Add an empty-key guard around logic in set
TypeScript
mit
aranja/tux,aranja/tux,aranja/tux
typescript
## Code Before: /** * Gets the value of a property on an object. * * @param {Object} obj The value to be clamped * @param {String} key The lower boundary of the output range * @returns {Object} the property value or 'null'. */ export function get(obj: any, key: string | string[]): any { if (key.length === 0 || ...
03f7e80234d5209aec5fb08110abb7ecfc3e84b5
FlipConnectSDK/FCConfiguration.swift
FlipConnectSDK/FCConfiguration.swift
// // FCConfiguration.swift // FlipConnectSDK // // Created by Munir Wanis on 01/08/17. // Copyright © 2017 Flip Connect. All rights reserved. // import Foundation public class FCConfiguration { /** Initialize the necessary configurations to run the SDK - Parameters: - apiToken: T...
// // FCConfiguration.swift // FlipConnectSDK // // Created by Munir Wanis on 01/08/17. // Copyright © 2017 Flip Connect. All rights reserved. // import Foundation public class FCConfiguration { /** Initialize the necessary configurations to run the SDK - Parameters: - apiToken: T...
Make Configuration properties static and internal
:art: Make Configuration properties static and internal
Swift
mit
Flip-Payments/connect-sdk-ios,Flip-Payments/connect-sdk-ios,Flip-Payments/connect-sdk-ios,Flip-Payments/connect-sdk-ios
swift
## Code Before: // // FCConfiguration.swift // FlipConnectSDK // // Created by Munir Wanis on 01/08/17. // Copyright © 2017 Flip Connect. All rights reserved. // import Foundation public class FCConfiguration { /** Initialize the necessary configurations to run the SDK - Parameters: ...
8289fe9763e3f0ad18777f193dd1e24bd8cf1ae1
source/handbook/people-operations/OKR/index.html.md
source/handbook/people-operations/OKR/index.html.md
--- layout: markdown_page title: "OKRs and LatticeHQ" --- Our Objectives & Key Results (OKRs) are all to be found in [LatticeHQ](https://gitlab.latticehq.com). Use this page to find or add tips, tricks, and guidance on OKRs generally and on how to use LatticeHQ specifically. ### Child Goals vs. Key Results The key...
--- layout: markdown_page title: "OKRs and LatticeHQ" --- Our Objectives & Key Results (OKRs) are all to be found in [LatticeHQ](https://gitlab.latticehq.com). Use this page to find or add tips, tricks, and guidance on OKRs generally and on how to use LatticeHQ specifically. ### Child Goals vs. Key Results The key...
Document how to change your name in LatticeHQ
Document how to change your name in LatticeHQ
Markdown
mit
damianhakert/damianhakert.github.io
markdown
## Code Before: --- layout: markdown_page title: "OKRs and LatticeHQ" --- Our Objectives & Key Results (OKRs) are all to be found in [LatticeHQ](https://gitlab.latticehq.com). Use this page to find or add tips, tricks, and guidance on OKRs generally and on how to use LatticeHQ specifically. ### Child Goals vs. Key ...
e1d649b029930cd0df4625277d37b7abb04fc2db
bufferpool_test.go
bufferpool_test.go
// Copyright 2013 The Bufferpool Authors. All rights reserved. // Use of this source code is governed by the BSD 2-Clause license, // which can be found in the LICENSE file. package bufferpool_test import ( "bytes" "fmt" "testing" "github.com/pushrax/bufferpool" ) func TestTakeFromEmpty(t *testing.T) { bp := b...
// Copyright 2013 The Bufferpool Authors. All rights reserved. // Use of this source code is governed by the BSD 2-Clause license, // which can be found in the LICENSE file. package bufferpool_test import ( "bytes" "fmt" "testing" "github.com/pushrax/bufferpool" ) func TestTakeFromEmpty(t *testing.T) { bp := b...
Make the example reflect a normal use-case
Make the example reflect a normal use-case
Go
bsd-2-clause
pushrax/bufferpool
go
## Code Before: // Copyright 2013 The Bufferpool Authors. All rights reserved. // Use of this source code is governed by the BSD 2-Clause license, // which can be found in the LICENSE file. package bufferpool_test import ( "bytes" "fmt" "testing" "github.com/pushrax/bufferpool" ) func TestTakeFromEmpty(t *testi...
2c67aee5d8d71d1e4859b265d254f4bb9e8d5154
PUWI_LaunchBrowser.php
PUWI_LaunchBrowser.php
<?php class PUWI_LaunchBrowser{ public function getProjectName($projectName){ $names=preg_split("/[\/]tests/",$projectName); $projectName=explode("/",$names[0]); $size=sizeof($projectName); return $projectName[$size-1]; } /* *@param integer $totalTests *@param string $projectName */ public function...
<?php class PUWI_LaunchBrowser{ /* *@param integer $totalTests *@param string $projectName */ public function launchBrowser($totalTests,$projectName,$passed,$failures){ $passed=PUWI_LaunchBrowser::send_array($passed); $failures=PUWI_LaunchBrowser::send_array($failures); $projectName=PUWI_LaunchBrowser:...
Send information about single tests to browser
Send information about single tests to browser
PHP
bsd-3-clause
LuciaPerez/PUWI,LuciaPerez/PUWI,LuciaPerez/PUWI
php
## Code Before: <?php class PUWI_LaunchBrowser{ public function getProjectName($projectName){ $names=preg_split("/[\/]tests/",$projectName); $projectName=explode("/",$names[0]); $size=sizeof($projectName); return $projectName[$size-1]; } /* *@param integer $totalTests *@param string $projectName */ ...
a3e3e45701beb8dfd9b90cb33061d70e77c10e55
spec/lib/vimwiki_markdown/options_spec.rb
spec/lib/vimwiki_markdown/options_spec.rb
require 'spec_helper' require 'vimwiki_markdown/options' module VimwikiMarkdown describe Options do subject { Options.new } context "no options passed" do before do allow(Options).to receive(:arguments).and_return(Options::DEFAULTS) end its(:force) { should be(true) } its(:s...
require 'spec_helper' require 'vimwiki_markdown/options' module VimwikiMarkdown describe Options do subject { Options.new } context "no options passed" do before do allow(Options).to receive(:arguments).and_return(Options::DEFAULTS) end its(:force) { should be(true) } its(:s...
Add basic covering spec for extension
Add basic covering spec for extension
Ruby
mit
patrickdavey/vimwiki_markdown
ruby
## Code Before: require 'spec_helper' require 'vimwiki_markdown/options' module VimwikiMarkdown describe Options do subject { Options.new } context "no options passed" do before do allow(Options).to receive(:arguments).and_return(Options::DEFAULTS) end its(:force) { should be(true...
b0b6b878bf073707dba593f834f091775b2332d1
.eslintrc.json
.eslintrc.json
{ "extends": "airbnb-base", "env": { "es6": true, "mocha": true, "node": true }, "rules": { "comma-dangle": ["error", { "arrays": "always-multiline", "objects": "always-multiline", "imports": "always-multiline", "exports": "always-multiline", "functions": "ignore" ...
{ "extends": "airbnb-base", "env": { "es6": true, "mocha": true, "node": true }, "rules": { "comma-dangle": ["error", { "arrays": "always-multiline", "objects": "always-multiline", "imports": "always-multiline", "exports": "always-multiline", "functions": "ignore" ...
Update eslint config to allow unused vars
Update eslint config to allow unused vars
JSON
mit
lentz/buddyduel,lentz/buddyduel,lentz/buddyduel
json
## Code Before: { "extends": "airbnb-base", "env": { "es6": true, "mocha": true, "node": true }, "rules": { "comma-dangle": ["error", { "arrays": "always-multiline", "objects": "always-multiline", "imports": "always-multiline", "exports": "always-multiline", "functi...
8db5ba61283460eed315863ecf6477891fc9b368
devmgmtV2/controllers/ssid.controller.js
devmgmtV2/controllers/ssid.controller.js
"use strict" const path = require('path'); const exec = require('child_process').exec; const setSSID = (req, res) => { const ssid = req.body['ssid'].trim(); let responseData = { ssidSetSuccessful : true, msg : 'Successfully set the ssid id to ' + ssid } if (typeof ssid === "undefin...
"use strict" const path = require('path'); const exec = require('child_process').exec; const setSSID = (req, res) => { const ssid = req.body['ssid'].trim(); let responseData = { ssidSetSuccessful : true, msg : 'Successfully set the ssid id to ' + ssid } if (typeof ssid === "undefin...
Return response without calling scripts if the input data is invalid
Return response without calling scripts if the input data is invalid
JavaScript
mit
projectOpenRAP/OpenRAP,projectOpenRAP/OpenRAP,projectOpenRAP/OpenRAP,projectOpenRAP/OpenRAP,projectOpenRAP/OpenRAP
javascript
## Code Before: "use strict" const path = require('path'); const exec = require('child_process').exec; const setSSID = (req, res) => { const ssid = req.body['ssid'].trim(); let responseData = { ssidSetSuccessful : true, msg : 'Successfully set the ssid id to ' + ssid } if (typeof s...
33349db083f51a35bb44cd53d9c5c73df7b4c1e5
.rubocop.yml
.rubocop.yml
Style/Documentation: Enabled: false Lint/HandleExceptions: Exclude: - Rakefile
Style/Documentation: Enabled: false Lint/HandleExceptions: Exclude: - Rakefile Metrics/LineLength: Max: 120
Raise Rubocop's LineLength to 120
Raise Rubocop's LineLength to 120
YAML
mit
jbilbo/syfyfancam-downloader
yaml
## Code Before: Style/Documentation: Enabled: false Lint/HandleExceptions: Exclude: - Rakefile ## Instruction: Raise Rubocop's LineLength to 120 ## Code After: Style/Documentation: Enabled: false Lint/HandleExceptions: Exclude: - Rakefile Metrics/LineLength: Max: 120
e00b93814fb7dc38b8ccde3e47d86687c35256a0
coffee-chats/src/main/java/com/google/step/coffee/tasks/RequestMatchingTask.java
coffee-chats/src/main/java/com/google/step/coffee/tasks/RequestMatchingTask.java
package com.google.step.coffee.tasks; import com.google.appengine.api.users.UserService; import com.google.appengine.api.users.UserServiceFactory; import com.google.step.coffee.PermissionChecker; import com.google.step.coffee.UserManager; import com.google.step.coffee.data.RequestStore; import com.google.step.coffee.e...
package com.google.step.coffee.tasks; import com.google.appengine.api.users.UserService; import com.google.appengine.api.users.UserServiceFactory; import com.google.step.coffee.PermissionChecker; import com.google.step.coffee.UserManager; import com.google.step.coffee.data.RequestStore; import com.google.step.coffee.e...
Change request matching cron to not allow admins to run directly
Change request matching cron to not allow admins to run directly
Java
apache-2.0
googleinterns/step250-2020,googleinterns/step250-2020,googleinterns/step250-2020,googleinterns/step250-2020
java
## Code Before: package com.google.step.coffee.tasks; import com.google.appengine.api.users.UserService; import com.google.appengine.api.users.UserServiceFactory; import com.google.step.coffee.PermissionChecker; import com.google.step.coffee.UserManager; import com.google.step.coffee.data.RequestStore; import com.goog...
201579d1cdeadb0bacaf4e9b7b13e4d89a0a6054
planner/templates/planner/signup.html
planner/templates/planner/signup.html
<!DOCTYPE html> <html lang="it"> <head> <title>Sign up</title> {% include 'planner/elements/base_head.html' %} </head> <body> {% if user_signup.errors %} {{ user_signup.error }} {% endif %} {% if profile_signup.errors %} {{ profile_signup.errors }} {% endif %} <form method="post" action="{% url 'planner...
<!DOCTYPE html> <html lang="it"> <head> <title>Sign up</title> {% include 'planner/elements/base_head.html' %} </head> <body> <form method="post" action="{% url 'planner:signup' %}"> {% csrf_token %} {{ user_signup.as_p }} {{ profile_signup.as_p }} <button>Sign up</button> </form> </body> </html...
Remove duplicate errors. They already appear close to the input if any
Remove duplicate errors. They already appear close to the input if any
HTML
mit
livingsilver94/getaride,livingsilver94/getaride,livingsilver94/getaride
html
## Code Before: <!DOCTYPE html> <html lang="it"> <head> <title>Sign up</title> {% include 'planner/elements/base_head.html' %} </head> <body> {% if user_signup.errors %} {{ user_signup.error }} {% endif %} {% if profile_signup.errors %} {{ profile_signup.errors }} {% endif %} <form method="post" action=...
f84bc64e41c2f33a5d6224cc46ab905c4a429352
.travis.yml
.travis.yml
dist: trusty before_install: - npm install -g npm@latest - npm set progress=false language: node_js node_js: - "5.7" - "4.3" - "3.3" - "0.10" script: npm run test:ci after_success: - curl -Lo travis_after_all.py https://raw.githubusercontent.com/contentful/travis_after_all/master/travis_after_all.py - p...
dist: trusty before_install: - npm install -g npm@latest - npm set progress=false language: node_js node_js: - "5.7" - "0.10" script: npm run test:ci after_success: - curl -Lo travis_after_all.py https://raw.githubusercontent.com/contentful/travis_after_all/master/travis_after_all.py - python travis_after_a...
Remove node 3 and 5 builds
chore: Remove node 3 and 5 builds Previous number of builds quickly blows up the space creation rate limit.
YAML
mit
contentful/contentful-management.js,contentful/contentful-management.js
yaml
## Code Before: dist: trusty before_install: - npm install -g npm@latest - npm set progress=false language: node_js node_js: - "5.7" - "4.3" - "3.3" - "0.10" script: npm run test:ci after_success: - curl -Lo travis_after_all.py https://raw.githubusercontent.com/contentful/travis_after_all/master/travis_af...
f6d8cba8e8aaa443969737b494bf3e7fc000b8f4
utils/scripts/header_setup/replace_all.sh
utils/scripts/header_setup/replace_all.sh
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" # Change to root compss directory cd "${SCRIPT_DIR}/../../../compss/" || exit 1 # Add java headers find . -name "*.java" -exec "${SCRIPT_DIR}/replace_header.sh" {} java_c \; # Add c headers find . -name "*.c" -exec "${SCRIPT_DIR}/replace_...
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" INSPECTED_DIRS="compss maven-plugins performance_analysis utils/storage" # # HELPER METHODS # change_headers() { # Add java headers find . -name "*.java" -exec "${SCRIPT_DIR}/replace_header.sh" {} java_c \; # Add c headers find . -name "*.c" -exe...
Update replace headers script to handle all repo files
Update replace headers script to handle all repo files
Shell
apache-2.0
mF2C/COMPSs,mF2C/COMPSs,mF2C/COMPSs,mF2C/COMPSs,mF2C/COMPSs,mF2C/COMPSs
shell
## Code Before: SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" # Change to root compss directory cd "${SCRIPT_DIR}/../../../compss/" || exit 1 # Add java headers find . -name "*.java" -exec "${SCRIPT_DIR}/replace_header.sh" {} java_c \; # Add c headers find . -name "*.c" -exec "${SCRI...
a8432a4cf010ecce3202dc05da512fed9c967f79
README.md
README.md
A [Docker](https://www.docker.com/) container with - node 0.10 (latest) - npm 2.7.x - chrome + firefox for karma headless testing
A [Docker](https://www.docker.com/) container with - node 0.10 (latest) - npm 2.7.x - chrome + firefox for karma headless testing ```bash # run it $ docker run emmenko/nodejs-karma:v0.1.3 sh -lc "ps aux |grep Xvfb" stdin: is not a tty Starting virtual X frame buffer: Xvfb. root 1 0.0 0.0 4444 1708 ? ...
Add example how to run it
Add example how to run it
Markdown
mit
nitrojs/docker-nodejs-karma,emmenko/docker-nodejs-karma
markdown
## Code Before: A [Docker](https://www.docker.com/) container with - node 0.10 (latest) - npm 2.7.x - chrome + firefox for karma headless testing ## Instruction: Add example how to run it ## Code After: A [Docker](https://www.docker.com/) container with - node 0.10 (latest) - npm 2.7.x - chrome + firefox for karma ...
7afba7da053e3ee76e429b735fa92a93d5d5ed4c
python/README.md
python/README.md
* [Solving problems using Python](#solving-problems-using-python) * [Q1: Join elements in an array](#q1-join-elements-in-an-array) * [Q2: Pop elements in an array](#q2-pop-elements-in-an-array) * [Q3: Print n elements in a string](#q3-print-n-elements-in-a-string) ##Q1: Join elements in an array a1 ...
* [Solving problems using Python](#solving-problems-using-python) * [Q1: Join elements in an array](#q1-join-elements-in-an-array) * [Q2: Pop elements in an array](#q2-pop-elements-in-an-array) * [Q3: Print n elements in a string](#q3-print-n-elements-in-a-string) ##Q1: Join elements in an array a1 ...
Add question to get information about python modules
Add question to get information about python modules
Markdown
mit
harishvc/tools,harishvc/tools,harishvc/tools,harishvc/tools,harishvc/tools
markdown
## Code Before: * [Solving problems using Python](#solving-problems-using-python) * [Q1: Join elements in an array](#q1-join-elements-in-an-array) * [Q2: Pop elements in an array](#q2-pop-elements-in-an-array) * [Q3: Print n elements in a string](#q3-print-n-elements-in-a-string) ##Q1: Join elements in ...
2a4a0c4d71dcbc1820de85c4576aadae7bc17c70
src/backend/nls.mk
src/backend/nls.mk
CATALOG_NAME := postgres AVAIL_LANGUAGES := cs de es hr hu ru sv tr zh_CN zh_TW GETTEXT_FILES := + gettext-files GETTEXT_TRIGGERS:= elog:2 postmaster_error yyerror gettext-files: find $(srcdir)/ -name '*.c' -print >$@ my-maintainer-clean: rm -f gettext-files .PHONY: my-maintainer-clean maintainer-clean: my-maintai...
CATALOG_NAME := postgres AVAIL_LANGUAGES := cs de es hr hu ru sv tr zh_CN zh_TW GETTEXT_FILES := + gettext-files # elog should eventually be removed from this list: GETTEXT_TRIGGERS:= elog:2 errmsg errdetail errhint errcontext postmaster_error yyerror gettext-files: find $(srcdir)/ -name '*.c' -print >$@ my-maintain...
Add ereport-related functions to GETTEXT_TRIGGERS list.
Add ereport-related functions to GETTEXT_TRIGGERS list.
Makefile
apache-2.0
lintzc/gpdb,atris/gpdb,rubikloud/gpdb,janebeckman/gpdb,rvs/gpdb,kmjungersen/PostgresXL,xinzweb/gpdb,randomtask1155/gpdb,foyzur/gpdb,lisakowen/gpdb,50wu/gpdb,50wu/gpdb,CraigHarris/gpdb,zeroae/postgres-xl,rubikloud/gpdb,janebeckman/gpdb,atris/gpdb,tpostgres-projects/tPostgres,techdragon/Postgres-XL,lpetrov-pivotal/gpdb,g...
makefile
## Code Before: CATALOG_NAME := postgres AVAIL_LANGUAGES := cs de es hr hu ru sv tr zh_CN zh_TW GETTEXT_FILES := + gettext-files GETTEXT_TRIGGERS:= elog:2 postmaster_error yyerror gettext-files: find $(srcdir)/ -name '*.c' -print >$@ my-maintainer-clean: rm -f gettext-files .PHONY: my-maintainer-clean maintainer-c...
6f1ef6a2567963ba0b44fea68312a781022e7b97
cleanup.sh
cleanup.sh
git clean -df git checkout app_prototype/config/routes.rb app_prototype/db/schema.rb rm -rfv app_prototype/log/* rm -rfv app_prototype/tmp/* rm -rfv app_prototype/coverage
git clean -df git checkout app_prototype/config/routes.rb app_prototype/db/schema.rb find . -name ".DS_Store" -exec rm -f {} \; rm -rfv app_prototype/.DS_Store rm -rfv app_prototype/log/* rm -rfv app_prototype/tmp/* rm -rfv app_prototype/coverage
Remove all instances of .DS_Store.
Remove all instances of .DS_Store.
Shell
mit
carbonfive/raygun,carbonfive/raygun
shell
## Code Before: git clean -df git checkout app_prototype/config/routes.rb app_prototype/db/schema.rb rm -rfv app_prototype/log/* rm -rfv app_prototype/tmp/* rm -rfv app_prototype/coverage ## Instruction: Remove all instances of .DS_Store. ## Code After: git clean -df git checkout app_prototype/config/routes.rb app...
fc361b827f4b77f56704177b41e4d6d2f96e3f2f
app/models/channel/email_send.rb
app/models/channel/email_send.rb
require 'net/imap' module Channel::EmailSend def self.send(article, notification = false) channel = Channel.find_by( area: 'Email::Outbound', active: true ) begin # we need to require the channel backend individually otherwise we get a # 'warning: toplevel constant Twitter referenced by Channel:...
require 'net/imap' module Channel::EmailSend def self.send(article, notification = false) channel = Channel.find_by( area: 'Email::Outbound', active: true ) begin # we need to require the channel backend individually otherwise we get a # 'warning: toplevel constant Twitter referenced by Channel:...
Return result. Needed for tests.
Return result. Needed for tests.
Ruby
agpl-3.0
zammad/zammad,zammad/zammad,monotek/zammad,monotek/zammad,monotek/zammad,monotek/zammad,zammad/zammad,zammad/zammad,monotek/zammad,zammad/zammad,zammad/zammad,monotek/zammad
ruby
## Code Before: require 'net/imap' module Channel::EmailSend def self.send(article, notification = false) channel = Channel.find_by( area: 'Email::Outbound', active: true ) begin # we need to require the channel backend individually otherwise we get a # 'warning: toplevel constant Twitter refere...
b394f79132d952be20baf15725715691ace69ced
web/slas-web/web/urls.py
web/slas-web/web/urls.py
from django.conf.urls import include, url from django.contrib import admin urlpatterns = [ url(r'^general/', include('general.urls', namespace='general')), url(r'^apache/', include('apache.urls', namespace='apache')), url(r'^bash/', include('bash.urls', namespace='bash')), url(r'^admin/', include(admin...
from django.conf.urls import include, url from django.contrib import admin urlpatterns = [ url(r'^general/', include('general.urls', namespace='general')), url(r'^apache/', include('apache.urls', namespace='apache')), url(r'^bash/', include('bash.urls', namespace='bash')), url(r'^admin/', include(admin...
Change web admin page title
Change web admin page title
Python
mit
chyla/slas,chyla/pat-lms,chyla/slas,chyla/pat-lms,chyla/slas,chyla/pat-lms,chyla/slas,chyla/slas,chyla/pat-lms,chyla/pat-lms,chyla/slas,chyla/pat-lms,chyla/slas,chyla/pat-lms
python
## Code Before: from django.conf.urls import include, url from django.contrib import admin urlpatterns = [ url(r'^general/', include('general.urls', namespace='general')), url(r'^apache/', include('apache.urls', namespace='apache')), url(r'^bash/', include('bash.urls', namespace='bash')), url(r'^admin/...
1eaae78c14b26378a606221eb61f97ec15134baa
src/gpl/test/simple01-td.py
src/gpl/test/simple01-td.py
from openroad import Design, Tech import helpers import gpl_aux tech = Tech() tech.readLiberty("./library/nangate45/NangateOpenCellLibrary_typical.lib") tech.readLef("./nangate45.lef") design = Design(tech) design.readDef("./simple01-td.def") design.evalTclString("create_clock -name core_clock -period 2 clk") design...
from openroad import Design, Tech import helpers import gpl_aux tech = Tech() tech.readLiberty("./library/nangate45/NangateOpenCellLibrary_typical.lib") tech.readLef("./nangate45.lef") design = Design(tech) design.readDef("./simple01-td.def") design.evalTclString("create_clock -name core_clock -period 2 clk") design...
Remove dead code from test
Remove dead code from test Signed-off-by: Don MacMillen <1f1e67e5fdb25d2e5cd18ddc0fee425272daab56@macmillen.net>
Python
bsd-3-clause
The-OpenROAD-Project/OpenROAD,The-OpenROAD-Project/OpenROAD,The-OpenROAD-Project/OpenROAD,The-OpenROAD-Project/OpenROAD,QuantamHD/OpenROAD,The-OpenROAD-Project/OpenROAD,QuantamHD/OpenROAD,QuantamHD/OpenROAD,QuantamHD/OpenROAD,QuantamHD/OpenROAD
python
## Code Before: from openroad import Design, Tech import helpers import gpl_aux tech = Tech() tech.readLiberty("./library/nangate45/NangateOpenCellLibrary_typical.lib") tech.readLef("./nangate45.lef") design = Design(tech) design.readDef("./simple01-td.def") design.evalTclString("create_clock -name core_clock -period...
1b6bd4316fe8cfafcf9af5460cfcbc58a4a689c2
ruby/tracery.gemspec
ruby/tracery.gemspec
file_list = Dir["lib/*.rb"] test_file_list = Dir["test/*.rb"] Gem::Specification.new do |s| s.name = "tracery" s.version = "0.7.2" s.date = "2016-02-27" s.summary = "A text expansion library" s.description = <<EOF Tracery is a library for text generation. The text is expanded by traver...
file_list = Dir["lib/*.rb"] test_file_list = Dir["test/*.rb"] Gem::Specification.new do |s| s.name = "tracery" s.version = "0.7.3" s.date = Date.today.to_s s.summary = "A text expansion library" s.description = <<EOF Tracery is a library for text generation. The text is expanded by tra...
Fix gem date for future publishing.
Fix gem date for future publishing.
Ruby
apache-2.0
elib/tracery
ruby
## Code Before: file_list = Dir["lib/*.rb"] test_file_list = Dir["test/*.rb"] Gem::Specification.new do |s| s.name = "tracery" s.version = "0.7.2" s.date = "2016-02-27" s.summary = "A text expansion library" s.description = <<EOF Tracery is a library for text generation. The text is ex...
b71d8da933ef1a1fe4893398666ace720bcd8131
packages/wr/wrapped.yaml
packages/wr/wrapped.yaml
homepage: https://github.com/google/hs-wrapped#readme changelog-type: markdown hash: 2852522f3c67c36aff10bbda7651b5410a642502d535b7e22f0e76bdc004d461 test-bench-deps: {} maintainer: Andrew Pritchard <awpr@google.com> synopsis: Newtypes to carry DerivingVia instances changelog: | # 0.1.0.0 Initial version. # 0.1...
homepage: https://github.com/google/hs-wrapped#readme changelog-type: markdown hash: 7896256898d424e9e72bf4fc235701e64f76faa8ed9393c93e975338ddcd54ad test-bench-deps: {} maintainer: Andrew Pritchard <awpr@google.com> synopsis: Newtypes to carry DerivingVia instances changelog: | # 0.1.0.0 Initial version. # 0.1...
Update from Hackage at 2021-11-03T06:39:57Z
Update from Hackage at 2021-11-03T06:39:57Z
YAML
mit
commercialhaskell/all-cabal-metadata
yaml
## Code Before: homepage: https://github.com/google/hs-wrapped#readme changelog-type: markdown hash: 2852522f3c67c36aff10bbda7651b5410a642502d535b7e22f0e76bdc004d461 test-bench-deps: {} maintainer: Andrew Pritchard <awpr@google.com> synopsis: Newtypes to carry DerivingVia instances changelog: | # 0.1.0.0 Initial v...
194044350a9e84b52dc911a82336b7e31b11c654
tox.ini
tox.ini
[tox] envlist = py{27,32,33}-django{16,17,18},psql,pep8,coverage [testenv] deps = pytz PyYAML djangorestframework>=3.0 django16: Django>=1.6,<1.7 django17: Django>=1.7,<1.8 django18: https://www.djangoproject.com/download/1.8b1/tarball/ -rpip-test-requirements.txt commands = py.test tests/ [...
[tox] envlist = py{27,33}-django{16,17},py{27,34,35}-django{18,19},psql,pep8,coverage [testenv] deps = pytz PyYAML django16: Django>=1.6,<1.7 django16: djangorestframework>=3.0,<3.1 django17: Django>=1.7,<1.8 django17: djangorestframework>=3.1,<3.2 django18: Django>=1.8,<1.9 django18: dj...
Test only compatible version combinations
Test only compatible version combinations
INI
bsd-3-clause
altaurog/django-caspy,altaurog/django-caspy,altaurog/django-caspy
ini
## Code Before: [tox] envlist = py{27,32,33}-django{16,17,18},psql,pep8,coverage [testenv] deps = pytz PyYAML djangorestframework>=3.0 django16: Django>=1.6,<1.7 django17: Django>=1.7,<1.8 django18: https://www.djangoproject.com/download/1.8b1/tarball/ -rpip-test-requirements.txt commands = ...
eba6d5a9b54fe4765588bae50083859014ef3b49
.travis.yml
.travis.yml
language: python sudo: false env: - CONDA="python=2.7" - CONDA="python=3.4" - CONDA="python=3.5" before_install: - URL=http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh - wget $URL -O miniconda.sh - bash miniconda.sh -b -p $HOME/miniconda - export PATH="$HOME/miniconda/b...
language: python sudo: false env: - CONDA="python=2.7" - CONDA="python=3.4" - CONDA="python=3.5" before_install: - URL=http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh - wget $URL -O miniconda.sh - bash miniconda.sh -b -p $HOME/miniconda - export PATH="$HOME/miniconda/b...
Add test_requirements to Travis build
Add test_requirements to Travis build
YAML
apache-2.0
petejan/compliance-checker,ocefpaf/compliance-checker,lukecampbell/compliance-checker,ioos/compliance-checker,aodn/compliance-checker,DanielJMaher/compliance-checker
yaml
## Code Before: language: python sudo: false env: - CONDA="python=2.7" - CONDA="python=3.4" - CONDA="python=3.5" before_install: - URL=http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh - wget $URL -O miniconda.sh - bash miniconda.sh -b -p $HOME/miniconda - export PATH="$...
4940f2d9e0e016bf6310a6c85489740adbdab3c6
_includes/case_studies/list.html
_includes/case_studies/list.html
<!-- Case studies Section --> <div class="casestudy-list"> {% assign case_studies = site.case_studies | sort: 'id' %} {% for post in case_studies reversed %} {% if post.status contains 'published' %} <article id="{{post.slug}}" class="casestudy-item"> <div class="intro"> ...
<!-- Case studies Section --> <div id="projects" class="casestudy-list"> {% assign case_studies = site.case_studies | sort: 'id' %} {% for post in case_studies reversed %} {% if post.status contains 'published' %} <article id="{{post.slug}}" class="casestudy-item"> <div class="intro"> ...
Make "see our work" button work again
Make "see our work" button work again
HTML
apache-2.0
RapidRiverSoftware/rapidriversoftware.github.io,RapidRiverSoftware/rapidriversoftware.github.io,RapidRiverSoftware/rapidriversoftware.github.io,RapidRiverSoftware/rapidriversoftware.github.io
html
## Code Before: <!-- Case studies Section --> <div class="casestudy-list"> {% assign case_studies = site.case_studies | sort: 'id' %} {% for post in case_studies reversed %} {% if post.status contains 'published' %} <article id="{{post.slug}}" class="casestudy-item"> <div class="intro"> ...
357c9129f289c0049b54f25dc5cb9ce49cdd19f8
app/controllers/users/questions_controller.rb
app/controllers/users/questions_controller.rb
class Users::QuestionsController < ApplicationController inherit_resources belongs_to :user def new @project = Project.find(params[:project_id]) unless current_user session[:return_to] = project_path(@project, anchor: 'open-new-user-question-modal') return redirect_to new_user_session_path ...
class Users::QuestionsController < ApplicationController def new @project = Project.find(params[:project_id]) unless current_user session[:return_to] = project_path(@project, anchor: 'open-new-user-question-modal') return redirect_to new_user_session_path end @user = parent render lay...
Remove inherit_resources from user questions controller
Remove inherit_resources from user questions controller
Ruby
mit
gustavoguichard/neighborly,gustavoguichard/neighborly,gustavoguichard/neighborly
ruby
## Code Before: class Users::QuestionsController < ApplicationController inherit_resources belongs_to :user def new @project = Project.find(params[:project_id]) unless current_user session[:return_to] = project_path(@project, anchor: 'open-new-user-question-modal') return redirect_to new_use...
3cc47a95bc58391ce6e95e8ead36313180b0c947
src/components/AppReveal/AppReveal.vue
src/components/AppReveal/AppReveal.vue
<template> <component :is="tag" ref="element"> <slot /> </component> </template> <script> import anime from 'animejs' export default { name: 'AppReveal', className: 'AppReveal', props: { active: { type: Boolean, default: false }, tag: { type: String, default: ...
<template> <component :is="tag" ref="element" :class="$options.className"> <slot /> </component> </template> <script> import anime from 'animejs' export default { name: 'AppReveal', className: 'AppReveal', props: { active: { type: Boolean, default: false }, tag: { ...
Add class to attach the styles to.
Add class to attach the styles to.
Vue
agpl-3.0
michaelpumo/michaelpumo.github.io,michaelpumo/michaelpumo.github.io
vue
## Code Before: <template> <component :is="tag" ref="element"> <slot /> </component> </template> <script> import anime from 'animejs' export default { name: 'AppReveal', className: 'AppReveal', props: { active: { type: Boolean, default: false }, tag: { type: String,...
3edc20d576b57a0e30ed53d61c3ff960cb891853
web/concrete/themes/dashboard/dashboard_primary_five.php
web/concrete/themes/dashboard/dashboard_primary_five.php
<? defined('C5_EXECUTE') or die("Access Denied."); $this->inc('elements/header.php', array('enableEditing' => true)); ?> <div class="ccm-ui"> <div class="newsflow" id="newsflow-main"> <? $this->inc('elements/header_newsflow.php'); ?> <table class="newsflow-layout"> <tr> <td class="newsflow-em1" style="width: 66%" co...
<? defined('C5_EXECUTE') or die("Access Denied."); $this->inc('elements/header.php', array('enableEditing' => true)); ?> <div class="ccm-ui"> <div class="newsflow" id="newsflow-main"> <? $this->inc('elements/header_newsflow.php'); ?> <table class="newsflow-layout"> <tr> <td class="newsflow-em1" style="width: 66%" ro...
Fix broken newsflow on launch
Fix broken newsflow on launch
PHP
mit
avdevs/concrete5,avdevs/concrete5,avdevs/concrete5,TimDix/concrete5,MichaelMaar/concrete5,MichaelMaar/concrete5,matt9mg/concrete5,TimDix/concrete5,matt9mg/concrete5,MichaelMaar/concrete5,TimDix/concrete5,matt9mg/concrete5
php
## Code Before: <? defined('C5_EXECUTE') or die("Access Denied."); $this->inc('elements/header.php', array('enableEditing' => true)); ?> <div class="ccm-ui"> <div class="newsflow" id="newsflow-main"> <? $this->inc('elements/header_newsflow.php'); ?> <table class="newsflow-layout"> <tr> <td class="newsflow-em1" style...
32a273f7e7de1864a83c64888d31667ee7fc5861
app/overrides/retailer_admin_tab.rb
app/overrides/retailer_admin_tab.rb
Deface::Override.new(:virtual_path => "spree/layouts/admin", :name => "add_retailers_admin_tab", :insert_bottom => "[data-hook='admin_tabs'], #admin_tabs[data-hook]", :text => "<%= tab(:retailers, :retailer_types, :local_stockists) %>", ...
Deface::Override.new(:virtual_path => "spree/admin/shared/_menu", :name => "admin_retailers_tab", :insert_bottom => "[data-hook='admin_tabs']", :text => "<% if can? :admin, Spree::Admin::RetailersController %> <%= tab :retai...
Add retailer link in admin main menu
Add retailer link in admin main menu
Ruby
bsd-3-clause
bricesanchez/spree_retailers,bricesanchez/spree_retailers
ruby
## Code Before: Deface::Override.new(:virtual_path => "spree/layouts/admin", :name => "add_retailers_admin_tab", :insert_bottom => "[data-hook='admin_tabs'], #admin_tabs[data-hook]", :text => "<%= tab(:retailers, :retailer_types, :local_s...
6850d0dfdfbd4e4557da81857237d9d597752268
setup.py
setup.py
from setuptools import setup setup( name='aubreylib', version='1.2.2', description='A helper library for the Aubrey access system.', author='University of North Texas Libraries', author_email='mark.phillips@unt.edu', url='https://github.com/unt-libraries/aubreylib', license='BSD', pack...
from setuptools import setup setup( name='aubreylib', version='1.2.2', description='A helper library for the Aubrey access system.', author='University of North Texas Libraries', author_email='mark.phillips@unt.edu', url='https://github.com/unt-libraries/aubreylib', license='BSD', pack...
Move pyuntl dependency from here to requirements-test.txt file.
Move pyuntl dependency from here to requirements-test.txt file.
Python
bsd-3-clause
unt-libraries/aubreylib
python
## Code Before: from setuptools import setup setup( name='aubreylib', version='1.2.2', description='A helper library for the Aubrey access system.', author='University of North Texas Libraries', author_email='mark.phillips@unt.edu', url='https://github.com/unt-libraries/aubreylib', license...
487d3f2853918937e26312be4e25a2fc6118e41b
src/devices/incoming_bot_notification.ts
src/devices/incoming_bot_notification.ts
import { beep } from "../util"; import { Notification } from "farmbot/dist/jsonrpc"; import { HardwareState, RpcBotLog } from "../devices/interfaces"; import { error, success, warning } from "../ui"; import { t } from "i18next"; export function handleIncomingBotNotification(msg: Notification<any>, dispatch...
import { beep } from "../util"; import { Notification } from "farmbot/dist/jsonrpc"; import { HardwareState, RpcBotLog } from "../devices/interfaces"; import { error, success, warning } from "../ui"; import { t } from "i18next"; export function handleIncomingBotNotification(msg: Notification<any>, dispatch...
Remove unneeded LOG_DUMP switch branch
Remove unneeded LOG_DUMP switch branch
TypeScript
mit
MrChristofferson/farmbot-web-frontend,MrChristofferson/farmbot-web-frontend,FarmBot/farmbot-web-frontend,RickCarlino/farmbot-web-frontend,RickCarlino/farmbot-web-frontend,FarmBot/farmbot-web-frontend
typescript
## Code Before: import { beep } from "../util"; import { Notification } from "farmbot/dist/jsonrpc"; import { HardwareState, RpcBotLog } from "../devices/interfaces"; import { error, success, warning } from "../ui"; import { t } from "i18next"; export function handleIncomingBotNotification(msg: Notification<an...
f2497db0b251fab94455f1bd4377e459e93583ad
lib/honey_format/header.rb
lib/honey_format/header.rb
require 'honey_format/columns' module HoneyFormat # Represents a header class Header attr_reader :column_names # @return [Header] a new instance of Header. # @param [Array] header array of strings. # @param [Array] valid array of symbols representing valid columns. # @raise [MissingCSVHeaderEr...
require 'honey_format/columns' module HoneyFormat # Represents a header class Header attr_reader :column_names # @return [Header] a new instance of Header. # @param [Array] header array of strings. # @param [Array] valid array of symbols representing valid columns. # @raise [MissingCSVHeaderEr...
Remove unneeded method and call to Sanitize::array
Remove unneeded method and call to Sanitize::array
Ruby
mit
buren/honey_format,buren/honey_format
ruby
## Code Before: require 'honey_format/columns' module HoneyFormat # Represents a header class Header attr_reader :column_names # @return [Header] a new instance of Header. # @param [Array] header array of strings. # @param [Array] valid array of symbols representing valid columns. # @raise [Mi...
a6cb8042cd7f9bbdfc42c84ef48269eaf30e0a7a
package.json
package.json
{ "name": "jenkins-metrics", "version": "0.0.1", "description": "Grabs data from Jenkins", "main": "lib/app.js", "directories": { "lib": "lib" }, "keywords": [ "jenkins", "metrics" ], "license": "MIT", "dependencies": { "bluebird": "^3.3.5", "config": "^1.20.1", "request-prom...
{ "name": "jenkins-metrics", "version": "0.0.1", "description": "Grabs data from Jenkins", "main": "lib/app.js", "directories": { "lib": "lib" }, "keywords": [ "jenkins", "metrics" ], "license": "MIT", "dependencies": { "bluebird": "^3.3.5", "config": "^1.20.1", "request-prom...
Remove unneeded dev deps (install them as globals instead, based on used ide)
Remove unneeded dev deps (install them as globals instead, based on used ide)
JSON
mit
TOPdesk/jenkins-metrics-collector
json
## Code Before: { "name": "jenkins-metrics", "version": "0.0.1", "description": "Grabs data from Jenkins", "main": "lib/app.js", "directories": { "lib": "lib" }, "keywords": [ "jenkins", "metrics" ], "license": "MIT", "dependencies": { "bluebird": "^3.3.5", "config": "^1.20.1", ...
2f3868cd68aa27b48d3d5a2fecdf24336915b7bb
composer.json
composer.json
{ "name": "react/filesystem", "description": "Asynchronous filesystem abstraction.", "keywords": ["filesystem", "asynchronous", "eio"], "license": "MIT", "authors": [ { "name": "Cees-Jan Kiewiet", "email": "ceesjank@gmail.com" } ], "require": { "php": ">=5.4.0", "react/event-lo...
{ "name": "react/filesystem", "description": "Asynchronous filesystem abstraction.", "keywords": ["filesystem", "asynchronous", "eio"], "license": "MIT", "authors": [ { "name": "Cees-Jan Kiewiet", "email": "ceesjank@gmail.com" } ], "require": { "php": ">=5.4.0", "evenement/even...
Support both evenement 3.0 and 2.0
Support both evenement 3.0 and 2.0
JSON
mit
reactphp/filesystem,reactphp/filesystem
json
## Code Before: { "name": "react/filesystem", "description": "Asynchronous filesystem abstraction.", "keywords": ["filesystem", "asynchronous", "eio"], "license": "MIT", "authors": [ { "name": "Cees-Jan Kiewiet", "email": "ceesjank@gmail.com" } ], "require": { "php": ">=5.4.0", ...
d04a66bd09271208baafe30733645c30e9f09675
source/documentacao/index.html.erb
source/documentacao/index.html.erb
--- title: Documentação layout: mobile description: Use direto dos nossos servidores ou baixe uma versão estável para incorporar em seu projeto ou usar offline. --- <script> window.location.href = '/documentacao/introducao/'; </script>
--- title: Documentação layout: mobile description: Use direto dos nossos servidores ou baixe uma versão estável para incorporar em seu projeto ou usar offline. --- <%= partial 'documentacao/shared/passo-a-passo/passo' %>
Revert "Change /documentacao/ redict to /documentacao/introducao/"
Revert "Change /documentacao/ redict to /documentacao/introducao/" This reverts commit 72cb04753d4c11bf47a1f9f757dcdc40ae8877ae.
HTML+ERB
mit
deividmarques/locawebstyle,locaweb/locawebstyle,locaweb/locawebstyle,deividmarques/locawebstyle,deividmarques/locawebstyle,locaweb/locawebstyle
html+erb
## Code Before: --- title: Documentação layout: mobile description: Use direto dos nossos servidores ou baixe uma versão estável para incorporar em seu projeto ou usar offline. --- <script> window.location.href = '/documentacao/introducao/'; </script> ## Instruction: Revert "Change /documentacao/ redict to /documen...
08720bd1e029fc6f5c35ebe049c8cb3573182277
CHANGELOG-4.x.md
CHANGELOG-4.x.md
4.0.0 (unreleased) ------------------ * Drop support for PHP < 8.0 * Add support for Symfony 6 * Drop support for Symfony 4 * `Mogrify` annotation is now a PHP 8 attribute
4.0.0 ----- * Drop support for PHP < 8.0 * Add support for Symfony 6 * Drop support for Symfony 4 & Symfony < 5.4 * `Mogrify` annotation is now a PHP 8 attribute
Update changelog for 4.0.0 release
Update changelog for 4.0.0 release
Markdown
mit
leapt/im-bundle
markdown
## Code Before: 4.0.0 (unreleased) ------------------ * Drop support for PHP < 8.0 * Add support for Symfony 6 * Drop support for Symfony 4 * `Mogrify` annotation is now a PHP 8 attribute ## Instruction: Update changelog for 4.0.0 release ## Code After: 4.0.0 ----- * Drop support for PHP < 8.0 * Add support for Sym...
4761c8f016e9cbbe655c802875a5efe5fc8c11a0
README.md
README.md
Yandex translate module inside a map-stream. ## Usage ``` js var translate = require('yandex-translate-stream')(<your yandex api key here>) var data = { translate: { data: 'Hola', options: { from: 'es', to: 'fr' } } } // Will emit the same object with a translated property that equals '[...
Yandex translate module inside a map-stream. [![js-standard-style](https://cdn.rawgit.com/feross/standard/master/badge.svg)](https://github.com/feross/standard) ## Usage ``` js var translate = require('yandex-translate-stream')(<your yandex api key here>) var data = { translate: { data: 'Hola', options: { ...
Fix code style and add standard badge.
Fix code style and add standard badge.
Markdown
mit
santiagogil/yandex-translate-stream
markdown
## Code Before: Yandex translate module inside a map-stream. ## Usage ``` js var translate = require('yandex-translate-stream')(<your yandex api key here>) var data = { translate: { data: 'Hola', options: { from: 'es', to: 'fr' } } } // Will emit the same object with a translated propert...
de0933b3ca5edc55cc4c9bd78c6c98896d584984
.travis.yml
.travis.yml
language: python env: - DJANGO="Django>=1.8,<1.9" - DJANGO="Django>=1.9,<1.10" - DJANGO="Django>=1.10,<1.11" - DJANGO="Django>=1.11,<1.12" python: - "2.7" - "3.4" - "3.5" - "3.6" install: - pip install --upgrade pip setuptools - pip install $DJANGO - pip install . - pip install coveralls - pip...
language: python env: - DJANGO="Django>=1.8,<1.9" - DJANGO="Django>=1.9,<1.10" - DJANGO="Django>=1.10,<1.11" - DJANGO="Django>=1.11,<1.12" python: - "2.7" - "3.4" - "3.5" - "3.6" install: - pip install --upgrade pip setuptools - pip install $DJANGO - pip install . notifications: irc: "irc.freeno...
Remove thing that doesn't understand dependencies.
Remove thing that doesn't understand dependencies.
YAML
bsd-2-clause
frankier/mezzanine,dsanders11/mezzanine,stephenmcd/mezzanine,frankier/mezzanine,molokov/mezzanine,stephenmcd/mezzanine,jerivas/mezzanine,dsanders11/mezzanine,molokov/mezzanine,readevalprint/mezzanine,readevalprint/mezzanine,christianwgd/mezzanine,dsanders11/mezzanine,molokov/mezzanine,readevalprint/mezzanine,stephenmcd...
yaml
## Code Before: language: python env: - DJANGO="Django>=1.8,<1.9" - DJANGO="Django>=1.9,<1.10" - DJANGO="Django>=1.10,<1.11" - DJANGO="Django>=1.11,<1.12" python: - "2.7" - "3.4" - "3.5" - "3.6" install: - pip install --upgrade pip setuptools - pip install $DJANGO - pip install . - pip install c...
005bc4fb9fb8baa3939d86f115fc1c930f7aa75d
models/payfasttoken_model.js
models/payfasttoken_model.js
var mongoose = require('mongoose'); var Schema = mongoose.Schema; var ObjectId = mongoose.Schema.Types.ObjectId; var User = require("./user_model"); var Organisation = require("./organisation_model"); var PayfasttokenSchema = new Schema({ token: { type: String, index: true, unique: true }, user_id: { ty...
var mongoose = require('mongoose'); var Schema = mongoose.Schema; var ObjectId = mongoose.Schema.Types.ObjectId; var Mixed = mongoose.Schema.Types.Mixed; var User = require("./user_model"); var Organisation = require("./organisation_model"); var PayfasttokenSchema = new Schema({ token: { type: String, in...
Change some permissions and store some more details from Payfast
Change some permissions and store some more details from Payfast
JavaScript
mit
10layer/jexpress,10layer/jexpress
javascript
## Code Before: var mongoose = require('mongoose'); var Schema = mongoose.Schema; var ObjectId = mongoose.Schema.Types.ObjectId; var User = require("./user_model"); var Organisation = require("./organisation_model"); var PayfasttokenSchema = new Schema({ token: { type: String, index: true, unique: true }...
5308a8aa38973009530b9073e13c1f9eca2ba449
R/prepare_data.r
R/prepare_data.r
prepare_paco_data <- function(H, P, HP) { if(NROW(H) != NCOL(H)) stop("H should be a square matrix") if(NROW(P) != NCOL(P)) stop("P should be a square matrix") if(NROW(H) != NROW(HP)){ warning("The HP matrix should have hosts in rows. It has been translated.") HP <- t(HP) } H <- H...
prepare_paco_data <- function(H, P, HP) { if(NROW(H) != NCOL(H)) stop("H should be a square matrix") if(NROW(P) != NCOL(P)) stop("P should be a square matrix") if(NROW(H) != NROW(HP)){ warning("The HP matrix should have hosts in rows. It has been translated.") HP <- t(HP) } if (!(...
Add informative error when matrix size is diff
Add informative error when matrix size is diff When the number of species in the Host or Parasite phylogeny is different to the number of species on the interaction matrix it used to spit the “subscript out of bounds” error. Now it tells the actual problem
R
mpl-2.0
efcaguab/paco
r
## Code Before: prepare_paco_data <- function(H, P, HP) { if(NROW(H) != NCOL(H)) stop("H should be a square matrix") if(NROW(P) != NCOL(P)) stop("P should be a square matrix") if(NROW(H) != NROW(HP)){ warning("The HP matrix should have hosts in rows. It has been translated.") HP <- t(HP...
a9bd2b9ce9f4e969c9877ab452e8ae1167858828
.travis.yml
.travis.yml
sudo: false language: python cache: pip python: - 2.7 - 3.4 - 3.5 - 3.6 addons: postgresql: "9.4" env: - BLINKER=1 DATABASE_URI=postgresql://localhost/travis_ci_test - BLINKER=1 DATABASE_URI=sqlite:// - BLINKER=0 DATABASE_URI=sqlite:// branches: only: - master before_script: - if [[ $DATABASE_UR...
sudo: false language: python cache: pip python: - 2.7 - 3.4 - 3.5 - 3.6 addons: postgresql: "9.4" env: - BLINKER=1 DATABASE_URI=postgresql://localhost/travis_ci_test - BLINKER=1 DATABASE_URI=sqlite:// - BLINKER=0 DATABASE_URI=sqlite:// branches: only: - master before_script: - if [[ $DATABASE_UR...
Upgrade pytest on Travis CI
Upgrade pytest on Travis CI
YAML
mit
singingwolfboy/flask-dance
yaml
## Code Before: sudo: false language: python cache: pip python: - 2.7 - 3.4 - 3.5 - 3.6 addons: postgresql: "9.4" env: - BLINKER=1 DATABASE_URI=postgresql://localhost/travis_ci_test - BLINKER=1 DATABASE_URI=sqlite:// - BLINKER=0 DATABASE_URI=sqlite:// branches: only: - master before_script: - if...
c290f2670341153d052c2a47cfd34d34a14bc90e
sli/acceptance-tests/test/features/cross_app_tests/rc_sandbox_delete_tenant.feature
sli/acceptance-tests/test/features/cross_app_tests/rc_sandbox_delete_tenant.feature
@RALLY_US4835 @rc @sandbox Feature: Delete tenant and drop tenant database Background: Make a connection to Mongo Given I have a connection to Mongo And I am running in Sandbox mode Scenario: Delete tenant from sli.tenant and drop tenant database When I get the database name Then I will drop the whole databas...
@RALLY_US4835 @rc @sandbox Feature: Delete tenant and drop tenant database Background: Make a connection to Mongo Given I have a connection to Mongo And I am running in Sandbox mode Scenario: Delete tenant from sli.tenant and drop tenant database When I get the database name And I clean my tenant's landing zo...
Revert "clean up step not needed"
Revert "clean up step not needed" This reverts commit 3cbea160f6dfb415b0a8364b1e53e16a643a72e2.
Cucumber
apache-2.0
inbloom/secure-data-service,inbloom/secure-data-service,inbloom/secure-data-service,inbloom/secure-data-service,inbloom/secure-data-service
cucumber
## Code Before: @RALLY_US4835 @rc @sandbox Feature: Delete tenant and drop tenant database Background: Make a connection to Mongo Given I have a connection to Mongo And I am running in Sandbox mode Scenario: Delete tenant from sli.tenant and drop tenant database When I get the database name Then I will drop t...
89132dce0f4341c0dd2c6bdbdd02a89681162acd
src/com/redhat/ceylon/common/tool/ToolMessages.java
src/com/redhat/ceylon/common/tool/ToolMessages.java
/* * Copyright Red Hat Inc. and/or its affiliates and other contributors * as indicated by the authors tag. All rights reserved. * * This copyrighted material is made available to anyone wishing to use, * modify, copy, or redistribute it subject to the terms and conditions * of the GNU General Public License vers...
/* * Copyright Red Hat Inc. and/or its affiliates and other contributors * as indicated by the authors tag. All rights reserved. * * This copyrighted material is made available to anyone wishing to use, * modify, copy, or redistribute it subject to the terms and conditions * of the GNU General Public License vers...
Extend the common Messages class
Extend the common Messages class
Java
apache-2.0
ceylon/ceylon-common,jvasileff/ceylon-common,ceylon/ceylon-common,ceylon/ceylon-common,jvasileff/ceylon-common,jvasileff/ceylon-common
java
## Code Before: /* * Copyright Red Hat Inc. and/or its affiliates and other contributors * as indicated by the authors tag. All rights reserved. * * This copyrighted material is made available to anyone wishing to use, * modify, copy, or redistribute it subject to the terms and conditions * of the GNU General Pub...
5118c78a3a89424e0577d538b2f85b1753284344
setup.py
setup.py
import os import re from setuptools import setup, find_packages def get_version(): with open(os.path.join(os.path.dirname(__file__), 'gitlab_mr.py')) as f: for line in f.readlines(): m = re.match(r"__version__ = '(.*?)'", line) if m: return m.group(1) raise Valu...
import os import re import sys from setuptools import setup, find_packages PY_VER = sys.version_info if PY_VER >= (3, 4): pass else: raise RuntimeError("Only support Python version >= 3.4") def get_version(): with open(os.path.join(os.path.dirname(__file__), 'gitlab_mr.py')) as f: for line in f...
Support only python >= 3.4
Support only python >= 3.4
Python
apache-2.0
anti-social/gitlab-merge-request
python
## Code Before: import os import re from setuptools import setup, find_packages def get_version(): with open(os.path.join(os.path.dirname(__file__), 'gitlab_mr.py')) as f: for line in f.readlines(): m = re.match(r"__version__ = '(.*?)'", line) if m: return m.group(1...
852feabb469e8ae6d708fbe66a815e8e86f0f36f
lib/mongo_mapper/plugins/touch.rb
lib/mongo_mapper/plugins/touch.rb
module MongoMapper module Plugins module Touch extend ActiveSupport::Concern def touch(key = :updated_at) raise "InvalidKey" unless self.key_names.include?(key.to_s) self.set(key => Time.now.utc) true end end end end
module MongoMapper module Plugins module Touch extend ActiveSupport::Concern def touch(key = :updated_at) raise ArgumentError, "Invalid key named #{key}" unless self.key_names.include?(key.to_s) self.set(key => Time.now.utc) true end end end end
Raise an ArgumentError with a better message
Raise an ArgumentError with a better message
Ruby
mit
dhemmat/mongomapper,kachick/mongomapper,mongomapper/mongomapper,Yesware/mongomapper
ruby
## Code Before: module MongoMapper module Plugins module Touch extend ActiveSupport::Concern def touch(key = :updated_at) raise "InvalidKey" unless self.key_names.include?(key.to_s) self.set(key => Time.now.utc) true end end end end ## Instruction: Raise an Argume...
65c5474936dca27023e45c1644fa2a9492e9a420
tests/convergence_tests/run_convergence_tests_lspr.py
tests/convergence_tests/run_convergence_tests_lspr.py
import os import time import subprocess import datetime from check_for_meshes import check_mesh # tests to run tests = ['sphere_lspr.py', 'sphere_multiple_lspr.py'] # specify CUDA device to use CUDA_DEVICE = '0' ENV = os.environ.copy() ENV['CUDA_DEVICE'] = CUDA_DEVICE mesh_file = '' folder_name = 'lspr_convergence...
import os import time import subprocess import datetime from check_for_meshes import check_mesh # tests to run tests = ['sphere_lspr.py', 'sphere_multiple_lspr.py'] # specify CUDA device to use CUDA_DEVICE = '0' ENV = os.environ.copy() ENV['CUDA_DEVICE'] = CUDA_DEVICE mesh_file = 'https://zenodo.org/record/580786/...
Add path to convergence test lspr zip file
Add path to convergence test lspr zip file
Python
bsd-3-clause
barbagroup/pygbe,barbagroup/pygbe,barbagroup/pygbe
python
## Code Before: import os import time import subprocess import datetime from check_for_meshes import check_mesh # tests to run tests = ['sphere_lspr.py', 'sphere_multiple_lspr.py'] # specify CUDA device to use CUDA_DEVICE = '0' ENV = os.environ.copy() ENV['CUDA_DEVICE'] = CUDA_DEVICE mesh_file = '' folder_name = '...
2612e72bb416327f120a0c27168f28e31902b444
src/GToolkit-Constraints/GtGtoolkitArchitecturalReport.class.st
src/GToolkit-Constraints/GtGtoolkitArchitecturalReport.class.st
" !Architectural report for Glamorous Toolkit " Class { #name : #GtGtoolkitArchitecturalReport, #superclass : #GtConstrainerReport, #category : #'GToolkit-Constraints' } { #category : #building } GtGtoolkitArchitecturalReport >> build: aComposite [ aComposite name: 'GToolkit Architectural Report'. aComposite ad...
" Architectural report for Glamorous Toolkit. " Class { #name : #GtGtoolkitArchitecturalReport, #superclass : #GtConstrainerReport, #category : #'GToolkit-Constraints' } { #category : #accessing } GtGtoolkitArchitecturalReport class >> yourself [ <gtExample> ^ self new ] { #category : #building } GtGtoolkitArchi...
Add yourself example to GtGtoolkitArchitecturalReport
Add yourself example to GtGtoolkitArchitecturalReport
Smalltalk
mit
feenkcom/gtoolkit
smalltalk
## Code Before: " !Architectural report for Glamorous Toolkit " Class { #name : #GtGtoolkitArchitecturalReport, #superclass : #GtConstrainerReport, #category : #'GToolkit-Constraints' } { #category : #building } GtGtoolkitArchitecturalReport >> build: aComposite [ aComposite name: 'GToolkit Architectural Report'. ...
27a7e589ec3f5b29d99cede4af66780509ab6973
foursquare/tests/test_photos.py
foursquare/tests/test_photos.py
import logging; log = logging.getLogger(__name__) from . import BaseAuthenticatedEndpointTestCase, BaseUserlessEndpointTestCase import os TEST_DATA_DIR = os.path.join(os.path.dirname(__file__), 'testdata') class PhotosEndpointTestCase(BaseAuthenticatedEndpointTestCase): """ General """ def test_pho...
import logging; log = logging.getLogger(__name__) from . import BaseAuthenticatedEndpointTestCase, BaseUserlessEndpointTestCase import os TEST_DATA_DIR = os.path.join(os.path.dirname(__file__), 'testdata') class PhotosEndpointTestCase(BaseAuthenticatedEndpointTestCase): """ General """ def test_pho...
Make test compatible with Python 2.6.
Make test compatible with Python 2.6.
Python
mit
mLewisLogic/foursquare,mLewisLogic/foursquare
python
## Code Before: import logging; log = logging.getLogger(__name__) from . import BaseAuthenticatedEndpointTestCase, BaseUserlessEndpointTestCase import os TEST_DATA_DIR = os.path.join(os.path.dirname(__file__), 'testdata') class PhotosEndpointTestCase(BaseAuthenticatedEndpointTestCase): """ General """ ...
9ff1c42b4b106fdf0484cd2522151bb6507353fe
allauth/templates/account/password_reset_from_key.html
allauth/templates/account/password_reset_from_key.html
{% extends "account/base.html" %} {% load i18n %} {% block head_title %}{% trans "Change Password" %}{% endblock %} {% block content %} <h1>{% if token_fail %}{% trans "Bad Token" %}{% else %}{% trans "Change Password" %}{% endif %}</h1> {% if token_fail %} {% url 'account_reset_password' as passwd_r...
{% extends "account/base.html" %} {% load i18n %} {% block head_title %}{% trans "Change Password" %}{% endblock %} {% block content %} <h1>{% if token_fail %}{% trans "Bad Token" %}{% else %}{% trans "Change Password" %}{% endif %}</h1> {% if token_fail %} {% url 'account_reset_password' as passwd_r...
Put in real action URL instead of '.'
Put in real action URL instead of '.' Closes #1437
HTML
mit
bittner/django-allauth,pztrick/django-allauth,spool/django-allauth,lukeburden/django-allauth,rsalmaso/django-allauth,pztrick/django-allauth,AltSchool/django-allauth,lukeburden/django-allauth,pennersr/django-allauth,joshowen/django-allauth,joshowen/django-allauth,joshowen/django-allauth,AltSchool/django-allauth,rsalmaso...
html
## Code Before: {% extends "account/base.html" %} {% load i18n %} {% block head_title %}{% trans "Change Password" %}{% endblock %} {% block content %} <h1>{% if token_fail %}{% trans "Bad Token" %}{% else %}{% trans "Change Password" %}{% endif %}</h1> {% if token_fail %} {% url 'account_reset_passw...
58dce022ddda69f2ea347f1f5b324204a2d20975
app/scripts/app/routes/application.js
app/scripts/app/routes/application.js
var ApplicationRoute = Em.Route.extend({ model: function () { // bootstrap initialized data if it exists if (Em.isArray(window.bootstrap)) { this.store.pushMany('person', window.bootstrap); // signal to IndexController that data exists // and fetching from the server is not necessary ...
var ApplicationRoute = Em.Route.extend(); export default ApplicationRoute;
Remove outdated bootstrap code in ApplicationRoute
Remove outdated bootstrap code in ApplicationRoute
JavaScript
mit
darvelo/wishlist,darvelo/wishlist
javascript
## Code Before: var ApplicationRoute = Em.Route.extend({ model: function () { // bootstrap initialized data if it exists if (Em.isArray(window.bootstrap)) { this.store.pushMany('person', window.bootstrap); // signal to IndexController that data exists // and fetching from the server is not ...
7921c9584050268aa3028cd28fcec2b67e52ebd5
mongo_mapper_acts_as_versioned.gemspec
mongo_mapper_acts_as_versioned.gemspec
require File.expand_path('../lib/acts_as_versioned', __FILE__) Gem::Specification.new do |gem| gem.name = 'mongo_mapper_acts_as_versioned' gem.version = MongoMapper::Acts::Versioned::VERSION gem.platform = Gem::Platform::RUBY gem.authors = ['Gigamo'] gem.email = ['gigamo@gmail.com'] ...
Gem::Specification.new do |gem| gem.name = 'mongo_mapper_acts_as_versioned' gem.version = '0.2.0' gem.platform = Gem::Platform::RUBY gem.authors = ['Gigamo'] gem.email = ['gigamo@gmail.com'] gem.homepage = 'http://github.com/gigamo/mongo_mapper_acts_as_versioned' gem.summary ...
Stop requiring the library in gemspec
Stop requiring the library in gemspec
Ruby
mit
gigamo/mongo_mapper_acts_as_versioned
ruby
## Code Before: require File.expand_path('../lib/acts_as_versioned', __FILE__) Gem::Specification.new do |gem| gem.name = 'mongo_mapper_acts_as_versioned' gem.version = MongoMapper::Acts::Versioned::VERSION gem.platform = Gem::Platform::RUBY gem.authors = ['Gigamo'] gem.email = ['giga...
68e41c1f7ef79bfba22aad3392acef9aca4ca043
sbt-release/README.md
sbt-release/README.md
AutoPlugin that wraps [sbt-release](https://github.com/sbt/sbt-release) providing a custom versioning scheme. ### installation Add the plugin to your project: ``` // In project/plugins.sbt addSbtPlugin("org.allenai.plugins" % "allenai-sbt-release" % VERSION ``` Substitute `VERSION` with the latest version for the pl...
AutoPlugin that wraps [sbt-release](https://github.com/sbt/sbt-release) providing a custom versioning scheme. ## Installation Add the plugin to your project: ``` // In project/plugins.sbt addSbtPlugin("org.allenai.plugins" % "allenai-sbt-release" % VERSION ``` Substitute `VERSION` with the latest version for the plu...
Improve multi-project instructions for AllenaiReleasePlugin
Improve multi-project instructions for AllenaiReleasePlugin
Markdown
apache-2.0
ryanai3/sbt-plugins,markschaake/ai2-sbt-plugins,ryanai3/sbt-plugins,non/sbt-plugins,ryanai3/sbt-plugins,jkinkead/sbt-plugins,jkinkead/sbt-plugins,markschaake/ai2-sbt-plugins,jkinkead/sbt-plugins,markschaake/ai2-sbt-plugins,non/sbt-plugins,allenai/sbt-plugins
markdown
## Code Before: AutoPlugin that wraps [sbt-release](https://github.com/sbt/sbt-release) providing a custom versioning scheme. ### installation Add the plugin to your project: ``` // In project/plugins.sbt addSbtPlugin("org.allenai.plugins" % "allenai-sbt-release" % VERSION ``` Substitute `VERSION` with the latest ve...
8c90cb089dd81861f31cd78fab9ab149f491c803
sw-precache-config.json
sw-precache-config.json
{ "staticFileGlobs": [ "build", "build/mensajes", "build/noticias", "build/historia", "build/azimuth", "build/manifest.json", "build/assets/**/*", "build/historia/*" ], "stripPrefix": "build/", "runtimeCaching": [ { "urlPattern": "/\/elmalvinense/", "handler": "ne...
{ "staticFileGlobs": [ "build/index.html", "build/mensajes/", "build/noticias", "build/historia", "build/azimuth", "build/manifest.json", "build/assets/**/*", "build/historia/*" ], "stripPrefix": "build", "runtimeCaching": [ { "urlPattern": "/\/elmalvinense/", "ha...
Improve resource aching in service worker
Improve resource aching in service worker
JSON
mit
MinEduTDF/app-malvinas-russell
json
## Code Before: { "staticFileGlobs": [ "build", "build/mensajes", "build/noticias", "build/historia", "build/azimuth", "build/manifest.json", "build/assets/**/*", "build/historia/*" ], "stripPrefix": "build/", "runtimeCaching": [ { "urlPattern": "/\/elmalvinense/", ...