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
e2bbb126c1e82d406aa5a9d3df4dffef1b8325f7
node-admin/CMakeLists.txt
node-admin/CMakeLists.txt
install(DIRECTORY DESTINATION logs/vespa/node-admin) install(FILES target/node-admin-jar-with-dependencies.jar DESTINATION conf/node-admin-app/components) install_symlink(lib/jars/flags-jar-with-dependencies.jar conf/node-admin-app/components/flags-jar-with-dependencies.jar) install(FILES src/main/application/services....
install(DIRECTORY DESTINATION logs/vespa/node-admin) install(FILES target/node-admin-jar-with-dependencies.jar DESTINATION conf/node-admin-app/components) install_symlink(lib/jars/application-model-jar-with-dependencies.jar conf/node-admin-app/components/application-model.jar) install_symlink(lib/jars/flags-jar-with-de...
Add application-model-jar-with-dependencies.jar to node-admin components'
Add application-model-jar-with-dependencies.jar to node-admin components'
Text
apache-2.0
vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa
text
## Code Before: install(DIRECTORY DESTINATION logs/vespa/node-admin) install(FILES target/node-admin-jar-with-dependencies.jar DESTINATION conf/node-admin-app/components) install_symlink(lib/jars/flags-jar-with-dependencies.jar conf/node-admin-app/components/flags-jar-with-dependencies.jar) install(FILES src/main/appli...
6f866468a7a877b0b98b46b0e891581e18a611f2
.github/workflows/test.yml
.github/workflows/test.yml
name: test on: [push, pull_request] jobs: bucklescript: strategy: matrix: os: - ubuntu-latest - macos-latest runs-on: ${{matrix.os}} steps: - uses: actions/checkout@v2 - run: npm install esy - run: echo PATH=$(pwd)/node_modules/.bin:$PATH >> $GITHUB_ENV - ru...
name: test on: [push, pull_request] jobs: bucklescript: strategy: matrix: os: - ubuntu-18.04 - macos-10.15 runs-on: ${{matrix.os}} steps: - uses: actions/checkout@v2 - run: npm install esy - run: echo PATH=$(pwd)/node_modules/.bin:$PATH >> $GITHUB_ENV - run:...
Downgrade operating systems in binary builders
Downgrade operating systems in binary builders
YAML
mit
aantron/bisect_ppx,aantron/bisect_ppx
yaml
## Code Before: name: test on: [push, pull_request] jobs: bucklescript: strategy: matrix: os: - ubuntu-latest - macos-latest runs-on: ${{matrix.os}} steps: - uses: actions/checkout@v2 - run: npm install esy - run: echo PATH=$(pwd)/node_modules/.bin:$PATH >> $GIT...
b24a3d7a4e643666ed9bf179c5dc6401096fb01f
package.json
package.json
{ "name": "rcd-nodeca", "description": "RC Design forum configuration for nodeca", "version": "0.0.1", "keywords": [ "nodeca" ], "license": "MIT", "repository": "rcdesign/rcd-nodeca", "devDependencies": { "gulp": "^3.9.1", "gulp-real-favicon": "^0.2.1", "is-my-json-valid": "^2.15.0", ...
{ "name": "rcd-nodeca", "description": "RC Design forum configuration for nodeca", "version": "0.0.1", "keywords": [ "nodeca" ], "license": "MIT", "repository": "rcdesign/rcd-nodeca", "devDependencies": { "gulp": "^3.9.1", "gulp-real-favicon": "^0.2.1", "is-my-json-valid": "^2.15.0", ...
Allow npm run install script from root
Allow npm run install script from root
JSON
mit
rcdesign/rcd-nodeca,rcdesign/rcd-nodeca
json
## Code Before: { "name": "rcd-nodeca", "description": "RC Design forum configuration for nodeca", "version": "0.0.1", "keywords": [ "nodeca" ], "license": "MIT", "repository": "rcdesign/rcd-nodeca", "devDependencies": { "gulp": "^3.9.1", "gulp-real-favicon": "^0.2.1", "is-my-json-valid"...
ce3c7daff5eaaf8eefecf3f4e5bd9fbca40a7a2a
cob/subsystems/tasks_subsystem.py
cob/subsystems/tasks_subsystem.py
import os import logbook from .base import SubsystemBase _logger = logbook.Logger(__name__) class TasksSubsystem(SubsystemBase): NAME = 'tasks' def activate(self, flask_app): from ..celery.app import celery_app self._config = self.project.config.get('celery', {}) # ensure critica...
import os import logbook from .base import SubsystemBase _logger = logbook.Logger(__name__) class TasksSubsystem(SubsystemBase): NAME = 'tasks' def activate(self, flask_app): from ..celery.app import celery_app self._config = self.project.config.get('celery', {}) # ensure critica...
Allow passing Celery configuration under the project's config
Allow passing Celery configuration under the project's config
Python
bsd-3-clause
getweber/weber-cli
python
## Code Before: import os import logbook from .base import SubsystemBase _logger = logbook.Logger(__name__) class TasksSubsystem(SubsystemBase): NAME = 'tasks' def activate(self, flask_app): from ..celery.app import celery_app self._config = self.project.config.get('celery', {}) ...
8e2c76d513c1285fc5dba61bb277e12c732aa4f5
src/login/home/home-tpl.html
src/login/home/home-tpl.html
<md-content> <h1>Welcome to Sparrow Fit!</h1> <h3>Login from the toolbar above to access your profile.</h3> <div>add image</div> </md-content>
<div id="landing"> <md-content> <h1>Welcome to Sparrow Fit!</h1> <h3>Login from the toolbar above to access your profile.</h3> </md-content> <div id="container"> <p id="hi">test</p> <video autoplay loop muted poster="screenshot.jpg" id="background"> <source src="http://i.istockimg.com/video_...
Add Video For Landing Page
Add Video For Landing Page
HTML
mit
Ankit09osr/sparrow,TeamSparrows/sparrow,Ankit09osr/sparrow,TeamSparrows/sparrow
html
## Code Before: <md-content> <h1>Welcome to Sparrow Fit!</h1> <h3>Login from the toolbar above to access your profile.</h3> <div>add image</div> </md-content> ## Instruction: Add Video For Landing Page ## Code After: <div id="landing"> <md-content> <h1>Welcome to Sparrow Fit!</h1> <h3>Login from the t...
6fe46f6746a6a444548d26333f3c3d47c1cb42bf
src/main/java/org/aesh/command/impl/operator/AppendOutputRedirectionOperator.java
src/main/java/org/aesh/command/impl/operator/AppendOutputRedirectionOperator.java
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package org.aesh.command.impl.operator; import java.io.BufferedWriter; import java.io.File; import java.io.IOException; import java.ni...
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package org.aesh.command.impl.operator; import java.io.BufferedWriter; import java.io.File; import java.io.IOException; import java.ni...
Fix >> to create a new file
Fix >> to create a new file
Java
apache-2.0
aeshell/aesh,jfdenise/aesh,stalep/aesh
java
## Code Before: /* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package org.aesh.command.impl.operator; import java.io.BufferedWriter; import java.io.File; import java.io.IOException...
17e73788f293c7fdf07f5b4c9b88229d226c80a8
src/js/layout/container/Stacked.js
src/js/layout/container/Stacked.js
Blend.defineClass('Blend.layout.container.Stacked', { extend: 'Blend.layout.container.Fit', alias: 'layout.stacked', cssPrefix: 'stacked', activeItem: null, init: function () { var me = this; me.callParent.apply(me, arguments); me.view.setActiveItem = function () { ...
Blend.defineClass('Blend.layout.container.Stacked', { extend: 'Blend.layout.container.Fit', alias: 'layout.stacked', cssPrefix: 'stacked', activeItem: null, init: function () { var me = this; me.callParent.apply(me, arguments); /** * Install the setActiveItem to the ...
Install the setActiveItem function to the view for convenience
Install the setActiveItem function to the view for convenience
JavaScript
mit
blendsdk/blendjs-sdk,blendsdk/blendjs-sdk,blendsdk/blendjs-sdk,blendsdk/blendjs-sdk
javascript
## Code Before: Blend.defineClass('Blend.layout.container.Stacked', { extend: 'Blend.layout.container.Fit', alias: 'layout.stacked', cssPrefix: 'stacked', activeItem: null, init: function () { var me = this; me.callParent.apply(me, arguments); me.view.setActiveItem = function...
7ade98c91b502b7aaa8a7f8e9e0c3ae64133f855
packages/poppler.sh
packages/poppler.sh
POPPLER_VERSION=${POPPLER_VERSION:="0.52.0"} set -e POPPLER_DIR=${POPPLER_DIR:=$HOME/poppler} CACHED_DOWNLOAD="${HOME}/cache/poppler-${POPPLER_VERSION}.tar.xz" mkdir -p "${POPPLER_DIR}" wget --continue --output-document "${CACHED_DOWNLOAD}" "https://poppler.freedesktop.org/poppler-${POPPLER_VERSION}.tar.xz" tar -xaf ...
POPPLER_VERSION=${POPPLER_VERSION:="0.52.0"} POPPLER_DIR=${POPPLER_DIR:=$HOME/cache/poppler-$POPPLER_VERSION} set -e if [ ! -d "${POPPLER_DIR}" ]; then CACHED_DOWNLOAD="${HOME}/cache/poppler-${POPPLER_VERSION}.tar.xz" mkdir -p "${HOME}/poppler" wget --continue --output-document "${CACHED_DOWNLOAD}" "https://po...
Add caching to Poppler script
Add caching to Poppler script
Shell
mit
codeship/scripts,codeship/scripts
shell
## Code Before: POPPLER_VERSION=${POPPLER_VERSION:="0.52.0"} set -e POPPLER_DIR=${POPPLER_DIR:=$HOME/poppler} CACHED_DOWNLOAD="${HOME}/cache/poppler-${POPPLER_VERSION}.tar.xz" mkdir -p "${POPPLER_DIR}" wget --continue --output-document "${CACHED_DOWNLOAD}" "https://poppler.freedesktop.org/poppler-${POPPLER_VERSION}.t...
8e1675206fb02379569b6e79d9cf4ec66dac4770
app.json
app.json
{ "name": "torrent-dbx", "description": "This app downloads torrents to your Dropbox.", "keywords": [ "torrent", "dropbox", "download" ], "success_url": "/", "env": { "DROPBOX_ACCESS_TOKEN": { "description": "A secret key required for saving files to your Dropbox account." } } }
{ "name": "torrent-dbx", "description": "This app downloads torrents to your Dropbox.", "keywords": [ "torrent", "dropbox", "download" ], "success_url": "/", "env": { "REACT_APP_DROPBOX_ACCESS_TOKEN": { "description": "A secret key required for saving files to your Dropbox account." ...
Update Heroku env var name
Update Heroku env var name
JSON
mit
kevgathuku/torrent-dbx,kevgathuku/torrent-dbx
json
## Code Before: { "name": "torrent-dbx", "description": "This app downloads torrents to your Dropbox.", "keywords": [ "torrent", "dropbox", "download" ], "success_url": "/", "env": { "DROPBOX_ACCESS_TOKEN": { "description": "A secret key required for saving files to your Dropbox accoun...
ac7e10e0b524f08a9434a209a114fae6afb97f4c
README.md
README.md
queb (Queen's University Event Bot) is a Facebook Messenger chat bot allowing users to learn about local events in their area. It is aimed at Queen's students and residents of Kingston, but anyone can converse with the bot to learn about events in their area. Built by Stephen ([@BearGuy](github.com/bearguy)) and Simo...
queb (Queen's University Event Bot) is a Facebook Messenger chat bot allowing users to learn about local events in their area. It is aimed at Queen's students and residents of Kingston, but anyone can converse with the bot to learn about events in their area. Built by Stephen ([@BearGuy](http://github.com/bearguy)) a...
Fix links and other small errors
Fix links and other small errors
Markdown
mit
BearGuy/QHacks2017bot
markdown
## Code Before: queb (Queen's University Event Bot) is a Facebook Messenger chat bot allowing users to learn about local events in their area. It is aimed at Queen's students and residents of Kingston, but anyone can converse with the bot to learn about events in their area. Built by Stephen ([@BearGuy](github.com/be...
979124ef0ef51e02e293f97f46f32ec8c7dc3c98
.travis.yml
.travis.yml
language: c compiler: - clang - gcc script: cmake . && make clean && make
language: c env: global: - secure: "XJiVvsoZMWFOTQyYnokEiPyco5ppKsuX19K5Awdm1CZL2QrRkjm05XO5pkvPyeM0U4SOEjAKxfgbH+/SHe4rvezKeIypoOKln36OIAVfu8HJX906cXr5QQwvS74ODXVvpJLstWR0+aoqmRwjnlRKPWJAccQaW8F8Ghg34JcONOQ=" compiler: - clang - gcc script: cmake . && make clean && make addons: coverity_scan: proje...
Enable Travis CI integration with Coverity Scan
Enable Travis CI integration with Coverity Scan
YAML
mit
mikoim/limit30,mikoim/limit30
yaml
## Code Before: language: c compiler: - clang - gcc script: cmake . && make clean && make ## Instruction: Enable Travis CI integration with Coverity Scan ## Code After: language: c env: global: - secure: "XJiVvsoZMWFOTQyYnokEiPyco5ppKsuX19K5Awdm1CZL2QrRkjm05XO5pkvPyeM0U4SOEjAKxfgbH+/SHe4rvezKeIypoOKln36O...
35a7caac9ab36c54095aa76c5b772a7c996b4f41
site/config.yml
site/config.yml
baseurl: "https://studionock.com/" languageCode: "en-US" title: "Studio NOCK" defaultContentLanguage: "en" defaultContentLanguageInSubdir: false enableRobotsTXT: true enableEmoji: true MetaDataFormat: "yaml" params: description: "Studio NOCK is an independent platform dedicated to architecture"
baseurl: "https://studionock.com/" languageCode: "en-US" title: "Studio NOCK" defaultContentLanguage: "en" defaultContentLanguageInSubdir: false enableRobotsTXT: true enableEmoji: true MetaDataFormat: "yaml" params: description: "Studio NOCK is an independent platform dedicated to architecture" menu: main: - ...
Add hom to main menu
Add hom to main menu
YAML
mit
studionock/studionock.com,studionock/studionock.com
yaml
## Code Before: baseurl: "https://studionock.com/" languageCode: "en-US" title: "Studio NOCK" defaultContentLanguage: "en" defaultContentLanguageInSubdir: false enableRobotsTXT: true enableEmoji: true MetaDataFormat: "yaml" params: description: "Studio NOCK is an independent platform dedicated to architecture" ## I...
22e9b9a20f85515bbfc5e213e8df645be6939b7e
appveyor.yml
appveyor.yml
version: 1.0.{build} services: - mssql2016 - mysql nuget: project_feed: true disable_publish_on_pr: true before_build: - cmd: dotnet restore before_test: - cmd: sqlcmd -S "(local)\SQL2016" -U "sa" -P "Password12!" -i "Resonance.Core\content\ResonanceDB.MsSql.sql" build_script: - cmd: dotnet build -c Release test_sc...
version: 1.0.{build} services: - mssql2016 - mysql nuget: project_feed: true disable_publish_on_pr: true before_build: - cmd: dotnet restore before_test: - cmd: sqlcmd -S "(local)\SQL2016" -U "sa" -P "Password12!" -i "Resonance.Core\content\ResonanceDB.MsSql.sql" build_script: - cmd: dotnet build Resonance.Core -c ...
Fix build + test in buildscript
Fix build + test in buildscript
YAML
mit
kwaazaar/Resonance
yaml
## Code Before: version: 1.0.{build} services: - mssql2016 - mysql nuget: project_feed: true disable_publish_on_pr: true before_build: - cmd: dotnet restore before_test: - cmd: sqlcmd -S "(local)\SQL2016" -U "sa" -P "Password12!" -i "Resonance.Core\content\ResonanceDB.MsSql.sql" build_script: - cmd: dotnet build -c...
e22ed56c8560cb79dc486f4b04d15b543da8112f
www/modules/api/Api.php
www/modules/api/Api.php
<?php namespace app\modules\api; use yii\base\BootstrapInterface; class Api extends \yii\base\Module implements BootstrapInterface { public $controllerNamespace = 'app\modules\api\controllers'; private static $_defaultVersion = 'v1'; public static function getDefaultVersion() { return self...
<?php namespace app\modules\api; use yii\base\BootstrapInterface; class Api extends \yii\base\Module implements BootstrapInterface { public $controllerNamespace = 'app\modules\api\controllers'; private static $_defaultVersion = 'v1'; public static function getDefaultVersion() { return self...
Disable session for api modules
Disable session for api modules
PHP
bsd-3-clause
d-bf/server,d-bf/server
php
## Code Before: <?php namespace app\modules\api; use yii\base\BootstrapInterface; class Api extends \yii\base\Module implements BootstrapInterface { public $controllerNamespace = 'app\modules\api\controllers'; private static $_defaultVersion = 'v1'; public static function getDefaultVersion() { ...
39ebbf87e6c54dabb0df4383de86fe76d946fcab
desktop/core/src/desktop/js/apps/notebook2/apiUtils.ts
desktop/core/src/desktop/js/apps/notebook2/apiUtils.ts
// Licensed to Cloudera, Inc. under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. Cloudera, Inc. licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you may not use this f...
// Licensed to Cloudera, Inc. under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. Cloudera, Inc. licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you may not use this f...
Switch to axios for the format SQL ajax request
[editor] Switch to axios for the format SQL ajax request
TypeScript
apache-2.0
kawamon/hue,cloudera/hue,kawamon/hue,cloudera/hue,kawamon/hue,kawamon/hue,cloudera/hue,kawamon/hue,cloudera/hue,kawamon/hue,cloudera/hue,cloudera/hue,kawamon/hue,cloudera/hue,cloudera/hue,cloudera/hue,kawamon/hue,kawamon/hue,kawamon/hue,cloudera/hue,kawamon/hue,cloudera/hue,cloudera/hue,cloudera/hue,cloudera/hue,cloude...
typescript
## Code Before: // Licensed to Cloudera, Inc. under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. Cloudera, Inc. licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you ma...
b0a1848bb79ae8ff3c4a0b3e50fb39bb5660f2e9
dovecot/start.sh
dovecot/start.sh
chown -R mail:mail /mail chown -R mail:mail /var/lib/dovecot # Run dovecot exec /usr/sbin/dovecot -c /etc/dovecot/dovecot.conf -F
for VARIABLE in `env | cut -f1 -d=`; do sed -i "s={{ $VARIABLE }}=${!VARIABLE}=g" /etc/dovecot/*.conf done # Fix permissions chown -R mail:mail /mail chown -R mail:mail /var/lib/dovecot # Run dovecot exec /usr/sbin/dovecot -c /etc/dovecot/dovecot.conf -F
Substitute variables properly in dovecot configuration
Substitute variables properly in dovecot configuration
Shell
mit
kaiyou/freeposte.io,kaiyou/freeposte.io,kaiyou/freeposte.io,kaiyou/freeposte.io
shell
## Code Before: chown -R mail:mail /mail chown -R mail:mail /var/lib/dovecot # Run dovecot exec /usr/sbin/dovecot -c /etc/dovecot/dovecot.conf -F ## Instruction: Substitute variables properly in dovecot configuration ## Code After: for VARIABLE in `env | cut -f1 -d=`; do sed -i "s={{ $VARIABLE }}=${!VARIABLE}=g" ...
a2746bb446aef698a123b648c9aecdcc0f93dd4e
sample-terms.sml
sample-terms.sml
(* s(s(z)) *) val term1 : Term.t = Term.$$(TermOps.Succ, [Term.$$(TermOps.Zero, [])]) (* lam{nat}(x.z) *) val term2 : Term.t = Term.$$(TermOps.Lam (Type.$$(TypeOps.NAT, [])), [Term.\\ (Var.newvar "x", Term.$$(TermOps.Zero, []))]) (* (lam{nat}(x.s(x))) s(s(z)) *) val term3 : T...
(* s(s(z)) *) val term1 : Term.t = Term.$$(TermOps.Succ, [Term.$$(TermOps.Zero, [])]) (* lam{nat}(x.z) *) val term2 : Term.t = Term.$$(TermOps.Lam (Type.$$(TypeOps.NAT, [])), [Term.\\ (Var.newvar "x", Term.$$(TermOps.Zero, []))]) (* (lam{nat}(x.s(x))) s(s(z)) *) val term3 : T...
Fix minor problem in examples
Fix minor problem in examples
Standard ML
mit
ayberkt/sml-system-t
standard-ml
## Code Before: (* s(s(z)) *) val term1 : Term.t = Term.$$(TermOps.Succ, [Term.$$(TermOps.Zero, [])]) (* lam{nat}(x.z) *) val term2 : Term.t = Term.$$(TermOps.Lam (Type.$$(TypeOps.NAT, [])), [Term.\\ (Var.newvar "x", Term.$$(TermOps.Zero, []))]) (* (lam{nat}(x.s(x))) s(s(z)) ...
c2d9da425ee6b9b1c48697f2dcb9afaeebb6ea8d
packages/in/incipit.yaml
packages/in/incipit.yaml
homepage: https://github.com/tek/incipit#readme changelog-type: '' hash: 5433f9fb627ed5f13a625a90c701d45f9229e106317d26cf523f9c5d39c1154d test-bench-deps: {} maintainer: hackage@tryp.io synopsis: A Prelude for Polysemy changelog: '' basic-deps: polysemy-conc: '>=0.9' polysemy-resume: '>=0.5' base: '>=4.13 && <4.1...
homepage: https://github.com/tek/incipit#readme changelog-type: '' hash: 80e58746f8c7f51100ed98f32c48b8df9502cb6b1c6e2506bb547f5ee3d2cf50 test-bench-deps: {} maintainer: hackage@tryp.io synopsis: A Prelude for Polysemy changelog: '' basic-deps: polysemy-conc: '>=0.9' polysemy-resume: '>=0.5' base: '>=4.13 && <4.1...
Update from Hackage at 2022-10-09T23:51:51Z
Update from Hackage at 2022-10-09T23:51:51Z
YAML
mit
commercialhaskell/all-cabal-metadata
yaml
## Code Before: homepage: https://github.com/tek/incipit#readme changelog-type: '' hash: 5433f9fb627ed5f13a625a90c701d45f9229e106317d26cf523f9c5d39c1154d test-bench-deps: {} maintainer: hackage@tryp.io synopsis: A Prelude for Polysemy changelog: '' basic-deps: polysemy-conc: '>=0.9' polysemy-resume: '>=0.5' base:...
86678fce3817388641db3d0f4002b3f8d409377d
pdcupdater/tests/handler_tests/test_kerberos_auth.py
pdcupdater/tests/handler_tests/test_kerberos_auth.py
import pytest import requests_kerberos from mock import patch, Mock import pdcupdater.utils from test.test_support import EnvironmentVarGuard import os class TestKerberosAuthentication(object): @patch('os.path.exists', return_value=True) @patch('requests_kerberos.HTTPKerberosAuth') @patch('requests.get') def test...
import os from mock import patch, Mock import pdcupdater.utils class TestKerberosAuthentication(object): @patch('os.path.exists', return_value=True) @patch('requests_kerberos.HTTPKerberosAuth') @patch('requests.get') def test_get_token(self, requests_get, kerb_auth, os_path): self.url = 'htt...
Remove invalid imports for TestKerberosAuthentication and fix its styling
Remove invalid imports for TestKerberosAuthentication and fix its styling
Python
lgpl-2.1
fedora-infra/pdc-updater
python
## Code Before: import pytest import requests_kerberos from mock import patch, Mock import pdcupdater.utils from test.test_support import EnvironmentVarGuard import os class TestKerberosAuthentication(object): @patch('os.path.exists', return_value=True) @patch('requests_kerberos.HTTPKerberosAuth') @patch('requests...
45cff177aa76571803229819310f38fe0f2d43e6
tools/schema/datatypes_pubsub.txt
tools/schema/datatypes_pubsub.txt
DataSetMetaDataType ConfigurationVersionDataType UadpDataSetWriterMessageDataType UadpWriterGroupMessageDataType UadpDataSetMessageContentMask UadpNetworkMessageContentMask NetworkAddressUrlDataType PublishedVariableDataType DataSetOrderingType DataSetFieldContentMask StructureDefinition StructureDescription StructureT...
DataSetMetaDataType ConfigurationVersionDataType UadpDataSetWriterMessageDataType UadpWriterGroupMessageDataType UadpDataSetMessageContentMask UadpNetworkMessageContentMask NetworkAddressUrlDataType PublishedVariableDataType DataSetOrderingType DataSetFieldContentMask StructureDefinition StructureDescription StructureT...
Fix building PubSub with subscriptions disabled
fix(pubsub): Fix building PubSub with subscriptions disabled
Text
mpl-2.0
jpfr/open62541,JGrothoff/open62541,StalderT/open62541,jpfr/open62541,jpfr/open62541,JGrothoff/open62541,jpfr/open62541,JGrothoff/open62541,open62541/open62541,StalderT/open62541,open62541/open62541,open62541/open62541,StalderT/open62541,StalderT/open62541,open62541/open62541,JGrothoff/open62541
text
## Code Before: DataSetMetaDataType ConfigurationVersionDataType UadpDataSetWriterMessageDataType UadpWriterGroupMessageDataType UadpDataSetMessageContentMask UadpNetworkMessageContentMask NetworkAddressUrlDataType PublishedVariableDataType DataSetOrderingType DataSetFieldContentMask StructureDefinition StructureDescri...
797da1bd335c0d8237ff4ee4785fe7aca76f0b84
setup.py
setup.py
from setuptools import setup setup( name='pusher', version='1.2.0', description='A Python library to interract with the Pusher API', url='https://github.com/pusher/pusher-http-python', author='Pusher', author_email='support@pusher.com', classifiers=[ "License :: OSI Approved :: MIT L...
from setuptools import setup setup( name='pusher', version='1.2.0', description='A Python library to interract with the Pusher API', url='https://github.com/pusher/pusher-http-python', author='Pusher', author_email='support@pusher.com', classifiers=[ "License :: OSI Approved :: MIT L...
Include cacert.pem as part of the package
Include cacert.pem as part of the package
Python
mit
hkjallbring/pusher-http-python,pusher/pusher-http-python
python
## Code Before: from setuptools import setup setup( name='pusher', version='1.2.0', description='A Python library to interract with the Pusher API', url='https://github.com/pusher/pusher-http-python', author='Pusher', author_email='support@pusher.com', classifiers=[ "License :: OSI A...
e5c528816d90a998fcfb26d2e88e7ab10b027e50
integration/advent2012-day06.t
integration/advent2012-day06.t
use v6; use Test; use lib 't/spec/packages'; use Test::Util; plan 2; my $main = q:to"END-MAIN"; use v6; use lib 'lib'; # the main functionality of the script sub deduplicate(Str $s) { my %seen; $s.comb.grep({!%seen{ .lc }++}).join; } # normal call multi MAIN($phrase) { ...
use v6; use Test; use lib 't/spec/packages'; use Test::Util; plan 2; my $main = q:to"END-MAIN"; use v6; use lib 'lib'; # the main functionality of the script sub deduplicate(Str $s) { my %seen; $s.comb.grep({!%seen{ .lc }++}).join; } # normal call multi MAIN($phrase) { ...
Make test not depend on make install; Win32 fix.
Make test not depend on make install; Win32 fix. Since we often run "make spectest" before "make install", relying on "lib" being installed somewhere already is wrong. Also, the usual line-ending tweak for making the test happy on Windows.
Perl
artistic-2.0
dankogai/roast,niner/roast,niner/roast,b2gills/roast,laben/roast,laben/roast,bitrauser/roast,dankogai/roast,niner/roast,zostay/roast,zostay/roast,skids/roast,perl6/roast,bitrauser/roast,dogbert17/roast,cygx/roast,dogbert17/roast,b2gills/roast,dankogai/roast,skids/roast,b2gills/roast,zostay/roast,laben/roast,cygx/roast,...
perl
## Code Before: use v6; use Test; use lib 't/spec/packages'; use Test::Util; plan 2; my $main = q:to"END-MAIN"; use v6; use lib 'lib'; # the main functionality of the script sub deduplicate(Str $s) { my %seen; $s.comb.grep({!%seen{ .lc }++}).join; } # normal call multi MA...
40a1768254ed1cd8c1fdbfcbd9fb88324dd67674
locales/bg/encrypt.properties
locales/bg/encrypt.properties
episode_num=ЕИЗОД {num}
episode_num=ЕИЗОД {num} mozilla_blerb=Mozilla е глобална организация с нестопанска цел, посветена да ви даде контрола над изживяването ви онлайн и оформянето на бъдещето на интернет за общественото благо. Посетете ни на <a href="//mozilla.org">mozilla.org</a>
Update Bulgarian (bg) localization of Mozilla Advocacy
Pontoon: Update Bulgarian (bg) localization of Mozilla Advocacy Localization authors: - :stoyan <stoyan@gmx.com>
INI
mpl-2.0
mozilla/advocacy.mozilla.org
ini
## Code Before: episode_num=ЕИЗОД {num} ## Instruction: Pontoon: Update Bulgarian (bg) localization of Mozilla Advocacy Localization authors: - :stoyan <stoyan@gmx.com> ## Code After: episode_num=ЕИЗОД {num} mozilla_blerb=Mozilla е глобална организация с нестопанска цел, посветена да ви даде контрола над изживяванет...
959507c29c0fc67f59b8448ff76807f9032cacf8
.rubocop.yml
.rubocop.yml
require: rubocop-performance AllCops: TargetRailsVersion: 5.0 TargetRubyVersion: 2.3 Exclude: - 'vendor/bundle/**/*' Layout/AlignHash: EnforcedColonStyle: table EnforcedHashRocketStyle: table Metrics/AbcSize: Max: 18.36 Metrics/BlockLength: Exclude: - '*.gemspec' - 'test/**/*' Metrics/Cla...
require: rubocop-performance AllCops: TargetRailsVersion: 5.0 TargetRubyVersion: 2.3 Exclude: - 'vendor/bundle/**/*' Layout/AlignHash: EnforcedColonStyle: table EnforcedHashRocketStyle: table Metrics/AbcSize: Max: 18.36 Metrics/BlockLength: Exclude: - '*.gemspec' - 'test/**/*' Metrics/Cla...
Fix RuboCop config for Ruby 2.3
Fix RuboCop config for Ruby 2.3
YAML
mit
DavyJonesLocker/client_side_validations,DavyJonesLocker/client_side_validations,DavyJonesLocker/client_side_validations
yaml
## Code Before: require: rubocop-performance AllCops: TargetRailsVersion: 5.0 TargetRubyVersion: 2.3 Exclude: - 'vendor/bundle/**/*' Layout/AlignHash: EnforcedColonStyle: table EnforcedHashRocketStyle: table Metrics/AbcSize: Max: 18.36 Metrics/BlockLength: Exclude: - '*.gemspec' - 'test/**...
11db4d2f27a57892c7e3e693e267002ff0d93d0d
website/package.json
website/package.json
{ "name": "spacy.io", "private": true, "version": "2.0.0", "description": "spacy.io website", "author": "Explosion AI", "license": "MIT", "devDependencies": { "babel-cli": "^6.14.0", "harp": "^0.24.0", "rollup": "^0.50.0", "uglify-js": "^2.7.3", "broken-link-checker": "^0.7.6" }, "...
{ "name": "spacy.io", "private": true, "version": "2.0.0", "description": "spacy.io website", "author": "Explosion AI", "license": "MIT", "devDependencies": { "babel-cli": "^6.14.0", "harp": "^0.24.0", "rollup": "^0.50.0", "uglify-js": "^2.7.3", "broken-link-checker": "^0.7.6", "va...
Add script to validate universe json
Add script to validate universe json [ci skip]
JSON
mit
spacy-io/spaCy,spacy-io/spaCy,recognai/spaCy,explosion/spaCy,recognai/spaCy,recognai/spaCy,explosion/spaCy,honnibal/spaCy,explosion/spaCy,explosion/spaCy,honnibal/spaCy,recognai/spaCy,spacy-io/spaCy,honnibal/spaCy,spacy-io/spaCy,explosion/spaCy,explosion/spaCy,honnibal/spaCy,recognai/spaCy,recognai/spaCy,spacy-io/spaCy...
json
## Code Before: { "name": "spacy.io", "private": true, "version": "2.0.0", "description": "spacy.io website", "author": "Explosion AI", "license": "MIT", "devDependencies": { "babel-cli": "^6.14.0", "harp": "^0.24.0", "rollup": "^0.50.0", "uglify-js": "^2.7.3", "broken-link-checker": "...
a05efe0fe00fd2ad43f984d6a83d0f8488a6dbd7
test/net/ssehub/kernel_haven/config/ConfigurationTest.java
test/net/ssehub/kernel_haven/config/ConfigurationTest.java
package net.ssehub.kernel_haven.config; import static net.ssehub.kernel_haven.config.Setting.Type.BOOLEAN; import java.util.Properties; import org.junit.Assert; import org.junit.Test; import net.ssehub.kernel_haven.SetUpException; /** * Tests the {@link Configuration}. * @author El-Sharkawy * */ public class C...
package net.ssehub.kernel_haven.config; import static net.ssehub.kernel_haven.config.Setting.Type.BOOLEAN; import java.util.Properties; import org.junit.Assert; import org.junit.Test; import net.ssehub.kernel_haven.SetUpException; /** * Tests the {@link Configuration}. * @author El-Sharkawy * */ public class C...
Test case for the configuration
Test case for the configuration
Java
apache-2.0
KernelHaven/KernelHaven,KernelHaven/KernelHaven
java
## Code Before: package net.ssehub.kernel_haven.config; import static net.ssehub.kernel_haven.config.Setting.Type.BOOLEAN; import java.util.Properties; import org.junit.Assert; import org.junit.Test; import net.ssehub.kernel_haven.SetUpException; /** * Tests the {@link Configuration}. * @author El-Sharkawy * *...
fe0d3739450aacca215b676ca3a1fd184fb4cc26
src/trix/models/attachment.coffee
src/trix/models/attachment.coffee
class Trix.Attachment extends Trix.Object constructor: (@file) ->
class Trix.Attachment extends Trix.Object constructor: (@file) -> super
Call super so we get an id
Call super so we get an id
CoffeeScript
mit
urossmolnik/trix,ChenMichael/trix,basecamp/trix,GabiGrin/trix,ChenMichael/trix,urossmolnik/trix,GabiGrin/trix,basecamp/trix,GabiGrin/trix,urossmolnik/trix,ChenMichael/trix,basecamp/trix,basecamp/trix
coffeescript
## Code Before: class Trix.Attachment extends Trix.Object constructor: (@file) -> ## Instruction: Call super so we get an id ## Code After: class Trix.Attachment extends Trix.Object constructor: (@file) -> super
0ce3330d416323cb22d6904a850efba6cdba6eec
requirements-test.txt
requirements-test.txt
pytest==5.0.1 pytest-asyncio==0.10.0 pytest-cov==2.7.1 hypothesis==4.31.1 aiosmtpd==1.2
pytest==5.0.1 pytest-asyncio==0.10.0 pytest-cov==2.7.1 hypothesis==4.31.1 aiosmtpd==1.2 bandit==1.6.2 black==19.3b0 flake8==3.7.8 flake8-isort==2.7.0 mypy==0.720
Add linters to test requirements
Add linters to test requirements
Text
mit
cole/aiosmtplib
text
## Code Before: pytest==5.0.1 pytest-asyncio==0.10.0 pytest-cov==2.7.1 hypothesis==4.31.1 aiosmtpd==1.2 ## Instruction: Add linters to test requirements ## Code After: pytest==5.0.1 pytest-asyncio==0.10.0 pytest-cov==2.7.1 hypothesis==4.31.1 aiosmtpd==1.2 bandit==1.6.2 black==19.3b0 flake8==3.7.8 flake8-isort==2.7.0 ...
7edc38a6885ef7f0c89b286abb2ab2224b9bc32a
templates/polls/index.html
templates/polls/index.html
{% if latest_poll_list %} <ul> {% for poll in latest_poll_list %} <li><a href="/polls/{{ poll.id }}/">{{ poll.question }}</a></li> {% endfor %} </ul> {% else %} <p>No polls are available.</p> {% endif %}
{% if latest_poll_list %} <ul> {% for poll in latest_poll_list %} <li><a href="{% 'polls:detail' poll.id %}">{{ poll.question }}</a></li> {% endfor %} </ul> {% else %} <p>No polls are available.</p> {% endif %}
Improve template with namespace urls
Improve template with namespace urls
HTML
mit
egel/polls
html
## Code Before: {% if latest_poll_list %} <ul> {% for poll in latest_poll_list %} <li><a href="/polls/{{ poll.id }}/">{{ poll.question }}</a></li> {% endfor %} </ul> {% else %} <p>No polls are available.</p> {% endif %} ## Instruction: Improve template with namespace urls ## Code After: {% if latest_poll_list ...
685d5b40ec4dcb4328b095dd2e050ef02aa2a3a9
metadata/org.secuso.privacyfriendlyweather.txt
metadata/org.secuso.privacyfriendlyweather.txt
Categories:Multimedia,Internet License:GPL-3.0 Web Site:https://secuso.org/pfa Source Code:https://github.com/SecUSo/privacy-friendly-weather Issue Tracker:https://github.com/SecUSo/privacy-friendly-weather/issues Changelog:https://github.com/SecUSo/privacy-friendly-weather/blob/HEAD/CHANGELOG.md Auto Name:Weather Sum...
Categories:Multimedia,Internet License:GPL-3.0 Web Site:https://secuso.org/pfa Source Code:https://github.com/SecUSo/privacy-friendly-weather Issue Tracker:https://github.com/SecUSo/privacy-friendly-weather/issues Changelog:https://github.com/SecUSo/privacy-friendly-weather/blob/HEAD/CHANGELOG.md Auto Name:Weather Sum...
Update Weather to 2.0 (5)
Update Weather to 2.0 (5)
Text
agpl-3.0
f-droid/fdroiddata,f-droid/fdroiddata,f-droid/fdroid-data
text
## Code Before: Categories:Multimedia,Internet License:GPL-3.0 Web Site:https://secuso.org/pfa Source Code:https://github.com/SecUSo/privacy-friendly-weather Issue Tracker:https://github.com/SecUSo/privacy-friendly-weather/issues Changelog:https://github.com/SecUSo/privacy-friendly-weather/blob/HEAD/CHANGELOG.md Auto ...
967d08126da051f2aa70f24b3da8402a5b7f3fb7
metadata/jp.ddo.hotmist.unicodepad.yml
metadata/jp.ddo.hotmist.unicodepad.yml
Categories: - Writing License: Apache-2.0 AuthorName: Ryosuke839 SourceCode: https://github.com/Ryosuke839/UnicodePad IssueTracker: https://github.com/Ryosuke839/UnicodePad/issues Changelog: https://github.com/Ryosuke839/UnicodePad/releases AutoName: UnicodePad Description: |- ''UnicodePad'' lets you input every...
Categories: - Writing License: Apache-2.0 AuthorName: Ryosuke839 SourceCode: https://github.com/Ryosuke839/UnicodePad IssueTracker: https://github.com/Ryosuke839/UnicodePad/issues Changelog: https://github.com/Ryosuke839/UnicodePad/releases AutoName: UnicodePad Description: |- ''UnicodePad'' lets you input every...
Update UnicodePad to 2.5.0 (35)
Update UnicodePad to 2.5.0 (35)
YAML
agpl-3.0
f-droid/fdroiddata,f-droid/fdroiddata
yaml
## Code Before: Categories: - Writing License: Apache-2.0 AuthorName: Ryosuke839 SourceCode: https://github.com/Ryosuke839/UnicodePad IssueTracker: https://github.com/Ryosuke839/UnicodePad/issues Changelog: https://github.com/Ryosuke839/UnicodePad/releases AutoName: UnicodePad Description: |- ''UnicodePad'' lets...
1d690a306e71c2fcae1ad2d6d55b72e5ebd46f2f
src/components/navbar/account-link.cjsx
src/components/navbar/account-link.cjsx
React = require 'react' BS = require 'react-bootstrap' Router = require 'react-router' {CurrentUserStore} = require '../../flux/current-user' {TransitionAssistant} = require '../unsaved-state' module.exports = React.createClass displayName: 'Navigation' contextTypes: router: React.PropTypes.func redirectTo...
React = require 'react' BS = require 'react-bootstrap' {CurrentUserStore} = require '../../flux/current-user' module.exports = React.createClass displayName: 'Navigation' render: -> return null unless CurrentUserStore.getProfileUrl() <li> <a href={CurrentUserStore.getProfileUrl()} target='_blank'>M...
Use a link with target=_blank for account profile
Use a link with target=_blank for account profile
CoffeeScript
agpl-3.0
openstax/tutor-js,openstax/tutor-js,openstax/tutor-js,openstax/tutor-js,openstax/tutor-js
coffeescript
## Code Before: React = require 'react' BS = require 'react-bootstrap' Router = require 'react-router' {CurrentUserStore} = require '../../flux/current-user' {TransitionAssistant} = require '../unsaved-state' module.exports = React.createClass displayName: 'Navigation' contextTypes: router: React.PropTypes.fu...
15b6b9cf27b12bf539134babb3f680830a8750d9
CHANGELOG.md
CHANGELOG.md
0.1 --- - Initial release. Supports YAML, JSON, and HOCON
0.2 --- - Implemented object mapper system - Added configuration migration support - Added configurability to loaders 0.1 --- - Initial release. Supports YAML, JSON, and HOCON
Update changelog with 0.2 changes
Update changelog with 0.2 changes
Markdown
apache-2.0
zml2008/configurate,zml2008/configurate
markdown
## Code Before: 0.1 --- - Initial release. Supports YAML, JSON, and HOCON ## Instruction: Update changelog with 0.2 changes ## Code After: 0.2 --- - Implemented object mapper system - Added configuration migration support - Added configurability to loaders 0.1 --- - Initial release. Supports YAML, JSON, and HOCON
dd5774c30f950c8a52b977a5529300e8edce4bc7
migrations/versions/2c240cb3edd1_.py
migrations/versions/2c240cb3edd1_.py
# revision identifiers, used by Alembic. revision = '2c240cb3edd1' down_revision = '588336e02ca' from alembic import op import sqlalchemy as sa def upgrade(): ### commands auto generated by Alembic - please adjust! ### op.add_column('movie', sa.Column('imdb_rating', sa.Float(), nullable=False, default=0)) ...
# revision identifiers, used by Alembic. revision = '2c240cb3edd1' down_revision = '588336e02ca' from alembic import op import sqlalchemy as sa def upgrade(): ### commands auto generated by Alembic - please adjust! ### op.add_column('movie', sa.Column('imdb_rating', sa.Float(), nullable=False, server_defaul...
Fix proper default values for metadata migration
Fix proper default values for metadata migration
Python
mit
streamr/marvin,streamr/marvin,streamr/marvin
python
## Code Before: # revision identifiers, used by Alembic. revision = '2c240cb3edd1' down_revision = '588336e02ca' from alembic import op import sqlalchemy as sa def upgrade(): ### commands auto generated by Alembic - please adjust! ### op.add_column('movie', sa.Column('imdb_rating', sa.Float(), nullable=Fals...
eb6b0fe5efb3129960d9e26048cd5aa9024aa3b9
circle.yml
circle.yml
machine: node: version: 6.9.5 post: - curl -o- -L https://yarnpkg.com/install.sh | bash dependencies: cache_directories: - "~/.cache/yarn" pre: - yarn --version override: - yarn install test: post: - sh release.sh - aws s3 cp ./coverage/ s3://coverage.grimoire.gl/core/$CIRCL...
machine: node: version: 6.9.5 post: - curl -o- -L https://yarnpkg.com/install.sh | bash dependencies: cache_directories: - "~/.cache/yarn" pre: - yarn --version override: - yarn install test: post: - sh release.sh - aws s3 cp ./coverage/ s3://coverage.grimoire.gl/core/$CIRCL...
Add staging javascript upload shell command
fix: Add staging javascript upload shell command
YAML
mit
GrimoireGL/GrimoireJS,jThreeJS/jThree,GrimoireGL/GrimoireJS,jThreeJS/jThree,jThreeJS/jThree,GrimoireGL/GrimoireJS,GrimoireGL/GrimoireJS,jThreeJS/jThree
yaml
## Code Before: machine: node: version: 6.9.5 post: - curl -o- -L https://yarnpkg.com/install.sh | bash dependencies: cache_directories: - "~/.cache/yarn" pre: - yarn --version override: - yarn install test: post: - sh release.sh - aws s3 cp ./coverage/ s3://coverage.grimoir...
8d53566b06b6f162ca867ffea5db80759b7599fc
README.md
README.md
![](https://img.shields.io/gem/v/rails_semantic_logger.svg) ![](https://img.shields.io/gem/dt/semantic_logger.svg) ![](https://img.shields.io/badge/status-production%20ready-blue.svg) Next generation logging system for Rails to support highly concurrent, high throughput, low latency systems Rails Semantic Logger repl...
![](https://img.shields.io/gem/v/rails_semantic_logger.svg) ![](https://img.shields.io/gem/dt/semantic_logger.svg) ![](https://img.shields.io/badge/status-production%20ready-blue.svg) Next generation logging system for Rails to support highly concurrent, high throughput, low latency systems Rails Semantic Logger repl...
Update rails and ruby versions supported in readme
Update rails and ruby versions supported in readme
Markdown
apache-2.0
reidmorrison/rails_semantic_logger,rocketjob/rails_semantic_logger,rocketjob/rails_semantic_logger,reidmorrison/rails_semantic_logger,reidmorrison/rails_semantic_logger,rocketjob/rails_semantic_logger
markdown
## Code Before: ![](https://img.shields.io/gem/v/rails_semantic_logger.svg) ![](https://img.shields.io/gem/dt/semantic_logger.svg) ![](https://img.shields.io/badge/status-production%20ready-blue.svg) Next generation logging system for Rails to support highly concurrent, high throughput, low latency systems Rails Sema...
59af011ba98651fdf1b95a39a4639138202c9b63
code/GoogleSuggestField.php
code/GoogleSuggestField.php
<?php /** * Field which gets suggestions from google search */ class GoogleSuggestField extends FormField { public function Field($properties = array()) { Requirements::customScript(<<<JS (function($) { $.entwine('ss', function($){ $('.cms-edit-form input#Form_EditForm_{$this->get...
<?php /** * Field which gets suggestions from google search */ class GoogleSuggestField extends FormField { public function Field($properties = array()) { Requirements::customScript(<<<JS (function($) { var edit_form_id = "Form_EditForm"; var alt_edit_form_id = "Form_ItemEditForm"; ...
Add form type check to suggestion field
Add form type check to suggestion field
PHP
bsd-2-clause
micschk/silverstripe-liveseo,micschk/silverstripe-liveseo
php
## Code Before: <?php /** * Field which gets suggestions from google search */ class GoogleSuggestField extends FormField { public function Field($properties = array()) { Requirements::customScript(<<<JS (function($) { $.entwine('ss', function($){ $('.cms-edit-form input#Form_Edit...
a4d274a780125cab0aa21ffd2a4060a66e2512d4
wms/WMSQueryDataLayer.h
wms/WMSQueryDataLayer.h
// ====================================================================== /*! * \brief A Meb Maps Service Layer data structure for query data layer * * Characteristics: * * - * - */ // ====================================================================== #pragma once #include "WMSConfig.h" namespace SmartM...
// ====================================================================== /*! * \brief A Meb Maps Service Layer data structure for query data layer * * Characteristics: * * - * - */ // ====================================================================== #pragma once #include "WMSConfig.h" namespace SmartM...
Use override (pacify clang++ warning)
Use override (pacify clang++ warning)
C
mit
fmidev/smartmet-plugin-wms,fmidev/smartmet-plugin-wms,fmidev/smartmet-plugin-wms,fmidev/smartmet-plugin-wms
c
## Code Before: // ====================================================================== /*! * \brief A Meb Maps Service Layer data structure for query data layer * * Characteristics: * * - * - */ // ====================================================================== #pragma once #include "WMSConfig.h" ...
52611d90d8eee2d5e51df2f35a6c479fabf1824f
README.md
README.md
Usage example: ```csharp var extractor = new SevenZipExtractor(@"C:\7zip\7za.exe"); var archive = extractor.OpenArchive(@"C:\myarchive.zip"); using (archive) { var file = archive.GetArchiveFiles().First(x => x.RelativePath == "file1.xml"); archive.ExtractFile(file, @"C:\temp\myfile.xml"); } ``` Usa...
Windows x86/x64 [![Build status](https://ci.appveyor.com/api/projects/status/vheo9e6l200d47yc?svg=true)](https://ci.appveyor.com/project/nitridan/nodetocoreclr-iueo1) Usage example: ```csharp var extractor = new SevenZipExtractor(@"C:\7zip\7za.exe"); var archive = extractor.OpenArchive(@"C:\myarchive.zip"...
Add build status to readme.
Add build status to readme.
Markdown
mit
ChocoPacker/ChocoPacker.Clr
markdown
## Code Before: Usage example: ```csharp var extractor = new SevenZipExtractor(@"C:\7zip\7za.exe"); var archive = extractor.OpenArchive(@"C:\myarchive.zip"); using (archive) { var file = archive.GetArchiveFiles().First(x => x.RelativePath == "file1.xml"); archive.ExtractFile(file, @"C:\temp\myfile.xm...
1c6cc2317668872b499e6d7a5318917f748da22b
apps/tools/components/send_invitation/index.coffee
apps/tools/components/send_invitation/index.coffee
Promise = require 'bluebird-q' { API_URL } = require('sharify').data { track } = require '../../../../lib/analytics.coffee' Serializer = require '../../../../components/form/serializer.coffee' module.exports = ($el) -> $form = $el.find '.js-form' $submit = $el.find '.js-submit' $errors = $el.find '.js-errors' ...
Promise = require 'bluebird-q' { API_URL } = require('sharify').data { track } = require '../../../../lib/analytics.coffee' Serializer = require '../../../../components/form/serializer.coffee' module.exports = ($el) -> $form = $el.find '.js-form' $submit = $el.find '.js-submit' $errors = $el.find '.js-errors' ...
Add catch all error handling in case of AJAX fail response
Add catch all error handling in case of AJAX fail response - Add `fail` block to form submission request promise chain. - Add timeout tracking so that old requests dont clear timeouts set by subsequent requests.
CoffeeScript
mit
aredotna/ervell,aredotna/ervell,aredotna/ervell,aredotna/ervell,aredotna/ervell
coffeescript
## Code Before: Promise = require 'bluebird-q' { API_URL } = require('sharify').data { track } = require '../../../../lib/analytics.coffee' Serializer = require '../../../../components/form/serializer.coffee' module.exports = ($el) -> $form = $el.find '.js-form' $submit = $el.find '.js-submit' $errors = $el.find...
8cda339fcc31ea20a2ad3fa2e0f16b9f4a66079b
cogi_phony.gemspec
cogi_phony.gemspec
require File.expand_path('../lib/cogi_phony/version', __FILE__) Gem::Specification.new do |spec| spec.authors = ['Nobi Hoang'] spec.email = 'nobi.hoa@gmail.com' spec.description = 'This gem provide you library to validate, parsing and format phone number, detect phone network in Vietnam.' sp...
require File.expand_path('../lib/cogi_phony/version', __FILE__) Gem::Specification.new do |spec| spec.authors = ['Nobi Hoang'] spec.email = 'nobi.hoa@gmail.com' spec.description = 'This gem provide you library to validate, parsing and format phone number, detect phone network in Vietnam.' sp...
Update dependency versions for rake and rspec
Update dependency versions for rake and rspec
Ruby
mit
hoahm/cogi_phony
ruby
## Code Before: require File.expand_path('../lib/cogi_phony/version', __FILE__) Gem::Specification.new do |spec| spec.authors = ['Nobi Hoang'] spec.email = 'nobi.hoa@gmail.com' spec.description = 'This gem provide you library to validate, parsing and format phone number, detect phone network i...
ff53495724b539b8d367e8510f37975c52dda2c0
90101/A.hs
90101/A.hs
import Control.Applicative import Control.Monad import Text.Printf main = do [_, d, n] <- map read . words <$> getLine dict <- replicateM d getLine forM_ [1..n] $ \caseNum -> do word <- getLine let ans = length $ expandWithDict dict word printf "Case #%d: %d\n" (caseNum::Int) (ans::Int) expa...
import Control.Applicative import Control.Monad import Text.Printf main = do [_, d, n] <- map read . words <$> getLine dict <- replicateM d getLine forM_ [1..n] $ \caseNum -> do word <- getLine let ans = length . filter id . map match $ dict where match = all (\(x,y) -> y `elem` x) . zip...
Speed up by just producing True False values instead of all possible lists
Speed up by just producing True False values instead of all possible lists
Haskell
mit
marknsikora/codejam,marknsikora/codejam
haskell
## Code Before: import Control.Applicative import Control.Monad import Text.Printf main = do [_, d, n] <- map read . words <$> getLine dict <- replicateM d getLine forM_ [1..n] $ \caseNum -> do word <- getLine let ans = length $ expandWithDict dict word printf "Case #%d: %d\n" (caseNum::Int) ...
f85b0cf6d4ad533e603af2cb4fca9fd611783a03
README.md
README.md
Storm stands for **S**imple **T**ornado **O**bject **R**elational **M**apping. It uses Mongo DB for the backend, but it should be swappable for any storage by implementing the `storm.db.Database` interface. This is the result of a few hours of work so I would not recommend using it in production at the moment. ## U...
Storm stands for **S**imple **T**ornado **O**bject **R**elational **M**apping. It uses Mongo DB for the backend, but it should be swappable for any storage by implementing the `storm.db.Database` interface. This is the result of a few hours of work so I would not recommend using it in production at the moment. ## U...
Update example to reflect new path
Update example to reflect new path
Markdown
mit
ccampbell/storm,liujiantong/storm
markdown
## Code Before: Storm stands for **S**imple **T**ornado **O**bject **R**elational **M**apping. It uses Mongo DB for the backend, but it should be swappable for any storage by implementing the `storm.db.Database` interface. This is the result of a few hours of work so I would not recommend using it in production at t...
bb7bde7caf15599ba12615dac1cf7674e934e4c6
lib/rspec/sidekiq/matchers/be_unique.rb
lib/rspec/sidekiq/matchers/be_unique.rb
module RSpec module Sidekiq module Matchers def be_unique BeUnique.new end class BeUnique def description 'be unique in the queue' end def failure_message "expected #{@klass} to be unique in the queue" end def matches?(job) ...
module RSpec module Sidekiq module Matchers def be_unique BeUnique.new end class BeUnique def description 'be unique in the queue' end def failure_message "expected #{@klass} to be unique in the queue" end def matches?(job) ...
Verify the value based on which uniquing type is available
Verify the value based on which uniquing type is available
Ruby
mit
philostler/rspec-sidekiq
ruby
## Code Before: module RSpec module Sidekiq module Matchers def be_unique BeUnique.new end class BeUnique def description 'be unique in the queue' end def failure_message "expected #{@klass} to be unique in the queue" end def...
0441d3a104a9de895aecd3a0210a549bc7b59042
README.md
README.md
Parse a youtube url returning the video ID. ## Installation ``` npm install get-youtube-id ``` ## Example ``` js var getYouTubeID = require('get-youtube-id'); var id = getYouTubeID("http://www.youtube.com/watch?v=9bZkp7q19f0"); console.log(id); // "9bZkp7q19f0" ``` ## Fuzzy matching By default `getYouTubeID` wi...
Parse a youtube url returning the video ID. ## Installation ``` npm install get-youtube-id ``` ## Example ``` js var getYouTubeID = require('get-youtube-id'); var id = getYouTubeID("http://www.youtube.com/watch?v=9bZkp7q19f0"); console.log(id); // "9bZkp7q19f0" // Or, if you're using ES6 syntax: import getYouTu...
Add ES6 import syntax to readme
Add ES6 import syntax to readme
Markdown
mit
jmorrell/get-youtube-id
markdown
## Code Before: Parse a youtube url returning the video ID. ## Installation ``` npm install get-youtube-id ``` ## Example ``` js var getYouTubeID = require('get-youtube-id'); var id = getYouTubeID("http://www.youtube.com/watch?v=9bZkp7q19f0"); console.log(id); // "9bZkp7q19f0" ``` ## Fuzzy matching By default `...
98398d87079d4892587db6773756d5f7fda497a3
packages/ha/hasql-cursor-transaction.yaml
packages/ha/hasql-cursor-transaction.yaml
homepage: https://github.com/nikita-volkov/hasql-cursor-transaction changelog-type: '' hash: 033b5f5f573909c24a33d347dc902b08f818ed4999d791c3fc58126c81bd13ed test-bench-deps: {} maintainer: Nikita Volkov <nikita.y.volkov@mail.ru> synopsis: An abstraction for simultaneous fetching from multiple PostgreSQL cursors change...
homepage: https://github.com/nikita-volkov/hasql-cursor-transaction changelog-type: '' hash: 162e1fcd432100c92f3bd01479387a89a63cd0957253b56aa304e870a5b1baee test-bench-deps: {} maintainer: Nikita Volkov <nikita.y.volkov@mail.ru> synopsis: An abstraction for simultaneous fetching from multiple PostgreSQL cursors change...
Update from Hackage at 2017-03-27T02:13:49Z
Update from Hackage at 2017-03-27T02:13:49Z
YAML
mit
commercialhaskell/all-cabal-metadata
yaml
## Code Before: homepage: https://github.com/nikita-volkov/hasql-cursor-transaction changelog-type: '' hash: 033b5f5f573909c24a33d347dc902b08f818ed4999d791c3fc58126c81bd13ed test-bench-deps: {} maintainer: Nikita Volkov <nikita.y.volkov@mail.ru> synopsis: An abstraction for simultaneous fetching from multiple PostgreSQ...
2527c192c29c85ebec6ab7ec4b91af64c078034d
core/src/main/java/org/apache/karaf/webconsole/core/internal/SidebarPanel.java
core/src/main/java/org/apache/karaf/webconsole/core/internal/SidebarPanel.java
package org.apache.karaf.webconsole.core.internal; import org.apache.wicket.Page; import org.apache.wicket.markup.html.basic.Label; import org.apache.wicket.markup.html.link.BookmarkablePageLink; import org.apache.wicket.markup.html.list.ListItem; import org.apache.wicket.markup.html.list.ListView; import org.apache.w...
package org.apache.karaf.webconsole.core.internal; import org.apache.wicket.Page; import org.apache.wicket.markup.html.basic.Label; import org.apache.wicket.markup.html.link.BookmarkablePageLink; import org.apache.wicket.markup.html.list.ListItem; import org.apache.wicket.markup.html.list.ListView; import org.apache.w...
Improve sidebar a bit - remove long class names from navigation
Improve sidebar a bit - remove long class names from navigation git-svn-id: e2c3038d01fb1e63d9a6e7e9a258c7088cd26e08@1160300 13f79535-47bb-0310-9956-ffa450edef68
Java
apache-2.0
apache/karaf-webconsole,apache/karaf-webconsole,apache/karaf-webconsole
java
## Code Before: package org.apache.karaf.webconsole.core.internal; import org.apache.wicket.Page; import org.apache.wicket.markup.html.basic.Label; import org.apache.wicket.markup.html.link.BookmarkablePageLink; import org.apache.wicket.markup.html.list.ListItem; import org.apache.wicket.markup.html.list.ListView; imp...
54bb7e3277b04cf41d2dbb4f13098e71f2cc1e12
TODO.md
TODO.md
- [ ] code documentation - [ ] support files (IO) - [ ] documentation (include snr files) ### Less - [ ] examples - [ ] interactive control when "not ok" - [ ] record snr files with working program - [ ] support sockets (IO) - [ ] tests
- [ ] code documentation - [ ] support files (IO) - [ ] documentation (include snr files) - [ ] running one directory of snr files on given executable ### Less - [ ] examples - [ ] interactive control when "not ok" - [ ] record snr files with working program - [ ] support sockets (IO) - [ ] tests
Add a task in todo list
Add a task in todo list
Markdown
mit
shlomihod/scenario,shlomihod/scenario,shlomihod/scenario
markdown
## Code Before: - [ ] code documentation - [ ] support files (IO) - [ ] documentation (include snr files) ### Less - [ ] examples - [ ] interactive control when "not ok" - [ ] record snr files with working program - [ ] support sockets (IO) - [ ] tests ## Instruction: Add a task in todo list ## Code After: - [ ] code...
e7b6c143052f6ca99c13a2eb07aebc3250cbe9bf
suite/suite_order_test.go
suite/suite_order_test.go
package suite import ( "strings" "testing" "github.com/stretchr/testify/assert" ) type CallOrderSuite struct { Suite callOrder []string } func (s *CallOrderSuite) call(method string) { // s.Mutex.Lock() // defer s.Mutex.Unlock() s.callOrder = append(s.callOrder, method) } func TestSuiteCallOrder(t *testin...
package suite import ( "math/rand" "strings" "testing" "time" "github.com/stretchr/testify/assert" ) type CallOrderSuite struct { Suite callOrder []string } func (s *CallOrderSuite) call(method string) { time.Sleep(time.Duration(rand.Intn(300)) * time.Millisecond) s.callOrder = append(s.callOrder, method) ...
Remove parallel as that makes goroutines deadlock
Remove parallel as that makes goroutines deadlock
Go
mit
stretchr/testify,stretchr/testify
go
## Code Before: package suite import ( "strings" "testing" "github.com/stretchr/testify/assert" ) type CallOrderSuite struct { Suite callOrder []string } func (s *CallOrderSuite) call(method string) { // s.Mutex.Lock() // defer s.Mutex.Unlock() s.callOrder = append(s.callOrder, method) } func TestSuiteCal...
f4f1cc5634a406c8a0f7b1eecb04d35704bf3bfa
README.md
README.md
A Khaos template to start new projects with webpack quickly.
A [Khaos](https://github.com/segmentio/khaos) template to start clientside projects with [webpack](https://webpack.github.io/) quickly. ## Benefits - hotloading dev server - transpile es6+ - minify and bundle into static files - prerender known html - develop on [multiple devices](https://github.com/HenrikJoreteg/hjs-w...
Add usage, scripts, config, credits and license sections
Add usage, scripts, config, credits and license sections
Markdown
mit
stevenmathews/khaos-webpack
markdown
## Code Before: A Khaos template to start new projects with webpack quickly. ## Instruction: Add usage, scripts, config, credits and license sections ## Code After: A [Khaos](https://github.com/segmentio/khaos) template to start clientside projects with [webpack](https://webpack.github.io/) quickly. ## Benefits - hotl...
5664aa9ba31544693586020c133597fc5f25c797
lib/router/index.js
lib/router/index.js
var fs = require('fs-extra'); var path = require('path'); var serveStatic = require('serve-static'); var finalhandler = require('finalhandler'); module.exports = function(options) { options = options || {}; var rcfile = path.join(options.cwd || process.cwd(), '.webmodulesrc'); var rc = fs.existsSync(rcfile) ?...
var fs = require('fs-extra'); var path = require('path'); var serveStatic = require('serve-static'); var finalhandler = require('finalhandler'); module.exports = function(options) { options = options || {}; var rcfile = path.join(options.cwd || process.cwd(), '.webmodulesrc'); var rc = fs.existsSync(rcfile) ?...
Fix base dir in router
Fix base dir in router
JavaScript
mit
attrs/webmodules
javascript
## Code Before: var fs = require('fs-extra'); var path = require('path'); var serveStatic = require('serve-static'); var finalhandler = require('finalhandler'); module.exports = function(options) { options = options || {}; var rcfile = path.join(options.cwd || process.cwd(), '.webmodulesrc'); var rc = fs.exis...
668d7091701179a9d108fddaf1da37c6be88916d
docker/php.ini
docker/php.ini
[PHP] date.timezone = UTC display_errors = Off expose_php = Off html_errors = On implicit_flush = Off log_errors = On max_execution_time = 300 max_file_uploads = 20 max_input_time = 60 memory_limit = 1G opcache.memory_consumption = 256 opcache.max_accelerated_files = 20000 opcache.preload_user = www-data opcache.preloa...
[PHP] date.timezone = UTC display_errors = Off expose_php = Off html_errors = On implicit_flush = Off log_errors = On max_execution_time = 300 max_file_uploads = 20 max_input_time = 60 memory_limit = 1G opcache.memory_consumption = 256 opcache.max_accelerated_files = 20000 opcache.preload_user = www-data opcache.preloa...
Call symfony preload from new location
Call symfony preload from new location This is a new easier to use version of this configuration in Symfony 5.2
INI
mit
Trott/ilios,dartajax/ilios,stopfstedt/ilios,ilios/ilios,dartajax/ilios,thecoolestguy/ilios,thecoolestguy/ilios,ilios/ilios,stopfstedt/ilios,Trott/ilios
ini
## Code Before: [PHP] date.timezone = UTC display_errors = Off expose_php = Off html_errors = On implicit_flush = Off log_errors = On max_execution_time = 300 max_file_uploads = 20 max_input_time = 60 memory_limit = 1G opcache.memory_consumption = 256 opcache.max_accelerated_files = 20000 opcache.preload_user = www-dat...
d25ac83860b91dd78988400efa64f29ffb309de2
boards_json/LinkIt-ONE.json
boards_json/LinkIt-ONE.json
{ "name": "LinkIt ONE", "map": { "digital": { "pins": { "D0": 0, "D1": 1, "D2": 2, "D3": 3, "D4": 4, "D5": 5, "D6": 6, "D7": 7, "D8": 8, "D9": 9, "D10": 10, "D11": 11, "D12": 12, "D13": 13, "D18": 18, "D19": 19 ...
{ "name": "LinkIt ONE", "map": { "digital": { "pins": { "D0": 0, "D1": 1, "D2": 2, "D3": 3, "D4": 4, "D5": 5, "D6": 6, "D7": 7, "D8": 8, "D9": 9, "D10": 10, "D11": 11, "D12": 12, "D13": 13, "D18": 18, "D19": 19 ...
Fix LinkIt ONE A3 pin
Fix LinkIt ONE A3 pin
JSON
mit
ivankravets/blynk-library,CedricFinance/blynk-library,blynkkk/blynk-library,flashvnn/blynk-library,ivankravets/blynk-library,csicar/blynk-library,okhiroyuki/blynk-library,CedricFinance/blynk-library,sstocker46/blynk-library,ivankravets/blynk-library,flashvnn/blynk-library,ivankravets/blynk-library,johan--/blynk-library...
json
## Code Before: { "name": "LinkIt ONE", "map": { "digital": { "pins": { "D0": 0, "D1": 1, "D2": 2, "D3": 3, "D4": 4, "D5": 5, "D6": 6, "D7": 7, "D8": 8, "D9": 9, "D10": 10, "D11": 11, "D12": 12, "D13": 13, "D18": 1...
254581645259d83cb208133453fa56646f50c059
metadata/org.decsync.flym.yml
metadata/org.decsync.flym.yml
Categories: - Reading License: GPL-3.0-only AuthorName: Aldo Gunsing AuthorEmail: dev@aldogunsing.nl SourceCode: https://github.com/39aldo39/Flym-DecSync IssueTracker: https://github.com/39aldo39/Flym-DecSync/issues Donate: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=4V96AFD3S4TPJ AutoName: ...
Categories: - Reading License: GPL-3.0-only AuthorName: Aldo Gunsing AuthorEmail: dev@aldogunsing.nl SourceCode: https://github.com/39aldo39/Flym-DecSync IssueTracker: https://github.com/39aldo39/Flym-DecSync/issues Donate: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=4V96AFD3S4TPJ AutoName: ...
Update Flym DecSync to 2.6.2 (43)
Update Flym DecSync to 2.6.2 (43)
YAML
agpl-3.0
f-droid/fdroiddata,f-droid/fdroiddata
yaml
## Code Before: Categories: - Reading License: GPL-3.0-only AuthorName: Aldo Gunsing AuthorEmail: dev@aldogunsing.nl SourceCode: https://github.com/39aldo39/Flym-DecSync IssueTracker: https://github.com/39aldo39/Flym-DecSync/issues Donate: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=4V96AFD3S...
61c18de197b07f7fb65c8ecd7d9e56e86ead3dd8
client/src/components/Main.jsx
client/src/components/Main.jsx
import React from 'react'; import DebateItem from './DebateItem.jsx'; import { BrowserRouter as Router, Route, Link, Switch } from 'react-router-dom'; import DebateFloor from './debate/DebateFloor.jsx'; import axios from 'axios'; class Main extends React.Component { constructor(props) { super(props); ...
import React from 'react'; import DebateItem from './DebateItem.jsx'; import { BrowserRouter as Router, Route, Link, Switch } from 'react-router-dom'; import DebateFloor from './debate/DebateFloor.jsx'; import axios from 'axios'; class Main extends React.Component { constructor(props) { super(props); ...
Add query to increase points for debate side and increase votes for an argument
Add query to increase points for debate side and increase votes for an argument
JSX
mit
garrulous-gorillas/garrulous-gorillas,garrulous-gorillas/garrulous-gorillas
jsx
## Code Before: import React from 'react'; import DebateItem from './DebateItem.jsx'; import { BrowserRouter as Router, Route, Link, Switch } from 'react-router-dom'; import DebateFloor from './debate/DebateFloor.jsx'; import axios from 'axios'; class Main extends React.Component { constructor(props) { ...
12560ed629e3b9b98b43ac996f25c80cdd2e98e2
front_end/ui/components/text_prompt/textPrompt.css
front_end/ui/components/text_prompt/textPrompt.css
/* * Copyright 2021 The Chromium Authors. All rights reserved. * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ :host { white-space: pre; overflow: hidden; display: flex; } .prefix { flex: none; color: var(--color-primary); } .text-prompt-input { ...
/* * Copyright 2021 The Chromium Authors. All rights reserved. * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ :host { white-space: pre; overflow: hidden; display: flex; } input { font-size: 14px; } .prefix { flex: none; color: var(--color-prim...
Set correct font-size for input elements.
[QuickOpen] Set correct font-size for input elements. This regressed due to the introduction of a shadow root in between, where the font-size: 14px outside would no longer propogate, so we need to be explicit as well within the shadow root. Fixed: chromium:1268745 Change-Id: I469e9367cb7c91504b3918377b8cf6a65a57435b ...
CSS
bsd-3-clause
ChromeDevTools/devtools-frontend,ChromeDevTools/devtools-frontend,ChromeDevTools/devtools-frontend,ChromeDevTools/devtools-frontend,ChromeDevTools/devtools-frontend,ChromeDevTools/devtools-frontend
css
## Code Before: /* * Copyright 2021 The Chromium Authors. All rights reserved. * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ :host { white-space: pre; overflow: hidden; display: flex; } .prefix { flex: none; color: var(--color-primary); } .text...
4e500eee2c3507817571b203c8e3ca860f9511d6
web-ng/src/app/services/data-import/data-import.service.ts
web-ng/src/app/services/data-import/data-import.service.ts
/** * Copyright 2020 Google LLC * * Licensed under the Apache License, Version 2.0 (the 'License'); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
/** * Copyright 2020 Google LLC * * Licensed under the Apache License, Version 2.0 (the 'License'); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
Select endpoint based on file extension
Select endpoint based on file extension
TypeScript
apache-2.0
google/ground-platform,google/ground-platform,google/ground-platform,google/ground-platform
typescript
## Code Before: /** * Copyright 2020 Google LLC * * Licensed under the Apache License, Version 2.0 (the 'License'); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable ...
3c3a541ceca1215c4a37fcc646f372b9a4b1c30e
app/templates/components/expense-table-cell.hbs
app/templates/components/expense-table-cell.hbs
{{yield}} <td class="options-cell-cont"> <button class="mdl-button mdl-js-button mdl-button--icon" onclick={{ action "openOptions"}}> <i class="material-icons">more_vert</i> </button> <ul class="cell-options-menu st--list-unstyled mdl-shadow--2dp" id="{{menuOptionID}}"> <li class="cell-options-menu-item...
{{#if editMode}} <td class="mdl-data-table__cell--non-numeric"> {{input value=expense.name}} </td> <td class="mdl-data-table__cell--non-numeric"> {{input value=expense.category}} </td> <td> {{currency}}{{input value=expense.sum}} </td> <td class="options-cell-cont"> <button class="mdl-but...
Add markup for table cell when in edit mode
refactor: Add markup for table cell when in edit mode
Handlebars
mit
pe1te3son/spendings-tracker,pe1te3son/spendings-tracker
handlebars
## Code Before: {{yield}} <td class="options-cell-cont"> <button class="mdl-button mdl-js-button mdl-button--icon" onclick={{ action "openOptions"}}> <i class="material-icons">more_vert</i> </button> <ul class="cell-options-menu st--list-unstyled mdl-shadow--2dp" id="{{menuOptionID}}"> <li class="cell-o...
007a83777f095af1c80013f8bf47c56f71c8d678
README.md
README.md
AngularJS tutorial implementation from https://docs.angularjs.org/tutorial.
AngularJS tutorial implementation for https://docs.angularjs.org/tutorial. ## Checkout git clone https://github.com/eugene-karanda/angular-tutorial cd angular-tutorial
Add checkout step and fix description
Add checkout step and fix description
Markdown
mit
eugene-karanda/angular-tutorial,eugene-karanda/angular-tutorial
markdown
## Code Before: AngularJS tutorial implementation from https://docs.angularjs.org/tutorial. ## Instruction: Add checkout step and fix description ## Code After: AngularJS tutorial implementation for https://docs.angularjs.org/tutorial. ## Checkout git clone https://github.com/eugene-karanda/angular-tutorial ...
ee6b8f0ad7a7b898a261c183cf28ca999d6d9bb2
app/scripts/controllers/main.js
app/scripts/controllers/main.js
'use strict'; angular.module('repicbro.controllers', ['repicbro.services']) .controller('MainCtrl', function ($scope, $http, Posts) { $scope.posts = []; $scope.current = null; $scope.nsfw = false; Posts.get('funny', function (data) { angular.forEach(data.data.children, function (p) { $...
'use strict'; angular.module('repicbro.controllers', ['repicbro.services']) .controller('MainCtrl', function ($scope, $http, Posts) { $scope.posts = []; $scope.current = null; $scope.nsfw = false; $scope.index = 0; Posts.get('funny', function (data) { angular.forEach(data.data.children, fu...
Copy over some functionality from old
Copy over some functionality from old
JavaScript
mit
stinaq/repicbro.com,stinaq/repicbro.com
javascript
## Code Before: 'use strict'; angular.module('repicbro.controllers', ['repicbro.services']) .controller('MainCtrl', function ($scope, $http, Posts) { $scope.posts = []; $scope.current = null; $scope.nsfw = false; Posts.get('funny', function (data) { angular.forEach(data.data.children, function...
d03e4446e75b7d494c711b9f17279d789148d5ec
composer.json
composer.json
{ "name": "franzliedke/studio", "description": "Develop your Composer libraries with style", "type": "composer-plugin", "autoload": { "psr-4": { "Studio\\": "src" } }, "require": { "composer-plugin-api": "1.0.0", "league/flysystem": "~1.0", "il...
{ "name": "franzliedke/studio", "description": "Develop your Composer libraries with style", "type": "composer-plugin", "autoload": { "psr-4": { "Studio\\": "src" } }, "require": { "composer-plugin-api": "1.0.0", "league/flysystem": "~1.0", "il...
Add branch alias (master -> 1.0).
Add branch alias (master -> 1.0).
JSON
mit
maherelgamil/studio,franzliedke/studio,crynobone/studio,SanderSander/studio,viniciusferreira/studio,ravikumar8/studio
json
## Code Before: { "name": "franzliedke/studio", "description": "Develop your Composer libraries with style", "type": "composer-plugin", "autoload": { "psr-4": { "Studio\\": "src" } }, "require": { "composer-plugin-api": "1.0.0", "league/flysystem": "~1...
5507ee1a69ecece3f72f76b7bc3d434344df9ee4
composer.json
composer.json
{ "name": "chstudio/wordpress-project", "description": "A sample initialization project for WordPress website", "license": "Apache-2.0", "authors": [ { "name": "Stephane HULARD", "email": "s.hulard@chstudio.fr" } ], "require": {} }
{ "name": "chstudio/wordpress-project", "description": "A sample initialization project for WordPress website", "license": "Apache-2.0", "authors": [ { "name": "Stephane HULARD", "email": "s.hulard@chstudio.fr" } ], "config": { "bin-dir": "bin" }, "require": {}, "require-dev": { "phing/phing": "2...
Add wp-cli + Phing to dev dependencies
Add wp-cli + Phing to dev dependencies Also define the bin dir to bin, I prefer have it at project root Signed-off-by: Stéphane HULARD <a24f38cb8c57ec2778c80a9f0c151933508927e5@chstudio.fr>
JSON
apache-2.0
CHStudio/wordpress-project
json
## Code Before: { "name": "chstudio/wordpress-project", "description": "A sample initialization project for WordPress website", "license": "Apache-2.0", "authors": [ { "name": "Stephane HULARD", "email": "s.hulard@chstudio.fr" } ], "require": {} } ## Instruction: Add wp-cli + Phing to dev dependencies ...
6f5d8a3f2fe57390435a496127cbd9d2ae15b656
.travis.yml
.travis.yml
language: java jdk: - oraclejdk8 env: - secure: "PnbLPd2lg3eLqpBzZOT1LZYeszPIm0wcCd6pVb/tp/E1wI9vD544CCtmMo1pfE+gnybqb4mNzC+1VUFhUOTdUtqiuPO+4lebg+x/Bc8aPc8J/B7Gx5+qK/HCJrKzj9NjtArAGeXh65z4Miyg1p+OuXD9Zi/MvBi6ExGCz6c9cFA=" install: - sudo sh -c "wget -qO- https://get.docker.io/gpg | apt-key add -" - sudo sh -...
language: java jdk: - oraclejdk8 env: - secure: "PnbLPd2lg3eLqpBzZOT1LZYeszPIm0wcCd6pVb/tp/E1wI9vD544CCtmMo1pfE+gnybqb4mNzC+1VUFhUOTdUtqiuPO+4lebg+x/Bc8aPc8J/B7Gx5+qK/HCJrKzj9NjtArAGeXh65z4Miyg1p+OuXD9Zi/MvBi6ExGCz6c9cFA=" install: - sudo sh -c "wget -qO- https://get.docker.io/gpg | apt-key add -" - sudo sh -...
Add specificatin of application version to download
Add specificatin of application version to download
YAML
apache-2.0
webdizz/bootiful-apps
yaml
## Code Before: language: java jdk: - oraclejdk8 env: - secure: "PnbLPd2lg3eLqpBzZOT1LZYeszPIm0wcCd6pVb/tp/E1wI9vD544CCtmMo1pfE+gnybqb4mNzC+1VUFhUOTdUtqiuPO+4lebg+x/Bc8aPc8J/B7Gx5+qK/HCJrKzj9NjtArAGeXh65z4Miyg1p+OuXD9Zi/MvBi6ExGCz6c9cFA=" install: - sudo sh -c "wget -qO- https://get.docker.io/gpg | apt-key add ...
152821d211418870dc90f98077a43e8c51e3f426
lib/remove.js
lib/remove.js
"use strict"; const fs = require("./utils/fs"); const validate = require("./utils/validate"); const validateInput = (methodName, path) => { const methodSignature = `${methodName}([path])`; validate.argument(methodSignature, "path", path, ["string", "undefined"]); }; // -------------------------------------------...
"use strict"; const fs = require("./utils/fs"); const validate = require("./utils/validate"); const validateInput = (methodName, path) => { const methodSignature = `${methodName}([path])`; validate.argument(methodSignature, "path", path, ["string", "undefined"]); }; // -------------------------------------------...
Use same maxRetries as rimraf did
Use same maxRetries as rimraf did
JavaScript
mit
szwacz/fs-jetpack,szwacz/fs-jetpack
javascript
## Code Before: "use strict"; const fs = require("./utils/fs"); const validate = require("./utils/validate"); const validateInput = (methodName, path) => { const methodSignature = `${methodName}([path])`; validate.argument(methodSignature, "path", path, ["string", "undefined"]); }; // ---------------------------...
6fc55961fb43e3c5fda5b5e773a276e10047ab11
lib.app.prod/deps.edn
lib.app.prod/deps.edn
{:paths ["src"] :deps {juxt.edge/edge.system {:local/root "../edge.system"} integrant/integrant {:mvn/version "0.7.0"}}}
{:paths ["src"] :deps {juxt.edge/edge.system {:local/root "../edge.system"} juxt.edge/lib.socket-server {:local/root "../lib.socket-server"} integrant/integrant {:mvn/version "0.7.0"}}}
Add socket server dependency to lib.app.prod
Add socket server dependency to lib.app.prod
edn
mit
juxt/edge,juxt/edge
edn
## Code Before: {:paths ["src"] :deps {juxt.edge/edge.system {:local/root "../edge.system"} integrant/integrant {:mvn/version "0.7.0"}}} ## Instruction: Add socket server dependency to lib.app.prod ## Code After: {:paths ["src"] :deps {juxt.edge/edge.system {:local/root "../edge.system"} juxt.edge/lib.socket-...
f2cd0403a41b9415736457d19cfb64ee0388a074
app/src/main/java/com/liuhc/tools/demo/MainActivity.java
app/src/main/java/com/liuhc/tools/demo/MainActivity.java
package com.liuhc.tools.demo; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.widget.Toast; import com.liuhc.tools.DateFormatHelper; public class MainActivity extends AppCompatActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.o...
package com.liuhc.tools.demo; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.widget.Toast; import com.liuhc.tools.DateFormatHelper; public class MainActivity extends AppCompatActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.o...
Test File Commit And Reset
Test File Commit And Reset
Java
apache-2.0
weixidream/LibraryMaster
java
## Code Before: package com.liuhc.tools.demo; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.widget.Toast; import com.liuhc.tools.DateFormatHelper; public class MainActivity extends AppCompatActivity { @Override protected void onCreate(Bundle savedInstanceState) {...
2cac5c87cd3dc6f2251af63cfc3af935813231a1
app/core/directives/unique-name.js
app/core/directives/unique-name.js
/* global angular, StellarSdk */ angular.module('app') .directive('uniqueName', function (Contacts, Wallet) { 'use strict'; const names = getNames(); function getNames() { const nameList = Wallet.accountList.map(account => account.alias); const contacts = Contacts.getNames(); return new Set([...nameList, .....
/* global angular, StellarSdk */ angular.module('app') .directive('uniqueName', function (Contacts, Wallet) { 'use strict'; function getNames() { const nameList = Wallet.accountList.map(account => account.alias); const contacts = Contacts.getNames(); return new Set([...nameList, ...contacts]); } return { ...
Update name lists on each call
Update name lists on each call
JavaScript
agpl-3.0
johansten/stargazer,johansten/stargazer,johansten/stargazer
javascript
## Code Before: /* global angular, StellarSdk */ angular.module('app') .directive('uniqueName', function (Contacts, Wallet) { 'use strict'; const names = getNames(); function getNames() { const nameList = Wallet.accountList.map(account => account.alias); const contacts = Contacts.getNames(); return new Set(...
0e7bc6b8ec81984a92af708f15d935e084a04aad
atom/common/lib/asar_init.coffee
atom/common/lib/asar_init.coffee
return (process, require, asarSource) -> {createArchive} = process.binding 'atom_common_asar' # Make asar.coffee accessible via "require". process.binding('natives').ATOM_SHELL_ASAR = asarSource # Monkey-patch the fs module. require('ATOM_SHELL_ASAR').wrapFsWithAsar require('fs') # Make graceful-fs work ...
return (process, require, asarSource) -> {createArchive} = process.binding 'atom_common_asar' # Make asar.coffee accessible via "require". process.binding('natives').ATOM_SHELL_ASAR = asarSource # Monkey-patch the fs module. require('ATOM_SHELL_ASAR').wrapFsWithAsar require('fs') # Make graceful-fs work ...
Make "original-fs" available as built-in module
Make "original-fs" available as built-in module
CoffeeScript
mit
xfstudio/electron,digideskio/electron,mattdesl/electron,natgolov/electron,Zagorakiss/electron,renaesop/electron,benweissmann/electron,gbn972/electron,gamedevsam/electron,kazupon/electron,twolfson/electron,kenmozi/electron,d-salas/electron,eric-seekas/electron,mjaniszew/electron,LadyNaggaga/electron,vHanda/electron,nico...
coffeescript
## Code Before: return (process, require, asarSource) -> {createArchive} = process.binding 'atom_common_asar' # Make asar.coffee accessible via "require". process.binding('natives').ATOM_SHELL_ASAR = asarSource # Monkey-patch the fs module. require('ATOM_SHELL_ASAR').wrapFsWithAsar require('fs') # Make g...
08d7741b1003aee3bb1c29d9e6b7dcef352b3c48
README.md
README.md
cyclon.p2p ========== A Javascript implementation of the Cyclon peer sampling protocol The Cyclon protocol is described in; Voulgaris, S.; Gavidia, D. & van Steen, M. (2005), 'CYCLON: Inexpensive Membership Management for Unstructured P2P Overlays', J. Network Syst. Manage. 13 (2) .
cyclon.p2p ========== [![Build Status](https://travis-ci.org/nicktindall/cyclon.p2p.svg?branch=master)](https://travis-ci.org/nicktindall/cyclon.p2p) A Javascript implementation of the Cyclon peer sampling protocol The Cyclon protocol is described in; Voulgaris, S.; Gavidia, D. & van Steen, M. (2005), 'CYCLON: Inex...
Add build status to the readme
Add build status to the readme
Markdown
mit
nicktindall/cyclon.p2p,nicktindall/cyclon.p2p
markdown
## Code Before: cyclon.p2p ========== A Javascript implementation of the Cyclon peer sampling protocol The Cyclon protocol is described in; Voulgaris, S.; Gavidia, D. & van Steen, M. (2005), 'CYCLON: Inexpensive Membership Management for Unstructured P2P Overlays', J. Network Syst. Manage. 13 (2) . ## Instruction: ...
dfa720b86d749dc0daffaaa13b869cb3821f70da
spec/exif_gps_injector/media_spec.rb
spec/exif_gps_injector/media_spec.rb
require 'spec_helper' describe ExifGpsInjector::Media do let(:media) do ExifGpsInjector::Media.new(File.join(File.dirname(__FILE__), '../fixtures/ruby.jpg')) end it 'return tags' do expect(media.tags).to_not eq(nil) expect(media.tags).to_not eq({}) expect(media.tags.count).to be > 0 end end
require 'spec_helper' describe ExifGpsInjector::Media do let(:media) do ExifGpsInjector::Media.new(File.join(File.dirname(__FILE__), '../fixtures/ruby.jpg')) end it 'return tags' do expect(media.tags).to_not eq(nil) expect(media.tags).to_not eq({}) expect(media.tags.count).to be > 0 expect(m...
Add spec for specific tags
Add spec for specific tags
Ruby
mit
stjhimy/exif_gps_injector
ruby
## Code Before: require 'spec_helper' describe ExifGpsInjector::Media do let(:media) do ExifGpsInjector::Media.new(File.join(File.dirname(__FILE__), '../fixtures/ruby.jpg')) end it 'return tags' do expect(media.tags).to_not eq(nil) expect(media.tags).to_not eq({}) expect(media.tags.count).to be ...
5348a651e7cbd058219f7223b6a00f9f19a71bda
index.rst
index.rst
.. _contents: ============================== Welcome to Fuel Documentation! ============================== Fuel is an open-source tool that enables you to easily and quickly provision multiple OpenStack environments, as well as manage your environments after deployment. You can install Fuel and deploy your OpenStack ...
.. _contents: ============================== Welcome to Fuel Documentation! ============================== Fuel is an open-source tool that enables you to easily and quickly provision multiple OpenStack environments, as well as manage your environments after deployment. You can install Fuel and deploy your OpenStack ...
Fix Infra docs layout: remove redundant Zabbix
Fix Infra docs layout: remove redundant Zabbix Because of (probable) copy-pasting error Zabbix server section is twice present in Index menu. Zabbix server deployment section is a part of Fuel Infrastructure docs, so it shouldn't be visible on the topt level. Closes-Bug: 1568880 Change-Id: I9966a33d150b3766fde18d248...
reStructuredText
apache-2.0
stackforge/fuel-docs,stackforge/fuel-docs
restructuredtext
## Code Before: .. _contents: ============================== Welcome to Fuel Documentation! ============================== Fuel is an open-source tool that enables you to easily and quickly provision multiple OpenStack environments, as well as manage your environments after deployment. You can install Fuel and deploy...
6c04d9100a350835886a6d9a3e8c10577fcd18f7
src/main/webapp/portal/main/partials/footer.html
src/main/webapp/portal/main/partials/footer.html
<footer class="portal-footer-legal" role="contentinfo" ng-controller="SessionCheckController as sessionCheckCtrl"> <div class="portal-power"> <div id="portalPageFooterLinks" ng-controller="PortalFooterController as portalFooterCtrl"> <div> <span>© <p style="display:inline">{{date | date:'yyyy'}}</p>, Board of...
<footer class="portal-footer-legal" role="contentinfo" ng-controller="SessionCheckController as sessionCheckCtrl"> <div class="portal-power"> <div id="portalPageFooterLinks" ng-controller="PortalFooterController as portalFooterCtrl"> <div> <span>© <p style="display:inline">{{date | date:'yyyy'}}</p>, Board of...
Hide '-' spans for serverName and/or sessionKey if not set
Hide '-' spans for serverName and/or sessionKey if not set
HTML
apache-2.0
smargovsky/uw-frame,jiayinjx/uw-frame,paulerickson/uw-frame,nblair/uw-frame,nblair/uw-frame,jiayinjx/uw-frame,thevoiceofzeke/uw-frame,nblair/uw-frame,apetro/uw-frame,paulerickson/uw-frame,thevoiceofzeke/uw-frame,UW-Madison-DoIT/uw-frame,uPortal-Project/uportal-app-framework,uPortal-Project/uportal-app-framework,UW-Madi...
html
## Code Before: <footer class="portal-footer-legal" role="contentinfo" ng-controller="SessionCheckController as sessionCheckCtrl"> <div class="portal-power"> <div id="portalPageFooterLinks" ng-controller="PortalFooterController as portalFooterCtrl"> <div> <span>© <p style="display:inline">{{date | date:'yyyy'...
611a460840f317c7ecc545e0761f35ed257ce8ac
src/view/view_store.coffee
src/view/view_store.coffee
class Batman.ViewStore extends Batman.Object @prefix: 'views' constructor: -> super @_viewContents = {} @_requestedPaths = new Batman.SimpleSet propertyClass: Batman.Property fetchView: (path) -> Batman.developer.do -> unless typeof Batman.View::prefix is 'undefined' Batman.deve...
class Batman.ViewStore extends Batman.Object @prefix: 'views' constructor: -> super @_viewContents = {} @_requestedPaths = new Batman.SimpleSet propertyClass: Batman.Property fetchView: (path) -> new Batman.Request url: Batman.Navigator.normalizePath(@constructor.prefix, "#{path}.html")...
Remove deprecation warning about Batman.View.prototype.prefix.
Remove deprecation warning about Batman.View.prototype.prefix.
CoffeeScript
mit
getshuvo/batman,getshuvo/batman
coffeescript
## Code Before: class Batman.ViewStore extends Batman.Object @prefix: 'views' constructor: -> super @_viewContents = {} @_requestedPaths = new Batman.SimpleSet propertyClass: Batman.Property fetchView: (path) -> Batman.developer.do -> unless typeof Batman.View::prefix is 'undefined' ...
2b1aac94651d7c0921ca256adc32b6cab19290bc
src/adhocracy_frontend/adhocracy_frontend/static/root.html
src/adhocracy_frontend/adhocracy_frontend/static/root.html
<!doctype html> <html> <head> <title>adhocracy root page</title> <meta charset="utf-8"> <link rel="stylesheet" href="/static/stylesheets/a3.css" /> <link rel="stylesheet" href="/static/stylesheets/adhocracy3-icons.css" /> </head> <body> <div data-ng-view=""></div> ...
<!doctype html> <html> <head> <title>adhocracy root page</title> <meta charset="utf-8"> <link rel="stylesheet" href="/static/stylesheets/a3.css" /> <link rel="stylesheet" href="/static/stylesheets/adhocracy3-icons.css" /> <base href="/"> </head> <body> <div da...
Set base URL to /
Set base URL to / This is required for $location to work in Angular 1.3. See https://docs.angularjs.org/error/$location/nobase
HTML
agpl-3.0
fhartwig/adhocracy3.mercator,fhartwig/adhocracy3.mercator,xs2maverick/adhocracy3.mercator,liqd/adhocracy3.mercator,liqd/adhocracy3.mercator,xs2maverick/adhocracy3.mercator,xs2maverick/adhocracy3.mercator,liqd/adhocracy3.mercator,fhartwig/adhocracy3.mercator,liqd/adhocracy3.mercator,fhartwig/adhocracy3.mercator,xs2maver...
html
## Code Before: <!doctype html> <html> <head> <title>adhocracy root page</title> <meta charset="utf-8"> <link rel="stylesheet" href="/static/stylesheets/a3.css" /> <link rel="stylesheet" href="/static/stylesheets/adhocracy3-icons.css" /> </head> <body> <div data-ng-vi...
476f75eed6673cf78a42d9f85b414268f39a279f
lib/passenger/admin_tools.rb
lib/passenger/admin_tools.rb
module Passenger module AdminTools def self.tmpdir if ENV["TMPDIR"] && !ENV["TMPDIR"].empty? return ENV["TMPDIR"] else return "/tmp" end end def self.process_is_alive?(pid) begin Process.kill(0, pid) return true rescue Errno::ESRCH return false rescue SystemCallError => e return true...
module Passenger module AdminTools def self.tmpdir ["PASSENGER_TMPDIR", "TMPDIR"].each do |name| if ENV.has_key?(name) && !ENV[name].empty? return ENV[name] end end return "/tmp" end def self.process_is_alive?(pid) begin Process.kill(0, pid) return true rescue Errno::ESRCH return fals...
Make passenger-status and other admin tools respect the PASSENGER_TMPDIR variable. This has a higher priority than TMPDIR.
Make passenger-status and other admin tools respect the PASSENGER_TMPDIR variable. This has a higher priority than TMPDIR.
Ruby
mit
erikogan/passenger,jawj/passenger,phusion/passenger,cgvarela/passenger,clemensg/passenger,pkmiec/passenger,kewaunited/passenger,openSUSE/passenger,openSUSE/passenger,clemensg/passenger,bf4/passenger,jawj/passenger,clemensg/passenger,pkmiec/passenger,openSUSE/passenger,erikogan/passenger,kewaunited/passenger,antek-drzew...
ruby
## Code Before: module Passenger module AdminTools def self.tmpdir if ENV["TMPDIR"] && !ENV["TMPDIR"].empty? return ENV["TMPDIR"] else return "/tmp" end end def self.process_is_alive?(pid) begin Process.kill(0, pid) return true rescue Errno::ESRCH return false rescue SystemCallError => ...
73c68a95e7e611f057b7b1888c2eddd9940625f6
.travis.yml
.travis.yml
language: java install: true script: ./gradlew check test integrationTest cobertura -x :browser-javafx-groovy:jfxJar -x :browser-javafx-groovy:jfxDeploy -x :sample-javafx-groovy:jfxJar -x :sample-javafx-groovy:jfxDeploy -x :sample-javafx-java:jfxJar -x :sample-javafx-java:jfxDeploy jdk: oraclejdk8 env: matrix: - TE...
language: java install: true script: ./gradlew check test integrationTest cobertura -x :browser-javafx-groovy:jfxJar -x :browser-javafx-groovy:jfxDeploy -x :sample-javafx-groovy:jfxJar -x :sample-javafx-groovy:jfxDeploy -x :sample-javafx-java:jfxJar -x :sample-javafx-java:jfxDeploy jdk: oraclejdk8 env: matrix: - TE...
Configure Travis to install latest jdk8
Configure Travis to install latest jdk8
YAML
apache-2.0
tschulte/griffon,griffon/griffon,levymoreira/griffon,levymoreira/griffon,levymoreira/griffon,griffon/griffon,tschulte/griffon,tschulte/griffon
yaml
## Code Before: language: java install: true script: ./gradlew check test integrationTest cobertura -x :browser-javafx-groovy:jfxJar -x :browser-javafx-groovy:jfxDeploy -x :sample-javafx-groovy:jfxJar -x :sample-javafx-groovy:jfxDeploy -x :sample-javafx-java:jfxJar -x :sample-javafx-java:jfxDeploy jdk: oraclejdk8 env: ...
e5be227117bbb079d08a51230a30d5e9b8178020
.travis.yml
.travis.yml
language: node_js node_js: - "8" notifications: email: - antti.kivimaki@futurice.com
language: node_js node_js: - "8" after_success: - echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin - export REPO=$DOCKER_USERNAME/piikki-client-tg - export TAG=`if [ "$TRAVIS_BRANCH" == "master" ]; then echo "latest"; else echo $TRAVIS_BRANCH ; fi` - docker build -t $REPO:$TAG . - docker...
Build Docker image on Travis CI
Build Docker image on Travis CI
YAML
mit
majori/piikki-client-tg
yaml
## Code Before: language: node_js node_js: - "8" notifications: email: - antti.kivimaki@futurice.com ## Instruction: Build Docker image on Travis CI ## Code After: language: node_js node_js: - "8" after_success: - echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin - export REPO=$...
d4d3b2e0573faa726a013927def964844a018a77
.travis.yml
.travis.yml
language: ruby rvm: - 1.9.2 - 1.9.3 #- jruby-19mode # JRuby in 1.9 mode - rbx-19mode notifications: email: recipients: - beakr@ninjanizr.com - doctorbh@ninjanizr.com on_success: always on_failure: always
language: ruby rvm: - 1.9.2 - 1.9.3 #- jruby-19mode # JRuby in 1.9 mode - rbx-19mode notifications: email: recipients: - beakr@ninjanizr.com - doctorbh@ninjanizr.com - main@seven7.flowdock.com on_success: always on_failure: always
Add Flowdock email to Travis notifications
Add Flowdock email to Travis notifications
YAML
mit
sevenview/votd
yaml
## Code Before: language: ruby rvm: - 1.9.2 - 1.9.3 #- jruby-19mode # JRuby in 1.9 mode - rbx-19mode notifications: email: recipients: - beakr@ninjanizr.com - doctorbh@ninjanizr.com on_success: always on_failure: always ## Instruction: Add Flowdock email to Travis notifications ## Co...
4cd94dd683ab98ecc12776844d949852fbbe9280
.ci-dockerfiles/stdlib-builder/Dockerfile
.ci-dockerfiles/stdlib-builder/Dockerfile
ARG FROM_TAG=release-alpine FROM ponylang/ponyc:${FROM_TAG} RUN apk update \ && apk upgrade \ && apk add --update --no-cache \ bash \ git-fast-import \ libffi \ libffi-dev \ libressl \ libressl-dev \ python3 \ python3-dev \ py3-pip \ && pip3 install --upgrade pip \ && pip3 install wheel \ &...
ARG FROM_TAG=release-alpine FROM ponylang/ponyc:${FROM_TAG} RUN apk update \ && apk upgrade \ && apk add --update --no-cache \ bash \ git-fast-import \ libffi \ libffi-dev \ libressl \ libressl-dev \ python3 \ python3-dev \ py3-pip \ && pip3 install --upgrade pip \ && pip3 install mkdocs \ ...
Remove no longer needed stdlib builder python dependencies
Remove no longer needed stdlib builder python dependencies
unknown
bsd-2-clause
dipinhora/ponyc,sgebbie/ponyc,sgebbie/ponyc,jemc/ponyc,sgebbie/ponyc,dipinhora/ponyc,sgebbie/ponyc,jemc/ponyc,jemc/ponyc,ponylang/ponyc,ponylang/ponyc,sgebbie/ponyc,ponylang/ponyc,dipinhora/ponyc
unknown
## Code Before: ARG FROM_TAG=release-alpine FROM ponylang/ponyc:${FROM_TAG} RUN apk update \ && apk upgrade \ && apk add --update --no-cache \ bash \ git-fast-import \ libffi \ libffi-dev \ libressl \ libressl-dev \ python3 \ python3-dev \ py3-pip \ && pip3 install --upgrade pip \ && pip3 ins...
8c1c1290b739eea57d56e1ebfffc5c037f67c1fe
lib/dm-timestamps.rb
lib/dm-timestamps.rb
require 'rubygems' require 'data_mapper' module DataMapper module Timestamp def self.included(base) base.class_eval do include InstanceMethods #before :save, :update_magic_properties end end MAGIC_PROPERTIES = { :updated_at => lambda { |i| i.updated_at = Time::now }, ...
require 'rubygems' require 'data_mapper' module DataMapper module Timestamp def self.included(base) base.class_eval do include InstanceMethods #before :save, :update_magic_properties end end MAGIC_PROPERTIES = { :updated_at => lambda { |i| i.updated_at = Time::now }, ...
Change slice to find_all in update_magic_properties
Change slice to find_all in update_magic_properties
Ruby
mit
datamapper/dm-timestamps
ruby
## Code Before: require 'rubygems' require 'data_mapper' module DataMapper module Timestamp def self.included(base) base.class_eval do include InstanceMethods #before :save, :update_magic_properties end end MAGIC_PROPERTIES = { :updated_at => lambda { |i| i.updated_at =...
42430137e581c1e5b1eef3b621699b6ad61ed8d6
data/transition-sites/bis_greatbusiness.yml
data/transition-sites/bis_greatbusiness.yml
--- site: bis_greatbusiness whitehall_slug: department-for-business-energy-and-industrial-strategy homepage: https://www.gov.uk/government/organisations/department-for-business-energy-and-industrial-strategy tna_timestamp: 20160105122945 host: www.greatbusiness.gov.uk homepage_furl: www.gov.uk/beis aliases: - greatbusi...
--- site: bis_greatbusiness whitehall_slug: department-for-business-energy-and-industrial-strategy homepage: https://www.gov.uk/browse/business tna_timestamp: 20160105122945 host: www.greatbusiness.gov.uk homepage_furl: www.gov.uk/beis aliases: - greatbusiness.gov.uk
Update the homepage for www.greatbusiness.gov.uk
Update the homepage for www.greatbusiness.gov.uk Zendesk ticket: https://govuk.zendesk.com/agent/tickets/4134888
YAML
mit
alphagov/transition-config,alphagov/transition-config
yaml
## Code Before: --- site: bis_greatbusiness whitehall_slug: department-for-business-energy-and-industrial-strategy homepage: https://www.gov.uk/government/organisations/department-for-business-energy-and-industrial-strategy tna_timestamp: 20160105122945 host: www.greatbusiness.gov.uk homepage_furl: www.gov.uk/beis alia...
a5a00371cbd95d6656654c8c499f5b5e6cd6b135
spec/acceptance/private_images_spec.rb
spec/acceptance/private_images_spec.rb
require 'spec_helper' describe 'uploaded images are private by default', :type => :feature do before(:each) do include UploadHelper @user = create(:user) login_as(@user, :scope => :user) Image.count.should eq 0 3.times { |i| upload_test_file } logout(:user) Image.count.should eq 3 ...
require 'spec_helper' describe 'private images', :type => :feature do before(:each) do include UploadHelper @user = create(:user) login_as(@user, :scope => :user) Image.count.should eq 0 3.times { |i| upload_test_file } logout(:user) Image.count.should eq 3 end context 'when logge...
Test behaviour of private images when logged in
Test behaviour of private images when logged in
Ruby
mit
Margatroid/uploadstuffto.me,Margatroid/uploadstuffto.me
ruby
## Code Before: require 'spec_helper' describe 'uploaded images are private by default', :type => :feature do before(:each) do include UploadHelper @user = create(:user) login_as(@user, :scope => :user) Image.count.should eq 0 3.times { |i| upload_test_file } logout(:user) Image.count....
b7ae432eef1f4137127cdb7fd3b7892035322dfa
spec/helpers/orchestration_stack_helper/textual_summary_spec.rb
spec/helpers/orchestration_stack_helper/textual_summary_spec.rb
require "spec_helper" describe OrchestrationStackHelper::TextualSummary do before { @record = FactoryGirl.build(:orchestration_stack) } it "#textual_group_lifecycle should includes retirement_date" do expect(self.textual_group_lifecycle).to include(:retirement_date) end describe "#textual_retirement_date...
require "spec_helper" describe OrchestrationStackHelper::TextualSummary do before { @record = FactoryGirl.build(:orchestration_stack) } it "#textual_group_lifecycle should includes retirement_date" do expect(textual_group_lifecycle).to include(:retirement_date) end describe "#textual_retirement_date" do ...
Remove extra references to self
Remove extra references to self
Ruby
apache-2.0
andyvesel/manageiq,djberg96/manageiq,agrare/manageiq,kbrock/manageiq,juliancheal/manageiq,ailisp/manageiq,pkomanek/manageiq,romanblanco/manageiq,agrare/manageiq,d-m-u/manageiq,ilackarms/manageiq,NickLaMuro/manageiq,romaintb/manageiq,lpichler/manageiq,kbrock/manageiq,josejulio/manageiq,jrafanie/manageiq,syncrou/manageiq...
ruby
## Code Before: require "spec_helper" describe OrchestrationStackHelper::TextualSummary do before { @record = FactoryGirl.build(:orchestration_stack) } it "#textual_group_lifecycle should includes retirement_date" do expect(self.textual_group_lifecycle).to include(:retirement_date) end describe "#textual...
f8b410e287d4a63a2192947712eb7ae268d97dca
src/global-style.js
src/global-style.js
import { createGlobalStyle } from 'styled-components'; export const GlobalStyle = createGlobalStyle` * { box-sizing: border-box; } html, body { margin: 0; padding: 0; color: #1c1c1c; background-color: #ffffff; font-size: 16px; font-family: 'proxima-nova', helvetica, arial, clean, san...
import { createGlobalStyle } from 'styled-components'; export const GlobalStyle = createGlobalStyle` * { box-sizing: border-box; } .wf-loading { visibility: hidden; } html, body { margin: 0; padding: 0; color: #1c1c1c; background-color: #ffffff; font-size: 16px; font-family:...
Hide content while webfont loading
Hide content while webfont loading
JavaScript
mit
mnbbrown/mnbbrown.github.io,mnbbrown/mnbbrown.github.io
javascript
## Code Before: import { createGlobalStyle } from 'styled-components'; export const GlobalStyle = createGlobalStyle` * { box-sizing: border-box; } html, body { margin: 0; padding: 0; color: #1c1c1c; background-color: #ffffff; font-size: 16px; font-family: 'proxima-nova', helvetica, a...
fe6f7622e7cda353f7c72d0b655ebe1c5244468d
README.md
README.md
The Jolt repo is managed as a monorepo that is composed of many npm packages. ### Core Packages | Package | Description | |---------|-------------| | [`jolt-core`](/packages/jolt-core) | Core library that powers Jolt. | ### Other Packages | Package | Description | |---------|-------------| | [`jolt-cli`](/packages...
The Jolt repo is managed as a monorepo that is composed of many npm packages. ### Core Packages Package | Description --------|------------ [`jolt-core`](/packages/jolt-core) | Core library that powers Jolt. ### Other Packages Package | Description --------|------------ [`jolt-cli`](/packages/jolt-cli) | Global CL...
Update table formatting and add the 'default configs' section
Update table formatting and add the 'default configs' section
Markdown
mit
negativetwelve/jolt
markdown
## Code Before: The Jolt repo is managed as a monorepo that is composed of many npm packages. ### Core Packages | Package | Description | |---------|-------------| | [`jolt-core`](/packages/jolt-core) | Core library that powers Jolt. | ### Other Packages | Package | Description | |---------|-------------| | [`jolt...
14508bcdc09a7b035544741de9876cdb878ad177
documentation/assertions/Error/to-have-message.md
documentation/assertions/Error/to-have-message.md
Asserts that an Error instance has a given message: ```javascript expect(new Error('foobar'), 'to have message', 'foobar'); ``` In case of a failing expectation you get the following output: ```javascript expect(new Error('foobar'), 'to have message', 'barfoo'); ``` ```output expected Error('foobar') to have messag...
Asserts that an Error instance has a given message: By default the assertion tests on the text representation of the error, but you can change that behaviour by providing the `ansi` or `html` flag. ```javascript expect(new Error('foobar'), 'to have message', 'foobar'); ``` In case of a failing expectation you get th...
Document output formats for to have message
Document output formats for to have message
Markdown
mit
alexjeffburke/unexpected,bruderstein/unexpected,bruderstein/unexpected,alexjeffburke/unexpected,unexpectedjs/unexpected
markdown
## Code Before: Asserts that an Error instance has a given message: ```javascript expect(new Error('foobar'), 'to have message', 'foobar'); ``` In case of a failing expectation you get the following output: ```javascript expect(new Error('foobar'), 'to have message', 'barfoo'); ``` ```output expected Error('foobar'...
c032dddc64166e9f19cf6a4f8252aec9a0c7a257
include/riak_moss.hrl
include/riak_moss.hrl
-record(moss_user, { name :: string(), key_id :: string(), key_secret :: string(), buckets = []}). -record(moss_bucket, { name :: binary(), creation_date :: term()}). -record(context, {auth_bypass :: atom(), user :: #moss_user{}}). -recor...
-record(moss_user, { name :: string(), key_id :: string(), key_secret :: string(), buckets = []}). -record(moss_bucket, { name :: binary(), creation_date :: term()}). -record(context, {auth_bypass :: atom(), user :: #moss_user{}}). -recor...
Add large file manifest record
Add large file manifest record AZ944
Erlang
apache-2.0
basho/riak_cs,laurenrother/riak_cs,dragonfax/riak_cs,dragonfax/riak_cs,yangchengjian/riak_cs,sdebnath/riak_cs,sdebnath/riak_cs,yangchengjian/riak_cs,sdebnath/riak_cs,sdebnath/riak_cs,laurenrother/riak_cs,GabrielNicolasAvellaneda/riak_cs,GabrielNicolasAvellaneda/riak_cs,GabrielNicolasAvellaneda/riak_cs,basho/riak_cs,Gab...
erlang
## Code Before: -record(moss_user, { name :: string(), key_id :: string(), key_secret :: string(), buckets = []}). -record(moss_bucket, { name :: binary(), creation_date :: term()}). -record(context, {auth_bypass :: atom(), user :: #moss_u...
383b4b85fe6999b4d71a140c74f55c1b9380516e
.circleci/config.yml
.circleci/config.yml
version: 2 jobs: build: docker: - image: ruby:2.5.1 steps: - checkout - run: name: Install and Update Packages command: | export DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true apt-get update && apt-get dist-upgrade -y a...
version: 2 jobs: build: docker: - image: ruby:2.6.0-preview2-stretch steps: - checkout - run: name: Install and Update Packages command: | export DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true apt-get update && apt-get dist-upgrade...
Update ruby Docker tag to v2.6.0-preview2-stretch
Update ruby Docker tag to v2.6.0-preview2-stretch
YAML
mit
tigefa/tigefa,tigefa/tigefa,tigefa/tigefa
yaml
## Code Before: version: 2 jobs: build: docker: - image: ruby:2.5.1 steps: - checkout - run: name: Install and Update Packages command: | export DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true apt-get update && apt-get dist-upgrade ...
04f01738f88455e59b6cff8e3f901e477e6008c9
javascript-jest/package.json
javascript-jest/package.json
{ "scripts": { "test": "jest" }, "devDependencies": { "jest": "^26.4.2", "jest-each": "^26.4.2" } }
{ "name": "tennis-kata", "version": "1.0.0", "scripts": { "test": "jest" }, "devDependencies": { "@types/jest": "^26.0.0", "@types/node": "^10.0.0", "jest": "^26.4.2", "jest-each": "^26.4.2" } }
Add name and version to project.
Add name and version to project.
JSON
mit
emilybache/Tennis-Refactoring-Kata,emilybache/Tennis-Refactoring-Kata,emilybache/Tennis-Refactoring-Kata,emilybache/Tennis-Refactoring-Kata,emilybache/Tennis-Refactoring-Kata,emilybache/Tennis-Refactoring-Kata,emilybache/Tennis-Refactoring-Kata,emilybache/Tennis-Refactoring-Kata,emilybache/Tennis-Refactoring-Kata,emily...
json
## Code Before: { "scripts": { "test": "jest" }, "devDependencies": { "jest": "^26.4.2", "jest-each": "^26.4.2" } } ## Instruction: Add name and version to project. ## Code After: { "name": "tennis-kata", "version": "1.0.0", "scripts": { "test": "jest" }, "devDependencies": { "@t...
5d59ae8b28b6b2b38b9a3ce05b3b7ee712af7db9
js/utils/color-utils.js
js/utils/color-utils.js
'use strict'; module.exports = { hexToRGB: function( hex ) { var result = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec( hex ); if ( result ) { return { r: parseInt( result[1], 16 ), g: parseInt( result[2], 16 ), b: parseInt( result[3], 16 ) }; } else { return null; } }, hexToTransp...
'use strict'; module.exports = { hexToRGB: function( hex ) { var result = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec( hex ); if ( result ) { return { r: parseInt( result[1], 16 ), g: parseInt( result[2], 16 ), b: parseInt( result[3], 16 ) }; } else { return null; } }, hexToTransp...
Convert double quotes to single quotes to appease jshint
Convert double quotes to single quotes to appease jshint
JavaScript
mit
mattm/abtestcalculator,mattm/abtestcalculator
javascript
## Code Before: 'use strict'; module.exports = { hexToRGB: function( hex ) { var result = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec( hex ); if ( result ) { return { r: parseInt( result[1], 16 ), g: parseInt( result[2], 16 ), b: parseInt( result[3], 16 ) }; } else { return null; } ...
97f139fe1b4a74d09312abd10c887bc5f135c4cb
README.md
README.md
[![Build Status](https://secure.travis-ci.org/plataformatec/devise-encryptable.png)](https://travis-ci.org/plataformatec/devise-encryptable) Use alternative (and even your own!) encryptors with Devise. ## Usage Add it to your Gemfile ```ruby gem "devise-encryptable" ``` Add the `encryptable` module to your model:...
[![Build Status](https://api.travis-ci.org/plataformatec/devise-encryptable.png)](https://travis-ci.org/plataformatec/devise-encryptable) Use alternative (and even your own!) encryptors with Devise. ## Usage Add it to your Gemfile ```ruby gem "devise-encryptable" ``` Add the `encryptable` module to your model: `...
Update travis badge and copyright year
Update travis badge and copyright year [ci skip]
Markdown
apache-2.0
plataformatec/devise-encryptable
markdown
## Code Before: [![Build Status](https://secure.travis-ci.org/plataformatec/devise-encryptable.png)](https://travis-ci.org/plataformatec/devise-encryptable) Use alternative (and even your own!) encryptors with Devise. ## Usage Add it to your Gemfile ```ruby gem "devise-encryptable" ``` Add the `encryptable` modul...
d2f9852a7d510fdff1c2ecf7911d600fc25af7f2
spec/spec_helper.rb
spec/spec_helper.rb
$LOAD_PATH.unshift File.expand_path('../../lib', __FILE__) require 'incsv' PRODUCTS = Pathname(__dir__) + "data" + "products.csv"
$LOAD_PATH.unshift File.expand_path('../../lib', __FILE__) require 'incsv' PRODUCTS = Pathname(__dir__) + "data" + "products.csv" db_file = PRODUCTS.to_s.sub(/\.csv$/, ".db") if File.exist?(db_file) File.unlink(db_file) end
Remove database file before running specs
Remove database file before running specs
Ruby
mit
robmiller/incsv,robmiller/incsv
ruby
## Code Before: $LOAD_PATH.unshift File.expand_path('../../lib', __FILE__) require 'incsv' PRODUCTS = Pathname(__dir__) + "data" + "products.csv" ## Instruction: Remove database file before running specs ## Code After: $LOAD_PATH.unshift File.expand_path('../../lib', __FILE__) require 'incsv' PRODUCTS = Pathname(_...
68ae9e06c038e55f787ca3cda8652945fe55b22a
.travis.yml
.travis.yml
language: node_js node_js: 0.10.x notifications: email: false services: PostgreSQL env: DATABASE_URL: postgres://postgres:@127.0.0.1/nopejs_test before_script: - npm ls - psql -c 'create database nopejs_test;' -U postgres deploy: provider: heroku api_key: secure: Zs4H1X5yvsZ4RDS1Y7x58YZbuSwdp16WdoOgVjAHXkM8...
language: node_js node_js: 0.10.x notifications: email: false services: PostgreSQL env: DATABASE_URL: postgres://postgres:@127.0.0.1/nopejs_test before_script: - npm ls - psql -c 'create database nopejs_test;' -U postgres - psql -f databases/users.sql -U postgres deploy: provider: heroku api_key: secure: Zs...
Test failed! Let's see if we can create a table
Test failed! Let's see if we can create a table
YAML
mit
shakeelmohamed/egress-bootstrap
yaml
## Code Before: language: node_js node_js: 0.10.x notifications: email: false services: PostgreSQL env: DATABASE_URL: postgres://postgres:@127.0.0.1/nopejs_test before_script: - npm ls - psql -c 'create database nopejs_test;' -U postgres deploy: provider: heroku api_key: secure: Zs4H1X5yvsZ4RDS1Y7x58YZbuSwd...
0f999d014b635b5f4624750e08f28f2662e825a6
src/brackets.js
src/brackets.js
/* * Copyright 2011 Adobe Systems Incorporated. All Rights Reserved. */ // Define core brackets namespace brackets = window.brackets || {}; brackets.inBrowser = !brackets.hasOwnProperty("file"); $(document).ready(function() { var myCodeMirror = CodeMirror($('#editor').get(0), { value: 'var myResponse...
/* * Copyright 2011 Adobe Systems Incorporated. All Rights Reserved. */ // Define core brackets namespace brackets = window.brackets || {}; brackets.inBrowser = !brackets.hasOwnProperty("file"); $(document).ready(function() { var myCodeMirror = CodeMirror($('#editor').get(0), { value: 'var myResponse...
Set up Brackets so it loads its own src code by default (if outside of appshell, it still uses hardcoded dummy data instead).
Set up Brackets so it loads its own src code by default (if outside of appshell, it still uses hardcoded dummy data instead).
JavaScript
mit
alexkid64/brackets,jiimaho/brackets,eric-stanley/brackets,robertkarlsson/brackets,fronzec/brackets,dangkhue27/brackets,NickersF/brackets,zhukaixy/brackets,Rajat-dhyani/brackets,Andrey-Pavlov/brackets,amrelnaggar/brackets,lovewitty/brackets,SebastianBoyd/sebastianboyd.github.io-OLD,sedge/nimble,chambej/brackets,andrewnc...
javascript
## Code Before: /* * Copyright 2011 Adobe Systems Incorporated. All Rights Reserved. */ // Define core brackets namespace brackets = window.brackets || {}; brackets.inBrowser = !brackets.hasOwnProperty("file"); $(document).ready(function() { var myCodeMirror = CodeMirror($('#editor').get(0), { value:...
23c1168ff2d3b813f85f18ba27ca73732050e460
t/release-pod-spell.t
t/release-pod-spell.t
BEGIN { unless ($ENV{RELEASE_TESTING}) { require Test::More; Test::More::plan(skip_all => 'these tests are for release candidate testing'); } } use Test::More; eval "use Pod::Wordlist::hanekomu"; plan skip_all => "Pod::Wordlist::hanekomu required for testing POD spelling" if $@; eval "use Test::Spell...
BEGIN { unless ($ENV{RELEASE_TESTING}) { require Test::More; Test::More::plan(skip_all => 'these tests are for release candidate testing'); } } use Test::More; eval "use Pod::Wordlist::hanekomu"; plan skip_all => "Pod::Wordlist::hanekomu required for testing POD spelling" if $@; eval "use Test::Spell...
Build results of 2e9d168 (on master)
Build results of 2e9d168 (on master)
Perl
artistic-2.0
xenoterracide/Template-Plugin-Haml
perl
## Code Before: BEGIN { unless ($ENV{RELEASE_TESTING}) { require Test::More; Test::More::plan(skip_all => 'these tests are for release candidate testing'); } } use Test::More; eval "use Pod::Wordlist::hanekomu"; plan skip_all => "Pod::Wordlist::hanekomu required for testing POD spelling" if $@; eval ...
cb47fd9e16e3d87c80aeaa083cba7fd648a1ffa1
.travis.yml
.travis.yml
language: python python: - "2.6" - "2.7" env: # - DJANGO_VERSION="Django==1.2" - DJANGO_VERSION="Django==1.3" - DJANGO_VERSION="git+git://github.com/django/django.git@master#egg=django==1.4c1" # command to install dependencies install: pip install mock==0.7.2 $DJANGO --use-mirrors # command to run tests scr...
language: python python: - "2.6" - "2.7" env: # - DJANGO="Django==1.2" - DJANGO="Django==1.3" - DJANGO="git+git://github.com/django/django.git@master#egg=django==1.4c1" # command to install dependencies install: pip install mock==0.7.2 $DJANGO --use-mirrors # command to run tests script: python runtests.py
Correct the environment variable name of Django
Correct the environment variable name of Django
YAML
bsd-3-clause
mjumbewu/django-jstemplate,mjumbewu/django-jstemplate,mjumbewu/django-jstemplate,bopo/django-jstemplate,bopo/django-jstemplate,bopo/django-jstemplate
yaml
## Code Before: language: python python: - "2.6" - "2.7" env: # - DJANGO_VERSION="Django==1.2" - DJANGO_VERSION="Django==1.3" - DJANGO_VERSION="git+git://github.com/django/django.git@master#egg=django==1.4c1" # command to install dependencies install: pip install mock==0.7.2 $DJANGO --use-mirrors # command ...
69a6ced2bb923c6a77c74443e8892cdba550651e
pyramda/iterable/reject.py
pyramda/iterable/reject.py
from pyramda.function.curry import curry from . import filter @curry def reject(p, xs): """ Acts as a complement of `filter` :param p: predicate :param xs: Iterable. A sequence, a container which supports iteration or an iterator :return: list """ return list(set(xs) - set(filter(p, xs))...
from pyramda.function.curry import curry from pyramda.logic import complement from . import filter @curry def reject(p, xs): """ Acts as a complement of `filter` :param p: predicate :param xs: Iterable. A sequence, a container which supports iteration or an iterator :return: list """ ret...
Refactor to use pyramdas complement function. The initial set implementaion did not respect the order of elements and removed duplicates
Refactor to use pyramdas complement function. The initial set implementaion did not respect the order of elements and removed duplicates
Python
mit
jackfirth/pyramda
python
## Code Before: from pyramda.function.curry import curry from . import filter @curry def reject(p, xs): """ Acts as a complement of `filter` :param p: predicate :param xs: Iterable. A sequence, a container which supports iteration or an iterator :return: list """ return list(set(xs) - se...
39e652b50a44fdea520d5b97a3cc305d008c409e
src/actions/index.js
src/actions/index.js
import { ReadingRecord, ChapterCache } from 'actions/ConfigActions'; export const markNotificationSent = async ({comicID, chapterID}) => { try { const readingRecord = await ReadingRecord.get(comicID); ReadingRecord.put({ ...readingRecord, [chapterID]: 'notification_sent' }); } catch(err) { ReadingRecor...
import { ReadingRecord, ChapterCache } from 'actions/ConfigActions'; export const markNotificationSent = async ({comicID, chapterID}) => { try { const readingRecord = await ReadingRecord.get(comicID); ReadingRecord.put({ ...readingRecord, [chapterID]: 'notification_sent' }); } catch(err) { ReadingRecor...
Fix wrong model for replaceChapterCache
Fix wrong model for replaceChapterCache
JavaScript
mit
ComicsReader/reader,ComicsReader/reader,ComicsReader/app,ComicsReader/app
javascript
## Code Before: import { ReadingRecord, ChapterCache } from 'actions/ConfigActions'; export const markNotificationSent = async ({comicID, chapterID}) => { try { const readingRecord = await ReadingRecord.get(comicID); ReadingRecord.put({ ...readingRecord, [chapterID]: 'notification_sent' }); } catch(err) ...
5c7b33574550d37454b4362fa0896a4dad6e98d1
aesthetic/output/gif.py
aesthetic/output/gif.py
from PIL import Image from PIL import ImageDraw def render(animation, out, scale=8): images = [render_frame(colors, scale=scale) for colors in animation] save_gif(out, *images) def render_frame(colors, scale=8): led_count = 53 size = (led_count * scale, scale) im = Image.new("RGB", size, "black") d = Im...
from PIL import Image from PIL import ImageDraw def render(animation, out, scale=8): images = [render_frame(colors, scale=scale) for colors in animation] save_gif(out, *images) def render_frame(colors, scale=8): led_count = 53 size = (led_count * scale, scale) im = Image.new("RGB", size, "black") d = Im...
Optimize GIF palette (too many colors right now), better GIF timing options.
Optimize GIF palette (too many colors right now), better GIF timing options.
Python
apache-2.0
gnoack/aesthetic
python
## Code Before: from PIL import Image from PIL import ImageDraw def render(animation, out, scale=8): images = [render_frame(colors, scale=scale) for colors in animation] save_gif(out, *images) def render_frame(colors, scale=8): led_count = 53 size = (led_count * scale, scale) im = Image.new("RGB", size, "...
72a6bb40d2b97285453e7871bf08623cca08b79d
bower.json
bower.json
{ "name": "scrollpos-styler", "description": "JavaScript to add custom CSS class to a HTML element depending on scroll position", "authors": ["Achim Christ"], "license": "MIT", "homepage": "https://github.com/acch/scrollpos-styler#readme", "main": "scrollPosStyler.js", "ignore": [ "/.*", "demo", ...
{ "name": "scrollpos-styler", "description": "JavaScript to add custom CSS class to a HTML element depending on scroll position", "authors": ["Achim Christ"], "license": "MIT", "homepage": "https://github.com/acch/scrollpos-styler#readme", "main": "scrollPosStyler.js", "ignore": [ "/.*", "demo", ...
Add keywords and repository in order to being consistent with package.json
Add keywords and repository in order to being consistent with package.json
JSON
mit
acch/scrollpos-styler
json
## Code Before: { "name": "scrollpos-styler", "description": "JavaScript to add custom CSS class to a HTML element depending on scroll position", "authors": ["Achim Christ"], "license": "MIT", "homepage": "https://github.com/acch/scrollpos-styler#readme", "main": "scrollPosStyler.js", "ignore": [ "/.*...