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
23d82c483c4e725eb8d65c529af558df88ca3f26
app/views/layouts/application.html.erb
app/views/layouts/application.html.erb
<!DOCTYPE html> <html> <head> <title><%= yield :title %> - GOV.UK</title> <%= javascript_include_tag "test-dependencies" if Rails.env.test? %> <%= javascript_include_tag "application" %> <%= stylesheet_link_tag "application" %> <%= csrf_meta_tags %> <%= yield :meta_tags %> <%= explore_menu_variant.analyti...
<!DOCTYPE html> <html> <head> <title><%= yield :title %> - GOV.UK</title> <%= javascript_include_tag "test-dependencies" if Rails.env.test? %> <%= javascript_include_tag "application" %> <%= stylesheet_link_tag "application" %> <%= csrf_meta_tags %> <%= yield :meta_tags %> <%= explore_menu_variant.analyti...
Remove conditional from A/B test meta tag
Remove conditional from A/B test meta tag
HTML+ERB
mit
alphagov/collections,alphagov/collections,alphagov/collections,alphagov/collections
html+erb
## Code Before: <!DOCTYPE html> <html> <head> <title><%= yield :title %> - GOV.UK</title> <%= javascript_include_tag "test-dependencies" if Rails.env.test? %> <%= javascript_include_tag "application" %> <%= stylesheet_link_tag "application" %> <%= csrf_meta_tags %> <%= yield :meta_tags %> <%= explore_menu...
9c39d365affed424f5e447cf51766894296c717c
tests/testcase.pri
tests/testcase.pri
CONFIG += testcase QT = core testlib dbus INCLUDEPATH += ../lib ../ LIBS += -L ../lib -lofono-qt target.path = $$[QT_INSTALL_PREFIX]/opt/tests/libofono-qt/ INSTALLS += target
CONFIG += testcase QT = core testlib dbus INCLUDEPATH += ../lib ../ QMAKE_LFLAGS += -L ../lib -lofono-qt target.path = $$[QT_INSTALL_PREFIX]/opt/tests/libofono-qt/ INSTALLS += target
Use QMAKE_LFLAGS to make sure we link to the libofono-qt under test
[libofono-qt] Use QMAKE_LFLAGS to make sure we link to the libofono-qt under test This prevents us from accidentally linking against a system copy. This won't protect us from running the tests against a system copy, for that we need LD_LIBRARY_PATH or rpath, but this will at least result in successful and proper buil...
QMake
lgpl-2.1
nemomobile-graveyard/libofono-qt,nemomobile-graveyard/libofono-qt,Kaffeine/libofono-qt,Kaffeine/libofono-qt
qmake
## Code Before: CONFIG += testcase QT = core testlib dbus INCLUDEPATH += ../lib ../ LIBS += -L ../lib -lofono-qt target.path = $$[QT_INSTALL_PREFIX]/opt/tests/libofono-qt/ INSTALLS += target ## Instruction: [libofono-qt] Use QMAKE_LFLAGS to make sure we link to the libofono-qt under test This prevents us from accide...
1de7799143765e89edf084b1d9d082749350aba1
lib/sequent/core/event_publisher.rb
lib/sequent/core/event_publisher.rb
module Sequent module Core class EventPublisher class PublishEventError < RuntimeError attr_reader :event_handler_class, :event def initialize(event_handler_class, event) @event_handler_class = event_handler_class @event = event end def message ...
module Sequent module Core class EventPublisher # # EventPublisher ensures that, for every thread, events will be published in the order in which they are meant to be published. # # This potentially introduces a wrinkle into your plans: You therefore should not split a "unit of work" acros...
Synchronize events within a single thread
Synchronize events within a single thread
Ruby
mit
zilverline/sequent,zilverline/sequent
ruby
## Code Before: module Sequent module Core class EventPublisher class PublishEventError < RuntimeError attr_reader :event_handler_class, :event def initialize(event_handler_class, event) @event_handler_class = event_handler_class @event = event end def m...
7a1351c7f677380eeee8027399e69b0d34e3e858
daybed/tests/features/model_data.py
daybed/tests/features/model_data.py
import json from lettuce import step, world @step(u'post "([^"]*)" records?') def post_record(step, model_name): world.path = '/data/%s' % str(model_name.lower()) for record in step.hashes: data = json.dumps(record) world.response = world.browser.post(world.path, params=data, status='*') @st...
import json from lettuce import step, world @step(u'post "([^"]*)" records?') def post_record(step, model_name): world.path = '/data/%s' % str(model_name.lower()) for record in step.hashes: data = json.dumps(record) world.response = world.browser.post(world.path, params=data, status='*') @st...
Fix bug of adding the id to the resulting data
Fix bug of adding the id to the resulting data
Python
bsd-3-clause
spiral-project/daybed,spiral-project/daybed
python
## Code Before: import json from lettuce import step, world @step(u'post "([^"]*)" records?') def post_record(step, model_name): world.path = '/data/%s' % str(model_name.lower()) for record in step.hashes: data = json.dumps(record) world.response = world.browser.post(world.path, params=data, s...
9f7206653ce05787ef37844a11eb549d6c360836
io/io/test/CMakeLists.txt
io/io/test/CMakeLists.txt
ROOT_ADD_GTEST(IOTests TBufferMerger.cxx TFileMergerTests.cxx LIBRARIES RIO Tree)
ROOT_ADD_GTEST(TBufferMerger TBufferMerger.cxx LIBRARIES RIO Tree) ROOT_ADD_GTEST(TFileMerger TFileMergerTests.cxx LIBRARIES RIO Tree)
Split TBufferMerger and TFileMerger tests
Split TBufferMerger and TFileMerger tests
Text
lgpl-2.1
olifre/root,root-mirror/root,olifre/root,olifre/root,karies/root,karies/root,root-mirror/root,olifre/root,root-mirror/root,karies/root,root-mirror/root,root-mirror/root,olifre/root,olifre/root,root-mirror/root,karies/root,karies/root,root-mirror/root,karies/root,root-mirror/root,olifre/root,karies/root,olifre/root,olif...
text
## Code Before: ROOT_ADD_GTEST(IOTests TBufferMerger.cxx TFileMergerTests.cxx LIBRARIES RIO Tree) ## Instruction: Split TBufferMerger and TFileMerger tests ## Code After: ROOT_ADD_GTEST(TBufferMerger TBufferMerger.cxx LIBRARIES RIO Tree) ROOT_ADD_GTEST(TFileMerger TFileMergerTests.cxx LIBRARIES RIO Tree)
dbfb58a308df800f0e2563d3f319b7045b497261
README.md
README.md
Extension for Chrome-based browsers. This extension blocks advert which can bypass adblock (or similar extensions) and cannot be locked via them
Extension for Chrome-based browsers. This extension blocks advert which can bypass adblock (or similar extensions) and cannot be locked via them Расширение для браузеров на основе Chrome. Это расширение блокирует рекламу, которая обходит адблок (или аналогичные расширения) и не может быть заблокирована через них. Пос...
Change readme, add link to habr
Change readme, add link to habr
Markdown
mit
VladReshet/no-ads-forever
markdown
## Code Before: Extension for Chrome-based browsers. This extension blocks advert which can bypass adblock (or similar extensions) and cannot be locked via them ## Instruction: Change readme, add link to habr ## Code After: Extension for Chrome-based browsers. This extension blocks advert which can bypass adblock (or...
6ed27036bc86b34b295ad58da8b1082eb1254f95
.github/workflows/tests.yml
.github/workflows/tests.yml
name: Tests "on": pull_request: {} push: branches: - main jobs: unit: name: Unit Test runs-on: - ubuntu-latest steps: - uses: actions/checkout@v2 - uses: actions/cache@v2 with: key: ${{ runner.os }}...
name: Tests "on": pull_request: {} push: branches: - main jobs: unit: name: Unit Test runs-on: - ubuntu-latest steps: - uses: actions/checkout@v2 - uses: actions/cache@v2 with: key: ${{ runner.os }}...
Make github workflows use make
Make github workflows use make Signed-off-by: Sambhav Kothari <7aab945e7d8b4704b65a343665f48610116c36c8@bloomberg.net>
YAML
apache-2.0
buildpacks/libcnb
yaml
## Code Before: name: Tests "on": pull_request: {} push: branches: - main jobs: unit: name: Unit Test runs-on: - ubuntu-latest steps: - uses: actions/checkout@v2 - uses: actions/cache@v2 with: key: ...
4002012e61e508be4807148f4769d63ac951338d
packages/ta/tasty-json.yaml
packages/ta/tasty-json.yaml
homepage: https://github.com/larskuhtz/tasty-json changelog-type: markdown hash: a06fdadd650ff9f729319daf69f57eacf91f389a851983d07fe1354d58851061 test-bench-deps: {} maintainer: Lars Kuhtz <lakuhtz@gmail.com> synopsis: JSON reporter for the tasty testing framework changelog: | # Revision history for tasty-json ## ...
homepage: https://github.com/larskuhtz/tasty-json changelog-type: markdown hash: b975931bf5ab7b54ee856382b52a03acae68c8328f03c4beb565104a1a3d624a test-bench-deps: {} maintainer: Lars Kuhtz <lakuhtz@gmail.com> synopsis: JSON reporter for the tasty testing framework changelog: | # Revision history for tasty-json ## ...
Update from Hackage at 2021-06-24T22:22:34Z
Update from Hackage at 2021-06-24T22:22:34Z
YAML
mit
commercialhaskell/all-cabal-metadata
yaml
## Code Before: homepage: https://github.com/larskuhtz/tasty-json changelog-type: markdown hash: a06fdadd650ff9f729319daf69f57eacf91f389a851983d07fe1354d58851061 test-bench-deps: {} maintainer: Lars Kuhtz <lakuhtz@gmail.com> synopsis: JSON reporter for the tasty testing framework changelog: | # Revision history for t...
f556733ae92c31766ffaeae630f23ab5014f6a36
spec/packages_spec.lua
spec/packages_spec.lua
SILE = require("core.sile") local lfs = require("lfs") describe("#packages like", function () local _, dir_obj = lfs.dir("packages") local file = dir_obj:next() it("foo", function() end) while file do local pkg, ok = file:gsub(".lua$", "") if ok == 1 and pkg ~= "color-fonts" and pkg ~= "...
SILE = require("core.sile") local lfs = require("lfs") describe("#package", function () for pkg in lfs.dir("packages") do if pkg ~= ".." and pkg ~= "." and pkg ~= "color-fonts" and pkg ~= "font-fallback" and pkg ~= "pandoc" and pkg ~= "pdf" and pkg ~= "pdfstructure" and pkg ...
Refactor unit tests for package loading
test(packages): Refactor unit tests for package loading
Lua
mit
alerque/sile,alerque/sile,alerque/sile,alerque/sile
lua
## Code Before: SILE = require("core.sile") local lfs = require("lfs") describe("#packages like", function () local _, dir_obj = lfs.dir("packages") local file = dir_obj:next() it("foo", function() end) while file do local pkg, ok = file:gsub(".lua$", "") if ok == 1 and pkg ~= "color-fonts" ...
58d5915d70c356c150fcdd0cdce940a831014449
android/AndroidScriptingEnvironment/src/com/google/ase/interpreter/sh/ShInterpreterProcess.java
android/AndroidScriptingEnvironment/src/com/google/ase/interpreter/sh/ShInterpreterProcess.java
/* * Copyright (C) 2009 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
/* * Copyright (C) 2009 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
Add missing call to start shell scripts.
Add missing call to start shell scripts.
Java
apache-2.0
olapaola/olapaola-android-scripting,jeremiahmarks/sl4a,Lh4cKg/sl4a,giuliolunati/sl4a,cristiana214/cristianachavez214-cristianachavez,barbarubra/Don-t-know-What-i-m-doing.,cristiana214/cristianachavez214-cristianachavez,mSenyor/sl4a,kjc88/sl4a,SatoshiNXSimudrone/sl4a-damon-clone,vlinhd11/vlinhd11-android-scripting,kerr-...
java
## Code Before: /* * Copyright (C) 2009 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable l...
4de4de7ebda59cdb8f5af44e7cfe9c950e407660
appveyor.yml
appveyor.yml
version: '{build}' os: Windows Server 2012 install: - ps: iex (new-object net.webclient).downloadstring('https://get.scoop.sh') - ps: $ErrorActionPreference = "Continue" - ps: scoop bucket add versions - ps: $ErrorActionPreference = "Stop" - ps: scoop install sbt0.13 environment: CI_SCALA_VERSION: 2.12.3 ...
version: '{build}' os: Windows Server 2012 install: - ps: iex (new-object net.webclient).downloadstring('https://get.scoop.sh') - ps: $ErrorActionPreference = "Continue" - ps: scoop bucket add versions - ps: $ErrorActionPreference = "Stop" - ps: scoop install sbt0.13 environment: CI_SCALA_VERSION: 2.12.3 ...
Disable JS tests on Appveyor.
Disable JS tests on Appveyor. It seems that the memory consumption on Node.js in Windows is too much to handle for the free tier Appveyor machines.
YAML
bsd-3-clause
MasseGuillaume/scalameta,scalameta/scalameta,scalameta/scalameta,olafurpg/scalameta,MasseGuillaume/scalameta,xeno-by/scalameta,scalameta/scalameta,xeno-by/scalameta,DavidDudson/scalameta,olafurpg/scalameta,olafurpg/scalameta,scalameta/scalameta,DavidDudson/scalameta,scalameta/scalameta,xeno-by/scalameta,MasseGuillaume/...
yaml
## Code Before: version: '{build}' os: Windows Server 2012 install: - ps: iex (new-object net.webclient).downloadstring('https://get.scoop.sh') - ps: $ErrorActionPreference = "Continue" - ps: scoop bucket add versions - ps: $ErrorActionPreference = "Stop" - ps: scoop install sbt0.13 environment: CI_SCALA_VE...
61253510bc859ec1695484d11cbadcd92ad4b107
tests/test_misc.py
tests/test_misc.py
import mistune from unittest import TestCase class TestMiscCases(TestCase): def test_none(self): self.assertEqual(mistune.html(None), '') def test_before_parse_hooks(self): def _add_name(md, s, state): state['name'] = 'test' return s, state md = mistune.create_markdown() ...
import mistune from unittest import TestCase class TestMiscCases(TestCase): def test_none(self): self.assertEqual(mistune.html(None), '') def test_before_parse_hooks(self): def _add_name(md, s, state): state['name'] = 'test' return s, state md = mistune.create_...
Add test for allow harmful protocols
Add test for allow harmful protocols
Python
bsd-3-clause
lepture/mistune
python
## Code Before: import mistune from unittest import TestCase class TestMiscCases(TestCase): def test_none(self): self.assertEqual(mistune.html(None), '') def test_before_parse_hooks(self): def _add_name(md, s, state): state['name'] = 'test' return s, state md = mistune.creat...
a7e283f7e3d6cbf473ad114e8bb7599acb3e45eb
src/Oro/Bundle/CalendarBundle/Resources/config/validation.yml
src/Oro/Bundle/CalendarBundle/Resources/config/validation.yml
Oro\Bundle\CalendarBundle\Entity\CalendarEvent: properties: title: - NotBlank: ~ - Length: max: 255 start: - DateTime: ~ - NotBlank: ~ - Oro\Bundle\CalendarBundle\Validator\Constraints\DateEarlierThan: end ...
Oro\Bundle\CalendarBundle\Entity\CalendarEvent: properties: title: - NotBlank: ~ - Length: max: 255 start: - DateTime: ~ - NotBlank: ~ - Oro\Bundle\CalendarBundle\Validator\Constraints\DateEarlierThan: end ...
Update API REST and SOAP
AEIV-573: Update API REST and SOAP - attendee validation
YAML
mit
orocrm/platform,orocrm/platform,Djamy/platform,trustify/oroplatform,geoffroycochard/platform,Djamy/platform,Djamy/platform,trustify/oroplatform,geoffroycochard/platform,orocrm/platform,geoffroycochard/platform,trustify/oroplatform
yaml
## Code Before: Oro\Bundle\CalendarBundle\Entity\CalendarEvent: properties: title: - NotBlank: ~ - Length: max: 255 start: - DateTime: ~ - NotBlank: ~ - Oro\Bundle\CalendarBundle\Validator\Constraints\DateEarlier...
0cf35bb0281924e679c13bfc90c793e5d9d5e781
app/views/tryEvalGD.scala.html
app/views/tryEvalGD.scala.html
@main("Try eval.gd") { <script type="text/javascript" src="@routes.Assets.at("javascripts/jquery.autosize.js")"></script> <script type="text/javascript" src="@routes.Assets.at("javascripts/tryEvalGD.min.js")"></script> <div class="row"> <div class="span6"> <textarea class="stupidly-plain" spellcheck="false" plac...
@main("Try eval.gd") { <script type="text/javascript" src="@routes.Assets.at("javascripts/jquery.autosize.js")"></script> <script type="text/javascript" src="@routes.Assets.at("javascripts/tryEvalGD.min.js")"></script> <div class="row"> <div class="span6"> <textarea id="eval" class="stupidly-plain"...
Make the eval area autofocus (and specify tabindex in case that doesn't work)
Make the eval area autofocus (and specify tabindex in case that doesn't work)
HTML
apache-2.0
eval-so/frontend,eval-so/frontend
html
## Code Before: @main("Try eval.gd") { <script type="text/javascript" src="@routes.Assets.at("javascripts/jquery.autosize.js")"></script> <script type="text/javascript" src="@routes.Assets.at("javascripts/tryEvalGD.min.js")"></script> <div class="row"> <div class="span6"> <textarea class="stupidly-plain" spellch...
a7e5b07203a151741044a12807a12455f45ab77c
src/desktop/components/react/stitch_components/index.tsx
src/desktop/components/react/stitch_components/index.tsx
/** * Export globally available React components from this file. * * Keep in mind that components exported from here (and their dependencies) * increase the size of our `common.js` bundle, so when the stitched component * is no longer used be sure to remove it from this list. * * To find which components are sti...
/** * Export globally available React components from this file. * * Keep in mind that components exported from here (and their dependencies) * increase the size of our `common.js` bundle, so when the stitched component * is no longer used be sure to remove it from this list. * * To find which components are sti...
Update stitched UserSettingsTwoFactorAuthentication component import
Update stitched UserSettingsTwoFactorAuthentication component import
TypeScript
mit
joeyAghion/force,damassi/force,artsy/force-public,eessex/force,joeyAghion/force,yuki24/force,erikdstock/force,joeyAghion/force,izakp/force,erikdstock/force,eessex/force,oxaudo/force,anandaroop/force,damassi/force,artsy/force-public,artsy/force,oxaudo/force,oxaudo/force,oxaudo/force,yuki24/force,erikdstock/force,joeyAgh...
typescript
## Code Before: /** * Export globally available React components from this file. * * Keep in mind that components exported from here (and their dependencies) * increase the size of our `common.js` bundle, so when the stitched component * is no longer used be sure to remove it from this list. * * To find which co...
29cb760030021f97906d5eaec1c0b885e8bb2930
example/gravity.py
example/gravity.py
# Import the gravitational constant and the Quantity class from dimensionful import G, Quantity # Supply the mass of Earth, mass of Sun, and the distance between. mass_earth = Quantity(5.9742e27, "g") mass_sun = Quantity(1.0, "Msun") distance = Quantity(1.0, "AU") # Calculate it force_gravity = G * mass_earth * mass...
# Import the gravitational constant and the Quantity class from dimensionful import G, Quantity # Supply the mass of Earth, mass of Sun, and the distance between. mass_earth = Quantity(5.9742e27, "g") mass_sun = Quantity(1.0, "Msun") distance = Quantity(1.0, "AU") # Calculate it force_gravity = G * mass_earth * mass...
Add what the example should output.
Add what the example should output.
Python
bsd-2-clause
caseywstark/dimensionful
python
## Code Before: # Import the gravitational constant and the Quantity class from dimensionful import G, Quantity # Supply the mass of Earth, mass of Sun, and the distance between. mass_earth = Quantity(5.9742e27, "g") mass_sun = Quantity(1.0, "Msun") distance = Quantity(1.0, "AU") # Calculate it force_gravity = G * m...
2f702c0fc6f99ef6c1277f31a487c877f9f238e7
package.json
package.json
{ "name": "sugarss", "version": "0.0.0", "description": "Compact alternate syntax for CSS", "keywords": [ "css", "postcss", "syntax", "indent" ], "author": "Andrey Sitnik <andrey@sitnik.ru>", "license": "MIT", "repository": "postcss/sugarss", "dependencies": { "postcss": "^5.0.17" ...
{ "name": "sugarss", "version": "0.0.0", "description": "Compact alternate syntax for CSS", "keywords": [ "css", "postcss", "syntax", "indent" ], "author": "Andrey Sitnik <andrey@sitnik.ru>", "license": "MIT", "repository": "postcss/sugarss", "dependencies": { "postcss": "^5.0.17" ...
Add shortcut to run ESLint
Add shortcut to run ESLint
JSON
mit
postcss/sugarss
json
## Code Before: { "name": "sugarss", "version": "0.0.0", "description": "Compact alternate syntax for CSS", "keywords": [ "css", "postcss", "syntax", "indent" ], "author": "Andrey Sitnik <andrey@sitnik.ru>", "license": "MIT", "repository": "postcss/sugarss", "dependencies": { "post...
c6ab8d04e865c69f53aba7ba1da0b120aaa342b9
app/views/projects/_zen.html.haml
app/views/projects/_zen.html.haml
.zennable %input#zen-toggle-comment.zen-toggle-comment{ tabindex: '-1', type: 'checkbox' } .zen-backdrop - classes << ' js-gfm-input markdown-area' = f.text_area attr, class: classes, placeholder: 'Leave a comment' = link_to nil, class: 'zen-enter-link' do %i.fa.fa-expand Edit in fullscreen ...
.zennable %input#zen-toggle-comment.zen-toggle-comment{ tabindex: '-1', type: 'checkbox' } .zen-backdrop - classes << ' js-gfm-input markdown-area' = f.text_area attr, class: classes, placeholder: 'Leave a comment' = link_to nil, class: 'zen-enter-link', tabindex: '-1' do %i.fa.fa-expand Edi...
Fix tabindex for comment form
Fix tabindex for comment form
Haml
mit
yatish27/gitlabhq,mr-dxdy/gitlabhq,chenrui2014/gitlabhq,salipro4ever/gitlabhq,yama07/gitlabhq,stanhu/gitlabhq,kemenaran/gitlabhq,childbamboo/gitlabhq,liyakun/gitlabhq,revaret/gitlabhq,yatish27/gitlabhq,sekcheong/gitlabhq,gopeter/gitlabhq,cinderblock/gitlabhq,initiummedia/gitlabhq,chenrui2014/gitlabhq,stanhu/gitlabhq,sa...
haml
## Code Before: .zennable %input#zen-toggle-comment.zen-toggle-comment{ tabindex: '-1', type: 'checkbox' } .zen-backdrop - classes << ' js-gfm-input markdown-area' = f.text_area attr, class: classes, placeholder: 'Leave a comment' = link_to nil, class: 'zen-enter-link' do %i.fa.fa-expand Edi...
d1d14186e2c09816bdba6dc4b8877b90cb4bf457
app/controllers/lists_controller.rb
app/controllers/lists_controller.rb
class ListsController < ApplicationController before_action :find_list, only: [:show, :edit, :update, :destroy] respond_to :json, :html def index find_user @lists = @user.lists respond_with(@lists) end def show respond_with({list: @list, dramas: @list.dramas}) end def new @list = Lis...
class ListsController < ApplicationController before_action :find_list, only: [:show, :edit, :update, :destroy] respond_to :json, :html def index find_user @lists = @user.lists respond_with(@lists) end def show @dramas = @list.dramas.map { |drama| drama.add_image_url } respond_with({list...
Add image url to dramas in lists
Add image url to dramas in lists
Ruby
mit
ac-adekunle/secondlead,ac-adekunle/secondlead,ac-adekunle/secondlead
ruby
## Code Before: class ListsController < ApplicationController before_action :find_list, only: [:show, :edit, :update, :destroy] respond_to :json, :html def index find_user @lists = @user.lists respond_with(@lists) end def show respond_with({list: @list, dramas: @list.dramas}) end def ne...
91f402afa297eafff40b12f8ed2ed2a0e561347b
src/tests/TestUpdaterOptions.cpp
src/tests/TestUpdaterOptions.cpp
void TestUpdaterOptions::testOldFormatArgs() { const int argc = 6; char* argv[argc]; argv[0] = "updater"; argv[1] = "CurrentDir=/path/to/app"; argv[2] = "TempDir=/tmp/updater"; argv[3] = "UpdateScriptFileName=/tmp/updater/file_list.xml"; argv[4] = "AppFileName=/path/to/app/theapp"; argv[5] = "PID=123456"; Up...
void TestUpdaterOptions::testOldFormatArgs() { const int argc = 6; char* argv[argc]; argv[0] = strdup("updater"); argv[1] = strdup("CurrentDir=/path/to/app"); argv[2] = strdup("TempDir=/tmp/updater"); argv[3] = strdup("UpdateScriptFileName=/tmp/updater/file_list.xml"); argv[4] = strdup("AppFileName=/path/to/app...
Fix warnings about conversion from string literal to char*
Fix warnings about conversion from string literal to char* UpdaterOptions::parse() will probably not have a need to modify its arguments but for consistency with the declaration of main() it takes a char*, so strdup() the strings.
C++
bsd-2-clause
zhengw1985/Update-Installer,zhengw1985/Update-Installer,zhengw1985/Update-Installer
c++
## Code Before: void TestUpdaterOptions::testOldFormatArgs() { const int argc = 6; char* argv[argc]; argv[0] = "updater"; argv[1] = "CurrentDir=/path/to/app"; argv[2] = "TempDir=/tmp/updater"; argv[3] = "UpdateScriptFileName=/tmp/updater/file_list.xml"; argv[4] = "AppFileName=/path/to/app/theapp"; argv[5] = "P...
f7ee72a374b91603673b5f612585c9183f118185
src/Bakery.Events.AspNetCore/project.json
src/Bakery.Events.AspNetCore/project.json
{ "dependencies": { "Bakery.Events": "0.12", "Microsoft.AspNetCore.Http.Abstractions": "1.1.0", "NETStandard.Library": "1.6.1" }, "frameworks": { "netstandard1.5": { "imports": "dnxcore50" } }, "version": "0.12" }
{ "dependencies": { "Bakery.Events": "0.12", "Microsoft.AspNetCore.Http.Abstractions": "1.1.0", "Microsoft.AspNetCore.Mvc.Core": "1.1.0", "NETStandard.Library": "1.6.1" }, "frameworks": { "netstandard1.6": { "imports": "dnxcore50" } }, "version": "0.12" }
Make Bakery.Events.AspNetCore netstandard1.6, as required by ASP.NET Core MVC; add the ASP.NET Core MVC dependency (needed for a helper method that uses StatusCodeResult).
Make Bakery.Events.AspNetCore netstandard1.6, as required by ASP.NET Core MVC; add the ASP.NET Core MVC dependency (needed for a helper method that uses StatusCodeResult).
JSON
mit
brendanjbaker/Bakery
json
## Code Before: { "dependencies": { "Bakery.Events": "0.12", "Microsoft.AspNetCore.Http.Abstractions": "1.1.0", "NETStandard.Library": "1.6.1" }, "frameworks": { "netstandard1.5": { "imports": "dnxcore50" } }, "version": "0.12" } ## Instruction: Make Bakery.Events.AspNetCore netstandard1.6, as requi...
5e2f958c82b49fdfa48f1f0d80faba7ed8736dc5
app/index.jade
app/index.jade
doctype html html(lang="en", manifest="app.manifest") head meta(charset="utf-8") meta(name="viewport", content="width=device-width, minimum-scale=1, maximum-scale=1, user-scalable=no, minimal-ui") title readfwd.com body p Hello, world! // build:js({.tmp,dist}) js/main.js script(src="js/main....
doctype html html(lang="en", manifest="app.manifest") head meta(charset="utf-8") meta(name="fragment", content="!") meta(name="viewport", content="width=device-width, minimum-scale=1, maximum-scale=1, user-scalable=no, minimal-ui") title readfwd.com body p Hello, world! // build:js({.tmp,dis...
Add meta fragment tag for SPA SEO.
Add meta fragment tag for SPA SEO.
Jade
mpl-2.0
learnfwd/learnfwd.com,learnfwd/learnfwd.com,learnfwd/learnfwd.com
jade
## Code Before: doctype html html(lang="en", manifest="app.manifest") head meta(charset="utf-8") meta(name="viewport", content="width=device-width, minimum-scale=1, maximum-scale=1, user-scalable=no, minimal-ui") title readfwd.com body p Hello, world! // build:js({.tmp,dist}) js/main.js scri...
5c8d9c76429823d0d5dcb0013de1f9e89d9870cc
app/Transformers/RecordTransformer.php
app/Transformers/RecordTransformer.php
<?php namespace Transformers; class RecordTransformer extends Transformer { /** * transform record * * @param array $record * @return array */ public function transform($record) { return [ 'release_id' => $record->release_id, 'title' => $record->bas...
<?php namespace Transformers; class RecordTransformer extends Transformer { /** * transform record * * @param array $record * @return array */ public function transform($record) { return [ 'release_id' => $record->release_id, 'title' => $record->bas...
Fix releases breaking if there were no notes
Fix releases breaking if there were no notes
PHP
mit
lukasjuhas/api.itsluk.as,lukasjuhas/api.itsluk.as
php
## Code Before: <?php namespace Transformers; class RecordTransformer extends Transformer { /** * transform record * * @param array $record * @return array */ public function transform($record) { return [ 'release_id' => $record->release_id, 'title'...
c16517fffdebf31fafc5eb04696abac72370b843
src/main/java/com/codeup/hibernate/repositories/MoviesRepository.java
src/main/java/com/codeup/hibernate/repositories/MoviesRepository.java
/** * This source file is subject to the license that is bundled with this package in the file LICENSE. */ package com.codeup.hibernate.repositories; import com.codeup.movies.Movie; import com.codeup.movies.Movies; import org.hibernate.Session; import org.hibernate.query.Query; import java.util.List; public class ...
/** * This source file is subject to the license that is bundled with this package in the file LICENSE. */ package com.codeup.hibernate.repositories; import com.codeup.movies.Movie; import com.codeup.movies.Movies; import org.hibernate.Session; import org.hibernate.query.Query; import java.util.List; public class ...
Fix error in query parameter.
Fix error in query parameter.
Java
mit
MontealegreLuis/hibernate-example
java
## Code Before: /** * This source file is subject to the license that is bundled with this package in the file LICENSE. */ package com.codeup.hibernate.repositories; import com.codeup.movies.Movie; import com.codeup.movies.Movies; import org.hibernate.Session; import org.hibernate.query.Query; import java.util.List...
a2215e904b8997a4bade3f4924c7cd68883b04cd
pkgs/applications/editors/emacs/elisp-packages/yes-no/default.nix
pkgs/applications/editors/emacs/elisp-packages/yes-no/default.nix
{ lib, stdenv, fetchurl }: stdenv.mkDerivation { name = "yes-no"; src = fetchurl { url = "https://github.com/emacsmirror/emacswiki.org/blob/185fdc34fb1e02b43759ad933d3ee5646b0e78f8/yes-no.el"; sha256 = "1k0nn619i82jiqm48k5nk6b8cv2rggh0i5075nhc85a2s9pwhx32"; }; dontUnpack = true; installPhase = '' ...
{ lib, fetchurl, trivialBuild }: trivialBuild { pname = "yes-no"; version = "0"; src = fetchurl { url = "https://github.com/emacsmirror/emacswiki.org/blob/185fdc34fb1e02b43759ad933d3ee5646b0e78f8/yes-no.el"; sha256 = "1k0nn619i82jiqm48k5nk6b8cv2rggh0i5075nhc85a2s9pwhx32"; }; dontUnpack = true; i...
Use trivialPackage instead of stdenv.mkDerivation
emacsPackages.yes-no: Use trivialPackage instead of stdenv.mkDerivation
Nix
mit
NixOS/nixpkgs,NixOS/nixpkgs,NixOS/nixpkgs,NixOS/nixpkgs,NixOS/nixpkgs,NixOS/nixpkgs,NixOS/nixpkgs,NixOS/nixpkgs,NixOS/nixpkgs,NixOS/nixpkgs,NixOS/nixpkgs,NixOS/nixpkgs,NixOS/nixpkgs,NixOS/nixpkgs,NixOS/nixpkgs
nix
## Code Before: { lib, stdenv, fetchurl }: stdenv.mkDerivation { name = "yes-no"; src = fetchurl { url = "https://github.com/emacsmirror/emacswiki.org/blob/185fdc34fb1e02b43759ad933d3ee5646b0e78f8/yes-no.el"; sha256 = "1k0nn619i82jiqm48k5nk6b8cv2rggh0i5075nhc85a2s9pwhx32"; }; dontUnpack = true; in...
56ecad6907dea785ebffba414dfe3ff586e5f2e0
src/shutdown/hpr_wall.c
src/shutdown/hpr_wall.c
/* ISC license. */ #include <string.h> #include <utmpx.h> #include <skalibs/posixishard.h> #include <skalibs/allreadwrite.h> #include <skalibs/strerr2.h> #include <skalibs/djbunix.h> #include "hpr.h" #ifndef UT_LINESIZE #define UT_LINESIZE 32 #endif void hpr_wall (char const *s) { size_t n = strlen(s) ; char t...
/* ISC license. */ #include <string.h> #include <utmpx.h> #include <skalibs/allreadwrite.h> #include <skalibs/strerr2.h> #include <skalibs/djbunix.h> #include <skalibs/posixishard.h> #include "hpr.h" #ifndef UT_LINESIZE #define UT_LINESIZE 32 #endif void hpr_wall (char const *s) { size_t n = strlen(s) ; char t...
Include posixishard as late as possible
Include posixishard as late as possible
C
isc
skarnet/s6-linux-init,skarnet/s6-linux-init
c
## Code Before: /* ISC license. */ #include <string.h> #include <utmpx.h> #include <skalibs/posixishard.h> #include <skalibs/allreadwrite.h> #include <skalibs/strerr2.h> #include <skalibs/djbunix.h> #include "hpr.h" #ifndef UT_LINESIZE #define UT_LINESIZE 32 #endif void hpr_wall (char const *s) { size_t n = strl...
1cdd76d4a6c5d10fb50c62a31353ced143dbbaf9
trunk/org.mwc.asset.help/html/schemaDoc.xml
trunk/org.mwc.asset.help/html/schemaDoc.xml
<?xml version="1.0" encoding="UTF-8"?> <toc label="ASSET Model Reference" topic="../org.mwc.asset.core/asset_schemas/doc/schema.html"> <topic href="../org.mwc.asset.core/asset_schemas/doc/schema1.html" label="Scenario"> </topic> <topic href="../org.mwc.asset.core/asset_schemas/doc/schema20.html#id80" label="Pa...
<?xml version="1.0" encoding="UTF-8"?> <toc label="ASSET Model Reference" topic="../org.mwc.asset.core/asset_schemas/doc/schema.html"> <topic href="../org.mwc.asset.core/asset_schemas/doc/schema.html" label="Scenario"> </topic> </toc>
Correct links to Oxygen-generated content
Correct links to Oxygen-generated content git-svn-id: d2601f1668e3cd2de409f5c059006a6eeada0abf@2741 cb33b658-6c9e-41a7-9690-cba343611204
XML
epl-1.0
pecko/debrief,theanuradha/debrief,debrief/debrief,alastrina123/debrief,pecko/debrief,theanuradha/debrief,pecko/debrief,pecko/debrief,pecko/debrief,theanuradha/debrief,alastrina123/debrief,alastrina123/debrief,alastrina123/debrief,debrief/debrief,debrief/debrief,pecko/debrief,theanuradha/debrief,debrief/debrief,debrief/...
xml
## Code Before: <?xml version="1.0" encoding="UTF-8"?> <toc label="ASSET Model Reference" topic="../org.mwc.asset.core/asset_schemas/doc/schema.html"> <topic href="../org.mwc.asset.core/asset_schemas/doc/schema1.html" label="Scenario"> </topic> <topic href="../org.mwc.asset.core/asset_schemas/doc/schema20.html...
33ea27f49b45106390aa9b842bc3e180f1d9dd20
.travis.yml
.travis.yml
sudo: required dist: trusty language: python env: - TOXENV=py26 - TOXENV=py27 - TOXENV=py34 - TOXENV=py35 - TOXENV=py36 - TOXENV=py37 install: - scripts/travis.sh - make install - pip-accel install coveralls tox - pip-accel install -r requirements-checks.txt script: - make check - make tox after...
sudo: required dist: trusty language: python matrix: include: - env: TOXENV=py26 - env: TOXENV=py27 - env: TOXENV=py34 - env: TOXENV=py35 - env: TOXENV=py36 - env: TOXENV=py37 dist: xenial install: - scripts/travis.sh - make install - pip-accel install coveralls tox - pip-accel i...
Configure Travis CI to test Python 3.7 on Ubuntu 16.04
Configure Travis CI to test Python 3.7 on Ubuntu 16.04 This is a follow-up to this build failure: https://travis-ci.org/paylogic/py2deb/builds/456412859 Pip complains that Python was built without ssl support and apparently this is because Python 3.7 is incompatible with the ssl version on Ubuntu 14.04 (still the de...
YAML
mit
paylogic/py2deb,paylogic/py2deb
yaml
## Code Before: sudo: required dist: trusty language: python env: - TOXENV=py26 - TOXENV=py27 - TOXENV=py34 - TOXENV=py35 - TOXENV=py36 - TOXENV=py37 install: - scripts/travis.sh - make install - pip-accel install coveralls tox - pip-accel install -r requirements-checks.txt script: - make check ...
9a77c1233146a96b72340bffdf8791200e2a9ade
lib/current_scopes.rb
lib/current_scopes.rb
module CurrentScopes def self.included(base) base.helper_method :current_user, :current_course, :current_student end def current_course return unless current_user @__current_course ||= current_user.courses.find_by(id: session[:course_id]) if session[:course_id] @__current_course ||= current_user...
module CurrentScopes def self.included(base) base.helper_method :current_user, :current_course, :current_student end def current_course return unless current_user @__current_course ||= CourseRouter.current_course_for(current_user, session[:course_id]) end def current_user_is_staff? return u...
Use the CourseRouter to retrieve the current course
Use the CourseRouter to retrieve the current course
Ruby
agpl-3.0
UM-USElab/gradecraft-development,UM-USElab/gradecraft-development,UM-USElab/gradecraft-development,UM-USElab/gradecraft-development,mkoon/gradecraft-development,mkoon/gradecraft-development,mkoon/gradecraft-development
ruby
## Code Before: module CurrentScopes def self.included(base) base.helper_method :current_user, :current_course, :current_student end def current_course return unless current_user @__current_course ||= current_user.courses.find_by(id: session[:course_id]) if session[:course_id] @__current_course ...
ca43ddf2e17f4ca3b6441b707d2f09a1a415cee8
db/pubsub.sql
db/pubsub.sql
create table entities ( id serial primary key, jid text not null unique ); create table nodes ( id serial primary key, node text not null unique, persistent boolean not null default true, deliver_payload boolean not null default true ); create table affiliations ( id serial primary key, ...
create table entities ( id serial primary key, jid text not null unique ); create table nodes ( id serial primary key, node text not null unique, persistent boolean not null default true, deliver_payload boolean not null default true send_last_published_item text not null default 'on_sub' ...
Add send_last_published_item configuration item to nodes table definition.
Add send_last_published_item configuration item to nodes table definition. --HG-- extra : convert_revision : svn%3Ae60b0d31-0b1b-0410-851a-a02d0c527677/trunk%40239
SQL
mit
ralphm/idavoll
sql
## Code Before: create table entities ( id serial primary key, jid text not null unique ); create table nodes ( id serial primary key, node text not null unique, persistent boolean not null default true, deliver_payload boolean not null default true ); create table affiliations ( id serial...
d22a3b8d0ea0911a07ec5f8cbb2b064ecb06f4a5
pkgs/tools/text/replace/default.nix
pkgs/tools/text/replace/default.nix
{stdenv, fetchurl}: stdenv.mkDerivation { name = "replace-2.24"; src = fetchurl { url = ftp://hpux.connect.org.uk/hpux/Users/replace-2.24/replace-2.24-src-11.11.tar.gz; sha256 = "1c2nkxx83vmlh1v3ib6r2xqh121gdb1rharwsimcb2h0xwc558dm"; }; makeFlags = "TREE=\$(out) MANTREE=\$(TREE)/share/man"; crossA...
{stdenv, fetchurl}: stdenv.mkDerivation { name = "replace-2.24"; src = fetchurl { url = ftp://hpux.connect.org.uk/hpux/Users/replace-2.24/replace-2.24-src-11.11.tar.gz; sha256 = "1c2nkxx83vmlh1v3ib6r2xqh121gdb1rharwsimcb2h0xwc558dm"; }; makeFlags = "TREE=\$(out) MANTREE=\$(TREE)/share/man"; crossA...
Fix /bin/mv reference in replace-literal
Fix /bin/mv reference in replace-literal
Nix
mit
triton/triton,SymbiFlow/nixpkgs,SymbiFlow/nixpkgs,SymbiFlow/nixpkgs,NixOS/nixpkgs,NixOS/nixpkgs,triton/triton,NixOS/nixpkgs,NixOS/nixpkgs,triton/triton,SymbiFlow/nixpkgs,NixOS/nixpkgs,triton/triton,NixOS/nixpkgs,NixOS/nixpkgs,NixOS/nixpkgs,triton/triton,SymbiFlow/nixpkgs,NixOS/nixpkgs,SymbiFlow/nixpkgs,SymbiFlow/nixpkg...
nix
## Code Before: {stdenv, fetchurl}: stdenv.mkDerivation { name = "replace-2.24"; src = fetchurl { url = ftp://hpux.connect.org.uk/hpux/Users/replace-2.24/replace-2.24-src-11.11.tar.gz; sha256 = "1c2nkxx83vmlh1v3ib6r2xqh121gdb1rharwsimcb2h0xwc558dm"; }; makeFlags = "TREE=\$(out) MANTREE=\$(TREE)/share...
852be2bc7b0413cf7d2a54a316c35141907144e5
client/src/components/Tickets/Show/Children/Fields.vue
client/src/components/Tickets/Show/Children/Fields.vue
<!-- Copyright 2017 Mathew Robinson <mrobinson@praelatus.io>. All rights reserved. Use of this source code is governed by the AGPLv3 license that can be found in the LICENSE file. --> <template> <div class="card fields"> <h2 class="card-header" > Fields </h2> <div class="card-block" > ...
<!-- Copyright 2017 Mathew Robinson <mrobinson@praelatus.io>. All rights reserved. Use of this source code is governed by the AGPLv3 license that can be found in the LICENSE file. --> <template> <div class="card fields"> <h2 class="card-header" > Fields </h2> <div class="card-block" > ...
Support fields with no value
Support fields with no value
Vue
agpl-3.0
praelatus/praelatus,praelatus/praelatus,praelatus/backend,praelatus/praelatus,praelatus/backend,praelatus/backend
vue
## Code Before: <!-- Copyright 2017 Mathew Robinson <mrobinson@praelatus.io>. All rights reserved. Use of this source code is governed by the AGPLv3 license that can be found in the LICENSE file. --> <template> <div class="card fields"> <h2 class="card-header" > Fields </h2> <div class="...
e5f929453fb141e035aeb1b867aeb06ca516409a
Resources/scripts/Clastic.js
Resources/scripts/Clastic.js
module.exports = function() { 'use strict'; global.Clastic = global.Clastic || {}; /** * @class Clastic.Clastic * @constructor */ global.Clastic.Clastic = function() {}; global.Clastic.Clastic.prototype.resolvePaths = function(paths, rootDir) { var fs = require('fs'); ...
module.exports = function() { 'use strict'; global.Clastic = global.Clastic || {}; /** * @class Clastic.Clastic * @constructor */ global.Clastic.Clastic = function() {}; global.Clastic.Clastic.prototype.resolvePaths = function(paths, rootDir) { var fs = require('fs'); ...
Make assets work for implementors.
[Core] Make assets work for implementors.
JavaScript
mit
Clastic/CoreBundle,Clastic/CoreBundle
javascript
## Code Before: module.exports = function() { 'use strict'; global.Clastic = global.Clastic || {}; /** * @class Clastic.Clastic * @constructor */ global.Clastic.Clastic = function() {}; global.Clastic.Clastic.prototype.resolvePaths = function(paths, rootDir) { var fs = requi...
78e6c92a37fd96e6b87463b96603173dc2505c83
.travis.yml
.travis.yml
language: python python: - 2.7 sudo: false install: pip install pdfjinja addons: apt: packages: - tcl8.6-dev - tk8.6-dev - python-tk - libtiff5-dev - libjpeg8-dev - zlib1g-dev - libfreetype6-dev - liblcms2-dev - libwebp-dev - libmagickwand-dev - pdftk script: python t...
language: python python: - 2.7 sudo: false install: pip install . addons: apt: packages: - python-tk - libtiff5-dev - libjpeg8-dev - zlib1g-dev - libfreetype6-dev - liblcms2-dev - libmagickwand-dev - pdftk script: python tests.py
Install local package instead of from pip.
Install local package instead of from pip.
YAML
mit
rammie/pdfjinja
yaml
## Code Before: language: python python: - 2.7 sudo: false install: pip install pdfjinja addons: apt: packages: - tcl8.6-dev - tk8.6-dev - python-tk - libtiff5-dev - libjpeg8-dev - zlib1g-dev - libfreetype6-dev - liblcms2-dev - libwebp-dev - libmagickwand-dev - pdftk ...
426058126a0a6e1f089a146424e1f9cd28d98293
provisioning/roles/plugins/defaults/main.yml
provisioning/roles/plugins/defaults/main.yml
--- plugin_dependencies: - python-reportlab pip_plugins: # - "omero-webtagging-autotag" - "omero-iviewer" - "omero-figure" omero_plugin_names: # - "omero_webtagging_autotag" - "omero_iviewer" - "omero_figure" python_lib_path: "/usr/lib/python2.7/site-packages"
--- pip_dependencies: - reportlab - markdown pip_plugins: # - "omero-webtagging-autotag" - "omero-iviewer" - "omero-figure==3.2.1" omero_plugin_names: # - "omero_webtagging_autotag" - "omero_iviewer" - "omero_figure" python_lib_path: "/usr/lib/python2.7/site-packages"
Install older version of omero-figure (newer on e did not work with server v5.4.9)
Install older version of omero-figure (newer on e did not work with server v5.4.9)
YAML
mit
JIC-CSB/omero-ansible
yaml
## Code Before: --- plugin_dependencies: - python-reportlab pip_plugins: # - "omero-webtagging-autotag" - "omero-iviewer" - "omero-figure" omero_plugin_names: # - "omero_webtagging_autotag" - "omero_iviewer" - "omero_figure" python_lib_path: "/usr/lib/python2.7/site-packages" ## Instruction: Install ...
cbd828b22bc8e54ca7c0d64db69dfc7738c89807
packages/co/complex-generic.yaml
packages/co/complex-generic.yaml
homepage: https://gitorious.org/complex-generic changelog-type: '' hash: 035d4ab5d0f2b72b41cbfe1c56adfa358584f978e72549ce8bcb88e80c6ba0d5 test-bench-deps: {} maintainer: claude@mathr.co.uk synopsis: complex numbers with non-mandatory RealFloat changelog: '' basic-deps: base: <4.9 template-haskell: <2.11 all-version...
homepage: https://code.mathr.co.uk/complex-generic changelog-type: '' hash: 440fd9de41fb8eb8f7668c9f77f447daac8ffcfbf01547c1db18b49650627079 test-bench-deps: {} maintainer: claude@mathr.co.uk synopsis: complex numbers with non-mandatory RealFloat changelog: '' basic-deps: base: <4.10 template-haskell: <2.12 all-ver...
Update from Hackage at 2017-04-03T15:32:53Z
Update from Hackage at 2017-04-03T15:32:53Z
YAML
mit
commercialhaskell/all-cabal-metadata
yaml
## Code Before: homepage: https://gitorious.org/complex-generic changelog-type: '' hash: 035d4ab5d0f2b72b41cbfe1c56adfa358584f978e72549ce8bcb88e80c6ba0d5 test-bench-deps: {} maintainer: claude@mathr.co.uk synopsis: complex numbers with non-mandatory RealFloat changelog: '' basic-deps: base: <4.9 template-haskell: <...
71faca1a144eb1d935e228f5b4f65a784e9eda72
logs/index.html
logs/index.html
--- layout: page slug: logs type: index title: Logs Folder exclude_from_nav: true --- {% for tag in site.tags %} {% capture tag_name %}{{ tag | first }}{% endcapture %} <h2>{{ tag_name }}</h2> {% for post in site.tags[tag_name] %} <time class="blog-date" pubdate="pubdate">{{ post.date|date: "%Y-%m-%d" }}</...
--- layout: page slug: logs type: index title: Logs Folder exclude_from_nav: true --- {% for tag in site.tags %} {% capture tag_name %}{{ tag | first }}{% endcapture %} <h2 id="{{ tag_name }}">{{ tag_name }}</h2> {% for post in site.tags[tag_name] %} <time class="blog-date" pubdate="pubdate">{{ post.date|d...
Add id to jump to tag.
Add id to jump to tag.
HTML
mit
astrohckr/hckr.github.io,astrohckr/astrohckr.github.io,astrohckr/astrohckr.github.io,astrohckr/hckr.github.io
html
## Code Before: --- layout: page slug: logs type: index title: Logs Folder exclude_from_nav: true --- {% for tag in site.tags %} {% capture tag_name %}{{ tag | first }}{% endcapture %} <h2>{{ tag_name }}</h2> {% for post in site.tags[tag_name] %} <time class="blog-date" pubdate="pubdate">{{ post.date|date:...
50c44a5708d1c054207eba264e1cdf9d1f6718da
deployer/logger.py
deployer/logger.py
from __future__ import absolute_import import logging from logging.handlers import SysLogHandler from conf.appconfig import LOG_FORMAT, LOG_DATE, LOG_ROOT_LEVEL, TOTEM_ENV, \ LOG_IDENTIFIER def init_logging(name=None): app_logger = logging.getLogger(name) app_logger.setLevel(LOG_ROOT_LEVEL) app_logge...
from __future__ import absolute_import import logging from logging.handlers import SysLogHandler from conf.appconfig import LOG_FORMAT, LOG_DATE, LOG_ROOT_LEVEL, TOTEM_ENV, \ LOG_IDENTIFIER def init_logging(name=None): app_logger = logging.getLogger(name) app_logger.setLevel(LOG_ROOT_LEVEL) app_logge...
Set log level for handler
Set log level for handler
Python
mit
totem/cluster-deployer,totem/cluster-deployer,totem/cluster-deployer
python
## Code Before: from __future__ import absolute_import import logging from logging.handlers import SysLogHandler from conf.appconfig import LOG_FORMAT, LOG_DATE, LOG_ROOT_LEVEL, TOTEM_ENV, \ LOG_IDENTIFIER def init_logging(name=None): app_logger = logging.getLogger(name) app_logger.setLevel(LOG_ROOT_LEVE...
6e31eb9e1049d75ad4e7e1031c0dfa4d6617c48f
csaps/__init__.py
csaps/__init__.py
from csaps._version import __version__ # noqa from csaps._base import ( SplinePPForm, UnivariateCubicSmoothingSpline, MultivariateCubicSmoothingSpline, NdGridCubicSmoothingSpline, ) from csaps._types import ( UnivariateDataType, UnivariateVectorizedDataType, MultivariateDataType, NdG...
from csaps._version import __version__ # noqa from csaps._base import ( SplinePPForm, NdGridSplinePPForm, UnivariateCubicSmoothingSpline, MultivariateCubicSmoothingSpline, NdGridCubicSmoothingSpline, ) from csaps._types import ( UnivariateDataType, UnivariateVectorizedDataType, Multi...
Add NdGridSplinePPForm to csaps imports
Add NdGridSplinePPForm to csaps imports
Python
mit
espdev/csaps
python
## Code Before: from csaps._version import __version__ # noqa from csaps._base import ( SplinePPForm, UnivariateCubicSmoothingSpline, MultivariateCubicSmoothingSpline, NdGridCubicSmoothingSpline, ) from csaps._types import ( UnivariateDataType, UnivariateVectorizedDataType, MultivariateD...
4478cb194412ea363b9555b720e065b6e7103229
spec/lib/simple_webmon_spec.rb
spec/lib/simple_webmon_spec.rb
require 'spec_helper' require 'simple_webmon' describe SimpleWebmon do before(:all) do FakeWeb.allow_net_connect = false FakeWeb.register_uri(:get, "http://good.example.com/", body: "Hello World!") FakeWeb.register_uri(:get, "http://servererror.example.com/", body: "Internal Server Error", ...
require 'spec_helper' require 'simple_webmon' describe SimpleWebmon do before(:all) do FakeWeb.allow_net_connect = false FakeWeb.register_uri(:get, "http://good.example.com/", body: "Hello World!") FakeWeb.register_uri(:get, "http://servererror.example.com/", body: "Internal Server Error", ...
Add more tests for .check method
Add more tests for .check method
Ruby
mit
mikeadmire/simple_webmon
ruby
## Code Before: require 'spec_helper' require 'simple_webmon' describe SimpleWebmon do before(:all) do FakeWeb.allow_net_connect = false FakeWeb.register_uri(:get, "http://good.example.com/", body: "Hello World!") FakeWeb.register_uri(:get, "http://servererror.example.com/", body: "Internal Ser...
06095d71264e2ed34a8d42ef9d0b03cc67b947c5
.travis.yml
.travis.yml
language: android android: components: - build-tools-22.0.1 # Specify your build tools verison - android-22 # Android Platform Target env: # Envirement Variables global: before_install: # Commands to excecute before install - echo "Before install stage" install: # Specify what and how to install - echo "Insta...
language: android android: components: - build-tools-22.0.1 # Specify your build tools verison - android-22 # Android Platform Target env: # Envirement Variables global: before_install: # Commands to excecute before install - echo "Before install stage" install: # Specify what and how to install - echo "Insta...
Fix out of date node.js
Fix out of date node.js
YAML
mit
ewhal/EmergencyAssist,ewhal/EmergencyAssist
yaml
## Code Before: language: android android: components: - build-tools-22.0.1 # Specify your build tools verison - android-22 # Android Platform Target env: # Envirement Variables global: before_install: # Commands to excecute before install - echo "Before install stage" install: # Specify what and how to insta...
a59413dc688077d0f1c4d8ae26fce464b837faa6
src/scripts/scripts.js
src/scripts/scripts.js
$(document).foundation(); $('a.disabled').click(function(e) { e.preventDefault(); }); // Show shadow when content slides under the page header $(document).ready(function() { var $content = $('#site-body .content'); var $header = $('#page-head .inner'); if ($header.length > 0) { $content.css('margin-top'...
$(document).foundation(); $('a.disabled').click(function(e) { e.preventDefault(); e.stopPropagation(); e.stopImmediatePropagation(); }); // Show shadow when content slides under the page header $(document).ready(function() { var $content = $('#site-body .content'); var $header = $('#page-head .inner'); ...
Implement fake form submits and confirmation buttons
Implement fake form submits and confirmation buttons
JavaScript
bsd-3-clause
flipside-org/aw-datacollection,flipside-org/aw-datacollection,flipside-org/aw-datacollection
javascript
## Code Before: $(document).foundation(); $('a.disabled').click(function(e) { e.preventDefault(); }); // Show shadow when content slides under the page header $(document).ready(function() { var $content = $('#site-body .content'); var $header = $('#page-head .inner'); if ($header.length > 0) { $content....
0868bbd0e445cb39217351cd13d2c3f7a173416c
mws/__init__.py
mws/__init__.py
from __future__ import absolute_import from .mws import MWS, MWSError from .apis import Feeds, Finances, InboundShipments, Inventory, MerchantFulfillment,\ OffAmazonPayments, Orders, OutboundShipments, Products, Recommendations,\ Reports, Sellers __all__ = [ 'Feeds', 'Financ...
from __future__ import absolute_import from .mws import MWS, MWSError from .apis import Feeds, Finances, InboundShipments, Inventory, MerchantFulfillment,\ OffAmazonPayments, Orders, OutboundShipments, Products, Recommendations,\ Reports, Sellers, Subscriptions __all__ = [ 'Feed...
Include the new Subscriptions stub
Include the new Subscriptions stub
Python
unlicense
GriceTurrble/python-amazon-mws,Bobspadger/python-amazon-mws
python
## Code Before: from __future__ import absolute_import from .mws import MWS, MWSError from .apis import Feeds, Finances, InboundShipments, Inventory, MerchantFulfillment,\ OffAmazonPayments, Orders, OutboundShipments, Products, Recommendations,\ Reports, Sellers __all__ = [ 'Fee...
5c9b98319b3537ef6287bc28353cd72748f9e1a8
profile_collection/startup/99-bluesky.py
profile_collection/startup/99-bluesky.py
gs.DETS = [em_ch1, em_ch2, em_ch3, em_ch4]
gs.DETS = [em] gs.TABLE_COLS.append('em_chan21') gs.PLOT_Y = 'em_ch1' gs.TEMP_CONTROLLER = cs700 gs.TH_MOTOR = th gs.TTH_MOTOR = tth import time as ttime # We probably already have these imports, but we use them below # so I'm importing here to be sure. from databroker import DataBroker as db, get_events def verify...
Add multiple settings for bluesky
Add multiple settings for bluesky - Define a data validator to run at the end of a scan. - Set up default detectors and plot and table settles for SPEC API.
Python
bsd-2-clause
NSLS-II-XPD/ipython_ophyd,pavoljuhas/ipython_ophyd,NSLS-II-XPD/ipython_ophyd,pavoljuhas/ipython_ophyd
python
## Code Before: gs.DETS = [em_ch1, em_ch2, em_ch3, em_ch4] ## Instruction: Add multiple settings for bluesky - Define a data validator to run at the end of a scan. - Set up default detectors and plot and table settles for SPEC API. ## Code After: gs.DETS = [em] gs.TABLE_COLS.append('em_chan21') gs.PLOT_Y = 'em_ch1' ...
bdf8b4548c9aecf720a1429dc8de7aa1ad45f635
lib/kaleidoscope/instance_methods.rb
lib/kaleidoscope/instance_methods.rb
module Kaleidoscope module InstanceMethods def colors_for end def generate_colors Kaleidoscope.log("Generating colors.") end def destroy_colors Kaleidoscope.log("Deleting colors.") end end end
module Kaleidoscope module InstanceMethods def colors_for end def generate_colors Kaleidoscope.log("Generating colors for #{self.class.model_name}.") end def destroy_colors Kaleidoscope.log("Deleting colors for #{self.class.model_name}.") end end end
Add model name to logs for instance methods
Add model name to logs for instance methods
Ruby
mit
JoshSmith/kaleidoscope
ruby
## Code Before: module Kaleidoscope module InstanceMethods def colors_for end def generate_colors Kaleidoscope.log("Generating colors.") end def destroy_colors Kaleidoscope.log("Deleting colors.") end end end ## Instruction: Add model name to logs for instance methods ## Code ...
4a04fdc57f5aded2722af9ee1d0993e3bd05fbc0
app/views/admin/expectations/index.html.erb
app/views/admin/expectations/index.html.erb
<div> <h2>Existing Expectations</h2> <ul> <% @expectations.each do |expectation| %> <li><%= expectation.text %></li> <% end %> </ul> <h2>Add Expectation</h2> <%= semantic_form_for([:admin, @expectation]) do |f| %> <%= f.inputs do %> <%= f.input :text %> <%= f.input :css_class, :la...
<div> <h2>Existing Expectations</h2> <ul> <% @expectations.each do |expectation| %> <li><%= expectation.text %></li> <% end %> </ul> <h2>Add Expectation</h2> <%= semantic_form_for([:admin, @expectation]) do |f| %> <%= f.inputs do %> <%= f.input :text %> <%= f.input :css_class, :la...
Remove stray logging statements from expectations JS
Remove stray logging statements from expectations JS
HTML+ERB
mit
telekomatrix/publisher,theodi/publisher,leftees/publisher,telekomatrix/publisher,alphagov/publisher,theodi/publisher,theodi/publisher,alphagov/publisher,telekomatrix/publisher,leftees/publisher,telekomatrix/publisher,leftees/publisher,theodi/publisher,alphagov/publisher,leftees/publisher
html+erb
## Code Before: <div> <h2>Existing Expectations</h2> <ul> <% @expectations.each do |expectation| %> <li><%= expectation.text %></li> <% end %> </ul> <h2>Add Expectation</h2> <%= semantic_form_for([:admin, @expectation]) do |f| %> <%= f.inputs do %> <%= f.input :text %> <%= f.input...
8eeb41a2a7a11fff41afe3cc1d58d74233b6672d
db/v21.bib
db/v21.bib
@Proceedings{HeinzICGI2012, booktitle = {Proceedings of the Eleventh International Conference on Grammatical Inference}, editor = {Jeffrey Heinz and Colin de la Higuera and and Tim Oates}, publisher = {JMLR Workshop and Conference Proceedings}, volume = {21}, year = {2012}, address = {University of Maryland...
@Proceedings{HeinzICGI2012, booktitle = {Proceedings of the Eleventh International Conference on Grammatical Inference}, editor = {Heinz, Jeffrey and de la Higuera, Colin and Oates, Tim}, publisher = {JMLR Workshop and Conference Proceedings}, volume = {21}, year = {2012}, address = {University of Maryland,...
Remove extra and in editor field
Remove extra and in editor field
TeX
mit
mreid/papersite,mreid/papersite,mreid/papersite
tex
## Code Before: @Proceedings{HeinzICGI2012, booktitle = {Proceedings of the Eleventh International Conference on Grammatical Inference}, editor = {Jeffrey Heinz and Colin de la Higuera and and Tim Oates}, publisher = {JMLR Workshop and Conference Proceedings}, volume = {21}, year = {2012}, address = {Univer...
4d587171de2e78c7f5fb11a727f257546521183d
lib/castle/extractors/ip.rb
lib/castle/extractors/ip.rb
module Castle module Extractors # used for extraction of ip from the request class IP def initialize(request) @request = request end def call return @request.env['HTTP_CF_CONNECTING_IP'] if @request.env['HTTP_CF_CONNECTING_IP'] return @request.remote_ip if @request....
module Castle module Extractors # used for extraction of ip from the request class IP def initialize(request) @request = request end def call return @request.remote_ip if @request.respond_to?(:remote_ip) @request.ip end end end end
Drop special handling for CF IP header
Drop special handling for CF IP header
Ruby
mit
castle/castle-ruby,castle/castle-ruby
ruby
## Code Before: module Castle module Extractors # used for extraction of ip from the request class IP def initialize(request) @request = request end def call return @request.env['HTTP_CF_CONNECTING_IP'] if @request.env['HTTP_CF_CONNECTING_IP'] return @request.remote...
8737a9617722e602838849cbf98ec351be2e4e3a
README.md
README.md
Unvanquished-CBSE ================= Experimental repository for the gamelogic rewrite of Unvanquished Testing out ideas for comments and crits.
Unvanquished CBSE ================= Testing auto generation of plumbing code for a component-based gamelogic for the game Unvanquished. Please, please keep in mind that this is *very* WIP. Terminology ----------- An *entity* is an object of the game that contains a number of behaviors called *components* that inter...
Extend the readme a bit
Extend the readme a bit
Markdown
bsd-3-clause
DaemonDevelopers/CBSE-Toolchain,DaemonDevelopers/CBSE-Toolchain,DaemonDevelopers/CBSE-Toolchain
markdown
## Code Before: Unvanquished-CBSE ================= Experimental repository for the gamelogic rewrite of Unvanquished Testing out ideas for comments and crits. ## Instruction: Extend the readme a bit ## Code After: Unvanquished CBSE ================= Testing auto generation of plumbing code for a component-based g...
4a19061407b5a6d8be9a9f10600b0311798f1b19
install_master_node.sh
install_master_node.sh
apt-get -y install hadoop-0.20-mapreduce-jobtracker hadoop-hdfs-namenode hadoop-client
apt-get -y install hadoop-0.20-mapreduce-jobtracker hadoop-hdfs-namenode hadoop-client # Upload and run on ALL VM's. # This is mainly for the master. # Maybe not necessary to apply the entire script to the slaves as some of the # directories will be for client apps only. # If hadoop components are installed after th...
Set up storage on VM.
RR: Set up storage on VM.
Shell
apache-2.0
rrothwell/heat_hadoop
shell
## Code Before: apt-get -y install hadoop-0.20-mapreduce-jobtracker hadoop-hdfs-namenode hadoop-client ## Instruction: RR: Set up storage on VM. ## Code After: apt-get -y install hadoop-0.20-mapreduce-jobtracker hadoop-hdfs-namenode hadoop-client # Upload and run on ALL VM's. # This is mainly for the master. # Ma...
e49af4ac9be10a34e24672f65bab16c6c1efa5ef
vue.config.js
vue.config.js
module.exports = { assetsDir: 'styleguide/', css: { modules: true } };
module.exports = { css: { modules: true }, publicPath: '/styleguide/' };
Correct to the right property
Correct to the right property
JavaScript
mit
rodet/styleguide,rodet/styleguide
javascript
## Code Before: module.exports = { assetsDir: 'styleguide/', css: { modules: true } }; ## Instruction: Correct to the right property ## Code After: module.exports = { css: { modules: true }, publicPath: '/styleguide/' };
4359a9947c1d86d9e4003c1e8fc358e9a66c6b1d
DisplayAdapter/display_adapter/scripts/init_db.py
DisplayAdapter/display_adapter/scripts/init_db.py
__author__ = 'richard'
import sys import sqlite3 from display_adapter import db_name help_message = """ This initialises an sqlite3 db for the purposes of the DisplayAdapter programs. Arguments: init_db.py database_name """ runs_table = """ CREATE TABLE runs ( id INTEGER NOT NULL, input_pattern VARCHAR, time_slot DATETIME, ...
Create internal db initialisation script
Create internal db initialisation script Paired by Michael and Richard
Python
mit
CO600GOL/Game_of_life,CO600GOL/Game_of_life,CO600GOL/Game_of_life
python
## Code Before: __author__ = 'richard' ## Instruction: Create internal db initialisation script Paired by Michael and Richard ## Code After: import sys import sqlite3 from display_adapter import db_name help_message = """ This initialises an sqlite3 db for the purposes of the DisplayAdapter programs. Arguments: in...
8f597e2a05f8eb4f466b2de20d8fa299faf192ef
_data/nav.yml
_data/nav.yml
- title: About url: /about/ sections: - title: Vision url: /charter/ - title: Roadmap url: /roadmap/ - title: Screenshots url: /screenshots/ - title: News url: /news/ - title: Development url: https://github.com/neovim/neovim - title: Documentation url: /doc/ sections: - ti...
- title: About url: /about/ sections: - title: Vision url: /charter/ - title: Roadmap url: /roadmap/ - title: Screenshots url: /screenshots/ - title: News url: /news/ - title: Development url: https://github.com/neovim/neovim - title: Documentation url: /doc/ sections: - ti...
Revert "second attempt at fixing doc"
Revert "second attempt at fixing doc" This reverts commit 7560780d19b30a1cbdd6908c64b01b3c83628c55.
YAML
mit
neovim/neovim.github.io,neovim/neovim.github.io,neovim/neovim.github.io
yaml
## Code Before: - title: About url: /about/ sections: - title: Vision url: /charter/ - title: Roadmap url: /roadmap/ - title: Screenshots url: /screenshots/ - title: News url: /news/ - title: Development url: https://github.com/neovim/neovim - title: Documentation url: /doc/ se...
1fb12ca366ae3fde4a7656f05f35b3acfee6f767
Cargo.toml
Cargo.toml
[package] name = "rppal" version = "0.6.0" authors = ["Rene van der Meer <rene@golemparts.com>"] description = "Interface for the Raspberry Pi's GPIO and SPI peripherals." documentation = "https://docs.golemparts.com/rppal" repository = "https://github.com/golemparts/rppal" readme = "README.md" license = "MIT" categori...
[package] name = "rppal" version = "0.6.0" authors = ["Rene van der Meer <rene@golemparts.com>"] description = "Interface for the Raspberry Pi's GPIO, I2C and SPI peripherals." documentation = "https://docs.golemparts.com/rppal" repository = "https://github.com/golemparts/rppal" readme = "README.md" license = "MIT" cat...
Add I2C to keywords and description
Add I2C to keywords and description
TOML
mit
golemparts/rppal
toml
## Code Before: [package] name = "rppal" version = "0.6.0" authors = ["Rene van der Meer <rene@golemparts.com>"] description = "Interface for the Raspberry Pi's GPIO and SPI peripherals." documentation = "https://docs.golemparts.com/rppal" repository = "https://github.com/golemparts/rppal" readme = "README.md" license ...
c343acbbcb250c95d6a9f940871bb12a71e88202
CHANGES.rst
CHANGES.rst
Weitersager Changelog ===================== Version 0.3 ----------- Unreleased Version 0.2 ----------- Released 2020-09-13 - Raised minimum Python version to 3.7. - HTTP protocol was changed: - Only a single channel is allowed per message. - Response code for successful submit was changed from 200 (OK) to ...
Weitersager Changelog ===================== Version 0.3 ----------- Unreleased Version 0.2 ----------- Released 2020-09-13 - Raised minimum Python version to 3.7. - HTTP protocol was changed: - Only a single channel is allowed per message. - Response code for successful submit was changed from 200 (OK) to...
Put blank lines between changelog items
Put blank lines between changelog items Fixes rendering of nested list.
reStructuredText
mit
homeworkprod/weitersager
restructuredtext
## Code Before: Weitersager Changelog ===================== Version 0.3 ----------- Unreleased Version 0.2 ----------- Released 2020-09-13 - Raised minimum Python version to 3.7. - HTTP protocol was changed: - Only a single channel is allowed per message. - Response code for successful submit was changed fro...
8400db5e17ea160a61fd52faada28d468da77b00
lib/ups/parsers/track_parser.rb
lib/ups/parsers/track_parser.rb
require 'uri' require 'ox' module UPS module Parsers class TrackParser < BaseParser def initialize(response) # Unescape double/triple quoted first line: "<?xml version=\\\"1.0\\\"?>\\n<TrackResponse>\n" super(response.gsub(/\\"/, '"').gsub(/\\n/, "\n")) end def to_h { ...
require 'uri' require 'ox' module UPS module Parsers class TrackParser < BaseParser def initialize(response) # Unescape double/triple quoted first line: "<?xml version=\\\"1.0\\\"?>\\n<TrackResponse>\n" super(response.gsub(/\\"/, '"').gsub(/\\n/, "\n")) end def to_h { ...
Allow all shipment activities to be accessed YP-22
Allow all shipment activities to be accessed YP-22
Ruby
mit
veeqo/ups-ruby
ruby
## Code Before: require 'uri' require 'ox' module UPS module Parsers class TrackParser < BaseParser def initialize(response) # Unescape double/triple quoted first line: "<?xml version=\\\"1.0\\\"?>\\n<TrackResponse>\n" super(response.gsub(/\\"/, '"').gsub(/\\n/, "\n")) end def ...
d4b900289cdab019dbdd93db23fa0c11dd300571
spec/requests/quizzes_spec.rb
spec/requests/quizzes_spec.rb
require 'spec_helper' describe "Quizzes" do %w(/ /quizzes).each do |path| it 'should redirect you to login' do visit path page.current_url.should == 'http://www.example.com/oauth2authorize' end end it 'shows a list of quizzes' do Factory :quiz login visit '/' page.should have...
require 'spec_helper' describe "Quizzes" do %w(/ /quizzes).each do |path| it 'should redirect you to login' do visit path page.current_url.should == 'http://www.example.com/oauth2authorize' end end it 'shows a list of quizzes' do Factory :quiz login visit '/' page.should have...
Set the quiz owner to the user's Google+ profile ID
Set the quiz owner to the user's Google+ profile ID
Ruby
apache-2.0
jjinux/quizzimoto,jjinux/quizzimoto,jjinux/quizzimoto,JuanitoFatas/Quizzimoto,JuanitoFatas/Quizzimoto
ruby
## Code Before: require 'spec_helper' describe "Quizzes" do %w(/ /quizzes).each do |path| it 'should redirect you to login' do visit path page.current_url.should == 'http://www.example.com/oauth2authorize' end end it 'shows a list of quizzes' do Factory :quiz login visit '/' ...
6a3503c725d1ed6e92c07c75a6221f178e357c99
CHANGELOG.md
CHANGELOG.md
* ### 0.0.4 * Add request retry support (Daniel Brain) ### 0.0.3 * Add no-proxy hosts support to proxy * Fix proxy to fallback to HTTP_PROXY when http_proxy doesn't exist ### 0.0.2 * Set rejectUnauthorized default to false * Modify default timeout to 30 seconds ### 0.0.1 * Initial version, extracted from cliffano/b...
* Add custom error handler and error codes matching to retry support (Daniel Brain) ### 0.0.4 * Add request retry support (Daniel Brain) ### 0.0.3 * Add no-proxy hosts support to proxy * Fix proxy to fallback to HTTP_PROXY when http_proxy doesn't exist ### 0.0.2 * Set rejectUnauthorized default to false * Modify def...
Add note on error handler and error codes matching.
Add note on error handler and error codes matching.
Markdown
mit
cliffano/bagofrequest
markdown
## Code Before: * ### 0.0.4 * Add request retry support (Daniel Brain) ### 0.0.3 * Add no-proxy hosts support to proxy * Fix proxy to fallback to HTTP_PROXY when http_proxy doesn't exist ### 0.0.2 * Set rejectUnauthorized default to false * Modify default timeout to 30 seconds ### 0.0.1 * Initial version, extracted...
024018301cf7492d3fd8b82cfae56148ffe674d6
tasks/git-sync.sh
tasks/git-sync.sh
source $GOPHER_INSTALLDIR/lib/gopherbot_v1.sh if [ $# -lt 3 ] then echo "Not enough arguments to git-sync; usage: git-sync <url> <branch> <dir> (true)" >&2 exit 1 fi # git-sync.sh - clone or update a git repository and optionally set the # working directory REPO_URL=$1 BRANCH=$2 REPO_DIR=$3 SET_WD=$4 if [ -...
source $GOPHER_INSTALLDIR/lib/gopherbot_v1.sh if [ $# -lt 3 ] then echo "Not enough arguments to git-sync; usage: git-sync <url> <branch> <dir> (true)" >&2 exit 1 fi # git-sync.sh - clone or update a git repository and optionally set the # working directory REPO_URL=$1 BRANCH=$2 REPO_DIR=$3 SET_WD=$4 mkdir ...
Create wd path before SetWorkingDirectory
Create wd path before SetWorkingDirectory
Shell
mit
parsley42/gopherbot,uva-its/gopherbot,uva-its/gopherbot,parsley42/gopherbot,parsley42/gopherbot,uva-its/gopherbot,parsley42/gopherbot,uva-its/gopherbot
shell
## Code Before: source $GOPHER_INSTALLDIR/lib/gopherbot_v1.sh if [ $# -lt 3 ] then echo "Not enough arguments to git-sync; usage: git-sync <url> <branch> <dir> (true)" >&2 exit 1 fi # git-sync.sh - clone or update a git repository and optionally set the # working directory REPO_URL=$1 BRANCH=$2 REPO_DIR=$3 S...
f8b04127fb177532f1f117816c4d6bc243af7ec0
README.md
README.md
A handful of rendering and game demos. ## Support ## This project officially supports Windows 7 and Ubuntu 16.04+. ## Requirements ## ### Ubuntu ### * CMake 3.6+ * Clang 3.6+ * Git 2.5.0+ * OpenGL * GLFW 3 * GLM * Assimp 2.0+ ### Windows 7 ### * CMake 3.6+ * Visual Studio 2015 * Git 2.5.0+ * OpenGL * GL...
A handful of rendering and game demos. ## Support ## This project officially supports Windows 7 and Ubuntu 16.04+. ## Requirements ## ### Ubuntu ### * CMake 3.6+ * Clang 3.6+ * Git 2.5.0+ * OpenGL * GLFW 3 * GLM * Assimp 2.0+ ### Windows 7 ### * CMake 3.6+ * Visual Studio 2015 * Git 2.5.0+ * OpenGL * GL...
Use html since github markdown does not support image resizing.
Use html since github markdown does not support image resizing.
Markdown
mit
invaderjon/demo,invaderjon/demo
markdown
## Code Before: A handful of rendering and game demos. ## Support ## This project officially supports Windows 7 and Ubuntu 16.04+. ## Requirements ## ### Ubuntu ### * CMake 3.6+ * Clang 3.6+ * Git 2.5.0+ * OpenGL * GLFW 3 * GLM * Assimp 2.0+ ### Windows 7 ### * CMake 3.6+ * Visual Studio 2015 * Git 2.5.0+...
fa25ecdee9b89b58a9e1cfe0a982f18694fd6cb6
omnibus/files/private-chef-cookbooks/private-chef/metadata.rb
omnibus/files/private-chef-cookbooks/private-chef/metadata.rb
name "private-chef" maintainer "Opscode, Inc." maintainer_email "cookbooks@chef.io" license "Apache 2.0" description "Installs and configures Chef Server from Omnibus" long_description "Installs and configures Chef Server from Omnibus" version "0.1.0" recipe "chef-serv...
name "private-chef" maintainer "Opscode, Inc." maintainer_email "cookbooks@chef.io" license "Apache 2.0" description "Installs and configures Chef Server from Omnibus" long_description "Installs and configures Chef Server from Omnibus" version "0.1.0" recipe "chef-serv...
Remove apt and yum dependencies
[cookbooks] Remove apt and yum dependencies These cookbooks appear unused in the private-chef cookbooks. These were previously used to install the add-on repository; however, that functionality was changed in 9d10dac3d3933503211217968449c38657e0f7a6 to use mixlib-install. Signed-off-by: Steven Danna <9ce5770b3bb4b2a1...
Ruby
apache-2.0
chef/chef-server,chef/chef-server,juliandunn/chef-server-1,chef/chef-server,chef/chef-server,juliandunn/chef-server-1,juliandunn/chef-server-1,chef/chef-server,chef/chef-server,juliandunn/chef-server-1,juliandunn/chef-server-1
ruby
## Code Before: name "private-chef" maintainer "Opscode, Inc." maintainer_email "cookbooks@chef.io" license "Apache 2.0" description "Installs and configures Chef Server from Omnibus" long_description "Installs and configures Chef Server from Omnibus" version "0.1.0" recipe ...
2f71b7ced3a447a79ca2a00daae394c6c00fb8d1
.travis.yml
.travis.yml
language: c os: linux sudo: false dist: trusty compiler: gcc addons: apt: packages: - ninja-build - realpath - lua5.2 - pasmo - libz80ex-dev script: - ninja
language: c os: linux sudo: false dist: trusty compiler: gcc addons: apt: packages: - ninja-build - realpath - lua5.2 - pasmo - libz80ex-dev - lemon script: - make
Update Travis file to hopefully work.
Update Travis file to hopefully work. --HG-- branch : master
YAML
bsd-2-clause
davidgiven/cowgol,davidgiven/cowgol
yaml
## Code Before: language: c os: linux sudo: false dist: trusty compiler: gcc addons: apt: packages: - ninja-build - realpath - lua5.2 - pasmo - libz80ex-dev script: - ninja ## Instruction: Update Travis file to hopefully work. --HG-- branch : master ## Code...
b9b36ee9934f3811a76f7dbcd1c176621b700e0e
Casks/intellij-idea12.rb
Casks/intellij-idea12.rb
cask :v1 => 'intellij-idea12' do version '12.1.7' sha256 '5fd6130f66e2a64a4083c77e4dc1efde153bee333ce729553f39d0b106508466' url "http://download.jetbrains.com/idea/ideaIU-#{version}.dmg" homepage 'https://www.jetbrains.com/idea/index.html' license :unknown app 'IntelliJ IDEA 12.app' end
cask :v1 => 'intellij-idea12' do version '12.1.7b' sha256 '4f98af36f7747323d6a83a8d758aa0d6f02f20faa5da5a9e5bd8b7856cfe429a' url "http://download.jetbrains.com/idea/ideaIU-#{version}.dmg" homepage 'https://www.jetbrains.com/idea/index.html' license :unknown app 'IntelliJ IDEA 12.app' end
Update the version of IntelliJ Ultimate 12 to 12.1.7b. The previous version (12.1.7) is no longer available from the Jetbrains website.
Update the version of IntelliJ Ultimate 12 to 12.1.7b. The previous version (12.1.7) is no longer available from the Jetbrains website.
Ruby
bsd-2-clause
chadcatlett/caskroom-homebrew-versions,elovelan/homebrew-versions,zsjohny/homebrew-versions,kstarsinic/homebrew-versions,n8henrie/homebrew-versions,pquentin/homebrew-versions,bimmlerd/homebrew-versions,tomschlick/homebrew-versions,lukaselmer/homebrew-versions,rkJun/homebrew-versions,dictcp/homebrew-versions,onewheelsky...
ruby
## Code Before: cask :v1 => 'intellij-idea12' do version '12.1.7' sha256 '5fd6130f66e2a64a4083c77e4dc1efde153bee333ce729553f39d0b106508466' url "http://download.jetbrains.com/idea/ideaIU-#{version}.dmg" homepage 'https://www.jetbrains.com/idea/index.html' license :unknown app 'IntelliJ IDEA 12.app' end #...
899386089a4c75dcf520be1da09a64d3e8632f3a
packages/celltags-extension/src/index.ts
packages/celltags-extension/src/index.ts
import { JupyterFrontEnd, JupyterFrontEndPlugin } from '@jupyterlab/application'; import { INotebookTools, INotebookTracker } from '@jupyterlab/notebook'; import { TagTool } from '@jupyterlab/celltags'; /** * Initialization data for the celltags extension. */ const celltags: JupyterFrontEndPlugin<void> = { i...
import { JupyterFrontEnd, JupyterFrontEndPlugin } from '@jupyterlab/application'; import { INotebookTools, INotebookTracker } from '@jupyterlab/notebook'; import { TagTool } from '@jupyterlab/celltags'; /** * Initialization data for the celltags extension. */ const celltags: JupyterFrontEndPlugin<void> = { i...
Rename the celltags plugin id
Rename the celltags plugin id
TypeScript
bsd-3-clause
jupyter/jupyterlab,jupyter/jupyterlab,jupyter/jupyterlab,jupyter/jupyterlab,jupyter/jupyterlab
typescript
## Code Before: import { JupyterFrontEnd, JupyterFrontEndPlugin } from '@jupyterlab/application'; import { INotebookTools, INotebookTracker } from '@jupyterlab/notebook'; import { TagTool } from '@jupyterlab/celltags'; /** * Initialization data for the celltags extension. */ const celltags: JupyterFrontEndPlug...
247025b942be59f463d47d0fdbfb8d72a06f6300
hello-world-rest-interface-db-driven-with-spring-boot/src/main/resources/application.yml
hello-world-rest-interface-db-driven-with-spring-boot/src/main/resources/application.yml
spring: datasource: url: jdbc:mysql://localhost:3306/msa username: root # password: password driver-class-name: com.mysql.jdbc.Driver jpa: generate-ddl: true show-sql: true
spring: datasource: url: jdbc:mysql://localhost:3306/msa username: root password: root driver-class-name: com.mysql.jdbc.Driver jpa: generate-ddl: true show-sql: true server: port: 8082
Use a specified server port instead of the default.
Use a specified server port instead of the default.
YAML
mit
sanjeevsachdev/microservices-workshop,sanjeevsachdev/microservices-workshop
yaml
## Code Before: spring: datasource: url: jdbc:mysql://localhost:3306/msa username: root # password: password driver-class-name: com.mysql.jdbc.Driver jpa: generate-ddl: true show-sql: true ## Instruction: Use a specified server port instead of the default. ## Code After: spring: data...
5eabea682317fe53d89fcf1b2ec98a1f44de51d3
rt/syslog/simpleConfig.py
rt/syslog/simpleConfig.py
hostname_patterns = [ ['KEEP', '.*'] ] path_patterns = [ ['PKGS', r'.*\/test_record_pkg'], ['SKIP', r'.*\/lua'], ['SKIP', r'.*\/expr'], ['SKIP', r'.*\/cc1'], ['SKIP', r'.*\/bash'], ['SKIP', r'.*\/collect2'], ['SKIP', r'.*\/mpich/.*'], ['SKIP', r'.*\/x86_64-linux-gnu.*'], ]
hostname_patterns = [ ['KEEP', '.*'] ] path_patterns = [ ['PKGS', r'.*\/test_record_pkg'], ['PKGS', r'.*\/python[0-9][^/][^/]*'], ['SKIP', r'.*\/lua'], ['SKIP', r'.*\/expr'], ['SKIP', r'.*\/cc1'], ['SKIP', r'.*\/bash'], ['SKIP', r'.*\/collect2'], ['SKIP', r'.*\/mpich/.*'], ['SKIP', r'.*\/x86_64-linu...
Add in python patterns for py pkg test
Add in python patterns for py pkg test
Python
lgpl-2.1
xalt/xalt,xalt/xalt,xalt/xalt,xalt/xalt,xalt/xalt,xalt/xalt,xalt/xalt
python
## Code Before: hostname_patterns = [ ['KEEP', '.*'] ] path_patterns = [ ['PKGS', r'.*\/test_record_pkg'], ['SKIP', r'.*\/lua'], ['SKIP', r'.*\/expr'], ['SKIP', r'.*\/cc1'], ['SKIP', r'.*\/bash'], ['SKIP', r'.*\/collect2'], ['SKIP', r'.*\/mpich/.*'], ['SKIP', r'.*\/x86_64-linux-gnu.*'], ] ## Instruc...
7a7729e9af8e91411526525c19c5d434609e0f21
logger.py
logger.py
MSG_INFO = 0x01 MSG_WARNING = 0x02 MSG_ERROR = 0x04 MSG_VERBOSE = 0x08 MSG_ALL = MSG_INFO | MSG_WARNING | MSG_ERROR | MSG_VERBOSE def logi(msg): print("[INFO] " + msg) def logv(msg): print("[VERBOSE] " + msg) def logw(msg): print("[WARNING] " + msg) def loge(msg): print("[ERROR] " + msg) clas...
MSG_INFO = 0x01 MSG_WARNING = 0x02 MSG_ERROR = 0x04 MSG_VERBOSE = 0x08 MSG_ALL = MSG_INFO | MSG_WARNING | MSG_ERROR | MSG_VERBOSE def logi(msg): print("[INFO] " + msg) def logv(msg): print("[VERBOSE] " + msg) def logw(msg): print("[WARNING] " + msg) def loge(msg): print("\033[1;31m[ERROR] " + ...
Add color for error message.
Add color for error message.
Python
mit
PyOCL/oclGA,PyOCL/OpenCLGA,PyOCL/OpenCLGA,PyOCL/oclGA,PyOCL/oclGA,PyOCL/TSP,PyOCL/TSP,PyOCL/oclGA,PyOCL/OpenCLGA
python
## Code Before: MSG_INFO = 0x01 MSG_WARNING = 0x02 MSG_ERROR = 0x04 MSG_VERBOSE = 0x08 MSG_ALL = MSG_INFO | MSG_WARNING | MSG_ERROR | MSG_VERBOSE def logi(msg): print("[INFO] " + msg) def logv(msg): print("[VERBOSE] " + msg) def logw(msg): print("[WARNING] " + msg) def loge(msg): print("[ERROR...
68f80981aab7d345dcefb1a7145ad5da15c226ff
.eslintrc.json
.eslintrc.json
{ "root": true, "env": { "node": true }, "extends": "airbnb/legacy", "rules": { "no-console": 0, "space-before-function-paren": [2, { "anonymous": "always", "named": "never" }], "valid-jsdoc": [2, { "requireReturn": false }] } }
{ "root": true, "env": { "node": true }, "extends": "airbnb/legacy", "rules": { "no-console": 0, "space-before-function-paren": [2, { "anonymous": "always", "named": "never" }], "valid-jsdoc": [2, { "requireReturn": false }], "vars-on-top": 1 } }
Change vars on top to warning, better for Express
Change vars on top to warning, better for Express [ci skip]
JSON
mit
ocean/higgins,ocean/higgins
json
## Code Before: { "root": true, "env": { "node": true }, "extends": "airbnb/legacy", "rules": { "no-console": 0, "space-before-function-paren": [2, { "anonymous": "always", "named": "never" }], "valid-jsdoc": [2, { "requireReturn": false }] } } ## Instruction: Change vars on top to warning,...
24de1c4cfceebdd1425821f0609bd56e46bc83b8
.travis.yml
.travis.yml
language: ruby services: - elasticsearch env: -ROOMS_DB_USER=root ROOMS_DB_DATABASE=nyu_rooms_test ROOMS_DB_HOST=localhost ROOMS_SECRET_TOKEN=dd6f1b6faf2511a744f3f08644e76edcb6be01d7019a6e62947e3a76a2c5f1ea7f3206af6bd0409ed222a56b2a53788da8de1d3528547889cc59c7dbc27f4503 ROOMS_COOKIE_DOMAIN=.local ROOMS_BONSAI_URL...
language: ruby services: - elasticsearch env: -ROOMS_DB_USER=root ROOMS_DB_DATABASE=nyu_rooms_test ROOMS_DB_HOST=localhost ROOMS_SECRET_TOKEN=dd6f1b6faf2511a744f3f08644e76edcb6be01d7019a6e62947e3a76a2c5f1ea7f3206af6bd0409ed222a56b2a53788da8de1d3528547889cc59c7dbc27f4503 ROOMS_COOKIE_DOMAIN=.local ROOMS_BONSAI_URL...
Add ruby version to Travis
Add ruby version to Travis
YAML
mit
NYULibraries/rooms,NYULibraries/rooms,NYULibraries/rooms,NYULibraries/rooms
yaml
## Code Before: language: ruby services: - elasticsearch env: -ROOMS_DB_USER=root ROOMS_DB_DATABASE=nyu_rooms_test ROOMS_DB_HOST=localhost ROOMS_SECRET_TOKEN=dd6f1b6faf2511a744f3f08644e76edcb6be01d7019a6e62947e3a76a2c5f1ea7f3206af6bd0409ed222a56b2a53788da8de1d3528547889cc59c7dbc27f4503 ROOMS_COOKIE_DOMAIN=.local ...
55bdbdb19069301bfa2a30e19d39f9329a772e84
src/js/disability-benefits/components/ClaimsDecision.jsx
src/js/disability-benefits/components/ClaimsDecision.jsx
import React from 'react'; class ClaimsDecision extends React.Component { render() { return ( <div className="claim-decision-is-ready usa-alert usa-alert-info claims-no-icon"> <h4>Your claim decision is ready</h4> <p>VA sent you a claim decision by U.S mail. Please allow up to 8 business da...
import React from 'react'; class ClaimsDecision extends React.Component { render() { return ( <div className="claim-decision-is-ready usa-alert usa-alert-info claims-no-icon"> <h4>Your claim decision is ready</h4> <p>We sent you a packet by U.S. mail that includes details of the decision or...
Update content for your claim decision is ready alert
Update content for your claim decision is ready alert
JSX
cc0-1.0
department-of-veterans-affairs/vets-website,department-of-veterans-affairs/vets-website
jsx
## Code Before: import React from 'react'; class ClaimsDecision extends React.Component { render() { return ( <div className="claim-decision-is-ready usa-alert usa-alert-info claims-no-icon"> <h4>Your claim decision is ready</h4> <p>VA sent you a claim decision by U.S mail. Please allow up ...
0f515974cb85e1c948bbdaae7874fd853ce35e56
{{cookiecutter.project_slug}}/setup.cfg
{{cookiecutter.project_slug}}/setup.cfg
[flake8] max-line-length = 120 exclude = .tox,.git,*/migrations/*,*/static/CACHE/*,docs,node_modules [pycodestyle] max-line-length = 120 exclude = .tox,.git,*/migrations/*,*/static/CACHE/*,docs,node_modules [mypy] python_version = 3.7 check_untyped_defs = True ignore_errors = False ignore_missing_imports = True stric...
[flake8] max-line-length = 120 exclude = .tox,.git,*/migrations/*,*/static/CACHE/*,docs,node_modules [pycodestyle] max-line-length = 120 exclude = .tox,.git,*/migrations/*,*/static/CACHE/*,docs,node_modules [mypy] python_version = 3.7 check_untyped_defs = True ignore_missing_imports = True warn_unused_ignores = True ...
Remove mypy defaults and set django-stubs setting
Remove mypy defaults and set django-stubs setting https://mypy.readthedocs.io/en/latest/config_file.html ignore_errors = False strict_optional = True Are both set to these values by default. No need to set them in the config. ```toml [mypy.plugins.django-stubs] django_settings_module = config.settings.local ``` myp...
INI
bsd-3-clause
Parbhat/cookiecutter-django-foundation,Parbhat/cookiecutter-django-foundation,pydanny/cookiecutter-django,trungdong/cookiecutter-django,ryankanno/cookiecutter-django,ryankanno/cookiecutter-django,Parbhat/cookiecutter-django-foundation,pydanny/cookiecutter-django,pydanny/cookiecutter-django,trungdong/cookiecutter-django...
ini
## Code Before: [flake8] max-line-length = 120 exclude = .tox,.git,*/migrations/*,*/static/CACHE/*,docs,node_modules [pycodestyle] max-line-length = 120 exclude = .tox,.git,*/migrations/*,*/static/CACHE/*,docs,node_modules [mypy] python_version = 3.7 check_untyped_defs = True ignore_errors = False ignore_missing_impo...
2d80e2a5aa3b6d5899f85e8fada998f5a96fa169
project_template/src/store.js
project_template/src/store.js
import { createStore, combineReducers } from "redux"; import { welcome } from "src/modules/welcome/reducer"; const rootReducer = combineReducers({ welcome // additional reducers would be added here }); const store = createStore( rootReducer, window.devToolsExtension ? window.devToolsExtension() : f => f ); e...
import { createStore, combineReducers } from "redux"; import { welcome } from "src/modules/welcome/reducer"; const rootReducer = combineReducers({ welcome // additional reducers would be added here }); const store = createStore( rootReducer, window.__REDUX_DEVTOOLS_EXTENSION__ ? window.__REDUX_DEVTOOLS_EX...
Update Redux DevTools Extension reference
Update Redux DevTools Extension reference
JavaScript
mit
kabisa/maji,kabisa/maji,kabisa/maji
javascript
## Code Before: import { createStore, combineReducers } from "redux"; import { welcome } from "src/modules/welcome/reducer"; const rootReducer = combineReducers({ welcome // additional reducers would be added here }); const store = createStore( rootReducer, window.devToolsExtension ? window.devToolsExtension(...
f9d39f7008e220e038816cd4a39255fcc0a78729
_config.yml
_config.yml
url: http://emory-lits-labs.github.io/annotator-meltdown/
url: http://emory-lits-labs.github.io/annotator-meltdown/ exclude: ['node_modules']
Exclude node modules from jekyll site
Exclude node modules from jekyll site
YAML
apache-2.0
emory-lits-labs/annotator-meltdown,emory-lits-labs/annotator-meltdown
yaml
## Code Before: url: http://emory-lits-labs.github.io/annotator-meltdown/ ## Instruction: Exclude node modules from jekyll site ## Code After: url: http://emory-lits-labs.github.io/annotator-meltdown/ exclude: ['node_modules']
c3fea138dfd97ea2404e9861cd79f2098f457772
CONTRIBUTING.rst
CONTRIBUTING.rst
Contributing ============ Firstly, thank you for making it this far. We really appreciate anyone who even thinks about reporting an issue or helping out with the code or docs. It is kind of you to take the time. Please Provide a Comment Example -------------------------------- If you're having trouble with how the ...
Contributing ============ Firstly, thank you for making it this far. We really appreciate anyone who even thinks about reporting an issue or helping out with the code or docs. It is kind of you to take the time. Please Provide an Example ------------------------- If you're having trouble with how the contents of a ...
Add reminder section to contributing guidelines
Add reminder section to contributing guidelines
reStructuredText
bsd-3-clause
AnthonyTruchet/breathe,kirbyfan64/breathe,AnthonyTruchet/breathe,RR2DO2/breathe,kirbyfan64/breathe,kirbyfan64/breathe,RR2DO2/breathe,AnthonyTruchet/breathe,AnthonyTruchet/breathe,kirbyfan64/breathe
restructuredtext
## Code Before: Contributing ============ Firstly, thank you for making it this far. We really appreciate anyone who even thinks about reporting an issue or helping out with the code or docs. It is kind of you to take the time. Please Provide a Comment Example -------------------------------- If you're having troub...
7a0768898525eae077f6fe067ae285f667fda2ce
packages/un/unicode.yaml
packages/un/unicode.yaml
homepage: http://code.haskell.org/~thielema/unicode/ changelog-type: '' hash: b4e5c1f57f15f613d7d10f33922ac2e8c99da46a12e88b3f9563bd644f8c1a93 test-bench-deps: unicode: -any base: -any utility-ht: ! '>=0.0.1 && <0.1' containers: -any maintainer: Henning Thielemann <haskell@henning-thielemann.de> synopsis: Const...
homepage: http://hub.darcs.net/thielema/unicode/ changelog-type: '' hash: 2812c0d35f6315e0e23ea9eb2483e74fed2186b842adad1d7c5240ba543c1e02 test-bench-deps: unicode: -any base: -any utility-ht: ! '>=0.0.1 && <0.1' containers: -any maintainer: Henning Thielemann <haskell@henning-thielemann.de> synopsis: Construct...
Update from Hackage at 2018-02-17T22:20:47Z
Update from Hackage at 2018-02-17T22:20:47Z
YAML
mit
commercialhaskell/all-cabal-metadata
yaml
## Code Before: homepage: http://code.haskell.org/~thielema/unicode/ changelog-type: '' hash: b4e5c1f57f15f613d7d10f33922ac2e8c99da46a12e88b3f9563bd644f8c1a93 test-bench-deps: unicode: -any base: -any utility-ht: ! '>=0.0.1 && <0.1' containers: -any maintainer: Henning Thielemann <haskell@henning-thielemann.de>...
4e76d0e95005e51f9cba5070798cd2076445f74f
recipes/default.rb
recipes/default.rb
include_recipe "mono4::_#{node['platform_family']}" if platform_family?('rhel', 'fedora') include_recipe 'yum' include_recipe 'yum-epel' elsif platform_family?('debian') include_recipe 'apt' else raise "Platform #{node['platform']} not supported" end if node['mono4']['install_method'] == 'source' include_re...
include_recipe "mono4::_#{node['platform_family']}" if platform_family?('rhel', 'fedora') include_recipe 'yum' include_recipe 'yum-epel' elsif platform_family?('debian') include_recipe 'apt' else raise "Platform #{node['platform']} not supported" end if node['mono4']['install_method'] == 'source' include_re...
Remove not required string interpolation
Remove not required string interpolation
Ruby
apache-2.0
shirhatti/mono4-coobook,stonevil/mono4-coobook
ruby
## Code Before: include_recipe "mono4::_#{node['platform_family']}" if platform_family?('rhel', 'fedora') include_recipe 'yum' include_recipe 'yum-epel' elsif platform_family?('debian') include_recipe 'apt' else raise "Platform #{node['platform']} not supported" end if node['mono4']['install_method'] == 'sour...
f750efdc3b088b8748d6ba3ff1d8e6e8a0510139
common/DbConst.js
common/DbConst.js
class DbConst { // no support for static contants, declare then after the class definition } DbConst.DB_NAME = "FormHistoryControl"; DbConst.DB_VERSION = 1; DbConst.DB_STORE_TEXT = 'text_history'; DbConst.DB_STORE_ELEM = 'elem_history'; DbConst.DB_TEXT_IDX_FIELD = 'by_fieldkey'; DbConst.DB_TEXT_IDX_NAME = 'by_name...
class DbConst { // no support for static contants, declare then after the class definition } DbConst.DB_NAME = "FormHistoryControl"; DbConst.DB_VERSION = 1; DbConst.DB_STORE_TEXT = 'text_history'; DbConst.DB_STORE_ELEM = 'elem_history'; DbConst.DB_TEXT_IDX_FIELD = 'by_fieldkey'; DbConst.DB_TEXT_IDX_NAME = 'by_name...
Enable storing multiple versions for the same multiline field
Enable storing multiple versions for the same multiline field
JavaScript
mit
stephanmahieu/formhistorycontrol-2,stephanmahieu/formhistorycontrol-2,stephanmahieu/formhistorycontrol-2
javascript
## Code Before: class DbConst { // no support for static contants, declare then after the class definition } DbConst.DB_NAME = "FormHistoryControl"; DbConst.DB_VERSION = 1; DbConst.DB_STORE_TEXT = 'text_history'; DbConst.DB_STORE_ELEM = 'elem_history'; DbConst.DB_TEXT_IDX_FIELD = 'by_fieldkey'; DbConst.DB_TEXT_IDX...
7da5738d37f3e8067359de13612b42e914a397ca
README.md
README.md
**Notice:** texit is no longer live. If you'd like to host it, please contact me via email at zach@zachlatta.com or create a GitHub issue. --- A simple web service that makes beautiful typesetting easy anywhere on the web. ## Usage ### Equations Get rendered SVG of provided LaTeX equation. http://tex.sh/tex/...
A simple web service that makes beautiful typesetting easy anywhere on the web. ## Usage ### Equations Get rendered SVG of provided LaTeX equation. https://texit.apps.zachlatta.com/tex/$<latex goes here>$ #### Markdown Example You'll have to escape backslashes and friends when using Markdown. ![Discrete...
Deploy the application and fix example links.
Deploy the application and fix example links.
Markdown
mit
texit/texit,texit/texit,texit/texit,texit/texit
markdown
## Code Before: **Notice:** texit is no longer live. If you'd like to host it, please contact me via email at zach@zachlatta.com or create a GitHub issue. --- A simple web service that makes beautiful typesetting easy anywhere on the web. ## Usage ### Equations Get rendered SVG of provided LaTeX equation. ht...
87a5419d9717d641bf4c30740d2d431f4fd7a478
setup.py
setup.py
import os from setuptools import setup from setuptools import find_packages here = os.path.abspath(os.path.dirname(__file__)) README = open(os.path.join(here, "README.txt")).read() CHANGES = open(os.path.join(here, "CHANGES.txt")).read() requires = [ "pyramid", "SQLAlchemy", "transaction", "repoze.t...
import os from setuptools import setup from setuptools import find_packages here = os.path.abspath(os.path.dirname(__file__)) README = open(os.path.join(here, "README.txt")).read() CHANGES = open(os.path.join(here, "CHANGES.txt")).read() requires = [ "pyramid", ] entry_points = """ [paste.paster_create...
Delete all formal dependencies except 'pyramid'.
Delete all formal dependencies except 'pyramid'.
Python
mit
Pylons/akhet,hlwsmith/akhet,Pylons/akhet,hlwsmith/akhet,hlwsmith/akhet
python
## Code Before: import os from setuptools import setup from setuptools import find_packages here = os.path.abspath(os.path.dirname(__file__)) README = open(os.path.join(here, "README.txt")).read() CHANGES = open(os.path.join(here, "CHANGES.txt")).read() requires = [ "pyramid", "SQLAlchemy", "transaction...
b9f0b9e3f4dfea13ccaa4754d3cd534b3743300d
lib/parsley_simple_form/simple_form_adapt.rb
lib/parsley_simple_form/simple_form_adapt.rb
module ParsleySimpleForm class SimpleFormAdapt < SimpleForm::FormBuilder map_type :presence_validation, to: ParsleySimpleForm::Validators::Presence map_type :length_validation, to: ParsleySimpleForm::Validators::Length map_type :numericality_validation, to: ParsleySimpleForm::Validators::Numericality ...
module ParsleySimpleForm class SimpleFormAdapt < SimpleForm::FormBuilder map_type :presence_validation, to: ParsleySimpleForm::Validators::Presence map_type :length_validation, to: ParsleySimpleForm::Validators::Length map_type :numericality_validation, to: ParsleySimpleForm::Validators::Numericality ...
Add ability to search validator custom with module Validators::Custom
Add ability to search validator custom with module Validators::Custom
Ruby
mit
formaweb/parsley_simple_form
ruby
## Code Before: module ParsleySimpleForm class SimpleFormAdapt < SimpleForm::FormBuilder map_type :presence_validation, to: ParsleySimpleForm::Validators::Presence map_type :length_validation, to: ParsleySimpleForm::Validators::Length map_type :numericality_validation, to: ParsleySimpleForm::Validators::N...
a8ba117f27dcbdac52d42a580c1c8bd0dd25a3d7
_config.yml
_config.yml
markdown: kramdown permalink: /blog/:year/:title/ relative_permalinks: true exclude: - CNAME - Gemfile - LICENSE - Rakefile - README.md - vendor/ layouts: ./_noita noita: name: Noita description: Jekyll theme built with Foundation author: name: Anatol Broder url: http://penibelst.de/ lang:...
markdown: kramdown permalink: /blog/:year/:title/ relative_permalinks: true exclude: - CNAME - Gemfile - LICENSE - Rakefile - README.md - vendor/ - vnu/ - vnu.zip layouts: ./_noita noita: name: Noita description: Jekyll theme built with Foundation author: name: Anatol Broder url: http://...
Exclude vnu from the build
Exclude vnu from the build
YAML
mit
mariagwyn/jekyll-noita,penibelst/jekyll-noita,mariagwyn/jekyll-noita
yaml
## Code Before: markdown: kramdown permalink: /blog/:year/:title/ relative_permalinks: true exclude: - CNAME - Gemfile - LICENSE - Rakefile - README.md - vendor/ layouts: ./_noita noita: name: Noita description: Jekyll theme built with Foundation author: name: Anatol Broder url: http://penib...
14836a955d0c9b8a2790cc295d94cdf660ee2d5f
lib/refinery_initializer.rb
lib/refinery_initializer.rb
REFINERY_ROOT = File.join File.dirname(__FILE__), '..' unless REFINERY_ROOT == RAILS_ROOT # e.g. only if we're in a gem. $LOAD_PATH.unshift "#{REFINERY_ROOT}/vendor/plugins" $LOAD_PATH.unshift "#{REFINERY_ROOT}/vendor/plugins/refinery/lib" require 'refinery' require 'refinery/initializer' end
dir_parts = (File.join File.dirname(__FILE__), '..').split(File::SEPARATOR) dir_parts = dir_parts[0..(dir_parts.length-3)] until dir_parts[dir_parts.length-1] != ".." REFINERY_ROOT = File.join dir_parts unless REFINERY_ROOT == RAILS_ROOT # e.g. only if we're in a gem. $LOAD_PATH.unshift "#{REFINERY_ROOT}/vendor/plug...
Remove any dir/.. in REFINERY_ROOT which are ugly and useless.
Remove any dir/.. in REFINERY_ROOT which are ugly and useless.
Ruby
mit
mlinfoot/refinerycms,donabrams/refinerycms,SmartMedia/refinerycms-with-custom-icons,LytayTOUCH/refinerycms,mlinfoot/refinerycms,mkaplan9/refinerycms,bricesanchez/refinerycms,chrise86/refinerycms,mabras/refinerycms,mojarra/myrefinerycms,trevornez/refinerycms,kappiah/refinerycms,simi/refinerycms,simi/refinerycms,hoopla-s...
ruby
## Code Before: REFINERY_ROOT = File.join File.dirname(__FILE__), '..' unless REFINERY_ROOT == RAILS_ROOT # e.g. only if we're in a gem. $LOAD_PATH.unshift "#{REFINERY_ROOT}/vendor/plugins" $LOAD_PATH.unshift "#{REFINERY_ROOT}/vendor/plugins/refinery/lib" require 'refinery' require 'refinery/initializer' en...
9b37a3ea4bc3123ec9f8e2c8be7bd150768047a3
db/migrate/20170611131130_add_parliament_id_to_archived_petitions.rb
db/migrate/20170611131130_add_parliament_id_to_archived_petitions.rb
class AddParliamentIdToArchivedPetitions < ActiveRecord::Migration class Parliament < ActiveRecord::Base; end class ArchivedPetition < ActiveRecord::Base; end def up add_column :archived_petitions, :parliament_id, :integer add_index :archived_petitions, :parliament_id add_foreign_key :archived_petiti...
class AddParliamentIdToArchivedPetitions < ActiveRecord::Migration class Parliament < ActiveRecord::Base; end class ArchivedPetition < ActiveRecord::Base; end def up add_column :archived_petitions, :parliament_id, :integer add_index :archived_petitions, :parliament_id add_foreign_key :archived_petiti...
Reset column information in migration
Reset column information in migration When running `rake db:migrate` from scratch Rails will load the column information for a table and cache it so when the model is used a second time the column information is stale and a previously added column is not found. Fix this by resetting the column information before usin...
Ruby
mit
alphagov/e-petitions,oskarpearson/e-petitions,unboxed/e-petitions,StatesOfJersey/e-petitions,unboxed/e-petitions,alphagov/e-petitions,StatesOfJersey/e-petitions,StatesOfJersey/e-petitions,joelanman/e-petitions,unboxed/e-petitions,StatesOfJersey/e-petitions,unboxed/e-petitions,joelanman/e-petitions,oskarpearson/e-petiti...
ruby
## Code Before: class AddParliamentIdToArchivedPetitions < ActiveRecord::Migration class Parliament < ActiveRecord::Base; end class ArchivedPetition < ActiveRecord::Base; end def up add_column :archived_petitions, :parliament_id, :integer add_index :archived_petitions, :parliament_id add_foreign_key ...
c51bd527554dd98d0a8328183bb79d4d44ba1181
app/views/rapidfire/questions/index.html.erb
app/views/rapidfire/questions/index.html.erb
<div class='container survey__edit'> <div class='section-header'> <h1> Editing Questions in <%= @question_group.name %></h1> <div class='survey__admin-tools'> <%= link_to "Preview Question Group", new_question_group_answer_group_path(@question_group) %> </div> </div> <div class='survey__questions-list'> <% if @ques...
<div class='container survey__edit'> <div class='section-header'> <h1> Editing Questions in <%= @question_group.name %></h1> <div class='survey__admin-tools'> <%= link_to "Preview Question Group", new_question_group_answer_group_path(@question_group) + '?preview' %> </div> </div> <div class='survey__questions-list'> ...
Add ?preview to "Preview Question Group" link
Add ?preview to "Preview Question Group" link There's probably a better way to do this, but this works. Resolves #767
HTML+ERB
mit
majakomel/WikiEduDashboard,sejalkhatri/WikiEduDashboard,Wowu/WikiEduDashboard,alpha721/WikiEduDashboard,Wowu/WikiEduDashboard,WikiEducationFoundation/WikiEduDashboard,sejalkhatri/WikiEduDashboard,MusikAnimal/WikiEduDashboard,sejalkhatri/WikiEduDashboard,majakomel/WikiEduDashboard,feelfreelinux/WikiEduDashboard,KarmaHat...
html+erb
## Code Before: <div class='container survey__edit'> <div class='section-header'> <h1> Editing Questions in <%= @question_group.name %></h1> <div class='survey__admin-tools'> <%= link_to "Preview Question Group", new_question_group_answer_group_path(@question_group) %> </div> </div> <div class='survey__questions-list...
4096fb8c0d55b0e7b7fd273438d035dd54ec2332
includes/templates/simple.tpl
includes/templates/simple.tpl
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <title>{$browser_title}</title> <meta name="description" content=""> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="/mini-default....
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <title>{$browser_title}</title> <meta name="description" content=""> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="/mini-default....
Add a search box to every page
Add a search box to every page Closes #110.
Smarty
mit
openva/vabusinesses.org,openva/vabusinesses.org
smarty
## Code Before: <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <title>{$browser_title}</title> <meta name="description" content=""> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href...
3c4b2a07c509c7031e7e914729982fc3431872d9
server.js
server.js
'use strict'; const express = require('express'); const app = express(); const path = require('path'); const twilio = require('twilio'); const bodyparser = require('body-parser'); const onConnect = require('./lib/socket').onConnect; const twilioRoute = require('./lib/twilio'); app.use(express.static(path.join(__dirn...
'use strict'; const express = require('express'); const app = express(); const path = require('path'); const twilio = require('twilio'); const bodyparser = require('body-parser'); const onConnect = require('./lib/socket').onConnect; const twilioRoute = require('./lib/twilio'); app.use(express.static(path.join(__dirn...
Switch json for url parser
Switch json for url parser
JavaScript
apache-2.0
peterjuras/askeighty,peterjuras/askeighty
javascript
## Code Before: 'use strict'; const express = require('express'); const app = express(); const path = require('path'); const twilio = require('twilio'); const bodyparser = require('body-parser'); const onConnect = require('./lib/socket').onConnect; const twilioRoute = require('./lib/twilio'); app.use(express.static(...
5c6f950fcfba27fc913af5392d222400dcceee2f
node-iterator-shim.js
node-iterator-shim.js
export default function createNodeIterator(root, whatToShow, filter = null) { var iter = _create.call(window.document, root, whatToShow, filter, false); return typeof(iter.referenceNode) === 'undefined' ? shim(iter, root) : iter; } function shim(iter, root) { var _referenceNode = root; var _pointerBeforeRefer...
export default function createNodeIterator(root, whatToShow, filter = null) { let document = root.ownerDocument; var iter = document.createNodeIterator(root, whatToShow, filter, false); return typeof(iter.referenceNode) === 'undefined' ? shim(iter, root) : iter; } function shim(iter, root) { var _referenceNod...
Fix bad invocation of old, dead code
Fix bad invocation of old, dead code
JavaScript
mit
tilgovi/node-iterator-shim,tilgovi/dom-node-iterator
javascript
## Code Before: export default function createNodeIterator(root, whatToShow, filter = null) { var iter = _create.call(window.document, root, whatToShow, filter, false); return typeof(iter.referenceNode) === 'undefined' ? shim(iter, root) : iter; } function shim(iter, root) { var _referenceNode = root; var _po...
0c66e645db9802f1d285e1cf5805a62ad27f82ee
pontoon/base/templates/project_selector.html
pontoon/base/templates/project_selector.html
{% if projects|length > 0 %} <!-- Project input/select --> <div class="project select"> <div class="button breadcrumbs selector"> {% if project and project.name != '' %} <span class="title" data-slug="{{ project.slug }}">{{ project.name }}</span> {% else %} <span class="title">Select website</span> ...
{% if projects|length > 0 %} <!-- Project input/select --> <div class="project select"> <div class="button breadcrumbs selector"> {% if project and project.name != '' %} <span class="title" data-slug="{{ project.slug }}">{{ project.name }}</span> {% else %} <span class="title">Select website</span> ...
Sort projects in the projects menu alphabetically
Sort projects in the projects menu alphabetically
HTML
bsd-3-clause
Jobava/mirror-pontoon,Osmose/pontoon,jotes/pontoon,yfdyh000/pontoon,Jobava/mirror-pontoon,vivekanand1101/pontoon,m8ttyB/pontoon,mozilla/pontoon,mastizada/pontoon,m8ttyB/pontoon,vivekanand1101/pontoon,mozilla/pontoon,Osmose/pontoon,mozilla/pontoon,jotes/pontoon,participedia/pontoon,jotes/pontoon,participedia/pontoon,par...
html
## Code Before: {% if projects|length > 0 %} <!-- Project input/select --> <div class="project select"> <div class="button breadcrumbs selector"> {% if project and project.name != '' %} <span class="title" data-slug="{{ project.slug }}">{{ project.name }}</span> {% else %} <span class="title">Select w...
e47bdd93a8909f20e7a6c9abc79ec835aede01e9
requirements.txt
requirements.txt
lxml==3.4.0 pytz==2014.7 vcrpy==1.1.1 raven==5.0.0 invoke==0.9.0 celery==3.1.15 requests==2.4.1 nameparser==0.3.3 python-dateutil==2.2 fluent-logger==0.3.4 elasticsearch==1.3.0 cassandra-driver==2.5.1 Flask==0.10.1 blist==1.3.6 furl==0.4.4 jsonschema==2.4.0 jsonpointer==1.7 pycountry==1.10 djangorestframework==3.1.3 Dj...
lxml==3.4.0 pytz==2014.7 vcrpy==1.1.1 raven==5.0.0 invoke==0.9.0 celery==3.1.15 requests==2.4.1 nameparser==0.3.3 python-dateutil==2.2 fluent-logger==0.3.4 elasticsearch==1.3.0 cassandra-driver==2.5.1 Flask==0.10.1 blist==1.3.6 furl==0.4.4 jsonschema==2.4.0 jsonpointer==1.7 pycountry==1.10 djangorestframework==3.1.3 Dj...
Add back psycopg2 for django jsonfield
Add back psycopg2 for django jsonfield
Text
apache-2.0
felliott/scrapi,fabianvf/scrapi,CenterForOpenScience/scrapi,mehanig/scrapi,mehanig/scrapi,erinspace/scrapi,erinspace/scrapi,CenterForOpenScience/scrapi,felliott/scrapi,fabianvf/scrapi
text
## Code Before: lxml==3.4.0 pytz==2014.7 vcrpy==1.1.1 raven==5.0.0 invoke==0.9.0 celery==3.1.15 requests==2.4.1 nameparser==0.3.3 python-dateutil==2.2 fluent-logger==0.3.4 elasticsearch==1.3.0 cassandra-driver==2.5.1 Flask==0.10.1 blist==1.3.6 furl==0.4.4 jsonschema==2.4.0 jsonpointer==1.7 pycountry==1.10 djangorestfra...
f9b2f8cd60af9b37ad80db10c42b36059ca5a10f
tests/unit/core/migrations_tests.py
tests/unit/core/migrations_tests.py
import os from django.test import TestCase import oscar.apps class TestMigrations(TestCase): def check_for_auth_model(self, filepath): with open(filepath) as f: s = f.read() return 'auth.User' in s or 'auth.user' in s def test_dont_contain_hardcoded_user_model(self): ...
import os import re from django.test import TestCase import oscar.apps class TestMigrations(TestCase): def setUp(self): self.root_path = os.path.dirname(oscar.apps.__file__) self.migration_filenames = [] for path, __, migrations in os.walk(self.root_path): if path.endswith('...
Add unit test for duplicate migration numbers
Add unit test for duplicate migration numbers Duplicate migration numbers can happen when merging changes from different branches. This test ensures that we address the issue right away.
Python
bsd-3-clause
django-oscar/django-oscar,django-oscar/django-oscar,Bogh/django-oscar,anentropic/django-oscar,pdonadeo/django-oscar,manevant/django-oscar,nickpack/django-oscar,itbabu/django-oscar,jinnykoo/wuyisj.com,faratro/django-oscar,QLGu/django-oscar,eddiep1101/django-oscar,monikasulik/django-oscar,michaelkuty/django-oscar,jmt4/dj...
python
## Code Before: import os from django.test import TestCase import oscar.apps class TestMigrations(TestCase): def check_for_auth_model(self, filepath): with open(filepath) as f: s = f.read() return 'auth.User' in s or 'auth.user' in s def test_dont_contain_hardcoded_user_mo...
b54a143ab00b6eb88cd1fccf31b734413f0fcdc4
main.js
main.js
window.addEventListener("keypress", function (event) { if (window.document.activeElement !== window.document.body) { return; } const keyCode = event.code; if (keyCode.indexOf("Digit") !== 0) { return; } const digit = Number(keyCode[5]); if (digit < 0 || digit > 9) { ...
window.addEventListener("keydown", function handleNavigation (event) { if (window.document.activeElement !== window.document.body) { return; } const keyCode = event.code; if (keyCode.indexOf("Digit") !== 0) { return; } const digit = Number(keyCode[5]); if (digit < 0 || digi...
Handle navigation on keydown instead of keypress to work around automatic input focus acquisition.
Handle navigation on keydown instead of keypress to work around automatic input focus acquisition.
JavaScript
mit
iwehrman/google-search-result-hotkeys
javascript
## Code Before: window.addEventListener("keypress", function (event) { if (window.document.activeElement !== window.document.body) { return; } const keyCode = event.code; if (keyCode.indexOf("Digit") !== 0) { return; } const digit = Number(keyCode[5]); if (digit < 0 || digi...
fb6020ad088d30804fbfb4fd7dc8e66d6c8f3b66
SwiftGit2/Libgit2.swift
SwiftGit2/Libgit2.swift
// // Libgit2.swift // SwiftGit2 // // Created by Matt Diephouse on 1/11/15. // Copyright (c) 2015 GitHub, Inc. All rights reserved. // import libgit2 func == (lhs: git_otype, rhs: git_otype) -> Bool { return lhs.rawValue == rhs.rawValue } extension git_strarray { func filter(_ isIncluded: (String) -> Bool) ->...
// // Libgit2.swift // SwiftGit2 // // Created by Matt Diephouse on 1/11/15. // Copyright (c) 2015 GitHub, Inc. All rights reserved. // import libgit2 extension git_strarray { func filter(_ isIncluded: (String) -> Bool) -> [String] { return map { $0 }.filter(isIncluded) } func map<T>(_ transform: (String) -...
Use default == implementation for git_otype
Use default == implementation for git_otype
Swift
mit
SwiftGit2/SwiftGit2,mattrubin/SwiftGit2,SwiftGit2/SwiftGit2,mattrubin/SwiftGit2
swift
## Code Before: // // Libgit2.swift // SwiftGit2 // // Created by Matt Diephouse on 1/11/15. // Copyright (c) 2015 GitHub, Inc. All rights reserved. // import libgit2 func == (lhs: git_otype, rhs: git_otype) -> Bool { return lhs.rawValue == rhs.rawValue } extension git_strarray { func filter(_ isIncluded: (Str...
cff40df709cd65b18632f518c881ff07de01761f
tox.ini
tox.ini
[tox] envlist = py24,py25,py26,py27,py31 [testenv] deps=unittest2 commands=unit2 discover [] [testenv:py26] commands= unit2 discover [] sphinx-build -b doctest docs html sphinx-build docs html deps = unittest2 sphinx [testenv:py27] commands= unit2 discover [] sphinx-build -b doctest docs...
[tox] envlist = py24,py25,py26,py27,py31 [testenv] deps=unittest2 commands=unit2 discover [] [testenv:py26] commands= unit2 discover [] sphinx-build -b doctest docs html sphinx-build docs html deps = unittest2 sphinx [testenv:py27] commands= unit2 discover [] sphinx-build -b doctest docs...
Remove unnecessary sphinx docs build for 2.7 (only need to test the docs build on one version of Python)
Remove unnecessary sphinx docs build for 2.7 (only need to test the docs build on one version of Python)
INI
bsd-2-clause
derwiki-adroll/mock,testing-cabal/mock,lord63-forks/mock,nett55/mock,fladi/mock,rbtcollins/mock,johndeng/mock,kostyll/mock,pypingou/mock,dannybtran/mock,OddBloke/mock,scorphus/mock,sorenh/mock,frankier/mock
ini
## Code Before: [tox] envlist = py24,py25,py26,py27,py31 [testenv] deps=unittest2 commands=unit2 discover [] [testenv:py26] commands= unit2 discover [] sphinx-build -b doctest docs html sphinx-build docs html deps = unittest2 sphinx [testenv:py27] commands= unit2 discover [] sphinx-build...
0538b5948d6da4726e96d56365950b6a7d5957e2
app/views/categories/articles.html.erb
app/views/categories/articles.html.erb
<h1>Category: <%= @category.category %></h1> <h2>Articles:</h2> <% @articles.each do |article| %> <h3><%= article.title %></h3> <p><%= article.text %></p> <p class="attributes">Posted by <%= article.username %></p> <p class="attributes"> <%= link_to 'Comments', article_path(article) %> (<%= articl...
<h1>Category: <%= @category.category %></h1> <h2>Articles:</h2> <% @articles.each do |article| %> <h3><%= article.title %></h3> <p><%= simple_format(article.text) %></p> <p class="attributes">Posted by <%= article.username %></p> <p class="attributes"> <%= link_to 'Comments', article_path(article)...
Add simple_format for articles to categories
Add simple_format for articles to categories
HTML+ERB
mit
arseniy96/my_first_site,arseniy96/my_first_site,arseniy96/my_first_site
html+erb
## Code Before: <h1>Category: <%= @category.category %></h1> <h2>Articles:</h2> <% @articles.each do |article| %> <h3><%= article.title %></h3> <p><%= article.text %></p> <p class="attributes">Posted by <%= article.username %></p> <p class="attributes"> <%= link_to 'Comments', article_path(article...
13e03e390a70a34487e9b81ea7184ec92a3b504d
.forestry/front_matter/templates/blog-post.yml
.forestry/front_matter/templates/blog-post.yml
--- label: Blog post hide_body: false fields: - type: text name: layout label: layout - type: text name: title label: title - type: datetime name: date label: date - type: text name: categories label: categories
--- label: Blog post hide_body: false fields: - type: text name: layout label: layout config: required: true default: post description: Page layout - type: text name: title label: title description: Post title config: required: true - type: datetime name: date label: date default: now ...
Update from Forestry.io - Updated Forestry configuration
Update from Forestry.io - Updated Forestry configuration
YAML
apache-2.0
rossng/rossng.github.io,rossng/rossng.github.io
yaml
## Code Before: --- label: Blog post hide_body: false fields: - type: text name: layout label: layout - type: text name: title label: title - type: datetime name: date label: date - type: text name: categories label: categories ## Instruction: Update from Forestry.io - Updated Forestry configuration #...
389c6980267e77cc1a2bef26c2c42ca115d7bc6d
administrator-guides/integrations/jira/README.md
administrator-guides/integrations/jira/README.md
_notify on issue creation, deletion and status, resolution, comment or priority changes._ 1. In Rocket.Chat go to "Administration"->"Integrations" and create "New Integration" 2. Choose Incoming WebHook 3. Follow all instructions like Enable, give it a name, link to channel etc. Set "Enable Script" to true and enter ...
_notify on issue creation, deletion and status, resolution, comment or priority changes._ 1. In Rocket.Chat go to "Administration"->"Integrations" and create "New Integration" 2. Choose Incoming WebHook 3. Follow all instructions like Enable, give it a name, link to channel etc. Set "Enable Script" to true and enter ...
Update link to JIRA incoming script
Update link to JIRA incoming script
Markdown
mit
RocketChat/Rocket.Chat.Docs,RocketChat/Rocket.Chat.Docs,RocketChat/Rocket.Chat.Docs,RocketChat/Rocket.Chat.Docs
markdown
## Code Before: _notify on issue creation, deletion and status, resolution, comment or priority changes._ 1. In Rocket.Chat go to "Administration"->"Integrations" and create "New Integration" 2. Choose Incoming WebHook 3. Follow all instructions like Enable, give it a name, link to channel etc. Set "Enable Script" to...
78093b0e496001fc1d76af8bf2e22310fb635cbe
app/views/shared/proposals/_tags_form.html.haml
app/views/shared/proposals/_tags_form.html.haml
.widget-header %h3 Review Tags .widget-content %fieldset = form_for proposal, url: event_staff_proposal_path(event, proposal), html: {role: 'form', remote: true} do |f| .form-group .tag-list = f.select :review_tags, options_for_select(event.review_tags, proposal.object.review...
.widget-header %h3 Review Tags .widget-content %fieldset = form_for proposal, url: event_staff_proposal_path(event, proposal), html: {role: 'form', remote: true} do |f| .form-group .tag-list = f.select :review_tags, options_for_select(event.review_tags, proposal.object.review...
Move button to avoid collision with long tags list
Move button to avoid collision with long tags list
Haml
mit
rubycentral/cfp-app,ruby-no-kai/cfp-app,ruby-no-kai/cfp-app,ruby-no-kai/cfp-app,rubycentral/cfp-app,rubycentral/cfp-app
haml
## Code Before: .widget-header %h3 Review Tags .widget-content %fieldset = form_for proposal, url: event_staff_proposal_path(event, proposal), html: {role: 'form', remote: true} do |f| .form-group .tag-list = f.select :review_tags, options_for_select(event.review_tags, propos...
3679a62c59dde625a18416f15aadaa6845bc8cfd
NSData+ImageMIMEDetection/NSData+ImageMIMEDetection.h
NSData+ImageMIMEDetection/NSData+ImageMIMEDetection.h
@interface NSData (ImageMIMEDetection) @end
@interface NSData (ImageMIMEDetection) /** Try to deduce the MIME type. @return string representation of detected MIME type. `nil` if not able to detect the MIME type. @see http://en.wikipedia.org/wiki/Internet_media_type */ - (NSString *)tdt_MIMEType; @end
Add interface for the category
Add interface for the category
C
bsd-3-clause
talk-to/NSData-TDTImageMIMEDetection
c
## Code Before: @interface NSData (ImageMIMEDetection) @end ## Instruction: Add interface for the category ## Code After: @interface NSData (ImageMIMEDetection) /** Try to deduce the MIME type. @return string representation of detected MIME type. `nil` if not able to detect the MIME type. @see http://en.wik...
410d1afe0776383e7e759942721fdf533ab79a71
PHPCI/Logging/BuildDBLogHandler.php
PHPCI/Logging/BuildDBLogHandler.php
<?php /** * PHPCI - Continuous Integration for PHP * * @copyright Copyright 2014, Block 8 Limited. * @license https://github.com/Block8/PHPCI/blob/master/LICENSE.md * @link https://www.phptesting.org/ */ namespace PHPCI\Logging; use b8\Store; use Monolog\Handler\AbstractProcessingHandler; use PH...
<?php /** * PHPCI - Continuous Integration for PHP * * @copyright Copyright 2014, Block 8 Limited. * @license https://github.com/Block8/PHPCI/blob/master/LICENSE.md * @link https://www.phptesting.org/ */ namespace PHPCI\Logging; use b8\Store\Factory; use Monolog\Handler\AbstractProcessingHandler...
Save the build log every time the log is updated.
Save the build log every time the log is updated.
PHP
bsd-2-clause
php-censor/php-censor,corpsee/php-censor,corpsee/php-censor,php-censor/php-censor,corpsee/php-censor,php-censor/php-censor
php
## Code Before: <?php /** * PHPCI - Continuous Integration for PHP * * @copyright Copyright 2014, Block 8 Limited. * @license https://github.com/Block8/PHPCI/blob/master/LICENSE.md * @link https://www.phptesting.org/ */ namespace PHPCI\Logging; use b8\Store; use Monolog\Handler\AbstractProcessin...
b8f70f1d8575c3177c56a196f7d884362d10a401
core/res/values/dimens.xml
core/res/values/dimens.xml
<?xml version="1.0" encoding="utf-8"?> <resources> <!-- As defined: http://developer.android.com/design/style/typography.html --> <dimen name="text_micro">12sp</dimen> <dimen name="text_small">14sp</dimen> <dimen name="text_medium">18sp</dimen> <dimen name="text_large">22sp</dimen> <!-- As ...
<?xml version="1.0" encoding="utf-8"?> <resources> <!-- As defined: http://developer.android.com/design/style/typography.html --> <dimen name="text_micro">12sp</dimen> <dimen name="text_small">14sp</dimen> <dimen name="text_medium">18sp</dimen> <dimen name="text_large">22sp</dimen> <!-- As ...
Add some material design constants
Add some material design constants
XML
apache-2.0
kquan/android-utils
xml
## Code Before: <?xml version="1.0" encoding="utf-8"?> <resources> <!-- As defined: http://developer.android.com/design/style/typography.html --> <dimen name="text_micro">12sp</dimen> <dimen name="text_small">14sp</dimen> <dimen name="text_medium">18sp</dimen> <dimen name="text_large">22sp</dimen> ...