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
718bd57ff648d431d8986a48d1c66877098c4081
urls.py
urls.py
from django.conf.urls import patterns, include, url from . import methods urlpatterns = patterns('', url(r'^crashreport\/submit\.php$', methods.post_crashreport, name='post_crashreport'), url(r'^issues\.xml$', methods.post_issue, name='post_issue'), )
from django.conf.urls import include, url from . import methods urlpatterns = ( url(r'^crashreport\/submit\.php$', methods.post_crashreport, name='post_crashreport'), url(r'^issues\.xml$', methods.post_issue, name='post_issue'), )
Update to Django 1.11.19 including updates to various dependencies
Update to Django 1.11.19 including updates to various dependencies
Python
mit
mback2k/django-app-bugs
python
## Code Before: from django.conf.urls import patterns, include, url from . import methods urlpatterns = patterns('', url(r'^crashreport\/submit\.php$', methods.post_crashreport, name='post_crashreport'), url(r'^issues\.xml$', methods.post_issue, name='post_issue'), ) ## Instruction: Update to Django 1.11.19 i...
57b4eebab3f63c37e892bfd57ca0f719a9b02697
web/server/system/file_system.go
web/server/system/file_system.go
package system import ( "log" "os" "path/filepath" "strings" ) type FileSystem struct{} func (self *FileSystem) Walk(root string, step filepath.WalkFunc) { err := filepath.Walk(root, func(path string, info os.FileInfo, err error) error { if self.isMetaDirectory(info) { return filepath.SkipDir } return...
package system import ( "log" "os" "path/filepath" "strings" ) type FileSystem struct{} func (self *FileSystem) Walk(root string, step filepath.WalkFunc) { err := filepath.Walk(root, func(path string, info os.FileInfo, err error) error { if self.isMetaDirectory(info) { return filepath.SkipDir } return...
Expand ignored directories to match behaviour of the go tool
Expand ignored directories to match behaviour of the go tool The go tool currently ignore directories that start with a dot or an underscore, or are called 'testdata'. This patch augments the ignore logic of goconvey to match what Go does by default.
Go
mit
wallclockbuilder/goconvey,zj8487/goconvey,springning/goconvey,wallclockbuilder/goconvey,springning/goconvey,zj8487/goconvey,aquilax/goconvey,yaoshipu/goconvey,wallclockbuilder/convey,ansiz/goconvey,springning/goconvey,ansiz/goconvey,wallclockbuilder/assertions,springning/assertions,zj8487/goconvey,leeola/goconvey,aquil...
go
## Code Before: package system import ( "log" "os" "path/filepath" "strings" ) type FileSystem struct{} func (self *FileSystem) Walk(root string, step filepath.WalkFunc) { err := filepath.Walk(root, func(path string, info os.FileInfo, err error) error { if self.isMetaDirectory(info) { return filepath.SkipD...
93db85f559a8196e368f669b777bfb5c1aa3ad74
galaxyenv/group_vars/starforgebuilders.yml
galaxyenv/group_vars/starforgebuilders.yml
--- group_apt_keys: - keyserver: hkp://pgp.mit.edu:80 id: 58118E89F3A912897C070ADBF76221572C52609D group_apt_repositories: - repo: deb https://apt.dockerproject.org/repo debian-jessie main group_packages: - docker-engine - qemu-system-x86 # for building starforge docker images - make # starforge do...
--- group_apt_keys: - keyserver: hkp://pgp.mit.edu:80 id: 58118E89F3A912897C070ADBF76221572C52609D group_apt_repositories: - repo: deb https://apt.dockerproject.org/repo debian-jessie main group_packages: - docker-engine - qemu-system-x86 # for building starforge docker images - make # starforge do...
Add starforge image build deps
Add starforge image build deps
YAML
mit
galaxyproject/infrastructure-playbook,galaxyproject/infrastructure-playbook
yaml
## Code Before: --- group_apt_keys: - keyserver: hkp://pgp.mit.edu:80 id: 58118E89F3A912897C070ADBF76221572C52609D group_apt_repositories: - repo: deb https://apt.dockerproject.org/repo debian-jessie main group_packages: - docker-engine - qemu-system-x86 # for building starforge docker images - make ...
200976e7d2aaf6a177f8d5a348cd510a0d4c086a
test/instance.js
test/instance.js
var expect = require("expect.js"); var mocha = require("mocha"); var connectAssets = require(".."); describe("instance", function () { it("exposes the mincer environment", function () { var assets = connectAssets(); expect(assets.environment).to.be.an("object"); }); it("allows you to call .bind()", fun...
var expect = require("expect.js"); var mocha = require("mocha"); var connectAssets = require(".."); describe("instance", function () { it("exposes mincer to allow for registering engines", function () { expect(connectAssets.Mincer).to.be.an("object"); }); it("exposes the mincer environment", function () { ...
Add test to ensure mincer is exposed.
Add test to ensure mincer is exposed. This will allow other modules to modify mincer before we use it — for example, to register an engine as mincer-babel does.
JavaScript
mit
codynguyen/connect-assets,codynguyen/connect-assets,adunkman/connect-assets,adunkman/connect-assets
javascript
## Code Before: var expect = require("expect.js"); var mocha = require("mocha"); var connectAssets = require(".."); describe("instance", function () { it("exposes the mincer environment", function () { var assets = connectAssets(); expect(assets.environment).to.be.an("object"); }); it("allows you to ca...
15f4d4e8dfac23122578910c87b5783b32bdeb02
roles/st2/defaults/main.yml
roles/st2/defaults/main.yml
--- # StackStorm package repository in packagecloud: 'stable', 'unstable', 'staging-stable', 'staging-unstable' st2_pkg_repo: stable # 'stable' to get latest version or numeric like '1.4.0' st2_version: stable # used only if 'st2_version' is numeric st2_revision: 1 st2_system_user: stanley st2_ssh_key_file: /home/{{ s...
--- # StackStorm package repository in packagecloud: 'stable', 'unstable', 'staging-stable', 'staging-unstable' st2_pkg_repo: stable # 'stable' to get latest version or numeric like '1.4.0' st2_version: stable # used only if 'st2_version' is numeric st2_revision: 1 # System user on whose behalf st2 would work, includi...
Add descriptions for st2 default vars
Add descriptions for st2 default vars
YAML
apache-2.0
StackStorm/ansible-st2,armab/ansible-st2
yaml
## Code Before: --- # StackStorm package repository in packagecloud: 'stable', 'unstable', 'staging-stable', 'staging-unstable' st2_pkg_repo: stable # 'stable' to get latest version or numeric like '1.4.0' st2_version: stable # used only if 'st2_version' is numeric st2_revision: 1 st2_system_user: stanley st2_ssh_key_...
46694ae83061f6f13af4f8a15985e603afa2ca50
circle.yml
circle.yml
dependencies: pre: - sudo apt-get update; sudo apt-get install unzip openssl lua5.1 luarocks libev-dev -y; sudo luarocks install luasec OPENSSL_LIBDIR=/usr/lib/x86_64-linux-gnu; sudo luarocks install copas; sudo luarocks install moonscript; sudo luarocks install lua-ev; sudo luarocks install busted; sudo lu...
dependencies: pre: - sudo apt-get update - sudo apt-get install unzip openssl lua5.1 luarocks libev-dev -y - sudo luarocks install luasec OPENSSL_LIBDIR=/usr/lib/x86_64-linux-gnu - sudo luarocks install busted - sudo luarocks install ldoc test: override: - make d...
Update to deploy github pages
Update to deploy github pages
YAML
isc
Afforess/Factorio-Stdlib
yaml
## Code Before: dependencies: pre: - sudo apt-get update; sudo apt-get install unzip openssl lua5.1 luarocks libev-dev -y; sudo luarocks install luasec OPENSSL_LIBDIR=/usr/lib/x86_64-linux-gnu; sudo luarocks install copas; sudo luarocks install moonscript; sudo luarocks install lua-ev; sudo luarocks install...
23367bd69f3b293ec5a338914937c2ae81f11bf5
web/tailwind.config.js
web/tailwind.config.js
module.exports = { purge: [], darkMode: false, // or 'media' or 'class' theme: { extend: {}, }, variants: { extend: {}, }, plugins: [], }
module.exports = { purge: [], darkMode: false, // or 'media' or 'class' theme: { extend: {}, }, variants: { extend: {}, }, plugins: [], prefix: 'tw-', }
Add prefix setting to Tailwind
chore(web): Add prefix setting to Tailwind
JavaScript
mit
ruedap/nekostagram,ruedap/nekostagram,ruedap/nekostagram,ruedap/nekostagram
javascript
## Code Before: module.exports = { purge: [], darkMode: false, // or 'media' or 'class' theme: { extend: {}, }, variants: { extend: {}, }, plugins: [], } ## Instruction: chore(web): Add prefix setting to Tailwind ## Code After: module.exports = { purge: [], darkMode: false, // or 'media' or ...
18e1fd911ba4d696acd80c57867dfbcf29ed6433
lib/rubocop/cop/naming/variable_name.rb
lib/rubocop/cop/naming/variable_name.rb
module RuboCop module Cop module Naming # This cop makes sure that all variables use the configured style, # snake_case or camelCase, for their names. class VariableName < Cop include ConfigurableNaming def on_lvasgn(node) name, = *node return unless name ...
module RuboCop module Cop module Naming # This cop makes sure that all variables use the configured style, # snake_case or camelCase, for their names. # # @example # # # EnforcedStyle: snake_case # # # bad # fooBar = 1 # # # good # ...
Fix up Naming/VariabeName cop and its documentation
Fix up Naming/VariabeName cop and its documentation
Ruby
mit
jmks/rubocop,akihiro17/rubocop,tejasbubane/rubocop,meganemura/rubocop,tdeo/rubocop,vergenzt/rubocop,vergenzt/rubocop,smakagon/rubocop,sue445/rubocop,meganemura/rubocop,tejasbubane/rubocop,bquorning/rubocop,scottmatthewman/rubocop,bbatsov/rubocop,deivid-rodriguez/rubocop,jmks/rubocop,mikegee/rubocop,urbanautomaton/ruboc...
ruby
## Code Before: module RuboCop module Cop module Naming # This cop makes sure that all variables use the configured style, # snake_case or camelCase, for their names. class VariableName < Cop include ConfigurableNaming def on_lvasgn(node) name, = *node retur...
5e8379bc2b57d3d87531fac0390ce42dc71514b7
.travis.yml
.travis.yml
language: node_js before_install: sudo apt-get update && sudo apt-get install opencv
language: node_js before_install: - sudo apt-get update - sudo apt-get install build-essential cmake pkg-config - git clone --branch=master https://github.com/Itseez/opencv.git opencv - mkdir opencv-build - cd opencv-build/ - cmake -DCMAKE_BUILD_TYPE=RELEASE -DBUILD_DOCS=OFF -DBUILD_EXAMPLES=OFF -DBUILD_SHARED_L...
Update Travis CI script to build OpenCV from scratch
Update Travis CI script to build OpenCV from scratch
YAML
bsd-3-clause
BloodAxe/CloudCVBackend,BloodAxe/CloudCVBackend,BloodAxe/CloudCVBackend
yaml
## Code Before: language: node_js before_install: sudo apt-get update && sudo apt-get install opencv ## Instruction: Update Travis CI script to build OpenCV from scratch ## Code After: language: node_js before_install: - sudo apt-get update - sudo apt-get install build-essential cmake pkg-config - git clone --bran...
7c69c8cf6e7f313b592137f1535c03f2459cf4db
module/SyllabusBundle/Resources/views/syllabus/admin/group/edit.twig
module/SyllabusBundle/Resources/views/syllabus/admin/group/edit.twig
{% extends 'admin/base.twig' %} {% block content %} {% include 'syllabus/admin/group/partials/navigation.twig' %} {% include 'admin/partials/flashMessenger.twig' %} {% include 'syllabus/admin/group/partials/years.twig' %} <div id="controller_action"> {% import 'admin/partials/form.twig' as f...
{% extends 'admin/base.twig' %} {% block content %} {% include 'syllabus/admin/group/partials/navigation.twig' %} {% include 'admin/partials/flashMessenger.twig' %} {% include 'syllabus/admin/group/partials/years.twig' %} <div id="controller_action"> {% import 'admin/partials/form.twig' as f...
Add link to export the academics in a group
[Syllabus] Add link to export the academics in a group
Twig
agpl-3.0
LitusProject/Litus,LitusProject/Litus,LitusProject/Litus,LitusProject/Litus,LitusProject/Litus
twig
## Code Before: {% extends 'admin/base.twig' %} {% block content %} {% include 'syllabus/admin/group/partials/navigation.twig' %} {% include 'admin/partials/flashMessenger.twig' %} {% include 'syllabus/admin/group/partials/years.twig' %} <div id="controller_action"> {% import 'admin/partials...
cf0110f2b1adc8fbf4b8305841961d67da33f8c7
pybo/bayesopt/policies/thompson.py
pybo/bayesopt/policies/thompson.py
# future imports from __future__ import division from __future__ import absolute_import from __future__ import print_function # use this to simplify (slightly) the Thompson implementation with sampled # models. from collections import deque # local imports from ..utils import params # exported symbols __all__ = ['T...
from __future__ import division from __future__ import absolute_import from __future__ import print_function from collections import deque from ..utils import params __all__ = ['Thompson'] @params('n') def Thompson(model, n=100, rng=None): """ Implementation of Thompson sampling for continuous models using...
Fix Thompson to pay attention to the RNG.
Fix Thompson to pay attention to the RNG.
Python
bsd-2-clause
mwhoffman/pybo,jhartford/pybo
python
## Code Before: # future imports from __future__ import division from __future__ import absolute_import from __future__ import print_function # use this to simplify (slightly) the Thompson implementation with sampled # models. from collections import deque # local imports from ..utils import params # exported symbo...
7ab1e321a92bdb87b4295f8910cc056ad9e40acd
.travis.yml
.travis.yml
addons: code_climate: repo_token: 8a344833c6693733b163f09a5243fa12dd7be0b69f0358b146c64dd4becabc60 bundler_args: --clean --jobs=3 --retry=3 cache: bundler gemfile: - gemfiles/Gemfile.rails-3.2.x - gemfiles/Gemfile.rails-4.0.x - Gemfile - gemfiles/Gemfile.rails-4.2.x language: ruby matrix: exclude: -...
addons: code_climate: repo_token: 8a344833c6693733b163f09a5243fa12dd7be0b69f0358b146c64dd4becabc60 bundler_args: --clean --jobs=3 --retry=3 cache: bundler gemfile: - gemfiles/Gemfile.rails-3.2.x - gemfiles/Gemfile.rails-4.0.x - Gemfile - gemfiles/Gemfile.rails-4.2.x language: ruby matrix: exclude: -...
Use Free Software Java runtime (OpenJDK 7) for CI builds
Use Free Software Java runtime (OpenJDK 7) for CI builds
YAML
mit
activescaffold/active_scaffold,mallikarjunayaddala/active_scaffold,AlbertoBarrago/active_scaffold,activescaffold/active_scaffold,activescaffold/active_scaffold,budree/active_scaffold,budree/active_scaffold,mallikarjunayaddala/active_scaffold,AlbertoBarrago/active_scaffold,budree/active_scaffold,AlbertoBarrago/active_sc...
yaml
## Code Before: addons: code_climate: repo_token: 8a344833c6693733b163f09a5243fa12dd7be0b69f0358b146c64dd4becabc60 bundler_args: --clean --jobs=3 --retry=3 cache: bundler gemfile: - gemfiles/Gemfile.rails-3.2.x - gemfiles/Gemfile.rails-4.0.x - Gemfile - gemfiles/Gemfile.rails-4.2.x language: ruby matrix: ...
7cc9d8399c986483f559e532fce3e6dcb22cd23b
app/assets/stylesheets/shared/editions.scss
app/assets/stylesheets/shared/editions.scss
@import "utils"; .document_view { border: 1px solid #ddd; border-bottom: 3px solid #ccc; background: #fcfcfc; padding: 3em 10% 1em 10%; margin-bottom: 2em; .title { @include type-36; } .body { p { @include type-14; } } .written_by { font-style: italic; .author { fo...
@import "utils"; .document_view { border: 1px solid #ddd; border-bottom: 3px solid #ccc; background: #fcfcfc; padding: 3em 10% 1em 10%; margin-bottom: 2em; .title { @include type-36; } .body { p, ul, ol { @include type-14; } ul { list-style-type: disc; } ol { ...
Tidy list styling in document pages.
Tidy list styling in document pages. * Unordered and Ordered lists previously had different font sizes to body text. * Neither Unordered or Ordered lists had bullet icons. * Lists had no margins, so bullet icons hung outside the body. * Sublists were a different font-size from outer lists.
SCSS
mit
askl56/whitehall,YOTOV-LIMITED/whitehall,hotvulcan/whitehall,YOTOV-LIMITED/whitehall,ggoral/whitehall,hotvulcan/whitehall,YOTOV-LIMITED/whitehall,alphagov/whitehall,robinwhittleton/whitehall,askl56/whitehall,ggoral/whitehall,askl56/whitehall,robinwhittleton/whitehall,robinwhittleton/whitehall,YOTOV-LIMITED/whitehall,gg...
scss
## Code Before: @import "utils"; .document_view { border: 1px solid #ddd; border-bottom: 3px solid #ccc; background: #fcfcfc; padding: 3em 10% 1em 10%; margin-bottom: 2em; .title { @include type-36; } .body { p { @include type-14; } } .written_by { font-style: italic; .a...
af3f6ad8adec09a035ed0c37db597bb10c45bcc4
modules/ve-graph/widgets/ve.ui.RowWidget.css
modules/ve-graph/widgets/ve.ui.RowWidget.css
.ve-ui-rowWidget { clear: left; float: left; margin-bottom: -1px; width: 100%; } .ve-ui-rowWidget-label { display: block; margin-right: 5%; padding-top: 0.5em; width: 35%; } .ve-ui-rowWidget > .ve-ui-rowWidget-label { float: left; } .ve-ui-rowWidget > .ve-ui-rowWidget-cells { float: left; } .ve-ui-rowWidg...
.ve-ui-rowWidget { clear: left; float: left; margin-bottom: -1px; width: 100%; } .ve-ui-rowWidget-label { display: block; margin-right: 5%; padding-top: 0.5em; width: 35%; } .ve-ui-rowWidget > .ve-ui-rowWidget-label { float: left; } .ve-ui-rowWidget > .ve-ui-rowWidget-cells { float: left; } .ve-ui-rowWidg...
Remove border-radii from TableWidget elements
VisualEditor: Remove border-radii from TableWidget elements Change-Id: I6806d130832ad265d2531d3d26cfa1b4678fe18c
CSS
mit
wikimedia/mediawiki-extensions-Graph,wikimedia/mediawiki-extensions-Graph
css
## Code Before: .ve-ui-rowWidget { clear: left; float: left; margin-bottom: -1px; width: 100%; } .ve-ui-rowWidget-label { display: block; margin-right: 5%; padding-top: 0.5em; width: 35%; } .ve-ui-rowWidget > .ve-ui-rowWidget-label { float: left; } .ve-ui-rowWidget > .ve-ui-rowWidget-cells { float: left; }...
f6bae2d2a21950aed4613d235d0067d4f14bf4f0
packages/on/Only.yaml
packages/on/Only.yaml
homepage: '' changelog-type: '' hash: 16c0b86c66fc6c44b7309c44a2074ff68598ad685f448decd9fb1cd2147885a7 test-bench-deps: {} maintainer: hvr@gnu.org synopsis: The 1-tuple type or single-value "collection" changelog: '' basic-deps: base: ! '>=4.5 && <5' deepseq: ! '>=1.1 && <1.5' all-versions: - '0.1' author: Herbert ...
homepage: '' changelog-type: '' hash: f92f5da97e647451f1ee7f5bf44914fb75062d08ccd3f36b2000d649c63d13aa test-bench-deps: {} maintainer: hvr@gnu.org synopsis: The 1-tuple type or single-value "collection" changelog: '' basic-deps: base: ! '>=4.5 && <5' deepseq: ! '>=1.1 && <1.5' all-versions: - '0.1' author: Herbert ...
Update from Hackage at 2017-06-19T09:10:14Z
Update from Hackage at 2017-06-19T09:10:14Z
YAML
mit
commercialhaskell/all-cabal-metadata
yaml
## Code Before: homepage: '' changelog-type: '' hash: 16c0b86c66fc6c44b7309c44a2074ff68598ad685f448decd9fb1cd2147885a7 test-bench-deps: {} maintainer: hvr@gnu.org synopsis: The 1-tuple type or single-value "collection" changelog: '' basic-deps: base: ! '>=4.5 && <5' deepseq: ! '>=1.1 && <1.5' all-versions: - '0.1' ...
4172bd815c87a239d0d57201ddd01392e2a6dfeb
lib/subcommand.js
lib/subcommand.js
/* * Optics / subcommand.js * copyright (c) 2016 Susisu */ /** * @module subcommand */ "use strict"; function endModule() { module.exports = Object.freeze({ Subcommand, CommandGroup }); } const command = require("./command.js"); /** * The `Subcommand` associates a name with a command....
/* * Optics / subcommand.js * copyright (c) 2016 Susisu */ /** * @module subcommand */ "use strict"; function endModule() { module.exports = Object.freeze({ Subcommand, CommandGroup }); } const command = require("./command.js"); /** * The `Subcommand` associates a name with a command....
Fix doc comment for CommandGroup and add one for the Subcommand constructor
Fix doc comment for CommandGroup and add one for the Subcommand constructor
JavaScript
mit
susisu/Optics
javascript
## Code Before: /* * Optics / subcommand.js * copyright (c) 2016 Susisu */ /** * @module subcommand */ "use strict"; function endModule() { module.exports = Object.freeze({ Subcommand, CommandGroup }); } const command = require("./command.js"); /** * The `Subcommand` associates a name...
16e49995e030400ef18bcc1c7b48d3b64b5f81d7
runtime/src/main/resources/application.yml
runtime/src/main/resources/application.yml
deployment: file: com/redhat/ipaas/dao/deployment.json resteasy: jaxrs: app: registration: property classes: com.redhat.ipaas.rest.v1.V1Application cors: allowedOrigins: "*" cache: cluster: name: IPaaSCluster max: entries: 100 spring: zipkin: enabled: false datasource: ...
deployment: file: com/redhat/ipaas/dao/deployment.json resteasy: jaxrs: app: registration: property classes: com.redhat.ipaas.rest.v1.V1Application cors: allowedOrigins: "*" cache: cluster: name: IPaaSCluster max: entries: 100 spring: zipkin: enabled: false datasource: ...
Use more common port for postgres
Use more common port for postgres
YAML
apache-2.0
redhat-ipaas/ipaas-api-java,rhuss/ipaas-rest,redhat-ipaas/ipaas-rest,redhat-ipaas/ipaas-rest,KurtStam/syndesis-rest,KurtStam/syndesis-rest,redhat-ipaas/ipaas-rest,chirino/ipaas-rest,KurtStam/ipaas-rest,chirino/ipaas-rest,rhuss/ipaas-rest,rhuss/ipaas-rest,KurtStam/ipaas-rest,KurtStam/ipaas-rest,KurtStam/syndesis-rest,ch...
yaml
## Code Before: deployment: file: com/redhat/ipaas/dao/deployment.json resteasy: jaxrs: app: registration: property classes: com.redhat.ipaas.rest.v1.V1Application cors: allowedOrigins: "*" cache: cluster: name: IPaaSCluster max: entries: 100 spring: zipkin: enabled: false ...
63d6b865d2822ea2195fe85ddc818d0d96475d48
docs/examples/CustomIndicatorsContainer.tsx
docs/examples/CustomIndicatorsContainer.tsx
// @flow import React from 'react'; import Select, { components } from 'react-select'; import { colourOptions } from '../data'; const IndicatorsContainer = props => { return ( <div style={{ background: colourOptions[2].color }}> <components.IndicatorsContainer {...props} /> </div> ); }; export defa...
import React from 'react'; import Select, { components, IndicatorContainerProps } from 'react-select'; import { ColourOption, colourOptions } from '../data'; const IndicatorsContainer = ( props: IndicatorContainerProps<ColourOption, true> ) => { return ( <div style={{ background: colourOptions[2].color }}> ...
Convert more examples to TypeScript
Convert more examples to TypeScript
TypeScript
mit
JedWatson/react-select,JedWatson/react-select
typescript
## Code Before: // @flow import React from 'react'; import Select, { components } from 'react-select'; import { colourOptions } from '../data'; const IndicatorsContainer = props => { return ( <div style={{ background: colourOptions[2].color }}> <components.IndicatorsContainer {...props} /> </div> );...
5a361d0cf97cb4a37253e3bdcac328c9923e7788
app/assets/stylesheets/govuk-component/_taxonomy-sidebar.scss
app/assets/stylesheets/govuk-component/_taxonomy-sidebar.scss
.govuk-taxonomy-sidebar { border-top: 10px solid $mainstream-brand; padding-bottom: $gutter * 2; @include core-16; .sidebar-taxon { padding-top: 1.25em; h2 { @include bold-24; margin: 0 0 5px; } .taxon-description { font-size: 16px; margin: 0; } .related-conte...
.govuk-taxonomy-sidebar { border-top: 10px solid $mainstream-brand; padding-bottom: $gutter * 2; @include core-16; .sidebar-taxon { padding-top: 1.25em; h2 { @include bold-24; margin: 0 0 5px; } .taxon-description { font-size: 16px; margin: 0; } .related-conte...
Fix gap in sidebar links
Fix gap in sidebar links There was a gap between multiline links in the sidebar that you couldn't click. `display: block` makes these links wrap the entire li element Trello card: https://trello.com/c/xshqCdju/33-it-s-possible-to-click-in-the-middle-of-related-links-and-not-go-anywhere
SCSS
mit
alphagov/static,alphagov/static,alphagov/static
scss
## Code Before: .govuk-taxonomy-sidebar { border-top: 10px solid $mainstream-brand; padding-bottom: $gutter * 2; @include core-16; .sidebar-taxon { padding-top: 1.25em; h2 { @include bold-24; margin: 0 0 5px; } .taxon-description { font-size: 16px; margin: 0; } ...
a2eae87fc76ba1e9fbfa8102c3e19c239445a62a
nazs/web/forms.py
nazs/web/forms.py
from achilles.forms import * # noqa from nazs.models import SingletonModel # Override forms template Form.template_name = 'web/form.html' class ModelForm(ModelForm): def get_form(self, form_data=None, *args, **kwargs): # manage SingletonModels if issubclass(self.form_class.Meta.model, Singleto...
from achilles.forms import * # noqa from nazs.models import SingletonModel # Override forms template Form.template_name = 'web/form.html' class ModelForm(ModelForm): def get_form(self, form_data=None, *args, **kwargs): # manage SingletonModels if issubclass(self.form_class.Meta.model, Singleto...
Fix form retrieval in ModelForm
Fix form retrieval in ModelForm
Python
agpl-3.0
exekias/droplet,exekias/droplet,exekias/droplet
python
## Code Before: from achilles.forms import * # noqa from nazs.models import SingletonModel # Override forms template Form.template_name = 'web/form.html' class ModelForm(ModelForm): def get_form(self, form_data=None, *args, **kwargs): # manage SingletonModels if issubclass(self.form_class.Meta...
e8d443c894218a235dfc34d61096344ab3dabc66
examples/warehouse/domain/example.com/dns.yaml
examples/warehouse/domain/example.com/dns.yaml
net: dns: mx: - priority: 10 server: mail.example.com - priority: 20 server: mail2.example.com ns: - 192.168.0.1 - 192.168.0.2
net: dns: mx: - priority: 10 server: mail.example.com - priority: 20 server: mail2.example.com ns: - 192.168.0.1 - 192.168.0.2 soa-ns: ns1.example.com soa-contact: hostmaster@example.com
Add missing DNS records to example warehouse
Add missing DNS records to example warehouse A DNS zone requires a SOA name server and contact to work. Add those to the example warehouse.
YAML
mit
saab-simc-admin/palletjack,creideiki/palletjack,saab-simc-admin/palletjack,creideiki/palletjack,notCalle/palletjack,notCalle/palletjack
yaml
## Code Before: net: dns: mx: - priority: 10 server: mail.example.com - priority: 20 server: mail2.example.com ns: - 192.168.0.1 - 192.168.0.2 ## Instruction: Add missing DNS records to example warehouse A DNS zone requires a SOA name server and contac...
9eb6cc073106cd6809b69ec61cf11b5fea34100b
opennms-tomcat/pom.xml
opennms-tomcat/pom.xml
<?xml version="1.0" encoding="UTF-8"?><project> <parent> <artifactId>opennms</artifactId> <groupId>org.opennms</groupId> <version>1.3.2-SNAPSHOT</version> </parent> <modelVersion>4.0.0</modelVersion> <artifactId>opennms-tomcat</artifactId> <name>OpenNMS Tomcat 5.0 Integration </name> <dependenci...
<?xml version="1.0" encoding="UTF-8"?><project> <parent> <artifactId>opennms</artifactId> <groupId>org.opennms</groupId> <version>1.3.2-SNAPSHOT</version> </parent> <modelVersion>4.0.0</modelVersion> <artifactId>opennms-tomcat</artifactId> <name>OpenNMS Tomcat 5.0 Integration </name> <dependenci...
Clean up dependencies a bit... it doesn't matter much since opennms-services includes the world
Clean up dependencies a bit... it doesn't matter much since opennms-services includes the world
XML
agpl-3.0
tdefilip/opennms,roskens/opennms-pre-github,rdkgit/opennms,aihua/opennms,tdefilip/opennms,aihua/opennms,roskens/opennms-pre-github,tdefilip/opennms,tdefilip/opennms,tdefilip/opennms,rdkgit/opennms,rdkgit/opennms,roskens/opennms-pre-github,aihua/opennms,tdefilip/opennms,rdkgit/opennms,aihua/opennms,aihua/opennms,aihua/o...
xml
## Code Before: <?xml version="1.0" encoding="UTF-8"?><project> <parent> <artifactId>opennms</artifactId> <groupId>org.opennms</groupId> <version>1.3.2-SNAPSHOT</version> </parent> <modelVersion>4.0.0</modelVersion> <artifactId>opennms-tomcat</artifactId> <name>OpenNMS Tomcat 5.0 Integration </nam...
9e9b04e2181a64052d0d07e44fb19bb39729dd00
.travis.yml
.travis.yml
language: bash services: docker env: - VERSION=3.7-rc VARIANT=debian - VERSION=3.7-rc VARIANT=alpine - VERSION=3.7 VARIANT=debian - VERSION=3.7 VARIANT=alpine - VERSION=3.7 VARIANT=ubuntu install: - git clone https://github.com/docker-library/official-images.git ~/official-images before_script: - env |...
language: bash services: docker env: - VERSION=3.7-rc VARIANT=alpine - VERSION=3.7 VARIANT=alpine - VERSION=3.7 VARIANT=ubuntu install: - git clone https://github.com/docker-library/official-images.git ~/official-images before_script: - env | sort - wget -qO- 'https://github.com/tianon/pgp-happy-eyeballs...
Remove 3.7 Debian builds from Travis
Remove 3.7 Debian builds from Travis Keep forgetting about this file...
YAML
mit
docker-library/rabbitmq,infosiftr/rabbitmq
yaml
## Code Before: language: bash services: docker env: - VERSION=3.7-rc VARIANT=debian - VERSION=3.7-rc VARIANT=alpine - VERSION=3.7 VARIANT=debian - VERSION=3.7 VARIANT=alpine - VERSION=3.7 VARIANT=ubuntu install: - git clone https://github.com/docker-library/official-images.git ~/official-images before_s...
9824d7fe230c67c8c73149cf9115b4e583fe32b2
app/api/openWeatherMap.jsx
app/api/openWeatherMap.jsx
var axios = require('axios'); const OPEN_WEATHER_MAP_URL = `http://api.openweathermap.org/data/2.5/weather?appid=${API_KEY}&units=imperial`; module.exports = { getCurrentWeather: function (location) { var encodedLocation = encodeURIComponent(location); var requestUrl = `${OPEN_WEATHER_MAP_URL}&q=${encodedLo...
const axios = require('axios'); const OPEN_WEATHER_MAP_URL = 'http://api.openweathermap.org/data/2.5/'; const DEFAULT_UNIT = 'imperial'; module.exports = { getCurrentWeather: function (location) { const encodedLocation = encodeURIComponent(location); const requestUrl = `${OPEN_WEATHER_MAP_URL}weather?appid=${API...
Add method to call OpenWeatherMap API's 5-day forecast
Add method to call OpenWeatherMap API's 5-day forecast
JSX
mit
bmorelli25/React-Weather-App,bmorelli25/React-Weather-App
jsx
## Code Before: var axios = require('axios'); const OPEN_WEATHER_MAP_URL = `http://api.openweathermap.org/data/2.5/weather?appid=${API_KEY}&units=imperial`; module.exports = { getCurrentWeather: function (location) { var encodedLocation = encodeURIComponent(location); var requestUrl = `${OPEN_WEATHER_MAP_UR...
ba406425bf3bd1b22bf41631df05fe47ae723062
app/Mail/OrganizerRecap.php
app/Mail/OrganizerRecap.php
<?php namespace App\Mail; use Illuminate\Bus\Queueable; use Illuminate\Mail\Mailable; use Illuminate\Queue\SerializesModels; use Illuminate\Contracts\Queue\ShouldQueue; class OrganizerRecap extends Mailable { use Queueable, SerializesModels; public $participants; /** * Create a new message instanc...
<?php namespace App\Mail; use Illuminate\Bus\Queueable; use Illuminate\Mail\Mailable; use Illuminate\Queue\SerializesModels; use Illuminate\Contracts\Queue\ShouldQueue; class OrganizerRecap extends Mailable { use Queueable, SerializesModels; public $participants; /** * Create a new message instanc...
Fix organizer recap email title
Fix organizer recap email title
PHP
apache-2.0
Korko/SecretSanta,Korko/SecretSanta.fr,Korko/SecretSanta.fr,Korko/SecretSanta,Korko/SecretSanta
php
## Code Before: <?php namespace App\Mail; use Illuminate\Bus\Queueable; use Illuminate\Mail\Mailable; use Illuminate\Queue\SerializesModels; use Illuminate\Contracts\Queue\ShouldQueue; class OrganizerRecap extends Mailable { use Queueable, SerializesModels; public $participants; /** * Create a new...
e92b0ab4936fd4d9973bb4169e457c7670c66b03
deploy-api.yaml
deploy-api.yaml
- hosts: api roles: - common - iptables - python-process - nginx - apiv1 - apiv2
- hosts: api roles: - common - iptables - python-process - nginx - apiv1 - apiv2 - commonelk - filebeat
Add filebeat deployment for api
Add filebeat deployment for api
YAML
agpl-3.0
CaliOpen/deploy-alpha,CaliOpen/deploy-alpha,CaliOpen/deploy-alpha,CaliOpen/deploy-alpha,CaliOpen/deploy-alpha
yaml
## Code Before: - hosts: api roles: - common - iptables - python-process - nginx - apiv1 - apiv2 ## Instruction: Add filebeat deployment for api ## Code After: - hosts: api roles: - common - iptables - python-process - nginx - apiv1 - apiv2 - commonelk - f...
504440b00daa96cdbbe68bca0acfbd52e3a486fd
app/mailers/course/mailer.rb
app/mailers/course/mailer.rb
class Course::Mailer < ApplicationMailer # Sends an invitation email for the given invitation. # # @param [Course] course The course that was involved. # @param [Course::UserInvitation] invitation The invitation which was generated. def user_invitation_email(course, invitation) @recipient = invitation.cou...
class Course::Mailer < ApplicationMailer # Sends an invitation email for the given invitation. # # @param [Course] course The course that was involved. # @param [Course::UserInvitation] invitation The invitation which was generated. def user_invitation_email(course, invitation) @recipient = invitation.cou...
Fix wrong recipient name in greetings
Fix wrong recipient name in greetings
Ruby
mit
Coursemology/coursemology2,Coursemology/coursemology2,Coursemology/coursemology2,Coursemology/coursemology2,cysjonathan/coursemology2,Coursemology/coursemology2,cysjonathan/coursemology2,Coursemology/coursemology2,cysjonathan/coursemology2,Coursemology/coursemology2
ruby
## Code Before: class Course::Mailer < ApplicationMailer # Sends an invitation email for the given invitation. # # @param [Course] course The course that was involved. # @param [Course::UserInvitation] invitation The invitation which was generated. def user_invitation_email(course, invitation) @recipient ...
639367692cc19f83230758bb503d9609015290b6
app/controllers/fb_friends_controller.rb
app/controllers/fb_friends_controller.rb
require 'fb_service' class FbFriendsController < ApplicationController before_filter :authenticate_user! #before_filter :check_facebook_session, :only => [:index, :search_fb_friends] def index fb_token = session[:fb_token] @people = FbService.get_my_friends(fb_token) end def search_fb_friends ...
require 'fb_service' class FbFriendsController < ApplicationController before_filter :authenticate_user! #before_filter :check_facebook_session, :only => [:index, :search_fb_friends] def index fb_token = session[:fb_token] @people = FbService.get_my_friends(fb_token).order(:name) end def search_fb...
Order my friends by name
Order my friends by name
Ruby
unlicense
muhumar99/sharedearth,haseeb-ahmad/sharedearth-net,sharedearth-net/sharedearth-net,muhumar99/sharedearth,sharedearth-net/sharedearth-net,haseeb-ahmad/sharedearth-net,haseeb-ahmad/sharedearth-net,sharedearth-net/sharedearth-net,muhumar99/sharedearth
ruby
## Code Before: require 'fb_service' class FbFriendsController < ApplicationController before_filter :authenticate_user! #before_filter :check_facebook_session, :only => [:index, :search_fb_friends] def index fb_token = session[:fb_token] @people = FbService.get_my_friends(fb_token) end def search...
ad94455e70efb9ddb8e24e1a3c5966a5851e06db
app/views/elements/_logo.html.slim
app/views/elements/_logo.html.slim
== setting.microdata_meta(map) if show_metadata a.header-title-link.logo-container href='/' h1.header-title.logo style="background-image: url(#{setting.logo.url(:thumb)})" = setting.title small.header-subtitle = setting.subtitle
== setting.microdata_meta(map) if show_metadata - logo_link = setting.logo.url(:thumb) - suffix = 'path' - html_tag_tag = defined?(html_tag) ? html_tag : :h1 - if defined?(absolute) && absolute - logo_link = asset_url(logo_link) - suffix = 'url' a.header-title-link.logo-container href="#{send("root_#{suffix}")}" ...
Update absolute or relative path for image or link in logo partial
Update absolute or relative path for image or link in logo partial
Slim
mit
lr-agenceweb/rails-starter,lr-agenceweb/rails-starter,lr-agenceweb/rails-starter,lr-agenceweb/rails-starter
slim
## Code Before: == setting.microdata_meta(map) if show_metadata a.header-title-link.logo-container href='/' h1.header-title.logo style="background-image: url(#{setting.logo.url(:thumb)})" = setting.title small.header-subtitle = setting.subtitle ## Instruction: Update absolute or relative path for image or l...
4167f81a45616191c46a4b8d1fbccb7f8ff918e6
.travis.yml
.travis.yml
sudo: false language: ruby cache: bundler rvm: - "2.1.10" - "2.3.1"
sudo: false language: ruby cache: bundler rvm: - 2.1.10 - 2.3.1 env: - GRAPHQL_VERSION=0.18.0 RAILS_VERSION=3.0.0 - GRAPHQL_VERSION=0.18.0 RAILS_VERSION=5.0.0 - GRAPHQL_VERSION=0.18.11 RAILS_VERSION=3.0.0 - GRAPHQL_VERSION=0.18.11 RAILS_VERSION=5.0.0
Test all supported versions of graphql and rails
Test all supported versions of graphql and rails
YAML
mit
tjoyal/graphql-client,tjoyal/graphql-client
yaml
## Code Before: sudo: false language: ruby cache: bundler rvm: - "2.1.10" - "2.3.1" ## Instruction: Test all supported versions of graphql and rails ## Code After: sudo: false language: ruby cache: bundler rvm: - 2.1.10 - 2.3.1 env: - GRAPHQL_VERSION=0.18.0 RAILS_VERSION=3.0.0 - GRAPHQL_VERSION=0.18.0 ...
66f0cb5a4a0e359162359ea763775ead7159f62c
test-case-qsort.lisp
test-case-qsort.lisp
(test-case 'test-case-qsort '((test test-qsort ((assert-equal '() (qsort '())) (assert-equal '(1) (qsort '(1))) (assert-equal '(1 2) (qsort '(1 2))) (assert-equal '(1 2 3) (qsort '(3 1 2))) (assert-equal '(1 2 ...
(test-case 'test-case-qsort '((test test-qsort-without-getter ((assert-equal '() (qsort '())) (assert-equal '(1) (qsort '(1))) (assert-equal '(1 2) (qsort '(1 2))) (assert-equal '(1 2 3) (qsort '(3 1 2))) (asse...
Test qsort with and without getter
Test qsort with and without getter
Common Lisp
mit
adjl/PolynomialArithmetic,adjl/PolynomialArithmetic
common-lisp
## Code Before: (test-case 'test-case-qsort '((test test-qsort ((assert-equal '() (qsort '())) (assert-equal '(1) (qsort '(1))) (assert-equal '(1 2) (qsort '(1 2))) (assert-equal '(1 2 3) (qsort '(3 1 2))) (ass...
7f3a9dd375f30906ff06b51b20d2a964f9e8a949
_protected/app/system/modules/payment/views/base/tpl/main/error.tpl
_protected/app/system/modules/payment/views/base/tpl/main/error.tpl
<div class="center"> <p class="red bold"> {lang 'The purchase failed. The payment status of your purchase might be just pending, in progress or invalid.'} </p> <p> {lang 'If the problem persists, please <a href="%0%">contact us</a>.', Framework\Mvc\Router\Uri::get('contact', 'contact', 'ind...
<div class="center"> <p class="red bold"> {lang 'The purchase failed. The payment status of your purchase might be just pending, in progress or invalid.'} </p> <p> {lang 'If the problem persists, please contact your payment provider or <a href="%0%">contact us</a>.', Framework\Mvc\Router\Ur...
Add more details into payment failure message
Add more details into payment failure message
Smarty
mit
pH7Software/pH7-Social-Dating-CMS,pH7Software/pH7-Social-Dating-CMS,pH7Software/pH7-Social-Dating-CMS,pH7Software/pH7-Social-Dating-CMS
smarty
## Code Before: <div class="center"> <p class="red bold"> {lang 'The purchase failed. The payment status of your purchase might be just pending, in progress or invalid.'} </p> <p> {lang 'If the problem persists, please <a href="%0%">contact us</a>.', Framework\Mvc\Router\Uri::get('contact',...
ac00d223bcb5d80403aaf3150621a407d792ed06
.github/workflows/main.yml
.github/workflows/main.yml
name: ci on: pull_request: branches: - master jobs: test_go: runs-on: macOS-latest steps: - uses: actions/checkout@v1 - uses: actions/setup-go@v1 with: go-version: '1.11' - name: Test go packages run: make test-go env: CERTS_PASS: ${{ secrets.CERTS_PA...
name: ci on: pull_request: branches: - master jobs: test_go: runs-on: macOS-latest steps: - uses: actions/checkout@v1 - uses: actions/setup-go@v1 with: go-version: '1.11' - name: Test go packages run: make test-go env: CERTS_PASS: ${{ secrets.CERTS_PA...
Add test build on Xcode 11
Add test build on Xcode 11
YAML
mit
SCENEE/relax,SCENEE/relax
yaml
## Code Before: name: ci on: pull_request: branches: - master jobs: test_go: runs-on: macOS-latest steps: - uses: actions/checkout@v1 - uses: actions/setup-go@v1 with: go-version: '1.11' - name: Test go packages run: make test-go env: CERTS_PASS: ${{ ...
1aa672472e8a431089c392839bc6a374330c2f7c
db/post_migrate/20170503004427_upate_retried_for_ci_build.rb
db/post_migrate/20170503004427_upate_retried_for_ci_build.rb
class UpateRetriedForCiBuild < ActiveRecord::Migration include Gitlab::Database::MigrationHelpers DOWNTIME = false disable_ddl_transaction! def up disable_statement_timeout latest_id = <<-SQL.strip_heredoc SELECT MAX(ci_builds2.id) FROM ci_builds ci_builds2 WHERE ci_builds.co...
class UpateRetriedForCiBuild < ActiveRecord::Migration include Gitlab::Database::MigrationHelpers DOWNTIME = false disable_ddl_transaction! def up disable_statement_timeout with_temporary_partial_index do latest_id = <<-SQL.strip_heredoc SELECT MAX(ci_builds2.id) FROM ci_buil...
Add temporary partial index to speed up the migration
Add temporary partial index to speed up the migration Closes #32469
Ruby
mit
dplarson/gitlabhq,axilleas/gitlabhq,mmkassem/gitlabhq,dplarson/gitlabhq,dreampet/gitlab,t-zuehlsdorff/gitlabhq,dplarson/gitlabhq,mmkassem/gitlabhq,iiet/iiet-git,axilleas/gitlabhq,mmkassem/gitlabhq,stoplightio/gitlabhq,axilleas/gitlabhq,jirutka/gitlabhq,jirutka/gitlabhq,iiet/iiet-git,stoplightio/gitlabhq,t-zuehlsdorff/g...
ruby
## Code Before: class UpateRetriedForCiBuild < ActiveRecord::Migration include Gitlab::Database::MigrationHelpers DOWNTIME = false disable_ddl_transaction! def up disable_statement_timeout latest_id = <<-SQL.strip_heredoc SELECT MAX(ci_builds2.id) FROM ci_builds ci_builds2 WH...
26683725edb3e37225c5be01eaa8a6d258e65f73
plugins/virsh/tasks/remove_node.yml
plugins/virsh/tasks/remove_node.yml
--- - name: Get VM network info virt_util: command: 'domain_xml_devices' domain: "{{ vm_name }}" device_class: 'interface' register: vm_network_info tags: skip_ansible_lint - name: Reset network list set_fact: network_list: [] - name: Create network list set_fact: network_list:...
--- - name: Get VM network info virt_util: command: 'domain_xml_devices' domain: "{{ vm_name }}" device_class: 'interface' register: vm_network_info tags: skip_ansible_lint - name: Reset network list set_fact: network_list: [] - name: Create network list set_fact: network_list:...
Fix remove node in virsh plugin
Fix remove node in virsh plugin Change when statement when including the remove_static_ips.yml file to use the new loop instead of deprecated with_items and change use of item variable to the defined loop_var. RHOSINFRA-2328 Change-Id: I120cecd8244fd2c49206d38c8080055a59c847a1
YAML
apache-2.0
redhat-openstack/infrared,redhat-openstack/infrared,redhat-openstack/infrared
yaml
## Code Before: --- - name: Get VM network info virt_util: command: 'domain_xml_devices' domain: "{{ vm_name }}" device_class: 'interface' register: vm_network_info tags: skip_ansible_lint - name: Reset network list set_fact: network_list: [] - name: Create network list set_fact: ...
810f5765f54dd007908933a000c0389753b90289
.template-lintrc.js
.template-lintrc.js
'use strict'; /* eslint-env node */ module.exports = { extends: 'recommended', rules: { 'block-indentation': false, 'img-alt-attributes': false, 'triple-curlies': false, 'html-comments': false, }, };
'use strict'; /* eslint-env node */ module.exports = { extends: 'recommended', rules: { 'img-alt-attributes': false, 'triple-curlies': false, 'html-comments': false, }, };
Enable indentation rule for templates
Enable indentation rule for templates
JavaScript
apache-2.0
rust-lang/crates.io,rust-lang/crates.io,rust-lang/crates.io,rust-lang/crates.io
javascript
## Code Before: 'use strict'; /* eslint-env node */ module.exports = { extends: 'recommended', rules: { 'block-indentation': false, 'img-alt-attributes': false, 'triple-curlies': false, 'html-comments': false, }, }; ## Instruction: Enable indentation rule for templates ## Code After: 'use str...
6233d3485708f8c693956be5fee7bb22f6d6b3c8
.ci/appveyor/deploy_to_pypi.ps1
.ci/appveyor/deploy_to_pypi.ps1
if (($env:appveyor_repo_tag -eq "True") -and ($env:appveyor_repo_branch.StartsWith("v"))) { Invoke-Expression "$env:PYTHON/Scripts/twine upload -u landlab -p $env:PYPI_PASS dist/*" }
if (($env:appveyor_repo_tag -eq "True") -and ($env:appveyor_repo_branch.StartsWith("v"))) { Invoke-Expression "twine upload -u landlab -p $env:PYPI_PASS dist/*" }
Call twine command without full path.
Call twine command without full path.
PowerShell
mit
cmshobe/landlab,landlab/landlab,Carralex/landlab,Carralex/landlab,csherwood-usgs/landlab,amandersillinois/landlab,ManuSchmi88/landlab,RondaStrauch/landlab,SiccarPoint/landlab,RondaStrauch/landlab,csherwood-usgs/landlab,RondaStrauch/landlab,SiccarPoint/landlab,amandersillinois/landlab,laijingtao/landlab,cmshobe/landlab,...
powershell
## Code Before: if (($env:appveyor_repo_tag -eq "True") -and ($env:appveyor_repo_branch.StartsWith("v"))) { Invoke-Expression "$env:PYTHON/Scripts/twine upload -u landlab -p $env:PYPI_PASS dist/*" } ## Instruction: Call twine command without full path. ## Code After: if (($env:appveyor_repo_tag -eq "True") -and (...
53fda43370466bd952d08c03da5c372959886a42
manifest.json
manifest.json
{ "browser_action": { "default_icon": "icon.png", "default_popup": "src/popup.html" }, "content_scripts": [ { "js": ["src/jquery.min.js", "src/gpa.js", "src/schedule/schedule.js"], "matches": ["http://powerschool.isb.ac.th/guardian/*", "https://powerschool.isb.ac.th/guardian/*"], "run_at": "document_e...
{ "browser_action": { "default_icon": "icon.png", "default_popup": "src/popup.html" }, "content_scripts": [ { "js": ["src/jquery.min.js", "src/gpa.js", "src/schedule/schedule.js"], "matches": ["https://powerschool.isb.ac.th/guardian/*"], "run_at": "document_end" } ], "description": "Enhances Power...
Update permissions and fix versioning
Update permissions and fix versioning The Chrome web store states that the extension has version 1.4.2, so let's push to 1.4.3. The permissions should be more lax now instead of requiring all pages.
JSON
mit
JudgeMadan/ISBPowerSchoolEnhancer,JudgeMadan/ISBPowerSchoolEnhancer
json
## Code Before: { "browser_action": { "default_icon": "icon.png", "default_popup": "src/popup.html" }, "content_scripts": [ { "js": ["src/jquery.min.js", "src/gpa.js", "src/schedule/schedule.js"], "matches": ["http://powerschool.isb.ac.th/guardian/*", "https://powerschool.isb.ac.th/guardian/*"], "run_...
e5200cbb10362efc13f5a73e747afb6e386ccb1b
xwiki-rendering-test/src/main/resources/cts/config.properties
xwiki-rendering-test/src/main/resources/cts/config.properties
testDescriptions = simple/bold/bold1 = Standard Bold testDescriptions = simple/bold/bold2 = Spaces inside Bold testDescriptions = simple/bold/bold3 = Italic inside Bold testDescriptions = simple/italic/italic1 = Standard Italic testDescriptions = simple/paragraph/paragraph1 = Two standard Paragraphs
testDescriptions = simple/bold/bold1 = Standard Bold testDescriptions = simple/bold/bold2 = Spaces inside Bold testDescriptions = simple/bold/bold3 = Italic inside Bold testDescriptions = simple/italic/italic1 = Standard Italic testDescriptions = simple/paragraph/paragraph1 = Two standard Paragraphs testDescriptions =...
Add description for table1 CTS test
[Misc] Add description for table1 CTS test
INI
lgpl-2.1
xwiki/xwiki-rendering
ini
## Code Before: testDescriptions = simple/bold/bold1 = Standard Bold testDescriptions = simple/bold/bold2 = Spaces inside Bold testDescriptions = simple/bold/bold3 = Italic inside Bold testDescriptions = simple/italic/italic1 = Standard Italic testDescriptions = simple/paragraph/paragraph1 = Two standard Paragraphs #...
a29d73ae3b098a3fedfb792271a2dfe0a5dc5293
app/views/comment/_show.rhtml
app/views/comment/_show.rhtml
<% comment = show %> <div class="comment"> <table> <tr> <td class="header">Comment ID #<%= comment.id %> by:</td> <td><%=h comment.commenter %></td> </tr> <tr> <td class="header">On:</td> <td><%=h comment.written_on %></td> </tr> <tr> <td class="content" colspan="2">...
<% comment = show %> <div class="comment"> <table> <tr> <td class="header">Comment ID #<%= comment.id %> by:</td> <td><%=h comment.commenter %></td> </tr> <tr> <td class="header">On:</td> <td><%=h comment.written_on %></td> </tr> <tr> <td class="content" colspan="2">...
Substitute <br/> for \n in review comments
Substitute <br/> for \n in review comments
RHTML
bsd-3-clause
toddlipcon/arb,toddlipcon/arb,toddlipcon/arb
rhtml
## Code Before: <% comment = show %> <div class="comment"> <table> <tr> <td class="header">Comment ID #<%= comment.id %> by:</td> <td><%=h comment.commenter %></td> </tr> <tr> <td class="header">On:</td> <td><%=h comment.written_on %></td> </tr> <tr> <td class="conte...
836e3d04afca8caf898dc27cf7146c0604c98bd6
scripts/travis/install-requirements.sh
scripts/travis/install-requirements.sh
if [ "${TASK}" = 'compilepy3 ci-py3-unit' ] || [ "${TASK}" = 'ci-py3-integration' ]; then pip install "tox==3.1.3" # NOTE: We create the environment and install the dependencies first. This # means that the subsequent tox build / test command has a stable run time # since it doesn't depend on dependen...
if [ "${TASK}" = 'compilepy3 ci-py3-unit' ] || [ "${TASK}" = 'ci-py3-integration' ]; then pip install "tox==3.1.3" # Install runners . virtualenv/bin/activate CURRENT_DIR=`pwd` for RUNNER in `ls -d $CURRENT_DIR/contrib/runners/*` do echo "Installing runner: $RUNNER..." cd $RUNNER python se...
Install runners when processing requirements for travis
Install runners when processing requirements for travis
Shell
apache-2.0
Plexxi/st2,StackStorm/st2,StackStorm/st2,StackStorm/st2,Plexxi/st2,nzlosh/st2,StackStorm/st2,nzlosh/st2,nzlosh/st2,Plexxi/st2,nzlosh/st2,Plexxi/st2
shell
## Code Before: if [ "${TASK}" = 'compilepy3 ci-py3-unit' ] || [ "${TASK}" = 'ci-py3-integration' ]; then pip install "tox==3.1.3" # NOTE: We create the environment and install the dependencies first. This # means that the subsequent tox build / test command has a stable run time # since it doesn't de...
0866af6b2d2c82637c3726e6bba5ac840bd499d1
get_results.sh
get_results.sh
if [ $# -lt 1 ]; then echo "Usage: $0 TAG" echo "TAG: any mnemonic tag for this run" exit fi IP=52.88.104.238 TAG=$1 NAME=`date "+%Y_%m_%d"`_$TAG for DIR in output demos comparisons; do mkdir ${DIR}_${NAME} scp -r ${IP}:ml-demo/${DIR}/* ${DIR}_${NAME} done python eval.py output_$NAME
if [ $# -lt 1 ]; then echo "Usage: $0 TAG" echo "TAG: any mnemonic tag for this run" exit fi IP=52.88.104.238 TAG=$1 NAME=`date "+%Y_%m_%d"`_$TAG for DIR in output demos comparisons; do mkdir ${DIR}_${NAME} scp -r ${IP}:ml-demo/${DIR}/* ${DIR}_${NAME} done python eval.py --equal-precision-recall...
Use equal precision/recall metric for eval
Use equal precision/recall metric for eval To beat random forest, the number needs to be above 90!
Shell
mit
lwneal/tfasts,lwneal/tfasts,lwneal/tfasts,lwneal/tfasts,lwneal/tfasts
shell
## Code Before: if [ $# -lt 1 ]; then echo "Usage: $0 TAG" echo "TAG: any mnemonic tag for this run" exit fi IP=52.88.104.238 TAG=$1 NAME=`date "+%Y_%m_%d"`_$TAG for DIR in output demos comparisons; do mkdir ${DIR}_${NAME} scp -r ${IP}:ml-demo/${DIR}/* ${DIR}_${NAME} done python eval.py output_$...
601193248ac894381628497a81b39c6b747cdbc3
templates/layout.mustache
templates/layout.mustache
<!DOCTYPE html> <html> <head> <title>{{#title}}{{title}} &mdash; {{/title}}{{ site }}{{#section}} {{ section }}{{/section}}</title> <link rel="stylesheet" type="text/css" href="/css/main.css"> </head> <body class="{{ type }}"> <div id="wrap"> <div id="header"> <h1>{{ site }} {{ section }}</h1> {{{ header }}} </div>...
<!DOCTYPE html> <html> <head> <title>{{#title}}{{title}} &mdash; {{/title}}{{ site }}{{#section}} {{ section }}{{/section}}</title> <link rel="stylesheet" type="text/css" href="/css/main.css"> <link href="https://plus.google.com/b/109306111401276833043/109306111401276833043" rel="publisher"> </head> <body class="{{ t...
Add <link> for linking website with G+
Add <link> for linking website with G+
HTML+Django
mpl-2.0
duckinator/overviewer,duckinator/overviewer
html+django
## Code Before: <!DOCTYPE html> <html> <head> <title>{{#title}}{{title}} &mdash; {{/title}}{{ site }}{{#section}} {{ section }}{{/section}}</title> <link rel="stylesheet" type="text/css" href="/css/main.css"> </head> <body class="{{ type }}"> <div id="wrap"> <div id="header"> <h1>{{ site }} {{ section }}</h1> {{{ h...
45776391d05c1a6b5929c3532fb852d361bf4bb7
index.md
index.md
ScatterHQ is a place to find former employees of [ClusterHQ](https://clusterhq.com) and a place to find support for ClusterHQ open source software. ## Flocker Support ScatterHQ will maintain a [fork of Flocker](https://github.com/ScatterHQ/flocker), an open-source Container Data Volume Manager for your Dockerized ap...
ScatterHQ is a place to find former employees of [ClusterHQ](https://clusterhq.com) and a place to find support for ClusterHQ open source software. ## Flocker Support ScatterHQ will maintain a [fork of Flocker](https://github.com/ScatterHQ/flocker), an open-source Container Data Volume Manager for your Dockerized ap...
Mark Adam as available for support
Mark Adam as available for support
Markdown
apache-2.0
ScatterHQ/scatterhq.github.io
markdown
## Code Before: ScatterHQ is a place to find former employees of [ClusterHQ](https://clusterhq.com) and a place to find support for ClusterHQ open source software. ## Flocker Support ScatterHQ will maintain a [fork of Flocker](https://github.com/ScatterHQ/flocker), an open-source Container Data Volume Manager for yo...
fd97c7dc3690f410fcde858412869902f86101e2
docker-compose.yml
docker-compose.yml
openhab: build: . net: host command: /openhab/start.sh
openhab: build: . net: host volumes: - configurations:/openhab/configurations command: /openhab/start.sh
Add volume mounting of configurations for dc
Add volume mounting of configurations for dc This makes development with dc a bit easier as openHAB will auto-reload config changes (actually building an image and using `docker run` for deployment is still recommended). Change-Id: I1df749532fd403ea52ee6a2452c92f872ba0dfa2
YAML
mit
guildencrantz/docker-openhab
yaml
## Code Before: openhab: build: . net: host command: /openhab/start.sh ## Instruction: Add volume mounting of configurations for dc This makes development with dc a bit easier as openHAB will auto-reload config changes (actually building an image and using `docker run` for deployment is still recommended). Cha...
c572cecb0f25ffde74071b50356499d4e503477d
.travis.yml
.travis.yml
language: c sudo: required before_script: - sudo apt-get update - sudo apt-get install cpanminus nsis - sudo cpanm --notest Config::AutoConf::INI ExtUtils::CBuilder File::chdir File::Basename File::Find File::Path File::Copy::Recursive IPC::Run # Dependencies - sh ./install-c-genericLogger.sh - sh ./install-c...
language: c sudo: required before_script: - sudo apt-get update - sudo apt-get install cpanminus nsis - sudo cpanm --notest Config::AutoConf::INI ExtUtils::CBuilder File::chdir File::Basename File::Find File::Path File::Copy::Recursive IPC::Run Try::Tiny # Dependencies - sh ./install-c-genericLogger.sh - sh ....
Add Try::Tiny in perl requirements
Add Try::Tiny in perl requirements
YAML
mit
jddurand/c-marpaWrapper,jddurand/c-marpaWrapper,jddurand/c-marpaWrapper
yaml
## Code Before: language: c sudo: required before_script: - sudo apt-get update - sudo apt-get install cpanminus nsis - sudo cpanm --notest Config::AutoConf::INI ExtUtils::CBuilder File::chdir File::Basename File::Find File::Path File::Copy::Recursive IPC::Run # Dependencies - sh ./install-c-genericLogger.sh ...
ee55e55b1d80771e9689ff8b4bc3b46ce4ebf706
.travis.yml
.travis.yml
addons: code_climate: repo_token: c75df5383c6ed506f57bd7281c1c41200a139a6847ad4c62d0371a23d457f8c6 language: ruby rvm: - 2.1.3 before_script: - cp config/database.psql.yml config/database.yml - psql -c 'create database hpi_swt2_test;' -U postgres notifications: email: false
addons: code_climate: repo_token: c75df5383c6ed506f57bd7281c1c41200a139a6847ad4c62d0371a23d457f8c6 language: ruby rvm: - 2.1.3 before_script: - cp config/database.psql.yml config/database.yml - psql -c 'create database hpi_swt2_test;' -U postgres notifications: email: false deploy: provider: heroku api_key:...
Make Travis deploy to Heroku on successful build
Make Travis deploy to Heroku on successful build
YAML
agpl-3.0
chrisma/event-und-raumplanung,hpi-swt2/event-und-raumplanung,hpi-swt2/event-und-raumplanung,chrisma/event-und-raumplanung,chrisma/event-und-raumplanung
yaml
## Code Before: addons: code_climate: repo_token: c75df5383c6ed506f57bd7281c1c41200a139a6847ad4c62d0371a23d457f8c6 language: ruby rvm: - 2.1.3 before_script: - cp config/database.psql.yml config/database.yml - psql -c 'create database hpi_swt2_test;' -U postgres notifications: email: false ## Instr...
93a2fd8f9c74ac21e26dfc1ecaf71ffff265695e
sessionManagement.js
sessionManagement.js
var CONTEXT_URI = process.env.CONTEXT_URI; exports.requiresSession = function (req, res, next) { if (req.session.encodedUsername) { res.cookie('_eun', req.session.encodedUsername); next(); } else { req.session.redirectUrl = CONTEXT_URI + req.originalUrl; if (req.url.split('?')[1...
var CONTEXT_URI = process.env.CONTEXT_URI; exports.requiresSession = function (req, res, next) { if (req.session.encodedUsername) { res.cookie('_eun', req.session.encodedUsername); next(); } else { req.session.redirectUrl = CONTEXT_URI + req.originalUrl; if (req.url.split('?')[1...
Destroy session redis way too.
Destroy session redis way too.
JavaScript
agpl-3.0
maximilianhp/api,1self/api,maximilianhp/api,1self/api,1self/api,maximilianhp/api,1self/api
javascript
## Code Before: var CONTEXT_URI = process.env.CONTEXT_URI; exports.requiresSession = function (req, res, next) { if (req.session.encodedUsername) { res.cookie('_eun', req.session.encodedUsername); next(); } else { req.session.redirectUrl = CONTEXT_URI + req.originalUrl; if (req....
12d239d62c293cdb1a3fa1a69df06bf9c8e65366
grip/github_renderer.py
grip/github_renderer.py
from flask import abort, json import requests def render_content(text, gfm=False, context=None, username=None, password=None): """Renders the specified markup using the GitHub API.""" if gfm: url = 'https://api.github.com/markdown' data = {'text': text, 'mode': 'gfm', 'context': context} ...
from flask import abort, json import requests def render_content(text, gfm=False, context=None, username=None, password=None): """Renders the specified markup using the GitHub API.""" if gfm: url = 'https://api.github.com/markdown' data = {'text': text, 'mode': 'gfm'} ...
Remove duplicate 'context': context in GitHub renderer.
Remove duplicate 'context': context in GitHub renderer.
Python
mit
jbarreras/grip,ssundarraj/grip,joeyespo/grip,mgoddard-pivotal/grip,mgoddard-pivotal/grip,jbarreras/grip,joeyespo/grip,ssundarraj/grip
python
## Code Before: from flask import abort, json import requests def render_content(text, gfm=False, context=None, username=None, password=None): """Renders the specified markup using the GitHub API.""" if gfm: url = 'https://api.github.com/markdown' data = {'text': text, 'mode': 'gfm', 'context'...
89481154239f368b455769b096f63da3d6525c2a
docs/css/code_fixer.css
docs/css/code_fixer.css
div.admonition code { display: inline-block; overflow-x: visible; line-height: 18px; color: #404040; border: 1px solid rgba(0, 0, 0, 0.2); background: rgba(255, 255, 255, 0.7); } div.admonition p { margin-bottom: 5px; } p, ol, ul { text-align: justify; } p code { word-wrap: normal; }
div.admonition code { display: inline-block; overflow-x: visible; line-height: 18px; color: #404040; border: 1px solid rgba(0, 0, 0, 0.2); background: rgba(255, 255, 255, 0.7); } div.admonition p { margin-bottom: 5px; } p, ol, ul { text-align: justify; } p code { word-wrap: normal; } h1 code, h2 c...
Fix styling of code tags in headings (h1-6 tags)
Fix styling of code tags in headings (h1-6 tags)
CSS
mit
MinecraftForge/Documentation,PaleoCrafter/Documentation,tterrag1098/Documentation
css
## Code Before: div.admonition code { display: inline-block; overflow-x: visible; line-height: 18px; color: #404040; border: 1px solid rgba(0, 0, 0, 0.2); background: rgba(255, 255, 255, 0.7); } div.admonition p { margin-bottom: 5px; } p, ol, ul { text-align: justify; } p code { word-wrap: normal; ...
97a571aa380be7dba3eaa6f5bde35dd8621e4167
src/app/ui/library/GridSection.less
src/app/ui/library/GridSection.less
@import "../../style/variables.less"; @sectionHeadHeight: 60px; // Keep in sync with `GridSection.tsx` .GridSection-head { height: @sectionHeadHeight; padding: 20px 0 0 10px; color: @blue-grey-200; font-size: 32px; font-weight: 200; } .GridSection-toggleSelection { color: inherit !importan...
@import "../../style/variables.less"; @sectionHeadHeight: 60px; // Keep in sync with `GridSection.tsx` .GridSection-head { height: @sectionHeadHeight; padding: 20px 0 0 10px; color: @blue-grey-200; font-size: 25px; font-weight: 200; white-space: nowrap; overflow: hidden; text-overfl...
Adjust styling of section heads to work better for small sections
Adjust styling of section heads to work better for small sections
Less
mit
m0g/ansel,m0g/ansel,m0g/ansel,m0g/ansel
less
## Code Before: @import "../../style/variables.less"; @sectionHeadHeight: 60px; // Keep in sync with `GridSection.tsx` .GridSection-head { height: @sectionHeadHeight; padding: 20px 0 0 10px; color: @blue-grey-200; font-size: 32px; font-weight: 200; } .GridSection-toggleSelection { color: i...
4b1d036f275487cd3a68c9cd64c8f5e98449df7f
docs/install.rst
docs/install.rst
Install ======= Javascript Dependencies ----------------------- The web uses bower to handle Javascript external dependencies:: $ bower install Python Dependencies ------------------- Depending on where you are installing dependencies: In development:: $ pip install -r requirements/local.txt For produc...
Install ======= Javascript Dependencies ----------------------- The web uses bower to handle Javascript external dependencies:: $ npm install $ bower install Python Dependencies ------------------- Depending on where you are installing dependencies: In development:: $ pip install -r requirements/loc...
Add minor fix to documentation
Add minor fix to documentation
reStructuredText
mit
olea/PyConES-2016,olea/PyConES-2016,olea/PyConES-2016,olea/PyConES-2016
restructuredtext
## Code Before: Install ======= Javascript Dependencies ----------------------- The web uses bower to handle Javascript external dependencies:: $ bower install Python Dependencies ------------------- Depending on where you are installing dependencies: In development:: $ pip install -r requirements/local...
d2b92a905df0a858dcf723f1f99539e6dcbdcb4d
_layouts/company.html
_layouts/company.html
--- layout: default --- <div class="inner-container"> <div class="subheader"> <div class="title"> <h1 class="h4">Company News</h1> </div> <nav class="-row"> <a href="{{ site.baseurl }}/category/development">Announcements</a> <a href="{{ site.baseurl }}/category/sysadmin">Podcasts</a> <a href="{{ site...
--- layout: default --- <div class="inner-container"> <div class="subheader"> <div class="title"> <h1 class="h4">Company News</h1> </div> <nav class="-row"> <a href="{{ site.baseurl }}/category/announcements">Announcements</a> <a href="{{ site.baseurl }}/category/podcasts">Podcasts</a> <a href="{{ si...
Add right urls for categories
Add right urls for categories
HTML
mit
up1/blog-1,up1/blog-1,up1/blog-1
html
## Code Before: --- layout: default --- <div class="inner-container"> <div class="subheader"> <div class="title"> <h1 class="h4">Company News</h1> </div> <nav class="-row"> <a href="{{ site.baseurl }}/category/development">Announcements</a> <a href="{{ site.baseurl }}/category/sysadmin">Podcasts</a> ...
4981204844b262553b74bf3f3c1b1b1be0ac5826
app.rb
app.rb
require 'sinatra' require 'slim' require 'data_mapper' Slim::Engine.set_default_options :pretty => true configure do pwd = File.expand_path(File.dirname(__FILE__)) DataMapper.setup(:default, ENV['DATABASE_URL'] || "sqlite://#{pwd}/db/tdrb.db") end class Task include DataMapper::Resource property :id, ...
require 'sinatra' require 'slim' require 'data_mapper' configure do Slim::Engine.set_default_options :pretty => true pwd = File.expand_path(File.dirname(__FILE__)) DataMapper.setup(:default, ENV['DATABASE_URL'] || "sqlite://#{pwd}/db/tdrb.db") end class Task include DataMapper::Resource property :id, ...
Move Slim config to configure block
Move Slim config to configure block
Ruby
mit
mybuddymichael/roodoo
ruby
## Code Before: require 'sinatra' require 'slim' require 'data_mapper' Slim::Engine.set_default_options :pretty => true configure do pwd = File.expand_path(File.dirname(__FILE__)) DataMapper.setup(:default, ENV['DATABASE_URL'] || "sqlite://#{pwd}/db/tdrb.db") end class Task include DataMapper::Resource prop...
5e89a8000967ee5fc25a34d06fccaa723cb0a0c7
lib/pastel/color_resolver.rb
lib/pastel/color_resolver.rb
module Pastel # Contains logic for resolving styles applied to component # # Used internally by {Delegator}. # # @api private class ColorResolver attr_reader :color # Initialize ColorResolver # # @param [Color] color # # @api private def initialize(color = Color.new) @col...
module Pastel # Contains logic for resolving styles applied to component # # Used internally by {Delegator}. # # @api private class ColorResolver attr_reader :color # Initialize ColorResolver # # @param [Color] color # # @api private def initialize(color = Color.new) @col...
Change to simpify color resolution.
Change to simpify color resolution.
Ruby
mit
mallikarjunayaddala/pastel,dale-ackerman/pastel,peter-murach/pastel,bitgal/pastel,janusnic/pastel
ruby
## Code Before: module Pastel # Contains logic for resolving styles applied to component # # Used internally by {Delegator}. # # @api private class ColorResolver attr_reader :color # Initialize ColorResolver # # @param [Color] color # # @api private def initialize(color = Color...
ff2bf51f003fc5af1f62fc1aa181ca11a766c8f6
fs/archive/__init__.py
fs/archive/__init__.py
from __future__ import absolute_import from __future__ import unicode_literals import contextlib @contextlib.contextmanager def open_archive(fs_url, archive): from pkg_resources import iter_entry_points from ..opener import open_fs from ..opener._errors import Unsupported it = iter_entry_points('fs.a...
from __future__ import absolute_import from __future__ import unicode_literals import contextlib @contextlib.contextmanager def open_archive(fs_url, archive): from pkg_resources import iter_entry_points from ..opener import open_fs from ..opener._errors import Unsupported it = iter_entry_points('fs.a...
Make sure files and FS are properly closed in open_archive
Make sure files and FS are properly closed in open_archive
Python
mit
althonos/fs.archive
python
## Code Before: from __future__ import absolute_import from __future__ import unicode_literals import contextlib @contextlib.contextmanager def open_archive(fs_url, archive): from pkg_resources import iter_entry_points from ..opener import open_fs from ..opener._errors import Unsupported it = iter_en...
0398047692e8379a071fcf66cf40b4474ee9609b
README.md
README.md
Deliver Gitlab code push notifications to a [Slack](https://slack.com/) channel [![Build Status](https://magnum-ci.com/status/ebcfe15f396d8c1f4b3692986615e83f.png)](https://magnum-ci.com/public/ebcfe15f396d8c1f4b3692986615e83f/builds) ## Install Clone repository and install dependencies: ``` git clone git@gitlab.d...
Deliver Gitlab code push notifications to a [Slack](https://slack.com/) channel ## Install Clone repository and install dependencies: ``` git clone git@gitlab.doejo.com:doejo/gitlab-slack.git cd gitlab-slack bundle install ``` ## Configure Application requires the following environment variables to function: - `...
Remove build status from readme
Remove build status from readme
Markdown
mit
doejo/gitlab-slack
markdown
## Code Before: Deliver Gitlab code push notifications to a [Slack](https://slack.com/) channel [![Build Status](https://magnum-ci.com/status/ebcfe15f396d8c1f4b3692986615e83f.png)](https://magnum-ci.com/public/ebcfe15f396d8c1f4b3692986615e83f/builds) ## Install Clone repository and install dependencies: ``` git cl...
0dd77dbaa6f8f60e6ebbadbbef027878a54cc181
app/views/games/edit.html.erb
app/views/games/edit.html.erb
<%= form_for @game, url: location_sport_game_path(@location, @sport, @game) do |f| %> <%= render partial:"edit_form", locals: {f: f, game: @game} %> <% end %> <%= render partial:"errors", locals: {game: @game} %>
<%= render partial:"errors", locals: {game: @game} %> <%= form_for @game, url: location_sport_game_path(@location, @sport, @game) do |f| %> <%= render partial:"edit_form", locals: {f: f, game: @game} %> <% end %>
Move error partial to top
Move error partial to top
HTML+ERB
mit
Bastonis/HuddleUp,Bastonis/HuddleUp,Bastonis/SquareUp,Bastonis/SquareUp,Revolaution/HuddleUp,Revolaution/HuddleUp,Bastonis/SquareUp,Revolaution/HuddleUp,Bastonis/HuddleUp
html+erb
## Code Before: <%= form_for @game, url: location_sport_game_path(@location, @sport, @game) do |f| %> <%= render partial:"edit_form", locals: {f: f, game: @game} %> <% end %> <%= render partial:"errors", locals: {game: @game} %> ## Instruction: Move error partial to top ## Code After: <%= render partial:"errors", ...
fec94bc110ad5aa7573899ffe9b44ef3a2314bca
project/build/project.scala
project/build/project.scala
import sbt._ trait Defaults { def androidPlatformName = "android-4" } class Parent(info: ProjectInfo) extends ParentProject(info) { override def shouldCheckOutputDirectories = false override def updateAction = task { None } lazy val main = project(".", "Oh! Launch!", new MainProject(_)) lazy val tests = pr...
import sbt._ trait Defaults { def androidPlatformName = "android-4" } class Parent(info: ProjectInfo) extends ParentProject(info) { override def shouldCheckOutputDirectories = false override def updateAction = task { None } lazy val main = project(".", "Oh! Launch!", new MainProject(_)) lazy val tests = pr...
Make the proguard step quieter.
Make the proguard step quieter.
Scala
bsd-3-clause
mike-burns/ohlaunch
scala
## Code Before: import sbt._ trait Defaults { def androidPlatformName = "android-4" } class Parent(info: ProjectInfo) extends ParentProject(info) { override def shouldCheckOutputDirectories = false override def updateAction = task { None } lazy val main = project(".", "Oh! Launch!", new MainProject(_)) laz...
50b0e11e5ee672497ae45b70e47d4ccba25ae9c8
meta/main.yml
meta/main.yml
--- galaxy_info: author: Mark Kusch description: Role for base configuration of Ansible roles developed at Silpion. company: http://silpion.de license: Apache 2 min_ansible_version: 2.0.0.2 platforms: - name: EL versions: - 6 - name: Fedora versions: - 20 - name: Ubuntu versions: ...
--- galaxy_info: author: Mark Kusch description: Role for base configuration of Ansible roles developed at Silpion. company: http://silpion.de license: Apache 2 min_ansible_version: 2.0.0.2 platforms: - name: EL versions: - 6 - name: Fedora versions: - 20 - name: Ubuntu versions: ...
Fix deprecation warning for ansible-galaxy
Fix deprecation warning for ansible-galaxy Signed-off-by: Mark Kusch <100d753b1bf12c46cb1704d669587da1096d0b23@silpion.de>
YAML
apache-2.0
silpion/ansible-util,silpion/ansible-util,AlbanAndrieu/ansible-util,AlbanAndrieu/ansible-util
yaml
## Code Before: --- galaxy_info: author: Mark Kusch description: Role for base configuration of Ansible roles developed at Silpion. company: http://silpion.de license: Apache 2 min_ansible_version: 2.0.0.2 platforms: - name: EL versions: - 6 - name: Fedora versions: - 20 - name: Ubuntu...
d26c1990740f6226b344a8585a1423cb312576fb
Casks/munki.rb
Casks/munki.rb
cask :v1 => 'munki' do version '2.1.1.2352' sha256 'd2287454a1b3aa66ef49e41a34dfa55cfffd45d3e00de5d2288b3fd7ced2e42c' url "https://github.com/munki/munki/releases/download/v#{version}/munkitools-#{version}.pkg" appcast 'https://github.com/munki/munki/releases.atom' name 'Munki' homepage 'http://munki.githu...
cask :v1 => 'munki' do version '2.1.1.2352' sha256 'd2287454a1b3aa66ef49e41a34dfa55cfffd45d3e00de5d2288b3fd7ced2e42c' url "https://github.com/munki/munki/releases/download/v#{version}/munkitools-#{version}.pkg" appcast 'https://github.com/munki/munki/releases.atom' name 'Munki' homepage 'https://www.munki....
Fix homepage to use SSL in Munki Cask
Fix homepage to use SSL in Munki Cask The HTTP URL is already getting redirected to HTTPS. Using the HTTPS URL directly makes it more secure and saves a HTTP round-trip.
Ruby
bsd-2-clause
forevergenin/homebrew-cask,af/homebrew-cask,jconley/homebrew-cask,Nitecon/homebrew-cask,napaxton/homebrew-cask,andersonba/homebrew-cask,goxberry/homebrew-cask,mahori/homebrew-cask,nathansgreen/homebrew-cask,andrewdisley/homebrew-cask,sscotth/homebrew-cask,markthetech/homebrew-cask,chino/homebrew-cask,zerrot/homebrew-ca...
ruby
## Code Before: cask :v1 => 'munki' do version '2.1.1.2352' sha256 'd2287454a1b3aa66ef49e41a34dfa55cfffd45d3e00de5d2288b3fd7ced2e42c' url "https://github.com/munki/munki/releases/download/v#{version}/munkitools-#{version}.pkg" appcast 'https://github.com/munki/munki/releases.atom' name 'Munki' homepage 'ht...
2d0331a779637ac8a8ca50635ea6b4401a49b207
seeds.js
seeds.js
var seeds = require('./features.json'); var Feature = require('./feature'); module.exports = function (callback) { // Drop the features collection. Feature.remove(function () { // Seed the features collection. Feature.create(seeds, function () { callback(); }); }); };
var seeds = require('./features.json'); var Feature = require('./feature'); module.exports = function (callback) { console.log('Seeding the database...') // Drop the features collection. Feature.remove(function () { // Seed the features collection. Feature.create(seeds, function () { console.log('S...
Add log messages about database seeding progress
Add log messages about database seeding progress
JavaScript
mit
nicolasmccurdy/rose,nickmccurdy/rose,nickmccurdy/rose,nicolasmccurdy/rose
javascript
## Code Before: var seeds = require('./features.json'); var Feature = require('./feature'); module.exports = function (callback) { // Drop the features collection. Feature.remove(function () { // Seed the features collection. Feature.create(seeds, function () { callback(); }); }); }; ## Instru...
fd86e54135436006114117678b2ab3e3ea3903f1
tests/Adapter/RedisTest.php
tests/Adapter/RedisTest.php
<?php namespace Aguimaraes\Tests; use Aguimaraes\Adapter\Redis; use PHPUnit\Framework\TestCase; class RedisTest extends TestCase { public function testErrorCountHandling() { $v = 40; $redis = new Redis($this->mockErrorCountClient($v), 'test-prefix'); $redis->setErrorCount('test-servic...
<?php namespace Aguimaraes\Adapter; use Aguimaraes\Adapter\Redis; use PHPUnit\Framework\TestCase; class RedisTest extends TestCase { public function testErrorCountHandling() { $v = 40; $redis = new Redis($this->mockErrorCountClient($v), 'test-prefix'); $redis->setErrorCount('test-serv...
Add more tests to the redis adapter
Add more tests to the redis adapter
PHP
apache-2.0
aguimaraes/circuit-breaker
php
## Code Before: <?php namespace Aguimaraes\Tests; use Aguimaraes\Adapter\Redis; use PHPUnit\Framework\TestCase; class RedisTest extends TestCase { public function testErrorCountHandling() { $v = 40; $redis = new Redis($this->mockErrorCountClient($v), 'test-prefix'); $redis->setErrorCo...
0f04f3b3cf7281eb96fa35fc6f933998bd9ec40c
src/lib/composedFetch.js
src/lib/composedFetch.js
const axios = require(`axios`); export default itemIdentifier => axios.get(`items`, { baseURL: `https://track.bpost.be/btr/api/`, responseType: `json`, params: { itemIdentifier }, }).then(res => res.data.items[0]) .catch(e => e);
import axios from 'axios'; export default itemIdentifier => axios.get(`items`, { baseURL: `https://track.bpost.be/btr/api/`, responseType: `json`, params: { itemIdentifier }, }).then(res => res.data.items[0]) .catch(e => e);
Fix axios import for UMD build
:bug: Fix axios import for UMD build
JavaScript
mit
thibmaek/bpost
javascript
## Code Before: const axios = require(`axios`); export default itemIdentifier => axios.get(`items`, { baseURL: `https://track.bpost.be/btr/api/`, responseType: `json`, params: { itemIdentifier }, }).then(res => res.data.items[0]) .catch(e => e); ## Instruction: :bug: Fix axios import for UMD build ## Code Afte...
1053e0faf38d8d5ac691655424cf21b39669890f
gulppipelines.babel.js
gulppipelines.babel.js
import gulpLoadPlugins from 'gulp-load-plugins'; import pkg from './package.json'; const $ = gulpLoadPlugins(); export default { 'js': () => [ $.sourcemaps.init(), // Exclude files in `app/nobabel` $.if(file => !/^nobabel\//.test(file.relative), $.babel() ), $.uglify({ mangle: { ...
import gulpLoadPlugins from 'gulp-load-plugins'; import pkg from './package.json'; const $ = gulpLoadPlugins(); export default { 'js': () => [ $.sourcemaps.init(), // Exclude files in `app/nobabel` $.if(file => !/^nobabel\//.test(file.relative), $.babel() ), $.uglify({ mangle: { ...
Disable inline JS minification because AAAARGH
Disable inline JS minification because AAAARGH
JavaScript
mit
surma/surma.github.io,surma/surma.github.io
javascript
## Code Before: import gulpLoadPlugins from 'gulp-load-plugins'; import pkg from './package.json'; const $ = gulpLoadPlugins(); export default { 'js': () => [ $.sourcemaps.init(), // Exclude files in `app/nobabel` $.if(file => !/^nobabel\//.test(file.relative), $.babel() ), $.uglify({ ...
b57b2d5b3cba677275ca6b2e1b0d19503ddc474b
_posts/2014-09-30-mt-i-am-coming.md
_posts/2014-09-30-mt-i-am-coming.md
--- layout: post category: work tagline: "每次结束都是新的开始" tags: [meituan] --- {% include JB/setup %} mt, I am coming! 14.9.28
--- layout: post category: work tagline: "end is start" tags: [meituan] --- {% include JB/setup %} mt, I am coming! 14.9.28
Modify tagline in first post
Modify tagline in first post
Markdown
mit
younghz/younghz.github.io,younghz/younghz.github.io,younghz/younghz.github.io
markdown
## Code Before: --- layout: post category: work tagline: "每次结束都是新的开始" tags: [meituan] --- {% include JB/setup %} mt, I am coming! 14.9.28 ## Instruction: Modify tagline in first post ## Code After: --- layout: post category: work tagline: "end is start" tags: [meituan] --- {% include JB/setup %}...
3a461b9528d644721e23c1485a92908808b563ea
src/gamelib/sprite/SpriteData.cpp
src/gamelib/sprite/SpriteData.cpp
namespace gamelib { AnimationData::AnimationData() : length(1), speed(0), offset(0) { } void AnimationData::update(float fps) { offset = std::fmod(offset + speed / fps, length); } sf::IntRect AnimationData::getRect(int texw, int texh) const { int x ...
namespace gamelib { AnimationData::AnimationData() : length(1), speed(0), offset(0) { } void AnimationData::update(float fps) { if (length > 1 && speed != 0) offset = std::fmod(offset + speed / fps, length); } sf::IntRect AnimationData::getRect(int ...
Fix bug causing a wrong frame index
Fix bug causing a wrong frame index Using this formula to calculate the image index offset = std::fmod(offset + speed / fps, length), a length of 1 or speed = 0 and an offset > 0 would result in a wrong index.
C++
mit
mall0c/TileEngine,mall0c/GameLib
c++
## Code Before: namespace gamelib { AnimationData::AnimationData() : length(1), speed(0), offset(0) { } void AnimationData::update(float fps) { offset = std::fmod(offset + speed / fps, length); } sf::IntRect AnimationData::getRect(int texw, int texh) const ...
f3dce28258e561da7f178e37291793e32b5a6281
import_config.rb
import_config.rb
def import_config config_file_lines = File.readlines "./moscow_mule.config" config_file_lines.each do |config_line| if config_line.index("location_features") @location_features = config_line.sub("location_features=", "") puts @location_features end if config_line.index("language") @language = config_li...
def import_config config_file_lines = File.readlines "./moscow_mule.config" config_file_lines.each do |config_line| if config_line.index("location_features") @location_features = config_line.sub("location_features=", "") puts @location_features end if config_line.index("language") @language = config_li...
Change port also in app.js
Change port also in app.js
Ruby
mit
tobysoby/moscow_mule,tobysoby/moscow_mule,tobysoby/moscow_mule
ruby
## Code Before: def import_config config_file_lines = File.readlines "./moscow_mule.config" config_file_lines.each do |config_line| if config_line.index("location_features") @location_features = config_line.sub("location_features=", "") puts @location_features end if config_line.index("language") @lang...
8acad77da26c64accf3952a42797a36147cecb79
ecosystem/platform/server/app/views/layouts/_application.html.erb
ecosystem/platform/server/app/views/layouts/_application.html.erb
<!DOCTYPE html> <html> <head> <title>Community Platform</title> <meta name="viewport" content="width=device-width,initial-scale=1"> <%= csrf_meta_tags %> <%= csp_meta_tag %> <%= favicon_link_tag asset_path('favicon.ico') %> <link rel="stylesheet" href="https://use.typekit.net/<%= ENV.fetch('...
<!DOCTYPE html> <html> <head> <title>Community Platform</title> <meta name="viewport" content="width=device-width,initial-scale=1"> <%= csrf_meta_tags %> <%= csp_meta_tag %> <%= favicon_link_tag asset_path('favicon.ico') %> <link rel="stylesheet" href="https://use.typekit.net/<%= ENV.fetch('...
Disable turbolinks globally to fix recaptcha issues.
Disable turbolinks globally to fix recaptcha issues. Closes: #990
HTML+ERB
apache-2.0
aptos-labs/aptos-core,aptos-labs/aptos-core,aptos-labs/aptos-core,aptos-labs/aptos-core,aptos-labs/aptos-core,aptos-labs/aptos-core,aptos-labs/aptos-core
html+erb
## Code Before: <!DOCTYPE html> <html> <head> <title>Community Platform</title> <meta name="viewport" content="width=device-width,initial-scale=1"> <%= csrf_meta_tags %> <%= csp_meta_tag %> <%= favicon_link_tag asset_path('favicon.ico') %> <link rel="stylesheet" href="https://use.typekit.net...
fe537e20de6c7d746a3119ed73b5d18d39b5dafb
make/fencebuild.mk
make/fencebuild.mk
ifndef FENCEAGENTSLIB SBINDIRT=$(TARGET) endif all: $(TARGET) include $(OBJDIR)/make/clean.mk include $(OBJDIR)/make/install.mk include $(OBJDIR)/make/uninstall.mk $(TARGET): ${FENCEPARSE} \ ${SRCDIR}/config/copyright.cf REDHAT_COPYRIGHT \ ${RELEASE_VERSION} \ $(S) $@ | \ sed \ -e 's#@FENCEAGENTSLIBDIR@#${...
ifndef FENCEAGENTSLIB ifdef TARGET SBINDIRT=$(TARGET) endif endif all: $(TARGET) include $(OBJDIR)/make/clean.mk include $(OBJDIR)/make/install.mk include $(OBJDIR)/make/uninstall.mk $(TARGET): ${FENCEPARSE} \ ${SRCDIR}/config/copyright.cf REDHAT_COPYRIGHT \ ${RELEASE_VERSION} \ $(S) $@ | \ sed \ -e 's#@FE...
Fix fence lib install target
[BUILD] Fix fence lib install target Signed-off-by: Fabio M. Di Nitto <510df3d038b805d3c95a0d349043a42f16d04605@redhat.com>
Makefile
lgpl-2.1
asp24/resource-agents,stevenraspudic/resource-agents,asp24/resource-agents,stevenraspudic/resource-agents,stevenraspudic/resource-agents,asp24/resource-agents
makefile
## Code Before: ifndef FENCEAGENTSLIB SBINDIRT=$(TARGET) endif all: $(TARGET) include $(OBJDIR)/make/clean.mk include $(OBJDIR)/make/install.mk include $(OBJDIR)/make/uninstall.mk $(TARGET): ${FENCEPARSE} \ ${SRCDIR}/config/copyright.cf REDHAT_COPYRIGHT \ ${RELEASE_VERSION} \ $(S) $@ | \ sed \ -e 's#@FENCE...
324a067727488e82d26311f9b35c35759d7e24fe
app/controllers/players_controller.rb
app/controllers/players_controller.rb
class PlayersController < ApplicationController def index @players = Player.all end end
class PlayersController < ApplicationController def authorize_user if user_signed_in? user = current_user player = find(params[:id]) club = player.club head :unauthorized unless ClubAdmin.exists?(club_id: club.id, user_id: user.id) else head :unauthorized end end def in...
Add authorization helper function to Player model
Add authorization helper function to Player model
Ruby
mit
morynicz/Ippon,morynicz/tournament-service,morynicz/tournament-service,morynicz/Ippon,morynicz/tournament-service,morynicz/Ippon
ruby
## Code Before: class PlayersController < ApplicationController def index @players = Player.all end end ## Instruction: Add authorization helper function to Player model ## Code After: class PlayersController < ApplicationController def authorize_user if user_signed_in? user = current_user ...
277928ee14de4ec34730356c695b0a5a0559507e
roles/zuul/files/jobs/lore.yaml
roles/zuul/files/jobs/lore.yaml
- job: name: lore node: 'ubuntu-xenial' builders: - zuul-git-prep - shell: | #!/bin/bash -ex sudo apt-get install -yqq curl curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.0/install.sh | bash source ~/.bashrc nvm install stable &...
- job: name: lore node: 'ubuntu-xenial' builders: - zuul-git-prep - shell: | #!/bin/bash -ex sudo apt-get install -qq nodejs npm ./tests/markdownlint-cli-test.sh ./tests/textlint-test.sh ./tests/shellcheck-test.sh ./tests/signed-off-by...
Install node/npm via apt rather than nvm
Install node/npm via apt rather than nvm nvm isn't getting us anything as far as pinning goes and is proving finicky. Signed-off-by: Cullen Taylor <0a4f58109a9f9b7b2781cb48fa62bfe7918cb3d0@outlook.com>
YAML
apache-2.0
jamielennox/hoist,SpamapS/hoist,jamielennox/hoist,BonnyCI/hoist,BonnyCI/hoist,SpamapS/hoist
yaml
## Code Before: - job: name: lore node: 'ubuntu-xenial' builders: - zuul-git-prep - shell: | #!/bin/bash -ex sudo apt-get install -yqq curl curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.0/install.sh | bash source ~/.bashrc nvm ...
c441d762b7640e13bc0286107e6d50ad9205a684
env/env.sh
env/env.sh
export EDITOR="emacs -nw" export VISUAL="emacs -nw" ## Bind the key to Vi for Zsh instead of Emacs! ## http://www.cs.elte.hu/zsh-manual/zsh_16.html ## http://dougblack.io/words/zsh-vi-mode.html ## http://zsh.sourceforge.net/Intro/intro_10.html #export EDITOR=vim #export VISUAL=vim #bindkey -v #bindkey '^P' up-histor...
export EDITOR="emacsclient" export VISUAL="emacsclient -nw" #export VISUAL="emacs -nw" #export VISUAL="emacs -nw" ## --------------------- ## ## Bind the key to Vi for Zsh instead of Emacs! ## http://www.cs.elte.hu/zsh-manual/zsh_16.html ## http://dougblack.io/words/zsh-vi-mode.html ## http://zsh.sourceforge.net/Intr...
Update EDITOR and VISUAL command
Update EDITOR and VISUAL command
Shell
mit
agilecreativity/dotfiles,agilecreativity/dotfiles,agilecreativity/dotfiles
shell
## Code Before: export EDITOR="emacs -nw" export VISUAL="emacs -nw" ## Bind the key to Vi for Zsh instead of Emacs! ## http://www.cs.elte.hu/zsh-manual/zsh_16.html ## http://dougblack.io/words/zsh-vi-mode.html ## http://zsh.sourceforge.net/Intro/intro_10.html #export EDITOR=vim #export VISUAL=vim #bindkey -v #bindke...
46b5c5d38645268e223ee2cc3fd82dc21044a4c0
lib/interrogative.rb
lib/interrogative.rb
require 'interrogative/question' # A mixin for curious classes. module Interrogative # Get the array of all noted questions. # # @return [Array<Question>] array of all noted questions. def questions; @_questions; end # Give instructions for dealing with new questions. # # @param [Proc] postprocessor a b...
require 'interrogative/question' # A mixin for curious classes. module Interrogative # Get the array of all noted questions. # # @return [Array<Question>] array of all noted questions. def questions; @_questions; end # Get the array of question postprocessors. # # @return [Array<Proc>] array of all regi...
Add an accessor for postprocessors (for inheritance).
Add an accessor for postprocessors (for inheritance).
Ruby
mit
alloy-d/interrogative
ruby
## Code Before: require 'interrogative/question' # A mixin for curious classes. module Interrogative # Get the array of all noted questions. # # @return [Array<Question>] array of all noted questions. def questions; @_questions; end # Give instructions for dealing with new questions. # # @param [Proc] p...
e7fc6b7153287fa1095f6393017edbf368a3d336
src/Nmc/DynamicPageBundle/Tests/Controller/DefaultControllerTest.php
src/Nmc/DynamicPageBundle/Tests/Controller/DefaultControllerTest.php
<?php namespace Nmc\DynamicPageBundle\Tests\Controller; use Symfony\Bundle\FrameworkBundle\Test\WebTestCase; class DefaultControllerTest extends WebTestCase { public function testIndex() { $client = static::createClient(array(),array('HTTP_HOST' => 'fmip.git')); $crawler = $client->request('...
<?php namespace Nmc\DynamicPageBundle\Tests\Controller; use Liip\FunctionalTestBundle\Test\WebTestCase; class DefaultControllerTest extends WebTestCase { public function setUp() { $classes = array( 'Nmc\DynamicPageBundle\DataFixtures\ORM\LoadWebsiteData', ); $this->loadFi...
Load fixture in test setUp
Load fixture in test setUp
PHP
mit
Nikoms/fmip,Nikoms/fmip
php
## Code Before: <?php namespace Nmc\DynamicPageBundle\Tests\Controller; use Symfony\Bundle\FrameworkBundle\Test\WebTestCase; class DefaultControllerTest extends WebTestCase { public function testIndex() { $client = static::createClient(array(),array('HTTP_HOST' => 'fmip.git')); $crawler = $c...
2805caeb0d0f45b09e83d9b8980232d9e749ab05
magnon-icon/icon-set.html
magnon-icon/icon-set.html
<link rel="import" href="../element.html"> <template id="magnon-icon-set"> <slot></slot> </template> <script> const sets = []; /* globals MagnonElement */ class MagnonIconSet extends MagnonElement { static get name() { return "magnon-icon-set"; } static getSet(nam...
<link rel="import" href="../element.html"> <template id="magnon-icon-set"> <slot></slot> </template> <script> const sets = []; /* globals MagnonElement */ class MagnonIconSet extends MagnonElement { static get name() { return "magnon-icon-set"; } static getSet(nam...
Fix sets sometimes not getting set name set
Fix sets sometimes not getting set name set
HTML
mit
theMagnon/magnon-components,theMagnon/magnon-components
html
## Code Before: <link rel="import" href="../element.html"> <template id="magnon-icon-set"> <slot></slot> </template> <script> const sets = []; /* globals MagnonElement */ class MagnonIconSet extends MagnonElement { static get name() { return "magnon-icon-set"; } s...
b74f71fbed0978d6ccb102efa97128b6a5c6ab47
test/controllers/sessions_controller_test.rb
test/controllers/sessions_controller_test.rb
require 'test_helper' class SessionsControllerTest < ActionController::TestCase tests Devise::SessionsController include Devise::TestHelpers test "#create doesn't raise exception after Warden authentication fails when TestHelpers included" do request.env["devise.mapping"] = Devise.mappings[:user] post :...
require 'test_helper' class SessionsControllerTest < ActionController::TestCase tests Devise::SessionsController include Devise::TestHelpers test "#create doesn't raise exception after Warden authentication fails when TestHelpers included" do request.env["devise.mapping"] = Devise.mappings[:user] post :...
Fix build so it works with Rails 3.1.
Fix build so it works with Rails 3.1.
Ruby
mit
bolshakov/devise,thejourneydude/devise,gauravtiwari/devise,shtzr840329/devise,cefigueiredo/devise,cefigueiredo/devise,chrisnordqvist/devise,jnappy/devise,silvaelton/devise,evopark/devise,Bazay/devise,vincentwoo/devise,yui-knk/devise,fjg/devise,thiagorp/devise,kewaunited/devise,onursarikaya/devise,fjg/devise,MAubreyK/de...
ruby
## Code Before: require 'test_helper' class SessionsControllerTest < ActionController::TestCase tests Devise::SessionsController include Devise::TestHelpers test "#create doesn't raise exception after Warden authentication fails when TestHelpers included" do request.env["devise.mapping"] = Devise.mappings[:...
808c3ba9fbe8bf871ad20148f6190a9979c3ec8f
install.sh
install.sh
echo -n "Do you want to update your system (y/n)[y]? " read answer if echo "$answer" | grep -iq "^n" ;then echo No else sudo apt-get update sudo apt-get -y upgrade echo "# => SYSTEM UPDATED SUCCESSFULLY" fi
echo -n "Do you want to update your system (y/n)[y]? " read answer if echo "$answer" | grep -iq "^n" ;then echo No else sudo apt-get update sudo apt-get -y upgrade echo "# => SYSTEM UPDATED SUCCESSFULLY" fi # Ask the user for Firewall Rules Cleanup echo -n "Do you want to cleanup the current firewall r...
Add Cleanup Firewall Rules Feature
Add Cleanup Firewall Rules Feature
Shell
mit
jimbeaudoin/debian-firewall
shell
## Code Before: echo -n "Do you want to update your system (y/n)[y]? " read answer if echo "$answer" | grep -iq "^n" ;then echo No else sudo apt-get update sudo apt-get -y upgrade echo "# => SYSTEM UPDATED SUCCESSFULLY" fi ## Instruction: Add Cleanup Firewall Rules Feature ## Code After: echo -n "Do ...
6446f823c180647871bad801e592cede1eaa5826
client/v1/feeds/account-followers.js
client/v1/feeds/account-followers.js
var _ = require('underscore'); var util = require('util'); var FeedBase = require('./feed-base'); function AccountFollowersFeed(session, accountId, limit) { this.accountId = accountId; this.limit = limit || 7500; // Should be enought for 7500 records this.timeout = 10 * 60 * 1000; FeedBase.apply(th...
var _ = require('underscore'); var util = require('util'); var FeedBase = require('./feed-base'); function AccountFollowersFeed(session, accountId, limit) { this.accountId = accountId; this.limit = limit || Infinity; this.timeout = 10 * 60 * 1000; FeedBase.apply(this, arguments); } util.inherits(Accoun...
Remove unobvious default limit for followers. Now its Infinity by default.
Remove unobvious default limit for followers. Now its Infinity by default.
JavaScript
mit
pablomatiasgomez/instagram-private-api,pablomatiasgomez/instagram-private-api,gitadept/instagram-private-api,huttarichard/instagram-private-api
javascript
## Code Before: var _ = require('underscore'); var util = require('util'); var FeedBase = require('./feed-base'); function AccountFollowersFeed(session, accountId, limit) { this.accountId = accountId; this.limit = limit || 7500; // Should be enought for 7500 records this.timeout = 10 * 60 * 1000; F...
9ead53346a9f5bb9d28c50c8b67e9643c7d5489f
tests/common_tests.yml
tests/common_tests.yml
--- # Common tests between local Vagrant and Travis - name : Jenkins repository key should exists become : True apt_key : url : "{{ jenkins_repository_key_url }}" register : jenkins_apt_key_test when : - ansible_os_family == "Debian" - fail : msg : "Key import task change if we import twice" wh...
--- # Common tests between local Vagrant and Travis - name : Jenkins repository key should exists become : True apt_key : url : "{{ jenkins_repository_key_url }}" register : jenkins_apt_key_test when : - ansible_os_family == "Debian" - name : Fail if Jenkins repository key reimport change fail : ...
Add a name for fail task into common test
Add a name for fail task into common test
YAML
mit
infOpen/ansible-role-jenkins
yaml
## Code Before: --- # Common tests between local Vagrant and Travis - name : Jenkins repository key should exists become : True apt_key : url : "{{ jenkins_repository_key_url }}" register : jenkins_apt_key_test when : - ansible_os_family == "Debian" - fail : msg : "Key import task change if we im...
2004a168dc481a9b3a2986741507e953efa7afab
bindings/uwp/uwp-binding/Microsoft.Azure.IoT.Gateway/GatewayUwp.h
bindings/uwp/uwp-binding/Microsoft.Azure.IoT.Gateway/GatewayUwp.h
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. #pragma once #include "pch.h" #include "..\..\..\..\core\inc\gateway_ll.h" #include "IGatewayModule.h" namespace Microsoft { namespace Azure { namespace IoT { namesp...
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. #pragma once #include "pch.h" #include "gateway.h" #include "IGatewayModule.h" namespace Microsoft { namespace Azure { namespace IoT { namespace Gateway { interfac...
Fix gateway header path in UWP
Fix gateway header path in UWP
C
mit
yaweiw/azure-iot-gateway-sdk,yaweiw/azure-iot-gateway-sdk,yaweiw/azure-iot-gateway-sdk,yaweiw/azure-iot-gateway-sdk,yaweiw/azure-iot-gateway-sdk
c
## Code Before: // Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. #pragma once #include "pch.h" #include "..\..\..\..\core\inc\gateway_ll.h" #include "IGatewayModule.h" namespace Microsoft { namespace Azure { namesp...
8f30a7d3794891373a1f707bdf6afa083717dfc0
ggplot/scales/scale_identity.py
ggplot/scales/scale_identity.py
from __future__ import absolute_import, division, print_function from ..utils import identity, alias from .scale import scale_discrete, scale_continuous class scale_color_identity(scale_discrete): aesthetics = ['color'] palette = staticmethod(identity) class scale_fill_identity(scale_color_identity): a...
from __future__ import absolute_import, division, print_function from ..utils import identity, alias from .scale import scale_discrete, scale_continuous class MapTrainMixin(object): """ Override map and train methods """ def map(self, x): return x def train(self, x): # do nothing...
Fix identity scales, override map & train methods
Fix identity scales, override map & train methods
Python
mit
has2k1/plotnine,has2k1/plotnine
python
## Code Before: from __future__ import absolute_import, division, print_function from ..utils import identity, alias from .scale import scale_discrete, scale_continuous class scale_color_identity(scale_discrete): aesthetics = ['color'] palette = staticmethod(identity) class scale_fill_identity(scale_color_...
895d3c50e0cda6c36a0d6bf4162164d35a925fc8
distro/quarkus/openshift/apicurio-image-streams-template.yml
distro/quarkus/openshift/apicurio-image-streams-template.yml
apiVersion: v1 kind: Template metadata: name: apicurio-studio-image-streams-template objects: # Image Streams for the Apicurio components - apiVersion: v1 kind: ImageStream metadata: name: auth spec: tags: - name: latest-release from: kind: DockerImage ...
apiVersion: v1 kind: Template metadata: name: apicurio-studio-image-streams-template objects: # Image Streams for the Apicurio components - apiVersion: v1 kind: ImageStream metadata: name: auth spec: tags: - name: latest-release from: kind: DockerImage ...
Change images to apicurio defaults
Change images to apicurio defaults
YAML
apache-2.0
Apicurio/apicurio-studio,Apicurio/apicurio-studio,Apicurio/apicurio-studio,apiman/apiman-studio,Apicurio/apicurio-studio,apiman/apiman-studio,apiman/apiman-studio,Apicurio/apicurio-studio,apiman/apiman-studio,apiman/apiman-studio
yaml
## Code Before: apiVersion: v1 kind: Template metadata: name: apicurio-studio-image-streams-template objects: # Image Streams for the Apicurio components - apiVersion: v1 kind: ImageStream metadata: name: auth spec: tags: - name: latest-release from: kind: Doc...
9c3ed6a4b157bdccf1a83f4fc7fa2eccaf2539c5
src/etcdc_sup.erl
src/etcdc_sup.erl
%% Top supervisor for etcdc %% %% ---------------------------------------------------------------------------- -module(etcdc_sup). -copyright("Christoffer Vikström <chvi77@gmail.com>"). -export([start_link/0]). -export([init/1]). -behaviour(supervisor). %% --------------------------------------------------------...
%% Top supervisor for etcdc %% %% ---------------------------------------------------------------------------- -module(etcdc_sup). -copyright("Christoffer Vikström <chvi77@gmail.com>"). -export([start_link/0]). -export([init/1]). -behaviour(supervisor). %% --------------------------------------------------------...
Fix startup bug (trying to start etcdc_stream_sup)
Fix startup bug (trying to start etcdc_stream_sup)
Erlang
apache-2.0
redink/etcdc
erlang
## Code Before: %% Top supervisor for etcdc %% %% ---------------------------------------------------------------------------- -module(etcdc_sup). -copyright("Christoffer Vikström <chvi77@gmail.com>"). -export([start_link/0]). -export([init/1]). -behaviour(supervisor). %% ----------------------------------------...
36f47a5ca99b8457834236c659bec732edde5a11
docs/installation.md
docs/installation.md
phy works better on computers with sufficient RAM, a recent graphics card, and an SSD to store data files. ## Dependencies Main dependencies are NumPy, SciPy, PyQt5, pyopengl, joblib. The full list of dependencies is available in the `environment.yml` file. ## Upgrading from phy 1 to phy 2 * Never install phy 1 a...
phy works better on computers with sufficient RAM, a recent graphics card, and an SSD to store data files. ## Dependencies Main dependencies are NumPy, SciPy, PyQt5, pyopengl, joblib. The full list of dependencies is available in the `environment.yml` file. ## Upgrading from phy 1 to phy 2 * Never install phy 1 a...
Add note in the documentation about how to reset the GUI state
Add note in the documentation about how to reset the GUI state
Markdown
bsd-3-clause
kwikteam/phy,kwikteam/phy,kwikteam/phy
markdown
## Code Before: phy works better on computers with sufficient RAM, a recent graphics card, and an SSD to store data files. ## Dependencies Main dependencies are NumPy, SciPy, PyQt5, pyopengl, joblib. The full list of dependencies is available in the `environment.yml` file. ## Upgrading from phy 1 to phy 2 * Never...
74884f27ecd2b32c0ac9cddf7b78c42857768832
spec/state_machine-mongoid_spec.rb
spec/state_machine-mongoid_spec.rb
require File.expand_path(File.dirname(__FILE__) + '/spec_helper') describe "StateMachineMongoid integration" do before(:all) do Mongoid.configure do |config| name = "state_machine-mongoid" host = "localhost" config.allow_dynamic_fields = false config.master = Mongo::Connection.new.db(name...
require File.expand_path(File.dirname(__FILE__) + '/spec_helper') describe "StateMachineMongoid integration" do before(:all) do Mongoid.configure do |config| name = "state_machine-mongoid" host = "localhost" config.allow_dynamic_fields = false config.master = Mongo::Connection.new.db(name...
Clear up the specs a tiny bit
Clear up the specs a tiny bit
Ruby
mit
martinciu/state_machine-mongoid
ruby
## Code Before: require File.expand_path(File.dirname(__FILE__) + '/spec_helper') describe "StateMachineMongoid integration" do before(:all) do Mongoid.configure do |config| name = "state_machine-mongoid" host = "localhost" config.allow_dynamic_fields = false config.master = Mongo::Connec...
9899bcb788e171ae90f0fbf480c6b0403935236b
README.md
README.md
RetrucLabs/charades-movie ============== Charades version for movies microservice ## Basic Usage - use `npm install` to download dependencies - use `npm test` to run unit and E2E tests - use `npm start` to run the service Check `package.json` to see available scripts and build targets.
[![Build Status](https://travis-ci.org/RetrucLabs/charades-movie.svg?branch=master)](https://travis-ci.org/RetrucLabs/charades-movie) RetrucLabs/charades-movie ============== Charades version for movies microservice ## Basic Usage - use `npm install` to download dependencies - use `npm test` to run unit and E2E test...
Include Travis badge in Readme
Include Travis badge in Readme
Markdown
apache-2.0
RetrucLabs/charades-movie
markdown
## Code Before: RetrucLabs/charades-movie ============== Charades version for movies microservice ## Basic Usage - use `npm install` to download dependencies - use `npm test` to run unit and E2E tests - use `npm start` to run the service Check `package.json` to see available scripts and build targets. ## Instructio...
56c483cb4c490439af13db95c151f417bfd20c59
junit5-parallel-execution/src/test/resources/junit-platform.properties
junit5-parallel-execution/src/test/resources/junit-platform.properties
junit.jupiter.execution.parallel.enabled = true junit.jupiter.execution.parallel.mode.default = same_thread junit.jupiter.execution.parallel.mode.classes.default = concurrent # junit.jupiter.execution.parallel.config.strategy = fixed # junit.jupiter.execution.parallel.config.fixed.parallelism = 3
junit.jupiter.execution.parallel.enabled = true junit.jupiter.execution.parallel.mode.default = concurrent junit.jupiter.execution.parallel.mode.classes.default = same_thread # junit.jupiter.execution.parallel.config.strategy = fixed # junit.jupiter.execution.parallel.config.fixed.parallelism = 3
Change default configuration for concurrent tests in junit5-parallel-execution project
Change default configuration for concurrent tests in junit5-parallel-execution project
INI
apache-2.0
bonigarcia/mastering-junit5,bonigarcia/mastering-junit5
ini
## Code Before: junit.jupiter.execution.parallel.enabled = true junit.jupiter.execution.parallel.mode.default = same_thread junit.jupiter.execution.parallel.mode.classes.default = concurrent # junit.jupiter.execution.parallel.config.strategy = fixed # junit.jupiter.execution.parallel.config.fixed.parallelism = 3 ## In...
936bdadb9e949d29a7742b088e0279680afa6c4a
copy_from_find_in_files_command.py
copy_from_find_in_files_command.py
import sublime import sublime_plugin import re class CopyFromFindInFilesCommand(sublime_plugin.TextCommand): def run(self, edit, force=False): self.view.run_command('copy') if not self.in_find_results_view() and not force: return clipboard_contents = sublime.get_clipboard() ...
import sublime import sublime_plugin import re class CopyFromFindInFilesCommand(sublime_plugin.TextCommand): def run(self, edit, force=False): self.view.run_command('copy') if not self.in_find_results_view() and not force: return clipboard_contents = sublime.get_clipboard() ...
Make the regex work on Python2.x
Make the regex work on Python2.x
Python
mit
kema221/sublime-copy-from-find-results,NicoSantangelo/sublime-copy-from-find-results,kema221/sublime-copy-from-find-results
python
## Code Before: import sublime import sublime_plugin import re class CopyFromFindInFilesCommand(sublime_plugin.TextCommand): def run(self, edit, force=False): self.view.run_command('copy') if not self.in_find_results_view() and not force: return clipboard_contents = sublime.g...
5f27699a969fe33461969ad118051ec29e07c205
.travis.yml
.travis.yml
language: rust matrix: include: - env: CC_X=gcc-4.8 CXX_X=g++-4.8 addons: apt: packages: - gcc-4.8 allow_failures: - rust: nightly
language: rust matrix: include: - env: CC_X=gcc-4.8 CXX_X=g++-4.8 os: linux rust: stable addons: apt: packages: - gcc-4.8 allow_failures: - rust: nightly
Add os and rust setting
Add os and rust setting
YAML
apache-2.0
klingtnet/rsoundio
yaml
## Code Before: language: rust matrix: include: - env: CC_X=gcc-4.8 CXX_X=g++-4.8 addons: apt: packages: - gcc-4.8 allow_failures: - rust: nightly ## Instruction: Add os and rust setting ## Code After: language: rust matrix: inc...
abcd4898d92ea4fa90042398c9029a1cf4098e69
extras/dockerfiles/ubuntu-20.04_install.sh
extras/dockerfiles/ubuntu-20.04_install.sh
set -e cat <<EOF >/etc/apt/sources.list.d/ubuntu-20.04_custom.list # i386 not available deb http://apt.llvm.org/focal/ llvm-toolchain-focal main deb-src http://apt.llvm.org/focal/ llvm-toolchain-focal main deb http://apt.llvm.org/focal/ llvm-toolchain-focal-9 main deb-src http://apt.llvm.org/focal/ llvm-toolchain-foc...
set -e cat <<EOF >/etc/apt/sources.list.d/ubuntu-20.04_custom.list deb http://apt.llvm.org/focal/ llvm-toolchain-focal-9 main deb-src http://apt.llvm.org/focal/ llvm-toolchain-focal-9 main deb http://apt.llvm.org/focal/ llvm-toolchain-focal-10 main deb-src http://apt.llvm.org/focal/ llvm-toolchain-focal-10 main EOF ...
Fix dockerfiles for CI builds so that they only install stable LLVM packages. Before they were installing an unstable clang-tidy binary that reports many spurious warnings.
Fix dockerfiles for CI builds so that they only install stable LLVM packages. Before they were installing an unstable clang-tidy binary that reports many spurious warnings.
Shell
apache-2.0
google/fruit,google/fruit,google/fruit
shell
## Code Before: set -e cat <<EOF >/etc/apt/sources.list.d/ubuntu-20.04_custom.list # i386 not available deb http://apt.llvm.org/focal/ llvm-toolchain-focal main deb-src http://apt.llvm.org/focal/ llvm-toolchain-focal main deb http://apt.llvm.org/focal/ llvm-toolchain-focal-9 main deb-src http://apt.llvm.org/focal/ ll...
8a6edd8e129efe29fe63ba0ce0d888355e1bc8c5
src/HaskellWorks/Data/TreeCursor.hs
src/HaskellWorks/Data/TreeCursor.hs
-- | -- Copyright: 2016 John Ky -- License: MIT -- -- Tree Cursor module HaskellWorks.Data.TreeCursor ( TreeCursor(..) ) where import HaskellWorks.Data.Positioning class TreeCursor k where firstChild :: k -> k nextSibling :: k -> k parent :: k -> k depth :: k -> Count subtreeSize :: k -> C...
-- | -- Copyright: 2016 John Ky -- License: MIT -- -- Tree Cursor module HaskellWorks.Data.TreeCursor ( TreeCursor(..) ) where import HaskellWorks.Data.Positioning class TreeCursor k where firstChild :: k -> Maybe k nextSibling :: k -> Maybe k parent :: k -> Maybe k depth :: k -> Count sub...
Change return type of firstChild, nestSibling, and parent functions to be Maybe k
Change return type of firstChild, nestSibling, and parent functions to be Maybe k
Haskell
bsd-3-clause
haskell-works/hw-prim
haskell
## Code Before: -- | -- Copyright: 2016 John Ky -- License: MIT -- -- Tree Cursor module HaskellWorks.Data.TreeCursor ( TreeCursor(..) ) where import HaskellWorks.Data.Positioning class TreeCursor k where firstChild :: k -> k nextSibling :: k -> k parent :: k -> k depth :: k -> Count subtr...
7365e48ad1c9422127ed6edae9b5bba8412bd109
demos/simple/index.html
demos/simple/index.html
<!DOCTYPE html> <html> <head> <script type="text/javascript" src="../../src/coquette-min.js"></script> <script type="text/javascript" src="game.js"></script> </head> <body><canvas id="canvas"></canvas></body> </html>
<!DOCTYPE html> <html> <head> <script type="text/javascript" src="../../src/coquette-min.js"></script> <script type="text/javascript" src="game.js"></script> </head> <body><canvas id="canvas"></canvas></body> <div>Press the up arrow key.</div> </html>
Add instructions for simple game.
Add instructions for simple game.
HTML
mit
maryrosecook/coquette,matthewsimo/coquette,matthewsimo/coquette,maryrosecook/coquette,cdosborn/coquette,cdosborn/coquette
html
## Code Before: <!DOCTYPE html> <html> <head> <script type="text/javascript" src="../../src/coquette-min.js"></script> <script type="text/javascript" src="game.js"></script> </head> <body><canvas id="canvas"></canvas></body> </html> ## Instruction: Add instructions for simple game. ## Code After: <!DOCTY...
a60baeb65cf74ec0720a795da46d44b988f3b76d
spec/factories/line_items.rb
spec/factories/line_items.rb
FactoryGirl.define do factory :line_item do factory :banana do times "1" quantity "x" price "0.99" title "Banana" description "Most delicious banana of all time!" end factory :vat do times "1" quantity "%" price "8" code "vat:full" title "VAT" ...
FactoryGirl.define do factory :line_item do factory :banana do times "1" quantity "x" price "0.99" title "Banana" description "Most delicious banana of all time!" invoice credit_account debit_account end factory :vat do times "1" quantity "%" ...
Add associations to banana line item factory.
Add associations to banana line item factory.
Ruby
agpl-3.0
huerlisi/bookyt,wtag/bookyt,xuewenfei/bookyt,hauledev/bookyt,hauledev/bookyt,huerlisi/bookyt,silvermind/bookyt,gaapt/bookyt,gaapt/bookyt,wtag/bookyt,xuewenfei/bookyt,huerlisi/bookyt,wtag/bookyt,xuewenfei/bookyt,hauledev/bookyt,gaapt/bookyt,hauledev/bookyt,silvermind/bookyt,gaapt/bookyt,silvermind/bookyt,silvermind/book...
ruby
## Code Before: FactoryGirl.define do factory :line_item do factory :banana do times "1" quantity "x" price "0.99" title "Banana" description "Most delicious banana of all time!" end factory :vat do times "1" quantity "%" price "8" code "vat:full" ...
bb93190c1039a439a301798f19bac3c761cb1148
apps/openvpn.sh
apps/openvpn.sh
wget git.io/vpn --no-check-certificate -O openvpn-install.sh && bash openvpn-install.sh whiptail --msgbox "OpenVPN successfully installed! You should need to open port TCP 443, TCP 943, UDP 1194 Thanks to https://github.com/Nyr/openvpn-install" 12 64
whiptail --msgbox "You should need to open port TCP 443, TCP 943, UDP 1194 OpenVPN installation thanks to https://github.com/Nyr/openvpn-install" 12 64 wget git.io/vpn --no-check-certificate -O openvpn-install.sh && bash openvpn-install.sh whiptail --yesno "Would you like to send the .ovpn file via mail which inclu...
Add .ovpn file mail sending feature
Add .ovpn file mail sending feature
Shell
mit
j8r/DPlatform,DFabric/DPlatform-ShellCore
shell
## Code Before: wget git.io/vpn --no-check-certificate -O openvpn-install.sh && bash openvpn-install.sh whiptail --msgbox "OpenVPN successfully installed! You should need to open port TCP 443, TCP 943, UDP 1194 Thanks to https://github.com/Nyr/openvpn-install" 12 64 ## Instruction: Add .ovpn file mail sending fea...
354fb43cc95d68b06b85e8d1fa2426ca663ef8b9
common/__init__.py
common/__init__.py
VERSION = (0, 0, 0) __version__ = '.'.join(map(str, VERSION)) from django import template template.add_to_builtins('common.templatetags.common') template.add_to_builtins('common.templatetags.development')
VERSION = (0, 1, 0) __version__ = '.'.join(map(str, VERSION)) from django import template template.add_to_builtins('common.templatetags.common') template.add_to_builtins('common.templatetags.development') # Add db_name to options for use in model.Meta class import django.db.models.options as options options.DEFAULT_N...
Add db_name to options for use in model.Meta class
Add db_name to options for use in model.Meta class
Python
bsd-3-clause
baskoopmans/djcommon,baskoopmans/djcommon,baskoopmans/djcommon
python
## Code Before: VERSION = (0, 0, 0) __version__ = '.'.join(map(str, VERSION)) from django import template template.add_to_builtins('common.templatetags.common') template.add_to_builtins('common.templatetags.development') ## Instruction: Add db_name to options for use in model.Meta class ## Code After: VERSION = (0, ...
c08a803b21d5a14a9d1703015625071f125c5ade
.travis.yml
.travis.yml
language: python python: - "2.7" env: global: - DJANGO_SETTINGS_MODULE='localized_recurrence.tests.settings' matrix: - DJANGO=1.6.2 install: - pip install -q coverage pep8 pyflakes Django==$DJANGO - pip install -q -e . before_script: - pep8 localized_recurrence --max-line-length=120 --exclude=migrat...
language: python python: - "2.7" env: global: - DB=postgres matrix: - DJANGO=1.6.2 install: - pip install -q coverage pep8 pyflakes Django==$DJANGO - pip install -q -e . before_script: - pep8 localized_recurrence --max-line-length=120 --exclude=migrations - pyflakes localized_recurrence script: ...
Remove Settings env variable, added postgres env variable.
Remove Settings env variable, added postgres env variable.
YAML
mit
travistruett/django-localized-recurrence,ambitioninc/django-localized-recurrence,wesleykendall/django-localized-recurrence
yaml
## Code Before: language: python python: - "2.7" env: global: - DJANGO_SETTINGS_MODULE='localized_recurrence.tests.settings' matrix: - DJANGO=1.6.2 install: - pip install -q coverage pep8 pyflakes Django==$DJANGO - pip install -q -e . before_script: - pep8 localized_recurrence --max-line-length=120 ...
ff172bf63ea0f292c0da7fc4c0597370862faabf
static/archive.css
static/archive.css
* { font-family:sans-serif; } body { text-align:center; padding:1em; } .messages { width:100%; max-width:700px; text-align:left; display:inline-block; } .messages img { background-color:rgb(248,244,240); width:36px; height:36px; border-radius:0.2em; display:inline-block; ...
* { font-family: sans-serif; } body { text-align: center; padding: 1em; } .messages { width: 100%; max-width: 700px; text-align: left; display: inline-block; } .messages img { background-color: rgb(248, 244, 240); width: 36px; height: 36px; border-radius: 0.2em; displa...
Add float:left on img; reformat CSS
Add float:left on img; reformat CSS
CSS
mit
hfaran/slack-export-viewer,hfaran/slack-export-viewer
css
## Code Before: * { font-family:sans-serif; } body { text-align:center; padding:1em; } .messages { width:100%; max-width:700px; text-align:left; display:inline-block; } .messages img { background-color:rgb(248,244,240); width:36px; height:36px; border-radius:0.2em; displa...
8b2cc729fd93ac962d0cc399ec30a7a495ee329a
README.md
README.md
Pance_blog ===== The template files and content for my personal blog, written in Clojure and generated with Misaki. [www.pbarnett.me](http://www.pbarnett.me) Directions to run this blog ----- #### Get Misaki ```bash $ git clone git://github.com/liquidz/misaki.git $ cd misaki ``` #### Clone this blog repo ```bash $ ...
Pance_blog ===== The template files and content for my personal blog, written in Clojure and generated with Misaki. [www.pbarnett.me](http://www.pbarnett.me) Directions to run this blog ----- #### Get Misaki ```bash $ git clone git://github.com/liquidz/misaki.git $ cd misaki ``` #### Clone this blog repo ```bash $ ...
Update readme with instructions to run in windows
Update readme with instructions to run in windows
Markdown
apache-2.0
Pance/Pance_blog
markdown
## Code Before: Pance_blog ===== The template files and content for my personal blog, written in Clojure and generated with Misaki. [www.pbarnett.me](http://www.pbarnett.me) Directions to run this blog ----- #### Get Misaki ```bash $ git clone git://github.com/liquidz/misaki.git $ cd misaki ``` #### Clone this blog...
59d2c2c1895b68f7f8850986f5032a4df2c0d936
package.json
package.json
{ "name": "engine.io-parser", "description": "Parser for the client for the realtime Engine", "license": "MIT", "version": "2.0.1", "homepage": "https://github.com/Nibbler999/engine.io-parser", "devDependencies": { "expect.js": "0.3.1", "mocha": "3.2.0", "socket.io-browsers": "^1.0.0", "zuul...
{ "name": "engine.io-parser", "description": "Parser for the client for the realtime Engine", "license": "MIT", "version": "2.0.1", "homepage": "https://github.com/Nibbler999/engine.io-parser", "devDependencies": { "arraybuffer.slice": "0.0.6", "base64-arraybuffer": "0.1.5", "blob": "0.0.4", ...
Move browser-only deps to dev
Move browser-only deps to dev
JSON
mit
Nibbler999/engine.io-parser
json
## Code Before: { "name": "engine.io-parser", "description": "Parser for the client for the realtime Engine", "license": "MIT", "version": "2.0.1", "homepage": "https://github.com/Nibbler999/engine.io-parser", "devDependencies": { "expect.js": "0.3.1", "mocha": "3.2.0", "socket.io-browsers": "^1...