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
1a1e7b7564165352e0e1c17f3e013ca610974eaf
index.html
index.html
<!DOCTYPE html> <html lang="en"> <head> <title>Mac Chaffee</title> <meta charset="utf-8"> <meta name="description" content="The personal website of Mac Chaffee"/> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="theme-color" content="#ECEBF3"> <link rel="shortcu...
<!DOCTYPE html> <html lang="en"> <head> <title>Mac Chaffee</title> <meta charset="utf-8"> <meta name="description" content="The personal website of Mac Chaffee"/> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="theme-color" content="#ECEBF3"> <link rel="shortcu...
Change main header to be more specific
Change main header to be more specific
HTML
mit
mac-chaffee/personal-site,mac-chaffee/personal-site,mac-chaffee/personal-site,mac-chaffee/personal-site
html
## Code Before: <!DOCTYPE html> <html lang="en"> <head> <title>Mac Chaffee</title> <meta charset="utf-8"> <meta name="description" content="The personal website of Mac Chaffee"/> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="theme-color" content="#ECEBF3"> <l...
b1dbe7edc9c75b7c4f21c2b0c78958604f3b2339
config/initializers/auth0.rb
config/initializers/auth0.rb
Rails.application.config.middleware.use OmniAuth::Builder do provider( :auth0, 'mV3LbBNO393VYjWHySzgONZT2t7kjqDh', '_ZnKuKfv17Vf_o_DA_KA7Ck5Nzzy-QvXi7U8GxBObHZkWuPAUwpMaDzTX_ZrzAzM', 'pc-load-letter.auth0.com', callback_path: "/auth/auth0/callback" ) end
Rails.application.config.middleware.use OmniAuth::Builder do provider( :auth0, ENV['AUTH0_CLIENT'], ENV['AUTH0_SECRET'], 'pc-load-letter.auth0.com', callback_path: "/auth/auth0/callback" ) end
Move keys to environment variables
Move keys to environment variables
Ruby
mit
walsh9/pc-load-letter,walsh9/pc-load-letter,walsh9/pc-load-letter
ruby
## Code Before: Rails.application.config.middleware.use OmniAuth::Builder do provider( :auth0, 'mV3LbBNO393VYjWHySzgONZT2t7kjqDh', '_ZnKuKfv17Vf_o_DA_KA7Ck5Nzzy-QvXi7U8GxBObHZkWuPAUwpMaDzTX_ZrzAzM', 'pc-load-letter.auth0.com', callback_path: "/auth/auth0/callback" ) end ## Instruction: Move keys...
f005df229a4f79192a2ead502bd44845c0736aeb
template.html
template.html
<!doctype html> {{$places := .Places}} <div> <form action="/"> {{range .Places}} <input type="checkbox" name="placeID" value="{{.ID}}">{{.City}}{{if .Department}} / {{.Department}}{{else}}, {{.Arrondissement}}{{end}} {{end}} <br><input type="submit" value="Filter"> </form> </div> <div> {{range .Announces}} ...
<!doctype html> <head> <title>pollbc</title> </head> {{$places := .Places}} <div> <form action="/"> {{range .Places}} <input type="checkbox" name="placeID" value="{{.ID}}">{{.City}}{{if .Department}} / {{.Department}}{{else}}, {{.Arrondissement}}{{end}} {{end}} <br><input type="submit" value="Filter"> </form>...
Add title to html page
Add title to html page
HTML
mit
yansal/pollbc,yansal/pollbc
html
## Code Before: <!doctype html> {{$places := .Places}} <div> <form action="/"> {{range .Places}} <input type="checkbox" name="placeID" value="{{.ID}}">{{.City}}{{if .Department}} / {{.Department}}{{else}}, {{.Arrondissement}}{{end}} {{end}} <br><input type="submit" value="Filter"> </form> </div> <div> {{rang...
a6132c394a62fa86da541349bc8b0618d936a29a
spec/app/models/log_spec.rb
spec/app/models/log_spec.rb
require 'app' RSpec.describe Honeypot::Log do describe '#create_collection' do it 'works when the collection exists' do expect do described_class.create_collection end.to change { Honeypot::Log.all.size }.by(0) end it 'works when the collection exists but is not capped' do desc...
require 'app' RSpec.describe Honeypot::Log do describe '#create_collection' do it 'works when the collection exists' do expect do described_class.create_collection end.to change { described_class.all.size }.by(0) end it 'works when the collection exists but is not capped' do de...
Add spec with an array
Add spec with an array
Ruby
mit
ermaker/honeypot,ermaker/honeypot,ermaker/honeypot
ruby
## Code Before: require 'app' RSpec.describe Honeypot::Log do describe '#create_collection' do it 'works when the collection exists' do expect do described_class.create_collection end.to change { Honeypot::Log.all.size }.by(0) end it 'works when the collection exists but is not cappe...
e8dffdae918fd10fdc547b80a10c5fb09e8fe188
app/scripts/map-data.js
app/scripts/map-data.js
(function(window, undefined) { var data = window.data = window.data || { }; var map = data.map = data.map || { }; map['Germany'] = [52.5, 13.4]; map['France'] = [48.9, 2.4]; })(window);
(function(window, undefined) { var data = window.data = window.data || { }; var map = data.map = data.map || { }; map['Germany'] = [52.5, 13.4]; map['France'] = [48.9, 2.4]; map['Spain'] = [40.4, -3.7]; map['Russia'] = [55.7, 37.6]; map['Italy'] = [41.9, 12.5]; map['Ukraine'] = [50.5, 30.5]; map['Swe...
Add remaining capitals for FPO dataset
Add remaining capitals for FPO dataset
JavaScript
apache-2.0
SF-Housing-Visualization/mids-sf-housing-visualization,SF-Housing-Visualization/mids-sf-housing-visualization
javascript
## Code Before: (function(window, undefined) { var data = window.data = window.data || { }; var map = data.map = data.map || { }; map['Germany'] = [52.5, 13.4]; map['France'] = [48.9, 2.4]; })(window); ## Instruction: Add remaining capitals for FPO dataset ## Code After: (function(window, undefined) { var...
178bde1703bbb044f8af8c70a57517af4490a3c0
databot/handlers/download.py
databot/handlers/download.py
import time import requests import bs4 from databot.recursive import call class DownloadErrror(Exception): pass def dump_response(response): return { 'headers': dict(response.headers), 'cookies': dict(response.cookies), 'status_code': response.status_code, 'encoding': respon...
import time import requests import bs4 import cgi from databot.recursive import call class DownloadErrror(Exception): pass def dump_response(response): return { 'headers': dict(response.headers), 'cookies': response.cookies.get_dict(), 'status_code': response.status_code, 'e...
Fix duplicate cookie issue and header parsing
Fix duplicate cookie issue and header parsing
Python
agpl-3.0
sirex/databot,sirex/databot
python
## Code Before: import time import requests import bs4 from databot.recursive import call class DownloadErrror(Exception): pass def dump_response(response): return { 'headers': dict(response.headers), 'cookies': dict(response.cookies), 'status_code': response.status_code, 'e...
955cb0d27ab52348b753c3edea731223e2631f50
Climate_Police/tests/test_plot_pollutants.py
Climate_Police/tests/test_plot_pollutants.py
import unittest from plot_pollutants import plot_pollutants import pandas as pd df = pd.read_csv("../data/pollution_us_2000_2016.csv") year="2010" state="Arizona" class TestPlot(unittest.TestCase): def testPlotPollutants(self): result=plot_pollutants(df, year, state) expected_explan...
import unittest from plot_pollutants import plot_pollutants import pandas as pd df = pd.read_csv("../data/pollution_us_2000_2016.csv") year="2010" state="Arizona" class TestPlot(unittest.TestCase): def testPlotPollutants(self): fig, flag = plot_pollutants(df, year, state) expected_e...
Add flag to plot_pollutant unit test
Add flag to plot_pollutant unit test also change assertTrue to assertEqual
Python
mit
abhisheksugam/Climate_Police
python
## Code Before: import unittest from plot_pollutants import plot_pollutants import pandas as pd df = pd.read_csv("../data/pollution_us_2000_2016.csv") year="2010" state="Arizona" class TestPlot(unittest.TestCase): def testPlotPollutants(self): result=plot_pollutants(df, year, state) ...
248110080721c137f3b9a864c08f90156a34699c
os/osx.sh
os/osx.sh
defaults write NSGlobalDomain NSAutomaticQuoteSubstitutionEnabled -bool false # Disable smart dashes. defaults write NSGlobalDomain NSAutomaticDashSubstitutionEnabled -bool false # ---------------------------------------------------------------------------- # Finder # ------------------------------------------------...
defaults write NSGlobalDomain NSAutomaticQuoteSubstitutionEnabled -bool false # Disable smart dashes. defaults write NSGlobalDomain NSAutomaticDashSubstitutionEnabled -bool false # ---------------------------------------------------------------------------- # Finder # ------------------------------------------------...
Update brew when reinitializing an OSX installation
Update brew when reinitializing an OSX installation
Shell
unlicense
dmulholland/dotfiles,dmulholland/dotfiles
shell
## Code Before: defaults write NSGlobalDomain NSAutomaticQuoteSubstitutionEnabled -bool false # Disable smart dashes. defaults write NSGlobalDomain NSAutomaticDashSubstitutionEnabled -bool false # ---------------------------------------------------------------------------- # Finder # --------------------------------...
5c1f57214986c07ea713ab252669199faa27e0f0
settings/ajax/updateapp.php
settings/ajax/updateapp.php
<?php /** * Copyright (c) 2013 Georg Ehrke georg@ownCloud.com * This file is licensed under the Affero General Public License version 3 or * later. * See the COPYING-README file. */ OCP\JSON::checkAdminUser(); OCP\JSON::callCheck(); if (!array_key_exists('appid', $_POST)) { OCP\JSON::error(array( 'message' => ...
<?php /** * Copyright (c) 2013 Georg Ehrke georg@ownCloud.com * This file is licensed under the Affero General Public License version 3 or * later. * See the COPYING-README file. */ OCP\JSON::checkAdminUser(); OCP\JSON::callCheck(); if (!array_key_exists('appid', $_POST)) { OCP\JSON::error(array( 'message' => ...
Set maintaince mode when updating an app from the app store
Set maintaince mode when updating an app from the app store
PHP
agpl-3.0
michaelletzgus/nextcloud-server,Ardinis/server,cernbox/core,Ardinis/server,owncloud/core,whitekiba/server,endsguy/server,sharidas/core,pollopolea/core,IljaN/core,lrytz/core,owncloud/core,xx621998xx/server,IljaN/core,pmattern/server,andreas-p/nextcloud-server,andreas-p/nextcloud-server,whitekiba/server,pollopolea/core,b...
php
## Code Before: <?php /** * Copyright (c) 2013 Georg Ehrke georg@ownCloud.com * This file is licensed under the Affero General Public License version 3 or * later. * See the COPYING-README file. */ OCP\JSON::checkAdminUser(); OCP\JSON::callCheck(); if (!array_key_exists('appid', $_POST)) { OCP\JSON::error(array(...
04d6fa662ba791d57d1ae06484968940ddffeaf3
scube-cli.gemspec
scube-cli.gemspec
require File.expand_path('../lib/scube/cli/version', __FILE__) Gem::Specification.new do |s| s.name = 'scube-cli' s.version = Scube::CLI::VERSION.dup s.summary = 'CLI client for Scube' s.description = s.name s.license = 'BSD-3-Clause' s.homepage = 'https://rubygems.org/gems/scube-cli'...
require File.expand_path('../lib/scube/cli/version', __FILE__) Gem::Specification.new do |s| s.name = 'scube-cli' s.version = Scube::CLI::VERSION.dup s.summary = 'CLI client for Scube' s.description = s.name s.license = 'BSD-3-Clause' s.homepage = 'https://rubygems.org/gems/scube-cli'...
Declare id3tag gem as runtime dependency
Declare id3tag gem as runtime dependency
Ruby
bsd-3-clause
scube-dev/scube-cli
ruby
## Code Before: require File.expand_path('../lib/scube/cli/version', __FILE__) Gem::Specification.new do |s| s.name = 'scube-cli' s.version = Scube::CLI::VERSION.dup s.summary = 'CLI client for Scube' s.description = s.name s.license = 'BSD-3-Clause' s.homepage = 'https://rubygems.org...
81dfb5cb952fbca90882bd39e76887f0fa6479eb
msmexplorer/tests/test_msm_plot.py
msmexplorer/tests/test_msm_plot.py
import numpy as np from msmbuilder.msm import MarkovStateModel, BayesianMarkovStateModel from matplotlib.axes import SubplotBase from seaborn.apionly import JointGrid from ..plots import plot_pop_resids, plot_msm_network, plot_timescales rs = np.random.RandomState(42) data = rs.randint(low=0, high=10, size=100000) ms...
import numpy as np from msmbuilder.msm import MarkovStateModel, BayesianMarkovStateModel from matplotlib.axes import SubplotBase from seaborn.apionly import JointGrid from ..plots import plot_pop_resids, plot_msm_network, plot_timescales, plot_implied_timescales rs = np.random.RandomState(42) data = rs.randint(low=0,...
Add test for implied timescales plot
Add test for implied timescales plot
Python
mit
msmexplorer/msmexplorer,msmexplorer/msmexplorer
python
## Code Before: import numpy as np from msmbuilder.msm import MarkovStateModel, BayesianMarkovStateModel from matplotlib.axes import SubplotBase from seaborn.apionly import JointGrid from ..plots import plot_pop_resids, plot_msm_network, plot_timescales rs = np.random.RandomState(42) data = rs.randint(low=0, high=10,...
28b481287f2dbc2ba2547189b57dd47f1f16d497
app/controllers/letter_bomb/mailers_controller.rb
app/controllers/letter_bomb/mailers_controller.rb
module LetterBomb class MailersController < ApplicationController def index @mailers = LetterBomb::Preview.previews end def show klass = params[:mailer_class] @action = params[:mailer_action] @mail = klass.constantize.preview_action(@action) params[:format] ||= @mail.multi...
module LetterBomb class MailersController < ApplicationController def index @mailers = LetterBomb::Preview.previews end def show klass = params[:mailer_class] @action = params[:mailer_action] @mail = klass.constantize.preview_action(@action) params[:format] ||= content_typ...
Check message content type to determine default rendered format.
Check message content type to determine default rendered format.
Ruby
mit
ags/letter_bomb,ags/letter_bomb,ags/letter_bomb
ruby
## Code Before: module LetterBomb class MailersController < ApplicationController def index @mailers = LetterBomb::Preview.previews end def show klass = params[:mailer_class] @action = params[:mailer_action] @mail = klass.constantize.preview_action(@action) params[:format]...
4680be1e6f5a6bbf4d073f7b60ee161a22c76933
lib/miq_automation_engine/service_models/miq_ae_service_service_template.rb
lib/miq_automation_engine/service_models/miq_ae_service_service_template.rb
module MiqAeMethodService class MiqAeServiceServiceTemplate < MiqAeServiceModelBase expose :service_templates, :association => true expose :services, :association => true expose :service_resources, :association => true expose :tenant, :association => true expose :provision_requ...
module MiqAeMethodService class MiqAeServiceServiceTemplate < MiqAeServiceModelBase expose :service_templates, :association => true expose :services, :association => true expose :service_resources, :association => true expose :tenant, :association => true expose :provision_requ...
Use user object instead of userid
Use user object instead of userid (transferred from ManageIQ/manageiq@bc8f06be80d4efcaa5b29a1e54c279a9132b84da)
Ruby
apache-2.0
bdunne/manageiq-automation_engine
ruby
## Code Before: module MiqAeMethodService class MiqAeServiceServiceTemplate < MiqAeServiceModelBase expose :service_templates, :association => true expose :services, :association => true expose :service_resources, :association => true expose :tenant, :association => true expose...
efd042cda8dba02e7e9868a02bfa1aa8d0ca917c
_sass/_page.scss
_sass/_page.scss
.page { vm: 100vh; vmin: 100vh; min-height: 100vh; padding: 100px 3% 0 3%; } #home { text-align: center; } .heading { background: $purple; color: white; text-align: center; } .thanks { text-align: center; } .signature { color: $purple; font-family: $heading-font-family; } .scroll-help-contain...
.page { vm: 100vh; vmin: 50vh; margin: 2em 0; min-height: 50vh; padding: 100px 3% 0 3%; } #home { text-align: center; } .heading { background: $purple; color: white; text-align: center; } .thanks { text-align: center; } .signature { color: $purple; font-family: $heading-font-family; } .scro...
Add some margin; max height 50vh instead of 100vh
Add some margin; max height 50vh instead of 100vh
SCSS
mit
rhewitt22/jessie,rhewitt22/jessie
scss
## Code Before: .page { vm: 100vh; vmin: 100vh; min-height: 100vh; padding: 100px 3% 0 3%; } #home { text-align: center; } .heading { background: $purple; color: white; text-align: center; } .thanks { text-align: center; } .signature { color: $purple; font-family: $heading-font-family; } .scr...
1d8b1cbf21e67f651e5aaea495a1e2fd9cdb55b2
lib/tasks/check.rake
lib/tasks/check.rake
require 'origin_detector' namespace :bruce do desc "Check many gems are created locally in Australia" task :check => :environment do |t| # Call the AussieDetector aussieDetector = OriginDetector::AussieDetector.new("#{Rails.root}/Gemfile") config = Bruce::Config.new config.save(aussieDetector.how...
require 'origin_detector' namespace :bruce do desc "Check many gems are created locally in Australia" task :check => :environment do |t| # Call the AussieDetector aussieDetector = OriginDetector::AussieDetector.new("#{Rails.root}/Gemfile") config = Bruce::Config.new result = aussieDetector.how_au...
Print the result after doing the rake task
Print the result after doing the rake task
Ruby
mit
map7/bruce,map7/bruce
ruby
## Code Before: require 'origin_detector' namespace :bruce do desc "Check many gems are created locally in Australia" task :check => :environment do |t| # Call the AussieDetector aussieDetector = OriginDetector::AussieDetector.new("#{Rails.root}/Gemfile") config = Bruce::Config.new config.save(au...
c11f3ba686a497e5a6a35e868d5a6b3a94824395
config/nginx.conf.erb
config/nginx.conf.erb
daemon off; #Heroku dynos have at least 4 cores. worker_processes <%= ENV['NGINX_WORKERS'] || 4 %>; events { use epoll; accept_mutex on; worker_connections 1024; } http { gzip on; gzip_comp_level 2; gzip_min_length 512; server_tokens off; log_format l2met 'measure#nginx.service=$request_time request...
daemon off; #Heroku dynos have at least 4 cores. worker_processes <%= ENV['NGINX_WORKERS'] || 4 %>; events { use epoll; accept_mutex on; worker_connections 1024; } http { gzip on; gzip_comp_level 2; gzip_min_length 512; server_tokens off; log_format l2met 'measure#nginx.service=$request_time request...
Add rewrite rule that requires https connections
Add rewrite rule that requires https connections
HTML+ERB
mit
gregburek/heroku-tls-auth-nginx-sample,gregburek/heroku-tls-auth-nginx-sample
html+erb
## Code Before: daemon off; #Heroku dynos have at least 4 cores. worker_processes <%= ENV['NGINX_WORKERS'] || 4 %>; events { use epoll; accept_mutex on; worker_connections 1024; } http { gzip on; gzip_comp_level 2; gzip_min_length 512; server_tokens off; log_format l2met 'measure#nginx.service=$requ...
5c7904797847cf09e750013db5da09bcc7a9905e
README.md
README.md
Installation ------------ Add the following lines to ~/.sbt/plugins/build.sbt: resolvers += "sbt-idea-repo" at "http://mpeltonen.github.com/maven/" libraryDependencies += "com.github.mpeltonen" %% "sbt-idea" % "0.10.0-SNAPSHOT" Usage ----- Run `gen-idea` from a SBT shell.
Requirements ------------ * [SBT 0.10+](https://github.com/harrah/xsbt/wiki) Installation ------------ Add the following lines to ~/.sbt/plugins/build.sbt: resolvers += "sbt-idea-repo" at "http://mpeltonen.github.com/maven/" libraryDependencies += "com.github.mpeltonen" %% "sbt-idea" % "0.10.0-SNAPSHOT...
Add sbt 0.10 as requirement to readme
Add sbt 0.10 as requirement to readme
Markdown
bsd-3-clause
mpeltonen/sbt-idea
markdown
## Code Before: Installation ------------ Add the following lines to ~/.sbt/plugins/build.sbt: resolvers += "sbt-idea-repo" at "http://mpeltonen.github.com/maven/" libraryDependencies += "com.github.mpeltonen" %% "sbt-idea" % "0.10.0-SNAPSHOT" Usage ----- Run `gen-idea` from a SBT shell. ## Instructio...
1613925688cc4a5f8de9f15cd5aeda0aacd9eca7
lib/lazy/attribute/lazy_attribute.rb
lib/lazy/attribute/lazy_attribute.rb
module Lazy module Attribute module ClassMethods def lazy_attribute(attribute, options = {}) default_options = { raise_error: false, key: [], create_if_not_found: false } options.reverse_merge!(default_options) singleton_class.instance_eval do define_method(options[:key]...
module Lazy module Attribute module ClassMethods # Including the lazy_attribute gem to the model # # @param attribute [Symbol] # @param [Hash] options # @option options [Symbol] :key (:default) if the key parameter is not set, it will take the default as the key # @option opti...
Add docs for better usability
Add docs for better usability
Ruby
mit
selvachezhian/lazy-attribute
ruby
## Code Before: module Lazy module Attribute module ClassMethods def lazy_attribute(attribute, options = {}) default_options = { raise_error: false, key: [], create_if_not_found: false } options.reverse_merge!(default_options) singleton_class.instance_eval do define_meth...
6ecfb54eec58e078a3e405fc6652576fd9a3f229
dplace_app/static/partials/search/language.html
dplace_app/static/partials/search/language.html
<div ng-controller="LanguageCtrl"> <h4>Search by Language Family / Phylogeny</h4> <form class="form-inline" role="form"> <div class="panel panel-default" ng-repeat="languageFilter in language.languageFilters"> <div class="panel-heading"> <div class="row"> ...
<div ng-controller="LanguageCtrl"> <h4>Search by Language Family</h4> <form class="form-inline" role="form"> <div class="panel panel-default" ng-repeat="languageFilter in language.languageFilters"> <div class="panel-heading"> <div class="row"> <div ng-repe...
Remove phylogeny from search title
Remove phylogeny from search title
HTML
mit
shh-dlce/dplace,stefelisabeth/dplace,shh-dlce/dplace,D-PLACE/dplace,NESCent/dplace,D-PLACE/dplace,shh-dlce/dplace,D-PLACE/dplace,D-PLACE/dplace,NESCent/dplace,stefelisabeth/dplace,NESCent/dplace,stefelisabeth/dplace,shh-dlce/dplace,stefelisabeth/dplace,NESCent/dplace
html
## Code Before: <div ng-controller="LanguageCtrl"> <h4>Search by Language Family / Phylogeny</h4> <form class="form-inline" role="form"> <div class="panel panel-default" ng-repeat="languageFilter in language.languageFilters"> <div class="panel-heading"> <div class="row"> ...
ae678d528b774cb98827306c12f70386df23ffe4
src/Oro/Bundle/WorkflowBundle/Resources/public/js/datagrid/workflow-action-permissions-row-view.js
src/Oro/Bundle/WorkflowBundle/Resources/public/js/datagrid/workflow-action-permissions-row-view.js
define(function(require) { 'use strict'; var WorkflowActionPermissionsRowView; var _ = require('underscore'); var mediator = require('oroui/js/mediator'); var ActionPermissionsRowView = require('orouser/js/datagrid/action-permissions-row-view'); var FieldView = require('./workflow-action-permis...
define(function(require) { 'use strict'; var WorkflowActionPermissionsRowView; var mediator = require('oroui/js/mediator'); var ActionPermissionsRowView = require('orouser/js/datagrid/action-permissions-row-view'); var FieldView = require('./workflow-action-permissions-field-view'); WorkflowAc...
Fix fields ACL JS component to support access_level_route parameter - fix CS
BB-5745: Fix fields ACL JS component to support access_level_route parameter - fix CS
JavaScript
mit
geoffroycochard/platform,Djamy/platform,Djamy/platform,Djamy/platform,orocrm/platform,orocrm/platform,geoffroycochard/platform,geoffroycochard/platform,orocrm/platform
javascript
## Code Before: define(function(require) { 'use strict'; var WorkflowActionPermissionsRowView; var _ = require('underscore'); var mediator = require('oroui/js/mediator'); var ActionPermissionsRowView = require('orouser/js/datagrid/action-permissions-row-view'); var FieldView = require('./workfl...
e1613dfa85f53d5c397e71577ab37ca98e44ab4f
test/Unit/ProjectCodeTest.php
test/Unit/ProjectCodeTest.php
<?php declare(strict_types=1); /** * Copyright (c) 2017 Andreas Möller. * * For the full copyright and license information, please view * the LICENSE file that was distributed with this source code. * * @link https://github.com/localheinz/test-util */ namespace Localheinz\Test\Util\Test\Unit; use Localheinz\...
<?php declare(strict_types=1); /** * Copyright (c) 2017 Andreas Möller. * * For the full copyright and license information, please view * the LICENSE file that was distributed with this source code. * * @link https://github.com/localheinz/test-util */ namespace Localheinz\Test\Util\Test\Unit; use Localheinz\...
Remove reference to non-existent class
Fix: Remove reference to non-existent class
PHP
mit
localheinz/test-util
php
## Code Before: <?php declare(strict_types=1); /** * Copyright (c) 2017 Andreas Möller. * * For the full copyright and license information, please view * the LICENSE file that was distributed with this source code. * * @link https://github.com/localheinz/test-util */ namespace Localheinz\Test\Util\Test\Unit; ...
74a4563bff984b04837f64f568b721406510d7ad
lib/extensions/identify.rb
lib/extensions/identify.rb
require 'cinch' module Cinch class Message def is_admin? self.user.host == $master end def is_op? ops = self.channel.ops.map { |usr| usr.host } ops.include? self.user.host end def is_unauthorized self.reply "https://youtu.be/OBWpzvJGTz4" end end end
require 'cinch' # User checks module YongIdentify # Checks if message is from $master def is_admin? self.user.host == $master end # Checks if message is from a channel operator def is_op? ops = self.channel.ops.map { |usr| usr.host } ops.include? self.user.host end # Response for unauthoriz...
Create YongIdentify module and prepend to Message class
Create YongIdentify module and prepend to Message class
Ruby
mit
dhanesana/yongBot
ruby
## Code Before: require 'cinch' module Cinch class Message def is_admin? self.user.host == $master end def is_op? ops = self.channel.ops.map { |usr| usr.host } ops.include? self.user.host end def is_unauthorized self.reply "https://youtu.be/OBWpzvJGTz4" end end e...
aa15181c91499d063194767f4d9d097e34951c7d
lib/runner/matcher.js
lib/runner/matcher.js
module.exports = { /** * @param {string} testFilePath - file path of a test * @param {array} tags - tags to match * @returns {boolean} true if specified test matches given tag */ tags: function (testFilePath, tags) { try { test = require(testFilePath); } catch (e) { // could not loa...
module.exports = { /** * @param {string} testFilePath - file path of a test * @param {array} tags - tags to match * @returns {boolean} true if specified test matches given tag */ tags: function (testFilePath, tags) { var test; try { test = require(testFilePath); } catch (e) { //...
Fix jsdoc error due to undeclared variable
Fix jsdoc error due to undeclared variable
JavaScript
mit
lukaszw82/nightwatch,mbixby/nightwatch,campbellwmorgan/nightwatch,LucioFranco/nightwatch,ervinb/nightwatch,sethmcl/nightwatch,CoderK/nightwatch,JonDum/nightwatch,obulisaravanan/nightwatch,Crunch-io/nightwatch,sknopf/nightwatch,vuthelinh/nightwatch,campbellwmorgan/nightwatch,awatson1978/nightwatch,beatfactor/nightwatch,...
javascript
## Code Before: module.exports = { /** * @param {string} testFilePath - file path of a test * @param {array} tags - tags to match * @returns {boolean} true if specified test matches given tag */ tags: function (testFilePath, tags) { try { test = require(testFilePath); } catch (e) { ...
cad7bdca07f5ba979f14b11e6fd4109b1f7043c9
terminate_instances.py
terminate_instances.py
s program terminate instances if proper tag is not used """ import time import boto3 start_time = time.time() ec2 = boto3.resource('ec2') ec2_client = boto3.client('ec2') tag_deparment = ['Finance', 'Marketing', 'HumanResources', 'Research'] # Your departments shutdown_instance = False for instance in ec2.instanc...
import time import boto3 start_time = time.time() ec2 = boto3.resource('ec2') ec2_client = boto3.client('ec2') tag_deparment = ['Finance', 'Marketing', 'HumanResources', 'Research'] # Your departments shutdown_instance = False for instance in ec2.instances.all(): instance_state = instance.state['Name'] if ...
Terminate instances is not proper tag
Terminate instances is not proper tag
Python
mit
gabrielrojasnyc/AWS
python
## Code Before: s program terminate instances if proper tag is not used """ import time import boto3 start_time = time.time() ec2 = boto3.resource('ec2') ec2_client = boto3.client('ec2') tag_deparment = ['Finance', 'Marketing', 'HumanResources', 'Research'] # Your departments shutdown_instance = False for instanc...
1d501c19f37db0b6493081edf986a28e7ec15b5a
db/migrate/20150616203143_merge_people_with_same_name_and_email.rb
db/migrate/20150616203143_merge_people_with_same_name_and_email.rb
class MergePeopleWithSameNameAndEmail < ActiveRecord::Migration def change Person.current = RacingAssociation.current.person Person.transaction do DuplicatePerson.all_grouped_by_name(10_000).each do |name, people| original = people.sort_by(&:created_at).first people.each do |person| ...
class MergePeopleWithSameNameAndEmail < ActiveRecord::Migration def change create_table :event_teams do |t| t.references :event, null: false t.references :team, null: false t.timestamps t.index :event_id t.index :team_id t.index [ :event_id, :team_id ], unique: true end ...
Add blank event team memberships table to fix old migrations
Add blank event team memberships table to fix old migrations
Ruby
mit
scottwillson/racing_on_rails,scottwillson/racing_on_rails,scottwillson/racing_on_rails,scottwillson/racing_on_rails
ruby
## Code Before: class MergePeopleWithSameNameAndEmail < ActiveRecord::Migration def change Person.current = RacingAssociation.current.person Person.transaction do DuplicatePerson.all_grouped_by_name(10_000).each do |name, people| original = people.sort_by(&:created_at).first people.each...
a9042034bbf0c9879779284a71024fdc001f9845
.travis.yml
.travis.yml
dist: trusty language: python python: - "3.6" - "3.7-dev" install: - pip install . script: python setup.py pytest
dist: trusty language: python python: - "3.6" install: - pip install . script: python setup.py pytest
Remove Python 3.7 build: tensorflow not available yet on Python 3.7 via Pypi
Remove Python 3.7 build: tensorflow not available yet on Python 3.7 via Pypi
YAML
mit
yoeo/guesslang
yaml
## Code Before: dist: trusty language: python python: - "3.6" - "3.7-dev" install: - pip install . script: python setup.py pytest ## Instruction: Remove Python 3.7 build: tensorflow not available yet on Python 3.7 via Pypi ## Code After: dist: trusty language: python python: - "3.6" install: - pip install ....
577868bc1b9e2bf6e10c10c20bba403b0dfbbdf8
web_external/stylesheets/body/imagesPage.styl
web_external/stylesheets/body/imagesPage.styl
position: relative; width: 100%; min-height: 500px; height: calc(100vh - 135px); margin: -10px; } #galleryContent #pageContent { position: absolute; top: 0px; left: 0px; height: 100%; width: 100%; overflow: auto; }
/* patch backbone's awkward padding enforcement */ #g-app-body-container { padding: 0px !important; } #galleryContent { position: relative; width: 100%; min-height: 12em; height: calc(100vh - 12em); } #galleryContent #pageContent { position: absolute; top: 0px; left: 0px; height: 100%; width: 100%...
Fix scroll bar style issues
Fix scroll bar style issues
Stylus
apache-2.0
ImageMarkup/isic-archive,ImageMarkup/isic-archive,ImageMarkup/isic-archive,ImageMarkup/isic-archive
stylus
## Code Before: position: relative; width: 100%; min-height: 500px; height: calc(100vh - 135px); margin: -10px; } #galleryContent #pageContent { position: absolute; top: 0px; left: 0px; height: 100%; width: 100%; overflow: auto; } ## Instruction: Fix scroll bar style issues ## Code After: /* pa...
bcae5a7f57b76404fcc508dbe8d6e49a28a2f5a3
ktexteditor/editinterfaceext.cpp
ktexteditor/editinterfaceext.cpp
using namespace KTextEditor; uint EditInterfaceExt::globalEditInterfaceExtNumber = 0; EditInterfaceExt::EditInterfaceExt() : d(0L) { globalEditInterfaceExtNumber++; myEditInterfaceExtNumber = globalEditInterfaceExtNumber; } EditInterfaceExt::~EditInterfaceExt() { } uint EditInterfaceExt::editInterfaceExtNumbe...
/* This file is part of the KDE libraries Copyright (C) 2003 Hamish Rodda <rodda@kde.org> Copyright (C) 2001 Christoph Cullmann <cullmann@kde.org> This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License version 2 as published by t...
Add licence (yes, this means that editinterface.cpp has no licence)
Add licence (yes, this means that editinterface.cpp has no licence) svn path=/trunk/kdelibs/interfaces/ktexteditor/; revision=266753
C++
lgpl-2.1
DickJ/kate,jfmcarreira/kate,sandsmark/kate,jfmcarreira/kate,hlamer/kate,hlamer/kate,sandsmark/kate,DickJ/kate,hlamer/kate,cmacq2/kate,hlamer/kate,sandsmark/kate,DickJ/kate,hlamer/kate,sandsmark/kate,jfmcarreira/kate,hlamer/kate,hlamer/kate,hlamer/kate,hlamer/kate,cmacq2/kate,cmacq2/kate,hlamer/kate,DickJ/kate
c++
## Code Before: using namespace KTextEditor; uint EditInterfaceExt::globalEditInterfaceExtNumber = 0; EditInterfaceExt::EditInterfaceExt() : d(0L) { globalEditInterfaceExtNumber++; myEditInterfaceExtNumber = globalEditInterfaceExtNumber; } EditInterfaceExt::~EditInterfaceExt() { } uint EditInterfaceExt::editI...
a01a772b630c68dba2302bd909fcd4f59b1aa339
README.md
README.md
A Clojure library designed to ... well, that part is up to you. ## Usage FIXME ## License Copyright © 2015 FIXME Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version. ## TBD - test binding to local in div - callbacks -- pass locals :on-click (ui/add-user #@ :u...
A Clojure library designed to ... well, that part is up to you. ## Running app rlwrap lein figwheel app ## Running tests lein doo phantom test ## License Copyright © 2015 Marcin Bilski Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version. ## TBD - test binding ...
Add basic info to Readme.
Add basic info to Readme.
Markdown
epl-1.0
bilus/decl-ui,bilus/decl-ui
markdown
## Code Before: A Clojure library designed to ... well, that part is up to you. ## Usage FIXME ## License Copyright © 2015 FIXME Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version. ## TBD - test binding to local in div - callbacks -- pass locals :on-click (u...
5085e2f8c97ecab6617b4f7b0c8250095d47b22d
boardinghouse/templatetags/boardinghouse.py
boardinghouse/templatetags/boardinghouse.py
from django import template from ..schema import is_shared_model as _is_shared_model from ..schema import get_schema_model Schema = get_schema_model() register = template.Library() @register.filter def is_schema_aware(obj): return obj and not _is_shared_model(obj) @register.filter def is_shared_model(obj): ...
from django import template from ..schema import is_shared_model as _is_shared_model from ..schema import _get_schema register = template.Library() @register.filter def is_schema_aware(obj): return obj and not _is_shared_model(obj) @register.filter def is_shared_model(obj): return obj and _is_shared_model(o...
Remove a database access from the template tag.
Remove a database access from the template tag. --HG-- branch : schema-invitations
Python
bsd-3-clause
schinckel/django-boardinghouse,schinckel/django-boardinghouse,schinckel/django-boardinghouse
python
## Code Before: from django import template from ..schema import is_shared_model as _is_shared_model from ..schema import get_schema_model Schema = get_schema_model() register = template.Library() @register.filter def is_schema_aware(obj): return obj and not _is_shared_model(obj) @register.filter def is_shared...
111e7507c43f0c216f621917f48267b2d1cd832b
setup/default-editor-filetypes.txt
setup/default-editor-filetypes.txt
applescript c conf cpp css java js json less md md py rb scss sh sql ss ssp svg tpl ts txt yaml yml
applescript asm c conf cpp css java js json less lisp md py rb scss sh sql ss ssp svg tpl ts txt xml yaml yml
Add additional default file types
Add additional default file types
Text
mit
caleb531/dotfiles,caleb531/dotfiles,caleb531/dotfiles,caleb531/dotfiles
text
## Code Before: applescript c conf cpp css java js json less md md py rb scss sh sql ss ssp svg tpl ts txt yaml yml ## Instruction: Add additional default file types ## Code After: applescript asm c conf cpp css java js json less lisp md py rb scss sh sql ss ssp svg tpl ts txt xml yaml yml
e361f1a6491f067b26c799190a87e71926910959
ansible_playbooks/files/configure_tmux.sh
ansible_playbooks/files/configure_tmux.sh
source ~/.bashrc if [ ! -d ~/.tmux ]; then mkdir ~/.tmux ln -s ~/dot_files/.tmux.conf ~/.tmux.conf git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm tmux && tmux source-file ~/.tmux.conf fi
if [ ! -d ~/.tmux ]; then mkdir ~/.tmux ln -s ~/dot_files/.tmux.conf ~/.tmux.conf git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm fi
Configure tmux script will no more try to load tmux.
Configure tmux script will no more try to load tmux.
Shell
mit
tiagoprn/devops,tiagoprn/devops,tiagoprn/devops,tiagoprn/devops
shell
## Code Before: source ~/.bashrc if [ ! -d ~/.tmux ]; then mkdir ~/.tmux ln -s ~/dot_files/.tmux.conf ~/.tmux.conf git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm tmux && tmux source-file ~/.tmux.conf fi ## Instruction: Configure tmux script will no more try to load tmux. ## Code Af...
59294fcfff13f61d4b68709bdf5d48e98b1c7fea
app/assets/stylesheets/components/buttons/_c-arrow-button.scss
app/assets/stylesheets/components/buttons/_c-arrow-button.scss
.c-arrow-button { position: relative; width: rem(60px); height: rem(60px); background-color: $white; border-radius: 50%; cursor: pointer; &:before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; right: 0; margin: auto; width: rem(46px); height: rem(46px)...
.c-arrow-button { position: relative; width: rem(60px); height: rem(60px); border-radius: 50%; cursor: pointer; &:before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; right: 0; margin: auto; width: rem(46px); height: rem(46px); background-color: $gre...
Remove the arrow button border
Remove the arrow button border
SCSS
mit
Vizzuality/gfw,Vizzuality/gfw
scss
## Code Before: .c-arrow-button { position: relative; width: rem(60px); height: rem(60px); background-color: $white; border-radius: 50%; cursor: pointer; &:before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; right: 0; margin: auto; width: rem(46px); h...
429c93cfa5745a9a37cb453a5fabb3eabf0a99cb
lab1/digenv.c
lab1/digenv.c
int main(int argc, char *argv[]) { /* Command argument vectors. */ char *more_argv[] = { "more", NULL }; char *less_argv[] = { "less", NULL }; char *pager_argv[] = { getenv("PAGER"), NULL }; char *sort_argv[] = { "sort", NULL }; char *printenv_argv[] = { "printenv", NULL }; ...
int main(int argc, char *argv[]) { char *pager_env = getenv("PAGER"); /* Construct pipeline. */ /* file argv err next fallback */ command_t more = {"more", (char *[]){"more", NULL}, 0, NULL, NULL}; command_t less = {"less"...
Initialize argv vectors using compound literals.
Initialize argv vectors using compound literals.
C
mit
estan/ID2200,estan/ID2200
c
## Code Before: int main(int argc, char *argv[]) { /* Command argument vectors. */ char *more_argv[] = { "more", NULL }; char *less_argv[] = { "less", NULL }; char *pager_argv[] = { getenv("PAGER"), NULL }; char *sort_argv[] = { "sort", NULL }; char *printenv_argv[] = { "printen...
f92578e54548dfbab54bdd42ae8c42bb68945a8d
docker/kubernetes/pycsw-service.yaml
docker/kubernetes/pycsw-service.yaml
apiVersion: v1 kind: Service metadata: labels: io.kompose.service: pycsw name: pycsw spec: ports: - name: "8000" port: 8000 targetPort: 8000 selector: io.kompose.service: pycsw status: loadBalancer: {}
apiVersion: v1 kind: Service metadata: labels: io.kompose.service: pycsw name: pycsw spec: type: NodePort ports: - port: 8000 nodePort: 30000 selector: io.kompose.service: pycsw status: loadBalancer: {}
Use NodePort to expose pycsw service to external network
Use NodePort to expose pycsw service to external network
YAML
mit
tomkralidis/pycsw,bukun/pycsw,bukun/pycsw,geopython/pycsw,ricardogsilva/pycsw,kalxas/pycsw,kalxas/pycsw,tomkralidis/pycsw,geopython/pycsw,kalxas/pycsw,geopython/pycsw,ricardogsilva/pycsw,tomkralidis/pycsw,bukun/pycsw,ricardogsilva/pycsw
yaml
## Code Before: apiVersion: v1 kind: Service metadata: labels: io.kompose.service: pycsw name: pycsw spec: ports: - name: "8000" port: 8000 targetPort: 8000 selector: io.kompose.service: pycsw status: loadBalancer: {} ## Instruction: Use NodePort to expose pycsw service to external network ...
0b75541559c0550bd3e195ca5aca55016fa614ef
spec/serializers/build_action_entity_spec.rb
spec/serializers/build_action_entity_spec.rb
require 'spec_helper' describe BuildActionEntity do let(:build) { create(:ci_build, name: 'test_build') } let(:entity) do described_class.new(build, request: double) end describe '#as_json' do subject { entity.as_json } it 'contains original build name' do expect(subject[:name]).to eq 'tes...
require 'spec_helper' describe BuildActionEntity do let(:build) { create(:ci_build, name: 'test_build') } let(:request) { double('request') } let(:entity) do described_class.new(build, request: spy('request')) end describe '#as_json' do subject { entity.as_json } it 'contains original build na...
Fix manual action entity specs
Fix manual action entity specs
Ruby
mit
stoplightio/gitlabhq,iiet/iiet-git,jirutka/gitlabhq,axilleas/gitlabhq,dplarson/gitlabhq,axilleas/gitlabhq,t-zuehlsdorff/gitlabhq,dplarson/gitlabhq,jirutka/gitlabhq,dreampet/gitlab,t-zuehlsdorff/gitlabhq,mmkassem/gitlabhq,htve/GitlabForChinese,iiet/iiet-git,stoplightio/gitlabhq,t-zuehlsdorff/gitlabhq,t-zuehlsdorff/gitla...
ruby
## Code Before: require 'spec_helper' describe BuildActionEntity do let(:build) { create(:ci_build, name: 'test_build') } let(:entity) do described_class.new(build, request: double) end describe '#as_json' do subject { entity.as_json } it 'contains original build name' do expect(subject[:n...
ddbf22b6e4d19c2b0c47543d6f4d7fe8fc704483
errors.py
errors.py
"""Errors specific to TwistedSNMP""" noError = 0 tooBig = 1 # Response message would have been too large noSuchName = 2 #There is no such variable name in this MIB badValue = 3 # The value given has the wrong type or length class OIDNameError( NameError ): """An OID was specified which is not defined in namespace""" ...
"""Errors specific to TwistedSNMP""" noError = 0 tooBig = 1 # Response message would have been too large noSuchName = 2 #There is no such variable name in this MIB badValue = 3 # The value given has the wrong type or length class OIDNameError( NameError ): """An OID was specified which is not defined in namespace""" ...
Make __str__ = to repr
Make __str__ = to repr
Python
bsd-3-clause
mmattice/TwistedSNMP
python
## Code Before: """Errors specific to TwistedSNMP""" noError = 0 tooBig = 1 # Response message would have been too large noSuchName = 2 #There is no such variable name in this MIB badValue = 3 # The value given has the wrong type or length class OIDNameError( NameError ): """An OID was specified which is not defined ...
11bcc53bc80409a0458e3a5b72014c9837561b65
src/main/python/setup.py
src/main/python/setup.py
import setuptools __version__ = None # This will get replaced when reading version.py exec(open('rlbot/version.py').read()) with open("README.md", "r") as readme_file: long_description = readme_file.read() setuptools.setup( name='rlbot', packages=setuptools.find_packages(), install_requires=['psuti...
import setuptools __version__ = None # This will get replaced when reading version.py exec(open('rlbot/version.py').read()) with open("README.md", "r") as readme_file: long_description = readme_file.read() setuptools.setup( name='rlbot', packages=setuptools.find_packages(), install_requires=['psuti...
Add MIT license that shows up in `pip show rlbot`
Add MIT license that shows up in `pip show rlbot`
Python
mit
drssoccer55/RLBot,drssoccer55/RLBot
python
## Code Before: import setuptools __version__ = None # This will get replaced when reading version.py exec(open('rlbot/version.py').read()) with open("README.md", "r") as readme_file: long_description = readme_file.read() setuptools.setup( name='rlbot', packages=setuptools.find_packages(), install_...
a880d5c877e925553a8c3db293b3549ca4f7ff27
frontend/app/templates/components/sighting-table.hbs
frontend/app/templates/components/sighting-table.hbs
<table class="table"> <thead> <tr> <th>ID</th> <th>Date</th> <th>Details</th> <th>Observations</th> <th>Signs</th> <th>Status</th> <th>Actions</th> </tr> </thead> <tbody> {{#each item in content}} <tr> <td>{{item.id}}</td> <td>{{item.created_at...
<table class="table"> <thead> <tr> <th>ID</th> <th>Date</th> <th>Details</th> <th>Observations</th> <th>Signs</th> <th>Status</th> <th>Actions</th> </tr> </thead> <tbody> {{#each item in content}} <tr> <td>{{item.id}}</td> <td>{{item.created_at...
Update table with status for sighting
Update table with status for sighting
Handlebars
mit
johan--/abm-portal,GeoSensorWebLab/abm-portal,GeoSensorWebLab/abm-portal,johan--/abm-portal,GeoSensorWebLab/abm-portal,johan--/abm-portal
handlebars
## Code Before: <table class="table"> <thead> <tr> <th>ID</th> <th>Date</th> <th>Details</th> <th>Observations</th> <th>Signs</th> <th>Status</th> <th>Actions</th> </tr> </thead> <tbody> {{#each item in content}} <tr> <td>{{item.id}}</td> <td>{...
22deed8dcb67a6031c05c83ac1b8ce87e134ca4c
appveyor.yml
appveyor.yml
semver: 1.2.0 version: '{semver}.{build}' image: Visual Studio 2019 configuration: Release assembly_info: patch: true file: '**\AssemblyInfo.*' assembly_version: '{semver}' assembly_file_version: '{semver}' assembly_informational_version: '{semver}' before_build: - ps: nuget restore RoslynAnalyzers.sln build:...
version: 1.2.0.{build} image: Visual Studio 2019 configuration: Release assembly_info: patch: true file: '**\AssemblyInfo.*' assembly_version: '{version}' assembly_file_version: '{version}' assembly_informational_version: '{version}' before_build: - ps: nuget restore RoslynAnalyzers.sln build: project: Rosl...
Revert "Try to remove build number from nuget version"
Revert "Try to remove build number from nuget version" This reverts commit 8fd1df628d070c67b2366090d899bd0266693a1a.
YAML
mit
anjdreas/roslyn-analyzers
yaml
## Code Before: semver: 1.2.0 version: '{semver}.{build}' image: Visual Studio 2019 configuration: Release assembly_info: patch: true file: '**\AssemblyInfo.*' assembly_version: '{semver}' assembly_file_version: '{semver}' assembly_informational_version: '{semver}' before_build: - ps: nuget restore RoslynAnal...
8cb7aa2d2d5dbef0b0f21a69fd7d0e32108e8e47
app/assets/javascripts/sprangular/controllers/cart.coffee
app/assets/javascripts/sprangular/controllers/cart.coffee
Sprangular.controller "CartCtrl", ( $scope, Cart, Account, Status, Angularytics, Env ) -> $scope.user = Account.user $scope.cart = Cart.current $scope.status = Status $scope.currencySymbol = Env.currency.symbol $scope.removeAdjustment = (adjustment) -> Angularytics.trackEvent("Cart", "Coupon...
Sprangular.controller "CartCtrl", ( $scope, Cart, Account, Status, Angularytics, Env ) -> $scope.user = Account.user $scope.status = Status $scope.currencySymbol = Env.currency.symbol $scope.$watch (-> Cart.current), (newOrder) -> $scope.cart = newOrder $scope.removeAdjustment = (adjustment...
Add $watch for Cart.current in CartCtrl
Add $watch for Cart.current in CartCtrl
CoffeeScript
mit
sprangular/sprangular,sprangular/sprangular,sprangular/sprangular
coffeescript
## Code Before: Sprangular.controller "CartCtrl", ( $scope, Cart, Account, Status, Angularytics, Env ) -> $scope.user = Account.user $scope.cart = Cart.current $scope.status = Status $scope.currencySymbol = Env.currency.symbol $scope.removeAdjustment = (adjustment) -> Angularytics.trackEvent...
9949a1853f1e721e62304cf7af288d95253655b9
add_support_for_new_angular_version.txt
add_support_for_new_angular_version.txt
Notes from when I added Angular 11 support - in uirouter/angular: - update peer deps for angular packages, bumping each range by one - update angular packages manually to the lower range supported (for angular 11, set to ^10.0.0) - update ng-packagr manually to the lower range supported (for angular 11, set to ^10....
Notes from when I added Angular 11 support - in uirouter/angular: - update peer deps for angular packages, bumping each range by one - update angular packages manually to the lower range supported (for angular 11, set to ^10.0.0) - update ng-packagr manually to the lower range supported (for angular 11, set to ^10....
Add more notes on adding support for new Angular releases
Add more notes on adding support for new Angular releases
Text
mit
ui-router/angular,ui-router/angular,ui-router/angular,ui-router/angular
text
## Code Before: Notes from when I added Angular 11 support - in uirouter/angular: - update peer deps for angular packages, bumping each range by one - update angular packages manually to the lower range supported (for angular 11, set to ^10.0.0) - update ng-packagr manually to the lower range supported (for angular...
b57b7e84c6f33b0b03fbd326728c9e9b6a80d944
f-tep-search/src/main/java/com/cgi/eoss/ftep/search/SearchConfig.java
f-tep-search/src/main/java/com/cgi/eoss/ftep/search/SearchConfig.java
package com.cgi.eoss.ftep.search; import com.cgi.eoss.ftep.catalogue.CatalogueConfig; import com.cgi.eoss.ftep.persistence.PersistenceConfig; import com.cgi.eoss.ftep.search.api.SearchFacade; import com.cgi.eoss.ftep.search.api.SearchProvider; import okhttp3.OkHttpClient; import org.springframework.boot.autoconfigure....
package com.cgi.eoss.ftep.search; import com.cgi.eoss.ftep.catalogue.CatalogueConfig; import com.cgi.eoss.ftep.persistence.PersistenceConfig; import com.cgi.eoss.ftep.search.api.SearchFacade; import com.cgi.eoss.ftep.search.api.SearchProvider; import okhttp3.OkHttpClient; import org.springframework.boot.autoconfigure....
Remove invalid proxy config from search facade
Remove invalid proxy config from search facade Change-Id: I0cc7b4bab426a354524fb49f3670370142e8e9be
Java
agpl-3.0
cgi-eoss/ftep,cgi-eoss/ftep,cgi-eoss/ftep,cgi-eoss/ftep,cgi-eoss/ftep,cgi-eoss/ftep,cgi-eoss/ftep
java
## Code Before: package com.cgi.eoss.ftep.search; import com.cgi.eoss.ftep.catalogue.CatalogueConfig; import com.cgi.eoss.ftep.persistence.PersistenceConfig; import com.cgi.eoss.ftep.search.api.SearchFacade; import com.cgi.eoss.ftep.search.api.SearchProvider; import okhttp3.OkHttpClient; import org.springframework.boo...
90b053c3eddf2fa7308d83234f5d592e3ef0a1b7
repo-upgrade.sh
repo-upgrade.sh
list=`ls -d */` force_yes=false # Store user argument to force all repo update if [ "$1" = '-f' ] || [ "$1" = '--force-yes' ]; then force_yes=true fi function update { printf "\n-- Updating $Dir" cd $Dir git stash > /tmp/repoUpdate editedFiles=`cat /tmp/repoUpdate` echo $editedFiles git checkout master...
list=`ls -d */` force_yes=false # Store user argument to force all repo update if [ "$1" = '-f' ] || [ "$1" = '--force-yes' ]; then force_yes=true fi function update { printf "\n-- Updating $Dir" cd $Dir git stash > /tmp/repoUpdate editedFiles=`cat /tmp/repoUpdate` printf "\n" echo $editedFiles git c...
Add newline for more pretty display
Add newline for more pretty display
Shell
mit
KillianKemps/Git-Repo-Update
shell
## Code Before: list=`ls -d */` force_yes=false # Store user argument to force all repo update if [ "$1" = '-f' ] || [ "$1" = '--force-yes' ]; then force_yes=true fi function update { printf "\n-- Updating $Dir" cd $Dir git stash > /tmp/repoUpdate editedFiles=`cat /tmp/repoUpdate` echo $editedFiles git...
719b8cdb0062bed3bec4b114136e6d19a831af8e
src/test/cljc/mikron/test/core_macros.cljc
src/test/cljc/mikron/test/core_macros.cljc
(ns mikron.test.core-macros "Unit tests for each processor." (:require [clojure.test :as test] [mikron.runtime.core :as mikron] [mikron.compiler.util :as compiler.util]) #?(:cljs (:require-macros [mikron.test.core-macros]))) (defmulti test-mikron "Test function for :pack, :diff, :valid?...
(ns mikron.test.core-macros "Unit tests for each processor." (:require [clojure.test :as test] [mikron.runtime.core :as mikron] [mikron.compiler.util :as compiler.util]) #?(:cljs (:require-macros [mikron.test.core-macros]))) (defmulti test-mikron "Test function for :pack, :diff, :valid?...
Fix `diff-paths` and `interp-paths` in tests
Fix `diff-paths` and `interp-paths` in tests
Clojure
epl-1.0
moxaj/mikron,moxaj/mikron
clojure
## Code Before: (ns mikron.test.core-macros "Unit tests for each processor." (:require [clojure.test :as test] [mikron.runtime.core :as mikron] [mikron.compiler.util :as compiler.util]) #?(:cljs (:require-macros [mikron.test.core-macros]))) (defmulti test-mikron "Test function for :pack...
88832323e4ba04741368c80d19be65a639833ecd
README.md
README.md
This small project turns images into their low-poly versions. It is painfully slow right now, hopefully there is a way to speed it up a bit in the future. ## Examples ![](https://raw.githubusercontent.com/louis-paul/polypy/master/examples/lena/lena.jpg) ![](https://raw.githubusercontent.com/louis-paul/polypy/maste...
This small project turns images into their low-poly versions. It is painfully slow right now, hopefully there is a way to speed it up a bit in the future. ## Examples ![](https://raw.githubusercontent.com/louis-paul/polypy/master/examples/lena/lena.jpg) ![](https://raw.githubusercontent.com/louis-paul/polypy/maste...
Update readme file with recent progress
Update readme file with recent progress
Markdown
mit
louis-paul/polypy
markdown
## Code Before: This small project turns images into their low-poly versions. It is painfully slow right now, hopefully there is a way to speed it up a bit in the future. ## Examples ![](https://raw.githubusercontent.com/louis-paul/polypy/master/examples/lena/lena.jpg) ![](https://raw.githubusercontent.com/louis-p...
14b4b116e9b81027515418cfc518f34b68ee46f4
src/main/java/valandur/webapi/json/serializers/events/CauseSerializer.java
src/main/java/valandur/webapi/json/serializers/events/CauseSerializer.java
package valandur.webapi.json.serializers.events; import com.fasterxml.jackson.core.JsonGenerator; import com.fasterxml.jackson.databind.SerializerProvider; import com.fasterxml.jackson.databind.ser.std.StdSerializer; import org.spongepowered.api.event.cause.Cause; import java.io.IOException; import java.util.Map; pu...
package valandur.webapi.json.serializers.events; import com.fasterxml.jackson.core.JsonGenerator; import com.fasterxml.jackson.databind.SerializerProvider; import com.fasterxml.jackson.databind.ser.std.StdSerializer; import org.spongepowered.api.event.cause.Cause; import java.io.IOException; import java.util.ArrayLis...
Fix cmd hook not working for commands run via Web-API
fix(hooks): Fix cmd hook not working for commands run via Web-API
Java
mit
Valandur/Web-API,Valandur/Web-API,Valandur/Web-API
java
## Code Before: package valandur.webapi.json.serializers.events; import com.fasterxml.jackson.core.JsonGenerator; import com.fasterxml.jackson.databind.SerializerProvider; import com.fasterxml.jackson.databind.ser.std.StdSerializer; import org.spongepowered.api.event.cause.Cause; import java.io.IOException; import ja...
1b3c50986c0b2963316bafe610f1b5c130054b8e
spec/models/manageiq/providers/redhat/infra_manager/refresh/ovirt_refresher_spec_common.rb
spec/models/manageiq/providers/redhat/infra_manager/refresh/ovirt_refresher_spec_common.rb
module OvirtRefresherSpecCommon extend ActiveSupport::Concern def serialize_inventory(models = []) skip_attributes = %w(updated_on last_refresh_date updated_at last_updated finish_time) inventory = {} models.each do |model| inventory[model.name] = model.all.collect do |rec| rec.attributes...
module OvirtRefresherSpecCommon extend ActiveSupport::Concern def serialize_inventory(models = []) skip_attributes = %w(updated_on last_refresh_date updated_at last_updated finish_time) inventory = {} models.each do |model| inventory[model.name] = model.all.collect do |rec| rec.attributes...
Sort records by ID when doing full table compares
Sort records by ID when doing full table compares
Ruby
apache-2.0
pkliczewski/manageiq-providers-ovirt
ruby
## Code Before: module OvirtRefresherSpecCommon extend ActiveSupport::Concern def serialize_inventory(models = []) skip_attributes = %w(updated_on last_refresh_date updated_at last_updated finish_time) inventory = {} models.each do |model| inventory[model.name] = model.all.collect do |rec| ...
9716c4487e38a9dba488b93543f0a39b92762b44
pkgs/development/python-modules/pytest-dependency/default.nix
pkgs/development/python-modules/pytest-dependency/default.nix
{ lib, buildPythonPackage, fetchPypi, fetchpatch, pytest }: buildPythonPackage rec { version = "0.5.1"; pname = "pytest-dependency"; src = fetchPypi { inherit pname version; sha256 = "c2a892906192663f85030a6ab91304e508e546cddfe557d692d61ec57a1d946b"; }; propagatedBuildInputs = [ pytest ]; checkI...
{ lib, buildPythonPackage, fetchPypi, fetchpatch, pytest }: buildPythonPackage rec { version = "0.5.1"; pname = "pytest-dependency"; src = fetchPypi { inherit pname version; sha256 = "c2a892906192663f85030a6ab91304e508e546cddfe557d692d61ec57a1d946b"; }; patches = [ # Fix build with pytest ≥ 6.2...
Fix build with pytest ≥ 6.2.0
python3Packages.pytest-dependency: Fix build with pytest ≥ 6.2.0 Commit 84d6dfc4aa22be61455c515975978ad9ae5ed195 (#113382) bumped pytest from 6.1.2 to 6.2.2 with insufficient testing, breaking pytest-dependency. Fix it by pulling in the upstream patch. Signed-off-by: Anders Kaseorg <087231934ba8fcf78bc142ce37d193b89...
Nix
mit
NixOS/nixpkgs,NixOS/nixpkgs,NixOS/nixpkgs,NixOS/nixpkgs,NixOS/nixpkgs,NixOS/nixpkgs,NixOS/nixpkgs,NixOS/nixpkgs,NixOS/nixpkgs,NixOS/nixpkgs,NixOS/nixpkgs,NixOS/nixpkgs,NixOS/nixpkgs,NixOS/nixpkgs,NixOS/nixpkgs
nix
## Code Before: { lib, buildPythonPackage, fetchPypi, fetchpatch, pytest }: buildPythonPackage rec { version = "0.5.1"; pname = "pytest-dependency"; src = fetchPypi { inherit pname version; sha256 = "c2a892906192663f85030a6ab91304e508e546cddfe557d692d61ec57a1d946b"; }; propagatedBuildInputs = [ pyt...
5a57f25a11fe5a0a31a347284aeb9c2ca831aa03
lib/utils/index.js
lib/utils/index.js
exports.get = function get (obj, key) { for (var i in obj) if (i.toLowerCase() === key.toLowerCase()) return obj[i]; return undefined; }; exports.set = function set (obj, key, val) { for (var i in obj) if (i.toLowerCase() === key.toLowerCase()) return obj[i] = val; return obj[key] = val; }; exports.bind = func...
module.exports = { set:set, bind:bind, method:method, log:log, array:array, succeed:succeed, fail:fail }; function get (obj, key) { for (var i in obj) if (i.toLowerCase() === key.toLowerCase()) return obj[i]; return undefined; }; function set (obj, key, val) { for (var i in obj) if (i.toLowerCase(...
Reorganize this file a little bit.
Reorganize this file a little bit.
JavaScript
artistic-2.0
yodeyer/npm,rsp/npm,DIREKTSPEED-LTD/npm,DaveEmmerson/npm,xalopp/npm,DIREKTSPEED-LTD/npm,princeofdarkness76/npm,midniteio/npm,yodeyer/npm,rsp/npm,evanlucas/npm,kemitchell/npm,segrey/npm,midniteio/npm,chadnickbok/npm,Volune/npm,DIREKTSPEED-LTD/npm,yyx990803/npm,DaveEmmerson/npm,kemitchell/npm,misterbyrne/npm,kemitchell/n...
javascript
## Code Before: exports.get = function get (obj, key) { for (var i in obj) if (i.toLowerCase() === key.toLowerCase()) return obj[i]; return undefined; }; exports.set = function set (obj, key, val) { for (var i in obj) if (i.toLowerCase() === key.toLowerCase()) return obj[i] = val; return obj[key] = val; }; exp...
57786affe2a525e155197aa8d936121dbb4ef76e
features/support/expectations.rb
features/support/expectations.rb
module Expectations def expect_code_with_result(string) code, result = string.split('#=>').map(&:strip) expect(eval_in_page(code)).to eq eval(result) end end World Expectations
module Expectations def expect_code_with_result(string, evaluator = :eval_in_page) code, result = string.split('#=>').map(&:strip) expect(send(evaluator, code)).to eq eval(result) end end World Expectations
Allow passing a custom evaluator.
[tests] Allow passing a custom evaluator.
Ruby
mit
mojotech/capybara-ui,mojotech/dill
ruby
## Code Before: module Expectations def expect_code_with_result(string) code, result = string.split('#=>').map(&:strip) expect(eval_in_page(code)).to eq eval(result) end end World Expectations ## Instruction: [tests] Allow passing a custom evaluator. ## Code After: module Expectations def expect_code_...
8fc520df627566b2bc75e9971d9381f2d1cb5135
aconite-core/src/io/aconite/Exceptions.kt
aconite-core/src/io/aconite/Exceptions.kt
package io.aconite /** * Throws if something go wrong with HTTP interfaces. Most of the time this * exception means, that the interface is not satisfy some constraints. */ open class AconiteException(message: String? = null, cause: Throwable? = null): RuntimeException(message, cause) open class HttpException(val c...
package io.aconite /** * Throws if something go wrong with HTTP interfaces. Most of the time this * exception means, that the interface is not satisfy some constraints. */ open class AconiteException(message: String? = null, cause: Throwable? = null): RuntimeException(message, cause) open class HttpException(val c...
Add toString() implementation to HttpException
Add toString() implementation to HttpException
Kotlin
mit
AcapellaSoft/Aconite,AcapellaSoft/Aconite
kotlin
## Code Before: package io.aconite /** * Throws if something go wrong with HTTP interfaces. Most of the time this * exception means, that the interface is not satisfy some constraints. */ open class AconiteException(message: String? = null, cause: Throwable? = null): RuntimeException(message, cause) open class Htt...
f52a0d0d263473bc04af08074f7d54d219b5f74f
README.md
README.md
* Python 2.7 on the Google App Engine https://cloud.google.com/appengine/docs/standard/python/download * Bootstrap v3.3.7 http://getbootstrap.com * Colour scheme based on \web_app\static\img\wrekin_beyond.jpg using http://www.lavishbootstrap.com/ * jinja2 templating engine http://jinja.pocoo.org/ To run on Cloud9 (ht...
* Python 2.7 on the Google App Engine https://cloud.google.com/appengine/docs/standard/python/download * Bootstrap v3.3.7 http://getbootstrap.com * Colour scheme based on \web_app\static\img\wrekin_beyond.jpg using http://www.lavishbootstrap.com/ * jinja2 templating engine http://jinja.pocoo.org/ To run on Cloud9 (ht...
Check that it runs on AWS cloud 9
Check that it runs on AWS cloud 9
Markdown
mit
joejcollins/WomertonFarm,joejcollins/WomertonFarm,joejcollins/WomertonFarm,joejcollins/WomertonFarm
markdown
## Code Before: * Python 2.7 on the Google App Engine https://cloud.google.com/appengine/docs/standard/python/download * Bootstrap v3.3.7 http://getbootstrap.com * Colour scheme based on \web_app\static\img\wrekin_beyond.jpg using http://www.lavishbootstrap.com/ * jinja2 templating engine http://jinja.pocoo.org/ To r...
a895f0d41846bc85bcb42fe2e21e39c036e13ebd
configs/wordpad.yml
configs/wordpad.yml
project: name: Wordpad operations: - trace # - reduce # - minimize filter: mode: exclude # mode: include modules: - <unknown> - C:\DynamoRIO\lib32\release\dynamorio.dll - C:\DynamoRIO\tools\lib32\release\drcov.dll # - C:\Program Fil...
project: name: Wordpad operations: - trace - reduce # - minimize filter: # mode: exclude mode: include modules: #- <unknown> #- C:\DynamoRIO\lib32\release\dynamorio.dll #- C:\DynamoRIO\tools\lib32\release\drcov.dll - C:\Program File...
Set default filter mode to 'include'.
Set default filter mode to 'include'.
YAML
mit
pyoor/distiller
yaml
## Code Before: project: name: Wordpad operations: - trace # - reduce # - minimize filter: mode: exclude # mode: include modules: - <unknown> - C:\DynamoRIO\lib32\release\dynamorio.dll - C:\DynamoRIO\tools\lib32\release\drcov.dll # ...
a38f6fef179bedf0270face83074a8c6d04362e7
dev/run.sh
dev/run.sh
cd /opt/synclounge npm run server & node webapp.js --accessUrl=http://$DOMAIN
cd /opt/synclounge export accessUrl=http://$DOMAIN; npm run server & node webapp.js
Move accessUrl to env variable
Move accessUrl to env variable
Shell
mit
Starbix/docker-plextogether
shell
## Code Before: cd /opt/synclounge npm run server & node webapp.js --accessUrl=http://$DOMAIN ## Instruction: Move accessUrl to env variable ## Code After: cd /opt/synclounge export accessUrl=http://$DOMAIN; npm run server & node webapp.js
75d45dfc5b9dfbd2275f566d1289a6605478abf4
webapp/web/js/login/loginUtils.js
webapp/web/js/login/loginUtils.js
/* $This file is distributed under the terms of the license in /doc/license.txt$ */ $(document).ready(function(){ // login form is hidden by default; use JavaScript to reveal $("#login").removeClass('hidden'); // focus on email or newpassword field $('.focus').focus(); // fade in error ale...
/* $This file is distributed under the terms of the license in /doc/license.txt$ */ $(document).ready(function(){ // login form is hidden by default; use JavaScript to reveal $("#login").removeClass('hidden'); // focus on email or newpassword field $('.focus').focus(); // fade in error ale...
Update to fade out the welcome log in message
Update to fade out the welcome log in message
JavaScript
bsd-3-clause
vivo-project/Vitro,vivo-project/Vitro,vivo-project/Vitro,vivo-project/Vitro
javascript
## Code Before: /* $This file is distributed under the terms of the license in /doc/license.txt$ */ $(document).ready(function(){ // login form is hidden by default; use JavaScript to reveal $("#login").removeClass('hidden'); // focus on email or newpassword field $('.focus').focus(); // f...
74fc735c8b128c3a34a0072ef5ec688f0ffc82ef
packages/ac/accelerate-cufft.yaml
packages/ac/accelerate-cufft.yaml
homepage: http://hub.darcs.net/thielema/accelerate-cufft/ changelog-type: '' hash: e5dc88fada22aee8eec287a923d50ecb7c8c6e930078100d75b1c3bcd0297d1f test-bench-deps: {} maintainer: Henning Thielemann <haskell@henning-thielemann.de> synopsis: Accelerate frontend to the CUFFT library (Fourier transform) changelog: '' basi...
homepage: http://hub.darcs.net/thielema/accelerate-cufft/ changelog-type: '' hash: d1e4481a62c7cfc7c045021453173bcbe42361322a5bc50a4a27615da4305965 test-bench-deps: {} maintainer: Henning Thielemann <haskell@henning-thielemann.de> synopsis: Accelerate frontend to the CUFFT library (Fourier transform) changelog: '' basi...
Update from Hackage at 2017-04-23T08:25:03Z
Update from Hackage at 2017-04-23T08:25:03Z
YAML
mit
commercialhaskell/all-cabal-metadata
yaml
## Code Before: homepage: http://hub.darcs.net/thielema/accelerate-cufft/ changelog-type: '' hash: e5dc88fada22aee8eec287a923d50ecb7c8c6e930078100d75b1c3bcd0297d1f test-bench-deps: {} maintainer: Henning Thielemann <haskell@henning-thielemann.de> synopsis: Accelerate frontend to the CUFFT library (Fourier transform) ch...
3ccd876f9d00da099c5a2f6a91c1554b3def4614
keymaps/command-palette.cson
keymaps/command-palette.cson
'.platform-darwin, .platform-darwin .command-palette .editor': 'cmd-shift-p': 'command-palette:toggle' '.platform-win32, .platform-win32 .command-palette .editor': 'ctrl-shift-p': 'command-palette:toggle' '.platform-linux, .platform-linux .command-palette .editor': 'ctrl-shift-p': 'command-palette:toggle'
'.platform-darwin, .platform-darwin .command-palette atom-text-editor': 'cmd-shift-p': 'command-palette:toggle' '.platform-win32, .platform-win32 .command-palette atom-text-editor': 'ctrl-shift-p': 'command-palette:toggle' '.platform-linux, .platform-linux .command-palette atom-text-editor': 'ctrl-shift-p': 'co...
Fix deprecated selectors in keymap
Fix deprecated selectors in keymap
CoffeeScript
mit
atom/command-palette
coffeescript
## Code Before: '.platform-darwin, .platform-darwin .command-palette .editor': 'cmd-shift-p': 'command-palette:toggle' '.platform-win32, .platform-win32 .command-palette .editor': 'ctrl-shift-p': 'command-palette:toggle' '.platform-linux, .platform-linux .command-palette .editor': 'ctrl-shift-p': 'command-palet...
5132a8f2c96dc778614e5a49a3fd1d7ec9be2beb
audit.go
audit.go
package scipipe import ( "time" ) // AuditInfo contains structured audit/provenance logging information to go with an IP type AuditInfo struct { Command string Params map[string]string Keys map[string]string ExecTimeMS time.Duration Upstream map[string]*AuditInfo } // NewAuditInfo returns a new ...
package scipipe import ( "time" ) // AuditInfo contains structured audit/provenance logging information for a // particular task (invocation), to go with all outgoing IPs from that task type AuditInfo struct { ID string Command string Params map[string]string Keys map[string]string ExecTime...
Add an ID field to AuditInfo
Add an ID field to AuditInfo
Go
mit
scipipe/scipipe,scipipe/scipipe,samuell/scipipe
go
## Code Before: package scipipe import ( "time" ) // AuditInfo contains structured audit/provenance logging information to go with an IP type AuditInfo struct { Command string Params map[string]string Keys map[string]string ExecTimeMS time.Duration Upstream map[string]*AuditInfo } // NewAuditInf...
246029c71413a7e8cbd05eeb834b93c723e3b104
README.md
README.md
[![Build Status](https://travis-ci.org/education/classroom-assistant.svg?branch=master)](https://travis-ci.org/education/classroom-assistant) GitHub Classroom Assistant is a cross-platform desktop application to help you get student repositories for grading. [![js-standard-style](https://cdn.rawgit.com/feross/standa...
[![Build Status](https://travis-ci.org/education/classroom-assistant.svg?branch=master)](https://travis-ci.org/education/classroom-assistant) GitHub Classroom Assistant is a cross-platform desktop application to help you get student repositories for grading. [![js-standard-style](https://cdn.rawgit.com/feross/standa...
Use Releases page to download latest version
Use Releases page to download latest version
Markdown
mit
education/classroom-desktop,education/classroom-desktop,education/classroom-desktop,education/classroom-desktop
markdown
## Code Before: [![Build Status](https://travis-ci.org/education/classroom-assistant.svg?branch=master)](https://travis-ci.org/education/classroom-assistant) GitHub Classroom Assistant is a cross-platform desktop application to help you get student repositories for grading. [![js-standard-style](https://cdn.rawgit.c...
b796858658aefdedbb1685e4f350faf1d8a75e10
README.md
README.md
* Documentation: [bosh.io/docs](https://bosh.io/docs) and [bosh.io/docs/vsphere-cpi](https://bosh.io/docs/vsphere-cpi.html) * Slack: #bosh on <https://slack.cloudfoundry.org> * Mailing list: [cf-bosh](https://lists.cloudfoundry.org/pipermail/cf-bosh) * CI: <https://bosh-cpi.ci.cf-app.com/teams/pivotal/pipelines/bosh-v...
* Documentation: [bosh.io/docs](https://bosh.io/docs) and [bosh.io/docs/vsphere-cpi](https://bosh.io/docs/vsphere-cpi.html) * Slack: #bosh on <https://slack.cloudfoundry.org> * Mailing list: [cf-bosh](https://lists.cloudfoundry.org/pipermail/cf-bosh) * Roadmap: [Pivotal Tracker](https://www.pivotaltracker.com/n/projec...
Remove defunct CI link from Readme
Remove defunct CI link from Readme
Markdown
apache-2.0
cloudfoundry-incubator/bosh-vsphere-cpi-release,cloudfoundry-incubator/bosh-vsphere-cpi-release,cloudfoundry-incubator/bosh-vsphere-cpi-release,cloudfoundry-incubator/bosh-vsphere-cpi-release,cloudfoundry-incubator/bosh-vsphere-cpi-release
markdown
## Code Before: * Documentation: [bosh.io/docs](https://bosh.io/docs) and [bosh.io/docs/vsphere-cpi](https://bosh.io/docs/vsphere-cpi.html) * Slack: #bosh on <https://slack.cloudfoundry.org> * Mailing list: [cf-bosh](https://lists.cloudfoundry.org/pipermail/cf-bosh) * CI: <https://bosh-cpi.ci.cf-app.com/teams/pivotal/...
05c2a8d0321d186673c695902a1f40a06a7e7bc6
apps/publisher/themes/default/partials/tag-ui-container.hbs
apps/publisher/themes/default/partials/tag-ui-container.hbs
<div id='tag-ui'> <div class="form-group"> <label class="custom-form-label col-lg-2 col-md-2 col-sm-12 col-xs-12">Tags</label> <div class="custom-form-right col-lg-5 col-md-8 col-sm-8 col-xs-12"> <select class='tag-ui-selectbox form-control' multiple name='_tags' style="width:100%;"> ...
<div id='tag-ui'> <div class="form-group"> <label class="custom-form-label col-lg-2 col-md-2 col-sm-12 col-xs-12 text-right">Tags : </label> <div class="custom-form-right col-lg-5 col-md-8 col-sm-8 col-xs-12"> <select class='tag-ui-selectbox form-control' multiple name='_tags' style="wid...
Fix for STORE-1266, Add a seperator colon and fix alignment
Fix for STORE-1266, Add a seperator colon and fix alignment
Handlebars
apache-2.0
thushara35/carbon-store,splinter/carbon-store,cnapagoda/carbon-store,cnapagoda/carbon-store,daneshk/carbon-store,Rajith90/carbon-store,sameerak/carbon-store,wso2/carbon-store,daneshk/carbon-store,prasa7/carbon-store,daneshk/carbon-store,Rajith90/carbon-store,jeradrutnam/carbon-store,sameerak/carbon-store,Rajith90/carbo...
handlebars
## Code Before: <div id='tag-ui'> <div class="form-group"> <label class="custom-form-label col-lg-2 col-md-2 col-sm-12 col-xs-12">Tags</label> <div class="custom-form-right col-lg-5 col-md-8 col-sm-8 col-xs-12"> <select class='tag-ui-selectbox form-control' multiple name='_tags' style="w...
48a999572e1901816ea9a584ce48f462232269e4
client/skr/screens/time-tracking/PopoverMiniControls.cjsx
client/skr/screens/time-tracking/PopoverMiniControls.cjsx
class Skr.Screens.TimeTracking.MiniControls extends Lanes.React.Component onEditEvent: -> @props.onEditEvent(@props.event) EditButton: -> return null unless @props.event <BS.Button onClick={@onEditEvent} title="Edit Time Entry"> <LC.Icon type='pencil-square-o' 2x flush /> ...
class Skr.Screens.TimeTracking.MiniControls extends Lanes.React.Component onEditEvent: -> @props.onEditEvent(@props.event) EditButton: -> return null unless @props.event <BS.Button onClick={@onEditEvent} title="Edit Time Entry"> <LC.Icon type='pencil-square-o' 2x flush /> ...
Add span tags to match old behaviour of React
Add span tags to match old behaviour of React This is what happens when you rely on non-specified behaviour ;)
CoffeeScript
agpl-3.0
argosity/stockor,argosity/stockor,argosity/stockor,argosity/stockor
coffeescript
## Code Before: class Skr.Screens.TimeTracking.MiniControls extends Lanes.React.Component onEditEvent: -> @props.onEditEvent(@props.event) EditButton: -> return null unless @props.event <BS.Button onClick={@onEditEvent} title="Edit Time Entry"> <LC.Icon type='pencil-square-...
84938b441a3ddacc61fd83685d4ee45de9e49c14
app/models/snapshot_diff_cluster.rb
app/models/snapshot_diff_cluster.rb
class SnapshotDiffCluster < ActiveRecord::Base belongs_to :snapshot_diff validates_numericality_of :start, :finish default_scope { order(:start) } # @return [Float] start expressed in percent relative to an image_height def relative_start(image_height) start.to...
class SnapshotDiffCluster < ActiveRecord::Base belongs_to :snapshot_diff validates :start, numericality: true validates :finish, numericality: true default_scope { order(:start) } # @return [Float] start expressed in percent relative to an image_height def relative_start(image_height) start.to_f / i...
Use the new "sexy" validations for SnapshotDiffCluster
Use the new "sexy" validations for SnapshotDiffCluster As pointed out by Rubocop. This resolves all of the cops for this file. Change-Id: I51fa7444f9f717f3f2848ff1bb87bd409ebbbe7b
Ruby
mit
kalw/diffux,diffux/diffux,kalw/diffux,diffux/diffux,diffux/diffux,kalw/diffux
ruby
## Code Before: class SnapshotDiffCluster < ActiveRecord::Base belongs_to :snapshot_diff validates_numericality_of :start, :finish default_scope { order(:start) } # @return [Float] start expressed in percent relative to an image_height def relative_start(image_heig...
8a30693120c4d5eb9afb65665d179d501626cc4c
run.sh
run.sh
set -e IMAGE_NAME=katas-image CONTAINER_NAME=katas-container # TODO check for a Dockerfile update and build new then too #if uname | grep -q "Darwin"; then # mod_time_fmt="-f %m" #else # mod_time_fmt="-c %Y" #fi #stat ${mod_time_fmt} Dockerfile #docker inspect -f '{{ .Created }}' katas-image if [[ $(docker in...
set -e DOCKERFILE_HASH=$(md5 -q ./Dockerfile) CONTAINER_NAME=katas IMAGE_NAME=${CONTAINER_NAME}:${DOCKERFILE_HASH} if [[ $(docker inspect --format . ${IMAGE_NAME} 2>&1) != "." ]]; then echo "--- BUILDING image '${IMAGE_NAME}'---" docker build -t ${IMAGE_NAME} -f Dockerfile . fi echo "--- RUNNING container '${C...
Build the image name using the hash of the dockerfile, to rebuild after the Dockerfile changed.
Build the image name using the hash of the dockerfile, to rebuild after the Dockerfile changed.
Shell
mit
tddbin/katas,tddbin/katas,tddbin/katas
shell
## Code Before: set -e IMAGE_NAME=katas-image CONTAINER_NAME=katas-container # TODO check for a Dockerfile update and build new then too #if uname | grep -q "Darwin"; then # mod_time_fmt="-f %m" #else # mod_time_fmt="-c %Y" #fi #stat ${mod_time_fmt} Dockerfile #docker inspect -f '{{ .Created }}' katas-image i...
0f3b8a4aa4e95a1e740724d47290932f0e6e993d
README.md
README.md
Cura plugin which provides a way to modify printer settings (build volume, nozzle size, start/end gcode) from within Cura. Installation ---- - Make sure your Cura version is 2.2 or newer - Download or clone the repository into [Cura installation folder]/plugins/MachineSettingsAction How to use ---- After adding a mac...
Cura plugin which provides a way to modify printer settings (build volume, nozzle size, start/end gcode) from within Cura. Installation ---- - Make sure your Cura version is 2.2 or newer - Download or clone the repository into [Cura installation folder]/plugins/MachineSettingsAction How to use ---- After adding a mac...
Add a note about adding the action to the first_start_actions of a generic machine definition
Add a note about adding the action to the first_start_actions of a generic machine definition
Markdown
agpl-3.0
hmflash/Cura,fieldOfView/Cura,totalretribution/Cura,totalretribution/Cura,senttech/Cura,ynotstartups/Wanhao,ynotstartups/Wanhao,Curahelper/Cura,hmflash/Cura,senttech/Cura,fieldOfView/Cura,Curahelper/Cura
markdown
## Code Before: Cura plugin which provides a way to modify printer settings (build volume, nozzle size, start/end gcode) from within Cura. Installation ---- - Make sure your Cura version is 2.2 or newer - Download or clone the repository into [Cura installation folder]/plugins/MachineSettingsAction How to use ---- Af...
e1fc54e4e2193ea76201b9d2c4c6618e78bcf8f6
bin/update_countdown.sh
bin/update_countdown.sh
echo "$(~/bin/daysuntil 2019-10-13) days - TN Toughman" > ~/.daysuntil.deadlines echo "$(~/bin/daysuntil 2019-10-14) days - ICANS conference" >> ~/.daysuntil.deadlines echo "$(~/bin/daysuntil 2019-10-22) days - HFIR startup" >> ~/.daysuntil.deadlines echo "$(~/bin/daysuntil 2020-03-29) days - Knoxville Marathon" >> ~/....
echo "$(~/bin/daysuntil 2019-11-01) days - HFIR startup" > ~/.daysuntil.deadlines echo "$(~/bin/daysuntil 2020-03-29) days - Knoxville Marathon" >> ~/.daysuntil.deadlines echo "$(~/bin/daysuntil 2020-04-12) days - Python2 is dead" >> ~/.daysuntil.deadlines # sort the file just in case things aren't already in order so...
Remove things from the past
Remove things from the past
Shell
mit
peterfpeterson/dotfiles,peterfpeterson/dotfiles
shell
## Code Before: echo "$(~/bin/daysuntil 2019-10-13) days - TN Toughman" > ~/.daysuntil.deadlines echo "$(~/bin/daysuntil 2019-10-14) days - ICANS conference" >> ~/.daysuntil.deadlines echo "$(~/bin/daysuntil 2019-10-22) days - HFIR startup" >> ~/.daysuntil.deadlines echo "$(~/bin/daysuntil 2020-03-29) days - Knoxville ...
0664bb2600311ffe9b1199360231afe213d69c88
templates/_bookmark.html
templates/_bookmark.html
{% macro bookmark(b, back) %} <div class="bookmark"> <a class="press-right button" href="/edit?id={{ b.id }}&back={{ back }}" >Edit</a> <div class="name"> {{ b.name }} {% if b.keyword %} <span class="keyword"> (<span class="blue">{{ b.keyword }}</span>) {% if b.suggestions_ur...
{% macro bookmark(b, back) %} <div class="bookmark"> <a class="press-right button" href="/edit?id={{ b.id }}&back={{ back }}" >Edit</a> <div class="name"> {{ b.name }} {% if b.keyword %} <span class="keyword"> (<span class="blue">{{ b.keyword }}</span>) {% if b.suggestions_ur...
Add empty tags to make box height same
Add empty tags to make box height same
HTML
mit
maarons/LinkMarks,maarons/LinkMarks,maarons/LinkMarks,maarons/LinkMarks
html
## Code Before: {% macro bookmark(b, back) %} <div class="bookmark"> <a class="press-right button" href="/edit?id={{ b.id }}&back={{ back }}" >Edit</a> <div class="name"> {{ b.name }} {% if b.keyword %} <span class="keyword"> (<span class="blue">{{ b.keyword }}</span>) {% if ...
ef60a275a79febec5b1489cf8fc15259aef4f8dc
library/spec/pivotal-ui-react/accessibility-developer-tools-matcher.js
library/spec/pivotal-ui-react/accessibility-developer-tools-matcher.js
const axs = require('../../node_modules/accessibility-developer-tools/dist/js/axs_testing.js'); function failureMessageForAdtResult(result) { const elements = result.elements.map((element) => element.outerHTML); return [ result.rule.heading, ...elements ].join('\n '); } module.exports = function toPa...
const axs = require('../../node_modules/accessibility-developer-tools/dist/js/axs_testing.js'); function failureMessageForAdtResult(result) { const elements = result.elements.map((element) => element.outerHTML); return [ result.rule.heading, ...elements ].join('\n '); } module.exports = function toPa...
Allow trieOptions to be passed into autocomplete
feat(autocomplete): Allow trieOptions to be passed into autocomplete - trieOptions to be passed into autocomplete - add properties of autocomplete to documentation - update autocomplete syntax - update event-stream dependency to from and through [#130668639] Signed-off-by: Ryan Dy <9eea7ae7eaa2d8efe5cde89ff3ed761900...
JavaScript
mit
sjolicoeur/pivotal-ui,pivotal-cf/pivotal-ui,sjolicoeur/pivotal-ui,pivotal-cf/pivotal-ui,sjolicoeur/pivotal-ui,pivotal-cf/pivotal-ui,sjolicoeur/pivotal-ui
javascript
## Code Before: const axs = require('../../node_modules/accessibility-developer-tools/dist/js/axs_testing.js'); function failureMessageForAdtResult(result) { const elements = result.elements.map((element) => element.outerHTML); return [ result.rule.heading, ...elements ].join('\n '); } module.exports...
14815758d6eca4e82b49b358dd3a67e4f8854188
.travis.yml
.travis.yml
language: node_js node_js: - 0.10
language: node_js node_js: - 0.10 addons: code_climate: repo_token: 7c7049626df7808a44f5a3e347a55c63ef07b220c5738d1a1f5c2d4b8fe635fc
Add code coverage to CodeClimate through TravisCI
Add code coverage to CodeClimate through TravisCI
YAML
mit
refinery29/jquery-ooyala,refinery29/jquery-ooyala
yaml
## Code Before: language: node_js node_js: - 0.10 ## Instruction: Add code coverage to CodeClimate through TravisCI ## Code After: language: node_js node_js: - 0.10 addons: code_climate: repo_token: 7c7049626df7808a44f5a3e347a55c63ef07b220c5738d1a1f5c2d4b8fe635fc
8f1bf33078ca9b3d6ace1a418c01da5c262569c2
tests/dummy/app/index.html
tests/dummy/app/index.html
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>Dummy</title> <meta name="description" content=""> <meta name="viewport" content="width=device-width, initial-scale=1"> {{content-for "head"}} <link href="https://fonts.googl...
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>Ember Google Maps</title> <meta name="description" content="A lightweight, declarative, composable API for building ambitious map UIs in your Ember apps"> <meta name="viewport" content...
Add meta tags and tracking
Add meta tags and tracking
HTML
mit
ryanholte/ember-google-maps,ryanholte/ember-google-maps,ryanholte/ember-google-maps
html
## Code Before: <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>Dummy</title> <meta name="description" content=""> <meta name="viewport" content="width=device-width, initial-scale=1"> {{content-for "head"}} <link href="htt...
0108d1890ee715e2211595412e0cc0ccf55925fa
Casks/xscope3.rb
Casks/xscope3.rb
cask :v1 => 'xscope3' do version '3.6.3' sha256 '1e5e46f50ecd81e35cf819fbd04b2c9726beddc24e86cdd2f6ae5dc60aeb4e4b' url 'https://iconfactory.com/assets/software/xscope/xScope-3.6.3.zip' appcast 'http://iconfactory.com/appcasts/xScope/appcast.xml' homepage 'http://iconfactory.com/software/xscope' license :un...
cask :v1 => 'xscope3' do version '3.6.3' sha256 '1e5e46f50ecd81e35cf819fbd04b2c9726beddc24e86cdd2f6ae5dc60aeb4e4b' url 'https://iconfactory.com/assets/software/xscope/xScope-#{version}.zip' appcast 'http://iconfactory.com/appcasts/xScope/appcast.xml' homepage 'http://iconfactory.com/software/xscope' licens...
Update license, use version in URL
Xscope3: Update license, use version in URL
Ruby
bsd-2-clause
mauricerkelly/homebrew-versions,hugoboos/homebrew-versions,yurikoles/homebrew-versions,bondezbond/homebrew-versions,caskroom/homebrew-versions,victorpopkov/homebrew-versions,404NetworkError/homebrew-versions,lantrix/homebrew-versions,Ngrd/homebrew-versions,FinalDes/homebrew-versions,coeligena/homebrew-verscustomized,Fi...
ruby
## Code Before: cask :v1 => 'xscope3' do version '3.6.3' sha256 '1e5e46f50ecd81e35cf819fbd04b2c9726beddc24e86cdd2f6ae5dc60aeb4e4b' url 'https://iconfactory.com/assets/software/xscope/xScope-3.6.3.zip' appcast 'http://iconfactory.com/appcasts/xScope/appcast.xml' homepage 'http://iconfactory.com/software/xscop...
77dd3690168768c19a2bb86edae5a8760272f228
guides/introduction/exit_statuses.md
guides/introduction/exit_statuses.md
Credo fails with an exit status != 0 if it shows any issues. This enables shell based pipeline workflows (e.g. on CI systems) which test Credo compliance. The exit status of each check is used to construct a bit map of the types of issues which were encountered by or-ing them together to produce the final result: ``...
Credo fails with an exit status != 0 if it shows any issues. This enables shell based pipeline workflows (e.g. on CI systems) which test Credo compliance. ## Issue Statuses The exit status of each check is used to construct a bit map of the types of issues which were encountered by or-ing them together to produce th...
Update docs on exit statuses
Update docs on exit statuses
Markdown
mit
rrrene/credo,rrrene/credo
markdown
## Code Before: Credo fails with an exit status != 0 if it shows any issues. This enables shell based pipeline workflows (e.g. on CI systems) which test Credo compliance. The exit status of each check is used to construct a bit map of the types of issues which were encountered by or-ing them together to produce the f...
9089a477c5b986ec5a134213dab58d0b1250fcca
Casks/zeroxed.rb
Casks/zeroxed.rb
class Zeroxed < Cask url 'http://www.suavetech.com/cgi-bin/download.cgi?0xED.tar.bz2' homepage 'http://www.suavetech.com/0xed/' version '1.1.3' sha256 '56b68898c7a8c1169e9f42790091b100841c3d43549445dc3c4986fae7152793' link '0xED.app' end
class Zeroxed < Cask url 'http://www.suavetech.com/cgi-bin/download.cgi?0xED.tar.bz2' homepage 'http://www.suavetech.com/0xed/' version 'latest' no_checksum link '0xED.app' end
Update ZeroXed to use the latest version.
Update ZeroXed to use the latest version.
Ruby
bsd-2-clause
farmerchris/homebrew-cask,exherb/homebrew-cask,otaran/homebrew-cask,optikfluffel/homebrew-cask,fharbe/homebrew-cask,d/homebrew-cask,bgandon/homebrew-cask,gmkey/homebrew-cask,fharbe/homebrew-cask,taherio/homebrew-cask,wickedsp1d3r/homebrew-cask,shorshe/homebrew-cask,lvicentesanchez/homebrew-cask,akiomik/homebrew-cask,j1...
ruby
## Code Before: class Zeroxed < Cask url 'http://www.suavetech.com/cgi-bin/download.cgi?0xED.tar.bz2' homepage 'http://www.suavetech.com/0xed/' version '1.1.3' sha256 '56b68898c7a8c1169e9f42790091b100841c3d43549445dc3c4986fae7152793' link '0xED.app' end ## Instruction: Update ZeroXed to use the latest versio...
9fda96e197abc9eba24962443ed79bc11fef485c
scss/_breadcrumb.scss
scss/_breadcrumb.scss
.breadcrumb { display: flex; flex-wrap: wrap; padding: $breadcrumb-padding-y $breadcrumb-padding-x; margin-bottom: $breadcrumb-margin-bottom; list-style: none; background-color: $breadcrumb-bg; @include border-radius($breadcrumb-border-radius); } .breadcrumb-item { // The separator between breadcrumbs ...
.breadcrumb { display: flex; flex-wrap: wrap; padding: $breadcrumb-padding-y $breadcrumb-padding-x; margin-bottom: $breadcrumb-margin-bottom; list-style: none; background-color: $breadcrumb-bg; @include border-radius($breadcrumb-border-radius); } .breadcrumb-item { // The separator between breadcrumbs ...
Remove IE-specific breadcrumb CSS hack
Remove IE-specific breadcrumb CSS hack
SCSS
mit
tjkohli/bootstrap,twbs/bootstrap,tagliala/bootstrap,peterblazejewicz/bootstrap,m5o/bootstrap,coliff/bootstrap,twbs/bootstrap,coliff/bootstrap,GerHobbelt/bootstrap,zalog/bootstrap,stanwmusic/bootstrap,zalog/bootstrap,tjkohli/bootstrap,GerHobbelt/bootstrap,tagliala/bootstrap,zalog/bootstrap,m5o/bootstrap,inway/bootstrap,...
scss
## Code Before: .breadcrumb { display: flex; flex-wrap: wrap; padding: $breadcrumb-padding-y $breadcrumb-padding-x; margin-bottom: $breadcrumb-margin-bottom; list-style: none; background-color: $breadcrumb-bg; @include border-radius($breadcrumb-border-radius); } .breadcrumb-item { // The separator betw...
42bfa6b69697c0c093a961df5708f477288a6efa
icekit/plugins/twitter_embed/forms.py
icekit/plugins/twitter_embed/forms.py
import re from django import forms from fluent_contents.forms import ContentItemForm class TwitterEmbedAdminForm(ContentItemForm): def clean_twitter_url(self): """ Make sure the URL provided matches the twitter URL format. """ url = self.cleaned_data['twitter_url'] if url:...
import re from django import forms from fluent_contents.forms import ContentItemForm from icekit.plugins.twitter_embed.models import TwitterEmbedItem class TwitterEmbedAdminForm(ContentItemForm): class Meta: model = TwitterEmbedItem fields = '__all__' def clean_twitter_url(self): """ ...
Add model and firld information to form.
Add model and firld information to form.
Python
mit
ic-labs/django-icekit,ic-labs/django-icekit,ic-labs/django-icekit,ic-labs/django-icekit
python
## Code Before: import re from django import forms from fluent_contents.forms import ContentItemForm class TwitterEmbedAdminForm(ContentItemForm): def clean_twitter_url(self): """ Make sure the URL provided matches the twitter URL format. """ url = self.cleaned_data['twitter_url'] ...
66f0166d2880819cec111f379ef5646c94de4a1e
.travis.yml
.travis.yml
jdk: - oraclejdk8 - oraclejdk7 - openjdk6 script: - ./gradlew clean build after_success: - ./gradlew test jacocoTestReport coveralls -Pcoverage
jdk: - oraclejdk8 - oraclejdk7 script: - ./gradlew clean build after_success: - ./gradlew test jacocoTestReport coveralls -Pcoverage
Drop official support for Java 6
Drop official support for Java 6 Project dependencies require Java 7+
YAML
apache-2.0
marcingrzejszczak/gradle-test-profiler,gpie3k/gradle-test-profiler
yaml
## Code Before: jdk: - oraclejdk8 - oraclejdk7 - openjdk6 script: - ./gradlew clean build after_success: - ./gradlew test jacocoTestReport coveralls -Pcoverage ## Instruction: Drop official support for Java 6 Project dependencies require Java 7+ ## Code After: jdk: - oraclejdk8 - oraclejdk7 script: - ./g...
35de9077daad36cb2def095c6bc1b8488a8bd514
app/assets/javascripts/admin/enterprises/enterprises.js.coffee
app/assets/javascripts/admin/enterprises/enterprises.js.coffee
angular.module("admin.enterprises", [ "admin.paymentMethods", "admin.utils", "admin.shippingMethods", "admin.users", "textAngular", "admin.side_menu", "admin.taxons", 'admin.indexUtils', 'admin.tagRules', 'admin.dropdown', 'ngSanitize'] )
angular.module("admin.enterprises", [ "admin.paymentMethods", "admin.utils", "admin.shippingMethods", "admin.users", "textAngular", "admin.side_menu", "admin.taxons", 'admin.indexUtils', 'admin.tagRules', 'admin.dropdown', 'ngSanitize'] ) .config [ '$provide', ($provide) -> $prov...
Add config for taTranslations (no functional change)
Add config for taTranslations (no functional change)
CoffeeScript
agpl-3.0
mkllnk/openfoodnetwork,lin-d-hop/openfoodnetwork,openfoodfoundation/openfoodnetwork,lin-d-hop/openfoodnetwork,mkllnk/openfoodnetwork,openfoodfoundation/openfoodnetwork,Matt-Yorkley/openfoodnetwork,lin-d-hop/openfoodnetwork,Matt-Yorkley/openfoodnetwork,Matt-Yorkley/openfoodnetwork,lin-d-hop/openfoodnetwork,mkllnk/openfo...
coffeescript
## Code Before: angular.module("admin.enterprises", [ "admin.paymentMethods", "admin.utils", "admin.shippingMethods", "admin.users", "textAngular", "admin.side_menu", "admin.taxons", 'admin.indexUtils', 'admin.tagRules', 'admin.dropdown', 'ngSanitize'] ) ## Instruction: Add config for taTranslati...
4315855af1fb21655fb7d50528bb9ee49ad971d9
services/Advice/app.js
services/Advice/app.js
var express = require('express'); var app = express(); var request = require('request'); var adviceArray = ["I am God's vessel. But my greatest pain in life is that I will never be able to see myself perform live.", "Would you believe in what you believe in if you were the only one who believed it?"]; var currentAdvic...
var express = require('express'); var app = express(); var request = require('request'); var adviceArray = ["I am God's vessel. But my greatest pain in life is that I will never be able to see myself perform live.", "Would you believe in what you believe in if you were the only one who believed it?"]; var currentAdvic...
Check the message in advice
Check the message in advice
JavaScript
mit
AaronMorais/Kanye
javascript
## Code Before: var express = require('express'); var app = express(); var request = require('request'); var adviceArray = ["I am God's vessel. But my greatest pain in life is that I will never be able to see myself perform live.", "Would you believe in what you believe in if you were the only one who believed it?"]; ...
e0e91d7673a1e167db3b2f88d6c267e2d556c3b1
lib/generators/cmsimple/install/templates/default.html.haml
lib/generators/cmsimple/install/templates/default.html.haml
%h2(data-mercury='simple')>< = render_region :header do Header %section.container = render_region :content, tag: :article do Add content here
%h2#header(data-mercury='simple')>< = render_region :header do Header %section#content.container = render_region :content, tag: :article do Add content here
Add ids to default template in install generator
Add ids to default template in install generator
Haml
mit
modeset/cmsimple,modeset/cmsimple,modeset/cmsimple
haml
## Code Before: %h2(data-mercury='simple')>< = render_region :header do Header %section.container = render_region :content, tag: :article do Add content here ## Instruction: Add ids to default template in install generator ## Code After: %h2#header(data-mercury='simple')>< = render_region :header do ...
98aa2b25c63ec5bd6384a9d398a70996799b135e
mygpoauth/urls.py
mygpoauth/urls.py
from django.conf.urls import include, url from django.contrib import admin from django.views.generic.base import RedirectView from mygpoauth import oauth2 urlpatterns = [ # Examples: # url(r'^$', 'mygpoauth.views.home', name='home'), # url(r'^blog/', include('blog.urls')), url(r'^$', RedirectView.as...
from django.conf.urls import include, url from django.contrib import admin from django.views.generic.base import RedirectView from mygpoauth import oauth2 urlpatterns = [ # Examples: # url(r'^$', 'mygpoauth.views.home', name='home'), # url(r'^blog/', include('blog.urls')), url(r'^$', RedirectView.as...
Make "/" a non-permanent redirect
Make "/" a non-permanent redirect
Python
agpl-3.0
gpodder/mygpo-auth,gpodder/mygpo-auth
python
## Code Before: from django.conf.urls import include, url from django.contrib import admin from django.views.generic.base import RedirectView from mygpoauth import oauth2 urlpatterns = [ # Examples: # url(r'^$', 'mygpoauth.views.home', name='home'), # url(r'^blog/', include('blog.urls')), url(r'^$',...
22ee1bb460554a6db5428f269e779e57997b1225
www/includes/easyparliament/templates/emails/alert_mailout.txt
www/includes/easyparliament/templates/emails/alert_mailout.txt
Subject: Your OpenAustralia email alert ------------------------------------------------------------------------- Hi, did you know we make these other wonderful projects too? Right To Know: http://tinyurl.com/righttoknowau PlanningAlerts: http://tinyurl.com/planningalerts Election Leaflets: http://tinyurl.com/election...
Subject: Your OpenAustralia email alert ------------------------------------------------------------------------- Hi, did you know we make these other wonderful projects too? They Vote For You: http://tinyurl.com/theyvoteforyou-oa Right To Know: http://tinyurl.com/righttoknowau PlanningAlerts: http://tinyurl.com/plann...
Add They Vote For You to email outs
Add They Vote For You to email outs
Text
bsd-3-clause
openaustralia/twfy,openaustralia/twfy,openaustralia/twfy,openaustralia/twfy,archoo/twfy,archoo/twfy,archoo/twfy,openaustralia/twfy,archoo/twfy,archoo/twfy,archoo/twfy,archoo/twfy,openaustralia/twfy
text
## Code Before: Subject: Your OpenAustralia email alert ------------------------------------------------------------------------- Hi, did you know we make these other wonderful projects too? Right To Know: http://tinyurl.com/righttoknowau PlanningAlerts: http://tinyurl.com/planningalerts Election Leaflets: http://tiny...
b7f556585aa3d921a5484ce9d83c788bfc63b3fb
js/layer-data-config.js
js/layer-data-config.js
module.exports = { 1: { plateOutlines: false, plateMovement: false, earthquakes: true, volcanos: false, exclusiveLayers: true }, 2: { plateOutlines: true, plateMovement: false, earthquakes: true, volcanos: false, exclusiveLayers: true }, 3: { plateOutlines: true, ...
module.exports = { 1: { plateOutlines: false, plateMovement: false, earthquakes: true, volcanos: false, exclusiveLayers: true }, 2: { plateOutlines: true, plateMovement: false, earthquakes: true, volcanos: false, exclusiveLayers: true }, 3: { plateOutlines: true, ...
Add configuration to show volcanoes and earthquakes simultaneously
Add configuration to show volcanoes and earthquakes simultaneously
JavaScript
mit
concord-consortium/seismic-eruptions2,concord-consortium/seismic-eruptions2,concord-consortium/seismic-eruptions2
javascript
## Code Before: module.exports = { 1: { plateOutlines: false, plateMovement: false, earthquakes: true, volcanos: false, exclusiveLayers: true }, 2: { plateOutlines: true, plateMovement: false, earthquakes: true, volcanos: false, exclusiveLayers: true }, 3: { plateOu...
c58b035076a0878cf886cccdd924fc23bc238237
assets/css/temp.css
assets/css/temp.css
.navbar { margin-bottom: 0; } select { margin-bottom: 5%; } .underline { text-decoration: underline; } .players-panel, .stocks-panel { height: 100vh; overflow: auto; padding-bottom: 1%; } .highcharts-container svg text[zIndex="8"] { display: none } .navbar-brand { font-family: Serif...
.navbar { margin-bottom: 0; } select { margin-bottom: 5%; } .underline { text-decoration: underline; } @media screen and (min-width: 768px){ .players-panel, .stocks-panel { height: 100vh; overflow: auto; padding-bottom: 1%; } } .highcharts-container svg text[zIndex="8"] {...
Add media query, less vertical space on mobile
Add media query, less vertical space on mobile
CSS
mit
khoanguyen96/stock-ticker,AdamSlater/stock-ticker,TheMysteriousTomato/stock-ticker,TheMysteriousTomato/stock-ticker,jDeluz/stock-ticker,khoanguyen96/stock-ticker,jDeluz/stock-ticker,AdamSlater/stock-ticker,AdamSlater/stock-ticker,jDeluz/stock-ticker,TheMysteriousTomato/stock-ticker,khoanguyen96/stock-ticker
css
## Code Before: .navbar { margin-bottom: 0; } select { margin-bottom: 5%; } .underline { text-decoration: underline; } .players-panel, .stocks-panel { height: 100vh; overflow: auto; padding-bottom: 1%; } .highcharts-container svg text[zIndex="8"] { display: none } .navbar-brand { fo...
655926c0f9bceec55dca7f92d18b085e4c2e060c
CMakeLists.txt
CMakeLists.txt
cmake_minimum_required(VERSION 3.0.2 FATAL_ERROR) project(lxqt-qtplugin) include(GNUInstallDirs) set(LXQTBT_MINIMUM_VERSION "0.3.0") set(CMAKE_AUTOMOC ON) set(CMAKE_INCLUDE_CURRENT_DIR ON) set(CMAKE_POSITION_INDEPENDENT_CODE ON) find_package(Qt5Widgets REQUIRED QUIET) find_package(Qt5LinguistTools REQUIRED QUIET) f...
cmake_minimum_required(VERSION 3.0.2 FATAL_ERROR) project(lxqt-qtplugin) include(GNUInstallDirs) set(LXQTBT_MINIMUM_VERSION "0.4.0") set(CMAKE_AUTOMOC ON) set(CMAKE_INCLUDE_CURRENT_DIR ON) set(CMAKE_POSITION_INDEPENDENT_CODE ON) find_package(Qt5Widgets REQUIRED) find_package(Qt5LinguistTools REQUIRED) find_package(...
Set an informal patch version
Set an informal patch version Removed some QUIET
Text
lgpl-2.1
lxde/lxqt-qtplugin
text
## Code Before: cmake_minimum_required(VERSION 3.0.2 FATAL_ERROR) project(lxqt-qtplugin) include(GNUInstallDirs) set(LXQTBT_MINIMUM_VERSION "0.3.0") set(CMAKE_AUTOMOC ON) set(CMAKE_INCLUDE_CURRENT_DIR ON) set(CMAKE_POSITION_INDEPENDENT_CODE ON) find_package(Qt5Widgets REQUIRED QUIET) find_package(Qt5LinguistTools R...
3de16754eb8bcf9a0af4d4bdb1852c9a8a69a6bc
misc/sql/ddl.sql
misc/sql/ddl.sql
drop database if exists fizzbuzz_twitterbot; create database fizzbuzz_twitterbot character set = utf8; use fizzbuzz_twitterbot; drop table if exists fizzbuzz; create table fizzbuzz ( id bigint not null auto_increment, tweet_id bigint not null, num bigint not null unique, updated_at datetime not null default cu...
DROP DATABASE IF EXISTS fizzbuzz_twitterbot; CREATE DATABASE fizzbuzz_twitterbot CHARACTER SET = utf8; USE fizzbuzz_twitterbot; DROP TABLE IF EXISTS fizzbuzz; CREATE TABLE fizzbuzz ( id BIGINT NOT NULL AUTO_INCREMENT, tweet_id BIGINT NOT NULL, num BIGINT NOT NULL UNIQUE, updated_at DATETIME NOT NULL DEFAULT CU...
Fix upper case for SQL reserved word.
Fix upper case for SQL reserved word.
SQL
mit
178inaba/fizzbuzz-twitterbot
sql
## Code Before: drop database if exists fizzbuzz_twitterbot; create database fizzbuzz_twitterbot character set = utf8; use fizzbuzz_twitterbot; drop table if exists fizzbuzz; create table fizzbuzz ( id bigint not null auto_increment, tweet_id bigint not null, num bigint not null unique, updated_at datetime not...
d25213c47a89cfe627f083bf7c89f474ee6d0d6b
tasks/deploy-lattice-website/run.sh
tasks/deploy-lattice-website/run.sh
set -e echo "$GITHUB_PRIVATE_KEY" > github.key chmod 600 github.key export GIT_SSH_COMMAND="/usr/bin/ssh -i $PWD/github.key" set -x pushd lattice-website >/dev/null bundle install apt-get install node -y --no-install-recommends bundle exec middleman build bundle exec middleman deploy popd >/dev/null
set -e echo "$GITHUB_PRIVATE_KEY" > github.key chmod 600 github.key export GIT_SSH_COMMAND="/usr/bin/ssh -i $PWD/github.key" set -x git config --global user.email "pivotal-lattice-eng@pivotal.io" git config --global user.name "Concourse CI" pushd lattice-website >/dev/null bundle install apt-get install node -...
Configure git email and name for deploy-lattice-website
Configure git email and name for deploy-lattice-website [#103740070] Signed-off-by: Mark DeLillo <cb16bf7df25dbf84b90c1f94696c8a91f946dc1d@pivotal.io>
Shell
apache-2.0
cloudfoundry-incubator/lattice-ci,cloudfoundry-incubator/lattice-ci,cloudfoundry-incubator/lattice-ci
shell
## Code Before: set -e echo "$GITHUB_PRIVATE_KEY" > github.key chmod 600 github.key export GIT_SSH_COMMAND="/usr/bin/ssh -i $PWD/github.key" set -x pushd lattice-website >/dev/null bundle install apt-get install node -y --no-install-recommends bundle exec middleman build bundle exec middleman deploy popd >...
7a1782c3cd86a739a19b5382235cfadd6bba7da2
data/hostname/worker02.softwareheritage.org.yaml
data/hostname/worker02.softwareheritage.org.yaml
networks: private: interface: ens19 address: 192.168.100.22 netmask: 255.255.255.0 gateway: 192.168.100.1 default: interface: ens18 address: 128.93.193.22 netmask: 255.255.255.0 gateway: 128.93.193.254
networks: private: interface: ens19 address: 192.168.100.22 netmask: 255.255.255.0 gateway: 192.168.100.1 default: interface: ens18 address: 128.93.193.22 netmask: 255.255.255.0 gateway: 128.93.193.254 swh::deploy::worker::instances: - swh_lister_debian - swh_lister_github - s...
Deploy deposit loader on worker02 as tryout
data/worker02: Deploy deposit loader on worker02 as tryout Related T821
YAML
apache-2.0
SoftwareHeritage/puppet-swh-site,SoftwareHeritage/puppet-swh-site,SoftwareHeritage/puppet-swh-site,SoftwareHeritage/puppet-swh-site,SoftwareHeritage/puppet-swh-site
yaml
## Code Before: networks: private: interface: ens19 address: 192.168.100.22 netmask: 255.255.255.0 gateway: 192.168.100.1 default: interface: ens18 address: 128.93.193.22 netmask: 255.255.255.0 gateway: 128.93.193.254 ## Instruction: data/worker02: Deploy deposit loader on worker02 ...
040e7c3a925f26a759722e90dcfb26a832c75a2a
test/dummy/app/views/events/_simple_form.html.erb
test/dummy/app/views/events/_simple_form.html.erb
<%= simple_form_for(@event, remote: true, authenticity_token: true) do |f| %> <% if @event.errors.any? %> <div id="error_explanation"> <h2><%= pluralize(@event.errors.count, "error") %> prohibited this event from being saved:</h2> <ul> <% @event.errors.full_messages.each do |message| %> ...
<%= simple_form_for(@event, remote: true, authenticity_token: true) do |f| %> <% if @event.errors.any? %> <div id="error_explanation"> <h2><%= pluralize(@event.errors.count, "error") %> prohibited this event from being saved:</h2> <ul> <% @event.errors.full_messages.each do |message| %> ...
Add form-group class to simple form
Add form-group class to simple form
HTML+ERB
mit
benignware/schedulable,benignware/schedulable,benignware/schedulable
html+erb
## Code Before: <%= simple_form_for(@event, remote: true, authenticity_token: true) do |f| %> <% if @event.errors.any? %> <div id="error_explanation"> <h2><%= pluralize(@event.errors.count, "error") %> prohibited this event from being saved:</h2> <ul> <% @event.errors.full_messages.each do |mes...
11acdd53ab086a9622074f79ef1535c1448cbb91
Shared/Encounter.h
Shared/Encounter.h
// // Encounter.h // ProeliaKit // // Created by Paul Schifferer on 3/5/15. // Copyright (c) 2015 Pilgrimage Software. All rights reserved. // @import Foundation; #import "EncounterConstants.h" #import "GameSystem.h" #import "AbstractEncounter.h" @class EncounterMap; @class EncounterParticipant; @class Encounter...
// // Encounter.h // ProeliaKit // // Created by Paul Schifferer on 3/5/15. // Copyright (c) 2015 Pilgrimage Software. All rights reserved. // @import Foundation; #import "EncounterConstants.h" #import "GameSystem.h" #import "AbstractEncounter.h" @class EncounterMap; @class EncounterParticipant; @class Encounter...
Store ID for source template.
Store ID for source template.
C
mit
pilgrimagesoftware/ProeliaKit,pilgrimagesoftware/ProeliaKit
c
## Code Before: // // Encounter.h // ProeliaKit // // Created by Paul Schifferer on 3/5/15. // Copyright (c) 2015 Pilgrimage Software. All rights reserved. // @import Foundation; #import "EncounterConstants.h" #import "GameSystem.h" #import "AbstractEncounter.h" @class EncounterMap; @class EncounterParticipant; ...
ed80aa4484115484741dafa212d80d2e444bfb4d
sync-contentful.js
sync-contentful.js
require('dotenv').config(); let contentful = require('contentful'), fs = require('fs-extra'); let client = contentful.createClient({ space: process.env.CONTENTFUL_SPACE, accessToken: process.env.CONTENTFUL_API_KEY }); client.sync({initial: true}) .then((response) => { fs.outputJson('public/db/entries.jso...
require('dotenv').config({silent: true}); let contentful = require('contentful'), fs = require('fs-extra'); let client = contentful.createClient({ space: process.env.CONTENTFUL_SPACE, accessToken: process.env.CONTENTFUL_API_KEY }); client.sync({initial: true}) .then((response) => { fs.outputJson('public/...
Fix sync no .env file
Fix sync no .env file
JavaScript
mit
reality-scheveningen/reality-website,reality-scheveningen/reality-website
javascript
## Code Before: require('dotenv').config(); let contentful = require('contentful'), fs = require('fs-extra'); let client = contentful.createClient({ space: process.env.CONTENTFUL_SPACE, accessToken: process.env.CONTENTFUL_API_KEY }); client.sync({initial: true}) .then((response) => { fs.outputJson('publi...
fd98ad2ce5cefb8e2b1d325ff852df9b17adea5b
scss/components/_repoColors.scss
scss/components/_repoColors.scss
$colors: ( #563d7c: $accent-purple, // CSS #f1e05a: $accent-yellow, // JavaScript #701516: $accent-red, // Ruby #4F5D95: $accent-blue-purple, // PHP #89e051: #7dbd45, // Shell #e44b23: #ab663c, // HTML #3572A5: $accent-blue, // Python #b07219: #61492b // Java ); @each $base, $replacement in $colors { ...
$colors: ( #6E4C13: #494829, // Assembly #f34b7d: #bf5b7f, // C++ #563d7c: $accent-purple, // CSS #e44b23: #ab663c, // HTML #b07219: #61492b, // Java #f1e05a: $accent-yellow, // JavaScript #427819: $accent-green, // Makefile #ededed: $bgDark, ...
Add additional repo color overrides
Add additional repo color overrides
SCSS
mit
rmcfadzean/stylish-github
scss
## Code Before: $colors: ( #563d7c: $accent-purple, // CSS #f1e05a: $accent-yellow, // JavaScript #701516: $accent-red, // Ruby #4F5D95: $accent-blue-purple, // PHP #89e051: #7dbd45, // Shell #e44b23: #ab663c, // HTML #3572A5: $accent-blue, // Python #b07219: #61492b // Java ); @each $base, $replacemen...
cb33a762c368ee701ddc1f71a0d6ecd4dc0b239c
src/setting/ResizablePMCArray.pm
src/setting/ResizablePMCArray.pm
=begin ResizablePMCArray Methods These methods extend Parrot's ResizablePMCArray type to include more methods typical of Perl 6 lists and arrays. =end module ResizablePMCArray { =begin item delete Remove item at C<$pos> =end item method delete($pos) { pir::delete__vQi(self, $pos); } ...
=begin ResizablePMCArray Methods These methods extend Parrot's ResizablePMCArray type to include more methods typical of Perl 6 lists and arrays. =end module ResizablePMCArray { =begin item delete Remove item at C<$pos> =end item method delete($pos) { pir::delete(self, $pos); } =...
Remove redundant pirop signatures. PAST::Compiler is smart enough to handle it as is.
Remove redundant pirop signatures. PAST::Compiler is smart enough to handle it as is.
Perl
artistic-2.0
perl6/nqp-rx,perl6/nqp-rx
perl
## Code Before: =begin ResizablePMCArray Methods These methods extend Parrot's ResizablePMCArray type to include more methods typical of Perl 6 lists and arrays. =end module ResizablePMCArray { =begin item delete Remove item at C<$pos> =end item method delete($pos) { pir::delete__vQi(self...
0f9586df3c5688db72c6e0fe869863f1959c3baf
app/assets/stylesheets/structures/_markdown.sass
app/assets/stylesheets/structures/_markdown.sass
// ************************************* // // Markdown // -> Namespaced Markdown styles // // ************************************* .markdown // ----- Block Content ----- // // Blockquote blockquote padding-left: $b-space // Headings h1, h2, h3, h4, h5, h6 font-family: $b-fontFamily fon...
// ************************************* // // Markdown // -> Namespaced Markdown styles // // ************************************* .markdown // ----- Block Content ----- // // Blockquote blockquote border-left: 4px solid $c-border margin: $b-space 0 padding-left: $b-space // Lists ol, ...
Add Markdown blockquote and list styles
Add Markdown blockquote and list styles
Sass
mit
cmckni3/orientation,orientation/orientation,orientation/orientation,LogicalBricks/orientation,liufffan/orientation,friism/orientation,robomc/orientation,splicers/orientation,IZEA/orientation,smashingboxes/orientation,codio/orientation,hashrocket/orientation,jefmathiot/orientation,twinn/orientation,ferdinandrosario/orie...
sass
## Code Before: // ************************************* // // Markdown // -> Namespaced Markdown styles // // ************************************* .markdown // ----- Block Content ----- // // Blockquote blockquote padding-left: $b-space // Headings h1, h2, h3, h4, h5, h6 font-family: $b-fo...
adb7925ea9e3a2a6805fb033e94310f3de6400b7
android/entityextraction/gradle/wrapper/gradle-wrapper.properties
android/entityextraction/gradle/wrapper/gradle-wrapper.properties
distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists distributionUrl=https\://services.gradle.org/distributions/gradle-6.1.1-all.zip
distributionBase=GRADLE_USER_HOME distributionUrl=https\://services.gradle.org/distributions/gradle-6.5-bin.zip distributionPath=wrapper/dists zipStorePath=wrapper/dists zipStoreBase=GRADLE_USER_HOME
Update entity extraction gradle version.
Update entity extraction gradle version. Change-Id: I664e1e3525b22fddef4ba7302b5490d065e22e76
INI
apache-2.0
googlesamples/mlkit,googlesamples/mlkit,googlesamples/mlkit,googlesamples/mlkit
ini
## Code Before: distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists distributionUrl=https\://services.gradle.org/distributions/gradle-6.1.1-all.zip ## Instruction: Update entity extraction gradle version. Change-Id: I664e1e3525b22fddef4ba7302b5490d...
e2abd47f4f177f39c65624e991b233435d4a8acc
docs/requirements.txt
docs/requirements.txt
websockets pyyaml theblues python-dateutil sphinx sphinxcontrib-asyncio sphinx_rtd_theme
pytz<2018.0,>=2017.2 # conflict between sphinx and macaroonbakery sphinx sphinxcontrib-asyncio sphinx_rtd_theme
Fix dependency conflict for building docs
Fix dependency conflict for building docs
Text
apache-2.0
juju/python-libjuju,juju/python-libjuju
text
## Code Before: websockets pyyaml theblues python-dateutil sphinx sphinxcontrib-asyncio sphinx_rtd_theme ## Instruction: Fix dependency conflict for building docs ## Code After: pytz<2018.0,>=2017.2 # conflict between sphinx and macaroonbakery sphinx sphinxcontrib-asyncio sphinx_rtd_theme
0b84783cd8e7ebf748f38c3933ba3bebf64006c3
_next_events/2017-09-21.md
_next_events/2017-09-21.md
--- title: "Talks: September 21st, 2017 @ 18:00" date: 2017-09-21 meetup_id: "242552194" meetup_url: "https://www.meetup.com/CocoaHeads-Montreal/events/242552194/" venue_name: "TouchTunes" venue_address: "7250 Rue du Mile End Suite 202, Montréal, QC" venue_address_map_url: "https://www.google.com/maps/place/7250+Rue...
--- title: "Talks: September 21st, 2017 @ 18:00" date: 2017-09-21 meetup_id: "242552194" meetup_url: "https://www.meetup.com/CocoaHeads-Montreal/events/242552194/" venue_name: "TouchTunes" venue_address: "7250 Rue du Mile End Suite 202, Montréal, QC" venue_address_map_url: "https://www.google.com/maps/place/7250+Rue...
Add more speakers to September 17
Add more speakers to September 17
Markdown
cc0-1.0
CocoaheadsMTL/cocoaheadsmtl.github.io
markdown
## Code Before: --- title: "Talks: September 21st, 2017 @ 18:00" date: 2017-09-21 meetup_id: "242552194" meetup_url: "https://www.meetup.com/CocoaHeads-Montreal/events/242552194/" venue_name: "TouchTunes" venue_address: "7250 Rue du Mile End Suite 202, Montréal, QC" venue_address_map_url: "https://www.google.com/map...
b6c24ef29e5d3145de10b610e0ecc5dc9ce36bbc
contrib/ci/pre_test_hook.sh
contrib/ci/pre_test_hook.sh
cp -r $BASE/new/manila/contrib/devstack/* $BASE/new/devstack
cp -r $BASE/new/manila/contrib/devstack/* $BASE/new/devstack localrc_path=$BASE/new/devstack/localrc # Set big quota for share networks to avoid limit exceedances echo "MANILA_OPTGROUP_DEFAULT_quota_share_networks=50" >> $localrc_path
Increase quota for share networks in manila installation
Increase quota for share networks in manila installation Functional tests create a lot of share networks and may cause exceedance of default limit. So, increase it, to be able to run tests not restricting amount of threads. Change-Id: I43ffdc54f924020bed876927bbd693593de726b2
Shell
apache-2.0
sniperganso/python-manilaclient,sniperganso/python-manilaclient
shell
## Code Before: cp -r $BASE/new/manila/contrib/devstack/* $BASE/new/devstack ## Instruction: Increase quota for share networks in manila installation Functional tests create a lot of share networks and may cause exceedance of default limit. So, increase it, to be able to run tests not restricting amount of threads. ...
904160cf0f8df646ad2ecbb6eff879326433b8b2
.travis.yml
.travis.yml
language: erlang notifications: email: false otp_release: - 18.0 - 17.5 - 17.4 - 17.3 install: true script: "make && make ct"
language: erlang notifications: email: false otp_release: - 17.5 - 17.4 - 17.3 install: true script: "make && make ct"
Remove otp 18.0 for now
Remove otp 18.0 for now
YAML
mit
bwegh/erwa,ethrbh/erwa
yaml
## Code Before: language: erlang notifications: email: false otp_release: - 18.0 - 17.5 - 17.4 - 17.3 install: true script: "make && make ct" ## Instruction: Remove otp 18.0 for now ## Code After: language: erlang notifications: email: false otp_release: - 17.5 - 17.4 - 17.3 install: true s...
0dddfcbdb46ac91ddc0bfed4482bce049a8593c2
lazyblacksmith/views/blueprint.py
lazyblacksmith/views/blueprint.py
from flask import Blueprint from flask import render_template from lazyblacksmith.models import Activity from lazyblacksmith.models import Item from lazyblacksmith.models import Region blueprint = Blueprint('blueprint', __name__) @blueprint.route('/manufacturing/<int:item_id>') def manufacturing(item_id): """ ...
import config from flask import Blueprint from flask import render_template from lazyblacksmith.models import Activity from lazyblacksmith.models import Item from lazyblacksmith.models import Region blueprint = Blueprint('blueprint', __name__) @blueprint.route('/manufacturing/<int:item_id>') def manufacturing(item_...
Change region list to match config
Change region list to match config
Python
bsd-3-clause
Kyria/LazyBlacksmith,Kyria/LazyBlacksmith,Kyria/LazyBlacksmith,Kyria/LazyBlacksmith
python
## Code Before: from flask import Blueprint from flask import render_template from lazyblacksmith.models import Activity from lazyblacksmith.models import Item from lazyblacksmith.models import Region blueprint = Blueprint('blueprint', __name__) @blueprint.route('/manufacturing/<int:item_id>') def manufacturing(ite...