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
6e2d16315b294ff8e5773c16c1007cd205818974
README.md
README.md
A PHP client for Camo - the SSL image proxy. [![Build Status](https://travis-ci.org/willwashburn/CamoClient.svg)](https://travis-ci.org/willwashburn/CamoClient) [![Latest Stable Version](https://poser.pugx.org/willwashburn/camo/v/stable.svg)](https://packagist.org/packages/willwashburn/camo) [![Total Downloads](https:...
[![Build Status](https://travis-ci.org/willwashburn/CamoClient.svg)](https://travis-ci.org/willwashburn/CamoClient) [![Latest Stable Version](https://poser.pugx.org/willwashburn/camo/v/stable.svg)](https://packagist.org/packages/willwashburn/camo) [![Total Downloads](https://poser.pugx.org/willwashburn/camo/downloads.s...
Fix link to camo library
Fix link to camo library
Markdown
mit
willwashburn/phpamo
markdown
## Code Before: A PHP client for Camo - the SSL image proxy. [![Build Status](https://travis-ci.org/willwashburn/CamoClient.svg)](https://travis-ci.org/willwashburn/CamoClient) [![Latest Stable Version](https://poser.pugx.org/willwashburn/camo/v/stable.svg)](https://packagist.org/packages/willwashburn/camo) [![Total D...
e103d80bcd9da220065bd891abcaba34f22c4919
static/js/disclaimer/common.js
static/js/disclaimer/common.js
/*! * Author: Pierre-Henry Soria <hello@ph7cms.com> * Copyright: (c) 2020, Pierre-Henry Soria. All Rights Reserved. * License: GNU General Public License; See PH7.LICENSE.txt and PH7.COPYRIGHT.txt in the root directory. */ const disagreedRedirectLink = "https://google.com"; $(document).ready(func...
/*! * Author: Pierre-Henry Soria <hello@ph7cms.com> * Copyright: (c) 2020, Pierre-Henry Soria. All Rights Reserved. * License: GNU General Public License; See PH7.LICENSE.txt and PH7.COPYRIGHT.txt in the root directory. */ const disagreedRedirectLink = "https://google.com"; // <= URL to show when ...
Use const keyword for object var
Use const keyword for object var
JavaScript
mit
pH7Software/pH7-Social-Dating-CMS,pH7Software/pH7-Social-Dating-CMS,pH7Software/pH7-Social-Dating-CMS,pH7Software/pH7-Social-Dating-CMS
javascript
## Code Before: /*! * Author: Pierre-Henry Soria <hello@ph7cms.com> * Copyright: (c) 2020, Pierre-Henry Soria. All Rights Reserved. * License: GNU General Public License; See PH7.LICENSE.txt and PH7.COPYRIGHT.txt in the root directory. */ const disagreedRedirectLink = "https://google.com"; $(docu...
b2d9b56ceb96718d1f3edc8ec019ca7218e33e7d
src/rnaseq_lib/math/__init__.py
src/rnaseq_lib/math/__init__.py
import numpy as np # Outlier def iqr_bounds(ys): """ Return upper and lower bound for an array of values Lower bound: Q1 - (IQR * 1.5) Upper bound: Q3 + (IQR * 1.5) :param list ys: List of values to calculate IQR :return: Upper and lower bound :rtype: tuple(float, float) """ quar...
import numpy as np # Outlier def iqr_bounds(ys): """ Return upper and lower bound for an array of values Lower bound: Q1 - (IQR * 1.5) Upper bound: Q3 + (IQR * 1.5) :param list ys: List of values to calculate IQR :return: Upper and lower bound :rtype: tuple(float, float) """ quar...
Add docstring for softmax normalization function
Add docstring for softmax normalization function
Python
mit
jvivian/rnaseq-lib,jvivian/rnaseq-lib
python
## Code Before: import numpy as np # Outlier def iqr_bounds(ys): """ Return upper and lower bound for an array of values Lower bound: Q1 - (IQR * 1.5) Upper bound: Q3 + (IQR * 1.5) :param list ys: List of values to calculate IQR :return: Upper and lower bound :rtype: tuple(float, float) ...
8dd74597a0ae1947290619ff03e5fc9f9d33db33
README.md
README.md
cpm-google-test =============== CPM external for google test
cpm-google-test =============== [![Build Status](https://travis-ci.org/iauns/cpm-google-test.png)](https://travis-ci.org/iauns/cpm-google-test) CPM external for google test. Use --- ```c++ #include "gtest/gtest.h" ```
Update readme with travis hook and use clause.
Update readme with travis hook and use clause.
Markdown
mit
iauns/cpm-google-test,iauns/cpm-google-test
markdown
## Code Before: cpm-google-test =============== CPM external for google test ## Instruction: Update readme with travis hook and use clause. ## Code After: cpm-google-test =============== [![Build Status](https://travis-ci.org/iauns/cpm-google-test.png)](https://travis-ci.org/iauns/cpm-google-test) CPM external for...
ba2f79369cafaafb748c4cc8be758615bd295d7b
README.md
README.md
[![Join the chat at https://gitter.im/realjs/algorithms.js](https://badges.gitter.im/realjs/algorithms.js.svg)](https://gitter.im/realjs/algorithms.js?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) Algorithm.JS is a Javascript library providing full implementation of most Computer Science ...
[![Build Status](https://travis-ci.org/realjs/algorithms.js.svg?branch=master)](https://travis-ci.org/realjs/algorithms.js) [![Join the chat at https://gitter.im/realjs/algorithms.js](https://badges.gitter.im/realjs/algorithms.js.svg)](https://gitter.im/realjs/algorithms.js?utm_source=badge&utm_medium=badge&utm_campai...
Add travis CI status image
Add travis CI status image
Markdown
mit
realjs/algorithms.js
markdown
## Code Before: [![Join the chat at https://gitter.im/realjs/algorithms.js](https://badges.gitter.im/realjs/algorithms.js.svg)](https://gitter.im/realjs/algorithms.js?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) Algorithm.JS is a Javascript library providing full implementation of most C...
afa8074ccfc405d91803f946d4dcc878886620d0
WebDriverAgentLib/Utilities/FBConfiguration.h
WebDriverAgentLib/Utilities/FBConfiguration.h
/** * Copyright (c) 2015-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. */ #import <F...
/** * Copyright (c) 2015-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. */ #import <F...
Switch from class property to methods
Switch from class property to methods Summary: Some recent changes use class properties, which break building with Xcode 7. This exposes the same API without the new syntax. Closes https://github.com/facebook/WebDriverAgent/pull/539 Differential Revision: D4880364 Pulled By: marekcirkos fbshipit-source-id: dace4b24...
C
bsd-3-clause
PiranhaTeam/WebDriverAgent,ymin/WebDriverAgent,PiranhaTeam/WebDriverAgent,PiranhaTeam/WebDriverAgent,ymin/WebDriverAgent,ymin/WebDriverAgent,PiranhaTeam/WebDriverAgent,ymin/WebDriverAgent,PiranhaTeam/WebDriverAgent
c
## Code Before: /** * Copyright (c) 2015-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory....
08c84d3e92636445f8ddc6f507d0d3020935ecf2
src/lib.rs
src/lib.rs
pub extern crate fiz_math as math; mod test{ #[allow(unused_imports)] use super::math; #[test] fn crate_names() { assert!(math::equal(1.0, 1.0)); } }
pub extern crate fiz_math as math; mod test{ #[allow(unused_imports)] use super::math::Float; #[test] fn crate_names() { assert!(1.0.equal(1.0)); } }
Update to most recent math API changes.
Update to most recent math API changes.
Rust
bsd-3-clause
fiz3d/fiz
rust
## Code Before: pub extern crate fiz_math as math; mod test{ #[allow(unused_imports)] use super::math; #[test] fn crate_names() { assert!(math::equal(1.0, 1.0)); } } ## Instruction: Update to most recent math API changes. ## Code After: pub extern crate fiz_math as math; mod test{ #[allow(unused_im...
c1db8dbf24dd935e780e5734c372c607f0ad7e16
requirements.txt
requirements.txt
cherrypy >= 3.3.0, < 3.4 decorator >= 3.4.0, < 3.5 netifaces >= 0.10.4, < 0.11 numpy >= 1.9.1, < 1.10 # pyopencv 3.0.0 is in beta and not released to PyPI as of 2015-01-15, so # you'll need to install it manually #pyopencv >= 3.0.0 pyserial >= 2.7.0, < 2.8 ws4py >= 0.3.4, < 0.4
-e git://github.com/bskari/RPIO#egg=RPIO cherrypy >= 3.3.0, < 3.4 decorator >= 3.4.0, < 3.5 netifaces >= 0.10.4, < 0.11 numpy >= 1.9.1, < 1.10 # pyopencv 3.0.0 is in beta and not released to PyPI as of 2015-01-15, so # you'll need to install it manually #pyopencv >= 3.0.0 pyserial >= 2.7.0, < 2.8 ws4py >= 0.3.4, < 0.4
Change RPIO installation to my repo from GitHub
Change RPIO installation to my repo from GitHub
Text
mit
bskari/sparkfun-avc,bskari/sparkfun-avc,bskari/sparkfun-avc,bskari/sparkfun-avc,bskari/sparkfun-avc,bskari/sparkfun-avc
text
## Code Before: cherrypy >= 3.3.0, < 3.4 decorator >= 3.4.0, < 3.5 netifaces >= 0.10.4, < 0.11 numpy >= 1.9.1, < 1.10 # pyopencv 3.0.0 is in beta and not released to PyPI as of 2015-01-15, so # you'll need to install it manually #pyopencv >= 3.0.0 pyserial >= 2.7.0, < 2.8 ws4py >= 0.3.4, < 0.4 ## Instruction: Change R...
289ea87e20553a9d9b6ac6722d8374c1b8eaae13
script/ci_install_deps.sh
script/ci_install_deps.sh
set -ex BUILD_DIR=${TRAVIS_BUILD_DIR} mkdir -p "${DEPENDENCY_DIR}" && cd "${DEPENDENCY_DIR}" #--- GTest if [[ ! -d "${DEPENDENCY_DIR}/googletest" ]] then git clone --depth=1 -b master https://github.com/google/googletest googletest fi cd googletest if [[ "${CXX}" == clang* ]] then BUILD_FLAGS="${BUILD_F...
set -ex BUILD_DIR=${TRAVIS_BUILD_DIR} mkdir -p "${DEPENDENCY_DIR}" && cd "${DEPENDENCY_DIR}" #--- GTest if [[ ! -d "${DEPENDENCY_DIR}/googletest" ]] then git clone --depth=1 -b master https://github.com/google/googletest googletest fi cd googletest if [[ "${CXX}" == clang* ]] then BUILD_FLAGS="${BUILD_F...
Add some Clang cxxabi.h include path.
Add some Clang cxxabi.h include path.
Shell
mit
offa/danek,offa/danek
shell
## Code Before: set -ex BUILD_DIR=${TRAVIS_BUILD_DIR} mkdir -p "${DEPENDENCY_DIR}" && cd "${DEPENDENCY_DIR}" #--- GTest if [[ ! -d "${DEPENDENCY_DIR}/googletest" ]] then git clone --depth=1 -b master https://github.com/google/googletest googletest fi cd googletest if [[ "${CXX}" == clang* ]] then BUILD_...
e20f9559645c6ee8910de4fb27c911dd7f6d140c
.travis.yml
.travis.yml
langauge: python python: 3.5 env: - TOX_ENV=py27 - TOX_ENV=py33 - TOX_ENV=py34 - TOX_ENV=py35 - TOX_ENV=lint sudo: required install: sudo pip install tox script: tox -e $TOX_ENV
langauge: python notifications: email: false python: 3.5 env: - TOX_ENV=py27 - TOX_ENV=py33 - TOX_ENV=py34 - TOX_ENV=py35 - TOX_ENV=lint sudo: required install: sudo pip install tox script: tox -e $TOX_ENV
Stop with the email notifications.
Stop with the email notifications.
YAML
mit
YPlan/treepoem
yaml
## Code Before: langauge: python python: 3.5 env: - TOX_ENV=py27 - TOX_ENV=py33 - TOX_ENV=py34 - TOX_ENV=py35 - TOX_ENV=lint sudo: required install: sudo pip install tox script: tox -e $TOX_ENV ## Instruction: Stop with the email notifications. ## Code After: langauge: python notifications: email: false p...
748d0e1dc897b7103c7c1b057751cbc5ae99c6bf
tests/Unit/MessagePackResponseTest.php
tests/Unit/MessagePackResponseTest.php
<?php use Symfony\Component\HttpFoundation\Response; use App\Http\Response\MessagePackResponse; class MessagePackResponseTest extends TestCase { /** * Message pack response * * @var \App\Http\Response\MessagePackResponse */ protected $response; /** * setUp * * @return ...
<?php use Symfony\Component\HttpFoundation\Response; use App\Http\Response\MessagePackResponse; class MessagePackResponseTest extends TestCase { /** * Message pack response * * @var \App\Http\Response\MessagePackResponse */ protected $response; /** * setUp * * @return ...
Change setData test Let setData assert not equals to origin content.
Change setData test Let setData assert not equals to origin content.
PHP
mit
sc0Vu/lumtify,sc0Vu/lumtify,sc0Vu/lumtify
php
## Code Before: <?php use Symfony\Component\HttpFoundation\Response; use App\Http\Response\MessagePackResponse; class MessagePackResponseTest extends TestCase { /** * Message pack response * * @var \App\Http\Response\MessagePackResponse */ protected $response; /** * setUp *...
ce43fb2953d118bcae95d2afc87846ecaaa3e571
scripts/k8s-worker-gpu.sh
scripts/k8s-worker-gpu.sh
: ${TOKEN:=$1} : ${K8S_HOSTIP:=$2} : ${NVIDIA_VERSION:=375} ./network.sh ./docker.sh ./k8s-packages.sh wget --directory-prefix=/tmp https://github.com/NVIDIA/nvidia-docker/releases/download/v1.0.1/nvidia-docker_1.0.1-1_amd64.deb sudo dpkg -i /tmp/nvidia-docker_1.0.1-1_amd64.deb sudo ln -s /var/lib/nvidia-docker/volu...
: ${TOKEN:=$1} : ${K8S_HOSTIP:=$2} : ${NVIDIA_VERSION:=375} ./network.sh ./docker.sh ./k8s-packages.sh wget --directory-prefix=/tmp https://github.com/NVIDIA/nvidia-docker/releases/download/v1.0.1/nvidia-docker_1.0.1-1_amd64.deb sudo dpkg -i /tmp/nvidia-docker_1.0.1-1_amd64.deb sudo ln -s /usr/lib/nvidia-$NVIDIA_VER...
Create generic link to specific nvidia driver version, copy cuda libraries in
Create generic link to specific nvidia driver version, copy cuda libraries in
Shell
apache-2.0
dhague/maas-k8s
shell
## Code Before: : ${TOKEN:=$1} : ${K8S_HOSTIP:=$2} : ${NVIDIA_VERSION:=375} ./network.sh ./docker.sh ./k8s-packages.sh wget --directory-prefix=/tmp https://github.com/NVIDIA/nvidia-docker/releases/download/v1.0.1/nvidia-docker_1.0.1-1_amd64.deb sudo dpkg -i /tmp/nvidia-docker_1.0.1-1_amd64.deb sudo ln -s /var/lib/nv...
02c936308cf646b8cdcdc5ac51d3cfdecb3f29c2
spec/support/page_transition_support.rb
spec/support/page_transition_support.rb
module PageTransitionSupport def change_language(languageCode) within 'select[name=locale]' do find("option[value=#{languageCode}]").click expect(find("option[value=#{languageCode}][selected]")).to be_present end end end RSpec.configure do |config| config.include PageTransitionSupport, :t...
module PageTransitionSupport def change_language(languageCode) within 'select[name=locale]' do find("option[value=#{languageCode}]").click expect(find("option[value=#{languageCode}][selected]", wait: 5)).to be_present end end end RSpec.configure do |config| config.include PageTransitionSuppor...
Increase the wait time for the locale selector
Increase the wait time for the locale selector This reduces flaky test failures.
Ruby
agpl-3.0
cartothemax/ifme,julianguyen/ifme,julianguyen/ifme,cartothemax/ifme,cartothemax/ifme,julianguyen/ifme,cartothemax/ifme,julianguyen/ifme
ruby
## Code Before: module PageTransitionSupport def change_language(languageCode) within 'select[name=locale]' do find("option[value=#{languageCode}]").click expect(find("option[value=#{languageCode}][selected]")).to be_present end end end RSpec.configure do |config| config.include PageTrans...
8316bb650800ac9dd895be76c8ca664af60d3251
docs/sdk/font.rst
docs/sdk/font.rst
Font ==== Allows loading fonts from the web and using them in React Native components. .. function:: Exponent.Font.loadAsync(name, url) Load a font for use later. :param string name: A user-defined name to identify this font by later. You can make up any name you want, you just have to specify the...
Font ==== Allows loading fonts from the web and using them in React Native components. .. function:: Exponent.Font.loadAsync(name, url) Load a font for use later. :param string name: A user-defined name to identify this font by later. You can make up any name you want, you just have to specify the...
Make code example an actual heading
[docs] Make code example an actual heading
reStructuredText
bsd-3-clause
exponentjs/exponent,exponentjs/exponent,exponentjs/exponent,exponent/exponent,exponent/exponent,exponent/exponent,exponentjs/exponent,exponent/exponent,exponentjs/exponent,exponentjs/exponent,exponent/exponent,exponentjs/exponent,exponent/exponent,exponentjs/exponent,exponent/exponent,exponent/exponent,exponent/exponen...
restructuredtext
## Code Before: Font ==== Allows loading fonts from the web and using them in React Native components. .. function:: Exponent.Font.loadAsync(name, url) Load a font for use later. :param string name: A user-defined name to identify this font by later. You can make up any name you want, you just hav...
eac0039f0b1131ed026bccfd984aa8ce00083b94
docs/README.md
docs/README.md
Teleport docs are built using [mkdocs](http://www.mkdocs.org/) and hosted as a bunch of static files in S3. Look at `build.sh` script to see how it works. ## To Publish New Version * Update [build.sh](build.sh). * Update theme/base.html to add a new version to the Javascript arrray of versions * Create a new YAML f...
Teleport docs are built using [mkdocs](http://www.mkdocs.org/) and hosted as a bunch of static files in S3. Look at `build.sh` script to see how it works. ## To Publish New Version * Update [build.sh](build.sh). * Update theme/base.html to add a new version to the Javascript arrray of versions * Create a new YAML f...
Update Readme for Docker Build Process
Update Readme for Docker Build Process
Markdown
apache-2.0
gravitational/teleport,gravitational/teleport,gravitational/teleport,gravitational/teleport,gravitational/teleport,gravitational/teleport
markdown
## Code Before: Teleport docs are built using [mkdocs](http://www.mkdocs.org/) and hosted as a bunch of static files in S3. Look at `build.sh` script to see how it works. ## To Publish New Version * Update [build.sh](build.sh). * Update theme/base.html to add a new version to the Javascript arrray of versions * Cre...
d717d322e531803a92e1040d9df3c4c264dbc0e3
plugins/tempest/tasks/configure/method/rpm.yml
plugins/tempest/tasks/configure/method/rpm.yml
- name: Create the tempest directory file: dest: "~/{{ test.dir }}" state: directory - name: Get the script which configures the tempest directory shell: ls -d /usr/share/openstack-tempest-*/tools/configure-tempest-directory register: configure_tempest_dir ignore_errors: true - name: Initialize te...
- name: Create the tempest directory file: dest: "~/{{ test.dir }}" state: directory - name: Get the script which configures the tempest directory shell: ls -d /usr/share/openstack-tempest-*/tools/configure-tempest-directory register: configure_tempest_dir ignore_errors: true - name: Initialize te...
Fix missing sudo for tempestconf installation
Fix missing sudo for tempestconf installation Change-Id: I6ae8ca47a8241612fcddf77c398aa4fc54adad76
YAML
apache-2.0
okolisny/InfraRed,okolisny/InfraRed,redhat-openstack/infrared,redhat-openstack/infrared,okolisny/InfraRed,redhat-openstack/infrared
yaml
## Code Before: - name: Create the tempest directory file: dest: "~/{{ test.dir }}" state: directory - name: Get the script which configures the tempest directory shell: ls -d /usr/share/openstack-tempest-*/tools/configure-tempest-directory register: configure_tempest_dir ignore_errors: true - nam...
fe974197217eff350f1dc0bc5687c83066d6dd34
kaggle_tools/features_engineering/dates_engineering.py
kaggle_tools/features_engineering/dates_engineering.py
import pandas as pd def date_features(input_df, datetime_column='tms_gmt'): """ Given a datetime column, extracts useful date information (minute, hour, dow...) """ df = input_df.copy() return (df.set_index(time_column) .assign(minute=lambda df: df.index.minute, ...
import pandas as pd import pytz def date_features(input_df, datetime_column='tms_gmt'): """ Given a datetime column, extracts useful date information (minute, hour, dow...) """ df = input_df.copy() return (df.set_index(time_column) .assign(minute=lambda df: df.index.minute, ...
Add a datetime localization function
Add a datetime localization function
Python
mit
yassineAlouini/kaggle-tools,yassineAlouini/kaggle-tools
python
## Code Before: import pandas as pd def date_features(input_df, datetime_column='tms_gmt'): """ Given a datetime column, extracts useful date information (minute, hour, dow...) """ df = input_df.copy() return (df.set_index(time_column) .assign(minute=lambda df: df.index.minute, ...
56946dbddb5b853628761512839ad740e4b4e478
static/templates/me_message.hbs
static/templates/me_message.hbs
<span class="message_sender no-select"> <span class="sender_info_hover"> {{> message_avatar}} </span> <span class="sender-status"> <span class="sender_info_hover sender_name-in-status auto-select" role="button" tabindex="0">{{msg/sender_full_name}}</span> {{#if sender_is_bot}} ...
<span class="message_sender no-select"> <span class="sender_info_hover"> {{> message_avatar}} </span> <span class="sender-status"> <span class="sender_info_hover sender_name-in-status auto-select" role="button" tabindex="0">{{msg/sender_full_name}}</span> {{#if sender_is_bot}} ...
Fix missing rendered_markdown class on /me content.
design: Fix missing rendered_markdown class on /me content. There may be a deeper issue that various JavaScript logic expects every message to have a `.message_content` element, but we definitely should have the `.rendered_markdown` class on any markdown content. Fixes #13634.
Handlebars
apache-2.0
kou/zulip,brainwane/zulip,rht/zulip,rht/zulip,zulip/zulip,showell/zulip,brainwane/zulip,showell/zulip,andersk/zulip,timabbott/zulip,brainwane/zulip,punchagan/zulip,shubhamdhama/zulip,eeshangarg/zulip,synicalsyntax/zulip,brainwane/zulip,shubhamdhama/zulip,hackerkid/zulip,kou/zulip,hackerkid/zulip,kou/zulip,kou/zulip,pun...
handlebars
## Code Before: <span class="message_sender no-select"> <span class="sender_info_hover"> {{> message_avatar}} </span> <span class="sender-status"> <span class="sender_info_hover sender_name-in-status auto-select" role="button" tabindex="0">{{msg/sender_full_name}}</span> {{#if sende...
80844d75d9535452abda92f791e0c4b1c697bd20
app/serializers/task_comment_serializer.rb
app/serializers/task_comment_serializer.rb
class TaskCommentSerializer < ActiveModel::Serializer attributes :id, :comment, :created_at, :comment_by def comment_by object.user.name end end
class TaskCommentSerializer < ActiveModel::Serializer attributes :id, :comment, :created_at, :comment_by, :recipient_id, :is_new def comment_by object.user.name end end
Add recipient_id and is_new to comment serializer
NEW: Add recipient_id and is_new to comment serializer
Ruby
agpl-3.0
alexcu/doubtfire-api,alexcu/doubtfire-api,jakerenzella/doubtfire-api,alexcu/doubtfire-api,doubtfire-lms/doubtfire-api,jakerenzella/doubtfire-api,doubtfire-lms/doubtfire-api,doubtfire-lms/doubtfire-api,doubtfire-lms/doubtfire-api,jakerenzella/doubtfire-api,doubtfire-lms/doubtfire-api,jakerenzella/doubtfire-api,alexcu/do...
ruby
## Code Before: class TaskCommentSerializer < ActiveModel::Serializer attributes :id, :comment, :created_at, :comment_by def comment_by object.user.name end end ## Instruction: NEW: Add recipient_id and is_new to comment serializer ## Code After: class TaskCommentSerializer < ActiveModel::Serializer attr...
3f1f63a004f247f5b56ce8c8bf784124e62fd143
.travis.yml
.travis.yml
language: java sudo: required services: - docker install: - sudo pip install nose2 script: - make - make test - make sdkbase
language: java sudo: required services: - docker install: - sudo pip install nose2 script: - make - make sdkbase
Remove make test for now until we get a token mgmt strategy into place
Remove make test for now until we get a token mgmt strategy into place
YAML
mit
msneddon/kb_sdk,msneddon/kb_sdk,msneddon/kb_sdk,kbase/kb_sdk,kbaseIncubator/kb_sdk,msneddon/kb_sdk,msneddon/kb_sdk,kbase/kb_sdk,msneddon/kb_sdk,msneddon/kb_sdk,kbase/kb_sdk,kbase/kb_sdk,kbaseIncubator/kb_sdk,kbaseIncubator/kb_sdk,kbase/kb_sdk,kbaseIncubator/kb_sdk,kbaseIncubator/kb_sdk,kbase/kb_sdk,kbase/kb_sdk
yaml
## Code Before: language: java sudo: required services: - docker install: - sudo pip install nose2 script: - make - make test - make sdkbase ## Instruction: Remove make test for now until we get a token mgmt strategy into place ## Code After: language: java sudo: required services: - docker install...
8544bdd7fb15220bac1744adb1c7498bf0809b56
js/front/dataset/preview-modal.vue
js/front/dataset/preview-modal.vue
<template> <modal class="preview-modal" v-ref:modal :title="_('Preview')" large> <div class="modal-body"> <iframe :src="url" width="100%" height="600" frameborder="0"></iframe> </div> <footer class="modal-footer text-center"> <button class="btn btn-default" @click="$refs.modal.close"> ...
<template> <modal class="preview-modal" v-ref:modal :title="_('Preview')" large> <div class="modal-body"> <iframe :src="url" width="100%" height="600" frameborder="0"></iframe> </div> <footer class="modal-footer text-center"> <button class="btn btn-default" @click="$refs.modal.close"> ...
Make the preview fill the modal body
Make the preview fill the modal body
Vue
agpl-3.0
opendatateam/udata,opendatateam/udata,etalab/udata,etalab/udata,etalab/udata,opendatateam/udata
vue
## Code Before: <template> <modal class="preview-modal" v-ref:modal :title="_('Preview')" large> <div class="modal-body"> <iframe :src="url" width="100%" height="600" frameborder="0"></iframe> </div> <footer class="modal-footer text-center"> <button class="btn btn-default" @click="$refs.mo...
7e0e26a2cfee4f0760b7da235c49f8427d1c8e8d
fst_web/templates/atomfeed.xml
fst_web/templates/atomfeed.xml
<?xml version="1.0" encoding="utf-8"?> <feed xmlns="http://www.w3.org/2005/Atom" xmlns:le="http://purl.org/atompub/link-extensions/1.0" xmlns:at="http://purl.org/atompub/tombstones/1.0" xmlns:rae="http://rinfo.lagrummet.se/ns/2009/09/atom-extensions#" xmlns:dct="http://purl.org/dc/terms/" ...
<?xml version="1.0" encoding="utf-8"?> <feed xmlns="http://www.w3.org/2005/Atom" xmlns:at="http://purl.org/atompub/tombstones/1.0" xmlns:dct="http://purl.org/dc/terms/" xml:lang="sv"> <id>{{feed_id}}</id> <title>{{feed_title}}</title> <updated>{{last_updated}}</updated> <author> <na...
Remove unused link-extensions namespace from feed root
Remove unused link-extensions namespace from feed root
XML
bsd-3-clause
rinfo/fst,kamidev/autobuild_fst,rinfo/fst,rinfo/fst,rinfo/fst,kamidev/autobuild_fst,kamidev/autobuild_fst,kamidev/autobuild_fst
xml
## Code Before: <?xml version="1.0" encoding="utf-8"?> <feed xmlns="http://www.w3.org/2005/Atom" xmlns:le="http://purl.org/atompub/link-extensions/1.0" xmlns:at="http://purl.org/atompub/tombstones/1.0" xmlns:rae="http://rinfo.lagrummet.se/ns/2009/09/atom-extensions#" xmlns:dct="http://purl.org/dc/terms/...
fa9446c6c8710acea0327928e410f8a5fb7e2b51
README.md
README.md
NixOS configuration for a mid-2015 Macboo Pro retina 15" (11,5)
NixOS configuration for a mid-2015 Macboo Pro retina 15" (11,5) # Resources [Apple Macbook Pro Linux Isse Tracking](https://teamsammut.com/blog/2015/09/apple-macbook-pro-linux-issue-tracking.html)
Add link to Apple Macbook Pro Linux Isse Tracking
Add link to Apple Macbook Pro Linux Isse Tracking
Markdown
mit
jeremiehuchet/nixos-macbookpro
markdown
## Code Before: NixOS configuration for a mid-2015 Macboo Pro retina 15" (11,5) ## Instruction: Add link to Apple Macbook Pro Linux Isse Tracking ## Code After: NixOS configuration for a mid-2015 Macboo Pro retina 15" (11,5) # Resources [Apple Macbook Pro Linux Isse Tracking](https://teamsammut.com/blog/2015/09/app...
d1fd045791ad4d7c3544352faf68361637213f57
product_onepage/templatetags/onepage_tags.py
product_onepage/templatetags/onepage_tags.py
"""Gallery templatetags""" from django.template import Library from django.core.exceptions import ObjectDoesNotExist register = Library() @register.filter(name='divide') def divide(dividend, divisor): return dividend / divisor @register.filter(name='get_language') def get_language(list, language): try: ...
"""Gallery templatetags""" from django.template import Library from django.core.exceptions import ObjectDoesNotExist register = Library() @register.filter(name='divide') def divide(dividend, divisor): return dividend / divisor @register.filter(name='get_language') def get_language(queryset, language): try:...
Fix variable name in get_language tag
Fix variable name in get_language tag
Python
mit
emencia/emencia-product-onepage,emencia/emencia-product-onepage
python
## Code Before: """Gallery templatetags""" from django.template import Library from django.core.exceptions import ObjectDoesNotExist register = Library() @register.filter(name='divide') def divide(dividend, divisor): return dividend / divisor @register.filter(name='get_language') def get_language(list, languag...
a3dde5b9fb7c848d0e59b25e14119c2cbb13c923
src/exometer_function.erl
src/exometer_function.erl
-module(exometer_function). -behaviour(exometer_entry). -export([new/3, update/4, reset/3, setopts/4, get_value/3, sample/3, delete/3, reset/3, setopts/4]). -export([empty/0]). new(_Name, function, Opts) -> case lists:keyfind(type_arg, 1, Opts) of {_, {function, M, F}} -> {ok, {M, F}}; fa...
-module(exometer_function). -behaviour(exometer_entry). -export([new/3, update/4, reset/3, get_value/3, sample/3, delete/3, setopts/4]). -export([empty/0]). new(_Name, function, Opts) -> case lists:keyfind(type_arg, 1, Opts) of {_, {function, M, F}} -> {ok, {M, F}}; false -> {ok, {?MODUL...
Duplicate code from merge fixed
Duplicate code from merge fixed
Erlang
mpl-2.0
systra/exometer
erlang
## Code Before: -module(exometer_function). -behaviour(exometer_entry). -export([new/3, update/4, reset/3, setopts/4, get_value/3, sample/3, delete/3, reset/3, setopts/4]). -export([empty/0]). new(_Name, function, Opts) -> case lists:keyfind(type_arg, 1, Opts) of {_, {function, M, F}} -> {...
2e4542b2b279666aa6e7c48f863ff618719e5b73
config.yaml
config.yaml
--- # file: stats config default: transport: tcp # udp or tcp, tcp is so far performant enough host: riemann.example.com frequency: 10 enabled plugins: network: - network_io disk: - disk_io - disk_usage load: - load_avg memory: - virtual_memory - swap_memory mysql: - status...
--- # file: stats config default: transport: tcp # udp or tcp, tcp is so far performant enough host: riemann.example.com frequency: 10 enabled plugins: network: - network_io disk: - disk_io - disk_usage load: - load_avg memory: - virtual_memory - swap_memory # Specific settings ...
Disable mysql and apache by default
Disable mysql and apache by default
YAML
bsd-3-clause
thepearson/pyriem
yaml
## Code Before: --- # file: stats config default: transport: tcp # udp or tcp, tcp is so far performant enough host: riemann.example.com frequency: 10 enabled plugins: network: - network_io disk: - disk_io - disk_usage load: - load_avg memory: - virtual_memory - swap_memory mys...
a58730c82ba4ecc2b580a0cc74a30871f669d778
db/migrate/20160204080445_add_posts_original_updated_at.rb
db/migrate/20160204080445_add_posts_original_updated_at.rb
class AddPostsOriginalUpdatedAt < ActiveRecord::Migration def change add_column :posts, :original_updated_at, :datetime end end
class AddPostsOriginalUpdatedAt < ActiveRecord::Migration def change add_column :posts, :original_updated_at, :datetime execute 'UPDATE posts SET original_updated_at = updated_at' end end
Copy updated_at to original_updated_at for existing records
Copy updated_at to original_updated_at for existing records
Ruby
mit
bm-sms/daimon-news,bm-sms/daimon-news,bm-sms/daimon-news
ruby
## Code Before: class AddPostsOriginalUpdatedAt < ActiveRecord::Migration def change add_column :posts, :original_updated_at, :datetime end end ## Instruction: Copy updated_at to original_updated_at for existing records ## Code After: class AddPostsOriginalUpdatedAt < ActiveRecord::Migration def change ...
519ed90fcb665dc7b49fe6d0599290c9f429c690
contact.html
contact.html
--- layout: default title: Contact --- <section class="jumbotron text-center"> <div class="container"> <h1 class="jumbotron-heading">Contact</h1> <p class="lead text-muted">Contact us through e-mail at <a href="mailto:uavaustin@gmail.com">uavaustin@gmail.com</a>, or connect with us on <a href="https://www.f...
--- layout: default title: Contact --- <section class="jumbotron text-center"> <div class="container"> <h1 class="jumbotron-heading">Contact</h1> <p class="lead text-muted">Contact us through e-mail at <a href="mailto:uavaustin@gmail.com">uavaustin@gmail.com</a>, or connect with us on <a href="https://www.f...
Add credit for website design
Add credit for website design
HTML
mit
uavaustin/uavaustin.org,uavaustin/uavaustin.org
html
## Code Before: --- layout: default title: Contact --- <section class="jumbotron text-center"> <div class="container"> <h1 class="jumbotron-heading">Contact</h1> <p class="lead text-muted">Contact us through e-mail at <a href="mailto:uavaustin@gmail.com">uavaustin@gmail.com</a>, or connect with us on <a hre...
b74de19a6f3ddf8813efae9a67659ca287b31472
lib/cloud_formation/bridge/cli.rb
lib/cloud_formation/bridge/cli.rb
require 'thor' require 'cloud_formation/bridge/poller' require 'cloud_formation/bridge/util' module CloudFormation module Bridge class Cli < Thor desc "start QUEUE_NAME", "Starts watching this specific SQS queue" def start(queue_name) STDOUT.sync = true poller = CloudFormation::Bridg...
require 'thor' require 'cloud_formation/bridge/poller' require 'cloud_formation/bridge/util' require 'cloud_formation/bridge/version' module CloudFormation module Bridge class Cli < Thor desc "start QUEUE_NAME", "Starts watching this specific SQS queue" def start(queue_name) STDOUT.sync = tr...
Print version when you start
Print version when you start
Ruby
mit
TheNeatCompany/cfn-bridge,DomainGroupOSS/cfn-bridge
ruby
## Code Before: require 'thor' require 'cloud_formation/bridge/poller' require 'cloud_formation/bridge/util' module CloudFormation module Bridge class Cli < Thor desc "start QUEUE_NAME", "Starts watching this specific SQS queue" def start(queue_name) STDOUT.sync = true poller = Cloud...
3b65e71015ecea61c7eb6ce86eaef7135486aadb
Source/sourcekitten/main.swift
Source/sourcekitten/main.swift
// // main.swift // SourceKitten // // Created by JP Simard on 2015-01-03. // Copyright (c) 2015 SourceKitten. All rights reserved. // import Darwin import Commandant // `sourcekitd_set_notification_handler()` set the handler to be executed on main thread queue. // So, we vacate main thread to `dispatch_main()`. ...
// // main.swift // SourceKitten // // Created by JP Simard on 2015-01-03. // Copyright (c) 2015 SourceKitten. All rights reserved. // import Darwin import Foundation import Commandant // `sourcekitd_set_notification_handler()` set the handler to be executed on main thread queue. // So, we vacate main thread to `...
Fix build error on `make spm_test`
Fix build error on `make spm_test`
Swift
mit
jpsim/SourceKitten,jpsim/SourceKitten,jpsim/SourceKitten,jpsim/SourceKitten,jpsim/SourceKitten
swift
## Code Before: // // main.swift // SourceKitten // // Created by JP Simard on 2015-01-03. // Copyright (c) 2015 SourceKitten. All rights reserved. // import Darwin import Commandant // `sourcekitd_set_notification_handler()` set the handler to be executed on main thread queue. // So, we vacate main thread to `di...
2364d568cde0b70f8982b89f900df69dbcea083a
routes/cosimg.js
routes/cosimg.js
var Cosimg = require('../models/cosimg'); var express = require('express'); var router = express.Router(); //retrieve all router.route('/cosimg').get(function (req, res) { Cosimg.find({}).exec(function (err, data) { if(err) { return res.send(err); } res.json(data); }); }); //add new router.route('/cosimg')...
var Cosimg = require('../models/cosimg'); var express = require('express'); var router = express.Router(); //retrieve all router.route('/cosimgs').get(function (req, res) { Cosimg.find({}).exec(function (err, data) { if(err) { return res.send(err); } res.json(data); }); }); //add new router.route('/cosimgs...
Fix routes, add new ones
Fix routes, add new ones
JavaScript
mit
harunurhan/open-cosmics-mean,harunurhan/open-cosmics-mean
javascript
## Code Before: var Cosimg = require('../models/cosimg'); var express = require('express'); var router = express.Router(); //retrieve all router.route('/cosimg').get(function (req, res) { Cosimg.find({}).exec(function (err, data) { if(err) { return res.send(err); } res.json(data); }); }); //add new router....
d3b758cfe512967e12b13cf7a07e3dec21e4c58d
sqlite3/pubspec.yaml
sqlite3/pubspec.yaml
name: sqlite3 description: Provides lightweight yet convenient bindings to SQLite by using dart:ffi version: 0.1.10-nullsafety.0 homepage: https://github.com/simolus3/sqlite3.dart/tree/master/sqlite3 issue_tracker: https://github.com/simolus3/sqlite3.dart/issues environment: sdk: '>=2.12.0-0 <3.0.0' dependencies: ...
name: sqlite3 description: Provides lightweight yet convenient bindings to SQLite by using dart:ffi version: 0.1.10-nullsafety.0 homepage: https://github.com/simolus3/sqlite3.dart/tree/master/sqlite3 issue_tracker: https://github.com/simolus3/sqlite3.dart/issues environment: sdk: '>=2.12.0-0 <3.0.0' dependencies: ...
Use stable null-safe libraries where possible
Use stable null-safe libraries where possible
YAML
mit
simolus3/sqlite3.dart,simolus3/sqlite3.dart,simolus3/sqlite3.dart,simolus3/sqlite3.dart,simolus3/sqlite3.dart,simolus3/sqlite3.dart,simolus3/sqlite3.dart,simolus3/sqlite3.dart
yaml
## Code Before: name: sqlite3 description: Provides lightweight yet convenient bindings to SQLite by using dart:ffi version: 0.1.10-nullsafety.0 homepage: https://github.com/simolus3/sqlite3.dart/tree/master/sqlite3 issue_tracker: https://github.com/simolus3/sqlite3.dart/issues environment: sdk: '>=2.12.0-0 <3.0.0' ...
3aaf67741f6f432d35b026bff71c91f0762a4cf7
requirements.test.txt
requirements.test.txt
git+https://github.com/F5Networks/pytest-symbols.git # Test Requirements f5-sdk==3.0.3 f5-icontrol-rest==1.3.4 ipaddress==1.0.17 PyJWT==1.4.0 mock==2.0.0 pytest==3.0.5 pytest-cov>=2.2.1 pytest-benchmark==3.1.1 python-coveralls==2.7.0 pyOpenSSL==17.5.0 requests-mock==1.2.0 flake8 pylint netaddr q PyYAML==3.13 simplejs...
f5-sdk==3.0.3 f5-icontrol-rest==1.3.4 ipaddress==1.0.17 PyJWT==1.4.0 mock==2.0.0 pytest==4.6.11 pytest-cov>=2.2.1 pytest-benchmark==3.1.1 python-coveralls==2.9.3 pyOpenSSL==17.5.0 requests-mock==1.2.0 flake8 pylint netaddr q PyYAML==5.3.1 simplejson jsonschema==3.0.0 jsonpatch==1.16 requests==2.20.0 asn1crypto==0.24.0...
Update PyYAML version in requirements
Update PyYAML version in requirements Signed-off-by: Subba Reddy Veeramreddy <38948bf3ca3af6d8dac1ec2ed9128aded2d19a49@gmail.com>
Text
apache-2.0
f5devcentral/f5-cccl,f5devcentral/f5-cccl
text
## Code Before: git+https://github.com/F5Networks/pytest-symbols.git # Test Requirements f5-sdk==3.0.3 f5-icontrol-rest==1.3.4 ipaddress==1.0.17 PyJWT==1.4.0 mock==2.0.0 pytest==3.0.5 pytest-cov>=2.2.1 pytest-benchmark==3.1.1 python-coveralls==2.7.0 pyOpenSSL==17.5.0 requests-mock==1.2.0 flake8 pylint netaddr q PyYAM...
978c6950b7166048b3718c0bbb1df3e884b12f6b
update_stdlib.sh
update_stdlib.sh
CPYTHON=${1-$HOME/cpython} if [ ! -d $CPYTHON ] then echo Bad destination $CPYTHON exit 1 fi if [ ! -f asyncio/__init__.py ] then echo Bad current directory exit 1 fi maybe_copy() { SRC=$1 DST=$CPYTHON/$2 if cmp $DST $SRC then return fi echo ======== $SRC === $DST ===...
CPYTHON=${1-$HOME/cpython} if [ ! -d $CPYTHON ] then echo Bad destination $CPYTHON exit 1 fi if [ ! -f asyncio/__init__.py ] then echo Bad current directory exit 1 fi maybe_copy() { SRC=$1 DST=$CPYTHON/$2 if cmp $DST $SRC then return fi echo ======== $SRC === $DST ===...
Add 'back' option to update script.
Add 'back' option to update script.
Shell
apache-2.0
leetreveil/tulip,leetreveil/tulip,overcastcloud/trollius,overcastcloud/trollius,leetreveil/tulip,overcastcloud/trollius
shell
## Code Before: CPYTHON=${1-$HOME/cpython} if [ ! -d $CPYTHON ] then echo Bad destination $CPYTHON exit 1 fi if [ ! -f asyncio/__init__.py ] then echo Bad current directory exit 1 fi maybe_copy() { SRC=$1 DST=$CPYTHON/$2 if cmp $DST $SRC then return fi echo ======== $...
cbd9622719e477ac693abf58fd3e20b1398e4d6a
src/PaginationStream.coffee
src/PaginationStream.coffee
reqr = if global.GENTLY then GENTLY.hijack(require) else require stream = reqr "stream" class PaginationStream extends stream.Readable constructor: (fetchPage) -> super objectMode: true @_fetchPage = fetchPage @_pageno = 0 @_items = [] @_itemsRead = 0 _read: -> if @...
reqr = if global.GENTLY then GENTLY.hijack(require) else require TransloaditClient = reqr "./TransloaditClient" stream = reqr "stream" class PaginationStream extends stream.Readable constructor: (@_fetchPage) -> super objectMode: true @_pageno = 0 @_items = [] @_itemsRead = 0 ...
Revert "Some nice warnings away"
Revert "Some nice warnings away" This reverts commit 1e04dc556af840e0e4571e287135e510245524d7.
CoffeeScript
mit
transloadit/node-sdk,adrusi/node-sdk,transloadit/node-sdk
coffeescript
## Code Before: reqr = if global.GENTLY then GENTLY.hijack(require) else require stream = reqr "stream" class PaginationStream extends stream.Readable constructor: (fetchPage) -> super objectMode: true @_fetchPage = fetchPage @_pageno = 0 @_items = [] @_itemsRead = 0 _r...
3599993713d4f850a467bf4c2c8a4136d325b756
.travis.yml
.travis.yml
language: csharp solution: JsonLD.sln script: dotnet test -c Release /p:CollectCoverage=true /p:CoverletOutputFormat=opencover /p:Exclude="[JsonLD.Test*]*" after_success: - curl -s https://codecov.io/bash > codecov - chmod +x codecov - ./codecov -f "*opencover.xml"
language: csharp env: global: - DOTNET_SKIP_FIRST_TIME_EXPERIENCE=1 - DOTNET_CLI_TELEMETRY_OPTOUT=1 dotnet: 2.1.401 script: dotnet test -c Release /p:CollectCoverage=true /p:CoverletOutputFormat=opencover /p:Exclude="[JsonLD.Test*]*" after_success: - curl -s https://codecov.io/bash > codecov - chmod +x co...
Set up dotnet version and global env vars
Set up dotnet version and global env vars
YAML
apache-2.0
NuGet/json-ld.net
yaml
## Code Before: language: csharp solution: JsonLD.sln script: dotnet test -c Release /p:CollectCoverage=true /p:CoverletOutputFormat=opencover /p:Exclude="[JsonLD.Test*]*" after_success: - curl -s https://codecov.io/bash > codecov - chmod +x codecov - ./codecov -f "*opencover.xml" ## Instruction: Set up dotnet ve...
e97b45438dc2c3e265d1ed3e858177c8d14ff814
src/prepare_galaxy_tools/prepare_assigne_taxonomy_to_non_rRNA_tools.sh
src/prepare_galaxy_tools/prepare_assigne_taxonomy_to_non_rRNA_tools.sh
. ./src/prepare_galaxy_tools/functions.sh galaxy_tool_dir=$1 tool_dir=$2 current_dir=`pwd` section_dir=assigne_taxonomy_to_non_rRNA echo "Assign taxonomy to non rRNA..." create_tool_section_dir $galaxy_tool_dir/$section_dir ## metaphlan echo " Metaphlan..." metaphlan=$section_dir/metaphlan cd $galaxy_tool_dir/ i...
. ./src/prepare_galaxy_tools/functions.sh galaxy_tool_dir=$1 tool_dir=$2 current_dir=`pwd` section_dir=assigne_taxonomy_to_non_rRNA echo "Assign taxonomy to non rRNA..." create_tool_section_dir $galaxy_tool_dir/$section_dir ## metaphlan echo " Metaphlan..." cd $galaxy_tool_dir/$section_dir if [ ! -d "metaphlan/"...
Change dir move for metaphlan wrapper
Change dir move for metaphlan wrapper
Shell
apache-2.0
ASaiM/framework,ASaiM/framework
shell
## Code Before: . ./src/prepare_galaxy_tools/functions.sh galaxy_tool_dir=$1 tool_dir=$2 current_dir=`pwd` section_dir=assigne_taxonomy_to_non_rRNA echo "Assign taxonomy to non rRNA..." create_tool_section_dir $galaxy_tool_dir/$section_dir ## metaphlan echo " Metaphlan..." metaphlan=$section_dir/metaphlan cd $ga...
e65b494ad48062560d4724a0461644cb31a7e4ce
manifests/acceptance-tests-job.yml
manifests/acceptance-tests-job.yml
jobs: - name: acceptance_tests instances: 1 lifecycle: errand networks: - name: cf_private resource_pool: small_z1 templates: - name: acceptance-tests release: cf properties: acceptance_tests: admin_password: <%= ENV.fetch('CF_PASSWORD', 'admin') %> admin_user: <%= ENV.fet...
jobs: - name: acceptance_tests instances: 1 lifecycle: errand networks: - name: cf_private resource_pool: small_z1 templates: - name: acceptance-tests release: cf properties: acceptance_tests: admin_password: <%= ENV.fetch('CF_PASSWORD', 'admin') %> admin_user: <%= ENV.fet...
Exclude CAT suite 'detect' to make pipeline green
Exclude CAT suite 'detect' to make pipeline green There was a recent addition to CATs: https://github.com/cloudfoundry/cf-acceptance-tests/commit/112fab9f0d0a6e7a65832afa4a8d9e821cef8fad which seems to need special setup. Someone already marked this test as pending as it seems to be problematic (https://github.com/clo...
YAML
apache-2.0
cloudfoundry-incubator/bits-service-ci,cloudfoundry-incubator/bits-service-ci,cloudfoundry-incubator/bits-service-ci
yaml
## Code Before: jobs: - name: acceptance_tests instances: 1 lifecycle: errand networks: - name: cf_private resource_pool: small_z1 templates: - name: acceptance-tests release: cf properties: acceptance_tests: admin_password: <%= ENV.fetch('CF_PASSWORD', 'admin') %> admin_u...
e21b17fd277b9a2424ea2b3f727325d1df65c713
src/Illuminate/Mail/Transport/SesTransport.php
src/Illuminate/Mail/Transport/SesTransport.php
<?php namespace Illuminate\Mail\Transport; use Aws\Ses\SesClient; use Swift_Mime_SimpleMessage; class SesTransport extends Transport { /** * The Amazon SES instance. * * @var \Aws\Ses\SesClient */ protected $ses; /** * Create a new SES transport instance. * * @param \...
<?php namespace Illuminate\Mail\Transport; use Aws\Ses\SesClient; use Swift_Mime_SimpleMessage; class SesTransport extends Transport { /** * The Amazon SES instance. * * @var \Aws\Ses\SesClient */ protected $ses; /** * Transmission options. * * @var array */ p...
Add options for SES’s sendRawEmail
Add options for SES’s sendRawEmail
PHP
mit
BePsvPT-Fork/framework,morrislaptop/framework,dwightwatson/framework,leo108/laravel_framework,driesvints/framework,cviebrock/framework,arturock/framework,mul14/laravel-framework,stevebauman/framework,laravel/framework,cybercog/framework,cviebrock/framework,samlev/framework,tjbp/framework,vlakoff/framework,barryvdh/fram...
php
## Code Before: <?php namespace Illuminate\Mail\Transport; use Aws\Ses\SesClient; use Swift_Mime_SimpleMessage; class SesTransport extends Transport { /** * The Amazon SES instance. * * @var \Aws\Ses\SesClient */ protected $ses; /** * Create a new SES transport instance. * ...
6edf60fbae6a2b158f3af47e144cd23715eac8bb
application/templates/_macros.html
application/templates/_macros.html
{% macro render_field(field) %} <div class="form-group"> {{ field.label(class_="form-label") }} {% if not kwargs['class_'] %} {{ field(class_="form-control", **kwargs)|safe }} {% else %} {{ field(**kwargs)|safe }} {% endif %} {% if field.errors %} ...
{% macro render_field(field) %} <div class="form-group"> {{ field.label(class_="form-label") }} {% if not kwargs['class_'] %} {{ field(class_="form-control", **kwargs)|safe }} {% else %} {{ field(**kwargs)|safe }} {% endif %} {% if field.errors %} ...
Update linked-with macro to use new layout
Update linked-with macro to use new layout
HTML
mit
crossgovernmentservices/csdigital-prototype,crossgovernmentservices/csdigital-prototype,crossgovernmentservices/csdigital-prototype,crossgovernmentservices/csdigital-prototype
html
## Code Before: {% macro render_field(field) %} <div class="form-group"> {{ field.label(class_="form-label") }} {% if not kwargs['class_'] %} {{ field(class_="form-control", **kwargs)|safe }} {% else %} {{ field(**kwargs)|safe }} {% endif %} {% if field.er...
c53939ffeeb6fbc1729a1f0d0724e99bb6fec6f4
src/exchange-main.js
src/exchange-main.js
'use babel' import {Disposable, CompositeDisposable} from 'sb-event-kit' import Communication from 'sb-communication' class Exchange { constructor(worker) { this.worker = worker this.port = worker.port || worker this.communication = new Communication() this.subscriptions = new CompositeDisposable()...
'use babel' import {Disposable, CompositeDisposable} from 'sb-event-kit' import Communication from 'sb-communication' class Exchange { constructor(worker) { this.worker = worker this.port = worker.port || worker this.communication = new Communication() this.subscriptions = new CompositeDisposable()...
Make terminate work for shared workers
:new: Make terminate work for shared workers
JavaScript
mit
steelbrain/Worker-Exchange,steelbrain/Worker-Exchange
javascript
## Code Before: 'use babel' import {Disposable, CompositeDisposable} from 'sb-event-kit' import Communication from 'sb-communication' class Exchange { constructor(worker) { this.worker = worker this.port = worker.port || worker this.communication = new Communication() this.subscriptions = new Compo...
3e0e4bff6aff0661ec7cd319ed43e5058d24bafa
.travis.yml
.travis.yml
language: python sudo: false python: - '2.7' before_install: - pip install codecov install: pip install tox script: - tox after_success: - codecov deploy: provider: pypi user: dbryant4 server: https://testpypi.python.org/pypi password: secure: bOcu5tnHlag84/sV6lchV24XCOVh+i7tk73aLtEChpL0U99MbJSrEpvG+VnOBPEs...
language: python sudo: false python: - '2.7' before_install: - pip install codecov install: pip install tox script: - tox after_success: - codecov deploy: provider: pypi user: dbryant4 server: https://testpypi.python.org/pypi distributions: "sdist bdist_wheel" password: secure: bOcu5tnHlag84/sV6lchV24XCOV...
Add distributions to deploy to pypi
Add distributions to deploy to pypi
YAML
mit
dbryant4/furtive
yaml
## Code Before: language: python sudo: false python: - '2.7' before_install: - pip install codecov install: pip install tox script: - tox after_success: - codecov deploy: provider: pypi user: dbryant4 server: https://testpypi.python.org/pypi password: secure: bOcu5tnHlag84/sV6lchV24XCOVh+i7tk73aLtEChpL0U99M...
33847ef179b99d1384f1a58cf2025d844e88d0fa
composer.json
composer.json
{ "description": "Neos Project Marketplace", "name": "neos/marketplace", "type": "neos-package", "require": { "typo3/flow": "*", "flowpack/searchplugin": "*", "knplabs/packagist-api": "^1.3" }, "autoload": { "psr-4": { "Neos\\MarketPlace\\": "Classes/"...
{ "description": "Neos Project Marketplace", "name": "neos/marketplace", "type": "neos-package", "require": { "typo3/flow": "*", "flowpack/searchplugin": "*", "knplabs/packagist-api": "^1.3", "cocur/slugify": "^2.0" }, "autoload": { "psr-4": { ...
Add missing dependency to cocur/slugify
TASK: Add missing dependency to cocur/slugify
JSON
mit
neos/Neos.MarketPlace,dfeyer/Neos.MarketPlace,neos/Neos.MarketPlace,dfeyer/Neos.MarketPlace,neos/Neos.MarketPlace
json
## Code Before: { "description": "Neos Project Marketplace", "name": "neos/marketplace", "type": "neos-package", "require": { "typo3/flow": "*", "flowpack/searchplugin": "*", "knplabs/packagist-api": "^1.3" }, "autoload": { "psr-4": { "Neos\\MarketPlac...
d9bb2cf22a0e5ef03dcdc6387dc4151b02b83cde
app.yaml
app.yaml
application: restoncoffeemachine version: 1 runtime: python27 api_version: 1 handlers: - url: /favicon\.ico static_files: img/favicon.ico upload: img/favicon\.ico - url: /img/(.*) static_files: img/\1 upload: img/(.*) mime_type: image/jpeg expiration: "30d" - url: .* script: result.py
application: restoncoffeemachine version: 1 runtime: python27 api_version: 1 threadsafe: true handlers: - url: /favicon\.ico static_files: img/favicon.ico upload: img/favicon\.ico - url: /img/(.*) static_files: img/\1 upload: img/(.*) mime_type: image/jpeg expiration: "30d" - url: .* script: result.py
Make sure to incldue the threadsafe keyword in yaml.
Make sure to incldue the threadsafe keyword in yaml.
YAML
apache-2.0
morrowc/restoncoffeemachine
yaml
## Code Before: application: restoncoffeemachine version: 1 runtime: python27 api_version: 1 handlers: - url: /favicon\.ico static_files: img/favicon.ico upload: img/favicon\.ico - url: /img/(.*) static_files: img/\1 upload: img/(.*) mime_type: image/jpeg expiration: "30d" - url: .* script: result.py #...
6f778070a10bb30b61e53743f70e88577ac884ee
growl-test.rb
growl-test.rb
require 'growl' Growl.notify { self.message = "<a href='http://www.google.com'>This is a test!</a>" self.icon = :Safari sticky! }
require 'rubygems' require 'bundler/setup' require 'growl' notify = Growl.new notify.title = "Hello, World!" notify.message = "This is a message to you!" notify.url = "https://google.com" notify.run
Add url to growl test file; update code
Add url to growl test file; update code
Ruby
mit
geopet/grunido-noticias
ruby
## Code Before: require 'growl' Growl.notify { self.message = "<a href='http://www.google.com'>This is a test!</a>" self.icon = :Safari sticky! } ## Instruction: Add url to growl test file; update code ## Code After: require 'rubygems' require 'bundler/setup' require 'growl' notify = Growl.new notify.title =...
83f08b88010dc87d3f99f8fd2ac8e8c68f659bea
spec/spec_helper.rb
spec/spec_helper.rb
ENV["RAILS_ENV"] ||= "test" PROJECT_ROOT = File.expand_path("../..", __FILE__) $LOAD_PATH << File.join(PROJECT_ROOT, "lib") Bundler.require require 'overriaktion' require 'httparty' require 'singleton' require 'webmock/rspec' require 'json'
ENV["RAILS_ENV"] ||= "test" PROJECT_ROOT = File.expand_path("../..", __FILE__) $LOAD_PATH << File.join(PROJECT_ROOT, "lib") Bundler.require require 'overriaktion' require 'webmock/rspec'
Move requires out of the spec helper.
Move requires out of the spec helper.
Ruby
mit
cmeiklejohn/overriaktion
ruby
## Code Before: ENV["RAILS_ENV"] ||= "test" PROJECT_ROOT = File.expand_path("../..", __FILE__) $LOAD_PATH << File.join(PROJECT_ROOT, "lib") Bundler.require require 'overriaktion' require 'httparty' require 'singleton' require 'webmock/rspec' require 'json' ## Instruction: Move requires out of the spec helper. ##...
fc842d4727f5d1b2a58cbf1e15a5fb7a84f4ab4c
scripts/compile-dotnet-assemblies.bat
scripts/compile-dotnet-assemblies.bat
::http://support.microsoft.com/kb/2570538 ::http://robrelyea.wordpress.com/2007/07/13/may-be-helpful-ngen-exe-executequeueditems/ if "%PROCESSOR_ARCHITECTURE%"=="AMD64" goto 64BIT %windir%\microsoft.net\framework\v4.0.30319\ngen.exe update /force /queue %windir%\microsoft.net\framework\v4.0.30319\ngen.exe executequeu...
::http://support.microsoft.com/kb/2570538 ::http://robrelyea.wordpress.com/2007/07/13/may-be-helpful-ngen-exe-executequeueditems/ if "%PROCESSOR_ARCHITECTURE%"=="AMD64" goto 64BIT if exist "%windir%\microsoft.net\framework\v4.0.30319\ngen.exe" ( %windir%\microsoft.net\framework\v4.0.30319\ngen.exe update /force /qu...
Check whether ngen.exe exists and execute only if it exists. Some versions of Windows 7 (e.g. without updates) do not include .NET Framework 4.0 by default.
Check whether ngen.exe exists and execute only if it exists. Some versions of Windows 7 (e.g. without updates) do not include .NET Framework 4.0 by default.
Batchfile
mit
TaylorMonacelli/packer-windows,TheBigBear/packer-windows-joefitzgerald,floradu88/packer-windows,tsew/packer-windows,joefitzgerald/packer-windows,bigwave/packer-windows
batchfile
## Code Before: ::http://support.microsoft.com/kb/2570538 ::http://robrelyea.wordpress.com/2007/07/13/may-be-helpful-ngen-exe-executequeueditems/ if "%PROCESSOR_ARCHITECTURE%"=="AMD64" goto 64BIT %windir%\microsoft.net\framework\v4.0.30319\ngen.exe update /force /queue %windir%\microsoft.net\framework\v4.0.30319\ngen...
0965a5332835da0bba7baac38840b494f858218b
scripts/import.sh
scripts/import.sh
set -o errexit set -o nounset set -o pipefail set -o xtrace IMAGE_REPO=${IMAGE_REPO:-mirantis/k8s-appcontroller} IMAGE_TAG=${IMAGE_TAG:-latest} NUM_NODES=${NUM_NODES:-2} TMP_IMAGE_PATH=${TMP_IMAGE_PATH:-/tmp/image.tar} MASTER_NAME=${MASTER_NAME=} SLAVE_PATTERN=${SLAVE_PATTERN:-"dind_node_"} function import-image { ...
set -o errexit set -o nounset set -o pipefail set -o xtrace IMAGE_REPO=${IMAGE_REPO:-mirantis/k8s-appcontroller} IMAGE_TAG=${IMAGE_TAG:-latest} NUM_NODES=${NUM_NODES:-2} TMP_IMAGE_PATH=${TMP_IMAGE_PATH:-/tmp/image.tar} MASTER_NAME=${MASTER_NAME="kube-master"} SLAVE_PATTERN=${SLAVE_PATTERN:-"kube-node-"} function im...
Change patterns to work with kubeadm-dind
Change patterns to work with kubeadm-dind
Shell
apache-2.0
Mirantis/k8s-AppController,Mirantis/k8s-AppController,istalker2/k8s-AppController,istalker2/k8s-AppController,istalker2/k8s-AppController,Mirantis/k8s-AppController,istalker2/k8s-AppController,Mirantis/k8s-AppController
shell
## Code Before: set -o errexit set -o nounset set -o pipefail set -o xtrace IMAGE_REPO=${IMAGE_REPO:-mirantis/k8s-appcontroller} IMAGE_TAG=${IMAGE_TAG:-latest} NUM_NODES=${NUM_NODES:-2} TMP_IMAGE_PATH=${TMP_IMAGE_PATH:-/tmp/image.tar} MASTER_NAME=${MASTER_NAME=} SLAVE_PATTERN=${SLAVE_PATTERN:-"dind_node_"} function...
5738d3735152a494b5a7e7d8f7000a09e44ad11f
utils/patient-notes-mig.js
utils/patient-notes-mig.js
var config = require('../config.js'); var nano = require('nano')(config.couchAuthDbURL); var maindb = nano.use('main'); var uuid = require('node-uuid'); var recordsToUpdate = []; maindb.list({startkey: 'visit_', endkey: 'visit_\uffff', include_docs: true}, function(err, results) { if (!err) { results.rows.forEa...
var config = require('../config.js'); var nano = require('nano')(config.couchAuthDbURL); var maindb = nano.use('main'); var uuid = require('node-uuid'); var recordsToUpdate = []; maindb.list({startkey: 'visit_', endkey: 'visit_\uffff', include_docs: true}, function(err, results) { if (!err) { results.rows.forEa...
Update notes migration to use examiner and startDate
Update notes migration to use examiner and startDate
JavaScript
mit
HospitalRun/hospitalrun-server,HospitalRun/hospitalrun-server
javascript
## Code Before: var config = require('../config.js'); var nano = require('nano')(config.couchAuthDbURL); var maindb = nano.use('main'); var uuid = require('node-uuid'); var recordsToUpdate = []; maindb.list({startkey: 'visit_', endkey: 'visit_\uffff', include_docs: true}, function(err, results) { if (!err) { re...
27a26ac06e29294535107f744b76b2abbbcc161a
.travis.yml
.travis.yml
language: go script: make && make test
language: go go: - 1.1 - 1.2 matrix: allow_failures: - go: 1.1 script: make && make test
Test on 1.1 and 1.2, but ignore 1.2 failures
Test on 1.1 and 1.2, but ignore 1.2 failures
YAML
apache-2.0
skottler/go-nrpe,skottler/go-nrpe
yaml
## Code Before: language: go script: make && make test ## Instruction: Test on 1.1 and 1.2, but ignore 1.2 failures ## Code After: language: go go: - 1.1 - 1.2 matrix: allow_failures: - go: 1.1 script: make && make test
41696ab8a868f34af14c5e78830abe58c2ad0716
composer.json
composer.json
{ "name": "aerialship/saml-sp-bundle", "license": "MIT", "type": "symfony-bundle", "description": "Symfony2 SAML2 authentication bundle", "autoload": { "psr-0": { "AerialShip\\SamlSPBundle\\": "src/" } }, "require": { "php": ">=5.4.1", "aerialship/lightsaml": "~1.0", ...
{ "name": "aerialship/saml-sp-bundle", "license": "MIT", "type": "symfony-bundle", "description": "Symfony2 SAML2 authentication bundle", "autoload": { "psr-0": { "AerialShip\\SamlSPBundle\\": "src/" } }, "require": { "php": ">=5.4.1", "aerialship/lightsaml": "~1.0", ...
Add php_codesniffer as dev dependency for project.
Add php_codesniffer as dev dependency for project.
JSON
mit
aerialship/SamlSPBundle,Causecast/SamlSPBundle,rlustin/SamlSPBundle,rlustin/SamlSPBundle,HearstCorp/SamlSPBundle,stuartwilsondev/SamlSPBundle,INSEAD-asim/SamlSPBundle,aerialship/SamlSPBundle,rlustin/SamlSPBundle,HearstCorp/SamlSPBundle,stuartwilsondev/SamlSPBundle,INSEAD-asim/SamlSPBundle,INSEAD-asim/SamlSPBundle,aeria...
json
## Code Before: { "name": "aerialship/saml-sp-bundle", "license": "MIT", "type": "symfony-bundle", "description": "Symfony2 SAML2 authentication bundle", "autoload": { "psr-0": { "AerialShip\\SamlSPBundle\\": "src/" } }, "require": { "php": ">=5.4.1", "aerialship/ligh...
39dd65878e3fb92b40c4760e56f3c7b803ce5173
bin/test/before.js
bin/test/before.js
/** * Dependencies */ var TemplateManifest = require('./fixtures/TemplateManifest'); var FileHeap = require('./fixtures/FileHeap'); before(function (cb) { var self = this; /* * Use an allocator to make it easier to manage files * generated during testing */ self.heap = new FileHeap(); /* * Another fi...
/** * Dependencies */ var TemplateManifest = require('./fixtures/TemplateManifest'); var FileHeap = require('./fixtures/FileHeap'); var GenerateJSONFileHelper = require('../generators/_helpers/jsonfile'); before(function (cb) { var self = this; /* * Use an allocator to make it easier to manage files * gene...
Use jsonfile helper to create package.json fixture.
Use jsonfile helper to create package.json fixture.
JavaScript
mit
vip-git/sails,adrianha/sails,ctartist621/sails,janladaking/sails,dylannnn/sails,hellowin/sails,winlolo/sails,vip-git/sails,antodoms/sails,rlugojr/sails,yangchuoxian/sails,taogb/sails,EdisonSu768/sails,dbuentello/sails,jakutis/sails,curphey/sails,hokkoo/sails,Karnith/sails-for-gulp,boarderdav/sails,AnyPresence/sails,tem...
javascript
## Code Before: /** * Dependencies */ var TemplateManifest = require('./fixtures/TemplateManifest'); var FileHeap = require('./fixtures/FileHeap'); before(function (cb) { var self = this; /* * Use an allocator to make it easier to manage files * generated during testing */ self.heap = new FileHeap(); /...
72691fbefd2d04a57a66dd3b1cd88b2a1b9478d2
src/FOM/CoreBundle/Resources/public/js/widgets/dropdown.js
src/FOM/CoreBundle/Resources/public/js/widgets/dropdown.js
$(function() { $('.dropdown').each(function() { var element = $(this); var dropdownList = element.find(".dropdownList"); if(dropdownList.children().length === 0) { element.find("option").each(function(i, e) { $(e).addClass("opt-" + i); dropdownLis...
$(function() { $('.dropdown').each(function() { var me = $(this); var dropdownList = me.find(".dropdownList"); if(dropdownList.children().length === 0) { me.find("option").each(function(i, e) { $(e).addClass("opt-" + i); dropdownList.append($('<li ...
Fix select element global listener
Fix select element global listener
JavaScript
mit
mapbender/fom,mapbender/fom,mapbender/fom
javascript
## Code Before: $(function() { $('.dropdown').each(function() { var element = $(this); var dropdownList = element.find(".dropdownList"); if(dropdownList.children().length === 0) { element.find("option").each(function(i, e) { $(e).addClass("opt-" + i); ...
5f2c09671649f50e481776760d87bdd940c029d0
src/plugins/commands/get_abbrv.rb
src/plugins/commands/get_abbrv.rb
require 'cinch' module Plugins module Commands class GetAbbreviation include Cinch::Plugin match(/getabbrv (.+)/) # Gets either the abbreviation of a mod, or the mod using an abbreviation. # @param msg [Cinch::Message] # @param thing [String] The abbreviation OR mod. def exe...
require 'cinch' module Plugins module Commands class GetAbbreviation include Cinch::Plugin match(/getabbrv (.+)/) # Gets either the abbreviation of a mod, or the mod using an abbreviation. # @param msg [Cinch::Message] # @param thing [String] The abbreviation OR mod. def exe...
Fix unclear message in getabbrv
:bug: Fix unclear message in getabbrv
Ruby
unknown
FTB-Gamepedia/SatanicBot,elifoster/SatanicBot
ruby
## Code Before: require 'cinch' module Plugins module Commands class GetAbbreviation include Cinch::Plugin match(/getabbrv (.+)/) # Gets either the abbreviation of a mod, or the mod using an abbreviation. # @param msg [Cinch::Message] # @param thing [String] The abbreviation OR mo...
8aa5868c504a0f4d2b53a014b002fb350d99ed83
app/views/articles/show.html.erb
app/views/articles/show.html.erb
<% set_meta_tags(title: article.title, description: article.description, canonical: article.canonical_url, alternate: article.alternate_options) %> <% content_for(:context_bar) do %> <% if @breadcrumbs.present? %> <%= render 'shared/breadcrumbs', bread...
<% set_meta_tags(title: article.title, description: article.description, canonical: article.canonical_url, alternate: article.alternate_options) %> <% content_for(:context_bar) do %> <% if @breadcrumbs.present? %> <%= render 'shared/breadcrumbs', bread...
Put the feedback panel on articles behind a feature toggle.
Put the feedback panel on articles behind a feature toggle.
HTML+ERB
mit
moneyadviceservice/frontend,moneyadviceservice/frontend,moneyadviceservice/frontend,moneyadviceservice/frontend
html+erb
## Code Before: <% set_meta_tags(title: article.title, description: article.description, canonical: article.canonical_url, alternate: article.alternate_options) %> <% content_for(:context_bar) do %> <% if @breadcrumbs.present? %> <%= render 'shared/bre...
fd5dd54e90b46048453b08d3012bf02ba1551e07
uk_central_london.html
uk_central_london.html
--- layout: base title: Computer Anonymous Central London --- <h1>Computer Anonymous — Central London</h1> <p> Read <a href="index.html">The overview</a> if you haven't already, especially the code of conduct. </p> <h2>The Meetings</h2> <h3>Venue</h3> <p><a href="http://holbornwhippet.com/">The Holbo...
--- layout: base title: Computer Anonymous Central London --- <h1>Computer Anonymous — Central London</h1> <p> Read <a href="index.html">The overview</a> if you haven't already, especially the code of conduct. </p> <h2>Current Status</h2> <p>The Central London group is currently inactive — please see <a href="htt...
Add note on current status of Central London group
Add note on current status of Central London group
HTML
cc0-1.0
ComputerAnonymousSeattle/computer,ComputerAnonymousSeattle/computer,patrickod/computer,patrickod/computer,tdfischer/computer,tdfischer/computer
html
## Code Before: --- layout: base title: Computer Anonymous Central London --- <h1>Computer Anonymous — Central London</h1> <p> Read <a href="index.html">The overview</a> if you haven't already, especially the code of conduct. </p> <h2>The Meetings</h2> <h3>Venue</h3> <p><a href="http://holbornwhippet...
3bbe3a5569cf2f031e70919de6dc70ee39b15441
src/Compiler/TypeChecking/Context.hs
src/Compiler/TypeChecking/Context.hs
module Compiler.TypeChecking.Context ( -- * Kinds. Kind , KindCtx -- * Types. , Scheme(..) , TyCtx ) where import qualified Data.Map as Map import Data.Map (Map) import Compiler.AST -- | The type for kinds. -- -- Since the only possible kinds are of the form @* -> * -> ... ->...
module Compiler.TypeChecking.Context ( -- * Kinds. Kind , KindCtx -- * Types. , TyCtx -- * Type signatures. , SigCtx -- * Type inference context. , TICtx ) where import qualified Data.Map as Map import Data.Map (Map) import Compiler.AST -- | The type for kinds. --...
Add rest of contexts needed for type inference.
Add rest of contexts needed for type inference.
Haskell
bsd-3-clause
vituscze/norri
haskell
## Code Before: module Compiler.TypeChecking.Context ( -- * Kinds. Kind , KindCtx -- * Types. , Scheme(..) , TyCtx ) where import qualified Data.Map as Map import Data.Map (Map) import Compiler.AST -- | The type for kinds. -- -- Since the only possible kinds are of the form @...
9839d312cf9a3605f3b78eefc9a0133b9a5e333c
.travis.yml
.travis.yml
language: ruby bundler_args: --without extras osx rvm: - 1.9.3 - jruby-19mode - rbx-19mode
language: ruby bundler_args: --without extras osx rvm: - 1.9.3 - rbx-19mode
Remove JRuby from Travis Rubies for now
Remove JRuby from Travis Rubies for now JRuby can not build and install the posix-spawn gem, which causes the build to fail.
YAML
mit
jcf/rails_git_version,jcf/rails_git_version,jcf/rails_git_version
yaml
## Code Before: language: ruby bundler_args: --without extras osx rvm: - 1.9.3 - jruby-19mode - rbx-19mode ## Instruction: Remove JRuby from Travis Rubies for now JRuby can not build and install the posix-spawn gem, which causes the build to fail. ## Code After: language: ruby bundler_args: --without extras os...
5d14030bad8c2840bc045ca428ab831e2f1a6695
ui/plugins/talos/main.html
ui/plugins/talos/main.html
<span ng-repeat="line in job_details"> <ul ng-if="line.content_type == 'TalosResult'"> <li>Datazilla: <ul> <li ng-repeat="(k,v) in line.value.datazilla"><a href="{{::v.url}}" target="_blank">{{::k}}</a> </li> </ul> </li> <li>Graphserver: <ul> <li ng-repeat="(k,v)...
<span ng-repeat="line in job_details"> <ul ng-if="line.content_type == 'TalosResult'"> <li>Datazilla: <ul> <li ng-repeat="(k,v) in line.value.datazilla"><a href="{{::v.url}}" target="_blank">{{::k}}</a> </li> </ul> </li> <li>Graphserver: <ul> <li ng-repeat="(k,v)...
Add target="_blank" to the cleopatra links.
Add target="_blank" to the cleopatra links.
HTML
mpl-2.0
rail/treeherder,rail/treeherder,parkouss/treeherder,KWierso/treeherder,KWierso/treeherder,adusca/treeherder,sylvestre/treeherder,parkouss/treeherder,glenn124f/treeherder,kapy2010/treeherder,akhileshpillai/treeherder,adusca/treeherder,deathping1994/treeherder,edmorley/treeherder,wlach/treeherder,edmorley/treeherder,sylv...
html
## Code Before: <span ng-repeat="line in job_details"> <ul ng-if="line.content_type == 'TalosResult'"> <li>Datazilla: <ul> <li ng-repeat="(k,v) in line.value.datazilla"><a href="{{::v.url}}" target="_blank">{{::k}}</a> </li> </ul> </li> <li>Graphserver: <ul> <li ...
7d4ae01a2cea86a33d33662c7ac0c1f79588b03f
src/Listeners/LogOutUser.php
src/Listeners/LogOutUser.php
<?php namespace TitusPiJean\Flarum\Auth\SSOwat\Listeners; use Flarum\Core\User; use Flarum\Event\UserLoggedOut; use Flarum\Settings\SettingsRepositoryInterface; use Illuminate\Contracts\Events\Dispatcher; class LogOutUser { protected $settings; public function __construct(SettingsRepositoryInterface $setting...
<?php namespace TitusPiJean\Flarum\Auth\SSOwat\Listeners; use Flarum\Core\User; use Flarum\Event\UserLoggedOut; use Flarum\Settings\SettingsRepositoryInterface; use Illuminate\Contracts\Events\Dispatcher; class LogOutUser { protected $settings; public function __construct(SettingsRepositoryInterface $setting...
Fix logging out for non-SSO users
Fix logging out for non-SSO users
PHP
mit
tituspijean/flarum-ext-auth-ssowat,tituspijean/flarum-ext-auth-ssowat
php
## Code Before: <?php namespace TitusPiJean\Flarum\Auth\SSOwat\Listeners; use Flarum\Core\User; use Flarum\Event\UserLoggedOut; use Flarum\Settings\SettingsRepositoryInterface; use Illuminate\Contracts\Events\Dispatcher; class LogOutUser { protected $settings; public function __construct(SettingsRepositoryIn...
c59c811893fbffd62e9175898e68abdbb44f7ef7
lib/knowledge_base/concerns/models/category.rb
lib/knowledge_base/concerns/models/category.rb
module KnowledgeBase::Concerns::Models::Category extend ActiveSupport::Concern included do extend FriendlyId publishable on: :published_at friendly_id :title, use: :slugged belongs_to :category has_many :category_article_associations, -> { order 'position ASC' } has_many :articles, throu...
module KnowledgeBase::Concerns::Models::Category extend ActiveSupport::Concern included do extend FriendlyId publishable on: :published_at friendly_id :title, use: :slugged belongs_to :category has_many :category_article_associations, -> { order 'position ASC' } has_many :articles, throu...
Remove scope that shouldn't be there
Remove scope that shouldn't be there
Ruby
mit
hyperoslo/knowledge_base,hyperoslo/knowledge_base,hyperoslo/knowledge_base
ruby
## Code Before: module KnowledgeBase::Concerns::Models::Category extend ActiveSupport::Concern included do extend FriendlyId publishable on: :published_at friendly_id :title, use: :slugged belongs_to :category has_many :category_article_associations, -> { order 'position ASC' } has_many ...
5ba1b7b0f32c690454a5cefdd0185fb6d3717337
scss/modules/_images.scss
scss/modules/_images.scss
// RESPONSIVE FLOATED IMAGES // -------------------------------------------------------------------- %image-block { display: block; @include x-rem(margin, 1 0); } // For use with → processwire.com // .align_left, // .align_right { // @extend %image-block; // }
// RESPONSIVE FLOATED IMAGES // -------------------------------------------------------------------- %image-block { display: block; @include x-rem(margin, 1 0); } // For use with → processwire.com // .align_left, // .align_right { // @extend %image-block; // } @media only screen and (min-width: 768px) { ...
Move these back to images module.
Move these back to images module.
SCSS
mit
yellowled/yl-bp,yellowled/yl-bp
scss
## Code Before: // RESPONSIVE FLOATED IMAGES // -------------------------------------------------------------------- %image-block { display: block; @include x-rem(margin, 1 0); } // For use with → processwire.com // .align_left, // .align_right { // @extend %image-block; // } ## Instruction: Move these ba...
fabcdef8e6e97d50c83d5745810807c79f14ae1e
CONTRIBUTING.md
CONTRIBUTING.md
TK ### Code formatting Please make sure that you always apply the project codestyles when formatting the code. If you are not sure how to configure that properly in Android Studio or IntelliJ please follow the official [instructions](https://www.jetbrains.com/help/idea/configuring-code-style.html).
Please make sure that you always apply the project codestyles when formatting the code. If you are not sure how to configure that properly in Android Studio or IntelliJ please follow the official [instructions](https://www.jetbrains.com/help/idea/configuring-code-style.html).
Remove TK abbreviation and change headline formats.
Remove TK abbreviation and change headline formats.
Markdown
apache-2.0
grandcentrix/ThirtyInch,grandcentrix/ThirtyInch
markdown
## Code Before: TK ### Code formatting Please make sure that you always apply the project codestyles when formatting the code. If you are not sure how to configure that properly in Android Studio or IntelliJ please follow the official [instructions](https://www.jetbrains.com/help/idea/configuring-code-style.html). ##...
299f484b680631d30da76543c1eb0318d859eb87
gradle.properties
gradle.properties
name=SpongeAPI version=7.3.0 description=A Minecraft plugin API url=https://www.spongepowered.org organization=SpongePowered gradleVersion=3.3 org.gradle.jvmargs=-Xmx3G
name=SpongeAPI version=7.4.0-SNAPSHOT description=A Minecraft plugin API url=https://www.spongepowered.org organization=SpongePowered gradleVersion=3.3 org.gradle.jvmargs=-Xmx3G
Set version to 7.4.0-SNAPSHOT for continued development
Set version to 7.4.0-SNAPSHOT for continued development
INI
mit
SpongePowered/SpongeAPI,SpongePowered/SpongeAPI,SpongePowered/SpongeAPI
ini
## Code Before: name=SpongeAPI version=7.3.0 description=A Minecraft plugin API url=https://www.spongepowered.org organization=SpongePowered gradleVersion=3.3 org.gradle.jvmargs=-Xmx3G ## Instruction: Set version to 7.4.0-SNAPSHOT for continued development ## Code After: name=SpongeAPI version=7.4.0-SNAPSHOT descrip...
99305027a162e30813fce773a9c44bb9d0f67381
lib/hue.rb
lib/hue.rb
require 'hue/version' require 'hue/errors' require 'hue/client' require 'hue/bridge' require 'hue/editable_state' require 'hue/translate_keys' require 'hue/light' require 'hue/group' require 'hue/scene' module Hue USERNAME_RANGE = 10..40 USERNAME = '1234567890' end
require 'hue/version' require 'hue/errors' require 'hue/client' require 'hue/bridge' require 'hue/editable_state' require 'hue/translate_keys' require 'hue/light' require 'hue/group' require 'hue/scene' module Hue USERNAME_RANGE = 10..40 USERNAME = (ENV['HUE_BRIDGE_USER'] && ENV['HUE_BRIDGE_USER'] != '') ? ENV['HU...
Allow specifying user ID via env var.
Allow specifying user ID via env var.
Ruby
mit
MrJoy/audio_playground,MrJoy/sparkle_motion,MrJoy/flux-hue,MrJoy/flux-hue,MrJoy/flux-hue,MrJoy/audio_playground,MrJoy/sparkle_motion,MrJoy/sparkle_motion,MrJoy/audio_playground
ruby
## Code Before: require 'hue/version' require 'hue/errors' require 'hue/client' require 'hue/bridge' require 'hue/editable_state' require 'hue/translate_keys' require 'hue/light' require 'hue/group' require 'hue/scene' module Hue USERNAME_RANGE = 10..40 USERNAME = '1234567890' end ## Instruction: Allow specifying...
9a18702defa8e9a66cbc8e81ac7c4dc1d8a991ae
app/views/index.html
app/views/index.html
<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <title>Who dat baby</title> <link rel="stylesheet" href="app.css"/> <script src="lib/angular/angular.js"></script> <script src="lib/angular/angular-route.js"></script> <script src="app.js"></script> <script src="services.js"></script> <scrip...
<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <title>Know dat baby</title> <link rel="stylesheet" href="app.css"/> <link href="bootstrap.min.css" rel="stylesheet"> <link href="style.css" rel="stylesheet"> <script src="lib/angular/angular.js"></script> <script src="lib/angular/angular-rou...
Load css and scripts for bootstrap
Load css and scripts for bootstrap
HTML
mit
surajp/whodatbaby,surajp/whodatbaby,surajp/whodatbaby
html
## Code Before: <!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <title>Who dat baby</title> <link rel="stylesheet" href="app.css"/> <script src="lib/angular/angular.js"></script> <script src="lib/angular/angular-route.js"></script> <script src="app.js"></script> <script src="services.js"></...
0f18b3ff63bf6183247e7bce25160547f8cfc21d
setup.py
setup.py
import os import sys from distutils.core import setup if sys.version_info < (3,): print('\nSorry, but Adventure can only be installed under Python 3.\n') sys.exit(1) README_PATH = os.path.join(os.path.dirname(__file__), 'adventure', 'README.txt') with open(README_PATH, encoding="utf-8") as f: README_TEXT ...
import os import sys from distutils.core import setup if sys.version_info < (3,): print('\nSorry, but Adventure can only be installed under Python 3.\n') sys.exit(1) README_PATH = os.path.join(os.path.dirname(__file__), 'adventure', 'README.txt') with open(README_PATH, encoding="utf-8") as f: README_TEXT ...
Change PyPI trove classifier for license terms.
Change PyPI trove classifier for license terms.
Python
apache-2.0
devinmcgloin/advent,devinmcgloin/advent
python
## Code Before: import os import sys from distutils.core import setup if sys.version_info < (3,): print('\nSorry, but Adventure can only be installed under Python 3.\n') sys.exit(1) README_PATH = os.path.join(os.path.dirname(__file__), 'adventure', 'README.txt') with open(README_PATH, encoding="utf-8") as f: ...
460571689631e080ede6757e106f86817b7069ac
test/fog/compute/brightbox_test.rb
test/fog/compute/brightbox_test.rb
require "minitest/autorun" require "fog/brightbox" class Fog::Compute::BrightboxTest < Minitest::Test def setup @arguments = {} @service = Fog::Compute::Brightbox.new(@arguments) end def test_respond_to_request assert_respond_to @service, :request end def test_respond_to_request_access_token ...
require "minitest/autorun" require "fog/brightbox" class Fog::Compute::BrightboxTest < Minitest::Test def setup @arguments = { :brightbox_auth_url => "http://localhost", :brightbox_api_url => "http://localhost", :brightbox_client_id => "", :brightbox_secret => "", :brightbox_usernam...
Remove dependency on .fog in test
[Brightbox] Remove dependency on .fog in test This isolates the tests from the values in `Fog.credentials` which is based on the contents of `~/.fog` Underlying problem is that the code (and many others) rely on the Fog global making it too tightly coupled to the environment hence having to stub. Full issue: https:/...
Ruby
mit
fog/fog-brightbox,plribeiro3000/fog-brightbox
ruby
## Code Before: require "minitest/autorun" require "fog/brightbox" class Fog::Compute::BrightboxTest < Minitest::Test def setup @arguments = {} @service = Fog::Compute::Brightbox.new(@arguments) end def test_respond_to_request assert_respond_to @service, :request end def test_respond_to_request...
5e2111a5ccc0bcbe7b9af4fec09b9b46eb03ebd3
GenNowPlayingMovieID.py
GenNowPlayingMovieID.py
import requests import re if __name__=="__main__": page = requests.get('https://movie.douban.com/nowplaying/beijing/') content=page.text.encode("utf-8") pattern=re.compile(r'(?<=id=")\d+(?="\n)') result=pattern.findall(content) for iterm in result: print iterm
import requests import re import time from time import gmtime, strftime class GenNowPlayingID(object): """docstring for ClassName""" def __init__(self): #super(ClassName, self).__init__() # self.arg = arg pass def GenNowPlayingIdList(self): page = requests.get('https://movie.douban.com/nowplaying/beijing/'...
Write the nowplaying movie id to file
Write the nowplaying movie id to file
Python
apache-2.0
ModernKings/MKMovieCenter,ModernKings/MKMovieCenter,ModernKings/MKMovieCenter
python
## Code Before: import requests import re if __name__=="__main__": page = requests.get('https://movie.douban.com/nowplaying/beijing/') content=page.text.encode("utf-8") pattern=re.compile(r'(?<=id=")\d+(?="\n)') result=pattern.findall(content) for iterm in result: print iterm ## Instruction: Write the nowpl...
f4893ea0c415f1633367fb66dff068eaaf247060
README.md
README.md
Shnappy =======
Shnappy ======= A simple website renderer built on dotCloud and Cloudant. What you need ------------- 1. A dotCloud account: https://www.dotcloud.com 2. A Cloudant account: https://cloudant.com How to Build ------------ 1. Make sure SBT is installed. Setup instructions are available here: http://www.scala-sbt...
Add build instructions to wiki
Add build instructions to wiki
Markdown
mit
Nycto/Shnappy
markdown
## Code Before: Shnappy ======= ## Instruction: Add build instructions to wiki ## Code After: Shnappy ======= A simple website renderer built on dotCloud and Cloudant. What you need ------------- 1. A dotCloud account: https://www.dotcloud.com 2. A Cloudant account: https://cloudant.com How to Build ------------ ...
0b939787f12fec3c842ecaaecc3cff2003611da5
richsobjects-api-provider-base-tests/src/main/java/com/github/ryanbrainard/richsobjects/api/client/SfdcApiTestSessionProvider.java
richsobjects-api-provider-base-tests/src/main/java/com/github/ryanbrainard/richsobjects/api/client/SfdcApiTestSessionProvider.java
package com.github.ryanbrainard.richsobjects.api.client; /** * @author Ryan Brainard */ public class SfdcApiTestSessionProvider implements SfdcApiSessionProvider { @Override public String getAccessToken() { return System.getProperty("sfdc.test.sessionId"); } @Override public String ...
package com.github.ryanbrainard.richsobjects.api.client; /** * @author Ryan Brainard */ public class SfdcApiTestSessionProvider implements SfdcApiSessionProvider { @Override public String getAccessToken() { return getSystemPropertyOrEnvVar("sfdc.test.sessionId", "SFDC_TEST_SESSION_ID"); } ...
Allow test session and endpoint to come from env vars
Allow test session and endpoint to come from env vars
Java
mit
ryanbrainard/richsobjects
java
## Code Before: package com.github.ryanbrainard.richsobjects.api.client; /** * @author Ryan Brainard */ public class SfdcApiTestSessionProvider implements SfdcApiSessionProvider { @Override public String getAccessToken() { return System.getProperty("sfdc.test.sessionId"); } @Override ...
76695aee5de66b4db45d7fc2c04d81f6b283c536
public/locales/sn/send.ftl
public/locales/sn/send.ftl
title = Firefox Send siteFeedback = Zvirikutaurwa importingFile = Kutora faira enableJavascript = Ndinokumbira mubvumidze JavaScript moedza zvekare # A short representation of a countdown timer containing the number of hours and minutes remaining as digits, example "13h 47m" expiresHoursMinutes = { $hours }maawa { $min...
title = Firefox Send siteFeedback = Zvirikutaurwa importingFile = Kutora faira encryptingFile = Kuinikiriputa enableJavascript = Ndinokumbira mubvumidze JavaScript moedza zvekare # A short representation of a countdown timer containing the number of hours and minutes remaining as digits, example "13h 47m" expiresHoursM...
Update Shona (sn) localization of Firefox Send
Pontoon: Update Shona (sn) localization of Firefox Send Localization authors: - Anesu Chiodza <anesuchiodza@gmail.com>
FreeMarker
mpl-2.0
mozilla/send,mozilla/send,mozilla/send,mozilla/send,mozilla/send
freemarker
## Code Before: title = Firefox Send siteFeedback = Zvirikutaurwa importingFile = Kutora faira enableJavascript = Ndinokumbira mubvumidze JavaScript moedza zvekare # A short representation of a countdown timer containing the number of hours and minutes remaining as digits, example "13h 47m" expiresHoursMinutes = { $hou...
2b0b686d8b0cb60b927347114fe69873134ce799
.travis.yml
.travis.yml
language: java pip install wstest # Should be default: # ./gradlew check
language: java install: "pip install wstest" # Should be default: # ./gradlew check
Put pip install in an install section
Travis: Put pip install in an install section
YAML
bsd-3-clause
provegard/tinyws
yaml
## Code Before: language: java pip install wstest # Should be default: # ./gradlew check ## Instruction: Travis: Put pip install in an install section ## Code After: language: java install: "pip install wstest" # Should be default: # ./gradlew check
29d1aed549321abb7ce74a4924df252ab5f75129
shaq_overflow/app/controllers/users_controller.rb
shaq_overflow/app/controllers/users_controller.rb
class UsersController < ApplicationController before_action :set_user, only: [:show, :edit, :update, :destroy] before_action :require_login, except: [:new, :create] def new @user.new end def create @user = User.new(user_params) respond_to do |format| if @user.save format.html { red...
class UsersController < ApplicationController before_action :set_user, only: [:show, :edit, :update, :destroy] before_action :require_login, except: [:new, :create] def new @user = User.new end def create @user = User.new(user_params) respond_to do |format| if @user.save set_sessio...
Add redirect to user creation
Add redirect to user creation
Ruby
mit
lucasrsantos1/lucky-ambassador,lucasrsantos1/lucky-ambassador,lucasrsantos1/lucky-ambassador
ruby
## Code Before: class UsersController < ApplicationController before_action :set_user, only: [:show, :edit, :update, :destroy] before_action :require_login, except: [:new, :create] def new @user.new end def create @user = User.new(user_params) respond_to do |format| if @user.save f...
d7ae0370396cf76e3e057ec7da83504f7a7673f4
src/js_types/mod.rs
src/js_types/mod.rs
mod js_obj; mod js_type; use std::string::String; pub struct JsUndef; pub struct JsNull; pub struct JsBool(bool); pub struct JsNum(f64); pub struct JsSym(String); pub struct JsStr { text: String, } impl JsStr { const MAX_STR_LEN: u64 = 9007199254740991; // 2^53 - 1 fn new(s: &str) -> JsStr { as...
mod js_obj; mod js_type; use std::string::String; use std::vec::Vec; pub struct JsUndef; pub struct JsNull; pub struct JsBool(bool); pub struct JsNum(f64); pub struct JsSym(String); pub struct JsStr { text: String, } impl JsStr { const MAX_STR_LEN: u64 = 9007199254740991; // 2^53 - 1 fn new(s: &str) ->...
Add type alias for JsArr
Add type alias for JsArr
Rust
mit
rustoscript/french-press
rust
## Code Before: mod js_obj; mod js_type; use std::string::String; pub struct JsUndef; pub struct JsNull; pub struct JsBool(bool); pub struct JsNum(f64); pub struct JsSym(String); pub struct JsStr { text: String, } impl JsStr { const MAX_STR_LEN: u64 = 9007199254740991; // 2^53 - 1 fn new(s: &str) -> Js...
325537cb941ecfc68e730fd1619092d4fd5dcad2
README.md
README.md
[![Build Status](https://travis-ci.org/cloudfoundry/console-vmc-plugin.png)](https://travis-ci.org/cloudfoundry/console-vmc-plugin) ## Deprecated VMC and its plugins have been renamed. You can find the current version of the code for this gem at http://github.com/cloudfoundry/console-cf-plugin ## Console ### Info Thi...
[![Build Status](https://travis-ci.org/cloudfoundry/console-vmc-plugin.png)](https://travis-ci.org/cloudfoundry/console-vmc-plugin) [![Gem Version](https://badge.fury.io/rb/console-vmc-plugin.png)](http://badge.fury.io/rb/console-vmc-plugin) ## Deprecated VMC and its plugins have been renamed. You can find the current...
Add Gem version badge to readme - AML + CB
Add Gem version badge to readme - AML + CB
Markdown
apache-2.0
cloudfoundry-attic/console-vmc-plugin,cloudfoundry-attic/console-vmc-plugin
markdown
## Code Before: [![Build Status](https://travis-ci.org/cloudfoundry/console-vmc-plugin.png)](https://travis-ci.org/cloudfoundry/console-vmc-plugin) ## Deprecated VMC and its plugins have been renamed. You can find the current version of the code for this gem at http://github.com/cloudfoundry/console-cf-plugin ## Cons...
52f12241644c9afe61cb51cafeb5695effb7e7bf
step-release-vis/src/app/components/environment/environment.css
step-release-vis/src/app/components/environment/environment.css
.environment-title { color: dimgrey; margin-bottom: 0; font-family: "Courier New", sans-serif; }
.environment-title { color: dimgrey; margin-bottom: 0; font-family: "Courier New", sans-serif; } #tooltip { width: 10%; height: 10%; padding: 1%; background-color: rgba(240, 240, 240, 0.8); border: 1px solid black; text-align: center; font-family: Roboto, Arial, sans-serif; font-size: 2vmin; }
Add CSS to the tooltip.
Add CSS to the tooltip.
CSS
apache-2.0
googleinterns/step251-2020,googleinterns/step251-2020,googleinterns/step251-2020,googleinterns/step251-2020,googleinterns/step251-2020,googleinterns/step251-2020
css
## Code Before: .environment-title { color: dimgrey; margin-bottom: 0; font-family: "Courier New", sans-serif; } ## Instruction: Add CSS to the tooltip. ## Code After: .environment-title { color: dimgrey; margin-bottom: 0; font-family: "Courier New", sans-serif; } #tooltip { width: 10%; height: 10%; ...
5687b3c29c8d489d96e7cfe80a025fc37845b9fd
donations/index.markdown
donations/index.markdown
--- author: Michael Paquier date: 2011-02-27 12:13:51+00:00 layout: page type: page slug: donations title: 'Donations' tags: - michael - paquier - developer - database - open - source - postgresql - employer - job - litecoin - bitcoin - donation - inquiry - contribution - money --- This site uses no ads. There is as we...
--- author: Michael Paquier date: 2011-02-27 12:13:51+00:00 layout: page type: page slug: donations title: 'Donations' tags: - michael - paquier - developer - database - open - source - postgresql - employer - job - litecoin - bitcoin - peercoin - donation - inquiry - contribution - money --- This site uses no ads. The...
Add Peercoin wallet address for possible donation entry
Add Peercoin wallet address for possible donation entry This makes the way of donating going up to three, with Litecoin as well as Bitcoin.
Markdown
mit
michaelpq/michaelpq.github.io,michaelpq/michaelpq.github.io
markdown
## Code Before: --- author: Michael Paquier date: 2011-02-27 12:13:51+00:00 layout: page type: page slug: donations title: 'Donations' tags: - michael - paquier - developer - database - open - source - postgresql - employer - job - litecoin - bitcoin - donation - inquiry - contribution - money --- This site uses no ads...
5c2c2f5a64a83efa01ac85e45c94c3bd6bd747bb
blog/blog-template.html
blog/blog-template.html
<!DOCTYPE html> <html> <head> <title>Your page title here</title> <meta charset="UTF-8"> <link rel="stylesheet" type="text/css" href="stylesheets/blog-stylesheet.css"> </head> <body> <div class="container"> <div class="logo"> <img src="logo.png" alt="DBC Logo" /> </div> <h4 class=...
<!DOCTYPE html> <html> <head> <title>Personal Blog for Curtis Seaton</title> <meta charset="UTF-8"> <link rel="stylesheet" type="text/css" href="stylesheets/reset.css"> <link rel="stylesheet" type="text/css" href="stylesheets/blog-stylesheet.css"> </head> <body> <div class="container"> <div class="...
Add template page title and syntax
Add template page title and syntax
HTML
mit
codemecurtis/codemecurtis.github.io,codemecurtis/codemecurtis.github.io,codemecurtis/codemecurtis.github.io,codemecurtis/codemecurtis.github.io
html
## Code Before: <!DOCTYPE html> <html> <head> <title>Your page title here</title> <meta charset="UTF-8"> <link rel="stylesheet" type="text/css" href="stylesheets/blog-stylesheet.css"> </head> <body> <div class="container"> <div class="logo"> <img src="logo.png" alt="DBC Logo" /> </div> ...
d1bcf59c9df22076d3e910fb7640707a5806ff48
test/C++Frontend/2003-11-04-ArrayConstructors.cpp
test/C++Frontend/2003-11-04-ArrayConstructors.cpp
struct Foo { Foo(int); }; void foo() { struct { Foo name; } Int[] = { 1 }; }
struct Foo { Foo(int); ~Foo(); }; void foo() { struct { Foo name; } Int[] = { 1 }; }
Add a dtor to ensure that they are called the right number of times.
Add a dtor to ensure that they are called the right number of times. git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@9721 91177308-0d34-0410-b5e6-96231b3b80d8
C++
apache-2.0
llvm-mirror/llvm,GPUOpen-Drivers/llvm,llvm-mirror/llvm,apple/swift-llvm,apple/swift-llvm,apple/swift-llvm,GPUOpen-Drivers/llvm,GPUOpen-Drivers/llvm,apple/swift-llvm,dslab-epfl/asap,dslab-epfl/asap,chubbymaggie/asap,apple/swift-llvm,dslab-epfl/asap,llvm-mirror/llvm,dslab-epfl/asap,GPUOpen-Drivers/llvm,dslab-epfl/asap,ch...
c++
## Code Before: struct Foo { Foo(int); }; void foo() { struct { Foo name; } Int[] = { 1 }; } ## Instruction: Add a dtor to ensure that they are called the right number of times. git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@9721 91177308-0d34-0410-b5e6-96231b3b80d8 ## Code After: struct Foo { ...
d27be745db844e51c3d83b95d2980cf09a06aee1
doc/source/cli/commands.rst
doc/source/cli/commands.rst
General keystone-manage options: -------------------------------- * ``--help`` : display verbose help output. Invoking ``keystone-manage`` by itself will give you some usage information. Available commands: * ``bootstrap``: Perform the basic bootstrap process. * ``credential_migrate``: Encrypt credentials using a n...
General keystone-manage options: -------------------------------- * ``--help`` : display verbose help output. Invoking ``keystone-manage`` by itself will give you some usage information. Available commands: * ``bootstrap``: Perform the basic bootstrap process. * ``credential_migrate``: Encrypt credentials using a n...
Update doc for token_setup and token_rotate
Update doc for token_setup and token_rotate New setup commands are added to keystone-manage cli [1] which are not mentioned anywhere in docs. This patch is added for the same. [1] https://review.openstack.org/#/c/547657/ Change-Id: I50e77566662d7f525c1cce6ce52d14dd31c6e5a2
reStructuredText
apache-2.0
openstack/keystone,openstack/keystone,mahak/keystone,openstack/keystone,mahak/keystone,mahak/keystone
restructuredtext
## Code Before: General keystone-manage options: -------------------------------- * ``--help`` : display verbose help output. Invoking ``keystone-manage`` by itself will give you some usage information. Available commands: * ``bootstrap``: Perform the basic bootstrap process. * ``credential_migrate``: Encrypt crede...
d436927779fadddc5cfc8b625aced054c4e00631
.travis.yml
.travis.yml
language: python sudo: true python: - "3.5" addons: apt: packages: - g++ - gfortran - libblas-dev - liblapack-dev - libopenblas-dev - python3-dev - enchant before_install: - wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh; - chmod +x mi...
language: python sudo: true python: - "3.5" addons: apt: packages: - g++ - gfortran - libblas-dev - liblapack-dev - libopenblas-dev - python3-dev - enchant before_install: - wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh; - chmod +x mi...
Update to a newer dist of debian T167303
Update to a newer dist of debian T167303
YAML
mit
he7d3r/ores,he7d3r/ores,he7d3r/ores,wiki-ai/ores,wiki-ai/ores,wiki-ai/ores
yaml
## Code Before: language: python sudo: true python: - "3.5" addons: apt: packages: - g++ - gfortran - libblas-dev - liblapack-dev - libopenblas-dev - python3-dev - enchant before_install: - wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh;...
a038d8e7eb43dbc6b61b5b351b5e06c527554dd8
app/models/LogListEntry.scala
app/models/LogListEntry.scala
package models case class LogListEntry(name: String, logEntries: Long, size: Long) { def indexName = name.replace("_log", "") }
package models case class LogListEntry(name: String, logEntries: Long, size: Long) { def indexName = name.dropRight(4) }
Use dropRight instead of replace to cut string
Use dropRight instead of replace to cut string
Scala
apache-2.0
MeiSign/Fillable
scala
## Code Before: package models case class LogListEntry(name: String, logEntries: Long, size: Long) { def indexName = name.replace("_log", "") } ## Instruction: Use dropRight instead of replace to cut string ## Code After: package models case class LogListEntry(name: String, logEntries: Long, size: Long) { def in...
0eca8893e146efff38f8a67ed17b93eb2f72e0f0
lib/dimples/page.rb
lib/dimples/page.rb
module Dimples # A class that models a single site page. class Page include Frontable include Renderable attr_accessor :path attr_accessor :title attr_accessor :filename attr_accessor :extension attr_accessor :layout attr_accessor :contents def initialize(site, path = nil) ...
module Dimples # A class that models a single site page. class Page include Frontable include Renderable attr_accessor :path attr_accessor :title attr_accessor :filename attr_accessor :extension attr_accessor :layout attr_accessor :contents attr_accessor :output_directory ...
Simplify the output_path and write methods, add an output_directory accessor and inspect method.
Simplify the output_path and write methods, add an output_directory accessor and inspect method.
Ruby
mit
waferbaby/dimples
ruby
## Code Before: module Dimples # A class that models a single site page. class Page include Frontable include Renderable attr_accessor :path attr_accessor :title attr_accessor :filename attr_accessor :extension attr_accessor :layout attr_accessor :contents def initialize(site,...
2a5b4c04a0058112cbed8180fcdc9bdac1482124
provisioning/scripts/virtualbox.sh
provisioning/scripts/virtualbox.sh
SSH_USER="${SSH_USERNAME:-vagrant}" SSH_USER_HOME="${SSH_USER_HOME:-/home/${SSH_USER}}" case "$PACKER_BUILDER_TYPE" in virtualbox-iso|virtualbox-ovf) echo "==> Installing VirtualBox guest additions" VER=$(cat "$SSH_USER_HOME"/.vbox_version) ISO="VBoxGuestAdditions_$VER.iso"; mkdir -p /tmp/vbox; mo...
SSH_USER="${SSH_USERNAME:-vagrant}" SSH_USER_HOME="${SSH_USER_HOME:-/home/${SSH_USER}}" case "$PACKER_BUILDER_TYPE" in virtualbox-iso|virtualbox-ovf) echo "==> Installing VirtualBox guest additions" VER=$(cat "$SSH_USER_HOME"/.vbox_version) ISO="VBoxGuestAdditions_$VER.iso"; MOUNT_PATH="/tmp/vbox" ...
Move mount path to a variable
Move mount path to a variable
Shell
apache-2.0
ferrarimarco/open-development-environment-devbox,ferrarimarco/open-development-environment-devbox
shell
## Code Before: SSH_USER="${SSH_USERNAME:-vagrant}" SSH_USER_HOME="${SSH_USER_HOME:-/home/${SSH_USER}}" case "$PACKER_BUILDER_TYPE" in virtualbox-iso|virtualbox-ovf) echo "==> Installing VirtualBox guest additions" VER=$(cat "$SSH_USER_HOME"/.vbox_version) ISO="VBoxGuestAdditions_$VER.iso"; mkdir -p /...
4460c1b757b4eb86b2eb49a7996027427e457411
gitconfig.erb
gitconfig.erb
[user] name = Abe Voelker email = abe@abevoelker.com [alias] s = status a = add c = commit cm = commit -m co = checkout d = diff di = diff --cached [color] ui = auto [color "status"] header = normal added = bold green changed = red untracked = cyan branch = bold green nobranch = bold re...
[user] name = Abe Voelker email = abe@abevoelker.com [alias] s = status a = add c = commit cm = commit -m co = checkout d = diff di = diff --cached ignore = !git update-index --assume-unchanged unignore = !git update-index --no-assume-unchanged ignored = !git ls-files -v | grep "^[[:lower:]]" [...
Add git aliases for working with ignored files
Add git aliases for working with ignored files
HTML+ERB
mit
nacengineer/dotfiles,nacengineer/dotfiles
html+erb
## Code Before: [user] name = Abe Voelker email = abe@abevoelker.com [alias] s = status a = add c = commit cm = commit -m co = checkout d = diff di = diff --cached [color] ui = auto [color "status"] header = normal added = bold green changed = red untracked = cyan branch = bold green no...
7bddee2c910460fc164840003b8a2c0c3b1dd284
kbase/basic_macros.h
kbase/basic_macros.h
/* @ 0xCCCCCCCC */ #if defined(_MSC_VER) #pragma once #endif #ifndef KBASE_BASIC_MACROS_H_ #define KBASE_BASIC_MACROS_H_ #define DISALLOW_COPY(CLASSNAME) \ CLASSNAME(const CLASSNAME&) = delete; \ CLASSNAME& operator=(const CLASSNAME&) = delete #define DISALLOW_MOVE(CLAS...
/* @ 0xCCCCCCCC */ #if defined(_MSC_VER) #pragma once #endif #ifndef KBASE_BASIC_MACROS_H_ #define KBASE_BASIC_MACROS_H_ #define DISALLOW_COPY(CLASSNAME) \ CLASSNAME(const CLASSNAME&) = delete; \ CLASSNAME& operator=(const CLASSNAME&) = delete #define DISALLOW_MOVE(CLAS...
Add a macro UNREFED_VAR to silence unused variables warning.
Add a macro UNREFED_VAR to silence unused variables warning.
C
mit
kingsamchen/KBase,kingsamchen/KBase_Demo,kingsamchen/KBase,kingsamchen/KBase_Demo
c
## Code Before: /* @ 0xCCCCCCCC */ #if defined(_MSC_VER) #pragma once #endif #ifndef KBASE_BASIC_MACROS_H_ #define KBASE_BASIC_MACROS_H_ #define DISALLOW_COPY(CLASSNAME) \ CLASSNAME(const CLASSNAME&) = delete; \ CLASSNAME& operator=(const CLASSNAME&) = delete #define DI...
3d0a7dee2cc0c63376ad338a0d921b4e5917dd05
lib/cms/hippo_importer/corporate_page.rb
lib/cms/hippo_importer/corporate_page.rb
module Cms module HippoImporter class CorporatePage < HippoImporter::Base def hippo_type 'contentauthoringwebsite:Static' end def layout @layout ||= site.layouts.find_by(identifier: 'corporate_article') end end end end
module Cms module HippoImporter class CorporatePage < HippoImporter::Base def hippo_type 'contentauthoringwebsite:StaticPage' end def layout @layout ||= site.layouts.find_by(identifier: 'corporate') end end end end
Fix typos for corporate pages on hippo migration
Fix typos for corporate pages on hippo migration
Ruby
mit
moneyadviceservice/cms,moneyadviceservice/cms,moneyadviceservice/cms,moneyadviceservice/cms
ruby
## Code Before: module Cms module HippoImporter class CorporatePage < HippoImporter::Base def hippo_type 'contentauthoringwebsite:Static' end def layout @layout ||= site.layouts.find_by(identifier: 'corporate_article') end end end end ## Instruction: Fix typos for c...
3bd4f91934381d4a11da86d44f34798ef623aa9c
src/test/groovy/org/kt3k/gradle/plugin/coveralls/domain/ServiceInfoTest.groovy
src/test/groovy/org/kt3k/gradle/plugin/coveralls/domain/ServiceInfoTest.groovy
package org.kt3k.gradle.plugin.coveralls.domain import org.junit.Test import static org.junit.Assert.* class ServiceInfoTest { @Test void testConstructor() { ServiceInfo serviceInfo = new ServiceInfo('x-ci', '1729', 'ABCDEF') assertNotNull serviceInfo assertEquals 'x-ci', serviceInfo.serviceName assertEqu...
package org.kt3k.gradle.plugin.coveralls.domain import org.junit.Test import static org.junit.Assert.* class ServiceInfoTest { @Test void testConstructor() { ServiceInfo serviceInfo = new ServiceInfo('x-ci', '1729', 'ABCDEF') assertNotNull serviceInfo assertEquals 'x-ci', serviceInfo.serviceName assertEqu...
Add the tests of equals and hashCode of ServiceInfo
Add the tests of equals and hashCode of ServiceInfo
Groovy
mit
kt3k/coveralls-gradle-plugin
groovy
## Code Before: package org.kt3k.gradle.plugin.coveralls.domain import org.junit.Test import static org.junit.Assert.* class ServiceInfoTest { @Test void testConstructor() { ServiceInfo serviceInfo = new ServiceInfo('x-ci', '1729', 'ABCDEF') assertNotNull serviceInfo assertEquals 'x-ci', serviceInfo.service...
c4ecb51974db70f5e42cea3847d2659a95ae4bb2
.travis.yml
.travis.yml
language: perl perl: - "5.14" install: - sudo apt-get install libdb-dev libgd2-noxpm-dev - cpanm --notest -L extlib/ GD::Image URI::Escape - cpanm --notest -l extlib/ git://github.com/bioperl/bioperl-live.git@v1.6.x - bash setup.sh - npm install -g http-server script: - nohup http-server -p 9000 2>&1 & ...
language: perl perl: - "5.14" install: - sudo apt-get install libdb-dev libgd2-noxpm-dev - cpanm --notest -L extlib/ GD::Image URI::Escape - cpanm --notest -l extlib/ git://github.com/bioperl/bioperl-live.git@v1.6.x - bash setup.sh - npm install -g http-server script: - nohup http-server -p 9000 2>&1 & ...
Make it run the js_tests directory
Make it run the js_tests directory
YAML
lgpl-2.1
Arabidopsis-Information-Portal/jbrowse,GMOD/jbrowse,GMOD/jbrowse,erasche/jbrowse,erasche/jbrowse,GMOD/jbrowse,Arabidopsis-Information-Portal/jbrowse,erasche/jbrowse,limeng12/jbrowse,nathandunn/jbrowse,nathandunn/jbrowse,Arabidopsis-Information-Portal/jbrowse,Arabidopsis-Information-Portal/jbrowse,nathandunn/jbrowse,era...
yaml
## Code Before: language: perl perl: - "5.14" install: - sudo apt-get install libdb-dev libgd2-noxpm-dev - cpanm --notest -L extlib/ GD::Image URI::Escape - cpanm --notest -l extlib/ git://github.com/bioperl/bioperl-live.git@v1.6.x - bash setup.sh - npm install -g http-server script: - nohup http-server ...
0a52c9a8915277a0dc18ce87d4b983209cfdf966
README.md
README.md
This project uses [K3PO Protocol Droid](http://github.com/k3po/k3po) to define a set of integration tests describing the WebSocket Protocol ([RFC-6455](https://tools.ietf.org/html/rfc6455)) Specification. WebSocket Protocol implementations can use these integration tests to help them meet the necessary requirements. ...
[![TravisCI](https://travis-ci.org/k3po/specification.ws.svg?branch=develop)](https://travis-ci.org/k3po/specification.ws) This project uses [K3PO Protocol Droid](http://github.com/k3po/k3po) to define a set of integration tests describing the WebSocket Protocol ([RFC-6455](https://tools.ietf.org/html/rfc6455)) Speci...
Add TravisCI build status icon
Add TravisCI build status icon
Markdown
apache-2.0
irina-mitrea-luxoft/k3po,justinma246/k3po,jfallows/k3po,jfallows/specification.ws,dpwspoon/k3po,sanjay-saxena/k3po,nemigaservices/k3po,mgherghe/k3po,cmebarrow/k3po,StCostea/k3po,dpwspoon/k3po,a-zuckut/k3po,k3po/k3po,cmebarrow/k3po,StCostea/k3po,mgherghe/k3po,k3po/k3po,nemigaservices/k3po,justinma246/k3po,a-zuckut/k3po,...
markdown
## Code Before: This project uses [K3PO Protocol Droid](http://github.com/k3po/k3po) to define a set of integration tests describing the WebSocket Protocol ([RFC-6455](https://tools.ietf.org/html/rfc6455)) Specification. WebSocket Protocol implementations can use these integration tests to help them meet the necessar...
75ba24099c9018f6b1af26cb67ed79f9bd8a25cd
Casks/chocolat.rb
Casks/chocolat.rb
class Chocolat < Cask url 'http://chocolatapp.com/download?experiment=&token=' homepage 'http://chocolatapp.com/' version 'latest' no_checksum end
class Chocolat < Cask url 'http://chocolatapp.com/download' homepage 'http://chocolatapp.com/' version 'latest' no_checksum link 'Chocolat.app' end
Add link field to Chocolat Cask
Add link field to Chocolat Cask
Ruby
bsd-2-clause
pacav69/homebrew-cask,ksylvan/homebrew-cask,stevenmaguire/homebrew-cask,BahtiyarB/homebrew-cask,MicTech/homebrew-cask,KosherBacon/homebrew-cask,githubutilities/homebrew-cask,ddm/homebrew-cask,leipert/homebrew-cask,huanzhang/homebrew-cask,MisumiRize/homebrew-cask,neil-ca-moore/homebrew-cask,jiashuw/homebrew-cask,RJHsiao...
ruby
## Code Before: class Chocolat < Cask url 'http://chocolatapp.com/download?experiment=&token=' homepage 'http://chocolatapp.com/' version 'latest' no_checksum end ## Instruction: Add link field to Chocolat Cask ## Code After: class Chocolat < Cask url 'http://chocolatapp.com/download' homepage 'http://ch...
89ef40ba1064d443c8f04e345d8d704b542778a4
apps/webchat/source/config/WEB-INF/web.xml
apps/webchat/source/config/WEB-INF/web.xml
<?xml version="1.0" encoding="ISO-8859-1"?> <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd"> <web-app> <display-name>WebChat</display-name> <description>Smack-powered WebChat Application</description> <!-- Servlets ...
<?xml version="1.0" encoding="ISO-8859-1"?> <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd"> <web-app> <display-name>WebChat</display-name> <description>Smack-powered WebChat Application</description> <context-param>...
Use context params instead of servlet params, as this may make WAR deployment easier.
Use context params instead of servlet params, as this may make WAR deployment easier. git-svn-id: 0d4d1bf2e47502aa0f0957c230a0ec7fa56198fd@1878 b35dd754-fafc-0310-a699-88a17e54d16e
XML
apache-2.0
xuIcream/Smack,igniterealtime/Smack,unisontech/Smack,qingsong-xu/Smack,opg7371/Smack,cjpx00008/Smack,Flowdalic/Smack,igniterealtime/Smack,Flowdalic/Smack,xuIcream/Smack,vanitasvitae/smack-omemo,igniterealtime/Smack,Flowdalic/Smack,igorexax3mal/Smack,hy9902/Smack,kkroid/OnechatSmack,magnetsystems/message-smack,TTalkIM/S...
xml
## Code Before: <?xml version="1.0" encoding="ISO-8859-1"?> <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd"> <web-app> <display-name>WebChat</display-name> <description>Smack-powered WebChat Application</description> ...
6a1dad581edfcde4ccea840353a0a53d2069d6bf
scripts/figwheel.clj
scripts/figwheel.clj
(require '[figwheel-sidecar.repl :as r] '[figwheel-sidecar.repl-api :as ra] '[cljs.tagged-literals]) (alter-var-root #'cljs.tagged-literals/*cljs-data-readers* assoc 'ux/tr (fn [v] `(uxbox.locales/tr ~v))) (ra/start-figwheel! {:figwheel-options {:css-dirs ["resources/public/css"]} ...
(require '[figwheel-sidecar.repl :as r] '[figwheel-sidecar.repl-api :as ra] '[cljs.tagged-literals]) (alter-var-root #'cljs.tagged-literals/*cljs-data-readers* assoc 'ux/tr (fn [v] `(uxbox.locales/tr ~v))) (ra/start-figwheel! {:figwheel-options {:css-dirs ["resources/public/css"]} ...
Disable var and ns clash warning.
Disable var and ns clash warning.
Clojure
mpl-2.0
uxbox/uxbox,uxbox/uxbox,studiospring/uxbox,uxbox/uxbox,studiospring/uxbox,studiospring/uxbox
clojure
## Code Before: (require '[figwheel-sidecar.repl :as r] '[figwheel-sidecar.repl-api :as ra] '[cljs.tagged-literals]) (alter-var-root #'cljs.tagged-literals/*cljs-data-readers* assoc 'ux/tr (fn [v] `(uxbox.locales/tr ~v))) (ra/start-figwheel! {:figwheel-options {:css-dirs ["resource...
7eb24bfc794ed206a83beed55f4e22cafc4fec45
src/Extensions/SiteTreeExtension.php
src/Extensions/SiteTreeExtension.php
<?php namespace DNADesign\Elemental\Extensions; use DNADesign\Elemental\Models\ElementalArea; use SilverStripe\ORM\DataExtension; /** * The SiteTreeExtension provides a consistent API surface for reading elements from pages regardless * of whether the specific implementation of SiteTree (subclass) has the elementa...
<?php namespace DNADesign\Elemental\Extensions; use DNADesign\Elemental\Models\ElementalArea; use SilverStripe\ORM\DataExtension; /** * The SiteTreeExtension provides a consistent API surface for reading elements from pages regardless * of whether the specific implementation of SiteTree (subclass) has the elementa...
FIX Return empty ElementalArea if none exists for the page
FIX Return empty ElementalArea if none exists for the page
PHP
bsd-3-clause
dnadesign/silverstripe-elemental,dnadesign/silverstripe-elemental
php
## Code Before: <?php namespace DNADesign\Elemental\Extensions; use DNADesign\Elemental\Models\ElementalArea; use SilverStripe\ORM\DataExtension; /** * The SiteTreeExtension provides a consistent API surface for reading elements from pages regardless * of whether the specific implementation of SiteTree (subclass) ...
831ae9a7779283ecc5695c81b7dcf89006a5544a
test/client/spec/components/ecology.spec.jsx
test/client/spec/components/ecology.spec.jsx
/** * Client tests */ import React from "react/addons"; import Component from "src/components/ecology"; // Use `TestUtils` to inject into DOM, simulate events, etc. // See: https://facebook.github.io/react/docs/test-utils.html const TestUtils = React.addons.TestUtils; describe("components/ecology", function () { ...
/** * Client tests */ import React from "react/addons"; import Ecology from "src/components/ecology"; // Use `TestUtils` to inject into DOM, simulate events, etc. // See: https://facebook.github.io/react/docs/test-utils.html const TestUtils = React.addons.TestUtils; describe("components/ecology", function () { i...
Rename Ecology component under test
Rename Ecology component under test
JSX
mit
FormidableLabs/ecology,aurelienshz/ecology,FormidableLabs/ecology,aurelienshz/ecology
jsx
## Code Before: /** * Client tests */ import React from "react/addons"; import Component from "src/components/ecology"; // Use `TestUtils` to inject into DOM, simulate events, etc. // See: https://facebook.github.io/react/docs/test-utils.html const TestUtils = React.addons.TestUtils; describe("components/ecology", ...
c48e7ddb1e172871eed0c2728bde50043776d965
src/Beanstalk/wwwroot/html/game-screen.html
src/Beanstalk/wwwroot/html/game-screen.html
<div id="gameScreen" class="beanstalk-screen"> <div class="hud"> <div class="top-hud"> <div class="height">1345m</div> <button class="back"></button> <button class="help"></button> <!--<button class="music"></button>--> <button class="sound"></button> </div> <div class="bottom-hud"> <button ...
<div id="gameScreen" class="beanstalk-screen"> <div class="hud"> <div class="top-hud"> <div class="height">1345m</div> <button class="back"></button> <button class="help"></button> <!--<button class="music"></button>--> <button class="sound"></button> </div> <div class="bottom-hud"> <button ...
Update default text box message to "type word or phrase"
Update default text box message to "type word or phrase"
HTML
mit
tiltfactor/beanstalk,tiltfactor/beanstalk,tiltfactor/beanstalk,tiltfactor/beanstalk
html
## Code Before: <div id="gameScreen" class="beanstalk-screen"> <div class="hud"> <div class="top-hud"> <div class="height">1345m</div> <button class="back"></button> <button class="help"></button> <!--<button class="music"></button>--> <button class="sound"></button> </div> <div class="bottom-h...
54809439f5c3f475d7705f0fa8e0e9f88adeeb65
README.md
README.md
This repository contains the source code for the docker images used to build mbeddr and other MPS based projects. It is basically a teamcity build agent with some additional packages for compiling. Using the image is fairly simple: ``` docker pull mbeddr/mbeddr.build.docker docker run --name buildAgent1 -d --restart...
This repository contains the source code for the docker images used to build mbeddr and other MPS based projects. It is basically a teamcity build agent with some additional packages for compiling. Using the image is fairly simple: ``` docker pull mbeddr/mbeddr.build.docker docker run --name buildAgent1 -d --restart...
Use $JB_JAVAX_HOME in favor of JB_JAVAX_VERSION
readme: Use $JB_JAVAX_HOME in favor of JB_JAVAX_VERSION
Markdown
mit
mbeddr/mbeddr.build.docker,coolya/mbeddr.build.docker
markdown
## Code Before: This repository contains the source code for the docker images used to build mbeddr and other MPS based projects. It is basically a teamcity build agent with some additional packages for compiling. Using the image is fairly simple: ``` docker pull mbeddr/mbeddr.build.docker docker run --name buildAge...
a26025fef534c359e6cc764f51802e971befefc7
src/Extension/Core/HorizontalRuleExtension.php
src/Extension/Core/HorizontalRuleExtension.php
<?php namespace FluxBB\Markdown\Extension\Core; use FluxBB\Markdown\Common\Text; use FluxBB\Markdown\Extension\ExtensionInterface; use FluxBB\Markdown\Renderer\RendererAwareInterface; use FluxBB\Markdown\Renderer\RendererAwareTrait; use FluxBB\Markdown\Markdown; /** * Converts horizontal rules * * Original source...
<?php namespace FluxBB\Markdown\Extension\Core; use FluxBB\Markdown\Common\Text; use FluxBB\Markdown\Extension\ExtensionInterface; use FluxBB\Markdown\Renderer\RendererAwareInterface; use FluxBB\Markdown\Renderer\RendererAwareTrait; use FluxBB\Markdown\Markdown; /** * Converts horizontal rules * * Original source...
Use preg_quote() for escaping horizontal rule markers.
Use preg_quote() for escaping horizontal rule markers.
PHP
mit
fluxbb/commonmark
php
## Code Before: <?php namespace FluxBB\Markdown\Extension\Core; use FluxBB\Markdown\Common\Text; use FluxBB\Markdown\Extension\ExtensionInterface; use FluxBB\Markdown\Renderer\RendererAwareInterface; use FluxBB\Markdown\Renderer\RendererAwareTrait; use FluxBB\Markdown\Markdown; /** * Converts horizontal rules * *...
2ae687d9263f7646a40928866a09a2cf3ac55423
documentation/src/javadoc/junit-overview.html
documentation/src/javadoc/junit-overview.html
<body> <p>This document consists of three sections:</p> <dl> <dt>Platform</dt> <dd>The JUnit Platform serves as a foundation for launching testing frameworks on the JVM. It also defines the TestEngine API for developing a testing framework that runs on the platform. Furthermore, the platform p...
<body> <p>This document consists of three sections:</p> <dl> <dt>Platform</dt> <dd>The JUnit Platform serves as a foundation for launching testing frameworks on the JVM. It also defines the TestEngine API for developing a testing framework that runs on the platform. Furthermore, the platform p...
Use relative link to user guide of matching version
Use relative link to user guide of matching version
HTML
epl-1.0
junit-team/junit-lambda,sbrannen/junit-lambda
html
## Code Before: <body> <p>This document consists of three sections:</p> <dl> <dt>Platform</dt> <dd>The JUnit Platform serves as a foundation for launching testing frameworks on the JVM. It also defines the TestEngine API for developing a testing framework that runs on the platform. Furthermore...