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
7036b5db8e4e75004aa7fd0af5b610000d9a50df
lib/response_mate/recorder.rb
lib/response_mate/recorder.rb
module ResponseMate class Recorder include ResponseMate::ManifestParser attr_accessor :base_url, :conn, :requests_manifest, :manifest, :oauth, :keys def initialize(args = {}) @manifest = args[:manifest] @keys = args[:keys] @oauth = ResponseMate::Oauth.new @base_url = args[:base...
module ResponseMate class Recorder include ResponseMate::ManifestParser attr_accessor :base_url, :conn, :manifest, :oauth, :keys def initialize(args = {}) @manifest = args[:manifest] @keys = args[:keys] @oauth = ResponseMate::Oauth.new @base_url = args[:base_url] || manifest.tr...
Remove redundant attr_accessor for :requests_manifest
Remove redundant attr_accessor for :requests_manifest
Ruby
mit
Zorbash/response_mate
ruby
## Code Before: module ResponseMate class Recorder include ResponseMate::ManifestParser attr_accessor :base_url, :conn, :requests_manifest, :manifest, :oauth, :keys def initialize(args = {}) @manifest = args[:manifest] @keys = args[:keys] @oauth = ResponseMate::Oauth.new @base_...
03d99f84f51dd3b04f90778ac10f6a13c5196751
TastyTomato/Code/Elements/Buttons/FilledButtons.swift
TastyTomato/Code/Elements/Buttons/FilledButtons.swift
// // FilledButtons.swift // TastyTomato // // Created by Jan Nash on 7/29/16. // Copyright © 2016 resmio. All rights reserved. // import Foundation // MARK: // Public public extension FilledButton { public static func SignInButton() -> FilledButton { return self._SignInButton() } public...
// // FilledButtons.swift // TastyTomato // // Created by Jan Nash on 7/29/16. // Copyright © 2016 resmio. All rights reserved. // import Foundation // MARK: // Public public extension FilledButton { public static func SignInButton() -> FilledButton { return self._SignInButton() } public...
Update the predefined FilledButton instances
Update the predefined FilledButton instances
Swift
mit
resmio/TastyTomato,resmio/TastyTomato,resmio/TastyTomato,resmio/TastyTomato
swift
## Code Before: // // FilledButtons.swift // TastyTomato // // Created by Jan Nash on 7/29/16. // Copyright © 2016 resmio. All rights reserved. // import Foundation // MARK: // Public public extension FilledButton { public static func SignInButton() -> FilledButton { return self._SignInButton() }...
4d3a1173b6ff6606fcba29c3f1234fd89f5daba0
Source/SwiftLintFramework/Rules/RuleConfigurations/SwitchCaseAlignmentConfiguration.swift
Source/SwiftLintFramework/Rules/RuleConfigurations/SwitchCaseAlignmentConfiguration.swift
public struct SwitchCaseAlignmentConfiguration: RuleConfiguration, Equatable { private(set) var severityConfiguration = SeverityConfiguration(.warning) private(set) var indentedCases = false init() {} public var consoleDescription: String { return severityConfiguration.consoleDescription + ", ...
public struct SwitchCaseAlignmentConfiguration: RuleConfiguration, Equatable { private(set) var severityConfiguration = SeverityConfiguration(.warning) private(set) var indentedCases = false init() {} public var consoleDescription: String { return severityConfiguration.consoleDescription + ", ...
Apply correct severity form configuration
Apply correct severity form configuration
Swift
mit
realm/SwiftLint,realm/SwiftLint,lyft/SwiftLint,realm/SwiftLint,lyft/SwiftLint,lyft/SwiftLint,realm/SwiftLint,lyft/SwiftLint
swift
## Code Before: public struct SwitchCaseAlignmentConfiguration: RuleConfiguration, Equatable { private(set) var severityConfiguration = SeverityConfiguration(.warning) private(set) var indentedCases = false init() {} public var consoleDescription: String { return severityConfiguration.consoleD...
2f21c35979eac6fc17ee4e998fbd8e419584bb10
android/gradle.properties
android/gradle.properties
android.useDeprecatedNdk=true # googlePlayServicesVersion=15.0.1
android.useDeprecatedNdk=true android.enableAapt2=false # googlePlayServicesVersion=15.0.1
Disable Aapt2 to fix production builds
Disable Aapt2 to fix production builds
INI
mit
UCSD/campus-mobile,UCSD/campus-mobile,UCSD/now-mobile,UCSD/now-mobile,UCSD/campus-mobile,UCSD/now-mobile,UCSD/campus-mobile,UCSD/campus-mobile,UCSD/campus-mobile
ini
## Code Before: android.useDeprecatedNdk=true # googlePlayServicesVersion=15.0.1 ## Instruction: Disable Aapt2 to fix production builds ## Code After: android.useDeprecatedNdk=true android.enableAapt2=false # googlePlayServicesVersion=15.0.1
98dfc5569fb1ae58905f8b6a36deeda324dcdd7b
cronos/teilar/models.py
cronos/teilar/models.py
from django.db import models class Departments(models.Model): urlid = models.IntegerField(unique = True) name = models.CharField("Department name", max_length = 200) class Teachers(models.Model): urlid = models.CharField("URL ID", max_length = 30, unique = True) name = models.CharField("Teacher name",...
from django.db import models class Departments(models.Model): urlid = models.IntegerField(unique = True) name = models.CharField("Department name", max_length = 200) deprecated = models.BooleanField(default = False) def __unicode__(self): return self.name class Teachers(models.Model): url...
Add deprecated flag for teachers and departments
Add deprecated flag for teachers and departments
Python
agpl-3.0
LinuxTeam-teilar/cronos.teilar.gr,LinuxTeam-teilar/cronos.teilar.gr,LinuxTeam-teilar/cronos.teilar.gr
python
## Code Before: from django.db import models class Departments(models.Model): urlid = models.IntegerField(unique = True) name = models.CharField("Department name", max_length = 200) class Teachers(models.Model): urlid = models.CharField("URL ID", max_length = 30, unique = True) name = models.CharField...
c5e78c9e98955e19da15ee48b0931c3326759c2f
docker-compose.yml
docker-compose.yml
version: '2' services: mysql: build: ./docker/mysql restart: unless-stopped container_name: mysql env_file: - ./docker/mysql/.env volumes: - ./docker/mysql/storage:/var/lib/mysql # - ./docker/mysql/conf.d:/etc/mysql/conf.d - ./d...
version: '2' services: mysql: build: ./docker/mysql restart: unless-stopped container_name: mysql env_file: - ./docker/mysql/.env volumes: - ./docker/mysql/storage:/var/lib/mysql # - ./docker/mysql/conf.d:/etc/mysql/conf.d - ./d...
Connect services with bridge network
Connect services with bridge network
YAML
apache-2.0
ehosp/eHOSP-Services-CE,ehosp/eHOSP-Services-CE,ehosp/eHOSP-Services-CE
yaml
## Code Before: version: '2' services: mysql: build: ./docker/mysql restart: unless-stopped container_name: mysql env_file: - ./docker/mysql/.env volumes: - ./docker/mysql/storage:/var/lib/mysql # - ./docker/mysql/conf.d:/etc/mysql/conf.d ...
ea3ece9b2a792cf634aff93b1b4a951f6218ab9f
main.go
main.go
package main import ( "log" "net/http" ) const VERSION = "0.1.0" func main() { log.Printf("resolutionizerd %s starting...", VERSION) log.Fatalln(http.ListenAndServe(":8080", http.FileServer(http.Dir("./client")))) }
package main import ( "flag" "log" "net/http" "os" ) const VERSION = "0.1.0" var clientDir string func init() { flag.StringVar(&clientDir, "client", "./client", "the directory where the client data is stored") } func main() { log.Printf("resolutionizerd %s starting...", VERSION) log.Fatalln(http.ListenAndS...
Add support for injecting the port and client dir.
Add support for injecting the port and client dir.
Go
mpl-2.0
smkell/resolutionizerd
go
## Code Before: package main import ( "log" "net/http" ) const VERSION = "0.1.0" func main() { log.Printf("resolutionizerd %s starting...", VERSION) log.Fatalln(http.ListenAndServe(":8080", http.FileServer(http.Dir("./client")))) } ## Instruction: Add support for injecting the port and client dir. ## Code Aft...
4da300d7802840ed21c126263c6547ce1650c229
spark/src/main/scala/org/elasticsearch/spark/serialization/ReflectionUtils.scala
spark/src/main/scala/org/elasticsearch/spark/serialization/ReflectionUtils.scala
package org.elasticsearch.spark.serialization import java.beans.Introspector import java.lang.reflect.Method import scala.reflect.runtime.{ universe => ru } import scala.reflect.runtime.universe._ import scala.reflect.ClassTag private[spark] object ReflectionUtils { def javaBeansInfo(clazz: Class[_]) = { Intro...
package org.elasticsearch.spark.serialization import java.beans.Introspector import java.lang.reflect.Method import scala.reflect.runtime.{ universe => ru } import scala.reflect.runtime.universe._ import scala.reflect.ClassTag private[spark] object ReflectionUtils { //SI-6240 protected[spark] object ReflectionL...
Add synchronization around reflection usage
[SPARK] Add synchronization around reflection usage relates #365
Scala
apache-2.0
samkohli/elasticsearch-hadoop,jasontedor/elasticsearch-hadoop,elastic/elasticsearch-hadoop,pranavraman/elasticsearch-hadoop,kai5263499/elasticsearch-hadoop,trifork/elasticsearch-hadoop,girirajsharma/elasticsearch-hadoop,takezoe/elasticsearch-hadoop,puneetjaiswal/elasticsearch-hadoop,huangll/elasticsearch-hadoop,costin/...
scala
## Code Before: package org.elasticsearch.spark.serialization import java.beans.Introspector import java.lang.reflect.Method import scala.reflect.runtime.{ universe => ru } import scala.reflect.runtime.universe._ import scala.reflect.ClassTag private[spark] object ReflectionUtils { def javaBeansInfo(clazz: Class[_...
6a20cc958604d8577712be9ea4fcc4eb4107d205
README.md
README.md
> Your description here. ## Getting Started Install this grunt plugin next to your project's [grunt.js gruntfile][getting_started] with: `npm install grunt-contrib-compass` Then add this line to your project's `grunt.js` gruntfile: ```javascript grunt.loadNpmTasks('grunt-contrib-compass'); ``` [grunt]:...
> Your description here. ## Getting Started Install this grunt plugin next to your project's [grunt.js gruntfile][getting_started] with: `npm install grunt-contrib-compass` Then add this line to your project's `grunt.js` gruntfile: ```javascript grunt.loadNpmTasks('grunt-contrib-compass'); ``` [grunt]:...
Update urls from cowboy/grunt to gruntjs/grunt
Update urls from cowboy/grunt to gruntjs/grunt
Markdown
mit
carneiror/grunt-contrib-compass,gruntjs/grunt-contrib-compass,gruntjs/grunt-contrib-compass,carneiror/grunt-contrib-compass
markdown
## Code Before: > Your description here. ## Getting Started Install this grunt plugin next to your project's [grunt.js gruntfile][getting_started] with: `npm install grunt-contrib-compass` Then add this line to your project's `grunt.js` gruntfile: ```javascript grunt.loadNpmTasks('grunt-contrib-compass'); ``` [gru...
2d2b3eac41311c4ff5b10aa9a9f5a19c6c727a4e
app/assets/stylesheets/partials/content/_icons.sass
app/assets/stylesheets/partials/content/_icons.sass
@import compass/typography/text/replacement =icon-text($ident, $icon: $ident, $size: 16) .icon-#{$ident}-text +replace-text-with-dimensions("#{$size}x#{$size}/#{$icon}.png") display: block float: left =icon($ident, $size: 16) background-image: image-url("#{$size}x#{$size}/#{$ident}.png") =icon-class(...
@import compass/typography/text/replacement =icon-text($ident, $icon: $ident, $size: 16) .icon-#{$ident}-text +replace-text-with-dimensions("#{$size}x#{$size}/#{$icon}.png") display: block float: left =icon($ident, $size: 16) background-image: image-url("#{$size}x#{$size}/#{$ident}.png") =icon-class(...
Fix bad icons overlaying contextual link.
Fix bad icons overlaying contextual link.
Sass
agpl-3.0
huerlisi/bookyt,xuewenfei/bookyt,huerlisi/bookyt,gaapt/bookyt,gaapt/bookyt,xuewenfei/bookyt,gaapt/bookyt,huerlisi/bookyt,hauledev/bookyt,silvermind/bookyt,silvermind/bookyt,hauledev/bookyt,hauledev/bookyt,gaapt/bookyt,wtag/bookyt,wtag/bookyt,hauledev/bookyt,silvermind/bookyt,wtag/bookyt,xuewenfei/bookyt,silvermind/book...
sass
## Code Before: @import compass/typography/text/replacement =icon-text($ident, $icon: $ident, $size: 16) .icon-#{$ident}-text +replace-text-with-dimensions("#{$size}x#{$size}/#{$icon}.png") display: block float: left =icon($ident, $size: 16) background-image: image-url("#{$size}x#{$size}/#{$ident}.png...
b7613e8983281c1549a3c69e8c75698a45f00309
app/scripts/queryparser.js
app/scripts/queryparser.js
/* jshint devel:true */ /* global exports, require, URI */ exports.parser = function(url, callbacks) { if (url) { var queryMap = new URI(url).search(true); if (queryMap.CFTemplateURL && callbacks.onTemplate) { callbacks.onTemplate(queryMap.CFTemplateURL); } } };
/* jshint devel:true */ /* global exports, URI */ exports.parser = function(url, callbacks) { 'use strict'; if (url) { var queryMap = new URI(url).search(true); if (queryMap.CFTemplateURL && callbacks.onTemplate) { callbacks.onTemplate(queryMap.CFTemplateURL); } } };
Fix JSHint errors & warnings
Fix JSHint errors & warnings
JavaScript
mit
dmgress/cloudgrapher,dmgress/cloudgrapher
javascript
## Code Before: /* jshint devel:true */ /* global exports, require, URI */ exports.parser = function(url, callbacks) { if (url) { var queryMap = new URI(url).search(true); if (queryMap.CFTemplateURL && callbacks.onTemplate) { callbacks.onTemplate(queryMap.CFTemplateURL); } }...
7269d5d34bfca91f42c400db63d723a71ec2c011
i18n.gemspec
i18n.gemspec
$: << File.expand_path('../lib', __FILE__) require 'i18n/version' Gem::Specification.new do |s| s.name = "i18n" s.version = I18n::VERSION s.authors = ["Sven Fuchs", "Joshua Harvey", "Matt Aimonetti", "Stephan Soller", "Saimon Moore"] s.email = "rails-i18n@googlegroups.com" s.homepag...
$: << File.expand_path('../lib', __FILE__) require 'i18n/version' Gem::Specification.new do |s| s.name = "i18n" s.version = I18n::VERSION s.authors = ["Sven Fuchs", "Joshua Harvey", "Matt Aimonetti", "Stephan Soller", "Saimon Moore"] s.email = "rails-i18n@googlegroups.com" s.homepag...
Add required ruby version to the gemspec
Add required ruby version to the gemspec
Ruby
mit
ducthanh/i18n,godaddy/i18n,viniciusnz/i18n,svenfuchs/i18n,benternet/i18n,xchanging-mm4/i18n,PikachuEXE/i18n,lypanov/i18n,iamjarvo/i18n,tenderlove/i18n,daniel-rikowski/i18n,Bartuz/i18n
ruby
## Code Before: $: << File.expand_path('../lib', __FILE__) require 'i18n/version' Gem::Specification.new do |s| s.name = "i18n" s.version = I18n::VERSION s.authors = ["Sven Fuchs", "Joshua Harvey", "Matt Aimonetti", "Stephan Soller", "Saimon Moore"] s.email = "rails-i18n@googlegroups....
6cbeef64d39be82b8dd8d13ca1e77396289a8b33
.travis.yml
.travis.yml
language: java jdk: oraclejdk8 script: - ./gradlew build - ./gradlew shadow - java -jar ./detekt-cli/build/libs/detekt-cli-*-all.jar --help - java -jar ./detekt-cli/build/libs/detekt-cli-*-all.jar -i . --baseline ./reports/baseline.xml -f ".*/test/.*,.*/resources/.*, .*/build/.*" -c ./detekt-cli/src/main/resour...
language: java jdk: oraclejdk8 script: - ./gradlew build - ./gradlew shadow - java -jar ./detekt-cli/build/libs/detekt-cli-*-all.jar --help - java -jar ./detekt-cli/build/libs/detekt-cli-*-all.jar -i . --baseline ./reports/baseline.xml -f ".*/test/.*,.*/resources/.*, .*/build/.*" -c ./detekt-cli/src/main/resour...
Use failfast configuration in CI
Use failfast configuration in CI
YAML
apache-2.0
rock3r/detekt,arturbosch/detekt,rock3r/detekt,Mauin/detekt,MyDogTom/detekt,Mauin/detekt,arturbosch/detekt,Mauin/detekt,Mauin/detekt,rock3r/detekt,arturbosch/detekt
yaml
## Code Before: language: java jdk: oraclejdk8 script: - ./gradlew build - ./gradlew shadow - java -jar ./detekt-cli/build/libs/detekt-cli-*-all.jar --help - java -jar ./detekt-cli/build/libs/detekt-cli-*-all.jar -i . --baseline ./reports/baseline.xml -f ".*/test/.*,.*/resources/.*, .*/build/.*" -c ./detekt-cli...
d2d18cc63f5a8c266a0ff5f7eea33d08c010e9e8
lib/email_notify.rb
lib/email_notify.rb
class EmailNotify def self.logger @@logger ||= ::Rails.logger || Logger.new(STDOUT) end def self.send_comment(comment, user) return if user.email.blank? begin email = NotificationMailer.comment(comment, user) email.deliver rescue => err logger.error "Unable to send comment emai...
class EmailNotify def self.logger @@logger ||= ::Rails.logger || Logger.new(STDOUT) end def self.send_comment(comment, user) return if user.email.blank? begin email = NotificationMailer.comment(comment, user) email.deliver_now rescue => err logger.error "Unable to send comment ...
Replace deprecated deliver with deliver now
Replace deprecated deliver with deliver now
Ruby
mit
moneyadviceservice/publify,moneyadviceservice/publify,moneyadviceservice/publify,moneyadviceservice/publify
ruby
## Code Before: class EmailNotify def self.logger @@logger ||= ::Rails.logger || Logger.new(STDOUT) end def self.send_comment(comment, user) return if user.email.blank? begin email = NotificationMailer.comment(comment, user) email.deliver rescue => err logger.error "Unable to s...
51781b95b629a31107d16a52b0ea184306fe6163
pyfakefs/pytest_plugin.py
pyfakefs/pytest_plugin.py
import linecache import py import pytest from pyfakefs.fake_filesystem_unittest import Patcher try: import builtins except ImportError: import __builtin__ as builtins Patcher.SKIPMODULES.add(py) # Ignore pytest components when faking filesystem # The "linecache" module is used to read the test file in ca...
import linecache import sys import py import pytest from pyfakefs.fake_filesystem_unittest import Patcher if sys.version_info >= (3,): import builtins else: import __builtin__ as builtins Patcher.SKIPMODULES.add(py) # Ignore pytest components when faking filesystem # The "linecache" module is used to rea...
Fix pytest when pyfakefs + future is installed
Fix pytest when pyfakefs + future is installed `python-future` is notorious for breaking modules which use `try:` / `except:` to import modules based on version. In this case, `pyfakefs` imported the backported `builtins` module which changes the semantics of the `open()` function. `pyfakefs` then monkeypatches `lin...
Python
apache-2.0
mrbean-bremen/pyfakefs,mrbean-bremen/pyfakefs,pytest-dev/pyfakefs,jmcgeheeiv/pyfakefs
python
## Code Before: import linecache import py import pytest from pyfakefs.fake_filesystem_unittest import Patcher try: import builtins except ImportError: import __builtin__ as builtins Patcher.SKIPMODULES.add(py) # Ignore pytest components when faking filesystem # The "linecache" module is used to read the...
177984c75c51a266a6c9e3cc50fa999a31a512b7
app/views/users/show.html.haml
app/views/users/show.html.haml
-unless @user.nil? .u-bg-beta.u-mb-5 .container.u-py-2 .Grid.Grid--flush.u-t-align-center .Grid-cell.1-of-3--handheld-and-up %p.u-m-0.u-t-uppercase All lists by %h2.u-m-0.u-fw-700 =@user.name .Grid-cell.1-of-3--handheld-and-up %p.u-m-0.u...
-unless @user.nil? .u-bg-beta.u-mb-3 .container.u-py-2 .Grid.Grid--flush.u-t-align-center .Grid-cell.1-of-3--handheld-and-up %p.u-m-0.u-t-uppercase All lists by %h2.u-m-0.u-fw-700 =@user.name .Grid-cell.1-of-3--handheld-and-up %p.u-m-0.u...
Add user loggedin check, reduze margin.
Add user loggedin check, reduze margin.
Haml
mit
kirillis/mytopten,kirillis/mytopten,krisimmig/mytopten,kirillis/mytopten,krisimmig/mytopten,krisimmig/mytopten
haml
## Code Before: -unless @user.nil? .u-bg-beta.u-mb-5 .container.u-py-2 .Grid.Grid--flush.u-t-align-center .Grid-cell.1-of-3--handheld-and-up %p.u-m-0.u-t-uppercase All lists by %h2.u-m-0.u-fw-700 =@user.name .Grid-cell.1-of-3--handheld-and-up ...
0633e8ff5447d0718ed6a7b6866c3fbd7241540b
examples/sparklineDemo.ts
examples/sparklineDemo.ts
///<reference path="../lib/d3.d.ts" /> ///<reference path="../src/table.ts" /> ///<reference path="../src/renderer.ts" /> ///<reference path="../src/interaction.ts" /> ///<reference path="../src/labelComponent.ts" /> ///<reference path="../src/axis.ts" /> ///<reference path="exampleUtil.ts" /> if ((<any> window).demo...
///<reference path="../lib/d3.d.ts" /> ///<reference path="../src/table.ts" /> ///<reference path="../src/renderer.ts" /> ///<reference path="../src/interaction.ts" /> ///<reference path="../src/labelComponent.ts" /> ///<reference path="../src/axis.ts" /> ///<reference path="exampleUtil.ts" /> if ((<any> window).demo...
Add coordinators to the sparkline demo
Add coordinators to the sparkline demo
TypeScript
mit
gdseller/plottable,NextTuesday/plottable,RobertoMalatesta/plottable,danmane/plottable,palantir/plottable,jacqt/plottable,iobeam/plottable,alyssaq/plottable,palantir/plottable,palantir/plottable,palantir/plottable,NextTuesday/plottable,jacqt/plottable,iobeam/plottable,iobeam/plottable,gdseller/plottable,softwords/plotta...
typescript
## Code Before: ///<reference path="../lib/d3.d.ts" /> ///<reference path="../src/table.ts" /> ///<reference path="../src/renderer.ts" /> ///<reference path="../src/interaction.ts" /> ///<reference path="../src/labelComponent.ts" /> ///<reference path="../src/axis.ts" /> ///<reference path="exampleUtil.ts" /> if ((<a...
f74ba36b0c4c29172ba65fba7efaf235dbea108f
spree-refinerycms-authentication.gemspec
spree-refinerycms-authentication.gemspec
Gem::Specification.new do |gem| gem.name = "spree-refinerycms-authentication" gem.version = "3.0.0" gem.authors = ["Adrian Macneil", "Philip Arndt", "Brice Sanchez"] gem.email = ["adrian@crescendo.net.nz"] gem.description = "Configure Refinery to use Spree for authentication" ...
Gem::Specification.new do |s| s.name = "spree-refinerycms-authentication" s.version = "3.0.0" s.authors = ["Philip Arndt", "Brice Sanchez", "Adrian Macneil"] s.description = "Configure Refinery to use Spree for authentication" s.summary = "Spree has a pluggable authentication sys...
Update gemspec with correct dependencies
Update gemspec with correct dependencies
Ruby
mit
refinerycms-contrib/solidus-refinery-authentication,refinerycms-contrib/solidus-refinery-authentication,bricesanchez/spree-refinery-authentication,bricesanchez/spree-refinery-authentication
ruby
## Code Before: Gem::Specification.new do |gem| gem.name = "spree-refinerycms-authentication" gem.version = "3.0.0" gem.authors = ["Adrian Macneil", "Philip Arndt", "Brice Sanchez"] gem.email = ["adrian@crescendo.net.nz"] gem.description = "Configure Refinery to use Spree for a...
1b5759e5c9b3a2ddca3fc8233f20b045e2e60501
README.md
README.md
The central storage of *published* content on GOV.UK. ## Technical documentation The content store maps public-facing URLs to published items of content, represented as JSON data. It will replace [content API][content-api] in time. Publishing applications add content to the content store via the Publishing API; pub...
The central storage of *published* content on GOV.UK. ## Technical documentation The content store maps public-facing URLs to published items of content, represented as JSON data. Publishing applications add content to the content store via the Publishing API; public-facing applications read content from the conten...
Remove references to the Content API
Remove references to the Content API The [`content_api`](https://github.com/alphagov/govuk_content_api) has been retired, and all content has been migrated to the [`content_store`](https://github.com/alphagov/content-store). Therefore, we can remove all references to the Content API, and rely solely on the Content St...
Markdown
mit
alphagov/content-store,alphagov/content-store
markdown
## Code Before: The central storage of *published* content on GOV.UK. ## Technical documentation The content store maps public-facing URLs to published items of content, represented as JSON data. It will replace [content API][content-api] in time. Publishing applications add content to the content store via the Pub...
d11b10f485474e9c54b78afc09a45c2d0ca9e282
.travis.yml
.travis.yml
language: ruby services: - redis rvm: - 2.4.0 - 2.5.0 - 2.6.0 env: matrix: - SIDEKIQ_VERSION="~> 2.7.0" - SIDEKIQ_VERSION="~> 3.0.0" - SIDEKIQ_VERSION="~> 4.0.0" - SIDEKIQ_VERSION="~> 5.0.0" - SIDEKIQ_VERSION="~> 6.0.0" branches: only: - master notifications: email: recipients:...
language: ruby services: - redis rvm: - 2.4.0 - 2.5.0 - 2.6.0 env: - SIDEKIQ_VERSION="~> 2.7.0" - SIDEKIQ_VERSION="~> 3.0.0" - SIDEKIQ_VERSION="~> 4.0.0" - SIDEKIQ_VERSION="~> 5.0.0" - SIDEKIQ_VERSION="~> 6.0.0" jobs: exclude: # Sidekiq 6 requires Ruby 2.5+ - rvm: 2.4.0 env: SIDEKIQ_...
Fix broken build for Sidekiq 6 + Ruby 2.4
Fix broken build for Sidekiq 6 + Ruby 2.4
YAML
mit
phstc/sidekiq-statsd
yaml
## Code Before: language: ruby services: - redis rvm: - 2.4.0 - 2.5.0 - 2.6.0 env: matrix: - SIDEKIQ_VERSION="~> 2.7.0" - SIDEKIQ_VERSION="~> 3.0.0" - SIDEKIQ_VERSION="~> 4.0.0" - SIDEKIQ_VERSION="~> 5.0.0" - SIDEKIQ_VERSION="~> 6.0.0" branches: only: - master notifications: email:...
17686bc4ebcd0f7788624d1a2375c7d6e802e6e3
lib/Pagon/Utility/Cli.php
lib/Pagon/Utility/Cli.php
<?php namespace Pagon\Utility; class Cli { /** * Color output text for the CLI * * @param string $text to color * @param string $color of text * @param bool|string $bold color * @param string $bg_color background color * @return string */ ...
<?php namespace Pagon\Utility; class Cli { /** * Color output text for the CLI * * @param string $text to color * @param string $color of text * @param bool|string $bold color * @param string $bg_color background color * @return string */ ...
Add background colors of cli support
Add background colors of cli support
PHP
mit
hfcorriez/pagon
php
## Code Before: <?php namespace Pagon\Utility; class Cli { /** * Color output text for the CLI * * @param string $text to color * @param string $color of text * @param bool|string $bold color * @param string $bg_color background color * @return ...
54ae1ca08c31f69d037b001b4d460a00356ce0f5
.hound.yml
.hound.yml
sass-lint: enabled: false coffeescript: enabled: false jshint: enabled: false haml: config_file: .haml-lint.yml rubocop: version: 1.22.1 config_file: .rubocop.yml
sass-lint: enabled: false coffeescript: enabled: false jshint: enabled: false haml: enabled: false config_file: .haml-lint.yml rubocop: version: 1.22.1 config_file: .rubocop.yml
Disable HAML linting through Hound
Disable HAML linting through Hound Hound doesn't support HAML linting with RuboCop cops, effectively making it useless
YAML
agpl-3.0
Retrospring/retrospring,Retrospring/retrospring,Retrospring/retrospring,Retrospring/retrospring,Retrospring/retrospring
yaml
## Code Before: sass-lint: enabled: false coffeescript: enabled: false jshint: enabled: false haml: config_file: .haml-lint.yml rubocop: version: 1.22.1 config_file: .rubocop.yml ## Instruction: Disable HAML linting through Hound Hound doesn't support HAML linting with RuboCop cops, effectively making...
bd60691d95809491ddf10205e1c9d9762709f58f
test/core/slice/b64_encode_fuzzer.cc
test/core/slice/b64_encode_fuzzer.cc
/* * * Copyright 2019 gRPC authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
/* * * Copyright 2019 gRPC authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
Fix include order for clang_format.
Fix include order for clang_format.
C++
apache-2.0
muxi/grpc,donnadionne/grpc,jtattermusch/grpc,firebase/grpc,stanley-cheung/grpc,muxi/grpc,jboeuf/grpc,jtattermusch/grpc,vjpai/grpc,ctiller/grpc,muxi/grpc,jboeuf/grpc,ejona86/grpc,muxi/grpc,stanley-cheung/grpc,nicolasnoble/grpc,nicolasnoble/grpc,firebase/grpc,grpc/grpc,grpc/grpc,vjpai/grpc,grpc/grpc,stanley-cheung/grpc,v...
c++
## Code Before: /* * * Copyright 2019 gRPC authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
ae76dfd744c6046eb8d708fb46ebf8d76c7f333f
blog.html
blog.html
--- layout: landing title: Blog description: Latest posts, tags, categories related to OpenTheme. --- <div class="ui inverted vertical segment dark-wood"> <div class="ui very relaxed stackable page grid"> <div class="row"> <div class="eight wide column"> {% include recent-posts.html %} </div>...
--- layout: landing title: Blog description: Latest posts, tags, categories related to OpenTheme. --- <div class="ui inverted purple vertical segment"> <div class="ui very relaxed stackable page grid"> <div class="row"> <div class="eight wide column"> {% include recent-posts.html %} </div> ...
Revert "Subtle Patterns - Dark Wood 2"
Revert "Subtle Patterns - Dark Wood 2" This reverts commit f745ccded1883c12d3156a01733431d3c896b34f.
HTML
mit
Robobench/robobench.github.io,manavsehgal/opentheme,open-start/opentheme,yanivefraim/opentheme,suerb/opentheme,cleaversolutions/opentheme,hellfish2/opentheme,yanivefraim/opentheme,suerb/opentheme,dannyshafer/opentheme,open-start/opentheme,Robobench/robobench.github.io,Robobench/robobench.github.io,hellfish2/opentheme,j...
html
## Code Before: --- layout: landing title: Blog description: Latest posts, tags, categories related to OpenTheme. --- <div class="ui inverted vertical segment dark-wood"> <div class="ui very relaxed stackable page grid"> <div class="row"> <div class="eight wide column"> {% include recent-posts.html...
eaeca1ba9db320733f31fe07b588d82360a51fa4
.travis.yml
.travis.yml
language: c sudo: required services: - docker env: matrix: - python=3.4 CONDA_PY=34 CONDA_NPY=18 install: - docker pull bioconda/bioconda-builder script: - docker run -v `pwd`:/tmp/conda-recipes bioconda/bioconda-builder /bin/build-packages.sh
language: c sudo: required services: - docker env: global: - CONDA_NPY=18 matrix: - CONDA_PY=34 - CONDA_PY=27 install: - docker pull bioconda/bioconda-builder script: - docker run -v `pwd`:/tmp/conda-recipes bioconda/bioconda-builder /bin/build-packages.sh
Build for python 2.7 and 3.4
Build for python 2.7 and 3.4
YAML
mit
chapmanb/bioconda-recipes,jfallmann/bioconda-recipes,rob-p/bioconda-recipes,colinbrislawn/bioconda-recipes,instituteofpathologyheidelberg/bioconda-recipes,oena/bioconda-recipes,mdehollander/bioconda-recipes,JenCabral/bioconda-recipes,rob-p/bioconda-recipes,xguse/bioconda-recipes,ivirshup/bioconda-recipes,ThomasWollmann...
yaml
## Code Before: language: c sudo: required services: - docker env: matrix: - python=3.4 CONDA_PY=34 CONDA_NPY=18 install: - docker pull bioconda/bioconda-builder script: - docker run -v `pwd`:/tmp/conda-recipes bioconda/bioconda-builder /bin/build-packages.sh ## Instruction: Build for python 2.7 and 3.4 ...
8164d048b47299377b4db7d9fc0198e24b07bdb3
engine/geometry.py
engine/geometry.py
from math import cos, sin, pi, hypot def rotate(polygon, angle): rotated_points = [] cos_result = cos(angle) sin_result = sin(angle) for point in polygon: x = point[0] * cos_result - point[1] * sin_result y = point[0] * sin_result + point[1] * cos_result rotated_points.append((x...
from math import cos, sin, pi, hypot def rotate(polygon, angle): rotated_points = [] cos_result = cos(angle) sin_result = sin(angle) for point in polygon: x = point[0] * cos_result - point[1] * sin_result y = point[0] * sin_result + point[1] * cos_result rotated_points.append((x...
Fix move to return only int, draw functions cannot handle floats as coordinates
Fix move to return only int, draw functions cannot handle floats as coordinates
Python
apache-2.0
PGHM/spacebattle
python
## Code Before: from math import cos, sin, pi, hypot def rotate(polygon, angle): rotated_points = [] cos_result = cos(angle) sin_result = sin(angle) for point in polygon: x = point[0] * cos_result - point[1] * sin_result y = point[0] * sin_result + point[1] * cos_result rotated_...
415b64c25db302d0b04959dbc4bf2838b4d8b43e
lib/playfair.dart
lib/playfair.dart
// Copyright 2015 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. library playfair; import 'dart:sky' as sky; import 'dart:math' as math; import 'package:sky/rendering.dart'; import 'package:sky/theme/typography.dart';...
// Copyright 2015 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. library playfair; import 'dart:sky' as sky; import 'dart:math' as math; import 'package:sky/material.dart'; import 'package:sky/rendering.dart'; import ...
Update imports after material.dart rename
Update imports after material.dart rename
Dart
bsd-3-clause
devoncarew/playfair,devoncarew/playfair
dart
## Code Before: // Copyright 2015 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. library playfair; import 'dart:sky' as sky; import 'dart:math' as math; import 'package:sky/rendering.dart'; import 'package:sky/theme/t...
b70c482896e75685f598a33a67ff597be65c9f4b
composer.json
composer.json
{ "name": "giggsey/locale", "description": "Locale functions required by libphonenumber-for-php", "minimum-stability": "stable", "license": "MIT", "authors": [ { "name": "Joshua Gigg", "email": "giggsey@gmail.com", "homepage": "http://giggsey.com/" } ], "require": { "php": ">...
{ "name": "giggsey/locale", "description": "Locale functions required by libphonenumber-for-php", "minimum-stability": "stable", "license": "MIT", "authors": [ { "name": "Joshua Gigg", "email": "giggsey@gmail.com", "homepage": "http://giggsey.com/" } ], "require": { "php": ">...
Update pear/versioncontrol_git to a tag
Update pear/versioncontrol_git to a tag
JSON
mit
giggsey/Locale
json
## Code Before: { "name": "giggsey/locale", "description": "Locale functions required by libphonenumber-for-php", "minimum-stability": "stable", "license": "MIT", "authors": [ { "name": "Joshua Gigg", "email": "giggsey@gmail.com", "homepage": "http://giggsey.com/" } ], "require":...
6185cd5772cde3152657b438b02b68124faf1f79
server/server.js
server/server.js
var express = require('express') var app = express() var bodyparser = require('body-parser'); app.get('/', function (req, res) { res.send('get request received'); }) app.post('/', function (req, res) { res.send('post request received'); }) app.listen(3000, function () { console.log('Example app listening on po...
var express = require('express') var app = express() var bodyParser = require('body-parser'); var morgan = require('morgan'); var port = process.env.PORT || 3000; app.use(bodyParser.json()); // for parsing application/json app.use(bodyParser.urlencoded({ extended: true })); // for parsing application/x-www-form-urlenco...
Implement morgan, added port variable
Implement morgan, added port variable
JavaScript
mit
Sibilant-Siblings/sibilant-siblings,Sibilant-Siblings/sibilant-siblings
javascript
## Code Before: var express = require('express') var app = express() var bodyparser = require('body-parser'); app.get('/', function (req, res) { res.send('get request received'); }) app.post('/', function (req, res) { res.send('post request received'); }) app.listen(3000, function () { console.log('Example app...
6e07d6b34c6292b03ece1565c191932c56b887dd
src/js/View/Components/AppAlerts/AppAlert.tsx
src/js/View/Components/AppAlerts/AppAlert.tsx
import * as React from 'react'; interface IAppAlertProps { appAlert: IAppAlert; }; class AppAlert extends React.Component<IAppAlertProps, any> { render() { return ( <div className={'app-alert ' + 'app-alert--' + this.props.appAlert.status.toLowerCase() +...
import * as React from 'react'; interface IAppAlertProps { appAlert: IAppAlert; }; class AppAlert extends React.Component<IAppAlertProps, any> { render() { return ( <div className={'app-alert ' + 'app-alert--' + this.props.appAlert.status.toLowerCase() +...
Truncate app alerts if they overflow
Truncate app alerts if they overflow
TypeScript
mit
harksys/HawkEye,harksys/HawkEye,harksys/HawkEye
typescript
## Code Before: import * as React from 'react'; interface IAppAlertProps { appAlert: IAppAlert; }; class AppAlert extends React.Component<IAppAlertProps, any> { render() { return ( <div className={'app-alert ' + 'app-alert--' + this.props.appAlert.status.toLowerCase() ...
ef6a48c6d757a3a936b7eae1697d128352dd4574
config/calibration_directives.txt
config/calibration_directives.txt
{ "calibration_autorun_settings": { "quitat": 1500, "530": ["dsl on", "nfeed on", "dsb on"], "pwup": true // "post warm up pause", [true | false], boolean } }
// Use this file to automate certain aspects of the calibration process. // By default all the directives are commented out and are simply provided // as examples for what/how you are able to control the calibration process // with this file. { "calibration_autorun_settings": { // Examples: //"quitat": 1500, ...
Change calibration directives file so that it is all commented out by default.
Change calibration directives file so that it is all commented out by default. Add comments/explanation.
Text
mit
tobeycarman/dvm-dos-tem,tobeycarman/dvm-dos-tem,tobeycarman/dvm-dos-tem,tobeycarman/dvm-dos-tem,tobeycarman/dvm-dos-tem,tobeycarman/dvm-dos-tem
text
## Code Before: { "calibration_autorun_settings": { "quitat": 1500, "530": ["dsl on", "nfeed on", "dsb on"], "pwup": true // "post warm up pause", [true | false], boolean } } ## Instruction: Change calibration directives file so that it is all commented out by default. Add comments/explanation. ## Co...
197a2a947b0dfec7146e0cdd6b714e165f971d43
emacs/site-lisp/init-eshell.el
emacs/site-lisp/init-eshell.el
(use-package eshell-git-prompt :config (eshell-git-prompt-use-theme 'powerline)) (provide 'init-eshell)
(use-package eshell-git-prompt :hook (eshell-mode . (lambda () (setq show-trailing-whitespace nil))) :config (eshell-git-prompt-use-theme 'powerline)) (provide 'init-eshell)
Remove trailing whitespaces in eshell mode
Remove trailing whitespaces in eshell mode
Emacs Lisp
mit
hongchangwu/dotfiles,hongchangwu/dotfiles
emacs-lisp
## Code Before: (use-package eshell-git-prompt :config (eshell-git-prompt-use-theme 'powerline)) (provide 'init-eshell) ## Instruction: Remove trailing whitespaces in eshell mode ## Code After: (use-package eshell-git-prompt :hook (eshell-mode . (lambda () (setq show-trailing-whitespace nil))) :config (e...
2359a24a45971c7856c8fe65224d896cfee3b171
_config.yml
_config.yml
name: Nithin Bekal description: '' url: http://nithinbekal.com pygments: true permalink: /posts/:title markdown: kramdown
name: Nithin Bekal description: '' url: http://nithinbekal.com highlighter: pygments permalink: /posts/:title markdown: kramdown
Change syntax highlight config to work with jekyll 2
Change syntax highlight config to work with jekyll 2
YAML
mit
nithinbekal/nithinbekal.github.io,nithinbekal/nithinbekal.github.io
yaml
## Code Before: name: Nithin Bekal description: '' url: http://nithinbekal.com pygments: true permalink: /posts/:title markdown: kramdown ## Instruction: Change syntax highlight config to work with jekyll 2 ## Code After: name: Nithin Bekal description: '' url: http://nithinbekal.com highlighter: pygments permalink: ...
3407a068d80a4bbdfcbebf07890283435e2699f6
src/scss/components/_reddit-oc.scss
src/scss/components/_reddit-oc.scss
@import "./components/_reddit-oc/_teams-header.scss"; @import "./components/_reddit-oc/_sidebar-custom-content.scss"; @import "./components/_reddit-oc/_important-links.scss"; @import "./components/_reddit-oc/_user-flair.scss"; @import "./components/_reddit-oc/_thread-style.scss";
@import "./components/_reddit-oc/_teams-header.scss"; @import "./components/_reddit-oc/_sidebar-custom-content.scss"; @import "./components/_reddit-oc/_important-links.scss"; @import "./components/_reddit-oc/_user-flair.scss";
Fix compile error (TTT related)
Fix compile error (TTT related)
SCSS
mit
redditnfl/code,redditnfl/code
scss
## Code Before: @import "./components/_reddit-oc/_teams-header.scss"; @import "./components/_reddit-oc/_sidebar-custom-content.scss"; @import "./components/_reddit-oc/_important-links.scss"; @import "./components/_reddit-oc/_user-flair.scss"; @import "./components/_reddit-oc/_thread-style.scss"; ## Instruction: Fix co...
c1fe0af4d54f652d129b20abaf5c58d4f3114556
src/Features/CSharp/Portable/project.json
src/Features/CSharp/Portable/project.json
{ "dependencies": { "System.ValueTuple": "4.0.1-beta-24425-02" }, "frameworks": { "netstandard1.3": { "imports": [ "portable-net45+win8", "dotnet" ] } } }
{ "dependencies": { "System.ValueTuple": "4.3.0" }, "frameworks": { "netstandard1.3": { "imports": [ "portable-net45+win8", "dotnet" ] } } }
Use correct version of ValueTuple
Use correct version of ValueTuple
JSON
mit
agocke/roslyn,drognanar/roslyn,zooba/roslyn,shyamnamboodiripad/roslyn,Giftednewt/roslyn,xasx/roslyn,jasonmalinowski/roslyn,KirillOsenkov/roslyn,mattwar/roslyn,physhi/roslyn,jasonmalinowski/roslyn,swaroop-sridhar/roslyn,sharwell/roslyn,mavasani/roslyn,CyrusNajmabadi/roslyn,tannergooding/roslyn,weltkante/roslyn,dpoeschl/...
json
## Code Before: { "dependencies": { "System.ValueTuple": "4.0.1-beta-24425-02" }, "frameworks": { "netstandard1.3": { "imports": [ "portable-net45+win8", "dotnet" ] } } } ## Instruction: Use correct version of ValueTuple ## Code After: { "dependencies": { "System.ValueTuple": "4.3.0" ...
4bbf04dc78f773f81298ede48adb3efa7bc57e75
athi-fx-gui/src/main/java/com/github/athi/athifx/gui/menu/item/Item.java
athi-fx-gui/src/main/java/com/github/athi/athifx/gui/menu/item/Item.java
package com.github.athi.athifx.gui.menu.item; import com.github.athi.athifx.gui.font_awesome.FontAwesome; import com.github.athi.athifx.gui.menu.group.Group; /** * Created by Athi */ public interface Item<GROUP extends Enum<?> & Group> { long id(); String caption(); FontAwesome icon(); /** ...
package com.github.athi.athifx.gui.menu.item; import com.github.athi.athifx.gui.font_awesome.FontAwesome; import com.github.athi.athifx.gui.menu.group.Group; /** * Created by Athi */ public interface Item<GROUP extends Enum<?> & Group> { long id(); String caption(); FontAwesome icon(); /** ...
Support for itemId with spaces.
Support for itemId with spaces.
Java
apache-2.0
Athi/athifx
java
## Code Before: package com.github.athi.athifx.gui.menu.item; import com.github.athi.athifx.gui.font_awesome.FontAwesome; import com.github.athi.athifx.gui.menu.group.Group; /** * Created by Athi */ public interface Item<GROUP extends Enum<?> & Group> { long id(); String caption(); FontAwesome icon(...
f9b3837c53bb0572c95f2f48b6855250870ea2f1
js/Landing.js
js/Landing.js
import React from 'react' const Landing = React.createClass({ render () { return ( <div className='landing'> <h1>svideo</h1> <input type='text' placeholder='Search' /> <a>or Browse All</a> </div> ) } }) export default Landing
import React from 'react' import { Link } from 'react-router' const Landing = React.createClass({ render () { return ( <div className='landing'> <h1>svideo</h1> <input type='text' placeholder='Search' /> <Link to='/search'>or Browse All</Link> </div> ) } }) export defau...
Make the "or Browse All" button a link that takes you to /search route
Make the "or Browse All" button a link that takes you to /search route
JavaScript
mit
galaxode/ubiquitous-eureka,galaxode/ubiquitous-eureka
javascript
## Code Before: import React from 'react' const Landing = React.createClass({ render () { return ( <div className='landing'> <h1>svideo</h1> <input type='text' placeholder='Search' /> <a>or Browse All</a> </div> ) } }) export default Landing ## Instruction: Make the "o...
1bc10274684e53cde77b45b87e127db95dda95a2
DS3SearchEngineWordFinder/README.txt
DS3SearchEngineWordFinder/README.txt
Welcome to MTR Search Engine Word Finder Server/Client Program By Mr. SOK Pongsametrey, Thou Bunhann, Thy Poty, Cheap Eng RUPP, MITE, 2011 Contact: metreysk@gmail.com / http://osify.com Requires at least JDK 1.6 Packaging: Apache ANT 1.6 or latest . To compile / packaging use: Apache ANT 1.6 up ant release . Go ...
Welcome to MTR Search Engine Word Finder Server/Client Program By Mr. SOK Pongsametrey, Thou Bunhann, Thy Poty, Cheap Eng RUPP, MITE, 2011 Contact: metreysk@gmail.com / http://osify.com Requires at least JDK 1.6 Packaging: Apache ANT 1.6 or latest . To compile / packaging use: Apache ANT 1.6 up ant release . Go ...
Update readme on how to test
Update readme on how to test
Text
apache-2.0
metrey/ds-practise,metrey/ds-practise
text
## Code Before: Welcome to MTR Search Engine Word Finder Server/Client Program By Mr. SOK Pongsametrey, Thou Bunhann, Thy Poty, Cheap Eng RUPP, MITE, 2011 Contact: metreysk@gmail.com / http://osify.com Requires at least JDK 1.6 Packaging: Apache ANT 1.6 or latest . To compile / packaging use: Apache ANT 1.6 up ant ...
23c2a92ed7e0d691fd6756b8a9a826a6aeff373f
library/CMService/AwsS3Versioning/Response/Version.php
library/CMService/AwsS3Versioning/Response/Version.php
<?php class CMService_AwsS3Versioning_Response_Version { /** * @param array $data */ public function __construct(array $data) { $key = $data['Key']; $id = $data['VersionId']; $lastModified = $data['LastModified']; } }
<?php class CMService_AwsS3Versioning_Response_Version { /** @var string */ private $_id; /** @var string */ private $_key; /** @var DateTime */ private $_lastModified; /** * @param array $data */ public function __construct(array $data) { $this->_key = (string) $d...
Implement getters for version response
Implement getters for version response
PHP
mit
alexispeter/CM,alexispeter/CM,tomaszdurka/CM,zazabe/cm,vogdb/cm,fauvel/CM,fauvel/CM,njam/CM,njam/CM,fauvel/CM,cargomedia/CM,alexispeter/CM,vogdb/cm,cargomedia/CM,tomaszdurka/CM,fauvel/CM,zazabe/cm,mariansollmann/CM,cargomedia/CM,mariansollmann/CM,mariansollmann/CM,zazabe/cm,tomaszdurka/CM,tomaszdurka/CM,alexispeter/CM,...
php
## Code Before: <?php class CMService_AwsS3Versioning_Response_Version { /** * @param array $data */ public function __construct(array $data) { $key = $data['Key']; $id = $data['VersionId']; $lastModified = $data['LastModified']; } } ## Instruction: Implement getters for...
8fb8f24536371ab2eebd0855158032265e4132a7
spec/active_record_spec_helper.rb
spec/active_record_spec_helper.rb
require 'spec_helper_lite' require 'faker' require 'yaml' require 'active_record' require 'factory_girl' require 'rack/test' require 'shoulda/matchers' require_relative './support/configure_transactions.rb' unless rails_loaded? $:.unshift File.expand_path '../../app/models', __FILE__ $:.unshift File.expand_path '....
require 'spec_helper_lite' require 'faker' require 'yaml' require 'active_record' require 'factory_girl' require 'rack/test' require 'shoulda/matchers' require_relative './support/configure_transactions.rb' unless rails_loaded? $:.unshift File.expand_path '../../app/models', __FILE__ $:.unshift File.expand_path '....
Fix yaml erb parsing when Rails is not loaded
Fix yaml erb parsing when Rails is not loaded
Ruby
mit
zinedistro/zinedistro,zinedistro/zinedistro,zinedistro/zinedistro
ruby
## Code Before: require 'spec_helper_lite' require 'faker' require 'yaml' require 'active_record' require 'factory_girl' require 'rack/test' require 'shoulda/matchers' require_relative './support/configure_transactions.rb' unless rails_loaded? $:.unshift File.expand_path '../../app/models', __FILE__ $:.unshift Fil...
ae73987c932ae86d96d2d1594b7d0fcb9009a58b
.travis.yml
.travis.yml
language: go go: - 1.10.2 before_install: - go get golang.org/x/tools/cmd/cover - go get github.com/golang/lint/golint - go get github.com/tools/godep install: - go list ./... | grep -v examples | go get before_script: # vet the code...fail build if error - make vet script: - go get github.com/aristanet...
language: go go: - 1.12.10 before_install: - go get golang.org/x/tools/cmd/cover - go get golang.org/x/lint/golint - go get github.com/tools/godep install: - go list ./... | grep -v examples | go get before_script: # vet the code...fail build if error - make vet script: - go get github.com/aristanetwork...
Update golint to use correct loc. Bump go version
Update golint to use correct loc. Bump go version
YAML
bsd-3-clause
aristanetworks/goeapi
yaml
## Code Before: language: go go: - 1.10.2 before_install: - go get golang.org/x/tools/cmd/cover - go get github.com/golang/lint/golint - go get github.com/tools/godep install: - go list ./... | grep -v examples | go get before_script: # vet the code...fail build if error - make vet script: - go get gith...
c025408862c5c157e6fef6e5af3c486df8f2bc87
spec/dummy/app/assets/stylesheets/source.css.scss
spec/dummy/app/assets/stylesheets/source.css.scss
@import "reimagine/core"; .source-container { @include container; .highlight { code, pre { font-family: 'Ubuntu Mono', sans-serif; } display: none; } p { @include typekit-helper("proxima-nova-n6", normal, 600); font-size: $base-font-size * 0.8125; // 13px color: $dark-text-color; text...
.source-container { @include container; .highlight { code, pre { font-family: 'Ubuntu Mono', sans-serif; } display: none; } p { @include typekit-helper("proxima-nova-n6", normal, 600); font-size: $base-font-size * 0.8125; // 13px color: $dark-text-color; text-transform: uppercase; ...
Revert "Add core reimagine definitions"
Revert "Add core reimagine definitions" This reverts commit f1fb6e802caf14275d4f6cb1fa4762918141c2f2.
SCSS
mit
challengepost/legacy_assets,challengepost/legacy_assets,challengepost/legacy_assets
scss
## Code Before: @import "reimagine/core"; .source-container { @include container; .highlight { code, pre { font-family: 'Ubuntu Mono', sans-serif; } display: none; } p { @include typekit-helper("proxima-nova-n6", normal, 600); font-size: $base-font-size * 0.8125; // 13px color: $dark-text...
d7be8dfb27bbb95059c8bb478f7e341ad31b26f8
circle.yml
circle.yml
machine: services: - docker dependencies: override: - docker info - docker build -t accounts-cbd-int . test: override: - docker run -d -p 4444:8000 -e SAUCE_USERNAME=$SAUCE_USERNAME -e SAUCE_ACCESS_KEY=$SAUCE_ACCESS_KEY ustwo/docker-sauce-connect:4.3 - docker run -d -p 8000:8000 accounts-cb...
machine: services: - docker dependencies: override: - docker info - docker build -t accounts-cbd-int . test: override: - docker run -d -p 4444:8000 -e SAUCE_USERNAME=$SAUCE_USERNAME -e SAUCE_ACCESS_KEY=$SAUCE_ACCESS_KEY ustwo/docker-sauce-connect:4.3 - docker run -d -p 8000:8000 accounts-cb...
Use wget instead of curl
Use wget instead of curl
YAML
mit
scbd/accounts.cbd.int,scbd/accounts.cbd.int,scbd/accounts.cbd.int
yaml
## Code Before: machine: services: - docker dependencies: override: - docker info - docker build -t accounts-cbd-int . test: override: - docker run -d -p 4444:8000 -e SAUCE_USERNAME=$SAUCE_USERNAME -e SAUCE_ACCESS_KEY=$SAUCE_ACCESS_KEY ustwo/docker-sauce-connect:4.3 - docker run -d -p 8000:...
78872520662e978833c70c436d90acccbfe5fb21
src/main/scala/modules/counter/graphql/schema/CounterSchema.scala
src/main/scala/modules/counter/graphql/schema/CounterSchema.scala
package modules.counter.graphql.schema import akka.stream.ActorMaterializer import core.graphql.GraphQLSchema import javax.inject.Inject import modules.counter.graphql.resolvers.CounterResolver import modules.counter.models.Counter import sangria.macros.derive.{ObjectTypeName, deriveObjectType} import sangria.schema.{...
package modules.counter.graphql.schema import akka.stream.ActorMaterializer import core.graphql.GraphQLSchema import javax.inject.Inject import modules.counter.graphql.resolvers.CounterResolver import modules.counter.models.Counter import sangria.macros.derive.{ObjectTypeName, deriveObjectType, ExcludeFields} import s...
Exclude 'id' field from 'Counter' 'GraphQL' scheme
Exclude 'id' field from 'Counter' 'GraphQL' scheme
Scala
mit
sysgears/apollo-universal-starter-kit,sysgears/apollo-fullstack-starter-kit,sysgears/apollo-universal-starter-kit,sysgears/apollo-universal-starter-kit,sysgears/apollo-universal-starter-kit
scala
## Code Before: package modules.counter.graphql.schema import akka.stream.ActorMaterializer import core.graphql.GraphQLSchema import javax.inject.Inject import modules.counter.graphql.resolvers.CounterResolver import modules.counter.models.Counter import sangria.macros.derive.{ObjectTypeName, deriveObjectType} import ...
05adb44cdec74256fa44ce3a3df61c6525ce7fac
dryscrape/xvfb.py
dryscrape/xvfb.py
import atexit import os _xvfb = None def start_xvfb(): from xvfbwrapper import Xvfb global _xvfb if "DISPLAY" in os.environ: del os.environ["DISPLAY"] _xvfb = Xvfb() _xvfb.start() atexit.register(_xvfb.stop) def stop_xvfb(): global _xvfb _xvfb.stop()
import atexit import os _xvfb = None def start_xvfb(): from xvfbwrapper import Xvfb global _xvfb _xvfb = Xvfb() _xvfb.start() atexit.register(_xvfb.stop) def stop_xvfb(): global _xvfb _xvfb.stop()
Remove removal of DISPLAY environment variable
Remove removal of DISPLAY environment variable The issue has to do with the two lines: ` if "DISPLAY" in os.environ: del os.environ["DISPLAY"]` This seems to remove the DISPLAY environment variable unnecessarily, as on line 50 of xvfbwrapper.py, self.orig_display is set to the value of DISPLAY. self.orig_di...
Python
mit
niklasb/dryscrape
python
## Code Before: import atexit import os _xvfb = None def start_xvfb(): from xvfbwrapper import Xvfb global _xvfb if "DISPLAY" in os.environ: del os.environ["DISPLAY"] _xvfb = Xvfb() _xvfb.start() atexit.register(_xvfb.stop) def stop_xvfb(): global _xvfb _xvfb.stop() ## Instruction: Remove remova...
9588b5bf108137a2f6c4415e76d8b9004ab8f059
app/code/community/Asm/Solr/Model/Solr/Facet/FacetOption.php
app/code/community/Asm/Solr/Model/Solr/Facet/FacetOption.php
<?php /** * Solr facet option * * @category Asm * @package Asm_Solr * @author Ingo Renner <ingo@infielddesign.com> */ class Asm_Solr_Model_Solr_Facet_FacetOption extends Varien_Object { }
<?php /** * Solr facet option * * @category Asm * @package Asm_Solr * @author Ingo Renner <ingo@infielddesign.com> */ class Asm_Solr_Model_Solr_Facet_FacetOption extends Varien_Object { protected $unwantedUrlParameters; public function __construct() { $this->unwantedUrlParameters = array( Mage::getBlo...
Add methods to build add/remove filter URLs
Add methods to build add/remove filter URLs
PHP
apache-2.0
infielddesign/magento-MagSolr,infielddesign/magento-MagSolr
php
## Code Before: <?php /** * Solr facet option * * @category Asm * @package Asm_Solr * @author Ingo Renner <ingo@infielddesign.com> */ class Asm_Solr_Model_Solr_Facet_FacetOption extends Varien_Object { } ## Instruction: Add methods to build add/remove filter URLs ## Code After: <?php /** * Solr facet option ...
0942840fe4698d4c67e50ae8cbb1d6e74c163778
m4/lsc_sctp.m4
m4/lsc_sctp.m4
AC_DEFUN([LSC_CHECK_SCTP], [ have_sctp=no AC_ARG_ENABLE(sctp, AS_HELP_STRING([--enable-sctp], [enable SCTP support [[default=yes]]]),, enable_sctp="yes") AC_MSG_CHECKING([whether to enable SCTP support]) AS_IF([test "x$enable_sctp" = "xyes"], [ AC_MSG_RESULT([yes, checking prerequisites]) AC_CHE...
AC_DEFUN([LSC_CHECK_SCTP], [ have_sctp=no AC_ARG_ENABLE(sctp, AS_HELP_STRING([--enable-sctp], [enable SCTP support [[default=yes]]]),, enable_sctp="yes") AC_MSG_CHECKING([whether to enable SCTP support]) AS_IF([test "x$enable_sctp" = "xyes"], [ AC_MSG_RESULT([yes, checking prerequisites]) AC_CHE...
Update SCTP check from netembryo.
Update SCTP check from netembryo.
M4
lgpl-2.1
lscube/feng,lscube/feng,lscube/feng,winlinvip/feng,winlinvip/feng,winlinvip/feng
m4
## Code Before: AC_DEFUN([LSC_CHECK_SCTP], [ have_sctp=no AC_ARG_ENABLE(sctp, AS_HELP_STRING([--enable-sctp], [enable SCTP support [[default=yes]]]),, enable_sctp="yes") AC_MSG_CHECKING([whether to enable SCTP support]) AS_IF([test "x$enable_sctp" = "xyes"], [ AC_MSG_RESULT([yes, checking prerequisit...
17f50b827c28902553d1cdc8ee488aaa5042c5ed
.github/workflows/trigger-benchmarks.yml
.github/workflows/trigger-benchmarks.yml
name: Trigger Benchmarks on: push jobs: trigger_measurement: if: github.repository_owner == 'graphhopper' runs-on: ubuntu-22.04 environment: benchmarks steps: - name: trigger run: | curl -X POST -H "Authorization: token ${{ secrets.BENCHMARKS_TOKEN }}" \ -H "Accept: a...
name: Trigger Benchmarks on: push jobs: trigger_measurement: if: github.repository_owner == 'graphhopper' runs-on: ubuntu-22.04 environment: benchmarks steps: - name: trigger run: | curl -X POST -H "Authorization: token ${{ secrets.BENCHMARKS_TOKEN }}" \ -H "Accept: a...
Add branch name to core benchmark trigger
Add branch name to core benchmark trigger
YAML
apache-2.0
graphhopper/graphhopper,graphhopper/graphhopper,graphhopper/graphhopper,graphhopper/graphhopper
yaml
## Code Before: name: Trigger Benchmarks on: push jobs: trigger_measurement: if: github.repository_owner == 'graphhopper' runs-on: ubuntu-22.04 environment: benchmarks steps: - name: trigger run: | curl -X POST -H "Authorization: token ${{ secrets.BENCHMARKS_TOKEN }}" \ ...
7803da9c2fec6abe99404d5b8a5f7cde36c22746
migrations/3_tools_dominikh.sql
migrations/3_tools_dominikh.sql
-- +migrate Up INSERT INTO tools (name, url, path, args, `regexp`) VALUES ("gosimple", "https://github.com/dominikh/go-tools", "gosimple", "./...", ""), ("staticcheck", "https://github.com/dominikh/go-tools", "staticcheck", "./...", ""), ("unused", "https://github.com/dominikh/go-tools", "unused", "./...", ...
-- +migrate Up INSERT INTO tools (name, url, path, args, `regexp`) VALUES ("gosimple", "https://github.com/dominikh/go-tools", "gosimple", "./...", ""), ("staticcheck", "https://github.com/dominikh/go-tools", "staticcheck", "./...", ""), ("unused", "https://github.com/dominikh/go-tools", "unused", "./...", ...
Fix migrations where this is no down
Fix migrations where this is no down https://github.com/rubenv/sql-migrate/commit/91d84b099ee092589e8b792a62ac3518d3fde391
SQL
bsd-2-clause
bradleyfalzon/gopherci,bradleyfalzon/gopherci
sql
## Code Before: -- +migrate Up INSERT INTO tools (name, url, path, args, `regexp`) VALUES ("gosimple", "https://github.com/dominikh/go-tools", "gosimple", "./...", ""), ("staticcheck", "https://github.com/dominikh/go-tools", "staticcheck", "./...", ""), ("unused", "https://github.com/dominikh/go-tools", "un...
7235d9bc9e964f0ebcae26740e53d2d65a1906a9
src/clj/clj_templates/handler.clj
src/clj/clj_templates/handler.clj
(ns clj-templates.handler (:require [compojure.core :refer [GET routes]] [compojure.route :refer [resources]] [ring.util.response :refer [resource-response]] [ring.logger.timbre :refer [wrap-with-logger]] [ring.middleware.defaults :refer [site-defaults wrap-defaults]] ...
(ns clj-templates.handler (:require [compojure.core :refer [GET routes]] [compojure.route :refer [resources]] [ring.util.response :refer [resource-response response]] [ring.logger.timbre :refer [wrap-with-logger]] [ring.middleware.defaults :refer [site-defaults wrap-def...
Add endpoint that returns all templates as transit
Add endpoint that returns all templates as transit
Clojure
epl-1.0
Dexterminator/clj-templates,Dexterminator/clj-templates
clojure
## Code Before: (ns clj-templates.handler (:require [compojure.core :refer [GET routes]] [compojure.route :refer [resources]] [ring.util.response :refer [resource-response]] [ring.logger.timbre :refer [wrap-with-logger]] [ring.middleware.defaults :refer [site-defaults w...
46b6bddf6b1a4832006e13f9a5b4d11c80eb11f3
.circleci/config.yml
.circleci/config.yml
version: 2.1 aliases: # Variables - &project_working_directory ~/project - &yarn_cache_version v1 orbs: eq: equisoft/build-tools@0.0.7 executors: node: working_directory: *project_working_directory docker: - image: node:10 commands: attach-project-directory: steps: - attach_works...
version: 2.1 aliases: # Variables - &project_working_directory ~/project - &yarn_cache_version v1 orbs: eq: equisoft/build-tools@0.0.7 executors: node: working_directory: *project_working_directory docker: - image: node:10 commands: attach-project-directory: steps: - attach_works...
Fix yarn install in ci
Fix yarn install in ci
YAML
mit
kronostechnologies/kronos-app-frontend
yaml
## Code Before: version: 2.1 aliases: # Variables - &project_working_directory ~/project - &yarn_cache_version v1 orbs: eq: equisoft/build-tools@0.0.7 executors: node: working_directory: *project_working_directory docker: - image: node:10 commands: attach-project-directory: steps: ...
5cb101019f43d6aefc940983716ac082ca3e9fb0
bower.json
bower.json
{ "name": "holderjs", "main": "holder.js" }
{ "name": "holderjs", "main": "holder.js", "license": "MIT" }
Fix missing license for Bower
Fix missing license for Bower I'm not sure I'm supposed to propose such a patch, even if minor change, from a licensing point of view, this is not minor at all.
JSON
mit
imsky/holder,imsky/holder,imsky/holder
json
## Code Before: { "name": "holderjs", "main": "holder.js" } ## Instruction: Fix missing license for Bower I'm not sure I'm supposed to propose such a patch, even if minor change, from a licensing point of view, this is not minor at all. ## Code After: { "name": "holderjs", "main": "holder.js", "license": "...
b0b10bb9db16026d6b5f234ea77ff5a6ece399d6
README.md
README.md
TypeSync ======== A TypeScript implementation of TimeSync using the Express framework. Quick Start ----------- Requires make, npm, and nodejs. ``` $ make configure $ make build $ make run ```
TypeSync ======== A TypeScript implementation of TimeSync using the Express framework. Quick Start ----------- Requires make, npm, and nodejs. ``` $ npm install $ make configure $ make build $ make run ```
Add npm install to readme
Add npm install to readme
Markdown
apache-2.0
iankronquist/typesync,iankronquist/typesync
markdown
## Code Before: TypeSync ======== A TypeScript implementation of TimeSync using the Express framework. Quick Start ----------- Requires make, npm, and nodejs. ``` $ make configure $ make build $ make run ``` ## Instruction: Add npm install to readme ## Code After: TypeSync ======== A TypeScript implementation of ...
1385bc5350450e5effc1e3d251d9f5dd5b8f0a2c
app/overrides/show_fulfillment_date_in_orders.rb
app/overrides/show_fulfillment_date_in_orders.rb
Deface::Override.new( virtual_path: 'spree/admin/orders/_shipment', name: 'add_fulfillment_date_in_orders', insert_after: "", partial: 'spree/admin/orders/fullfillment', disabled: false )
Deface::Override.new( virtual_path: 'spree/admin/orders/_shipment', name: 'add_fulfillment_date_in_orders', insert_after: ".show-tracking", partial: 'spree/admin/orders/fulfillment', disabled: false )
Fix typo with partial naming
Fix typo with partial naming
Ruby
bsd-3-clause
surenm/spree_admin_improvements,surenm/spree_admin_improvements
ruby
## Code Before: Deface::Override.new( virtual_path: 'spree/admin/orders/_shipment', name: 'add_fulfillment_date_in_orders', insert_after: "", partial: 'spree/admin/orders/fullfillment', disabled: false ) ## Instruction: Fix typo with partial naming ## Code After: Deface::Override.new( virtual_path: 'spree/...
e7a3d1f6098c66be57c65789aaec389cf8ea0a3a
.travis.yml
.travis.yml
language: node_js node_js: - stable cache: yarn: true directories: - node_modules script: - yarn test-with-coverage - yarn lintjs - yarn lintmd - yarn build deploy: provider: pages skip_cleanup: true github_token: "$github_token" local_dir: build keep_history: true on: branch: master notifications...
language: node_js node_js: - stable cache: yarn: true directories: - node_modules script: - yarn test-with-coverage - yarn lintjs - yarn lintmd - yarn build deploy: provider: pages token: $github_token local_dir: build edge: true #opt in dpl v2 on: branch: master notifications: webhooks: https://w...
Switch to Travis CI dpl v2
Switch to Travis CI dpl v2
YAML
agpl-3.0
nai888/langua,nai888/langua
yaml
## Code Before: language: node_js node_js: - stable cache: yarn: true directories: - node_modules script: - yarn test-with-coverage - yarn lintjs - yarn lintmd - yarn build deploy: provider: pages skip_cleanup: true github_token: "$github_token" local_dir: build keep_history: true on: branch: mast...
1277dfd941ca995807365b673113b9234084370b
.github/workflows/haskell.yml
.github/workflows/haskell.yml
name: Haskell CI on: push: branches: - master pull_request: jobs: build: name: ghc ${{ matrix.ghc }} runs-on: ubuntu-16.04 strategy: matrix: ghc: ["8.8.1", "8.6.5"] cabal: ["3.0"] steps: - uses: actions/checkout@v1 - uses: actions/setup-haskell@v1 n...
name: Haskell CI on: push: branches: - master pull_request: jobs: build: name: ghc ${{ matrix.ghc }} runs-on: ubuntu-16.04 strategy: matrix: ghc: ["8.8.1", "8.6.5", "8.6.4", "8.6.3", "8.6.2", "8.4.4", "8.2.2", "8.0.2"] cabal: ["3.0"] steps: - uses: actions/ch...
Test all supported GHC versions
Test all supported GHC versions
YAML
mit
sdiehl/protolude
yaml
## Code Before: name: Haskell CI on: push: branches: - master pull_request: jobs: build: name: ghc ${{ matrix.ghc }} runs-on: ubuntu-16.04 strategy: matrix: ghc: ["8.8.1", "8.6.5"] cabal: ["3.0"] steps: - uses: actions/checkout@v1 - uses: actions/setup-ha...
230169e98344a063917a14c31d2bf8429d6727e2
app/views/home/show.html.erb
app/views/home/show.html.erb
<% content_for :head do %> <script type="application/ld+json"> { "@context": "http://schema.org", "@type": "WebSite", "url": "moneyadviceservice.org.uk", "potentialAction": { "@type": "SearchAction", "target": "https://www.moneyadviceservice.org.uk/en/search?query={se...
<% content_for :head do %> <script type="application/ld+json"> { "@context": "http://schema.org", "@type": "WebSite", "url": "https://www.moneyadviceservice.org.uk", "potentialAction": { "@type": "SearchAction", "target": "https://www.moneyadviceservice.org.uk/en/sear...
Add full url to google schema
Add full url to google schema
HTML+ERB
mit
moneyadviceservice/frontend,moneyadviceservice/frontend,moneyadviceservice/frontend,moneyadviceservice/frontend
html+erb
## Code Before: <% content_for :head do %> <script type="application/ld+json"> { "@context": "http://schema.org", "@type": "WebSite", "url": "moneyadviceservice.org.uk", "potentialAction": { "@type": "SearchAction", "target": "https://www.moneyadviceservice.org.uk/en/...
5f40bbf76cacb491b52d41536935ac0442f8aaba
superdesk/io/feed_parsers/pa_nitf.py
superdesk/io/feed_parsers/pa_nitf.py
from superdesk.io.feed_parsers.nitf import NITFFeedParser from superdesk.io import register_feed_parser class PAFeedParser(NITFFeedParser): """ NITF Parser extension for Press Association, it maps the category meta tag to an anpa category """ NAME = 'pa_nitf' def _category_mapping(self, elem): ...
from superdesk.io.feed_parsers.nitf import NITFFeedParser from superdesk.io import register_feed_parser class PAFeedParser(NITFFeedParser): """ NITF Parser extension for Press Association, it maps the category meta tag to an anpa category """ NAME = 'pa_nitf' def _category_mapping(self, elem): ...
Use a set for comparison
Use a set for comparison
Python
agpl-3.0
superdesk/superdesk-core,mdhaman/superdesk-core,petrjasek/superdesk-core,superdesk/superdesk-core,superdesk/superdesk-core,petrjasek/superdesk-core,marwoodandrew/superdesk-core,superdesk/superdesk-core,mugurrus/superdesk-core,mugurrus/superdesk-core,mdhaman/superdesk-core,ioanpocol/superdesk-core,mdhaman/superdesk-core...
python
## Code Before: from superdesk.io.feed_parsers.nitf import NITFFeedParser from superdesk.io import register_feed_parser class PAFeedParser(NITFFeedParser): """ NITF Parser extension for Press Association, it maps the category meta tag to an anpa category """ NAME = 'pa_nitf' def _category_mappin...
76bd81db180cee7de0b950c01e455cdc1c02c6bb
js/end_game.js
js/end_game.js
var endGame = function(game){ if ( missBall(game.ball, game.player)){ if (game.player.lives == 0) { console.log('game over!') alert('Game Over!'); } } } var missBall = function(ball, player){ if ( ball.bottomEdge().y == canvas.height){ return player.loseLife() } return false }
var endGame = function(game){ if (game.player.lives > 0) { missBall(game.ball, game.player) } else if (game.player.lives <= 0 ){ console.log('game over!') alert('Game Over!'); } } var missBall = function(ball, player){ if ( ball.bottomEdge().y == canvas.height){ return player.loseLife() } ...
Fix bug where alert wouldn't fire if lives equaled zero
Fix bug where alert wouldn't fire if lives equaled zero
JavaScript
mit
theomarkkuspaul/Brick-Breaker,theomarkkuspaul/Brick-Breaker
javascript
## Code Before: var endGame = function(game){ if ( missBall(game.ball, game.player)){ if (game.player.lives == 0) { console.log('game over!') alert('Game Over!'); } } } var missBall = function(ball, player){ if ( ball.bottomEdge().y == canvas.height){ return player.loseLife() } return...
a0f1cb5ccba2827ca98f0b1b219a5cb365e90a7e
README.rst
README.rst
==== Barbican ==== TBD: Make this Barbican specific....test change here... Glance is a project that defines services for discovering, registering, retrieving and storing virtual machine images. The discovery and registration responsibilities are handled by the `glance-registry` component while the retrieval and stora...
==== Barbican ==== TBD: Make this Barbican specific.... Glance is a project that defines services for discovering, registering, retrieving and storing virtual machine images. The discovery and registration responsibilities are handled by the `glance-registry` component while the retrieval and storage responsiblities ...
Test config to trigger Jenkins
Test config to trigger Jenkins
reStructuredText
apache-2.0
jmvrbanac/barbican,cloudkeep/barbican,cneill/barbican,MCDong/barbican,openstack/barbican,jfwood/barbican-1,MCDong/barbican,jfwood/barbican-1,openstack/barbican,jmvrbanac/barbican,cneill/barbican,cloudkeep/barbican
restructuredtext
## Code Before: ==== Barbican ==== TBD: Make this Barbican specific....test change here... Glance is a project that defines services for discovering, registering, retrieving and storing virtual machine images. The discovery and registration responsibilities are handled by the `glance-registry` component while the ret...
0bf0420ce3f1148c1beb65b652c0a64b533fa634
lib/inline_svg/static_asset_finder.rb
lib/inline_svg/static_asset_finder.rb
module InlineSvg class StaticAssetFinder def self.find_asset(filename) new(filename) end def initialize(filename) @filename = filename end def pathname if ::Rails.application.config.assets.compile ::Rails.application.assets[@filename].pathname else manifes...
require "pathname" # Naive fallback asset finder for when sprockets >= 3.0 && # config.assets.precompile = false # Thanks to @ryanswood for the original code: # https://github.com/jamesmartin/inline_svg/commit/661bbb3bef7d1b4bd6ccd63f5f018305797b9509 module InlineSvg class StaticAssetFinder def self.find_asset(f...
Fix bad reference to Sprockets::Asset.pathname
Fix bad reference to Sprockets::Asset.pathname
Ruby
mit
jamesmartin/inline_svg
ruby
## Code Before: module InlineSvg class StaticAssetFinder def self.find_asset(filename) new(filename) end def initialize(filename) @filename = filename end def pathname if ::Rails.application.config.assets.compile ::Rails.application.assets[@filename].pathname else...
ac2f23f2fad5d399e50136fd8a7360d4131fabaf
app/models/instance_user.rb
app/models/instance_user.rb
class InstanceUser < ActiveRecord::Base include InstanceUserSearchConcern acts_as_tenant :instance, inverse_of: :instance_users enum role: { normal: 0, instructor: 1, administrator: 2, auto_grader: 3 } belongs_to :user, inverse_of: :instance_users scope :ordered_by_username, -> { joins(:user).merge(User.ord...
class InstanceUser < ActiveRecord::Base include InstanceUserSearchConcern acts_as_tenant :instance, inverse_of: :instance_users enum role: { normal: 0, instructor: 1, administrator: 2 } belongs_to :user, inverse_of: :instance_users scope :ordered_by_username, -> { joins(:user).merge(User.order(name: :asc)) ...
Remove auto_grader role from instance user.
Remove auto_grader role from instance user.
Ruby
mit
Coursemology/coursemology2,Coursemology/coursemology2,Coursemology/coursemology2,cysjonathan/coursemology2,Coursemology/coursemology2,Coursemology/coursemology2,cysjonathan/coursemology2,Coursemology/coursemology2,cysjonathan/coursemology2,Coursemology/coursemology2
ruby
## Code Before: class InstanceUser < ActiveRecord::Base include InstanceUserSearchConcern acts_as_tenant :instance, inverse_of: :instance_users enum role: { normal: 0, instructor: 1, administrator: 2, auto_grader: 3 } belongs_to :user, inverse_of: :instance_users scope :ordered_by_username, -> { joins(:user...
3f6c68d13d758c3ec60b109e70847edb95bfec45
.github/workflows/rust.yml
.github/workflows/rust.yml
name: Rust on: push: branches: [ master ] pull_request: branches: [ master ] env: CARGO_TERM_COLOR: always jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: Build run: cargo build --verbose - name: Run tests run: cargo test --verbose
name: Rust on: push: branches: [ master ] pull_request: branches: [ master ] env: CARGO_TERM_COLOR: always jobs: build_and_test: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: Install Toolchain uses: actions-rs/toolchain@v1 with: toolchain: stabl...
Add more checks to CI
[ci] Add more checks to CI Signed-off-by: Miguel Young de la Sota <71b8e7f4945fd97b98544cf897992af89646547a@google.com>
YAML
apache-2.0
lowRISC/manticore,lowRISC/manticore,lowRISC/manticore
yaml
## Code Before: name: Rust on: push: branches: [ master ] pull_request: branches: [ master ] env: CARGO_TERM_COLOR: always jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: Build run: cargo build --verbose - name: Run tests run: cargo test ...
79cbf3c671b525f4d9be896bb942178319940297
public/app/scripts/services/user.js
public/app/scripts/services/user.js
angular.module('publicApp').service('UserService', ['$http','$location', 'Base64', function($http, $location, Base64) { var user = { isLogged: false, username: '', logout: function() { user.isLogged = false user.username = '' user.admin = false user.password = '' $location.p...
angular.module('publicApp').service('UserService', ['$http','$location', 'Base64', function($http, $location, Base64) { var user = { isLogged: false, username: '', logout: function() { user.isLogged = false user.username = '' user.admin = false user.password = '' $location.p...
Set basic auth in headers upon login.
[FEATURE] Set basic auth in headers upon login.
JavaScript
isc
whotooktwarden/gatewayd,zealord/gatewayd,whotooktwarden/gatewayd,crazyquark/gatewayd,Parkjeahwan/awegeeks,xdv/gatewayd,Parkjeahwan/awegeeks,zealord/gatewayd,xdv/gatewayd,crazyquark/gatewayd
javascript
## Code Before: angular.module('publicApp').service('UserService', ['$http','$location', 'Base64', function($http, $location, Base64) { var user = { isLogged: false, username: '', logout: function() { user.isLogged = false user.username = '' user.admin = false user.password = '' ...
1c9537fa09ef209094fd6c033b4f2fa1bd70105e
.travis.yml
.travis.yml
language: objective-c osx_image: xcode8.3 before_install: - brew update - brew install carthage || brew outdated carthage || brew upgrade carthage install: - carthage bootstrap branches: only: - master - feature/swift-3 script: - set -o pipefail && xcodebuild -workspace Haneke.xcworkspace -scheme Haneke-iOS...
language: objective-c osx_image: xcode8.3 before_install: - brew update - brew install carthage || brew outdated carthage || brew upgrade carthage install: - carthage bootstrap branches: only: - master - feature/swift-3 script: - set -o pipefail && xcodebuild -workspace Haneke.xcworkspace -scheme Haneke-iOS...
Fix intermitent CI failure by sleeping after test
Fix intermitent CI failure by sleeping after test As seen in https://github.com/travis-ci/travis-ci/issues/4725
YAML
apache-2.0
pollarm/HanekeSwift,Haneke/HanekeSwift,pollarm/HanekeSwift,Haneke/HanekeSwift
yaml
## Code Before: language: objective-c osx_image: xcode8.3 before_install: - brew update - brew install carthage || brew outdated carthage || brew upgrade carthage install: - carthage bootstrap branches: only: - master - feature/swift-3 script: - set -o pipefail && xcodebuild -workspace Haneke.xcworkspace -s...
99974d4023467126c626a36c4ae4cbc82d4d7e9e
src/js/components/login/Username.jsx
src/js/components/login/Username.jsx
/** * Username.jsx * Created by Kyle Fox 2/19/16 **/ import React, { PropTypes } from 'react'; import * as Icons from '../SharedComponents/icons/Icons.jsx'; const propTypes = { handleChange: PropTypes.func.isRequired }; const defaultProps = { tabIndex: "1" } export default class Username extends React.Compone...
/** * Username.jsx * Created by Kyle Fox 2/19/16 **/ import React, { PropTypes } from 'react'; import * as Icons from '../SharedComponents/icons/Icons.jsx'; const propTypes = { handleChange: PropTypes.func.isRequired }; const defaultProps = { tabIndex: "1" } export default class Username extends React.Compone...
Change username to email address
Change username to email address
JSX
cc0-1.0
fedspendingtransparency/data-act-broker-web-app,fedspendingtransparency/data-act-broker-web-app
jsx
## Code Before: /** * Username.jsx * Created by Kyle Fox 2/19/16 **/ import React, { PropTypes } from 'react'; import * as Icons from '../SharedComponents/icons/Icons.jsx'; const propTypes = { handleChange: PropTypes.func.isRequired }; const defaultProps = { tabIndex: "1" } export default class Username exten...
1a22be03a3e4b86a883062a23481e7b97c004c0a
app/src/main/java/com/naijab/nextzytimeline/ui/SplashScreenActivity.java
app/src/main/java/com/naijab/nextzytimeline/ui/SplashScreenActivity.java
package com.naijab.nextzytimeline.ui; import android.os.Bundle; import com.naijab.nextzytimeline.base.BaseMvpActivity; import com.naijab.nextzytimeline.ui.SplashScreenActivityInterface.Presenter; public class SplashScreenActivity extends BaseMvpActivity<Presenter> implements SplashScreenActivityInterface.View...
package com.naijab.nextzytimeline.ui; import android.content.Intent; import android.os.Bundle; import android.os.Handler; import com.naijab.nextzytimeline.R; import com.naijab.nextzytimeline.base.BaseMvpActivity; import com.naijab.nextzytimeline.ui.Main.MainActivity; import com.naijab.nextzytimeline.ui.SplashScreenAct...
Edit Splash add Handler post delay to MainActivity
Edit Splash add Handler post delay to MainActivity
Java
mit
naijab/nextzytimeline,naijab/nextzytimeline
java
## Code Before: package com.naijab.nextzytimeline.ui; import android.os.Bundle; import com.naijab.nextzytimeline.base.BaseMvpActivity; import com.naijab.nextzytimeline.ui.SplashScreenActivityInterface.Presenter; public class SplashScreenActivity extends BaseMvpActivity<Presenter> implements SplashScreenActivi...
cef24bf61563ea1adbef24fe96fe5c3d686f55b2
examples/gender.xml
examples/gender.xml
<?xml version="1.0" encoding="UTF-8"?> <story namespace="gender"> <!-- Clear all the stuff if used more than once --> <clear type="flag" name="man" ignore-not-found="1" /> <clear type="flag" name="woman" ignore-not-found="1" /> <clear type="macro" name="gender" ignore-not-found="1" /> <clear type="variable" ...
<?xml version="1.0" encoding="UTF-8"?> <story namespace="gender"> <!-- Clear all the stuff if used more than once --> <clear type="flag" name="man" ignore-not-found="1" /> <clear type="flag" name="woman" ignore-not-found="1" /> <clear type="macro" name="gender" ignore-not-found="1" /> <clear type="variable" n...
Remove unused sentence in include file
Remove unused sentence in include file
XML
mit
olleharstedt/tellstory,olleharstedt/tellstory
xml
## Code Before: <?xml version="1.0" encoding="UTF-8"?> <story namespace="gender"> <!-- Clear all the stuff if used more than once --> <clear type="flag" name="man" ignore-not-found="1" /> <clear type="flag" name="woman" ignore-not-found="1" /> <clear type="macro" name="gender" ignore-not-found="1" /> <clear ...
e0fc1664013a11770480e1a6830df044300bd4f4
_drafts/anarchy.md
_drafts/anarchy.md
--- layout: post title: "Anarchy" author: madphilosopher tags: [fallacies statism] comments: true image: feature: generous-thief.png credit: Jon Roelofs --- No masters.
--- layout: post title: "Anarchy" authors: [madphilosopher, jroelofs] tags: [fallacies statism] comments: true image: feature: generous-thief.png credit: Jon Roelofs --- No masters.
Make the post about Anarchy have two authors.
Make the post about Anarchy have two authors.
Markdown
mit
anarchistlexicon/anarchistlexicon.github.io,anarchistlexicon/anarchistlexicon.github.io,anarchistlexicon/anarchistlexicon.github.io
markdown
## Code Before: --- layout: post title: "Anarchy" author: madphilosopher tags: [fallacies statism] comments: true image: feature: generous-thief.png credit: Jon Roelofs --- No masters. ## Instruction: Make the post about Anarchy have two authors. ## Code After: --- layout: post title: "Anarchy" authors: [madphil...
4d8f0bd97be8fb52ab88ba7bbd892314feacbb47
tests/tests.bash
tests/tests.bash
cd `dirname $0`/../ echo "Removing node modules..." rm -rf node_modules/ echo "Installing dependencies..." npm install echo "Preparing tests..." node prepare_tests.js echo "Executing gulp dump..." ./node_modules/.bin/gulp --gulpfile gulpfile.js dump
cd `dirname $0`/../ echo "Removing node modules..." rm -rf node_modules/ echo "Installing dependencies..." npm install echo "Preparing tests..." node tests/prepare_tests.js echo "Executing gulp dump..." ./node_modules/.bin/gulp --gulpfile tests/gulpfile.js dump
Update test script to fix directory bug
Update test script to fix directory bug
Shell
mit
Orbitale/Gulpfile,Orbitale/Gulpfile
shell
## Code Before: cd `dirname $0`/../ echo "Removing node modules..." rm -rf node_modules/ echo "Installing dependencies..." npm install echo "Preparing tests..." node prepare_tests.js echo "Executing gulp dump..." ./node_modules/.bin/gulp --gulpfile gulpfile.js dump ## Instruction: Update test script to fix directo...
bda9bc3574b14ead6f51e1fb0f6864e07ccefd88
Orange/classification/random_forest.py
Orange/classification/random_forest.py
from sklearn.ensemble import RandomForestClassifier as RandomForest from sklearn.preprocessing import Imputer from numpy import isnan import Orange.data import Orange.classification def replace_nan(X, imp_model): # Default scikit Imputer # Use Orange imputer when implemented if isnan(X).sum(): ...
import numbers from sklearn.ensemble import RandomForestClassifier as RandomForest from sklearn.preprocessing import Imputer from numpy import isnan import Orange.data import Orange.classification def replace_nan(X, imp_model): # Default scikit Imputer # Use Orange imputer when implemented if isnan(X).s...
Fix an error when number of predictor columns is less than max_features.
Fix an error when number of predictor columns is less than max_features.
Python
bsd-2-clause
marinkaz/orange3,marinkaz/orange3,kwikadi/orange3,marinkaz/orange3,qPCR4vir/orange3,kwikadi/orange3,cheral/orange3,kwikadi/orange3,marinkaz/orange3,cheral/orange3,qPCR4vir/orange3,qPCR4vir/orange3,qPCR4vir/orange3,kwikadi/orange3,cheral/orange3,marinkaz/orange3,qusp/orange3,cheral/orange3,qusp/orange3,kwikadi/orange3,q...
python
## Code Before: from sklearn.ensemble import RandomForestClassifier as RandomForest from sklearn.preprocessing import Imputer from numpy import isnan import Orange.data import Orange.classification def replace_nan(X, imp_model): # Default scikit Imputer # Use Orange imputer when implemented if ...
977e2730b05fe985634f58b990a57912d0a9358f
sources/wikipedia.org/2015-sovereign-state-flags/meta.txt
sources/wikipedia.org/2015-sovereign-state-flags/meta.txt
Year: 2015 Title: Gallery of sovereign state flags URL: https://en.wikipedia.org/wiki/Gallery_of_sovereign_state_flags Description: From Wikipedia, the free encyclopedia This gallery of sovereign state flags shows the flags of sovereign states that appear on the list of sovereign states. For other flags, please see ...
Year: 2015 Title: Gallery of sovereign state flags URL: https://en.wikipedia.org/wiki/Gallery_of_sovereign_state_flags Checked: 2015-02-26 Description: From Wikipedia, the free encyclopedia This gallery of sovereign state flags shows the flags of sovereign states that appear on the list of sovereign states. For othe...
Check data.csv vs source in HTML format
Check data.csv vs source in HTML format I checked each row against each flag, looking at URLs as displayed in the browser "status bar" at the bottom of the window. I found no differences, except special characters are URL-encoded in the CSV file, and displayed decoded in the browser.
Text
cc0-1.0
eric-brechemier/ipcc-countries,eric-brechemier/ipcc-countries
text
## Code Before: Year: 2015 Title: Gallery of sovereign state flags URL: https://en.wikipedia.org/wiki/Gallery_of_sovereign_state_flags Description: From Wikipedia, the free encyclopedia This gallery of sovereign state flags shows the flags of sovereign states that appear on the list of sovereign states. For other fl...
7ac7ed3303703fb1141530779173860758db2e28
README.rst
README.rst
Overview ======== grappelli_safe was created to provide a snapshot of the `Grappelli admin skin <http://code.google.com/p/django-grappelli/>`_ for `Django <http://www.djangoproject.com/>`_, to be referenced as a dependency for the `Mezzanine CMS for Django <http://mezzanine.jupo.org/>`_. At the time of grappelli_...
Overview ======== grappelli_safe is a permanent fork of `Grappelli admin skin <http://code.google.com/p/django-grappelli/>`_ for `Django <http://www.djangoproject.com/>`_, to be referenced as a dependency for the `Mezzanine CMS for Django <http://mezzanine.jupo.org/>`_. At the time of grappelli_safe's creation, G...
Clarify that fork is permanent.
Clarify that fork is permanent.
reStructuredText
bsd-3-clause
dsanders11/grappelli-safe,dsanders11/grappelli-safe,dsanders11/grappelli-safe
restructuredtext
## Code Before: Overview ======== grappelli_safe was created to provide a snapshot of the `Grappelli admin skin <http://code.google.com/p/django-grappelli/>`_ for `Django <http://www.djangoproject.com/>`_, to be referenced as a dependency for the `Mezzanine CMS for Django <http://mezzanine.jupo.org/>`_. At the ti...
7645064e0a177d1d85d1f945548282804ff8dea7
README.md
README.md
[![Build Status](https://travis-ci.org/romanroibu/WolframAlpha.svg?branch=master)](https://travis-ci.org/romanroibu/WolframAlpha) [![Carthage Compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage) [![Cocoapods Compatible](https://img.shields.io/cocoap...
[![Build Status](https://travis-ci.org/romanroibu/WolframAlpha.svg?branch=master)](https://travis-ci.org/romanroibu/WolframAlpha) [![Carthage Compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage) [![Cocoapods Compatible](https://img.shields.io/cocoap...
Add CocoaDocs URL to badges
Add CocoaDocs URL to badges
Markdown
mit
romanroibu/WolframAlpha,romanroibu/WolframAlpha
markdown
## Code Before: [![Build Status](https://travis-ci.org/romanroibu/WolframAlpha.svg?branch=master)](https://travis-ci.org/romanroibu/WolframAlpha) [![Carthage Compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage) [![Cocoapods Compatible](https://img.s...
371f6863768c2cef0e02790a11bdbdc0a39f09fb
.bazelci/presubmit.yml
.bazelci/presubmit.yml
--- tasks: macos_latest: name: "Latest Bazel" platform: macos bazel: latest build_targets: - "//..." test_targets: - "//..." macos_last_green: name: "Last Green Bazel" platform: macos bazel: last_green build_targets: - "//..." test_targets: - "//..." macos...
--- x_defaults: # YAML has a feature for "repeated nodes", BazelCI is fine with extra nodes # it doesn't know about; so that is used to avoid repeating common subparts. common: &common platform: macos build_targets: - "//..." test_targets: - "//..." tasks: macos_latest: name: "Latest Ba...
Use yaml anchors, aliases, and merge to avoid repetition.
Use yaml anchors, aliases, and merge to avoid repetition. RELNOTES: None. PiperOrigin-RevId: 252430973
YAML
apache-2.0
bazelbuild/apple_support,bazelbuild/apple_support
yaml
## Code Before: --- tasks: macos_latest: name: "Latest Bazel" platform: macos bazel: latest build_targets: - "//..." test_targets: - "//..." macos_last_green: name: "Last Green Bazel" platform: macos bazel: last_green build_targets: - "//..." test_targets: - ...
0b636e1a89c4f40b41f1742161c551690e894c00
package.json
package.json
{ "name": "prosemirror-menu", "version": "0.11.0", "description": "Simple menu elements for ProseMirror", "main": "src/index.js", "license": "MIT", "maintainers": [ { "name": "Marijn Haverbeke", "email": "marijnh@gmail.com", "web": "http://marijnhaverbeke.nl" } ], "repository":...
{ "name": "prosemirror-menu", "version": "0.11.0", "description": "Simple menu elements for ProseMirror", "main": "dist/index.js", "license": "MIT", "maintainers": [ { "name": "Marijn Haverbeke", "email": "marijnh@gmail.com", "web": "http://marijnhaverbeke.nl" } ], "repository"...
Add a Bublé-based build step
Add a Bublé-based build step
JSON
mit
ProseMirror/prosemirror-menu
json
## Code Before: { "name": "prosemirror-menu", "version": "0.11.0", "description": "Simple menu elements for ProseMirror", "main": "src/index.js", "license": "MIT", "maintainers": [ { "name": "Marijn Haverbeke", "email": "marijnh@gmail.com", "web": "http://marijnhaverbeke.nl" } ],...
dc6dc4b99140adf285f3caeaafb8bf8b981d99c7
README.md
README.md
minipkg is a script to help install pkgsrc. [![](https://travis-ci.org/eliteraspberries/minipkg.svg)][build-status] python <(curl https://s3.amazonaws.com/minipkg.eliteraspberries.com/minipkg.py) [build-status]: https://travis-ci.org/eliteraspberries/minipkg
minipkg is a script to help install pkgsrc. [![](https://travis-ci.org/eliteraspberries/minipkg.svg)][build-status] [build-status]: https://travis-ci.org/eliteraspberries/minipkg
Remove reference to obsolete mirror.
Remove reference to obsolete mirror.
Markdown
isc
eliteraspberries/minipkg,eliteraspberries/minipkg
markdown
## Code Before: minipkg is a script to help install pkgsrc. [![](https://travis-ci.org/eliteraspberries/minipkg.svg)][build-status] python <(curl https://s3.amazonaws.com/minipkg.eliteraspberries.com/minipkg.py) [build-status]: https://travis-ci.org/eliteraspberries/minipkg ## Instruction: Remove reference to ...
66ae258fe078e4667db8024ea285b6891e6c79b9
jquery.equal-height.js
jquery.equal-height.js
jQuery.fn.equalHeight = function() { var $ = jQuery; var that = this; var setHeights = function() { var elems = {}; var cont = $(that); // Reset the elements heights cont.each(function() { $(this).height(''); }); // Create a mapping of elements and the max height for all elements at that top offse...
if (typeof jQuery === 'undefined') { throw new Error('The jQuery equal height extension requires jQuery!'); } jQuery.fn.equalHeight = function() { var $ = jQuery; var that = this; var setHeights = function() { var elems = {}; var cont = $(that); // Reset the elements heights cont.each(function() { $...
Check jQuery dependency, minor syntax adjustments
Check jQuery dependency, minor syntax adjustments
JavaScript
mit
Nikker/jquery-equal-height,Nikker/jquery.equal-height
javascript
## Code Before: jQuery.fn.equalHeight = function() { var $ = jQuery; var that = this; var setHeights = function() { var elems = {}; var cont = $(that); // Reset the elements heights cont.each(function() { $(this).height(''); }); // Create a mapping of elements and the max height for all elements a...
be5235d9190b6c7606601f0003be1efd2f347ddd
Gruntfile.coffee
Gruntfile.coffee
module.exports = (grunt) -> path = require 'path' require('time-grunt')(grunt) require('jit-grunt')(grunt, { express: 'grunt-express-server' }) require('load-grunt-tasks')(grunt, { pattern: ['main-bower-files'] }) require('load-grunt-config')(grunt, { configPath: path.join __dirname, 'g...
module.exports = (grunt) -> path = require 'path' require('time-grunt')(grunt) require('jit-grunt')(grunt, { express: 'grunt-express-server' }) require('load-grunt-tasks')(grunt, { pattern: ['main-bower-files'] }) require('load-grunt-config')(grunt, { configPath: path.join __dirname, 'g...
Configure basic Grunt test task.
Configure basic Grunt test task.
CoffeeScript
agpl-3.0
vaaralav/servicemap,City-of-Helsinki/servicemap,City-of-Helsinki/servicemap,vaaralav/servicemap,vaaralav/servicemap,City-of-Helsinki/servicemap
coffeescript
## Code Before: module.exports = (grunt) -> path = require 'path' require('time-grunt')(grunt) require('jit-grunt')(grunt, { express: 'grunt-express-server' }) require('load-grunt-tasks')(grunt, { pattern: ['main-bower-files'] }) require('load-grunt-config')(grunt, { configPath: path.jo...
464a8747bef3a055f04680750f2c3ab887c2e9aa
Resources/views/Promotion/_form.html.twig
Resources/views/Promotion/_form.html.twig
{{ form_errors(form) }} <div class="ui segment"> <div class="two fields"> {{ form_row(form.code) }} {{ form_row(form.name) }} </div> <div class="two field"> <div class="column"> {{ form_row(form.usageLimit) }} {{ form_row(form.couponBased) }} {{ fo...
<div class="ui two column stackable grid"> <div class="column"> {{ form_errors(form) }} <div class="ui segment"> <div class="two fields"> {{ form_row(form.code) }} {{ form_row(form.name) }} </div> {{ form_row(form.description) }} ...
Tweak the promotion form interface
[Admin] Tweak the promotion form interface
Twig
mit
Sylius/SyliusAdminBundle,Sylius/SyliusAdminBundle
twig
## Code Before: {{ form_errors(form) }} <div class="ui segment"> <div class="two fields"> {{ form_row(form.code) }} {{ form_row(form.name) }} </div> <div class="two field"> <div class="column"> {{ form_row(form.usageLimit) }} {{ form_row(form.couponBased) }} ...
42a60298a22da46d9a6a2ee70ec0b5192618b250
index.html
index.html
<html> <head> <link rel="stylesheet" href="assets/bpm_styles.css" type="text/css" media="screen" charset="utf-8" /> <title>Learn.Sproutcore</title> </head> <body> </body> <script type="text/javascript" src="assets/bpm_libs.js"></script> <script type="text/javascript" src="ace/build/src/ace.js"></s...
<html> <head> <link rel="stylesheet" href="assets/bpm_styles.css" type="text/css" media="screen" charset="utf-8" /> <title>Learn.Sproutcore</title> </head> <body> </body> <script type="text/javascript" src="assets/bpm_libs.js"></script> <script type="text/javascript" src="ace/build/src/ace-uncompr...
Use the uncompressed ace editor js for now
Use the uncompressed ace editor js for now
HTML
mit
rklancer/learn-emberjs,rklancer/learn-emberjs
html
## Code Before: <html> <head> <link rel="stylesheet" href="assets/bpm_styles.css" type="text/css" media="screen" charset="utf-8" /> <title>Learn.Sproutcore</title> </head> <body> </body> <script type="text/javascript" src="assets/bpm_libs.js"></script> <script type="text/javascript" src="ace/build...
dc07d312adaada599ded1841850a6c6c7ba33582
python/pkgutil/README.org
python/pkgutil/README.org
* Table of Contents :TOC_2_gh: - [[#reference][Reference]] - [[#iter_modules][iter_modules]] * Reference ** iter_modules : pkgutil.iter_modules(path=None, prefix='') - Iters only the direct descendent submodules: - Pass a list of path string to ~path~, as like [[https://docs.python.org/3/reference/import.html#modul...
* Table of Contents :TOC_2_gh: - [[#reference][Reference]] - [[#iter_modules][iter_modules]] * Reference ** iter_modules : pkgutil.iter_modules(path=None, prefix='') - Iters only the direct descendent submodules: - Pass a list of path string to ~path~, as like [[https://docs.python.org/3/reference/import.html#modul...
Add iter_module code link to python/pkgutil
Add iter_module code link to python/pkgutil
Org
mit
yeonghoey/notes,yeonghoey/yeonghoey,yeonghoey/yeonghoey,yeonghoey/yeonghoey,yeonghoey/yeonghoey
org
## Code Before: * Table of Contents :TOC_2_gh: - [[#reference][Reference]] - [[#iter_modules][iter_modules]] * Reference ** iter_modules : pkgutil.iter_modules(path=None, prefix='') - Iters only the direct descendent submodules: - Pass a list of path string to ~path~, as like [[https://docs.python.org/3/reference/i...
fb7485ce24b2c1811d3f28ce901ea28a8f65ff0f
CHANGELOG_PENDING.md
CHANGELOG_PENDING.md
* `service/s3/s3manager`: Fix Download Manager with iterator docs ([#2131](https://github.com/aws/aws-sdk-go/pull/2131)) * Fixes the S3 Download manager's DownloadWithIterator documentation example. * Fixes [#1824](https://github.com/aws/aws-sdk-go/issues/1824)
* `private/model/api`: Add "Deprecated" to deprecated API operation and type doc strings ([#2129](https://github.com/aws/aws-sdk-go/pull/2129)) * Updates the SDK's code generation to include `Deprecated` in the documentation string for API operations and types that are depercated by a service. * Related to [golang/...
Add PR 2129 to pending changelog
Add PR 2129 to pending changelog Adds PR #2129 to pending changelog.
Markdown
apache-2.0
jasdel/aws-sdk-go,yxd-hde/aws-sdk-go,yxd-hde/aws-sdk-go,aws/aws-sdk-go,yxd-hde/aws-sdk-go,yxd-hde/aws-sdk-go
markdown
## Code Before: * `service/s3/s3manager`: Fix Download Manager with iterator docs ([#2131](https://github.com/aws/aws-sdk-go/pull/2131)) * Fixes the S3 Download manager's DownloadWithIterator documentation example. * Fixes [#1824](https://github.com/aws/aws-sdk-go/issues/1824) ## Instruction: Add PR 2129 to pendin...
aaa6b5d6b6d35ba98d55f2cee499b40bade01ad9
system/path.zsh
system/path.zsh
export PATH="./bin:$HOME/.rbenv/shims:/usr/local/bin:/usr/local/sbin:$HOME/.sfs:$ZSH/bin:$PATH" export PATH="/Users/Max/.rbenv/versions/2.0.0-p247/bin:$PATH" export MANPATH="/usr/local/man:/usr/local/mysql/man:/usr/local/git/man:$MANPATH" export EC2_PRIVATE_KEY="$(/bin/ls "$HOME"/.ec2/pk-*.pem | /usr/bin/head -1)" ex...
export PATH="./bin:$HOME/.rbenv/shims:/usr/local/bin:/usr/local/sbin:$HOME/.sfs:$ZSH/bin:$PATH" export PATH="/Users/Max/.rbenv/versions/2.0.0-p247/bin:$PATH" export MANPATH="/usr/local/man:/usr/local/mysql/man:/usr/local/git/man:$MANPATH" # Set EC2 vars if keys are present if ls "$HOME"/.ec2/pk-*.pem 1> /dev/null 2>&...
Check if EC2 certs are present before setting env vars
Check if EC2 certs are present before setting env vars
Shell
mit
betamax/dotfiles,betamax/dotfiles,betamax/dotfiles
shell
## Code Before: export PATH="./bin:$HOME/.rbenv/shims:/usr/local/bin:/usr/local/sbin:$HOME/.sfs:$ZSH/bin:$PATH" export PATH="/Users/Max/.rbenv/versions/2.0.0-p247/bin:$PATH" export MANPATH="/usr/local/man:/usr/local/mysql/man:/usr/local/git/man:$MANPATH" export EC2_PRIVATE_KEY="$(/bin/ls "$HOME"/.ec2/pk-*.pem | /usr/...
8b1b8455cc8b17ef3f3701bb5498b40ba0a862c5
test/extended/fixtures/custom-secret-builder/build.sh
test/extended/fixtures/custom-secret-builder/build.sh
set -e set -o pipefail if [ ! -e "${DOCKER_SOCKET}" ]; then echo "Docker socket missing at ${DOCKER_SOCKET}" exit 1 fi SECRET_PATH=${PUSH_DOCKERCFG_PATH:-} if [ -z "${SECRET_PATH}" ]; then echo "The dockercfg not found in /var/run/secrets/push" exit 1 fi if [ -n "${OUTPUT_IMAGE}" ]; then TAG="${OUTPUT_RE...
set -e set -o pipefail if [ ! -e "${DOCKER_SOCKET}" ]; then echo "Docker socket missing at ${DOCKER_SOCKET}" exit 1 fi SECRET_PATH=${PUSH_DOCKERCFG_PATH:-} if [ -z "${SECRET_PATH}" ]; then echo "The dockercfg not found in /var/run/secrets/openshift.io/push" exit 1 fi if [ -n "${OUTPUT_IMAGE}" ]; then TAG...
Fix message in extended tests fixture
Fix message in extended tests fixture
Shell
apache-2.0
simo5/origin,pravisankar/origin,fabianofranz/origin,rhamilto/origin,sdminonne/origin,yepengxj/df,spohnan/origin,liggitt/origin,christian-posta/origin,StevenLudwig/origin,sallyom/origin,grdryn/origin,linux-on-ibm-z/origin,dmage/origin,jupierce/origin,stackdocker/origin,goern/origin,mingderwang/origin,linux-on-ibm-z/orig...
shell
## Code Before: set -e set -o pipefail if [ ! -e "${DOCKER_SOCKET}" ]; then echo "Docker socket missing at ${DOCKER_SOCKET}" exit 1 fi SECRET_PATH=${PUSH_DOCKERCFG_PATH:-} if [ -z "${SECRET_PATH}" ]; then echo "The dockercfg not found in /var/run/secrets/push" exit 1 fi if [ -n "${OUTPUT_IMAGE}" ]; then ...
34f540eb28179a50869ea5d97a59e15290b7a3af
frontend/src/app/application-dashboard/components/application-csi/application-csi.component.scss
frontend/src/app/application-dashboard/components/application-csi/application-csi.component.scss
osm-csi-graph { display: block; flex-grow: 1; } osm-csi-value { display: flex; justify-content: center; align-items: center; width: 260px; } .card > .csi { display: flex; } .application-csi { margin-bottom: 30px; }
$items-per-row: 5; $grid-gap: 20px; osm-csi-graph { display: block; flex-grow: 1; padding-left: 20px; } osm-csi-value { display: flex; justify-content: center; align-items: center; margin-left: -$grid-gap; min-width: calc(290px - #{$grid-gap}); width: calc(100% / #{$items-per-row} - 8px); } .card >...
Adjust csi value positioning, that it is centered on same width as page card below.
[IT-2411] Adjust csi value positioning, that it is centered on same width as page card below.
SCSS
apache-2.0
iteratec/OpenSpeedMonitor,iteratec/OpenSpeedMonitor,iteratec/OpenSpeedMonitor,IteraSpeed/OpenSpeedMonitor,iteratec/OpenSpeedMonitor,IteraSpeed/OpenSpeedMonitor,iteratec/OpenSpeedMonitor,IteraSpeed/OpenSpeedMonitor
scss
## Code Before: osm-csi-graph { display: block; flex-grow: 1; } osm-csi-value { display: flex; justify-content: center; align-items: center; width: 260px; } .card > .csi { display: flex; } .application-csi { margin-bottom: 30px; } ## Instruction: [IT-2411] Adjust csi value positioning, that it is ce...
332857a65116a7cdde62d849177b0be278174773
layouts/post/single.html
layouts/post/single.html
<!----*- engine:go -*---> <!DOCTYPE html> {{ template "partials/head.html" . }} {{ template "partials/header.html" . }} <main> <article> <header class="article-header"> <h1>{{ .Title }}</h1> <p><time datetime="{{ .Date.Format "2006-01-02T15:04:05Z07:00" }}">{{ upper (.Date.Format "January 2, 2006") }...
<!----*- engine:go -*---> <!DOCTYPE html> {{ template "partials/head.html" . }} {{ template "partials/header.html" . }} <main> <article> <header class="article-header"> <h1>{{ .Title }}</h1> <p><time datetime="{{ .Date.Format "2006-01-02T15:04:05Z07:00" }}">{{ upper (.Date.Format "January 2, 2006") }...
Remove next/previous post page controls
Remove next/previous post page controls
HTML
mit
alexjohnj/alexjohnj
html
## Code Before: <!----*- engine:go -*---> <!DOCTYPE html> {{ template "partials/head.html" . }} {{ template "partials/header.html" . }} <main> <article> <header class="article-header"> <h1>{{ .Title }}</h1> <p><time datetime="{{ .Date.Format "2006-01-02T15:04:05Z07:00" }}">{{ upper (.Date.Format "Jan...
74abb7132de54cd334dde3bd2fe374ee12d595b3
data/workshops.yaml
data/workshops.yaml
--- - name: "First Phase Field Methods Workshop" date: "Jan 9, 2015" href: http://planitpurple.northwestern.edu/event/474167/xJDsFEfb number: 1 description: >- Workshop held at Northwestern University to discuss code collaboration in phase field modelling. links: - name: Download PDF href: {...
--- - name: "First Phase Field Methods Workshop" date: "Jan 9, 2015" href: http://planitpurple.northwestern.edu/event/474167/xJDsFEfb number: 1 description: >- Workshop held at Northwestern University to discuss code collaboration in phase field modelling. links: - name: Download PDF href: {...
Add link to second workshop PDF
Add link to second workshop PDF Address #71
YAML
mit
wd15/chimad-phase-field,wd15/chimad-phase-field,usnistgov/chimad-phase-field,wd15/chimad-phase-field,usnistgov/chimad-phase-field,usnistgov/chimad-phase-field
yaml
## Code Before: --- - name: "First Phase Field Methods Workshop" date: "Jan 9, 2015" href: http://planitpurple.northwestern.edu/event/474167/xJDsFEfb number: 1 description: >- Workshop held at Northwestern University to discuss code collaboration in phase field modelling. links: - name: Download P...
f2deb947a1923b4dfd3b6cd2fa8528f8da9f0db9
BHCDatabase/test/models/medical_condition_funder_test.rb
BHCDatabase/test/models/medical_condition_funder_test.rb
require 'test_helper' # MedicalConditionFunderTest is the model tests for MedicalConditionFunders class MedicalConditionFunderTest < ActiveSupport::TestCase def setup @medical_condition_funder = medical_condition_funders(:two) end test 'should be valid' do assert @medical_condition_funder.valid? end ...
require 'test_helper' # MedicalConditionFunderTest is the model tests for MedicalConditionFunders class MedicalConditionFunderTest < ActiveSupport::TestCase def setup @medical_condition_funder = medical_condition_funders(:two) end test 'should be valid' do assert @medical_condition_funder.valid? end ...
Add test for index on medical_condition and funder for a medical condition funder.
Add test for index on medical_condition and funder for a medical condition funder.
Ruby
mit
DaBrown95/BHCDatabase,DaBrown95/BHCDatabase,DaBrown95/BHCDatabase
ruby
## Code Before: require 'test_helper' # MedicalConditionFunderTest is the model tests for MedicalConditionFunders class MedicalConditionFunderTest < ActiveSupport::TestCase def setup @medical_condition_funder = medical_condition_funders(:two) end test 'should be valid' do assert @medical_condition_funde...
16ad7ff511bdb859bcb46fa4b71282db551e7f27
roles/desktop/tasks/media.yml
roles/desktop/tasks/media.yml
--- - name: install udiskie for automount pacman: name: udiskie - name: install media codecs pacman: name: - flac - lame - opus - gstreamer - gst-libav - gstreamer-vaapi - gst-plugins-good - gst-plugins-ugly - gst-plugins-bad - name: install pulseaudio...
--- - name: install udiskie for automount pacman: name: udiskie - name: install media codecs pacman: name: - flac - lame - opus - gstreamer - gst-libav - gstreamer-vaapi - gst-plugins-good - gst-plugins-ugly - gst-plugins-bad - name: install pulseaudio...
Install and configure pro-audio packages
Install and configure pro-audio packages
YAML
mit
zoresvit/archible
yaml
## Code Before: --- - name: install udiskie for automount pacman: name: udiskie - name: install media codecs pacman: name: - flac - lame - opus - gstreamer - gst-libav - gstreamer-vaapi - gst-plugins-good - gst-plugins-ugly - gst-plugins-bad - name: in...
dc37f74de1036e7bc7192f9c55c8df12a59076e8
sources/us/va/statewide.json
sources/us/va/statewide.json
{ "data": "https://ftp.vgingis.com/Download/VA_SiteAddress.txt.zip", "website": "http://vgin.maps.arcgis.com/home/item.html?id=100e5e12ddc14748a5ec3b8b997af13a", "license": { "text": "public domain", "attribution": false, "share-alike": false }, "compression": "zip", "typ...
{ "data": "https://ftp.vgingis.com/Download/VA_SiteAddress.txt.zip", "website": "http://vgin.maps.arcgis.com/home/item.html?id=100e5e12ddc14748a5ec3b8b997af13a", "license": { "text": "public domain", "attribution": false, "share-alike": false }, "compression": "zip", "typ...
Use [0-9] to fix build error and specify exact match sizes
Use [0-9] to fix build error and specify exact match sizes
JSON
bsd-3-clause
tyrasd/openaddresses,sabas/openaddresses,slibby/openaddresses,astoff/openaddresses,tyrasd/openaddresses,openaddresses/openaddresses,orangejulius/openaddresses,mmdolbow/openaddresses,orangejulius/openaddresses,davidchiles/openaddresses,davidchiles/openaddresses,openaddresses/openaddresses,sergiyprotsiv/openaddresses,dav...
json
## Code Before: { "data": "https://ftp.vgingis.com/Download/VA_SiteAddress.txt.zip", "website": "http://vgin.maps.arcgis.com/home/item.html?id=100e5e12ddc14748a5ec3b8b997af13a", "license": { "text": "public domain", "attribution": false, "share-alike": false }, "compression":...
b21f37287efc7bf07e12519fb65b6c724dd9af9e
src/coord/geo/prepareCustom.js
src/coord/geo/prepareCustom.js
import * as zrUtil from 'zrender/src/core/util'; function dataToCoordSize(dataSize, dataItem) { dataItem = dataItem || [0, 0]; return zrUtil.map([0, 1], function (dimIdx) { var val = dataItem[dimIdx]; var halfSize = dataSize[dimIdx] / 2; var p1 = []; var p2 = []; p1[dimI...
import * as zrUtil from 'zrender/src/core/util'; function dataToCoordSize(dataSize, dataItem) { dataItem = dataItem || [0, 0]; return zrUtil.map([0, 1], function (dimIdx) { var val = dataItem[dimIdx]; var halfSize = dataSize[dimIdx] / 2; var p1 = []; var p2 = []; p1[dimI...
Fix roam param for compatibility.
Fix roam param for compatibility.
JavaScript
apache-2.0
ecomfe/echarts,chenfwind/echarts,apache/incubator-echarts,apache/incubator-echarts,chenfwind/echarts,ecomfe/echarts,100star/echarts,100star/echarts
javascript
## Code Before: import * as zrUtil from 'zrender/src/core/util'; function dataToCoordSize(dataSize, dataItem) { dataItem = dataItem || [0, 0]; return zrUtil.map([0, 1], function (dimIdx) { var val = dataItem[dimIdx]; var halfSize = dataSize[dimIdx] / 2; var p1 = []; var p2 = [];...
d1ac5d47451fdbdf63880c62ae2723d0a45117e1
src/execute.js
src/execute.js
import { runInContext, createContext } from 'vm'; import { stripIndent } from 'common-tags'; import importFrom from 'import-from'; import Promise from 'bluebird'; function createScriptBlock(node) { return `;${node.value};` } function createExpressionBlock(node) { return `;$print($eval(${JSON.stringify(node.value)...
import { runInContext, createContext } from 'vm'; import { stripIndent } from 'common-tags'; import importFrom from 'import-from'; import Promise from 'bluebird'; function safe(val) { return JSON.stringify(val); } function createScriptBlock(node) { return `;${node.value};` } function createExpressionBlock(node) ...
Clean it up a little bit
Clean it up a little bit
JavaScript
mit
nickclaw/redoculous
javascript
## Code Before: import { runInContext, createContext } from 'vm'; import { stripIndent } from 'common-tags'; import importFrom from 'import-from'; import Promise from 'bluebird'; function createScriptBlock(node) { return `;${node.value};` } function createExpressionBlock(node) { return `;$print($eval(${JSON.strin...
ea3149d5bc809681071ae788a1c301efcf57e258
Multiplatform/iOS/Settings/Accounts/AccountHeaderImageView.swift
Multiplatform/iOS/Settings/Accounts/AccountHeaderImageView.swift
// // AccountHeaderImageView.swift // Multiplatform iOS // // Created by Rizwan on 08/07/20. // Copyright © 2020 Ranchero Software. All rights reserved. // import SwiftUI import RSCore struct AccountHeaderImageView: View { var image: RSImage var body: some View { HStack { Spacer() Image(rsImage: ima...
// // AccountHeaderImageView.swift // Multiplatform iOS // // Created by Rizwan on 08/07/20. // Copyright © 2020 Ranchero Software. All rights reserved. // import SwiftUI import RSCore struct AccountHeaderImageView: View { var image: RSImage var body: some View { Image(rsImage: image) .resizable() .as...
Add simplified Account Header image view without stacks
Add simplified Account Header image view without stacks
Swift
mit
brentsimmons/Evergreen,brentsimmons/Evergreen,brentsimmons/Evergreen,brentsimmons/Evergreen
swift
## Code Before: // // AccountHeaderImageView.swift // Multiplatform iOS // // Created by Rizwan on 08/07/20. // Copyright © 2020 Ranchero Software. All rights reserved. // import SwiftUI import RSCore struct AccountHeaderImageView: View { var image: RSImage var body: some View { HStack { Spacer() Im...
b8bd15b5c09fb7cc4eca0743b674a28e5f177839
index.html
index.html
<!DOCTYPE html> <html> <head> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Beaverton High School</title> <link rel="stylesheet" href="css/normalize.css"> <link rel="stylesheet" href="css/style.css"> </head> <body> <header class="main-header"> <img src="img/bhs-banner.png" alt...
<!DOCTYPE html> <html> <head> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Beaverton High School</title> <link rel="stylesheet" href="css/normalize.css"> <link rel="stylesheet" href="css/style.css"> </head> <body> <header class="main-header"> <img src="img/bhs-banner.png" alt...
Add main sections to html
Add main sections to html
HTML
mit
milowyner/bhs-website,milowyner/bhs-website
html
## Code Before: <!DOCTYPE html> <html> <head> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Beaverton High School</title> <link rel="stylesheet" href="css/normalize.css"> <link rel="stylesheet" href="css/style.css"> </head> <body> <header class="main-header"> <img src="img/bhs...
992228ca24ee6c36f3e77eb951fbeedae5975ba7
CHANGELOG.md
CHANGELOG.md
1.0.6 - Use ES6 syntax and modules. Overall library file size went down a bit. 1.0.5 - Fixed clone password inputs to no clone id attribute #46 - Fixed password inputs not working in IE9 #38 - Fixed handling of password inputs that have intial values #37, #44 - Fixed chaning placeholder attribute after page load #34...
1.0.7 - Fix placeholder handling when input type gets changed to "password" after page load. 1.0.6 - Use ES6 syntax and modules. Overall library file size went down a bit. 1.0.5 - Fixed clone password inputs to no clone id attribute #46 - Fixed password inputs not working in IE9 #38 - Fixed handling of password in...
Prepare changelog for 1.0.7
Prepare changelog for 1.0.7 [ci skip]
Markdown
mit
kristerkari/placekeeper,kristerkari/placekeeper,kristerkari/placekeeper
markdown
## Code Before: 1.0.6 - Use ES6 syntax and modules. Overall library file size went down a bit. 1.0.5 - Fixed clone password inputs to no clone id attribute #46 - Fixed password inputs not working in IE9 #38 - Fixed handling of password inputs that have intial values #37, #44 - Fixed chaning placeholder attribute aft...
49bc07c531d15e8bb54f08921044845ed92146cc
uber/templates/preregistration/new_password_setup.html
uber/templates/preregistration/new_password_setup.html
{% extends "preregistration/preregbase.html" %} {% block title %}Set New Password{% endblock %} {% block backlink %}{% endblock %} {% block content %} <div class="masthead"></div> <div class="panel panel-default"> <div class="panel-body"> {% set post_to = "../preregistration/new_password_setup" %} {% set account_form_l...
{% extends "preregistration/preregbase.html" %} {% block title %}Set New Password{% endblock %} {% block backlink %}{% endblock %} {% block content %} <div class="masthead"></div> <div class="panel panel-default"> <div class="panel-body"> {% set post_to = "../preregistration/new_password_setup" %} {% set account_form_l...
Stop offering login on password reset page
Stop offering login on password reset page
HTML
agpl-3.0
magfest/ubersystem,magfest/ubersystem,magfest/ubersystem,magfest/ubersystem
html
## Code Before: {% extends "preregistration/preregbase.html" %} {% block title %}Set New Password{% endblock %} {% block backlink %}{% endblock %} {% block content %} <div class="masthead"></div> <div class="panel panel-default"> <div class="panel-body"> {% set post_to = "../preregistration/new_password_setup" %} {% se...
fbb1b9d86a9488b481a8de4d69a3e2a12c11c5e7
SwiftyEcharts/Models/Protocol/Enumable.swift
SwiftyEcharts/Models/Protocol/Enumable.swift
// // Enumable.swift // SwiftyEcharts // // Created by Pluto Y on 15/01/2017. // Copyright © 2017 com.pluto-y. All rights reserved. // public protocol Enumable { associatedtype ContentEnum init(_ elements: Self.ContentEnum...) } extension Enumable { public init(_ element: Self.ContentEnum) { /...
// // Enumable.swift // SwiftyEcharts // // Created by Pluto Y on 15/01/2017. // Copyright © 2017 com.pluto-y. All rights reserved. // /// 针对那种只有只读属性或者没有属性的类型 public enum EmptyEnum { } public protocol Enumable { associatedtype ContentEnum init(_ elements: Self.ContentEnum...) } extension Enumable { p...
Add new common enum type named 'EmptyEnum'
feature(type): Add new common enum type named 'EmptyEnum'
Swift
mit
Pluto-Y/SwiftyEcharts,Pluto-Y/SwiftyEcharts,Pluto-Y/SwiftyEcharts
swift
## Code Before: // // Enumable.swift // SwiftyEcharts // // Created by Pluto Y on 15/01/2017. // Copyright © 2017 com.pluto-y. All rights reserved. // public protocol Enumable { associatedtype ContentEnum init(_ elements: Self.ContentEnum...) } extension Enumable { public init(_ element: Self.ContentE...
9a1f26b20c741ac23e7ebc15a3f6a52273b0e137
config/feature_flags/learning_materials_release_flags.yml
config/feature_flags/learning_materials_release_flags.yml
--- rce_mentions_in_discussions: state: hidden display_name: RCE Mentions in Discussions description: |- When enabled, turns on "@mention" functionality in course discussions. applies_to: SiteAdmin rce_a11y_checker_notifications: state: allowed display_name: Accessibility Checker Notifications descrip...
--- rce_mentions_in_discussions: state: hidden display_name: RCE Mentions in Discussions description: |- When enabled, turns on "@mention" functionality in course discussions. applies_to: SiteAdmin rce_a11y_checker_notifications: state: allowed display_name: Accessibility Checker Notifications descrip...
Change Icon Maker flag to "allowed" for release
Change Icon Maker flag to "allowed" for release Closes MAT-677 flag=buttons_and_icons_root_account Test Plan: - Before downloading this change, turn the root account icon maker flag off - Flush Redis - Restart the rails server - Verify icon maker does not show up in RCE anymore - Download this change - Flush Redi...
YAML
agpl-3.0
instructure/canvas-lms,instructure/canvas-lms,instructure/canvas-lms,sfu/canvas-lms,sfu/canvas-lms,instructure/canvas-lms,instructure/canvas-lms,sfu/canvas-lms,sfu/canvas-lms,instructure/canvas-lms,sfu/canvas-lms,instructure/canvas-lms,sfu/canvas-lms,sfu/canvas-lms
yaml
## Code Before: --- rce_mentions_in_discussions: state: hidden display_name: RCE Mentions in Discussions description: |- When enabled, turns on "@mention" functionality in course discussions. applies_to: SiteAdmin rce_a11y_checker_notifications: state: allowed display_name: Accessibility Checker Notific...
e37680f05babca4c62c1eabd2ee699ddb3056690
lib/rspec_java/project_initializer/spec/features/homepage_spec.rb
lib/rspec_java/project_initializer/spec/features/homepage_spec.rb
require 'java_helper' RSpec.feature 'Home page', js: true do before { visit '/' } it { expect(page.status_code).to eq(200) } end
require 'java_helper' RSpec.feature 'Home page', js: true do scenario 'visit homepage' do visit '/' expect(page.status_code).to eq(200) end end
Use feature and scenario DSL
Use feature and scenario DSL The feature and scenario DSL correspond to describe and it, respectively. These methods are simply aliases that allow feature specs to read more as customer and acceptance tests
Ruby
mit
paresharma/rspec-manumit
ruby
## Code Before: require 'java_helper' RSpec.feature 'Home page', js: true do before { visit '/' } it { expect(page.status_code).to eq(200) } end ## Instruction: Use feature and scenario DSL The feature and scenario DSL correspond to describe and it, respectively. These methods are simply aliases that allow feat...