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
a50da237ec511946f2c19ffd41f3976d2a95aa2c
setup/default-editor-filetypes.txt
setup/default-editor-filetypes.txt
css js json md py scss sh ts txt tpl ssp ss applescript c cpp md
applescript c cpp css js json md md py scss sh ss ssp tpl ts txt
Sort list of default editor filetypes
Sort list of default editor filetypes
Text
mit
caleb531/dotfiles,caleb531/dotfiles,caleb531/dotfiles,caleb531/dotfiles
text
## Code Before: css js json md py scss sh ts txt tpl ssp ss applescript c cpp md ## Instruction: Sort list of default editor filetypes ## Code After: applescript c cpp css js json md md py scss sh ss ssp tpl ts txt
5bb9b2c9d5df410c85f4736c17224aeb2f05dd33
s2v3.py
s2v3.py
from s2v2 import * def calculate_sum(data_sample): total = 0 for row in data_sample[1:]: # slice to start at row two, but I think we should only skip row 1 if we're importing the full csv (data_from_csv), but if we use the data w/ the header (my_csv) we'll be skipping a row that we're not supposed to skip (the actu...
from s2v2 import * def calculate_sum(data_sample): total = 0 for row in data_sample[1:]: # slice to start at row two, but I think we should only skip row 1 if we're importing the full csv (data_from_csv), but if we use the data w/ the header (my_csv) we'll be skipping a row that we're not supposed to skip (the actu...
Update print result to use "," instead of "+" for context text
Update print result to use "," instead of "+" for context text
Python
mit
alexmilesyounger/ds_basics
python
## Code Before: from s2v2 import * def calculate_sum(data_sample): total = 0 for row in data_sample[1:]: # slice to start at row two, but I think we should only skip row 1 if we're importing the full csv (data_from_csv), but if we use the data w/ the header (my_csv) we'll be skipping a row that we're not supposed t...
48c4f873bf02502ac508efa41cbfb320071ef8f4
spec/models/card_spec.rb
spec/models/card_spec.rb
require 'rails_helper' RSpec.describe Card, type: :model do let(:template) { CardTemplate.create(greeting: 'oh noes', image_file: 'oh.noes') } let(:valid_inputs) {{ card_template_id: template.id, custom_message: 'Not having the sorry', signature: 'Kindly, James', recipient_name: 'Bad Friend', s...
require 'rails_helper' RSpec.describe Card, type: :model do let(:template) { CardTemplate.create(greeting: 'oh noes', image_file: 'oh.noes') } let(:valid_inputs) {{ card_template_id: template.id, custom_message: 'Not having the sorry', signature: 'Kindly, James', recipient_name: 'Bad Friend', s...
Add tests for Card creation
Add tests for Card creation
Ruby
mit
rasnom/sorryyoufeelthatway,rasnom/sorryyoufeelthatway,rasnom/sorryyoufeelthatway
ruby
## Code Before: require 'rails_helper' RSpec.describe Card, type: :model do let(:template) { CardTemplate.create(greeting: 'oh noes', image_file: 'oh.noes') } let(:valid_inputs) {{ card_template_id: template.id, custom_message: 'Not having the sorry', signature: 'Kindly, James', recipient_name: 'Ba...
bfb029f6ff779c828039be7f0d1eb061376d5006
tests/testCaseSingleton.h
tests/testCaseSingleton.h
class IEngine { public: virtual double getVolume() const = 0; virtual ~IEngine() = default; }; class Engine : public IEngine { public: virtual double getVolume() const override { return 10.5; } }; TEST_CASE( "Singleton Test", "Check if two instances of a registered singleton are equal" ){ CppDiFactory::DiF...
namespace testCaseSingleton { class IEngine { public: virtual double getVolume() const = 0; virtual ~IEngine() = default; }; class Engine : public IEngine { private: static bool _valid; public: Engine() { _valid = true; } virtual ~Engine () { _valid = false; } virtual double getVolume() const overr...
Add tests for singleton lifetime
Add tests for singleton lifetime
C
apache-2.0
bbvch/CppDiFactory
c
## Code Before: class IEngine { public: virtual double getVolume() const = 0; virtual ~IEngine() = default; }; class Engine : public IEngine { public: virtual double getVolume() const override { return 10.5; } }; TEST_CASE( "Singleton Test", "Check if two instances of a registered singleton are equal" ){ C...
09b077c909e05447e970f4872beaed5426d821bc
composer.json
composer.json
{ "name": "codesleeve/laravel-stapler", "description": "Easy file upload management for the Laravel Framework.", "keywords": ["laravel", "file", "upload", "S3", "AWS", "stapler", "paperclip"], "license": "MIT", "authors": [ { "name": "Travis Bennett", "email": "tandre...
{ "name": "codesleeve/laravel-stapler", "description": "Easy file upload management for the Laravel Framework.", "keywords": ["laravel", "file", "upload", "S3", "AWS", "stapler", "paperclip"], "license": "MIT", "repositories": [ { "type": "vcs", "url": "git@github.com...
Use dev version of Stapler
Use dev version of Stapler
JSON
mit
oschettler/laravel-stapler
json
## Code Before: { "name": "codesleeve/laravel-stapler", "description": "Easy file upload management for the Laravel Framework.", "keywords": ["laravel", "file", "upload", "S3", "AWS", "stapler", "paperclip"], "license": "MIT", "authors": [ { "name": "Travis Bennett", ...
122c5dec3f15037f2ae3decc8661cdebdbc16f68
README.md
README.md
The paper and code can be found [here](http://sanghosuh.github.io/data/lens_nmf_icdm.pdf) and [there](https://github.com/sanghosuh/lens_nmf-matlab), respectively. Full citation is as follows. 1. Suh, Sangho, et al. "L-EnsNMF: Boosted Local Topic Discovery via Ensemble of Nonnegative Matrix Factorization." Procee...
The paper and code can be found [here](http://sanghosuh.github.io/papers/lensnmf_icdm.pdf) and [there](https://github.com/sanghosuh/lens_nmf-matlab), respectively. To check out the presentation, click [here](https://sanghosuh.github.io/lens_nmf-icdm/). Full citation is as follows. 1. Suh, Sangho, et al. "L-EnsNMF: ...
Fix link to paper and add link to presentation
Fix link to paper and add link to presentation
Markdown
mit
sanghosuh/lens_nmf-icdm,sanghosuh/lens_nmf-icdm
markdown
## Code Before: The paper and code can be found [here](http://sanghosuh.github.io/data/lens_nmf_icdm.pdf) and [there](https://github.com/sanghosuh/lens_nmf-matlab), respectively. Full citation is as follows. 1. Suh, Sangho, et al. "L-EnsNMF: Boosted Local Topic Discovery via Ensemble of Nonnegative Matrix Factoriza...
22d60c25be61f2038d0e6bd3e3b50cd5f0c072e4
source/installation/security.rst
source/installation/security.rst
Security ======== Typically, internal DevOps tools like Graphite are deployed in intranet without any external access, so you can skip authentication and leave everything accessible to everyone. But powerful Moira features, like separate subscriptions for tags, work best when you have some way to tell apart users. Mo...
Security ======== Typically, internal DevOps tools like Graphite are deployed in intranet without any external access, so you can skip authentication and leave everything accessible to everyone. But powerful Moira features, like separate subscriptions for tags, work best when you have some way to tell apart users. Mo...
Add sample Nginx Basic Auth config
Add sample Nginx Basic Auth config
reStructuredText
mit
moira-alert/doc
restructuredtext
## Code Before: Security ======== Typically, internal DevOps tools like Graphite are deployed in intranet without any external access, so you can skip authentication and leave everything accessible to everyone. But powerful Moira features, like separate subscriptions for tags, work best when you have some way to tell ...
aff5a09eb3d61f77cb277b076820481b8ba145d5
tests/test_coroutine.py
tests/test_coroutine.py
import tests try: import asyncio exec('''if 1: def hello_world(result, delay): result.append("Hello") # retrieve the event loop from the policy yield from asyncio.sleep(delay) result.append('World') ''') except ImportError: import trollius as asy...
import tests try: import asyncio exec('''if 1: def hello_world(result, delay): result.append("Hello") # retrieve the event loop from the policy yield from asyncio.sleep(delay) result.append('World') return "." def waiter(result): ...
Add more complex coroutine example
Add more complex coroutine example
Python
apache-2.0
overcastcloud/aioeventlet
python
## Code Before: import tests try: import asyncio exec('''if 1: def hello_world(result, delay): result.append("Hello") # retrieve the event loop from the policy yield from asyncio.sleep(delay) result.append('World') ''') except ImportError: import...
13cf5e053954303ce5e15e94b562fa7e286d5208
style/README.md
style/README.md
```bash $ bin/style [component-directory | style-file.{sss,css}] ``` This routine will take **component-directory** as a parameter ### Styling a Component ```bash $ bin/style foo-bar ``` - Searches for `foo-bar/index.sss` or `foo-bar/index.css` file as entry point. - _(optional)_ [Snuggsi Style Sheets](#snuggsi...
```bash $ bin/style [component-directory | style-file.{sss,css}] ``` This routine will take **component-directory** as a parameter ### Styling a Component ```bash $ bin/style foo-bar ``` - Searches for `foo-bar/index.sss` or `foo-bar/index.css` file as entry point. - _(optional)_ [Snuggsi Style Sheets](#snuggsi...
Update content for CSS Grid and CSSS Custom Properties
Update content for CSS Grid and CSSS Custom Properties
Markdown
mit
snuggs/snuggsi,snuggs/snuggsi,snuggs/snuggsi,devpunks/snuggsi,snuggs/snuggsi,devpunks/snuggsi,devpunks/snuggsi,devpunks/snuggsi,devpunks/snuggsi
markdown
## Code Before: ```bash $ bin/style [component-directory | style-file.{sss,css}] ``` This routine will take **component-directory** as a parameter ### Styling a Component ```bash $ bin/style foo-bar ``` - Searches for `foo-bar/index.sss` or `foo-bar/index.css` file as entry point. - _(optional)_ [Snuggsi Style ...
bb4750b2a817c5459127f314387903b42d540bc3
package.json
package.json
{ "name": "uvalidator", "version": "0.2.0", "devDependencies": { "grunt": "~0.4.1", "grunt-jslint": "~0.2.5" } }
{ "name": "uvalidator", "version": "0.2.1", "scripts": { "test": "node_modules/grover/bin/grover.js tests/*.html" }, "devDependencies": { "grover": "^0.1.17", "grunt": "~0.4.1", "grunt-jslint": "~0.2.5" } }
Add command to run tests
Add command to run tests
JSON
mit
FrivalszkyP/uvalidator,ustream/uvalidator,FrivalszkyP/uvalidator
json
## Code Before: { "name": "uvalidator", "version": "0.2.0", "devDependencies": { "grunt": "~0.4.1", "grunt-jslint": "~0.2.5" } } ## Instruction: Add command to run tests ## Code After: { "name": "uvalidator", "version": "0.2.1", "scripts": { "test": "node_modules/grover/bin/grover.js tests/*....
26e6a948455c874d294d207b72221479b65e36d5
package.json
package.json
{ "author": { "name" : "Remy Loubradou" , "email" : "remy.loubradou@gmail.com" , "url" : "https://twitter.com/#!/lbdremy" }, "name": "scrapinode", "main": "./main.js", "description": "Modular scraper", "version": "0.0.8", "repository": { "type": "git", "u...
{ "author": { "name" : "Remy Loubradou" , "email" : "remy.loubradou@gmail.com" , "url" : "https://twitter.com/#!/lbdremy" }, "name": "scrapinode", "main": "./main.js", "description": "Modular scraper", "version": "0.0.8", "repository": { "type": "git", "u...
Replace the url of the github repo by the lastest version of jsdom.
NEW: Replace the url of the github repo by the lastest version of jsdom.
JSON
mit
lbdremy/scrapinode,lbdremy/scrapinode
json
## Code Before: { "author": { "name" : "Remy Loubradou" , "email" : "remy.loubradou@gmail.com" , "url" : "https://twitter.com/#!/lbdremy" }, "name": "scrapinode", "main": "./main.js", "description": "Modular scraper", "version": "0.0.8", "repository": { "type":...
e055c849f9053b604e085705c7b65dc729e14ffd
src/XcodeVersion.swift
src/XcodeVersion.swift
import Foundation let RequiredXcodeVersion = "Xcode 6.3" func isRequiredXcodeIsInstalled() -> Bool { return currentXcodeVersion() == RequiredXcodeVersion } func currentXcodeVersion() -> String? { return run("xcodebuild -version").first }
import Foundation let RequiredXcodeVersion = "Xcode 6.3" func isRequiredXcodeIsInstalled() -> Bool { if let comparationResult = currentXcodeVersion()?.localizedCaseInsensitiveCompare(RequiredXcodeVersion) { switch comparationResult { case .OrderedDescending, .OrderedSame: return true ...
Fix Xcode version check to detect versions higher than 6.3
Fix Xcode version check to detect versions higher than 6.3
Swift
mit
stepanhruda/ios-simulator-app-installer,stepanhruda/ios-simulator-app-installer,stepanhruda/ios-simulator-app-installer
swift
## Code Before: import Foundation let RequiredXcodeVersion = "Xcode 6.3" func isRequiredXcodeIsInstalled() -> Bool { return currentXcodeVersion() == RequiredXcodeVersion } func currentXcodeVersion() -> String? { return run("xcodebuild -version").first } ## Instruction: Fix Xcode version check to detect vers...
2fc72052c487b60fe523e69983a58a8e0fbb6c39
lib/util/makeSerializable.js
lib/util/makeSerializable.js
/* MIT License http://www.opensource.org/licenses/mit-license.php */ "use strict"; const createHash = require("./createHash"); const { register } = require("./serialization"); const getPrototypeChain = C => { const chain = []; let current = C.prototype; while (current !== Object.prototype) { chain.push(current...
/* MIT License http://www.opensource.org/licenses/mit-license.php */ "use strict"; const { register } = require("./serialization"); class ClassSerializer { constructor(Constructor) { this.Constructor = Constructor; this.hash = null; } serialize(obj, context) { obj.serialize(context); } deserialize(cont...
Remove hashing from ClassSerializer as buildDeps take care of this now
Remove hashing from ClassSerializer as buildDeps take care of this now
JavaScript
mit
SimenB/webpack,SimenB/webpack,EliteScientist/webpack,EliteScientist/webpack,webpack/webpack,NekR/webpack,webpack/webpack,SimenB/webpack,SimenB/webpack,NekR/webpack,webpack/webpack,webpack/webpack
javascript
## Code Before: /* MIT License http://www.opensource.org/licenses/mit-license.php */ "use strict"; const createHash = require("./createHash"); const { register } = require("./serialization"); const getPrototypeChain = C => { const chain = []; let current = C.prototype; while (current !== Object.prototype) { ch...
2ee37faefc669d8887dba32c0becc9ac80984dda
spec/spec_helper.rb
spec/spec_helper.rb
ENV["RAILS_ENV"] ||= 'test' require File.expand_path("../../config/environment", __FILE__) require 'rspec/rails' require 'rspec/autorun' require 'json_expressions/rspec' Dir[Rails.root.join("spec/support/**/*.rb")].each {|f| require f} RSpec.configure do |config| config.infer_base_class_for_anonymous_controllers =...
ENV["RAILS_ENV"] ||= 'test' require File.expand_path("../../config/environment", __FILE__) require 'rspec/rails' require 'rspec/autorun' require 'json_expressions/rspec' Dir[Rails.root.join("spec/support/**/*.rb")].each {|f| require f} RSpec.configure do |config| config.infer_base_class_for_anonymous_controllers =...
Truncate tables before test runs.
Truncate tables before test runs.
Ruby
mit
bitzesty/trade-tariff-backend,leftees/trade-tariff-backend,bitzesty/trade-tariff-backend,leftees/trade-tariff-backend,leftees/trade-tariff-backend,bitzesty/trade-tariff-backend,alphagov/trade-tariff-backend,alphagov/trade-tariff-backend,alphagov/trade-tariff-backend
ruby
## Code Before: ENV["RAILS_ENV"] ||= 'test' require File.expand_path("../../config/environment", __FILE__) require 'rspec/rails' require 'rspec/autorun' require 'json_expressions/rspec' Dir[Rails.root.join("spec/support/**/*.rb")].each {|f| require f} RSpec.configure do |config| config.infer_base_class_for_anonymo...
45db0ca4143ef93bbaa00f4a577ebd44ac41a76e
Tests/PlayPen/CMakeLists.txt
Tests/PlayPen/CMakeLists.txt
set(HEADER_FILES include/AnimationBlender.h include/StaticPluginLoader.h) set(SOURCE_FILES src/PlayPen.cpp src/AnimationBlender.cpp src/WindowEmbedding.cpp) if (APPLE) set(OGRE_LIBRARIES ${OGRE_LIBRARIES} IOKit) endif () include_directories(${CMAKE_CURRENT_SOURCE_DIR}/include) include_directories(${CMAKE_S...
set(HEADER_FILES include/AnimationBlender.h include/StaticPluginLoader.h) set(SOURCE_FILES src/PlayPen.cpp src/AnimationBlender.cpp src/WindowEmbedding.cpp) if (APPLE) set(OGRE_LIBRARIES ${OGRE_LIBRARIES} IOKit) endif () include_directories(${CMAKE_CURRENT_SOURCE_DIR}/include) include_directories( ${CMAKE...
Patch 2813291: fix inclusion of terrain component in PlayPen (I could have sworn I'd already done this)
Patch 2813291: fix inclusion of terrain component in PlayPen (I could have sworn I'd already done this)
Text
mit
jakzale/ogre,jakzale/ogre,jakzale/ogre,jakzale/ogre,jakzale/ogre
text
## Code Before: set(HEADER_FILES include/AnimationBlender.h include/StaticPluginLoader.h) set(SOURCE_FILES src/PlayPen.cpp src/AnimationBlender.cpp src/WindowEmbedding.cpp) if (APPLE) set(OGRE_LIBRARIES ${OGRE_LIBRARIES} IOKit) endif () include_directories(${CMAKE_CURRENT_SOURCE_DIR}/include) include_direc...
938c38566c1a574309f06368349b61ca53dfb8e9
admin_sdk/groups_settings/README.md
admin_sdk/groups_settings/README.md
Complete the steps described in the [Google Admin SDK Groups Settings Python Quickstart](https://developers.google.com/admin-sdk/groups-settings/quickstart/python), and in about five minutes you'll have a simple Python command-line application that makes requests to the Google Admin SDK Groups Settings API. ### Insta...
Complete the steps described in the [Google Admin SDK Groups Settings Python Quickstart](https://developers.google.com/admin-sdk/groups-settings/quickstart/python), and in about five minutes you'll have a simple Python command-line application that makes requests to the Google Admin SDK Groups Settings API. ### Insta...
Clarify the client_secret.json and API requirements for the sample.
Clarify the client_secret.json and API requirements for the sample.
Markdown
apache-2.0
gsuitedevs/python-samples,googleworkspace/python-samples,googledrive/python-quickstart
markdown
## Code Before: Complete the steps described in the [Google Admin SDK Groups Settings Python Quickstart](https://developers.google.com/admin-sdk/groups-settings/quickstart/python), and in about five minutes you'll have a simple Python command-line application that makes requests to the Google Admin SDK Groups Settings...
e0220a13975aa368898d5e678e326b95c46464fc
packages/coinstac-ui/app/render/components/consortium/consortium-computation-fields.js
packages/coinstac-ui/app/render/components/consortium/consortium-computation-fields.js
import React, { PropTypes } from 'react'; import { Field, FieldArray } from 'redux-form'; import ComputationFieldBasic from '../computation-field-basic'; import ComputationFieldCovariates from '../computation-field-covariates'; /** * Consortium computation fields. * * @param {Object} props * @param {Object[]} pro...
import React, { PropTypes } from 'react'; import { Field, FieldArray } from 'redux-form'; import { round } from 'lodash'; import ComputationFieldBasic from '../computation-field-basic'; import ComputationFieldCovariates from '../computation-field-covariates'; /** * Normalize numeric input. * * {@link http://redux-...
Add rounding to numeric computation input fields.
Add rounding to numeric computation input fields.
JavaScript
mit
MRN-Code/coinstac,MRN-Code/coinstac,MRN-Code/coinstac
javascript
## Code Before: import React, { PropTypes } from 'react'; import { Field, FieldArray } from 'redux-form'; import ComputationFieldBasic from '../computation-field-basic'; import ComputationFieldCovariates from '../computation-field-covariates'; /** * Consortium computation fields. * * @param {Object} props * @para...
a33b77c909f4fd052670541695729da247b13930
app/src/main/java/com/infonuascape/osrshelper/tracker/rt/TrackerHelper.java
app/src/main/java/com/infonuascape/osrshelper/tracker/rt/TrackerHelper.java
package com.infonuascape.osrshelper.tracker.rt; import com.infonuascape.osrshelper.tracker.TrackerTimeEnum; import com.infonuascape.osrshelper.utils.exceptions.ParserErrorException; import com.infonuascape.osrshelper.utils.exceptions.PlayerNotFoundException; import com.infonuascape.osrshelper.utils.players.PlayerSkill...
package com.infonuascape.osrshelper.tracker.rt; import com.infonuascape.osrshelper.tracker.TrackerTimeEnum; import com.infonuascape.osrshelper.utils.exceptions.APIError; import com.infonuascape.osrshelper.utils.exceptions.ParserErrorException; import com.infonuascape.osrshelper.utils.exceptions.PlayerNotFoundException...
Use APIError over ParseError to display proper errors
Use APIError over ParseError to display proper errors
Java
apache-2.0
ldionmarcil/OSRSHelper
java
## Code Before: package com.infonuascape.osrshelper.tracker.rt; import com.infonuascape.osrshelper.tracker.TrackerTimeEnum; import com.infonuascape.osrshelper.utils.exceptions.ParserErrorException; import com.infonuascape.osrshelper.utils.exceptions.PlayerNotFoundException; import com.infonuascape.osrshelper.utils.pla...
730a394e755102fadfb7b378ad7297c695944601
pkgs/tools/security/hologram/default.nix
pkgs/tools/security/hologram/default.nix
{ stdenv, lib, buildGoPackage, fetchgit, fetchhg, fetchbzr, fetchsvn }: buildGoPackage rec { name = "hologram-${version}"; version = "20170130-${stdenv.lib.strings.substring 0 7 rev}"; rev = "d20d1c30379e7010e8f9c428a5b9e82f54d390e1"; src = fetchgit { inherit rev; url = "https://github.com/AdRoll/holo...
{ stdenv, lib, buildGoPackage, fetchgit, fetchhg, fetchbzr, fetchsvn }: buildGoPackage rec { name = "hologram-${version}"; version = "20170130-${stdenv.lib.strings.substring 0 7 rev}"; rev = "d20d1c30379e7010e8f9c428a5b9e82f54d390e1"; src = fetchgit { inherit rev; url = "https://github.com/AdRoll/holo...
Fix hologram server with go versions > 1.4, no fix yet upstream.
Fix hologram server with go versions > 1.4, no fix yet upstream. (cherry picked from commit cbfb35a145287f9c18c801ffaf4f36967f1bd563)
Nix
mit
NixOS/nixpkgs,SymbiFlow/nixpkgs,NixOS/nixpkgs,SymbiFlow/nixpkgs,NixOS/nixpkgs,SymbiFlow/nixpkgs,SymbiFlow/nixpkgs,SymbiFlow/nixpkgs,NixOS/nixpkgs,SymbiFlow/nixpkgs,SymbiFlow/nixpkgs,NixOS/nixpkgs,NixOS/nixpkgs,SymbiFlow/nixpkgs,NixOS/nixpkgs,SymbiFlow/nixpkgs,NixOS/nixpkgs,NixOS/nixpkgs,SymbiFlow/nixpkgs,NixOS/nixpkgs,...
nix
## Code Before: { stdenv, lib, buildGoPackage, fetchgit, fetchhg, fetchbzr, fetchsvn }: buildGoPackage rec { name = "hologram-${version}"; version = "20170130-${stdenv.lib.strings.substring 0 7 rev}"; rev = "d20d1c30379e7010e8f9c428a5b9e82f54d390e1"; src = fetchgit { inherit rev; url = "https://github...
f3ca2e40caaa93149acefcab3645550212f4dd9b
requirements-dev.txt
requirements-dev.txt
PyYAML==5.1 cov-core==1.15.0 coverage==4.4 coveralls==1.5.1 cryptography==3.3.2 docopt==0.6.2 nose==1.3.6 py==1.5.4 pytest==4.6.10 pytest-cov==2.6.1 -r requirements.txt -r requirements-rtd.txt
PyYAML==5.1 cov-core==1.15.0 coverage==5.5 coveralls==1.5.1 cryptography==3.3.2 docopt==0.6.2 pytest==6.2.2 pytest-cov==2.11.1 -r requirements.txt -r requirements-rtd.txt
Upgrade to latest pytest & coverage, remove unsed py & nose dependencies.
Upgrade to latest pytest & coverage, remove unsed py & nose dependencies.
Text
mit
mpdavis/python-jose
text
## Code Before: PyYAML==5.1 cov-core==1.15.0 coverage==4.4 coveralls==1.5.1 cryptography==3.3.2 docopt==0.6.2 nose==1.3.6 py==1.5.4 pytest==4.6.10 pytest-cov==2.6.1 -r requirements.txt -r requirements-rtd.txt ## Instruction: Upgrade to latest pytest & coverage, remove unsed py & nose dependencies. ## Code After: PyYA...
d59d5df4d06ffcf422ded275c6db09455b2c6068
spec/spec_helper.rb
spec/spec_helper.rb
ENV['RACK_ENV'] = 'test' require 'rspec' require 'rack/test' require 'mock_redis' $LOAD_PATH.unshift(File.expand_path(File.join(__FILE__, "..", "..", "lib"))) require 'duckweed' Dir['spec/shared/*.rb'].each {|shared| require shared} MINUTE = 60 HOUR = 60 * MINUTE DAY = 24 * HOUR module SpecHelpers def event_...
ENV['RACK_ENV'] = 'test' require 'rspec' require 'rack/test' require 'mock_redis' $LOAD_PATH.unshift(File.expand_path(File.join(__FILE__, "..", "..", "lib"))) require 'duckweed' Dir['spec/shared/*.rb'].each {|shared| require shared} MINUTE = 60 HOUR = 60 * MINUTE DAY = 24 * HOUR module SpecHelpers def event_...
Speed up tests by ~90%.
Speed up tests by ~90%. Make the helper method #event_happened much more efficient when the event count is > 1. Prior to this change, event_happened(:times => N) would make N POST requests to the app; now, it makes just one and sets the :quantity parameter to N. This slowness occurred because #event_happened predates...
Ruby
mit
causes/duckweed
ruby
## Code Before: ENV['RACK_ENV'] = 'test' require 'rspec' require 'rack/test' require 'mock_redis' $LOAD_PATH.unshift(File.expand_path(File.join(__FILE__, "..", "..", "lib"))) require 'duckweed' Dir['spec/shared/*.rb'].each {|shared| require shared} MINUTE = 60 HOUR = 60 * MINUTE DAY = 24 * HOUR module SpecHelp...
e6bb4f1491e8a2420ff4965dc48ade144d87676e
app/views/merge_requests/_merge_request.html.haml
app/views/merge_requests/_merge_request.html.haml
%li.wll{ :class => mr_css_classes(merge_request) } .right .left - if merge_request.merged? %span.btn.small.disabled.grouped %strong %i.icon-ok = "MERGED" - if merge_request.notes.any? %span.btn.small.disabled.grouped %i.icon-comment ...
%li.wll{ :class => mr_css_classes(merge_request) } .right .left - if merge_request.merged? %span.btn.small.disabled.grouped %strong %i.icon-ok = "MERGED" - if merge_request.notes.any? %span.btn.small.disabled.grouped %i.icon-comment ...
Update links to merge requests
Update links to merge requests
Haml
mit
adaiguoguo/gitlab_globalserarch,SkyWei/gitlabhq,liyakun/gitlabhq,xuvw/gitlabhq,liyakun/gitlabhq,cui-liqiang/gitlab-ce,michaKFromParis/sparkslab,Datacom/gitlabhq,ArthurHoaro/Public-GitLab,yulchitaj/TEST3,allysonbarros/gitlabhq,mmkassem/gitlabhq,cncodog/gitlab,NKMR6194/gitlabhq,sonalkr132/gitlabhq,pjknkda/gitlabhq,htve/G...
haml
## Code Before: %li.wll{ :class => mr_css_classes(merge_request) } .right .left - if merge_request.merged? %span.btn.small.disabled.grouped %strong %i.icon-ok = "MERGED" - if merge_request.notes.any? %span.btn.small.disabled.grouped %i.icon-c...
691e3581f1602714fba33f6dcb139f32e0507d23
packages/syft/src/syft/core/node/common/node_table/setup.py
packages/syft/src/syft/core/node/common/node_table/setup.py
from sqlalchemy import Column from sqlalchemy import Integer from sqlalchemy import String # relative from . import Base class SetupConfig(Base): __tablename__ = "setup" id = Column(Integer(), primary_key=True, autoincrement=True) domain_name = Column(String(255), default="") node_id = Column(String...
from sqlalchemy import Column from sqlalchemy import Integer from sqlalchemy import String from sqlalchemy import Boolean # relative from . import Base class SetupConfig(Base): __tablename__ = "setup" id = Column(Integer(), primary_key=True, autoincrement=True) domain_name = Column(String(255), default=...
ADD description / contact / daa fields
ADD description / contact / daa fields
Python
apache-2.0
OpenMined/PySyft,OpenMined/PySyft,OpenMined/PySyft,OpenMined/PySyft
python
## Code Before: from sqlalchemy import Column from sqlalchemy import Integer from sqlalchemy import String # relative from . import Base class SetupConfig(Base): __tablename__ = "setup" id = Column(Integer(), primary_key=True, autoincrement=True) domain_name = Column(String(255), default="") node_id...
803a77f76d2b75a91d7e1b170e8d8dbd9fc25800
spec/models/organisation_spec.rb
spec/models/organisation_spec.rb
require 'spec_helper' describe Organisation do describe 'relationships' do it { should have_many(:sites) } it { should have_many(:hosts).through(:sites) } it { should have_many(:mappings).through(:sites) } end describe 'validations' do it { should validate_presence_of(:whitehall_slug) } it {...
require 'spec_helper' describe Organisation do describe 'relationships' do it { should have_many(:sites) } it { should have_many(:hosts).through(:sites) } it { should have_many(:mappings).through(:sites) } end describe 'validations' do it { should validate_presence_of(:whitehall_slug) } it '...
Deal with shoulda failure on NOT NULL column
Deal with shoulda failure on NOT NULL column See https://github.com/thoughtbot/shoulda-matchers/issues/194
Ruby
mit
alphagov/transition,alphagov/transition,alphagov/transition
ruby
## Code Before: require 'spec_helper' describe Organisation do describe 'relationships' do it { should have_many(:sites) } it { should have_many(:hosts).through(:sites) } it { should have_many(:mappings).through(:sites) } end describe 'validations' do it { should validate_presence_of(:whitehall_...
528c227db30a28f1239986dd22e26eedbf45ce2c
appveyor.yml
appveyor.yml
version: 3.7.{build} image: Visual Studio 2015 build_script: - ps: .\build.ps1 -Target "Appveyor" # disable built-in tests. test: off artifacts: - path: package\*.nupkg - path: package\*.vsix - path: package\*.zip deploy: - provider: NuGet server: https://www.myget.org/F/nunit/api/v2 api_key: secu...
version: 3.7.{build} image: Visual Studio 2015 build_script: - ps: .\build.ps1 -Target "Appveyor" # disable built-in tests. test: off artifacts: - path: package\*.nupkg - path: package\*.vsix - path: package\*.zip deploy: - provider: NuGet server: https://www.myget.org/F/nunit/api/v2 api_key: secu...
Add code to allow RDP'ing into the AppVeyor build agent
Add code to allow RDP'ing into the AppVeyor build agent
YAML
mit
nunit/nunit3-vs-adapter
yaml
## Code Before: version: 3.7.{build} image: Visual Studio 2015 build_script: - ps: .\build.ps1 -Target "Appveyor" # disable built-in tests. test: off artifacts: - path: package\*.nupkg - path: package\*.vsix - path: package\*.zip deploy: - provider: NuGet server: https://www.myget.org/F/nunit/api/v2 api...
100964f1aaad7de7d62de0d16cf0da38d122e924
_protected/app/system/modules/pwa/controllers/MainController.php
_protected/app/system/modules/pwa/controllers/MainController.php
<?php /** * @author Pierre-Henry Soria <hello@ph7cms.com> * @copyright (c) 2018, Pierre-Henry Soria. All Rights Reserved. * @license GNU General Public License; See PH7.LICENSE.txt and PH7.COPYRIGHT.txt in the root directory. * @package PH7 / App / System / Module /PWA / Controller */ n...
<?php /** * @author Pierre-Henry Soria <hello@ph7cms.com> * @copyright (c) 2018, Pierre-Henry Soria. All Rights Reserved. * @license GNU General Public License; See PH7.LICENSE.txt and PH7.COPYRIGHT.txt in the root directory. * @package PH7 / App / System / Module /PWA / Controller */ n...
Update comments. Remove redundant comment
Update comments. Remove redundant comment
PHP
mit
pH7Software/pH7-Social-Dating-CMS,pH7Software/pH7-Social-Dating-CMS,pH7Software/pH7-Social-Dating-CMS,pH7Software/pH7-Social-Dating-CMS
php
## Code Before: <?php /** * @author Pierre-Henry Soria <hello@ph7cms.com> * @copyright (c) 2018, Pierre-Henry Soria. All Rights Reserved. * @license GNU General Public License; See PH7.LICENSE.txt and PH7.COPYRIGHT.txt in the root directory. * @package PH7 / App / System / Module /PWA / C...
c6bf62e759ed7a40aecfcd94c142def8878e815a
metrics-proxy/src/main/java/ai/vespa/metricsproxy/metric/model/MetricId.java
metrics-proxy/src/main/java/ai/vespa/metricsproxy/metric/model/MetricId.java
// Copyright 2020 Oath Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package ai.vespa.metricsproxy.metric.model; import java.util.Objects; /** * @author gjoranv */ public class MetricId { public static final MetricId empty = toMetricId(""); public final String id...
// Copyright 2020 Oath Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package ai.vespa.metricsproxy.metric.model; import com.yahoo.yolean.concurrent.CopyOnWriteHashMap; import java.util.Map; import java.util.Objects; /** * @author gjoranv */ public class MetricId { p...
Use a dictionary for metrid ids. There are few unique ones (less than 1k), but many instances.
Use a dictionary for metrid ids. There are few unique ones (less than 1k), but many instances.
Java
apache-2.0
vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa
java
## Code Before: // Copyright 2020 Oath Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package ai.vespa.metricsproxy.metric.model; import java.util.Objects; /** * @author gjoranv */ public class MetricId { public static final MetricId empty = toMetricId(""); public...
3b479b780c223b313c987e3dc642dd7b8e0d6d09
app/assets/stylesheets/admin/orders.css.scss
app/assets/stylesheets/admin/orders.css.scss
font-weight: bold; } .extra-action { float: right; } ul.thumbnails.image_picker_selector li .thumbnail { min-height: 230px; width: 100px; }
font-weight: bold; } .extra-action { float: right; } ul.thumbnails.image_picker_selector li .thumbnail { min-height: 230px; width: 100px; img { max-height: 100px; } }
Set max height for item image
Set max height for item image Avoid vertical images taking too much height
SCSS
mit
BFNZ/bfnz,ducktyper/bfnz,ducktyper/bfnz,BFNZ/bfnz,BFNZ/bfnz,ducktyper/bfnz
scss
## Code Before: font-weight: bold; } .extra-action { float: right; } ul.thumbnails.image_picker_selector li .thumbnail { min-height: 230px; width: 100px; } ## Instruction: Set max height for item image Avoid vertical images taking too much height ## Code After: font-weight: bold; } .extra-action { flo...
d09afe87aed250f49e49081b0b1fd631e13b34c1
simplebuilder.sh
simplebuilder.sh
success=0 fail=0 function on_the_way_out() { echo "Exiting..." echo "Success: $success" echo "Fail: $fail" exit 0 } trap on_the_way_out SIGINT while read -r line; do pushd "/var/abs/$line" > /dev/null makepkg -i --noconfirm if [ $? -eq 0 ]; then success=$(($success + 1)) echo "$line" >> successes els...
success=0 fail=0 function on_the_way_out() { echo "Exiting..." echo "Success: $success" echo "Fail: $fail" exit 0 } cwd=$(pwd) trap on_the_way_out SIGINT while read -r line; do if [ ! -d "/var/abs/$line" ]; then echo "$line" >> $cwd/nonexistent continue fi pushd "/var/abs/$line" > /dev/null makepkg...
Test if dir exists first
Test if dir exists first
Shell
mit
cmr/simplebuilder
shell
## Code Before: success=0 fail=0 function on_the_way_out() { echo "Exiting..." echo "Success: $success" echo "Fail: $fail" exit 0 } trap on_the_way_out SIGINT while read -r line; do pushd "/var/abs/$line" > /dev/null makepkg -i --noconfirm if [ $? -eq 0 ]; then success=$(($success + 1)) echo "$line" >...
6e06cdcc69533a41525922d1b5f79b6679be1f0b
app/views/projects/_content_item.html.erb
app/views/projects/_content_item.html.erb
<%= simple_form_for content_item, url: project_content_item_path(content_item.project, content_item), remote: true do |f| %> <%= token_tag %> <%= link_to content_item.title, content_item.url, target: '_blank' %> <%= f.input :taxons, placeholder: 'Choose one...', label: false, input_html: { class: [:se...
<%= simple_form_for content_item, url: project_content_item_path(content_item.project, content_item), remote: true do |f| %> <%= token_tag %> <%= link_to content_item.title, content_item.url, target: '_blank' %> <%= f.input :taxons, placeholder: 'Choose one...', label: false, input_html: { class: [:se...
Set inputs to autocomplete: off
Set inputs to autocomplete: off In the project based tagging interface. As a custom autocomplete implementation is used, stop the browser from getting involved. Also, in Firefox, if autocomplete is enabled, Firefox will remember input values across page refreshes, which for this page can be quite confusing.
HTML+ERB
mit
alphagov/content-tagger,alphagov/content-tagger,alphagov/content-tagger
html+erb
## Code Before: <%= simple_form_for content_item, url: project_content_item_path(content_item.project, content_item), remote: true do |f| %> <%= token_tag %> <%= link_to content_item.title, content_item.url, target: '_blank' %> <%= f.input :taxons, placeholder: 'Choose one...', label: false, input_htm...
d975783da18d323e2428a21b5a2177459e9c7f64
.travis.yml
.travis.yml
language: php install: - mkdir -p build/logs - mv .git ~.git php: - 5.4 - 5.5 - 5.6 - 7.0 - 7.1 - hhvm - nightly matrix: include: - php: 5.3 dist: precise script: - travis_wait composer update --prefer-lowest --no-interaction && php -d error_reporting=$(php -r "var_export(E_ALL & ~E_...
language: php install: - mkdir -p build/logs - mv .git ~.git php: - 5.4 - 5.5 - 5.6 - 7.0 - 7.1 - nightly - hhvm - hhvm-3.3 - hhvm-3.6 - hhvm-3.9 - hhvm-3.12 - hhvm-3.15 - hhvm-3.18 - hhvm-nightly matrix: include: - php: 5.3 dist: precise script: - travis_wait composer ...
Support for older HHVM versions
Support for older HHVM versions
YAML
mit
awesomite/stack-trace,awesomite/stack-trace
yaml
## Code Before: language: php install: - mkdir -p build/logs - mv .git ~.git php: - 5.4 - 5.5 - 5.6 - 7.0 - 7.1 - hhvm - nightly matrix: include: - php: 5.3 dist: precise script: - travis_wait composer update --prefer-lowest --no-interaction && php -d error_reporting=$(php -r "var_ex...
effb5d796e55dbf28de2ec8d6711fcf2724bc62f
src/core/migrations/0059_auto_20211013_1657.py
src/core/migrations/0059_auto_20211013_1657.py
from __future__ import unicode_literals from django.db import migrations def set_about_plugin_to_hpe(apps, schema_editor): Plugin = apps.get_model('utils', 'Plugin') Plugin.objects.filter( name='About', ).update( homepage_element=True, ) class Migration(migrations.Migration): d...
from __future__ import unicode_literals from django.db import migrations def set_about_plugin_to_hpe(apps, schema_editor): Plugin = apps.get_model('utils', 'Plugin') Plugin.objects.filter( name='About', ).update( homepage_element=True, ) class Migration(migrations.Migration): d...
Fix missing dependency on core.0059 migration
Fix missing dependency on core.0059 migration
Python
agpl-3.0
BirkbeckCTP/janeway,BirkbeckCTP/janeway,BirkbeckCTP/janeway,BirkbeckCTP/janeway
python
## Code Before: from __future__ import unicode_literals from django.db import migrations def set_about_plugin_to_hpe(apps, schema_editor): Plugin = apps.get_model('utils', 'Plugin') Plugin.objects.filter( name='About', ).update( homepage_element=True, ) class Migration(migrations.Mi...
cf5189a3e49870c4e9b7de8fd69a5077e85a4b60
Modules/Remote/IsotropicWavelets.remote.cmake
Modules/Remote/IsotropicWavelets.remote.cmake
itk_fetch_module(IsotropicWavelets "An ITK-based implementation of steerable isotropic wavelet transforms for multiscale phase analysis. A more detailed description can be found in the Insight Journal article:: Cerdan, P.H. \"Steerable Isotropic Wavelets for Multiscale and Phase Analysis\". http://hdl.handle.net/103...
itk_fetch_module(IsotropicWavelets "An ITK-based implementation of steerable isotropic wavelet transforms for multiscale phase analysis. A more detailed description can be found in the Insight Journal article:: Cerdan, P.H. \"Steerable Isotropic Wavelets for Multiscale and Phase Analysis\". http://hdl.handle.net/103...
Update IsotropicWavelets module for Doxygen build
BUG: Update IsotropicWavelets module for Doxygen build To address the Doxygen CMake configuration error on the location of the Python tests. Changes: Matt McCormick (3): COMP: Wrap GaussianImageSource for StructureTensor BUG: Move Python tests to wrapping/test/CMakeLists.txt ENH: Build against ITK ...
CMake
apache-2.0
thewtex/ITK,richardbeare/ITK,hjmjohnson/ITK,thewtex/ITK,Kitware/ITK,malaterre/ITK,hjmjohnson/ITK,BRAINSia/ITK,malaterre/ITK,vfonov/ITK,thewtex/ITK,vfonov/ITK,malaterre/ITK,richardbeare/ITK,Kitware/ITK,malaterre/ITK,vfonov/ITK,richardbeare/ITK,richardbeare/ITK,vfonov/ITK,malaterre/ITK,LucasGandel/ITK,LucasGandel/ITK,Ins...
cmake
## Code Before: itk_fetch_module(IsotropicWavelets "An ITK-based implementation of steerable isotropic wavelet transforms for multiscale phase analysis. A more detailed description can be found in the Insight Journal article:: Cerdan, P.H. \"Steerable Isotropic Wavelets for Multiscale and Phase Analysis\". http://hd...
ad62461bfbe05fca3daae9bb2d666e979217ee94
class/basic/app-finish.js
class/basic/app-finish.js
'use strict' class Pokemon { constructor(name) { this.name = name; this.cp = 100; } attack() { console.log(`Attack ${this.cp} points!`); } powerUp() { this.cp += 100; console.log("Power Up completed!") } } let pikachu = new Pokemon("Pikachu"); console.log(pikach...
'use strict' class Monster { constructor(name) { this.name = name; this.cp = 100; } attack() { console.log(`Attack ${this.cp} points!`); } powerUp() { this.cp += 100; console.log("Power Up completed!") } } let mon = new Monster("My Mon"); console.log(mon.name); ...
Rename class to avoid copyright issue
Rename class to avoid copyright issue
JavaScript
apache-2.0
teerasej/training-javascript-es6-beginner-thai
javascript
## Code Before: 'use strict' class Pokemon { constructor(name) { this.name = name; this.cp = 100; } attack() { console.log(`Attack ${this.cp} points!`); } powerUp() { this.cp += 100; console.log("Power Up completed!") } } let pikachu = new Pokemon("Pikachu"); co...
8dc11b46a695c338d272325eef4cebe7f60cb710
pkgs/development/libraries/haskell/hi/default.nix
pkgs/development/libraries/haskell/hi/default.nix
{ cabal, filepath, hspec, HUnit, parsec, split, template , temporaryRc, text, time }: cabal.mkDerivation (self: { pname = "hi"; version = "0.0.8.1"; sha256 = "14g1yfc6cv89whx6w0di5nayifc0xfvll9h07kkqxaajyfw6s32y"; isLibrary = true; isExecutable = true; buildDepends = [ filepath parsec split template t...
{ cabal, doctest, filepath, hspec, HUnit, parsec, split, template , temporaryRc, text, time }: cabal.mkDerivation (self: { pname = "hi"; version = "0.0.8.2"; sha256 = "0h94wjxdr6g6n3rvkn1xsjqr49p9fgidmraifvz5mzryn6rmd18r"; isLibrary = true; isExecutable = true; doCheck = false; buildDepends = [ file...
Update hi to 0.8.2, doCheck set to false
Update hi to 0.8.2, doCheck set to false
Nix
mit
SymbiFlow/nixpkgs,SymbiFlow/nixpkgs,NixOS/nixpkgs,NixOS/nixpkgs,triton/triton,SymbiFlow/nixpkgs,triton/triton,SymbiFlow/nixpkgs,SymbiFlow/nixpkgs,SymbiFlow/nixpkgs,triton/triton,SymbiFlow/nixpkgs,triton/triton,triton/triton,NixOS/nixpkgs,NixOS/nixpkgs,NixOS/nixpkgs,NixOS/nixpkgs,triton/triton,NixOS/nixpkgs,SymbiFlow/ni...
nix
## Code Before: { cabal, filepath, hspec, HUnit, parsec, split, template , temporaryRc, text, time }: cabal.mkDerivation (self: { pname = "hi"; version = "0.0.8.1"; sha256 = "14g1yfc6cv89whx6w0di5nayifc0xfvll9h07kkqxaajyfw6s32y"; isLibrary = true; isExecutable = true; buildDepends = [ filepath parsec ...
0a2ec44064a08d53f10375e0af8483e2c8b6686f
slickr.sh
slickr.sh
if [ "$2" = "" ] ; then COUNT=4 else COUNT=$2 fi # Vertical pixels to swipe if [ "$3" = "" ] ; then VERTICAL=$(expr $(adb shell wm density | grep -o '[0-9]\+') \* 3) else VERTICAL=$3 fi for ((i=1; i<=$COUNT; i++)) do # Swipe 8 times for 250 ms each. # This works out to 2000 ms, which is about the duration...
if [ "$2" = "" ] ; then COUNT=4 else COUNT=$2 fi # Vertical pixels to swipe if [ "$3" = "" ] ; then # Try to get density with "wm" DENSITY=$(adb shell wm density) if [[ $DENSITY == *"wm: not found"* ]] ; then # Grab density with "getprop" DENSITY=$(adb shell getprop | grep density...
Use getprop to get density for devices that don't have wm.
Use getprop to get density for devices that don't have wm.
Shell
mit
ericleong/slickr,ericleong/slickr
shell
## Code Before: if [ "$2" = "" ] ; then COUNT=4 else COUNT=$2 fi # Vertical pixels to swipe if [ "$3" = "" ] ; then VERTICAL=$(expr $(adb shell wm density | grep -o '[0-9]\+') \* 3) else VERTICAL=$3 fi for ((i=1; i<=$COUNT; i++)) do # Swipe 8 times for 250 ms each. # This works out to 2000 ms, which is ab...
2a7db8916ea71d3b0498c8f8d2cec717aef9ae74
tests/wpt/metadata/fetch/cross-origin-resource-policy/fetch-in-iframe.html.ini
tests/wpt/metadata/fetch/cross-origin-resource-policy/fetch-in-iframe.html.ini
[fetch-in-iframe.html] expected: CRASH [Untitled] expected: FAIL [fetch-in-iframe] expected: FAIL [Cross-origin fetch in a data: iframe load fails if the server blocks cross-origin loads with a 'Cross-Origin-Resource-Policy: same-origin' response header.] expected: FAIL [Cross-origin fetch in a...
[fetch-in-iframe.html] [Untitled] expected: FAIL [fetch-in-iframe] expected: FAIL [Cross-origin fetch in a data: iframe load fails if the server blocks cross-origin loads with a 'Cross-Origin-Resource-Policy: same-origin' response header.] expected: FAIL [Cross-origin fetch in a data: iframe load...
Mark testharness status as OK
Mark testharness status as OK
INI
mpl-2.0
notriddle/servo,emilio/servo,nnethercote/servo,pyfisch/servo,jimberlage/servo,larsbergstrom/servo,peterjoel/servo,pyfisch/servo,nnethercote/servo,szeged/servo,szeged/servo,paulrouget/servo,DominoTree/servo,jimberlage/servo,pyfisch/servo,KiChjang/servo,notriddle/servo,pyfisch/servo,splav/servo,nnethercote/servo,pyfisch/...
ini
## Code Before: [fetch-in-iframe.html] expected: CRASH [Untitled] expected: FAIL [fetch-in-iframe] expected: FAIL [Cross-origin fetch in a data: iframe load fails if the server blocks cross-origin loads with a 'Cross-Origin-Resource-Policy: same-origin' response header.] expected: FAIL [Cross-o...
6356fa9f6f845b158e8640cb44c4703aaca7226b
README.md
README.md
PixelVloed udp / binary transport PixelFlut version
PixelVloed udp / binary transport PixelFlut version You will find a bunch of files in this project, most noteworthy, A client, and a server for the pixelvloed protocol. The server can be run on most machines and uses pygame or SDL to display the received pixels on the screen. To start a server on a linux machine s...
Update the readme to give some info on the various files
Update the readme to give some info on the various files
Markdown
mit
JanKlopper/pixelvloed,JanKlopper/pixelvloed,JanKlopper/pixelvloed
markdown
## Code Before: PixelVloed udp / binary transport PixelFlut version ## Instruction: Update the readme to give some info on the various files ## Code After: PixelVloed udp / binary transport PixelFlut version You will find a bunch of files in this project, most noteworthy, A client, and a server for the pixelvloed p...
b511ff62dea9348e4ba0d6d57b0d6333893af57f
.travis.yml
.travis.yml
language: php php: - php: 5.3 dist: precise script: phpunit --process-isolation ./test/Phpunit
language: php php: - php: 5.4 script: phpunit --process-isolation ./test/Phpunit
Switch to Python 5.4 for tests
Switch to Python 5.4 for tests
YAML
mit
AlexisTM/Simple-Json-PHP
yaml
## Code Before: language: php php: - php: 5.3 dist: precise script: phpunit --process-isolation ./test/Phpunit ## Instruction: Switch to Python 5.4 for tests ## Code After: language: php php: - php: 5.4 script: phpunit --process-isolation ./test/Phpunit
7a0d79d1062d6b8eeae8120cecb5b588d6f462a0
shell.d/path.sh
shell.d/path.sh
export SCRIPTS=$REPOS/github.com/$GITUSER/dotfiles/scripts export PATH=\ $SCRIPTS:\ $HOME/.local/bin:\ $HOME/.local/go/bin:\ $HOME/.cargo/bin:\ /usr/local/go/bin:\ /usr/local/bin:\ /usr/local/sbin:\ /usr/sbin:\ /usr/bin:\ /snap/bin:\ /sbin:\ /bin # Be sure not to remove ./ or stuff gets weird. export CDPATH=\ ./:\ $R...
export SCRIPTS=$REPOS/github.com/$GITUSER/dotfiles/scripts export PATH=\ $SCRIPTS:\ $HOME/.local/bin:\ $HOME/.local/go/bin:\ $HOME/.cargo/bin:\ $HOME/.poetry/bin:\ /usr/local/go/bin:\ /usr/local/bin:\ /usr/local/sbin:\ /usr/sbin:\ /usr/bin:\ /snap/bin:\ /sbin:\ /bin # Be sure not to remove ./ or stuff gets weird. exp...
Add python poetry to PATH
Add python poetry to PATH
Shell
mit
matthewdargan/dotfiles
shell
## Code Before: export SCRIPTS=$REPOS/github.com/$GITUSER/dotfiles/scripts export PATH=\ $SCRIPTS:\ $HOME/.local/bin:\ $HOME/.local/go/bin:\ $HOME/.cargo/bin:\ /usr/local/go/bin:\ /usr/local/bin:\ /usr/local/sbin:\ /usr/sbin:\ /usr/bin:\ /snap/bin:\ /sbin:\ /bin # Be sure not to remove ./ or stuff gets weird. export ...
4e85d198ac72408bd65be795ff55cc0be43bbec7
scratchapixel/src/geometry/vector.rs
scratchapixel/src/geometry/vector.rs
use std::ops::{Mul,Add}; pub struct Vec3<T: Mul<T, Output = T> + Add<T, Output = T> + Copy + Clone> { x: T, y: T, z: T, } impl <T: Mul<T, Output = T> + Add<T, Output = T> + Copy + Clone> Vec3<T> { pub fn norm(self) -> T { (self.x * self.x + self.y * self.y + self.z * self.z) } } #[cfg(tes...
use std::ops::{Mul,Add}; pub struct Vec3<T> where T: Mul<T, Output = T> + Add<T, Output = T> + Copy + Clone { x: T, y: T, z: T, } impl <T> Vec3<T> where T : Mul<T, Output = T> + Add<T, Output = T> + Copy + Clone { pub fn norm(self) -> T { (self.x * self.x + self.y * self.y + self.z * self.z) ...
Use where clauses for type bounds
Use where clauses for type bounds
Rust
mit
Chair-of-Indefinite-Studies/scratchapixel
rust
## Code Before: use std::ops::{Mul,Add}; pub struct Vec3<T: Mul<T, Output = T> + Add<T, Output = T> + Copy + Clone> { x: T, y: T, z: T, } impl <T: Mul<T, Output = T> + Add<T, Output = T> + Copy + Clone> Vec3<T> { pub fn norm(self) -> T { (self.x * self.x + self.y * self.y + self.z * self.z) ...
3b89a2599b4bf3b2a29600aef204181dbcb30d73
notable/static/css/style.css
notable/static/css/style.css
.form-search input { position: absolute; right: -450px; top: 3px; width: 400px; } .CodeMirror { border: 1px solid #dddddd; margin-bottom: 10px; } .CodeMirror-scroll { overflow-x: scroll; overflow-y: scroll; } .editor { margin-top: 12px; } .note-row:hover { cursor: pointer; } td.selector { bor...
/* Don't let the search box cause a horizontal scroll */ body { overflow-x: hidden; } .form-search input { position: absolute; right: -450px; top: 3px; width: 400px; } .CodeMirror { border: 1px solid #dddddd; margin-bottom: 10px; } .CodeMirror-scroll { overflow-x: scroll; overflow-y: scroll; } .ed...
Remove horizontal scroll from the search input
Remove horizontal scroll from the search input
CSS
mit
jmcfarlane/Notable,jmcfarlane/Notable,jmcfarlane/Notable,jmcfarlane/Notable
css
## Code Before: .form-search input { position: absolute; right: -450px; top: 3px; width: 400px; } .CodeMirror { border: 1px solid #dddddd; margin-bottom: 10px; } .CodeMirror-scroll { overflow-x: scroll; overflow-y: scroll; } .editor { margin-top: 12px; } .note-row:hover { cursor: pointer; } td....
5e02588be0b4b56a97f606a893f32cb7d4d09cf0
app/views/runs/new.haml
app/views/runs/new.haml
= render partial: 'shared/alerts' .container %h2 drop it like it's hot %h5 drag your splits onto this page, or any page %form{action: upload_path, method: :post, enctype: "multipart/form-data"} %input{type: :hidden, name: 'authenticity_token', value: form_authenticity_token} .form-group %input{type:...
= render partial: 'shared/alerts' .container %h2 drop it like it's hot %h5 drag your splits onto this page, or any page %form{action: upload_path, method: :post, enctype: "multipart/form-data"} .form-group %input{type: :file, name: 'file'} .form-group %input{type: :submit, value: 'upload'}
Remove authenticity token from manual upload form
Remove authenticity token from manual upload form
Haml
agpl-3.0
glacials/splits-io,BatedUrGonnaDie/splits-io,glacials/splits-io,glacials/splits-io,BatedUrGonnaDie/splits-io,glacials/splits-io,BatedUrGonnaDie/splits-io,BatedUrGonnaDie/splits-io
haml
## Code Before: = render partial: 'shared/alerts' .container %h2 drop it like it's hot %h5 drag your splits onto this page, or any page %form{action: upload_path, method: :post, enctype: "multipart/form-data"} %input{type: :hidden, name: 'authenticity_token', value: form_authenticity_token} .form-group ...
635f6e0decc8bc3744100463b04f5ca056afa2a6
.travis.yml
.travis.yml
language: node_js node_js: - "6" - "5" - "4.4" env: - CXX=g++-4.8 addons: apt: sources: - ubuntu-toolchain-r-test packages: - g++-4.8 code_climate: repo_token: 7e9342659cccc97e7107c9d07df0026e9e4e8382a55ade170045ca6fe22a1c3b before_script: - npm i -g mocha - npm i -g codeclimat...
language: node_js node_js: - "6" - "5" - "4.4" env: - CXX=g++-4.8 addons: apt: sources: - ubuntu-toolchain-r-test packages: - g++-4.8 code_climate: repo_token: 7e9342659cccc97e7107c9d07df0026e9e4e8382a55ade170045ca6fe22a1c3b before_script: - npm i -g mocha - npm i -g istanbul a...
Update Travis CI for CodeClimate
Update Travis CI for CodeClimate
YAML
mit
zackharley/gcloud-datastore
yaml
## Code Before: language: node_js node_js: - "6" - "5" - "4.4" env: - CXX=g++-4.8 addons: apt: sources: - ubuntu-toolchain-r-test packages: - g++-4.8 code_climate: repo_token: 7e9342659cccc97e7107c9d07df0026e9e4e8382a55ade170045ca6fe22a1c3b before_script: - npm i -g mocha - npm...
19f6f9674c23651702e97a8f7119430d0c45e768
t/board_unittest.cpp
t/board_unittest.cpp
class BoardTest : public ::testing::Test { protected: BoardTest() : board_(1, 2) { } virtual ~BoardTest() { } virtual void SetUp() { } Quoridor::Board board_; }; TEST_F(BoardTest, set_size) { board_.set_size(10, 11); EXPECT_EQ(10, board_.row_num()); EXPECT_EQ(11, board_.col_n...
class BoardTest : public ::testing::Test { protected: BoardTest() : board_(1, 2) { } Quoridor::Board board_; }; TEST_F(BoardTest, ctor) { EXPECT_EQ(1, board_.row_num()); EXPECT_EQ(2, board_.col_num()); // test invalid Board construction EXPECT_THROW(Quoridor::Board(-1, 1), Quoridor::Excep...
Add failure tests into Board unittests.
Add failure tests into Board unittests.
C++
mit
sfod/quoridor
c++
## Code Before: class BoardTest : public ::testing::Test { protected: BoardTest() : board_(1, 2) { } virtual ~BoardTest() { } virtual void SetUp() { } Quoridor::Board board_; }; TEST_F(BoardTest, set_size) { board_.set_size(10, 11); EXPECT_EQ(10, board_.row_num()); EXPECT_EQ(...
ae4285c837a65c2ebd918b68fefc720d79b15eb9
releasenotes/notes/placement-database-2e087f379273535d.yaml
releasenotes/notes/placement-database-2e087f379273535d.yaml
--- features: - | An optional configuration group ``placement_database`` can be used in nova.conf to configure a separate database for use with the placement API. If ``placement_database.connection`` has a value then the ``placement_database`` configuration group will be used to configure a s...
--- features: - | An optional configuration group ``placement_database`` can be used in nova.conf to configure a separate database for use with the placement API. If ``placement_database.connection`` has a value then the ``placement_database`` configuration group will be used to configure a s...
Clarify placement DB schema migration
Clarify placement DB schema migration This just clarifies in the release note for the optional placement database that the database itself is not created when running "nova-manage api_db sync", but rather the database schema is created. This is important since a non-trivial number of people over the years have thought...
YAML
apache-2.0
gooddata/openstack-nova,gooddata/openstack-nova,mahak/nova,klmitch/nova,openstack/nova,rahulunair/nova,klmitch/nova,klmitch/nova,gooddata/openstack-nova,mahak/nova,openstack/nova,mikalstill/nova,klmitch/nova,rahulunair/nova,openstack/nova,mikalstill/nova,rahulunair/nova,mahak/nova,gooddata/openstack-nova,mikalstill/nov...
yaml
## Code Before: --- features: - | An optional configuration group ``placement_database`` can be used in nova.conf to configure a separate database for use with the placement API. If ``placement_database.connection`` has a value then the ``placement_database`` configuration group will be used to c...
ab2bd997187c35fed5acf3ff713dd9daee5d855e
src/app/scoresheet/scoresheet.html
src/app/scoresheet/scoresheet.html
<form [formGroup]="scoreForm" (ngSubmit)="submitSheet()" *ngIf="scoreSheet"> <md-input-container> <input md-input placeholder="Project Number" formControlName="projectNumber" required> </md-input-container> <div *ngIf="formErrors.projectNumber" class="validation"> ...
<form [formGroup]="scoreForm" (ngSubmit)="submitSheet()" *ngIf="scoreSheet"> <md-input-container> <input md-input placeholder="Project Number" formControlName="projectNumber" required> </md-input-container> <div *ngIf="formErrors.projectNumber" class="validation"> ...
Fix multi line radio buttons
Fix multi line radio buttons
HTML
mit
bryant-pham/easyjudge,bryant-pham/easyjudge,bryant-pham/easyjudge
html
## Code Before: <form [formGroup]="scoreForm" (ngSubmit)="submitSheet()" *ngIf="scoreSheet"> <md-input-container> <input md-input placeholder="Project Number" formControlName="projectNumber" required> </md-input-container> <div *ngIf="formErrors.projectNumber" class="v...
88ae47847940f14b9c6dbe7a38fd1d1e77d8d647
src/GoalioForgotPassword/Form/Service/ResetFactory.php
src/GoalioForgotPassword/Form/Service/ResetFactory.php
<?php namespace GoalioForgotPassword\Form\Service; use GoalioForgotPassword\Form\Reset; use GoalioForgotPassword\Form\ResetFilter; use Zend\ServiceManager\ServiceLocatorInterface; use Zend\ServiceManager\FactoryInterface; class ResetFactory implements FactoryInterface { public function createService(ServiceLocat...
<?php namespace GoalioForgotPassword\Form\Service; use GoalioForgotPassword\Form\Reset; use GoalioForgotPassword\Form\ResetFilter; use Zend\ServiceManager\ServiceLocatorInterface; use Zend\ServiceManager\FactoryInterface; class ResetFactory implements FactoryInterface { public function __invoke(\Interop\Containe...
Adjust factory to work with new ZF3
Adjust factory to work with new ZF3
PHP
bsd-3-clause
APaikens/GoalioForgotPassword,APaikens/GoalioForgotPassword
php
## Code Before: <?php namespace GoalioForgotPassword\Form\Service; use GoalioForgotPassword\Form\Reset; use GoalioForgotPassword\Form\ResetFilter; use Zend\ServiceManager\ServiceLocatorInterface; use Zend\ServiceManager\FactoryInterface; class ResetFactory implements FactoryInterface { public function createServ...
85c2e767ef5d5523eb04c1aed3b25b8a81b5219e
README.md
README.md
[![Build Status](https://travis-ci.org/obsidian-toaster/platform.svg?branch=master)](https://travis-ci.org/obsidian-toaster/platform) Tools used to build Obsidian (quickstart -> archetype, ...) Fabric8 Project : https://github.com/fabric8io/ipaas-quickstarts/blob/master/ReadMe.md ## Generate the archetypes * To bui...
[![Build Status](https://travis-ci.org/obsidian-toaster/platform.svg?branch=master)](https://travis-ci.org/obsidian-toaster/platform) Tools used to build Obsidian (quickstart -> archetype, ...) Fabric8 Project : https://github.com/fabric8io/ipaas-quickstarts/blob/master/ReadMe.md ## Generate the archetypes * To bui...
Add some info about the tooling folder
Add some info about the tooling folder
Markdown
apache-2.0
obsidian-toaster/platform,obsidian-toaster/platform,obsidian-toaster/platform
markdown
## Code Before: [![Build Status](https://travis-ci.org/obsidian-toaster/platform.svg?branch=master)](https://travis-ci.org/obsidian-toaster/platform) Tools used to build Obsidian (quickstart -> archetype, ...) Fabric8 Project : https://github.com/fabric8io/ipaas-quickstarts/blob/master/ReadMe.md ## Generate the arch...
18a4814ae1f6257c9ec9b12ed8a6fe0843448e3e
validationemail.php
validationemail.php
<?php require_once(__DIR__. '/class/DatabaseManager.php'); $hostname = "localhost"; $database = "aen"; $username = "root"; $password = ""; try{ $connect = new PDO('mysql:host='.$hostname.';dbname='.$database, $username, $password); }catch (PDOException $e){ ...
<?php require_once(__DIR__. '/class/DatabaseManager.php'); $hostname = "localhost"; $database = "aen"; $username = "root"; $password = ""; try{ $connect = new PDO('mysql:host='.$hostname.';dbname='.$database, $username, $password); }catch (PDOException $e){ ...
Revert "ativation by adress mail"
Revert "ativation by adress mail" This reverts commit 16724a7f849b1110103b05f6d964a79dc2af344d.
PHP
mit
lukile/projetAnnuel,lukile/projetAnnuel,lukile/projetAnnuel,lukile/projetAnnuel,lukile/projetAnnuel,lukile/projetAnnuel
php
## Code Before: <?php require_once(__DIR__. '/class/DatabaseManager.php'); $hostname = "localhost"; $database = "aen"; $username = "root"; $password = ""; try{ $connect = new PDO('mysql:host='.$hostname.';dbname='.$database, $username, $password); }catch (PDOExcep...
5f55eab9bca146efc5e4a5bb307be6ab096eb14d
metadata/ca.rmen.android.poetassistant.txt
metadata/ca.rmen.android.poetassistant.txt
Categories:Science & Education License:GPLv3 Web Site:https://github.com/caarmen/poet-assistant/blob/HEAD/README.md Source Code:https://github.com/caarmen/poet-assistant Issue Tracker:https://github.com/caarmen/poet-assistant/issues Auto Name:Poet Assistant Summary:Dictionary and TTS tools for editing poems Descriptio...
Categories:Science & Education License:GPLv3 Web Site:https://github.com/caarmen/poet-assistant/blob/HEAD/README.md Source Code:https://github.com/caarmen/poet-assistant Issue Tracker:https://github.com/caarmen/poet-assistant/issues Auto Name:Poet Assistant Summary:Dictionary and TTS tools for editing poems Descriptio...
Update Poet Assistant to 1.0.5 (105)
Update Poet Assistant to 1.0.5 (105)
Text
agpl-3.0
f-droid/fdroid-data,f-droid/fdroiddata,f-droid/fdroiddata
text
## Code Before: Categories:Science & Education License:GPLv3 Web Site:https://github.com/caarmen/poet-assistant/blob/HEAD/README.md Source Code:https://github.com/caarmen/poet-assistant Issue Tracker:https://github.com/caarmen/poet-assistant/issues Auto Name:Poet Assistant Summary:Dictionary and TTS tools for editing ...
5b26ebbe8ff5872d46cb14b43d2d12608183ae91
README.md
README.md
Display yr.no weather forecasts in Google Calendar with a compact title and very detailed description. ## usage Example calendar URL: http://weather.is.not.permanent.ee/?location=Estonia/Harjumaa/Tallinn&filename=weather.ics Modify the parameters in the URL according to your needs. You will atleast need to modify ...
Display yr.no weather forecasts in Google Calendar with a compact title and very detailed description. ## usage Example calendar URL: http://weather.is.not.permanent.ee/?location=Estonia/Harjumaa/Tallinn&filename=weather.ics Modify the parameters in the URL according to your needs. You will atleast need to modify ...
ADD QA: event title contents
ADD QA: event title contents
Markdown
mit
allanlaal/weather-calendar-feed
markdown
## Code Before: Display yr.no weather forecasts in Google Calendar with a compact title and very detailed description. ## usage Example calendar URL: http://weather.is.not.permanent.ee/?location=Estonia/Harjumaa/Tallinn&filename=weather.ics Modify the parameters in the URL according to your needs. You will atleast...
5255580cee0cd641038e04062c908081c626606d
application/views/scripts/index/index.phtml
application/views/scripts/index/index.phtml
<style> a:link, a:visited { color: #0398CA; } span#zf-name { color: #91BE3F; } div#welcome { color: #FFFFFF; background-image: url(http://framework.zend.com/images/bkg_header.jpg); width: 600px; height: 400px; border: 2px sol...
<h2>Index Index</h2>
Remove placeholder text in Index Index.
Remove placeholder text in Index Index.
HTML+PHP
bsd-3-clause
bradley-holt/postr
html+php
## Code Before: <style> a:link, a:visited { color: #0398CA; } span#zf-name { color: #91BE3F; } div#welcome { color: #FFFFFF; background-image: url(http://framework.zend.com/images/bkg_header.jpg); width: 600px; height: 400px; ...
e36e9a752106b696889af9395e7706414ac35aba
README.md
README.md
Requires the following boxen modules: * `boxen` * `homebrew` * `wget` ## Usage ```puppet # Set the global default php (auto-installs it if it can) class { 'php::global': version => '5.4.10' } # ensure a certain php version is used within a dir php::local { '/path/to/my/awesome/project': version => '5.4.9' } # i...
Requires the following boxen modules: * `boxen` * `homebrew` * `wget` ## Usage ```puppet # Set the global default php (auto-installs it if it can) class { 'php::global': version => '5.4.10' } # ensure a certain php version is used within a dir php::local { '/path/to/my/awesome/project': version => '5.4.9' } # i...
Document current version of fpm class
Document current version of fpm class
Markdown
mit
typhonius/puppet-php,theand-boxen/puppet-php,typhonius/puppet-php,hussfelt/puppet-php,toby-griffiths/puppet-php,boxen/puppet-php,rolfvandekrol/puppet-php,namesco/puppet-php,hussfelt/puppet-php,oddhill/puppet-php,theand-boxen/puppet-php,rolfvandekrol/puppet-php,namesco/puppet-php,typhonius/puppet-php,boxen/puppet-php,to...
markdown
## Code Before: Requires the following boxen modules: * `boxen` * `homebrew` * `wget` ## Usage ```puppet # Set the global default php (auto-installs it if it can) class { 'php::global': version => '5.4.10' } # ensure a certain php version is used within a dir php::local { '/path/to/my/awesome/project': version =...
c75bdc81e1716ffe84cf8ff28029f1b7143ae5a5
test/Interpreter/SDK/submodules_smoke_test.swift
test/Interpreter/SDK/submodules_smoke_test.swift
// RUN: %target-build-swift -parse %s -Xfrontend -verify import OpenAL.AL let _ = alGetError let _ = OpenAL.alGetError let _ = alcCreateContext // expected-error{{use of unresolved identifier 'alcCreateContext'}} #if os(iOS) import UIKit.UIGestureRecognizerSubclass let _: UIGestureRecognizer -> () -> Void = UIGestu...
// RUN: %target-build-swift -parse %s -Xfrontend -verify import OpenAL.AL let _ = alGetError let _ = OpenAL.alGetError let _ = alcCreateContext // expected-error{{use of unresolved identifier 'alcCreateContext'}} #if os(OSX) import OpenGL.GL3 let _ = glGetString let _ = OpenGL.glGetString import AppKit.NSPanGestur...
Drop import of UIKit in this test; we don't want to bring in OpenGL.
[test] Drop import of UIKit in this test; we don't want to bring in OpenGL. This was causing the iOS build to fail. Swift SVN r20943
Swift
apache-2.0
nathawes/swift,rudkx/swift,ken0nek/swift,jckarter/swift,brentdax/swift,ken0nek/swift,frootloops/swift,MukeshKumarS/Swift,OscarSwanros/swift,shajrawi/swift,karwa/swift,aschwaighofer/swift,russbishop/swift,mightydeveloper/swift,shajrawi/swift,khizkhiz/swift,lorentey/swift,practicalswift/swift,roambotics/swift,airspeedswi...
swift
## Code Before: // RUN: %target-build-swift -parse %s -Xfrontend -verify import OpenAL.AL let _ = alGetError let _ = OpenAL.alGetError let _ = alcCreateContext // expected-error{{use of unresolved identifier 'alcCreateContext'}} #if os(iOS) import UIKit.UIGestureRecognizerSubclass let _: UIGestureRecognizer -> () -...
3927b904059a21b7bc17b1ac70e0a094ceb4d91c
docs/bulk_api.md
docs/bulk_api.md
This release contains an errand that enables configuration of elasticsearch via its Bulk API. Features of this API are documented [here](https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-bulk.html). To use your own bulk requests with this release, take the following steps: * replace the contents ...
The bulk api allows multiple actions to be sent to ES in 1 request. The full documentation is located [here](https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-bulk.html) on the offical ES site. To use your own bulk requests with this release, take the following steps: * Fork the [logsearch-addon...
Update the bulk api docs
Update the bulk api docs [#116767361] Signed-off-by: Derik Evangelista <70505a31063ee00d819d9d243caf579a659cbb4f@pivotal.io>
Markdown
apache-2.0
axelaris/logsearch-boshrelease,logsearch/logsearch-boshrelease,axelaris/logsearch-boshrelease,cloudfoundry-community/logsearch-boshrelease,logsearch/logsearch-boshrelease,cloudfoundry-community/logsearch-boshrelease,axelaris/logsearch-boshrelease,logsearch/logsearch-boshrelease,logsearch/logsearch-boshrelease,cloudfoun...
markdown
## Code Before: This release contains an errand that enables configuration of elasticsearch via its Bulk API. Features of this API are documented [here](https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-bulk.html). To use your own bulk requests with this release, take the following steps: * repla...
65af4187b86478e35ac4fcef6d8feaf80747317e
app/views/layouts/app_frame/devise.html.haml
app/views/layouts/app_frame/devise.html.haml
!!! 5 %html %head %title= Settings.app_name %meta{:charset=>"UTF-8"} = csrf_meta_tag = stylesheet_link_tag 'application' = javascript_include_tag 'application' = yield :head %body .navbar.navbar-inverse.navbar-fixed-top{:'data-dropdown'=>"dropdown"} .navbar-inner .container...
!!! 5 %html %head %title= Settings.app_name %meta{:charset=>"UTF-8"} = csrf_meta_tag = stylesheet_link_tag 'application' = javascript_include_tag 'application' = yield :head %body .navbar.navbar-inverse.navbar-fixed-top{:'data-dropdown'=>"dropdown"} .navbar-inner .container...
Fix renders in devise layout
Fix renders in devise layout
Haml
mit
mateomurphy/app_frame,mateomurphy/app_frame,mateomurphy/app_frame
haml
## Code Before: !!! 5 %html %head %title= Settings.app_name %meta{:charset=>"UTF-8"} = csrf_meta_tag = stylesheet_link_tag 'application' = javascript_include_tag 'application' = yield :head %body .navbar.navbar-inverse.navbar-fixed-top{:'data-dropdown'=>"dropdown"} .navbar-inner ...
7b8c740803e6b2f31aa74a622924cca34e843c19
sass/_buttons.scss
sass/_buttons.scss
/* * Button styles */ .add_button{ margin-top: 0.7em; } .disabled_button{ margin: 10px; width: 80px; height: 30px; }
/* * Button styles */ .add_button{ margin-top: 0.7em; margin-left: 0.5em; } .disabled_button{ margin: 10px; width: 80px; height: 30px; }
Add left margin to add movie button
Add left margin to add movie button
SCSS
mit
allen-garvey/movie-list,allen-garvey/movie-list,allen-garvey/movie-list
scss
## Code Before: /* * Button styles */ .add_button{ margin-top: 0.7em; } .disabled_button{ margin: 10px; width: 80px; height: 30px; } ## Instruction: Add left margin to add movie button ## Code After: /* * Button styles */ .add_button{ margin-top: 0.7em; margin-left: 0.5em; } .disabled_button{ margin: 10px; wid...
b5a6eee674bd9821c2e2fcd8815879a5a781b597
config.rb
config.rb
configure :development do activate :livereload end # Activate extension for Bourbon Sass mixins activate :bourbon set :css_dir, 'stylesheets' set :js_dir, 'javascripts' set :images_dir, 'images' # Build-specific configuration configure :build do activate :minify_html # For example, change the Compass output...
configure :development do activate :livereload end # Activate extension for Bourbon Sass mixins activate :bourbon set :css_dir, 'stylesheets' set :js_dir, 'javascripts' set :images_dir, 'images' # Build-specific configuration configure :build do activate :minify_html # For example, change the Compass output...
Enable asset hashing of files; set default caching policy on newly created s3 files
Enable asset hashing of files; set default caching policy on newly created s3 files
Ruby
mit
texastribune/donations-app,texastribune/donations-app,texastribune/donations-app,texastribune/donations-app
ruby
## Code Before: configure :development do activate :livereload end # Activate extension for Bourbon Sass mixins activate :bourbon set :css_dir, 'stylesheets' set :js_dir, 'javascripts' set :images_dir, 'images' # Build-specific configuration configure :build do activate :minify_html # For example, change th...
8a32ca12befdb2b8eef9fe6c6940a314cfb90ceb
wafer/pages/templates/wafer.pages/page_compare.html
wafer/pages/templates/wafer.pages/page_compare.html
{% extends "wafer/base.html" %} {% load i18n %} {% block content %} <h1>Comparing Page</h1> {% if perms.pages.change_page %} <p>Last Saved: {{ cur_date }} by {{ cur_author }}</p> {% if prev_date %} <p>Comparing to version saved: {{ prev_date }} by {{ prev_author }}</p> <div> {% for field, ...
{% extends "wafer/base.html" %} {% load i18n %} {% block content %} <h1>Comparing Page</h1> {% if perms.pages.change_page %} <p>Last Saved: {{ cur_date }} by {{ cur_author }}</p> {% if prev_date %} <p>Comparing to version saved: {{ prev_date }} by {{ prev_author }}</p> <div> {% for field, ...
Add 'return to page' button. Tweak button layout
Add 'return to page' button. Tweak button layout
HTML
isc
CTPUG/wafer,CTPUG/wafer,CTPUG/wafer,CTPUG/wafer
html
## Code Before: {% extends "wafer/base.html" %} {% load i18n %} {% block content %} <h1>Comparing Page</h1> {% if perms.pages.change_page %} <p>Last Saved: {{ cur_date }} by {{ cur_author }}</p> {% if prev_date %} <p>Comparing to version saved: {{ prev_date }} by {{ prev_author }}</p> <div> ...
6444ed469a64945059c132cfa8db704189f0d475
README.md
README.md
jamwithfriends-node =================== An Appbase node example for Jam with Friends
jamwithfriends-node =================== An Appbase node example for server side analytics of the [Jam with Friends app](appbaseio.github.io/jam-with-friends). This app logs the keys pressed for each room in the Jam with Friends in realtime. How to Run ========== 1. npm install 2. npm test You should see the update...
Add compilation and running instructions
Add compilation and running instructions
Markdown
mit
appbaseio/jamwithfriends-node
markdown
## Code Before: jamwithfriends-node =================== An Appbase node example for Jam with Friends ## Instruction: Add compilation and running instructions ## Code After: jamwithfriends-node =================== An Appbase node example for server side analytics of the [Jam with Friends app](appbaseio.github.io/jam-...
934fa5c09e2bb24d63d478a950bf2f9884bdbc94
lib/bouvier.rb
lib/bouvier.rb
require 'httparty' require 'hashie' module Bouvier class Client include HTTParty format :xml base_uri "http://www.eot.state.ma.us" # Bouvier::Client.branches def self.branches response = get('/developers/downloads/qmaticXML.aspx') Hashie::Mash.new(response['branches']).branch ...
require 'httparty' require 'hashie' module Bouvier class Client include HTTParty format :xml base_uri "http://www.massdot.state.ma.us" # Bouvier::Client.branches def self.branches response = get('/feeds/qmaticxml/qmaticXML.aspx') Hashie::Mash.new(response['branches']).branch en...
Update to use new URLs.
Update to use new URLs.
Ruby
mit
bkaney/bouvier
ruby
## Code Before: require 'httparty' require 'hashie' module Bouvier class Client include HTTParty format :xml base_uri "http://www.eot.state.ma.us" # Bouvier::Client.branches def self.branches response = get('/developers/downloads/qmaticXML.aspx') Hashie::Mash.new(response['branche...
5caedc55812ee0ebf2087ad7540a1db4bb1a384c
.travis.yml
.travis.yml
dist: trusty sudo: required language: python python: - "2.7" # We must install astyle because 14.04's apt version is too old (doesn't support --dry-run) before_install: - curl -L "https://downloads.sourceforge.net/project/astyle/astyle/astyle%203.0/astyle_3.0_linux.tar.gz?r=&ts=1492151403&use_mirror=pilotfiber" |...
dist: trusty sudo: required language: python python: - "2.7" # We must install astyle because 14.04's apt version is too old (doesn't support --dry-run) before_install: - curl -L "https://sourceforge.net/projects/astyle/files/astyle/astyle%203.0/astyle_3.0_linux.tar.gz/download" | tar xvz - pushd astyle/build/g...
Update URL for astyle download
Update URL for astyle download (feature/90_upgrade_deps)
YAML
mit
stopthatcow/zazu,stopthatcow/zazu
yaml
## Code Before: dist: trusty sudo: required language: python python: - "2.7" # We must install astyle because 14.04's apt version is too old (doesn't support --dry-run) before_install: - curl -L "https://downloads.sourceforge.net/project/astyle/astyle/astyle%203.0/astyle_3.0_linux.tar.gz?r=&ts=1492151403&use_mirr...
5c98a40b2df465d24406f4c20ca27a05965cc3f0
lib/virtual-attributes/base/casts.rb
lib/virtual-attributes/base/casts.rb
class VirtualAttributes::Base module Casts extend ActiveSupport::Concern TYPES = ActiveRecord::Base.connection.native_database_types.keys - [:primary_key] def write_attribute(column, value) super column, cast_type(column, value) end def cast_type(column, value) self.class.columns[co...
class VirtualAttributes::Base module Casts extend ActiveSupport::Concern TYPES = ActiveRecord::Type::Value.subclasses.map{ |k| k.name.split('::').last.underscore.to_sym } def write_attribute(column, value) super column, cast_type(column, value) end def cast_type(column, value) self....
Change the way the list of types is readen by relaying on classes
Change the way the list of types is readen by relaying on classes
Ruby
mit
ihcene/virtual-attributes
ruby
## Code Before: class VirtualAttributes::Base module Casts extend ActiveSupport::Concern TYPES = ActiveRecord::Base.connection.native_database_types.keys - [:primary_key] def write_attribute(column, value) super column, cast_type(column, value) end def cast_type(column, value) self....
a762136e17e8a1b981db691e21e6292557a63baa
DEVELOPMENT.md
DEVELOPMENT.md
Download the sources: $ git clone https://github.com/artefactual/archivematica-fpr-admin $ cd archivematica-fpr-admin Create the virtual environment and install the requirements: $ virtualenv .env $ source .env/bin/activate $ pip install -r requirements.txt Bootstrap database: $ testprojec...
Download the sources: $ git clone https://github.com/artefactual/archivematica-fpr-admin $ cd archivematica-fpr-admin Create the virtual environment and install the requirements: $ virtualenv --python=python2.7 .env $ source .env/bin/activate $ pip install -r dev_requirements.txt Bootstrap data...
Add instructions to run tests
Add instructions to run tests
Markdown
agpl-3.0
artefactual/archivematica-fpr-admin,artefactual/archivematica-fpr-admin,artefactual/archivematica-fpr-admin,artefactual/archivematica-fpr-admin
markdown
## Code Before: Download the sources: $ git clone https://github.com/artefactual/archivematica-fpr-admin $ cd archivematica-fpr-admin Create the virtual environment and install the requirements: $ virtualenv .env $ source .env/bin/activate $ pip install -r requirements.txt Bootstrap database: ...
18ba130788edb2ed51311ebe8c62299db4695bda
README.md
README.md
tiq-web ======= This is a web UI for [tiq](https://github.com/imiric/tiq). It provides all of the features of the command-line tool, but in a user-friendly web interface. Setup ----- TBD Usage ----- TBD Configuration ------------- TBD License ------- [MIT](LICENSE)
tiq-web ======= This is a web UI for [tiq](https://github.com/imiric/tiq). It provides all of the features of the command-line tool, but in a user-friendly web interface. Setup ----- Install [Meteor](http://docs.meteor.com/#/full/quickstart). Run: $ cd app $ meteor Usage ----- TBD Tests ----- Insta...
Add setup and test running instructions
Add setup and test running instructions
Markdown
mit
imiric/tiq-web,imiric/tiq-web
markdown
## Code Before: tiq-web ======= This is a web UI for [tiq](https://github.com/imiric/tiq). It provides all of the features of the command-line tool, but in a user-friendly web interface. Setup ----- TBD Usage ----- TBD Configuration ------------- TBD License ------- [MIT](LICENSE) ## Instruction: Add set...
14d371042178e40220615ecda161c9366594ffb9
lib/bencode/parser.rb
lib/bencode/parser.rb
module BEncode class Parser attr_reader :scanner def initialize(scanner) @scanner = scanner end def self.parse(scanner) new(scanner).parse! end def parse! val = \ case scanner.peek(1)[0] when ?i parse_integer! when ?l parse_list! whe...
module BEncode class Parser attr_reader :scanner def initialize(scanner) @scanner = scanner end def self.parse(scanner) val = new(scanner).parse! raise BEncode::DecodeError if val.nil? return val end def parse! case scanner.peek(1)[0] when ?i pa...
Move error handling up in the call chain
Move error handling up in the call chain
Ruby
mit
dasch/ruby-bencode
ruby
## Code Before: module BEncode class Parser attr_reader :scanner def initialize(scanner) @scanner = scanner end def self.parse(scanner) new(scanner).parse! end def parse! val = \ case scanner.peek(1)[0] when ?i parse_integer! when ?l parse...
6234258c41964298520b98ec49eae914262af5a5
src/main/java/xyz/upperlevel/uppercore/task/Countdown.java
src/main/java/xyz/upperlevel/uppercore/task/Countdown.java
package xyz.upperlevel.uppercore.task; import lombok.Getter; import org.bukkit.scheduler.BukkitRunnable; import xyz.upperlevel.uppercore.Uppercore; import java.text.SimpleDateFormat; import java.util.Date; import java.util.function.Consumer; public abstract class Countdown extends BukkitRunnable { @Getter pr...
package xyz.upperlevel.uppercore.task; import lombok.Getter; import org.bukkit.scheduler.BukkitRunnable; import xyz.upperlevel.uppercore.Uppercore; import java.text.SimpleDateFormat; import java.util.Date; import java.util.function.Consumer; public abstract class Countdown extends BukkitRunnable { @Getter pr...
Fix countdown time sudden change during board updates
Fix countdown time sudden change during board updates
Java
mit
upperlevel/uppercore
java
## Code Before: package xyz.upperlevel.uppercore.task; import lombok.Getter; import org.bukkit.scheduler.BukkitRunnable; import xyz.upperlevel.uppercore.Uppercore; import java.text.SimpleDateFormat; import java.util.Date; import java.util.function.Consumer; public abstract class Countdown extends BukkitRunnable { ...
f697e884569a97db58e678f62da6128a994f2ec5
core/lib/generators/spree/install/templates/config/initializers/spree.rb
core/lib/generators/spree/install/templates/config/initializers/spree.rb
Spree.config do |config| # Without this preferences are loaded and persisted to the database. This # changes them to be stored in memory. # This will be the default in a future version. config.use_static_preferences! # Core: # Default currency for new sites config.currency = "USD" # from address for...
Spree.config do |config| # Without this preferences are loaded and persisted to the database. This # changes them to be stored in memory. # This will be the default in a future version. config.use_static_preferences! # Core: # Default currency for new sites config.currency = "USD" # from address for...
Switch to solidus_logo.png in initializer template
Switch to solidus_logo.png in initializer template
Ruby
bsd-3-clause
devilcoders/solidus,forkata/solidus,jsurdilla/solidus,scottcrawford03/solidus,richardnuno/solidus,athal7/solidus,xuewenfei/solidus,grzlus/solidus,pervino/solidus,bonobos/solidus,ckk-scratch/solidus,jordan-brough/solidus,devilcoders/solidus,xuewenfei/solidus,lsirivong/solidus,bonobos/solidus,forkata/solidus,lsirivong/so...
ruby
## Code Before: Spree.config do |config| # Without this preferences are loaded and persisted to the database. This # changes them to be stored in memory. # This will be the default in a future version. config.use_static_preferences! # Core: # Default currency for new sites config.currency = "USD" # ...
f299a66044cacd701246d643959b2b9ab78e3cc0
week-2/berkshire/my-berkshire-site.html
week-2/berkshire/my-berkshire-site.html
<!DOCTYPE html> <html> <head> <title></title> </head> <body> <a href="#">Placeholder</a> <div class="header"></div> <div class="body"> <div class="column1"></div> <div class="column2"></div> </div> <div class="footer"> <div class="geico"></div> <div class="feedback"></div> <div class="l...
<!DOCTYPE html> <html> <head> <title>BERKSHIRE HATHAWAY INC.</title> </head> <body> <a href="#">Placeholder</a> <div class="header"> <h1>BERKSHIRE HATHAWAY INC.</h1> <h2>3555 Farnam Street<br> Omaha, NE 68131<br> Official Home Page</h2> </div> <div class="body"> <div class="column1"></div> <...
Add title to title tag; add content to "header" div.
Add title to title tag; add content to "header" div.
HTML
mit
BerniceChua/phase-0,BerniceChua/phase-0,BerniceChua/phase-0
html
## Code Before: <!DOCTYPE html> <html> <head> <title></title> </head> <body> <a href="#">Placeholder</a> <div class="header"></div> <div class="body"> <div class="column1"></div> <div class="column2"></div> </div> <div class="footer"> <div class="geico"></div> <div class="feedback"></div> ...
ce1031b11960003c545fedaf52ab8b2c95a17cda
app/services/claims/fetch_eligible_fixed_fee_types.rb
app/services/claims/fetch_eligible_fixed_fee_types.rb
module Claims class FetchEligibleFixedFeeTypes def initialize(claim) @claim = claim end def call return nil unless claim return nil if claim&.interim? eligible_fee_types end private AGFS_FIXED_FEE_ELIGIBILITY = { FXACV: %w[FXACV FXNOC FXNDR FXSAF FXADJ], ...
module Claims class FetchEligibleFixedFeeTypes def initialize(claim) @claim = claim end def call return nil unless claim return nil if claim&.interim? eligible_fee_types end private AGFS_FIXED_FEE_ELIGIBILITY = { FXACV: %w[FXACV FXNOC FXNDR FXSAF FXADJ], ...
Return eligble fees with primary fee first
Return eligble fees with primary fee first Could do with a refactor - possibly to use the existing `position` attribute for the fixed fee types.
Ruby
mit
ministryofjustice/advocate-defence-payments,ministryofjustice/advocate-defence-payments,ministryofjustice/advocate-defence-payments,ministryofjustice/advocate-defence-payments
ruby
## Code Before: module Claims class FetchEligibleFixedFeeTypes def initialize(claim) @claim = claim end def call return nil unless claim return nil if claim&.interim? eligible_fee_types end private AGFS_FIXED_FEE_ELIGIBILITY = { FXACV: %w[FXACV FXNOC FXNDR FXSA...
d4948da5859e5d7b85bc7c70d8a0a48c9d0181f5
src/Runtime/Windows/Boottime.php
src/Runtime/Windows/Boottime.php
<?php namespace Uptime\Runtime\Windows; use Uptime\Runtime\RuntimeInterface; class Boottime implements RuntimeInterface { public function read($command = 'wmic os get lastbootuptime') { return trim( explode( "\n", shell_exec($command) )[1] ); } }
<?php namespace Uptime\Runtime\Windows; use Uptime\Runtime\RuntimeInterface; class Boottime implements RuntimeInterface { public function read($command = 'wmic os get lastbootuptime') { $dateTime = \DateTime::createFromFormat( 'YmdHis.uO', trim( explode( "\n", shell_exec($com...
Fix for windows boottime to convert returned string format to a timestamp
Fix for windows boottime to convert returned string format to a timestamp
PHP
mit
marcioAlmada/uptime
php
## Code Before: <?php namespace Uptime\Runtime\Windows; use Uptime\Runtime\RuntimeInterface; class Boottime implements RuntimeInterface { public function read($command = 'wmic os get lastbootuptime') { return trim( explode( "\n", shell_exec($command) )[1] ); } } ## Instruction: Fix for windows ...
b7c321a4253fc858e27ac904f8d0dcb13b709010
autogen.sh
autogen.sh
if test -z "$LIBTOOLIZE" -a "`uname`" = "Darwin"; then LIBTOOLIZE=glibtoolize fi set -ex ${LIBTOOLIZE:-libtoolize} ${ACLOCAL:-aclocal -I m4} ${AUTOCONF:-autoconf} ${AUTOMAKE:-automake} --add-missing
if test -z "$LIBTOOLIZE" -a "`uname`" = "Darwin"; then if command -v "glibtoolize" >/dev/null; then LIBTOOLIZE=glibtoolize elif command -v "libtoolize" >/dev/null; then LIBTOOLIZE=libtoolize else echo "autogen.sh: line $LINENO: command glibtoolize or libtoolize not found" exit 1 fi fi set -ex ${LIBTOOLIZE...
Test for both glibtoolize and libtoolize on Mac; the downloaded version of autotools only includes libtoolize.
Test for both glibtoolize and libtoolize on Mac; the downloaded version of autotools only includes libtoolize.
Shell
apache-2.0
google/gumbo-parser,mcanthony/gumbo-parser,kevinhendricks/gumbo-parser,abc00/gumbo-parser,kevinhendricks/gumbo-parser,mcanthony/gumbo-parser,urandu/gumbo-parser,aleksandaratanasov/gumbo-parser,luoxn28/gumbo-parser,f123h456/gumbo-parser,f123h456/gumbo-parser,aleksandaratanasov/gumbo-parser,luoxn28/gumbo-parser,aleksanda...
shell
## Code Before: if test -z "$LIBTOOLIZE" -a "`uname`" = "Darwin"; then LIBTOOLIZE=glibtoolize fi set -ex ${LIBTOOLIZE:-libtoolize} ${ACLOCAL:-aclocal -I m4} ${AUTOCONF:-autoconf} ${AUTOMAKE:-automake} --add-missing ## Instruction: Test for both glibtoolize and libtoolize on Mac; the downloaded version of autotools...
828dd8aa1b11841ffb5df82bbd9cdea4b8700892
README.md
README.md
This project aims to bring Google's new [Material Design](https://www.google.com/design/spec/material-design/introduction.html) to Ember. The goal is to encapsulate everything possible in Ember components. This project is packaged as an [Ember-cli](http://www.ember-cli.com/) addon. This allows a much nicer "plug and p...
This project aims to bring Google's new [Material Design](https://www.google.com/design/spec/material-design/introduction.html) to Ember. The goal is to encapsulate everything possible in Ember components. This project is packaged as an [Ember-cli](http://www.ember-cli.com/) addon. This allows a much nicer "plug and p...
Add note about generator command
Add note about generator command
Markdown
mit
tmclouisluk/ember-paper,EricSchank/ember-paper,elwayman02/ember-paper,peec/ember-paper,DanChadwick/ember-paper,pauln/ember-paper,mhretab/ember-paper,xomaczar/ember-paper,miguelcobain/ember-paper,joukevandermaas/ember-paper,bjornharrtell/ember-paper,yastupin/ember-paper,baroquon/ember-paper,PartCycleTech/ember-paper,bjo...
markdown
## Code Before: This project aims to bring Google's new [Material Design](https://www.google.com/design/spec/material-design/introduction.html) to Ember. The goal is to encapsulate everything possible in Ember components. This project is packaged as an [Ember-cli](http://www.ember-cli.com/) addon. This allows a much n...
769b86cc02962cafee03696d44b7255b495f8795
advertisements/templates/advertisements/ad_panel.html
advertisements/templates/advertisements/ad_panel.html
{% load static %} <!DOCTYPE html> <html> <head> <title></title> <link rel="stylesheet" href="{% static 'css/main.css' %}"> <style type="text/css"> .container a:nth-child({{ panel.cols }}n) { margin-right: 0; } .container { width: {{ panel.total_width }}px; } </style> </head> <body st...
{% load static %} <!DOCTYPE html> <html> <head> <title></title> <link type="text/css" rel="stylesheet" href="{% static 'css/main.css' %}"> <style type="text/css"> .container a:nth-child({{ panel.cols }}n) { margin-right: 0; } .container { width: {{ panel.total_width }}px; } </style> ...
Set the type to text/css for firefox
Set the type to text/css for firefox
HTML
mit
OpenAds/OpenAds,OpenAds/OpenAds,OpenAds/OpenAds
html
## Code Before: {% load static %} <!DOCTYPE html> <html> <head> <title></title> <link rel="stylesheet" href="{% static 'css/main.css' %}"> <style type="text/css"> .container a:nth-child({{ panel.cols }}n) { margin-right: 0; } .container { width: {{ panel.total_width }}px; } </style> ...
be0c47149a1fc1924eab3f3cec0d13acb49cf310
magnum/templates/kubernetes/fragments/configure-docker-storage.sh
magnum/templates/kubernetes/fragments/configure-docker-storage.sh
. /etc/sysconfig/heat-params DOCKER_DEV=/dev/disk/by-id/virtio-${DOCKER_VOLUME:0:20} attempts=60 while [[ ! -b $DOCKER_DEV && $attempts != 0 ]]; do echo "waiting for disk $DOCKER_DEV" sleep 0.5 udevadm trigger let attempts-- done if ! [ -b $DOCKER_DEV ]; then echo "ERROR: device $DOCKER_DEV does...
. /etc/sysconfig/heat-params attempts=60 while [ ${attempts} -gt 0 ]; do device_name=$(ls /dev/disk/by-id | grep ${DOCKER_VOLUME:0:20}$) if [ -n "${device_name}" ]; then break fi echo "waiting for disk device" sleep 0.5 udevadm trigger let attempts-- done if [ -z "${device_name...
Add support for different disk bus
Add support for different disk bus Different disk bus has different device path, so we should change our way to find device path. examples: virtio => virtio-5e7ef7f7-da5b-4b6c-9 scsi => scsi-0QEMU_QEMU_HARDDISK_ab5b3fab-f848-4a00-8 ide => ata-QEMU_HARDDISK_e4bb1070-3ff0-4470-a I have confirmed with my colleague who ...
Shell
apache-2.0
jay-lau/magnum,ArchiFleKs/magnum,ArchiFleKs/magnum,openstack/magnum,openstack/magnum
shell
## Code Before: . /etc/sysconfig/heat-params DOCKER_DEV=/dev/disk/by-id/virtio-${DOCKER_VOLUME:0:20} attempts=60 while [[ ! -b $DOCKER_DEV && $attempts != 0 ]]; do echo "waiting for disk $DOCKER_DEV" sleep 0.5 udevadm trigger let attempts-- done if ! [ -b $DOCKER_DEV ]; then echo "ERROR: device ...
cec3b26119afafb3f2677df4bcf0790f237b7760
compiler.scm
compiler.scm
( define (compile-program x) (emit ".sub main :main") (emit "say ~a" x) (emit ".end"))
; $Id$ ; PAST-Generator for Eclectus ( define (compile-program x) (emit ".namespace") (emit ".sub '__onload' :init") (emit " load_bytecode 'PGE.pbc'") (emit " load_bytecode 'PGE/Text.pbc'") (emit " load_bytecode 'PGE/Util.pbc'") (emit " load_bytecode 'PGE/Dumper.pbc'") (emit " load_bytec...
Use PCT-PAST in generated PIR.
[Eclectus] Use PCT-PAST in generated PIR. git-svn-id: 25691d43496b77c53f0b494379003863a981bfc4@23216 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
Scheme
artistic-2.0
bschmalhofer/eclectus
scheme
## Code Before: ( define (compile-program x) (emit ".sub main :main") (emit "say ~a" x) (emit ".end")) ## Instruction: [Eclectus] Use PCT-PAST in generated PIR. git-svn-id: 25691d43496b77c53f0b494379003863a981bfc4@23216 d31e2699-5ff4-0310-a27c-f18f2fbe73fe ## Code After: ; $Id$ ; PAST-Generator for Eclectus ...
a32e7e7bc7f02ba3e958ba80c0f3c33c068c2122
doc/source/plugins.rst
doc/source/plugins.rst
.. _plugin-reference: ================= Plugin Reference ================= This section lists Plugins that currently come with WA3. Each package below represents a particular type of extension (e.g. a workload); each sub-package of that package is a particular instance of that extension (e.g. the Andebench workload)....
.. _plugin-reference: ================= Plugin Reference ================= This section lists Plugins that currently come with WA3. Each package below represents a particular type of extension (e.g. a workload); each sub-package of that package is a particular instance of that extension (e.g. the Andebench workload)....
Add instrument backends to plugin reference
doc/plugin: Add instrument backends to plugin reference Add documentation for the energy instrument.
reStructuredText
apache-2.0
lisatn/workload-automation,setrofim/workload-automation,ARM-software/workload-automation,ARM-software/workload-automation,setrofim/workload-automation,ARM-software/workload-automation,setrofim/workload-automation,lisatn/workload-automation,lisatn/workload-automation,ARM-software/workload-automation,setrofim/workload-au...
restructuredtext
## Code Before: .. _plugin-reference: ================= Plugin Reference ================= This section lists Plugins that currently come with WA3. Each package below represents a particular type of extension (e.g. a workload); each sub-package of that package is a particular instance of that extension (e.g. the Ande...
a0ec3a25f486bdc4bd2dfe9d1f6acdd0b74789c1
packages/co/composition-tree.yaml
packages/co/composition-tree.yaml
homepage: https://github.com/liamoc/composition-tree changelog-type: '' hash: fe39861c8b6f6375c9ac71acea91eee6171b704bf21874ce7ee5f7758e1e68f1 test-bench-deps: base: ! '>=4.7 && <4.8' doctest: ! '>=0.10 && <0.11' QuickCheck: ! '>=2.8 && <2.9' composition-tree: -any maintainer: liamoc@cse.unsw.edu.au synopsis: C...
homepage: https://github.com/liamoc/composition-tree changelog-type: '' hash: 64b3a00631b338325288956a54daae77140fc1237c748fc4fd1e82e0b9783762 test-bench-deps: base: ! '>=4.7 && <4.9' doctest: ! '>=0.10 && <0.11' QuickCheck: ! '>=2.8 && <2.9' composition-tree: -any maintainer: liamoc@cse.unsw.edu.au synopsis: C...
Update from Hackage at 2015-09-30T14:18:25+0000
Update from Hackage at 2015-09-30T14:18:25+0000
YAML
mit
commercialhaskell/all-cabal-metadata
yaml
## Code Before: homepage: https://github.com/liamoc/composition-tree changelog-type: '' hash: fe39861c8b6f6375c9ac71acea91eee6171b704bf21874ce7ee5f7758e1e68f1 test-bench-deps: base: ! '>=4.7 && <4.8' doctest: ! '>=0.10 && <0.11' QuickCheck: ! '>=2.8 && <2.9' composition-tree: -any maintainer: liamoc@cse.unsw.ed...
869447cbf3e1207f04bba116585af3cb02b6e3e1
generators/deployment/templates/manifest_master.yml
generators/deployment/templates/manifest_master.yml
--- applications: - instances: 1 timeout: 180 {{#if this.name }} name: {{{this.name}}} {{/if ~}} {{#if this.buildpack }} buildpack: {{{this.buildpack}}} {{/if ~}} {{#if this.command }} command: {{{this.command}}} {{/if ~}} {{#if this.path }} path: {{{this.path}}} {{/if ~}} {{#if this.disk_qu...
--- applications: - instances: 1 timeout: 180 {{#if this.name }} name: {{{this.name}}} {{/if ~}} {{#if this.buildpack }} buildpack: {{{this.buildpack}}} {{/if ~}} {{#if this.command }} command: {{{this.command}}} {{/if ~}} {{#if this.path }} path: {{{this.path}}} {{/if ~}} {{#if this.disk_qu...
Add support for health check
Add support for health check
YAML
apache-2.0
ibm-developer/generator-ibm-cloud-enablement,ibm-developer/generator-ibm-cloud-enablement,ibm-developer/generator-ibm-cloud-enablement
yaml
## Code Before: --- applications: - instances: 1 timeout: 180 {{#if this.name }} name: {{{this.name}}} {{/if ~}} {{#if this.buildpack }} buildpack: {{{this.buildpack}}} {{/if ~}} {{#if this.command }} command: {{{this.command}}} {{/if ~}} {{#if this.path }} path: {{{this.path}}} {{/if ~}} {{...
a480415a7593045c9066501b4099bffe59697e57
dashboard/app/helpers/refinery/admin/dashboard_helper.rb
dashboard/app/helpers/refinery/admin/dashboard_helper.rb
module ::Refinery module Admin module DashboardHelper def activity_message_for(record) if (plugin = ::Refinery::Plugins.active.find_by_model(record.class)).present? && (activity = plugin.activity.first).present? # work out which action occured action = record.updated_...
module ::Refinery module Admin module DashboardHelper def activity_message_for(record) if (plugin = ::Refinery::Plugins.active.find_by_model(record.class)) && (activity = plugin.activity.first) # work out which action occured action = record.updated_at.eql?(record.cre...
Remove unnecessary calls to .present?
Remove unnecessary calls to .present?
Ruby
mit
gwagener/refinerycms,simi/refinerycms,mlinfoot/refinerycms,louim/refinerycms,simi/refinerycms,simi/refinerycms,refinery/refinerycms,johanb/refinerycms,louim/refinerycms,mlinfoot/refinerycms,gwagener/refinerycms,KingLemuel/refinerycms,refinery/refinerycms,Retimont/refinerycms,Retimont/refinerycms,Eric-Guo/refinerycms,Er...
ruby
## Code Before: module ::Refinery module Admin module DashboardHelper def activity_message_for(record) if (plugin = ::Refinery::Plugins.active.find_by_model(record.class)).present? && (activity = plugin.activity.first).present? # work out which action occured action =...
9045b49b03758f190302f4f21889181a68005e45
my_configs.vim
my_configs.vim
" Write and close quickly nmap <Leader>wq :wq<Cr> " Set default theme colorscheme pablo " Send all yanking/deleting ops to clipboard clipboard=unnamedplus
" Write and close quickly nmap <Leader>wq :wq<Cr> " Clean up search highlights nmap <C-l> :noh<Cr> " Set default theme colorscheme pablo " Send all yanking/deleting ops to clipboard set clipboard=unnamedplus
Fix typo in vim config
Fix typo in vim config
VimL
mit
grsabreu/dotfiles
viml
## Code Before: " Write and close quickly nmap <Leader>wq :wq<Cr> " Set default theme colorscheme pablo " Send all yanking/deleting ops to clipboard clipboard=unnamedplus ## Instruction: Fix typo in vim config ## Code After: " Write and close quickly nmap <Leader>wq :wq<Cr> " Clean up search highlights nmap <C-l>...
bad86965883b7454ce31afe9406e880f0e2b610a
README.md
README.md
Flowshop-with-No-Wait-ABC ========================= Semester project for Operations Research I course. Java implementation of Artificial Bee Colony to solve No-Wait Flowshop problem [![Build Status](https://travis-ci.org/jraska/Flowshop-with-No-Wait-ABC.svg?branch=master)](https://travis-ci.org/jraska/Flowshop-with-N...
Flowshop-with-No-Wait-ABC ========================= Semester project for Operations Research I course. Java implementation of Artificial Bee Colony to solve No-Wait Flowshop problem. See the course pages at http://mrl.cs.vsb.cz/people/davendra/or_course.html [![Build Status](https://travis-ci.org/jraska/Flowshop-wit...
Add course reference to readme
Add course reference to readme
Markdown
apache-2.0
jraska/Flowshop-with-No-Wait-ABC
markdown
## Code Before: Flowshop-with-No-Wait-ABC ========================= Semester project for Operations Research I course. Java implementation of Artificial Bee Colony to solve No-Wait Flowshop problem [![Build Status](https://travis-ci.org/jraska/Flowshop-with-No-Wait-ABC.svg?branch=master)](https://travis-ci.org/jraska...
406aab5d5fe970510c8cc0f612df14f8d5bf55b0
src/App.css
src/App.css
/* close commented backslash hack */ .page-content { padding: 10px 0; } .page-content .mdl-card { width: auto; max-width: 90%; margin: 0 auto; } .mdl-list { margin-top: 0; padding-top: 0; } .mdl-list__item--three-line .mdl-list__item-text-body { height: auto; padding: 5px 0; } .mdl-list__item--with-...
/* close commented backslash hack */ .page-content { padding: 10px 0; } .page-content .mdl-card { width: auto; max-width: 90%; margin: 0 auto; } .mdl-list { margin-top: 0; padding-top: 0; } .mdl-list__item--three-line .mdl-list__item-text-body { height: auto; padding: 5px 0; } .mdl-list__item--with-...
Change styles from cards and list to better look
Change styles from cards and list to better look
CSS
mit
hersonls/never-going-back-again,hersonls/never-going-back-again
css
## Code Before: /* close commented backslash hack */ .page-content { padding: 10px 0; } .page-content .mdl-card { width: auto; max-width: 90%; margin: 0 auto; } .mdl-list { margin-top: 0; padding-top: 0; } .mdl-list__item--three-line .mdl-list__item-text-body { height: auto; padding: 5px 0; } .mdl-l...
404b3a03eb1f343db4040f160fefe91d94f79930
app/factory-virtualmachine/model/virtual-machine.ts
app/factory-virtualmachine/model/virtual-machine.ts
export class VirtualMachine { }
export class VirtualMachine { id: number; code: string; ipAddress: string; dns: string; osPlatform: string; ram: number; diskSpace: number; manufacturer: string; model: string; yearOfService : number; condition: string; constructor (id: number, code: string, ipAddress: string, dns: string, ...
Add properties to virtual machine class
Add properties to virtual machine class
TypeScript
mit
railsstudent/angular2-appcheck,railsstudent/angular2-appcheck,railsstudent/angular2-appcheck
typescript
## Code Before: export class VirtualMachine { } ## Instruction: Add properties to virtual machine class ## Code After: export class VirtualMachine { id: number; code: string; ipAddress: string; dns: string; osPlatform: string; ram: number; diskSpace: number; manufacturer: string; model: strin...
c374f438c4e8eff660828cd088572d35d2e4ff40
.travis.yml
.travis.yml
language: ruby sudo: false rvm: - 2.0.0 - 2.1.7 - 2.2.3 - 2.3.3 gemfile: - Gemfile.rails41 - Gemfile.rails42 - Gemfile.rails50 # Min ruby 2.2.2 - Gemfile.rails51 # Min ruby 2.2.2 matrix: exclude: - rvm: 2.0.0 gemfile: Gemfile.rails50 - rvm: 2.0.0 gemfile: Gemfile.rails51 - rvm:...
language: ruby sudo: false rvm: - 2.1.7 - 2.2.3 - 2.3.3 - 2.4.3 - 2.5.0 gemfile: - Gemfile.rails41 - Gemfile.rails42 - Gemfile.rails50 # Min ruby 2.2.2 - Gemfile.rails51 # Min ruby 2.2.2 matrix: exclude: - rvm: 2.0.0 gemfile: Gemfile.rails50 - rvm: 2.0.0 gemfile: Gemfile.rails51 ...
Enable tests for ruby 2.4.3 and 2.5.0
Enable tests for ruby 2.4.3 and 2.5.0 Also, remove ruby 2.0 as that's already pretty old release.
YAML
apache-2.0
Apipie/apipie-rails,Apipie/apipie-rails,Apipie/apipie-rails
yaml
## Code Before: language: ruby sudo: false rvm: - 2.0.0 - 2.1.7 - 2.2.3 - 2.3.3 gemfile: - Gemfile.rails41 - Gemfile.rails42 - Gemfile.rails50 # Min ruby 2.2.2 - Gemfile.rails51 # Min ruby 2.2.2 matrix: exclude: - rvm: 2.0.0 gemfile: Gemfile.rails50 - rvm: 2.0.0 gemfile: Gemfile.ra...
5aa417475b32f75560c994fb7cff850e7663d4ca
static/script/user/view.js
static/script/user/view.js
$( document ).ready( function() { function showUploadedImage( source ) { $( "#userImage" ).attr( "src", source ); } $( "#image-form" ).submit( function() { var image = document.getElementById( "image" ).files[ 0 ]; var token = $( "input[type=hidden]" ).val(); var formdata = n...
$( document ).ready( function() { function showUploadedImage( source ) { $( "#userImage" ).attr( "src", source ); } $( "#image-form" ).submit( function() { var image = document.getElementById( "image" ).files[ 0 ]; var token = $( "input[type=hidden]" ).val(); var formdata = n...
Make it not expect json
Make it not expect json
JavaScript
mit
VitSalis/endofcodes,VitSalis/endofcodes,VitSalis/endofcodes,dionyziz/endofcodes,dionyziz/endofcodes,dionyziz/endofcodes,VitSalis/endofcodes
javascript
## Code Before: $( document ).ready( function() { function showUploadedImage( source ) { $( "#userImage" ).attr( "src", source ); } $( "#image-form" ).submit( function() { var image = document.getElementById( "image" ).files[ 0 ]; var token = $( "input[type=hidden]" ).val(); ...
9fafe447c948871ca9daedb16d73b1fa4ee32fa3
templates/list.html
templates/list.html
<html> <head> <title>{{ title }}</title> <link href="style.css" rel="stylesheet" type="text/css"> <link href="grid.css" rel="stylesheet" type="text/css"> </head> <body> <h1>{{ title }}</h1> <ul class="rig columns-{{ cols }}"> {% for image in images %} ...
<html> <head> <title>{{ title }}</title> <link href="style.css" rel="stylesheet" type="text/css"> <link href="grid.css" rel="stylesheet" type="text/css"> </head> <body> <h1>{{ title }}</h1> <ul class="rig columns-{{ cols }}"> {% for image in images %} ...
Set index image link targets to _blank
Set index image link targets to _blank
HTML
mit
kchr/boxxy2
html
## Code Before: <html> <head> <title>{{ title }}</title> <link href="style.css" rel="stylesheet" type="text/css"> <link href="grid.css" rel="stylesheet" type="text/css"> </head> <body> <h1>{{ title }}</h1> <ul class="rig columns-{{ cols }}"> {% for image in im...
4c2f7828bc83e8f7fb02568389daa44c501da120
client/ngsw-config.json
client/ngsw-config.json
{ "index": "/index.html", "assetGroups": [ { "name": "app", "installMode": "prefetch", "resources": { "files": [ "/favicon.png", "/index.html", "/*.css", "/*.js", ...
{ "index": "/index.html", "assetGroups": [ { "name": "app", "installMode": "prefetch", "resources": { "files": [ "/favicon.png", "/index.html", "/*.css", "/*.js", ...
Exclude urls /rest and /apps from service worker caching.
Exclude urls /rest and /apps from service worker caching.
JSON
mit
CatoTH/OpenSlides,tsiegleauq/OpenSlides,normanjaeckel/OpenSlides,normanjaeckel/OpenSlides,CatoTH/OpenSlides,tsiegleauq/OpenSlides,FinnStutzenstein/OpenSlides,normanjaeckel/OpenSlides,FinnStutzenstein/OpenSlides,ostcar/OpenSlides,normanjaeckel/OpenSlides,CatoTH/OpenSlides,ostcar/OpenSlides,OpenSlides/OpenSlides,ostcar/O...
json
## Code Before: { "index": "/index.html", "assetGroups": [ { "name": "app", "installMode": "prefetch", "resources": { "files": [ "/favicon.png", "/index.html", "/*.css", "/...
11556604f91d9fac9c3ca60fe06920faf17d894e
packages/@sanity/google-maps-input/README.md
packages/@sanity/google-maps-input/README.md
Sanity plugin providing input handlers for geo-related input types using Google Maps
Sanity plugin providing input handlers for geo-related input types using Google Maps # Example app First write a valid Google Maps API key into ``./example/config/@sanity/google-maps-input.json`` Then ``npm start``
Add readme about example app
Add readme about example app
Markdown
mit
sanity-io/sanity,sanity-io/sanity,sanity-io/sanity,sanity-io/sanity
markdown
## Code Before: Sanity plugin providing input handlers for geo-related input types using Google Maps ## Instruction: Add readme about example app ## Code After: Sanity plugin providing input handlers for geo-related input types using Google Maps # Example app First write a valid Google Maps API key into ``./exam...
3ffb88772b8df49425a0027f174197ecff8932c8
src/less/_components.article.less
src/less/_components.article.less
article { margin: 0 auto; } article .content { & > :first-child { margin-top: 0; } .top-item { margin-top: 0; } font-family: @font-family-main; font-size: 1rem; font-weight: @font-weight__body-normal; text-align: left; padding-top: 1.5rem; padding-left: 2rem; padding-right: 2rem; ...
article { margin: 0 auto; } article .content { & > :first-child { margin-top: 0; } .top-item { margin-top: 0; } font-family: @font-family-main; font-size: 1rem; font-weight: @font-weight__body-normal; text-align: left; padding-top: 1.5rem; padding-left: 2rem; padding-right: 2rem; ...
Remove small width font sizing
Remove small width font sizing
Less
mit
TickleThePanda/ticklethepanda.co.uk,TickleThePanda/ticklethepanda.co.uk
less
## Code Before: article { margin: 0 auto; } article .content { & > :first-child { margin-top: 0; } .top-item { margin-top: 0; } font-family: @font-family-main; font-size: 1rem; font-weight: @font-weight__body-normal; text-align: left; padding-top: 1.5rem; padding-left: 2rem; padding...
479363e82d2ec3d7bd982c4170e41f8c42006a42
README.md
README.md
https://powerplate.herokuapp.com/ ## Features ### ## Development Run `npm run dev` for server-side live reload. Run `npm run eslint` to lint the code. ## Testing Run `npm test` If asked for snyk authentication, run `./node_modules/.bin/snyk auth` ## Deployment Deployment will fail if linting causes error. #...
https://powerplate.herokuapp.com/ ## Features ### ## Development Run `npm run dev` for server-side live reload. Run `npm run eslint` to lint the code. ## Testing Run `npm test` If asked for snyk authentication, run `./node_modules/.bin/snyk auth` ## Deployment Deployment will fail if linting causes error. #...
Remove ordinary Heroku deployment from readme
Remove ordinary Heroku deployment from readme
Markdown
mit
jwall149/powerplate,jwall149/powerplate,bri0/powerplate,bri0/powerplate
markdown
## Code Before: https://powerplate.herokuapp.com/ ## Features ### ## Development Run `npm run dev` for server-side live reload. Run `npm run eslint` to lint the code. ## Testing Run `npm test` If asked for snyk authentication, run `./node_modules/.bin/snyk auth` ## Deployment Deployment will fail if linting ...
ef7c4b87ef91ea2bf71bb9e579b1163845d858a6
app/assets/javascripts/rounds.js.coffee
app/assets/javascripts/rounds.js.coffee
jQuery -> $('.results_round').dataTable bPaginate: false bInfo: false sDom: 't' aoColumnDefs: [ aTargets: ['recalled_header', 'adjudicator_header'] bSearchable: false ] $('.results_round').floatThead()
jQuery -> $('.results_round').dataTable bPaginate: false bInfo: false sDom: 't' aoColumnDefs: [ aTargets: ['recalled_col', 'adjudicator_col'] bSearchable: false ] $('.results_round').floatThead()
Update DataTables `aoColumnDefs` class names.
Update DataTables `aoColumnDefs` class names. They were not updated to match the new class name conventions, so the mark and recall columns were ending up searchable.
CoffeeScript
agpl-3.0
haxney/railskating,haxney/railskating
coffeescript
## Code Before: jQuery -> $('.results_round').dataTable bPaginate: false bInfo: false sDom: 't' aoColumnDefs: [ aTargets: ['recalled_header', 'adjudicator_header'] bSearchable: false ] $('.results_round').floatThead() ## Instruction: Update DataTables `aoColumnDefs` class names. T...
d378ef49fd864b29f654875d10a6052e697d7ab5
picoCTF-problems/Examples/Bundles/challenge-sampler.json
picoCTF-problems/Examples/Bundles/challenge-sampler.json
{ "name": "Challenge Sampler", "author": "Christopher Ganas", "description": "This is the set of example challenges provided in the picoCTF-Problems repository.", "categories": ["Binary Exploitation", "Cryptography", "Web Exploitation"], "problems": ["buffer-overflow-1", "ecb-1", "sql-injection-1"], "depend...
{ "name": "Challenge Sampler", "author": "Christopher Ganas", "description": "This is the set of example challenges provided in the picoCTF-Problems repository.", "categories": ["Binary Exploitation", "Cryptography", "Web Exploitation"], "problems": ["buffer-overflow-1", "ecb-1", "sql-injection-1"], "depend...
Fix typo in ECB problem name
Fix typo in ECB problem name
JSON
mit
picoCTF/picoCTF,royragsdale/picoCTF,royragsdale/picoCTF,royragsdale/picoCTF,picoCTF/picoCTF,picoCTF/picoCTF,royragsdale/picoCTF,royragsdale/picoCTF,picoCTF/picoCTF,picoCTF/picoCTF,picoCTF/picoCTF,royragsdale/picoCTF,royragsdale/picoCTF
json
## Code Before: { "name": "Challenge Sampler", "author": "Christopher Ganas", "description": "This is the set of example challenges provided in the picoCTF-Problems repository.", "categories": ["Binary Exploitation", "Cryptography", "Web Exploitation"], "problems": ["buffer-overflow-1", "ecb-1", "sql-injectio...
49ea86d93d75afb1c3a3f95dd72a78b6d78f04cc
sitecustomize.py
sitecustomize.py
import sys import os from combinator.branchmgr import theBranchManager theBranchManager.addPaths() for key in sys.modules.keys(): # Unload all Combinator modules that had to be loaded in order to call # addPaths(). Although the very very beginning of this script needs to # load the trunk combinator (or ...
import sys import os from combinator.branchmgr import theBranchManager theBranchManager.addPaths() for key in sys.modules.keys(): # Unload all Combinator modules that had to be loaded in order to call # addPaths(). Although the very very beginning of this script needs to # load the trunk combinator (or ...
Remove distutils-mangling code from Combinator which breaks setuptools.
Remove distutils-mangling code from Combinator which breaks setuptools. After this change, Combinator will no longer attempt to force 'python setup.py install' to put things into your home directory. Use `setup.py --prefix ~/.local`, or, if your package is trying to use setuptools, `python setup.py --site-dirs ~/.loc...
Python
mit
habnabit/Combinator,habnabit/Combinator
python
## Code Before: import sys import os from combinator.branchmgr import theBranchManager theBranchManager.addPaths() for key in sys.modules.keys(): # Unload all Combinator modules that had to be loaded in order to call # addPaths(). Although the very very beginning of this script needs to # load the trunk...
bfee617e03779cf84797eceda297f0dbdcae4a13
doc/modbus_mask_write_register.txt
doc/modbus_mask_write_register.txt
modbus_mask_write_register(3) ============================= NAME ---- modbus_mask_write_register - mask a single register SYNOPSIS -------- *int modbus_mask_write_register(modbus_t *'ctx', int 'addr', uint16_t 'and', uint16_t 'or');* DESCRIPTION ----------- The _modbus_mask_write_register()_ function shall modify...
modbus_mask_write_register(3) ============================= NAME ---- modbus_mask_write_register - mask a single register SYNOPSIS -------- *int modbus_mask_write_register(modbus_t *'ctx', int 'addr', uint16_t 'and', uint16_t 'or');* DESCRIPTION ----------- The _modbus_mask_write_register()_ function shall modify...
Add Martijn de Gouw name to documentation
Add Martijn de Gouw name to documentation
Text
lgpl-2.1
cmcmurrough/libmodbus,dhruvvyas90/libmodbus,stephane/libmodbus,chenzhouneng/libmodbus,wablair/libmodbus,xtypebee/libmodbus,charlie-x/libmodbus,cukier/libmodbus,poulacou/libmodbus,OliverDDS/libmodbus,chenzhouneng/libmodbus,vb2685/modbus,cmcmurrough/libmodbus,sureforce/new,dhruvvyas90/libmodbus,xtypebee/libmodbus,marinbe...
text
## Code Before: modbus_mask_write_register(3) ============================= NAME ---- modbus_mask_write_register - mask a single register SYNOPSIS -------- *int modbus_mask_write_register(modbus_t *'ctx', int 'addr', uint16_t 'and', uint16_t 'or');* DESCRIPTION ----------- The _modbus_mask_write_register()_ funct...
6827b60daa2f35e45e8384f514e84d469f9ad0d7
src/modules/LCIOWriter/README.md
src/modules/LCIOWriter/README.md
**Maintainer**: Andreas Nurnberg (andreas.nurnberg@cern.ch) **Status**: Functional **Input**: *PixelHitMessage* #### Description Writes pixel hit data to LCIO file, compatible to EUTelescope analysis framework. #### Parameters * `file_name`: LCIO file to write. Extension .slcio * `pixelType`: EUtelescope pixel ty...
**Maintainer**: Andreas Nurnberg (andreas.nurnberg@cern.ch) **Status**: Functional **Input**: *PixelHitMessage* #### Description Writes pixel hit data to LCIO file, compatible to EUTelescope analysis framework. #### Parameters * `file_name`: LCIO file to write. Extension .slcio * `pixelType`: EUtelescope pixel ty...
Update documentation. Describe missing parameters.
Update documentation. Describe missing parameters.
Markdown
mit
Koensw/allpix-squared,Koensw/allpix-squared,Koensw/allpix-squared,Koensw/allpix-squared
markdown
## Code Before: **Maintainer**: Andreas Nurnberg (andreas.nurnberg@cern.ch) **Status**: Functional **Input**: *PixelHitMessage* #### Description Writes pixel hit data to LCIO file, compatible to EUTelescope analysis framework. #### Parameters * `file_name`: LCIO file to write. Extension .slcio * `pixelType`: EUte...
507b99aadead6840f67af39648a1a5b2ce5a1858
.travis.yml
.travis.yml
--- language: generic sudo: required services: - docker env: global: - DOCKER_VERSION=1.10.2-0~trusty - DOCKER_COMPOSE_VERSION=1.6.2 matrix: - OS=jessie64 PROCESS_CONTROL=systemd - OS=jessie64 PROCESS_CONTROL=supervisor - OS=trusty64 PROCESS_CONTROL=supervisor - OS=centos7 PROCESS_CONTROL...
--- language: generic sudo: required services: - docker env: global: - DOCKER_VERSION=1.10.2-0~trusty - DOCKER_COMPOSE_VERSION=1.6.2 matrix: - OS=jessie64 PROCESS_CONTROL=systemd - OS=jessie64 PROCESS_CONTROL=supervisor - OS=trusty64 PROCESS_CONTROL=supervisor - OS=centos7 PROCESS_CONTROL...
Disable email notifications for builds
Disable email notifications for builds
YAML
apache-2.0
devops-coop/ansible-minecraft,devops-coop/ansible-minecraft,devops-coop/ansible-minecraft
yaml
## Code Before: --- language: generic sudo: required services: - docker env: global: - DOCKER_VERSION=1.10.2-0~trusty - DOCKER_COMPOSE_VERSION=1.6.2 matrix: - OS=jessie64 PROCESS_CONTROL=systemd - OS=jessie64 PROCESS_CONTROL=supervisor - OS=trusty64 PROCESS_CONTROL=supervisor - OS=centos7 ...
fd334903e4b511de94df9e5def148b633e75024c
_config.yml
_config.yml
markdown: redcarpet highlighter: pygments # Permalinks permalink: pretty relative_permalinks: true # Setup title: Kevin O'Connor tagline: 'Software Engineer at large' description: "Software engineer at Google. I occasionally write about some of my <a href='https://github.c...
permalink: pretty relative_permalinks: true # Setup title: Kevin O'Connor tagline: 'Software Engineer at large' description: "Software engineer at Google. I occasionally write about some of my <a href='https://github.com/kevinoconnor7'>side projects</a>." url: https://kevo....
Use Jekyll's default renderer and highlighter
Use Jekyll's default renderer and highlighter
YAML
mit
kevinoconnor7/kevinoconnor7.github.io,kevinoconnor7/kevinoconnor7.github.io,kevinoconnor7/kevinoconnor7.github.io
yaml
## Code Before: markdown: redcarpet highlighter: pygments # Permalinks permalink: pretty relative_permalinks: true # Setup title: Kevin O'Connor tagline: 'Software Engineer at large' description: "Software engineer at Google. I occasionally write about some of my <a href='...
f3f51986472939635031fc3987b0f4e42781507a
app/views/welcome/index.html.erb
app/views/welcome/index.html.erb
<div class='menu-bar'> <div class="menu-title"> <p>Welcome to the Smell of Water</p> </div> </div> <div id='front-page'> <img id='splash-image' src="/images/cover-pic.jpg"> <div id='text-container'> <h3 id='second-title', class="text">This site is currently under construction...</h3> <h3 id='book...
<!-- <div class='title-bar'> <div class="site-title"> <p>Welcome to The Smell of Water</p> </div> </div> --> <!-- <div class="menu-bar"> <ul class="navigation-menu"> <li>The Book</li> <li>The Authors</li> <li>Events</li> <li>Books in the Works</li> <li>Contact Us</li> </ul> </div> --> ...
Add HTML for title and menu bar
Add HTML for title and menu bar
HTML+ERB
mit
piara108/smell-of-water,piara108/smell-of-water,piara108/smell-of-water
html+erb
## Code Before: <div class='menu-bar'> <div class="menu-title"> <p>Welcome to the Smell of Water</p> </div> </div> <div id='front-page'> <img id='splash-image' src="/images/cover-pic.jpg"> <div id='text-container'> <h3 id='second-title', class="text">This site is currently under construction...</h3> ...