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
a12abf1bc0af58c883cb0a2634ef88751d1a3349
test/functional/admin/editions_controller_test.rb
test/functional/admin/editions_controller_test.rb
require 'test_helper' class Admin::EditionsControllerTest < ActionController::TestCase setup do login_as_stub_user without_metadata_denormalisation(Guide) do @guide = Guide.create(:name => "test", :slug=>"test") end @user = User.create @controller.stubs(:current_user).returns(@user) end ...
require 'test_helper' class Admin::EditionsControllerTest < ActionController::TestCase setup do login_as_stub_user without_metadata_denormalisation(Guide) do @guide = Guide.create(:name => "test", :slug=>"test") end @user = User.create @controller.stubs(:current_user).returns(@user) end ...
Make functional test match implementation.
Make functional test match implementation.
Ruby
mit
theodi/publisher,leftees/publisher,telekomatrix/publisher,leftees/publisher,alphagov/publisher,telekomatrix/publisher,theodi/publisher,alphagov/publisher,leftees/publisher,leftees/publisher,telekomatrix/publisher,theodi/publisher,alphagov/publisher,telekomatrix/publisher,theodi/publisher
ruby
## Code Before: require 'test_helper' class Admin::EditionsControllerTest < ActionController::TestCase setup do login_as_stub_user without_metadata_denormalisation(Guide) do @guide = Guide.create(:name => "test", :slug=>"test") end @user = User.create @controller.stubs(:current_user).return...
23f55a2354fef150a74751abe04ebb878a5eee9f
app.js
app.js
var app = require('connect')(); var createRepostGuard = require('./src/repost-guard'); var fs = require('fs'); var log = require('./src/util').log; var path = require('path'); // Keeping this forever in memory for now. createRepostGuard.shared = createRepostGuard({ directory: path.join(__dirname, 'tmp'), lineLimit...
var app = require('connect')(); var createRepostGuard = require('./src/repost-guard'); var fs = require('fs'); var log = require('./src/util').log; var path = require('path'); // Keeping this forever in memory for now. createRepostGuard.shared = createRepostGuard({ directory: path.join(__dirname, 'tmp'), lineLimit...
Update feed-page-size given new feeds
Update feed-page-size given new feeds
JavaScript
mit
hlfcoding/custom-rss
javascript
## Code Before: var app = require('connect')(); var createRepostGuard = require('./src/repost-guard'); var fs = require('fs'); var log = require('./src/util').log; var path = require('path'); // Keeping this forever in memory for now. createRepostGuard.shared = createRepostGuard({ directory: path.join(__dirname, 'tm...
307e1f9a9ac65be41d4c0b30f4f0b0a8d859e3a6
lib/adiwg/mdtranslator/writers/html/sections/html_resourceType.rb
lib/adiwg/mdtranslator/writers/html/sections/html_resourceType.rb
module ADIWG module Mdtranslator module Writers module Html class Html_ResourceType def initialize(html) @html = html end def writeHtml(hType) # resource type @html.em('Resource Type: ')...
module ADIWG module Mdtranslator module Writers module Html class Html_ResourceType def initialize(html) @html = html end def writeHtml(hType) # resource type @html.em('Resource Type: ')...
Fix handling of nil 'resourceType.name' in html writer
Fix handling of nil 'resourceType.name' in html writer
Ruby
unlicense
stansmith907/mdTranslator,adiwg/mdTranslator,stansmith907/mdTranslator,adiwg/mdTranslator
ruby
## Code Before: module ADIWG module Mdtranslator module Writers module Html class Html_ResourceType def initialize(html) @html = html end def writeHtml(hType) # resource type @html.em('R...
0b78fadb2fb70a3efe670675db4a6643a9805551
js/repwho.js
js/repwho.js
$(document).ready( $.getJSON('https://reps.mozilla.org/api/v1/rep/?offset=0&limit=0&group=council&callback=?', function(data) { console.log('got it!'); $('body').append(JSON.stringify(data)); }) );
$(document).ready( $.getJSON('https://reps.mozilla.org/api/v1/rep/?offset=0&limit=0&group=council&callback=?', function (data) { $('body').append( JSON.stringify( data.objects[Math.floor(Math.random() * data.objects.length)] ) ); }, function (error) { console.log(error); } ) );
Return one Rep from the list, randomly
Return one Rep from the list, randomly
JavaScript
mpl-2.0
debloper/repwho
javascript
## Code Before: $(document).ready( $.getJSON('https://reps.mozilla.org/api/v1/rep/?offset=0&limit=0&group=council&callback=?', function(data) { console.log('got it!'); $('body').append(JSON.stringify(data)); }) ); ## Instruction: Return one Rep from the list, randomly ## Code After: $(documen...
aecc91a20d029d2f532e35fe8e9986ca2bfe2f24
scripts/jquery.arrowpopup.js
scripts/jquery.arrowpopup.js
(function($){ $.fn.arrowPopup = function(popupSelector, arrowDirection) { var popup = $(popupSelector); var offset = $(this).offset(); arrowDirection = arrowDirection || 'up'; var left = 0; var top = 0; popup.removeClass('point-up').removeClass('point-left'); ...
(function($){ $.fn.arrowPopup = function(popupSelector, arrowDirection) { var popup = $(popupSelector); var offset = $(this).offset(); arrowDirection = arrowDirection || 'up'; var left = 0; var top = 0; popup.removeClass('point-up').removeClass('point-left'); ...
Make sure arrow popups don't overflow to the left
Make sure arrow popups don't overflow to the left
JavaScript
mit
youtify/youtify,youtify/youtify,youtify/youtify
javascript
## Code Before: (function($){ $.fn.arrowPopup = function(popupSelector, arrowDirection) { var popup = $(popupSelector); var offset = $(this).offset(); arrowDirection = arrowDirection || 'up'; var left = 0; var top = 0; popup.removeClass('point-up').removeClass('poi...
a6d3314432a9172396cedbba2addb99d63643c9d
static/components.yaml
static/components.yaml
components: - name: Account Manager git: account description: Manage user account version: head: full: 1.1.0-dev major: 1 minor: 1 patch: 0 status: dev - name: Admin Panel git: admin-panel image: admin-panel description: Panel for admin user to m...
components: - name: Account Manager git: account description: Manage user account version: head: full: 1.4.0-alpha major: 1 minor: 4 patch: 0 status: alpha deploy: full: 1.3.1-alpha major: 1 minor: 3 patch: 1 statu...
Update status for account manager
Update status for account manager
YAML
mit
ysitd-cloud/development-status,ysitd-cloud/development-status
yaml
## Code Before: components: - name: Account Manager git: account description: Manage user account version: head: full: 1.1.0-dev major: 1 minor: 1 patch: 0 status: dev - name: Admin Panel git: admin-panel image: admin-panel description: Panel for...
e4de37a70e2145f266fd8b5026475d1350d4bdcf
app/views/sessions/new.html.erb
app/views/sessions/new.html.erb
<%= form_for(:user, html: { class: "small-6 small-centered columns" } ) do |f| %> First name: <%= f.text_field :first_name %><br /> Last name: <%= f.text_field :last_name %><br /> Email: <%= f.email_field :email %><br /> Password: <%= f.password_field :password %><br /> Password Confirmation: <%= f....
<%= form_for(:user, html: { class: "small-6 small-centered columns" } ) do |f| %> First name: <%= f.text_field :first_name %><br /> Last name: <%= f.text_field :last_name %><br /> Email: <%= f.email_field :email %><br /> Password: <%= f.password_field :password %><br /> Password Confirmation: <%= f....
Add radio buttons to new user registration page for user type
Add radio buttons to new user registration page for user type
HTML+ERB
mit
jjparseghian/only_chai_proto,jjparseghian/only_chai_proto,jjparseghian/only_chai_proto
html+erb
## Code Before: <%= form_for(:user, html: { class: "small-6 small-centered columns" } ) do |f| %> First name: <%= f.text_field :first_name %><br /> Last name: <%= f.text_field :last_name %><br /> Email: <%= f.email_field :email %><br /> Password: <%= f.password_field :password %><br /> Password Conf...
d9b1ebc833c89768012f88b572ef475661b16111
app/assets/stylesheets/messages.css.scss
app/assets/stylesheets/messages.css.scss
div { font-family: 'Open Sans', sans-serif; /*text-transform: form: uppercase;*/ /*font-weight: 700;*/ } div.wrapper { width: 500px; margin: 0 auto; padding-bottom: 20px; } h1.title { text-transform: uppercase; position: static; display: block; font-weight: 800; letter-spacing: 3px; text-decor...
div { font-family: 'Open Sans', sans-serif; /*text-transform: form: uppercase;*/ /*font-weight: 700;*/ } div.wrapper { width: 500px; margin: 0 auto; padding-bottom: 20px; } h1.title { text-transform: uppercase; position: static; display: block; font-weight: 800; letter-spacing: 3px; text-decor...
Add word wrapping in message div
Add word wrapping in message div
SCSS
mit
loganhasson/furtively,loganhasson/furtively
scss
## Code Before: div { font-family: 'Open Sans', sans-serif; /*text-transform: form: uppercase;*/ /*font-weight: 700;*/ } div.wrapper { width: 500px; margin: 0 auto; padding-bottom: 20px; } h1.title { text-transform: uppercase; position: static; display: block; font-weight: 800; letter-spacing: 3...
3bd270f245b5e98a4784548d40959337dd050625
src/javascript/binary/components/trackjs_onerror.js
src/javascript/binary/components/trackjs_onerror.js
window._trackJs = { onError: function(payload, error) { function itemExistInList(item, list) { for (var i = 0; i < list.length; i++) { if (item.indexOf(list[i]) > -1) { return true; } } return false; } ...
window._trackJs = { onError: function(payload, error) { function itemExistInList(item, list) { for (var i = 0; i < list.length; i++) { if (item.indexOf(list[i]) > -1) { return true; } } return false; } ...
Check for TrackJs already loaded and if yes, reinitialize it. Fixed version.
Check for TrackJs already loaded and if yes, reinitialize it. Fixed version.
JavaScript
apache-2.0
animeshsaxena/binary-static,tfoertsch/binary-static,einhverfr/binary-static,einhverfr/binary-static,tfoertsch/binary-static,borisyankov/binary-static,einhverfr/binary-static,massihx/binary-static,animeshsaxena/binary-static,animeshsaxena/binary-static,brodiecapel16/binary-static,brodiecapel16/binary-static,borisyankov/...
javascript
## Code Before: window._trackJs = { onError: function(payload, error) { function itemExistInList(item, list) { for (var i = 0; i < list.length; i++) { if (item.indexOf(list[i]) > -1) { return true; } } return false; ...
27f77d9b3a8fc469b81b1a068b76fad543457320
6_max_profit/6-max_profit.rb
6_max_profit/6-max_profit.rb
def solution(a) # keep track of: old max, max_here max_old = 0 max_here = 0 # [-3, 5, 2] a.drop(1).each_index do |i| diff = a[i] - a[i-1] #diff = 5 - (-3) = 8 #diff = 2 - 5 = -3 # if diff > 0, redefine max_here, else set to 0. temp = max_old + diff #temp = 8 - 3 = 5 max_here =...
def solution(a) return 0 if a.size < 2 return 0 if a.size == 2 && a[1] <= a[0] low_so_far = a.first max_profit = 0 # for each price in a a.each do |price| # set max_profit to price-low_so_far if that difference is greater than the current max_profit diff_here = price - low_so_far max_profit = d...
Add max_profit solution in ruby
Add max_profit solution in ruby
Ruby
mit
etdev/codility,etdev/codility
ruby
## Code Before: def solution(a) # keep track of: old max, max_here max_old = 0 max_here = 0 # [-3, 5, 2] a.drop(1).each_index do |i| diff = a[i] - a[i-1] #diff = 5 - (-3) = 8 #diff = 2 - 5 = -3 # if diff > 0, redefine max_here, else set to 0. temp = max_old + diff #temp = 8 - 3 = ...
337d2a3caf472418f830c5e8b2a017d3f28d2639
scripts/check-deps.js
scripts/check-deps.js
if (process.platform != 'win32') { var commandExists = require('command-exists'); var colors = require('colors'); var depedencies = [ 'automake', 'autoconf', 'pkg-config', 'wget', 'libtool', 'python2' ]; depedencies.forEach(function(dep) { commandExists(dep, function(err, commandE...
if (process.platform != 'win32') { var commandExists = require('command-exists'); var colors = require('colors'); var depedencies = [ 'make', 'gcc', 'automake', 'autoconf', 'pkg-config', 'wget', 'libtool', 'python2' ]; depedencies.forEach(function(dep) { commandExists(dep,...
Add make and gcc to dependencies
chore(install): Add make and gcc to dependencies
JavaScript
bsd-3-clause
rgbkrk/nteract,0u812/nteract,nteract/composition,captainsafia/nteract,0u812/nteract,0u812/nteract,rgbkrk/nteract,captainsafia/nteract,jdfreder/nteract,temogen/nteract,rgbkrk/nteract,nteract/nteract,jdfreder/nteract,jdetle/nteract,temogen/nteract,jdfreder/nteract,rgbkrk/nteract,nteract/nteract,jdetle/nteract,captainsafi...
javascript
## Code Before: if (process.platform != 'win32') { var commandExists = require('command-exists'); var colors = require('colors'); var depedencies = [ 'automake', 'autoconf', 'pkg-config', 'wget', 'libtool', 'python2' ]; depedencies.forEach(function(dep) { commandExists(dep, functi...
8ab7a4a2f5a908e638cf7da92e138471000ab560
spec/support/executor_double.rb
spec/support/executor_double.rb
require "rspec/mocks" # This is a stub you can use in your tests that has the # same interface as the original executor module ExecutorDouble def executor_double executor = double executor.stub(:start_section) executor.stub(:start_task) executor.stub(:task_succeeded) executor.stub(:task_failed) ...
require "rspec/mocks" # This is a stub you can use in your tests that has the # same interface as the original executor module ExecutorDouble def executor_double executor = instance_double('Executor') executor.stub(:start_section) executor.stub(:start_task) executor.stub(:task_succeeded) executor...
Use verifying doubles for executors
Use verifying doubles for executors Also removed a stubbed method, that does not exist on the original Thanks, verifying doubles!
Ruby
mit
bitboxer/exogenesis,moonglum/exogenesis
ruby
## Code Before: require "rspec/mocks" # This is a stub you can use in your tests that has the # same interface as the original executor module ExecutorDouble def executor_double executor = double executor.stub(:start_section) executor.stub(:start_task) executor.stub(:task_succeeded) executor.stub...
4969c3965dc7ec3976027e86b00a365e5e13ac28
index.html
index.html
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Arnaud Dellinger</title> <link rel="stylesheet" type="text/css" href="./assets/css/index.css"> </head> <body> <div class="wrapper"> <header> <div id="p...
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Arnaud Dellinger</title> <link rel="stylesheet" type="text/css" href="./assets/css/index.css"> <meta name="theme-color" content="#FF8A80"> <meta name="msapplication-...
Set some address bar background color
Set some address bar background color
HTML
mit
eveningkid/eveningkid.github.io,eveningkid/eveningkid.github.io
html
## Code Before: <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Arnaud Dellinger</title> <link rel="stylesheet" type="text/css" href="./assets/css/index.css"> </head> <body> <div class="wrapper"> <header> ...
58ae6cc6633d6951c32c699da2f2831ba0194c43
public/template/login.jade
public/template/login.jade
form.form-horizontal#login(method="post", action="/main/javascript-disabled") legend Login to your account .control-group#nickname-group label.control-label(for="nickname") Nickname .controls input#nickname(type="text", name="nickname", size="16") .control-group#password-group l...
form.form-horizontal#login(method="post", action="/main/javascript-disabled") legend Login to your account .control-group#nickname-group label.control-label(for="nickname") Nickname .controls input#nickname(type="text", name="nickname", size="16") .control-group#password-group l...
Add a space before 'Forgot your password' link
Add a space before 'Forgot your password' link
Jade
apache-2.0
e14n/pump.io,stephensekula/pump.io,e14n/pump.io,stephensekula/pump.io,e14n/pump.io,pump-io/pump.io,pump-io/pump.io,stephensekula/pump.io,pump-io/pump.io
jade
## Code Before: form.form-horizontal#login(method="post", action="/main/javascript-disabled") legend Login to your account .control-group#nickname-group label.control-label(for="nickname") Nickname .controls input#nickname(type="text", name="nickname", size="16") .control-group#passwo...
0546ab581677975f491307f418abec0cc3343e13
src/main/java/entitygen/FileClassLoader.java
src/main/java/entitygen/FileClassLoader.java
package entitygen; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStream; import java.nio.ByteBuffer; public class FileClassLoader extends ClassLoader { public FileClassLoader() { // Empty } public Class<?> nameToClass(String className, String fileName) { try (InputStream is ...
package entitygen; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStream; import java.nio.ByteBuffer; /** * Plain File-based class loader * @author Ian Darwin */ public class FileClassLoader extends ClassLoader { private final String dir; public FileClassLo...
Make it grow up to be a real ClassLoader
Make it grow up to be a real ClassLoader
Java
bsd-2-clause
IanDarwin/entitygen,IanDarwin/entitygen
java
## Code Before: package entitygen; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStream; import java.nio.ByteBuffer; public class FileClassLoader extends ClassLoader { public FileClassLoader() { // Empty } public Class<?> nameToClass(String className, String fileName) { try ...
d0feb7e6f86fe8262345ebf39fe87fa2e6f9ab1e
db/migrate/001_chef_models.rb
db/migrate/001_chef_models.rb
Sequel.migration do change do # rw_attribute :id # rw_attribute :authz_id # rw_attribute :first_name # rw_attribute :last_name # rw_attribute :middle_name # rw_attribute :display_name # rw_attribute :email # rw_attribute :username # rw_attribute :public_key # rw_attribute :cer...
Sequel.migration do change do create_table(:users) do String(:id, :primary_key => true, :fixed => true, :size => 32) String(:authz_id, :null => false, :index => true, :fixed => true, :size => 32, :unique => true) String(:username, :null => false, :index => true, :unique => true) String(:e...
Update user schema, add email field and uniqueness constraints
Update user schema, add email field and uniqueness constraints
Ruby
apache-2.0
chef/mixlib-authorization
ruby
## Code Before: Sequel.migration do change do # rw_attribute :id # rw_attribute :authz_id # rw_attribute :first_name # rw_attribute :last_name # rw_attribute :middle_name # rw_attribute :display_name # rw_attribute :email # rw_attribute :username # rw_attribute :public_key # r...
fb9e07f755113f5f366d716a0e140d9ac1773bdc
.travis.yml
.travis.yml
language: go go: 1.6 install: make get-deps script: - make go - make test - make test-integration
language: java jdk: oraclejdk8 before_install: GIMME_OUTPUT=$(gimme 1.6) && eval "$GIMME_OUTPUT" install: make get-deps script: - make go - make test - make test-integration - make java - make test-java
Add Java building to the Travis config
Add Java building to the Travis config The main language is Java because installing Go is much simpler than installing Java.
YAML
bsd-3-clause
vanadium/core,vanadium/core,vanadium/core,vanadium/core
yaml
## Code Before: language: go go: 1.6 install: make get-deps script: - make go - make test - make test-integration ## Instruction: Add Java building to the Travis config The main language is Java because installing Go is much simpler than installing Java. ## Code After: language: java jdk: oraclejdk8 before_ins...
ba7bc561e45534a95b7dd7e82b16226ed53894ff
README.md
README.md
This Gradle plugin provides a migration path for projects coming from a Maven ecosystem. It exposes standard Maven configuration located in [settings files](http://maven.apache.org/settings.htm) to your Gradle project. This allows projects to continue to leverage functionality provided by Maven such as mirrors as wel...
[ ![Download](https://api.bintray.com/packages/markvieira/maven/gradle-maven-settings-plugin/images/download.svg) ](https://bintray.com/markvieira/maven/gradle-maven-settings-plugin/_latestVersion) # Gradle Maven settings plugin This Gradle plugin provides a migration path for projects coming from a Maven ecosystem. ...
Add usage instructions to readme.
Add usage instructions to readme.
Markdown
apache-2.0
mark-vieira/gradle-maven-settings-plugin
markdown
## Code Before: This Gradle plugin provides a migration path for projects coming from a Maven ecosystem. It exposes standard Maven configuration located in [settings files](http://maven.apache.org/settings.htm) to your Gradle project. This allows projects to continue to leverage functionality provided by Maven such a...
9eb8da75813eb4e6c17078cc0b3c43feb8691473
requirements.txt
requirements.txt
joblib==0.8.4 numpy==1.9.1 scikit-learn==0.15.2 scipy==0.15.1 -e git+https://github.com/Theano/Theano.git@#egg=Theano -e git+https://github.com/benanne/lasagne.git@#egg=Lasagne
joblib==0.8.4 scikit-learn==0.15.2 -e git+https://github.com/Theano/Theano.git@#egg=Theano -e git+https://github.com/benanne/lasagne.git@#egg=Lasagne
Allow install of these two through OS package manager.
Allow install of these two through OS package manager.
Text
mit
cancan101/nolearn,scottlittle/nolearn,Adai0808/nolearn,BenjaminBossan/nolearn,rubensmachado/nolearn,williford/nolearn,josephmisiti/nolearn,dnouri/nolearn
text
## Code Before: joblib==0.8.4 numpy==1.9.1 scikit-learn==0.15.2 scipy==0.15.1 -e git+https://github.com/Theano/Theano.git@#egg=Theano -e git+https://github.com/benanne/lasagne.git@#egg=Lasagne ## Instruction: Allow install of these two through OS package manager. ## Code After: joblib==0.8.4 scikit-learn==0.15.2 -e g...
0926e77f56e60f9b26ccd52cb946dcf4442ce144
app/views/timeline/index.html.erb
app/views/timeline/index.html.erb
<h1> TimeLine </h1>
<div class="col-xs-12 col-sm-7 col-md-8"> <div class="row jumbotron"> <h2> Você doou sangue recentemente ? <br /> <small>Junte-se a comunidade</small> </h2> <button class="btn btn-danger btn-lg pull-right" data-toggle="modal" data-target="#myModal"> <i class="fa fa-tint"></i> Info...
Add modal template and jumbotron header to timeline template
[Template] Add modal template and jumbotron header to timeline template
HTML+ERB
mit
marceloboeira/spread_blood,marceloboeira/spread_blood,SpreadBlood/core,SpreadBlood/core,SpreadBlood/core,marceloboeira/spread_blood
html+erb
## Code Before: <h1> TimeLine </h1> ## Instruction: [Template] Add modal template and jumbotron header to timeline template ## Code After: <div class="col-xs-12 col-sm-7 col-md-8"> <div class="row jumbotron"> <h2> Você doou sangue recentemente ? <br /> <small>Junte-se a comunidade</small> ...
fb0c97100ab5076d693b40aa968b656b403970b1
test/test_helper.rb
test/test_helper.rb
require 'minitest' require_relative "../lib/database_manager" DatabaseManager.connect_test_database
require 'minitest' require 'minitest/autorun' require_relative "../lib/database_manager" DatabaseManager.connect_test_database
Add autorun to all tests
Add autorun to all tests
Ruby
mit
Masa331/suptasks,Masa331/suptasks,Masa331/suptasks
ruby
## Code Before: require 'minitest' require_relative "../lib/database_manager" DatabaseManager.connect_test_database ## Instruction: Add autorun to all tests ## Code After: require 'minitest' require 'minitest/autorun' require_relative "../lib/database_manager" DatabaseManager.connect_test_database
d74c29b26b609daca157fc49082be003a643791f
README.rst
README.rst
Pysphere Library for Robot Framework ==================================== Introduction ------------ Robot Framework (http://robotframework.org) test library for VMWare interaction using the great pysphere library (http://code.google.com/p/pysphere/) The library has the following main usages: * Identifying available...
Pysphere Library for Robot Framework ==================================== Introduction ------------ Robot Framework (http://robotframework.org) test library for VMWare interaction using the great pysphere library (http://code.google.com/p/pysphere/) The library has the following main usages: * Identifying available...
Update installation instructions, fix formatting of authors
Update installation instructions, fix formatting of authors
reStructuredText
apache-2.0
mmDonuts/robotframework-pyspherelibrary
restructuredtext
## Code Before: Pysphere Library for Robot Framework ==================================== Introduction ------------ Robot Framework (http://robotframework.org) test library for VMWare interaction using the great pysphere library (http://code.google.com/p/pysphere/) The library has the following main usages: * Ident...
0d05e6ad4efb0ff8b267e0f508332a2bb9714227
build-aux/fix-libtool-la.mk
build-aux/fix-libtool-la.mk
%.la.stamp: %.la $(build_aux_dir)/fix-libtool-la $< $@ LTLIBRARIES_STAMPS = $(LTLIBRARIES:=.stamp) CLEANFILES += $(LTLIBRARIES_STAMPS) $(LTLIBRARIES:=.bak) EXTRA_DIST += $(build_aux_dir)/fix-libtool-la all-local: $(LTLIBRARIES_STAMPS)
%.la.stamp: %.la $(build_aux_dir)/fix-libtool-la $< $@ LTLIBRARIES_STAMPS = $(LTLIBRARIES:=.stamp) CLEANFILES += $(LTLIBRARIES_STAMPS) $(LTLIBRARIES:=.bak) EXTRA_DIST += $(build_aux_dir)/fix-libtool-la all-local: $(LTLIBRARIES_STAMPS) ## ------------------------------------------------------ ## ## Workaround inst...
Work around installed libtool libraries under windows.
Work around installed libtool libraries under windows. * build-aux/fix-libtool-la.mk: here.
Makefile
bsd-3-clause
aldebaran/libport,aldebaran/libport,aldebaran/libport,aldebaran/libport,aldebaran/libport
makefile
## Code Before: %.la.stamp: %.la $(build_aux_dir)/fix-libtool-la $< $@ LTLIBRARIES_STAMPS = $(LTLIBRARIES:=.stamp) CLEANFILES += $(LTLIBRARIES_STAMPS) $(LTLIBRARIES:=.bak) EXTRA_DIST += $(build_aux_dir)/fix-libtool-la all-local: $(LTLIBRARIES_STAMPS) ## Instruction: Work around installed libtool libraries under wi...
5e827764a42453535efc51186e1554a2749d8139
bower.json
bower.json
{ "name": "juicy-html", "description": "Custom Element that lets you load HTML partials into your Web Components", "version": "1.0.0-pre.1", "homepage": "https://github.com/Juicy/juicy-html", "authors": [ "Joachim Wester <joachimwester@me.com>", "Marcin Warpechowski <marcin@nextgen.pl>", "Tomek Wy...
{ "name": "juicy-html", "description": "Custom Element that lets you load HTML partials into your Web Components", "version": "1.0.0-pre.1", "homepage": "https://github.com/Juicy/juicy-html", "authors": [ "Joachim Wester <joachimwester@me.com>", "Marcin Warpechowski <marcin@nextgen.pl>", "Tomek Wy...
Remove not used paper elements from devDependencies
Remove not used paper elements from devDependencies
JSON
mit
Juicy/juicy-html,Juicy/juicy-html
json
## Code Before: { "name": "juicy-html", "description": "Custom Element that lets you load HTML partials into your Web Components", "version": "1.0.0-pre.1", "homepage": "https://github.com/Juicy/juicy-html", "authors": [ "Joachim Wester <joachimwester@me.com>", "Marcin Warpechowski <marcin@nextgen.pl>...
20ea8231a0b26a1d9da87d8f00ac6db11706a068
requirements.txt
requirements.txt
boltons dask[bag] doct event-model >=1.11.1b1 humanize intake >=0.5.2 # first release to use entrypoints intake-xarray >=0.3.1 # first release to use entrypoints jinja2 jsonschema mongoquery msgpack msgpack-numpy # to be split into extras or a separate package numpy pandas pims pymongo # to be split into extras or ...
boltons dask[bag] doct event-model >=1.11.1b1 humanize intake >=0.5.2 # first release to use entrypoints intake-xarray >=0.3.1 # first release to use entrypoints jinja2 jsonschema mongoquery msgpack msgpack-numpy # to be split into extras or a separate package numpy pandas pims pymongo # to be split into extras or ...
Include suitcase-msgpack so Broker.named('temp').insert works.
Include suitcase-msgpack so Broker.named('temp').insert works.
Text
bsd-3-clause
ericdill/databroker,ericdill/databroker
text
## Code Before: boltons dask[bag] doct event-model >=1.11.1b1 humanize intake >=0.5.2 # first release to use entrypoints intake-xarray >=0.3.1 # first release to use entrypoints jinja2 jsonschema mongoquery msgpack msgpack-numpy # to be split into extras or a separate package numpy pandas pims pymongo # to be split...
44ea0e5b7be18ecc453bc744e9d134aa22de5563
spec/spec_helper.rb
spec/spec_helper.rb
if ENV["CODECLIMATE_REPO_TOKEN"] require "codeclimate-test-reporter" CodeClimate::TestReporter.start end require "interactor/rails" require "bundler" Bundler.require(:test) ROOT = File.expand_path("../..", __FILE__) Dir[File.expand_path("../support/*.rb", __FILE__)].each { |f| require f }
if ENV["CODECLIMATE_REPO_TOKEN"] require "simplecov" SimpleCov.start end require "interactor/rails" require "bundler" Bundler.require(:test) ROOT = File.expand_path("../..", __FILE__) Dir[File.expand_path("../support/*.rb", __FILE__)].each { |f| require f }
Upgrade to the latest version of the CodeClimate test reporter
Upgrade to the latest version of the CodeClimate test reporter
Ruby
mit
collectiveidea/interactor-rails,collectiveidea/interactor-rails
ruby
## Code Before: if ENV["CODECLIMATE_REPO_TOKEN"] require "codeclimate-test-reporter" CodeClimate::TestReporter.start end require "interactor/rails" require "bundler" Bundler.require(:test) ROOT = File.expand_path("../..", __FILE__) Dir[File.expand_path("../support/*.rb", __FILE__)].each { |f| require f } ## In...
99c454415499e3a3cd039ebb7b49cc6baf54a1fe
config/plugins/check_nsca.ini
config/plugins/check_nsca.ini
[PATTERN] define service { host_name $host_name use generic-service check_command check_nsca service_description $description _WARN $warn _CRIT $crit # leave $serviceDirectives (unindented + curly brace on ...
[PATTERN] define service { host_name $host_name use generic-service check_command check_nsca service_description $description _WARN $warn _CRIT $crit # leave $serviceDirectives (unindented + curly brace on ...
Fix : no command name necessary for passive checks
Fix : no command name necessary for passive checks
INI
agpl-3.0
Httqm/Santoku,Httqm/Santoku
ini
## Code Before: [PATTERN] define service { host_name $host_name use generic-service check_command check_nsca service_description $description _WARN $warn _CRIT $crit # leave $serviceDirectives (unindented +...
6c70998c81dfe945ab82fdf0f2b99cb73ee1b031
setup.py
setup.py
from setuptools import setup, find_packages setup( name='myria-python', version='1.1', author='Daniel Halperin', author_email='dhalperi@cs.washington.edu', packages=find_packages(), scripts=[], url='https://github.com/uwescience/myria', description='Python interface for Myria.', lon...
from setuptools import setup, find_packages setup( name='myria-python', version='1.1', author='Daniel Halperin', author_email='dhalperi@cs.washington.edu', packages=find_packages(), scripts=[], url='https://github.com/uwescience/myria', description='Python interface for Myria.', lon...
Add upload file console script
Add upload file console script
Python
bsd-3-clause
uwescience/myria-python,uwescience/myria-python
python
## Code Before: from setuptools import setup, find_packages setup( name='myria-python', version='1.1', author='Daniel Halperin', author_email='dhalperi@cs.washington.edu', packages=find_packages(), scripts=[], url='https://github.com/uwescience/myria', description='Python interface for ...
24a85bb40594bda3fe30d401cdba639a0bccfc25
src/dom_components/model/ComponentSvg.js
src/dom_components/model/ComponentSvg.js
var Component = require('./Component'); module.exports = Component.extend({ getName() { let name = this.get('tagName'); let customName = this.get('custom-name'); name = name.charAt(0).toUpperCase() + name.slice(1); return customName || name; }, }, { isComponent(el) { if (SVGElement && el i...
var Component = require('./Component'); module.exports = Component.extend({ defaults: { ...Component.prototype.defaults, highlightable: 0, }, getName() { let name = this.get('tagName'); let customName = this.get('custom-name'); name = name.charAt(0).toUpperCase() + name.slice(1); return cus...
Set highlightable to false on SVG components
Set highlightable to false on SVG components
JavaScript
bsd-3-clause
QuorumDMS/grapesjs,artf/grapesjs,artf/grapesjs,artf/grapesjs,QuorumDMS/grapesjs
javascript
## Code Before: var Component = require('./Component'); module.exports = Component.extend({ getName() { let name = this.get('tagName'); let customName = this.get('custom-name'); name = name.charAt(0).toUpperCase() + name.slice(1); return customName || name; }, }, { isComponent(el) { if (SV...
420e59030b151a5634e31beaa1d80f1eac079295
app/views/projects/project_members/_new_project_member.html.haml
app/views/projects/project_members/_new_project_member.html.haml
= form_for @project_member, as: :project_member, url: namespace_project_project_members_path(@project.namespace, @project), html: { class: 'form-horizontal users-project-form' } do |f| .form-group = f.label :user_ids, "People", class: 'control-label' .col-sm-10 = users_select_tag(:user_ids, multiple: tr...
= form_for @project_member, as: :project_member, url: namespace_project_project_members_path(@project.namespace, @project), html: { class: 'form-horizontal users-project-form' } do |f| .form-group = f.label :user_ids, "People", class: 'control-label' .col-sm-10 = users_select_tag(:user_ids, multiple: tr...
Initialize the datepicker - the ugly way :(
Initialize the datepicker - the ugly way :(
Haml
mit
mmkassem/gitlabhq,stoplightio/gitlabhq,openwide-java/gitlabhq,dplarson/gitlabhq,SVArago/gitlabhq,htve/GitlabForChinese,dreampet/gitlab,allysonbarros/gitlabhq,mr-dxdy/gitlabhq,SVArago/gitlabhq,jirutka/gitlabhq,t-zuehlsdorff/gitlabhq,shinexiao/gitlabhq,htve/GitlabForChinese,LUMC/gitlabhq,t-zuehlsdorff/gitlabhq,mr-dxdy/gi...
haml
## Code Before: = form_for @project_member, as: :project_member, url: namespace_project_project_members_path(@project.namespace, @project), html: { class: 'form-horizontal users-project-form' } do |f| .form-group = f.label :user_ids, "People", class: 'control-label' .col-sm-10 = users_select_tag(:user_i...
9257fc23c83c90d9285b2131f53241885ee95b9b
imagepipeline/src/main/java/com/facebook/imagepipeline/memory/DummyBitmapPool.java
imagepipeline/src/main/java/com/facebook/imagepipeline/memory/DummyBitmapPool.java
/* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ package com.facebook.imagepipeline.memory; import android.graphics.Bitmap; import com.facebook.common.memory.MemoryTrimType; import...
/* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ package com.facebook.imagepipeline.memory; import android.graphics.Bitmap; import com.facebook.common.internal.Preconditions; impor...
Add Preconditions NPE check to pool release method
Add Preconditions NPE check to pool release method Reviewed By: oprisnik Differential Revision: D14706933 fbshipit-source-id: 5ef5a1dbee73ce1ec11533efeb61845fa15a61a5
Java
mit
facebook/fresco,facebook/fresco,facebook/fresco,facebook/fresco,facebook/fresco,facebook/fresco
java
## Code Before: /* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ package com.facebook.imagepipeline.memory; import android.graphics.Bitmap; import com.facebook.common.memory.Memory...
44b76f434e557f631a1568f86798f00701720313
demos/blink_ats/main.dats
demos/blink_ats/main.dats
implement main0 () = ()
%{^ #include "LPC17xx.h" %} %{ volatile int g_LoopDummy; void c_blink(void) { LPC_GPIO1->FIODIR |= 1 << 18; // P1.18 connected to LED1 while(1) { int i; LPC_GPIO1->FIOPIN ^= 1 << 18; // Toggle P1.18 for (i = 0 ; i < 5000000 && !g_LoopDummy ; i++) { } } } %} extern fun c_blink (): void = "mac#" implem...
Include C raw source code
Include C raw source code
ATS
apache-2.0
fpiot/mbed-ats,fpiot/mbed-ats,fpiot/mbed-ats,fpiot/mbed-ats,fpiot/mbed-ats,fpiot/mbed-ats
ats
## Code Before: implement main0 () = () ## Instruction: Include C raw source code ## Code After: %{^ #include "LPC17xx.h" %} %{ volatile int g_LoopDummy; void c_blink(void) { LPC_GPIO1->FIODIR |= 1 << 18; // P1.18 connected to LED1 while(1) { int i; LPC_GPIO1->FIOPIN ^= 1 << 18; // Toggle P1.18 for (i = 0...
6582351c5e2e95caca8dabfb71c6b4bae987f5e9
termite/workerstatus.go
termite/workerstatus.go
package termite import ( "fmt" "http" ) func (me *WorkerDaemon) httpHandler(w http.ResponseWriter, r *http.Request) { fmt.Fprintf(w, "<html><head><title>Termite worker</head></title>") fmt.Fprintf(w, "<h1>Termite worker status</h1>") fmt.Fprintf(w, "<body><pre>") me.masterMapMutex.Lock() defer me.masterMapMute...
package termite import ( "fmt" "http" ) func (me *WorkerDaemon) httpHandler(w http.ResponseWriter, r *http.Request) { fmt.Fprintf(w, "<html><head><title>Termite worker</head></title>") fmt.Fprintf(w, "<h1>Termite worker status</h1>") fmt.Fprintf(w, "<body>") me.masterMapMutex.Lock() defer me.masterMapMutex.Unl...
Drop <pre> to make long commands readable.
Drop <pre> to make long commands readable.
Go
bsd-3-clause
hanwen/termite,hanwen/termite,hanwen/termite
go
## Code Before: package termite import ( "fmt" "http" ) func (me *WorkerDaemon) httpHandler(w http.ResponseWriter, r *http.Request) { fmt.Fprintf(w, "<html><head><title>Termite worker</head></title>") fmt.Fprintf(w, "<h1>Termite worker status</h1>") fmt.Fprintf(w, "<body><pre>") me.masterMapMutex.Lock() defer ...
a1ff4fea99f16767158e08260ca46c4c8de734a6
test/perfecta_test.rb
test/perfecta_test.rb
require_relative 'test_helper' class PerfectaTest < MiniTest::Unit::TestCase describe 'Perfecta client' do it 'is initialized with an email and password' do client = Perfecta::Client.new do |c| c.email = 'email' c.password = 'password' end client.must_be_instance_of Perfecta::...
require_relative 'test_helper' class PerfectaTest < MiniTest::Unit::TestCase describe 'Perfecta client' do before do @client = Perfecta::Client.new do |c| c.email = 'email@ddress' c.password = 'password' end end it 'is initialized with an email and password' do @clien...
Test email and password is set
Test email and password is set
Ruby
mit
gary-rafferty/perfecta
ruby
## Code Before: require_relative 'test_helper' class PerfectaTest < MiniTest::Unit::TestCase describe 'Perfecta client' do it 'is initialized with an email and password' do client = Perfecta::Client.new do |c| c.email = 'email' c.password = 'password' end client.must_be_instan...
8f98b52ec670ecfe89f243348f7815b0ae71eed7
gog_utils/gol_connection.py
gog_utils/gol_connection.py
"""Module hosting class representing connection to GoL.""" import json import requests import os import stat WEBSITE_URL = "http://www.gogonlinux.com" AVAILABLE_GAMES = "/available" BETA_GAMES = "/available-beta" def obtain_available_games(): """Returns JSON list of all available games.""" resp = requests.ge...
"""Module hosting class representing connection to GoL.""" import json import requests import os import stat WEBSITE_URL = "http://www.gogonlinux.com" AVAILABLE_GAMES = "/available" BETA_GAMES = "/available-beta" def obtain_available_games(): """Returns JSON list of all available games.""" resp = requests.ge...
Disable falsely reported pylint errors due to unresolved library type
Disable falsely reported pylint errors due to unresolved library type Signed-off-by: Morgawr <528620cabbf4155b02d05fdb6013cd6bb6ad54b5@gmail.com>
Python
bsd-3-clause
Morgawr/gogonlinux,Morgawr/gogonlinux
python
## Code Before: """Module hosting class representing connection to GoL.""" import json import requests import os import stat WEBSITE_URL = "http://www.gogonlinux.com" AVAILABLE_GAMES = "/available" BETA_GAMES = "/available-beta" def obtain_available_games(): """Returns JSON list of all available games.""" re...
477335831d8eb994e40e35d6af9427819056fbfe
package.json
package.json
{ "name": "web3rpc", "version": "0.0.1", "description": "Web3RPC - Wrapper around web3.js and JSON RPC protocol", "author": "Tim Coulter", "main": "dist/web3rpc.js", "private": false, "repository": { "type": "git", "url": "https://github.com/tcoulter/web3rpc.git" }, "devDependencies": { "g...
{ "name": "web3rpc", "version": "0.0.1", "description": "Web3RPC - Wrapper around web3.js and JSON RPC protocol", "author": "Tim Coulter", "main": "dist/web3rpc.js", "private": false, "repository": { "type": "git", "url": "https://github.com/tcoulter/web3rpc.git" }, "devDependencies": { "g...
Remove coffeescript as a dependency as it's never required.
Remove coffeescript as a dependency as it's never required.
JSON
mit
CostaDave/Web3RPC
json
## Code Before: { "name": "web3rpc", "version": "0.0.1", "description": "Web3RPC - Wrapper around web3.js and JSON RPC protocol", "author": "Tim Coulter", "main": "dist/web3rpc.js", "private": false, "repository": { "type": "git", "url": "https://github.com/tcoulter/web3rpc.git" }, "devDepende...
101fdb878da8484f95dd8a7bc4a7c25d0a81be3c
metadata/com.fgrim.msnake.txt
metadata/com.fgrim.msnake.txt
Categories:Games License:Apache2 Web Site:http://fgrim.com/msnake Source Code:https://gitorious.org/f-droid-mirrors/msnake/source/master Issue Tracker: Summary:Classic snake game Description: The classic snake game. . Repo Type:git Repo:https://git.gitorious.org/f-droid-mirrors/msnake.git Build:1.6,7 commit=v1.6...
Categories:Games License:Apache2 Web Site:http://fgrim.com/msnake Source Code:https://gitorious.org/f-droid-mirrors/msnake/source/master Issue Tracker: Auto Name:MSnake Summary:Classic snake game Description: The classic snake game. . Repo Type:git Repo:https://git.gitorious.org/f-droid-mirrors/msnake.git Build:1.6,...
Update MSnake to 2.0 (12)
Update MSnake to 2.0 (12)
Text
agpl-3.0
f-droid/fdroiddata,f-droid/fdroiddata,f-droid/fdroid-data
text
## Code Before: Categories:Games License:Apache2 Web Site:http://fgrim.com/msnake Source Code:https://gitorious.org/f-droid-mirrors/msnake/source/master Issue Tracker: Summary:Classic snake game Description: The classic snake game. . Repo Type:git Repo:https://git.gitorious.org/f-droid-mirrors/msnake.git Build:1.6,7...
3214753ff7c7903fcbc504589da85a3fcac7847c
common/tar.md
common/tar.md
> Archiving utility > Optional compression with gzip / bzip - create an archive from files `tar cf {{target.tar}} {{file1 file2 file3}}` - create a gzipped archive `tar cfz {{target.tar.gz}} {{file1 file2 file3}}` - extract an archive in a target folder `tar xf {{source.tar}} -C {{folder}}`
> Archiving utility > Optional compression with gzip / bzip - create an archive from files `tar cf {{target.tar}} {{file1 file2 file3}}` - create a gzipped archive `tar cfz {{target.tar.gz}} {{file1 file2 file3}}` - extract an archive in a target folder `tar xf {{source.tar}} -C {{folder}}` - extract a gzipped ...
Add a use case for extracting gzip archives
Add a use case for extracting gzip archives
Markdown
mit
mshmoustafa/tldr,UncommonPleb/tldr,NegaMorgan/tldr,deekim/tldr,Phizho/tldr,katekyan/tldr,danieldiekmeier/tldr,Parth-Mehrotra/tldr,deekim/tldr,e0i/tldr,lord63-forks/tldr,WANG-lp/tldr,kuanyui/tldr,igorshubovych/tldr,Parth-Mehrotra/tldr,WALL-E/tldr,AgamAgarwal/tldr,katekyan/tldr,mshmoustafa/tldr,jeremyruppel/tldr,felixonm...
markdown
## Code Before: > Archiving utility > Optional compression with gzip / bzip - create an archive from files `tar cf {{target.tar}} {{file1 file2 file3}}` - create a gzipped archive `tar cfz {{target.tar.gz}} {{file1 file2 file3}}` - extract an archive in a target folder `tar xf {{source.tar}} -C {{folder}}` ## I...
99a7eb86808cb44d99606ed2aa60c7cd489e30f7
spec/generator/generator_spec.rb
spec/generator/generator_spec.rb
require 'spec_helper' describe Uniqueness do context 'generate' do it { expect(Uniqueness.generate).not_to be_nil } end end
require 'spec_helper' describe Uniqueness do context 'generate' do it { expect(Uniqueness.generate).not_to be_nil } it { expect(Uniqueness.generate(type: :numbers)).to match(/^[0-9]+$/) } it { expect(Uniqueness.generate(prefix: 'hassan').index('hassan')).to eq 0 } it { expect(Uniqueness.generate(suff...
Add specs for generate custom numbers with prefix and suffix options
Add specs for generate custom numbers with prefix and suffix options
Ruby
mit
eventtus/uniqueness,eventtus/uniqueness
ruby
## Code Before: require 'spec_helper' describe Uniqueness do context 'generate' do it { expect(Uniqueness.generate).not_to be_nil } end end ## Instruction: Add specs for generate custom numbers with prefix and suffix options ## Code After: require 'spec_helper' describe Uniqueness do context 'generate' do...
20e9babc3ac38a96dd8979f0a9a3c7f240b1cf79
src/clojure/staircase/config.clj
src/clojure/staircase/config.clj
(ns staircase.config (:use [clojure.java.io :as io] [clojure.string :only (replace-first)]) (:require [clojure.tools.reader.edn :as edn])) (defn- from-edn [fname] (if-let [is (io/resource fname)] (with-open [rdr (-> is io/reader java.io.PushbackReader.)...
(ns staircase.config (:use [clojure.java.io :as io] [clojure.string :only (replace-first)]) (:require [clojure.tools.reader.edn :as edn])) (defn- from-edn [fname] (if-let [is (io/resource fname)] (with-open [rdr (-> is io/reader java.io.PushbackReader.)...
Allow the use of the DATABASE_URL env variable.
Allow the use of the DATABASE_URL env variable.
Clojure
bsd-2-clause
joshkh/staircase,yochannah/staircase,yochannah/staircase,yochannah/staircase,joshkh/staircase,joshkh/staircase
clojure
## Code Before: (ns staircase.config (:use [clojure.java.io :as io] [clojure.string :only (replace-first)]) (:require [clojure.tools.reader.edn :as edn])) (defn- from-edn [fname] (if-let [is (io/resource fname)] (with-open [rdr (-> is io/reader java.io....
14a97778e5a85f8481d8e58a0b451c46cdf733da
prtg.gemspec
prtg.gemspec
Gem::Specification.new do |s| s.platform = Gem::Platform::RUBY s.name = 'prtg' s.version = '0.0.1' s.summary = 'Wrapper for the prtg network monitor api (http://www.paessler.com/prtg)' s.description = 'Prtg is an network monitoring solution which provides a api throug http. This lib wrapps i...
Gem::Specification.new do |s| s.platform = Gem::Platform::RUBY s.name = 'prtg' s.version = '0.0.1' s.summary = 'Wrapper for the prtg network monitor api (http://www.paessler.com/prtg)' s.description = 'This gem is a wrapper around the prth http api.Prtg is an network monitoring solution whic...
Change required ruby and description
Change required ruby and description
Ruby
mit
ikaros/Prtg-for-Ruby
ruby
## Code Before: Gem::Specification.new do |s| s.platform = Gem::Platform::RUBY s.name = 'prtg' s.version = '0.0.1' s.summary = 'Wrapper for the prtg network monitor api (http://www.paessler.com/prtg)' s.description = 'Prtg is an network monitoring solution which provides a api throug http. T...
780ccf25645ffc0d09e77e811263df6c52586e89
stickyFooter.hbs
stickyFooter.hbs
--- title: Sticky footer example template: default stickyFooter: active --- {{> navbar }} <!-- begin: content container --> <div class="container"> <!-- begin: content --> <h1>Sticky footer with fixed navbar</h1> <p class="lead"> Pin a fixed-height footer to the bottom of the viewport in desktop browser...
--- title: Sticky footer example stickyFooter: active --- {{> navbar }} <!-- begin: content container --> <div class="container"> <!-- begin: content --> <h1>Sticky footer with fixed navbar</h1> <p class="lead"> Pin a fixed-height footer to the bottom of the viewport in desktop browsers with this custom...
Remove unneeded `template: default` from Frontmatters
Remove unneeded `template: default` from Frontmatters
Handlebars
mit
micromata/bootstrap-kickstart,micromata/bootstrap-kickstart
handlebars
## Code Before: --- title: Sticky footer example template: default stickyFooter: active --- {{> navbar }} <!-- begin: content container --> <div class="container"> <!-- begin: content --> <h1>Sticky footer with fixed navbar</h1> <p class="lead"> Pin a fixed-height footer to the bottom of the viewport in...
4bc7e359bcf22c9b2bb76a453cd7e5784af83482
docs/howto_use_ppl.rst
docs/howto_use_ppl.rst
HowTos ======== .. toctree:: :caption: HowTos examples/howto_use_aesara.md examples/howto_use_numpyro.md examples/howto_use_pymc.md examples/howto_use_tfp.md
Use the model I built with X? ============================= .. toctree:: :maxdepth: 1 examples/howto_use_aesara.md examples/howto_use_numpyro.md examples/howto_use_pymc.md examples/howto_use_tfp.md
Change how HOWTOs are displayed in the navigation bar
Change how HOWTOs are displayed in the navigation bar
reStructuredText
apache-2.0
blackjax-devs/blackjax
restructuredtext
## Code Before: HowTos ======== .. toctree:: :caption: HowTos examples/howto_use_aesara.md examples/howto_use_numpyro.md examples/howto_use_pymc.md examples/howto_use_tfp.md ## Instruction: Change how HOWTOs are displayed in the navigation bar ## Code After: Use the model I built with X? ============...
701bf3a3dca5a3839c7e3612605b9129c6cfc21b
src/directives/formly-field-radio.html
src/directives/formly-field-radio.html
<div class="radio-group"> <label class="control-label"> {{options.label}} {{options.required ? '*' : ''}} </label> <div class="radio" ng-repeat="(key, option) in options.options"> <label> <input type="radio" name="{{id}}" id="{{id + '_'+ $index}}" ng-value="option.value" ng-mo...
<div class="radio-group"> <label class="control-label"> {{options.label}} {{options.required ? '*' : ''}} </label> <div class="radio" ng-repeat="(key, option) in options.options"> <label> <input type="radio" name="{{id}}" id="{{id + '_'+ $index}}" ng-value="option.value" ...
Add ng-required to radio group
Add ng-required to radio group
HTML
mit
tb/angular-formly,ccasad/angular-formly,drmikecrowe/angular-formly,davincho/angular-formly,shairez/angular-formly,benhalverson/angular-formly,Den-dp/angular-formly,dfromero/angular-formly,ValentinH/angular-formly,gonimbly/angular-formly,gjcarrow/angular-formly,dannycallaghan/angular-formly,davincho/angular-formly,benha...
html
## Code Before: <div class="radio-group"> <label class="control-label"> {{options.label}} {{options.required ? '*' : ''}} </label> <div class="radio" ng-repeat="(key, option) in options.options"> <label> <input type="radio" name="{{id}}" id="{{id + '_'+ $index}}" ng-value="option.val...
a4f77d5d618b968391d469e87c2b913c69aff3b0
src/app/views/search.scala.html
src/app/views/search.scala.html
@import play.api.i18n.Messages @import play.api.mvc.RequestHeader @import controllers.AssetsFinder @(user: app.models.UserIdentify)(implicit request: RequestHeader, messages: Messages, assets: AssetsFinder) @main(messages("common.search"), Some(user)) { }
@import play.api.data.Form @import play.api.i18n.Messages @import play.api.mvc.RequestHeader @import controllers.AssetsFinder @import helper._ @(user: app.models.UserIdentify, searchForm: Form[app.controllers.LDAPController.SearchFormData])(implicit request: RequestHeader, messages: Messages, assets: AssetsFinder) @im...
Create form to search view
Create form to search view
HTML
apache-2.0
YoshinoriN/Credentiam,YoshinoriN/Credentiam
html
## Code Before: @import play.api.i18n.Messages @import play.api.mvc.RequestHeader @import controllers.AssetsFinder @(user: app.models.UserIdentify)(implicit request: RequestHeader, messages: Messages, assets: AssetsFinder) @main(messages("common.search"), Some(user)) { } ## Instruction: Create form to search view ...
fd4317760512c145c156ff94e4e2d136fe2b1027
selenium/behave/count_search.feature
selenium/behave/count_search.feature
Feature: AmiGO search start pages show counts consistent with data loads ## No Background necessary. Scenario Outline: the search page shows counts consistent with data loads Given I go to search page "<searchpage>" then the total should be within 10% of recent count "<count>" Examples: search pages |...
Feature: AmiGO search pages show counts consistent with data loads ## No Background necessary. @production Scenario Outline: the search pages on the production server show counts consistent with data loads Given I go to search page "<searchpage>" then the total should be within 10% of recent count "<count>"...
Tag test for labs or production
Tag test for labs or production
Cucumber
bsd-3-clause
geneontology/amigo,geneontology/amigo,raymond91125/amigo,geneontology/amigo,raymond91125/amigo,geneontology/amigo,geneontology/amigo,raymond91125/amigo,geneontology/amigo,raymond91125/amigo,geneontology/amigo,raymond91125/amigo,raymond91125/amigo
cucumber
## Code Before: Feature: AmiGO search start pages show counts consistent with data loads ## No Background necessary. Scenario Outline: the search page shows counts consistent with data loads Given I go to search page "<searchpage>" then the total should be within 10% of recent count "<count>" Examples: se...
2942a525f01e936851c6c28c30f15b8aa98cd5a5
lib/puppet/parser/functions/type3x.rb
lib/puppet/parser/functions/type3x.rb
module Puppet::Parser::Functions newfunction(:type3x, :type => :rvalue, :doc => <<-DOC DEPRECATED: This function will be removed when puppet 3 support is dropped; please migrate to the new parser's typing system. Returns the type when passed a value. Type can be one of: * string * array * hash ...
module Puppet::Parser::Functions newfunction(:type3x, :type => :rvalue, :doc => <<-DOC DEPRECATED: This function will be removed when puppet 3 support is dropped; please migrate to the new parser's typing system. Returns the type when passed a value. Type can be one of: * string * array * hash ...
Revert "get rid of fixnum|bignum deprecation warning"
Revert "get rid of fixnum|bignum deprecation warning"
Ruby
apache-2.0
HelenCampbell/puppetlabs-stdlib,DavidS/puppetlabs-stdlib,puppetlabs/puppetlabs-stdlib
ruby
## Code Before: module Puppet::Parser::Functions newfunction(:type3x, :type => :rvalue, :doc => <<-DOC DEPRECATED: This function will be removed when puppet 3 support is dropped; please migrate to the new parser's typing system. Returns the type when passed a value. Type can be one of: * string * ar...
84929e01bfb9236fd0f51d82ee514d513d018408
triangle/triangle.py
triangle/triangle.py
class TriangleError(Exception): pass class Triangle(object): def __init__(self, *dims): if not self.is_valid(dims): raise TriangleError("Invalid dimensions: {}".format(dims)) self.dims = dims def kind(self): a, b, c = self.dims if a == b and b == c: ...
class TriangleError(Exception): pass class Triangle(object): def __init__(self, *dims): if not self.is_valid(dims): raise TriangleError("Invalid dimensions: {}".format(dims)) self.dims = sorted(dims) def kind(self): a, b, c = self.dims if a == b and b == c: # i...
Sort dimensins to reduce code
Sort dimensins to reduce code
Python
agpl-3.0
CubicComet/exercism-python-solutions
python
## Code Before: class TriangleError(Exception): pass class Triangle(object): def __init__(self, *dims): if not self.is_valid(dims): raise TriangleError("Invalid dimensions: {}".format(dims)) self.dims = dims def kind(self): a, b, c = self.dims if a == b and b =...
442233d3b7f53153f0247905841655980d404166
.travis.yml
.travis.yml
language: python # Install trollius for 2, 3.2, and pypy # Install either trollius or tulip for 3.3 # Asyncio is in the standard library for 3.4+ matrix: include: - python: 2.6 env: EVENTLOOP=trollius - python: 2.7 env: EVENTLOOP=trollius - python: 3.2 env: EVENTLOOP=trollius - pyth...
language: python # Install trollius for 2, 3.2, and pypy # Install either trollius or tulip for 3.3 # Asyncio is in the standard library for 3.4+ matrix: include: - python: 2.6 env: EVENTLOOP=trollius - python: 2.7 env: EVENTLOOP=trollius - python: 3.2 env: EVENTLOOP=trollius - pyth...
Add pypy3 tests to Travis
Add pypy3 tests to Travis Closes #552
YAML
mit
kopchik/qtile,dequis/qtile,encukou/qtile,xplv/qtile,tych0/qtile,rxcomm/qtile,andrewyoung1991/qtile,qtile/qtile,jdowner/qtile,qtile/qtile,kseistrup/qtile,EndPointCorp/qtile,apinsard/qtile,kynikos/qtile,rxcomm/qtile,jdowner/qtile,aniruddhkanojia/qtile,farebord/qtile,EndPointCorp/qtile,himaaaatti/qtile,nxnfufunezn/qtile,t...
yaml
## Code Before: language: python # Install trollius for 2, 3.2, and pypy # Install either trollius or tulip for 3.3 # Asyncio is in the standard library for 3.4+ matrix: include: - python: 2.6 env: EVENTLOOP=trollius - python: 2.7 env: EVENTLOOP=trollius - python: 3.2 env: EVENTLOOP=tro...
ed352cdf342a5709417289cb4df7f31a8b13c041
farmbot_core/lib/farmbot_core/asset/query.ex
farmbot_core/lib/farmbot_core/asset/query.ex
defmodule FarmbotCore.Asset.Query do @callback auto_sync?() :: boolean() def auto_sync?() do Asset.fbos_config().auto_sync end end
defmodule FarmbotCore.Asset.Query do alias FarmbotCore.Asset @callback auto_sync?() :: boolean() def auto_sync?() do Asset.fbos_config().auto_sync end end
Fix typo from adding test code for asset repo queries
Fix typo from adding test code for asset repo queries
Elixir
mit
FarmBot/farmbot_os,FarmBot/farmbot_os,FarmBot/farmbot_os,FarmBot/farmbot_os
elixir
## Code Before: defmodule FarmbotCore.Asset.Query do @callback auto_sync?() :: boolean() def auto_sync?() do Asset.fbos_config().auto_sync end end ## Instruction: Fix typo from adding test code for asset repo queries ## Code After: defmodule FarmbotCore.Asset.Query do alias FarmbotCore.Asset @callback a...
203760e605729f9df9c901b1e864a58ad0dcc1a5
README.md
README.md
PostgreSQL json support for Django.
PostgreSQL json support for Django. Documentation: http://djangonauts.github.io/django-pgjson/
Update readme with doc link
Update readme with doc link
Markdown
bsd-3-clause
mamigot/django-pgjson,rodo/django-pgjson,mamigot/django-pgjson,djangonauts/django-pgjson,moradology/django-pgjson,rodo/django-pgjson,moradology/django-pgjson,djangonauts/django-pgjson,uditagarwal/django-pgjson,uditagarwal/django-pgjson
markdown
## Code Before: PostgreSQL json support for Django. ## Instruction: Update readme with doc link ## Code After: PostgreSQL json support for Django. Documentation: http://djangonauts.github.io/django-pgjson/
97c1a7580b1a823757f788b18004841e31678817
lms/templates/wiki/includes/editor.html
lms/templates/wiki/includes/editor.html
{% load wiki_tags i18n %} {% include "wiki/includes/editormedia.html" %} <div> {% wiki_form edit_form %} <script language="javascript"> $(document).ready(function() { $("#id_revision").val('{{ article.current_revision.id }}'); }); </script> </div>
{% load wiki_tags i18n %} {% include "wiki/includes/editormedia.html" %} <div> {% wiki_form edit_form %} <script language="javascript"> $(document).ready(function() { $("#id_revision").val('{{ article.current_revision.id }}'); $("#div_id_title > .controls").attr('tabindex', -1).focus(); }); </script> </div...
Fix onload tabindex focus for wiki edits
Fix onload tabindex focus for wiki edits
HTML
agpl-3.0
appsembler/edx-platform,angelapper/edx-platform,Stanford-Online/edx-platform,appsembler/edx-platform,EDUlib/edx-platform,edx/edx-platform,TeachAtTUM/edx-platform,Edraak/edraak-platform,EDUlib/edx-platform,gymnasium/edx-platform,arbrandes/edx-platform,Edraak/edraak-platform,jolyonb/edx-platform,gymnasium/edx-platform,ms...
html
## Code Before: {% load wiki_tags i18n %} {% include "wiki/includes/editormedia.html" %} <div> {% wiki_form edit_form %} <script language="javascript"> $(document).ready(function() { $("#id_revision").val('{{ article.current_revision.id }}'); }); </script> </div> ## Instruction: Fix onload tabindex focus for ...
0df5f369923da965dfb78554692331ba8167af3e
package/lib-acl-17.06/build.bat
package/lib-acl-17.06/build.bat
@echo off rem ******************************************************************************************************************************* mkdir "%INSTALL_DIR%\src\obj" cd "%INSTALL_DIR%\src\obj" "%CK_MAKE%" -j %CK_HOST_CPU_NUMBER_OF_PROCESSORS% -f "%ORIGINAL_PACKAGE_DIR%\Makefile" %* set code=%errorlevel% if %c...
@echo off rem ******************************************************************************************************************************* mkdir "%INSTALL_DIR%\src\obj" cd "%INSTALL_DIR%\src\obj" "%CK_MAKE%" -j %CK_HOST_CPU_NUMBER_OF_PROCESSORS% -f "%ORIGINAL_PACKAGE_DIR%\Makefile" %* set code=%errorlevel% if %c...
Fix lib-acl-17.06 includes copying for Windows
Fix lib-acl-17.06 includes copying for Windows
Batchfile
bsd-3-clause
ctuning/ck-math,ctuning/ck-math,ctuning/ck-math,ctuning/ck-math
batchfile
## Code Before: @echo off rem ******************************************************************************************************************************* mkdir "%INSTALL_DIR%\src\obj" cd "%INSTALL_DIR%\src\obj" "%CK_MAKE%" -j %CK_HOST_CPU_NUMBER_OF_PROCESSORS% -f "%ORIGINAL_PACKAGE_DIR%\Makefile" %* set code=%er...
1022bbc9afd4148bb76e731f1d4b66850379aaf7
config.yml
config.yml
appname: "SimpleWiki" layout: "main" charset: "UTF-8" template: "template_toolkit" engines: template_toolkit: start_tag: '[%' end_tag: '%]' plugins: DBIC: default: dsn: 'dbi:SQLite:data.sqlite' schema_class: 'SimpleWiki::Schema'
appname: "SimpleWiki" layout: "main" charset: "UTF-8" template: "template_toolkit" engines: template_toolkit: start_tag: '[%' end_tag: '%]' plugins: DBIC: default: dsn: 'dbi:SQLite:data.sqlite' schema_class: 'SimpleWiki::Schema' options: sqlite_unicode: 1
Add unicode flag for database
Add unicode flag for database
YAML
mit
bentglasstube/qwiki
yaml
## Code Before: appname: "SimpleWiki" layout: "main" charset: "UTF-8" template: "template_toolkit" engines: template_toolkit: start_tag: '[%' end_tag: '%]' plugins: DBIC: default: dsn: 'dbi:SQLite:data.sqlite' schema_class: 'SimpleWiki::Schema' ## Instruction: Add unicode flag for databas...
33280ea228c49575767219910650aa0a16136931
lib/written/app/assets/stylesheets/written.scss
lib/written/app/assets/stylesheets/written.scss
[data-editor="written"] { white-space: pre-wrap; p { min-height: 1.2em; } h1 { font-size: 3em; } ul, li { list-style-type: none; } figure { background: rgba(230,230,230,1); & > div { display: flex; min-height: 200px; } img { margin: auto; } fi...
[data-editor="written"] { white-space: pre-wrap; p { min-height: 1.2em; } h1 { font-size: 3em; } ul, li { list-style-type: none; } figure { background: rgba(230,230,230,1); & > div { display: flex; min-height: 200px; padding: 4px; } img { margin:...
Add a small padding to images
Add a small padding to images
SCSS
mit
pothibo/written,pothibo/written,pothibo/written
scss
## Code Before: [data-editor="written"] { white-space: pre-wrap; p { min-height: 1.2em; } h1 { font-size: 3em; } ul, li { list-style-type: none; } figure { background: rgba(230,230,230,1); & > div { display: flex; min-height: 200px; } img { margin: aut...
a745af927a433aee72277f67868dd874579d2ff0
app/lib/exception_handler.rb
app/lib/exception_handler.rb
module ExceptionHandler extend ActiveSupport::Concern included do include ActiveSupport::Rescuable rescue_from StandardError, with: :known_error end def handle_calculation_exceptions yield rescue => e 'N/A' end def handle_template_exceptions yield rescue => e nil end def ...
module ExceptionHandler # Include in a delegator to a class in order to # rescue all errors of a certain type for every # method in that class. # Used in Calc, CalcDelegator. Also included in CommonFacade. # Thanks to [@shime](https://github.com/shime) for the answer on StackOverflow: # http://stackoverf...
Add some documentation / cleanup to last commit
Add some documentation / cleanup to last commit
Ruby
mit
MAPC/housingma,MAPC/housingma,MAPC/housingma
ruby
## Code Before: module ExceptionHandler extend ActiveSupport::Concern included do include ActiveSupport::Rescuable rescue_from StandardError, with: :known_error end def handle_calculation_exceptions yield rescue => e 'N/A' end def handle_template_exceptions yield rescue => e n...
980569e89dad42eb91c490faa96d406ad090d320
.travis.yml
.travis.yml
language: python matrix: include: - python: "2.7" env: TOXENV=py27 - python: "3.4" env: TOXENV=py34 install: "pip install tox" script: tox notifications: email: on_success: never on_failure: always sudo: false
language: python matrix: include: - python: "2.7" env: TOXENV=py27 - python: "3.4" env: TOXENV=py34 - python: "3.5" env: TOXENV=py35 - python: "2.7" env: TOXENV=docs install: "pip install tox" script: tox notifications: email: on_success: never on_failure: always s...
Add 3.5, docs to Travis matrix
Add 3.5, docs to Travis matrix
YAML
bsd-2-clause
timstaley/voevent-parse,timstaley/voevent-parse
yaml
## Code Before: language: python matrix: include: - python: "2.7" env: TOXENV=py27 - python: "3.4" env: TOXENV=py34 install: "pip install tox" script: tox notifications: email: on_success: never on_failure: always sudo: false ## Instruction: Add 3.5, docs to Travis matrix ## Code Aft...
2c40baea749586bef083bac0234570d1a06f5dac
.codecov.yml
.codecov.yml
comment: false coverage: status: # Patch status gives meaningless results whenever a test is modified without changing the # correspondingly tested code, and may be difficult to interpret without context. Disable # posting it to GitHub. patch: false project: default: threshold: 1
comment: false coverage: status: # Patch status gives meaningless results whenever a test is modified without changing the # correspondingly tested code, and may be difficult to interpret without context. Disable # posting it to GitHub. patch: false project: default: false server: ...
Split Codecov reports into separate values for different components
Split Codecov reports into separate values for different components
YAML
apache-2.0
Kitware/girder,RafaelPalomar/girder,data-exp-lab/girder,RafaelPalomar/girder,kotfic/girder,RafaelPalomar/girder,Kitware/girder,RafaelPalomar/girder,Xarthisius/girder,kotfic/girder,jbeezley/girder,manthey/girder,Kitware/girder,kotfic/girder,Xarthisius/girder,data-exp-lab/girder,data-exp-lab/girder,jbeezley/girder,jbeezl...
yaml
## Code Before: comment: false coverage: status: # Patch status gives meaningless results whenever a test is modified without changing the # correspondingly tested code, and may be difficult to interpret without context. Disable # posting it to GitHub. patch: false project: default: ...
8daa04891c1715b887e87fa2d58fd6e363e0e7fa
data-service/src/main/java/org/ihtsdo/buildcloud/service/exception/EntityAlreadyExistsException.java
data-service/src/main/java/org/ihtsdo/buildcloud/service/exception/EntityAlreadyExistsException.java
package org.ihtsdo.buildcloud.service.exception; public class EntityAlreadyExistsException extends Exception { public EntityAlreadyExistsException() { super("Entity already exists."); } }
package org.ihtsdo.buildcloud.service.exception; public class EntityAlreadyExistsException extends Exception { /** * */ private static final long serialVersionUID = 1L; public EntityAlreadyExistsException() { super("Entity already exists."); } public EntityAlreadyExistsException(String string) { supe...
Add support for additional information when detecting entity already exists.
Add support for additional information when detecting entity already exists.
Java
apache-2.0
IHTSDO/snomed-release-service,IHTSDO/snomed-release-service
java
## Code Before: package org.ihtsdo.buildcloud.service.exception; public class EntityAlreadyExistsException extends Exception { public EntityAlreadyExistsException() { super("Entity already exists."); } } ## Instruction: Add support for additional information when detecting entity already exists. ## Code After: p...
f4406047855fe41d1128037ca3cf72bd7ce0e144
OOP/README.md
OOP/README.md
core course * lecturer: [Bertrand Meyer](https://www.linkedin.com/in/bertrandmeyer) ## Materials * [Data Structures and Algorithms in Java, 6th Edition](http://www.topitbooks.com/data-structures-algorithms-java-6th-edition-4460.html)
core course * lecturer: [Bertrand Meyer](https://www.linkedin.com/in/bertrandmeyer), Manuel Mazzara ## Grading * Midterm Exam: 40% * Final Exam: 40% * Graded Tutorials: 20% ## Materials * [Data Structures and Algorithms in Java, 6th Edition](http://www.topitbooks.com/data-structures-algorithms-java-6th-edition-44...
Add grading and lektor contact
Add grading and lektor contact
Markdown
mit
abcdw/inno,abcdw/inno
markdown
## Code Before: core course * lecturer: [Bertrand Meyer](https://www.linkedin.com/in/bertrandmeyer) ## Materials * [Data Structures and Algorithms in Java, 6th Edition](http://www.topitbooks.com/data-structures-algorithms-java-6th-edition-4460.html) ## Instruction: Add grading and lektor contact ## Code After: ...
d72e19200de282072fecc4393031104f4b96793f
src/index.js
src/index.js
import React from 'react'; import ReactDOM from 'react-dom'; import { Provider } from 'react-redux'; import { createStore } from 'redux'; import App from './components/app'; import reducers from './redux/reducers'; ReactDOM.render( <Provider store={createStore(reducers)}> <App /> </Provider>, docu...
import React from 'react'; import ReactDOM from 'react-dom'; import { Provider } from 'react-redux'; import { createStore, compose } from 'redux'; import App from './components/app'; import reducers from './redux/reducers'; const composeEnhancers = window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ || compose; ReactDOM.r...
Add redux dev tool support
Add redux dev tool support
JavaScript
mit
JPStrydom/Sudoku-AI,JPStrydom/Sudoku-AI
javascript
## Code Before: import React from 'react'; import ReactDOM from 'react-dom'; import { Provider } from 'react-redux'; import { createStore } from 'redux'; import App from './components/app'; import reducers from './redux/reducers'; ReactDOM.render( <Provider store={createStore(reducers)}> <App /> </Pro...
1132f858feeafd525c3cc284bc70ed00a2753f25
app/controllers/reminders_controller.rb
app/controllers/reminders_controller.rb
class RemindersController < MyplaceonlineController def footer_items_show super + [ { title: I18n.t("myplaceonline.reminders.calendar_item"), link: calendar_calendar_item_path(@obj.calendar_item.calendar, @obj.calendar_item), icon: "calendar" }, ] end def use_bubble? ...
class RemindersController < MyplaceonlineController def footer_items_show if !@obj.calendar_item.nil? super + [ { title: I18n.t("myplaceonline.reminders.calendar_item"), link: calendar_calendar_item_path(@obj.calendar_item.calendar, @obj.calendar_item), icon: "calendar"...
Handle reminder without calendar item (test)
Handle reminder without calendar item (test)
Ruby
agpl-3.0
myplaceonline/myplaceonline_rails,myplaceonline/myplaceonline_rails,myplaceonline/myplaceonline_rails
ruby
## Code Before: class RemindersController < MyplaceonlineController def footer_items_show super + [ { title: I18n.t("myplaceonline.reminders.calendar_item"), link: calendar_calendar_item_path(@obj.calendar_item.calendar, @obj.calendar_item), icon: "calendar" }, ] end d...
654aaf97d2822dbe6a8539b203fe37f047bc4921
perl/genbank_download.pl
perl/genbank_download.pl
use strict; use warnings; use LWP::Simple; if ($#ARGV != 2) { die qq/usage: genbank_downloader.pl filetype id outfile Examples: genbank_downloader.pl fasta GQ983346 GQ983346.fa genbank_downloader.pl gb GQ983346 GQ983346.gb /; } my $filetype=$ARGV[0]; my $id=$ARGV[1]; my $out=$ARGV[2]; # file has an empty line...
use strict; use warnings; if ($#ARGV != 2) { die qq/usage: genbank_downloader.pl filetype id outfile Examples: genbank_downloader.pl fasta GQ983346 GQ983346.fa genbank_downloader.pl gb GQ983346 GQ983346.gb /; } my $filetype=$ARGV[0]; my $id=$ARGV[1]; my $out=$ARGV[2]; # file has an empty line at the end, so n...
Use curl instead of LWP::Simple, becuase it works
Use curl instead of LWP::Simple, becuase it works
Perl
mit
martinghunt/bioinf-scripts,martinghunt/bioinf-scripts,martinghunt/bioinf-scripts,martinghunt/bioinf-scripts
perl
## Code Before: use strict; use warnings; use LWP::Simple; if ($#ARGV != 2) { die qq/usage: genbank_downloader.pl filetype id outfile Examples: genbank_downloader.pl fasta GQ983346 GQ983346.fa genbank_downloader.pl gb GQ983346 GQ983346.gb /; } my $filetype=$ARGV[0]; my $id=$ARGV[1]; my $out=$ARGV[2]; # file h...
b3e8cd53e7b5c0dbbcd7102ae68dac5b9cdae9ed
src/j0k3r/FeedBundle/Controller/FeedApiController.php
src/j0k3r/FeedBundle/Controller/FeedApiController.php
<?php namespace j0k3r\FeedBundle\Controller; use Symfony\Bundle\FrameworkBundle\Controller\Controller; use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Response; use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template...
<?php namespace j0k3r\FeedBundle\Controller; use Symfony\Bundle\FrameworkBundle\Controller\Controller; use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Response; use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template...
Send proper content-type for api
Send proper content-type for api
PHP
mit
j0k3r/f43.me,j0k3r/f43.me,j0k3r/f43.me
php
## Code Before: <?php namespace j0k3r\FeedBundle\Controller; use Symfony\Bundle\FrameworkBundle\Controller\Controller; use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Response; use Sensio\Bundle\FrameworkExtraBundle\Config...
393d60c08e460f3af329e3c2bd1d0e15df58e3fc
brokerapi/brokers/cloudsql/credentials_generator.go
brokerapi/brokers/cloudsql/credentials_generator.go
package cloudsql import ( "crypto/rand" "encoding/base64" "fmt" ) const ( maxUsernameLength = 16 // Limit from http://dev.mysql.com/doc/refman/5.7/en/user-names.html generatedPasswordLength = 32 ) func GenerateUsername(instanceID, bindingID string) (string, error) { if len(instanceID)+len(bindingID) == 0...
package cloudsql import ( "crypto/rand" "encoding/base64" "fmt" ) const ( maxUsernameLength = 16 // Limit from http://dev.mysql.com/doc/refman/5.7/en/user-names.html generatedPasswordLength = 32 ) func GenerateUsername(instanceID, bindingID string) (string, error) { if len(instanceID)+len(bindingID) == 0...
Switch the order of the bindingID/instanceID
Switch the order of the bindingID/instanceID Most likely the second guid will never make it into the string anyways so favor the more unique one.
Go
apache-2.0
joshlong/gcp-service-broker,GoogleCloudPlatform/gcp-service-broker,joshlong/gcp-service-broker,rifung/gcp-service-broker,rifung/gcp-service-broker,rifung/gcp-service-broker,GoogleCloudPlatform/gcp-service-broker,rifung/gcp-service-broker
go
## Code Before: package cloudsql import ( "crypto/rand" "encoding/base64" "fmt" ) const ( maxUsernameLength = 16 // Limit from http://dev.mysql.com/doc/refman/5.7/en/user-names.html generatedPasswordLength = 32 ) func GenerateUsername(instanceID, bindingID string) (string, error) { if len(instanceID)+len...
6a830973fa8f29278015d55819dcbd87f0472ac9
post_office/test_urls.py
post_office/test_urls.py
from django.conf.urls import patterns, include, url from django.contrib import admin admin.autodiscover() urlpatterns = patterns('', url(r'^admin/', include(admin.site.urls), name='admin'), )
from django.conf.urls import include, url from django.contrib import admin admin.autodiscover() urlpatterns = [ url(r'^admin/', include(admin.site.urls), name='admin'), ]
Fix Django 1.10 url patterns warning
Fix Django 1.10 url patterns warning
Python
mit
ui/django-post_office,JostCrow/django-post_office,RafRaf/django-post_office,ui/django-post_office,yprez/django-post_office,jrief/django-post_office
python
## Code Before: from django.conf.urls import patterns, include, url from django.contrib import admin admin.autodiscover() urlpatterns = patterns('', url(r'^admin/', include(admin.site.urls), name='admin'), ) ## Instruction: Fix Django 1.10 url patterns warning ## Code After: from django.conf.urls import include,...
1717a4b4c82cf04832d532ef14c846b7c800c80e
src/lib/objectionPlugins/timestamps.js
src/lib/objectionPlugins/timestamps.js
'use strict'; // Exports export default (BaseModel) => { class Model extends BaseModel { $toDatabaseJson() { const omit = this.constructor.getRelations(); return this.$$toJson(true, omit, null); } $beforeValidate(jsonSchema, json, opt) { const schema = su...
'use strict'; // Exports export default (BaseModel) => { class Model extends BaseModel { $toDatabaseJson() { const jsonSchema = this.constructor.jsonSchema; const pick = jsonSchema && jsonSchema.properties; let omit; if (!pick) { omit = this....
Fix bug where additional properties in objection models were not be omitted
Fix bug where additional properties in objection models were not be omitted
JavaScript
mit
komapijs/komapi,komapijs/komapi
javascript
## Code Before: 'use strict'; // Exports export default (BaseModel) => { class Model extends BaseModel { $toDatabaseJson() { const omit = this.constructor.getRelations(); return this.$$toJson(true, omit, null); } $beforeValidate(jsonSchema, json, opt) { c...
444c8afb7db5647c69b0902be59b4368d0968304
docs/module_operations.rst
docs/module_operations.rst
Operations Module ^^^^^^^^^^^^^^^^^ This module provides common geometric operations for curves and surfaces. .. automodule:: geomdl.operations :members: :undoc-members:
Operations Module ^^^^^^^^^^^^^^^^^ This module provides common geometric operations for curves and surfaces. It includes the following operations: * Curve and surface splitting / Bézier decomposition * Tangent, normal and binormal evaluations * Hodograph curve and surface computations * Translation .. automodule:: ...
Update operations module doc introduction
Update operations module doc introduction
reStructuredText
mit
orbingol/NURBS-Python,orbingol/NURBS-Python
restructuredtext
## Code Before: Operations Module ^^^^^^^^^^^^^^^^^ This module provides common geometric operations for curves and surfaces. .. automodule:: geomdl.operations :members: :undoc-members: ## Instruction: Update operations module doc introduction ## Code After: Operations Module ^^^^^^^^^^^^^^^^^ This module ...
8fe09de4ac046be8a8858fbfdd2bf8a77f312dfa
setup.cfg
setup.cfg
[metadata] name = odin author = Tim Savage author_email = tim@savage.company summary = Data-structure definition/validation/traversal, mapping and serialisation toolkit for Python description-file = README.rst home-page = https://github.com/python-odin/odin license = BSD classifier = Development Status :: 5 - Produ...
[metadata] name = odin author = Tim Savage author_email = tim@savage.company summary = Data-structure definition/validation/traversal, mapping and serialisation toolkit for Python description-file = README.rst home-page = https://github.com/python-odin/odin license = BSD classifier = Development Status :: 5 - Produ...
Add Python 3.7 to the classifiers list.
Add Python 3.7 to the classifiers list.
INI
bsd-3-clause
python-odin/odin
ini
## Code Before: [metadata] name = odin author = Tim Savage author_email = tim@savage.company summary = Data-structure definition/validation/traversal, mapping and serialisation toolkit for Python description-file = README.rst home-page = https://github.com/python-odin/odin license = BSD classifier = Development Sta...
92a85cac8854e3b40bd114e86e750ee0abc43ea3
.travis.yml
.travis.yml
sudo: required language: scala # These directories are cached to S3 at the end of the build cache: directories: - $HOME/.ivy2/cache - $HOME/.sbt/boot/scala-$TRAVIS_SCALA_VERSION scala: - 2.10.6 - 2.11.7 jdk: - oraclejdk7 # Note: not currently testing on JDK 8 internally - oraclejdk8 - openjdk7 ...
sudo: required language: scala # These directories are cached to S3 at the end of the build cache: directories: - $HOME/.ivy2/cache - $HOME/.sbt/boot/scala-$TRAVIS_SCALA_VERSION scala: - 2.10.6 - 2.11.7 jdk: - oraclejdk7 # Note: not currently testing on JDK 8 internally - oraclejdk8 # Enable onc...
Disable openjdk7 in Travis CI builds
Disable openjdk7 in Travis CI builds RB_ID=786579
YAML
apache-2.0
twitter/scrooge,twitter/scrooge,twitter/scrooge,thirstycrow/scrooge,thirstycrow/scrooge,twitter/scrooge,thirstycrow/scrooge,thirstycrow/scrooge,thirstycrow/scrooge
yaml
## Code Before: sudo: required language: scala # These directories are cached to S3 at the end of the build cache: directories: - $HOME/.ivy2/cache - $HOME/.sbt/boot/scala-$TRAVIS_SCALA_VERSION scala: - 2.10.6 - 2.11.7 jdk: - oraclejdk7 # Note: not currently testing on JDK 8 internally - oraclejdk...
3617e28b1dfcad4a04fea8de5179535a266ee330
.configuration.travis.json
.configuration.travis.json
{ "databases": { "mysql": { "name": "relatable", "alias": "mysql", "user": "root", "engine": "./mysql", "hostname": "localhost", "port": 3306 }, "postgresql": { "name": "relatable", "alias": "postgresql", "database": "relatable", "user": "relatab...
{ "databases": { "mysql": { "name": "relatable", "alias": "mysql", "user": "root", "engine": "./mysql", "hostname": "localhost", "port": 3306 }, "postgresql": { "name": "relatable", "alias": "postgresql", "database": "relatable", "user": "postgre...
Change role from `relatable` to `postgres`.
Change role from `relatable` to `postgres`. Going to use the `postgres` role to test on Travis CI.
JSON
mit
bigeasy/relatable,bigeasy/relatable
json
## Code Before: { "databases": { "mysql": { "name": "relatable", "alias": "mysql", "user": "root", "engine": "./mysql", "hostname": "localhost", "port": 3306 }, "postgresql": { "name": "relatable", "alias": "postgresql", "database": "relatable", ...
84b000b5c0f9246d9f39b444aea9da2f4fbaedee
install-android-dependencies.sh
install-android-dependencies.sh
/usr/bin/expect -c ' set timeout -1; spawn '"${ANDROID_HOME}"'/tools/bin/sdkmanager --licenses; expect { "y/N" { exp_send "y\r" ; exp_continue } eof } ' for I in "platforms;android-25" \ "platforms;android-23" \ "platforms;android-21" \ "build-tools;25.0.6" \ "extras;goo...
/usr/bin/expect -c ' set timeout -1; spawn '"${ANDROID_HOME}"'/tools/bin/sdkmanager --licenses; expect { "y/N" { exp_send "y\r" ; exp_continue } eof } ' echo "--------------------------------------------------------" echo "Trying to update dependencies with tools/bin/sdkmanager: " echo "-------------------...
Update output info on install dependencies script
Update output info on install dependencies script
Shell
mit
caipivara/android-scripts
shell
## Code Before: /usr/bin/expect -c ' set timeout -1; spawn '"${ANDROID_HOME}"'/tools/bin/sdkmanager --licenses; expect { "y/N" { exp_send "y\r" ; exp_continue } eof } ' for I in "platforms;android-25" \ "platforms;android-23" \ "platforms;android-21" \ "build-tools;25.0.6" \ ...
3965fa193435df120d9df26f614787915090b4e4
app/views/shared/_global_actions.html.haml
app/views/shared/_global_actions.html.haml
- if signed_in? .global-actions .btn-group = link_to gardens_by_owner_path(owner: current_member.slug), class: 'btn btn-default' do = t('links.my_gardens') .btn-group = link_to new_planting_path, class: 'btn btn-default' do = t('buttons.plant') = link_to new_harvest_path, ...
- if signed_in? .global-actions .btn-group = link_to gardens_by_owner_path(owner: current_member.slug), class: 'btn btn-default' do = t('links.my_gardens') .btn-group = link_to new_planting_path, class: 'btn btn-default' do = t('plantings.plant_something') = link_to new_ha...
Add "something" to global action labels
Add "something" to global action labels
Haml
agpl-3.0
Br3nda/growstuff,yez/growstuff,Growstuff/growstuff,Br3nda/growstuff,yez/growstuff,cesy/growstuff,Br3nda/growstuff,cesy/growstuff,Growstuff/growstuff,Growstuff/growstuff,yez/growstuff,cesy/growstuff,Growstuff/growstuff,Br3nda/growstuff,cesy/growstuff,yez/growstuff
haml
## Code Before: - if signed_in? .global-actions .btn-group = link_to gardens_by_owner_path(owner: current_member.slug), class: 'btn btn-default' do = t('links.my_gardens') .btn-group = link_to new_planting_path, class: 'btn btn-default' do = t('buttons.plant') = link_to ne...
f1328a511f2c06da00c6d35a7ace75c83f7e3946
docs/databases/generate-and-run-migrations.md
docs/databases/generate-and-run-migrations.md
Migrations are stored in the `src/migrations` directory. Run a migration ```sh npm run migration:run ``` Revert a migration ```sh npm run migration:revert ``` Generate a migration from the changes in your entities ```sh npm run build:app # Build the entities npm run migration:generate -- -n my-migration # Generate ...
When developing an application, you need to synchronize model changes into the database. Changing the code of your entity files is not sufficient by itself. You need either to set `synchronize` to `true` in `ormconfig.json` or to use *migrations*. The `synchronize` option is set to `true` by default in FoalTS. It aut...
Add more docs on migrations
[Docs] Add more docs on migrations
Markdown
mit
FoalTS/foal,FoalTS/foal,FoalTS/foal,FoalTS/foal
markdown
## Code Before: Migrations are stored in the `src/migrations` directory. Run a migration ```sh npm run migration:run ``` Revert a migration ```sh npm run migration:revert ``` Generate a migration from the changes in your entities ```sh npm run build:app # Build the entities npm run migration:generate -- -n my-migra...
2604cf9febf196962d347de8ea00d4962cf0ea7b
config/software/gtar.rb
config/software/gtar.rb
name "gtar" default_version "1.2.9" version("1.2.9") { source md5: "2e115fe26e435e33b0d5c022e4490567" } license "GPL-3.0" license_file "COPYING" source url: "http://ftp.gnu.org/gnu/tar/tar-#{version}.tar.gz" relative_path "tar-#{version}" build do env = with_standard_compiler_flags(with_embedded_path) config...
name "gtar" default_version "1.29" version("1.29") { source md5: "c57bd3e50e43151442c1995f6236b6e9" } license "GPL-3.0" license_file "COPYING" source url: "http://ftp.gnu.org/gnu/tar/tar-#{version}.tar.gz" relative_path "tar-#{version}" build do env = with_standard_compiler_flags(with_embedded_path) configur...
Fix version copy paste typo
Fix version copy paste typo
Ruby
apache-2.0
Altiscale/omnibus-software,C-B4/omnibus-software,mattray/omnibus-software,chef/omnibus-software,Altiscale/omnibus-software,ryotarai/omnibus-software,aerobase/omnibus-software,chef/omnibus-software,ryotarai/omnibus-software,KiiCorp/omnibus-software,cdapio/omnibus-software,C-B4/omnibus-software,mattray/omnibus-software,h...
ruby
## Code Before: name "gtar" default_version "1.2.9" version("1.2.9") { source md5: "2e115fe26e435e33b0d5c022e4490567" } license "GPL-3.0" license_file "COPYING" source url: "http://ftp.gnu.org/gnu/tar/tar-#{version}.tar.gz" relative_path "tar-#{version}" build do env = with_standard_compiler_flags(with_embedded...
92c827acdfb08d0743208a5a147bc90137a6dfde
Source/Shared/CGRect+SwiftKit.swift
Source/Shared/CGRect+SwiftKit.swift
import CoreGraphics /// Swift extensions to CGRect public extension CGRect { /// The rectangle stripped of any origin information, marking its bounds var bounds: CGRect { var bounds = self bounds.origin = CGPoint() return bounds } /// Convenience initializer to create a CGR...
import CoreGraphics /// Swift extensions to CGRect public extension CGRect { /// The rectangle stripped of any origin information, marking its bounds var bounds: CGRect { var bounds = self bounds.origin = CGPoint() return bounds } /// Convenience initializer to create a CGR...
Add more CCGRect manipulation functions
Add more CCGRect manipulation functions
Swift
mit
JohnSundell/SwiftKit
swift
## Code Before: import CoreGraphics /// Swift extensions to CGRect public extension CGRect { /// The rectangle stripped of any origin information, marking its bounds var bounds: CGRect { var bounds = self bounds.origin = CGPoint() return bounds } /// Convenience initializer...
97b923809f85cd869feeaf03f55bbc287f2023d3
src/rb/MemoryFile.java
src/rb/MemoryFile.java
package rb; import java.io.ByteArrayInputStream; import java.io.InputStream; /** * Created by IntelliJ IDEA. * User: Gong Zeng * Date: 5/16/11 * Time: 12:12 PM */ public class MemoryFile { String name; String content; public MemoryFile(String name, String diff) { this.name = ...
package rb; import java.io.ByteArrayInputStream; import java.io.InputStream; import java.io.UnsupportedEncodingException; /** * Created by IntelliJ IDEA. * User: Gong Zeng * Date: 5/16/11 * Time: 12:12 PM */ public class MemoryFile { String name; String content; public MemoryFile(Str...
Set default encoding of diff file to utf-8 according of issue reported by @yqt: diff file gets wrong encoding
Set default encoding of diff file to utf-8 according of issue reported by @yqt: diff file gets wrong encoding
Java
mit
kaneg/reviewboard-plugin-for-idea
java
## Code Before: package rb; import java.io.ByteArrayInputStream; import java.io.InputStream; /** * Created by IntelliJ IDEA. * User: Gong Zeng * Date: 5/16/11 * Time: 12:12 PM */ public class MemoryFile { String name; String content; public MemoryFile(String name, String diff) { this.name = ...
e99b789a7086f889355edea3ab293640c3f719be
src/sass.js
src/sass.js
'use strict' let sass = require('node-sass') /* * Transform SASS to CSS. * @public * @param {string} folderPath - Path to the folder containing the SASS file. * @param {string} str - SASS. * @param {Object} opts - Options for the task. * @param {function} next - The callback that handles the response. Receives ...
'use strict' let sass = require('node-sass') /* * Transform SASS to CSS. * @public * @param {string} folderPath - Path to the folder containing the SASS file. * @param {string} str - SASS. * @param {Object} opts - Options for the task. * @param {function} next - The callback that handles the response. Receives ...
Disable inline source map when optimization enabled
Disable inline source map when optimization enabled
JavaScript
mit
electerious/rosid-handler-sass,electerious/rosid-handler-scss
javascript
## Code Before: 'use strict' let sass = require('node-sass') /* * Transform SASS to CSS. * @public * @param {string} folderPath - Path to the folder containing the SASS file. * @param {string} str - SASS. * @param {Object} opts - Options for the task. * @param {function} next - The callback that handles the res...
2486f175c258b168ab0a1c1c57362461d62563bb
src/adLDAP/Classes/adLDAPBase.php
src/adLDAP/Classes/adLDAPBase.php
<?php namespace adLDAP\Classes; use adLDAP\adLDAP; /** * The base adLDAP class * * Class adLDAPBase * @package adLDAP\classes */ class adLDAPBase { /** * The current adLDAP connection via dependency injection * * @var adLDAP */ protected $adldap; /** * The current adLDAP co...
<?php namespace adLDAP\Classes; use adLDAP\adLDAP; /** * The base adLDAP class * * Class adLDAPBase * @package adLDAP\classes */ class adLDAPBase { /** * The current adLDAP connection via dependency injection * * @var adLDAP */ protected $adldap; /** * The current adLDAP co...
Make sure the connection exists before setting it
Make sure the connection exists before setting it
PHP
mit
Adldap2/Adldap2,jal617b/Adldap2,ciadch/Adldap2,dlundgren/Adldap2,kichetof/Adldap2
php
## Code Before: <?php namespace adLDAP\Classes; use adLDAP\adLDAP; /** * The base adLDAP class * * Class adLDAPBase * @package adLDAP\classes */ class adLDAPBase { /** * The current adLDAP connection via dependency injection * * @var adLDAP */ protected $adldap; /** * The c...
b203825db1c3dc99506d5ebc6f6630db94788930
test/helpers/app_helpers_test.js
test/helpers/app_helpers_test.js
require('../test_helper'); require('../../app/helpers'); describe('Application helpers', () => { describe('#g', () => { it('should generate a Glyphicon span', () => { var output = Handlebars.helpers.g('foo'); assert(output instanceof Handlebars.SafeString); assert.equal(output.string, '<span c...
require('../test_helper'); require('../../app/helpers'); describe('Application helpers', () => { before(() => { I18n.load('en') }) describe('#g', () => { it('should generate a Glyphicon span', () => { var output = Handlebars.helpers.g('foo'); assert(output instanceof Handlebars.SafeString);...
Complete a bit the application helpers tests
Complete a bit the application helpers tests
JavaScript
agpl-3.0
daplayer/daplayer,daplayer/daplayer
javascript
## Code Before: require('../test_helper'); require('../../app/helpers'); describe('Application helpers', () => { describe('#g', () => { it('should generate a Glyphicon span', () => { var output = Handlebars.helpers.g('foo'); assert(output instanceof Handlebars.SafeString); assert.equal(output....
8d2e28c511c7af3bcf9a39d89d16153706c1fa22
Integrations/AWS-EC2/CHANGELOG.md
Integrations/AWS-EC2/CHANGELOG.md
- ## [19.9.0] - 2019-09-04 * Added several arguments to the ***authorize_security_group_ingress*** command. * Bugfix for Proxy/Insecure issues.
Improved handling of error messages. ## [19.9.0] - 2019-09-04 * Added several arguments to the ***authorize_security_group_ingress*** command. * Bugfix for Proxy/Insecure issues.
Revert change to ec2 changelog
Revert change to ec2 changelog
Markdown
mit
demisto/content,demisto/content,VirusTotal/content,VirusTotal/content,VirusTotal/content,demisto/content,VirusTotal/content,demisto/content
markdown
## Code Before: - ## [19.9.0] - 2019-09-04 * Added several arguments to the ***authorize_security_group_ingress*** command. * Bugfix for Proxy/Insecure issues. ## Instruction: Revert change to ec2 changelog ## Code After: Improved handling of error messages. ## [19.9.0] - 2019-09-04 * Added several arguments to t...
05db0c3dc6affdc3938d45195fb807be78ae5ff1
dit/math/__init__.py
dit/math/__init__.py
from __future__ import absolute_import # Global random number generator import numpy as np prng = np.random.RandomState() # Set the error level to ignore...for example: log2(0). np.seterr(all='ignore') del np from .equal import close, allclose from .sampling import sample, _sample, _samples from .ops import get_ops,...
from __future__ import absolute_import # Global random number generator import numpy as np prng = np.random.RandomState() # Set the error level to ignore...for example: log2(0). np.seterr(all='ignore') del np from .equal import close, allclose from .sampling import sample, _sample, _samples from .ops import get_ops,...
Make perturb_pmf available in dit.math.
Make perturb_pmf available in dit.math.
Python
bsd-3-clause
Autoplectic/dit,chebee7i/dit,chebee7i/dit,Autoplectic/dit,Autoplectic/dit,Autoplectic/dit,Autoplectic/dit,dit/dit,dit/dit,chebee7i/dit,dit/dit,dit/dit,chebee7i/dit,dit/dit
python
## Code Before: from __future__ import absolute_import # Global random number generator import numpy as np prng = np.random.RandomState() # Set the error level to ignore...for example: log2(0). np.seterr(all='ignore') del np from .equal import close, allclose from .sampling import sample, _sample, _samples from .ops...
ec4603f1aa319a7008fdb70be39f3c7f0939c874
spec/services/sell_item_spec.rb
spec/services/sell_item_spec.rb
require 'rails_helper' RSpec.describe SellItem, type: :class do let(:campaign) { create(:campaign, money: 0) } let(:hero) { create(:hero, id: 2) } let(:item) { create(:item, campaign_id: campaign, price: 100, hero_id: hero) } before { described_class.new(item, campaign).call } it 'sells at price equal 50% ...
require 'rails_helper' RSpec.describe SellItem, type: :class do let(:campaign) { create(:campaign, money: 0) } let(:hero) { create(:hero, id: 2) } let(:item) { create(:item, campaign_id: campaign, price: 100, hero_id: hero.id) } before { described_class.new(item, campaign).call } it 'sells at price equal 5...
Add missing spec for sell_item
Add missing spec for sell_item
Ruby
mit
fantasygame/campaigns,fantasygame/campaigns,fantasygame/campaigns
ruby
## Code Before: require 'rails_helper' RSpec.describe SellItem, type: :class do let(:campaign) { create(:campaign, money: 0) } let(:hero) { create(:hero, id: 2) } let(:item) { create(:item, campaign_id: campaign, price: 100, hero_id: hero) } before { described_class.new(item, campaign).call } it 'sells at ...
a5ab67228f07f6fa1a5db7da07601643b87f23ff
app/views/shared/milestones/_deprecation_message.html.haml
app/views/shared/milestones/_deprecation_message.html.haml
.milestone-deprecation-message.prepend-top-default.prepend-left-default .illustration.inline= image_tag 'illustrations/milestone_removing-page.svg', class: 'append-right-default' .inline.vertical-align-middle %strong= _('This page will be removed in a future release.') %p.append-bottom-default.prepend-top-5...
.milestone-deprecation-message.prepend-top-default.prepend-left-default .illustration.inline= image_tag 'illustrations/milestone_removing-page.svg', class: 'append-right-default' .inline.vertical-align-middle %strong= _('This page will be removed in a future release.') %p.append-bottom-default.prepend-top-5...
Fix translation strings and add _blank as link targets
Fix translation strings and add _blank as link targets
Haml
mit
jirutka/gitlabhq,axilleas/gitlabhq,stoplightio/gitlabhq,dreampet/gitlab,dreampet/gitlab,stoplightio/gitlabhq,jirutka/gitlabhq,iiet/iiet-git,mmkassem/gitlabhq,iiet/iiet-git,mmkassem/gitlabhq,axilleas/gitlabhq,dreampet/gitlab,jirutka/gitlabhq,stoplightio/gitlabhq,iiet/iiet-git,dreampet/gitlab,axilleas/gitlabhq,axilleas/g...
haml
## Code Before: .milestone-deprecation-message.prepend-top-default.prepend-left-default .illustration.inline= image_tag 'illustrations/milestone_removing-page.svg', class: 'append-right-default' .inline.vertical-align-middle %strong= _('This page will be removed in a future release.') %p.append-bottom-defau...
b0bfbe3bcab7f55dd2ed742d945d0f950bca0a2b
ckeditor/urls.py
ckeditor/urls.py
from django.conf.urls.defaults import patterns, url from django.contrib import admin from ckeditor import views urlpatterns = patterns( '', url(r'^upload/', admin.site.admin_view(views.upload), name='ckeditor_upload'), url(r'^browse/', admin.site.admin_view(views.browse), name='ckeditor_browse'), )
try: from django.conf.urls import patterns, url except ImportError: # django < 1.4 from django.conf.urls.defaults import patterns, url from django.contrib import admin from ckeditor import views urlpatterns = patterns( '', url(r'^upload/', admin.site.admin_view(views.upload), name='ckeditor_upload'), ...
Fix the file url for Django 1.6
Fix the file url for Django 1.6
Python
bsd-3-clause
gian88/django-ckeditor-amazon-s3,gian88/django-ckeditor-amazon-s3,gian88/django-ckeditor-amazon-s3,gian88/django-ckeditor-amazon-s3,gian88/django-ckeditor-amazon-s3,gian88/django-ckeditor-amazon-s3
python
## Code Before: from django.conf.urls.defaults import patterns, url from django.contrib import admin from ckeditor import views urlpatterns = patterns( '', url(r'^upload/', admin.site.admin_view(views.upload), name='ckeditor_upload'), url(r'^browse/', admin.site.admin_view(views.browse), name='ckeditor_bro...
0294f0b2b86431298f09b22966c27743dfb82728
tests/functional/helloworld.js
tests/functional/helloworld.js
define([ "intern!object", "intern/chai!assert", "require", "tests/support/helper" ], function ( registerSuite, assert, require, testHelper ) { var signIn = testHelper.getAppUrl( "admin/signin" ); var mainPage = testHelper.getAppUrl( "" ); registerSuite({ name: "Main page."...
define([ "intern!object", "intern/chai!assert", "require", "tests/support/helper" ], function ( registerSuite, assert, require, testHelper ) { var signIn = testHelper.getAppUrl( "admin/signin" ); var mainPage = testHelper.getAppUrl( "" ); registerSuite({ name: "Main page."...
Bring ZF2 error into view
Bring ZF2 error into view
JavaScript
mit
cezarykluczynski/ComicCMS2,cezarykluczynski/ComicCMS2,cezarykluczynski/ComicCMS2
javascript
## Code Before: define([ "intern!object", "intern/chai!assert", "require", "tests/support/helper" ], function ( registerSuite, assert, require, testHelper ) { var signIn = testHelper.getAppUrl( "admin/signin" ); var mainPage = testHelper.getAppUrl( "" ); registerSuite({ name: "Main ...
c624da102a4aa1cb42e7d1ac02c7cb94fe85928e
index.html
index.html
<!DOCTYPE html> <html> <head> <title>David Fox</title> <link rel="stylesheet" href="css/styles.css"/> <link rel="preconnect" href="https://fonts.googleapis.com"> <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> <link href="https://fonts.googleapis.com/css2?family=Roboto:wght@500&...
<!DOCTYPE html> <html> <head> <title>David Fox</title> <link rel="stylesheet" href="css/styles.css"/> <link rel="preconnect" href="https://fonts.googleapis.com"> <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> <link href="https://fonts.googleapis.com/css2?family=Roboto:wght@500&...
Remove LinkedIn because it messes up the styles
Remove LinkedIn because it messes up the styles
HTML
mit
dfox/dfox.github.io,dfox/dfox.github.io,dfox/dfox.github.io
html
## Code Before: <!DOCTYPE html> <html> <head> <title>David Fox</title> <link rel="stylesheet" href="css/styles.css"/> <link rel="preconnect" href="https://fonts.googleapis.com"> <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> <link href="https://fonts.googleapis.com/css2?family=...
018db83bc0322191fee542b8c6afd2412abe6780
templates/downloads/homepage-downloads-box.html
templates/downloads/homepage-downloads-box.html
<h2 class="widget-title"><span aria-hidden="true" class="icon-download"></span>Download</h2> <p>Python source code and installers are available for download for all versions! Not sure which version to use? <a href="https://wiki.python.org/moin/Python2orPython3">Check here</a>.</p> <p>Latest: <a href="{{ latest_python3....
<h2 class="widget-title"><span aria-hidden="true" class="icon-download"></span>Download</h2> <p>Python source code and installers are available for download for all versions! Not sure which version to use? <a href="https://wiki.python.org/moin/Python2orPython3">Check here</a>.</p> <p>Latest: <a href="{{ latest_python3....
Fix homepage download box template
Fix homepage download box template
HTML
apache-2.0
demvher/pythondotorg,SujaySKumar/pythondotorg,lsk112233/Clone-test-repo,manhhomienbienthuy/pythondotorg,demvher/pythondotorg,malemburg/pythondotorg,malemburg/pythondotorg,willingc/pythondotorg,Mariatta/pythondotorg,lepture/pythondotorg,manhhomienbienthuy/pythondotorg,lepture/pythondotorg,lepture/pythondotorg,berkerpeks...
html
## Code Before: <h2 class="widget-title"><span aria-hidden="true" class="icon-download"></span>Download</h2> <p>Python source code and installers are available for download for all versions! Not sure which version to use? <a href="https://wiki.python.org/moin/Python2orPython3">Check here</a>.</p> <p>Latest: <a href="{{...
46eb973aaf98488acb498a5893d4b91be5bd941f
modules/mongodb/spec/type/collection/create/spec.rb
modules/mongodb/spec/type/collection/create/spec.rb
require 'spec_helper' describe command('mongo testdb --quiet --host localhost --port 27017 --eval "db.getCollection(\'mycollection\').stats()"') do its(:stdout) { should match /"ns" : "testdb.mycollection"/ } end
require 'spec_helper' describe command('mongo testdb --quiet --host localhost --port 27017 --eval "printjson(db.getCollection(\'mycollection\').stats())"') do its(:stdout) { should match /"ns" : "testdb.mycollection"/ } its(:stdout) { should_not match /"sharded" :/ } end
Make sure collection is created with sharding by default
Make sure collection is created with sharding by default
Ruby
mit
ppp0/puppet-packages,vrenetic/puppet-packages,zazabe/puppet-packages,tomaszdurka/puppet-packages,vrenetic/puppet-packages,cargomedia/puppet-packages,vrenetic/puppet-packages,njam/puppet-packages,zazabe/puppet-packages,cargomedia/puppet-packages,njam/puppet-packages,cargomedia/puppet-packages,vrenetic/puppet-packages,to...
ruby
## Code Before: require 'spec_helper' describe command('mongo testdb --quiet --host localhost --port 27017 --eval "db.getCollection(\'mycollection\').stats()"') do its(:stdout) { should match /"ns" : "testdb.mycollection"/ } end ## Instruction: Make sure collection is created with sharding by default ## Code After...
194260586513759b84599b0b51f213dad247a55c
api/enrollment_changes/POST.json
api/enrollment_changes/POST.json
{ "id":"1", "to": { "course": { "id":"3","name":"Physics I" }, "period":{ "id":"6","name":"1st" } }, "status":"pending", "requires_enrollee_approval":true }
{ "id":"1", "to": { "course": { "id":"3","name":"Physics I" "teachers": [ {"name": "Charles Morris", "first_name": "Charles", "last_name": "Morris"}, {"name": "", "first_name": "William", "last_name": "Blake"} ] }, "period":{ "id":"6","name":"1st" } }, "st...
Add teachers to test data
Add teachers to test data
JSON
agpl-3.0
openstax/tutor-js,openstax/tutor-js,openstax/tutor-js,openstax/tutor-js,openstax/tutor-js
json
## Code Before: { "id":"1", "to": { "course": { "id":"3","name":"Physics I" }, "period":{ "id":"6","name":"1st" } }, "status":"pending", "requires_enrollee_approval":true } ## Instruction: Add teachers to test data ## Code After: { "id":"1", "to": { "course": { "id"...
b5e02918f7184f57467496afc74fc7602f16d1c6
planck-c/README.md
planck-c/README.md
Planck 2.0: This is an in-progress port of Planck 1.x to C, supporting Linux and OS X. ## Development - prerequisites: Java, `clang`, `cmake` - install deps - on macOS: `brew install pkg-config libzip icu4c` - on Arch: `pacman -S webkitgtk libzip zlib` - on Ubuntu 14.04: `sudo apt-get install javascriptc...
Planck 2.0: This is an in-progress port of Planck 1.x to C, supporting Linux and macOS. - Prerequisites: - Java - `clang` - `cmake` - Dependencies: - macOS: `brew install pkg-config libzip icu4c` - Arch: `pacman -S webkitgtk libzip zlib` - Ubuntu 14.04: `sudo apt-get install javascriptcoregtk-3.0 libglib...
Clean up build instructions, add Debian
Clean up build instructions, add Debian [ci skip]
Markdown
epl-1.0
mfikes/planck,slipset/planck,mfikes/planck,mfikes/planck,slipset/planck,slipset/planck,slipset/planck,mfikes/planck,mfikes/planck,slipset/planck,mfikes/planck
markdown
## Code Before: Planck 2.0: This is an in-progress port of Planck 1.x to C, supporting Linux and OS X. ## Development - prerequisites: Java, `clang`, `cmake` - install deps - on macOS: `brew install pkg-config libzip icu4c` - on Arch: `pacman -S webkitgtk libzip zlib` - on Ubuntu 14.04: `sudo apt-get ins...
675411d2bf1fbfe59d70f583516edef4c45c557b
app/views/admin/dashboard/_maximum_concurrent_scrapers_form.html.haml
app/views/admin/dashboard/_maximum_concurrent_scrapers_form.html.haml
= form_tag update_maximum_concurrent_scrapers_admin_site_settings_path, method: :post do %div = label_tag 'Maximum concurrent scrapers' = number_field_tag 'maximum_concurrent_scrapers', SiteSetting.maximum_concurrent_scrapers %div.buttons = submit_tag 'Update'
= form_tag update_maximum_concurrent_scrapers_admin_site_settings_path, method: :post do %div = label_tag 'Maximum concurrent scrapers' = number_field_tag 'maximum_concurrent_scrapers', SiteSetting.maximum_concurrent_scrapers %p Each running scraper will use up to = number_to_human_size Morph::Docke...
Add a little helper text to say how much memory each scraper could use
Add a little helper text to say how much memory each scraper could use
Haml
agpl-3.0
openaustralia/morph,openaustralia/morph,openaustralia/morph,openaustralia/morph,openaustralia/morph,openaustralia/morph,openaustralia/morph
haml
## Code Before: = form_tag update_maximum_concurrent_scrapers_admin_site_settings_path, method: :post do %div = label_tag 'Maximum concurrent scrapers' = number_field_tag 'maximum_concurrent_scrapers', SiteSetting.maximum_concurrent_scrapers %div.buttons = submit_tag 'Update' ## Instruction: Add a litt...
ccd3191acb793c7fe214240b40aed54a8f3d4403
lib/github/nippou/user_events.rb
lib/github/nippou/user_events.rb
require 'active_support/time' require 'octokit' module Github module Nippou class UserEvents def initialize(client, user, since_date) @client = client @user = user @range = Time.parse(since_date)..Time.now.end_of_day end def retrieve user_events = @client.user_e...
require 'active_support/time' require 'octokit' module Github module Nippou class UserEvents def initialize(client, user, since_date) @client = client @user = user @range = Time.parse(since_date)..Time.now.end_of_day end def retrieve user_events = @client.user_e...
Change pagination parameter for performance
Change pagination parameter for performance
Ruby
mit
masutaka/github-nippou
ruby
## Code Before: require 'active_support/time' require 'octokit' module Github module Nippou class UserEvents def initialize(client, user, since_date) @client = client @user = user @range = Time.parse(since_date)..Time.now.end_of_day end def retrieve user_events ...
a7fcc89755e01bf3dbe7090e2bf7f1211ce9af84
test/test_property.py
test/test_property.py
import unittest from odml import Property, Section, Document class TestProperty(unittest.TestCase): def setUp(self): pass def test_value(self): p = Property("property", 100) assert(p.value[0] == 100) def test_name(self): pass def test_parent(self): pass ...
import unittest from odml import Property, Section, Document from odml.doc import BaseDocument from odml.section import BaseSection class TestProperty(unittest.TestCase): def setUp(self): pass def test_value(self): p = Property("property", 100) self.assertEqual(p.value[0], 100) ...
Add tests to cover update parent functionality.
Add tests to cover update parent functionality.
Python
bsd-3-clause
lzehl/python-odml
python
## Code Before: import unittest from odml import Property, Section, Document class TestProperty(unittest.TestCase): def setUp(self): pass def test_value(self): p = Property("property", 100) assert(p.value[0] == 100) def test_name(self): pass def test_parent(self): ...
50c493a7d7e79bd0ab46873d7a7dac7aceb78129
README.md
README.md
Defender Game (of Earth?) [![Build Status](https://travis-ci.org/gios-asu/sustainability-tower-defense.svg?branch=rraub-scaffolding)](https://travis-ci.org/gios-asu/sustainability-tower-defense) # Getting Started * We'll start off with using just [Webpack](https://github.com/webpack/webpack/), have a look at their [...
Defender Game (of Earth?) [![Build Status](https://travis-ci.org/gios-asu/sustainability-tower-defense.svg?branch=master)](https://travis-ci.org/gios-asu/sustainability-tower-defense) # Getting Started * We'll start off with using just [Webpack](https://github.com/webpack/webpack/), have a look at their [getting sta...
Update Travis status badge to point to master
Update Travis status badge to point to master
Markdown
mit
gios-asu/sustainability-tower-defense,gios-asu/sustainability-tower-defense
markdown
## Code Before: Defender Game (of Earth?) [![Build Status](https://travis-ci.org/gios-asu/sustainability-tower-defense.svg?branch=rraub-scaffolding)](https://travis-ci.org/gios-asu/sustainability-tower-defense) # Getting Started * We'll start off with using just [Webpack](https://github.com/webpack/webpack/), have a...
c225092358b60fd0467703288507787e9950edb5
app/templates/programyear.hbs
app/templates/programyear.hbs
<div class="breadcrumb"> {{#link-to 'programs'}}All Programs{{/link-to}} {{#link-to 'program' program}}{{program.title}}{{/link-to}} </div> <br /> {{#if isDirty}} <button {{action 'save' this}}>Save Changes</button> {{/if}} <div class="accordion-tabs-minimal"> <ul> <li class="tab-header"> {{#link-to '...
<div class="breadcrumb"> {{#link-to 'programs'}}All Programs{{/link-to}} {{#link-to 'program' program}}{{program.title}}{{/link-to}} </div> <hr /> <div class="accordion-tabs-minimal"> <ul> <li class="tab-header"> {{#link-to 'programyearcompetencies' program this class='tab-link'}} Competencies <...
Move the button for program year changes
Move the button for program year changes
Handlebars
mit
ilios/frontend,djvoa12/frontend,gboushey/frontend,stopfstedt/frontend,gabycampagna/frontend,thecoolestguy/frontend,gboushey/frontend,gabycampagna/frontend,thecoolestguy/frontend,dartajax/frontend,djvoa12/frontend,ilios/frontend,dartajax/frontend,jrjohnson/frontend,jrjohnson/frontend,stopfstedt/frontend
handlebars
## Code Before: <div class="breadcrumb"> {{#link-to 'programs'}}All Programs{{/link-to}} {{#link-to 'program' program}}{{program.title}}{{/link-to}} </div> <br /> {{#if isDirty}} <button {{action 'save' this}}>Save Changes</button> {{/if}} <div class="accordion-tabs-minimal"> <ul> <li class="tab-header"> ...
d09df39a4c30b8b88f3b26fc3bddb645dea290e5
server_example/server.js
server_example/server.js
// Load required modules var http = require("http"); // http server core module var express = require("express"); // web framework external module var io = require("socket.io"); // web socket external module var easyrtc = require("easyrtc"); // EasyRTC external modul...
// Load required modules var http = require("http"); // http server core module var express = require("express"); // web framework external module var io = require("socket.io"); // web socket external module var easyrtc = require("easyrtc"); // EasyRTC external modul...
Disable debug logging in socket.io
Disable debug logging in socket.io
JavaScript
bsd-2-clause
linagora/easyrtc,udayshankar3/nodeapp,nmai/easyrtc,xirsys/easyrtc,mauricionr/easyrtc,Hocalwire/easyrtc,mauricionr/easyrtc,ash24mish/easyrtc,nmai/easyrtc,cristiancvanega/easyrtc,priologic/easyrtc,logoff/easyrtc,mauricionr/easyrtc,bgawande/easyrtc,Sylaps/easyrtc,hthetiot/easyrtc,thiagocarreno/easyrtc,logoff/easyrtc,priol...
javascript
## Code Before: // Load required modules var http = require("http"); // http server core module var express = require("express"); // web framework external module var io = require("socket.io"); // web socket external module var easyrtc = require("easyrtc"); // EasyRTC ex...
0d189ccb055123e0e84ffcbcb6cf5a4b64577858
app/models/order_decorator.rb
app/models/order_decorator.rb
module SolidusShipwire::Order prepend SolidusShipwire::Proxy def self.prepended(base) base.after_save :update_on_shipwire, if: :complete? base.state_machine.after_transition to: :complete, do: :in_shipwire, if: :line_items_in_shipwire? end def to_shipwire { orderId: id, orderNo: number...
module SolidusShipwire::Order prepend SolidusShipwire::Proxy def self.prepended(base) base.after_save :update_on_shipwire, if: :update_on_shipwire? base.state_machine.after_transition to: :complete, do: :in_shipwire, if: :line_items_in_shipwire? end def to_shipwire { orderId: id, order...
Update order only if shipwire_id is present
Update order only if shipwire_id is present
Ruby
bsd-3-clause
nebulab/solidus_shipwire,nebulab/solidus_shipwire,nebulab/solidus_shipwire
ruby
## Code Before: module SolidusShipwire::Order prepend SolidusShipwire::Proxy def self.prepended(base) base.after_save :update_on_shipwire, if: :complete? base.state_machine.after_transition to: :complete, do: :in_shipwire, if: :line_items_in_shipwire? end def to_shipwire { orderId: id, ...
710179823c3c2056dd80e2c9cf610607c2acfeff
src/helpers/regex.ts
src/helpers/regex.ts
import escapeStringRegexp = require('escape-string-regexp'); import { Command } from '../chat-service/command'; export function createCommandRegex(commands: string[], rootCommand = false): RegExp { let beginning = ''; let end = ''; if (rootCommand) { beginning = '^'; end = '$'; } ...
import escapeStringRegexp = require('escape-string-regexp'); import { Command } from '../chat-service/command'; export function createCommandRegex(commands: string[], rootCommand = false): RegExp { const beginning = rootCommand ? '^' : ''; const end = rootCommand ? '$' : ''; return new RegExp(`${beginnin...
Use shorthand expression for variable assignment in createCommandRegex
Use shorthand expression for variable assignment in createCommandRegex
TypeScript
mit
Ionaru/MarketBot
typescript
## Code Before: import escapeStringRegexp = require('escape-string-regexp'); import { Command } from '../chat-service/command'; export function createCommandRegex(commands: string[], rootCommand = false): RegExp { let beginning = ''; let end = ''; if (rootCommand) { beginning = '^'; end = ...
d49360f43d8b44a6d27569b83ac293b5a37bc50a
domgen/domgen/templates/iris/module.erb
domgen/domgen/templates/iris/module.erb
/* DO NOT EDIT: File is autogenerated */ package <%= schema.java.package %>; <% set_iris_mode %> @javax.annotation.Generated( "Domgen" ) @SuppressWarnings( { "UnusedDeclaration" } ) public class <%= schema.name %>Module { public static final Class<?>[] LOAD_AT_STARTUP = { <%= schema.object_types.sele...
/* DO NOT EDIT: File is autogenerated */ package <%= schema.java.package %>; <% set_iris_mode %> @javax.annotation.Generated( "Domgen" ) @SuppressWarnings( { "UnusedDeclaration" } ) public class <%= schema.name %>Module { public static final Class<?>[] LOAD_AT_STARTUP = { <%= schema.object_types.sele...
Add type codes used in transmission across the wire
Add type codes used in transmission across the wire
HTML+ERB
apache-2.0
icaughley/domgen,realityforge/domgen,william-ml-leslie/domgen,icaughley/domgen,realityforge/domgen
html+erb
## Code Before: /* DO NOT EDIT: File is autogenerated */ package <%= schema.java.package %>; <% set_iris_mode %> @javax.annotation.Generated( "Domgen" ) @SuppressWarnings( { "UnusedDeclaration" } ) public class <%= schema.name %>Module { public static final Class<?>[] LOAD_AT_STARTUP = { <%= schema.object_type...