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
b345345990c708a218ab4d56ac6c18c46155f0a0
README.md
README.md
This repository contains the UI components that make up the new [Buildkite](https://buildkite.com/) frontend. It's currently imported into the main application alongside the existing code and can't be run in any standalone fashion. The goal is to migrate everything to this repository. The main technologies used are: ...
This repository contains the React/GraphQL powered parts of the [Buildkite](https://buildkite.com/) web UI. It’s currently a work-in-progress, and unfortunately isn’t able to be run standalone from the closed-source Buildkite backend repository. You’re welcome to send a pull request with any changes if you wish, but ...
Clarify the current state of the frontend repo
Clarify the current state of the frontend repo
Markdown
mit
buildkite/frontend,fotinakis/buildkite-frontend,fotinakis/buildkite-frontend,buildkite/frontend
markdown
## Code Before: This repository contains the UI components that make up the new [Buildkite](https://buildkite.com/) frontend. It's currently imported into the main application alongside the existing code and can't be run in any standalone fashion. The goal is to migrate everything to this repository. The main technol...
9d9dc502f81876bfb0b1e6d494ac77ae7fa17526
src/test/scala/latis/reader/TestLisirdLEMRCatalogGenerator.scala
src/test/scala/latis/reader/TestLisirdLEMRCatalogGenerator.scala
package latis.reader import latis.reader.tsml._ import org.junit._ import Assert._ import latis.writer.AsciiWriter import java.net.URL import latis.ops._ class TestLisirdLEMRCatalogGenerator { @Test def check_lemr_catalog = { val ds = LisirdLemrCatalogGenerator().getDataset AsciiWriter.write(ds) ...
package latis.reader import latis.reader.tsml._ import org.junit._ import Assert._ import latis.writer.AsciiWriter import java.net.URL import latis.ops._ import latis.dm._ import latis.metadata.Metadata class TestLisirdLEMRCatalogGenerator { @Test def check_lemr_catalog = { val ds = LisirdLemrCatalogGenera...
Correct check_lemr_catalog unit test (comment write, assert sample).
Correct check_lemr_catalog unit test (comment write, assert sample).
Scala
epl-1.0
latis-data/latis,latis-data/latis
scala
## Code Before: package latis.reader import latis.reader.tsml._ import org.junit._ import Assert._ import latis.writer.AsciiWriter import java.net.URL import latis.ops._ class TestLisirdLEMRCatalogGenerator { @Test def check_lemr_catalog = { val ds = LisirdLemrCatalogGenerator().getDataset AsciiWrite...
efa36e1013e44fa75f6a77a74bd8bf21f3120976
django_facebook/models.py
django_facebook/models.py
from django.db import models from django.core.urlresolvers import reverse from django.http import HttpResponseRedirect class FacebookProfileModel(models.Model): ''' Abstract class to add to your profile model. NOTE: If you don't use this this abstract class, make sure you copy/paste the fields in....
from django.db import models from django.core.urlresolvers import reverse from django.http import HttpResponseRedirect class FacebookProfileModel(models.Model): ''' Abstract class to add to your profile model. NOTE: If you don't use this this abstract class, make sure you copy/paste the fields in....
Allow for a longer image path
Allow for a longer image path My profile image for example does not fit in the default VARCHAR(100)
Python
bsd-3-clause
fivejjs/Django-facebook,troygrosfield/Django-facebook,danosaure/Django-facebook,rafaelgontijo/Django-facebook-fork,abendleiter/Django-facebook,pjdelport/Django-facebook,fivejjs/Django-facebook,abendleiter/Django-facebook,abendleiter/Django-facebook,andriisoldatenko/Django-facebook,ganescoo/Django-facebook,VishvajitP/Dj...
python
## Code Before: from django.db import models from django.core.urlresolvers import reverse from django.http import HttpResponseRedirect class FacebookProfileModel(models.Model): ''' Abstract class to add to your profile model. NOTE: If you don't use this this abstract class, make sure you copy/paste ...
483d5ad5440adaf909b44860366de2f042167fa0
vendor/plugins/somatics_generator/init.rb
vendor/plugins/somatics_generator/init.rb
require 'somatic_link_renderer'
raise "You Should install will_paginate gems or plugin" unless defined?(WillPaginate) require 'somatic_link_renderer'
Raise Error when Will Paginate Gems not installed.
Raise Error when Will Paginate Gems not installed.
Ruby
mit
railsant/somatics
ruby
## Code Before: require 'somatic_link_renderer' ## Instruction: Raise Error when Will Paginate Gems not installed. ## Code After: raise "You Should install will_paginate gems or plugin" unless defined?(WillPaginate) require 'somatic_link_renderer'
5b0c9fda759b5d5b0d15def15509b1e58082e44a
sass/frow/_scaffolding.scss
sass/frow/_scaffolding.scss
// // Scaffolding // -------------------------------------------------- // Reset the box-sizing *, :after, :before { box-sizing: border-box; } // Links a { color: $link-color; text-decoration: none; &:hover, &:focus { color: $link-hover-color; text-decoration: $link-hover-decoration; } } // ...
// // Scaffolding // -------------------------------------------------- // Reset the box-sizing *, :after, :before { box-sizing: border-box; } // Links a { color: $link-color; text-decoration: none; &:hover, &:focus { color: $link-hover-color; text-decoration: $link-hover-decorat...
Add underline to links within p tags
feat(links): Add underline to links within p tags
SCSS
mit
Beg-in/letsGo
scss
## Code Before: // // Scaffolding // -------------------------------------------------- // Reset the box-sizing *, :after, :before { box-sizing: border-box; } // Links a { color: $link-color; text-decoration: none; &:hover, &:focus { color: $link-hover-color; text-decoration: $link-hover-decora...
77996ae7d8c5ea9d16b96cfd0c534b060de86678
lib/mios/services/ha_device1.rb
lib/mios/services/ha_device1.rb
module MiOS module Services module HaDevice1 def self.extended(base) base.instance_variable_set("@hadevice1_urn", "urn:micasaverde-com:serviceId:HaDevice1") end def battery_level integer_for(@hadevice1_urn, "BatteryLevel") end def battery_date timestamp_for(...
module MiOS module Services module HaDevice1 def self.extended(base) base.instance_variable_set("@hadevice1_urn", "urn:micasaverde-com:serviceId:HaDevice1") end def auto_configure boolean_for(@hadevice1_urn, "AutoConfigure") end def battery_date timestamp_fo...
Add some additional methods to HaDevice
Add some additional methods to HaDevice
Ruby
mit
kreynolds/ruby-mios
ruby
## Code Before: module MiOS module Services module HaDevice1 def self.extended(base) base.instance_variable_set("@hadevice1_urn", "urn:micasaverde-com:serviceId:HaDevice1") end def battery_level integer_for(@hadevice1_urn, "BatteryLevel") end def battery_date ...
12e631d7bec776ce01664847c32f0929f59c1b7c
src/ui/_text.scss
src/ui/_text.scss
.ui-text-muted { color: #767676; } .ui-text-small { font-size: 12px; } .ui-text-inline-info { font-size: 11px; color: #B5B5B5; font-weight: bold; } .ui-text-vertically-aligned { @include display(flex); } .ui-align-center { text-align: center; } .ui-align-right { text-align: right; } .ui-align-left...
.ui-text-muted { color: #767676; } .ui-text-small { font-size: 12px; } .ui-text-inline-info { font-size: 11px; color: #B5B5B5; font-weight: bold; } .ui-text-vertically-aligned { @include display(flex); } .ui-align-center { text-align: center; } .ui-align-right { text-align: right; } .ui-align-left...
Add more text style css
Add more text style css
SCSS
mit
wundery/wundery-ui
scss
## Code Before: .ui-text-muted { color: #767676; } .ui-text-small { font-size: 12px; } .ui-text-inline-info { font-size: 11px; color: #B5B5B5; font-weight: bold; } .ui-text-vertically-aligned { @include display(flex); } .ui-align-center { text-align: center; } .ui-align-right { text-align: right; }...
6a4d1313fc932018824578d68f55800c6e38feea
app/views/admin/projects/index.html.erb
app/views/admin/projects/index.html.erb
<h1 style="margin: 0 0 40px 0;">Lista de projetos</h1> <table class="table table-striped"> <tr> <th>Título</th> <th></th> <th>Template</th> <th></th> <th>Textos</th> </tr> <% if @projects %> <% @projects.each do |project| %> <tr> <td><%= link_to project.book.title, admin_pro...
<h1 style="margin: 0 0 40px 0;">Lista de projetos</h1> <table class="table table-striped"> <tr> <th>Título</th> <th></th> <th>Template</th> <th></th> <th>Textos</th> </tr> <% if @projects %> <% @projects.each do |project| %> <tr> <td><%= link_to project.book.title, admin_pro...
Edit organizer credit in project lists
Edit organizer credit in project lists
HTML+ERB
mit
hedra-digital/livro-da-classe,hedra-digital/livro-da-classe,hedra-digital/livro-da-classe,hedra-digital/livro-da-classe,hedra-digital/livro-da-classe,hedra-digital/livro-da-classe
html+erb
## Code Before: <h1 style="margin: 0 0 40px 0;">Lista de projetos</h1> <table class="table table-striped"> <tr> <th>Título</th> <th></th> <th>Template</th> <th></th> <th>Textos</th> </tr> <% if @projects %> <% @projects.each do |project| %> <tr> <td><%= link_to project.book....
77729cf5991afcb14f693015a157176b6b6942ae
roles/deploy/vars/main.yml
roles/deploy/vars/main.yml
wordpress_env_defaults: db_host: localhost db_name: "{{ site | underscore }}_{{ env }}" db_user: "{{ site | underscore }}" disable_wp_cron: true wp_env: "{{ env }}" wp_home: "{{ project.ssl.enabled | default(false) | ternary('https', 'http') }}://{{ project.site_hosts | map(attribute='canonical') | first }}...
wordpress_env_defaults: db_host: localhost db_name: "{{ site | underscore }}_{{ env }}" db_user: "{{ site | underscore }}" disable_wp_cron: true wp_env: "{{ env }}" wp_home: "{{ project.ssl.enabled | default(false) | ternary('https', 'http') }}://{{ project.site_hosts | map(attribute='canonical') | first }}...
Add git_sha and release_version to .env on deploy
Add git_sha and release_version to .env on deploy This will provide `GIT_SHA` and `RELEASE_VERSION` env variables. They can be useful for many purposes including application/error monitoring software.
YAML
mit
partounian/trellis,roots/bedrock-ansible,pressbooks/trellis,partounian/trellis,partounian/trellis,buluma/trellis,partounian/trellis,buluma/trellis,newtonne/trellis,newtonne/trellis,pressbooks/trellis,roots/trellis,roots/bedrock-ansible,buluma/trellis,newtonne/trellis,buluma/trellis,roots/trellis
yaml
## Code Before: wordpress_env_defaults: db_host: localhost db_name: "{{ site | underscore }}_{{ env }}" db_user: "{{ site | underscore }}" disable_wp_cron: true wp_env: "{{ env }}" wp_home: "{{ project.ssl.enabled | default(false) | ternary('https', 'http') }}://{{ project.site_hosts | map(attribute='canoni...
c8a66e76734dc2f6066b113aba3085c20f34f00b
Settings/Controls/ProgressBar.h
Settings/Controls/ProgressBar.h
class ProgressBar : public Control, public StatusCallback { public: ProgressBar(int id, Dialog &parent, bool translate = true) : Control(id, parent, translate) { } protected: virtual IFACEMETHODIMP OnProgress( unsigned long ulProgress, unsigned long ulProgressMax, unsigned lon...
class ProgressBar : public Control, public StatusCallback { public: ProgressBar(int id, Dialog &parent, bool translate = true) : Control(id, parent, translate) { } void Range(int min, int max) { SendMessage(_hWnd, PBM_SETRANGE32, min, max); } void Position(int pos) { SendMess...
Add basic implementation of progress bar methods
Add basic implementation of progress bar methods
C
bsd-2-clause
malensek/3RVX,malensek/3RVX,malensek/3RVX
c
## Code Before: class ProgressBar : public Control, public StatusCallback { public: ProgressBar(int id, Dialog &parent, bool translate = true) : Control(id, parent, translate) { } protected: virtual IFACEMETHODIMP OnProgress( unsigned long ulProgress, unsigned long ulProgressMax, ...
4c294c8edc1eaabd9473af9fe19d7ebc6fda9b3a
docs/RELEASE-NOTES.rst
docs/RELEASE-NOTES.rst
Release Notes for BIG-IP Controller for Cloud Foundry ===================================================== |release| --------- Added Functionality ^^^^^^^^^^^^^^^^^^^ * Support for TCP and HTTP routing. * Attach custom policy, profile, or health monitor to L7 objects created on the BIG-IP device. * Manages the follo...
Release Notes for BIG-IP Controller for Cloud Foundry ===================================================== |release| --------- Added Functionality ^^^^^^^^^^^^^^^^^^^ * Support for TCP and HTTP routing. * Attach custom policy, profile, or health monitor to L7 objects created on the BIG-IP device. * Manages the follo...
Fix grammar and style check errors
Fix grammar and style check errors Problem: The grammar and style check listed errors in the release notes. Solution: Fixed these error by changing to active voice.
reStructuredText
apache-2.0
dramich/cf-bigip-ctlr,dramich/cf-bigip-ctlr,ryan-talley/cf-bigip-ctlr,dramich/cf-bigip-ctlr,ryan-talley/cf-bigip-ctlr,ryan-talley/cf-bigip-ctlr,dramich/cf-bigip-ctlr,ryan-talley/cf-bigip-ctlr
restructuredtext
## Code Before: Release Notes for BIG-IP Controller for Cloud Foundry ===================================================== |release| --------- Added Functionality ^^^^^^^^^^^^^^^^^^^ * Support for TCP and HTTP routing. * Attach custom policy, profile, or health monitor to L7 objects created on the BIG-IP device. * M...
38da1a723af8fc77afe2af651493fde27b053f5c
sensors/runfolder_sensor.yaml
sensors/runfolder_sensor.yaml
--- class_name: "RunfolderSensor" entry_point: "runfolder_sensor.py" description: "Sensor which monitors runfolders" poll_interval: 30 trigger_types: - name: "runfolder_ready" description: "Trigger which indicates that a runfolder is ready for processing" payload_schema: type: "o...
--- class_name: "RunfolderSensor" entry_point: "runfolder_sensor.py" description: "Sensor which monitors runfolders" poll_interval: 300 # Every 5 minutes trigger_types: - name: "runfolder_ready" description: "Trigger which indicates that a runfolder is ready for processing" payload_schem...
Increase sensor poll time to 5 min
Increase sensor poll time to 5 min Right now we see problematic behaviour since the same runfolder gets started multiple times when many things are running simultaneously.
YAML
mit
johandahlberg/arteria-packs,johandahlberg/arteria-packs,arteria-project/arteria-packs,johanherman/arteria-packs,johanherman/arteria-packs,arteria-project/arteria-packs,arteria-project/arteria-packs
yaml
## Code Before: --- class_name: "RunfolderSensor" entry_point: "runfolder_sensor.py" description: "Sensor which monitors runfolders" poll_interval: 30 trigger_types: - name: "runfolder_ready" description: "Trigger which indicates that a runfolder is ready for processing" payload_schema: ...
262c982ce8734ce52df072a0ad536365d6f68924
js/copy.js
js/copy.js
$(function () { ZeroClipboard.config({swfPath: $('[data-swf-path]').data('swf-path')}); $('pre').each(function () { if (!$(this).find('code').length) { var code = $(this).html(); $(this).html(''); $('<code></code>').html(code).appendTo($(this)); } }).appe...
(function ($) { $(function () { ZeroClipboard.config({swfPath: $('[data-swf-path]').data('swf-path')}); $('pre').each(function () { if (!$(this).find('code').length) { var code = $(this).html(); $(this).html(''); $('<code></code>').html(c...
Fix conflict with jQuery and prototype
Fix conflict with jQuery and prototype
JavaScript
mit
wenzhixin/redmine-chrome,wenzhixin/redmine-chrome,wenzhixin/redmine-chrome
javascript
## Code Before: $(function () { ZeroClipboard.config({swfPath: $('[data-swf-path]').data('swf-path')}); $('pre').each(function () { if (!$(this).find('code').length) { var code = $(this).html(); $(this).html(''); $('<code></code>').html(code).appendTo($(this)); ...
8da37fb447fcfdb6a41984040d93569805b07e73
golang/install.sh
golang/install.sh
set -oe pipefail p="${HOME}/src/github/saibing/bingo.git/" git clone https://github.com/saibing/bingo.git "$p" pushd "$p" GO111MODULE=on go install popd
set -oe pipefail p="${HOME}/src/github/saibing/bingo.git/" git clone https://github.com/saibing/bingo.git "$p" || git -C "$p" pull pushd "$p" GO111MODULE=on go install popd
Fix the saibing bingo update
Fix the saibing bingo update
Shell
mit
aignas/dotfiles,aignas/dotfiles,gns-ank/dotfiles,gns-ank/dotfiles,aignas/dotfiles
shell
## Code Before: set -oe pipefail p="${HOME}/src/github/saibing/bingo.git/" git clone https://github.com/saibing/bingo.git "$p" pushd "$p" GO111MODULE=on go install popd ## Instruction: Fix the saibing bingo update ## Code After: set -oe pipefail p="${HOME}/src/github/saibing/bingo.git/" git clone https://github.c...
1de74fa80eba0ea45a7bbd0e7eb04c7dee988745
templates/searchResults.html
templates/searchResults.html
{% extends "baseViewItemTable.html" %} {%block title%} Search {%endblock%} {% block preContent %}{% endblock %} {% block tableHeader %} Search Results {% endblock %} {% block modals %}{% endblock %} {% block scripts %}{% endblock %}
{% extends "baseViewItemTable.html" %} {%block title%} Search {%endblock%} {% block preContent %}{% endblock %} {% block tableHeader %} Search Results ({{ searchPhrase }}) {% endblock %} {% block modals %}{% endblock %} {% block scripts %}{% endblock %}
Add search phrase to table header
Add search phrase to table header
HTML
mit
lcdi/Inventory,lcdi/Inventory,lcdi/Inventory,lcdi/Inventory
html
## Code Before: {% extends "baseViewItemTable.html" %} {%block title%} Search {%endblock%} {% block preContent %}{% endblock %} {% block tableHeader %} Search Results {% endblock %} {% block modals %}{% endblock %} {% block scripts %}{% endblock %} ## Instruction: Add search phrase to table header ## Code Afte...
19afaad06ca29b2bd9aeb632a789711ab0e5c053
src/SidebarMenuHeader.jsx
src/SidebarMenuHeader.jsx
import React from 'react'; const propTypes = { title: React.PropTypes.string, }; const SidebarMenuHeader = ({ title }) => ( <li className="header"> {title} </li> ); SidebarMenuHeader.propTypes = propTypes; export default SidebarMenuHeader;
import React from 'react'; import classNames from 'classnames'; const propTypes = { children: React.PropTypes.node, className: React.PropTypes.string, }; const SidebarMenuHeader = ({ children, className, }) => { const classes = { header: true, }; return ( <li className={classNames(className, cl...
Remove title prop in favor of children
Remove title prop in favor of children
JSX
mit
react-admin-lte/react-admin-lte,react-admin-lte/react-admin-lte,jonmpqts/reactjs-admin-lte
jsx
## Code Before: import React from 'react'; const propTypes = { title: React.PropTypes.string, }; const SidebarMenuHeader = ({ title }) => ( <li className="header"> {title} </li> ); SidebarMenuHeader.propTypes = propTypes; export default SidebarMenuHeader; ## Instruction: Remove title prop in favor of chi...
aab8e699642608554f47a9e952193bacdcfd2ba5
.gitlab-ci.yml
.gitlab-ci.yml
image: docker:latest services: - docker:dind build: stage: build only: - master script: - export IMAGE_TAG=$(echo -en $CI_COMMIT_REF_NAME | tr -c '[:alnum:]_.-' '-') - docker login -u "gitlab-ci-token" -p "$CI_JOB_TOKEN" $CI_REGISTRY - docker build --pull -t "$CI_REGISTRY_IMAGE:$IMAGE_TAG" ./p...
image: docker:latest variables: DOCKER_HOST: 127.0.0.1:2375 privileged: 'true' services: - docker:dind stages: - build-provisioning - deploy build-provisioning: stage: build-provisioning only: - master script: - docker login -u "gitlab-ci-token" -p "$CI_JOB_TOKEN" $CI_REGISTRY - docker bui...
Add DOCKER_HOST: 127.0.0.1 and build-provisioning stage
Add DOCKER_HOST: 127.0.0.1 and build-provisioning stage
YAML
apache-2.0
cncf/demo,cncf/demo,cncf/demo,cncf/demo
yaml
## Code Before: image: docker:latest services: - docker:dind build: stage: build only: - master script: - export IMAGE_TAG=$(echo -en $CI_COMMIT_REF_NAME | tr -c '[:alnum:]_.-' '-') - docker login -u "gitlab-ci-token" -p "$CI_JOB_TOKEN" $CI_REGISTRY - docker build --pull -t "$CI_REGISTRY_IMAGE...
56790acf8a16b79c6ee76a0aea936a6d86d7ff84
documentation/web/releasenotes/3.2/cas_notes.html
documentation/web/releasenotes/3.2/cas_notes.html
<head><title>Globus Toolkit 3.2 CAS Release Notes</title> <link href="../../../../CSS/style.css" rel="stylesheet" type="text/css"> </head> <?php include( "http://www-unix.globus.org/include/globus_header.inc" ); ?> <p class="small"><a href="http://www.globus.org">Globus</a> &gt; <a href="http://www-unix.globus.org/...
<head><title>Globus Toolkit 3.2 CAS Release Notes</title> <link href="../../../../CSS/style.css" rel="stylesheet" type="text/css"> </head> <?php include( "http://www-unix.globus.org/include/globus_header.inc" ); ?> <p class="small"><a href="http://www.globus.org">Globus</a> &gt; <a href="http://www-unix.globus.org/...
Add pointer to CAS docs.
Add pointer to CAS docs.
HTML
apache-2.0
globus/globus-toolkit,ellert/globus-toolkit,gridcf/gct,ellert/globus-toolkit,globus/globus-toolkit,globus/globus-toolkit,globus/globus-toolkit,ellert/globus-toolkit,ellert/globus-toolkit,ellert/globus-toolkit,gridcf/gct,globus/globus-toolkit,gridcf/gct,ellert/globus-toolkit,ellert/globus-toolkit,globus/globus-toolkit,g...
html
## Code Before: <head><title>Globus Toolkit 3.2 CAS Release Notes</title> <link href="../../../../CSS/style.css" rel="stylesheet" type="text/css"> </head> <?php include( "http://www-unix.globus.org/include/globus_header.inc" ); ?> <p class="small"><a href="http://www.globus.org">Globus</a> &gt; <a href="http://www-...
288d4204f1124daa4a33bbaa27f86c9279e6571e
lib/compass-magick/util.rb
lib/compass-magick/util.rb
module Compass::Magick::Util def self.number_value(number, length, default = nil) return default if number.nil? || number.is_a?(Sass::Script::Bool) return length * (number.value.to_f / 100) if number.unit_str === '%' number.value end end
module Compass::Magick::Util def self.number_value(number, length, default = nil) return default if number.nil? || number.is_a?(Sass::Script::Bool) return length * (number.value.to_f / 100) if number.unit_str === '%' return length + number.value if number.value < 0 number.value end end
Add support for negative positions so '-10' translates to `width - 10`.
Add support for negative positions so '-10' translates to `width - 10`. You can now clear an image and leave a 1px edge by using: magick-erase(red, 1, 1, -1, -1)
Ruby
mit
StanAngeloff/compass-magick,StanAngeloff/compass-magick
ruby
## Code Before: module Compass::Magick::Util def self.number_value(number, length, default = nil) return default if number.nil? || number.is_a?(Sass::Script::Bool) return length * (number.value.to_f / 100) if number.unit_str === '%' number.value end end ## Instruction: Add support for negative position...
3f6e89343aa0737b10e5912dfbf934acdb2a3742
.travis.yml
.travis.yml
--- language: ruby sudo: false cache: bundler install: - bundle install - bundle exec bin/appraisal install script: - bundle exec appraisal rake ci rvm: - 2.0.0 - 2.1.8 - 2.2.5 - 2.3.1 matrix: include: - rvm: jruby-9.1.1.0 - rvm: jruby-head exclude: - rvm: 2.0.0 gemfile: gemfiles/rai...
--- language: ruby sudo: false cache: bundler install: - bundle install - bundle exec bin/appraisal install script: - bundle exec appraisal rake ci rvm: - 2.0.0 - 2.1.8 - 2.2.5 - 2.3.1 matrix: include: - rvm: jruby-9.1.1.0 - rvm: jruby-head - rvm: ruby-head exclude: - rvm: 2.0.0 ...
Change jruby to allow for failures.
Change jruby to allow for failures.
YAML
mit
piotrmurach/loaf,peter-murach/loaf,peter-murach/loaf,piotrmurach/loaf,piotrmurach/loaf,piotrmurach/loaf
yaml
## Code Before: --- language: ruby sudo: false cache: bundler install: - bundle install - bundle exec bin/appraisal install script: - bundle exec appraisal rake ci rvm: - 2.0.0 - 2.1.8 - 2.2.5 - 2.3.1 matrix: include: - rvm: jruby-9.1.1.0 - rvm: jruby-head exclude: - rvm: 2.0.0 gemfi...
6bc463c83ee211ff00b3ad253cb77d6010ffbcb5
app/Routes.jsx
app/Routes.jsx
import React from 'react' import {Route, Redirect, IndexRoute} from 'react-router' import Layout from './layout/Layout.jsx' import Home from './pages/Home.jsx' import Login from './pages/Login.jsx' const Routes = ( <Route> <Route path="/" component={Layout}> <Redirect from="/" to="/home"/> ...
import React from 'react' import {Route, Redirect, IndexRoute} from 'react-router' import Layout from './layout/Layout.jsx' import Home from './pages/Home.jsx' import Counter from './pages/Counter.jsx' import Login from './pages/Login.jsx' const Routes = ( <Route> <Route path="/" component={Layout}> ...
Update routes for new component
Update routes for new component
JSX
agpl-3.0
mbrossard/go-experiments,mbrossard/go-experiments,mbrossard/go-experiments
jsx
## Code Before: import React from 'react' import {Route, Redirect, IndexRoute} from 'react-router' import Layout from './layout/Layout.jsx' import Home from './pages/Home.jsx' import Login from './pages/Login.jsx' const Routes = ( <Route> <Route path="/" component={Layout}> <Redirect from="/" ...
021b3572e776c1809b540a329d33ba72f388ebf9
foundation/Cargo.toml
foundation/Cargo.toml
[package] name = "objc_foundation" version = "0.0.0" authors = ["Steven Sheldon"] [lib] name = "objc_foundation" path = "lib.rs" [dependencies.objc] path = "../core"
[package] name = "objc_foundation" version = "0.0.0" authors = ["Steven Sheldon"] [lib] name = "objc_foundation" path = "lib.rs" [dependencies] objc = "0.0"
Update foundation to use crates dependency.
Update foundation to use crates dependency.
TOML
mit
ngrewe/rust-objc,SSheldon/rust-objc,SSheldon/rust-objc,ngrewe/rust-objc
toml
## Code Before: [package] name = "objc_foundation" version = "0.0.0" authors = ["Steven Sheldon"] [lib] name = "objc_foundation" path = "lib.rs" [dependencies.objc] path = "../core" ## Instruction: Update foundation to use crates dependency. ## Code After: [package] name = "objc_foundation" version = "0.0.0" author...
95e65b463384687c72dccadf4ca308ffbe51d7cc
vbox_update.sh
vbox_update.sh
vagrant ssh -c "rsync -avP --exclude vbox --exclude .chef /chef-bcpc-host/ /home/vagrant/chef-bcpc/" vagrant ssh -c "cd chef-bcpc && knife environment from file environments/Test-Laptop-Mirror.json && knife role from file roles/*.json && knife cookbook upload -a -o cookbooks"
vagrant ssh -c "rsync -avP --exclude vbox --exclude .chef /chef-bcpc-host/ /home/vagrant/chef-bcpc/" vagrant ssh -c "cd chef-bcpc && knife environment from file environments/*.json && knife role from file roles/*.json && knife cookbook upload -a -o cookbooks"
Simplify update script by upload any environment files.
Simplify update script by upload any environment files.
Shell
apache-2.0
kelvk/chef-bcpc,cloudm2/chef-bcpc,leochen4891/chef-bach,bloomberg/chef-bcpc,amithkanand/chef-bach,DrRayWang/chef-bach,caiush/chef-bcpc,caiush/chef-bcpc,agilemobiledev/chef-bcpc,jrossi/chef-bcpc,cloudm2/chef-bcpc,mihalis68/chef-bcpc,caiush/bos,semenovroman/chef-bcpc,DrRayWang/Chef-Base,caiush/bos,amithkanand/chef-bach,h...
shell
## Code Before: vagrant ssh -c "rsync -avP --exclude vbox --exclude .chef /chef-bcpc-host/ /home/vagrant/chef-bcpc/" vagrant ssh -c "cd chef-bcpc && knife environment from file environments/Test-Laptop-Mirror.json && knife role from file roles/*.json && knife cookbook upload -a -o cookbooks" ## Instruction: Simplify u...
eece74ff2f51dc33b98a794bfb3e874303d54a4d
locales/en.json
locales/en.json
{ "APP": { "NAME": "Kuntokartta", "ABOUT": "About the service" }, "MAP": { "ATTRIBUTION": "OpenStreetMap contributors" }, "UNIT": { "STATUS": "Status", "UNKNOWN": "Unknown", "UPDATED": "Updated", "FURTHER INFO": "Furhter info", "FILTER": { "ALL": "All", "ICESKATE": ...
{ "APP": { "NAME": "Kuntokartta", "ABOUT": "About the service" }, "MAP": { "ATTRIBUTION": "OpenStreetMap contributors" }, "UNIT": { "STATUS": "Status", "UNKNOWN": "Unknown", "UPDATED": "Updated", "FURTHER INFO": "Furhter info", "FILTER": { "ALL": "All", "ICESKATE": ...
Add translations for modal box headlines
Add translations for modal box headlines
JSON
mit
nordsoftware/outdoors-sports-map,nordsoftware/outdoors-sports-map,nordsoftware/outdoors-sports-map
json
## Code Before: { "APP": { "NAME": "Kuntokartta", "ABOUT": "About the service" }, "MAP": { "ATTRIBUTION": "OpenStreetMap contributors" }, "UNIT": { "STATUS": "Status", "UNKNOWN": "Unknown", "UPDATED": "Updated", "FURTHER INFO": "Furhter info", "FILTER": { "ALL": "All", ...
8d9a29380eee6060ba16b2a054f22987715871ce
api/batch.api.js
api/batch.api.js
var vow = require('vow'); var ApiMethod = require('../lib/api-method'); var ApiError = require('../lib/api-error'); /** * @typedef {Object} BatchApiMethod * @property {String} method Method name. * @property {Object} params Method params. * * @example * { * method: 'hello', * params: {name: 'Master'...
var vow = require('vow'); var ApiMethod = require('../lib/api-method'); var ApiError = require('../lib/api-error'); /** * @typedef {Object} BatchApiMethod * @property {String} method Method name. * @property {Object} params Method params. * * @example * { * method: 'hello', * params: {name: 'Master'...
Remove else in batch method
Remove else in batch method
JavaScript
mit
baby-loris/bla,baby-loris/bla
javascript
## Code Before: var vow = require('vow'); var ApiMethod = require('../lib/api-method'); var ApiError = require('../lib/api-error'); /** * @typedef {Object} BatchApiMethod * @property {String} method Method name. * @property {Object} params Method params. * * @example * { * method: 'hello', * params:...
b43c840cb89f09db409d902f3c982a7bb3624e4b
CHANGELOG.rst
CHANGELOG.rst
Changelog ========= in development -------------- Changed ~~~~~~~ * The ``/entrypoint.d`` directory has been moved to ``/st2-docker/entrypoint.d``.
Changelog ========= master ------ Changed ~~~~~~~ * The ``/entrypoint.d`` directory has been moved to ``/st2-docker/entrypoint.d``.
Rename 'in development' to 'master'
Rename 'in development' to 'master'
reStructuredText
apache-2.0
shusugmt/st2-docker,shusugmt/st2-docker
restructuredtext
## Code Before: Changelog ========= in development -------------- Changed ~~~~~~~ * The ``/entrypoint.d`` directory has been moved to ``/st2-docker/entrypoint.d``. ## Instruction: Rename 'in development' to 'master' ## Code After: Changelog ========= master ------ Changed ~~~~~~~ * The ``/entrypoint.d`` directo...
ea2ec2cc3b5a4484f944e12e35e2b384839e09b4
fiware-region-sanity-tests/requirements.txt
fiware-region-sanity-tests/requirements.txt
python-novaclient python-neutronclient python-keystoneclient nose>=1.3.6 git+https://github.com/telefonicaid/nose-html-reporting.git paramiko==1.12.4
python-novaclient==2.23.0 python-neutronclient==2.3.11 python-keystoneclient==1.3.0 nose==1.3.6 git+https://github.com/telefonicaid/nose-html-reporting.git paramiko==1.12.4
Add specific versions of packages
Add specific versions of packages
Text
apache-2.0
telefonicaid/fiware-health,Fiware/ops.Health,telefonicaid/fiware-health,Fiware/ops.Health,telefonicaid/fiware-health,Fiware/ops.Health,Fiware/ops.Health,Fiware/ops.Health,telefonicaid/fiware-health,telefonicaid/fiware-health
text
## Code Before: python-novaclient python-neutronclient python-keystoneclient nose>=1.3.6 git+https://github.com/telefonicaid/nose-html-reporting.git paramiko==1.12.4 ## Instruction: Add specific versions of packages ## Code After: python-novaclient==2.23.0 python-neutronclient==2.3.11 python-keystoneclient==1.3.0 nose...
d35cecc9e9ad4f7e0b909eddfff4beaf81223158
test/spec/SearchApi/Providers/SolrSearchSpec.php
test/spec/SearchApi/Providers/SolrSearchSpec.php
<?php namespace spec\SearchApi\Providers; use SearchApi; use SearchApi\Models; use SearchApi\Services\Search; use SearchApi\Builders\QueryBuilder; use SearchApi\Clients\HttpClient; use PhpSpec\ObjectBehavior; use Prophecy\Argument; /** * SolrSearchSpec - Spec test for SolrSearch */ class SolrSearchSpec extends Ob...
<?php namespace spec\SearchApi\Providers; use SearchApi; use SearchApi\Models; use SearchApi\Services\Search; use SearchApi\Builders\QueryBuilder; use SearchApi\Clients\HttpClient; use PhpSpec\ObjectBehavior; /** * SolrSearchSpec - Spec test for SolrSearch */ class SolrSearchSpec extends ObjectBehavior { functi...
Use literal param in prophecy
Use literal param in prophecy
PHP
mit
gios-asu/search-api
php
## Code Before: <?php namespace spec\SearchApi\Providers; use SearchApi; use SearchApi\Models; use SearchApi\Services\Search; use SearchApi\Builders\QueryBuilder; use SearchApi\Clients\HttpClient; use PhpSpec\ObjectBehavior; use Prophecy\Argument; /** * SolrSearchSpec - Spec test for SolrSearch */ class SolrSearc...
8d75565cb4bfa5bae4c5e85ea94ba7d585284a56
src/lib/setEnvVariables.js
src/lib/setEnvVariables.js
"use strict"; const _ = require("lodash"); /** * Set Serverless environment variables for local invocations * * @param {Serverless} serverless - Serverless Instance * @param {Map<String>} environment - Resolved environment */ function setEnvVariables(serverless, environment) { const functions = _.get(serverless...
"use strict"; const _ = require("lodash"); /** * Set Serverless environment variables for local invocations * * @param {Serverless} serverless - Serverless Instance * @param {Map<String>} environment - Resolved environment */ function setEnvVariables(serverless, environment) { const functions = _.get(serverless...
Fix issue with multiple functions
Fix issue with multiple functions
JavaScript
mit
arabold/serverless-export-env
javascript
## Code Before: "use strict"; const _ = require("lodash"); /** * Set Serverless environment variables for local invocations * * @param {Serverless} serverless - Serverless Instance * @param {Map<String>} environment - Resolved environment */ function setEnvVariables(serverless, environment) { const functions = ...
06242fe78a266054de9b74d0f08d50bf429d7e53
test/unit/traderApiTest.js
test/unit/traderApiTest.js
'use strict'; var assert = require('chai').assert; var Trader = require('../../lib/trader.js'); var PostgresqlInterface = require('../../lib/protocol/db/postgresql_interface.js'); var db = 'psql://lamassu:lamassu@localhost/lamassu-test'; var psqlInterface = new PostgresqlInterface(db); describe('trader/api', functio...
'use strict'; var assert = require('chai').assert; var Trader = require('../../lib/trader.js'); var PostgresqlInterface = require('../../lib/protocol/db/postgresql_interface.js'); var db = 'psql://lamassu:lamassu@localhost/lamassu-test'; var psqlInterface = new PostgresqlInterface(db); describe('trader/api', functio...
Add tests for exchange creation
Add tests for exchange creation
JavaScript
unlicense
naconner/lamassu-server,naconner/lamassu-server,joshmh/lamassu-server,lamassu/lamassu-server,naconner/lamassu-server,joshmh/lamassu-server,joshmh/lamassu-server,lamassu/lamassu-server,evan82/lamassu-server,joshmh/lamassu-server,lamassu/lamassu-server
javascript
## Code Before: 'use strict'; var assert = require('chai').assert; var Trader = require('../../lib/trader.js'); var PostgresqlInterface = require('../../lib/protocol/db/postgresql_interface.js'); var db = 'psql://lamassu:lamassu@localhost/lamassu-test'; var psqlInterface = new PostgresqlInterface(db); describe('trad...
b7e9250d914152e42bbb1489683393d84eb72e00
app/helpers/ember-get.js
app/helpers/ember-get.js
import Ember from 'ember'; export default Ember.Handlebars.makeBoundHelper(function (object, key, sub) { if (typeof sub !== 'string' && typeof sub !== 'number') sub= ''; return Ember.get(object, key) || sub; });
import Ember from 'ember'; export default Ember.Handlebars.makeBoundHelper(function (object, key, sub) { if (typeof sub !== 'string' && typeof sub !== 'number') sub= ''; return (object && Ember.get(object, key)) || sub; });
Fix issue when setting value with Null
Fix issue when setting value with Null
JavaScript
mit
lsocrate/ember-cli-better-select,lsocrate/ember-cli-better-select
javascript
## Code Before: import Ember from 'ember'; export default Ember.Handlebars.makeBoundHelper(function (object, key, sub) { if (typeof sub !== 'string' && typeof sub !== 'number') sub= ''; return Ember.get(object, key) || sub; }); ## Instruction: Fix issue when setting value with Null ## Code After: import Ember fr...
9a879fb583f7f4190a4601a9a488ba61414395e0
kivymd/card.py
kivymd/card.py
from kivy.lang import Builder from kivy.properties import BoundedNumericProperty, ReferenceListProperty from kivy.uix.boxlayout import BoxLayout from kivymd.elevationbehavior import ElevationBehavior from kivymd.theming import ThemableBehavior from kivy.metrics import dp Builder.load_string(''' <MDCard> canvas: ...
from kivy.lang import Builder from kivy.properties import BoundedNumericProperty, ReferenceListProperty, ListProperty,BooleanProperty from kivy.uix.boxlayout import BoxLayout from kivymd.elevationbehavior import ElevationBehavior from kivymd.theming import ThemableBehavior from kivy.metrics import dp Builder.load_stri...
Add border as option (set via alpha)
Add border as option (set via alpha)
Python
mit
cruor99/KivyMD
python
## Code Before: from kivy.lang import Builder from kivy.properties import BoundedNumericProperty, ReferenceListProperty from kivy.uix.boxlayout import BoxLayout from kivymd.elevationbehavior import ElevationBehavior from kivymd.theming import ThemableBehavior from kivy.metrics import dp Builder.load_string(''' <MDCard...
a0d4ae17d2fde9b325ae68220c91604ab1604300
Ruby/lib/parrot.rb
Ruby/lib/parrot.rb
class Parrot def initialize type, number_of_coconuts, voltage, nailed @type = type; @number_of_coconuts = number_of_coconuts; @voltage = voltage; @nailed = nailed; end def speed case @type when :european_parrot return base_speed when :african_parrot return [0, base_speed -...
class Parrot def initialize type, number_of_coconuts, voltage, nailed @type = type @number_of_coconuts = number_of_coconuts @voltage = voltage @nailed = nailed end def speed case @type when :european_parrot return base_speed when :african_parrot return [0, base_speed - lo...
Format and remove trailing semicolon.
Format and remove trailing semicolon.
Ruby
mit
emilybache/Parrot-Refactoring-Kata,emilybache/Parrot-Refactoring-Kata,emilybache/Parrot-Refactoring-Kata,emilybache/Parrot-Refactoring-Kata,emilybache/Parrot-Refactoring-Kata,emilybache/Parrot-Refactoring-Kata,emilybache/Parrot-Refactoring-Kata,emilybache/Parrot-Refactoring-Kata,emilybache/Parrot-Refactoring-Kata,emily...
ruby
## Code Before: class Parrot def initialize type, number_of_coconuts, voltage, nailed @type = type; @number_of_coconuts = number_of_coconuts; @voltage = voltage; @nailed = nailed; end def speed case @type when :european_parrot return base_speed when :african_parrot return ...
27d22bb377b61dacedb41b793b3314f8c1452bee
templates/sysrev/review_form.html
templates/sysrev/review_form.html
{% extends 'base.html' %} {% block head_title %} Edit {{ review.title }} {% endblock %} {% load bootstrap %} {% block body %} <div class="page-header"> <h2>Editing: {{ review.title }}</h2> </div> <form action="" method="post"> {% csrf_token %} {{ form|bootstrap }} <a href="{{ object.get_abs...
{% extends 'base.html' %} {% block head_title %} Edit {{ review.title }} {% endblock %} {% load bootstrap %} {% block body %} <div class="page-header"> <h2>Editing: {{ review.title }}</h2> <nav> <a href="{{ object.get_absolute_url }}" class="btn btn-info"> <span class="glyphicon glyphicon-ar...
Rearrange buttons on review edit form for consistency
Rearrange buttons on review edit form for consistency
HTML
mit
iliawnek/SystematicReview,iliawnek/SystematicReview,iliawnek/SystematicReview,iliawnek/SystematicReview
html
## Code Before: {% extends 'base.html' %} {% block head_title %} Edit {{ review.title }} {% endblock %} {% load bootstrap %} {% block body %} <div class="page-header"> <h2>Editing: {{ review.title }}</h2> </div> <form action="" method="post"> {% csrf_token %} {{ form|bootstrap }} <a href="{...
843ebb7855f9907586f47238b7421c37bc29dac7
vim/vundle.vim
vim/vundle.vim
Bundle 'scrooloose/nerdtree' Bundle 'nathanaelkane/vim-command-w' Bundle 'nathanaelkane/snipmate-snippets' Bundle 'nathanaelkane/vim-indent-guides' Bundle 'wincent/Command-T' Bundle 'bronson/vim-trailing-whitespace' Bundle 'bufexplorer.zip' Bundle 'vimwiki' Bundle 'haml.zip' Bundle 'ack.vim' Bundle 'snipMate' Bundle 't...
" set rtp+=~/.vim/bundle/vundle/ " call vundle#rc() Bundle 'gmarik/vundle' Bundle 'scrooloose/nerdtree' Bundle 'nathanaelkane/vim-command-w' Bundle 'nathanaelkane/snipmate-snippets' Bundle 'nathanaelkane/vim-indent-guides' Bundle 'wincent/Command-T' Bundle 'bronson/vim-trailing-whitespace' Bundle 'bufexplorer.zip' Bun...
Set bundle to update itself.
Set bundle to update itself.
VimL
mit
jcowhigjr/dotfiles,jcowhigjr/dotfiles,jcowhigjr/dotfiles,jcowhigjr/dotfiles
viml
## Code Before: Bundle 'scrooloose/nerdtree' Bundle 'nathanaelkane/vim-command-w' Bundle 'nathanaelkane/snipmate-snippets' Bundle 'nathanaelkane/vim-indent-guides' Bundle 'wincent/Command-T' Bundle 'bronson/vim-trailing-whitespace' Bundle 'bufexplorer.zip' Bundle 'vimwiki' Bundle 'haml.zip' Bundle 'ack.vim' Bundle 'sni...
46b5ef7f4e103a63c8838095fb604a264ba82096
README.md
README.md
Ractive.js Backbone adaptor =========================== Use Backbone models and collections in your [Ractive] components.<br> **[View demo ›][Example]** [![Status](http://img.shields.io/travis/ractivejs/ractive-adaptors-backbone/master.svg?style=flat)](https://travis-ci.org/ractivejs/ractive-adaptors-backbone "See t...
Ractive.js Backbone adaptor =========================== Use Backbone models and collections in your [Ractive] components.<br> **[View demo ›][Example]** [![Status](http://img.shields.io/travis/ractivejs/ractive-adaptors-backbone/master.svg?style=flat)](https://travis-ci.org/ractivejs/ractive-adaptors-backbone "See t...
Add notes on how to use this with npm/browserify
Add notes on how to use this with npm/browserify
Markdown
mit
ractivejs/ractive-adaptors-ampersand,jugglinmike/ractive-adaptors-ampersand
markdown
## Code Before: Ractive.js Backbone adaptor =========================== Use Backbone models and collections in your [Ractive] components.<br> **[View demo ›][Example]** [![Status](http://img.shields.io/travis/ractivejs/ractive-adaptors-backbone/master.svg?style=flat)](https://travis-ci.org/ractivejs/ractive-adaptors...
7a0cd9322b751eda42d629941e7637fc4a1298fb
lib/Common/Distributions.php
lib/Common/Distributions.php
<?php namespace Linode\Common; use Linode\Common\Curl; class Distributions extends Core { //Get a list of al available distributions function getDistros() { $curl = new Curl(); $apiUrl = $this->getApiUrl(); $token = $this->getTokenAuth(); $fullUrl = $apiUrl . 'distributions'; ...
<?php namespace Linode\Common; use Linode\Common\Curl; class Distributions extends Core { //Get a list of al available distributions function getDistros($id = null) { $curl = new Curl(); $apiUrl = $this->getApiUrl(); $token = $this->getTokenAuth(); if ($id != null) { $path...
Add ids to distro GET
Add ids to distro GET
PHP
bsd-3-clause
illblew/php-linode-unofficial
php
## Code Before: <?php namespace Linode\Common; use Linode\Common\Curl; class Distributions extends Core { //Get a list of al available distributions function getDistros() { $curl = new Curl(); $apiUrl = $this->getApiUrl(); $token = $this->getTokenAuth(); $fullUrl = $apiUrl . 'distr...
701590e386bd88e19dc85f676ee562f3821fa376
emfjson-gwt-sample/README.md
emfjson-gwt-sample/README.md
emfjson-gwt example --- # Running the example. ``` mvn jetty:start ```
emfjson-gwt example --- This example shows how to emfjson-gwt to create a GWT application that communicates with a REST server (implemented with Jersey) by sending JSON data. # Running the example. First compile the project by doing ``` mvn clean verify ``` Then launch the server ``` mvn jetty:start ``` Open t...
Update documentation for emfjson-gwt example.
Update documentation for emfjson-gwt example.
Markdown
epl-1.0
emfjson/emfjson-samples,ghillairet/emfjson-samples,emfjson/emfjson-samples,ghillairet/emfjson-samples
markdown
## Code Before: emfjson-gwt example --- # Running the example. ``` mvn jetty:start ``` ## Instruction: Update documentation for emfjson-gwt example. ## Code After: emfjson-gwt example --- This example shows how to emfjson-gwt to create a GWT application that communicates with a REST server (implemented with Jers...
61fd563af22f2824ec4f409063ae20db4c2dd38c
src/CVNBot-sample.ini
src/CVNBot-sample.ini
botnick=YourCVNBot botpass= # Server ircserver=irc.libera.chat feedchannel=#cvn-sandbox controlchannel=None broadcastchannel=None # Files lists=./Lists.sqlite projects=./Projects.xml
botnick=YourCVNBot botpass= botrealname=#cvn-sandbox CVNBot # Server ircserver=irc.libera.chat feedchannel=#cvn-sandbox controlchannel=None broadcastchannel=None # Files lists=./Lists.sqlite projects=./Projects.xml # Feed
Update sample file with file layouts deployed on CVN servers
Config: Update sample file with file layouts deployed on CVN servers
INI
mit
countervandalism/CVNBot
ini
## Code Before: botnick=YourCVNBot botpass= # Server ircserver=irc.libera.chat feedchannel=#cvn-sandbox controlchannel=None broadcastchannel=None # Files lists=./Lists.sqlite projects=./Projects.xml ## Instruction: Config: Update sample file with file layouts deployed on CVN servers ## Code After: botnick=YourCVNBot ...
bc1fc4032df8bb023cb28f44befa9108b5586433
.travis.yml
.travis.yml
language: haskell install: - cd tests - cp -r ../src src - cabal sandbox init - - git clone https://github.com/elm-lang/elm-compiler.git - cd elm-compiler - cabal sandbox init --sandbox .. - cabal install - cd .. - - git clone https://github.com/elm-lang/elm-package.git - cd elm-package - caba...
language: haskell install: - cabal sandbox init - - git clone https://github.com/elm-lang/elm-compiler.git - cd elm-compiler - cabal sandbox init --sandbox .. - cabal install - cd .. - - git clone https://github.com/elm-lang/elm-package.git - cd elm-package - cabal sandbox init --sandbox .. - ca...
Fix Travis CI config again.
Fix Travis CI config again.
YAML
bsd-3-clause
rgrempel/core,isaacsanders/core,simonh1000/core,Pisys/core,Dandandan/core,vilterp/core,rgrempel/core,avh4/elm-lang-core,alexiamcdonald/elm-core,manleyjster/core,bradurani/core,eeue56/core,krisajenkins/core,laszlopandy/core,isaacsanders/core,rick68/core,suryagaddipati/core,vilterp/core,rick68/core,colinmccabe/core,Danda...
yaml
## Code Before: language: haskell install: - cd tests - cp -r ../src src - cabal sandbox init - - git clone https://github.com/elm-lang/elm-compiler.git - cd elm-compiler - cabal sandbox init --sandbox .. - cabal install - cd .. - - git clone https://github.com/elm-lang/elm-package.git - cd elm-...
a3dd53f8432d3abdadadc11cbff1df3d1e055f50
lib/netzke/basepack/version.rb
lib/netzke/basepack/version.rb
module Netzke module Basepack module Version MAJOR = 0 MINOR = 9 PATCH = 0 STRING = [MAJOR, MINOR, PATCH].compact.join('.') end end end
module Netzke module Basepack module Version MAJOR = 0 MINOR = 9 PATCH = 0 PRE = 'rc1' STRING = [MAJOR, MINOR, PATCH, PRE].compact.join('.') end end end
Add pre-release part to VERSION
Add pre-release part to VERSION
Ruby
mit
skmitty/netzke-basepack,skmitty/netzke-basepack,rvwong/netzke-basepack,rvwong/netzke-basepack,rvwong/netzke-basepack,skmitty/netzke-basepack,rvwong/netzke-basepack,skmitty/netzke-basepack
ruby
## Code Before: module Netzke module Basepack module Version MAJOR = 0 MINOR = 9 PATCH = 0 STRING = [MAJOR, MINOR, PATCH].compact.join('.') end end end ## Instruction: Add pre-release part to VERSION ## Code After: module Netzke module Basepack module Version MAJOR = 0...
755c9936679b624fba9d002eebc34980a80265bf
guard-jammit.gemspec
guard-jammit.gemspec
$:.push File.expand_path('../lib', __FILE__) require 'guard/jammit/version' Gem::Specification.new do |s| s.name = 'guard-jammit' s.version = Guard::JammitVersion::VERSION s.authors = ['Pelle Braendgaard', 'Michael Kessler'] s.email = ['pelle@stakeventures.com', 'michi@netzpiraten.ch'] s...
$:.push File.expand_path('../lib', __FILE__) require 'guard/jammit/version' Gem::Specification.new do |s| s.name = 'guard-jammit' s.version = Guard::JammitVersion::VERSION s.authors = ['Pelle Braendgaard', 'Michael Kessler'] s.email = ['pelle@stakeventures.com', 'michi@netzpiraten.ch'] s...
Add rake to dev deps.
Add rake to dev deps.
Ruby
mit
guard/guard-jammit
ruby
## Code Before: $:.push File.expand_path('../lib', __FILE__) require 'guard/jammit/version' Gem::Specification.new do |s| s.name = 'guard-jammit' s.version = Guard::JammitVersion::VERSION s.authors = ['Pelle Braendgaard', 'Michael Kessler'] s.email = ['pelle@stakeventures.com', 'michi@netz...
bd876feca610ca03eb8a1d14e76b13905a65e016
test/near_test.rb
test/near_test.rb
require 'test_helper' class NearTest < Test::Unit::TestCase def test_near_scope_options result = Event.near_scope_options(1.0, 2.0, 5) expected = { :select => "test_table_name.*, 3958.755864232 * 2 * ASIN(SQRT(POWER(SIN((1.0 - test_table_name.latitude) * PI() / 180 / 2), 2) + COS(1.0 * PI() / ...
require 'test_helper' class NearTest < Test::Unit::TestCase def test_near_scope_options_without_sqlite_includes_bounding_box_condition result = Event.near_scope_options(1.0, 2.0, 5) assert_match /test_table_name.latitude BETWEEN 0.9276\d* AND 1.0723\d* AND test_table_name.longitude BETWEEN 1.9276\d* AND 2....
Handle variations in floating point precision between ruby versions
Handle variations in floating point precision between ruby versions
Ruby
mit
donbobka/geocoder,malandrina/geocoder,mveer99/geocoder,rayzeller/geocoder,tortuba/geocoder,GermanDZ/geocoder,aceunreal/geocoder,gogovan/geocoder-olleh,eugenehp/ruby-geocoder,jaigouk/geocoder-olleh,gogovan/geocoder-olleh,crdunwel/geocoder,boone/geocoder,rdlugosz/geocoder,TrangPham/geocoder,ankane/geocoder,AndyDangerous/...
ruby
## Code Before: require 'test_helper' class NearTest < Test::Unit::TestCase def test_near_scope_options result = Event.near_scope_options(1.0, 2.0, 5) expected = { :select => "test_table_name.*, 3958.755864232 * 2 * ASIN(SQRT(POWER(SIN((1.0 - test_table_name.latitude) * PI() / 180 / 2), 2) + C...
ae19ea22af4c7dd62768c23e128ef5dbb2729c61
52-in-52.js
52-in-52.js
var app = require('express').createServer(); var sys = require('sys'); var client = require("./lib/redis-client").createClient(); var books = require("./books"); app.listen(8124); app.get('/', function(req, res){ res.send('hello world'); }); // List All Users app.get('/users', function(req, res){ var userli...
var app = require('express').createServer(); var sys = require('sys'); var books = require("./books"); var users = require("./users"); var client = require("./lib/redis-client").createClient(); app.listen(8124); app.get('/', function(req, res){ res.send('hello world'); }); // List All Users app.get('/users', fu...
Add Users library to main script.
Add Users library to main script.
JavaScript
bsd-3-clause
scsibug/read52,scsibug/read52
javascript
## Code Before: var app = require('express').createServer(); var sys = require('sys'); var client = require("./lib/redis-client").createClient(); var books = require("./books"); app.listen(8124); app.get('/', function(req, res){ res.send('hello world'); }); // List All Users app.get('/users', function(req, res)...
fab481de5aa92783378fe0a270fccc5d73a59837
modules/gui/src/com/haulmont/timesheets/gui/extuser/extuser-browse.xml
modules/gui/src/com/haulmont/timesheets/gui/extuser/extuser-browse.xml
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <window xmlns="http://schemas.haulmont.com/cuba/5.5/window.xsd" caption="msg://browseCaption" class="com.haulmont.timesheets.gui.extuser.ExtUserBrowse" extends="/com/haulmont/cuba/gui/app/security/user/browse/user-browse.xml" message...
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <window xmlns="http://schemas.haulmont.com/cuba/5.5/window.xsd" xmlns:ext="http://schemas.haulmont.com/cuba/5.5/window-ext.xsd" caption="msg://browseCaption" class="com.haulmont.timesheets.gui.extuser.ExtUserBrowse" extends="/com/hau...
Add bulk edit for users
Add bulk edit for users
XML
apache-2.0
Haulmont/platform-sample-timesheets,Haulmont/platform-sample-timesheets,cuba-platform/sample-timesheets,cuba-platform/sample-timesheets
xml
## Code Before: <?xml version="1.0" encoding="UTF-8" standalone="no"?> <window xmlns="http://schemas.haulmont.com/cuba/5.5/window.xsd" caption="msg://browseCaption" class="com.haulmont.timesheets.gui.extuser.ExtUserBrowse" extends="/com/haulmont/cuba/gui/app/security/user/browse/user-browse.xml"...
5106a4f5f83b9bdd339bc46a05ac3e62e427691e
app/views/asset_events/_scripts.html.erb
app/views/asset_events/_scripts.html.erb
<script type="text/javascript"> $(document).ready(function() { transam.enable_date_pickers(); transam.make_same_height('.form_part'); transam.make_same_height('.header_part'); transam.fix_thumbnail_margins(3, 'form_part'); transam.fix_thumbnail_margins(4, 'header_part'); }); </script>
<script type="text/javascript"> $(document).ready(function() { transam.enable_date_pickers(); transam.make_same_height('.form_part'); transam.make_same_height('.header_part'); }); </script>
Remove unused JS calls from asset event scripts
Remove unused JS calls from asset event scripts
HTML+ERB
mit
nycdot/transam_core,camsys/transam_core,nycdot/transam_core,nycdot/transam_core,camsys/transam_core,camsys/transam_core,camsys/transam_core
html+erb
## Code Before: <script type="text/javascript"> $(document).ready(function() { transam.enable_date_pickers(); transam.make_same_height('.form_part'); transam.make_same_height('.header_part'); transam.fix_thumbnail_margins(3, 'form_part'); transam.fix_thumbnail_margins(4, 'header_part'); }); </scr...
e7b5625476511908f131897dda1c0791e5998930
Action/PromotionActionCommandInterface.php
Action/PromotionActionCommandInterface.php
<?php /* * This file is part of the Sylius package. * * (c) Paweł Jędrzejewski * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Sylius\Component\Promotion\Action; use Sylius\Component\Promotion\Model\PromotionInterface;...
<?php /* * This file is part of the Sylius package. * * (c) Paweł Jędrzejewski * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Sylius\Component\Promotion\Action; use Sylius\Component\Promotion\Model\PromotionInterface;...
Return application result in promotion action command
[Core][Promotion] Return application result in promotion action command
PHP
mit
Sylius/Promotion
php
## Code Before: <?php /* * This file is part of the Sylius package. * * (c) Paweł Jędrzejewski * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Sylius\Component\Promotion\Action; use Sylius\Component\Promotion\Model\Pro...
f07ebfead9271c757193427d49c678b9b7efbd48
lib/yasuri/yasuri_map_node.rb
lib/yasuri/yasuri_map_node.rb
module Yasuri class MapNode attr_reader :name, :children def initialize(name, children, opt: {}) @name = name @children = children @opt = opt end def inject(agent, page, opt = {}, element = page) child_results_kv = @children.map do |node| [node.name, node.inject(agen...
module Yasuri class MapNode attr_reader :name, :children def initialize(name, children, opt: {}) @name = name @children = children @opt = opt end def inject(agent, page, opt = {}, element = page) child_results_kv = @children.map do |node| [node.name, node.inject(agen...
Improve rename variable more concrete
Improve rename variable more concrete
Ruby
mit
tac0x2a/yasuri,tac0x2a/yasuri
ruby
## Code Before: module Yasuri class MapNode attr_reader :name, :children def initialize(name, children, opt: {}) @name = name @children = children @opt = opt end def inject(agent, page, opt = {}, element = page) child_results_kv = @children.map do |node| [node.name, ...
bde253475a97f2335ad21b4f1dcba6b84dd9c811
src/app/views/faculty/index.html.erb
src/app/views/faculty/index.html.erb
<!DOCTYPE html> <p><%= link_to "Home", root_url %> // Courses</p> <h1>Courses</h1> <strong>Note</strong>: The course below are color-coded based on your role in the course.</br> <strong>Blue</strong> courses are ones in which you have some sort of authoritative control (as a faculty or teaching assistant).</br> <str...
<!DOCTYPE html> <p><%= link_to "Home", root_url %> // Courses</p> <h1>Courses</h1> <strong>Note</strong>: The course below are color-coded based on your role in the course.</br> <strong>Blue</strong> courses are ones in which you have some sort of authoritative control (as a faculty or teaching assistant).</br> <%=...
Change course index page text
Change course index page text
HTML+ERB
mit
alexlo03/CodeSwap,alexlo03/CodeSwap,alexlo03/CodeSwap
html+erb
## Code Before: <!DOCTYPE html> <p><%= link_to "Home", root_url %> // Courses</p> <h1>Courses</h1> <strong>Note</strong>: The course below are color-coded based on your role in the course.</br> <strong>Blue</strong> courses are ones in which you have some sort of authoritative control (as a faculty or teaching assis...
f6dd04aef08363445eafcd95a2790fafe7a47b81
src/vistk/image/CMakeLists.txt
src/vistk/image/CMakeLists.txt
project(vistk_image) set(image_srcs warp_image.cxx) set(image_headers image-config.h warp_image.h) add_library(vistk_image ${image_srcs}) target_link_libraries(vistk_image) target_link_libraries(vistk_image LINK_INTERFACE_LIBRARIES) set_target_properties(vistk_image PROPERTIES VERSION ${vistk_ver...
project(vistk_image) set(image_srcs warp_image.cxx) set(image_headers image-config.h warp_image.h) add_library(vistk_image ${image_srcs}) target_link_libraries(vistk_image vistk_utilities vil vgl) target_link_libraries(vistk_image LINK_INTERFACE_LIBRARIES vistk_utilities vil) set_target_properties(...
Fix linker issues in vistk_image
Fix linker issues in vistk_image
Text
bsd-3-clause
linus-sherrill/sprokit,linus-sherrill/sprokit,mathstuf/sprokit,Kitware/sprokit,Kitware/sprokit,mathstuf/sprokit,linus-sherrill/sprokit,mathstuf/sprokit,mathstuf/sprokit,Kitware/sprokit,linus-sherrill/sprokit,Kitware/sprokit
text
## Code Before: project(vistk_image) set(image_srcs warp_image.cxx) set(image_headers image-config.h warp_image.h) add_library(vistk_image ${image_srcs}) target_link_libraries(vistk_image) target_link_libraries(vistk_image LINK_INTERFACE_LIBRARIES) set_target_properties(vistk_image PROPERTIES VERSION ...
9d9a7c337984db219e7517c14903f727b5529858
query-coordinator/src/test/scala/com/socrata/querycoordinator/caching/cache/file/FileCacheTest.scala
query-coordinator/src/test/scala/com/socrata/querycoordinator/caching/cache/file/FileCacheTest.scala
package com.socrata.querycoordinator.caching.cache.file import scala.concurrent.duration._ import java.io.BufferedReader import com.socrata.querycoordinator.util.TemporaryDirectory import org.scalatest.{MustMatchers, FunSuite} import com.rojoma.simplearm.v2._ class FileCacheTest extends FunSuite with MustMatchers { ...
package com.socrata.querycoordinator.caching.cache.file import com.socrata.querycoordinator.caching.cache.CacheSession import scala.concurrent.duration._ import java.io.BufferedReader import com.socrata.querycoordinator.util.TemporaryDirectory import org.scalatest.{MustMatchers, FunSuite} import com.rojoma.simplearm...
Update tests to new timeout API
Update tests to new timeout API
Scala
apache-2.0
socrata-platform/query-coordinator
scala
## Code Before: package com.socrata.querycoordinator.caching.cache.file import scala.concurrent.duration._ import java.io.BufferedReader import com.socrata.querycoordinator.util.TemporaryDirectory import org.scalatest.{MustMatchers, FunSuite} import com.rojoma.simplearm.v2._ class FileCacheTest extends FunSuite with...
4c16ae9d60bbe309c2f466ef243159819766e31e
Main.js
Main.js
var IsIoJS = parseInt(process.version.substr(1)) > 0; if(IsIoJS){ var v8 = require('v8'); v8.setFlagsFromString('--harmony_classes'); v8.setFlagsFromString('--harmony_object_literals'); v8.setFlagsFromString('--harmony_tostring'); module.exports = require('./Source/Main'); } else { module.exports = require(...
module.exports = require('./Dist/Main');
Use Dist files under every circumstances
:art: Use Dist files under every circumstances
JavaScript
mit
steelbrain/mariasql-promise
javascript
## Code Before: var IsIoJS = parseInt(process.version.substr(1)) > 0; if(IsIoJS){ var v8 = require('v8'); v8.setFlagsFromString('--harmony_classes'); v8.setFlagsFromString('--harmony_object_literals'); v8.setFlagsFromString('--harmony_tostring'); module.exports = require('./Source/Main'); } else { module.ex...
16035d2f979e5e3ca6d2337e7c0f235a60f6ade5
README.md
README.md
The source for the CTF images used for Hacker's Dome 1st and 2nd editions (First Blood and Double Kill). Made in collaboration with [CTF365](https://ctf365.com). This project still under development. ## Dependencies For using the images: * [Vagrant](https://www.vagrantup.com) * [VirtualBox](https://www.virtualbo...
The source for the CTF images used for Hacker's Dome 1st and 2nd editions (First Blood and Double Kill). Made in collaboration with [CTF365](https://ctf365.com). This project still under development. ## Dependencies For using the images: * [Vagrant](https://www.vagrantup.com) (1.8+ for development) * [VirtualBox...
Add another development dependency Vagrant plugin.
Add another development dependency Vagrant plugin.
Markdown
mit
SaltwaterC/hackers-dome-images,SaltwaterC/hackers-dome-images,SaltwaterC/hackers-dome-images,SaltwaterC/hackers-dome-images,SaltwaterC/hackers-dome-images
markdown
## Code Before: The source for the CTF images used for Hacker's Dome 1st and 2nd editions (First Blood and Double Kill). Made in collaboration with [CTF365](https://ctf365.com). This project still under development. ## Dependencies For using the images: * [Vagrant](https://www.vagrantup.com) * [VirtualBox](https...
05a2ddbfddd59c9fca9263620555c16c16150e19
public/src/js/controllers/search.js
public/src/js/controllers/search.js
/** * public/src/js/controllers/search.js - delish * * Licensed under MIT license. * Copyright (C) 2017 Karim Alibhai. */ import sock from '../socket' import debounce from 'debounce' import getCurrentLocation from '../location' export default ['$scope', '$searchParams', ($scope, $searchParams) => { $scope.sea...
/** * public/src/js/controllers/search.js - delish * * Licensed under MIT license. * Copyright (C) 2017 Karim Alibhai. */ import sock from '../socket' import debounce from 'debounce' import { getCurrentLocation } from '../location' import { getMap } from '../map' export default ['$scope', ($scope) => { $scope...
Update autocomplete feature with API changes
Update autocomplete feature with API changes
JavaScript
mit
karimsa/delish,karimsa/delish,karimsa/delish
javascript
## Code Before: /** * public/src/js/controllers/search.js - delish * * Licensed under MIT license. * Copyright (C) 2017 Karim Alibhai. */ import sock from '../socket' import debounce from 'debounce' import getCurrentLocation from '../location' export default ['$scope', '$searchParams', ($scope, $searchParams) =...
b8e4af7588af4c124e33378a6d76acbf99f0f027
pkg/dart_internal/pubspec.yaml
pkg/dart_internal/pubspec.yaml
name: dart_internal version: 0.1.0 author: "Dart Team <misc@dartlang.org>" homepage: http://www.dartlang.org description: > This package is not intended for wide use. It provides a temporary API to solve the problem: "Given an object some generic type A, how do I construct an instance of generic type B with the s...
name: dart_internal version: 0.1.1 author: "Dart Team <misc@dartlang.org>" homepage: http://www.dartlang.org description: > This package is not intended for wide use. It provides a temporary API to solve the problem: "Given an object some generic type A, how do I construct an instance of generic type B with the s...
Increase dart_internal's lower SDK bound.
Increase dart_internal's lower SDK bound. (This is mainly needed to allow using it with bleeding edge SDKs.) Change-Id: Ie90d4dd51c03b1f48b42066041e9f5b743d791cb Reviewed-on: https://dart-review.googlesource.com/44401 Reviewed-by: Natalie Weizenbaum <59a06b90902f734086c37526d18600b82b039984@google.com>
YAML
bsd-3-clause
dartino/dart-sdk,dart-lang/sdk,dart-archive/dart-sdk,dartino/dart-sdk,dart-archive/dart-sdk,dart-lang/sdk,dart-lang/sdk,dart-archive/dart-sdk,dart-lang/sdk,dart-archive/dart-sdk,dartino/dart-sdk,dartino/dart-sdk,dart-lang/sdk,dart-lang/sdk,dart-archive/dart-sdk,dart-lang/sdk,dart-archive/dart-sdk,dartino/dart-sdk,darti...
yaml
## Code Before: name: dart_internal version: 0.1.0 author: "Dart Team <misc@dartlang.org>" homepage: http://www.dartlang.org description: > This package is not intended for wide use. It provides a temporary API to solve the problem: "Given an object some generic type A, how do I construct an instance of generic t...
107b9f07ba0e19539a755f79dd498e4bd991d2cb
moderation_queue/templates/moderation_queue/sopn-review-required.html
moderation_queue/templates/moderation_queue/sopn-review-required.html
{% extends "base.html" %} {% block content %} <h1>Posts that have a SOPN and no lock suggestions</h1> <p>For each of these, we need someone to look at the document and manually add or remove candidates to make our list exactly the same as the SOPN.</p> <p>One you're happy that our list is correct, please 'suggest l...
{% extends "base.html" %} {% block content %} <h1>Posts that have a SOPN and no lock suggestions</h1> <p>For each of these, we need someone to look at the document and manually add or remove candidates to make our list exactly the same as the SOPN.</p> <p>One you're happy that our list is correct, please 'suggest l...
Add bulk add link to Post with SOPN page
Add bulk add link to Post with SOPN page
HTML
agpl-3.0
DemocracyClub/yournextrepresentative,DemocracyClub/yournextrepresentative,DemocracyClub/yournextrepresentative
html
## Code Before: {% extends "base.html" %} {% block content %} <h1>Posts that have a SOPN and no lock suggestions</h1> <p>For each of these, we need someone to look at the document and manually add or remove candidates to make our list exactly the same as the SOPN.</p> <p>One you're happy that our list is correct, p...
da8596b60b1c90a870c9610c2cef7f06a03b6cdc
SDKs/darwin/usr/include/string.h
SDKs/darwin/usr/include/string.h
/* ===-- string.h - stub SDK header for compiler-rt -------------------------=== * * The LLVM Compiler Infrastructure * * This file is dual licensed under the MIT and the University of Illinois Open * Source Licenses. See LICENSE.TXT for details. * * ===---------------------------------------...
/* ===-- string.h - stub SDK header for compiler-rt -------------------------=== * * The LLVM Compiler Infrastructure * * This file is dual licensed under the MIT and the University of Illinois Open * Source Licenses. See LICENSE.TXT for details. * * ===---------------------------------------...
Declare 'strerror' so that we can use it with errno.
Declare 'strerror' so that we can use it with errno. git-svn-id: c199f293c43da69278bea8e88f92242bf3aa95f7@185105 91177308-0d34-0410-b5e6-96231b3b80d8
C
apache-2.0
llvm-mirror/compiler-rt,llvm-mirror/compiler-rt,llvm-mirror/compiler-rt,llvm-mirror/compiler-rt,llvm-mirror/compiler-rt
c
## Code Before: /* ===-- string.h - stub SDK header for compiler-rt -------------------------=== * * The LLVM Compiler Infrastructure * * This file is dual licensed under the MIT and the University of Illinois Open * Source Licenses. See LICENSE.TXT for details. * * ===-----------------------...
3843af6e6b73122b41b5831e9958653083e344df
cms.js
cms.js
'use strict' const sergeant = require('sergeant') const app = sergeant({ description: 'CMS for erickmerchant.com' }) require('./src/commands/update.js')(app) require('./src/commands/watch.js')(app) require('./src/commands/move.js')(app) require('./src/commands/make.js')(app) app.run()
'use strict' const sergeant = require('sergeant') const app = sergeant({ description: 'CMS for erickmerchant.com' }) const commands = ['update', 'watch', 'move', 'make'] commands.forEach(function (command) { require('./src/commands/' + command + '.js')(app) }) app.run()
Make adding new commands easier
Make adding new commands easier
JavaScript
mit
erickmerchant/erickmerchant.com-source,erickmerchant/erickmerchant.com-source
javascript
## Code Before: 'use strict' const sergeant = require('sergeant') const app = sergeant({ description: 'CMS for erickmerchant.com' }) require('./src/commands/update.js')(app) require('./src/commands/watch.js')(app) require('./src/commands/move.js')(app) require('./src/commands/make.js')(app) app.run() ## Instruction...
b97d5db5d27749b1ae20e3fd45192c9997450597
src/lib/HttpApi.js
src/lib/HttpApi.js
export default class HttpApi { constructor (prefix = '') { this.prefix = prefix this.opts = { credentials: 'same-origin', headers: new Headers({ 'Content-Type': 'application/json', }) } return this.callApi } callApi = (method, url, opts = {}) => { opts = Object.assi...
export default class HttpApi { constructor (prefix = '') { this.prefix = prefix this.opts = { credentials: 'same-origin', headers: new Headers({ 'Content-Type': 'application/json', }) } return this.callApi } callApi = (method, url, opts = {}) => { opts = Object.assi...
Fix response handling when Content-Type header not present
Fix response handling when Content-Type header not present
JavaScript
isc
bhj/karaoke-forever,bhj/karaoke-forever
javascript
## Code Before: export default class HttpApi { constructor (prefix = '') { this.prefix = prefix this.opts = { credentials: 'same-origin', headers: new Headers({ 'Content-Type': 'application/json', }) } return this.callApi } callApi = (method, url, opts = {}) => { op...
2e3feaa05de82545dc4542d54e00ae12474f7709
init-flyspell.el
init-flyspell.el
(dolist (hook '(lisp-mode-hook emacs-lisp-mode-hook scheme-mode-hook ruby-mode-hook yaml-mode python-mode-hook shell-mode-hook php-mode-hook css-mode-hook haskell-mode-hook ...
(dolist (hook '(lisp-mode-hook emacs-lisp-mode-hook scheme-mode-hook clojure-mode-hook ruby-mode-hook yaml-mode python-mode-hook shell-mode-hook php-mode-hook css-mode-hook ...
Add clojure-mode to mode list for flyspell-prog-mode
Add clojure-mode to mode list for flyspell-prog-mode
Emacs Lisp
bsd-2-clause
bibaijin/emacs.d,arthurl/emacs.d,ruiyang/emacs.d,zuoshifan/emacs.d,zhaotai/.emacs.d,shafayetkhan/emacs.d,jachinpy/emacs.d,sgarciac/emacs.d,wenpincui/emacs.d,emuio/emacs.d,kongfy/emacs.d,atreeyang/emacs.d,cjqw/emacs.d,ilove0518/emacs.d,hkcqr/emacs.d,farzadbekran/emacs.d,lromang/emacs.d,qinshulei/emacs.d,farzadbekran/ema...
emacs-lisp
## Code Before: (dolist (hook '(lisp-mode-hook emacs-lisp-mode-hook scheme-mode-hook ruby-mode-hook yaml-mode python-mode-hook shell-mode-hook php-mode-hook css-mode-hook haske...
63ddc555a9d9ba045a120395cb32766b280571b3
README.md
README.md
Angular 1.x directive for running PayPal's in-context checkout flow Your server should receive the client's request, communicate with PayPal, and return the `approval_url`. For this directive, my server essentially does the following paypal.payment.createAsync dataObj .then (payment) -> approval_url =...
Angular 1.x directive for running PayPal's in-context checkout flow Your server should receive the client's request, communicate with PayPal, and return the `approval_url`. For this directive, my server essentially does the following paypal.payment.createAsync dataObj .then (payment) -> approval_url =...
Add link to PayPal docs
Add link to PayPal docs
Markdown
mit
twler/angular-paypal-checkout,twler/angular-paypal-checkout
markdown
## Code Before: Angular 1.x directive for running PayPal's in-context checkout flow Your server should receive the client's request, communicate with PayPal, and return the `approval_url`. For this directive, my server essentially does the following paypal.payment.createAsync dataObj .then (payment) -> ...
c25a57d680a3e7a6bd12f33a0dc4b0582870fb25
extension/manifest.json
extension/manifest.json
{ "name": "Wells Fargo - Remember username", "short_name": "WF Username √", "description": "Remember and autofill your username at wellsfargo.com", "version": "1.1.4", "manifest_version": 2, "content_scripts": [ { "js": [ "js/user.js" ], "matches": [ "https://www.wellsfargo.com/" ] } ], "icons...
{ "name": "Wells Fargo - Autofocus login", "short_name": "WF Autofocus Login", "description": "Autofocus login input fields at wellsfargo.com", "version": "1.1.5", "manifest_version": 2, "content_scripts": [ { "js": [ "js/user.js" ], "matches": [ "https://www.wellsfargo.com/" ] } ], "icons": {...
Increment version, Change extension name
Increment version, Change extension name
JSON
mit
jsejcksn/wellsfargo-remember-username,jsejcksn/wellsfargo-autofocus-login
json
## Code Before: { "name": "Wells Fargo - Remember username", "short_name": "WF Username √", "description": "Remember and autofill your username at wellsfargo.com", "version": "1.1.4", "manifest_version": 2, "content_scripts": [ { "js": [ "js/user.js" ], "matches": [ "https://www.wellsfargo.com/" ...
8f05641d12be5bf8283af4162eeb4b26f8ac68e1
pkgs/development/tools/oh-my-posh/default.nix
pkgs/development/tools/oh-my-posh/default.nix
{ lib, buildGoModule, fetchFromGitHub }: buildGoModule rec { pname = "oh-my-posh"; version = "9.4.0"; src = fetchFromGitHub { owner = "jandedobbeleer"; repo = pname; rev = "v${version}"; sha256 = "sha256-biMqihvGW+rsNhM/kXQb3px5aRtyvAI0cxDQ9KDK7y4="; }; vendorSha256 = "sha256-A4+sshIzPla7ud...
{ lib, buildGoModule, fetchFromGitHub }: buildGoModule rec { pname = "oh-my-posh"; version = "9.4.0"; src = fetchFromGitHub { owner = "jandedobbeleer"; repo = pname; rev = "v${version}"; sha256 = "sha256-biMqihvGW+rsNhM/kXQb3px5aRtyvAI0cxDQ9KDK7y4="; }; vendorSha256 = "sha256-A4+sshIzPla7ud...
Add themes from source package to store
oh-my-posh: Add themes from source package to store Fixes #190711
Nix
mit
NixOS/nixpkgs,NixOS/nixpkgs,NixOS/nixpkgs,NixOS/nixpkgs,NixOS/nixpkgs,NixOS/nixpkgs,NixOS/nixpkgs,NixOS/nixpkgs,NixOS/nixpkgs,NixOS/nixpkgs,NixOS/nixpkgs,NixOS/nixpkgs,NixOS/nixpkgs,NixOS/nixpkgs,NixOS/nixpkgs
nix
## Code Before: { lib, buildGoModule, fetchFromGitHub }: buildGoModule rec { pname = "oh-my-posh"; version = "9.4.0"; src = fetchFromGitHub { owner = "jandedobbeleer"; repo = pname; rev = "v${version}"; sha256 = "sha256-biMqihvGW+rsNhM/kXQb3px5aRtyvAI0cxDQ9KDK7y4="; }; vendorSha256 = "sha25...
5c6f8cbec540d21167d0133a5432501929f793ba
package.json
package.json
{ "name": "faber", "version": "0.0.1", "description": "Block based content editor", "private": true, "dependencies": {}, "devDependencies": { "coffee-script": "^1.7.1", "karma-coffee-preprocessor": "^0.1.3", "karma-chrome-launcher": "^0.1.2", "karma-firefox-launcher": "^0.1.3", "karma-ja...
{ "name": "faber", "version": "0.0.1", "description": "Block based content editor", "private": true, "dependencies": {}, "engine": "node 0.10.22", "devDependencies": { "coffee-script": "^1.7.1", "karma-coffee-preprocessor": "^0.1.3", "karma-chrome-launcher": "^0.1.2", "karma-firefox-launch...
Add node version see if it sorts circleci.
Add node version see if it sorts circleci.
JSON
bsd-3-clause
BSkyB/faber,BSkyB/faber,BSkyB/faber,BSkyB/faber
json
## Code Before: { "name": "faber", "version": "0.0.1", "description": "Block based content editor", "private": true, "dependencies": {}, "devDependencies": { "coffee-script": "^1.7.1", "karma-coffee-preprocessor": "^0.1.3", "karma-chrome-launcher": "^0.1.2", "karma-firefox-launcher": "^0.1.3...
af9e1ba6a4f93d57584378ac551f58fec7869925
src/Korobi/WebBundle/Resources/assets/sass/application/_config.scss
src/Korobi/WebBundle/Resources/assets/sass/application/_config.scss
// Midnight blue: #2c3e50, Amethyst: #9b59b6, Wisteria: #8e44ad $primaryColour: #2c3e50; //noinspection CssUnknownTarget $bodyBackgroundImage: url("/assets/images/bg.png?a"); $footerHeight: 2em; $footerBackgroundColour: $primaryColour; $footerColor: #eee; $font-size-base: 14px !default; $font-size-small: ceil(($font...
// Midnight blue: #2c3e50, Amethyst: #9b59b6, Wisteria: #8e44ad $primaryColour: #2c3e50; //noinspection CssUnknownTarget $bodyBackgroundImage: url("/assets/images/bg.png?a"); $footerHeight: 2em; $footerBackgroundColour: $primaryColour; $footerColor: #eee; $font-size-base: 14px !default; $font-size-small: ceil(($font...
Fix breakpoint being applied to desktop
Fix breakpoint being applied to desktop
SCSS
mit
korobi/Web,korobi/Web,korobi/Web,korobi/Web,korobi/Web
scss
## Code Before: // Midnight blue: #2c3e50, Amethyst: #9b59b6, Wisteria: #8e44ad $primaryColour: #2c3e50; //noinspection CssUnknownTarget $bodyBackgroundImage: url("/assets/images/bg.png?a"); $footerHeight: 2em; $footerBackgroundColour: $primaryColour; $footerColor: #eee; $font-size-base: 14px !default; $font-size-sm...
e76d5728d4cf54d48f5c30f8e423b133af2c6f09
modules/clientlog/client/app/play-assets/clientlog/views/log-item.html
modules/clientlog/client/app/play-assets/clientlog/views/log-item.html
<div class="row log-item {{classClickable}}" ng-click="toggleDetail()"> <div class="col-lg-1 log-level"> <span class="label" ng-class="getClass()">{{item.level | uppercase}}</span> </div> <div class="col-lg-1 log-level"> {{item.date | displayDate }} </div> <div class="col-lg-1 log-level"> {{getIde...
<div class="row log-item {{classClickable}}" ng-click="toggleDetail()"> <div class="col-lg-1 log-level"> <span class="label" ng-class="getClass()">{{item.level | uppercase}}</span> </div> <div class="col-lg-1 log-level"> {{item.date | displayDate }} </div> <div class="col-lg-1 log-level"> {{getIde...
Hide error message if empty
Hide error message if empty
HTML
mit
studiodev/play2-client-logging
html
## Code Before: <div class="row log-item {{classClickable}}" ng-click="toggleDetail()"> <div class="col-lg-1 log-level"> <span class="label" ng-class="getClass()">{{item.level | uppercase}}</span> </div> <div class="col-lg-1 log-level"> {{item.date | displayDate }} </div> <div class="col-lg-1 log-leve...
da896d7c02a7d3d4a048dcfdbc9fe4a003bc866c
app/views/application/_search_form.html.haml
app/views/application/_search_form.html.haml
.box = form_tag params, :method => :get do %label{:for => "search_text"}= t_title('search') + ':' = text_field '', :by_text, :autocomplete => 'off', 'data-autofocus' => true = submit_tag t_action('search')
.box.search-form = form_tag params, :method => :get do %label{:for => "search_text"}= t_title('search') + ':' = text_field '', :by_text, :autocomplete => 'off', 'data-autofocus' => true = submit_tag t_action('search')
Add .search-form class to search forms.
Add .search-form class to search forms.
Haml
agpl-3.0
gaapt/bookyt,hauledev/bookyt,silvermind/bookyt,wtag/bookyt,wtag/bookyt,huerlisi/bookyt,hauledev/bookyt,hauledev/bookyt,gaapt/bookyt,xuewenfei/bookyt,gaapt/bookyt,gaapt/bookyt,huerlisi/bookyt,silvermind/bookyt,hauledev/bookyt,silvermind/bookyt,wtag/bookyt,xuewenfei/bookyt,huerlisi/bookyt,silvermind/bookyt,xuewenfei/book...
haml
## Code Before: .box = form_tag params, :method => :get do %label{:for => "search_text"}= t_title('search') + ':' = text_field '', :by_text, :autocomplete => 'off', 'data-autofocus' => true = submit_tag t_action('search') ## Instruction: Add .search-form class to search forms. ## Code After: .box.search...
a8c8b136f081e3a2c7f1fd1f833a85288a358e42
vumi_http_retry/workers/api/validate.py
vumi_http_retry/workers/api/validate.py
import json from functools import wraps from twisted.web import http from jsonschema import Draft4Validator from vumi_http_retry.workers.api.utils import response def validate(*validators): def validator(fn): @wraps(fn) def wrapper(api, req, *a, **kw): errors = [] for v...
import json from functools import wraps from twisted.web import http from jsonschema import Draft4Validator from vumi_http_retry.workers.api.utils import response def validate(*validators): def validator(fn): @wraps(fn) def wrapper(api, req, *a, **kw): errors = [] for v...
Change validators to allow additional arguments to be given to the functions they are wrapping
Change validators to allow additional arguments to be given to the functions they are wrapping
Python
bsd-3-clause
praekelt/vumi-http-retry-api,praekelt/vumi-http-retry-api
python
## Code Before: import json from functools import wraps from twisted.web import http from jsonschema import Draft4Validator from vumi_http_retry.workers.api.utils import response def validate(*validators): def validator(fn): @wraps(fn) def wrapper(api, req, *a, **kw): errors = [] ...
4cdf5be2a3c01e1b16a5e49bdf770f9d8573e16e
icekit/utils/testing.py
icekit/utils/testing.py
import glob import os import uuid from django.core.files.base import ContentFile from PIL import Image from StringIO import StringIO def new_test_image(): """ Creates an automatically generated test image. In your testing `tearDown` method make sure to delete the test image with the helper function `...
import glob import os import uuid from PIL import Image from django.core.files.base import ContentFile from django.utils import six def new_test_image(): """ Creates an automatically generated test image. In your testing `tearDown` method make sure to delete the test image with the helper function ...
Update StringIO import for Python3 compat
Update StringIO import for Python3 compat
Python
mit
ic-labs/django-icekit,ic-labs/django-icekit,ic-labs/django-icekit,ic-labs/django-icekit
python
## Code Before: import glob import os import uuid from django.core.files.base import ContentFile from PIL import Image from StringIO import StringIO def new_test_image(): """ Creates an automatically generated test image. In your testing `tearDown` method make sure to delete the test image with the h...
6a3e5119cf989558ab015b6db5bb31ceaaff22d3
README.md
README.md
Coco-Storage ============ Instant media capture utility. For the latest build, visit the [Coco Storage website](http://lukas.axxim.net/cocostorage/).
Coco-Storage ============ Instant media capture utility. For the latest build, visit the [Coco Storage website](hhttp://mediacrush.github.io/Coco-Storage/).
Update Readme.md with new Coco Storage GH link
Update Readme.md with new Coco Storage GH link
Markdown
mit
MediaCrush/Coco-Storage
markdown
## Code Before: Coco-Storage ============ Instant media capture utility. For the latest build, visit the [Coco Storage website](http://lukas.axxim.net/cocostorage/). ## Instruction: Update Readme.md with new Coco Storage GH link ## Code After: Coco-Storage ============ Instant media capture utility. For the late...
5b39f26c123a7303d44b7fc712dca3b833189956
docs/manual/admin/admin-ui/email-settings.txt
docs/manual/admin/admin-ui/email-settings.txt
.. _e-mail-settings: =============== E-Mail Settings =============== .. _send-e-mails: * **Send e-mails for review requests and reviews:** If enabled, e-mails will be sent out whenever a review request is posted or updated, or when reviews and replies are posted. See :ref:`e-mail-and-review-groups` for ...
.. _e-mail-settings: =============== E-Mail Settings =============== .. _send-e-mails: * **Send e-mails for review requests and reviews:** If enabled, e-mails will be sent out whenever a review request is posted or updated, or when reviews and replies are posted. See :ref:`e-mail-and-review-groups` for ...
Add docs on the new e-mail settings.
Add docs on the new e-mail settings. These new docs cover the new user registration e-mails and the Sender address.
Text
mit
sgallagher/reviewboard,Khan/reviewboard,custode/reviewboard,1tush/reviewboard,Khan/reviewboard,atagar/ReviewBoard,bkochendorfer/reviewboard,Khan/reviewboard,davidt/reviewboard,chazy/reviewboard,KnowNo/reviewboard,chazy/reviewboard,sgallagher/reviewboard,1tush/reviewboard,Khan/reviewboard,atagar/ReviewBoard,sgallagher/r...
text
## Code Before: .. _e-mail-settings: =============== E-Mail Settings =============== .. _send-e-mails: * **Send e-mails for review requests and reviews:** If enabled, e-mails will be sent out whenever a review request is posted or updated, or when reviews and replies are posted. See :ref:`e-mail-and-rev...
e515b222c25a00a674141e0d5fab138cdc9dabfa
dotGo/2014/z.go
dotGo/2014/z.go
// Code from my dotGo.eu 2014 presentation // // Copyright (c) 2014 John Graham-Cumming // // Implement a factory and a task. Call run() on your factory. package main import ( "bufio" "log" "os" "sync" ) type task interface { process() print() } type factory interface { make(line string) task } func run(f f...
// Code from my dotGo.eu 2014 presentation // // Copyright (c) 2014 John Graham-Cumming // // Implement a factory and a task. Call run() on your factory. package main import ( "bufio" "log" "os" "sync" ) type task interface { process() print() } type factory interface { make(line string) task } func run(f f...
Add improvement from eneff that makes program terminate more cleanly
Add improvement from eneff that makes program terminate more cleanly
Go
bsd-3-clause
cloudflare/jgc-talks,robertojrojas/jgc-talks
go
## Code Before: // Code from my dotGo.eu 2014 presentation // // Copyright (c) 2014 John Graham-Cumming // // Implement a factory and a task. Call run() on your factory. package main import ( "bufio" "log" "os" "sync" ) type task interface { process() print() } type factory interface { make(line string) task...
b634f350eb754f61d125d7cdd1fc61cf232cc42e
features/request_specs/engine_named_routes.feature
features/request_specs/engine_named_routes.feature
Feature: engine named routes Generated requeset specs inside a Rails Engine is able to use route and url helpers. Scenario: include engine route helpers Given a file named "spec/requests/widgets_spec.rb" with: """ruby require "rails_helper" # A very simple Rails engine module MyEngine...
Feature: engine named routes Request specs inside a Rails Engine can include the engines routes to use url helpers. Scenario: using engine route helpers Given a file named "spec/requests/widgets_spec.rb" with: """ruby require "rails_helper" # A very simple Rails engine module MyEngine...
Update feature test with PR feedback
Update feature test with PR feedback
Cucumber
mit
rspec/rspec-rails,rspec/rspec-rails,rspec/rspec-rails
cucumber
## Code Before: Feature: engine named routes Generated requeset specs inside a Rails Engine is able to use route and url helpers. Scenario: include engine route helpers Given a file named "spec/requests/widgets_spec.rb" with: """ruby require "rails_helper" # A very simple Rails engine ...
1d64ff8b1b8eac8c1899f40019eab0a37e25bc41
examples/example_irule_variables.tcl
examples/example_irule_variables.tcl
rule simple { when HTTP_REQUEST priority 100 { # set variable outside irule if { $status eq 1 } pool foo } else { pool bar } } }
package require -exact testcl 1.0.10 namespace import ::testcl::* ## # Example demonstrating how to use TesTcl # This is how you should write your tests # # To run example # # export TCLLIBPATH=/parent/dir/of/this/file # # and run the following command from /parent/dir/of/this/file # # jtcl examples/example_irule_var...
Update example test code for variables
Update example test code for variables
Tcl
bsd-3-clause
landro/TesTcl
tcl
## Code Before: rule simple { when HTTP_REQUEST priority 100 { # set variable outside irule if { $status eq 1 } pool foo } else { pool bar } } } ## Instruction: Update example test code for variables ## Code After: package require -exact testcl 1.0.10 namespace import ::testcl::* ## ...
a90e96f14501c734d425dbed86ddb0e1b80b75f1
client/app/components/organization/organization.js
client/app/components/organization/organization.js
import angular from 'angular'; import uiRouter from 'angular-ui-router'; import organizationComponent from './organization.component'; import organizationDetail from './organizationDetail/organizationDetail'; require('angular-ui-grid/ui-grid.css'); //require('angular-datatables/dist/plugins/columnfilter/angular-data...
import angular from 'angular'; import uiRouter from 'angular-ui-router'; import organizationComponent from './organization.component'; import organizationDetail from './organizationDetail/organizationDetail'; require('angular-ui-grid/ui-grid.css'); //require('angular-datatables/dist/plugins/columnfilter/angular-data...
Make org a dev function for now
Make org a dev function for now
JavaScript
agpl-3.0
neteoc/neteoc-ui,neteoc/neteoc-ui,neteoc/neteoc-ui
javascript
## Code Before: import angular from 'angular'; import uiRouter from 'angular-ui-router'; import organizationComponent from './organization.component'; import organizationDetail from './organizationDetail/organizationDetail'; require('angular-ui-grid/ui-grid.css'); //require('angular-datatables/dist/plugins/columnfil...
aba806537905818364c3f1e88b3c436e04844b28
package.json
package.json
{ "name": "keen", "version": "0.1.0", "dependencies": { "express": "3.1.0" }, "engines": { "node": "0.8.x" }, "devDependencies": { "grunt": "~0.4.1", "grunt-contrib-uglify": "~0.2.0" } }
{ "name": "keen", "version": "0.1.0", "dependencies": { "express": "3.1.0" }, "engines": { "node": "0.8.x" }, "devDependencies": { "grunt": "~0.4.1", "grunt-cli": "~0.1.6", "grunt-contrib-uglify": "~0.2.0" } }
Add the grunt CLI - without it there's no grunt executable
Add the grunt CLI - without it there's no grunt executable
JSON
mit
vebinua/keen-js,Acidburn0zzz/keen-js,Glathrop/keen-js,chrismoulton/keen-js,jbpionnier/keen-js,allanbrault/keen-js,lawitschka/keen-js,jbpionnier/keen-js,lawitschka/keen-js,Glathrop/keen-js,amplii/keen-js,Acidburn0zzz/keen-js,vebinua/keen-js,allanbrault/keen-js,treasure-data/td-js-sdk,andrehjr/keen-js,ruleant/keen-js,ipa...
json
## Code Before: { "name": "keen", "version": "0.1.0", "dependencies": { "express": "3.1.0" }, "engines": { "node": "0.8.x" }, "devDependencies": { "grunt": "~0.4.1", "grunt-contrib-uglify": "~0.2.0" } } ## Instruction: Add the grunt CLI - without it there's no grunt executable ## Code ...
d8822492fd3f60a03f2b035b95cac68322663ecc
README.md
README.md
BukkitBoard =========== A console-based Bulletin Board Plugin for Bukkit Minecraft Servers ##Letter From the Developer Spiro (Speewave) here - I moved this out from my own user to an organization so instead of Speewave/Bukkitboard it's /BukkitBoard/Bukkitboard (A tad redundant, but whatever) Feel free to contribute...
BukkitBoard =========== A console-based Bulletin Board Plugin for Bukkit Minecraft Servers ##Letter From the Developer Seems Stable now, Please report issues, as it stands, this loads and runs good on my system (Aside for some quirks) this software is pre-alpha, so yeah, use at risk! ##Dependencies As of the latest ...
Revert "Just an update on things"
Revert "Just an update on things" This reverts commit 60e6b274c6ed1f72ae00456d15c26c9e90d70c0d.
Markdown
bsd-2-clause
CheezyCheez/BukkitBoard
markdown
## Code Before: BukkitBoard =========== A console-based Bulletin Board Plugin for Bukkit Minecraft Servers ##Letter From the Developer Spiro (Speewave) here - I moved this out from my own user to an organization so instead of Speewave/Bukkitboard it's /BukkitBoard/Bukkitboard (A tad redundant, but whatever) Feel fr...
081b21dba9aa5d3c70bc54fcf7ae5a1a982d0355
usr.bin/calendar/Makefile
usr.bin/calendar/Makefile
PROG= calendar SRCS= calendar.c io.c day.c ostern.c paskha.c CFLAGS+= -Wall INTER= de_DE.ISO_8859-1 hr_HR.ISO_8859-2 ru_RU.KOI8-R TEXTMODE?= 444 beforeinstall: ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${TEXTMODE} \ ${.CURDIR}/calendars/calendar.* ${DESTDIR}${SHAREDIR}/calendar .for lang in ${INTER}...
PROG= calendar SRCS= calendar.c io.c day.c ostern.c paskha.c CFLAGS+= -Wall INTER= de_DE.ISO_8859-1 hr_HR.ISO_8859-2 ru_RU.KOI8-R DE_LINKS= de_DE.ISO8859-1 de_DE.ISO_8859-15 de_DE.ISO8859-15 HR_LINKS= hr_HR.ISO8859-2 TEXTMODE?= 444 beforeinstall: ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${TE...
Add new and Latin15 names
Add new and Latin15 names
unknown
bsd-3-clause
jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase
unknown
## Code Before: PROG= calendar SRCS= calendar.c io.c day.c ostern.c paskha.c CFLAGS+= -Wall INTER= de_DE.ISO_8859-1 hr_HR.ISO_8859-2 ru_RU.KOI8-R TEXTMODE?= 444 beforeinstall: ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${TEXTMODE} \ ${.CURDIR}/calendars/calendar.* ${DESTDIR}${SHAREDIR}/calendar .for ...
86f57892d2a050d0cd1c0eec02a5652c18a12e8e
NEWS.md
NEWS.md
* Support for windowed RQA * Change default scale of `recurrencematrix`, etc. * Improved performance of RQA functions * Function `rqa` for all RQA parameters * Improved compatibility with Julia 0.5 and 0.6, backwards compatibility with 0.4 * Bugfixes: - `fnn` - `maxdiag` - `maxvert` ## 25-07-2016 - v0.0.3...
* Update to support Julia 0.6-0.7 (breaking compatibility with 0.5). ## 10-11-2016 - v0.1.0 * Support for windowed RQA * Change default scale of `recurrencematrix`, etc. * Improved performance of RQA functions * Function `rqa` for all RQA parameters * Improved compatibility with Julia 0.5 and 0.6, backwards compatib...
Update news for tag 0.2.0
Update news for tag 0.2.0 [ci skip]
Markdown
mit
heliosdrm/RecurrenceAnalysis.jl,heliosdrm/RecurrenceAnalysis.jl,heliosdrm/RecurrenceAnalysis.jl
markdown
## Code Before: * Support for windowed RQA * Change default scale of `recurrencematrix`, etc. * Improved performance of RQA functions * Function `rqa` for all RQA parameters * Improved compatibility with Julia 0.5 and 0.6, backwards compatibility with 0.4 * Bugfixes: - `fnn` - `maxdiag` - `maxvert` ## 25-...
595aad8a1bd59ee7dce9b74c752555b0fce03840
src/main/java/carpentersblocks/renderer/BlockHandlerCarpentersPressurePlate.java
src/main/java/carpentersblocks/renderer/BlockHandlerCarpentersPressurePlate.java
package carpentersblocks.renderer; import net.minecraft.block.Block; import net.minecraft.client.renderer.RenderBlocks; import cpw.mods.fml.relauncher.Side; import cpw.mods.fml.relauncher.SideOnly; @SideOnly(Side.CLIENT) public class BlockHandlerCarpentersPressurePlate extends BlockHandlerBase { @Override pu...
package carpentersblocks.renderer; import net.minecraft.block.Block; import net.minecraft.client.renderer.RenderBlocks; import net.minecraft.client.renderer.Tessellator; import cpw.mods.fml.relauncher.Side; import cpw.mods.fml.relauncher.SideOnly; @SideOnly(Side.CLIENT) public class BlockHandlerCarpentersPressurePlat...
Tweak pressure plate inventory rendering.
Tweak pressure plate inventory rendering.
Java
lgpl-2.1
Nuchaz/carpentersblocks,Techern/carpentersblocks,Mineshopper/carpentersblocks,burpingdog1/carpentersblocks
java
## Code Before: package carpentersblocks.renderer; import net.minecraft.block.Block; import net.minecraft.client.renderer.RenderBlocks; import cpw.mods.fml.relauncher.Side; import cpw.mods.fml.relauncher.SideOnly; @SideOnly(Side.CLIENT) public class BlockHandlerCarpentersPressurePlate extends BlockHandlerBase { ...
bdc90bb07b5ce4cf3303dda279c79f2521852682
README.md
README.md
[![Travis](https://img.shields.io/travis/hughrawlinson/api-client-helper.svg)](https://travis-ci.org/hughrawlinson/api-client-helper/) A node package to help people write API client libraries, possibly even to generate them from JSON/RAML. Very much WIP right now. Needs to handle auth.
[![Build Status](https://travis-ci.org/hughrawlinson/api-client-helper.svg?branch=master)](https://travis-ci.org/hughrawlinson/api-client-helper) A node package to help people write API client libraries, possibly even to generate them from JSON/RAML. Very much WIP right now. Needs to handle auth.
Switch to travis badge provider
Switch to travis badge provider because shields.io is ...something.
Markdown
mit
hughrawlinson/api-client-helper
markdown
## Code Before: [![Travis](https://img.shields.io/travis/hughrawlinson/api-client-helper.svg)](https://travis-ci.org/hughrawlinson/api-client-helper/) A node package to help people write API client libraries, possibly even to generate them from JSON/RAML. Very much WIP right now. Needs to handle auth. ## Instruction...
1154280cb5729bd3fb4024a705d594670a9b9952
project.clj
project.clj
(defproject com.nomistech/clojure-the-language "0.1.0-SNAPSHOT" :dependencies [[org.clojure/clojure "1.6.0"] [org.clojure/core.match "0.3.0-alpha4"] [org.clojure/core.async "0.1.346.0-17112a-alpha"]] :profiles {:dev {:dependencies [[midje "1.6.3"]] :plugins [[lein-midje ...
(defproject com.nomistech/clojure-the-language "0.1.0-SNAPSHOT" :dependencies [[org.clojure/clojure "1.6.0"] [org.clojure/core.match "0.3.0-alpha4"] [org.clojure/core.async "0.1.346.0-17112a-alpha"]] :profiles {:dev {:dependencies [[midje "1.6.3"]] :plugins [[lein-midje ...
Remove unwanted dependency on tools.namespace. (Have that in user profile.)
Remove unwanted dependency on tools.namespace. (Have that in user profile.)
Clojure
epl-1.0
simon-katz/nomis-clojure-the-language
clojure
## Code Before: (defproject com.nomistech/clojure-the-language "0.1.0-SNAPSHOT" :dependencies [[org.clojure/clojure "1.6.0"] [org.clojure/core.match "0.3.0-alpha4"] [org.clojure/core.async "0.1.346.0-17112a-alpha"]] :profiles {:dev {:dependencies [[midje "1.6.3"]] :plugi...
60ff6a52ce81eafae79b27c4775474ce3b979fea
.github/ISSUE_TEMPLATE/new_scraper.md
.github/ISSUE_TEMPLATE/new_scraper.md
--- name: New website scraper request about: Add support for a new recipe website title: '' labels: enhancement assignees: '' --- We always enjoy adding new websites to the list of [available `recipe-scrapers` scrapers](https://github.com/hhursev/recipe-scrapers#scrapers-available-for)! To help us out, please check ...
--- name: New website scraper request about: Add support for a new recipe website title: '' labels: enhancement assignees: '' --- We always enjoy adding support for new websites to the library! To help us out, please check that recipes published on the website you're requesting are public (we can't currently scrape ...
Adjust new scraper issue template wording slightly (including removal of hyperlink)
Adjust new scraper issue template wording slightly (including removal of hyperlink)
Markdown
mit
hhursev/recipe-scraper
markdown
## Code Before: --- name: New website scraper request about: Add support for a new recipe website title: '' labels: enhancement assignees: '' --- We always enjoy adding new websites to the list of [available `recipe-scrapers` scrapers](https://github.com/hhursev/recipe-scrapers#scrapers-available-for)! To help us ou...
7dcd5d295f8205d836ebe1dc17c81bd134a8f94a
packages/syft/proto/grid/messages/success_resp_message.proto
packages/syft/proto/grid/messages/success_resp_message.proto
syntax = "proto3"; package syft.grid.messages; import "proto/core/common/common_object.proto"; import "proto/core/io/address.proto"; message SuccessResponseMessage { syft.core.common.UID msg_id = 1; string resp_msg = 3; syft.core.io.Address address = 4; }
syntax = "proto3"; package syft.grid.messages; import "proto/core/common/common_object.proto"; import "proto/core/io/address.proto"; message SuccessResponseMessage { syft.core.common.UID msg_id = 1; string resp_msg = 2; syft.core.io.Address address = 3; } message ErrorResponseMessage { syft.core.common.UID...
ADD new Protobuf schema ErrorResponseMessage
ADD new Protobuf schema ErrorResponseMessage
Protocol Buffer
apache-2.0
OpenMined/PySyft,OpenMined/PySyft,OpenMined/PySyft,OpenMined/PySyft
protocol-buffer
## Code Before: syntax = "proto3"; package syft.grid.messages; import "proto/core/common/common_object.proto"; import "proto/core/io/address.proto"; message SuccessResponseMessage { syft.core.common.UID msg_id = 1; string resp_msg = 3; syft.core.io.Address address = 4; } ## Instruction: ADD new Protobuf sche...
3aef72650f3e120d7f16a3cd3c330b50c8b125fc
js/mainmenu.js
js/mainmenu.js
/* * mainmenu.js * Handles main menu */ YINS.MainMenu = function(game) { this.music = null; this.spacebar = null; }; YINS.MainMenu.prototype = { create: function() { /* Our assets are preloaded, so here we just kick things off by playing some music */ this.music = YINS.game.add.audio('menuMusic'); ...
/* * mainmenu.js * Handles main menu */ YINS.MainMenu = function(game) { this.music = null; this.spacebar = null; }; YINS.MainMenu.prototype = { create: function() { /* Our assets are preloaded, so here we just kick things off by playing some music */ this.music = YINS.game.add.audio('menuMusic'); ...
Stop menu music when game starts
Stop menu music when game starts
JavaScript
mpl-2.0
Vogeltak/YINS,Vogeltak/YINS
javascript
## Code Before: /* * mainmenu.js * Handles main menu */ YINS.MainMenu = function(game) { this.music = null; this.spacebar = null; }; YINS.MainMenu.prototype = { create: function() { /* Our assets are preloaded, so here we just kick things off by playing some music */ this.music = YINS.game.add.audio...
8d2b1f22ab4b3da7b3de7625298cdbcabf283186
admin/project/Build.scala
admin/project/Build.scala
import sbt._ import Keys._ import play.Project._ object ApplicationBuild extends Build { val appName = "admin" val appVersion = "1.0-SNAPSHOT" val appDependencies = Seq( jdbc, anorm, "org.quartz-scheduler" % "quartz" % "2.1.7", "com.lucidchart" %% "piezo-worker" % "1.2-SNAPSHOT" ...
import sbt._ import Keys._ import play.Project._ object ApplicationBuild extends Build { val appName = "admin" val appVersion = "1.0-SNAPSHOT" val appDependencies = Seq( jdbc, anorm, "org.quartz-scheduler" % "quartz" % "2.1.7", "com.lucidchart" %% "piezo-worker" % "1.2-SNAPSHOT" ...
Add sonatype staging repository to the resolvers
Add sonatype staging repository to the resolvers
Scala
apache-2.0
pauldraper/piezo,lucidsoftware/piezo,pauldraper/piezo,lucidsoftware/piezo,pauldraper/piezo,lucidsoftware/piezo
scala
## Code Before: import sbt._ import Keys._ import play.Project._ object ApplicationBuild extends Build { val appName = "admin" val appVersion = "1.0-SNAPSHOT" val appDependencies = Seq( jdbc, anorm, "org.quartz-scheduler" % "quartz" % "2.1.7", "com.lucidchart" %% "piezo-worker" % "...
c5b009d7122e448fd9e726ea5c1fe1bb1617920a
test/consistency.js
test/consistency.js
var tap = require("tap") var normalize = require("../lib/normalize") var path = require("path") var fs = require("fs") var _ = require("underscore") var async = require("async") var data, clonedData tap.test("consistent normalization", function(t) { path.resolve(__dirname, "./fixtures/read-package-json.json") fs....
var tap = require("tap") var normalize = require("../lib/normalize") var path = require("path") var fs = require("fs") var _ = require("underscore") var async = require("async") var data, clonedData var warn tap.test("consistent normalization", function(t) { path.resolve(__dirname, "./fixtures/read-package-json.jso...
Add some ways to get warnings.
Add some ways to get warnings.
JavaScript
bsd-2-clause
kemitchell/normalize-package-data,sindresorhus/normalize-package-data
javascript
## Code Before: var tap = require("tap") var normalize = require("../lib/normalize") var path = require("path") var fs = require("fs") var _ = require("underscore") var async = require("async") var data, clonedData tap.test("consistent normalization", function(t) { path.resolve(__dirname, "./fixtures/read-package-j...
60a2f47365923c4e224ce00d6f7dc009a14b4ba2
.github/workflows/main.yml
.github/workflows/main.yml
name: CI on: [push] jobs: build: runs-on: windows-2019 steps: - uses: actions/checkout@master - name: Checkout submodules uses: textbook/git-checkout-submodule-action@2.0.0 - uses: actions/setup-dotnet@v1 with: dotnet-version: '3.0.100-preview9-014004' # SDK Version to use....
name: CI on: [push] jobs: build: runs-on: windows-2019 steps: - uses: actions/checkout@master - name: Checkout submodules uses: textbook/git-checkout-submodule-action@2.0.0 - uses: actions/setup-dotnet@v1 with: dotnet-version: '3.1.100' # SDK Version to use. - run: dotn...
Update .net core sdk in github actions
Update .net core sdk in github actions
YAML
mit
mscrivo/ootd
yaml
## Code Before: name: CI on: [push] jobs: build: runs-on: windows-2019 steps: - uses: actions/checkout@master - name: Checkout submodules uses: textbook/git-checkout-submodule-action@2.0.0 - uses: actions/setup-dotnet@v1 with: dotnet-version: '3.0.100-preview9-014004' # SDK...
81c25046758506462b510fd328d4c304123b7d7a
resources/assets/less/bem/beatmapset-description-editor.less
resources/assets/less/bem/beatmapset-description-editor.less
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public License v3.0. // See the LICENCE file in the repository root for full licence text. .beatmapset-description-editor { &__overlay { position: fixed; display: flex; flex-direction: column; justify-content: center...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public License v3.0. // See the LICENCE file in the repository root for full licence text. .beatmapset-description-editor { &__overlay { position: fixed; display: flex; flex-direction: column; justify-content: center...
Fix z-index for beatmapset description editor
Fix z-index for beatmapset description editor Should be below modal (used for verification)
Less
agpl-3.0
omkelderman/osu-web,notbakaneko/osu-web,notbakaneko/osu-web,notbakaneko/osu-web,LiquidPL/osu-web,nanaya/osu-web,ppy/osu-web,nanaya/osu-web,notbakaneko/osu-web,ppy/osu-web,nanaya/osu-web,omkelderman/osu-web,omkelderman/osu-web,notbakaneko/osu-web,ppy/osu-web,ppy/osu-web,omkelderman/osu-web,nanaya/osu-web,LiquidPL/osu-we...
less
## Code Before: // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public License v3.0. // See the LICENCE file in the repository root for full licence text. .beatmapset-description-editor { &__overlay { position: fixed; display: flex; flex-direction: column; justify...
f91ee32bd81392e164938af6a3a27312c5b3f514
lib/Wing/Rest/Site.pm
lib/Wing/Rest/Site.pm
package Wing::Rest::Site; use Wing::Perl; use Dancer; use Ouch; use Wing::Rest; generate_options('Site'); generate_create('Site'); generate_read('Site'); generate_update('Site'); del '/api/site/:id' => sub { my $object = fetch_object('Site'); $object->can_edit(get_user_by_session_id()); $object->trash; ...
package Wing::Rest::Site; use Wing::Perl; use Dancer; use Wing::Dancer; use Ouch; use Wing::Rest; generate_options('Site'); generate_create('Site'); generate_read('Site'); generate_update('Site'); del '/api/site/:id' => sub { my $object = fetch_object('Site'); $object->can_edit(get_user_by_session_id()); ...
Add restore site and list sites REST APIs.
Add restore site and list sites REST APIs.
Perl
artistic-2.0
plainblack/Wing,plainblack/Wing,plainblack/Wing,plainblack/Wing
perl
## Code Before: package Wing::Rest::Site; use Wing::Perl; use Dancer; use Ouch; use Wing::Rest; generate_options('Site'); generate_create('Site'); generate_read('Site'); generate_update('Site'); del '/api/site/:id' => sub { my $object = fetch_object('Site'); $object->can_edit(get_user_by_session_id()); ...
aa8f6fa471bb74e15aae72d3d2fda985131b5249
composer.json
composer.json
{ "name": "mollie/reseller-api", "version": "1.6.0", "description": "Mollie Reseller API", "homepage": "https://github.com/mollie/reseller-api", "license": "BSD-2-Clause", "authors": [ { "name": "Mollie B.V.", "email": "info@mollie.com" } ], "keywo...
{ "name": "mollie/reseller-api", "version": "1.6.0", "description": "Mollie Reseller API", "homepage": "https://github.com/mollie/reseller-api", "license": "BSD-2-Clause", "authors": [ { "name": "Mollie B.V.", "email": "info@mollie.com" } ], "keywo...
Switch to classmap autoloader. Actually not PSR-0 compliant
Switch to classmap autoloader. Actually not PSR-0 compliant
JSON
bsd-2-clause
mollie/reseller-api
json
## Code Before: { "name": "mollie/reseller-api", "version": "1.6.0", "description": "Mollie Reseller API", "homepage": "https://github.com/mollie/reseller-api", "license": "BSD-2-Clause", "authors": [ { "name": "Mollie B.V.", "email": "info@mollie.com" } ...
7c920960911d130269980af8b6127180d41fa9e0
projects/personal-portfolio.md
projects/personal-portfolio.md
--- layout: post title: 'Personal Portfolio Website' --- <p>This is my personal portfolio theme that I built from the ground up, using the <a href="http://devtipsstarterkit.com/" target="_blank">DevTips Starter Kit</a> as a foundation for starting, and following closely the amazing tutorial by <a href="https://www.yo...
--- layout: post title: 'Personal Portfolio Website' --- <p>This is my personal portfolio theme that I built from the ground up, using the <a href="http://devtipsstarterkit.com/" target="_blank">DevTips Starter Kit</a> as a foundation for starting, and following closely the amazing tutorial by <a href="https://www.yo...
Fix link to portfolio jekyll theme
Fix link to portfolio jekyll theme
Markdown
unlicense
LeNPaul/LeNPaul.github.io,LeNPaul/LeNPaul.github.io
markdown
## Code Before: --- layout: post title: 'Personal Portfolio Website' --- <p>This is my personal portfolio theme that I built from the ground up, using the <a href="http://devtipsstarterkit.com/" target="_blank">DevTips Starter Kit</a> as a foundation for starting, and following closely the amazing tutorial by <a href...
7b40a84521a6d0a7196c1c6fdbe8e2de05d4a2e0
bootstrap.sh
bootstrap.sh
sudo apt-add-repository -y ppa:pypy/ppa sudo apt-get update sudo apt-get -y install git wget pypy python-pip build-essential python-dev sudo pip install virtualenv sudo pip install virtualenvwrapper mkvirtualenv --no-site-packages --distribute --python=/usr/lib/pypy/bin/pypy-c repl workon repl pip install tornado comma...
sudo apt-add-repository -y ppa:pypy/ppa sudo apt-get update sudo apt-get -y install git wget pypy python-pip build-essential python-dev sudo pip install virtualenv sudo pip install virtualenvwrapper mkvirtualenv --no-site-packages --distribute --python=/usr/lib/pypy/bin/pypy-c repl workon repl pip install tornado comma...
Add user to docker group
Add user to docker group
Shell
mit
robobario/repl,robobario/repl,robobario/repl,robobario/repl
shell
## Code Before: sudo apt-add-repository -y ppa:pypy/ppa sudo apt-get update sudo apt-get -y install git wget pypy python-pip build-essential python-dev sudo pip install virtualenv sudo pip install virtualenvwrapper mkvirtualenv --no-site-packages --distribute --python=/usr/lib/pypy/bin/pypy-c repl workon repl pip insta...
9a43c31ea5caa1b405e9caa91ce6aeea534041ac
norway/main.go
norway/main.go
package main import ( "flag" "log" "net/http" "strings" ) func main() { httpListen := flag.String("http", "127.0.0.1:8080", "host:port to listen on") // basePath := flag.String("base", ".", "base path for web interface templates and static resources") // cvsPath := flag.String("cvs", ".", "path to the cvs repo...
package main import ( "flag" "log" "net/http" "os" "strings" "github.com/mulander/norway" ) var cvs norway.Entries func Init(cvsPath string) { entriesFile, err := os.Open(cvsPath + "/CVS/Entries") if err != nil { log.Fatal(err) } defer entriesFile.Close() cvs, err = norway.ParseEntries(entriesFile) i...
Add basic single directory entries parse on startup
Add basic single directory entries parse on startup
Go
bsd-3-clause
mulander/norway
go
## Code Before: package main import ( "flag" "log" "net/http" "strings" ) func main() { httpListen := flag.String("http", "127.0.0.1:8080", "host:port to listen on") // basePath := flag.String("base", ".", "base path for web interface templates and static resources") // cvsPath := flag.String("cvs", ".", "path...
3d92266cfdee17a9d92be79cc229ca25965c063c
build.cmd
build.cmd
@echo off cls "tools\nuget\nuget.exe" "install" "FAKE" "-OutputDirectory" "tools" "-ExcludeVersion" "tools\nuget\nuget.exe" "install" "FSharp.Formatting.CommandTool" "-OutputDirectory" "tools" "-ExcludeVersion" "-Prerelease" "tools\nuget\nuget.exe" "install" "SourceLink.Fake" "-OutputDirectory" "tools" "-ExcludeVersi...
@echo off cls "tools\nuget\nuget.exe" "install" "FAKE" "-OutputDirectory" "tools" "-ExcludeVersion" "-Prerelease" "tools\nuget\nuget.exe" "install" "FSharp.Formatting.CommandTool" "-OutputDirectory" "tools" "-ExcludeVersion" "-Prerelease" "tools\nuget\nuget.exe" "install" "SourceLink.Fake" "-OutputDirectory" "tools" ...
USe FAKE prerelease for testing
USe FAKE prerelease for testing
Batchfile
apache-2.0
tpetricek/FAKE,featuresnap/FAKE,philipcpresley/FAKE,neoeinstein/FAKE,molinch/FAKE,ArturDorochowicz/FAKE,beeker/FAKE,daniel-chambers/FAKE,pacificIT/FAKE,modulexcite/FAKE,jayp33/FAKE,xavierzwirtz/FAKE,satsuper/FAKE,featuresnap/FAKE,satsuper/FAKE,featuresnap/FAKE,hitesh97/FAKE,gareth-evans/FAKE,philipcpresley/FAKE,mfalda/...
batchfile
## Code Before: @echo off cls "tools\nuget\nuget.exe" "install" "FAKE" "-OutputDirectory" "tools" "-ExcludeVersion" "tools\nuget\nuget.exe" "install" "FSharp.Formatting.CommandTool" "-OutputDirectory" "tools" "-ExcludeVersion" "-Prerelease" "tools\nuget\nuget.exe" "install" "SourceLink.Fake" "-OutputDirectory" "tools...
53331e43c2a95f45aaaa91f2c0fe204fd4d8d530
keras/constraints.py
keras/constraints.py
from __future__ import absolute_import import theano import theano.tensor as T import numpy as np class Constraint(object): def __call__(self, p): return p def get_config(self): return {"name":self.__class__.__name__} class MaxNorm(Constraint): def __init__(self, m=2): self.m = m ...
from __future__ import absolute_import import theano import theano.tensor as T import numpy as np class Constraint(object): def __call__(self, p): return p def get_config(self): return {"name":self.__class__.__name__} class MaxNorm(Constraint): def __init__(self, m=2): self.m = m ...
Allow constraint getter to take parameter dict
Allow constraint getter to take parameter dict
Python
mit
rudaoshi/keras,mikekestemont/keras,jonberliner/keras,xurantju/keras,Aureliu/keras,DLlearn/keras,cvfish/keras,stephenbalaban/keras,chenych11/keras,fmacias64/keras,kuza55/keras,ashhher3/keras,sjuvekar/keras,OlafLee/keras,keskarnitish/keras,iamtrask/keras,wubr2000/keras,rlkelly/keras,saurav111/keras,johmathe/keras,untom/k...
python
## Code Before: from __future__ import absolute_import import theano import theano.tensor as T import numpy as np class Constraint(object): def __call__(self, p): return p def get_config(self): return {"name":self.__class__.__name__} class MaxNorm(Constraint): def __init__(self, m=2): ...
16066e32870f5daf02c30ff015cbe0b10c56e404
.github/workflows/shell.yml
.github/workflows/shell.yml
--- name: Shell on: push: paths: - .github/workflows/shell.yml - arch/bootstrap - arch/go - arch/pacstrap - debian/go - '**.bash' jobs: shellcheck: name: shellcheck runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: Run shellcheck ...
--- name: Shell on: push: paths: - .github/workflows/shell.yml - arch/bootstrap - arch/go - arch/init - arch/pacstrap - debian/go - '**.bash' jobs: shellcheck: name: shellcheck runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: Ru...
Add new init script to lint
Add new init script to lint
YAML
mpl-2.0
mfinelli/arch-install
yaml
## Code Before: --- name: Shell on: push: paths: - .github/workflows/shell.yml - arch/bootstrap - arch/go - arch/pacstrap - debian/go - '**.bash' jobs: shellcheck: name: shellcheck runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: Run ...
6b0a7f390388ff7eb74d8b873d4edeb2ca8187d7
tools/python/requirements.txt
tools/python/requirements.txt
testtools>=0.9.30 python-subunit # subunit selenium -e svn+http://closure-linter.googlecode.com/svn/trunk/#egg=closure-linter # Requirements for using -x pyvirtualdisplay pyscreenshot --allow-external=PIL --allow-unverified=PIL PIL
testtools>=0.9.30 python-subunit # subunit selenium -e svn+http://closure-linter.googlecode.com/svn/trunk/#egg=closure-linter # Requirements for using -x pyvirtualdisplay pyscreenshot Pillow
Use pillow instead of PIL
Use pillow instead of PIL PIL is not distributed securely. Pillow is.
Text
apache-2.0
ericwilligers/svg-animation,ericwilligers/svg-animation,ericwilligers/svg-animation,ericwilligers/svg-animation
text
## Code Before: testtools>=0.9.30 python-subunit # subunit selenium -e svn+http://closure-linter.googlecode.com/svn/trunk/#egg=closure-linter # Requirements for using -x pyvirtualdisplay pyscreenshot --allow-external=PIL --allow-unverified=PIL PIL ## Instruction: Use pillow instead of PIL PIL is not distributed sec...
666f2d061e2f5aede5ea70b3d1728c5a6dc0aa7a
.evergreen/run-tests.sh
.evergreen/run-tests.sh
set -o xtrace # Write all commands first to stderr set -o errexit # Exit the script with error if any of the commands fail # Supported/used environment variables: # SSL Set to enable SSL. Defaults to "nossl" # MONGODB_URI Set the suggested connection MONGODB_URI (includin...
set -o xtrace # Write all commands first to stderr set -o errexit # Exit the script with error if any of the commands fail # Supported/used environment variables: # SSL Set to enable SSL. Defaults to "nossl" # MONGODB_URI Set the suggested connection MONGODB_URI (includin...
Enable weak cert validation for Evergreen SSL envs
PHPC-1180: Enable weak cert validation for Evergreen SSL envs
Shell
apache-2.0
jmikola/mongo-php-driver,jmikola/mongo-php-driver-prototype,derickr/mongo-php-driver,jmikola/mongo-php-driver-prototype,jmikola/mongo-php-driver-prototype,derickr/mongo-php-driver-prototype,derickr/mongo-php-driver,derickr/mongo-php-driver-prototype,jmikola/mongo-php-driver,derickr/mongo-php-driver-prototype,derickr/mo...
shell
## Code Before: set -o xtrace # Write all commands first to stderr set -o errexit # Exit the script with error if any of the commands fail # Supported/used environment variables: # SSL Set to enable SSL. Defaults to "nossl" # MONGODB_URI Set the suggested connection MONGO...
fc9db027b8f0e0aa1168fe77b189a75726d2e92a
lib/filters/master.rb
lib/filters/master.rb
class Filters::Master < Filters::Delivery def data(delivery) # DKIM filter needs to always be the last one filtered = Filters::Dkim.new(Filters::ClickTracking.new(Filters::AddOpenTracking.new(filter))) filtered.data(delivery) end end
class Filters::Master < Filters::Delivery def data(delivery) # DKIM filter needs to always be the last one filtered = Filters::Dkim.new(Filters::InlineCss.new(Filters::ClickTracking.new(Filters::AddOpenTracking.new(filter)))) filtered.data(delivery) end end
Enable css inlining for all email
Enable css inlining for all email
Ruby
agpl-3.0
idlweb/cuttlefish,pratyushmittal/cuttlefish,idlweb/cuttlefish,pratyushmittal/cuttlefish,idlweb/cuttlefish,pratyushmittal/cuttlefish,pratyushmittal/cuttlefish,idlweb/cuttlefish
ruby
## Code Before: class Filters::Master < Filters::Delivery def data(delivery) # DKIM filter needs to always be the last one filtered = Filters::Dkim.new(Filters::ClickTracking.new(Filters::AddOpenTracking.new(filter))) filtered.data(delivery) end end ## Instruction: Enable css inlining for all email ##...