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
49cfe68243da25b97e91a12d71292476242e570b
lib/trackler/problems.rb
lib/trackler/problems.rb
module Trackler # Problems is the collection of problems that we have metadata for. class Problems include Enumerable attr_reader :root def initialize(root) @root = root end def each valid.each do |problem| yield problem end end def [](slug) by_slug[slu...
module Trackler # Problems is the collection of problems that we have metadata for. class Problems include Enumerable attr_reader :root def initialize(root) @root = root end def each active.each do |problem| yield problem end end def [](slug) by_slug[sl...
Rename private method 'valid' to 'active'
Rename private method 'valid' to 'active'
Ruby
mit
Insti/trackler,exercism/trackler,exercism/trackler,Insti/trackler
ruby
## Code Before: module Trackler # Problems is the collection of problems that we have metadata for. class Problems include Enumerable attr_reader :root def initialize(root) @root = root end def each valid.each do |problem| yield problem end end def [](slug) ...
b39d2b784ed82b68130f4f59c4b146e2a123b08e
app-v3/src/main/java/com/khmelenko/lab/varis/repositories/RepoListAdapter.kt
app-v3/src/main/java/com/khmelenko/lab/varis/repositories/RepoListAdapter.kt
package com.khmelenko.lab.varis.repositories import android.support.v7.widget.RecyclerView import android.view.LayoutInflater import android.view.ViewGroup import com.khmelenko.lab.varis.R import com.khmelenko.lab.varis.adapter.OnListItemListener import com.khmelenko.lab.varis.adapter.viewholder.BuildViewHolder import...
package com.khmelenko.lab.varis.repositories import android.support.v7.widget.RecyclerView import android.view.LayoutInflater import android.view.ViewGroup import com.khmelenko.lab.varis.R import com.khmelenko.lab.varis.adapter.viewholder.BuildViewHolder import com.khmelenko.lab.varis.network.response.Repo /** * Ada...
Fix listener in repo list adapter
Fix listener in repo list adapter
Kotlin
apache-2.0
dkhmelenko/Varis-Android,brave-warrior/TravisClient_Android,dkhmelenko/Varis-Android,brave-warrior/TravisClient_Android,dkhmelenko/Varis-Android
kotlin
## Code Before: package com.khmelenko.lab.varis.repositories import android.support.v7.widget.RecyclerView import android.view.LayoutInflater import android.view.ViewGroup import com.khmelenko.lab.varis.R import com.khmelenko.lab.varis.adapter.OnListItemListener import com.khmelenko.lab.varis.adapter.viewholder.BuildV...
46607e099b88b4a43eaaaa694f5b29357b41f98a
source/mac.6.sh
source/mac.6.sh
function mac() { if [[ -n "$1" ]]; then local command="$1" shift case "$command" in --help) mac-help ;; help) if [[ -n "$1" ]]; then if [[ -f $DOTFILES/mac/$1 ]]; then $DOTFILE...
function mac() { if [[ -n "$1" ]]; then local command="$1" shift case "$command" in --help) mac-help ;; help) if [[ -n "$1" ]]; then if [[ -f $DOTFILES/mac/$1 ]]; then $DOTFILE...
Update help text for the 'mac' command
Update help text for the 'mac' command
Shell
unlicense
dmulholland/dotfiles,dmulholland/dotfiles
shell
## Code Before: function mac() { if [[ -n "$1" ]]; then local command="$1" shift case "$command" in --help) mac-help ;; help) if [[ -n "$1" ]]; then if [[ -f $DOTFILES/mac/$1 ]]; then ...
e0deabd62ca372d421e8b620db53f3c887aa8808
lib/tty/table/operation/truncation.rb
lib/tty/table/operation/truncation.rb
module TTY class Table module Operation # A class responsible for shortening text. class Truncation def truncate(string, width, options={}) trailing = options.fetch :trailing, '…' as_unicode do chars = string.chars.to_a print 'CHARS ' ...
module TTY class Table module Operation # A class responsible for shortening text. class Truncation # Shorten given string with traling character. # # @param [String] string # the string to truncate # @param [Integer] width # the maximum width ...
Change method signature and simplify, add comments.
Change method signature and simplify, add comments.
Ruby
mit
piotrmurach/tty,doudou/tty,peter-murach/tty,askl56/tty
ruby
## Code Before: module TTY class Table module Operation # A class responsible for shortening text. class Truncation def truncate(string, width, options={}) trailing = options.fetch :trailing, '…' as_unicode do chars = string.chars.to_a print 'CHA...
330e732594073631feebe650d1513ec9a25c5a84
sample-game/html/GameStart.html
sample-game/html/GameStart.html
<html> <head> <link rel="stylesheet" type="text/css" href="../css/main.css"></style> </head> <body> <script type="text/javascript" src="../../js/Engine.js"></script> <script type="text/javascript" src="../ts/AppStart.js"></script> </body> </html>
<!DOCTYPE html> <html> <head> <link rel="stylesheet" type="text/css" href="../css/main.css"></style> </head> <body> <script type="text/javascript" src="../../js/Engine.js"></script> <script type="text/javascript" src="../ts/AppStart.js"></script> </body> </html>
Fix IE quick in sample game that requires doctype declaration
Fix IE quick in sample game that requires doctype declaration
HTML
bsd-2-clause
htalat/Excalibur,excaliburjs/Excalibur,excaliburjs/Excalibur,excaliburjs/Excalibur,htalat/Excalibur,htalat/Excalibur
html
## Code Before: <html> <head> <link rel="stylesheet" type="text/css" href="../css/main.css"></style> </head> <body> <script type="text/javascript" src="../../js/Engine.js"></script> <script type="text/javascript" src="../ts/AppStart.js"></script> </body> </html> ## Instruction: Fix IE quick in sample game t...
0ab0ecdfe517410fc4fdcc2ec283c8e2784dcb2a
.travis.yml
.travis.yml
language: node_js node_js: - "6" install: - npm install -g angular-cli - npm install -g karma - npm install before_script: - ng -v - npm run pree2e - ng serve --env=ci & - sleep 30 script: - ng lint - ng test --no-watch - npm run endtoend before_deploy: - npm run package deploy: edge: t...
language: node_js node_js: - "6" install: - npm install -g angular-cli - npm install -g karma - npm install before_script: - ng -v - npm run pree2e - ng serve --env=ci & - sleep 30 script: - ng lint - ng test --no-watch - npm run endtoend before_deploy: - npm run package deploy: edge: ...
Use cf-login branch of Travis deploy tool.
Use cf-login branch of Travis deploy tool. - Suggested on travis-ci/dpl#512
YAML
isc
textbook/known-for-web,textbook/known-for-web,textbook/known-for-web
yaml
## Code Before: language: node_js node_js: - "6" install: - npm install -g angular-cli - npm install -g karma - npm install before_script: - ng -v - npm run pree2e - ng serve --env=ci & - sleep 30 script: - ng lint - ng test --no-watch - npm run endtoend before_deploy: - npm run package dep...
fbc94b6d5734b1dffe1299d47c6386e9ebbd5b84
ansible-gitlab/inventory/group_vars/all.yml
ansible-gitlab/inventory/group_vars/all.yml
--- # Disable PKI support in nginx nginx_pki: False # Currently tested GitLab version on Travis-CI gitlab_version: '6.7' # Default domain on Travis-CI gitlab_domain: [ 'localhost.localdomain' ] # Don't add 'git' user to additional groups gitlab_user_append_groups: [] # Travis does not support filesystem ACL, so gi...
--- # Disable PKI support in nginx nginx_pki: False # Default domain on Travis-CI gitlab_domain: [ 'localhost.localdomain' ] # Don't add 'git' user to additional groups gitlab_user_append_groups: [] # Travis does not support filesystem ACL, so give access to the webserver via # group permissions gitlab_group: 'www-...
Check if current version of GitLab works
Check if current version of GitLab works
YAML
mit
ganto/debops-test-suite,debops/test-suite,ganto/debops-test-suite,ypid/test-suite-ypid,ganto/debops-test-suite,ganto/test-suite,debops/test-suite,ypid/test-suite-ypid,drybjed/test-suite,drybjed/test-suite,debops/test-suite,ganto/test-suite,ganto/test-suite,drybjed/test-suite,ypid/test-suite-ypid,ganto/test-suite,ypid/t...
yaml
## Code Before: --- # Disable PKI support in nginx nginx_pki: False # Currently tested GitLab version on Travis-CI gitlab_version: '6.7' # Default domain on Travis-CI gitlab_domain: [ 'localhost.localdomain' ] # Don't add 'git' user to additional groups gitlab_user_append_groups: [] # Travis does not support files...
fc8e80ec579ad26e1562200c17c0618af2e8d55a
script/motd.sh
script/motd.sh
echo "==> Recording box generation date" date > /etc/vagrant_box_build_date echo "==> Customizing message of the day" MOTD_FILE=/etc/motd BANNER_WIDTH=64 PLATFORM_RELEASE=$(sed 's/^.\+ release \([.0-9]\+\).*/\1/' /etc/redhat-release) PLATFORM_MSG=$(printf 'Oracle Enterprise Linux %s' "$PLATFORM_RELEASE") BUILT_MSG=$(...
echo "==> Recording box generation date" date > /etc/vagrant_box_build_date echo "==> Customizing message of the day" MOTD_FILE=/etc/motd BANNER_WIDTH=64 PLATFORM_RELEASE=$(sed 's/^.\+ release \([.0-9]\+\).*/\1/' /etc/redhat-release) PLATFORM_MSG=$(printf 'Oracle Linux %s' "$PLATFORM_RELEASE") BUILT_MSG=$(printf 'bui...
Correct product name in banner
Correct product name in banner Change Oracle Enterprise Linux to Oracle Linux. Product hasn't been called Oracle Enterprise Linux for a long time.
Shell
apache-2.0
boxcutter/oel,boxcutter/oel,boxcutter/oraclelinux,boxcutter/oraclelinux
shell
## Code Before: echo "==> Recording box generation date" date > /etc/vagrant_box_build_date echo "==> Customizing message of the day" MOTD_FILE=/etc/motd BANNER_WIDTH=64 PLATFORM_RELEASE=$(sed 's/^.\+ release \([.0-9]\+\).*/\1/' /etc/redhat-release) PLATFORM_MSG=$(printf 'Oracle Enterprise Linux %s' "$PLATFORM_RELEAS...
58bdb799fe4a21fad1e28dbb8a2b4bc6e630c877
README.md
README.md
[![Build Status](https://travis-ci.org/cloudfoundry/tunnel-vmc-plugin.png)](https://travis-ci.org/cloudfoundry/tunnel-vmc-plugin) ## Deprecated VMC and its plugins have been renamed. You can find the current version of the code for this gem at http://github.com/cloudfoundry/tunnel-cf-plugin ## Tunnel ### Info This pl...
[![Build Status](https://travis-ci.org/cloudfoundry/tunnel-vmc-plugin.png)](https://travis-ci.org/cloudfoundry/tunnel-vmc-plugin) [![Gem Version](https://badge.fury.io/rb/tunnel-vmc-plugin.png)](http://badge.fury.io/rb/tunnel-vmc-plugin) ## Deprecated VMC and its plugins have been renamed. You can find the current ver...
Add Gem version badge to readme - AML + CB
Add Gem version badge to readme - AML + CB
Markdown
apache-2.0
cloudfoundry-attic/tunnel-vmc-plugin
markdown
## Code Before: [![Build Status](https://travis-ci.org/cloudfoundry/tunnel-vmc-plugin.png)](https://travis-ci.org/cloudfoundry/tunnel-vmc-plugin) ## Deprecated VMC and its plugins have been renamed. You can find the current version of the code for this gem at http://github.com/cloudfoundry/tunnel-cf-plugin ## Tunnel ...
d81b0e3ebc01433e973efd01953cde5101159e3b
src/main/java/id/ac/itb/sigit/pengenalanpola/CharDef.java
src/main/java/id/ac/itb/sigit/pengenalanpola/CharDef.java
package id.ac.itb.sigit.pengenalanpola; import java.util.ArrayList; import java.util.List; /** * Created by Sigit on 22/09/2015. */ public class CharDef { private String character; private String chainCode; private List<String> subChainCode=new ArrayList<>(); public String getCharacter() { ...
package id.ac.itb.sigit.pengenalanpola; import java.util.ArrayList; import java.util.List; /** * Created by Sigit on 22/09/2015. */ public class CharDef { private String character; private String chainCode; private String dirChainCode; private String relChainCode; private List<String> subChainCo...
Add Directional Chain Code & Relative Chain Code
Add Directional Chain Code & Relative Chain Code
Java
epl-1.0
tmdgitb/pengenalan_pola_sigit_hendy_ilham,tmdgitb/pengenalan_pola_sigit_hendy_ilham,tmdgitb/pengenalan_pola_shih,tmdgitb/pengenalan_pola_shih
java
## Code Before: package id.ac.itb.sigit.pengenalanpola; import java.util.ArrayList; import java.util.List; /** * Created by Sigit on 22/09/2015. */ public class CharDef { private String character; private String chainCode; private List<String> subChainCode=new ArrayList<>(); public String getCharac...
ea7919f5e8de2d045df91fdda892757613ef3211
qregexeditor/api/quick_ref.py
qregexeditor/api/quick_ref.py
import re from pyqode.qt import QtWidgets from .forms import quick_ref_ui class QuickRefWidget(QtWidgets.QWidget): def __init__(self, parent=None): super(QuickRefWidget, self).__init__(parent) self.ui = quick_ref_ui.Ui_Form() self.ui.setupUi(self) self._fix_default_font_size() ...
import re from pyqode.qt import QtCore, QtWidgets from .forms import quick_ref_ui class QuickRefWidget(QtWidgets.QWidget): def __init__(self, parent=None): super(QuickRefWidget, self).__init__(parent) self.ui = quick_ref_ui.Ui_Form() self.ui.setupUi(self) self._fix_default_font_size...
Add zoom in/out action to the text edit context menu
Add zoom in/out action to the text edit context menu Fix #5
Python
mit
ColinDuquesnoy/QRegexEditor
python
## Code Before: import re from pyqode.qt import QtWidgets from .forms import quick_ref_ui class QuickRefWidget(QtWidgets.QWidget): def __init__(self, parent=None): super(QuickRefWidget, self).__init__(parent) self.ui = quick_ref_ui.Ui_Form() self.ui.setupUi(self) self._fix_default_f...
32fdfb04af1dfbe6ebb9fba38399027eebf2bf81
.github/ISSUE_TEMPLATE.md
.github/ISSUE_TEMPLATE.md
This issue tracker is only for issues related to EasyEngine. Please use http://community.rtcamp.com/c/easyengine for support questions. If you feel the issue is a EasyEngine specific issue, please attach the output of the following commands. System Information - [ ] ee cli info - [ ] lsb_release -a - [ ] docker versi...
This issue tracker is only for issues related to EasyEngine. Please use https://github.com/EasyEngine/easyengine/discussions for support questions. If you feel the issue is a EasyEngine specific issue, please attach the output of the following commands. System Information - [ ] ee cli info - [ ] lsb_release -a - [ ] ...
Update forum link in issue template
Update forum link in issue template
Markdown
mit
EasyEngine/easyengine,EasyEngine/easyengine
markdown
## Code Before: This issue tracker is only for issues related to EasyEngine. Please use http://community.rtcamp.com/c/easyengine for support questions. If you feel the issue is a EasyEngine specific issue, please attach the output of the following commands. System Information - [ ] ee cli info - [ ] lsb_release -a - ...
a530a988873f4c5d6eb7bf36601b9a42d3908428
public/index.php
public/index.php
<?php use Zend\ServiceManager\ServiceManager, Zend\Mvc\Service\ServiceManagerConfiguration; chdir(dirname(__DIR__)); // Composer autoloading if (!include_once('vendor/autoload.php')) { throw new RuntimeException('vendor/autoload.php could not be found. Did you run `php composer.phar install`?'); } // Get app...
<?php use Zend\Loader\AutoloaderFactory; use Zend\ServiceManager\ServiceManager; use Zend\Mvc\Service\ServiceManagerConfiguration; chdir(dirname(__DIR__)); // Allow using an alternative copy of ZF2 if (getenv('ZF2_PATH')) { require_once getenv('ZF2_PATH') . '/Zend/Loader/AutoloaderFactory.php'; AutoloaderFact...
Add conditional check for allowing ZF2_PATH env variable to be used
Add conditional check for allowing ZF2_PATH env variable to be used
PHP
bsd-3-clause
marquessbr/tutorialzf2,nawelAb/kwaret,riprap/zf2-tutorial,bigpemba/tutorialzf2,websafe/ZendSkeletonApplication,friend4u-981/real-estate,votoby/ZF2,Saeven/ZendSkeletonApplication,krugerke/zf2-stack,stefdragomir/ZfDealsApp,roderickti/CNChallenge,amarlehal/sainsburyconsoleapp,Dawarate/pizza,akvara/StickyNotes,lanouxfabien...
php
## Code Before: <?php use Zend\ServiceManager\ServiceManager, Zend\Mvc\Service\ServiceManagerConfiguration; chdir(dirname(__DIR__)); // Composer autoloading if (!include_once('vendor/autoload.php')) { throw new RuntimeException('vendor/autoload.php could not be found. Did you run `php composer.phar install`?'...
b6851915655d3988bb6650287a5ad8fea5b69a71
appveyor.yml
appveyor.yml
version: '{build}' os: Visual Studio 2015 clone_depth: 1 configuration: - Release before_build: - cmake -H. -Bbuild -G"Visual Studio 14 2015 Win64" build_script: - cmake --build build --config Release
version: '{build}' os: Visual Studio 2015 clone_depth: 1 configuration: - Release install: - cmd: md .appveyor - appveyor DownloadFile https://cdn.rawgit.com/ignacio/lua-appveyor-example/0f1932a380ae29d0962db065934556edaf700794/.appveyor/install.bat -FileName .appveyor/install.bat - appveyor DownloadFile https:...
Add scripts install lua 5.1.5.
Add scripts install lua 5.1.5.
YAML
bsd-3-clause
ma-bo/lua-poco,ma-bo/lua-poco
yaml
## Code Before: version: '{build}' os: Visual Studio 2015 clone_depth: 1 configuration: - Release before_build: - cmake -H. -Bbuild -G"Visual Studio 14 2015 Win64" build_script: - cmake --build build --config Release ## Instruction: Add scripts install lua 5.1.5. ## Code After: version: '{build}' os: Visual Studio...
fe1b20bac345f34fd9a42409a1aefecfcf318d74
build.sbt
build.sbt
name := "scyig-judicial" organization := "me.frmr.scyig" version := "0.0.1-SNAPSHOT" scalaVersion := "2.12.1" scalacOptions in Compile ++= Seq("-feature") libraryDependencies ++= { val liftVersion = "3.1.0" Seq( "net.liftweb" %% "lift-webkit" % liftVersion, "com.typesafe.slick...
name := "scyig-judicial" organization := "me.frmr.scyig" version := "0.0.1-SNAPSHOT" scalaVersion := "2.12.1" scalacOptions in Compile ++= Seq("-feature") libraryDependencies ++= { val liftVersion = "3.1.0" Seq( "net.liftweb" %% "lift-webkit" % liftVersion, "com.typesafe.slick...
Add logback to the repo
Add logback to the repo
Scala
apache-2.0
farmdawgnation/scyig-judicial
scala
## Code Before: name := "scyig-judicial" organization := "me.frmr.scyig" version := "0.0.1-SNAPSHOT" scalaVersion := "2.12.1" scalacOptions in Compile ++= Seq("-feature") libraryDependencies ++= { val liftVersion = "3.1.0" Seq( "net.liftweb" %% "lift-webkit" % liftVersion, "co...
921d7eb0cfb0e6703f569ffdf496972cfe3e3dc6
README.md
README.md
Bitsliced Implementations of the PRINCE, LED and RECTANGLE Block Ciphers on AVR 8-bit Microcontrollers<br> the code and documents provided by baozhenzhen<br>
Bitsliced Implementations of the PRINCE, LED and RECTANGLE Block Ciphers on AVR 8-bit Microcontrollers This is a program to implement lightweight block ciphers on AVR 8-bit microcontrollers. Several algorithms have been implemented: [PRINCE](http://eprint.iacr.org/2012/529.pdf), [LED](https://eprint.iacr.org/2012/600....
Add SIMON and SPECK, PRIDE
Add SIMON and SPECK, PRIDE
Markdown
mit
FreeDisciplina/BlockCiphersOnAVR
markdown
## Code Before: Bitsliced Implementations of the PRINCE, LED and RECTANGLE Block Ciphers on AVR 8-bit Microcontrollers<br> the code and documents provided by baozhenzhen<br> ## Instruction: Add SIMON and SPECK, PRIDE ## Code After: Bitsliced Implementations of the PRINCE, LED and RECTANGLE Block Ciphers on AVR 8-bit...
db5f4d9325d1f1c67160c925b83e8a4574d4cb9a
portal/factories/celery.py
portal/factories/celery.py
from __future__ import absolute_import from celery import Celery __celery = None def create_celery(app): global __celery if __celery: return __celery celery = Celery( app.import_name, broker=app.config['CELERY_BROKER_URL'] ) celery.conf.update(app.config) TaskBase = c...
from __future__ import absolute_import from celery import Celery from ..extensions import db __celery = None def create_celery(app): global __celery if __celery: return __celery celery = Celery( app.import_name, broker=app.config['CELERY_BROKER_URL'] ) celery.conf.update...
Remove DB session after task
Remove DB session after task
Python
bsd-3-clause
uwcirg/true_nth_usa_portal,uwcirg/true_nth_usa_portal,uwcirg/true_nth_usa_portal,uwcirg/true_nth_usa_portal
python
## Code Before: from __future__ import absolute_import from celery import Celery __celery = None def create_celery(app): global __celery if __celery: return __celery celery = Celery( app.import_name, broker=app.config['CELERY_BROKER_URL'] ) celery.conf.update(app.config) ...
f48eb543c3ae2222a71080592ae8932c227dc605
roche/scripts/xml-load.py
roche/scripts/xml-load.py
import sys sys.path.append('../../') import roche.settings from eulexistdb.db import ExistDB from roche.settings import EXISTDB_SERVER_URL # # Timeout higher? # xmldb = ExistDB(timeout=30) xmldb.createCollection('docker', True) xmldb.createCollection(u'docker/浙江大學圖書館', True) with open('../../../dublin-store/db/tes...
import sys sys.path.append('.') import roche.settings from eulexistdb.db import ExistDB from roche.settings import EXISTDB_SERVER_URL # # Timeout higher? # xmldb = ExistDB(timeout=30) xmldb.createCollection('docker', True) xmldb.createCollection(u'docker/浙江大學圖書館', True) with open('../dublin-store/db/test_001.xml')...
Fix relative path in relation to app root dir
Fix relative path in relation to app root dir
Python
mit
beijingren/roche-website,beijingren/roche-website,beijingren/roche-website,beijingren/roche-website
python
## Code Before: import sys sys.path.append('../../') import roche.settings from eulexistdb.db import ExistDB from roche.settings import EXISTDB_SERVER_URL # # Timeout higher? # xmldb = ExistDB(timeout=30) xmldb.createCollection('docker', True) xmldb.createCollection(u'docker/浙江大學圖書館', True) with open('../../../dub...
70f6d23622a7cfe8754f8c61b336a6c1c8782691
container/GE-cluster-create.sh
container/GE-cluster-create.sh
NAME=gridengine SCRIPTS_DIR=/home/ubuntu/config-tools CONFIG_TOOLS_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" # create the GE cluster on the cloud platform elasticluster start $NAME first=yes for host in `elasticluster list-nodes gridengine | grep " -" | cut -d'-' -f2`; do echo "installing packages on ...
NAME=gridengine SCRIPTS_DIR=/home/ubuntu/config-tools CONFIG_TOOLS_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" # create the GE cluster on the cloud platform elasticluster start $NAME first=yes for host in `elasticluster list-nodes gridengine | grep " -" | cut -d'-' -f2`; do echo "installing packages on ...
Change the GE shell from csh to bash.
Change the GE shell from csh to bash.
Shell
apache-2.0
manuelesimi/elasticluster-config-tools
shell
## Code Before: NAME=gridengine SCRIPTS_DIR=/home/ubuntu/config-tools CONFIG_TOOLS_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" # create the GE cluster on the cloud platform elasticluster start $NAME first=yes for host in `elasticluster list-nodes gridengine | grep " -" | cut -d'-' -f2`; do echo "install...
72fcd8f8ec44bf11fa1ed746de188ee4312150c3
apps/sumo/urls.py
apps/sumo/urls.py
from django.conf import settings from django.conf.urls.defaults import patterns, url, include from django.views.generic.simple import redirect_to from sumo import views services_patterns = patterns('', url('^/monitor$', views.monitor, name='sumo.monitor'), url('^/version$', views.version_check, name='sumo.ve...
from django.conf import settings from django.conf.urls.defaults import patterns, url, include from django.views.generic.base import RedirectView from sumo import views services_patterns = patterns('', url('^/monitor$', views.monitor, name='sumo.monitor'), url('^/version$', views.version_check, name='sumo.ver...
Switch to class based generic views.
Switch to class based generic views.
Python
bsd-3-clause
feer56/Kitsune1,iDTLabssl/kitsune,silentbob73/kitsune,YOTOV-LIMITED/kitsune,mozilla/kitsune,rlr/kitsune,anushbmx/kitsune,anushbmx/kitsune,iDTLabssl/kitsune,silentbob73/kitsune,silentbob73/kitsune,iDTLabssl/kitsune,brittanystoroz/kitsune,safwanrahman/kitsune,orvi2014/kitsune,feer56/Kitsune2,turtleloveshoes/kitsune,MikkC...
python
## Code Before: from django.conf import settings from django.conf.urls.defaults import patterns, url, include from django.views.generic.simple import redirect_to from sumo import views services_patterns = patterns('', url('^/monitor$', views.monitor, name='sumo.monitor'), url('^/version$', views.version_chec...
6934ccbd8639a62a3f6a873a587ae3bee0794cf7
README.md
README.md
[![Build Status](https://travis-ci.org/Nikolay-Lysenko/forecastonishing.svg?branch=master)](https://travis-ci.org/Nikolay-Lysenko/forecastonishing) [![codecov](https://codecov.io/gh/Nikolay-Lysenko/forecastonishing/branch/master/graph/badge.svg)](https://codecov.io/gh/Nikolay-Lysenko/forecastonishing) [![Maintainabilit...
[![Build Status](https://travis-ci.org/osahp/forecastonishing.svg?branch=master)](https://travis-ci.org/osahp/forecastonishing) [![codecov](https://codecov.io/gh/osahp/forecastonishing/branch/master/graph/badge.svg)](https://codecov.io/gh/osahp/forecastonishing) [![Maintainability](https://api.codeclimate.com/v1/badges...
Update location in badges by Travis-CI and Codecov
chore: Update location in badges by Travis-CI and Codecov
Markdown
mit
osahp/forecastonishing
markdown
## Code Before: [![Build Status](https://travis-ci.org/Nikolay-Lysenko/forecastonishing.svg?branch=master)](https://travis-ci.org/Nikolay-Lysenko/forecastonishing) [![codecov](https://codecov.io/gh/Nikolay-Lysenko/forecastonishing/branch/master/graph/badge.svg)](https://codecov.io/gh/Nikolay-Lysenko/forecastonishing) [...
e1f07749e70525aa9be1a0ebfd55beec30da8244
src/Oro/Bundle/CalendarBundle/Migrations/Data/ORM/data/emails/invitation/unInvite.html.twig
src/Oro/Bundle/CalendarBundle/Migrations/Data/ORM/data/emails/invitation/unInvite.html.twig
@name = calendar_invitation_uninvite @entityName = Oro\Bundle\CalendarBundle\Entity\CalendarEvent @subject = Removed: {{ entity.title }} @isSystem = 1 @isEditable = 1 <p><b>{{ entity.calendar.owner|oro_format_name|default('N/A') }} has removed you from {{ entity.title }}.</b></p> <h1>{{ entity.title }}</h1> <div> ...
@name = calendar_invitation_uninvite @entityName = Oro\Bundle\CalendarBundle\Entity\CalendarEvent @subject = Removed: {{ entity.title }} @isSystem = 1 @isEditable = 1 <p><b>You have been removed from {{ entity.title }}.</b></p> <h1>{{ entity.title }}</h1> <div> <p><i>Start date:</i> {{ entity.start|date('F j, Y, g...
Add event listener to handle email notifications - fixed uninvite template
BAP-6047: Add event listener to handle email notifications - fixed uninvite template
Twig
mit
trustify/oroplatform,Djamy/platform,Djamy/platform,trustify/oroplatform,morontt/platform,hugeval/platform,2ndkauboy/platform,northdakota/platform,geoffroycochard/platform,ramunasd/platform,morontt/platform,orocrm/platform,ramunasd/platform,trustify/oroplatform,hugeval/platform,2ndkauboy/platform,geoffroycochard/platfor...
twig
## Code Before: @name = calendar_invitation_uninvite @entityName = Oro\Bundle\CalendarBundle\Entity\CalendarEvent @subject = Removed: {{ entity.title }} @isSystem = 1 @isEditable = 1 <p><b>{{ entity.calendar.owner|oro_format_name|default('N/A') }} has removed you from {{ entity.title }}.</b></p> <h1>{{ entity.title }}...
e3695697e8ae9d19b5aa57d3203a9bd3765320f8
rubygems-openpgp.gemspec
rubygems-openpgp.gemspec
Gem::Specification.new do |s| s.name = 'rubygems-openpgp' s.version = '0.0.0' s.date = '2010-05-27' s.summary = "Sign gems via OpenPGP" s.description = "Digitally sign gems via OpenPGP instead of OpenSSL" s.authors = ["Grant Olson"] s.email = 'kgo@grant-olson.net' s.files...
Gem::Specification.new do |s| s.name = 'rubygems-openpgp' s.version = '0.0.0' s.date = '2010-05-27' s.summary = "Sign gems via OpenPGP" s.description = "Digitally sign gems via OpenPGP instead of OpenSSL" s.authors = ["Grant Olson"] s.email = 'kgo@grant-olson.net' s.files...
Use github homepage instead of personal
Use github homepage instead of personal
Ruby
bsd-3-clause
grant-olson/rubygems-openpgp
ruby
## Code Before: Gem::Specification.new do |s| s.name = 'rubygems-openpgp' s.version = '0.0.0' s.date = '2010-05-27' s.summary = "Sign gems via OpenPGP" s.description = "Digitally sign gems via OpenPGP instead of OpenSSL" s.authors = ["Grant Olson"] s.email = 'kgo@grant-olso...
a36a13b99918e22706aeea57b66bd56826d54fc5
src/simple-slider.html
src/simple-slider.html
<link rel="import" href="../bower_components/polymer/polymer.html"> <script src="../bower_components/SimpleSlider/dist/simpleslider.min.js"></script> <polymer-element name="simple-slider" constructor="SimpleSliderElement" attributes="transition-property transition-duration transition-delay start-value visible-value e...
<link rel="import" href="../../polymer/polymer.html"> <script src="../../SimpleSlider/dist/simpleslider.min.js"></script> <polymer-element name="simple-slider" constructor="SimpleSliderElement" attributes="transition-property transition-duration transition-delay start-value visible-value end-value auto-play"> <scr...
Use paths to polymer/SimpleSlider without bower_components
Use paths to polymer/SimpleSlider without bower_components
HTML
mit
ruyadorno/polymer-simple-slider,ruyadorno/polymer-simple-slider
html
## Code Before: <link rel="import" href="../bower_components/polymer/polymer.html"> <script src="../bower_components/SimpleSlider/dist/simpleslider.min.js"></script> <polymer-element name="simple-slider" constructor="SimpleSliderElement" attributes="transition-property transition-duration transition-delay start-value...
52d15d09ed079d1b8598f314524066b56273af3d
addie/_version.py
addie/_version.py
import json import sys version_json = ''' { "dirty": false, "error": null, "full-revisionid": "aaeac9708788e1b02d6a763b86333eff9bad7122", "version": "5.0.4" } ''' # END VERSION_JSON def get_versions(): return json.loads(version_json)
import json version_json = ''' { "dirty": false, "error": null, "full-revisionid": "aaeac9708788e1b02d6a763b86333eff9bad7122", "version": "5.0.4" } ''' # END VERSION_JSON def get_versions(): return json.loads(version_json)
Remove sys import in versioneer file
Remove sys import in versioneer file
Python
mit
neutrons/FastGR,neutrons/FastGR,neutrons/FastGR
python
## Code Before: import json import sys version_json = ''' { "dirty": false, "error": null, "full-revisionid": "aaeac9708788e1b02d6a763b86333eff9bad7122", "version": "5.0.4" } ''' # END VERSION_JSON def get_versions(): return json.loads(version_json) ## Instruction: Remove sys import in versioneer file ##...
3897a69767b9aae7626ef945984275d2370a56d5
cmake/projects/msgpack/hunter.cmake
cmake/projects/msgpack/hunter.cmake
include(hunter_add_version) include(hunter_cacheable) include(hunter_download) include(hunter_pick_scheme) hunter_add_version( PACKAGE_NAME msgpack VERSION "1.4.1" URL "https://github.com/hunter-packages/msgpack-c/archive/cpp-1.4.1-hunter-p1.tar.gz" SHA1 55e5ea871ca5fcbf1be204219cd77da237662360 ) h...
include(hunter_add_version) include(hunter_cacheable) include(hunter_download) include(hunter_pick_scheme) hunter_add_version( PACKAGE_NAME msgpack VERSION "1.4.1" URL "https://github.com/hunter-packages/msgpack-c/archive/cpp-1.4.1-hunter-p1.tar.gz" SHA1 5074d28857661693b71c4bda3f8fc662e4c73990 ) h...
Update msgpack-c package to doesn't compile examples and tests
Update msgpack-c package to doesn't compile examples and tests
CMake
bsd-2-clause
ingenue/hunter,shekharhimanshu/hunter,shekharhimanshu/hunter,headupinclouds/hunter,ingenue/hunter,pretyman/hunter,ledocc/hunter,mchiasson/hunter,lucmichalski/hunter,ikliashchou/hunter,caseymcc/hunter,zhuhaow/hunter,ledocc/hunter,fire-hunter/hunter,Knitschi/hunter,mchiasson/hunter,madmongo1/hunter,stohrendorf/hunter,isa...
cmake
## Code Before: include(hunter_add_version) include(hunter_cacheable) include(hunter_download) include(hunter_pick_scheme) hunter_add_version( PACKAGE_NAME msgpack VERSION "1.4.1" URL "https://github.com/hunter-packages/msgpack-c/archive/cpp-1.4.1-hunter-p1.tar.gz" SHA1 55e5ea871ca5fcbf1be204219cd77da...
08435bde349598fbc9cc0ac13d4279fd73af7623
code/CarouselSlide.php
code/CarouselSlide.php
<?php class CarouselSlide extends DataObject { private static $db = array( 'Title' => 'Varchar(100)', 'External' => 'Boolean', 'ExternalLink' => 'Varchar(200)', 'SlideSort' => 'Int' ); private static $has_one = array( 'SlideImage' => 'Image', 'HolderPage' => 'Page', 'IntenalLink' => 'SiteTree' ); ...
<?php class CarouselSlide extends DataObject { private static $db = array( 'Title' => 'Varchar(100)', 'UseLink' => 'Boolean', 'ExternalLink' => 'Varchar(200)', 'SlideSort' => 'Int' ); private static $has_one = array( 'SlideImage' => 'Image', 'HolderPage' => 'Page', 'IntenalLink' => 'SiteTree' ); p...
Change to handling of links to allow for no link
Change to handling of links to allow for no link
PHP
mit
MilesSummers/silverstripe-carousel,MilesSummers/silverstripe-carousel
php
## Code Before: <?php class CarouselSlide extends DataObject { private static $db = array( 'Title' => 'Varchar(100)', 'External' => 'Boolean', 'ExternalLink' => 'Varchar(200)', 'SlideSort' => 'Int' ); private static $has_one = array( 'SlideImage' => 'Image', 'HolderPage' => 'Page', 'IntenalLink' => '...
cc21b57bb8f5f40d72a6516957630c71acd753d5
templates/admin/inc/extrastyle.html
templates/admin/inc/extrastyle.html
{#{% block extrastyle %}#} <style> #container { background-color: red !important; } </style> {#{% endblock %}#}
<style> #id_needs_from{ min-width:100%; } html body.app-blueprint.model-blueprintcreator.change-form div#container div#content.colM div#content-main form#blueprintcreator_form div fieldset.module.aligned div.form-row.field-needs div div.related-widget-wrapper{ width:100%; } html bo...
Add css to improve select fields
Add css to improve select fields
HTML
agpl-3.0
volunteer-planner/volunteer_planner,klinger/volunteer_planner,MRigal/volunteer_planner,pitpalme/volunteer_planner,tordans/volunteer_planner,alper/volunteer_planner,juliabiro/volunteer_planner,jonasrk/volunteer_planner,juliabiro/volunteer_planner,tordans/volunteer_planner,jonasrk/volunteer_planner,MRigal/volunteer_plann...
html
## Code Before: {#{% block extrastyle %}#} <style> #container { background-color: red !important; } </style> {#{% endblock %}#} ## Instruction: Add css to improve select fields ## Code After: <style> #id_needs_from{ min-width:100%; } html body.app-blueprint.model-blueprintcreato...
872ff9b5e27359a6a662307b5c27fadcd636956f
mmap.yaml
mmap.yaml
name: MMAP Pipeline host: steps: # An ordered list of steps - image: "dleehr/go-blast" infiles: CONT_INPUT_ORFS_FILE: '/Users/dcl9/Data/mmap/example/MMAP_example.glimmer' CONT_INPUT_BLAST_DB: '/Users/dcl9/Data/go-blastdb/go-seqdb' outfiles: CONT_OUTPUT_BLAST_RESULTS: '/Users/dcl9/Data...
name: MMAP Pipeline host: steps: # An ordered list of steps - image: "dleehr/genovo:" infiles: CONT_INPUT_READS_FILE: '/Users/dcl9/Data/mmap-docker/raw/MMAP_example.fasta' outfiles: CONT_OUTPUT_CONTIGS_FILE: '/Users/dcl9/Data/mmap-docker/assembled/MMAP_example-contigs.fasta' parameters: ...
Add genovo step to pipeline
Add genovo step to pipeline Includes a parameter
YAML
mit
Duke-GCB/docker-pipeline,Duke-GCB/docker-pipeline
yaml
## Code Before: name: MMAP Pipeline host: steps: # An ordered list of steps - image: "dleehr/go-blast" infiles: CONT_INPUT_ORFS_FILE: '/Users/dcl9/Data/mmap/example/MMAP_example.glimmer' CONT_INPUT_BLAST_DB: '/Users/dcl9/Data/go-blastdb/go-seqdb' outfiles: CONT_OUTPUT_BLAST_RESULTS: '...
5ffaf6b5782143d82d268d66745b59ac1a4e4542
start.js
start.js
var server = require('./server'); server.start();
var server = require('./server'); server.start(); var shutdown = () => { server.stop(() => { process.exit(0); }); }; process.on('SIGINT', shutdown); process.on('SIGTERM', shutdown);
Add signal handlers to gracefully stop server
Add signal handlers to gracefully stop server
JavaScript
mpl-2.0
ScottDowne/donate.mozilla.org,alicoding/donate.mozilla.org,jbuck/donate.mozilla.org,mozilla/donate.mozilla.org
javascript
## Code Before: var server = require('./server'); server.start(); ## Instruction: Add signal handlers to gracefully stop server ## Code After: var server = require('./server'); server.start(); var shutdown = () => { server.stop(() => { process.exit(0); }); }; process.on('SIGINT', shutdown); process.on('SI...
96d1640920e93951f204e6e730bbc4bd4b9e81d6
Cargo.toml
Cargo.toml
[package] name = "nannou_timeline" version = "0.2.0" authors = ["mitchmindtree <mitchell.nordine@gmail.com>"] description = "A timeline widget, compatible with all conrod GUI projects." readme = "README.md" keywords = ["timeline", "automation", "GUI", "conrod", "envelope"] license = "MIT OR Apache-2.0" repository = "ht...
[package] name = "nannou_timeline" version = "0.2.0" authors = ["mitchmindtree <mitchell.nordine@gmail.com>"] description = "A timeline widget, compatible with all conrod GUI projects." readme = "README.md" keywords = ["timeline", "automation", "GUI", "conrod", "envelope"] license = "MIT OR Apache-2.0" repository = "ht...
Add the necessary serde crates and features from pitch_calc and time_calc
Add the necessary serde crates and features from pitch_calc and time_calc
TOML
mit
MindBuffer/nannou
toml
## Code Before: [package] name = "nannou_timeline" version = "0.2.0" authors = ["mitchmindtree <mitchell.nordine@gmail.com>"] description = "A timeline widget, compatible with all conrod GUI projects." readme = "README.md" keywords = ["timeline", "automation", "GUI", "conrod", "envelope"] license = "MIT OR Apache-2.0" ...
0358a9a7702d766801e76460ae074ba4bf542cf6
BlasterBundle/Form/Type/UserType.php
BlasterBundle/Form/Type/UserType.php
<?php namespace DJBlaster\BlasterBundle\Form\Type; use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\FormBuilderInterface; use Symfony\Component\OptionsResolver\OptionsResolverInterface; class UserType extends AbstractType { public function buildForm(FormBuilderInterface $builder, array $option...
<?php namespace DJBlaster\BlasterBundle\Form\Type; use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\FormBuilderInterface; use Symfony\Component\OptionsResolver\OptionsResolverInterface; use Symfony\Component\Form\Extension\Core\Type\SubmitType; class UserType extends AbstractType { public func...
Replace string submit with SubmitType.
Replace string submit with SubmitType.
PHP
mit
destinmoulton/djblasterbundle
php
## Code Before: <?php namespace DJBlaster\BlasterBundle\Form\Type; use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\FormBuilderInterface; use Symfony\Component\OptionsResolver\OptionsResolverInterface; class UserType extends AbstractType { public function buildForm(FormBuilderInterface $builde...
d3cca9554d31b7e20dd9b76eae463b532a2b7767
src/lang/kindOf.js
src/lang/kindOf.js
define(function () { var _toString = Object.prototype.toString; /** * Gets the "kind" of value. (e.g. "String", "Number", etc) */ function kindOf(val) { return _toString.call(val).slice(8, -1); } return kindOf; });
define(function () { /** * Gets the "kind" of value. (e.g. "String", "Number", etc) */ function kindOf(val) { return Object.prototype.toString.call(val).slice(8, -1); } return kindOf; });
Address comment about closure variable lookup.
Address comment about closure variable lookup.
JavaScript
mit
mout/mout,mout/mout
javascript
## Code Before: define(function () { var _toString = Object.prototype.toString; /** * Gets the "kind" of value. (e.g. "String", "Number", etc) */ function kindOf(val) { return _toString.call(val).slice(8, -1); } return kindOf; }); ## Instruction: Address comment about closure va...
51e044eb5430c3cad2779069f3d6b9309a086ebd
README.md
README.md
This project implements two collection types in pure Swift that use red-black trees as the underlying data structure: - `Map<Key, Value>` implements a tree-based mapping from `Key` to `Value` instances. It is like `Dictionary<Key, Value>` in the standard library, but it uses `Comparable` keys and provides logar...
[![Build Status](https://travis-ci.org/lorentey/TreeCollections.svg?branch=master)](https://travis-ci.org/lorentey/TreeCollections) [![codecov.io](https://codecov.io/github/lorentey/TreeCollections/coverage.svg?branch=master)](https://codecov.io/github/lorentey/TreeCollections?branch=master) This project implements t...
Add build status & code coverage turds
Add build status & code coverage turds
Markdown
mit
Maaimusic/BTree,lorentey/BTree,eonil/BTree,Maaimusic/BTree,Maaimusic/BTree,eonil/BTree,eonil/BTree,lorentey/BTree,lorentey/BTree
markdown
## Code Before: This project implements two collection types in pure Swift that use red-black trees as the underlying data structure: - `Map<Key, Value>` implements a tree-based mapping from `Key` to `Value` instances. It is like `Dictionary<Key, Value>` in the standard library, but it uses `Comparable` keys and p...
ce1d516b25b2dfea13fe7a7763ebdd7100a359a0
.github/workflows/ci.yml
.github/workflows/ci.yml
name: CI on: push: branches: ['*'] pull_request: branches: [main] jobs: lint: name: Static code analysis runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v3 - name: Use Node.js uses: actions/setup-node@v3 with: node-versio...
name: CI on: push: branches: ['*'] pull_request: branches: [main] jobs: lint: name: Static code analysis runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v3 - name: Cache .yarn/cache uses: actions/cache@v3 env: cache-name:...
Implement caching Yarn cache in GitHub Actions
Implement caching Yarn cache in GitHub Actions
YAML
mit
wojtekmaj/react-calendar,wojtekmaj/react-calendar,wojtekmaj/react-calendar
yaml
## Code Before: name: CI on: push: branches: ['*'] pull_request: branches: [main] jobs: lint: name: Static code analysis runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v3 - name: Use Node.js uses: actions/setup-node@v3 with: ...
15637d280f9ccdb3b8246a8902a9e28005c646f4
lib/tasks/legacy.rake
lib/tasks/legacy.rake
namespace :legacy do desc 'Load legacy data into database' task :load do legacy_file = File.join(Rails.root, 'db', 'legacy.rb') load(legacy_file) if File.exist?(legacy_file) end end
namespace :legacy do desc 'Load legacy data into database' task :load => :environment do legacy_file = File.join(Rails.root, 'db', 'legacy.rb') load(legacy_file) if File.exist?(legacy_file) end end
Make rake task load environment
Make rake task load environment
Ruby
agpl-3.0
rideconnection/ridepilot,camsys/ridepilot,camsys/ridepilot,rideconnection/ridepilot,camsys/ridepilot,rideconnection/ridepilot
ruby
## Code Before: namespace :legacy do desc 'Load legacy data into database' task :load do legacy_file = File.join(Rails.root, 'db', 'legacy.rb') load(legacy_file) if File.exist?(legacy_file) end end ## Instruction: Make rake task load environment ## Code After: namespace :legacy do desc 'Load legacy da...
cdfdd2b9e3c926ddec4b39ea5c8795b73105dd5b
src/javascript/binding.gyp.cmake
src/javascript/binding.gyp.cmake
{ 'targets': [ { 'target_name': 'mraa', 'sources': [ @mraa_LIB_SRCS_GYP@ 'src/version.c', 'src/mraajsJAVASCRIPT_wrap.cxx' ], 'include_dirs': [ @mraa_LIB_INCLUDE_DIRS_GYP@ ], 'variables': { "v8_version%": "<!(node -e 'console.log(process.versions.v8)' | sed '...
{ 'targets': [ { 'target_name': 'mraa', 'sources': [ @mraa_LIB_SRCS_GYP@ 'src/version.c', 'src/mraajsJAVASCRIPT_wrap.cxx' ], 'include_dirs': [ @mraa_LIB_INCLUDE_DIRS_GYP@ ], 'variables': { "v8_version%": "<!(node -e 'console.log(process.v...
Add support for android build
Add support for android build Using NPM, this module can be cross-compiled for Android using NDK. But, when compiling for Android, we need to add glob.c to source files (as in Android.mk). Also, re-arranged the layout in binding.gyp for better readability. Signed-off-by: Robert Chiras <c1d87f9b0dc38a48e5f3651833ec996...
CMake
mit
arfoll/mraa,petreeftime/mraa,g-vidal/mraa,spitfire88/mraa,intel-iot-devkit/mraa,KurtE/mraa,sergev/mraa,alext-mkrs/mraa,arfoll/mraa,alext-mkrs/mraa,yongli3/mraa,petreeftime/mraa,andreivasiliu2211/mraa,stefan-andritoiu/mraa,ncrastanaren/mraa,sergev/mraa,g-vidal/mraa,intel-iot-devkit/mraa,stefan-andritoiu/mraa-gpio-charde...
cmake
## Code Before: { 'targets': [ { 'target_name': 'mraa', 'sources': [ @mraa_LIB_SRCS_GYP@ 'src/version.c', 'src/mraajsJAVASCRIPT_wrap.cxx' ], 'include_dirs': [ @mraa_LIB_INCLUDE_DIRS_GYP@ ], 'variables': { "v8_version%": "<!(node -e 'console.log(process.versi...
c84a3e9bd8fb498cf8e605cb93e3079d183f27b3
AppVeyor.yml
AppVeyor.yml
version: 1.4.1.{build} branches: except: - net35 skip_tags: true # --------------------------------------------------------------------------- # # environment configuration # --------------------------------------------------------------------------- # clone_folder: C:\Cube\Cube.Net image: Visual Studio 2017 nug...
version: 1.4.1.{build} branches: except: - net35 skip_tags: true # --------------------------------------------------------------------------- # # environment configuration # --------------------------------------------------------------------------- # clone_folder: C:\Cube\Cube.Net image: Visual Studio 2017 nug...
Add nuget source for Cube.Core
Add nuget source for Cube.Core
YAML
apache-2.0
cube-soft/Cube.Net,cube-soft/Cube.Net,cube-soft/Cube.Net
yaml
## Code Before: version: 1.4.1.{build} branches: except: - net35 skip_tags: true # --------------------------------------------------------------------------- # # environment configuration # --------------------------------------------------------------------------- # clone_folder: C:\Cube\Cube.Net image: Visual...
e2ca86705dda9b80444bb7189b70682548bd0205
app/models/taxon.rb
app/models/taxon.rb
class Taxon < ActiveRecord::Base belongs_to :taxonomy, inverse_of: :taxons validates :name, presence: true validates :taxonomy_id, presence: true end
class Taxon < ActiveRecord::Base belongs_to :taxonomy, inverse_of: :taxons, touch: true validates :name, presence: true validates :taxonomy_id, presence: true end
Add touch to Taxon belongs_to Taxonomy association
Add touch to Taxon belongs_to Taxonomy association
Ruby
mit
organicadigital/taxonomy_rails,organicadigital/taxonomy_rails,organicadigital/taxonomy_rails
ruby
## Code Before: class Taxon < ActiveRecord::Base belongs_to :taxonomy, inverse_of: :taxons validates :name, presence: true validates :taxonomy_id, presence: true end ## Instruction: Add touch to Taxon belongs_to Taxonomy association ## Code After: class Taxon < ActiveRecord::Base belongs_to :taxonomy, inv...
211b7d3ff2bf90b053f9c28400aaea9364dec77c
spring-boot-admin-server-ui/src/main/frontend/components/sba-tags.vue
spring-boot-admin-server-ui/src/main/frontend/components/sba-tags.vue
<!-- - Copyright 2014-2018 the original author or authors. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless requ...
<!-- - Copyright 2014-2018 the original author or authors. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless requ...
Fix mixed up tag key and value
Fix mixed up tag key and value
Vue
apache-2.0
joshiste/spring-boot-admin,codecentric/spring-boot-admin,codecentric/spring-boot-admin,codecentric/spring-boot-admin,joshiste/spring-boot-admin,joshiste/spring-boot-admin,joshiste/spring-boot-admin
vue
## Code Before: <!-- - Copyright 2014-2018 the original author or authors. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 -...
b98a9e1f36d26c6353eeefd8d9dec156288cbd65
scss/_news.scss
scss/_news.scss
[name="news-tab"] { div.field-item { p, h1, h2, h3, h4, h5, h6, li { font-size: 1.45em; line-height: 1.45em; @include breakpoint($medium) { font-size: 1.35em; line-height: 1.35em; } } } > img { width: 100%; height: auto; max-width: 640px !important; clear: both; } }
[name="news-tab"] { div.field-item { p, h1, h2, h3, h4, h5, h6 { font-size: 1.45em; line-height: 1.45em; @include breakpoint($medium) { font-size: 1.15em; line-height: 1.15em; } } } img { width: 100%; height: auto; max-width: 640px !important; clear: both; display: block; ...
Add newline after images in news posts
Add newline after images in news posts
SCSS
agpl-3.0
EFForg/actioncenter-mobile,EFForg/actioncenter-mobile,EFForg/actioncenter-mobile
scss
## Code Before: [name="news-tab"] { div.field-item { p, h1, h2, h3, h4, h5, h6, li { font-size: 1.45em; line-height: 1.45em; @include breakpoint($medium) { font-size: 1.35em; line-height: 1.35em; } } } > img { width: 100%; height: auto; max-width: 640px !important; clear: both...
de68479a0924896f0e8e67819c8b078bde86489f
_events/open-source.md
_events/open-source.md
--- layout: events title: Open source event-date: August 10th location: MaxCDN tag-line: Contribute to open source! --- Find and work on open source projects from aroud the web. We invite members from different projects to give a short talk about there project and work with the group to contribute.
--- layout: events title: Open source event-date: August 10th location: MaxCDN tag-line: Contribute to open source! rsvp: https://www.meetup.com/la-fullstack/events/233276392/ --- Join us to dive into open source projects. Get ready to roll up your sleeves and get to the code. Everyone is encouraged to improve open so...
Clean up Open source event.
Clean up Open source event.
Markdown
apache-2.0
fullstackla/fullstackla.github.io,fullstackla/fullstackla.github.io,fullstackla/fullstackla.github.io,fullstackla/fullstackla.github.io
markdown
## Code Before: --- layout: events title: Open source event-date: August 10th location: MaxCDN tag-line: Contribute to open source! --- Find and work on open source projects from aroud the web. We invite members from different projects to give a short talk about there project and work with the group to contribute. ##...
92ca910a49c64e256fba9491b8f0fbbc69402586
www/content/template.html
www/content/template.html
<html> <head> <title>Vulkano</title> <link rel="stylesheet" type="text/css" href="/style.css" /> </head> <body> <header> <h1>Vulkano</h1> </header> <section id="body-main"> {{{body}}} </section> </body> </html>
<html> <head> <title>Vulkano</title> <link rel="stylesheet" type="text/css" href="/style.css" /> </head> <body> <a href="https://github.com/tomaka/vulkano"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://camo.githubusercontent.com/52760788cde945287fbb58413...
Add fork me on github ribbon
Add fork me on github ribbon
HTML
apache-2.0
vulkano-rs/vulkano
html
## Code Before: <html> <head> <title>Vulkano</title> <link rel="stylesheet" type="text/css" href="/style.css" /> </head> <body> <header> <h1>Vulkano</h1> </header> <section id="body-main"> {{{body}}} </section> </body> </html> ##...
b80271622b081ee0bbe074859908861cf9d83adf
Setup.hs
Setup.hs
import Distribution.Simple import System.Process main = do hooks <- buildJS simpleUserHooks defaultMainWithHooks hooks buildJS hooks = do let originalpreBuild = preBuild hooks return $ hooks { preBuild = \args flags -> do let npmbuild = proc "sh" ["./scripts/buildjs.sh"] (_, _, _, buildHandl...
import Distribution.Simple import System.Process main = do hooks <- buildJS simpleUserHooks defaultMainWithHooks hooks buildJS hooks = do let originalPostBuild = postBuild hooks return $ hooks { postBuild = \args flags pkgDesc localBuildInfo -> do let npmbuild = proc "sh" ["./scripts/buildjs.sh"] ...
Switch to post build for JS build (speeds up build cycle)
Switch to post build for JS build (speeds up build cycle)
Haskell
bsd-3-clause
aelve/guide,aelve/guide,aelve/guide,aelve/guide,aelve/hslibs
haskell
## Code Before: import Distribution.Simple import System.Process main = do hooks <- buildJS simpleUserHooks defaultMainWithHooks hooks buildJS hooks = do let originalpreBuild = preBuild hooks return $ hooks { preBuild = \args flags -> do let npmbuild = proc "sh" ["./scripts/buildjs.sh"] (_, ...
4111c5fadf4da100f56e9940fdd0a11b51f78fc1
packages/truffle-workflow-compile/utils.js
packages/truffle-workflow-compile/utils.js
const Config = require("truffle-config"); const expect = require("truffle-expect"); const Resolver = require("truffle-resolver"); const Artifactor = require("truffle-artifactor"); function prepareConfig(options) { expect.options(options, ["contracts_build_directory"]); expect.one(options, ["contracts_directory", ...
const Config = require("truffle-config"); const expect = require("truffle-expect"); const Resolver = require("truffle-resolver"); const Artifactor = require("truffle-artifactor"); function prepareConfig(options) { expect.options(options, ["contracts_build_directory"]); expect.one(options, ["contracts_directory", ...
Fix byContractName to support either name name
Fix byContractName to support either name name
JavaScript
mit
ConsenSys/truffle
javascript
## Code Before: const Config = require("truffle-config"); const expect = require("truffle-expect"); const Resolver = require("truffle-resolver"); const Artifactor = require("truffle-artifactor"); function prepareConfig(options) { expect.options(options, ["contracts_build_directory"]); expect.one(options, ["contra...
ac55b72a85f5967224eb9d31d445a149e1508b16
.travis.yml
.travis.yml
language: go go: - 1.1 - 1.2 - 1.3 - 1.4 - 1.5 - release - tip install: - go get -v ./... # "go get" on 1.1 doesn't get test dependencies apparently. - go get gopkg.in/check.v1 sudo: false
language: go go: - 1.2 - 1.3 - 1.4 - 1.5 - 1.6 - tip before_install: - go get -v golang.org/x/tools/cmd/vet - go get -v github.com/golang/lint/golint script: - go test -race -cpu 1,4 -v - go test -race -v -tags appengine - go vet ./... - golint . sudo: false
Add 1.6. Remove 1.1. More tests.
Travis: Add 1.6. Remove 1.1. More tests.
YAML
isc
oschwald/geoip2-golang
yaml
## Code Before: language: go go: - 1.1 - 1.2 - 1.3 - 1.4 - 1.5 - release - tip install: - go get -v ./... # "go get" on 1.1 doesn't get test dependencies apparently. - go get gopkg.in/check.v1 sudo: false ## Instruction: Travis: Add 1.6. Remove 1.1. More tests. ## Code After: language: go go: - 1.2 ...
b47e53cfa113ea3e9d74ab1f9d52769daf796a33
library/src/pivotal-ui/components/collapse/package.json
library/src/pivotal-ui/components/collapse/package.json
{ "homepage": "http://styleguide.pivotal.io/", "dependencies": { "pui-css-bootstrap": "^5.3.0", "pui-css-dividers": "^5.3.0" }, "version": "5.3.0" }
{ "homepage": "http://styleguide.pivotal.io/", "dependencies": { "pui-css-bootstrap": "^5.3.0", "pui-css-dividers": "^5.3.0", "pui-css-iconography": "^5.3.0" }, "version": "5.3.0" }
Add pui-css-iconography dependency to pui-css-collapse
fix(dependencies): Add pui-css-iconography dependency to pui-css-collapse [#128633389]
JSON
mit
sjolicoeur/pivotal-ui,pivotal-cf/pivotal-ui,pivotal-cf/pivotal-ui,sjolicoeur/pivotal-ui,sjolicoeur/pivotal-ui,sjolicoeur/pivotal-ui,pivotal-cf/pivotal-ui
json
## Code Before: { "homepage": "http://styleguide.pivotal.io/", "dependencies": { "pui-css-bootstrap": "^5.3.0", "pui-css-dividers": "^5.3.0" }, "version": "5.3.0" } ## Instruction: fix(dependencies): Add pui-css-iconography dependency to pui-css-collapse [#128633389] ## Code After: { "homepage": "ht...
5921336a8d7647c39b346619c7f4ba228e4af567
circle.yml
circle.yml
machine: environment: PATH: ~/.local/bin:~/spark/bin:$PATH checkout: post: - git submodule update --recursive --init dependencies: cache_directories: - "~/.stack" override: # Work around who knows what ld.bfd bug. - sudo update-alternatives --install "/usr/bin/ld" "ld" "/usr/bin/ld.gold" 20 - s...
machine: environment: PATH: ~/.local/bin:~/spark/bin:$PATH services: - docker checkout: post: - git submodule update --recursive --init dependencies: cache_directories: - "~/.stack" override: - mkdir -p ~/.local/bin - curl -L --retry 3 https://www.stackage.org/stack/linux-x86_64 | tar xz --wi...
Make the CI build be stack --docker based.
Make the CI build be stack --docker based. In this way, we get to test that things still build fine in the Docker image. As a side effect, we also get to exercise the nix-shell too, since Docker uses it internally. This change has the added benefit of making the CI steps shorter and simpler.
YAML
bsd-3-clause
tweag/sparkle,tweag/sparkle
yaml
## Code Before: machine: environment: PATH: ~/.local/bin:~/spark/bin:$PATH checkout: post: - git submodule update --recursive --init dependencies: cache_directories: - "~/.stack" override: # Work around who knows what ld.bfd bug. - sudo update-alternatives --install "/usr/bin/ld" "ld" "/usr/bin/l...
056485c1c62b3ea221eeef2b454cafcb690ec8f1
src/es/ucm/fdi/tp/views/swing/MessagesBox.java
src/es/ucm/fdi/tp/views/swing/MessagesBox.java
package es.ucm.fdi.tp.views.swing; public class MessagesBox extends ScrollableTextarea { private static final long serialVersionUID = 768586332299945974L; public MessagesBox() { super(); } public MessagesBox(String text) { super(text); } public MessagesBox(int rows, int cols) { super(rows,cols); }...
package es.ucm.fdi.tp.views.swing; import javax.swing.border.TitledBorder; public class MessagesBox extends ScrollableTextarea { private static final long serialVersionUID = 768586332299945974L; public MessagesBox() { super(); } public MessagesBox(String text) { super(text); } public MessagesBox(int...
Add missing border to messages box
Add missing border to messages box
Java
apache-2.0
ggrupo/ataxx
java
## Code Before: package es.ucm.fdi.tp.views.swing; public class MessagesBox extends ScrollableTextarea { private static final long serialVersionUID = 768586332299945974L; public MessagesBox() { super(); } public MessagesBox(String text) { super(text); } public MessagesBox(int rows, int cols) { supe...
94b86c084283d957347c9e574fc5b6c625a940cf
.github/workflows/release.yml
.github/workflows/release.yml
on: push: branches: - master jobs: release: name: Release to GitHub runs-on: ubuntu-latest steps: - name: Checkout repository uses: actions/checkout@v2 - name: Build v86 run: make build/libv86.js useacpi=true - name: Release to GitHub uses: marvinp...
on: push: branches: - master jobs: release: name: Release to GitHub runs-on: ubuntu-latest steps: - name: Checkout repository uses: actions/checkout@v2 - name: Build v86 run: make build/libv86.js useacpi=true - name: Release to GitHub uses: marvinp...
Include sourcemap in automatic builds
Include sourcemap in automatic builds
YAML
bsd-2-clause
copy/v86,copy/v86,copy/v86,copy/v86,copy/v86,copy/v86,copy/v86
yaml
## Code Before: on: push: branches: - master jobs: release: name: Release to GitHub runs-on: ubuntu-latest steps: - name: Checkout repository uses: actions/checkout@v2 - name: Build v86 run: make build/libv86.js useacpi=true - name: Release to GitHub ...
204e9809866fbf27ab541e0bb8db3a716d296eac
readme.md
readme.md
A project to honor those developers who believed in the challenge. ## How to add yourself to this public list? 1. fork the repository 2. install all dependencies with `npm install` 3. add your username in `challengers.js` 5. send a Pull Request ## How to help us? 1. Fork it! 2. Create your feature branch: git chec...
A project to honor those developers who believed in the challenge. ## How to add yourself to this public list? 1. fork the repository 2. install all dependencies with `npm install` 3. add your username in `challengers.js` 5. send a Pull Request ## How to help us? 1. Fork it! 2. Create your feature branch: git chec...
Fix typo in creator's name and add license link
Fix typo in creator's name and add license link
Markdown
mit
arthurvasconcelos/write-code-every-day,marabesi/write-code-every-day,raphamorim/write-code-every-day,Rodrigo54/write-code-every-day,arthurvasconcelos/write-code-every-day,welksonramos/write-code-every-day,rafaelfragosom/write-code-every-day,hocraveiro/write-code-every-day,AgtLucas/write-code-every-day,Rodrigo54/write-c...
markdown
## Code Before: A project to honor those developers who believed in the challenge. ## How to add yourself to this public list? 1. fork the repository 2. install all dependencies with `npm install` 3. add your username in `challengers.js` 5. send a Pull Request ## How to help us? 1. Fork it! 2. Create your feature ...
e3e58bf7ecfc9420ac60f41e52e0ba3089aa46ba
static/css/teslaworks.css
static/css/teslaworks.css
/* General */ a { color: #1a80f7; } a:hover, a:focus { color: #166dd2; } /* Masthead stuff */ .nav-pills > .active > a, .nav-pills > .active > a:hover, .nav-pills > .active > a:focus { background-color: #1a80f7; } /* Project leader stuff */ .leader-name { display: inline-block; margin-top: 0; ...
/* General */ a { color: #257dff; } a:hover, a:focus { color: #1f6ad9; } /* Masthead stuff */ .nav-pills > .active > a, .nav-pills > .active > a:hover, .nav-pills > .active > a:focus { background-color: #257dff; } /* Project leader stuff */ .leader-name { display: inline-block; margin-top: 0; ...
Stop using crappy digital color meter mode
Stop using crappy digital color meter mode Fix bright blue
CSS
mit
teslaworksumn/teslaworks.net,teslaworksumn/teslaworks.net
css
## Code Before: /* General */ a { color: #1a80f7; } a:hover, a:focus { color: #166dd2; } /* Masthead stuff */ .nav-pills > .active > a, .nav-pills > .active > a:hover, .nav-pills > .active > a:focus { background-color: #1a80f7; } /* Project leader stuff */ .leader-name { display: inline-block; ...
d13db290e996e60e9261e3430abb1f1436abeb2c
base.css
base.css
/* ========================================================================== Base ========================================================================== */ /** * A thin layer on top of normalize.css that provides a starting point more * suitable for web applications. Removes the default spacing and border...
/* ========================================================================== Base ========================================================================== */ /** * A thin layer on top of normalize.css that provides a starting point more * suitable for web applications. Removes the default spacing and border...
Add `!important` to the tabindex rule
Add `!important` to the tabindex rule This style should apply irrespective of the specificity of other rules, e.g., `:focus` rules applied in SUIT components.
CSS
mit
oleersoy/base,suitcss/base,oleersoy/base,suitcss/base
css
## Code Before: /* ========================================================================== Base ========================================================================== */ /** * A thin layer on top of normalize.css that provides a starting point more * suitable for web applications. Removes the default sp...
f0448bb4ffe391aa2609c30f80949c041979dfdf
examples/basic/src/components/HelloChild.js
examples/basic/src/components/HelloChild.js
import React, { PropTypes } from 'react' import { connect } from 'react-redux' const HelloChild = ({ path }) => ( <div> Hello-Child at path {path} </div> ) HelloChild.propTypes = { path: PropTypes.string, } const mapStateToProps = state => ({ path: state.router.location.pathname, }) export default conne...
import React, { PropTypes } from 'react' import { connect } from 'react-redux' import { Link } from 'react-router-dom' const HelloChild = ({ pathname, search, hash }) => ( <div> Hello-Child <ul> <li><Link to="/hello?color=Blue&size=40">with query string</Link></li> <li><Link to="/hello#lovelove">...
Change basic example to show querystring and hash
Change basic example to show querystring and hash
JavaScript
mit
supasate/connected-react-router
javascript
## Code Before: import React, { PropTypes } from 'react' import { connect } from 'react-redux' const HelloChild = ({ path }) => ( <div> Hello-Child at path {path} </div> ) HelloChild.propTypes = { path: PropTypes.string, } const mapStateToProps = state => ({ path: state.router.location.pathname, }) expo...
feb0ecd14c35c5694803db38e0d1f5644a5b7d3d
src/node/server.js
src/node/server.js
var http = require("http"); function onRequest(request, response) { console.log("Request received."); response.writeHead(200, {"Content-Type": "text/plain"}); response.write("Hello World"); response.end(); } http.createServer(onRequest).listen(8888); console.log("Server has started.");
var http = require("http"); function start() { function onRequest(request, response) { console.log("Request received."); response.writeHead(200, {"Content-Type": "text/plain"}); response.write("Hello World"); response.end(); } http.createServer(onRequest).listen(8888); console.log("Server has started."); ...
Package the script with a `start` function
Package the script with a `start` function
JavaScript
apache-2.0
Rholais/txfs,Rholais/txfs,Rholais/txfs
javascript
## Code Before: var http = require("http"); function onRequest(request, response) { console.log("Request received."); response.writeHead(200, {"Content-Type": "text/plain"}); response.write("Hello World"); response.end(); } http.createServer(onRequest).listen(8888); console.log("Server has started."); ## Instru...
58f76cc9aced2abecc691923f174455ecebf601b
CONTRIBUTING.md
CONTRIBUTING.md
To contribute to Pika, please make sure that any new features or changes to existing functionality **include test coverage**. *Pull requests that add or change code without coverage have a much lower chance of being accepted.* ## Prerequisites Pika test suite has a couple of requirements: * Dependencies from `te...
To contribute to Pika, please make sure that any new features or changes to existing functionality **include test coverage**. *Pull requests that add or change code without coverage have a much lower chance of being accepted.* ## Prerequisites Pika test suite has a couple of requirements: * Dependencies from `te...
Add a note about how to run tests
Add a note about how to run tests
Markdown
bsd-3-clause
Zephor5/pika,vitaly-krugl/pika,pika/pika
markdown
## Code Before: To contribute to Pika, please make sure that any new features or changes to existing functionality **include test coverage**. *Pull requests that add or change code without coverage have a much lower chance of being accepted.* ## Prerequisites Pika test suite has a couple of requirements: * Depen...
8e149bedc5cf185cd541e6b3a20b52738ebf0edf
src/main/java/sizebay/catalog/client/model/DevolutionSummary.java
src/main/java/sizebay/catalog/client/model/DevolutionSummary.java
package sizebay.catalog.client.model; import lombok.AllArgsConstructor; import lombok.Getter; import lombok.Setter; @Getter @Setter @AllArgsConstructor public class DevolutionSummary { private Long id; private long tenantId; private int insertedReturns; private int invalidReturns; private int totalReturns; }
package sizebay.catalog.client.model; import lombok.Getter; import lombok.Setter; @Getter @Setter public class DevolutionSummary { private Long id; private long tenantId; private int insertedReturns; private int invalidReturns; private int totalReturns; public DevolutionSummary(long tenantId) { this.setTena...
Create constructor in devolutionSummary class
feat: Create constructor in devolutionSummary class
Java
apache-2.0
sizebay/Sizebay-Catalog-API-Client,sizebay/Sizebay-Catalog-API-Client
java
## Code Before: package sizebay.catalog.client.model; import lombok.AllArgsConstructor; import lombok.Getter; import lombok.Setter; @Getter @Setter @AllArgsConstructor public class DevolutionSummary { private Long id; private long tenantId; private int insertedReturns; private int invalidReturns; private int to...
d2059acc4c6af876aa432896b35042e4c322392f
content/websites/patterns/lists-pulse/layout.html
content/websites/patterns/lists-pulse/layout.html
{{#markdown}} {{> lists-pulse}} {{/markdown}}
{{#markdown}} Note: this pattern's name and content is due for updating, likely to be broken into several card-style patterns. {{> lists-pulse}} {{/markdown}}
Add note to lists pattern
Add note to lists pattern
HTML
mit
ebiwd/EBI-Style-lab,ebiwd/EBI-Style-lab,ebiwd/EBI-Style-lab
html
## Code Before: {{#markdown}} {{> lists-pulse}} {{/markdown}} ## Instruction: Add note to lists pattern ## Code After: {{#markdown}} Note: this pattern's name and content is due for updating, likely to be broken into several card-style patterns. {{> lists-pulse}} {{/markdown}}
6881dd97ea3eafa3788cdf13e8443789271cf7a9
.github/workflows/windows.yaml
.github/workflows/windows.yaml
name: CI for Windows # https://github.com/google/mozc/blob/master/docs/build_mozc_in_windows.md # Run on push. on: push # Prevent previous workflows from running. concurrency: group: ${{ github.workflow }}-${{ github.head_ref || github.ref }} cancel-in-progress: true jobs: build: # https://github.com/actio...
name: CI for Windows # https://github.com/google/mozc/blob/master/docs/build_mozc_in_windows.md # Run on push. on: push # Prevent previous workflows from running. concurrency: group: ${{ github.workflow }}-${{ github.head_ref || github.ref }} cancel-in-progress: true jobs: build: # https://github.com/actio...
Update the Windows vm from 2016 to 2019.
Update the Windows vm from 2016 to 2019. PiperOrigin-RevId: 432878619
YAML
bsd-3-clause
fcitx/mozc,google/mozc,google/mozc,google/mozc,fcitx/mozc,google/mozc,fcitx/mozc,fcitx/mozc,google/mozc,fcitx/mozc
yaml
## Code Before: name: CI for Windows # https://github.com/google/mozc/blob/master/docs/build_mozc_in_windows.md # Run on push. on: push # Prevent previous workflows from running. concurrency: group: ${{ github.workflow }}-${{ github.head_ref || github.ref }} cancel-in-progress: true jobs: build: # https://...
b8dbdc368b6db46de50f7eecf7a7a31b4822aa00
.travis.yml
.travis.yml
language: go go: - 1.4 - 1.5 - 1.6 - tip before_install: - "if [[ $TRAVIS_GO_VERSION == 1.6 ]]; then go get -v github.com/golang/lint/golint; fi" script: - go test -race -cpu 1,4 -v - go test -race -v -tags appengine - "if [[ $TRAVIS_GO_VERSION == 1.6 ]]; then go vet ./...; fi" - "if [[ $TRAVIS_GO_VERS...
language: go go: - 1.4 - 1.5 - 1.6 - tip matrix: allow_failures: - go: tip before_install: - "if [[ $TRAVIS_GO_VERSION == 1.6 ]]; then go get -v github.com/golang/lint/golint; fi" script: - go test -race -cpu 1,4 -v - go test -race -v -tags appengine - "if [[ $TRAVIS_GO_VERSION == 1.6 ]]; then go ...
Allow failure on Go tip
Allow failure on Go tip
YAML
isc
oschwald/geoip2-golang
yaml
## Code Before: language: go go: - 1.4 - 1.5 - 1.6 - tip before_install: - "if [[ $TRAVIS_GO_VERSION == 1.6 ]]; then go get -v github.com/golang/lint/golint; fi" script: - go test -race -cpu 1,4 -v - go test -race -v -tags appengine - "if [[ $TRAVIS_GO_VERSION == 1.6 ]]; then go vet ./...; fi" - "if [[...
c7ad934bcea57e824c9065bb4e0d068a036c2cd2
packages/meta/cross-linkage_1.0.bb
packages/meta/cross-linkage_1.0.bb
DESCRIPTION = "cross-linkage sets up symlinks between cross and staging so the compiler can find things" SECTION = "devel" PACKAGES = "" INHIBIT_DEFAULT_DEPS = "1" PR = "r0" SRC_URI = "" do_configure() { : } do_compile () { : } do_install() { : } do_stage () { install -d ${CROSS_DIR}/${TARGET_SYS}/ rm -rf ${...
DESCRIPTION = "cross-linkage sets up symlinks between cross and staging so the compiler can find things" SECTION = "devel" PACKAGES = "" INHIBIT_DEFAULT_DEPS = "1" PR = "r0" SRC_URI = "" do_configure() { : } do_compile () { : } do_install() { : } do_stage () { install -d ${CROSS_DIR}/${TARGET_SYS}/ if [ -e $...
Make it less destructive and safer
cross-linkage: Make it less destructive and safer
BitBake
mit
philb/pbcl-oe-2010,KDAB/OpenEmbedded-Archos,BlackPole/bp-openembedded,hulifox008/openembedded,crystalfontz/openembedded,dellysunnymtech/sakoman-oe,libo/openembedded,scottellis/overo-oe,buglabs/oe-buglabs,dellysunnymtech/sakoman-oe,YtvwlD/od-oe,demsey/openenigma2,giobauermeister/openembedded,demsey/openembedded,dellysun...
bitbake
## Code Before: DESCRIPTION = "cross-linkage sets up symlinks between cross and staging so the compiler can find things" SECTION = "devel" PACKAGES = "" INHIBIT_DEFAULT_DEPS = "1" PR = "r0" SRC_URI = "" do_configure() { : } do_compile () { : } do_install() { : } do_stage () { install -d ${CROSS_DIR}/${TARGET_...
2aab0acaa67d677d82ee55497b448608d09e5ac9
package.json
package.json
{ "name": "Tasker", "version": "0.0.1", "description": "Every Day Tasks Manager", "main": "server.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "engines": { "node": "0.10.x", "npm": "1.3.x" }, "author": "Nikolay Naidenov", "license": "MIT", "dependencies": ...
{ "name": "Tasker", "version": "0.0.1", "description": "Every Day Tasks Manager", "main": "server.js", "scripts": { "postinstall": "./node_modules/bower/bin/bower install" } "engines": { "node": "0.10.x", "npm": "1.3.x" }, "author": "Nikolay Naidenov", "license": "MIT", "dependencies":...
Add postinstall command in Package - install Bower
Add postinstall command in Package - install Bower
JSON
mit
nnaidenov/Tasker
json
## Code Before: { "name": "Tasker", "version": "0.0.1", "description": "Every Day Tasks Manager", "main": "server.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "engines": { "node": "0.10.x", "npm": "1.3.x" }, "author": "Nikolay Naidenov", "license": "MIT", ...
95cc8249ca12360c51f30a7f99bb651245325ee1
app/views/notifications/edition_published.text.erb
app/views/notifications/edition_published.text.erb
Hello, The <%= @edition.format_name %> '<%= @edition.title %>' is published. It's now available at the following url: <%= @public_url %> New content will be live immediately, changes to previously published content can take up to 15 minutes. A blog post that explains more is at the following url: https://insidegovuk....
Hello, The <%= @edition.format_name %> '<%= @edition.title %>' is published. It's now available at the following url: <%= @public_url %> New content goes live immediately but changes to previously published content can take up to 15 minutes. The GOV.UK publishing manual has more detail: https://www.gov.uk/guidance/ho...
Update email for a new edition being published
Update email for a new edition being published This blog post is 2 years old and we've written some better guidance in a better place.
HTML+ERB
mit
alphagov/whitehall,alphagov/whitehall,alphagov/whitehall,alphagov/whitehall
html+erb
## Code Before: Hello, The <%= @edition.format_name %> '<%= @edition.title %>' is published. It's now available at the following url: <%= @public_url %> New content will be live immediately, changes to previously published content can take up to 15 minutes. A blog post that explains more is at the following url: http...
55e574ccf7653ee9cae704ebdf8e83e64442873f
app/views/reviews/new.html.erb
app/views/reviews/new.html.erb
<div class="container col s12"> <h4 class="col s12"><span class="category-title">Review Me!</span></h4> <%= render '/errors' %> <%= form_for :review, url: user_reviews_path do |f| %> <%= f.label "How do you feel about your host?" %> <%= f.select(:score, [['Terrible host, score: 1', 1], ['Bad host, score: 2',...
<div class="container col s12"> <h4 class="col s12"><span class="category-title">Review Me!</span></h4> <%= render '/errors' %> <%= form_for :review, url: user_reviews_path do |f| %> <h5><span class="category-title">How do you feel about your experience?</span></h5> <%= f.select(:score, [['Terrible, score: 1...
Complete improvmenets on user review form
Complete improvmenets on user review form
HTML+ERB
mit
Aslonski/Global-Host,Aslonski/Global-Host,Aslonski/Global-Host
html+erb
## Code Before: <div class="container col s12"> <h4 class="col s12"><span class="category-title">Review Me!</span></h4> <%= render '/errors' %> <%= form_for :review, url: user_reviews_path do |f| %> <%= f.label "How do you feel about your host?" %> <%= f.select(:score, [['Terrible host, score: 1', 1], ['Bad ...
d9559c610d4c44f6125c0bd9285a02e589407ea2
lib/fog/core/deprecated/connection.rb
lib/fog/core/deprecated/connection.rb
require "fog/xml" module Fog # @deprecated Use {Fog::Core::Connection} or {XML::SAXParserConnection} if you # require the response body to be parsed. # # The Connection class is a wrapper around an instance of Excon::Connection # supporting {#request} and {#reset} only. # # {#request} includes an optio...
require "fog/xml" module Fog # @deprecated Use {Fog::Core::Connection} or {XML::SAXParserConnection} if you # require the response body to be parsed. # # The Connection class is a wrapper around an instance of Excon::Connection # supporting {#request} and {#reset} only. # # {#request} includes an optio...
Fix typo: Fog::Connection is deprecated, not Fog::XML::Connection.
Fix typo: Fog::Connection is deprecated, not Fog::XML::Connection. Commit 0e1daf3d did a mass rename and accidentally renamed the intended deprecated method.
Ruby
mit
adecarolis/fog,icco/fog,brilliomsinterop/fog,eLobato/fog,sapcc/fog,dustacio/fog,unorthodoxgeek/fog,dLobatog/fog,kongslund/fog,joshisa/fog,nandhanurrevanth/fog,pravi/fog,zephyrean/fog,rackspace/fog,10io/fog,unorthodoxgeek/fog,fog/fog,dhague/fog,Programatica/fog,mitchlloyd/fog,theforeman/fog,asebastian-r7/fog,pravi/fog,m...
ruby
## Code Before: require "fog/xml" module Fog # @deprecated Use {Fog::Core::Connection} or {XML::SAXParserConnection} if you # require the response body to be parsed. # # The Connection class is a wrapper around an instance of Excon::Connection # supporting {#request} and {#reset} only. # # {#request} i...
72b7b600cdf4d2470fd9aaf97c941578f7f7a517
setup.cfg
setup.cfg
[bumpversion] current_version = 1.2.1 commit = True tag = True [bumpversion:file:setup.py] [bumpversion:file:cookiecutter/__init__.py] [flake8] ignore = E731 [bdist_wheel] universal = 1
[bumpversion] current_version = 1.2.1 commit = True tag = True tag_name = {new_version} [bumpversion:file:setup.py] [bumpversion:file:cookiecutter/__init__.py] [flake8] ignore = E731 [bdist_wheel] universal = 1
Update tag naming scheme of bumpversion
Update tag naming scheme of bumpversion
INI
bsd-3-clause
Springerle/cookiecutter,hackebrot/cookiecutter,Springerle/cookiecutter,michaeljoseph/cookiecutter,hackebrot/cookiecutter,stevepiercy/cookiecutter,terryjbates/cookiecutter,luzfcb/cookiecutter,dajose/cookiecutter,audreyr/cookiecutter,willingc/cookiecutter,pjbull/cookiecutter,stevepiercy/cookiecutter,pjbull/cookiecutter,d...
ini
## Code Before: [bumpversion] current_version = 1.2.1 commit = True tag = True [bumpversion:file:setup.py] [bumpversion:file:cookiecutter/__init__.py] [flake8] ignore = E731 [bdist_wheel] universal = 1 ## Instruction: Update tag naming scheme of bumpversion ## Code After: [bumpversion] current_version = 1.2.1 commi...
1af0d783f78e948bcfe3695172395b7a39f323d3
README.md
README.md
MetPy is a collection of tools in Python for reading, visualizing and performing calculations with weather data. [![Build Status](https://travis-ci.org/metpy/MetPy.svg)](https://travis-ci.org/metpy/MetPy) MetPy is still in an early stage of development, and as such **no APIs are considered stable.** While we won't br...
MetPy is a collection of tools in Python for reading, visualizing and performing calculations with weather data. [![Build Status](https://travis-ci.org/metpy/MetPy.svg?branch=master)](https://travis-ci.org/metpy/MetPy) MetPy is still in an early stage of development, and as such **no APIs are considered stable.** Whi...
Make sure Travis badge points to master.
Make sure Travis badge points to master.
Markdown
bsd-3-clause
deeplycloudy/MetPy,ahaberlie/MetPy,Unidata/MetPy,ShawnMurd/MetPy,ahaberlie/MetPy,jrleeman/MetPy,dopplershift/MetPy,Unidata/MetPy,jrleeman/MetPy,ahill818/MetPy,dopplershift/MetPy
markdown
## Code Before: MetPy is a collection of tools in Python for reading, visualizing and performing calculations with weather data. [![Build Status](https://travis-ci.org/metpy/MetPy.svg)](https://travis-ci.org/metpy/MetPy) MetPy is still in an early stage of development, and as such **no APIs are considered stable.** W...
25a9d381ab5e2f19cf3dd762ae64a884ac05a0b6
.travis.yml
.travis.yml
language: csharp solution: src/SME.sln install: - nuget restore src/SME.sln script: - xbuild /p:Configuration=Release src/SME.sln - cd "$TRAVIS_BUILD_DIR/src/Examples/ColorBin/bin/Release" && mono ./src/Examples/ColorBin/bin/Release/ColorBin.exe - cd "$TRAVIS_BUILD_DIR/src/Examples/SimpleTrader/bin/Release" && ...
language: csharp solution: src/SME.sln install: - apt get install ghdl - nuget restore src/SME.sln script: - xbuild /p:Configuration=Release src/SME.sln - cd "$TRAVIS_BUILD_DIR/src/Examples/ColorBin/bin/Release" && mono ColorBin.exe - cd "$TRAVIS_BUILD_DIR/src/Examples/SimpleTrader/bin/Release" && mono Simple...
Update to relative paths and install ghdl
Update to relative paths and install ghdl
YAML
mit
kenkendk/sme,kenkendk/sme,kenkendk/sme,kenkendk/sme
yaml
## Code Before: language: csharp solution: src/SME.sln install: - nuget restore src/SME.sln script: - xbuild /p:Configuration=Release src/SME.sln - cd "$TRAVIS_BUILD_DIR/src/Examples/ColorBin/bin/Release" && mono ./src/Examples/ColorBin/bin/Release/ColorBin.exe - cd "$TRAVIS_BUILD_DIR/src/Examples/SimpleTrader/...
94e3cae004a0af4346eeb128e67efae48c05ebe3
templates/mongoid/features/support/hooks.rb
templates/mongoid/features/support/hooks.rb
Before do |scenario| Mongoid.master.collections.reject { |c| c.name == 'system.indexes'}.each(&:drop) end
Before do |scenario| Mongoid.master.collections.select {|c| c.name !~ /system/ }.each(&:drop) end
Update mongoid collection drop statement to match rspec version
Update mongoid collection drop statement to match rspec version
Ruby
mit
kfaustino/rails-templater,bodefuwa/rails-templater,bodefuwa/rails-templater
ruby
## Code Before: Before do |scenario| Mongoid.master.collections.reject { |c| c.name == 'system.indexes'}.each(&:drop) end ## Instruction: Update mongoid collection drop statement to match rspec version ## Code After: Before do |scenario| Mongoid.master.collections.select {|c| c.name !~ /system/ }.each(&:drop) end
c6c4e9fb9d3595b742e9e1c335765ae1aee291b5
reports-management.md
reports-management.md
--- title: Reports Management page_title: Reports Management description: Reports Management slug: reports-management tags: reports,management published: True position: 500 --- # Reports Management In the **Reports** view you can manage the reports which reside on the server. The Reports view provides the followin...
--- title: Reports Management page_title: Reports Management description: Reports Management slug: reports-management tags: reports,management published: True position: 500 --- # Reports Management In the **Reports** view you can manage the reports which reside on the server. The Reports view provides the followin...
Update reports view UI description
Update reports view UI description
Markdown
apache-2.0
ighristov/report-server-docs,ighristov/report-server-docs,ighristov/report-server-docs,telerik/report-server-docs
markdown
## Code Before: --- title: Reports Management page_title: Reports Management description: Reports Management slug: reports-management tags: reports,management published: True position: 500 --- # Reports Management In the **Reports** view you can manage the reports which reside on the server. The Reports view provi...
95ae08e8117b52df7f5448b785902f184e211485
README.md
README.md
Easy way to find restaurants on your road trip
Easy way to find restaurants on your road trip ### Start development After cloning the repository, get started by running the following commands from the console ``` npm install npm run dev ```
Add instructions for setting up development environment
Add instructions for setting up development environment
Markdown
mit
whamsicore/Along-The-Road,whamsicore/Along-The-Road,Diaphanous-Hamburger/Along-The-Road,janhellmich/Along-The-Road,janhellmich/Along-The-Road,Diaphanous-Hamburger/Along-The-Road
markdown
## Code Before: Easy way to find restaurants on your road trip ## Instruction: Add instructions for setting up development environment ## Code After: Easy way to find restaurants on your road trip ### Start development After cloning the repository, get started by running the following commands from the console ``` n...
d398bbdcb0cac623a4a0a84603d719aade418470
packages/core/src/compileInBrowser.ts
packages/core/src/compileInBrowser.ts
import babelPlugin from "./babelPlugin"; import handleEvalScript from "./handleEvalScript"; import getBabelOptions, { getAndResetLocs } from "./getBabelOptions"; window["__fromJSEval"] = function(code) { function compile(code, url, done) { const babelResult = window["Babel"].transform( code, getBabel...
import babelPlugin from "./babelPlugin"; import handleEvalScript from "./handleEvalScript"; import getBabelOptions, { getAndResetLocs } from "./getBabelOptions"; var Babel = window["Babel"]; delete window["__core-js_shared__"]; // Added by babel standalone, but breaks some lodash tests window["__fromJSEval"] = functi...
Reduce babel standalone side effects
Reduce babel standalone side effects
TypeScript
mit
mattzeunert/FromJS,mattzeunert/FromJS,mattzeunert/FromJS,mattzeunert/FromJS
typescript
## Code Before: import babelPlugin from "./babelPlugin"; import handleEvalScript from "./handleEvalScript"; import getBabelOptions, { getAndResetLocs } from "./getBabelOptions"; window["__fromJSEval"] = function(code) { function compile(code, url, done) { const babelResult = window["Babel"].transform( code...
b9de79d82832ad66a5bf855220aadba2797e6cc7
app/views/accordion-submit.html
app/views/accordion-submit.html
<accordion class="accordion"> <accordion-group ng-init="status = {isOpen: open}" is-open="status.isOpen"> <accordion-heading> <div class="card-action center"> <i class="fa fa-2x gray" ng-class="status.isOpen ? 'fa-angle-up' : 'fa-angle-down'" aria-hidden="true"></i> </div> </accordion-hea...
<accordion class="accordion"> <accordion-group ng-init="status = {isOpen: open}" is-open="status.isOpen"> <accordion-heading> <div class="card-action center" ng-if="element.selftext_html || element.html || element.media || element.preview"> <i class="fa fa-2x gray" ng-class="status.isOpen ? 'fa-angl...
Remove accordion for submissions with no text/image
Style: Remove accordion for submissions with no text/image
HTML
mit
sharibarboza/SubSnoop,sharibarboza/SubSnoop
html
## Code Before: <accordion class="accordion"> <accordion-group ng-init="status = {isOpen: open}" is-open="status.isOpen"> <accordion-heading> <div class="card-action center"> <i class="fa fa-2x gray" ng-class="status.isOpen ? 'fa-angle-up' : 'fa-angle-down'" aria-hidden="true"></i> </div> ...
78fdcb508f82138208d879fe482c06eeccad331a
lib/torkify/log/test_error.rb
lib/torkify/log/test_error.rb
module Torkify::Log class TestError < Struct.new(:filename, :lnum, :text, :type) def clean_text text.strip end end end
module Torkify::Log class TestError attr_accessor :filename, :lnum, :text, :type def initialize(filename, lnum, text, type) @filename = filename @lnum = lnum @text = text @type = type end def clean_text text.strip end end end
Fix superclass mismatch by using struct
Fix superclass mismatch by using struct
Ruby
mit
joonty/torkify
ruby
## Code Before: module Torkify::Log class TestError < Struct.new(:filename, :lnum, :text, :type) def clean_text text.strip end end end ## Instruction: Fix superclass mismatch by using struct ## Code After: module Torkify::Log class TestError attr_accessor :filename, :lnum, :text, :type de...
cb0abab0b95b185194275076be7554726b9179df
lib/sunrise/deploy/recipes/cache.rb
lib/sunrise/deploy/recipes/cache.rb
module Capistrano Configuration.instance(true).load do set :cache_paths, ["tmp/cache", "public/cache"] namespace :cache do desc "Clear all cache in project by 'cache_paths': (tmp/cache, public/cache)" task :clear do Array.wrap(cache_paths).each do |folder| path = File.join(deplo...
module Capistrano Configuration.instance(true).load do set :cache_paths, ["tmp/cache", "public/cache"] namespace :cache do desc "Clear all cache in project by 'cache_paths': (tmp/cache, public/cache)" task :clear do [cache_paths].flatten.each do |folder| path = File.join(deploy_...
Use array flatten rather than wrap
Use array flatten rather than wrap
Ruby
mit
galetahub/sunrise-deploy
ruby
## Code Before: module Capistrano Configuration.instance(true).load do set :cache_paths, ["tmp/cache", "public/cache"] namespace :cache do desc "Clear all cache in project by 'cache_paths': (tmp/cache, public/cache)" task :clear do Array.wrap(cache_paths).each do |folder| path =...
2f1b7da82b5f6c6057475b1efdbcb03cb6479f8b
server/requirements.txt
server/requirements.txt
gunicorn==19.3.0 honcho==0.6.6 python3-ldap==0.9.8.4 behave==1.2.5 wooper==0.4.2 git+git://github.com/superdesk/eve@75aa97d#egg=Eve==0.6.0-dev -e git+git://github.com/superdesk/superdesk-core@7676f6a#egg=Superdesk-Core==0.0.1-dev
gunicorn==19.3.0 honcho==0.6.6 python3-ldap==0.9.8.4 behave==1.2.5 wooper==0.4.2 pymongo==2.8 git+git://github.com/nicolaiarocci/eve@21ac82b#egg=Eve==0.6.0-dev -e git+git://github.com/superdesk/superdesk-core@2f553d15#egg=Superdesk-Core==0.0.1-dev
Prepare for Eve 0.6 release:
Prepare for Eve 0.6 release:
Text
agpl-3.0
fritzSF/superdesk,superdesk/superdesk-ntb,akintolga/superdesk,petrjasek/superdesk-ntb,sjunaid/superdesk,darconny/superdesk,sivakuna-aap/superdesk,plamut/superdesk,amagdas/superdesk,pavlovicnemanja/superdesk,ancafarcas/superdesk,fritzSF/superdesk,ioanpocol/superdesk,ioanpocol/superdesk,superdesk/superdesk-aap,pavlovicne...
text
## Code Before: gunicorn==19.3.0 honcho==0.6.6 python3-ldap==0.9.8.4 behave==1.2.5 wooper==0.4.2 git+git://github.com/superdesk/eve@75aa97d#egg=Eve==0.6.0-dev -e git+git://github.com/superdesk/superdesk-core@7676f6a#egg=Superdesk-Core==0.0.1-dev ## Instruction: Prepare for Eve 0.6 release: ## Code After: gunicorn==1...
35c74b7b9a8448ca633449f974691667ff3d2865
plugins/slack/index.coffee
plugins/slack/index.coffee
NotificationPlugin = require "../../notification-plugin.js" class Slack extends NotificationPlugin @errorAttachment = (event) -> fallback: "Something happened", fields: [ { title: "Error" value: (event.error.exceptionClass + (if event.error.message then ": #{event.error.message}")).trun...
NotificationPlugin = require "../../notification-plugin.js" class Slack extends NotificationPlugin @errorAttachment = (event) -> attachment = fallback: "Something happened", fields: [ { title: "Error" value: (event.error.exceptionClass + (if event.error.message then ": #{e...
Set color by the severity
Set color by the severity
CoffeeScript
mit
jacobmarshall/bugsnag-notification-plugins,korealert/bugsnag-notification-plugins,korealert/bugsnag-notification-plugins,sharesight/bugsnag-notification-plugins,6wunderkinder/bugsnag-notification-plugins,indirect/bugsnag-notification-plugins,kstream001/bugsnag-notification-plugins,cagedata/bugsnag-notification-plugins,...
coffeescript
## Code Before: NotificationPlugin = require "../../notification-plugin.js" class Slack extends NotificationPlugin @errorAttachment = (event) -> fallback: "Something happened", fields: [ { title: "Error" value: (event.error.exceptionClass + (if event.error.message then ": #{event.error....
9494ce3faf614483079b6bfe85ae1f48e8373e22
data/clothing.js
data/clothing.js
const request = require('request'); /** * Function checks that a string given is string with some number of * characters * * @params {string} str string value to check for validity * @return true if the string is valid; otherwise, return false */ function isValidString(str) { if ((str === undefined) || (typeo...
const request = require('request'); /** * Function checks that a string given is string with some number of * characters * * @params {string} str string value to check for validity * @return true if the string is valid; otherwise, return false */ function isValidString(str) { if ((str === undefined) || (typeo...
Refactor to better define data helper
Refactor to better define data helper
JavaScript
mit
tsangjustin/CS546-Product_Forum,tsangjustin/CS546-Product_Forum
javascript
## Code Before: const request = require('request'); /** * Function checks that a string given is string with some number of * characters * * @params {string} str string value to check for validity * @return true if the string is valid; otherwise, return false */ function isValidString(str) { if ((str === unde...
294f5331a2a6d1f4cd55b87df4409672c6b2c652
storage/elasticsearch_storage.py
storage/elasticsearch_storage.py
from storage import Storage class ElasticSearchStorage(Storage): def __init__(self, config_dict): self.db = config_dict['database'] self.host = config_dict['host'] self.port = config_dict['port'] self.username = config_dict['username'] self.password = config_dict['password']...
import json from storage import Storage TASKS = [ {'task_id': 1, 'task_status': 'Complete', 'report_id': 1}, {'task_id': 2, 'task_status': 'Pending', 'report_id': None}, ] REPORTS = [ {'report_id': 1, 'report': {"/tmp/example.log": {"MD5": "53f43f9591749b8cae536ff13e48d6de", "SHA256": "815d310bdbc8684c1163...
Add mocks for es storage
Add mocks for es storage
Python
mpl-2.0
jmlong1027/multiscanner,awest1339/multiscanner,jmlong1027/multiscanner,jmlong1027/multiscanner,jmlong1027/multiscanner,mitre/multiscanner,mitre/multiscanner,awest1339/multiscanner,MITRECND/multiscanner,awest1339/multiscanner,mitre/multiscanner,MITRECND/multiscanner,awest1339/multiscanner
python
## Code Before: from storage import Storage class ElasticSearchStorage(Storage): def __init__(self, config_dict): self.db = config_dict['database'] self.host = config_dict['host'] self.port = config_dict['port'] self.username = config_dict['username'] self.password = config_...
d64b54547445b74bab423913acc8473f98b96e54
software/FormLoader/resources/formloader.properties
software/FormLoader/resources/formloader.properties
upload.file.path=C:\\local formbuilder.detailsAction.url=https://formbuilder-dev.nci.nih.gov/FormBuilder/formDetailsAction.do?method=getFormDetails&formIdSeq= formbuilder.versioning.url=https://wiki.nci.nih.gov/display/caDSR/Business+Rules+for+Versioning+Forms+in+FormBuilder
upload.file.path=/local/content/formloader formbuilder.detailsAction.url=https://formbuilder-dev.nci.nih.gov/FormBuilder/formDetailsAction.do?method=getFormDetails&formIdSeq= formbuilder.versioning.url=https://wiki.nci.nih.gov/display/caDSR/Business+Rules+for+Versioning+Forms+in+FormBuilder
Set upload.file.path for tier deployment.
Set upload.file.path for tier deployment.
INI
bsd-3-clause
NCIP/cadsr-formbuilder,NCIP/cadsr-formbuilder,NCIP/cadsr-formbuilder
ini
## Code Before: upload.file.path=C:\\local formbuilder.detailsAction.url=https://formbuilder-dev.nci.nih.gov/FormBuilder/formDetailsAction.do?method=getFormDetails&formIdSeq= formbuilder.versioning.url=https://wiki.nci.nih.gov/display/caDSR/Business+Rules+for+Versioning+Forms+in+FormBuilder ## Instruction: Set upload....
d9efcc2ff6e127206286479872d05a629f2f6552
default.hbs
default.hbs
<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <title> {{meta_title}} </title> <meta name="description" content="{{meta_description}}" /> <meta name="viewport" content="width=device-width, i...
<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <title> {{meta_title}} </title> <meta name="description" content="{{meta_description}}" /> <meta name="viewport" content="width=device-width, i...
Remove favicon from template as handled by express
Remove favicon from template as handled by express
Handlebars
isc
colinmeinke/kampot,colinmeinke/kampot
handlebars
## Code Before: <!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <title> {{meta_title}} </title> <meta name="description" content="{{meta_description}}" /> <meta name="viewport" content="width...
7e0cc99ffd51577fd3b227df2cbd77a07e20c19a
test/unit/plugins/hosts/windows/cap/ssh_test.rb
test/unit/plugins/hosts/windows/cap/ssh_test.rb
require_relative "../../../../base" require_relative "../../../../../../plugins/hosts/windows/cap/ssh" describe VagrantPlugins::HostWindows::Cap::SSH do let(:subject){ VagrantPlugins::HostWindows::Cap::SSH } let(:result){ Vagrant::Util::Subprocess::Result.new(exit_code, stdout, stderr) } let(:exit_code){ 0 } ...
require_relative "../../../../base" require_relative "../../../../../../plugins/hosts/windows/cap/ssh" describe VagrantPlugins::HostWindows::Cap::SSH do let(:subject){ VagrantPlugins::HostWindows::Cap::SSH } let(:result){ Vagrant::Util::Subprocess::Result.new(exit_code, stdout, stderr) } let(:exit_code){ 0 } ...
Include flag check on ssh cap test
Include flag check on ssh cap test
Ruby
mit
marxarelli/vagrant,marxarelli/vagrant,chrisroberts/vagrant,bryson/vagrant,bryson/vagrant,chrisroberts/vagrant,mitchellh/vagrant,marxarelli/vagrant,sni/vagrant,mitchellh/vagrant,gitebra/vagrant,bryson/vagrant,marxarelli/vagrant,bryson/vagrant,sni/vagrant,chrisroberts/vagrant,sni/vagrant,chrisroberts/vagrant,mitchellh/va...
ruby
## Code Before: require_relative "../../../../base" require_relative "../../../../../../plugins/hosts/windows/cap/ssh" describe VagrantPlugins::HostWindows::Cap::SSH do let(:subject){ VagrantPlugins::HostWindows::Cap::SSH } let(:result){ Vagrant::Util::Subprocess::Result.new(exit_code, stdout, stderr) } let(:ex...
08461a2f61b5a5981a6da9f6ef91a362eed92bfd
pycroft/__init__.py
pycroft/__init__.py
import json, collections, pkgutil class Config(object): def __init__(self): self._config_data = None self._package = "pycroft" self._resource = "config.json" def load(self): data = (pkgutil.get_data(self._package, self._resource) or pkgutil.get_data(self._packa...
import json, collections, pkgutil class Config(object): def __init__(self): self._config_data = None self._package = "pycroft" self._resource = "config.json" def load(self): data = None try: data = pkgutil.get_data(self._package, self._resource) exc...
Fix config loader (bug in commit:5bdf6e47 / commit:eefe7561)
Fix config loader (bug in commit:5bdf6e47 / commit:eefe7561)
Python
apache-2.0
lukasjuhrich/pycroft,agdsn/pycroft,agdsn/pycroft,lukasjuhrich/pycroft,agdsn/pycroft,lukasjuhrich/pycroft,lukasjuhrich/pycroft,agdsn/pycroft,agdsn/pycroft
python
## Code Before: import json, collections, pkgutil class Config(object): def __init__(self): self._config_data = None self._package = "pycroft" self._resource = "config.json" def load(self): data = (pkgutil.get_data(self._package, self._resource) or pkgutil.get_...
d9aa7b0cb26fec665aa90f8580c9a48e8da2d049
app/views/books/_translations.html.erb
app/views/books/_translations.html.erb
<p> This book is translated into <a href="/book/de">German</a>, <a href="/book/zh">Chinese</a>, <a href="/book/fr">French</a>, <a href="/book/ja">Japanese</a> and <a href="/book/nl">Dutch</a>. </p> <p> Partial translations available in <a href="/book/ar">Arabic</a>, <a href="/book/cs">Czech</a>, <...
<p> This book is translated into <a href="/book/de">German</a>, <a href="/book/zh">Chinese</a>, <a href="/book/fr">French</a>, <a href="/book/ja">Japanese</a>, <a href="/book/nl">Dutch</a>, <a href="/book/ru">Russian</a>, <a href="/book/ko">Korean</a>, <a href="/book/pt-br">Brazilian Portugese</a> and ...
Update the list of available languages for the book.
Update the list of available languages for the book. The algorithm applied is quite simple: 1. Run `summary.rb` in the progit working dir 2. Languages with 99% or above are fully translated 3. Languages with 10% or above are partially translated
HTML+ERB
mit
pwz3n0/git-scm.com,gittower/git-scm.com,beni55/git-scm.com,peterkinalex/git-scm.com,MjAbuz/git-scm.com,git/git-scm.com,git/git-scm.com,xyztest/git-scm.com,dscho/git-scm.com,Belthazor2008/git-scm.com,jnavila/gitscm-next,openhardnudd/git-scm.com,virgo075/git-scm.com,Croydon/git-scm.com,mahyoub/git-scm.com,Croydon/git-scm...
html+erb
## Code Before: <p> This book is translated into <a href="/book/de">German</a>, <a href="/book/zh">Chinese</a>, <a href="/book/fr">French</a>, <a href="/book/ja">Japanese</a> and <a href="/book/nl">Dutch</a>. </p> <p> Partial translations available in <a href="/book/ar">Arabic</a>, <a href="/book/cs...
34dfeff044bf90934ff591d3652d8f4f7553f138
setup-files/setup-git-link.el
setup-files/setup-git-link.el
;; Time-stamp: <2016-02-05 16:30:43 kmodi> ;; Git Link ;; https://github.com/sshaw/git-link (use-package git-link :bind (:map region-bindings-mode-map ("g" . modi/git-link-force-hash)) :config (progn (defun modi/git-link-force-hash () "This function is the same as `git-link' except that it co...
;; Time-stamp: <2016-02-17 11:00:18 kmodi> ;; Git Link ;; https://github.com/sshaw/git-link (use-package git-link :bind (:map region-bindings-mode-map ("g" . modi/git-link-force-hash)) :config (progn (defun modi/git-link-force-hash () "This function is the same as `git-link' except that it co...
Add git-link support for emacs source code
Add git-link support for emacs source code - for git.savannah.gnu.org repos
Emacs Lisp
mit
kaushalmodi/.emacs.d,kaushalmodi/.emacs.d
emacs-lisp
## Code Before: ;; Time-stamp: <2016-02-05 16:30:43 kmodi> ;; Git Link ;; https://github.com/sshaw/git-link (use-package git-link :bind (:map region-bindings-mode-map ("g" . modi/git-link-force-hash)) :config (progn (defun modi/git-link-force-hash () "This function is the same as `git-link' e...
da990bff61c0088f239defac486da1303f97c08a
app/admin/routes.py
app/admin/routes.py
from flask import render_template, redirect, url_for, flash, request from flask.ext.login import login_required, current_user from . import admin from .forms import ProfileForm from .. import db from ..models import User @admin.route('/') @login_required def index(): return render_template('admin/user.html', user=...
from flask import render_template, redirect, url_for, flash, request from flask.ext.login import login_required, current_user from . import admin from .forms import ProfileForm from .. import db from ..models import User @admin.route('/') @login_required def index(): return render_template('admin/user.html', user=...
Add a route to admin/news
Add a route to admin/news
Python
mit
finnurtorfa/aflafrettir.is,finnurtorfa/aflafrettir.is,finnurtorfa/aflafrettir.is,finnurtorfa/aflafrettir.is
python
## Code Before: from flask import render_template, redirect, url_for, flash, request from flask.ext.login import login_required, current_user from . import admin from .forms import ProfileForm from .. import db from ..models import User @admin.route('/') @login_required def index(): return render_template('admin/u...
5c3efd1fbaf1defa749abd03f559afb6f5b4c913
.github/workflows/flake8.yml
.github/workflows/flake8.yml
name: flake8 on: schedule: # flake8 regulary has breaking changes, so we re-check # regulary as well. - cron: '0 9 * * 1' push: branches: - master paths: - 'setup.cfg' - '*.py' - 'lint/**.py' - 'tests/**.py' pull_request: paths: - 'setup.cfg' - '*.py' ...
name: flake8 on: schedule: # flake8 regulary has breaking changes, so we re-check # regulary as well. - cron: '0 9 * * 1' push: branches: - master paths: - 'setup.cfg' - '**.py' - '!docs/**' pull_request: paths: - 'setup.cfg' - '**.py' - '!docs/**' jobs: ...
Update workflow "paths" to the new style
Update workflow "paths" to the new style
YAML
mit
SublimeLinter/SublimeLinter3,SublimeLinter/SublimeLinter3
yaml
## Code Before: name: flake8 on: schedule: # flake8 regulary has breaking changes, so we re-check # regulary as well. - cron: '0 9 * * 1' push: branches: - master paths: - 'setup.cfg' - '*.py' - 'lint/**.py' - 'tests/**.py' pull_request: paths: - 'setup.cfg' ...
6a5f29d249627b21f6c48e0924aebce69f38a317
.travis.yml
.travis.yml
rvm: - 2.2 - 2.3 - jruby - rbx matrix: allow_failures: - rvm: rbx
rvm: - 2.2 - 2.3 - jruby-9.0.0.0 - rbx
Use KRuby 9000 on Travis CI
Use KRuby 9000 on Travis CI
YAML
mit
dblock/numbers_and_words,kslazarev/numbers_and_words
yaml
## Code Before: rvm: - 2.2 - 2.3 - jruby - rbx matrix: allow_failures: - rvm: rbx ## Instruction: Use KRuby 9000 on Travis CI ## Code After: rvm: - 2.2 - 2.3 - jruby-9.0.0.0 - rbx
171a0862195a0fc2c6fb5b1c53669f5a2c9db6d7
src/services/fileStorage/hooks/model-hooks.js
src/services/fileStorage/hooks/model-hooks.js
const { authenticate } = require('@feathersjs/authentication'); const globalHooks = require('../../../hooks'); const { canRead } = require('../utils/filePermissionHelper'); const restrictToCurrentUser = (hook) => { const { params: { account: { userId } }, result: { data: files } } = hook; const permissionPromises ...
const { authenticate } = require('@feathersjs/authentication'); const { discard } = require('feathers-hooks-common'); const globalHooks = require('../../../hooks'); const { canRead } = require('../utils/filePermissionHelper'); const restrictToCurrentUser = (hook) => { const { params: { account: { userId } }, result...
Remove request tokens from service responses
Remove request tokens from service responses
JavaScript
agpl-3.0
schul-cloud/schulcloud-server,schul-cloud/schulcloud-server,schul-cloud/schulcloud-server
javascript
## Code Before: const { authenticate } = require('@feathersjs/authentication'); const globalHooks = require('../../../hooks'); const { canRead } = require('../utils/filePermissionHelper'); const restrictToCurrentUser = (hook) => { const { params: { account: { userId } }, result: { data: files } } = hook; const per...
00d68bae7c6ec525ea28c712773645acd42b9a7d
packages/pihole.yaml
packages/pihole.yaml
homeassistant: customize: sensor.pi_hole_ads_blocked_today: friendly_name: Geblokkeerde advertenties sensor.pi_hole_ads_percentage_blocked_today: friendly_name: Percentage geblokkeerde advertenties pi_hole: host: 'localhost:4865' # default: 'pi.hole' ssl: false ...
homeassistant: customize: sensor.pi_hole_ads_blocked_today: friendly_name: Geblokkeerde advertenties sensor.pi_hole_ads_percentage_blocked_today: friendly_name: Percentage geblokkeerde advertenties sensor.pi_hole_dns_queries_cached: friendly_name: Gecachete DNS-verzoeken sensor.pi_h...
Customize missing pi hole entities
Customize missing pi hole entities
YAML
mit
rtvb/home-assistant-config
yaml
## Code Before: homeassistant: customize: sensor.pi_hole_ads_blocked_today: friendly_name: Geblokkeerde advertenties sensor.pi_hole_ads_percentage_blocked_today: friendly_name: Percentage geblokkeerde advertenties pi_hole: host: 'localhost:4865' # default: 'pi.hole' ssl: false ...
0c9143f925a9ee6b7e215f6bddb1e58306ccff77
README.md
README.md
A demo how to analyze text snippets in python ## Try * Start a local mongodb * Feed the latest tweets from Trump with `./follower/fetch_timeline.py realdonaldtrump | storage/save_to_mongo.py` ## Requirements * Python 3 * twython * pymongo * MongoDB
A demo how to analyze text snippets in python ## Try * Start a local mongodb * Feed the latest tweets from Trump with `./follower/fetch_timeline.py realdonaldtrump | storage/save_to_mongo.py` * Print all tweets using `python analytics/trumpeltier.py dump` ## Requirements * Python 3 * twython * pymongo * MongoDB
Add info how to dump tweets
[M] Add info how to dump tweets
Markdown
mit
suchkultur/trumpeltier
markdown
## Code Before: A demo how to analyze text snippets in python ## Try * Start a local mongodb * Feed the latest tweets from Trump with `./follower/fetch_timeline.py realdonaldtrump | storage/save_to_mongo.py` ## Requirements * Python 3 * twython * pymongo * MongoDB ## Instruction: [M] Add info how to dump tweets ##...
3b6d2759990b66dd53d1df75d41c01593591cf0a
test/test_configuration.rb
test/test_configuration.rb
$LOAD_PATH.unshift(__dir__) require 'helper' describe 'Configuration' do it 'uses the passed-in custom settings' do custom_settings = { 'paths' => { 'archives' => 'arc' }, 'layouts' => { 'category' => 'cat' } } @config = Dimples::Configuration.new(custom_settin...
$LOAD_PATH.unshift(__dir__) require 'helper' describe 'Configuration' do describe 'with passed-in values' do subject do custom_settings = { 'paths' => { 'archives' => 'arc' }, 'layouts' => { 'category' => 'cat' } } Dimples::Configuration.n...
Tweak the layout of the configuration tests.
Tweak the layout of the configuration tests.
Ruby
mit
waferbaby/dimples
ruby
## Code Before: $LOAD_PATH.unshift(__dir__) require 'helper' describe 'Configuration' do it 'uses the passed-in custom settings' do custom_settings = { 'paths' => { 'archives' => 'arc' }, 'layouts' => { 'category' => 'cat' } } @config = Dimples::Configuration.n...
bca21e3b2a45c0d6521659e87c3ca1132cc38775
resources.go
resources.go
package main import "time" type UserResource struct { ID int `json:"id"` Username string `json:"username"` } type TaskResource struct { ID int `json:"id"` CreatedAt time.Time `db:"created_at" json:"created_at"` User UserResource `json:"user"` Name string `jso...
package main import "time" type Resource struct { ID int `json:"id"` } type UserResource struct { Resource Username string `json:"username"` } type TaskResource struct { Resource CreatedAt time.Time `db:"created_at" json:"created_at"` User UserResource `json:"user"` Name string `json...
Use a base resource struct type
Use a base resource struct type
Go
mit
yansal/task-manager
go
## Code Before: package main import "time" type UserResource struct { ID int `json:"id"` Username string `json:"username"` } type TaskResource struct { ID int `json:"id"` CreatedAt time.Time `db:"created_at" json:"created_at"` User UserResource `json:"user"` Name s...
251b94be42ac904c4c253948bd28b436a89e6d9c
app/styles/modules/_edit-definition.scss
app/styles/modules/_edit-definition.scss
.editDefinition, .addMeaning { margin-bottom: 20px; input, textarea, select { font-size: 16px; padding: 5px; width: 100%; } select { display: block; margin-bottom: 5px; max-width: 300px; } label { font-size: 14px; margin-top: 5px; } button { margin-top: 10px; } .s...
.editDefinition, .addMeaning, .newWord { margin-bottom: 20px; input, textarea, select { font-size: 16px; padding: 5px; width: 100%; } select { display: block; margin-bottom: 5px; max-width: 300px; } label { font-size: 14px; margin-top: 5px; } button { margin-top: 10px...
Add meaning span needs a margin plus the new word page can piggyback off the edit pages
Add meaning span needs a margin plus the new word page can piggyback off the edit pages
SCSS
mit
wordset/wordset-ui,BryanCode/wordset-ui,wordset/wordset-ui,kaelig/wordset-ui,wordset/wordset-ui,BryanCode/wordset-ui,kaelig/wordset-ui,BryanCode/wordset-ui
scss
## Code Before: .editDefinition, .addMeaning { margin-bottom: 20px; input, textarea, select { font-size: 16px; padding: 5px; width: 100%; } select { display: block; margin-bottom: 5px; max-width: 300px; } label { font-size: 14px; margin-top: 5px; } button { margin-top...
b33b063e49b394265bc890f6d3b39da08e355416
blogs/tests/test_parser.py
blogs/tests/test_parser.py
from unittest import TestCase from ..parser import get_all_entries from .utils import get_test_rss_path class BlogParserTest(TestCase): def setUp(self): self.test_file_path = get_test_rss_path() self.entries = get_all_entries("file://{}".format(self.test_file_path)) def test_entries(self): ...
import datetime import unittest from ..parser import get_all_entries from .utils import get_test_rss_path class BlogParserTest(unittest.TestCase): @classmethod def setUpClass(cls): cls.test_file_path = get_test_rss_path() cls.entries = get_all_entries("file://{}".format(cls.test_file_path)) ...
Add some tests to make sure we can parse RSS feeds
Add some tests to make sure we can parse RSS feeds
Python
apache-2.0
manhhomienbienthuy/pythondotorg,proevo/pythondotorg,manhhomienbienthuy/pythondotorg,proevo/pythondotorg,Mariatta/pythondotorg,Mariatta/pythondotorg,proevo/pythondotorg,python/pythondotorg,manhhomienbienthuy/pythondotorg,python/pythondotorg,Mariatta/pythondotorg,manhhomienbienthuy/pythondotorg,Mariatta/pythondotorg,pyth...
python
## Code Before: from unittest import TestCase from ..parser import get_all_entries from .utils import get_test_rss_path class BlogParserTest(TestCase): def setUp(self): self.test_file_path = get_test_rss_path() self.entries = get_all_entries("file://{}".format(self.test_file_path)) def test...
5eff548fead30faeb16f7228f2ad6cf0adbfdc31
Examples/Test/Assume.hs
Examples/Test/Assume.hs
module Examples.Test.Assume(main) where import Development.Shake import Examples.Util import Control.Monad import Development.Shake.FilePath main = shaken test $ \args obj -> do want $ map obj args obj "*.out" *> \out -> do cs <- mapM (readFile' . obj . (:".src")) $ takeBaseName out writeFil...
module Examples.Test.Assume(main) where import Development.Shake import Examples.Util import Control.Monad import Development.Shake.FilePath main = shaken test $ \args obj -> do want $ map obj args obj "*.out" *> \out -> do cs <- mapM (readFile' . obj . (:".src")) $ takeBaseName out writeFil...
Add more tests for the assume functionality
Add more tests for the assume functionality
Haskell
bsd-3-clause
nh2/shake,ndmitchell/shake,nh2/shake,ndmitchell/shake,ndmitchell/shake,nh2/shake,nh2/shake,ndmitchell/shake,ndmitchell/shake,nh2/shake,ndmitchell/shake
haskell
## Code Before: module Examples.Test.Assume(main) where import Development.Shake import Examples.Util import Control.Monad import Development.Shake.FilePath main = shaken test $ \args obj -> do want $ map obj args obj "*.out" *> \out -> do cs <- mapM (readFile' . obj . (:".src")) $ takeBaseName out ...
9f71423903626e7d300f601a4ee1205e541ee261
app/src/ui/repository-settings/git-ignore.tsx
app/src/ui/repository-settings/git-ignore.tsx
import * as React from 'react' import { DialogContent } from '../dialog' import { TextArea } from '../lib/text-area' import { LinkButton } from '../lib/link-button' interface IGitIgnoreProps { readonly text: string | null readonly onIgnoreTextChanged: (text: string) => void readonly onShowExamples: () => void } ...
import * as React from 'react' import { DialogContent } from '../dialog' import { TextArea } from '../lib/text-area' import { LinkButton } from '../lib/link-button' interface IGitIgnoreProps { readonly text: string | null readonly onIgnoreTextChanged: (text: string) => void readonly onShowExamples: () => void } ...
Use <TextArea onValueChanged /> in <GitIgnore />
Use <TextArea onValueChanged /> in <GitIgnore />
TypeScript
mit
artivilla/desktop,gengjiawen/desktop,artivilla/desktop,j-f1/forked-desktop,kactus-io/kactus,artivilla/desktop,say25/desktop,kactus-io/kactus,kactus-io/kactus,j-f1/forked-desktop,j-f1/forked-desktop,kactus-io/kactus,shiftkey/desktop,hjobrien/desktop,desktop/desktop,say25/desktop,desktop/desktop,artivilla/desktop,hjobrie...
typescript
## Code Before: import * as React from 'react' import { DialogContent } from '../dialog' import { TextArea } from '../lib/text-area' import { LinkButton } from '../lib/link-button' interface IGitIgnoreProps { readonly text: string | null readonly onIgnoreTextChanged: (text: string) => void readonly onShowExample...
9c6ce0950e593a861d825e066845becabf2b14d8
recipes/sdcc/sdcc-native_2.8.0.bb
recipes/sdcc/sdcc-native_2.8.0.bb
require sdcc_${PV}.bb DEPENDS = "" # don't need native-tools patch here SRC_URI = "${SOURCEFORGE_MIRROR}/sdcc/sdcc-src-${PV}.tar.bz2 \ " inherit native do_stage() { oe_runmake install }
require sdcc_${PV}.bb DEPENDS = "bison-native flex-native" PR = "r1" # don't need native-tools patch here SRC_URI = "${SOURCEFORGE_MIRROR}/sdcc/sdcc-src-${PV}.tar.bz2 \ " inherit native do_stage() { oe_runmake install }
Add bison-native and flex-native to DEPENDS
sdcc-native: Add bison-native and flex-native to DEPENDS * configure script was giving error "Cannot find required program bison." and "Cannot find required program flex.". So added bison-native and flex-native to DEPENDS list. * Bump PR to "r1". Signed-off-by: Noor Ahsan <d8217232bc1a4f7ec0617804dec3d117857568ff@men...
BitBake
mit
libo/openembedded,yyli/overo-oe,rascalmicro/openembedded-rascal,giobauermeister/openembedded,anguslees/openembedded-android,JamesAng/oe,dellysunnymtech/sakoman-oe,thebohemian/openembedded,sampov2/audio-openembedded,JamesAng/oe,SIFTeam/openembedded,JamesAng/goe,scottellis/overo-oe,rascalmicro/openembedded-rascal,trini/o...
bitbake
## Code Before: require sdcc_${PV}.bb DEPENDS = "" # don't need native-tools patch here SRC_URI = "${SOURCEFORGE_MIRROR}/sdcc/sdcc-src-${PV}.tar.bz2 \ " inherit native do_stage() { oe_runmake install } ## Instruction: sdcc-native: Add bison-native and flex-native to DEPENDS * configure script wa...
cf8e0a033118ff8a137c57c6a0ccadded7274264
README.md
README.md
Whitecoin (XWC) is a cryptocurrency with a focus on innovative software to make fast, safe and cheap transactions. XWC is a proof-of-stake based coin driven by an active community of volunteers. The community centric approach is one of the reason why this coin is still in active development after its initial introducti...
Whitecoin (XWC) is a cryptocurrency with a focus on innovative software to make fast, safe and cheap transactions. XWC is a proof-of-stake based coin driven by an active community of volunteers. The community centric approach is one of the reason why this coin is still in active development after its initial introducti...
Simplify readme & contribution guidelines
Simplify readme & contribution guidelines
Markdown
mit
Whitecoin-org/Whitecoin,Whitecoin-org/Whitecoin,Whitecoin-org/Whitecoin,Whitecoin-org/Whitecoin,Whitecoin-org/Whitecoin
markdown
## Code Before: Whitecoin (XWC) is a cryptocurrency with a focus on innovative software to make fast, safe and cheap transactions. XWC is a proof-of-stake based coin driven by an active community of volunteers. The community centric approach is one of the reason why this coin is still in active development after its in...
1255dd584505c75380ddc696ae8e11bf7adcc99a
app/controllers/kennedy/posts_controller.rb
app/controllers/kennedy/posts_controller.rb
module Kennedy class PostsController < Kennedy::ApplicationController include Georgia::Concerns::Pageable include Georgia::Concerns::Publishable load_and_authorize_resource class: Kennedy::Post end end
module Kennedy class PostsController < Kennedy::ApplicationController include Georgia::Concerns::Pageable include Georgia::Concerns::Publishable include Georgia::Concerns::Searchable load_and_authorize_resource class: Kennedy::Post private # Adds to search block called from Concerns::Searc...
Add extra search params in search block
Add extra search params in search block
Ruby
mit
georgia-cms/georgia_blog,georgia-cms/georgia_blog
ruby
## Code Before: module Kennedy class PostsController < Kennedy::ApplicationController include Georgia::Concerns::Pageable include Georgia::Concerns::Publishable load_and_authorize_resource class: Kennedy::Post end end ## Instruction: Add extra search params in search block ## Code After: module Ken...